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.scss | 11 +++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 9 +++++++-- gtk/theme/Adwaita/gtk-contained.css | 9 +++++++-- 3 files changed, 23 insertions(+), 6 deletions(-) commit 24c3906d5f3bd8ac3146847c27f0522a75bd7803 Author: Lapo Calamandrei Date: Tue Apr 19 22:08:31 2016 +0200 Adwaita: fix insensitive switch styling misplaced backdrop disabled selector was overriding the disabled one. gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) commit 51d58108f93261d6311f823736ce92369272d491 Author: Matthias Clasen Date: Tue Apr 19 16:11:10 2016 -0400 Add some va marshallers to frequent signals This makes us take the fast path in signal emission. gtk/gtkcssnode.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit b596fcada715be2ab53ff6f7425098f0b5fafb17 Author: Lapo Calamandrei Date: Tue Apr 19 21:58:24 2016 +0200 Adwaita: stop using images for solid backgrounds... ...unless it's needed. gtk/theme/Adwaita/_common.scss | 42 +++-- gtk/theme/Adwaita/_drawing.scss | 40 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 294 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 294 ++++++++++++++++++++----------- 4 files changed, 439 insertions(+), 231 deletions(-) commit 5efb574055f3b6845e4ff5e0c06151b48d544cb2 Author: Matthias Clasen Date: Tue Apr 19 15:27:08 2016 -0400 magnifier: Only connect to ::draw when needed This making us take the slow path in ::draw handling, so we want to avoid it if we can. https://bugzilla.gnome.org/show_bug.cgi?id=765238 gtk/gtkmagnifier.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 7397fe0eab8d2e1f5a04a368e819b9ff4fb4c6a3 Author: Lapo Calamandrei Date: Tue Apr 19 21:24:37 2016 +0200 Adwaita: add shadows back... ...correctly inizializing a sass var. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 206 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 200 +++++++++++++++--------------- 3 files changed, 204 insertions(+), 204 deletions(-) commit deaf664ed23fc346bc8788e6724e179f4590da07 Author: Rui Matos Date: Tue Apr 19 21:03:45 2016 +0200 wayland: Leave existing mods on map_virtual_modifiers map_virtual_modifiers() is supposed to add the necessary virtual mods but otherwise leave the mods that are passed in. https://bugzilla.gnome.org/show_bug.cgi?id=765270 gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8a86e6ca4fd3cf64ae0c2d014b4355dc9315146 Author: Matthias Clasen Date: Tue Apr 19 12:43:03 2016 -0400 wayland: Some more debug spew Print the modifiers and their mapping out as well. This information is contained in the keymap, but this is a bit easier to digest. gdk/wayland/gdkkeys-wayland.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit e7d84898ee65100b8ffe905cbcc4b878b7e67e10 Author: Matthias Clasen Date: Tue Apr 19 12:23:51 2016 -0400 wayland: Add debug output for keymaps Use GDK_DEBUG=input to see your keymap sent over and over again. Efficiency! gdk/wayland/gdkkeys-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 36fead28e09ba889050a3d659c2320694072f3d7 Author: Timm Bäder Date: Tue Apr 19 15:20:14 2016 +0200 gtkcssimagebuiltin: Save/restore around cairo_clip This was previously causing trouble in checkbuttons where the check node didn't have an icon shadow set, e.g. in Raleigh. gtk/gtkcssimagebuiltin.c | 2 ++ 1 file changed, 2 insertions(+) commit d1b07bc386e17e5c982f25ae7d443356cee89c90 Author: Matthias Clasen Date: Tue Apr 19 07:34:44 2016 -0400 Add a comment to explain numbers here This explains the change in the previous commit. modules/printbackends/cups/gtkprintbackendcups.c | 1 + 1 file changed, 1 insertion(+) commit 3fe08b3b28e65613048d91e972682823bb3f254d Author: Piotr Drąg Date: Sat Apr 16 19:46:02 2016 +0200 cups: Fix duplicate string https://bugzilla.gnome.org/show_bug.cgi?id=765122 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a87b6be2ba7bac1cba26afd1515cdde991978c7 Author: Chun-wei Fan Date: Tue Sep 8 14:14:46 2015 +0800 MSVC builds: Update how introspection builds are done This first adds a common autotools module that can be included by the Makefile.am's to generate the file lists and the g-ir-scanner/ g-ir-compiler command lines to build the introspection files. The autotools files for gdk/ and gtk/ are then updated to generate the full file lists needed to build the introspection files, with the full command lines for g-ir-scanner and g-ir-compiler as NMake Makefile modules that can be used to build the introspection files for Visual Studio builds. https://bugzilla.gnome.org/show_bug.cgi?id=765195 build/Makefile.am | 11 +- build/Makefile.msvc-introspection | 125 ++++++++++ build/gen-file-list-gtk.py | 100 -------- build/gtk-introspection-msvc.mak.in | 101 -------- build/introspection-msvc.mak | 65 ----- build/msvcfiles.py | 261 --------------------- build/win32/Makefile.am | 33 ++- .../detectenv-msvc.mak} | 21 +- build/win32/gtk-introspection-msvc.mak | 43 ++++ build/win32/introspection-msvc.mak | 94 ++++++++ configure.ac | 1 - gdk/Makefile.am | 50 +++- gtk/Makefile.am | 75 +++++- 13 files changed, 423 insertions(+), 557 deletions(-) commit f0c2d3a7a8b419b2b240b92cfcc2a1e47602cc12 Author: Lapo Calamandrei Date: Tue Apr 19 01:18:34 2016 +0200 Adwaita: better shadow stacking mixin gtk/theme/Adwaita/_drawing.scss | 20 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 206 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 200 +++++++++++++++--------------- 3 files changed, 213 insertions(+), 213 deletions(-) commit b584b3d12a570aef70a4d64b4a6593f58c62cfad Author: Christian Hergert Date: Mon Apr 18 14:16:20 2016 -0700 frame-clock: avoid g_signal_emit_by_name() These were showing up higher in Sysprof profiles. The simple fix is to avoid the emit_by_name() and let the interface emit the signals directly. No function preconditions are provided since these are internal API. gdk/gdkframeclock.c | 42 ++++++++++++++++++++++++++++++++++++++++++ gdk/gdkframeclockidle.c | 14 +++++++------- gdk/gdkframeclockprivate.h | 8 ++++++++ 3 files changed, 57 insertions(+), 7 deletions(-) commit bdb451ad863a0e6cdae40dfc302564cb09059274 Author: Lapo Calamandrei Date: Tue Apr 19 00:11:09 2016 +0200 Adwaita: fix infobar text color in backdrop windows see https://bugzilla.gnome.org/show_bug.cgi?id=765213 gtk/theme/Adwaita/_common.scss | 11 ++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 33 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 33 ++++++++++++++++++++++++++++---- 3 files changed, 66 insertions(+), 11 deletions(-) commit 99c2423043f0c95a60093c618e00823e42e0ddfa Author: Matthias Clasen Date: Mon Apr 18 15:04:37 2016 -0400 font button: Convert from pango to css properly This utility function should probably find a home somewhere else. For now, this makes the deprecation warning go away. gtk/gtkfontbutton.c | 129 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 123 insertions(+), 6 deletions(-) commit 519af3f91d65a9ec8a6f49b0d078ac12271042a1 Author: Benjamin Otte Date: Mon Apr 18 20:25:11 2016 +0200 cssimage: Warn if gradients only have 1 color stop GTK <= 3.20 allowed that but the CSS spec and borwsers do not. We might want to just remove that feature, but for now, we just warn. gtk/gtkcssimagelinear.c | 8 ++++++++ gtk/gtkcssimageradial.c | 8 ++++++++ 2 files changed, 16 insertions(+) commit fd373162b547b777d9c31cdc2fc84b2e337e0d52 Author: Benjamin Otte Date: Mon Mar 28 01:50:32 2016 +0200 theme: linear-gradient() needs 2 color-stops So make sure our _solid() function gives it two. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 192 +++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 192 +++++++++++------------ gtk/theme/HighContrast/_drawing.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 18 +-- gtk/theme/HighContrast/gtk-contained.css | 18 +-- 6 files changed, 212 insertions(+), 212 deletions(-) commit f51b15808a89b045c8ff9f233f37b8799accc99a Author: Benjamin Otte Date: Sun Mar 27 19:41:19 2016 +0200 theme: Split out _solid() function The function creates a solid color image. Currently this is done with linear-gradient(). gtk/theme/Adwaita/_common.scss | 20 +++++++-------- gtk/theme/Adwaita/_drawing.scss | 29 ++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++++++------------ gtk/theme/HighContrast/_common.scss | 12 ++++----- gtk/theme/HighContrast/_drawing.scss | 11 +++++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 8 files changed, 75 insertions(+), 65 deletions(-) commit de76139feadc146a9d42d5c5d9a681f3daaac003 Author: Benjamin Otte Date: Sun Apr 3 03:39:46 2016 +0200 win32 theme: Fix functions to not have spaces CSS doesn't allow that (although GTK's CSS parser did so far not complain). gtk/theme/win32/gtk-win32-base.css | 52 +++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) commit 5ab6ff6b5e832cb51ff5f260e938b654d4e95ae9 Author: Matthias Clasen Date: Mon Apr 18 14:38:53 2016 -0400 Expand css style font tests Test more of the syntax of the font: shorthand. testsuite/css/style/font.css | 18 +++++++++++++++++- testsuite/css/style/font.nodes | 34 +++++++++++++++++++++++++++++++++- testsuite/css/style/font.ui | 29 +++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 2 deletions(-) commit 2603011ea06b657dfafc3b1f81b3a929e84b1281 Author: Matthias Clasen Date: Mon Apr 18 14:38:12 2016 -0400 Fix a typo We don't want to parse a weight twice, but a weight and a stretch. gtk/gtkcssshorthandpropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 492a406bbd971f68b596324ddd2b61dacd6ac2dc Author: Matthias Clasen Date: Mon Apr 18 14:17:55 2016 -0400 HighContrast: Fix font: usage gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 68ce676498724aac94f22076ef13f19dd795f5e9 Author: Matthias Clasen Date: Mon Apr 18 14:09:41 2016 -0400 Add backwards compat back Apparently, there's lots of font: "pango font description" out there, so keep parsing this, with a deprecation warning. gtk/gtkcssshorthandpropertyimpl.c | 61 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) commit df22f3017bbe5c4ff24565862d3a2204f0869be8 Author: Matthias Clasen Date: Mon Apr 18 11:45:55 2016 -0400 Adwaita: Fix use of font: shorthand gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 34 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 34 +++++++++++++++++--------------- 3 files changed, 37 insertions(+), 33 deletions(-) commit dcd20e17e5d668de1b0075a076b9968caf52851c Author: Matthias Clasen Date: Mon Apr 18 11:43:29 2016 -0400 Fix parsing of the font: shorthand Our code here was just throwing it at PangoFontDescription. Fix this by parsing the various components ourselves. gtk/gtkcssshorthandpropertyimpl.c | 63 ++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 34 deletions(-) commit 7b9b661aead6c491397b57c63acdc45d93c08a58 Author: Matthias Clasen Date: Mon Apr 18 11:43:01 2016 -0400 Export some font parsing functions These will be used for parsing the font: shorthand too. gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++++++++---- gtk/gtkcssstylepropertyprivate.h | 4 ++++ 2 files changed, 20 insertions(+), 4 deletions(-) commit 5993875d38ce318c6b391d6dab5182a7400a8bdc Author: Matthias Clasen Date: Mon Apr 18 11:40:10 2016 -0400 Fix the css style font test Setting the font: shorthand to something like smaller is not in line with the css spec. Just set the font-size: property for this. Also fix the other font: shorthand to specify size and family according to the css spec. testsuite/css/style/font.css | 4 ++-- testsuite/css/style/font.nodes | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) commit 31a12c6a230e6ddb1ba4e752b5a1aa1eb9967a30 Author: Matthias Clasen Date: Mon Apr 18 09:43:10 2016 -0400 css style: Rename some static functions Make the font property functions follow the general naming scheme, and remove pango from the names. gtk/gtkcssstylepropertyimpl.c | 78 +++++++++++++++++++++---------------------- 1 file changed, 39 insertions(+), 39 deletions(-) commit bbb45a2b2dfd2976a7ff29ff4b71ba3f6e3f1db2 Author: Matthias Clasen Date: Mon Apr 18 09:42:40 2016 -0400 Add docs for new API gdk/gdkpango.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit f7108d4d43d233868f4d3dbf7c3b73e19ab1ba05 Author: Carlos Garnacho Date: Mon Apr 18 14:10:49 2016 +0100 wayland: Improve checks when flushing scroll events If we get gdk_wayland_seat_flush_frame_event() with no previous event to be flushed, we fallback into the scroll event checks. However, there's no check performed there as to whether it really scrolled, so it'd always send a smooth scroll event with 0/0 deltas in this case. This should be mostly harmless, but still, we should only end up emitting scroll events if those really happened. gdk/wayland/gdkdevice-wayland.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) commit bfcd9a2193215cd1b3bcf415c02922e524958bc6 Author: Carlos Garnacho Date: Mon Apr 18 13:10:24 2016 +0100 wayland: Do not check the pointer focus when receiving wl_pointer.frame The frame event is also meant to compress wl_pointer.leave events, at this point the focus surface will be definitely NULL. In the end, wl_pointer.frame should flush the last composed event despite the pointer focus. https://bugzilla.gnome.org/show_bug.cgi?id=765065 gdk/wayland/gdkdevice-wayland.c | 3 --- 1 file changed, 3 deletions(-) commit 358d15ae5eabfa52b2dc3458e8ac59bec4d4e473 Author: Carlos Garnacho Date: Sun Apr 17 21:19:58 2016 +0100 gdk: Make GDK_TOUCH_CANCEL be dealt with similarly to GDK_TOUCH_END We must emit the cancel event with the same semantics, and towards the GdkWindow that is currently under the touchpoint, so make proxy_button_event() deal with GDK_TOUCH_CANCEL. Fixes the GDK_TOUCH_CANCEL event being emitted only on the toplevel, which is usually non-sufficient. gdk/gdkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 921c154e386698eb83e06d87823ce1b25ab5d779 Author: Matthias Clasen Date: Thu Mar 31 21:35:43 2016 -0400 widget: Use gdk_pango_get_for_display gtk/gtkwidget.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 117c0c0aea19b97aa93e8774fd72072fe8888343 Author: Matthias Clasen Date: Thu Mar 31 21:33:03 2016 -0400 Add gdk_pango_context_get_for_display This is the obvious 1 line equivalent of the for_screen function. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkpango.c | 10 +++++++++- gdk/gdkpango.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) commit 07f124e92dfbe384e0ca2163cc71db0386bf55f2 Author: Piotr Drąg Date: Mon Apr 18 02:36:20 2016 +0200 Updated Polish translation po/pl.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit fe74c81a7055c241bef28e351a3f10280d2d42b7 Author: Lapo Calamandrei Date: Sun Apr 17 23:40:29 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_common.scss | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) commit 86ba132ded7a762daed861bdb4169a82a14b6917 Author: Lapo Calamandrei Date: Sun Apr 17 23:08:26 2016 +0200 Adwaita: colorbutton colorswatch shadow fix reset colorswatch box-shadow on active and checked state as well following latest style changes. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 2 files changed, 9 insertions(+), 7 deletions(-) commit a763bd7df1f0b156b8aac5bfa37a0eb6ffd22fe8 Author: Lapo Calamandrei Date: Sun Apr 17 22:46:48 2016 +0200 Adwaita: increase opacity on scale label and marks using the same opacity as dim-label. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 5a2eacfd040a4fc2f6d5987519339874c1a7b6d1 Author: Piotr Drąg Date: Sun Apr 17 20:22:47 2016 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 1 + po/POTFILES.in | 1 + po/POTFILES.skip | 1 + 4 files changed, 4 insertions(+) commit 4aa257b66309b5c169fda5d8332e4446f3bffcb2 Author: Matthias Clasen Date: Sun Apr 17 13:41:29 2016 -0400 bloatpad: Make shortcuts window update This tests the just added functionality to make shortcuts track changes in their actions accelerators. examples/bp/gtk/help-overlay.ui | 55 +++++++++++++++++++++++++++++++++++------ 1 file changed, 48 insertions(+), 7 deletions(-) commit 50f041bc5750e615aef8ba81ecc7614542989143 Author: Matthias Clasen Date: Sun Apr 17 13:38:51 2016 -0400 shortcuts: Follow changes of accels Add a way to associate a detailed action name with a shortcut. If the action name is set, update the accelerator whenever accels change on the window that the shortcuts window is associated with. https://bugzilla.gnome.org/show_bug.cgi?id=764975 gtk/Makefile.am | 2 ++ gtk/gtkapplicationwindow.c | 3 ++ gtk/gtkshortcutsshortcut.c | 64 +++++++++++++++++++++++++++++++++++++++ gtk/gtkshortcutsshortcutprivate.h | 37 ++++++++++++++++++++++ gtk/gtkshortcutswindow.c | 62 ++++++++++++++++++++++++++++++++++++- gtk/gtkshortcutswindowprivate.h | 38 +++++++++++++++++++++++ 6 files changed, 205 insertions(+), 1 deletion(-) commit 268243834a002ee406ecd846fa66ceac42d68699 Author: Matthias Clasen Date: Sun Apr 17 10:22:59 2016 -0400 Add a help overlay to bloatpad This will let us explore the (non-)interaction between help overlays and editing shortcuts. examples/bp/Makefile.am | 3 ++- examples/bp/bloatpad.gresources.xml | 1 + examples/bp/gtk/help-overlay.ui | 47 +++++++++++++++++++++++++++++++++++++ examples/bp/gtk/menus.ui | 6 +++++ 4 files changed, 56 insertions(+), 1 deletion(-) commit cf144ea26f84f0121a2f681f6d408f4a8e1851ed Author: Lapo Calamandrei Date: Sun Apr 17 18:39:07 2016 +0200 Adwaita: clean up pushed button mixin gtk/theme/Adwaita/_drawing.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++------------------------ gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++------------------------ 3 files changed, 18 insertions(+), 50 deletions(-) commit bad15d410e341e643d83a6a66790b7858d653201 Author: Lapo Calamandrei Date: Sun Apr 17 18:19:38 2016 +0200 Adwaita: fix scale slider border color using the darker border color. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit a89d03d6b8c06fdb06a7740ca1cdf94846da4df7 Author: Lapo Calamandrei Date: Sun Apr 17 18:17:07 2016 +0200 Adwaita: flatten colorswatches gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 9 insertions(+), 11 deletions(-) commit d77dc25b8d52c6d2daedb1710a99772191c30479 Author: Lapo Calamandrei Date: Sun Apr 17 18:06:15 2016 +0200 Adwaita: more borders color tweaks gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 310 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 264 +++++++++++++------------- 3 files changed, 289 insertions(+), 289 deletions(-) commit b34c3dce2ac2924bed54424ec416cc1fd47f0d63 Author: Lapo Calamandrei Date: Sun Apr 17 15:26:22 2016 +0200 Adwaita: cosmetics gtk/theme/Adwaita/_colors.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 6ee670b697997208bdbcace4ee6c0077ba4ebb9a Author: Lapo Calamandrei Date: Sun Apr 17 15:24:57 2016 +0200 Adwaita: dark variant borders color tweaks gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 310 +++++++++++++++---------------- 2 files changed, 157 insertions(+), 157 deletions(-) commit 32674cb1d3bd486f77306ffe1662e65e3e0c9b07 Author: Lapo Calamandrei Date: Sun Apr 17 15:21:31 2016 +0200 Adwaita: pushed button style tweak use a solid background. gtk/theme/Adwaita/_drawing.scss | 6 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++++++++---------- 3 files changed, 64 insertions(+), 30 deletions(-) commit f10971eefd3c01b49c6cb356d6d469a32ea7b5e8 Author: Lapo Calamandrei Date: Sun Apr 17 15:06:13 2016 +0200 Adwaita: button style tweak add a darker bottom border to buttons to add some depth. gtk/theme/Adwaita/_drawing.scss | 13 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 84 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 60 ++++++++++++++--------- 3 files changed, 96 insertions(+), 61 deletions(-) commit 4a9cf8527ed3c0826a195c65253612f23ba505a2 Author: Matthias Clasen Date: Sun Apr 17 01:54:43 2016 -0400 Add some more accelerator / modifier tests testsuite/gtk/accel.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit 666400881510fa985e246c3e36ad51f4845ec90a Author: Matthias Clasen Date: Sun Apr 17 01:50:23 2016 -0400 wayland: Make virtual modifier mapping more similar to X Ignore virtual modifiers that are mapped to Mod1 (as Meta often is), to avoid interfering with our fix interpretation of Mod1 as Alt. gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 96f0ed9ec5b5b071efabb15b03c37f40df7ae3b1 Author: Matthias Clasen Date: Sun Apr 17 01:09:32 2016 -0400 menuitem: Fix some possible problems with arrow_gadget https://bugzilla.gnome.org/show_bug.cgi?id=765134 shows a stacktrace where we end up with arrow_gadget being NULL despite the conditions for its presence being satisfied. This commit makes sure we call update_arrow_gadget() whenever any of the conditions changes. This should fix the reported crash. gtk/gtkmenuitem.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 5ba8a25d2966dc2cdc67a350d4ea6c4ecb293919 Author: Matthias Clasen Date: Sat Apr 16 23:16:12 2016 -0400 wayland: Fix the map_virtual_modifiers implementation We were not stripping real modifiers out, and thus always thought there's a conflict when the passed in modifiers included any real modifiers. gdk/wayland/gdkkeys-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 97d27ca2f8a22ee3a1043fa1ad0e0813d8293f13 Author: Bastien Nocera Date: Fri Apr 15 12:13:34 2016 +0200 cups: Fix gettext usage The previous patches didn't mark some strings as to be translated, and tried to translate strings with a variable part already inside the string, which isn't going to work. Mark the strings as translatable with context, and also make sure to translate static strings when getting them out of their structure. https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 5b7c06118c07dd0e8a8f1529b8991f780037aa80 Author: Lapo Calamandrei Date: Sat Apr 16 14:42:13 2016 +0200 Adwaita: ensure dialogs titlebar rounded corners broken from my previous commit about rounded corners, dialogs doesn't use the "window" node, but the "dialog" node, so use the .background styleclass in the selectors which is more generic. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit b64816ed8d887f27caaef0bacc20e0a7640912f4 Author: Lapo Calamandrei Date: Sat Apr 16 14:32:04 2016 +0200 Adwaita: more border color tweaking gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 15 insertions(+), 15 deletions(-) commit d5b26eb03489b96c0c53f8dfe7db0ab63b45ef0a Author: Lapo Calamandrei Date: Sat Apr 16 14:28:29 2016 +0200 Adwaita: lighten border color a bit gtk/theme/Adwaita/_colors.scss | 7 +- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 280 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 264 ++++++++++++++--------------- 5 files changed, 279 insertions(+), 278 deletions(-) commit 8394317cc23ee96c9d5f4bbb105d2074bd158187 Author: Lapo Calamandrei Date: Sat Apr 16 13:41:32 2016 +0200 Adwaita: flatten the switch base gtk/theme/Adwaita/_common.scss | 19 +++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++------------ gtk/theme/Adwaita/gtk-contained.css | 16 ++++------------ 3 files changed, 13 insertions(+), 38 deletions(-) commit b744c07b447f2c5d84bc86dd1d01fbbca7dc044f Author: Lapo Calamandrei Date: Sat Apr 16 13:35:48 2016 +0200 Adwaita: flatten entries and similar widgets gtk/theme/Adwaita/_common.scss | 10 +++------- gtk/theme/Adwaita/_drawing.scss | 25 ++++++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 28 +++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 28 +++++++++++++--------------- 4 files changed, 37 insertions(+), 54 deletions(-) commit 2184c910ebc0f3ac1d176250b2fb857323116b09 Author: Lapo Calamandrei Date: Sat Apr 16 13:21:39 2016 +0200 Adwaita: delete unused mixin gtk/theme/Adwaita/_drawing.scss | 26 -------------------------- 1 file changed, 26 deletions(-) commit 940c77ad43820972dc7423b84db6183efdfb89e9 Author: Lapo Calamandrei Date: Sat Apr 16 13:19:41 2016 +0200 Adwaita: flatten scale and progressbar trough gtk/theme/Adwaita/_common.scss | 27 +++++++-------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 25 +++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 25 +++++++++---------------- 3 files changed, 25 insertions(+), 52 deletions(-) commit 8ee4e45f8a9ded46aa02f0f7bc8cd8267d7d4399 Author: Lapo Calamandrei Date: Sat Apr 16 11:58:14 2016 +0200 Adwaita: ensure titlebar corners are not rounded... ...when the window is maximized or tiled, by using more specific selectors, since there were cases of erroneusly rounded corners. See https://bugzilla.gnome.org/show_bug.cgi?id=765038 gtk/theme/Adwaita/_common.scss | 9 +++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 13 insertions(+), 12 deletions(-) commit 64c2a65cc07e8beb11ada231a9f8e13b2e9abbb1 Author: Matthias Clasen Date: Fri Apr 15 22:20:25 2016 -0400 wayland: Implement virtual modifiers Since Wayland is using libxkbcommon, it inherits X unfortunate real/virtual modifier distinction, so we have to do the same gymnastics we do for X to map between the two. This should fix matching of accelerators using virtual modifiers (modulo gnome-shell bugs regarding the handling of Super). https://bugzilla.gnome.org/show_bug.cgi?id=764424 gdk/wayland/gdkkeys-wayland.c | 52 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 50 insertions(+), 2 deletions(-) commit 101cecf7248f7b1ff7d1f66c782a26832a392dbb Author: Matthias Clasen Date: Fri Apr 15 22:13:30 2016 -0400 Clarify docs a bit The wording here was just awkward: TRUE is returned if... Note that FALSE is also returned if... gdk/gdkkeys.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ed9cb2488baf3733d6232c382a58ae96d6b26d5 Author: Руслан Ижбулатов Date: Fri Apr 15 17:37:49 2016 +0000 gtk-builder-tool: use g_printf() instead of g_print() 1) g_print() can be redirected 2) g_print() does some extra processing, such as character set conversion. Specifically, on W32 it will detect system codepage via GetACP(), and will convert UTF-8 output into that codepage, even though the output should stay unchanged (whether gtk-builder-tool interprets strings from ui files as UTF-8 is a separate matter). https://bugzilla.gnome.org/show_bug.cgi?id=765118 gtk/gtk-builder-tool.c | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) commit 159c65dcb8d3084dfbc003bb331840e5042c3985 Author: Lapo Calamandrei Date: Fri Apr 15 18:28:26 2016 +0200 Adwaita: really fix solid-csd add a specificity bump hack in the titlebar solid-csd styling to avoid being overridden by the split titlebar theme logic. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 17 insertions(+), 11 deletions(-) commit de7862749468ac32f7065a5fd16d3c60b20b10e7 Author: Lapo Calamandrei Date: Fri Apr 15 18:00:37 2016 +0200 Adwaita: fix backdrop solid-csd titlebar rounded corners were not overridden for backdrop state. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 11 insertions(+), 7 deletions(-) commit 266ae74afc671a4ec03a3379f9d17fdafca3780a Author: Lapo Calamandrei Date: Fri Apr 15 16:51:29 2016 +0200 Adwaita: better solid-csd styling gtk/theme/Adwaita/_common.scss | 23 +++++++++++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 18 ++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 18 ++++++++++++++---- 3 files changed, 45 insertions(+), 14 deletions(-) commit 8ebb6969cbe49e75df37d8d7b55ae0814d7f3878 Author: Jeremy Tan Date: Fri Apr 15 19:22:20 2016 +0800 GDK W32: Fix positioning of reparented window MoveWindow should not be used over the pre-existing move/resize functions, which already correctly position a window with respect to its parent, while also taking into account the size of window decorations. https://bugzilla.gnome.org/show_bug.cgi?id=765100 gdk/win32/gdkwindow-win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8a2061f581d3dcb3928ccd5aeac77f6127c52cf4 Author: Matthias Clasen Date: Thu Apr 14 22:52:59 2016 -0400 inspector: Don't lie with statistics If we don't have statistics, despite GOBJECT_DEBUG being set, explain how to fix this. gtk/inspector/statistics.c | 11 +++++++++++ gtk/inspector/statistics.ui | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) commit 7552b7fca80a930a35bc6a0fe34aaaf7c5bd440e Author: Matthias Clasen Date: Thu Apr 14 15:30:59 2016 -0400 GtkBuilder: Mention how GVariant properties are parsed gtk/gtkbuilder.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 3bc58d01e37ecb75be7567bb28cc217d2aaaab9b Author: Benjamin Otte Date: Thu Apr 14 21:03:27 2016 +0200 iconhelper: Invalidate on clear() When clearing the icon helper, we need to invalidate it. Otherwise the previous icon keeps lingering along. This is not relevant inside gtkiconhelper.c where other code causes the invalidation, but happens when external code calls _gtk_icon_helper_clear(). https://bugzilla.gnome.org/show_bug.cgi?id=765066 gtk/gtkiconhelper.c | 2 ++ 1 file changed, 2 insertions(+) commit 7200ac8e566e1c7c2d7ffb8722eb2e3ee2fd1da2 Author: Matt Watson Date: Wed Apr 13 12:46:01 2016 -0700 Fix label css test The default font size of 10pt will now properly render as 13.33px, but we shouldn't use the default anyway as that can be controlled by user settings testsuite/css/style/label.css | 1 + testsuite/css/style/label.nodes | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit b0b1bf2f58fa036668e1669e2f465f0218a168a1 Author: Felipe Borges Date: Wed Apr 13 20:00:19 2016 +0200 cups: make string non-literals translatable again Notice that C_ just takes string literals as arguments. https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e92eaaa0493f50ff9b9e01049c026cc42b8653e2 Author: Sebastien Bacher Date: Thu Mar 17 13:57:41 2016 +0100 gtkplacessidebar: don't margins in the code those should rather be defined by the theme https://bugzilla.gnome.org/show_bug.cgi?id=763768 gtk/gtkplacessidebar.c | 2 -- 1 file changed, 2 deletions(-) commit 46cdb44fdd7466f0d524eeb4eec6c504fd64208b Author: Carlos Garnacho Date: Thu Apr 14 11:05:00 2016 +0200 GtkWindow: Ensure the toplevel is realized before realizing popovers Otherwise those get a NULL parent window, which is toplevel-y enough to disembody the popover. https://bugzilla.gnome.org/show_bug.cgi?id=764060 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 260d521dd7f2cdfb9a88c32280120fabfb3a27d0 Author: Jeremy Tan Date: Wed Apr 13 21:39:46 2016 +0800 GDK W32: Fix bounding rect calculation on window creation The bounding rect specifies the top left and bottom right corners - the bottom right corner must account for the current window position. https://bugzilla.gnome.org/show_bug.cgi?id=764996 gdk/win32/gdkwindow-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5cf4de8f27bbb7ea2d2f0a6d7d113525e4d50b1f Author: Piotr Drąg Date: Wed Apr 13 15:29:48 2016 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 4 ++++ po/POTFILES.skip | 4 ++++ 2 files changed, 8 insertions(+) commit 027702e453d51016abb8a9225a203510918ddded Author: Felipe Borges Date: Tue Apr 12 15:55:19 2016 +0200 cups: Fix more "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 61 +++++++++++++++++++----- 1 file changed, 48 insertions(+), 13 deletions(-) commit 31c5f0dc7f66c9a3b4310515809a79a85fa2b759 Author: YunQiang Su Date: Wed Apr 13 20:14:44 2016 +0800 update zh_CN translation po-properties/zh_CN.po | 5538 +++++++++++++++++++++++++++--------------------- 1 file changed, 3071 insertions(+), 2467 deletions(-) commit 4dcd33f2d5f1bcabc8b5195a85d4f92054506e1e Author: YunQiang Su Date: Wed Apr 13 16:41:00 2016 +0800 update zh_CN translation po/zh_CN.po | 416 ++++++++++++++++++++++++++---------------------------------- 1 file changed, 179 insertions(+), 237 deletions(-) commit 871b19f9ddfa0c89fafe1e77f835aa7496ad52fd Author: Matt Watson Date: Mon Apr 11 21:35:09 2016 -0700 reftests: test rem size testsuite/reftests/css-rem-label-size.css | 11 +++++++++++ testsuite/reftests/css-rem-label-size.ref.ui | 19 +++++++++++++++++++ testsuite/reftests/css-rem-label-size.ui | 19 +++++++++++++++++++ 3 files changed, 49 insertions(+) commit 92a496fdec61b18184b11aff5902b53665cc785f Author: Matt Watson Date: Mon Apr 11 16:17:08 2016 -0700 reftests: test em size testsuite/reftests/Makefile.am | 3 + testsuite/reftests/css-em-label-size.css | 37 +++ testsuite/reftests/css-em-label-size.ref.ui | 382 ++++++++++++++++++++++++++++ testsuite/reftests/css-em-label-size.ui | 357 ++++++++++++++++++++++++++ 4 files changed, 779 insertions(+) commit df08fc91bdc1d2e4c866122304fabe4dd298a7de Author: Matt Watson Date: Mon Apr 11 18:18:31 2016 -0700 css: always get default font size in pixels Fixes a couple bugs... - Pixel font sizes in css would render as point sizes. - For em font sizes, where the parent size was set and not default, we would incorrectly convert a pixel value from points to pixels. We'll always grab the default font size in pixels so we don't keep confusing things. Worth noting that gtk css font-size will still behave differently than the web. Pango interprets font-size differently. gtk/gtkcssdimensionvalue.c | 24 +++++++++++------------ gtk/gtkcssenumvalue.c | 41 +++++++++++++++++++++++++-------------- gtk/gtkcssenumvalueprivate.h | 3 ++- gtk/gtkcssshorthandpropertyimpl.c | 5 ++++- 4 files changed, 44 insertions(+), 29 deletions(-) commit f9ba55eaad6b2bb1d85a2d78202c3abe6a0b67d0 Author: Sébastien Wilmet Date: Sun Apr 10 16:58:49 2016 +0200 app: add missing g_returns And have the g_returns in the same order as the function parameters. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit c2aa7d074960e455a37912bf6083132d6afe08dd Author: Руслан Ижбулатов Date: Mon Apr 11 07:07:14 2016 +0000 GDK W32: Deduplicate reparenting gdk_window_reparent() already changes children list for old and new parent. Doing so twice results in a circular reference in the list, which can hang the application later, for example in gtk_window_show(). https://bugzilla.gnome.org/show_bug.cgi?id=764845 gdk/win32/gdkwindow-win32.c | 9 --------- 1 file changed, 9 deletions(-) commit c8d11085740b8c8d67bab01c99ff16efbcc26fe0 Author: Rico Tzschichholz Date: Tue Apr 12 13:30:04 2016 +0200 gtk: Annotate GtkFlowBoxCreateWidgetFunc as "transfer full" gtk/gtkflowbox.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 413d27508f92306bb6daf87426b6444525391f27 Author: Balló György Date: Sun Apr 10 21:42:04 2016 +0200 GtkTrayIcon: fix uninitialised variable https://bugzilla.gnome.org/show_bug.cgi?id=764863 gtk/deprecated/gtktrayicon-x11.c | 1 + 1 file changed, 1 insertion(+) commit 3f8313c735e4ff49cd993a185de2b09be4db684a Author: Mohammed Sadik Date: Tue Apr 12 06:54:35 2016 +0530 documentation: trivial typo fixes in GtkWidget https://bugzilla.gnome.org/show_bug.cgi?id=764925 gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a3bff7d41e8dd89bdec726a148207c58cf35db87 Author: Ignacio Casal Quinteiro Date: Mon Apr 11 22:22:37 2016 +0200 win32: rollback change and use _gdk_display This makes usage of _gdk_display again when creating a window. This is needed because there is a window created when the display is being initialized, so it becomes a chicken and egg problem. For now we roll back this to fix the wintab crash but we might want to fix this again in the future by improving the wintab initialization. https://bugzilla.gnome.org/show_bug.cgi?id=764664 gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9add3161f8fa3ea666189ac9e4de4c881ec676a Author: Ignacio Casal Quinteiro Date: Mon Apr 11 22:22:23 2016 +0200 win32: add missing empty lines gdk/win32/gdkdisplay-win32.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2f875129f1a30087b4a03119fb89eb13e64b6557 Author: Arash Mousavi Date: Mon Apr 11 22:56:23 2016 +0430 Update Persian translations po/fa.po | 2271 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1251 insertions(+), 1020 deletions(-) commit 6e47dad33d673e1360cdb55b50cb38b91e43b36d Author: Matthias Clasen Date: Mon Apr 11 11:57:46 2016 -0400 gdkdevice: Expose tool as property This may occasionally be useful. gdk/gdkdevice.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 28042ef3363f8ad069190c355503801b20742217 Author: Matthias Clasen Date: Mon Apr 11 07:52:39 2016 -0400 listbox: Fix css node ordering When inserting a child at the top, we were not inserting its css node properly. https://bugzilla.gnome.org/show_bug.cgi?id=764710 gtk/gtklistbox.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 646492ceead58e3950e83d266c80c71d34bf22b2 Author: Mohammed Sadik Date: Sun Apr 10 11:49:20 2016 +0530 broadway: fix documentation broadway backend has 0 as the default display port, which maps to tcp port 8080. https://bugzilla.gnome.org/show_bug.cgi?id=764835 docs/reference/gtk/broadway.xml | 8 ++++---- docs/reference/gtk/broadwayd.xml | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) commit 9610675faf9766bd069b43da9b445271649e8b9b Author: Emmanuele Bassi Date: Sun Apr 10 18:41:23 2016 +0100 recent-manager: Always ensure that size is reset on creation Whenever we create a new GBookmarkFile, we need to set the size to 0. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/gtkrecentmanager.c | 1 + 1 file changed, 1 insertion(+) commit cc08a965be0a7663f2491ac100f89e56c8e31d0e Author: Emmanuele Bassi Date: Sun Apr 10 18:39:33 2016 +0100 recent-manager: Fix the error domain and message on move_item() Using NOT_FOUND when moving is wrong and unhelpful. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/gtkrecentmanager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bccef4e41aa45801b96dfd1c33a376d2fa1bb6e6 Author: Emmanuele Bassi Date: Sun Apr 10 18:28:01 2016 +0100 recent-manager: Emit ::changed on file deletion This will clear out the list of recently used files, and will allow GVFS to handle this case. https://bugzilla.gnome.org/show_bug.cgi?id=693077 gtk/gtkrecentmanager.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 90d28d6bbf1aae0184e39b8078c21bce45455cd9 Author: Emmanuele Bassi Date: Sun Apr 10 17:51:58 2016 +0100 Assign a recent manager if one is set The GtkRecentAction implementation ignored a GtkRecentManager passed to its :manager property. https://bugzilla.gnome.org/show_bug.cgi?id=620065 gtk/deprecated/gtkrecentaction.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ee58a52a61a55f7723b938b05ceb0ad71bfbbafd Author: Sébastien Wilmet Date: Sun Apr 10 11:08:57 2016 +0200 app: minor code improvements - use GDK_EVENT_PROPAGATE - pass better zero-values to gtk_init(), since the parameters are pointers. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1f87c1cc0bec13db3641631f298e8f4a830ca455 Author: Sébastien Wilmet Date: Sun Apr 10 12:41:09 2016 +0200 app: improve code of extract_accels_from_menu() sub_model is clearer than "m". And we don't use the key, so we can pass NULL instead. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 687d3eb48f864bd7255b59a9eb9d77b851b341a2 Author: Sébastien Wilmet Date: Sun Apr 10 14:15:35 2016 +0200 app: use g_set_object() https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) commit 29971b0cc9b5035235ffcc48c34fb99cbf396534 Author: Sébastien Wilmet Date: Sun Apr 10 12:28:14 2016 +0200 app: don't use deprecated function gtk_application_add_accelerator() is deprecated, but was still used inside IGNORE_DEPRECATIONS's. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 399e8db3365cebf7b8bd02de7a940203a3b8ed15 Author: Sébastien Wilmet Date: Sun Apr 10 12:56:39 2016 +0200 app: improve doc of gtk_application_get_window_by_id() https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 40e40b7ffc01f445d1084a1788559068f2197d6b Author: Sébastien Wilmet Date: Sat Apr 9 17:42:12 2016 +0200 app: improve doc of gtk_application_set_accels_for_action() When reading the API for the first time I didn't know what was the "detailed" action name. https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 48afd8a5f0fc6f293fde5d4e176cfa90eb45a37c Author: Sébastien Wilmet Date: Sat Apr 9 12:50:43 2016 +0200 app: avoid code duplication for setting accels The implementation of the deprecated functions is now based on the non-deprecated gtk_application_set_accels_for_action(). https://bugzilla.gnome.org/show_bug.cgi?id=764846 gtk/gtkapplication.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit 8fc1ca1ef28bc70a5581112185a776f6158b0d6d Author: Lukas K Date: Sun Apr 3 15:31:05 2016 +0200 Fix gtk_scrollable_get_border annotation https://bugzilla.gnome.org/show_bug.cgi?id=764540 gtk/gtkscrollable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 99e92a60f29367bc95a9f6ee99d4b7dc4b6b0bb1 Author: Zahari Yurukov Date: Sun Apr 10 16:31:35 2016 +0300 Updated Bulgarian translation po/bg.po | 3329 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2119 insertions(+), 1210 deletions(-) commit fe80230985b9c73515ad867cb49e3c7b769fa7de Author: Friedrich Beckmann Date: Thu Apr 7 09:33:41 2016 +0200 quartz: zoom/rotate change compile/runtime check from 10.7 to 10.8 The zoom/rotate change for quartz does not build on 10.7. This change adds zoom/rotate support in quartz only for 10.8 and following. The problems is described here: https://bugzilla.gnome.org/show_bug.cgi?id=760276 and here https://trac.macports.org/ticket/51052 NSEventPhaseMayBegin was only introduced in 10.8 although documentation says it is introduced in 10.7. Tests on 10.7 indicate that the phase property for the Magnify event is not supported at all on 10.7 gdk/quartz/gdkevents-quartz.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 7dc588c4d377dbfe54061f35dc67f35cefac9c03 Author: Matthias Clasen Date: Sat Apr 9 17:35:58 2016 -0400 Add a note about GDK_AXIS_X/Y These axes mmay or may not be present, best to ignore them. gdk/gdktypes.h | 4 ++++ 1 file changed, 4 insertions(+) commit 0d64582688ac7592fefacca6aae9b11b171f1624 Author: Matthias Clasen Date: Sat Apr 9 17:31:39 2016 -0400 wayland: Keyboard don't have x/y These axes are not very useful in the first place, but on a keyboard they just don't make any sense at all. gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 1b0c6e4aa1f5d085d5d3b6e785d2dd35ebf6e031 Author: Matthias Clasen Date: Sat Apr 9 17:04:57 2016 -0400 Mention geometry handling changes in release notes README.in | 5 +++++ 1 file changed, 5 insertions(+) commit abff6e23c0a622f087c7a1bcd575cd32c30b17d4 Author: Matthias Clasen Date: Sat Apr 9 15:47:56 2016 -0400 inspector: simplify some code gtk/inspector/general.c | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) commit 9044f78751b1f795257bcd35ac37b8d39b0ae3be Author: Matthias Clasen Date: Sat Apr 9 15:20:07 2016 -0400 Move GdkDeviceTool into its own files gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdevice.c | 149 +--------------------------------- gdk/gdkdevice.h | 103 ------------------------ gdk/gdkdeviceprivate.h | 19 +---- gdk/gdkdevicetool.c | 173 ++++++++++++++++++++++++++++++++++++++++ gdk/gdkdevicetool.h | 75 +++++++++++++++++ gdk/gdkdevicetoolprivate.h | 46 +++++++++++ gdk/gdkevents.h | 1 + gdk/gdkseatdefault.c | 2 +- gdk/gdktypes.h | 62 ++++++++++++++ gdk/wayland/gdkdevice-wayland.c | 1 + gdk/x11/gdkdevicemanager-xi2.c | 1 + 13 files changed, 366 insertions(+), 270 deletions(-) commit 6db7de3f7ba42d667c305d76aaef55f09e0c26d9 Author: Sébastien Wilmet Date: Sat Apr 9 15:21:27 2016 +0200 app: fix indentation And add missing curly braces. gtk/gtkapplication.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit af1c873bca212303a6fe3829d38298d9e0493eec Author: Matthias Clasen Date: Sat Apr 9 12:14:33 2016 -0400 inspector: Use GdkAxes instead of GdkAxisUse gtk/inspector/general.c | 57 +++++++++++++++++-------------------------------- 1 file changed, 19 insertions(+), 38 deletions(-) commit d83ad00f9ec245014f45d426abad8180945563db Author: Matthias Clasen Date: Sat Apr 9 11:54:07 2016 -0400 inspector: Add an origin mark to the slowdown scale Makes it easier to get back to the original speed. gtk/inspector/visual.ui | 3 +++ 1 file changed, 3 insertions(+) commit e6c408c08a21cccc5ea3104da257fccddc8d55f4 Author: Matthias Clasen Date: Sat Apr 9 11:46:12 2016 -0400 inspector: Give the font scale an entry This matches what Matt did for the slowdown. gtk/inspector/visual.c | 52 ++++++++++++++++++++++++++++++++++++++++--------- gtk/inspector/visual.ui | 18 +++++++++++++---- 2 files changed, 57 insertions(+), 13 deletions(-) commit b3dc473057143173eb59378680219635265787d0 Author: Sébastien Wilmet Date: Fri Apr 8 20:13:07 2016 +0200 docs: trivial fixes in GtkApplication-related documentation gtk/gtkactionable.c | 2 +- gtk/gtkapplication.c | 6 +++--- gtk/gtkapplicationwindow.c | 6 +++--- gtk/gtkwindow.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit a970ba5ef673c448775480fe76f363ae50ffaaec Author: Matt Watson Date: Tue Mar 22 01:10:21 2016 -0700 animatedstyle: don't share styleanimations Because of our port of css animation and css transition to progress tracker, we should not think of animated styles as immutable objects that can map any timestamp to css values. Rather, timestamps can correspond to different values depending on the value of GTK_SLOWDOWN over the course of the animation. To keep animated styles and style animations totally immutable, we will not share styleanimations between animatedstyles, and make a new copy of a styleanimation for each timestamp. gtk/gtkcssanimatedstyle.c | 29 +++++++++++++----------- gtk/gtkcssanimation.c | 45 ++++++++++++++++++++----------------- gtk/gtkcssanimationprivate.h | 5 +++-- gtk/gtkcsstransition.c | 37 +++++++++++++++++++++--------- gtk/gtkstyleanimation.c | 51 +++++++++++++++++++++++++++--------------- gtk/gtkstyleanimationprivate.h | 22 +++++++++--------- 6 files changed, 114 insertions(+), 75 deletions(-) commit 7b68bdb8316fc1bb96c4a5ad16c1885506131d22 Author: Matt Watson Date: Tue Mar 22 01:04:38 2016 -0700 animatedstyle: just ref current style if timestamp the same gtk/gtkcssanimatedstyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6a88ac3b4cfa8a56f0bbcec66ecb05079d1a4ccd Author: Matt Watson Date: Tue Mar 22 00:54:11 2016 -0700 animatedstyle: fail to create new style if timestamp goes backwards With slowdown factor, we will only we be able to handle timestamps that monotonically increase. gtk/gtkcssanimatedstyle.c | 2 ++ 1 file changed, 2 insertions(+) commit 2800b00e1d5d46f374d50c279eb16aebd521ca4e Author: Matt Watson Date: Thu Mar 24 23:43:15 2016 -0700 cssanimation: port to progress tracker gtk/gtkcssanimatedstyle.c | 1 - gtk/gtkcssanimation.c | 121 ++++++++++++++++++------------------------- gtk/gtkcssanimationprivate.h | 6 +-- 3 files changed, 52 insertions(+), 76 deletions(-) commit 50e057e02541151a9de828dc7567042c00f499d1 Author: Matt Watson Date: Sun Mar 6 22:45:27 2016 -0800 csstransition: port to progress tracker gtk/gtkcssanimatedstyle.c | 5 +++-- gtk/gtkcsstransition.c | 39 +++++++++++++++++++++------------------ gtk/gtkcsstransitionprivate.h | 15 ++++++++------- 3 files changed, 32 insertions(+), 27 deletions(-) commit 511f1383281c3bdf45472fc53f806aebad83ea5d Author: Matt Watson Date: Mon Apr 4 23:44:04 2016 -0700 entry: port to progress tracker gtk/gtkentry.c | 50 +++++++++++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 21 deletions(-) commit d57ebe2de7d1866e19910a790dbdb2e2d8ec1cb4 Author: Matt Watson Date: Mon Mar 28 01:08:48 2016 -0700 progressbar: port to progress tracker gtk/gtkprogressbar.c | 51 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 30 insertions(+), 21 deletions(-) commit 5237b7a6b08d646f00561dfa2462427e99b1dd25 Author: Matt Watson Date: Mon Mar 28 14:54:34 2016 -0700 scrolledwindow: port indicator fade to progress tracker gtk/gtkscrolledwindow.c | 51 ++++++++++++++++--------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit dc8b80cd32ffec354eb9925e10c0ce5f6be4ddf6 Author: Matt Watson Date: Mon Mar 28 14:45:21 2016 -0700 popover: port to progress tracker gtk/gtkpopover.c | 30 +++++++----------------------- 1 file changed, 7 insertions(+), 23 deletions(-) commit 7ad64a20aa48b94b89919020643d6ab061e5260d Author: Matt Watson Date: Mon Mar 28 14:38:22 2016 -0700 switch: port to progress tracker gtk/gtkswitch.c | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-) commit 2ff62595eda55548287cb2257b0864268e228405 Author: Matt Watson Date: Fri Mar 25 02:01:25 2016 -0700 revealer: port to progress tracker gtk/gtkrevealer.c | 50 ++++++++++++++------------------------------------ 1 file changed, 14 insertions(+), 36 deletions(-) commit 62b224a8dff39703bec39e13ea954b22029ba3df Author: Matt Watson Date: Tue Mar 1 17:19:50 2016 -0800 stack: skip first frame for animations Not the ideal solution for this problem, but in practice leads to much better performance on lower end hardware. Stack does a double draw on the first frame of its animation, of both the old contents (into a cairo surface) and the new contents. Homogeneous stacks only need to reallocate contents on the first frame. On lower powered hardware where our frames will be a good deal slower than the refresh rate anyway, we can assure a smother experience by waiting a frame to start tweening where frame duration will be more consistent. gtk/gtkstack.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 3909f818c4d78afccd3243e06452c03556c67b42 Author: Matt Watson Date: Mon Feb 29 22:24:39 2016 -0800 stack: port to progress tracker gtk/gtkstack.c | 86 +++++++++++++++++++++++----------------------------------- 1 file changed, 34 insertions(+), 52 deletions(-) commit 46b120b35e7eacea103cd95dff821232a5c9caa2 Author: Matt Watson Date: Mon Mar 14 03:38:55 2016 -0700 inspector: add slider to control slowdown factor gtk/inspector/visual.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/visual.ui | 50 +++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) commit f2979323bfea80f57fa66264fcfd757e828f083b Author: Matt Watson Date: Mon Mar 14 03:38:23 2016 -0700 progresstracker: add GTK_SLOWDOWN environment variable As we consolidate widgets to use progress tracker, this will allow us to control the speed of all animations in a centralized place gtk/gtkmain.c | 8 ++++++++ gtk/gtkprivate.h | 4 ++++ gtk/gtkprogresstracker.c | 20 +++++++++++++++++++- 3 files changed, 31 insertions(+), 1 deletion(-) commit e71d09e9cb37a60a026bc39048d0e6ea14394f90 Author: Matt Watson Date: Mon Feb 29 21:39:33 2016 -0800 progresstracker: simple struct to track animation progress gtk/Makefile.am | 2 + gtk/gtkprogresstracker.c | 250 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkprogresstrackerprivate.h | 75 ++++++++++++ 3 files changed, 327 insertions(+) commit f1cbd9ca13fd8b57f4f48aafdf915876f7bac85c Author: Carlos Garnacho Date: Fri Apr 8 17:25:53 2016 +0200 demos: Show slider/rotation axes in "Event axes" demo demos/gtk-demo/event_axes.c | 56 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 55 insertions(+), 1 deletion(-) commit 057ae4ace00dd0213e9e6e9808ebbc2bc2ed655f Author: Carlos Garnacho Date: Fri Apr 8 17:25:04 2016 +0200 wayland: Propagate slider/rotation axes from tools to devices gdk/wayland/gdkdevice-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b3ca11a6cb01b7830c46c067399577d9c3593d32 Author: Olivier Fourdan Date: Wed Apr 6 19:44:16 2016 +0200 test: do not remove files on distclean bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764686 testsuite/a11y/state/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 83e775147f35145ff4e7122089fb48ddf8617fa5 Author: Olivier Fourdan Date: Thu Apr 7 15:56:46 2016 +0200 wayland: do not update shadows for child windows glade-previewer places a gtkwindow inside another toplevel gtkwindow, updating the shadow width for the client induces a busy loop where the parent will grow continuously until it crashes gnome-shell/mutter. To avoid the loop, do not update the shadow width if not dealing with a toplevel window. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761651 gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d3a3d0673f8a6c52dac5fbbbdebeee2f456e5742 Author: Carlos Garnacho Date: Fri Apr 8 15:08:15 2016 +0200 gdkevents: Fix GDK_AVAILABLE_IN annotation These functions have just been added. An oversight prior to merging wayland tablet. gdk/gdkevents.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6628ffd686859f7170ea6b8e908a6a805e570e92 Author: Carlos Garnacho Date: Wed Apr 6 17:29:11 2016 +0200 wayland: Check the tablet manager before creating a wp_tablet_seat This makes things non-crashy if the compositor doesn't provide wp_tablet_manager gdk/wayland/gdkdevice-wayland.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 48239ad72092a8115999872ed77b917f75e08bb8 Author: Carlos Garnacho Date: Tue Apr 5 14:33:29 2016 +0200 gtk3-demo: Add tool information to "Event axes" demo Print tool type and serial, if found. demos/gtk-demo/event_axes.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit cd1604ae1c6a2c4fd8250cc10b460ef5aa8a6a8e Author: Carlos Garnacho Date: Tue Jan 26 19:25:19 2016 +0100 wayland: Hook tablets to GdkSeat Those are now also grabbed togetther with other master pointers, so everything is able to interoperate on eg. popups triggered by other devices. gdk/wayland/gdkdevice-wayland.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit fb32f11e3d058807e8cfb392446a59fb04f37bc0 Author: Carlos Garnacho Date: Mon Jun 22 18:28:46 2015 +0200 wayland: Translate pen buttons into button events up/down already take GDK_BUTTON_PRIMARY, we translate BTN_STYLUS(2) into GDK_BUTTON_MIDDLE/SECONDARY. gdk/wayland/gdkdevice-wayland.c | 42 +++++++++++++++++++++++++++++++++++------ 1 file changed, 36 insertions(+), 6 deletions(-) commit 4f6bc820520d35bf9e1986f048915681b2aaeb91 Author: Stephen Chandler Paul Date: Mon Jun 22 18:16:27 2015 +0200 Wayland: Translate wl_tablet.down/up into button events These are sent with button=GDK_BUTTON_PRIMARY, axes must be also included in these events, in addition to motion ones. gdk/wayland/gdkdevice-wayland.c | 64 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 62 insertions(+), 2 deletions(-) commit 0f6be24e28894920a0e169d747753b1145d26103 Author: Stephen Chandler Paul Date: Mon Jun 22 18:02:50 2015 +0200 Wayland: Translate tool axes in motion events On wayland, such axes are per-tool, we must update device capabilities on the fly as new tools enter proximity, first the slave device so it matches the current tool, and then the master device so it looks the same than the current slave device. gdk/wayland/gdkdevice-wayland.c | 210 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 204 insertions(+), 6 deletions(-) commit 72884a274cf99aed7a1faa4d47042be3c0d6a279 Author: Stephen Chandler Paul Date: Mon Jun 22 17:51:48 2015 +0200 Wayland: Implement proximity/crossing/motion event emission on tablets Each tablet will update its own GdkWaylandPointerData separately. This commit only adds plain motion event emission so far, no axes are managed yet. gdk/wayland/gdkdevice-wayland.c | 209 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 205 insertions(+), 4 deletions(-) commit 7cc0850a5ae5b399afb33658afa7d2a8d8414837 Author: Stephen Chandler Paul Date: Sun Jan 18 19:32:24 2015 -0500 Wayland: Add initial support for drawing tablets Only the management of tablets and tools is added so far. No tablet events are yet interpreted. As it's been the tradition in GTK+, erasers are split into their own device, whereas the rest of the tools are meant to be routed through the GDK_SOURCE_PEN device. Both pen/eraser devices are slaves to a master pointer device, separate to wl_pointer's. This is so each tablet can maintain its own cursor/positioning accounting. Signed-off-by: Stephen Chandler Paul gdk/wayland/Makefile.am | 2 + gdk/wayland/gdkdevice-wayland.c | 439 ++++++++++++++++++++++++++++++++++++++- gdk/wayland/gdkdisplay-wayland.c | 7 + gdk/wayland/gdkdisplay-wayland.h | 2 + 4 files changed, 445 insertions(+), 5 deletions(-) commit d4d032795dba4e6daf8e037ecce13430608a3fb5 Author: Carlos Garnacho Date: Wed Apr 6 15:49:22 2016 +0200 build: Bump wayland-protocols dependency to 1.3 Needed for tablet support configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 45b4d765c0752471efc9883080a5f66361cd7aa2 Author: Carlos Garnacho Date: Fri Jun 19 17:25:54 2015 +0200 wayland: Refactor master pointer data into a separate struct This will enable multiple "pointers" to have separate data here. Will come out useful when adding support for tablets, as they will have a separate cursor for all purposes. gdk/wayland/gdkdevice-wayland.c | 530 ++++++++++++++++++++++------------------ 1 file changed, 288 insertions(+), 242 deletions(-) commit af894af38602e419b6ac9331db957047974b2728 Author: Stephen Chandler Paul Date: Sun Jan 18 14:30:58 2015 -0500 gdkcursor-wayland.c: Minor indentation fix Changed the tabs to spaces Signed-off-by: Stephen Chandler Paul gdk/wayland/gdkcursor-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6febc2291878b102c3f3d083977b3068f36fe49e Author: Carlos Garnacho Date: Tue Jun 30 16:28:59 2015 +0200 x11: Use XInternAtom directly on poking device hardware IDs This way we don't cache the property if it wasn't previously there, added by the driver itself. Bailing out is due there. gdk/x11/gdkdevicemanager-xi2.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 8e917093df600abe822c73c43f39c0ab861350ef Author: Carlos Garnacho Date: Thu Jun 18 15:09:46 2015 +0200 demos: Enable multidevice behavior on event-axes demo On wayland we get separate master/slaves for each tablet, we will need to receive crossing events for each master pointer if there's more than one around. demos/gtk-demo/event_axes.c | 1 + 1 file changed, 1 insertion(+) commit b465ede53bbc3f3806117f22d53bfd634bf8d98a Author: Carlos Garnacho Date: Thu Jun 18 15:08:39 2015 +0200 demos: Set crossing events mask explicitly on event-axes demo. demos/gtk-demo/event_axes.c | 2 ++ 1 file changed, 2 insertions(+) commit 89b7f859a49913dd5fe4d714e7e8f7ee0b143533 Author: Carlos Garnacho Date: Tue Feb 10 15:59:18 2015 +0100 gtk3-demo: Show multiple master devices on the "Event axes" demo demos/gtk-demo/event_axes.c | 66 ++++++++++++++++++++++++--------------------- 1 file changed, 35 insertions(+), 31 deletions(-) commit 505dac94be3de6623e8e1dc9adf00050f40046e6 Author: Stephen Chandler Paul Date: Mon Feb 9 22:02:08 2015 -0500 gtk-demo: Add support for distance in event_axes Signed-off-by: Stephen Chandler Paul demos/gtk-demo/event_axes.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit 6c2a078bf2110d41c8f4d96d74c5dbf6d17eaf92 Author: Stephen Chandler Paul Date: Mon Feb 9 19:44:50 2015 -0500 gtk-demo: Use GdkAxisUse instead of axis labels Axis labels are very X specific, and are not really possible to port to other backends such as Wayland. As such, it makes more sense to use GdkAxisUse and GdkAxisUseFlag in order to determine the axis capabilities of a device and draw their axes. Signed-off-by: Stephen Chandler Paul demos/gtk-demo/event_axes.c | 106 +++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 61 deletions(-) commit 9e72d24b23fe0808e75c678f1339152a1d32d55a Author: Stephen Chandler Paul Date: Mon Jun 22 17:19:16 2015 +0200 GdkDeviceTool: Add GdkAxisFlags info to tablet tools Different tools may have different sets of axes, we should store that info somewhere. gdk/gdkdevice.c | 17 ++++++++++++++++- gdk/gdkdeviceprivate.h | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 2 +- 3 files changed, 20 insertions(+), 3 deletions(-) commit 8b2fd3ed1bb58a3c414f37ad25f560a7d3f74786 Author: Stephen Chandler Paul Date: Tue Jan 13 00:03:49 2015 -0500 GdkDeviceTool: Add GdkDeviceToolType to identify the physical tool type Because there are multiple different types of styluses that can be used with tablets, we have to have some sort of identifier for them attached to the GdkDeviceTool, especially since knowing the actual tool type for a GdkDeviceTool is necessary for matching up a GdkDeviceTool with it's appropriate GdkInputSource in Wayland (eg. matching up a GdkDeviceTool eraser with the GDK_SOURCE_ERASER GdkInputSource of a wayland tablet). Signed-off-by: Stephen Chandler Paul docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/gdkdevice.c | 37 +++++++++++++++++++++++++++++++++++- gdk/gdkdevice.h | 30 +++++++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 4 +++- gdk/x11/gdkdevicemanager-xi2.c | 3 ++- 5 files changed, 73 insertions(+), 3 deletions(-) commit 9a81b6595942e6a0d34e489450da7dcdf0054e7e Author: Carlos Garnacho Date: Tue Jan 6 14:57:21 2015 +0100 x11: Set GdkDeviceTool on motion/button events The last known tool from the device is used here. If no tool is known, the event will just have a NULL pointer there. gdk/x11/gdkdevicemanager-xi2.c | 2 ++ 1 file changed, 2 insertions(+) commit 0287ec7e89a831ce014386eff4abe9497eaa8a5c Author: Carlos Garnacho Date: Tue Jan 6 14:56:02 2015 +0100 x11: Update GdkDevices on "Wacom Serial IDs" property changes This takes care of the emission of GdkDevice::tool-changed, plus the updating of the internal device accounting. gdk/x11/gdkdevicemanager-xi2.c | 70 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) commit 6286883e8d53bd1d71141668e745e228d8e27a99 Author: Carlos Garnacho Date: Tue Apr 5 14:33:24 2016 +0200 gdk: Forward tools in client-side windows event translation gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 6d73e75153e3de80fa5bf0ca8fcc07d2a3a6fde7 Author: Carlos Garnacho Date: Tue Jan 6 14:52:42 2015 +0100 events: Add gdk_event_[gs]et_device_tool() This getter/setter will manage the tool pointer in GdkEventPrivate. The setter should be most notably used by backends. docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/gdkevents.c | 52 ++++++++++++++++++++++++++++++++++++ gdk/gdkevents.h | 7 +++++ gdk/gdkinternals.h | 1 + 4 files changed, 62 insertions(+) commit 5a25c5a9f2af96d2c7c086fa994d2de61cfe6e6d Author: Carlos Garnacho Date: Fri Jan 29 13:07:13 2016 +0100 GdkSeatDefault: Add functions to add/remove tools This may be used by any backend using GdkSeatDefault as its seat implementation. gdk/gdkseatdefault.c | 71 +++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkseatdefaultprivate.h | 4 +++ 2 files changed, 75 insertions(+) commit 6824dd7b8afffc4affcc21f8a7c1700c7de66c91 Author: Carlos Garnacho Date: Fri Jan 29 13:06:02 2016 +0100 gdk: Add GdkSeat::tool-added/removed signals And a helper function to lookup a tool from the seat. Those are tracker per-seat, and may be shared across devices. gdk/gdkseat.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkseatprivate.h | 12 +++++++++ 2 files changed, 82 insertions(+) commit d5f141a9b7e85272b6042d2be6a6bcd09a825bd3 Author: Carlos Garnacho Date: Tue Jan 6 14:44:15 2015 +0100 gdkdevice: Add GdkDevice::tool-changed signal On the devices and backends that support it, this signal will be emitted on slave/floating devices whenever the tool they are interacting with changes. These notifications may also work as a sort of proximity events, as the tool will be unset when the pen moves too far. For backends, gdk_device_update_tool() has been included, all that should be done on their side is just calling this whenever any tool might have changed. gdk/gdkdevice.c | 32 ++++++++++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 3 +++ 2 files changed, 35 insertions(+) commit 4ba95b09ba1b42aba68335d4a2df021cd58a5a32 Author: Carlos Garnacho Date: Tue Jan 6 14:38:14 2015 +0100 gdkdevice: Add GdkDeviceTool to identify device tools GdkDeviceTool is an opaque object that can be used to identify a given tool (eg. pens on tablets) during the app/device lifetime. Tools are only set on non-master devices, and are owned by these. The accounting functions are made private, the only public call on GdkDeviceTool so far is gdk_device_tool_get_serial(), useful to identify the tool across runs. docs/reference/gdk/gdk3-sections.txt | 3 ++ gdk/gdkdevice.c | 98 ++++++++++++++++++++++++++++++++++++ gdk/gdkdevice.h | 11 ++++ gdk/gdkdeviceprivate.h | 15 ++++++ 4 files changed, 127 insertions(+) commit 0f962f107576ceb8adf697c0598fdeed51882e0a Author: Carlos Garnacho Date: Tue Jan 27 21:35:40 2015 +0000 device: Add gdk_device_get_axes(), and ::axes property This returns a GdkAxisFlags, holding the axes currently available through this device. docs/reference/gdk/gdk3-sections.txt | 2 ++ gdk/gdkdevice.c | 39 ++++++++++++++++++++++++++++++++++++ gdk/gdkdevice.h | 32 +++++++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 1 + 4 files changed, 74 insertions(+) commit 32d7ba76b3642aefe83d183464a762a1ed152f19 Author: Carlos Garnacho Date: Tue Jan 27 21:34:21 2015 +0000 device: Add distance/rotation/slider GdkAxisUse values These are possible to handle in tablets, so add a value for these in the axis enum. gdk/gdkdevice.h | 6 ++++++ 1 file changed, 6 insertions(+) commit adff59843b3cd511557ba5a578d2e75e685b3bed Author: Руслан Ижбулатов Date: Wed Apr 6 10:22:15 2016 +0000 GDK W32: Don't move windows into top-left corner on style change This fixes a bug that was introduced by db1b24233e758200ab9bc23fdb9b64dba4876a00. The reason why 0:0 coordinates were passed was that SWP_NOREPOSITION was misinterpreted as SWP_NOMOVE. That is not the case - SWP_NOREPOSITION prevents owner Z-order change, not the window position change. gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be6784c7ea59bd18bf2ce954e83870494686967a Author: Olivier Fourdan Date: Mon Apr 4 14:55:38 2016 +0200 wayland: Do not resize with the same size gnome-control-center is calling gtk_window_resize() on configure-event signals which leads to a busy loop. Avoids such a busy loop by not re-configuring a window with the same size, unless this is coming from and xdg-shell configure. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=764374 gdk/wayland/gdkwindow-wayland.c | 30 +++++++++++++++++++++++------- 1 file changed, 23 insertions(+), 7 deletions(-) commit 28fc4de6aaed944d223c7a84ecb6ef3c6d340e3b Author: Wouter Verhelst Date: Thu Mar 31 11:09:41 2016 +0200 Clarify that one cannot use the same variable A naive way to perform an action on all parent nodes of a given node could be to do: while(gtk_tree_model_iter_parent(model, &iter, &iter)) { /* perform some action on iter here */ } However, since gtk_tree_model_iter_parent() will initialize the iterator pointed to by the second parameter before performing the lookup, this will not work. Explicitly document this behaviour. Signed-off-by: Wouter Verhelst https://bugzilla.gnome.org/show_bug.cgi?id=573380 gtk/gtktreemodel.c | 3 +++ 1 file changed, 3 insertions(+) commit 93363551d74c50734f1f3149d95f1e79f4fe0191 Author: Bastien Nocera Date: Mon Apr 4 16:38:04 2016 +0200 cups: Fix "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 modules/printbackends/cups/gtkprintbackendcups.c | 90 ++++++++++++++++++------ 1 file changed, 68 insertions(+), 22 deletions(-) commit becc0d45b62021080baaceca315b33b17ed5d10a Author: Bastien Nocera Date: Mon Apr 4 15:03:12 2016 +0200 recent-manager: Fix "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/gtkrecentmanager.c | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 6a5224ffcb91f92d712c3254c737b2eabc21ba48 Author: Bastien Nocera Date: Mon Apr 4 14:32:56 2016 +0200 file-chooser-widget: Fix "format not a string literal" error https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/gtkfilechooserwidget.c | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) commit a8c59543cf950aac096e1078f4f5d4c5d75dd78b Author: Bastien Nocera Date: Mon Apr 4 14:16:17 2016 +0200 about-dialog: Fix "format not a string literal" errors A non-intrusive fix. https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/gtkaboutdialog.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit bf8653c2e11e4d110fa4b3092f8f1634118ccbef Author: Bastien Nocera Date: Mon Apr 4 14:14:13 2016 +0200 ui-manager: Fix "format not a string literal" errors Quite a bit of code movement, but necessary to build with the default format errors produced by newer versions of GCC. https://bugzilla.gnome.org/show_bug.cgi?id=764585 gtk/deprecated/gtkuimanager.c | 129 +++++++++++++++++++++++++++--------------- 1 file changed, 82 insertions(+), 47 deletions(-) commit 85e37925f019f0232ad4b0813fc504fb7e2cf64f Author: Lapo Calamandrei Date: Mon Apr 4 12:03:11 2016 +0200 Adwaita: transparent textview border border So it will play nicely with gedit color combinations. See https://bugzilla.gnome.org/show_bug.cgi?id=764203 gtk/theme/Adwaita/_common.scss | 9 +++------ gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 7 insertions(+), 12 deletions(-) commit d5b78d474a88f2b4f664e4637c57d5490d689a06 Author: Tom Tryfonidis Date: Mon Apr 4 09:28:23 2016 +0000 Updated Greek translation (cherry picked from commit 40afffb9fde9f2fc46d1fafd9dcdca7692e065ef) po/el.po | 197 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 99 insertions(+), 98 deletions(-) commit 2f0354fcf9b5a304e637735ad12cab0125849ca5 Author: Matthias Clasen Date: Sun Apr 3 23:39:18 2016 -0400 Move GdkDeviceManager to deprecated section It has been superseded by GdkSeat. docs/reference/gdk/gdk-docs.sgml | 2 +- gdk/gdkdevicemanager.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) commit 8ef12fda83a53a4459840363d0e44306ca91b5a8 Author: Matthias Clasen Date: Sun Apr 3 23:33:57 2016 -0400 Add an index for 3.22 api additions docs/reference/gdk/gdk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 9bfc8371fe3a5a08f841a6c008dafe3ff39d3841 Author: Matthias Clasen Date: Sun Apr 3 18:17:16 2016 -0400 wayland: Remove an unused vfunc gdk/wayland/gdkscreen-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit 59e40f3d6f6387bf327c228ffb86abe3c8d2931a Author: Matthias Clasen Date: Sat Apr 2 14:56:55 2016 -0400 wayland: Remove unused field gdk/wayland/gdkscreen-wayland.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 62a7447c5f465a07f43181551832d4708cfa2e56 Author: Kristjan SCHMIDT Date: Sun Apr 3 02:20:00 2016 +0200 Updated Esperanto translation po/eo.po | 8979 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 5754 insertions(+), 3225 deletions(-) commit f052f1554b7aa022e8423773f6c2e6e3a0771ce3 Author: Kristjan SCHMIDT Date: Sun Apr 3 00:46:18 2016 +0200 Updated Esperanto translation po-properties/eo.po | 6847 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 4163 insertions(+), 2684 deletions(-) commit 58891c1fe5f10f9823a8b61f4df1a1db9c0fd479 Author: Timm Bäder Date: Sat Apr 2 16:20:09 2016 +0200 headerbar: Don't underallocate the label box We use a label_sizing_box to make sure the headerbar can always contain both a title and a subtitle without resizing when showing/hiding either of them, but we should only do that for the height; the min width of the label_box can be larger than that of the label_sizing_box. gtk/gtkheaderbar.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit d23c6c624628d31fa7c9dd543c96af18954018c2 Author: Lapo Calamandrei Date: Sat Apr 2 16:24:52 2016 +0200 Adwaita: style textview border see https://bugzilla.gnome.org/show_bug.cgi?id=764203 gtk/theme/Adwaita/_common.scss | 37 ++++++++++++++++++++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 25 ++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 25 ++++++++++++++++----- 3 files changed, 71 insertions(+), 16 deletions(-) commit f2f1725b408e873adcec82d273111d79352d4bd0 Author: Lapo Calamandrei Date: Sat Apr 2 16:03:02 2016 +0200 Adwaita: cosmetic fixes gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 10 +++++----- gtk/theme/Adwaita/gtk-contained.css | 10 +++++----- 3 files changed, 17 insertions(+), 17 deletions(-) commit 2784eacf008b13d4f6d1461adc046917ef0a18a5 Author: Carlos Garnacho Date: Fri Apr 1 19:09:03 2016 +0200 wayland: Avoid NULL slave devices in GdkSeat::get_slaves Just because we're asked for a capability, it doesn't mean we have it. gdk/wayland/gdkdevice-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b1205a9c9622e9b01b078e571309ab8d29c2685c Author: Lapo Calamandrei Date: Fri Apr 1 16:42:40 2016 +0200 Adwaita: set secondary caret color to selection blue see https://bugzilla.gnome.org/show_bug.cgi?id=764204 gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 6 insertions(+), 2 deletions(-) commit 4bfa6c30bf6fdebad0c67feed2097aa327e6aa3e Author: Rui Matos Date: Thu Mar 31 20:56:01 2016 +0200 gtkwindow: Don't allow unresizable windows to be smaller than required Commit cdc580463e409a9b7e5f1480afa68d875ff3ff65 made it so that unresizable windows can't be smaller than a set default size but it lost the logic to ensure these windows remain at least big enough to comply with their requisition. https://bugzilla.gnome.org/show_bug.cgi?id=764174 gtk/gtkwindow.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 84dfda1a2b6bd57fe1a0bbaae108e88e4219d791 Author: Timm Bäder Date: Tue Feb 23 10:34:16 2016 +0100 widget: Always warn when underallocating widgets gtk/gtkwidget.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 4c698bc82418f43076320819cdbb5af9ffd00e50 Author: Matthias Clasen Date: Thu Mar 31 20:31:00 2016 -0400 wayland: Print out more debug info Print out the subpixel layout and frame rates that the compositor sends us. gdk/wayland/gdkscreen-wayland.c | 54 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 52 insertions(+), 2 deletions(-) commit 4c10800bcc11d81a503255d6c6fa90405badd3ce Author: Alexander Larsson Date: Thu Mar 31 18:56:18 2016 +0200 gdkwindow: Remove O(n-children) code in gdk_window_invalidate When we invalidate a window we need to also invalidate all child windows that are native (non-native are automatically invalidated as we track invalidation once per native window only). This was done in a pretty inefficient way, recursing over the entire tree. This makes the invalidation much faster by only looking at the native children of the native window we're in, filtering out those that are not a descendant of the client side window we're interested in. Given that there are very few native subwindows this is much faster. gdk/gdkwindow.c | 92 +++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 63 insertions(+), 29 deletions(-) commit d1acb786a7436743697f7aede31d7e72dec1ffe7 Author: Matthias Clasen Date: Thu Mar 31 07:11:24 2016 -0400 icon theme: Make the builtin hicolor index match reality We were missing all of the status directories, and a few sizes. This was causing us to not find image-missing on systems without hicolor icon theme (this basically only happens on Windows). https://bugzilla.gnome.org/show_bug.cgi?id=764378 gtk/gtkicontheme.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit a93e477a4dd47b8729d240cc7f39767fc4cadb33 Author: Theppitak Karoonboonyanan Date: Thu Mar 31 09:12:58 2016 +0700 Updated Thai translation. po/th.po | 489 +++++++++++++++++---------------------------------------------- 1 file changed, 132 insertions(+), 357 deletions(-) commit 6faafbff6eab8992ef226ba40ca895876698b47d Author: Matthias Clasen Date: Wed Mar 30 21:54:04 2016 -0400 Use AM_DISTCHECK_CONFIGURE_FLAGS This is preferred over DISTCHECK_CONFIGURE_FLAGS in modern automake. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8da5879aa194f75aed6cd47e29600cd8ad630fc Author: Matthias Clasen Date: Wed Mar 30 17:08:39 2016 -0400 Adwaita: theme acceleditor > label We need to have an opaque background here, otherwise the underlying cell shines through. https://bugzilla.gnome.org/show_bug.cgi?id=764376 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit 72178fd0c9083464970f79bf1baf54696c9c6bdc Author: Matthias Clasen Date: Wed Mar 30 17:08:02 2016 -0400 Accel cell renderer: Set a css name Give the event box we use here the distinctive name "acceleditor". gtk/gtkcellrendereraccel.c | 2 ++ 1 file changed, 2 insertions(+) commit 71a5f07620449be45067084b78183bb5661d5eb1 Author: Benjamin Otte Date: Wed Mar 30 21:41:08 2016 +0200 widget: queue a redraw only if resize highlighting is enabled e8aa9b0440e03e7002323922f862342db51c5f32 introduced a new debug mode that highlights resizes. Unfortunately it has the side effect of always queueing redraws even when the debug mode is not enabled. Make the redraw conditional. gtk/gtkwidget.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit fd143a2b38b0f24ef7315021a447d593f57b0a99 Author: Debarshi Ray Date: Tue Mar 29 19:58:21 2016 +0200 window: Make the sample code obey the party line on geometry widgets The geometry_widget parameter is deprecated [1]. If one is passed, we remove GDK_HINT_BASE_SIZE and GDK_HINT_RESIZE_INC from the mask [2]. [1] commit 08974a1e9a6099a5a94b9d56970dbf96e473ba87 [2] commit f7cc4abbad76f354cdc740e7fb9192719f72a89a https://bugzilla.gnome.org/show_bug.cgi?id=764321 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bde5281ae811179b11e8344c8312e58698e658cb Author: Руслан Ижбулатов Date: Tue Mar 15 16:10:34 2016 +0000 GDK W32: Use a dumb window class for decorative windows Currently only one kind of decorative window is in use - the shape indicator that is shown when snapping windows to the edge of the screen. When normal toplevel class is used, its window procedure expects certain motions from GDK (passing user data to CreateWindowEx(), registering handle in a hash map etc), and might crash if that is not done. Dumb window doesn't require anything, it can just be. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 43 ++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 42 insertions(+), 1 deletion(-) commit cfbb8c525236f5f7b0af1e71c475be8faf450b26 Author: Руслан Ижбулатов Date: Tue Mar 15 10:17:45 2016 +0000 GDK W32: Add/subtract shadow when (un)snapping Now halfleft/halfright/fullup snaps do hug screen edges as intended. Documents AeroSnap behaviour when snapped windows are drag-resized (currently this implementation handles this in a very simplistic way). Don't believe GTK when it tells us that window shadow is 0, preserve previous values (but do remember that GTK wants no shadow, in case we need that). Fixes a couple of bugs in unsnapping (check offset against the half of the window; don't put pointer in the middle of the window vertically if it still fits in the top half). https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 145 +++++++++++++++++++++++++++++++++++++------- gdk/win32/gdkwindow-win32.h | 4 ++ 2 files changed, 128 insertions(+), 21 deletions(-) commit f853283d7b9f173d429aa49e2e976f0d23ef5c40 Author: Руслан Ижбулатов Date: Tue Mar 15 10:15:14 2016 +0000 GDK W32: Add/subtract shadow when drag-resizing Implements gdk_win32_window_set_shadow_width(). Uses shadow width/height to adjust max tracking size, allowing windows to be drag-resized to cover the whole desktop. Also uses SM_C*VIRTUALSCREEN instead of SM_C*MAXTRACK. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkevents-win32.c | 4 ++-- gdk/win32/gdkwindow-win32.c | 21 +++++++++++++++++++++ gdk/win32/gdkwindow-win32.h | 7 +++++++ 3 files changed, 30 insertions(+), 2 deletions(-) commit b0131616b259449d7478b1552f9370443aa28eab Author: Руслан Ижбулатов Date: Sat Mar 12 16:26:19 2016 +0000 GDK W32: Draw snap indicators for AeroSnap Indicator is a bare layered click-through native window, painted completely by GDK, including animation. This commit also isolates some of the more spam-ish debug logging under ifdef. This commit also changes the system metric used for maximal window height for the snapping purposes. Turns out, SM_CYMAXTRACK is way too large, use SM_CYVIRTUALSCREEN instead. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 527 ++++++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkwindow-win32.h | 33 +++ 2 files changed, 545 insertions(+), 15 deletions(-) commit b420c53773ca5119afb43f0f351cb8f33c2bcaf9 Author: Руслан Ижбулатов Date: Tue Mar 8 05:03:29 2016 +0000 GDK W32: Add drag-to-snap feature to AeroSnap This implements the part of AeroSnap that snaps windows when you drag them (while moving or resizing) to the edge of the screen. It also fixes drag behaviour for snapped and maximized windows (if such windows are dragged, first they must be unmaximized/unsnapped). Note that this code does not take into account the shadow width, and because of that the under-pointer-position-preserving window moves might not look as such for maximized windows, which lack the shadow when maximized, but do have the shadow when unmaximized. This commit also doesn't cover some corner-cases the same way AeroSnap does. Also, the snapping indicator (which is supposed to be a window shape that shows where the window will be if the drag op is stopped at its current point) is not being drawn, all routines responsible for its creation, moving and drawing are stubs. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 681 ++++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkwindow-win32.h | 43 +++ 2 files changed, 724 insertions(+) commit 2ea96cf9461474d9ffbe8efc64c5946d48441cf4 Author: Руслан Ижбулатов Date: Tue Mar 8 03:17:09 2016 +0000 GDK W32: Improve AeroSnap - don't resize windows that fit This is what AeroSnap does. If a window is being unsnapped on a new monitor, check if the work area is large enough for the window to fit in its normal size. If the window fits, just reposition it so that the ratio of left-window-edge-to-screen-edge / right-window-edge-to-screen-edge remains the same, without scaling the window. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkwindow-win32.c | 68 ++++++++++++++++++++++++++++++++++++++++----- gdk/win32/gdkwindow-win32.h | 3 ++ 2 files changed, 64 insertions(+), 7 deletions(-) commit 0ce217cf94c2a0c1c9936daded9dd5b6183cea32 Author: Руслан Ижбулатов Date: Tue Mar 8 02:33:47 2016 +0000 GDK W32: Re-implement AeroSnap for CSD windows It works exactly like AeroSnap. Except for shift+win+left/right, which is left for AeroSnap to handle (AeroSnap takes action before we get the message, so there's no way for us to override it). The only thing that doesn't work is shift+win+left/right on a maximized window, for reasons unknown at the moment. This only implements winkey+stuff behaviour of AeroSnap, not the drag-to-the-edge-and-something-funny-happens one. https://bugzilla.gnome.org/show_bug.cgi?id=763013 gdk/win32/gdkevents-win32.c | 42 +++++++ gdk/win32/gdkprivate-win32.h | 3 + gdk/win32/gdkwindow-win32.c | 273 +++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkwindow-win32.h | 51 ++++++++ 4 files changed, 369 insertions(+) commit 27a1b50bc63553909abf3958837114b65313a445 Author: Debarshi Ray Date: Tue Mar 29 19:29:31 2016 +0200 window: Fix gtk_window_set_geometry_hints documentation The geometry_widget parameter is ignored from 3.20 onwards [1], not 3.18 as mentioned in the documentation. [1] commit 08974a1e9a6099a5a94b9d56970dbf96e473ba87 https://bugzilla.gnome.org/show_bug.cgi?id=764321 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6267b6b6ebda8efa05b5638f66c471303d8f72d7 Author: Emmanuele Bassi Date: Tue Mar 29 16:24:14 2016 +0100 Bump to 3.21.0 Otherwise newly added API will start warning. configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 77eebbda5c69bdc890ef869d82d04b723265bf8b Author: Руслан Ижбулатов Date: Wed Mar 16 18:16:33 2016 +0000 GDK W32: Erase hidden layered windows before showing them If a layered window was hidden and is made visible, erase its contents before showing it. GDK will schedule a redraw, but until then we generally don't want to show old contents. https://bugzilla.gnome.org/show_bug.cgi?id=763783 gdk/win32/gdkevents-win32.c | 6 +-- gdk/win32/gdkprivate-win32.h | 3 ++ gdk/win32/gdkwindow-win32.c | 107 ++++++++++++++++++++++++++++++++++++------- 3 files changed, 97 insertions(+), 19 deletions(-) commit cea8c29a267808c7252eed4f36547153509db308 Author: Руслан Ижбулатов Date: Fri Mar 18 04:51:52 2016 +0000 GDK W32: Implement show_window_menu() This is achieved by sending undocumented message WM_SYSMENU to the window. Before doing that, the window is given WS_SYSMENU style (to enable window menu) and some combination of WS_MAXIMIZEBOX (for "Mazimize" item) WS_MINIMIZEBOX (for "Minimize" item) WS_SIZEBOX (for "Size" item) depending on which operations are currently permissible. WM_SYSMENU is processed by DefWindowProc(), which results in showing the window menu. We remove extra styles at the first opportunity (WM_INITMENU message), as they alter the way our window is rendered. https://bugzilla.gnome.org/show_bug.cgi?id=763851 gdk/win32/gdkevents-win32.c | 95 ++++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkprivate-win32.h | 12 ++++++ gdk/win32/gdkwindow-win32.c | 29 ++++++++++++++ gdk/win32/gdkwindow-win32.h | 11 +++++ 4 files changed, 147 insertions(+) commit 38f94194a62bc23eb7725e3692dc7a262e5b2e11 Author: Lapo Calamandrei Date: Tue Mar 29 15:06:11 2016 +0200 Adwaita: set caret-color for drop targets gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit e7cd3dddd8804f06303f4d0a83fff287818e6f7a Author: Lapo Calamandrei Date: Tue Mar 29 15:01:57 2016 +0200 Adwaita: cosmetic fix gtk/theme/Adwaita/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43a568395baf035b237edf6f2ddbb45977d21491 Author: Matthias Clasen Date: Mon Mar 28 19:54:55 2016 -0400 Add some tests for GdkRectangle In particular, we're testing corner cases with empty rectangles here. testsuite/gdk/Makefile.am | 1 + testsuite/gdk/rectangle.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+) commit 669336cf95771ccb5852b57d15c76ff43a8788a4 Author: Matthias Clasen Date: Mon Mar 28 19:28:57 2016 -0400 Expand visual tests a bit testsuite/gdk/visual.c | 3 +++ 1 file changed, 3 insertions(+) commit 785a425516a54d3a2ed6c50b89a0993688a76709 Author: Matthias Clasen Date: Mon Mar 28 19:22:36 2016 -0400 Add tests for seat apis These are just some basic sanity tests. testsuite/gdk/Makefile.am | 1 + testsuite/gdk/seat.c | 120 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 121 insertions(+) commit 6f2d5a62909191052462ea4abe69f194ff140a2a Author: Matthias Clasen Date: Mon Mar 28 17:56:13 2016 -0400 Move autotestkeywords to testsuite All the 'make check' and installed tests are now in testsuite/, and tests/ is just a collection manual test programs. tests/Makefile.am | 21 --------------------- testsuite/gtk/Makefile.am | 15 +++++++++++++++ {tests => testsuite/gtk}/autotestkeywords.cc | 0 3 files changed, 15 insertions(+), 21 deletions(-) commit a91237d65e91cf7dc1581fabf9245ca89e988088 Author: Benjamin Otte Date: Tue Dec 1 17:25:54 2015 +0100 window: Remove suspicious branch While this commit was found to make emacs windows shrink (and it was reverted in the gtk-3-20 branch for that reason), that was the only observed breakage, while the reversal broke several of our unit tests. Closer study of the emacs sources revealed that it does some really unsupportable things like doing its own X event handling behind GTK+'s back and freely mixing sizes of GtkWindows and GdkWindows obtained in various ways. I've filed a bug against emacs with suggestions for how to avoid the shrinking window, regardless of this commit. Original commit message: It seems this branch is not needed anymore. It was originally added in 1999 to support gtk_widget_realize(), but all those reasons seem obsolete today. Instead just call gtk_widget_realize(). If you end up at this commit when bisecting: There is no bug that made me remove this code, it was purely meant to be cleanup / dead code removal. I seem to have introduced a new bug or bisecting wouldn't have let you here. So it seems we should just revert this commit. gtk/gtkwindow.c | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) commit aeed695e26619c009f72cb72fcae8bcd50713da6 Author: Timm Bäder Date: Mon Mar 28 18:18:20 2016 +0200 gtkapplication: _get_app_menu can return NULL gtk/gtkapplication.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a9f94ba67f6d02c2f0deab70c9386b9dab7a8b75 Author: Aurimas Černius Date: Mon Mar 28 17:48:10 2016 +0300 Updated Lithuanian translation po/lt.po | 184 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 98 insertions(+), 86 deletions(-) commit 568feffa699b75ba16023069297ca887d18000ff Author: Matthias Clasen Date: Sun Mar 27 19:00:31 2016 -0400 Use dngettext instead of ngettext Since we are a library, we have to pass the domain explicitly. https://bugzilla.gnome.org/show_bug.cgi?id=764261 gtk/gtkplacesviewrow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5dabfa7b39afdf923b301856161fa482c4dbefe6 Author: Matthias Clasen Date: Sun Mar 27 10:59:59 2016 -0400 places sidebar: Plug a small memory leak _gtk_trash_moniotr_get_icon is transfer full, so we have to unref the icon. gtk/gtkplacessidebar.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit b6b53fc19c1027c8fe4c9bd730056ba8fdff77a8 Author: Cosimo Cecchi Date: Sun Mar 27 08:39:44 2016 -0700 GtkClipboard: fix a typo gtk/gtkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit efea673c3148020b6a0bdc814cda00b82199ee78 Author: Cosimo Cecchi Date: Sun Mar 27 08:35:13 2016 -0700 GtkCssSection: remove duplicated documentation Fixes a build time warning. gtk/gtkcsssection.c | 10 ---------- gtk/gtkcsssection.h | 7 +++++-- 2 files changed, 5 insertions(+), 12 deletions(-) commit 26f9dc65087d430b26dc6476c596a81eb8572b2f Author: Cosimo Cecchi Date: Sat Mar 26 22:36:12 2016 -0700 scale: fix marks node position for scales with value We should only count the value node as the first/last one if its position matches. gtk/gtkscale.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9f48b6b07aacf4d3791f8a24ffd281ed6489c154 Author: Cosimo Cecchi Date: Sat Mar 26 20:50:59 2016 -0700 range: use gadget pointers for grab/mouse locations Simplify code and remove the mouse location indirection. gtk/gtkrange.c | 253 +++++++++++++++++++++++---------------------------------- 1 file changed, 103 insertions(+), 150 deletions(-) commit 6efc06ef5c946c4fead4e411207a41ba154d3b31 Author: Cosimo Cecchi Date: Sat Mar 26 19:11:41 2016 -0700 scale: remove impossible case We only create the gadget when the markup is not empty, so we don't need to check again here. gtk/gtkscale.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit b9899102935c801892d131031f2f92e752239dfa Author: Cosimo Cecchi Date: Sat Mar 26 19:07:36 2016 -0700 scale: cache pango layouts for mark labels Constantly creating pango layouts while drawing means that animations will be slow. Instead, cache the pango layout in the mark structure. gtk/gtkscale.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 7e15ac8927ec5b5b89dd1f36e3996dc2af9a62b2 Author: Matthias Clasen Date: Sat Mar 26 23:32:45 2016 -0400 Add an index for 3.22 api additions docs/reference/gtk/gtk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 100cf2442e40d29e4b83a5eae663e30ad58eaf09 Author: Matthias Clasen Date: Sat Mar 26 23:30:21 2016 -0400 Add a function to get the selection of a clipboard This was requested in http://bugzilla.gnome.org/show_bug.cgi?id=730821 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkclipboard.c | 18 ++++++++++++++++++ gtk/gtkclipboard.h | 2 ++ 3 files changed, 21 insertions(+) commit cb738bc201a5b75d0ca54dfb51807f554e28087e Author: Matthias Clasen Date: Sat Mar 26 23:17:53 2016 -0400 Remove private clipboard api from public headers gtk/gtkapplication.c | 2 +- gtk/gtkclipboard.h | 4 ---- gtk/gtkclipboardprivate.h | 4 ++++ gtk/gtkmain.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit 0d0980f30e6fc6c5b95486600126bc65f929c0ba Author: Matthias Clasen Date: Sat Mar 26 18:59:02 2016 -0400 filter model: Mark property nicks and blurbs for translation Better descriptions are not going to happen... might as well admit it. gtk/gtktreemodelfilter.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit b1b271ab091f21497aa2419f22df1c80680aa40c Author: Matthias Clasen Date: Sat Mar 26 18:53:55 2016 -0400 Drop some more code This ifdefed out function was only used in the code I just nuked, so it can go as well. gtk/gtkfilechooserdialog.c | 19 ------------------- 1 file changed, 19 deletions(-) commit 543ad3aabb852f407196fa75a6cf038524e11b75 Author: Matthias Clasen Date: Sat Mar 26 18:52:04 2016 -0400 file chooser: Drop unused code We've never restored filechooser positions, and we aren't going to. gtk/gtkfilechooserdialog.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 59d8cba48229f03ab7657ae3258174f1cd6d41fd Author: Matthias Clasen Date: Sat Mar 26 18:48:27 2016 -0400 wayland: Get min/max keycode from xkb keymap Instead of hardcoding 8/255 here. gdk/wayland/gdkkeys-wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7249897dc80f5dbe8c03885b1b103f1fe93c75f2 Author: Matthias Clasen Date: Sat Mar 26 18:39:39 2016 -0400 Drop irritating FIXMEs in docs There is nothing to fix here, so don't make gnome-builder pick these lines up for its todo list. docs/reference/gtk/getting_started.xml | 42 +++++++++++++++++----------------- 1 file changed, 21 insertions(+), 21 deletions(-) commit 8d874cf0f8e404d22e936afd8713f1ec7b3dab15 Author: Matthias Clasen Date: Sat Mar 26 18:18:50 2016 -0400 Stop using pango_split_file_list Add a copy of this deprecated utility in gtkutils.c and use it instead of the pango API. gtk/Makefile.am | 2 +- gtk/gtkmodules.c | 11 +++----- gtk/gtkutils.c | 73 +++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkutilsprivate.h | 2 ++ gtk/queryimmodules.c | 5 ++-- 5 files changed, 82 insertions(+), 11 deletions(-) commit 6994fe03ee3f533583b6717ad979937143157c9f Author: Matthias Clasen Date: Sat Mar 26 18:12:16 2016 -0400 Split off copied pango utils in their own source This will make it easier to use them in more than one place. gtk/Makefile.am | 2 + gtk/gtkimmodule.c | 160 +++-------------------------------------- gtk/gtkutils.c | 193 ++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkutilsprivate.h | 16 +++++ 4 files changed, 221 insertions(+), 150 deletions(-) commit e2d89b9931f45df01308be236d7deecf515faf49 Author: Matthias Clasen Date: Sat Mar 26 17:32:37 2016 -0400 Revert "window: Remove suspicious branch" This reverts commit 67ab00e01ec06d7b05a82c3d80b235ac6c4abfd2. Bisection showed that this commit caused emacs windows to shrink to a small size when first shown. gtk/gtkwindow.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit 1057f249bdc54c2f57e94bb9e74ffb9b1cab7ec5 Author: Matthias Clasen Date: Sat Mar 26 16:08:01 2016 -0400 wayland: Add debug output for pixel formats Use GDK_DEBUG=misc to see information about wl_shm pixel formats supported by the compositor. gdk/wayland/gdkdisplay-wayland.c | 92 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit f06fc8d378521866c19d4e52b3b97addb750805d Author: Matthias Clasen Date: Sat Mar 26 15:15:28 2016 -0400 Deprecate gdk_visual_get_colormap_size Since we don't have API for colormaps anymore, this is not a useful function. gdk/gdkvisual.c | 7 +++++++ gdk/gdkvisual.h | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit ce0074b034b2b89afd47a344824fa24e1857329f Author: Matthias Clasen Date: Sat Mar 26 15:06:10 2016 -0400 Deprecate gdk_visual_get_byte_order This function is only useful when working with XImages, and is not meaningfully implemented in other backends. gdk/gdkvisual.c | 8 +++++++- gdk/gdkvisual.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) commit c6cdddd68d248c1ba3ea0d09c844e8bec5e187a1 Author: Matthias Clasen Date: Sat Mar 26 14:58:48 2016 -0400 wayland: Fix up visual implementation Don't return visuals that don't match the requested depth and/or visual type. gdk/wayland/gdkscreen-wayland.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 89973118f3a3624e36cdbe6ca8235f75e8281f8e Author: Matthias Clasen Date: Sat Mar 26 14:56:36 2016 -0400 Add some more visual tests These are just basic tests to ensure that the visual implementation of a backend is sound. testsuite/gdk/visual.c | 130 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 125 insertions(+), 5 deletions(-) commit aa4c5459b77b7afd6885290f5159d9828edbfcb1 Author: Matthias Clasen Date: Sat Mar 26 14:20:23 2016 -0400 Deprecate gdk_visual_get_bits_per_rgb This function is pretty useless, since the Wayland backend returns 0 for this, and the Windows backend 42 (!). gdk/gdkvisual.c | 3 +++ gdk/gdkvisual.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit c448061d49f1e4ee1879aaca6e4b8d9554c2cb7c Author: Matthias Clasen Date: Sat Mar 26 14:08:10 2016 -0400 Add version macros for 3.22 gdk/gdkversionmacros.h.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 7fe1037e84ffa867d83e73801ed59beea05bce2a Author: Matthias Clasen Date: Sat Mar 26 13:50:42 2016 -0400 range: Simplify highlight allocation Since we are really only interested in the center point of the slider allocation, the pre-computed slider geometry is perfectly fine, just use it always. This avoids the complication with gadget visibility. gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit e33188ad41095112a4342d570ab441f18d2e1416 Author: Matthias Clasen Date: Sat Mar 26 10:50:00 2016 -0400 range: Avoid miscalculating highlight allocation The slider gadget may be turned invisible as side-effect of gtk_range_calc_slider(). If that happens, gtk_css_gadget_get_content_allocation() returns { 0, 0, 0, 0}, which leads us to calculate a negative allocation for the highlight node. Avoid this, by just reusing our already calculated slider allocation in this case (it is not technically the same as the content, allocation, but the difference hardly matter here. https://bugzilla.gnome.org/show_bug.cgi?id=764022 gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2374e2aa3b723c7352135b5a5964c96fff86a8f6 Author: Matthias Clasen Date: Sat Mar 26 10:09:19 2016 -0400 Add a test for the system rgba visual The main point of this test is to ensure that the pixel_details getters work as expected. testsuite/gdk/Makefile.am | 1 + testsuite/gdk/visual.c | 65 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) commit e48e29db3b26cd702812d8e105be597e242ec81f Author: Matthias Clasen Date: Sat Mar 26 10:10:16 2016 -0400 wayland: Fully initialize the visual The pixel details (mask, shift and precision) are supposed to be filled in for TrueColor visuals. gdk/wayland/gdkscreen-wayland.c | 5 +++++ 1 file changed, 5 insertions(+) commit 8206b824fa3cba5cbc7ddec0a1ccec7828f37dc5 Author: Matthias Clasen Date: Sat Mar 26 09:32:51 2016 -0400 Make gdk_visual_get_*_pixel_details work again These functions are supposed to return the numbers of consecutive 1 bits in each components mask as precision. However, due to a copy-paste mistake when this code was moved around in commit 70d689cddda0dc616af97e8ed047d0c0acf7c7a6, the precision was always reported as zero. This affects only a few applications that directly set window background on X11 windows, such as emacs. https://bugzilla.gnome.org/show_bug.cgi?id=764210 gdk/gdkvisual.c | 1 - 1 file changed, 1 deletion(-) commit 120c296ff6e349032f8753a5d1321def7070bd11 Author: Jordi Mas Date: Sat Mar 26 08:10:28 2016 +0100 Update Catalan translation po/ca.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 82bde5b84d20b27616a03d3075f192f5521502bf Author: Matthias Clasen Date: Fri Mar 25 22:43:57 2016 -0400 HighContrastInverse: Fix suggested-action colors Choose a suitable foreground color instead of hardcoding white. https://bugzilla.gnome.org/show_bug.cgi?id=764170 gtk/theme/HighContrast/_common.scss | 18 +++++++++--------- gtk/theme/HighContrast/gtk-contained-inverse.css | 8 ++++---- gtk/theme/HighContrast/gtk-contained.css | 6 +++--- 3 files changed, 16 insertions(+), 16 deletions(-) commit fab9c17b89341c294f69f3d320e87481dbd15301 Author: Matthias Clasen Date: Fri Mar 25 22:36:50 2016 -0400 gtk3-demo: Show more button styles Add examples for suggested-action and destructive-action buttons in the style classes example. demos/gtk-demo/theming.ui | 37 +++++++++++++++++++++++++++++++++- demos/gtk-demo/theming_style_classes.c | 1 + 2 files changed, 37 insertions(+), 1 deletion(-) commit 258ba6c8a4fc9ae71d6b8137f1b30b3475526502 Author: Matthias Clasen Date: Fri Mar 25 22:39:53 2016 -0400 gtk3-demo: Rename "CSS Theming" group Call it just "Themeing" to avoid the repetition of CSS. demos/gtk-demo/css_accordion.c | 2 +- demos/gtk-demo/css_basics.c | 2 +- demos/gtk-demo/css_multiplebgs.c | 2 +- demos/gtk-demo/css_pixbufs.c | 2 +- demos/gtk-demo/css_shadows.c | 2 +- demos/gtk-demo/theming_style_classes.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit 12bc02db94494b5d5f50b80be7492695141063d7 Author: Balázs Úr Date: Sat Mar 26 00:47:32 2016 +0000 Updated Hungarian translation po/hu.po | 429 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 219 insertions(+), 210 deletions(-) commit b9b67e05e1f1f036322addafcd1479aebbc0fde5 Author: Руслан Ижбулатов Date: Sat Mar 19 09:49:56 2016 +0000 GDK W32: Optimize clipboard handling a bit Delay as long as possible before calling OpenClipboard(), call CloseClipboard() as quickly as possible after that. Don't call OpenClipboard() when we don't need to (for example, we don't need to open clipboard to call GetClipboardOwner()). Also, print out actual W32 error code in some cases where it was not printed before. https://bugzilla.gnome.org/show_bug.cgi?id=763907 gdk/win32/gdkdisplay-win32.c | 46 ++++++++++++++++++++++++------------------ gdk/win32/gdkproperty-win32.c | 13 ++++++------ gdk/win32/gdkselection-win32.c | 4 ++-- 3 files changed, 35 insertions(+), 28 deletions(-) commit 692c3b11ff3877de90b653536d13dafc4e879ab8 Author: Руслан Ижбулатов Date: Mon Mar 21 16:25:19 2016 +0000 GDK W32: Print error code along with the error message Error codes can be easily looked up in an error code list and/or googled up. Error messages, while descriptive, often describe the wrong thing, and the messages themselves are not part of the documentation of a function, unlike error codes. It would be preferable to have the code, or both. https://bugzilla.gnome.org/show_bug.cgi?id=763913 gdk/win32/gdkmain-win32.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit c4c00299b2a136d3440801a27fae2a156ca75093 Author: Руслан Ижбулатов Date: Sat Mar 19 11:59:13 2016 +0000 GDK W32: Print more debug info about events 1) Print timestamps for events 2) Print wParam and lParam (in hex form) for messages https://bugzilla.gnome.org/show_bug.cgi?id=763913 gdk/win32/gdkevents-win32.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 24d2f85b2313b51cc3bde2b747c5fff9841baa26 Author: Piotr Drąg Date: Fri Mar 25 21:27:21 2016 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 72346cb2092f08bcbd8fb5fc0f4ad4fc61f7dd74 Author: Christoph Reiter Date: Fri Mar 25 13:42:31 2016 +0100 inspector: add slider for adjusting the font scale https://bugzilla.gnome.org/show_bug.cgi?id=761435 gtk/inspector/visual.c | 26 ++++++++++++++++++++++++++ gtk/inspector/visual.ui | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) commit 826f729b6fae10ed34890c04ebc5b169f74f1521 Author: Matthias Clasen Date: Fri Mar 25 15:52:22 2016 -0400 stack switcher: Add a missing include gtk/gtkstackswitcher.c | 1 + 1 file changed, 1 insertion(+) commit 6ac7b54378ad1a8468df889744321bd61ab9e565 Author: Matthias Clasen Date: Sun Dec 13 18:43:10 2015 -0500 dnd: Move GtkDragDest to a separate file This follows what was done for GtkDragSource in 415030d25f2552d3937ee3c394c50d22c5382982 and shaves another 500 lines off gtkdnd.c. gtk/Makefile.am | 2 + gtk/deprecated/gtkcolorsel.c | 1 + gtk/gtk.h | 1 + gtk/gtkcalendar.c | 1 + gtk/gtkcolorbutton.c | 1 + gtk/gtkdnd.c | 495 +----------------------------------------- gtk/gtkdnd.h | 88 -------- gtk/gtkdndprivate.h | 15 ++ gtk/gtkdragdest.c | 500 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkdragdest.h | 110 ++++++++++ gtk/gtkfilechooserbutton.c | 1 + gtk/gtkfilechooserwidget.c | 1 + gtk/gtkplacessidebar.c | 1 + gtk/gtkselection.h | 21 ++ gtk/gtksocket.c | 1 + 15 files changed, 659 insertions(+), 580 deletions(-) commit db93386f23807b4153a88775d50c7504f623a016 Author: Wolfgang Stöggl Date: Fri Mar 25 18:20:27 2016 +0000 Updated German translation (cherry picked from commit 5e5372ce74cfd06498dee1938f0249d1039ede16) po-properties/de.po | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) commit ea21ee30392df2201a08594cf56d2857e105d628 Author: Wolfgang Stöggl Date: Fri Mar 25 18:17:41 2016 +0000 Updated German translation (cherry picked from commit c08f4bd2a93e779158ed221c7ea75a9df8ffd35f) po/de.po | 238 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 129 insertions(+), 109 deletions(-) commit d47c7f7ba01d12a529bf25ccee099046754f5538 Author: Mohammed Sadik Date: Fri Mar 25 18:08:07 2016 +0530 gtkaboutdialog: don't break ABI in GtkLicense enum As the elements in the enum are not explicitly numbered, inserting an element between some other elements shall change the values of elements after the insertion. So append the new element at the end. Anyway, no code should rely on the position of an element in an enum. https://bugzilla.gnome.org/show_bug.cgi?id=763850 gtk/gtkaboutdialog.c | 4 ++-- gtk/gtkaboutdialog.h | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) commit 4c8557fa35e6e0705a21e084479606e749e823cc Author: Matthias Clasen Date: Fri Mar 25 13:12:00 2016 -0400 Add a css node test for scales testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/scale.nodes | 63 +++++++++++++++++++++++++++ testsuite/css/nodes/scale.ui | 94 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 158 insertions(+) commit 5d34cf64a2f5a3c7f58732a500b2c5b2b0ceba47 Author: Olivier Fourdan Date: Thu Mar 24 11:32:24 2016 +0100 popover: raise when showing Some other widget might have mapped and raised another child window of the toplevel in the meantime, causing the popover window to be covered. Raise the popover window to avoid the issue. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=763627 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 19034a235265b927325ffcebe3cff6f37503784d Author: Jordi Mas Date: Fri Mar 25 14:27:16 2016 +0100 Fix Catalan translation po/ca.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit fae1effec9da605f058223724503ce8a417f1f2c Author: Milo Casagrande Date: Fri Mar 25 10:58:30 2016 +0000 Updated Italian translation (cherry picked from commit be624e71f43ffe8ec5351fbce575388561c5a240) po-properties/it.po | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 65687ba3921f0d5db8b17a85a526a906b614fa0f Author: Razvan Chitu Date: Mon Mar 14 11:55:00 2016 +0200 trashmonitor: change trash monitoring process The trash is monitored for state changes - going from empty to non-empty and the other way round. Monitoring is done by handling change signals from a regular file monitor. On each signal, an enumeration of the trash contents is started in order to see if it is empty or not. This causes issues when many files are trashed, because the gvfs trash backend is flooded with enumeration requests, resulting in CPU usage spikes. In order to fix this, the "item-count" attribute of the trash should be queried instead. Replace asynchronous enumeration with asynchronous information query and update the trash state based on the "item-count" attribute. Emit state change signal only when the state actually changes. https://bugzilla.gnome.org/show_bug.cgi?id=763600 gtk/gtktrashmonitor.c | 78 ++++++++++++++++++--------------------------------- 1 file changed, 28 insertions(+), 50 deletions(-) commit 40e777ae30d0dcd14dd615958f3ebfa53e5f069b Author: Mohammed Sadik Date: Fri Mar 18 19:48:29 2016 +0530 gtkaboutdialog: Add support for GNU Affero GPLv3+ Add support for GNU Affero GPLv3 (or later) to GtkLicense enum https://bugzilla.gnome.org/show_bug.cgi?id=763850 gtk/gtkaboutdialog.c | 1 + gtk/gtkaboutdialog.h | 3 +++ 2 files changed, 4 insertions(+) commit caa804613d9c5253cec75e4bb7920b3110c0bd57 Author: Matthias Clasen Date: Thu Mar 24 08:24:45 2016 -0400 add a css style test for font: smaller testsuite/css/style/Makefile.am | 1 + testsuite/css/style/font.css | 7 +++++++ testsuite/css/style/font.nodes | 12 ++++++++++++ testsuite/css/style/font.ui | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+) commit 447325b1e475c2f9fb21e62daf3d6f91b74581d5 Author: Matthias Clasen Date: Thu Mar 24 21:34:35 2016 -0400 3.20.1 NEWS | 34 ++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 36 insertions(+), 2 deletions(-) commit 24f54d50c4c9ce14d1b0d28315a7fa349a57b5c2 Author: Matthias Clasen Date: Thu Mar 24 22:27:12 2016 -0400 Update css node test for GtkSwitch changes testsuite/css/nodes/buttons.nodes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1716e0b038f901b8b94a4614a6f7f59d0c654c79 Author: Matthias Clasen Date: Thu Mar 24 21:18:27 2016 -0400 Revert "add a css style test for font: smaller" This reverts commit a4ed154b037aaf03f8c166a711c326a030225eed. The misparsing that is tested here will not be fixed in 3.20, so keep this test out of the stable branch. testsuite/css/style/Makefile.am | 1 - testsuite/css/style/font.css | 7 ------- testsuite/css/style/font.nodes | 12 ------------ testsuite/css/style/font.ui | 19 ------------------- 4 files changed, 39 deletions(-) commit b3ad4af96961ceda2d70e72cb7fb9afe17f0f912 Author: Mario Blättermann Date: Fri Mar 25 00:41:41 2016 +0000 Updated German translation po-properties/de.po | 1755 ++++++++++++++++++++++++++------------------------- 1 file changed, 889 insertions(+), 866 deletions(-) commit cd78fa15eda0638180ba5ffd4d6eccb2cbfefb86 Author: Benjamin Otte Date: Thu Mar 24 19:50:45 2016 +0100 menu: Clip children to view window Don't overdraw the arrow allocations. https://bugzilla.gnome.org/show_bug.cgi?id=764118 gtk/gtkmenu.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 31a032e04285418b4db306c83feb99c12add5f91 Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 20:17:19 2016 +0100 Updated Basque language po/eu.po | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit b08ba9def0ff63783d1d5217c970f58c306a472e Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 20:15:34 2016 +0100 Updated Basque language po/eu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5875101a347572ccbab3ac952c48cb2ef4ff61b3 Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 20:14:02 2016 +0100 Updated Basque language po-properties/eu.po | 3315 +++++++++++++++++++++++++++------------------------ 1 file changed, 1747 insertions(+), 1568 deletions(-) commit 1f16eb4344817f701e06cc5cec1de96c3a29937a Author: Inaki Larranaga Murgoitio Date: Thu Mar 24 19:59:24 2016 +0100 Updated Basque language po/eu.po | 1408 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 780 insertions(+), 628 deletions(-) commit ac62bc0df9a363de37da70d7cd3da80ea32f7f22 Author: Jakub Steiner Date: Thu Mar 24 16:43:20 2016 +0100 High Contrast Inverse: switches - make sure both non active and active states are contrasty https://bugzilla.gnome.org/show_bug.cgi?id=763802 gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++--- gtk/theme/HighContrast/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 7ac7b523d8eddb4ecd2f17b883e648e4c27e61d8 Author: Jakub Steiner Date: Thu Mar 24 16:35:19 2016 +0100 High Contrast Inverse: set contrasty selected items - selected bg was set lighter without appropriate fg color https://bugzilla.gnome.org/show_bug.cgi?id=763804 gtk/theme/HighContrast/_colors.scss | 4 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 246 +++++++++++------------ 2 files changed, 125 insertions(+), 125 deletions(-) commit adb2b5c758450ce504f12fa83935d54a71e0adf0 Author: Jakub Steiner Date: Thu Mar 24 16:32:01 2016 +0100 High Contrast Inverse: scale trough fix - make the trough more visible for HCI https://bugzilla.gnome.org/show_bug.cgi?id=763805 gtk/theme/HighContrast/_colors.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7e72f42483e930155ace2faa33750f7ca94912df Author: Piotr Drąg Date: Thu Mar 24 15:35:11 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit a4ed154b037aaf03f8c166a711c326a030225eed Author: Matthias Clasen Date: Thu Mar 24 08:24:45 2016 -0400 add a css style test for font: smaller testsuite/css/style/Makefile.am | 1 + testsuite/css/style/font.css | 7 +++++++ testsuite/css/style/font.nodes | 12 ++++++++++++ testsuite/css/style/font.ui | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+) commit 16dc164292dcc53a189e71679a8834be46f02068 Author: Lapo Calamandrei Date: Thu Mar 24 13:15:23 2016 +0100 Adwaita: avoid sizing transition on the scale... ... since it ends up jumpy. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit f5b6ab4557c92a65591c46ffb48ef475714fab30 Author: Lapo Calamandrei Date: Thu Mar 24 11:33:33 2016 +0100 Adwaita: placesview connect to server label padding adds some padding to the "connect to server" label gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 12 insertions(+) commit aa821429b179da70f4722e36803ec28b38515f89 Author: Lapo Calamandrei Date: Thu Mar 24 11:25:52 2016 +0100 Adwaita: fix menu scroll arrows positioning adresses the style part of https://bugzilla.gnome.org/show_bug.cgi?id=764118 gtk/theme/Adwaita/_common.scss | 20 ++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 49 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 49 +++++++++++++++++++------------- 3 files changed, 73 insertions(+), 45 deletions(-) commit dc2e5fdf9ce4d457b684e410a6ce25e268897bf8 Author: Dušan Kazik Date: Thu Mar 24 06:51:38 2016 +0000 Updated Slovak translation po/sk.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 41195f63005a9134662b7d2f09697bb1172062cf Author: Benjamin Otte Date: Wed Mar 23 18:14:57 2016 +0100 switch: An active switch is :checked Fix an oversight that should have happened in the gadget refactoring: An active switch should be :checked, just like togglebuttons, checkbuttons, etc. gtk/gtkswitch.c | 4 ++-- gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 10 +++++----- gtk/theme/HighContrast/_common.scss | 10 +++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 10 +++++----- gtk/theme/HighContrast/gtk-contained.css | 10 +++++----- gtk/theme/win32/gtk-win32-base.css | 2 +- 8 files changed, 32 insertions(+), 32 deletions(-) commit 3f077ec36f4a59e803c9f4509996269c862e04af Author: Christoph Reiter Date: Wed Mar 16 19:25:30 2016 +0100 quartz: fix pixelated image surfaces in retina/hidpi mode gtk+ currently depends on the scaling factor and the cairo device scale of both the backend surfaces and image surfaces to be equal. Until now we didn't apply a cairo device scale at all and depended on the automatic scaling of CGContexts. This works when drawing with cairo but fails in case of image surfaces, which get requested at a too small size. To make the quartz backend behave more like the X11 one, set the cairo device scale on the surface in gdk_quartz_ref_cairo_surface(). As this conflicts with the default scaling done by CGContext (we would get double scaling) undo the CGContext scaling using CGContextScaleCTM(). This patch is based on the following patches by Brion Vibber: https://bugzilla.gnome.org/show_bug.cgi?id=740199#c4 https://bugs.freedesktop.org/show_bug.cgi?id=69796#c4 https://bugzilla.gnome.org/show_bug.cgi?id=763779 gdk/quartz/gdkwindow-quartz.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 3a5848820c0f7d67b6054d872e2e7a1ee6e42de6 Author: Stas Solovey Date: Wed Mar 23 15:23:08 2016 +0000 Updated Russian translation po/ru.po | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 1355f0082562be7277a87e405cf0314e53c172c1 Author: Fran Dieguez Date: Wed Mar 23 11:20:59 2016 +0000 Updated Galician translation po/gl.po | 109 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 56 insertions(+), 53 deletions(-) commit 0ab7be8d570481984d730753e74c62d87dc5e896 Author: Matej Urbančič Date: Tue Mar 22 22:28:03 2016 +0100 Updated Slovenian translation po/sl.po | 41 +++++++++++++++-------------------------- 1 file changed, 15 insertions(+), 26 deletions(-) commit aac8b0120fd28cfa444327b0fc5ae716fa55e90a Author: Stas Solovey Date: Tue Mar 22 20:19:44 2016 +0000 Updated Russian translation po/ru.po | 96 ++++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 54 insertions(+), 42 deletions(-) commit d6ca66b712bcd2810498aec560cd01e42880f647 Author: Matthias Clasen Date: Tue Mar 22 14:55:55 2016 -0400 Run a11y tests with csd for make check I've made this change for installed tests a while ago. It doesn't make sense for distcheck to do it differently. testsuite/a11y/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 65927caf84aae82f1938604e291367335a98116e Author: Matthias Clasen Date: Tue Mar 22 08:20:20 2016 -0400 inspector: Look for themes in system data dirs This matches what GTK+ does now. gtk/inspector/visual.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 052e82db04294102fe0f9766d941b7963ec5335b Author: Matthias Clasen Date: Tue Mar 22 08:19:19 2016 -0400 Fix an accidentally deleted line Not sure when this went missing, just fix the formatting. NEWS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f46aad3a32933d03f8bd2d7567d7e6ced87dfd7d Author: Daniel Mustieles Date: Tue Mar 22 11:28:57 2016 +0000 Updated Spanish translation po/es.po | 131 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 73 insertions(+), 58 deletions(-) commit 4173360bb3c781bc19ce7dab0d69f78b6992e8df Author: Dušan Kazik Date: Tue Mar 22 06:35:00 2016 +0000 Updated Slovak translation po/sk.po | 132 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 72 insertions(+), 60 deletions(-) commit 3e375a6c8198ca88833fb6ec56c3a8c141791808 Author: Zahari Yurukov Date: Tue Mar 22 07:19:04 2016 +0200 Added Bulgarian translation po/bg.po | 3706 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 1670 insertions(+), 2036 deletions(-) commit 7cb36aba404c699f83579e039d6e97525b261231 Author: Matthias Clasen Date: Thu Mar 17 00:57:45 2016 -0400 Load theme settings from the right location When loading a per-theme settings.ini file, look for it in the same directory where we found the gtk.css file for the theme. Previously, we were always looking in $prefix/share/themes/THEME/gtk-3.0/, even if the css was loaded from somewhere else. https://bugzilla.gnome.org/show_bug.cgi?id=641354 gtk/gtkcssprovider.c | 42 +++++++++++++++++++++++++++--------------- gtk/gtkcssproviderprivate.h | 4 +++- gtk/gtksettings.c | 17 +++++++++-------- gtk/inspector/visual.c | 2 +- 4 files changed, 40 insertions(+), 25 deletions(-) commit 475d916eb92c0106d09525bcca938f05fd6a81b5 Author: Matthias Clasen Date: Thu Mar 17 00:32:53 2016 -0400 Also look in system data dirs for themes With this change, we now look in $XDG_DATA_HOME/themes/THEME/gtk-3.x $HOME/.themes/THEME/gtk-3.x $XDG_DATA_DIRS/themes/THEME/gtk-3.x GTK_DATA_PREFIX/themes/THEME/gtk-3.x https://bugzilla.gnome.org/show_bug.cgi?id=641354 gtk/gtkcssprovider.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit c48bc48dda852519e1951b03eb222a89a62efd29 Author: Christian Hergert Date: Wed Mar 16 23:35:20 2016 -0700 wayland: avoid dropping surfaces when possible If the configure-event gives us the same size as we had before, which is common for animation resizes, then try to keep the existing buffer around. This saves us a memfd_create() syscall on every frame. https://bugzilla.gnome.org/show_bug.cgi?id=763350 gdk/wayland/gdkwindow-wayland.c | 5 +++++ 1 file changed, 5 insertions(+) commit 7c2f81bcd9b0d0c105351a5d7c643e0eaf430e7c Author: Ask Hjorth Larsen Date: Mon Mar 21 22:20:26 2016 +0100 Updated Danish translation po-properties/da.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit ee94f9ff890d784301b8ede8f11beb50ef855c5d Author: Lapo Calamandrei Date: Mon Mar 21 19:42:54 2016 +0100 Adwaita: simplify treeview:drop(active) code gtk/theme/Adwaita/_common.scss | 17 +++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++--------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++--------- 3 files changed, 15 insertions(+), 30 deletions(-) commit 73fe852be00604324d6e7aeb98a9a1e557b9c8ea Author: Matthias Clasen Date: Wed Mar 16 14:03:44 2016 -0400 gtk-demo: Improve markup demo Add squiggly underlines and background, and make the markup editable. https://bugzilla.gnome.org/show_bug.cgi?id=763741 demos/gtk-demo/markup.c | 71 ++++++++++++++++++++++++++++++++++++++++++++--- demos/gtk-demo/markup.txt | 4 +-- 2 files changed, 69 insertions(+), 6 deletions(-) commit 45dfdbce3f51bf00b16703717522778cb0a35bf8 Author: Benjamin Otte Date: Wed Mar 16 00:35:45 2016 +0100 textview: Track differences between ink and logical rects This way, we can ensure that we queue redraws on the full ink rect. This is particularly visible for squiggly underlines in spell checking. https://bugzilla.gnome.org/show_bug.cgi?id=763741 gtk/gtktextbtree.c | 10 ++++++++-- gtk/gtktextbtree.h | 2 ++ gtk/gtktextlayout.c | 28 ++++++++++++++++++++++++---- 3 files changed, 34 insertions(+), 6 deletions(-) commit 031978cb6ba0119cfb5945b5a1aeb81aec39a8dc Author: Tom Tryfonidis Date: Mon Mar 21 17:21:09 2016 +0000 Updated Greek translation po-properties/el.po | 977 +++++++++++++++++++++++++++------------------------- 1 file changed, 503 insertions(+), 474 deletions(-) commit ce822c5bd467e190051839385f4c0ac0897be0a1 Author: Anders Jonsson Date: Mon Mar 21 16:25:41 2016 +0000 Updated Swedish translation po/sv.po | 72 +++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 42 insertions(+), 30 deletions(-) commit 219eedd7c86d0adec542cfe634c1e9797069a919 Author: Carlos Garnacho Date: Thu Mar 17 18:38:40 2016 +0100 wayland: Rename internal functions with misleading naming Now that GdkWaylandDeviceData is gone, the functions prefixed "gdk_wayland_device_" and taking a GdkWaylandSeat as first parameter feel out of place. Renaming those makes it more obvious that it's seat functions. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkdevice-wayland.c | 62 ++++++++++++++++++++--------------------- 1 file changed, 31 insertions(+), 31 deletions(-) commit 1597f31eba0f88efefaa85eea5ca81b39f17ef55 Author: Carlos Garnacho Date: Fri Mar 18 14:11:50 2016 +0100 wayland: Remove GdkWaylandDataDevice typedef It's no longer used. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkseat-wayland.h | 1 - 1 file changed, 1 deletion(-) commit 81f0d23744150f5030e205cfd3c1e193ea539a1b Author: Carlos Garnacho Date: Thu Mar 17 18:32:03 2016 +0100 wayland: Replace all remaining uses of GdkWaylandDeviceData And use GdkWaylandSeat in all of those. The variable names have also been updated. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkdevice-wayland.c | 695 ++++++++++++++++++++-------------------- 1 file changed, 348 insertions(+), 347 deletions(-) commit c9f9163544a8c18a2e92b408730ad3b89a83d4e6 Author: Carlos Garnacho Date: Thu Mar 17 18:03:26 2016 +0100 wayland: Remove GdkWaylandDeviceData pointer in GdkWaylandDevice It's the same than gdk_device_get_seat() nowadays. Also, rename the usages of GdkWaylandDeviceData to GdkWaylandSeat in the functions affected by the removal. https://bugzilla.gnome.org/show_bug.cgi?id=763859 gdk/wayland/gdkdevice-wayland.c | 447 ++++++++++++++++++++-------------------- 1 file changed, 227 insertions(+), 220 deletions(-) commit 08a0257893493f888b503db8b18d0c31c2e35f60 Author: Matthias Clasen Date: Mon Mar 21 12:10:44 2016 -0400 Fix the build gtk/gtkshortcutswindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26617bb9b40c77474af6034ee54b4563deea6db6 Author: Matthias Clasen Date: Tue Mar 15 07:51:48 2016 -0400 shortcutswindow: Make the search button square Add the image-button style class to this button (this doesn't work automatically here, since this is a toggle button). https://bugzilla.gnome.org/show_bug.cgi?id=763604 gtk/gtkshortcutswindow.c | 1 + 1 file changed, 1 insertion(+) commit 4ae057f07b18a9e078623931f66233d6402c5a2f Author: Matthias Clasen Date: Sun Mar 20 19:41:31 2016 -0400 Adwaita: Update treeview drop target styling This reinstates the between-the-rows highlight that was lost at some point. https://bugzilla.gnome.org/show_bug.cgi?id=763808 gtk/theme/Adwaita/_common.scss | 12 +++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 10 +++++++++- gtk/theme/Adwaita/gtk-contained.css | 10 +++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) commit 12c5ca5c013e035374ad1590b0e64cb7a452aa30 Author: Matthias Clasen Date: Sun Mar 20 19:31:23 2016 -0400 treeview: Update drop target highlighting Stop using the .dnd style class, and instead use the :drop(active) pseudo state, together with .before and .after classes. https://bugzilla.gnome.org/show_bug.cgi?id=763808 gtk/gtktreeview.c | 45 ++++++++++----------------------------------- 1 file changed, 10 insertions(+), 35 deletions(-) commit a5a51e325d1fef163d9da4611432d0cefd112395 Author: Matthias Clasen Date: Sun Mar 20 18:09:45 2016 -0400 quartz: Fix up dnd code Copy changes to drag highlight drawing from gtkdnd.c to gtkdnd-quartz.c. https://bugzilla.gnome.org/show_bug.cgi?id=763808 gtk/gtkdnd-quartz.c | 48 ++---------------------------------------------- 1 file changed, 2 insertions(+), 46 deletions(-) commit ca63330b19c920a02d02f1bc96463ba156312483 Author: Christian Hergert Date: Fri Mar 18 19:27:31 2016 -0700 stack: query preferred size for last_visible_child When animating, we might be changing the size allocation of the previous stack child. However, we were not querying the size in the process meaning you would often see warnings about allocating the size without knowing what it should be. This simply adds an innocuous size request, since responding to last_child sizing requests is not all that critical in the transition. https://bugzilla.gnome.org/show_bug.cgi?id=763900 gtk/gtkstack.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 5107c4a75f64e710960f5f65e41e30f0dd4d2187 Author: Carlos Garcia Campos Date: Sat Mar 12 10:25:43 2016 +0100 gtk-demo: Rework foreigndrawing to use sizes from the theme Instead of hardcoding the size of the widgets. This makes the output closer to real widgets and fixes the blurry icons. I've also added a scale. https://bugzilla.gnome.org/show_bug.cgi?id=763758 demos/gtk-demo/foreigndrawing.c | 752 +++++++++++++++++++++++++++++----------- 1 file changed, 551 insertions(+), 201 deletions(-) commit 068d3826896590dd7ff6e41bee88f07e1416afc9 Author: Matthias Clasen Date: Wed Mar 16 16:49:21 2016 -0400 dnd: Hide the drag window when we're done We were just relying on the drag context finalize() to destroy the window. But with garbage-collected bindings, that might not happen as soon as we like, so explicitly hide the window when the drag ends successfully. https://bugzilla.gnome.org/show_bug.cgi?id=763659 gdk/wayland/gdkdnd-wayland.c | 14 ++++++++++++++ gdk/x11/gdkdnd-x11.c | 5 ++++- 2 files changed, 18 insertions(+), 1 deletion(-) commit 2407f157c76c6835cd0fdc23fdd09875a63c202e Author: Debarshi Ray Date: Wed Mar 16 02:18:24 2016 +0100 print-operation: Be more robust in the error path This isn't an issue at the moment. Only exporting to a file can fail by setting by setting an error and it happens to correctly return GTK_PRINT_OPERATION_RESULT_ERROR regardless of this code. Still, let's make this block of code more correct to prevent future changes from introducing broken behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=763731 gtk/gtkprintoperation.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f988f1131b638144c7cd3d8a044d4a101b3e4c13 Author: Ask Hjorth Larsen Date: Mon Mar 21 13:10:54 2016 +0000 Updated Danish translation po/da.po | 3974 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2111 insertions(+), 1863 deletions(-) commit 06062028e22cec34e2461f0201d64f46c23c5dc2 Author: Matthias Clasen Date: Mon Mar 21 07:04:12 2016 -0400 3.20.0 NEWS | 3 +++ configure.ac | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit a449cc80de0549b83e5e9da2cfa56c5d1252cfe3 Author: Jiri Grönroos Date: Mon Mar 21 11:28:44 2016 +0000 Updated Finnish translation po/fi.po | 110 +++++++++++++++++++++++++-------------------------------------- 1 file changed, 44 insertions(+), 66 deletions(-) commit 9025ceabdec49b2aa91242123c902fd20d27a051 Author: Marek Černocký Date: Mon Mar 21 11:49:01 2016 +0100 Updated Czech translation po/cs.po | 132 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 76 insertions(+), 56 deletions(-) commit 7a1b82828e83a561d82c877e9eb2cf84b158d144 Author: Artur Morais Date: Mon Mar 21 10:28:50 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 330 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 169 insertions(+), 161 deletions(-) commit 8f5471f1df3486e89dc23c6ac92859519a7643c9 Author: Milo Casagrande Date: Mon Mar 21 08:55:26 2016 +0000 Updated Italian translation po/it.po | 68 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 40 insertions(+), 28 deletions(-) commit 5c6979e520fba1fab86d0a01d10b1978e9766790 Author: Balázs Úr Date: Mon Mar 21 06:30:55 2016 +0000 Updated Hungarian translation po/hu.po | 81 +++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 44 insertions(+), 37 deletions(-) commit 69cb072cd62501e7454e71e53ab4011483128487 Author: Ask Hjorth Larsen Date: Mon Mar 21 04:42:41 2016 +0100 Updated Danish translation po/da.po | 40 +++++++++++++++++++++++----------------- 1 file changed, 23 insertions(+), 17 deletions(-) commit 615f55d6d18e78a7eb77c2288287713af7f2c169 Author: Piotr Drąg Date: Mon Mar 21 04:04:03 2016 +0100 Updated Polish translation po/pl.po | 122 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 55 deletions(-) commit de4cb363c2f368a69e9026f6273ccf59d867d571 Author: Matthias Clasen Date: Sun Mar 20 22:49:33 2016 -0400 Document gdk_wayland_seat_get_wl_seat gdk/wayland/gdkdevice-wayland.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 09ea0c9110139045e6667df921e482cac13555a4 Author: Matthias Clasen Date: Sun Mar 20 22:47:22 2016 -0400 Add gk_gl_context_is_legacy to the docs docs/reference/gdk/gdk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit e4d3987b1766a48465254b39168f5668c9f8395e Author: Matthias Clasen Date: Sun Mar 20 22:45:06 2016 -0400 gdk: Add a missing Since tag gdk_drag_context_manage_dnd was introduced this cycle. gdk/gdkdnd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 105f9acfdf28db552c9b7b2088ae87b345d7b70c Author: Matthias Clasen Date: Sun Mar 20 22:44:29 2016 -0400 Add gdk_drag_context_manage_dnd to the docs docs/reference/gdk/gdk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit 3409ec56ca4eddbe25c81b49b8382d98ed801e73 Author: Matthias Clasen Date: Sun Mar 20 22:44:03 2016 -0400 Clean up gdk docs build a bit Ignore more headers. docs/reference/gdk/Makefile.am | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 1c692c64fec96a0afa35ea5093ddfdc151c05876 Author: Matthias Clasen Date: Sun Mar 20 22:29:37 2016 -0400 gdk: Reword some docs gdk/gdkseat.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit 404a7185bef9258ea6b3e52d36e35dd4352e4e1f Author: Руслан Ижбулатов Date: Thu Mar 17 11:12:35 2016 +0000 Improve window title context popup menu fallback Add "Minimize", "Maximize", "Restore", "Move", "Resize" and "Always on Top" items to the menu. This pertially reverts commit 0ea1a526f93411f8a2aef60dcb5a429a7694ca99. https://bugzilla.gnome.org/show_bug.cgi?id=763806 gtk/gtkwindow.c | 177 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 177 insertions(+) commit f732fa6883600a05595589f3281fa891ced85516 Author: Matthias Clasen Date: Sun Mar 20 21:48:05 2016 -0400 Reword release notes README.in | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) commit bee669ee6686bd8f2025105ea5224fc2c9b18854 Author: Matthias Clasen Date: Sun Mar 20 21:40:05 2016 -0400 Updates for 3.20.0 NEWS | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit 5c63ab26da9297306290eb1aa540ac34caf80b9a Author: Matthias Clasen Date: Thu Mar 17 21:48:53 2016 -0400 style context: Don't use g_warning for API misuse We've changed our API here; what these applications are doing used to be fine. Don't make users suffer for this by spamming their logs in a stable release. We'll keep the warning in master. https://bugzilla.gnome.org/show_bug.cgi?id=763796 gtk/gtkstylecontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1dcd88961ec7584ed42995a8d6dbba59a8d875df Author: Lapo Calamandrei Date: Mon Mar 21 01:19:12 2016 +0100 Adwaita: more evident colorswatch drag hilight gtk/theme/Adwaita/_common.scss | 16 ++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 32 insertions(+) commit 4973b55ad96b58e8acc18ea4369fa2654912efb7 Author: Lapo Calamandrei Date: Mon Mar 21 01:02:30 2016 +0100 Adwaita: titlebutton fix use a better selector and fix the styling on selection-mode. gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 472 +++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 475 ++++++++++++++++++++----------- 3 files changed, 630 insertions(+), 327 deletions(-) commit 44e225e50b6b59bbf9d9e47f4f2aa2b745bf5ea9 Author: Lapo Calamandrei Date: Mon Mar 21 00:46:44 2016 +0100 Adwaita: add a transition to the scale slider gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) commit eacd632e5e759e13dc9770356fa4e9d29fa50939 Author: Lapo Calamandrei Date: Mon Mar 21 00:44:47 2016 +0100 Adwaita: add a transition to the switch slider gtk/theme/Adwaita/_common.scss | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 15 insertions(+), 5 deletions(-) commit 6598dca783ee99e03419cc5e8ba94ff9999a01df Author: Lapo Calamandrei Date: Mon Mar 21 00:25:44 2016 +0100 Adwaita: sligthly dim backdrop selected fg color gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) commit 2e2c423c781a8f42bdd321522a0decc7fca84972 Author: Lapo Calamandrei Date: Mon Mar 21 00:22:01 2016 +0100 Adwaita: clean up gtk/theme/Adwaita/_common.scss | 14 +++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++++--------- 3 files changed, 31 insertions(+), 27 deletions(-) commit 33247293ee7e29072ccfdb627e5016d5a80d182a Author: Ask Hjorth Larsen Date: Sun Mar 20 23:57:41 2016 +0100 Updated Danish translation po-properties/da.po | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) commit de466e7b286613ba0e7a4d864cfa6a0156ebb2e5 Author: Lapo Calamandrei Date: Sun Mar 20 23:37:40 2016 +0100 Adwaita: rework places sidebar styling set colors on rows istead of images. gtk/theme/Adwaita/_common.scss | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 20 insertions(+), 20 deletions(-) commit 524ca3c2d5218d47af9b9f6da2b7bb37c53c9920 Author: Lapo Calamandrei Date: Sun Mar 20 23:33:25 2016 +0100 Adwaita: fix treeview spinbutton style gtk/theme/Adwaita/_common.scss | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 22 insertions(+), 22 deletions(-) commit 7da594e7b75816d6679a3001f9c49742997ab6ca Author: Ask Hjorth Larsen Date: Sun Mar 20 23:26:10 2016 +0100 Updated Danish translation po/da.po | 55 ++++++++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) commit f64612ca56e476b5101974e6ec57b2ebdf5b6eb7 Author: Ask Hjorth Larsen Date: Sun Mar 20 23:24:33 2016 +0100 Updated Danish translation po-properties/da.po | 4795 +++++++++++++++++++++++++++------------------------ 1 file changed, 2517 insertions(+), 2278 deletions(-) commit c867b17cc8c133fa60fc822925dc5fba2ac604ed Author: Lapo Calamandrei Date: Sun Mar 20 23:18:49 2016 +0100 Adwaita: fix treeview entry style Fixes https://bugzilla.gnome.org/show_bug.cgi?id=763955 gtk/theme/Adwaita/_common.scss | 10 ++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 24 insertions(+) commit 7224dd76dbdc1aebc806ac91f8466c570c6d2718 Author: Jakub Steiner Date: Sun Mar 20 22:05:56 2016 +0100 High Contrast: sidebar round buttons https://bugzilla.gnome.org/show_bug.cgi?id=763774 gtk/theme/HighContrast/_common.scss | 109 ++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 219 ++++++++++------------- gtk/theme/HighContrast/gtk-contained.css | 219 ++++++++++------------- 3 files changed, 249 insertions(+), 298 deletions(-) commit 4e6f9660c0cdb19ec4d1e927bbfbe1b66dd178d4 Author: Rūdolfs Mazurs Date: Sun Mar 20 21:16:28 2016 +0200 Update Latvian translation po-properties/lv.po | 847 ++++++++++++++++++++++++++-------------------------- po/lv.po | 634 +++++++++++++++++---------------------- 2 files changed, 701 insertions(+), 780 deletions(-) commit d457b4f4a5375668d7dff73b043fb93ca92586cc Author: Paolo Borelli Date: Sun Mar 20 17:45:19 2016 +0100 css: use "disabled" instead of the "insensitivie" Not only there is a typo, but it is also deprecated. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 710285104b35b0be5423ab5328a1e2dba04b5502 Author: Benjamin Otte Date: Sun Mar 20 13:42:18 2016 +0100 styleproperties: Really don't use 'i' in inner loop I apparently was too tired when doing 8cebc125da7e3f9c49a6d4e0ea5320c11b7c21af and forgot to replace one instance of 'i' with 'j'. Thanks Timm for finding that one. gtk/deprecated/gtkstyleproperties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e39746896478a98444ecabd715cc8a670b4ca8c5 Author: Милош Поповић Date: Sun Mar 20 09:00:50 2016 +0000 Updated Serbian Latin translation po/sr@latin.po | 165 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 85 insertions(+), 80 deletions(-) commit 5091bc9d1669549f847c5431c5a9b4996748263c Author: Марко Костић Date: Sun Mar 20 08:59:39 2016 +0000 Updated Serbian translation po/sr.po | 65 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 35 insertions(+), 30 deletions(-) commit 9782a2b7293b99face96186b6fc2032dfbcbb0cb Author: Benjamin Otte Date: Sun Mar 20 05:50:53 2016 +0100 broadway: Use explicit sizes for payload length The previous greater than comparisons would never trigger the 2nd case. http://www.viva64.com/en/b/0383/ gdk/broadway/broadway-server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 318a9c4634c7ac2eb8f46d29a1b1f32ae5f1ab5a Author: Benjamin Otte Date: Sun Mar 20 05:43:02 2016 +0100 x11: Use g_error_matches() Fixes accidentally assigning values. http://www.viva64.com/en/b/0383/ gdk/x11/gdkselection-x11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8cebc125da7e3f9c49a6d4e0ea5320c11b7c21af Author: Benjamin Otte Date: Sun Mar 20 05:37:23 2016 +0100 styleproperties: Don't use the same loop variable in nested loops http://www.viva64.com/en/b/0383/ gtk/deprecated/gtkstyleproperties.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d42ba8a82a3e94086239b8039b93678bdebc88db Author: Benjamin Otte Date: Sun Mar 20 05:36:17 2016 +0100 tests: Add missing break statements http://www.viva64.com/en/b/0383/ tests/testselection.c | 2 ++ 1 file changed, 2 insertions(+) commit 07a69b724748ed8f1166ece34e15aa387bb2f674 Author: Benjamin Otte Date: Sun Mar 20 05:32:35 2016 +0100 gtk-demo: Fix copy/paste error http://www.viva64.com/en/b/0383/ demos/gtk-demo/offscreen_window2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 471cdee97fc9e9c0c51c7c97dd2e2466d4e00e42 Author: Benjamin Otte Date: Sun Mar 20 05:31:20 2016 +0100 broadway: Remove duplicate initialization http://www.viva64.com/en/b/0383/ gdk/broadway/gdkwindow-broadway.c | 1 - 1 file changed, 1 deletion(-) commit 5db1c987eeef673fc8720ab9f817ef87cd79f538 Author: Benjamin Otte Date: Sun Mar 20 05:30:03 2016 +0100 x11: Remove duplicate variable setting http://www.viva64.com/en/b/0383/ gdk/x11/gdkwindow-x11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ca3607c21904d8d007d2a4a3282f20a1991b6641 Author: Benjamin Otte Date: Sun Mar 20 05:28:10 2016 +0100 menubar: Remove duplicate flags value http://www.viva64.com/en/b/0383/ gtk/gtkmenubar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c76424a8424d54038bf858db719b7e5eae715463 Author: Benjamin Otte Date: Sun Mar 20 05:27:19 2016 +0100 calendar: Remove duplicate flags value http://www.viva64.com/en/b/0383/ gtk/gtkcalendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 58b7512b53f6649fefb76d773b4c1f8d68f3e141 Author: Benjamin Otte Date: Sun Mar 20 05:26:10 2016 +0100 cssshadowvalue: Fix copy/paste issue http://www.viva64.com/en/b/0383/ gtk/gtkcssshadowvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3308122c321a20e5420ede855f678b9204a4f3f4 Author: Benjamin Otte Date: Sun Mar 20 05:18:38 2016 +0100 placesview: Simplify http://www.viva64.com/en/b/0383/ gtk/gtkplacesview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c6834a002ffbc39216c39bd3592571d73ad8f1bd Author: Benjamin Otte Date: Thu Mar 17 13:50:05 2016 +0100 pathbar: Order button CSS nodes right The previous code ordered them the wrong way, so the first button (from a CSS pov) was the last visible one. gtk/gtkpathbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 397bacee6ecb0223c5492551bb3a39020fd6c389 Author: Lapo Calamandrei Date: Sat Mar 19 20:13:06 2016 +0100 Adwaita: fix places sidebar icons style the color wasn't changing in backdrop. gtk/theme/Adwaita/_common.scss | 31 +++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 85 ++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 89 +++++++++++++++++++------------- 3 files changed, 128 insertions(+), 77 deletions(-) commit 01748031496f57d031ffcc279c4017fe45e37600 Author: Lapo Calamandrei Date: Sat Mar 19 19:56:15 2016 +0100 Adwaita: added a transition to the backdrop state to most widgets gtk/theme/Adwaita/_common.scss | 37 +++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 47 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 47 ++++++++++++++++++++++---------- 3 files changed, 98 insertions(+), 33 deletions(-) commit 38211ff800398376895eabede0012d596f2ce070 Author: Lapo Calamandrei Date: Sat Mar 19 18:59:29 2016 +0100 Adwaita: clean up checkbutton and radiobutton styling some superfluous selectors there since generic label styling was broken. gtk/theme/Adwaita/_common.scss | 9 --------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- 3 files changed, 17 deletions(-) commit ec500422285810149fca934c300dc25dd279ef6f Author: Lapo Calamandrei Date: Sat Mar 19 18:57:33 2016 +0100 Revert "Adwaita: checkbutton and radiobutton backdrop color fix" This reverts commit 43937c6aa0bc0966f4bb0518c443a3f212c9d300. Which was needed since the label styling was broken. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit e079b92a55d0deb483ecdfef0b43c48bbd6b0b7f Author: Lapo Calamandrei Date: Sat Mar 19 18:55:13 2016 +0100 Adwaita: fix label styling backdrop wasn't in the mix, added and adjusted other widgets styling not to be overridden by it when not needed. Spotted a typo making the backdrop base color white in the process. gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 19 +- gtk/theme/Adwaita/_drawing.scss | 22 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 267 ++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 317 ++++++++++++++++++++----------- 5 files changed, 424 insertions(+), 203 deletions(-) commit 20a8ac5542736e7f96c916982ac969b160a59e2d Author: Lapo Calamandrei Date: Sat Mar 19 18:09:22 2016 +0100 Adwaita: reset entry props on horizontal spinbuttons the spinbutton node is where the styling is applied, the leftover properties on the entry node make a backdrop transition bad. gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+) commit 8f2213836cb6b85ac70d9fa340f481a2d9d2a636 Author: Lapo Calamandrei Date: Sat Mar 19 17:53:36 2016 +0100 Adwaita: remove commented out code gtk/theme/Adwaita/_common.scss | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 43937c6aa0bc0966f4bb0518c443a3f212c9d300 Author: Lapo Calamandrei Date: Sat Mar 19 17:46:49 2016 +0100 Adwaita: checkbutton and radiobutton backdrop color fix this sets the right backdrop color to the label insider the aformentined widgets. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 99e2f91dfe575ced859b782053c3d7863f88a924 Author: Lapo Calamandrei Date: Sat Mar 19 17:23:39 2016 +0100 Adwaita: simplify headerbar style gtk/theme/Adwaita/_common.scss | 12 ++++-------- gtk/theme/Adwaita/_drawing.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++---- gtk/theme/Adwaita/gtk-contained.css | 10 ++++++---- 4 files changed, 18 insertions(+), 17 deletions(-) commit 5a0aeec3f475b790e3de19dd2c68e1ded9c9d8c5 Author: Lapo Calamandrei Date: Sat Mar 19 17:08:17 2016 +0100 Adwaita: correctly order backdrop decoration node shadows ... otherwise setting a transition to the backdrop state will make the window resize, since the shadows size gets interpolated. gtk/theme/Adwaita/_common.scss | 13 +++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 6 +----- gtk/theme/Adwaita/gtk-contained.css | 6 +----- 3 files changed, 9 insertions(+), 16 deletions(-) commit 80732a951c6ab93025c0cc16f275bcd72519cfdc Author: Ask Hjorth Larsen Date: Sat Mar 19 03:43:32 2016 +0100 Updated Danish translation by scootergrisen po/da.po | 1761 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 976 insertions(+), 785 deletions(-) commit 50b58206697f08ce0e4bff7e80d79b49b2c2444e Author: Lapo Calamandrei Date: Fri Mar 18 19:25:09 2016 +0100 High Contrast: switch style fix gtk/theme/HighContrast/_common.scss | 46 ++++++++-------- gtk/theme/HighContrast/gtk-contained-inverse.css | 68 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 68 ++++++++++++------------ 3 files changed, 88 insertions(+), 94 deletions(-) commit 48fb37f3413275778049c338a9e555eb86b3d5b7 Author: Lapo Calamandrei Date: Fri Mar 18 19:10:36 2016 +0100 High Contrast: don't hardcode a font-size on the switch gtk/theme/HighContrast/_common.scss | 4 +++- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 +++- gtk/theme/HighContrast/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit a46058451ec1349e0c446201cb825651eed40005 Author: Lapo Calamandrei Date: Fri Mar 18 19:05:20 2016 +0100 High Contrast: stronger entry focus indication gtk/theme/HighContrast/_drawing.scss | 4 ++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++--- gtk/theme/HighContrast/gtk-contained.css | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) commit 7d27fd087e4bed4c3930c1a094ebc2bc326567bb Author: Lapo Calamandrei Date: Fri Mar 18 19:03:19 2016 +0100 High Contrast: fix a typo gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 2 +- gtk/theme/HighContrast/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 3b1484f57c14193a745b3959a2b9b18f4327a688 Author: Lapo Calamandrei Date: Fri Mar 18 18:38:48 2016 +0100 Adwaita: fix colorscale shrinking when disabled gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 30 +++++++++++++++--------------- 3 files changed, 33 insertions(+), 33 deletions(-) commit ad9865126a886fa847a311e3ea2903e3e0b7f20d Author: Jakub Steiner Date: Fri Mar 18 15:47:30 2016 +0100 High Contrast: fix drop states https://bugzilla.gnome.org/show_bug.cgi?id=763823 gtk/theme/HighContrast/_common.scss | 13 +++++++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 13 ++++++++++--- gtk/theme/HighContrast/gtk-contained.css | 13 ++++++++++--- 3 files changed, 31 insertions(+), 8 deletions(-) commit fe31c5f4fda1b940bfe4acccf938d3b4fb065685 Author: Daniel Korostil Date: Fri Mar 18 16:46:01 2016 +0200 Updated Ukrainian translation po/uk.po | 2678 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1691 insertions(+), 987 deletions(-) commit 3a529614e5f08ddd6809a1d60b080186e0a5f409 Author: Jakub Steiner Date: Fri Mar 18 15:44:27 2016 +0100 High Contrast: spinbutton active state - more contrast for the active state - osd active state gtk/theme/HighContrast/_common.scss | 8 ++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 6 +++++- gtk/theme/HighContrast/gtk-contained.css | 6 +++++- 3 files changed, 16 insertions(+), 4 deletions(-) commit 4fc5832cfdbc2783d582283d3568a0dacac68108 Author: Jakub Steiner Date: Fri Mar 18 15:30:46 2016 +0100 High Contrast: osd spinbutton fixes - don't jump around for :backdrop - only shade focused widgets gtk/theme/HighContrast/_common.scss | 10 ++++++++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 13 +++++++++---- gtk/theme/HighContrast/gtk-contained.css | 13 +++++++++---- 3 files changed, 26 insertions(+), 10 deletions(-) commit c94afa01c4bdc175d715c3e8573b02d8cb33325a Author: Jakub Steiner Date: Fri Mar 18 15:22:16 2016 +0100 High Contrast: osd spinbuttons https://bugzilla.gnome.org/show_bug.cgi?id=763846 gtk/theme/HighContrast/_common.scss | 45 ++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 99 ++++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 99 ++++++++++++------------ 3 files changed, 123 insertions(+), 120 deletions(-) commit a076df852b51981d099bd2a6e81470b653ead150 Author: Jakub Steiner Date: Fri Mar 18 13:53:30 2016 +0100 Hight Contrast: scrollbars https://bugzilla.gnome.org/show_bug.cgi?id=763797 gtk/theme/HighContrast/_colors.scss | 7 + gtk/theme/HighContrast/_common.scss | 194 +++++++++++++++++------ gtk/theme/HighContrast/gtk-contained-inverse.css | 175 +++++++++++++++----- gtk/theme/HighContrast/gtk-contained.css | 173 +++++++++++++++----- 4 files changed, 421 insertions(+), 128 deletions(-) commit b88020ec92738778e62d441832187920d0880684 Author: Anders Jonsson Date: Fri Mar 18 10:14:33 2016 +0000 Updated Swedish translation po/sv.po | 837 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 421 insertions(+), 416 deletions(-) commit 71eac292bb95bccd1eae460142a22cc2012245c4 Author: Anders Jonsson Date: Fri Mar 18 10:13:42 2016 +0000 Updated Swedish translation po-properties/sv.po | 169 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 99 insertions(+), 70 deletions(-) commit 0e171dd45c57127c2283af1b053a73b271715213 Author: Milo Casagrande Date: Fri Mar 18 08:28:19 2016 +0000 Updated Italian translation po/it.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 7d2a7a56267b8444ba1756a9a6a52157fd931758 Author: Руслан Ижбулатов Date: Thu Mar 17 20:07:33 2016 +0000 GDK W32: Don't move iconic windows Using UpdateLayeredWindow() on iconic windows brings them *back* from their iconic (minimized) state. That is bad. As a precaution, also don't use SetWindowPos() on iconic windows. This means that iconic windows can't be moved. That is fixable by using SetWindowPlacement(), but there is no pressing need to do so, as there are very few cases when windows need to be moved while minimized. https://bugzilla.gnome.org/show_bug.cgi?id=763835 gdk/win32/gdkwindow-win32.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit 54d36efa6138a1f30fd7e2d76d3a28b4fab6ad19 Author: Rafael Fontenelle Date: Fri Mar 18 05:05:10 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 274 ++++++++++++++++++++++++------------------------- 1 file changed, 137 insertions(+), 137 deletions(-) commit 1bd5be6b7c54e28ba6c3e920f11ee2f369a3529c Author: Christian Hergert Date: Thu Mar 17 21:18:58 2016 -0700 quartz: fix quartz build More fallout from recent refactoring. See also b3860e407d3edb6f94d53269960c052756516aa2. gdk/quartz/gdkevents-quartz.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3e3d29f7b73381dd328e5213e0dca04d3e4f8048 Author: Olivier Fourdan Date: Wed Mar 16 14:19:14 2016 +0100 gtkwindow: ignore default size if there is a size request Some applications set both a default size on their gtk window and a size request on the corresponding gtk widget. Until now, the default size was ignored for fixed size windows, so this had no effect and remained unnoticed, but with the recent change for client-side decorations, the default size is now used even for fixed size windows, which can cause the resulting fixed size window to be much smaller than expected with the size request. For fixed size windows, if we have both a size request and a default size set, prefer the size request as before. https://bugzilla.gnome.org/show_bug.cgi?id=763749 gtk/gtkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4ddd29d8c06ff6ac7fe52d1b04591a9ccc1ac8dd Author: Milo Casagrande Date: Thu Mar 17 20:08:07 2016 +0000 Updated Italian translation po/it.po | 2070 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1117 insertions(+), 953 deletions(-) commit 450704b28acc325120044ac4905fb6d8a050433d Author: Milo Casagrande Date: Thu Mar 17 20:03:44 2016 +0000 Updated Italian translation po-properties/it.po | 3299 +++++++++++++++++++++++++++------------------------ 1 file changed, 1735 insertions(+), 1564 deletions(-) commit 1bf3f40cc5645c6e04a052fa57a64d09f82cca91 Author: Jakub Steiner Date: Thu Mar 17 14:57:09 2016 +0100 High Contrast: disabled flat buttons - disabled flat buttons and backdrop state gtk/theme/HighContrast/_common.scss | 26 +++++++++++++----------- gtk/theme/HighContrast/_drawing.scss | 7 +++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 22 ++++++++++---------- gtk/theme/HighContrast/gtk-contained.css | 22 ++++++++++---------- 4 files changed, 43 insertions(+), 34 deletions(-) commit 09168806a2f2688ea1314bfbf2235e9e07eadbb2 Author: Jakub Steiner Date: Thu Mar 17 13:07:04 2016 +0100 High Contrast: fix app-notifications - get rid of the internal frame https://bugzilla.gnome.org/show_bug.cgi?id=763781 gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 3 +++ gtk/theme/HighContrast/gtk-contained.css | 3 +++ 3 files changed, 7 insertions(+) commit e942aee13d8eec6c9f5bda06281b1e6e529b22cf Author: Jakub Steiner Date: Thu Mar 17 13:00:32 2016 +0100 High Contrast: menubar separator - set menubar apart form the window content https://bugzilla.gnome.org/show_bug.cgi?id=763777 gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk-contained-inverse.css | 3 ++- gtk/theme/HighContrast/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit 52c362721c2f55615a973411e6fc720e7ba500dc Author: Lapo Calamandrei Date: Thu Mar 17 12:16:48 2016 +0100 High Contrast: fix titlebuttons sizing ... simplifying the scss in the process. gtk/theme/HighContrast/_common.scss | 16 ++---- gtk/theme/HighContrast/gtk-contained-inverse.css | 66 +++++++----------------- gtk/theme/HighContrast/gtk-contained.css | 66 +++++++----------------- 3 files changed, 39 insertions(+), 109 deletions(-) commit b0a25b3aa9605895abe2e68f200722b288bcf807 Author: Lapo Calamandrei Date: Thu Mar 17 12:14:23 2016 +0100 High Contrast: add undecorated button mixin ... which is used in _common.scss, this fixes flat button not being, well, flat. gtk/theme/HighContrast/_drawing.scss | 16 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 203 ++++++++++------------- gtk/theme/HighContrast/gtk-contained.css | 203 ++++++++++------------- 3 files changed, 187 insertions(+), 235 deletions(-) commit 981985ee5060574af7edaba3ce83daae028599e4 Author: Lapo Calamandrei Date: Thu Mar 17 11:36:37 2016 +0100 High Contrast: remove an adwaita leftover ... a missing mixin which makes no sense in HC actually. gtk/theme/HighContrast/_common.scss | 23 ++++------------------- gtk/theme/HighContrast/gtk-contained-inverse.css | 10 +++++----- gtk/theme/HighContrast/gtk-contained.css | 20 +++++++++----------- 3 files changed, 18 insertions(+), 35 deletions(-) commit 4a58e751fba1bdca47389b2e0c42e24bd5f02965 Author: Lapo Calamandrei Date: Thu Mar 17 10:32:35 2016 +0100 Adwaita: fix wide separators gtk/theme/Adwaita/_common.scss | 22 +++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++---- gtk/theme/Adwaita/gtk-contained.css | 12 ++++++++---- 3 files changed, 29 insertions(+), 17 deletions(-) commit 4455ef1c90386fc3c41314e17cd2d608a0ebac99 Author: Baurzhan Muftakhidinov Date: Thu Mar 17 03:33:59 2016 +0000 Updated Kazakh translation po/kk.po | 566 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 286 insertions(+), 280 deletions(-) commit 9b4eff6ed93fd612a8097e26292869de62017432 Author: Baurzhan Muftakhidinov Date: Thu Mar 17 03:33:32 2016 +0000 Updated Kazakh translation po-properties/kk.po | 806 +++++++++++++++++++++++++++------------------------- 1 file changed, 414 insertions(+), 392 deletions(-) commit e9de5f108306a7c2a77caebca22117abeb866629 Author: Matthias Clasen Date: Wed Mar 16 21:56:33 2016 -0400 HighContrast: Fix actionbar borders Make the selector more specific so that it doesn't affect contained boxes. Copied from Adwaita. https://bugzilla.gnome.org/show_bug.cgi?id=763775 gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ++-- gtk/theme/HighContrast/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 51f34f4b907dd3ab16f171be618cf9c4fa9b5a44 Author: Changwoo Ryu Date: Wed Mar 16 19:49:50 2016 +0000 Updated Korean translation po-properties/ko.po | 793 +++++++++++++++++++++++++++------------------------- 1 file changed, 414 insertions(+), 379 deletions(-) commit b0b06ffbf2b6f3bc54d492dd39e5d1920e6db6f5 Author: Changwoo Ryu Date: Wed Mar 16 19:49:22 2016 +0000 Updated Korean translation po/ko.po | 566 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 286 insertions(+), 280 deletions(-) commit 1ae5643f597bf445e4456ce80b164985bf6b6311 Author: Lapo Calamandrei Date: Wed Mar 16 18:06:56 2016 +0100 Adwaita: shrink back big standalone osd buttons gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 10 insertions(+), 8 deletions(-) commit 3e6eca537b876d52cd5a3fca50d082f5cc6d1c87 Author: Jakub Steiner Date: Wed Mar 16 15:25:28 2016 +0100 High Contrast: button metrics - sync with Adwaita for button definitions https://bugzilla.gnome.org/show_bug.cgi?id=763706 gtk/theme/HighContrast/_common.scss | 552 +++++++++++++------- gtk/theme/HighContrast/gtk-contained-inverse.css | 634 +++++++++++++++-------- gtk/theme/HighContrast/gtk-contained.css | 634 +++++++++++++++-------- 3 files changed, 1163 insertions(+), 657 deletions(-) commit 5e629bc26be7d447e3976159dbb4b1d17e9ff1b0 Author: Jakub Steiner Date: Wed Mar 16 15:15:20 2016 +0100 High Contrast: spinbuttons - sync with Adwaita https://bugzilla.gnome.org/show_bug.cgi?id=763696 gtk/theme/HighContrast/_common.scss | 256 ++++++++++------ gtk/theme/HighContrast/gtk-contained-inverse.css | 353 ++++++++++++---------- gtk/theme/HighContrast/gtk-contained.css | 357 +++++++++++++---------- 3 files changed, 555 insertions(+), 411 deletions(-) commit b73f428a8642937d7b68f422add2c0f6a59c9af2 Author: Jakub Steiner Date: Wed Mar 16 14:53:47 2016 +0100 High Contrast: circular buttons - make sure they are visible on selected rows https://bugzilla.gnome.org/show_bug.cgi?id=763612 gtk/theme/HighContrast/_common.scss | 11 +++++++---- gtk/theme/HighContrast/gtk-contained-inverse.css | 11 ++++++++--- gtk/theme/HighContrast/gtk-contained.css | 11 ++++++++--- 3 files changed, 23 insertions(+), 10 deletions(-) commit e4f6c76cf85ee3e7e5281f756db38614220121ec Author: Jakub Steiner Date: Wed Mar 16 14:32:14 2016 +0100 High Contrast: fix entry and button metrics - sync with Adwaita https://bugzilla.gnome.org/show_bug.cgi?id=763610 gtk/theme/HighContrast/_common.scss | 306 +++++++++--------- gtk/theme/HighContrast/_drawing.scss | 5 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 390 +++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 386 ++++++++++------------ 4 files changed, 521 insertions(+), 566 deletions(-) commit 6228233a9eb87f65e7386455b399d34c8e446e85 Author: Lapo Calamandrei Date: Wed Mar 16 13:42:38 2016 +0100 Adwaita: remove a nonsensical comment gtk/theme/Adwaita/_common.scss | 1 - 1 file changed, 1 deletion(-) commit 6ccaa8e3ca49e63ce373e53952989527bba43ac8 Author: Lapo Calamandrei Date: Wed Mar 16 13:34:00 2016 +0100 High Contrast: keycap styling sync with Adwaita with some styling tweaks. gtk/theme/HighContrast/_common.scss | 24 +++++++++++++++++------- gtk/theme/HighContrast/gtk-contained-inverse.css | 19 +++++++++++++------ gtk/theme/HighContrast/gtk-contained.css | 19 +++++++++++++------ 3 files changed, 43 insertions(+), 19 deletions(-) commit ef8ef299c41120134fb5ad6670a2554323963a94 Author: Lapo Calamandrei Date: Wed Mar 16 13:11:15 2016 +0100 Adwaita: simplify treeview check and radio scss gtk/theme/Adwaita/_common.scss | 40 +++++++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 49 +++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 56 ++++++++------------------------ 3 files changed, 36 insertions(+), 109 deletions(-) commit 286437000b67284c5260689c37d43b21fec0396b Author: Jakub Steiner Date: Wed Mar 16 12:57:14 2016 +0100 High Contrast: fix metrics for popover menus - ripped the appropriate bits from Adwaita. https://bugzilla.gnome.org/show_bug.cgi?id=763609 gtk/theme/HighContrast/_colors.scss | 2 + gtk/theme/HighContrast/_common.scss | 172 +++++++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 240 ++++++++++++++-------- gtk/theme/HighContrast/gtk-contained.css | 244 +++++++++++++++-------- 4 files changed, 454 insertions(+), 204 deletions(-) commit e5e8ffa3f704007a67668c4de26c5c5b65cd678b Author: Jakub Steiner Date: Tue Mar 15 19:22:07 2016 +0100 High Contrast: reimplement check and radio Use a similar structure as Adwaita - using buttons for radios and checkboxes. https://bugzilla.gnome.org/show_bug.cgi?id=763707 gtk/Makefile.am | 8 + gtk/theme/HighContrast/_common.scss | 185 +++++++++++++--- gtk/theme/HighContrast/assets/bullet-symbolic.svg | 155 +++++++++++++ .../assets/bullet-symbolic.symbolic.png | Bin 0 -> 147 bytes gtk/theme/HighContrast/assets/check-symbolic.svg | 154 +++++++++++++ .../assets/check-symbolic.symbolic.png | Bin 0 -> 231 bytes gtk/theme/HighContrast/assets/dash-symbolic.svg | 153 +++++++++++++ .../HighContrast/assets/dash-symbolic.symbolic.png | Bin 0 -> 130 bytes gtk/theme/HighContrast/gtk-contained-inverse.css | 235 +++++++++++++++----- gtk/theme/HighContrast/gtk-contained.css | 240 ++++++++++++++++----- 10 files changed, 983 insertions(+), 147 deletions(-) commit 985121813e2af706837e2e4d14019dec07762975 Author: Timm Bäder Date: Wed Mar 16 10:20:17 2016 +0100 scale: Fix value height calculation if (orientation) doesn't make a lot of sense but C doesn't complain and instead evaluates orientation to TRUE for GTK_ORIENTATION_VERTICAL (since that's 1), thus inverting the value sizes. gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f3a3ea7f3445b0e9402d4e294778d86a4b94c8e Author: Lapo Calamandrei Date: Tue Mar 15 19:02:11 2016 +0100 Adwaita: notebook better header spacing added some padding to the header and margins to the tabs node when it's not the only child. gtk/theme/Adwaita/_common.scss | 39 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 29 +++++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 29 +++++++++++++++++++----- 3 files changed, 75 insertions(+), 22 deletions(-) commit 3e567b49002845415f280a1bcacaf9162154aeb0 Author: Jakub Steiner Date: Tue Mar 15 18:27:41 2016 +0100 High Contrast: disabled scales more subtle Make even the tough border subtle to make it distinct from normal state. https://bugzilla.gnome.org/show_bug.cgi?id=763613 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 +++- gtk/theme/HighContrast/gtk-contained.css | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) commit abfdad3c3de1e1b74a6c40e19df25b20c866c80e Author: Lapo Calamandrei Date: Tue Mar 15 17:02:01 2016 +0100 Adwaita: fix progressbar in treeviews styling gtk/theme/Adwaita/_common.scss | 58 ++++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++--- gtk/theme/Adwaita/gtk-contained.css | 9 +++-- 3 files changed, 46 insertions(+), 32 deletions(-) commit c6dcc6ee62fbe6eb7af2efba81cdd44772cd43b7 Author: Lapo Calamandrei Date: Tue Mar 15 16:12:40 2016 +0100 Adwaita: add some comments in the GtkScale related scss gtk/theme/Adwaita/_common.scss | 7 +++++++ 1 file changed, 7 insertions(+) commit 87c410d420538e6ecc83f6925930c23e71001775 Author: Jakub Steiner Date: Tue Mar 15 15:49:25 2016 +0100 High Contrast: checkboxes and radios inside treeviews - fixes hover state of checkboxes and radios inside treeviews gtk/theme/HighContrast/_common.scss | 6 ++++++ gtk/theme/HighContrast/gtk-contained-inverse.css | 7 +++++++ gtk/theme/HighContrast/gtk-contained.css | 7 +++++++ 3 files changed, 20 insertions(+) commit e44617b3510ed394604a1624de7d6c5dffd28dfa Author: Jakub Steiner Date: Tue Mar 15 14:22:11 2016 +0100 High Contrast: reimplement gtk scale - sync with Adwaita to the new box model https://bugzilla.gnome.org/show_bug.cgi?id=763613 gtk/theme/HighContrast/_colors.scss | 2 + gtk/theme/HighContrast/_common.scss | 270 +++++++++++++++++----- gtk/theme/HighContrast/gtk-contained-inverse.css | 271 +++++++++++++++-------- gtk/theme/HighContrast/gtk-contained.css | 271 +++++++++++++++-------- 4 files changed, 575 insertions(+), 239 deletions(-) commit 7018a41ce9aebcb31ae082c06a1e9d4d7004a6da Author: Matthias Clasen Date: Tue Mar 15 09:03:21 2016 -0400 Correct a deprecation note The CSS equivalent for focus-padding is outline-offset. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 186ecdf0fa79aa676a735c47d3c7550562a72161 Author: Jakub Steiner Date: Tue Mar 15 13:21:15 2016 +0100 High Contrast: distinct insensitive button Tone down insensitive buttons. https://bugzilla.gnome.org/show_bug.cgi?id=746490 gtk/theme/HighContrast/_colors.scss | 2 +- gtk/theme/HighContrast/_drawing.scss | 4 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 642 +++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 592 ++++++++++----------- 4 files changed, 620 insertions(+), 620 deletions(-) commit 873f6ae36dfdf68962f66b27fe33f7ea0ed5dcd1 Author: Matthias Clasen Date: Mon Mar 14 19:14:31 2016 -0400 3.19.12 NEWS | 1 + 1 file changed, 1 insertion(+) commit d61c2b4cce38eb480aa53f8fdb08c4b181e2aa99 Author: Cosimo Cecchi Date: Mon Mar 14 15:41:16 2016 -0700 window: stop stomping on resize-mode set by external API commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f fixed the behavior of GtkContainer widgets requesting an IMMEDIATE resize-mode. However, GtkWindow has been stomping on resize-mode during realize() since commit addcc64b9cbb2fb1225080075ad3112a3d93d839. The combination of factors that led to this not being a visible problem during all this while is uncertain, but this now causes the Shell to continuously try to relayout its ShellEmbeddedWindow (a GtkWindow subclass). This commit separates the resize-mode as set internally by GtkWindow from the one set with the external API, so that GtkWindow only changes it when it had not been set before by the subclass. https://bugzilla.gnome.org/show_bug.cgi?id=763650 gtk/gtkcontainer.c | 47 +++++++++++++++++++++++++++++++++++------------ gtk/gtkcontainerprivate.h | 2 ++ gtk/gtkwindow.c | 12 +++--------- 3 files changed, 40 insertions(+), 21 deletions(-) commit 4f2cbd1856ae8884741313bb971632ad0e6b9997 Author: Tom Tryfonidis Date: Mon Mar 14 21:03:53 2016 +0000 Updated Greek translation po/el.po | 2165 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1253 insertions(+), 912 deletions(-) commit aec0ffebcc6c82141b6c8182267ac3df764791c6 Author: Matthias Clasen Date: Mon Mar 14 15:54:52 2016 -0400 Updates NEWS | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) commit 183276aa65f26ed02b98f8fb02330415c0eac8b5 Author: Lapo Calamandrei Date: Mon Mar 14 19:36:12 2016 +0100 Adwaita: fix vertical linked spinbuttons which I broke in a previous commit... gtk/theme/Adwaita/_common.scss | 12 ++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++++++++-------- 3 files changed, 73 insertions(+), 25 deletions(-) commit 32b410c77b3789c7146d63bb77e8d336d293cc53 Author: Lapo Calamandrei Date: Mon Mar 14 19:19:43 2016 +0100 Adwaita: more drag hilight fixes gtk/theme/Adwaita/_common.scss | 13 +++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++------ gtk/theme/Adwaita/gtk-contained.css | 8 ++------ 3 files changed, 11 insertions(+), 18 deletions(-) commit 0b840a04a2b86122a036754e1c6c131fc2b4d7c6 Author: Carlos Garnacho Date: Mon Mar 14 18:47:37 2016 +0100 GtkScrolledWindow: Do not hover one scrollbar if grabbing on the other Makes no sense since we're not going to interact with it. It'll be hovered eventually if the button is released. gtk/gtkscrolledwindow.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 2173b6d483bb8f44e6003e393bba7080981e84a7 Author: Carlos Garnacho Date: Mon Mar 14 19:13:05 2016 +0100 GtkScrolledWindow: Check proximity on both indicators on grab-end leave events The implicit grab may be finished so the pointer lies on top of the other scrollbar, in this case one scrollbar should lose the hovering state, and the other should gain it. So we must check for proximity in both indicators. gtk/gtkscrolledwindow.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit baab1ebcc14a6c717da3f09cb87eeee697e25ab1 Author: Lapo Calamandrei Date: Mon Mar 14 18:46:56 2016 +0100 Adwaita: use a green (Tango Chameleon 3) for drag hilight gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 26 +++++++++++++++----------- 4 files changed, 37 insertions(+), 23 deletions(-) commit 8b505d570ef37ddf8028442ea0ba519910647ca5 Author: Lapo Calamandrei Date: Mon Mar 14 18:33:40 2016 +0100 Adwaita: placessidebar dnd fixes gtk/theme/Adwaita/_common.scss | 23 +++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 ++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 22 ++++++++++++++-------- 3 files changed, 43 insertions(+), 24 deletions(-) commit 5ac848d2297d5afc20315cb6c461aeedf0fd6b8a Author: Руслан Ижбулатов Date: Mon Mar 14 16:14:22 2016 +0000 GDK W32: Fix shown window position calculation for dialogs and splashes Two errors here: 1) A typo in splashscreen rectangle calculation - sets right twice instead of setting top 2) Centering for dialogs is off because it doesn't convert GDK virtual desktop coordinates to Windows WM virtual desktop coordinates by adding _gdk_offset_* https://bugzilla.gnome.org/show_bug.cgi?id=763628 gdk/win32/gdkwindow-win32.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bbced9a0cf3b7e8690cfb6ff4debf46d7c47e54d Author: Lapo Calamandrei Date: Mon Mar 14 17:22:31 2016 +0100 Adwaita: places sidebar selected button fix and refactor gtk/theme/Adwaita/_common.scss | 62 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 54 ++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 58 +++++++++++------------------- 3 files changed, 73 insertions(+), 101 deletions(-) commit 2923f69d3cc3a3518b847c8d91e5003584cb50f9 Author: Carlos Garnacho Date: Wed Mar 9 17:00:31 2016 +0100 gdkdnd: Add private means to commit the drag status The way gdk_drag_status() may be called multiple times during the processing of drag and drop events throughout the widget hierarchy brings some superfluous messaging going in, esp. when it's the last request the one we want to honor, yet we emit messaging requests on all. This is barely appreciable in the X11 backend, but due to the design of the wayland protocol, quick series of changes like this it have some self-amplificating consequences which may end up flooding the connection. We can delegate this to a late "commit" call, performed within GDK event management. This way gdk_drag_status() calls may be cached and only result in windowing messaging once per ::drag-motion or ::drag-data-received event. Emitting the final status will also avoid spurious action changes on the compositor and the other peer. https://bugzilla.gnome.org/show_bug.cgi?id=763298 gdk/gdkdnd.c | 50 ++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkdndprivate.h | 3 +++ gdk/gdkevents.c | 3 +++ gdk/wayland/gdkdnd-wayland.c | 3 +-- 4 files changed, 57 insertions(+), 2 deletions(-) commit 160a4fe5ac3ff8d857c4dcc90f81a51cd133ab61 Author: Carlos Garnacho Date: Wed Mar 9 17:43:18 2016 +0100 GtkNotebook: Make tab DnD use application/x-rootwindow-drop again Besides the ::drag-failed handling in order to trigger the window creation hook, add some handling of the application/x-rootwindow-drop mimetype, so the same effect is achieved if the tab could be dropped in a destination accepting this mimetype. https://bugzilla.gnome.org/show_bug.cgi?id=763387 gtk/gtknotebook.c | 50 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 10 deletions(-) commit 83cc7f76d76b45a766b4a26f29240920d647c306 Author: Carlos Garnacho Date: Wed Mar 9 17:37:27 2016 +0100 GtkWindow: Make it an application/x-rootwindow-drop destination This makes toplevels pseudo-transparent wrt this mimetype, so if the drag source offers this mimetype and not another that was managed by the destination-side widget hierarchy, the window will be an acceptable target for this mimetype, allowing it to trigger whatever is meant to in the source side. https://bugzilla.gnome.org/show_bug.cgi?id=763387 gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit ab16b19a0a9c026b1e0997f8dee01120585369c9 Author: Руслан Ижбулатов Date: Sat Mar 12 12:55:24 2016 +0000 GDK W32: Fix pointer-under-window code for custom resize This code: > gdk_window_get_root_origin (window, &x, &y); > x -= root_x; > y -= root_y; > pointer_window = gdk_device_get_window_at_position (device, &x, &y); was meant to find the child gdk window at coordinates root_x and root_y. These 4 lines had 2 bugs: 1) x = x - root_x (same for y) is wrong, it should be x = root_x - x 2) gdk_device_get_window_at_position() does not give you the window at position x and y. It gives you the window under the device (mouse pointer) and the returns the device coordinates in x and y. https://bugzilla.gnome.org/show_bug.cgi?id=763533 gdk/win32/gdkwindow-win32.c | 46 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 40 insertions(+), 6 deletions(-) commit ade1ac16a8c617efb4ee31774f920daa63055d6c Author: Jiro Matsuzawa Date: Mon Mar 14 14:42:48 2016 +0000 Updated Japanese translation po/ja.po | 1403 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 766 insertions(+), 637 deletions(-) commit 6fd05dfe53ae68a3730a0dc3461bb044de4a1ca3 Author: Carlos Garnacho Date: Mon Mar 14 15:28:20 2016 +0100 gtk-demo: Handle GDK_TOUCH_CANCEL in event-axes demo It is a thing in wayland, which means we leave traces from older touches when the compositor takes over touch sequences in order to handle a gesture. demos/gtk-demo/event_axes.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c5a8be8fc66d92b6b8489ea68024f4f9138ca677 Author: Stas Solovey Date: Mon Mar 14 12:24:40 2016 +0000 Updated Russian translation po-properties/ru.po | 186 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 110 insertions(+), 76 deletions(-) commit 2e39df771383686271834cba10fbb2554b4044fe Author: Lapo Calamandrei Date: Mon Mar 14 10:53:59 2016 +0100 Adwaita: more scss refactoring gtk/theme/Adwaita/_common.scss | 96 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 325 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 325 +++++++++++++------------------ 3 files changed, 318 insertions(+), 428 deletions(-) commit 0696c848ba2f96e6223786fa296d96f88d490dd0 Author: Lapo Calamandrei Date: Mon Mar 14 10:19:05 2016 +0100 Adwaita: refactor entry scss gtk/theme/Adwaita/_common.scss | 195 +++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 255 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 255 ++++++++++++++++++++++--------- 3 files changed, 470 insertions(+), 235 deletions(-) commit 4525f8628f3de84c1843bb4d991630d81dc412cb Author: Balázs Meskó Date: Mon Mar 14 07:57:26 2016 +0000 Updated Hungarian translation po/hu.po | 254 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 128 insertions(+), 126 deletions(-) commit 4f45353a1952d50b3a00b6358144ec7753ca490d Author: Matthias Clasen Date: Sun Mar 13 23:08:47 2016 -0400 pathbar: Style slider buttons Set a style class on the pathbar slider buttons, and have the theme handle the separately from other image buttons. gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ gtk/ui/gtkpathbar.ui | 4 ++-- 4 files changed, 13 insertions(+), 2 deletions(-) commit 8a3c25ca66e7c2a4e1575fdf10ef0bb1cf66f846 Author: Matthias Clasen Date: Sun Mar 13 23:05:54 2016 -0400 path bar: Stop mishandling slider buttons We must call get_preferred_width/height on the slider buttons before allocating them, otherwise the layout machinery spews warnings. gtk/gtkpathbar.c | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit 302b830649f6b52a65680e7f355fba6e92c44731 Author: Stas Solovey Date: Sun Mar 13 21:04:56 2016 +0000 Updated Russian translation po/ru.po | 248 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 126 insertions(+), 122 deletions(-) commit 140f51c5909c984fbb829050d55fea5902050ae1 Author: Aurimas Černius Date: Sun Mar 13 21:15:07 2016 +0200 Updated Lithuanian translation po-properties/lt.po | 182 +++++++++------- po/lt.po | 606 ++++++++++++++++++++++++---------------------------- 2 files changed, 393 insertions(+), 395 deletions(-) commit d9a6d2ca80ab5868135779e758bf488da4078a75 Author: Piotr Drąg Date: Sun Mar 13 19:51:57 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit b7ae717465a18edf8bec96465ecdeec348dfc2c1 Author: Jiri Grönroos Date: Sun Mar 13 14:47:41 2016 +0000 Updated Finnish translation po/fi.po | 1425 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 776 insertions(+), 649 deletions(-) commit 9a21ff3cd23d7a4e0feccf3aaa001fa40505e1b3 Author: Matthias Clasen Date: Sun Mar 13 00:11:52 2016 -0500 stack switcher: Support switching during DND GtkNotebook will switch pages if you hover over a tab during DND. The same makes sense in GtkStackSwitcher, so implement it here. gtk/gtkstackswitcher.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) commit fff323df0908eefbed90926526cd036b22f4cc46 Author: Matej Urbančič Date: Sat Mar 12 22:06:02 2016 +0100 Updated Slovenian translation po/sl.po | 171 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 70 insertions(+), 101 deletions(-) commit d00e19a3cd96cbbd0172c88b0e6b4e8bf4b31cdc Author: Lapo Calamandrei Date: Sat Mar 12 19:35:56 2016 +0100 Adwaita: some more selector housekeeping gtk/theme/Adwaita/_common.scss | 5 +- gtk/theme/Adwaita/gtk-contained-dark.css | 136 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 136 ++++++++++++++----------------- 3 files changed, 125 insertions(+), 152 deletions(-) commit ff05ccf18ed4d8eda49a0c20e6b2333f037384fc Author: Lapo Calamandrei Date: Sat Mar 12 19:32:42 2016 +0100 Adwaita: smarter scss extentions for titlebuttons gtk/theme/Adwaita/_common.scss | 5 +- gtk/theme/Adwaita/gtk-contained-dark.css | 230 +++++++------------------------ gtk/theme/Adwaita/gtk-contained.css | 230 +++++++------------------------ 3 files changed, 100 insertions(+), 365 deletions(-) commit dfc41b34f78aba39732446f9f8f050faec2ddef5 Author: Lapo Calamandrei Date: Sat Mar 12 19:25:46 2016 +0100 Adwaita: smarter scss extentions on the notebook avoiding spawning unneeded selectors. gtk/theme/Adwaita/_common.scss | 8 +- gtk/theme/Adwaita/gtk-contained-dark.css | 204 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 204 ++++++++++++++----------------- 3 files changed, 186 insertions(+), 230 deletions(-) commit 2885f1b3a21f1b96cfaa63c674534393a389dee2 Author: Lapo Calamandrei Date: Sat Mar 12 19:02:48 2016 +0100 Adwaita: fix notebook overflow arrows styling which correctly go :active now, istead of :checked as in the past. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit e44ea315d5a391756f8a3ad544e1ad4bf0a4aa9e Author: Lapo Calamandrei Date: Sat Mar 12 15:27:53 2016 +0100 Adwaita: set back drag hilight color to black ...I erroneusly pushed a test green there, this will probably change again, but that green wasn't right. gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 8003937a68e00be0e9af4003755910a1a8fed98b Author: Lapo Calamandrei Date: Sat Mar 12 15:22:35 2016 +0100 Adwaita: textview drag hilight gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 14 insertions(+) commit b46f7223acfb5476f21089965a20e6f644742213 Author: Lapo Calamandrei Date: Sat Mar 12 15:03:07 2016 +0100 Adwaita: scss cosmetic fixed gtk/theme/Adwaita/_common.scss | 396 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 338 +++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 340 +++++++++++++------------- 3 files changed, 583 insertions(+), 491 deletions(-) commit 39c8ad53b5cd92e031d4f5e5ac5678cc7c44ddbd Author: Lapo Calamandrei Date: Sat Mar 12 14:21:01 2016 +0100 Adwaita: reset filechooserbutton:drop(active) gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 13 insertions(+) commit 634abd1476cac75ecaafe6c7443b23dfe28cb06c Author: Fran Dieguez Date: Sat Mar 12 12:57:00 2016 +0000 Updated Galician translation po/gl.po | 679 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 339 insertions(+), 340 deletions(-) commit 2ee7d103a308c5e4860fdeb8677ca6503ef59d0e Author: Fran Dieguez Date: Sat Mar 12 12:55:28 2016 +0000 Updated Galician translation po-properties/gl.po | 840 +++++++++++++++++++++++++++------------------------- 1 file changed, 440 insertions(+), 400 deletions(-) commit 0e124c19aff9b2ee4856f41ac168cb8cbb0eb67b Author: Marek Černocký Date: Sat Mar 12 13:33:35 2016 +0100 Updated Czech translation po/cs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a97e8fd078174d341d394a750e5eb43fc97b6d4d Author: Руслан Ижбулатов Date: Sat Mar 12 12:14:04 2016 +0000 GDK W32: Fix a typo gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d345a7a60ef944f3f06769f9a9fc8822400e1307 Author: Matthias Clasen Date: Fri Mar 11 22:44:17 2016 -0500 color editor: Improve popup positioning Don't make the popup follow the slider while it is open; that makes interaction with it unnecessarily hard. Also move all the popups inwards a little bit, so they are not flush with the scales, which looks untidy. https://bugzilla.gnome.org/show_bug.cgi?id=763380 gtk/gtkcoloreditor.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 5f00a9b4ec52abfa60281df1903430caaff5ac42 Author: Matthias Clasen Date: Fri Mar 11 21:40:02 2016 -0500 scrolled window: Fix scrollbar size allocation We were not taking the scrollable borders into account when requesting size for the scrolled window, which could lead to underallocating the scrollbars at size allocation time when we *did* take the borders into account. This is most notable with treeviews, where we have the headers as borders, and was causing the treeview-crash-too-wide reftest to fail. gtk/gtkscrolledwindow.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit 07e6eae3e59c9c0eba9fde23492b566b9c474840 Author: Matthias Clasen Date: Fri Mar 11 18:30:36 2016 -0500 file chooser button: Set a CSS name This lets us differentiate the main node from regular boxes. gtk/gtkfilechooserbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 4d84e7a8f774f1c82d5ee3e6dd460a6d61024525 Author: Matthias Clasen Date: Fri Mar 11 18:30:14 2016 -0500 Trivial formatting fix gdk/gdk.c | 42 +++++++++++++++++++++--------------------- gdk/gdkwindow.c | 7 ++++--- 2 files changed, 25 insertions(+), 24 deletions(-) commit 4f3af94e577cb4172a4b99b572816eb997b04fee Author: Marek Černocký Date: Fri Mar 11 23:08:07 2016 +0100 Updated Czech translation po/cs.po | 213 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 108 insertions(+), 105 deletions(-) commit e44a87fe94ea8e23b75d1d76c94a717a81327565 Author: Matthias Clasen Date: Fri Mar 11 16:46:52 2016 -0500 Fix the textview-margins reftest This test has a word that wouldn't fit in the room we have with a window width of 100, and then we get clipped in the one case but not the other. Make the window a little wider, so it fits. testsuite/reftests/textview-margins.ref.ui | 3 ++- testsuite/reftests/textview-margins.ui | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 2f4f1640780da5be48447d93664237c7725995c1 Author: Matthias Clasen Date: Fri Mar 11 16:38:41 2016 -0500 Fix a typo We don't want to get the padding twice. gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e68c4e62dedbdbf620ae4d016ac38cb1732a5e3 Author: Matthias Clasen Date: Fri Mar 11 13:52:36 2016 -0500 inspector: Reset the treewalk when required The tree walk holds a tree iter, which will become invalid when we either remove the row that it points to or remove all rows. Reset the tree walk in those cases to avoid a crash that was pointed out by Bastien Nocera. gtk/inspector/object-tree.c | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) commit 2e34ce8f7ccf69c0c177a225b8a0b034b6c19fcb Author: Matthias Clasen Date: Fri Mar 11 13:52:09 2016 -0500 inspector: Add api to get the current tree walk position This will be used in the next commit. gtk/inspector/treewalk.c | 16 ++++++++++++---- gtk/inspector/treewalk.h | 3 +++ 2 files changed, 15 insertions(+), 4 deletions(-) commit a6d575ed61e707637cbbb3fd4b5b089020438cc3 Author: Matthias Clasen Date: Fri Mar 11 12:29:51 2016 -0500 typo fix gtk/gtktreemodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 30217908d81bc78835776a1cb2c63f962cfa5ee5 Author: Jordi Mas Date: Fri Mar 11 19:43:33 2016 +0100 Update Catalan translation po-properties/ca.po | 1055 ++++++++++++++++++++++++++------------------------- 1 file changed, 546 insertions(+), 509 deletions(-) commit 4b0abc13e3bbacb5f8c9c7483f1be412e4bb4ff2 Author: Timm Bäder Date: Fri Mar 11 19:14:19 2016 +0100 range: Fix a few typos Depreacated -> Deprecated through -> trough gtk/gtkrange.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 09b837183ea7e46fedee519cbe1868d9ea50198d Author: Sebastien Lafargue Date: Fri Mar 11 19:09:06 2016 +0100 textview: Fix drag highlight problems gtk/gtktextview.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit a84926f03a40075b76c85a5d8eef57c3269de644 Author: Piotr Drąg Date: Fri Mar 11 18:30:18 2016 +0100 Updated Polish translation po/pl.po | 58 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) commit 63b03ce83602d94c3b842308f59644f4a68a40ee Author: Matthias Clasen Date: Fri Mar 11 12:19:47 2016 -0500 Better debug messages for actions Unify the debug messages between actionhelper and menutracker, and add some more context to some of them. gtk/gtkactionhelper.c | 32 +++++++++++++++++--------------- gtk/gtkmenutrackeritem.c | 29 +++++++++++++++-------------- 2 files changed, 32 insertions(+), 29 deletions(-) commit baaa0637bfc99af84e56498b20dfc8e0dbf93c8d Author: Dušan Kazik Date: Fri Mar 11 17:09:01 2016 +0000 Updated Slovak translation po/sk.po | 218 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 111 insertions(+), 107 deletions(-) commit 3c89c11328e4ec030d4de83ea22e4deefea87fda Author: Lapo Calamandrei Date: Fri Mar 11 18:02:37 2016 +0100 Adwaita: set a min-width on horizontal spinbutton entry to accomodate at least 3 chars, before overflowing. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 5085e1c70d4949798f761d2b1c5a7952293e69ab Author: Lapo Calamandrei Date: Fri Mar 11 18:01:36 2016 +0100 Adwaita: rounded corners for colorscale popup gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 8 insertions(+) commit eeb945e4c16b6ff26d20e2452b4c33a133e12395 Author: Benjamin Otte Date: Tue Mar 8 01:47:33 2016 +0100 inspector: Widgets update automatically when CSS changes There's no need to force-invalidate their CSS. gtk/inspector/css-editor.c | 2 -- 1 file changed, 2 deletions(-) commit b7285592f968dfff78a683ad6a82955448c77bd6 Author: Benjamin Otte Date: Tue Mar 8 05:01:33 2016 +0100 cssanimation: Compute progress correctly We were computing the wrong progress, in particular when the iteration count was non-integer. Test included. gtk/gtkcssanimation.c | 40 +- testsuite/reftests/Makefile.am | 3 + .../animation-fill-mode-iteration-count.css | 83 ++ .../animation-fill-mode-iteration-count.ref.ui | 1117 ++++++++++++++++++ .../animation-fill-mode-iteration-count.ui | 1213 ++++++++++++++++++++ 5 files changed, 2435 insertions(+), 21 deletions(-) commit fc7335bdb4c1bed38b7287354d348af949c20ace Author: Benjamin Otte Date: Wed Mar 9 17:27:01 2016 +0100 colorscale: Draw a trough Make sure the color info is actually drawn inside the trough. gtk/gtkcolorscale.c | 157 ++++++--------------------------------------- gtk/gtkcolorscaleprivate.h | 7 ++ gtk/gtkrange.c | 12 ++-- gtk/ui/gtkcoloreditor.ui | 2 + 4 files changed, 35 insertions(+), 143 deletions(-) commit 8351a6e4d61a48921582668dd54b3094cbcd75ac Author: Lapo Calamandrei Date: Fri Mar 11 16:34:30 2016 +0100 Adwaita: .osd check|radio style gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 10 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 62 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 62 ++++++++++++++++++++++++++++---- 4 files changed, 121 insertions(+), 15 deletions(-) commit f81635ed818f95ed670abce447e1fa2d1ba833dc Author: Daniel Mustieles Date: Fri Mar 11 15:31:32 2016 +0000 Updated Spanish translation po/es.po | 221 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 112 insertions(+), 109 deletions(-) commit 887905288763da0378162dc1e67560320dd7709d Author: Friedrich Beckmann Date: Thu Jan 7 15:51:31 2016 +0100 added NSEventTypeMagnify and NSEventTypeRotate for ZOOM and ROTATE gestures MacOS provides the NSEventTypeMagnify which is very similar to the Gtk ZOOM gesture and NSEventTypeRotate which is very similar to the Gtk Rotate gesture. Those two event sequences are translated to a sequence of GDK_TOUCHPAD_PINCH events. This sequence is then detected in the upper gtk layers as Gtk Zoom/Rotate Gestures. https://bugzilla.gnome.org/show_bug.cgi?id=760276 gdk/quartz/gdkevents-quartz.c | 124 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 123 insertions(+), 1 deletion(-) commit b37e4ff8059e31fd482560327a20580cb5969303 Author: Lapo Calamandrei Date: Fri Mar 11 14:56:21 2016 +0100 Adwaita: simplify vertically linked entries scss code gtk/theme/Adwaita/_common.scss | 22 +++------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++-------------- gtk/theme/Adwaita/gtk-contained.css | 16 ++-------------- 3 files changed, 7 insertions(+), 47 deletions(-) commit 4c3e4d3ea1134b92b70cbb632f07f3a049ced589 Author: Matthias Clasen Date: Fri Mar 11 08:50:38 2016 -0500 filechooserbutton: Fix drag highlight problems This widget is a bit unusual in that it is a box that acts as the drop target, while the visible content is a child of the box. Propagate :drop(active) to the child to make the highlight visible. gtk/gtkfilechooserbutton.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit e8c5db0425bb58a965a7d46f1d40d16fec2de40b Author: Lapo Calamandrei Date: Fri Mar 11 14:42:49 2016 +0100 Adwaita: drop active style fixes taking care of: * entries * buttons (misses some linking logic still) * comboboxes (untested) * spinbuttons gtk/theme/Adwaita/_colors.scss | 2 ++ gtk/theme/Adwaita/_common.scss | 48 +++++++++++++++++++++++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 29 +++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 29 +++++++++++++++++++ 4 files changed, 104 insertions(+), 4 deletions(-) commit ab5ebf61998eb40d5bb5b037e4a8b333242a21f5 Author: Matthias Clasen Date: Fri Mar 11 08:34:01 2016 -0500 calendar: Fix drag highlight problems Don't propagate :drop(active) to components. gtk/gtkcalendar.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 3064e4e40660381842bff65a6e75a5109c710b89 Author: Matthias Clasen Date: Fri Mar 11 08:07:30 2016 -0500 spinbutton: Fix drag highlight problems Don't propagate :drop(active) to the buttons. gtk/gtkspinbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2fee5fbda702a232054e95a1eade89bd7fa0f39b Author: Matthias Clasen Date: Fri Mar 11 08:01:06 2016 -0500 entry: Fix drag highlight problems We don't want drag highlights around icons or progress, so don't propagate the :drop(active) state to them. gtk/gtkentry.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit b7577b2f3be85ecc5c28c918fdc2d84af3bf1c78 Author: Yosef Or Boczko Date: Fri Mar 11 14:47:34 2016 +0200 Updated Hebrew translation po-properties/he.po | 813 +++++++++++++++++++++++++++------------------------- 1 file changed, 423 insertions(+), 390 deletions(-) commit f8bbbbf684906d30ccd0b25e043a9dea84fa496e Author: Jonas Ådahl Date: Fri Mar 11 13:13:31 2016 +0800 gdk: Don't leak discarded window state event When compressing window state events, we didn't free the discarded event after removing it from the queue, causing us to leak it. This commit makes sure to free the discarded event after unqueuing it. https://bugzilla.gnome.org/show_bug.cgi?id=762468 gdk/gdkevents.c | 1 + 1 file changed, 1 insertion(+) commit 1d1906597908b2bcd61a1aec10119c13817092af Author: Matthias Clasen Date: Fri Mar 11 01:27:21 2016 -0500 range: Fix trough clickability We previously considered any click inside the trough if it hit an area that the slider might cover. Bring this behavior back; the trough of scales is otherwise just too narrow to hit easily with a click. gtk/gtkrange.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 1a5cb41bd93434d0263bb1bd4b16ec14b284dbab Author: Matthias Clasen Date: Fri Mar 11 00:18:54 2016 -0500 Use per-display debug flags for visual debugging gtk/gtkcssgadget.c | 92 ++++++++++++++++++++++++++++------------------------- gtk/gtkpixelcache.c | 8 +++-- gtk/gtkwidget.c | 5 ++- 3 files changed, 55 insertions(+), 50 deletions(-) commit 02742d53323bb17870317ca53d93627c7d7cbcc4 Author: Matthias Clasen Date: Fri Mar 11 00:16:35 2016 -0500 Make debug flags per-display Tihs lets us toggle debug flags in the inspector without affecting the inspector itself. gtk/gtkmain.c | 27 +++++++++++++++++++++++---- gtk/gtkprivate.h | 12 ++++++++++++ 2 files changed, 35 insertions(+), 4 deletions(-) commit f82e4ff3625eca3661622ef0efba99dfdda4227d Author: Matthias Clasen Date: Thu Mar 10 23:17:02 2016 -0500 Trivial formatting fix gtk/gtkmain.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 97250ea5e69c75fb4bc3b799858d3d1556b9e478 Author: Matthias Clasen Date: Fri Mar 11 00:17:37 2016 -0500 inspector: Add a switch for the layout debug flag gtk/inspector/visual.c | 19 +++++++++++++++++++ gtk/inspector/visual.ui | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) commit ad5469759493734b0cd4e6a8b710c3d3da6119bb Author: Matthias Clasen Date: Thu Mar 10 23:13:54 2016 -0500 gadget: Show layout When the layout debug key is set, overlay boxes for the content and border area of each gadget. gtk/gtkcssgadget.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 33d7196dc8274e8dd66b845c0444674d3f11f6fc Author: Matthias Clasen Date: Thu Mar 10 23:14:57 2016 -0500 Add a layout debug option This will be used to show box model borders. docs/reference/gtk/running.sgml | 5 ++++- gtk/gtkdebug.h | 3 ++- gtk/gtkmain.c | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) commit 04e59719b563575315f385f156f6bab331640f44 Author: Matthias Clasen Date: Thu Mar 10 23:18:38 2016 -0500 Docs: Trivial consistency fix docs/reference/gtk/running.sgml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 804d330195f4e3a777b64a49d70059af2742f1c0 Author: Matthias Clasen Date: Thu Mar 10 22:46:02 2016 -0500 Typo fixes Fix s/occurence/occurrence in many places. README.in | 2 +- gtk/compose-parse.py | 4 ++-- gtk/gtkcssprovider.c | 8 ++++---- gtk/gtkplacessidebar.c | 8 ++++---- gtk/gtkprintoperation.h | 2 +- gtk/gtktextbuffer.c | 2 +- gtk/gtktexttag.c | 2 +- m4macros/gtk-3.0.m4 | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) commit f87da278ad5aa20af58b67fcc79a3ffb55b55d28 Author: Мирослав Николић Date: Fri Mar 11 03:42:36 2016 +0100 Updated Serbian translation po/sr.po | 177 +++++++++++++++++++++++++++++---------------------------- po/sr@latin.po | 177 +++++++++++++++++++++++++++++---------------------------- 2 files changed, 178 insertions(+), 176 deletions(-) commit 41ee906764d37a6741552e1d4662eafed45f3314 Author: Piotr Drąg Date: Fri Mar 11 02:17:05 2016 +0100 Updated Polish translation po/pl.po | 152 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 70 insertions(+), 82 deletions(-) commit edacd5d6ee89eac30891030edbb70c746bfe2fe4 Author: Federico Mena Quintero Date: Thu Mar 10 16:02:56 2016 -0600 GtkFileChooserEntry: move the cursor after the user chooses a completion from the list https://bugzilla.gnome.org/show_bug.cgi?id=756450 gtk/gtkfilechooserentry.c | 2 ++ 1 file changed, 2 insertions(+) commit 81059c35d56f277797183883f8ed2347fb0f53a8 Author: Federico Mena Quintero Date: Thu Mar 10 15:05:16 2016 -0600 GtkFileChooserEntry: regenerate the completions if the dir_part changes Consider this bug: 1. Open a file chooser; switch it to $HOME 2. Start typing "~/Dow" with some file that *does* exist in your $HOME 3. Delete the inline-completion selection (e.g. the "nloads" after "~/Down"). 4. While you are at "~/Dow_" hit Tab. No completion will occur. This happens because of the following. Say the GtkFileChooserEntry is in the process of loading $HOME, because _set_base_folder() was called. If the entry contains no text, then the FULL_PATH_COLUMN of the file system model will be set to unprefixed filenames from $HOME, like .ssh/ Documents/ Downloads/ somefile.txt Later we avoid reloading the folder if g_file_equal(old_folder, new_folder). However, the FULL_PATH_COLUMN gets populated in completion_store_set() out of the actual filenames that GIO returned, plus the chooser_entry->dir_part. If the user starts typing "~/Dow" then dir_part changes to "~/", *but* the folder won't be reloaded since it is also $HOME. However, the completion machinery assumes that FULL_PATH_COLUMN will contain prefixed entries like ~/.ssh/ ~/Documents/ ~/Downloads/ ~/somefile.txt So, we add an invariant that chooser_entry->dir_part and chooser_entry->current_folder_file must change at the same time, and must not get out of sync: If any of them changes, then the completions are regenerated. gtk/gtkfilechooserentry.c | 48 +++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-) commit 2b773e07e3253075312e4b84da16a1b08f54b261 Author: Matthias Clasen Date: Thu Mar 10 16:21:35 2016 -0500 inspector: Show the frame clock in misc There is no convenient way to get a handle on the frame clock, otherwise, and the frame clock object is where we show the frame rate... gtk/inspector/misc-info.c | 42 +++++++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui | 47 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) commit ec0111ce058473c6e8edce9d2144777745325e72 Author: Mario Blättermann Date: Thu Mar 10 19:58:33 2016 +0100 Updated German translation po/de.po | 764 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 380 insertions(+), 384 deletions(-) commit c87eb5854a29cb92c68024354cbf6056bd806324 Author: Daniel Mustieles Date: Thu Mar 10 17:23:24 2016 +0000 Updated Spanish translation po-properties/es.po | 74 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 54 insertions(+), 20 deletions(-) commit 556940c3c68043f5d4ffb8a528762ab492fb5f6e Author: Piotr Drąg Date: Thu Mar 10 17:30:11 2016 +0100 Updated Polish translation po-properties/pl.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 25b036ae93ad18a9714d624349a0d76f9b879680 Author: Carlos Soriano Date: Thu Mar 10 16:28:59 2016 +0100 configure.ac: bump version So nautilus and other consumers of the sidebar can use the non API-broken API of the sidebar. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8038139067ea9b3230906000c3e3680764c99bc2 Author: Artur Morais Date: Thu Mar 10 14:33:41 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 163 +++++++++++++++++++++++++++++-------------------- 1 file changed, 96 insertions(+), 67 deletions(-) commit 3c26fecef95d342b464cc2c3e25d3febd01df18c Author: Balázs Meskó Date: Thu Mar 10 13:59:55 2016 +0000 Updated Hungarian translation po-properties/hu.po | 1540 +++++++++++++++++---------------------------------- 1 file changed, 512 insertions(+), 1028 deletions(-) commit 65ea6f87365b66e9a5de4a38aec9abed33fe938e Author: Руслан Ижбулатов Date: Wed Mar 9 09:50:09 2016 +0000 GDK W32: Partially rollback the custom resize for GL windows If a window is being drawn by OpenGL, we need to apply any pending resizes to it *before* we paint. https://bugzilla.gnome.org/show_bug.cgi?id=763287 gdk/win32/gdkwindow-win32.c | 117 ++++++++++++++++++++++++++++++++++---------- 1 file changed, 90 insertions(+), 27 deletions(-) commit 85d022080042d86eeef0e680b53660dd229fade9 Author: Lapo Calamandrei Date: Thu Mar 10 13:35:08 2016 +0100 Adwaita: gtkcolorscale styling. gtk/theme/Adwaita/_common.scss | 124 ++++++++++++++++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 150 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 150 +++++++++++++++++++++++-------- 3 files changed, 348 insertions(+), 76 deletions(-) commit 40a2d7f14a96f09c9a3fb4961bc36d2c9bdbe31e Author: Мирослав Николић Date: Thu Mar 10 11:54:39 2016 +0100 Updated Serbian translation po-properties/sr.po | 18 ++++++++---------- po-properties/sr@latin.po | 18 ++++++++---------- 2 files changed, 16 insertions(+), 20 deletions(-) commit b9e3d2033ca09606c16a7a3b09ae5709df9fc2db Author: Мирослав Николић Date: Thu Mar 10 11:39:44 2016 +0100 Updated Serbian translation po-properties/sr.po | 76 +++++++++++++++++++++++++++++++++-------------- po-properties/sr@latin.po | 76 +++++++++++++++++++++++++++++++++-------------- 2 files changed, 106 insertions(+), 46 deletions(-) commit a09d552f3372f6352c2d8e0d0d306f64e2013cf9 Author: Marek Černocký Date: Thu Mar 10 10:47:04 2016 +0100 Updated Czech translation po-properties/cs.po | 70 +++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 52 insertions(+), 18 deletions(-) commit b3860e407d3edb6f94d53269960c052756516aa2 Author: Philip Chimento Date: Wed Mar 9 22:10:04 2016 -0800 quartz: Get core pointer from device manager Some spots missed in the earlier refactor removing core_pointer from the GdkDisplay struct. https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/quartz/gdkevents-quartz.c | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) commit 8fb7f50028eb3729161448b7228f69b673a93b45 Author: Jonas Ådahl Date: Tue Mar 8 17:03:06 2016 +0800 wayland: Add request focus support via gtk_shell A gtk_surface.present request was added to gtk_surface which takes timestamp from some input event, and uses that timestamp to figure out whether the window can be presented or not. If we don't have a timestamp, we should just give up instead of making up our own, otherwise we might steal someones focus. https://bugzilla.gnome.org/show_bug.cgi?id=763037 gdk/wayland/gdkwindow-wayland.c | 13 +++++++++++++ gdk/wayland/protocol/gtk-shell.xml | 4 ++++ 2 files changed, 17 insertions(+) commit ed430dc00adf437a4002ad7552912e5094565f2c Author: Jonas Ådahl Date: Mon Mar 7 12:41:31 2016 +0800 wayland: Add system bell support via gtk_shell Invoke the system bell by calling the request added to the gtk_shell protocol. https://bugzilla.gnome.org/show_bug.cgi?id=763001 gdk/wayland/gdkdisplay-wayland.c | 9 +++++++++ gdk/wayland/gdkwindow-wayland.c | 18 +++++++++++++++++- gdk/wayland/protocol/gtk-shell.xml | 4 ++++ 3 files changed, 30 insertions(+), 1 deletion(-) commit f68cf698fc1476c7d8e8c6a394cf1eb495a0e297 Author: Jonas Ådahl Date: Mon Mar 7 11:49:35 2016 +0800 wayland: Don't invent our own unstable protocol semantics The gtk_shell protocol used some half baked unstable protocol semantics that worked by only allowing binding the exact version of the interface. This hack is a bit too confusing and it makes it impossible to do any compatible changes without breaking things. So, instead rename it to include a number in the interface names. This way we can add requests and events without causing compatibility issues, and we can later remove requests and events by bumping the number in the interface names. https://bugzilla.gnome.org/show_bug.cgi?id=763001 gdk/wayland/gdkdisplay-wayland.c | 21 +++++++++------------ gdk/wayland/gdkdisplay-wayland.h | 2 +- gdk/wayland/gdkprivate-wayland.h | 4 ---- gdk/wayland/gdkscreen-wayland.c | 23 ++++++++++++++--------- gdk/wayland/gdkwindow-wayland.c | 27 ++++++++++++++------------- gdk/wayland/protocol/gtk-shell.xml | 13 +++++-------- 6 files changed, 43 insertions(+), 47 deletions(-) commit 30faa9a2a9214178084fe87616ba1982a6700b16 Author: Matthias Clasen Date: Wed Mar 9 21:58:38 2016 -0500 inspector: Refine strv editor Put some spacing between the rows, and link the buttons to the entries they belong to. gtk/inspector/strv-editor.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 6e9fd6832a69e36313a4385f37d0b72a3f032ee9 Author: Matthias Clasen Date: Wed Mar 9 21:42:08 2016 -0500 inspector: Do a better job with readonly properties Say if they are non-writable or construct-only, and also gray out construct-only properties in the list. gtk/inspector/prop-editor.c | 14 ++++++++++++++ gtk/inspector/prop-list.c | 6 +++++- 2 files changed, 19 insertions(+), 1 deletion(-) commit a28e76f09c5a2344563b987774092b894d4658a9 Author: Matthias Clasen Date: Wed Mar 9 21:13:44 2016 -0500 GtkActionable: Improve property names These names show up as title in the property editor in the inspector, so we want them to look consistent with the rest. gtk/gtkactionable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c24cc63523b47a8262ecbe5449f034703d6734fa Author: Matthias Clasen Date: Wed Mar 9 21:01:38 2016 -0500 inspector: Minor refactoring Break out some functions in prop-editor.c gtk/inspector/prop-editor.c | 38 ++++++++++++++++++++++++-------------- 1 file changed, 24 insertions(+), 14 deletions(-) commit c1c8a861aaec48d6376b161deae4c2044af41e60 Author: Matthias Clasen Date: Wed Mar 9 20:55:46 2016 -0500 inspector: Redo property lists a bit Break out value types as a separate column, to make the value column more readable. gtk/inspector/prop-list.c | 120 ++++++++++++++++++++++++++++++++++++++++----- gtk/inspector/prop-list.ui | 33 ++++++++++--- 2 files changed, 134 insertions(+), 19 deletions(-) commit 0c929b7124ce19a838a3acdc735533fa61d02750 Author: Matthias Clasen Date: Wed Mar 9 19:40:06 2016 -0500 inspector: Avoid overflow when editing doubles The adjustment double properties allow values from -G_MAXDOUBLE to G_MAXDOUBLE, which leads to overflow when calculating max - min / 10. To avoid that, simply use a fixed page_size of 1.0. gtk/inspector/prop-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 747962ece2eea2580deedc9e087ba0427197031c Author: Piotr Drąg Date: Thu Mar 10 03:43:27 2016 +0100 Updated Polish translation po-properties/pl.po | 170 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 100 insertions(+), 70 deletions(-) commit 6af8e9f3cc69a3538284e288bc2cb26731144edc Author: Matthias Clasen Date: Wed Mar 9 19:08:46 2016 -0500 inspector: Wording changes Align the property nicks of GtkCssNode with the column names in the inspector node tree. gtk/gtkcssnode.c | 18 ++++++------------ gtk/inspector/css-node-tree.ui | 2 +- 2 files changed, 7 insertions(+), 13 deletions(-) commit f23c77b14b29c5767eb335c5b1c65e133b60a98a Author: Matthias Clasen Date: Wed Mar 9 19:07:32 2016 -0500 inspector: Some more cleanup The last commit left some unused functions behind. gtk/inspector/css-node-tree.c | 81 ------------------------------------------ gtk/inspector/css-node-tree.ui | 1 - 2 files changed, 82 deletions(-) commit e5a5f0a59ac74fb20dd1d920398e9e13e971fcaf Author: Matthias Clasen Date: Wed Mar 9 18:58:48 2016 -0500 inspector: Remove an unncessary context menu Now that we have the style properties on the same page again, we don't need the context menu anymore. gtk/inspector/css-node-tree.c | 23 ----------------------- 1 file changed, 23 deletions(-) commit 0479969f3f71a8355e2455b11e0272debec0af00 Author: Claude Paroz Date: Wed Mar 9 23:09:12 2016 +0100 Updated French translation po/fr.po | 1936 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1043 insertions(+), 893 deletions(-) commit fa48dbf1a58c01f06218accd3ec0c1b5ffceca02 Author: Matthias Clasen Date: Wed Mar 9 14:15:40 2016 -0500 range: Fix gadget state propagation The contents node was not getting state updates at all, and the trough node was missing some state updates as well, because we were not calling update_trough_state() in all the places where it is needed. gtk/gtkrange.c | 4 ++++ 1 file changed, 4 insertions(+) commit aaa467679d8ea592856a6a472584ba4988f68dcc Author: Carlos Garnacho Date: Wed Mar 9 17:30:29 2016 +0100 wayland: Make data_source_target() an empty stub This request actually means nothing to the upper GDK layers, we used to preempt a GDK_SELECTION_REQUEST event, but this is too eager, and not like things work in X11. Originally in wayland, this event may be used for feedback purposes. We however don't perform any mimetype-based feedback, so we can safely ignored. This makes data_source_send() the only place where we actually trigger GDK_SELECTION_REQUEST, this one is conceptually the same than the X11 selection request event. gdk/wayland/gdkselection-wayland.c | 26 -------------------------- 1 file changed, 26 deletions(-) commit f61965233bdd4eb725e8508849517f7865a92d5c Author: Carlos Garnacho Date: Wed Mar 9 17:28:29 2016 +0100 wayland: Allow 0-size writes in selection/dnd It's not something we should be forbidding explicitly, definitely no-op is not the best option. gdk/wayland/gdkselection-wayland.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3da4b81427e399bc194d4d24ae3de257eb258e14 Author: Carlos Garnacho Date: Wed Mar 9 17:27:07 2016 +0100 wayland: Clear more thoroughly the source-side data on dnd_finished The targets should also be unset. gdk/wayland/gdkselection-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ec2257e53c618c2e33b1e77aa62b6dd24a107c21 Author: Carlos Garnacho Date: Wed Mar 9 17:25:33 2016 +0100 wayland: Unset the source-side DnD fd after passing it to the stream The ownership is given to the stream, so unset it here. gdk/wayland/gdkselection-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 1879de1f172121fd5fbe5b66546f259c30669a0d Author: Lapo Calamandrei Date: Wed Mar 9 17:28:16 2016 +0100 Adwaita: radiobutton and checkbutton style fixes padding and margins tweaks and treat the hover when placed in popovers. gtk/theme/Adwaita/_common.scss | 10 +++++- gtk/theme/Adwaita/gtk-contained-dark.css | 53 +++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 53 +++++++++++++++++++++++--------- 3 files changed, 85 insertions(+), 31 deletions(-) commit 25b67af3409287483ced9f7b585ed1cdefb667af Author: Timm Bäder Date: Wed Mar 9 11:15:34 2016 +0100 textview: Ensure the borders fit into the allocation https://bugzilla.gnome.org/show_bug.cgi?id=763216 gtk/gtktextview.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 473e3462035f5e4f818bae6f0b56b41e40dd970b Author: Lapo Calamandrei Date: Wed Mar 9 15:35:25 2016 +0100 Adwaita: added a border to sidebars... ...hopefully when needed. By default I assume a left hand side placement on ltr languages and the opposite in rtl, for other placements left/right style classes can be used. gtk/theme/Adwaita/_common.scss | 34 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 25 ++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 25 ++++++++++++++--------- 3 files changed, 62 insertions(+), 22 deletions(-) commit ed5468e81ce3fe2d75703cfd51481986902f5165 Author: Matthias Clasen Date: Wed Mar 9 08:58:23 2016 -0500 window: Avoid excessive resizing with popovers Under Wayland, popovers use subsurfaces, and we end up getting configure events for these delivered to the toplevel they're in. To avoid triggering resize loops, ignore configure events that are not for the toplevel window itself. https://bugzilla.gnome.org/show_bug.cgi?id=763351 gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 9ab920164ab50393a68f4b024c89f65c2c516884 Author: Lapo Calamandrei Date: Tue Mar 8 20:39:24 2016 +0100 Adwaita: regenerate css since a bit was missing from the previous commit gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 2 files changed, 4 deletions(-) commit 8508ea1554d6a2767319170a8e72f60398106630 Author: Lapo Calamandrei Date: Tue Mar 8 20:09:18 2016 +0100 Adwaita: add a top border to actionbars gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 5 deletions(-) commit 5923b73fc1c48a29f4589b541651efc9d6fd1f1d Author: Lapo Calamandrei Date: Tue Mar 8 19:55:35 2016 +0100 Adwaita: make links on infobars visible gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 12 +++++++++++- gtk/theme/Adwaita/gtk-contained.css | 12 +++++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) commit c62862f552236992de6547280ff5ac00c52e8500 Author: Marek Černocký Date: Tue Mar 8 18:58:13 2016 +0100 Updated Czech translation po-properties/cs.po | 2407 +++++++++++++++++++++++++-------------------------- 1 file changed, 1199 insertions(+), 1208 deletions(-) commit c0ac2b849d8e6355f2ebc48febe9fd479d02fe51 Author: Marek Černocký Date: Tue Mar 8 18:45:50 2016 +0100 Updated Czech translation po/cs.po | 1255 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 663 insertions(+), 592 deletions(-) commit bd581bebede3212e32670e4a551ca23255f1baf6 Author: Stas Solovey Date: Tue Mar 8 17:39:22 2016 +0000 Updated Russian translation po/ru.po | 421 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 212 insertions(+), 209 deletions(-) commit 7822f59a861abe6a29c15823964c7ea1892c265c Author: Takao Fujiwara Date: Tue Mar 8 22:18:06 2016 +0900 Set VirtualBox USB Tablet to GDK_SOURCE_MOUSE The virtual host assigns the name of the mouse device to "VirtualBox USB Tablet" in VirtualBox and we'd use that device as mouse. If not, GtkTooltip is not enabled. https://bugzilla.gnome.org/show_bug.cgi?id=763017 gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 6fdf1e4462e1a69995bdcd71aa9de1071216b3f6 Author: Lapo Calamandrei Date: Tue Mar 8 16:06:55 2016 +0100 Adwaita: path-bar style fixes what we used to do here doesn't really work anymore, so this adapt to gtk+ and theme changes. gtk/theme/Adwaita/_common.scss | 22 ++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 23 +++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 23 +++++++++++++---------- 3 files changed, 40 insertions(+), 28 deletions(-) commit b7fd0147f795351c5dd31558ce43e99b1ddb1875 Author: Matthias Clasen Date: Tue Mar 8 08:53:18 2016 -0500 gtk-demo: Fix a typo demos/gtk-demo/application_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4357c22a89b5f08b481d1e8fd24ca23bcbc7a303 Author: Matthias Clasen Date: Tue Mar 8 08:52:13 2016 -0500 gtk-demo: Update foreigndrawing example some more The scrollbar changes need to take the theme's negative margins into account. demos/gtk-demo/foreigndrawing.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 01ad22df1fe7d9eb3b9e56bedf67ba12999e9d14 Author: Lapo Calamandrei Date: Tue Mar 8 14:26:28 2016 +0100 Adwaita: vertical paddings on menu mostly to fix combobox menu positioning, looks nice anyway. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit fdd3c912a0b08573bd8efefe6d40fa00d805196b Author: Matthias Clasen Date: Tue Mar 8 08:13:56 2016 -0500 gtk-demo: Try to fix foreigndrawing scrollbars The node hierarchy and sizing has changed with the gadgetization of range widgets. demos/gtk-demo/foreigndrawing.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 1f3c93583a4fc3db1f8d9d085c7f2214365843c5 Author: Lapo Calamandrei Date: Tue Mar 8 14:00:01 2016 +0100 Adwaita: fix a typo gtk/theme/Adwaita/_common.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit db485305e4abe80083064ea545492f45488f3c65 Author: Мирослав Николић Date: Tue Mar 8 09:50:33 2016 +0100 Updated Serbian translation po/sr.po | 3 +-- po/sr@latin.po | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) commit 6e17ed2dca1a2cac86bab15d6391ddc403896103 Author: Мирослав Николић Date: Tue Mar 8 09:48:24 2016 +0100 Updated Serbian translation po/sr.po | 4 ++-- po/sr@latin.po | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 450287fc9f9195015f9fa87c957d596c8d462689 Author: Мирослав Николић Date: Tue Mar 8 09:46:13 2016 +0100 Updated Serbian translation po/sr.po | 648 ++++++++++++++++++++++++++------------------------------- po/sr@latin.po | 648 ++++++++++++++++++++++++++------------------------------- 2 files changed, 586 insertions(+), 710 deletions(-) commit 24535e24842d9e6c02bfa5804ddc3b9ad9f589b7 Author: Balázs Úr Date: Tue Mar 8 07:42:18 2016 +0000 Updated Hungarian translation po/hu.po | 540 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 250 insertions(+), 290 deletions(-) commit 15c9b3e69271364016832eabb1bb0137bb3d7f53 Author: Chun-wei Fan Date: Tue Mar 8 13:00:49 2016 +0800 GDK-Win32: Make update_stye_bits() available within the backend Other portions of the GDK-Win32 backend make use of this function as layered windows need to be disabled for GL windows and possibly other parts, so make this function a private function that is available within the backend. https://bugzilla.gnome.org/show_bug.cgi?id=763285 gdk/win32/gdkglcontext-win32.c | 4 ++-- gdk/win32/gdkwindow-win32.c | 21 ++++++++++----------- gdk/win32/gdkwindow-win32.h | 2 ++ 3 files changed, 14 insertions(+), 13 deletions(-) commit 3f190e0fa6c2c6e00cc9e0de2627b711539dc1e8 Author: Chun-wei Fan Date: Sat Mar 5 11:34:16 2016 +0800 Win32: Disable layered windows for GL Layered windows and GL do not work well together, so disable layered windows when initiating a GdkGLContext, so that GtkGLArea programs can run properly. Also based on patch by LRN to address the issue. https://bugzilla.gnome.org/show_bug.cgi?id=763080 gdk/win32/gdkglcontext-win32.c | 29 +++++++++++++++++++++++++++++ gdk/win32/gdkwindow-win32.c | 14 +++++++++++--- gdk/win32/gdkwindow-win32.h | 3 +++ 3 files changed, 43 insertions(+), 3 deletions(-) commit 18f81d5da80fde84c0f65ac0d525c7aa4e77a199 Author: Dušan Kazik Date: Mon Mar 7 20:32:48 2016 +0000 Updated Slovak translation po/sk.po | 701 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 351 insertions(+), 350 deletions(-) commit d173b69740bda40eb49ff513230337accbc288e5 Author: Piotr Drąg Date: Mon Mar 7 19:54:44 2016 +0100 Updated Polish translation po/pl.po | 679 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 331 insertions(+), 348 deletions(-) commit 717e88282bad968d29c10e16027fcaf309edfbff Author: Piotr Drąg Date: Mon Mar 7 19:35:35 2016 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 3015f46170a9573c871163ecc65500f3ac9937ac Author: Matthias Clasen Date: Mon Mar 7 10:50:43 2016 -0500 Fix another installed test typo This one was causing us to install invalid .test files and thereby breaking all continuous tests :-( testsuite/tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 13a94b66b6d4381554658657b1937b8f44be8b21 Author: Matthias Clasen Date: Mon Mar 7 07:48:29 2016 -0500 Sync default double-click time with GNOME The default value for the double-click key in the org.gnome.settings-daemon.peripherals.mouse schema is 400. Use the same value as the declared default for the gtk-double-click-time GTK+ setting, to avoid pointless differences in corner cases. https://bugzilla.gnome.org/show_bug.cgi?id=720950 gdk/wayland/gdkscreen-wayland.c | 2 +- gtk/gtksettings.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1388b111a8177b463ab89d1a5dc8f3f29e37288a Author: Matthias Clasen Date: Mon Mar 7 07:35:36 2016 -0500 wayland: Implement gtk-keynav-use-caret setting This is anticipating the gsetting that will be introduced in https://bugzilla.gnome.org/show_bug.cgi?id=763123 gdk/wayland/gdkscreen-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 8a1da5639312afffb4492b0e87a64c2005c010c6 Author: Matthias Clasen Date: Mon Mar 7 07:28:56 2016 -0500 Fix a typo This was causing the tools tests to not be installed and, consequently, never run on continuous. testsuite/tools/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4551bddf52d6b5ae00607f6f70b8a536a17eff1 Author: Daniel Mustieles Date: Mon Mar 7 10:55:19 2016 +0000 Updated Spanish translation po/es.po | 744 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 352 insertions(+), 392 deletions(-) commit 0f5a95e712940fdaefe0f756b95a30f125f2d5f0 Author: Daniel Mustieles Date: Mon Mar 7 10:54:56 2016 +0000 Updated Spanish translation po-properties/es.po | 806 ++++++++++++++++++++++++++-------------------------- 1 file changed, 405 insertions(+), 401 deletions(-) commit 2589e508980d3bc4c754d74a75e7e583be7ad38f Author: Марко М. Костић Date: Mon Mar 7 11:43:07 2016 +0100 Updated Serbian translation po-properties/sr.po | 1020 ++++++++++++++++++++++----------------------- po-properties/sr@latin.po | 1020 ++++++++++++++++++++++----------------------- 2 files changed, 1002 insertions(+), 1038 deletions(-) commit 02dd97fcd00ee1702ce12a38df3f7faf85bfebef Author: Rafael Fontenelle Date: Mon Mar 7 05:43:39 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 529 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 265 insertions(+), 264 deletions(-) commit aa193ce4a4485ab37f703ea44e6342580a3d3eb6 Author: Matthias Clasen Date: Sun Mar 6 20:41:28 2016 -0500 inspector: UI refresh The sidebar in the object page was using up more space than it deserves. Replace it with a combo box in the subheader. Now that we have more space, put the CSS node tree and the style properties in the same page again. gtk/inspector/Makefile.inc | 2 + gtk/inspector/actions.c | 9 - gtk/inspector/actions.ui | 9 - gtk/inspector/css-node-tree.c | 71 -------- gtk/inspector/css-node-tree.ui | 86 +-------- gtk/inspector/gestures.c | 19 +- gtk/inspector/gtkstackcombo.c | 239 +++++++++++++++++++++++++ gtk/inspector/gtkstackcombo.h | 46 +++++ gtk/inspector/init.c | 2 + gtk/inspector/magnifier.c | 73 +++++++- gtk/inspector/magnifier.ui | 41 ----- gtk/inspector/menu.c | 9 - gtk/inspector/menu.ui | 9 - gtk/inspector/misc-info.c | 7 - gtk/inspector/misc-info.ui | 10 +- gtk/inspector/object-hierarchy.c | 6 - gtk/inspector/object-hierarchy.ui | 13 +- gtk/inspector/prop-list.c | 44 +++-- gtk/inspector/prop-list.ui | 57 ------ gtk/inspector/selector.c | 6 - gtk/inspector/selector.ui | 12 +- gtk/inspector/signals-list.c | 94 ++++++++-- gtk/inspector/signals-list.ui | 57 +----- gtk/inspector/size-groups.c | 13 +- gtk/inspector/window.c | 44 ++++- gtk/inspector/window.h | 3 + gtk/inspector/window.ui | 362 +++++++++++++++++++++++++------------- 27 files changed, 766 insertions(+), 577 deletions(-) commit 4b5bcdeaa5470581eaeefbf35f251fb17e904809 Author: Matthias Clasen Date: Sun Mar 6 21:41:46 2016 -0500 inspector: Drop the per-object CSS editor The global editor is good enough for all uses. gtk/inspector/css-editor.c | 233 ++++----------------------------------------- gtk/inspector/window.c | 2 - gtk/inspector/window.h | 1 - gtk/inspector/window.ui | 10 -- 4 files changed, 19 insertions(+), 227 deletions(-) commit 9509bbb4a10bcd9747487cac4f2529bbd9c8f5e0 Author: Cosimo Cecchi Date: Sun Mar 6 11:08:49 2016 -0800 range: remove unneeded gtk_widget_queue_draw() gtk/gtkrange.c | 1 - 1 file changed, 1 deletion(-) commit c4615eff7b3f30a588d746a4f99db0ec21f2fdcc Author: Cosimo Cecchi Date: Sun Mar 6 10:51:29 2016 -0800 range: rename function The function queues an allocation now, not a draw. gtk/gtkrange.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit de1c4bad6fedd6c18c88676cffe0998e1133b8c7 Author: Cosimo Cecchi Date: Sun Mar 6 10:41:34 2016 -0800 range: remove duplicated code This is already called by range_grab_add(). gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit d9db3294968e1c748d162c82fcbe908f3ce3a99b Author: Cosimo Cecchi Date: Sun Mar 6 10:36:43 2016 -0800 scale: trivial code cleanup gtk/gtkscale.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit f294bdc80336e481d59c9b44efe85066a6b3b5e4 Author: Cosimo Cecchi Date: Sun Mar 6 00:27:58 2016 -0800 scale: deprecate value-spacing style property Nothing uses it now. gtk/gtkscale.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit a9b50b6f69493ad15806673420d3ce738e5c361a Author: Cosimo Cecchi Date: Sat Mar 5 21:08:47 2016 -0800 scale: port scale values to gadgets And add a default color like it was before. This also fixes other issues with scale values interacting with scale mark labels, which were buggy at least since 3.18. gtk/gtkrange.c | 6 + gtk/gtkrangeprivate.h | 1 + gtk/gtkscale.c | 451 +++++++++++++++++++------------ gtk/theme/Adwaita/_common.scss | 2 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 + gtk/theme/Adwaita/gtk-contained.css | 2 + 6 files changed, 285 insertions(+), 179 deletions(-) commit 27b53b58c308e36332dc407c48d565eaa2cc79ae Author: Balázs Úr Date: Sun Mar 6 18:27:26 2016 +0000 Updated Hungarian translation po-properties/hu.po | 576 ++++++++++++++++++++++++++-------------------------- 1 file changed, 290 insertions(+), 286 deletions(-) commit 94f0cef6fc58afe49d789809574c8f5cc5759f50 Author: Matthias Clasen Date: Sun Mar 6 10:23:49 2016 -0500 Minor documentation improvement https://bugzilla.gnome.org/show_bug.cgi?id=583780 gtk/gtktogglebutton.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4ab91f09cf0b225d399bcc0d19df9fc91aabbe5c Author: Matthias Clasen Date: Sat Mar 5 23:41:10 2016 -0500 spin button: Limit the entry width to reasonable values When opening the value editor for any GtkAdjustment properties in the inspector, the popover stretches out for miles, since it reserves enough space to draw MAXDOUBLE. This is not useful. Limit the space we reserve to 8 digits. gtk/gtkspinbutton.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 6d1cdaff7e2dce4175aea33eed24d677d96c4de9 Author: Matthias Clasen Date: Sat Mar 5 23:36:54 2016 -0500 gtk-demo: Use Add an example of use in the builder example. demos/gtk-demo/demo.ui | 1 + 1 file changed, 1 insertion(+) commit 9c0e4c174aaae4968bc1970082fdef3183136729 Author: Matthias Clasen Date: Sat Mar 5 23:34:50 2016 -0500 builder: Allow 'primary' as a modifier value Support aliases for flags values in GtkBuilder, and use this to support the special value 'primary' for GdkModifierType values. https://bugzilla.gnome.org/show_bug.cgi?id=699891 gtk/deprecated/gtkactiongroup.c | 1 + gtk/gtkbuilder.c | 23 ++++++++++++++++++++--- gtk/gtkbuilderparser.c | 2 +- gtk/gtkbuilderprivate.h | 9 +++++---- gtk/gtkwidget.c | 9 ++++++++- 5 files changed, 35 insertions(+), 9 deletions(-) commit 27a6183b98e3769a15add5dc0ef0ed7cbb6b65bc Author: Cosimo Cecchi Date: Sat Mar 5 19:08:14 2016 -0800 range: simplify calculation gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82421824042131b52f417211412acaccc7e85717 Author: Cosimo Cecchi Date: Sat Mar 5 19:07:55 2016 -0800 range: move declarations to inner block Where they're needed. gtk/gtkrange.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit 990bd03c35bba68424865f2a76a97eeb3e27d31d Author: Cosimo Cecchi Date: Sat Mar 5 19:04:41 2016 -0800 range: use a fixed offset for mark "snap" size Instead of making it dependent on the slider size. gtk/gtkrange.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 6efe1f411a809b04836d13995b1fccbf32f6d092 Author: Cosimo Cecchi Date: Sat Mar 5 18:56:14 2016 -0800 Revert "range: use border box for slider area" Since it causes problems with event coordinates. This reverts commit 0883ff5eedf73b1197f2a49fb7e55ce227917335. gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d866f364d12c4440559085abe39d8ed38f732480 Author: Anders Jonsson Date: Sat Mar 5 23:03:05 2016 +0000 Updated Swedish translation po-properties/sv.po | 816 ++++++++++++++++++++++++++-------------------------- 1 file changed, 410 insertions(+), 406 deletions(-) commit 6338c5ee7c4b06be9b6b286a3c98cf232e500824 Author: Matej Urbančič Date: Sat Mar 5 22:37:17 2016 +0100 Updated Slovenian translation po-properties/sl.po | 3105 +++++++++++++++++++++++++++------------------------ 1 file changed, 1641 insertions(+), 1464 deletions(-) commit 4f76a89de0315ff9367ef71d0217142cae2d62a5 Author: Matej Urbančič Date: Sat Mar 5 22:33:50 2016 +0100 Updated Slovenian translation po/sl.po | 1831 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1082 insertions(+), 749 deletions(-) commit 5c248bbd79d2c339d776adf9c899fe2afff30394 Author: Matthias Clasen Date: Sat Mar 5 15:48:40 2016 -0500 Make the settings test fail Small thinko: We only get to see the test artifacts in continuous if the test fails. So make it fail, temporarily. testsuite/tools/test-settings.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 31fd41e547d96f361e325fe4b06bd1f9d735a7ab Author: Cosimo Cecchi Date: Sat Mar 5 12:04:52 2016 -0800 Adwaita: fix glitch in fine-tune scrollbar theming The fine-tune mode should not change the overall dimensions of the scrollbar. gtk/theme/Adwaita/_common.scss | 12 ++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++++-- gtk/theme/Adwaita/gtk-contained.css | 7 +++++-- 3 files changed, 18 insertions(+), 8 deletions(-) commit 3608d042e091bf965ec27fe5be109ffde9a3b9ed Author: Stas Solovey Date: Sat Mar 5 19:56:37 2016 +0000 Updated Russian translation po-properties/ru.po | 611 +++++++++++++++++++++++++--------------------------- 1 file changed, 292 insertions(+), 319 deletions(-) commit bdeff73bec2d860e4dfb49bb62f57c6b38406303 Author: Matej Urbančič Date: Sat Mar 5 20:56:06 2016 +0100 Updated Slovenian translation po-properties/sl.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit f77407e19a6cea89cce6ef2e7418432100d2a9e8 Author: Matej Urbančič Date: Sat Mar 5 20:49:05 2016 +0100 Updated Slovenian translation po-properties/sl.po | 1348 +++++++++++++++++++++++++-------------------------- 1 file changed, 653 insertions(+), 695 deletions(-) commit c1b8aee5c2eeb8e299b8ff580d387de2edd465d6 Author: Aurimas Černius Date: Sat Mar 5 21:37:17 2016 +0200 Updated Lithuanian translation po-properties/lt.po | 728 ++++++++++++++++++++++++++-------------------------- 1 file changed, 366 insertions(+), 362 deletions(-) commit 8f254814064cd23ae1467c75538cd78c38cba11c Author: Paolo Borelli Date: Sat Mar 5 19:02:15 2016 +0100 win32: use a struct for the event source This removes the event_poll_fd global variable and the (ab)use of get_default_display. It is also more consistent with other backends. Also store display gdk/win32/gdkdisplay-win32.c | 2 +- gdk/win32/gdkevents-win32.c | 71 +++++++++++++++++++++++--------------------- gdk/win32/gdkprivate-win32.h | 2 +- 3 files changed, 39 insertions(+), 36 deletions(-) commit 58a49c1a4bfaf36dc52dc8ff4ad1c91c85277967 Author: Paolo Borelli Date: Sat Mar 5 19:43:32 2016 +0100 win32: fix "unused variable" warning gdk/win32/gdkdevice-virtual.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 6066519e73085ea587870e30c83cc3e962ea5a45 Author: Rafael Fontenelle Date: Sat Mar 5 19:05:56 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 941 +++++++++++++++++++++++++------------------------ 1 file changed, 471 insertions(+), 470 deletions(-) commit d69100547c472ef27991db4e2f85941467d5d5c7 Author: Matthias Clasen Date: Sat Mar 5 13:47:41 2016 -0500 testsuite: Remove a test that isn't valid with csd With csd, the allocation of the window will be larger than the default size, since it includes borders and decorations. Just remove this check. testsuite/gtk/window.c | 3 --- 1 file changed, 3 deletions(-) commit b2e6ad640dc00acbe790cf48d110af08eb9b61e1 Author: Matthias Clasen Date: Sat Mar 5 13:41:47 2016 -0500 Add a test that dumps settings This is not much of a test, tbh. But it will give us a convenient dump of all GTK+ settings in continuous, which helps with tracking down test failures that might depend on settings. testsuite/tools/Makefile.am | 13 ++++++++++--- testsuite/tools/test-settings.in | 17 +++++++++++++++++ 2 files changed, 27 insertions(+), 3 deletions(-) commit 434b08fe2498017822ea22be5c5e1b8d9b434cd6 Author: Matthias Clasen Date: Sat Mar 5 12:15:42 2016 -0500 status icon: Prevent size dithering We're seeing loops where the size of some status icons constantly dithers between 24 and 25. Since I couldn't track down exactly where the one extra pixel comes from, just stop reacting to single-pixel size changes. https://bugzilla.gnome.org/show_bug.cgi?id=758893 gtk/deprecated/gtkstatusicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 213108b64f10764dd65a68f43372c6b2e693dc28 Author: Matthias Clasen Date: Sat Mar 5 12:11:05 2016 -0500 Minor cleanup The GtkStatusIcon::size-changed signal expects a boolean return. tests/teststatusicon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8a62a36d2e875016c2ddf12199020c42f3f1b179 Author: Matthias Clasen Date: Sat Mar 5 10:39:07 2016 -0500 Update a11y test output These tests can now assume that the csd header bar will be there. testsuite/a11y/menu.txt | 8 ++++++++ testsuite/a11y/menubutton.txt | 8 ++++++++ testsuite/a11y/menubutton2.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menubutton3.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menus.txt | 8 ++++++++ testsuite/a11y/scale-drawvalue.txt | 8 ++++++++ testsuite/a11y/tooltips.txt | 8 ++++++++ 7 files changed, 82 insertions(+), 26 deletions(-) commit 6ce3c78b7a59aa2fb95ae05326b7bea3f4dfa9c2 Author: Matthias Clasen Date: Sat Mar 5 10:38:23 2016 -0500 Run accessibility tests always with CSD This avoids differences in the output that are caused by the presence or absence of the header bar. testsuite/a11y/a11ytests.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 499c20d85f01111d913af0b90643150bdc2dfed7 Author: Piotr Drąg Date: Sat Mar 5 14:47:17 2016 +0100 Updated Polish translation po-properties/pl.po | 920 ++++++++++++++++++++++++++-------------------------- 1 file changed, 462 insertions(+), 458 deletions(-) commit 154d48ef1a0544bd64fbaa70cfbdcf61a6199f43 Author: Rūdolfs Mazurs Date: Sat Mar 5 12:36:09 2016 +0200 Update Latvian translation po-properties/lv.po | 3127 ++++++++++++++++++++++++++------------------------- po/lv.po | 2137 ++++++++++++++++++----------------- 2 files changed, 2674 insertions(+), 2590 deletions(-) commit 251810ff404bb8c96dfcbcd7f51bbf305e49475c Author: Matthias Clasen Date: Sat Mar 5 00:35:08 2016 -0500 inspector: Avoid pointless selections The CSS selector and the class hierarchy are purely informative, no need to select anything here. gtk/inspector/object-hierarchy.ui | 5 +++++ gtk/inspector/selector.ui | 5 +++++ 2 files changed, 10 insertions(+) commit e69c1c5a9b0afd658680bbfdef30620ce94dcba5 Author: Matthias Clasen Date: Sat Mar 5 00:34:39 2016 -0500 inspector: More grid lines I had forgotten the css property list. gtk/inspector/css-node-tree.ui | 1 + 1 file changed, 1 insertion(+) commit 360bad68651816b1af0ea8a018384ad4877eeab9 Author: Matthias Clasen Date: Sat Mar 5 00:29:06 2016 -0500 inspector: Some ui refinements Remove pointless expanders from lists, add grid lines and, in some places, tree lines. gtk/inspector/css-node-tree.ui | 1 + gtk/inspector/object-hierarchy.ui | 3 +++ gtk/inspector/object-tree.ui | 1 + gtk/inspector/prop-list.ui | 1 + gtk/inspector/resource-list.ui | 1 + gtk/inspector/selector.ui | 2 ++ gtk/inspector/signals-list.ui | 1 + 7 files changed, 10 insertions(+) commit fa36f34fcf23dbcf9923031b774483d234a97a3f Author: Matthias Clasen Date: Fri Mar 4 23:51:39 2016 -0500 Update expected output of a11y tests The window type attribute shows up here now. The caret mode changes also affect some tests. testsuite/a11y/about.txt | 1 + testsuite/a11y/accessible-name.txt | 1 + testsuite/a11y/actionbar.txt | 1 + testsuite/a11y/assistant.txt | 1 + testsuite/a11y/buttons.txt | 1 + testsuite/a11y/calendar.txt | 1 + testsuite/a11y/colorchooser.txt | 1 + testsuite/a11y/combos.txt | 1 + testsuite/a11y/entries.txt | 1 + testsuite/a11y/expander.txt | 1 + testsuite/a11y/headerbar.txt | 1 + testsuite/a11y/hello-world.txt | 1 + testsuite/a11y/iconview.txt | 1 + testsuite/a11y/infobar.txt | 1 + testsuite/a11y/label.txt | 1 + testsuite/a11y/link.txt | 1 + testsuite/a11y/listbox.txt | 1 + testsuite/a11y/lockbutton.txt | 1 + testsuite/a11y/menu.txt | 1 + testsuite/a11y/menubutton.txt | 1 + testsuite/a11y/menubutton2.txt | 1 + testsuite/a11y/menubutton3.txt | 1 + testsuite/a11y/menus.txt | 1 + testsuite/a11y/messagedialog.txt | 8 ++++---- testsuite/a11y/mnemonic.txt | 1 + testsuite/a11y/notebook.txt | 1 + testsuite/a11y/paned.txt | 1 + testsuite/a11y/pickers.txt | 1 + testsuite/a11y/placeholder-text.txt | 1 + testsuite/a11y/progress.txt | 1 + testsuite/a11y/range.txt | 1 + testsuite/a11y/scale-drawvalue.txt | 1 + testsuite/a11y/spinner.txt | 1 + testsuite/a11y/stack.txt | 1 + testsuite/a11y/statusbar.txt | 1 + testsuite/a11y/text.txt | 1 + testsuite/a11y/tooltips.txt | 1 + testsuite/a11y/tree.txt | 1 + 38 files changed, 41 insertions(+), 4 deletions(-) commit 2b1fc6166c626601c07e2e2e19235c74b0174672 Author: Matthias Clasen Date: Fri Mar 4 23:50:50 2016 -0500 a11y: Expose window type hint as attribute This was an old request, maybe still useful. https://bugzilla.gnome.org/show_bug.cgi?id=468122 gtk/a11y/gtkwindowaccessible.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 92662828ba43c2d3507bb8f4dc253f2f429e91ae Author: Matthias Clasen Date: Fri Mar 4 22:39:31 2016 -0500 messagedialog: Respect the gtk-keynav-use-caret setting We used to always make the labels in message dialogs selectable, which is a bit problematic wrt. to keynav - the label can unexpectedly 'turn blue', which irritates some people. With the new gtk-keynav-use-caret setting, we can now only make the labels selectable when it is required for accessibilty reasons. gtk/gtkmessagedialog.c | 7 +++++++ gtk/ui/gtkmessagedialog.ui | 2 -- 2 files changed, 7 insertions(+), 2 deletions(-) commit d8dee2952a388a90b07be148ba0ac754ba8567d1 Author: Matthias Clasen Date: Fri Mar 4 22:30:51 2016 -0500 gdk: Add an X setting for gtk-keynav-use-caret This will let us toggle the use-caret setting session-wide. gdk/x11/gdksettings.c | 1 + 1 file changed, 1 insertion(+) commit 5c0b589acda33a9eec07a84847ab8a7efb4fb803 Author: Matthias Clasen Date: Fri Mar 4 22:27:02 2016 -0500 text view: Respect gtk-keynav-use-caret When the gtk-keynav-use-caret setting is TRUE, make the cursor visible regardless of the cursor-visible property. gtk/gtktextview.c | 55 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 35 insertions(+), 20 deletions(-) commit c9371f6a185fe1fef1669ffb52a4c4964478042a Author: Matthias Clasen Date: Fri Mar 4 22:25:37 2016 -0500 Add a gtk-keynav-use-caret mode setting For accessibility reasons, it is useful to have a global setting that makes carets visible in all text. https://bugzilla.gnome.org/show_bug.cgi?id=602526 https://bugzilla.gnome.org/show_bug.cgi?id=762799 gtk/gtksettings.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit f3e068bb31fffa6e647d021d334ee578049e9a4d Author: Cosimo Cecchi Date: Fri Mar 4 18:11:30 2016 -0800 range: avoid setting slider coordinates to negative numbers This can happen if the theme sets a negative margin, but the coordinate should never be negative. gtk/gtkrange.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fce344d31f57797f874ef107fb41c1ab342ec484 Author: Cosimo Cecchi Date: Fri Mar 4 17:59:39 2016 -0800 range: factor out a function We're going to modify this in the next commit. gtk/gtkrange.c | 58 ++++++++++++++++++++++++---------------------------------- 1 file changed, 24 insertions(+), 34 deletions(-) commit 7f9223b0c8a73fc6f1aa9cd8a9f60958d9880686 Author: Matthias Clasen Date: Fri Mar 4 20:49:10 2016 -0500 gtk-demo: Fix up the inline-toolbar example The inline toolbar in the style classes demo should use the icons toolbar-style to ensure that the buttons are square. demos/gtk-demo/theming.ui | 1 + 1 file changed, 1 insertion(+) commit b84cf5f3491b84d243ec633c878202175f45a0a5 Author: Matthias Clasen Date: Fri Mar 4 20:48:13 2016 -0500 tool button: Update style classes When changing tool button contents according to the toolbar-style property, we need to update the style classes to ensure that the visual style matches. https://bugzilla.gnome.org/show_bug.cgi?id=760560 gtk/gtktoolbutton.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5a42c2e478ba21ca2d35cdc6c9c8b7afc7c6897f Author: Cosimo Cecchi Date: Fri Mar 4 17:28:04 2016 -0800 range: fix warning for gadget slider The slider is not HFW/WFH - just pass -1 to get rid of the warnings. gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cdc580463e409a9b7e5f1480afa68d875ff3ff65 Author: Olivier Fourdan Date: Fri Mar 4 21:29:25 2016 +0100 gtkwindow: default size with fixed size windows Allow fixed size windows with a default size to grow or shrink as the content requires, but not smaller than the given default size. https://bugzilla.gnome.org/show_bug.cgi?id=762974 gtk/gtkwindow.c | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) commit 046a4a6e0fbb57096f05b537248095c9c32c6744 Author: Ray Strode Date: Fri Mar 4 11:10:18 2016 -0500 gtkapplication-dbus: use application id instead of prgname for SM gnome-session takes an "app id" for client and inhibitor registration, This app id is supposed to be a desktop file id (complete with the .desktop extension), but gtk+ currently uses g_get_prgname (). This commit changes gtkapplication to use the application id instead, which is a much more natural fit. gnome-session is going to be updated to stop using the .desktop extension, too, so everything is consistent. https://bugzilla.gnome.org/show_bug.cgi?id=763106 gtk/gtkapplication-dbus.c | 10 +++------- gtk/gtkapplicationprivate.h | 1 - 2 files changed, 3 insertions(+), 8 deletions(-) commit fdde27ea9ced5b8489127ed69e00f9ca363c799f Author: Carlos Soriano Date: Mon Feb 29 23:13:51 2016 +0100 gtkplacessidebar: add new other locations with flags signal We weren't using the open flags on the other locations signal, which makes impossible for applications like nautilus to act in the same way that for any other location where the user can choose between opening in the current view, in a new window or in a new tab. Add a new signal with an open flags parameter and deprecate the other-location signal. https://bugzilla.gnome.org/show_bug.cgi?id=754743 gtk/gtkfilechooserwidget.c | 7 +++-- gtk/gtkplacessidebar.c | 66 +++++++++++++++++++++++++++++++++++++----- gtk/ui/gtkfilechooserwidget.ui | 2 +- 3 files changed, 64 insertions(+), 11 deletions(-) commit fec0c4c201cc26f6b43c64e5e8e844f8a553527b Author: Carlos Soriano Date: Mon Feb 29 22:12:03 2016 +0100 Revert "gtkplacessidebar: add open flags to other locations" This reverts commit 63a204e1c5b6c since it broke the API. We will add a new signal instead in an upcomming patch. https://bugzilla.gnome.org/show_bug.cgi?id=754743 README.in | 5 ----- gtk/gtkfilechooserwidget.c | 1 - gtk/gtkplacessidebar.c | 15 ++++----------- 3 files changed, 4 insertions(+), 17 deletions(-) commit 303fdfbe8b2eed8c3af76d351c0f85fbb60e3170 Author: Lapo Calamandrei Date: Sat Mar 5 02:09:22 2016 +0100 Adwaita: treeview column header scrollbar top border add a top border in vertical scrollbars in treeviews. gtk/theme/Adwaita/_common.scss | 7 ++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 22 insertions(+), 17 deletions(-) commit aadbabf9987705be959074f97f923cc4923b8d6a Author: Matthias Clasen Date: Fri Mar 4 20:01:57 2016 -0500 wayland: Don't crash with offscreen windows Use gdk_window_get_effective_toplevel when looking for a suitable transient parent, to skip over offscreen windows that we might encounter in the window tree. This fixes a crash in glade. https://bugzilla.gnome.org/show_bug.cgi?id=763110 gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eef31532650e64f542d53508cb5137312bc4af39 Author: Lapo Calamandrei Date: Sat Mar 5 02:01:16 2016 +0100 Adwaita: shrink scroolbars erroneusly pushed 15px scrollbars with the previous commit, back to 13px now. gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 18 +++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 18 +++++++++++------- 3 files changed, 26 insertions(+), 18 deletions(-) commit 035ce8f18d7b472a20cf1ced7c1348c4390aac18 Author: Lapo Calamandrei Date: Sat Mar 5 01:50:18 2016 +0100 Adwaita: fix a typo gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 0c987f94c8a870a154288b52322066bf2cae9a1c Author: Lapo Calamandrei Date: Sat Mar 5 01:39:13 2016 +0100 Adwaita: scrollbar style rewrite works correctly with the new gadgettified GtkRange Cosimo nicelly delivered, as a bonus steppers are styled for overlay indicator usage as well. gtk/theme/Adwaita/_colors.scss | 6 +- gtk/theme/Adwaita/_common.scss | 203 +++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 212 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 212 +++++++++++++++++++------------ 4 files changed, 382 insertions(+), 251 deletions(-) commit 756ca384426920b674c777e51309f7a542172d5e Author: Stas Solovey Date: Fri Mar 4 21:41:52 2016 +0000 Updated Russian translation po-properties/ru.po | 3049 +++++++++++++++++++++++++++------------------------ 1 file changed, 1590 insertions(+), 1459 deletions(-) commit 7ff2f451cee5dfbedbcf4646f3a43cd34a31f0ca Author: Cosimo Cecchi Date: Fri Mar 4 11:56:08 2016 -0800 range: add positional style classes to fill/highlight Requested by Lapo. gtk/gtkrange.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 78 insertions(+), 14 deletions(-) commit 832742e1f3b426329c843302c871903cd1f68a38 Author: Matthias Clasen Date: Fri Mar 4 14:34:03 2016 -0500 x11: Trap errors around an XRandr call Apparently, we can get X errors here. Ignore them. https://bugzilla.gnome.org/show_bug.cgi?id=762907 gdk/x11/gdkscreen-x11.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit adcd1ce2d325c7b3bc0edc8c319bf4ab480d215b Author: Olivier Fourdan Date: Fri Mar 4 10:34:12 2016 +0100 gtkwindow: windows with a fixed size can shrink One important aspect of non-resizable windows that we need to preserve is that they shrink when their content requires less size. Previous changes to allow the default size to be applied to fixed size windows would have prevented all fixed size windows from shrinking when their content requires less size. Allow shrinking for fixed-size windows unless a default size was specified. https://bugzilla.gnome.org/show_bug.cgi?id=762974 gtk/gtkwindow.c | 61 ++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 50 insertions(+), 11 deletions(-) commit f24ac2f5abe38f6d573c97795ad6f0aab20d7177 Author: Balázs Úr Date: Fri Mar 4 19:15:05 2016 +0000 Updated Hungarian translation po-properties/hu.po | 1353 ++++++++++++++++++++++++++------------------------- 1 file changed, 678 insertions(+), 675 deletions(-) commit 59badc320e54ba496eb992d79742a9b5234014d6 Author: Lapo Calamandrei Date: Fri Mar 4 20:08:19 2016 +0100 Adwaita: shrink back scale trough like it was before the GtkRange gadgettification. gtk/theme/Adwaita/_common.scss | 30 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 122 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 122 +++++++++++++++---------------- 3 files changed, 137 insertions(+), 137 deletions(-) commit 69479ceaef67908d09b4b489a093bc4d6fa5b9a0 Author: Matthias Clasen Date: Fri Mar 4 13:54:39 2016 -0500 wayland: Clean up key repeat timeout When returning G_SOURCE_REMOVE from a callback, we need to reset the source id as well. gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 4d2e7a0314d9c2fce85004c2f82526edc3832c3e Author: Matthias Clasen Date: Fri Mar 4 13:55:33 2016 -0500 gadget: Add more details to warning All the other warnings in this file include the css node name and the gadget owners type. Be consistent about this. gtk/gtkcssgadget.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 51b83c43898d8ca534b0ee213a8a0f396d976a0a Author: Matthias Clasen Date: Fri Mar 4 13:43:19 2016 -0500 gadget: Warn if for_size is too small It does not make sense to pass a for_size into the size allocation machinery that is smaller than the min-size in that direction. Warn if it happens, so we can track it down when it occurs. gtk/gtkcssgadget.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 54858574a3f925b817c7fe4b409326774852ad9c Author: Lapo Calamandrei Date: Fri Mar 4 19:16:48 2016 +0100 Adwaita: really fix scale with marks added a min-height/width compensation too when in fine-tune mode, so scale with marks and no labels doesn't make the scale node grow when in fine-tune. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- gtk/theme/Adwaita/gtk-contained.css | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) commit 50598ee08f0c3a6a448c266a3451392c48226635 Author: Ray Strode Date: Fri Mar 4 10:02:34 2016 -0500 gtk-launch: add hack to close up dbus-daemon race If gtk-launch exits before the program it starts fully activates, then the dbus-daemon may avoid doing the activating method call. This commit works around the problem by pinging the activated application, and waiting for a reply. This is similar to the gvfs-open bug here: https://bugzilla.gnome.org/show_bug.cgi?id=746534 https://bugzilla.gnome.org/show_bug.cgi?id=763103 gtk/gtk-launch.c | 41 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 39 insertions(+), 2 deletions(-) commit 88d51a8604e55b98b5671da739ab3a31f4befb6b Author: Lapo Calamandrei Date: Fri Mar 4 18:36:36 2016 +0100 Adwaita: fix a thinko wrt fine-tune scales added a scale node padding compensation for the trough growth in fine-tune mode, so now the scale node doesn't grow anymore when mark labels are present. gtk/theme/Adwaita/_common.scss | 12 ++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 6 ++++++ 3 files changed, 22 insertions(+), 2 deletions(-) commit 7382f3c347ffa224b8f1530f532bea01dee6cb4a Author: Matthias Clasen Date: Fri Mar 4 08:50:52 2016 -0500 icon helper: Properly update on style change A GtkCssChange of NULL means 'everything changed!'. gtk/gtkiconhelper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6b2cde94b4191ab7cf3f84b3ad13978f79431c6d Author: Matthias Clasen Date: Fri Mar 4 08:01:02 2016 -0500 entry: Make progress node invisible when appropriate We were failing to do that, leading to progress not disappearing anymore after it was initially shown, in the gtk3-widget-factory entry progress example. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ccd91c9ebb20ff593e0a79a65ab57597eb53f74 Author: Cosimo Cecchi Date: Thu Mar 3 21:12:21 2016 -0800 testscale: change example to use upwards labels There's no example of that in testscale. tests/testscale.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 757b74bed929816b0bc255de4239936d5d5a3c8e Author: Cosimo Cecchi Date: Thu Mar 3 21:04:07 2016 -0800 Adwaita: fix thinko in fine-tune scale selector Marks always get class top/bottom, regardless of the scale orientation. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit bc49954b3e319c46f043200203db809c6b2b98be Author: Baurzhan Muftakhidinov Date: Fri Mar 4 04:48:34 2016 +0000 Updated Kazakh translation po/kk.po | 718 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 395 insertions(+), 323 deletions(-) commit f03efbe2c914bb87e77d32a756ef6a541bdbdc9c Author: Baurzhan Muftakhidinov Date: Fri Mar 4 04:09:51 2016 +0000 Updated Kazakh translation po-properties/kk.po | 3652 ++++++++++++++++++++++++++------------------------- 1 file changed, 1891 insertions(+), 1761 deletions(-) commit f3f998efd7538a338ca2959c21a93ec633e17737 Author: fiddlerwoaroof Date: Thu Mar 3 10:30:00 2016 -0500 Check if XRRGetOutputInfo returned a null pointer. Fixes bug 763023: in certain circumstances, XRRGetOutputInfo will return a null pointer. This commit adds a check to detect and handle this return value. gdk/x11/gdkscreen-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit 763daf44208762b80d118182bc5b5f2d6cfafc9c Author: Matthias Clasen Date: Thu Mar 3 21:28:08 2016 -0500 expander: Reinstate rtl allocation behavior In rtl mode, we must not just reverse the children, but also allocate from the right. Use the newly introduced box gadget api to achieve this. https://bugzilla.gnome.org/show_bug.cgi?id=762945 gtk/gtkexpander.c | 3 +++ 1 file changed, 3 insertions(+) commit c48f0d6f8be64955566be5760bcf227211448217 Author: Matthias Clasen Date: Thu Mar 3 21:26:39 2016 -0500 check button: Reinstate rtl allocation behavior In rtl mode, we must not just reverse the children, but also allocate from the right. Use the newly introduced box gadget api to achieve this. https://bugzilla.gnome.org/show_bug.cgi?id=762945 gtk/gtkcheckbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit c581259e06df735057fa3d606ae0b80bdb9f6feb Author: Matthias Clasen Date: Thu Mar 3 21:24:20 2016 -0500 box gadget: Add a way to allocate in reverse This is needed to preserve expected allocation behavior in rtl mode. gtk/gtkboxgadget.c | 36 ++++++++++++++++++++++++++++++------ gtk/gtkboxgadgetprivate.h | 2 ++ 2 files changed, 32 insertions(+), 6 deletions(-) commit d34161145fd314f3356813ce2726335a3067d668 Author: Piotr Drąg Date: Fri Mar 4 01:52:47 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit d46d50b7616b352e0b2e1af4acbdf13ec6a161d4 Author: Matt Watson Date: Tue Mar 1 18:26:47 2016 -0800 reftests: add a test for animated box shadow updating clip This was just fixed by 3e0694284785153944255a0501e84a76c491e4b4 testsuite/reftests/Makefile.am | 3 ++ .../reftests/box-shadow-changes-modify-clip.css | 19 ++++++++++++ .../reftests/box-shadow-changes-modify-clip.ref.ui | 23 +++++++++++++++ .../reftests/box-shadow-changes-modify-clip.ui | 34 ++++++++++++++++++++++ 4 files changed, 79 insertions(+) commit 35d970217354cb4bb092ce23d67d815fa8189962 Author: Matt Watson Date: Tue Mar 1 23:28:23 2016 -0800 reftests: rename util file frame-inhibitor We'll use the label-text-shadow-changes-modify-clip utils more generically, lets name the file after its function. testsuite/reftests/Makefile.am | 2 +- .../{label-text-shadow-changes-modify-clip.c => frame-inhibitor.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) commit 8b70115d5eeece372f6976c407ed2dbcf12818d7 Author: Timm Bäder Date: Thu Mar 3 21:04:39 2016 +0100 revealer-size: Fix animation setting Turn animations off before testing, for all test functions containing "no_animations". testsuite/gtk/revealer-size.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 00069e29975556ab6891e779e8aa3e9c6ce60421 Author: Evangelos Skarmoutsos Date: Thu Mar 3 19:02:18 2016 +0000 Updated Greek translation po-properties/el.po | 3579 +++++++++++++++++++++++++++------------------------ 1 file changed, 1863 insertions(+), 1716 deletions(-) commit a55f1113f5599d80f128cfd6d7154b4575c91ba0 Author: Руслан Ижбулатов Date: Thu Mar 3 17:22:02 2016 +0000 Remove unused variable gdk/win32/gdkwindow-win32.c | 1 - 1 file changed, 1 deletion(-) commit 95fe3ec0c9c26a7a667541b81f2a190bce9d7abc Author: Руслан Ижбулатов Date: Thu Mar 3 17:17:25 2016 +0000 GDK W32: Fix redrawing during drag-move with no composition gdk/win32/gdkwindow-win32.c | 48 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 8 deletions(-) commit e2e330db1adf4423c0f88cc92826029abd711b01 Author: Timm Bäder Date: Thu Mar 3 13:05:14 2016 +0100 revealer: Don't use TRANSITION_NONE for disabled animations If animations are disabled, the only difference we need to make is that we don't have to start the transition. Size requests should remain the same. https://bugzilla.gnome.org/show_bug.cgi?id=762996 gtk/gtkrevealer.c | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) commit 1c544e4237eaf67657260f49aec0bf2118e69767 Author: Timm Bäder Date: Thu Mar 3 13:04:58 2016 +0100 Add GtkRevealer sizing tests https://bugzilla.gnome.org/show_bug.cgi?id=762996 testsuite/gtk/Makefile.am | 1 + testsuite/gtk/revealer-size.c | 153 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 154 insertions(+) commit 8b6603bbd65fd8939c9d9337a90b1e8ed746ba65 Author: Lapo Calamandrei Date: Thu Mar 3 18:01:58 2016 +0100 Adwaita: fix a thinko about toolbar items spacing with margins gtk/theme/Adwaita/_common.scss | 19 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 133 +++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 133 +++++++++---------------------- 3 files changed, 84 insertions(+), 201 deletions(-) commit 4a729dc233cad771d577470c5130f46e44d97aa6 Author: Olivier Fourdan Date: Thu Mar 3 17:47:35 2016 +0100 gtkwindow: Fix regression with fixed size windows Previous commit to address the default size introduced a regression with fixed size windows if no default size was given, the resulting window would end up much smaller than its actual content. gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a37ea5dafdbadf35353fb79a300bf9230f1cb0b0 Author: Changwoo Ryu Date: Thu Mar 3 16:32:06 2016 +0000 Updated Korean translation po-properties/ko.po | 3587 ++++++++++++++++++++++++++------------------------- 1 file changed, 1865 insertions(+), 1722 deletions(-) commit ae2bf880a941fc9275fc8ef3fd91852e583a0cba Author: Changwoo Ryu Date: Thu Mar 3 16:12:06 2016 +0000 Updated Korean translation po/ko.po | 1949 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1030 insertions(+), 919 deletions(-) commit 08613dce92d1b0badd118c837da5013f6995e69a Author: Lapo Calamandrei Date: Thu Mar 3 16:12:20 2016 +0100 Adwaita: uniform paddings on image-buttons fixes https://bugzilla.gnome.org/show_bug.cgi?id=762811 gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 3549490aa8f9744c9165325ef6edf05222022dcb Author: Lapo Calamandrei Date: Thu Mar 3 15:58:13 2016 +0100 Adwaita: use margin for spacing widgets on toolbars kind of a workaround, this approach is pretty unmaintainable, I hope we'll get a CSS property for spacing directly on the parent container (a toolbar in this particular case). See https://bugzilla.gnome.org/show_bug.cgi?id=762397 gtk/theme/Adwaita/_common.scss | 18 ++++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 28 ++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 28 ++++++++++++++++++++++++---- 3 files changed, 62 insertions(+), 12 deletions(-) commit 0f9547258106c33b9ebf6e13b6b43df013f537ac Author: Olivier Fourdan Date: Wed Mar 2 11:10:29 2016 +0100 gtkwindow: Use default size even if not resizable If a window is not resizable (with gtk_window_set_resizable ()), the size given with gtk_window_set_default_size() is ignored. The solution to this would be to use gtk_widget_set_size_request() but that's a GtkWidget API and therefore does not take into account the client side decorations when in use with GtkWindow. Refactor the code so that gtk_window_set_default_size() (which is a GtkWindow API) gives the expected result on non-resizable windows as well. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762974 gtk/gtkwindow.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 7eb9f5f8ef13f7fa8322fa5a6be461aa7f158c69 Author: Руслан Ижбулатов Date: Sun Dec 27 03:37:21 2015 +0000 W32: Prefer CSD by default Will make GTK+ more willing to use CSD for all normal windows without being asked to. Lack of desktop composition will, of course, prevent it from using CSD (in theory). GTK_CSD=0 will force CSD to NOT to be used whenever possible (i.e. in cases where CSD is not specifically requested by a window, by design). https://bugzilla.gnome.org/show_bug.cgi?id=759899 gtk/gtkwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ba89fbd72d4557ab99182081ec2bd56ed8255e0a Author: Руслан Ижбулатов Date: Tue Mar 1 03:40:36 2016 +0000 GDK W32: Set default cursor from our own theme right away Otherwise WM-dependent default cursor is used, which does not match our theme. Worse, later GDK will realize that we have our own left_ptr cursor and will apply it after all, making the discrepancy even more noticeable. https://bugzilla.gnome.org/show_bug.cgi?id=762902 gdk/win32/gdkwindow-win32.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 84ddc6aab1e0b498666c65a5283e1a0bdfa04599 Author: Руслан Ижбулатов Date: Sat Feb 27 00:10:12 2016 +0000 GDK W32: Force correct mouse cursor for custom resize/move * Explicitly grab the device, setting appropriate cursor on it. * Fix gdk_device_virtual_set_window_cursor() to just set the cursor, without trying to check that mouse is over the given window. Also prevent it from immediately resetting cursor. * Alse take into account things that happen in other parts of GDK - don't look for replacement cursor, GDK already did that, and don't create a default arrow cursor instead of NULL, GDK-W32 already did that up the stack as well. Warn about inappropriate cursor == NULL argument instead. https://bugzilla.gnome.org/show_bug.cgi?id=762711 gdk/win32/gdkdevice-virtual.c | 67 +++++++++----------------------- gdk/win32/gdkevents-win32.c | 12 +++++- gdk/win32/gdkwindow-win32.c | 89 +++++++++++++++++++++++++++++++++++++++---- gdk/win32/gdkwindow-win32.h | 12 +++++- 4 files changed, 122 insertions(+), 58 deletions(-) commit 8ebc03a1d1be20c6c4c52192d3584a976e3530c4 Author: Cosimo Cecchi Date: Wed Mar 2 22:23:11 2016 -0800 range: use border allocation for gadget hit test The border is typically part of the reactive part of the widget. This matches the pre-gadget behavior. gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f9ed3fdd7b2e24ada9fba609ecc573ab015457f0 Author: Руслан Ижбулатов Date: Wed Mar 2 22:07:54 2016 +0000 GDK W32: Implement gdk_win32_screen_get_monitor_workarea() https://bugzilla.gnome.org/show_bug.cgi?id=763012 gdk/win32/gdkscreen-win32.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 0b156ea0962066943b21d16818409eb3afe3c71c Author: Matthias Clasen Date: Wed Mar 2 19:10:59 2016 -0500 Document the .circular style class gtk/gtkbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1395f3a8383f2d46734bc65a54756e2b83013b40 Author: Cosimo Cecchi Date: Wed Mar 2 16:08:19 2016 -0800 scrolledwindow: fix left/right thinko for scrollbar style classes "left" and "right" were inverted, preumably because the position type parameter refers to the scrolled window position, and not the scrollbar itself. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3e0694284785153944255a0501e84a76c491e4b4 Author: Benjamin Otte Date: Thu Mar 3 00:35:15 2016 +0100 widget: Add brute force method to propagate clip When a gtk_widget_queue_allocate() on some widget increases the clip, widget->parent's clip was not updated. This appraoch naively just unions widget's new clip with widget->parent's clip. This of course only works if widget and parent share the same GDK window. In the cases where they don't we can't do anything and need a better fix. Fixes label-text-shadow-changes-modify-clip.ui reftest. gtk/gtkwidget.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 05d1437e62c4e19dcc915c9cdbc6ec14f60afcbe Author: Stas Solovey Date: Wed Mar 2 23:21:51 2016 +0000 Updated Russian translation po/ru.po | 1779 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 991 insertions(+), 788 deletions(-) commit 76ea3a15cb5094fae67dc2fd43ca392eb4a39da5 Author: Lapo Calamandrei Date: Wed Mar 2 23:07:37 2016 +0100 Adwaita: more scale style fixes gtk/theme/Adwaita/_common.scss | 73 ++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 150 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 150 +++++++++++++++++++++++-------- 3 files changed, 283 insertions(+), 90 deletions(-) commit c05f254a6e3a715105f10c495caebed9a3a682c9 Author: Руслан Ижбулатов Date: Tue Feb 23 09:20:55 2016 +0000 GDK W32: Use layered windows Toplevels are now true layered windows that are moved, resized and repainted via UpdateLayeredWindow() API call. This achieves transparency without any extra effort, and prevents window size and window contents desychronization (bug 761629). This also changes the way CSD windows are detected. We now use window decorations to detect CSDiness of a window, and to decide whether a window should be layered (CSD windows should be) or not. Decorations are now stored in the window implementation, not as a quark-based property of the window-as-gobject. https://bugzilla.gnome.org/show_bug.cgi?id=748872 gdk/win32/gdkevents-win32.c | 9 +- gdk/win32/gdkprivate-win32.h | 2 + gdk/win32/gdkwindow-win32.c | 315 ++++++++++++++++++++++++++++++++++++++----- gdk/win32/gdkwindow-win32.h | 30 +++++ 4 files changed, 314 insertions(+), 42 deletions(-) commit e03946bd285d860fc9011a2fbb5363c2a176aaab Author: Руслан Ижбулатов Date: Sat Feb 6 12:06:41 2016 +0000 GDK W32: custom (non-WM) drag-move and drag-resize code Normally works only on CSD windows, non-CSD windows continue to use WM modal loop for drag-resizing and drag-moving. However, if it is activated on non-CSD windows, it does work. Has the advantage of being completely immune to AeroSnap. AeroSnap only worked partially on CSD windows, with the only part that worked being "don't let users drag window titlebar outside of the desktop". Now AeroSnap doesn't work on windows moved by this code at all, which is good, since they currently don't work well with it due to the way shadows are drawn. It's possible to also re-implement AeroSnap (or something similar), but that is a story for another commit. This code was originally intended to fix the problem of window size and window contents desynchronization, but failed to achieve that result in the end. Nevertheless, it serves as a foundation for other changes to the way window resizing works. https://bugzilla.gnome.org/show_bug.cgi?id=761629 gdk/win32/gdkevents-win32.c | 223 +++++++++++++++---------- gdk/win32/gdkprivate-win32.h | 12 ++ gdk/win32/gdkwindow-win32.c | 388 ++++++++++++++++++++++++++++++++++++------- gdk/win32/gdkwindow-win32.h | 49 ++++++ 4 files changed, 523 insertions(+), 149 deletions(-) commit 597151c736b7c0979be48d7aef2c3bfab4998bb9 Author: Lapo Calamandrei Date: Wed Mar 2 21:47:24 2016 +0100 Adwaita: fix scale with marks size gtk/theme/Adwaita/_common.scss | 13 +++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 27 ++++++++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 27 ++++++++++++++++++++++----- 3 files changed, 53 insertions(+), 14 deletions(-) commit d4cda108301fe5d948284b125f7d4ea30f47542d Author: Daniel Mustieles Date: Wed Mar 2 21:36:59 2016 +0100 Updated Spanish translation po-properties/es.po | 1159 ++++++++++++++++++++++++++------------------------- 1 file changed, 581 insertions(+), 578 deletions(-) commit fde1aac57a0a2cd431bebfd74ef110ba9e9812eb Author: Lapo Calamandrei Date: Wed Mar 2 21:34:03 2016 +0100 Adwaita: scale with marks style fixes after GtkRange gadgettification the theme needs some adjustments for the new widget structure. gtk/theme/Adwaita/_common.scss | 22 +++++++++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++++++---- 3 files changed, 41 insertions(+), 13 deletions(-) commit 4a5801b9020458cfaed4cd478c79d55839387d37 Author: Matthias Clasen Date: Wed Mar 2 15:20:47 2016 -0500 combobox: Correct the CSS node docs The box was somehow overlooked in the diagrams. gtk/gtkcombobox.c | 8 +++++--- gtk/gtkcomboboxtext.c | 11 ++++++----- 2 files changed, 11 insertions(+), 8 deletions(-) commit 8205a304e85fb8bb95d2722df0416c6f4de17ddf Author: Matthias Clasen Date: Wed Mar 2 15:20:31 2016 -0500 Add a css node test for comboboxes testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/combobox.nodes | 39 ++++++++++++++++++++++++++++++++++++++ testsuite/css/nodes/combobox.ui | 33 ++++++++++++++++++++++++++++++++ 3 files changed, 73 insertions(+) commit d3ca8aaf83db00ea24c04d37a12ff4c25c2315c1 Author: Lapo Calamandrei Date: Wed Mar 2 20:55:19 2016 +0100 Adwaita: fix combos styling since now the combobox childrens are in a box. gtk/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 32 insertions(+), 32 deletions(-) commit b1144a73de8924bb83147526f86c69ed14240bfc Author: Cosimo Cecchi Date: Wed Mar 2 11:16:39 2016 -0800 scale: don't add scale label for empty markup This is a regression from the gadget port. gtk/gtkscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a87e18ca6fd1e28f77ecb192b3db75e6782eefc6 Author: Aurimas Černius Date: Wed Mar 2 20:42:40 2016 +0200 Updated Lithuanian translation po-properties/lt.po | 2395 +++++++++++++++++++++++++-------------------------- po/lt.po | 1143 +++++++++++++----------- 2 files changed, 1834 insertions(+), 1704 deletions(-) commit b5281837d676783987c24b4e429e0242a856bcbb Author: Ray Strode Date: Thu Feb 25 13:58:42 2016 -0500 wayland: synchronize key repeat with server key repeat is handled client side, which means stalls in the compositor dispatching key release events can lead to fictious repeat events. This commit ties key repeat to a server roundtrip to ensure the client and server are in sync. https://bugzilla.gnome.org/show_bug.cgi?id=757942 gdk/wayland/gdkdevice-wayland.c | 37 ++++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit 551f1742f5c1a37f93a2239193b45779687b008d Author: Ray Strode Date: Tue Mar 1 08:49:27 2016 -0500 wayland: handle key up events earlier in deliver_key_event We don't need the key repeat rate or anything like that when handling key up events, so do key up events first before querying for that information. https://bugzilla.gnome.org/show_bug.cgi?id=757942 gdk/wayland/gdkdevice-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 619799ba3bcc8525cc78b98c34e62a34e989f550 Author: Ray Strode Date: Tue Mar 1 08:29:31 2016 -0500 wayland: make deliver_key_event return void deliver_key_event is sometimes called from a timeout handler and sometimes called directly. We currently erroneously return TRUE (G_SOURCE_CONTINUE) in the case where it's called directly, but to no ill effect, since we ignore that return value. In the future, we're going to need to call it directly in other parts of the code where the return value would be relevant and handling TRUE, would require adding redundant code. Instead, this commit just changes the code to always reset the timer manually, and never rely on glib's ability to automatically reset the timer by returning TRUE. This makes the code smaller, too, since there's less special casing required. https://bugzilla.gnome.org/show_bug.cgi?id=757942 gdk/wayland/gdkdevice-wayland.c | 45 +++++++++++++++++------------------------ 1 file changed, 18 insertions(+), 27 deletions(-) commit 89121e058a926280dc95d1a2530edf59e35d2814 Author: Benjamin Otte Date: Wed Mar 2 14:48:43 2016 +0100 win32 theme: Add a naive switch implementation I couldn't come up with anything better than a button on a button. But the Windows theme sucks... gtk/theme/win32/gtk-win32-base.css | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 8e3bc96d780e40f09ca60fcaacb7f930a4ad9060 Author: Benjamin Otte Date: Wed Mar 2 07:51:54 2016 +0100 win32 theme: Implement horizontal spinbuttons gtk/theme/win32/gtk-win32-base.css | 83 +++++++++++++++++++++++++------------- 1 file changed, 54 insertions(+), 29 deletions(-) commit 222c43fc60362eeb97ce2d5e3a5583a69a2e30ef Author: Benjamin Otte Date: Tue Mar 1 19:14:30 2016 +0100 combobox: Put child into box Put the combobox child into the box we added for this purpose. That way, we don't have to maintain the child's position ourselves anymore. gtk/gtkcombobox.c | 192 ++++++++++---------------------------------------- gtk/ui/gtkcombobox.ui | 6 ++ 2 files changed, 45 insertions(+), 153 deletions(-) commit a3805333361fee37a3b1a974cfa6452a85169f08 Author: Benjamin Otte Date: Tue Mar 1 18:34:43 2016 +0100 container: Remove check The check is not working for many containers anymore as they are not the direct parents of their children. We want to allow this behavior in more places. gtk/gtkcontainer.c | 7 ------- 1 file changed, 7 deletions(-) commit c3d3bf61e4b6e9f2203d9980579f7ff2758e5e68 Author: Benjamin Otte Date: Tue Mar 1 18:29:22 2016 +0100 combobox: Put the button in a box This is so we can put the entry into the box in the next commit. gtk/gtkcombobox.c | 27 +++++++++++++++------------ gtk/ui/gtkcombobox.ui | 21 +++++++++++++-------- 2 files changed, 28 insertions(+), 20 deletions(-) commit 04d9577cb75abe939cb4ed5b503a8e9d4a0e43bc Author: Benjamin Otte Date: Tue Mar 1 18:19:44 2016 +0100 combobox: Make sure the cellview expands Windows theme needs the expansion for correct drawing of the focus outline. gtk/gtkcombobox.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 13b320ecb254b3fc9cea72f3e79d35c10737d9d4 Author: Benjamin Otte Date: Tue Mar 1 17:39:47 2016 +0100 combobox: Ensure an entry gets created for has_entry combos Previously add/remove on the combobox would result in a cellview being created. gtk/gtkcombobox.c | 60 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 33 insertions(+), 27 deletions(-) commit 77d624a8f7afbcdd66c777e4d7e61a6ff0d62727 Author: Fran Dieguez Date: Wed Mar 2 09:46:21 2016 +0000 Updated Galician translation po-properties/gl.po | 4554 +++++++++++++++++++++++++-------------------------- 1 file changed, 2262 insertions(+), 2292 deletions(-) commit 1e27fe83ea25e332b82945e4ddda6130dd84c2a0 Author: Rico Tzschichholz Date: Wed Mar 2 10:23:10 2016 +0100 mir: display->list_devices vfunc was dropped See 4a6f8a065abace71c0ca32d959ec9b86628bffaa https://bugzilla.gnome.org/show_bug.cgi?id=762891 gdk/mir/gdkmirdisplay.c | 9 --------- 1 file changed, 9 deletions(-) commit 5e00f5fdce0f9fb716283f9f42aa55e31fa07b2d Author: Chun-wei Fan Date: Wed Mar 2 16:53:27 2016 +0800 Fix last commit We need to drop the reference to it in configure.ac as well... configure.ac | 1 - 1 file changed, 1 deletion(-) commit ea8873da5501804be76c0b4409f896fc60ed0b5e Author: Chun-wei Fan Date: Wed Mar 2 16:49:59 2016 +0800 MSVC build: Drop crypt implementation for MSVC We are actually not using the crypt() in GDK-Broadway for quite a while, so the code implementation for MSVC is actually not used. So, it's time to get rid of this. build/win32/Makefile.am | 1 - build/win32/crypt/Makefile.am | 7 - build/win32/crypt/crypt.h | 32 --- build/win32/crypt/crypt3.c | 460 ------------------------------------------ 4 files changed, 500 deletions(-) commit 5d8fd8ab3cd1d9f6abf953403f7e0cb4402b35e7 Author: Yosef Or Boczko Date: Wed Mar 2 09:39:24 2016 +0200 Updated Hebrew translation po-properties/he.po | 2246 ++++++++++++++++++++++++++------------------------- 1 file changed, 1129 insertions(+), 1117 deletions(-) commit 72d766445de100c2142181eb675d5d604d516227 Author: Yosef Or Boczko Date: Wed Mar 2 09:37:20 2016 +0200 Updated Hebrew translation po/he.po | 4050 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2205 insertions(+), 1845 deletions(-) commit e15ab84e35e209e882b0a07ffff64be70c2ca3ee Author: Chun-wei Fan Date: Wed Mar 2 13:02:30 2016 +0800 MSVC builds: Re-arrange include paths Search also for the headers in include/gio-win32-2.0, as gio.h will include those headers at some point, and arrange the include paths in a dependency hierarchy style, top-to-down. build/win32/vs10/gtk3-build-defines.props | 2 +- build/win32/vs9/gtk3-build-defines.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 2a8355f6790643f48ba0900baeedbf138d915211 Author: Matthias Clasen Date: Tue Mar 1 22:37:06 2016 -0500 3.19.11 NEWS | 13 +++++++------ configure.ac | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) commit 444703f2bb3388376598a3ec680a7a89e1bc065d Author: Matthias Clasen Date: Tue Mar 1 23:21:55 2016 -0500 css node tests: Update notebook results This is fallout from changing the tab states. testsuite/css/nodes/notebook-arrows.nodes | 2 +- testsuite/css/nodes/notebook-arrows2.nodes | 2 +- testsuite/css/nodes/notebook.bottom.ltr.nodes | 2 +- testsuite/css/nodes/notebook.bottom.rtl.nodes | 2 +- testsuite/css/nodes/notebook.left.ltr.nodes | 2 +- testsuite/css/nodes/notebook.left.rtl.nodes | 2 +- testsuite/css/nodes/notebook.right.ltr.nodes | 2 +- testsuite/css/nodes/notebook.right.rtl.nodes | 2 +- testsuite/css/nodes/notebook.top.ltr.nodes | 2 +- testsuite/css/nodes/notebook.top.rtl.nodes | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit de383809f668ae5670777f2219532c66bddec72a Author: Olivier Fourdan Date: Mon Feb 29 10:14:56 2016 +0100 wayland: Check actual impl type in transient loop If the parent of a transient is not a native Wayland window (e.g. offscreen window), the transient loop check will crash. Check for the actual type in the transient loop check and do not assume the parent is necessarily Wayland native. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761156 Signed-off-by: Olivier Fourdan gdk/wayland/gdkwindow-wayland.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 9e2207b2b0d1a8c5bdca8f56f370750b4c791204 Author: Jonas Ådahl Date: Fri Feb 26 14:10:06 2016 +0800 gdk: Compress window state events If there are already a window state event for a given window queued when the window state is changed, drop that event and queue a new event with a changed_mask based on the state before last event that was queue without compression. https://bugzilla.gnome.org/show_bug.cgi?id=762468 gdk/gdkevents.c | 39 +++++++++++++++++++++++++++++++++++---- gdk/gdkinternals.h | 1 + 2 files changed, 36 insertions(+), 4 deletions(-) commit 956b2ff998d851c9161dfd231d4f5e1de080346b Author: Matthias Clasen Date: Tue Mar 1 16:00:30 2016 -0500 progressbar: Don't leave css nodes behind We create and destroy gadgets inside the hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkprogressbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 577783a19db6f45deb732be6e24724c7cfeb28c0 Author: Matthias Clasen Date: Tue Mar 1 15:57:36 2016 -0500 scale: Don't leave css nodes behind We create and destroy gadgets inside the scale hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkscale.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 5889d2520f91b4a29f2b01af58f4e92ded2b4e2f Author: Cosimo Cecchi Date: Tue Mar 1 12:53:44 2016 -0800 Adwaita: fix outline for scale trough gtk/theme/Adwaita/_common.scss | 7 ++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) commit cb614cc8388bfde71928bbc29fe45456d216c154 Author: Matthias Clasen Date: Tue Mar 1 15:48:01 2016 -0500 range: Don't leave css nodes behind We create and destroy gadgets inside the range hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkrange.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 37007c47a55cae23c120040fb6a2f9199481b14d Author: Matthias Clasen Date: Tue Mar 1 15:35:32 2016 -0500 level bar: Don't leave css nodes behind We create and destroy gadgets inside the levelbar hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtklevelbar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 87e71afd50e64c3dcbd58284520037db795262ea Author: Matthias Clasen Date: Tue Mar 1 15:18:34 2016 -0500 cell renderer: Strip out :drop(active) state It does not make sense to render every cell in a treeview as drop target, even when the treeview itself is set as a drop destination. https://bugzilla.gnome.org/show_bug.cgi?id=761686 gtk/gtkcellrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6230319dba125998f789fb8e5bec4d379585171a Author: Matthias Clasen Date: Tue Mar 1 15:09:10 2016 -0500 Updates NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit eff97fd55f7f31103fa588a6a431a1e22c50c77e Author: Matthias Clasen Date: Tue Mar 1 07:58:12 2016 -0500 Take a reference on the im context for async ops This might fix the crash in yelp that some people continue to see. https://bugzilla.gnome.org/show_bug.cgi?id=762887 gtk/gtkimcontextsimple.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 3607b9aa2e4b2c57489947efa5dcf47877d68e69 Author: Olivier Fourdan Date: Fri Feb 26 13:35:35 2016 +0100 wayland: Restore size when configure size is 0x0 According to xdg_shell, an xdg_surface.configure with size 0x0 should be interpreted as that it is up to the client to set a size. When transitioning from maximize or fullscreen state, this means the client should configure its size back to what it was before being maximize or fullscreen. This problem currently only occurs on weston because weston sends a configure with size 0x0 when transitioning back from maximize or fullscreen. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762713 gdk/wayland/gdkwindow-wayland.c | 58 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) commit 9f080299660d05b5c6f6657bc92ba8f683fec6f8 Author: Anders Jonsson Date: Tue Mar 1 09:13:42 2016 +0000 Updated Swedish translation po-properties/sv.po | 758 ++++++++++++++++++++++++++-------------------------- 1 file changed, 381 insertions(+), 377 deletions(-) commit 61f5562f9f6fed7cd03118820c1eb0902dc52eeb Author: Benjamin Otte Date: Mon Feb 29 23:17:00 2016 +0100 notebook: Tell everyone we reordered stuff Fixes keybindings for reordering actually emitting signals and properly updating CSS/the screen. gtk/gtknotebook.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit a74bb0dec4d0a5032908e47619a82cc4f86b47a1 Author: Benjamin Otte Date: Mon Feb 29 21:57:19 2016 +0100 notebook: Reallocate tab gadgets when we reorder them Otherwise they stay in their position and don't cause a redraw. Which really confuses Epiphany users apparently. https://bugzilla.gnome.org/show_bug.cgi?id=762720 gtk/gtknotebook.c | 1 + 1 file changed, 1 insertion(+) commit fa43edd244b2bbf9dfd9aa9994449f88201fd42e Author: Paolo Borelli Date: Mon Feb 29 21:45:13 2016 +0100 gdk: implement gdk_display_list_devices using GdkSeat Now that the function is factored out in a single place, we can refactor it to not use deprecated API. gdk/gdkdisplay.c | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) commit 4a6f8a065abace71c0ca32d959ec9b86628bffaa Author: Paolo Borelli Date: Mon Feb 29 20:59:36 2016 +0100 gdk: remove the display->list_devices vfunc gdk_display_list_devices is deprecated and all the backends implement the same fallback by delegating to the device manager and caching the list (caching it is needed since the method does not transfer ownership of the container). The compat code can be shared among all backends and we can initialize the list lazily only in the case someone calls the deprecated method. https://bugzilla.gnome.org/show_bug.cgi?id=762891 gdk/broadway/gdkdisplay-broadway.c | 50 ------------------------------------ gdk/broadway/gdkdisplay-broadway.h | 4 --- gdk/gdkdisplay.c | 39 +++++++++++++++++++++++++++- gdk/gdkdisplayprivate.h | 2 +- gdk/quartz/gdkdisplay-quartz.c | 51 ------------------------------------- gdk/wayland/gdkdisplay-wayland.c | 29 --------------------- gdk/wayland/gdkdisplay-wayland.h | 3 --- gdk/win32/gdkdisplay-win32.c | 38 +++++----------------------- gdk/win32/gdkdisplay-win32.h | 2 -- gdk/x11/gdkdisplay-x11.c | 52 -------------------------------------- gdk/x11/gdkdisplay-x11.h | 4 --- 11 files changed, 46 insertions(+), 228 deletions(-) commit d000b212c6baeb2b85a9dd75266af0c02a2efb27 Author: Cosimo Cecchi Date: Mon Feb 29 12:53:08 2016 -0800 range: fix fill level for vertical inverted scales gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a83787dc0315df426f4ee5aae0b1068abb58449 Author: Cosimo Cecchi Date: Mon Feb 29 10:43:12 2016 -0800 Update CSS nodes documentation gtk/gtkscale.c | 25 +++++++++++++++++-------- gtk/gtkscrollbar.c | 19 ++++++++++--------- 2 files changed, 27 insertions(+), 17 deletions(-) commit bb55a1a95813e81436d88eaf9f0fd3d91dd63714 Author: Cosimo Cecchi Date: Sun Feb 28 21:13:54 2016 -0800 scale: add gadgets for indicator/label in scale marks This will allow us to theme them indepdendently, and specify a size for the indicator from the theme. gtk/gtkscale.c | 280 +++++++++++++++++++++---------- gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +- gtk/theme/Adwaita/gtk-contained.css | 8 +- 4 files changed, 209 insertions(+), 97 deletions(-) commit 7bd3d87eeb604b52912902b23e23aa38eb92a97d Author: Cosimo Cecchi Date: Sun Feb 28 13:45:48 2016 -0800 scale: add a gadget for every mark We want to add another gadget for the mark indicator. This will allow us to do so. gtk/gtkscale.c | 552 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 302 insertions(+), 250 deletions(-) commit 74a8bbfd3849b5d6dbe9ae620a0351d4fe8e8f2c Author: Cosimo Cecchi Date: Sun Feb 28 16:04:17 2016 -0800 Adwaita: add minimum size for marks It's still suboptimal, because there's no way to control the size of the indicator alone, but this does the job for now. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 10 insertions(+) commit 0fb50dc9a81d550a646bd9152d1fe38047525eda Author: Cosimo Cecchi Date: Sun Feb 28 14:52:14 2016 -0800 gadget: improve debug message gtk/gtkcssgadget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0c8dbf07ce8b1341446c6f4a2cae0e7c63d2e614 Author: Cosimo Cecchi Date: Sun Feb 28 10:00:15 2016 -0800 range: draw slider on top of all contents This is so that e.g. the focus ring is drawn under the slider. gtk/gtkrange.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit cdd7a7bdcd29109985d3846324ef52c19ed3f70b Author: Cosimo Cecchi Date: Sun Feb 28 09:23:14 2016 -0800 scale: implement rendering for marks gadgets This completes the conversion of scale marks to gadgets. gtk/gtkscale.c | 242 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 129 insertions(+), 113 deletions(-) commit 1a8eb9fefa2693c274d7733c57727337dcba8b60 Author: Cosimo Cecchi Date: Sun Feb 28 00:12:22 2016 -0800 scale: implement size allocate for mark gadgets This allows to move the mark sections around with e.g. margins. gtk/gtkscale.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 108 insertions(+), 9 deletions(-) commit 562a501f3b3ab55d8cd02c4461198e117608c19a Author: Cosimo Cecchi Date: Sat Feb 27 15:24:32 2016 -0800 scale: port marks size request to gadgets gtk/gtkscale.c | 220 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 146 insertions(+), 74 deletions(-) commit 2f420d0e14160099862b7c5bf8738f527b811df7 Author: Cosimo Cecchi Date: Sat Feb 27 15:08:04 2016 -0800 scale: use gadgets instead of nodes for mark containers The gadget is not yet allocated though. gtk/gtkscale.c | 61 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) commit b73d274d55f02266212824cc6f3a30ffe5f220a8 Author: Cosimo Cecchi Date: Sat Feb 27 13:48:19 2016 -0800 scale: rename function arguments To make them clearer. No functional change here. gtk/gtkscale.c | 88 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 41 deletions(-) commit 8d5d16ae56cb33c72496055d62f9792c0a2fd2aa Author: Cosimo Cecchi Date: Sat Feb 27 13:44:22 2016 -0800 scale: remove unused argument It's always GTK_POS_TOP. gtk/gtkscale.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit bc41ff8af4d645d425e15bf92adf471499acce75 Author: Cosimo Cecchi Date: Sat Feb 27 23:19:13 2016 -0800 range: better hack for GtkColorScale Just draw the slider, since that is the only thing GtkColorScale cares about. gtk/gtkrange.c | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) commit 887b6d65a1e730d94332ec4e6d7fde905d798eed Author: Cosimo Cecchi Date: Sat Feb 27 13:37:01 2016 -0800 range: deprecate gtk_range_get/set_min_slider_size() Nothing uses these functions inside GTK anymore. gtk/gtkrange.c | 6 ++++++ gtk/gtkrange.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 424f17c0fbd6a97132c73a3fb7f3fb374615384d Author: Cosimo Cecchi Date: Sat Feb 27 13:31:26 2016 -0800 range: don't use gtk_range_set_min_slider_size() The way this method is used from the GtkRange subclasses doesn't really work well when the slider properties change as a consequence of e.g. a style class being applied (e.g. the fine-tune style class). In fact, there's no need to read the minimum slider size out of band, and we can obtain the same result in a way that always work by setting a private property on GtkRange. gtk/gtkrange.c | 44 +++++++++++++++++++++++++++++++++----------- gtk/gtkrangeprivate.h | 4 +++- gtk/gtkscale.c | 37 ++++++++++++++----------------------- gtk/gtkscrollbar.c | 9 +-------- 4 files changed, 51 insertions(+), 43 deletions(-) commit 0468ff15459b4e01ca57e4a057908de70e502456 Author: Lapo Calamandrei Date: Thu Feb 25 17:49:12 2016 +0100 Adwaita: some more WIP theme work for the new scale gtk/theme/Adwaita/_common.scss | 50 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 712 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 712 ++++++++++++++++--------------- 3 files changed, 737 insertions(+), 737 deletions(-) commit 3ff66edb6bdb1437e8c149f9c98dad19cb6040a5 Author: Cosimo Cecchi Date: Wed Feb 24 15:51:40 2016 -0800 gadget: simplify code gtk/gtkcssgadget.c | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) commit 0883ff5eedf73b1197f2a49fb7e55ce227917335 Author: Cosimo Cecchi Date: Wed Feb 24 15:35:28 2016 -0800 range: use border box for slider area Since we can use negative margins, we should not use the margin box for the slider area. Use the border box instead, since that's what is typically mapped to the visible area. gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 6ecab5ee6b311348be8dea43c71d5c87aa332d98 Author: Cosimo Cecchi Date: Wed Feb 24 14:29:52 2016 -0800 range: use new GtkCssGadget API instead of rolling our own gtk/gtkrange.c | 44 ++++++++++---------------------------------- 1 file changed, 10 insertions(+), 34 deletions(-) commit 44178c0541ca46f53c41953e32529eabc1931a2b Author: Cosimo Cecchi Date: Wed Feb 24 14:21:10 2016 -0800 gadget: add API to get various area boxes Compared to the function returning the allocation, these will return the box in gadget coordinates. gtk/gtkcssgadget.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 6 ++++++ 2 files changed, 57 insertions(+) commit 2d2a81682debb5d17888314a087a0fc49734d283 Author: Cosimo Cecchi Date: Wed Feb 24 13:53:13 2016 -0800 range: simplify code Instead of directly accessing the widget allocation, we can use the gadget API to test whether the coordinates are in the main gadget. gtk/gtkrange.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 622f5aef4e9ba4e7bd0fca4006910589d001ec0e Author: Lapo Calamandrei Date: Wed Feb 24 13:36:14 2016 -0800 Adwaita: WIP for new range theme gtk/theme/Adwaita/_common.scss | 83 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 1139 +++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 1155 +++++++++++++++--------------- 3 files changed, 1194 insertions(+), 1183 deletions(-) commit d1433c25f360e0cdae2cf481d88244d45b13de25 Author: Cosimo Cecchi Date: Wed Feb 24 13:28:54 2016 -0800 range: add a gadget for the whole widget area This commit introduces another node, called "contents", that holds the main contents of the range. This allows for the main gadget itself to span across the whole surface of the widget now. gtk/gtkrange.c | 148 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 110 insertions(+), 38 deletions(-) commit a9ea544f3d75c10541652c3df28a4204f4f05711 Author: Cosimo Cecchi Date: Wed Feb 24 12:24:41 2016 -0800 scale: always add marks at the beginning or the end Marks are always either the first or the last child of the scale. gtk/gtkrange.c | 6 ------ gtk/gtkrangeprivate.h | 1 - gtk/gtkscale.c | 4 ++-- 3 files changed, 2 insertions(+), 9 deletions(-) commit 1d047f00977bdb3b7c94344466cb47ab4a764d82 Author: Cosimo Cecchi Date: Wed Feb 24 12:01:07 2016 -0800 range: use new GtkBoxGadget API instead of counting children gtk/gtkrange.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) commit 6370d6cb2780350ed9e8638e375d560dc821b194 Author: Cosimo Cecchi Date: Wed Feb 24 12:00:46 2016 -0800 boxgadget: add APIs to insert gadgets next to siblings gtk/gtkboxgadget.c | 34 ++++++++++++++++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 13 +++++++++++++ 2 files changed, 47 insertions(+) commit 6401e2405e19bd58db6dd826d7baa9926bcbd95f Author: Cosimo Cecchi Date: Wed Feb 24 11:43:06 2016 -0800 range: use new GtkBoxGadget API instead of removing/inserting gtk/gtkrange.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 06776d3d2fdfce734395739480bef721daf12608 Author: Cosimo Cecchi Date: Wed Feb 24 10:34:15 2016 -0800 boxgadget: add API to set expand/align flags for gadget child gtk/gtkboxgadget.c | 86 ++++++++++++++++++++++++++++++++++++++++++----- gtk/gtkboxgadgetprivate.h | 7 ++++ 2 files changed, 85 insertions(+), 8 deletions(-) commit 6827bd5e04d6e93140ca9aaa04b897fe37db27a1 Author: Cosimo Cecchi Date: Tue Feb 23 10:45:19 2016 -0800 range: move slider drawing where it belongs The slider gadget is a child of the trough gadget, so draw it from there. gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f0d9afd3005206dfe0962965a2fa21baf9e1fa97 Author: Cosimo Cecchi Date: Mon Feb 22 22:00:57 2016 -0800 scrollbar: deprecate min-slider-length style property In favor of min-height/min-width, like we did for other similar properties. gtk/gtkscrollbar.c | 18 ++++++++++++++++-- gtk/theme/Adwaita/_common.scss | 5 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++++--- gtk/theme/Adwaita/gtk-contained.css | 7 ++++--- 4 files changed, 26 insertions(+), 11 deletions(-) commit 0974b0d843116c285133c485011cef59a364a5da Author: Cosimo Cecchi Date: Mon Feb 22 21:31:31 2016 -0800 range: whitespace fix gtk/gtkrange.c | 1 - 1 file changed, 1 deletion(-) commit fb11cc1bafc3986024b41e20fb6fe609e42daeb8 Author: Cosimo Cecchi Date: Mon Feb 22 21:19:03 2016 -0800 range: remove border allocation hack We can achieve the same result with a negative margin. gtk/gtkrange.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit 1a116b9a95aac9e55e858a4614b888f06a8c156d Author: Cosimo Cecchi Date: Mon Feb 22 19:08:09 2016 -0800 colorscale: don't use style properties to determine slider size gtk/gtkcolorscale.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 8b87eca11eae37a1e3357982b4ea7b6204b3d10d Author: Cosimo Cecchi Date: Mon Feb 22 18:54:24 2016 -0800 Revert "range: move GtkColorScale special case to GtkColorScale" This reverts commit d93d266ed9e3e26e382a4f6d4b5d4ea19eff3bcf. gtk/gtkcolorscale.c | 5 ----- gtk/gtkrange.c | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) commit b927fc0874437c217dbf845f9fb1cbd0ee9f4430 Author: Cosimo Cecchi Date: Mon Feb 22 18:54:16 2016 -0800 Revert "range: simplify code" This reverts commit a74f7dcaf8a02c96c6bfecab6969e1d33ecb9332. gtk/gtkrange.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit a7099d1468c4be397610595a94375f582afa79f7 Author: Cosimo Cecchi Date: Mon Feb 22 18:28:30 2016 -0800 range: simplify code Now that everything is in the main gadget, we can just let it propagate drawing to its children. gtk/gtkrange.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit b6f0b6be877e99ddc8e013ac58e1b6d5089e14ab Author: Cosimo Cecchi Date: Mon Feb 22 18:27:52 2016 -0800 range: move GtkColorScale special case to GtkColorScale Now we can just tweak the node visibility for it. gtk/gtkcolorscale.c | 5 +++++ gtk/gtkrange.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) commit cbbe237c18a544f2eab9c7d13772fa9a426d0dac Author: Cosimo Cecchi Date: Mon Feb 22 18:18:37 2016 -0800 range: remove special case that's not needed We already set the gadget not to be visible in that case. gtk/gtkrange.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit ddb863e523484e3b0520eca48914d5d35b90446c Author: Cosimo Cecchi Date: Mon Feb 22 18:11:02 2016 -0800 range: move slider inside the trough This will require a rewrite of most of the theme, but it's the right thing to do. gtk/gtkrange.c | 190 +++++++++++++++++++++++---------------------------------- 1 file changed, 76 insertions(+), 114 deletions(-) commit d1c5ecfaefd045bdf4b46e12520899a7bd27002d Author: Cosimo Cecchi Date: Sun Feb 21 15:01:04 2016 -0800 scale: deprecate slider-length style property This can be achieved using min-height/min-width CSS properties now. gtk/gtkrange.c | 6 +++++ gtk/gtkrangeprivate.h | 2 ++ gtk/gtkscale.c | 40 +++++++++++++++++++++----------- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++-- gtk/theme/Adwaita/gtk-contained.css | 5 ++-- 6 files changed, 43 insertions(+), 19 deletions(-) commit c1eff2cce5d2b870343f2d727b4a7d47519b78e4 Author: Cosimo Cecchi Date: Sun Feb 21 00:33:36 2016 -0800 range: deprecate more style properties These are never read now. gtk/gtkrange.c | 35 +++++++++++++++++++++--- gtk/theme/Adwaita/_common.scss | 35 ++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 34 ++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 34 ++++++++++++----------- gtk/theme/HighContrast/_common.scss | 4 --- gtk/theme/HighContrast/gtk-contained-inverse.css | 5 +--- gtk/theme/HighContrast/gtk-contained.css | 5 +--- gtk/theme/win32/gtk-win32-base.css | 2 -- 8 files changed, 92 insertions(+), 62 deletions(-) commit 413b9d5b3c10e9b296b09a99f34558d0bf36a72c Author: Cosimo Cecchi Date: Tue Jan 19 07:22:33 2016 -0200 range: continue porting to GtkGadgets This commit rewrites a lot of the GtkRange internals to make full use of the gadget structure. gtk/gtkrange.c | 1267 ++++++++++++------------------ gtk/theme/Adwaita/_common.scss | 4 + gtk/theme/Adwaita/gtk-contained-dark.css | 48 ++ gtk/theme/Adwaita/gtk-contained.css | 48 ++ 4 files changed, 592 insertions(+), 775 deletions(-) commit e9fe46ea5f1a90991154d7564d28123fb25ec567 Author: Cosimo Cecchi Date: Tue Jan 19 07:21:46 2016 -0200 gadget: add hit test functions These will be useful in later commits. gtk/gtkcssgadget.c | 123 +++++++++++++++++++++++++++++++++++++++++----- gtk/gtkcssgadgetprivate.h | 10 ++++ 2 files changed, 122 insertions(+), 11 deletions(-) commit 8c43b3ee6004f0687456b7f9ca0e1d987b8938df Author: Cosimo Cecchi Date: Sun Jan 17 17:27:03 2016 -0200 range: remove unused code gtk/gtkrange.c | 3 --- 1 file changed, 3 deletions(-) commit 6c19947859c6477fbfc350ec52c152f258a09502 Author: Cosimo Cecchi Date: Sun Jan 17 17:24:01 2016 -0200 range: remove call that is not needed gtk_range_calc_slider() already calls the same function when needed. gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit 83a6471c4ea4eb0b33416cb7373dda07a895cf9b Author: Cosimo Cecchi Date: Sat Jan 16 16:44:50 2016 -0800 range: simplify code a bit gtk/gtkrange.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit d19215015e7d8f929c905504ac7564ffc1d3379c Author: Cosimo Cecchi Date: Sat Jan 16 16:30:59 2016 -0800 range: don't call gtk_range_calc_layout() in realize() This should not be needed, and we want to get rid of gtk_range_calc_layout(). gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit 1f9de3cfecc11b80a657f76a967e132310f6db47 Author: Cosimo Cecchi Date: Sat Jan 16 16:27:35 2016 -0800 range: deprecate arrow-scaling style property This can be done with CSS now. gtk/gtkrange.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3b37f2a42a5274383345c2ceab4d7db15bc84b60 Author: Cosimo Cecchi Date: Sat Jan 16 16:27:24 2016 -0800 range: use newer GtkCssGadget API gtk/gtkrange.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit d0c671ddfed5f9ebe7b7b95a3e134b575c801c2a Author: Cosimo Cecchi Date: Wed Jan 13 15:01:47 2016 -0800 range: deprecate trough-under-steppers It's not clear what this would do in a CSS world, and all the themes set it to TRUE anyway... gtk/gtkrange.c | 112 ++++------------------- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 3 +- gtk/theme/Adwaita/gtk-contained.css | 3 +- gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk-contained-inverse.css | 3 +- gtk/theme/HighContrast/gtk-contained.css | 3 +- 7 files changed, 22 insertions(+), 104 deletions(-) commit 4bb0a8db47050593fe24d121875ec70c053d0235 Author: Cosimo Cecchi Date: Sat Jan 9 14:00:09 2016 -0800 range: first pass at porting to gadgets There's still a lot to be done, but this is functional and we'll improve the loose ends in the next commits. gtk/gtkrange.c | 1023 +++++++++++++++--------------- gtk/theme/Adwaita/_common.scss | 18 + gtk/theme/Adwaita/gtk-contained-dark.css | 8 + gtk/theme/Adwaita/gtk-contained.css | 8 + 4 files changed, 545 insertions(+), 512 deletions(-) commit 10e24b8e190b0db1d2306c152ead05f76db687b9 Author: Matthias Clasen Date: Mon Feb 29 13:16:50 2016 -0500 Move the level bar release note to the right section README.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 33ac51ea721714a7235765cd40c9a0295cced8df Author: Paolo Borelli Date: Mon Feb 29 18:03:38 2016 +0100 win32: init wintab when the device manager is constructed No need to call a method explicitely after creating the object gdk/win32/gdkdevicemanager-win32.c | 9 +++++---- gdk/win32/gdkdisplay-win32.c | 2 -- gdk/win32/gdkprivate-win32.h | 1 - 3 files changed, 5 insertions(+), 7 deletions(-) commit e9d2a622e2e7e864f6c87ecd43088d085eb76fc9 Author: Paolo Borelli Date: Mon Feb 29 18:17:28 2016 +0100 win32: actually call _gdk_win32_screen_on_displaychange_event 41a371c435533aee5f050500c90507844cb1e45e factored out a method but I forgot to actually amend the commit to call the new function gdk/win32/gdkdisplay-win32.c | 1 + 1 file changed, 1 insertion(+) commit 316fe1dbbd6e0600e0002cebb4323473b4e2ec64 Author: Ray Strode Date: Sat Feb 27 16:17:38 2016 -0500 wayland: deal with staging buffer getting allocated prematurely The staging buffer gets allocated any time begin_paint is called on the window. This can happen even with an empty paint region, so we should cope with that situation. At the moment we crash trying to post a runtime warning. https://bugzilla.gnome.org/show_bug.cgi?id=762755 gdk/wayland/gdkwindow-wayland.c | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) commit 6ad67451f44d753942905dda574c65e66d071d8e Author: Jordi Mas Date: Mon Feb 29 16:34:30 2016 +0100 Fixes to Catalan translation po-properties/ca.po | 2 +- po/ca.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 41119057dda97549bf498cdf5787b8b98da541c7 Author: Timm Bäder Date: Fri Feb 26 14:07:49 2016 +0100 frame: Fix horizontal size request We were adding the border gadget size and the label widget size in any case, but when calculating the width, we want the maximum of those two, not the sum. https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) commit 38ad57948c5960cdcb8e2487153a2dfb94a5dfab Author: Paolo Borelli Date: Sun Feb 28 15:15:29 2016 +0100 gdk: remove the core_pointer field from GdkDisplay It is not used anymore, so no need to set it https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/broadway/gdkdisplay-broadway.c | 3 +-- gdk/gdkdisplayprivate.h | 1 - gdk/mir/gdkmirdevicemanager.c | 1 - gdk/quartz/gdkdisplay-quartz.c | 3 +-- gdk/wayland/gdkdisplay-wayland.c | 4 ++-- gdk/win32/gdkdisplay-win32.c | 6 ++---- gdk/x11/gdkdisplay-x11.c | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) commit 502744be8557e67166020ce864b8115c02d17c0d Author: Paolo Borelli Date: Sun Feb 28 15:11:45 2016 +0100 quartz: get the core pointer from the device manager https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/quartz/gdkdisplay-quartz.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit 539b1083de487bb2b2f8689c23abd87c20585379 Author: Paolo Borelli Date: Sun Feb 28 15:06:53 2016 +0100 broadway: get the core pointer from the device manager https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/broadway/gdkdisplay-broadway.c | 23 +++-------------------- gdk/broadway/gdkeventsource.c | 32 ++++++++++++++++---------------- 2 files changed, 19 insertions(+), 36 deletions(-) commit 363f9c95715486106d188f56711afb941d00151f Author: Paolo Borelli Date: Sun Feb 28 15:05:32 2016 +0100 gdkdisplay: get the pointer device from the default seat https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/gdkdisplay.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 807c0c0a56837b2ca991bb229d3cc7cabff79888 Author: Paolo Borelli Date: Sun Feb 28 15:04:40 2016 +0100 gdkwindow: get the pointer device from the default seat https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/gdkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ee217dc8236f0d7289f394b9954a9bc188738537 Author: Matthias Clasen Date: Sun Feb 28 21:29:35 2016 -0500 Add and use GDK_CHECK_DEBUG macro This is following what we've already done in GTK+. It avoids direct access to _gdk_debug_flags all over the place. gdk/gdkframeclockidle.c | 8 ++++---- gdk/gdkinternals.h | 7 +++++-- gdk/x11/gdkdevice-core-x11.c | 2 +- gdk/x11/gdkdevice-xi2.c | 2 +- gdk/x11/gdkdevicemanager-core-x11.c | 2 +- gdk/x11/gdkdisplay-x11.c | 4 ++-- gdk/x11/gdkdnd-x11.c | 4 ++-- gdk/x11/gdkscreen-x11.c | 2 +- gdk/x11/gdkvisual-x11.c | 2 +- gdk/x11/gdkwindow-x11.c | 2 +- 10 files changed, 19 insertions(+), 16 deletions(-) commit 2ad19c70ce41cf53b9de4606d114f6a13abd9bca Author: Matthias Clasen Date: Sun Feb 28 21:29:16 2016 -0500 x11: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/x11/gdkdevicemanager-x11.c | 4 +-- gdk/x11/gdkglcontext-x11.c | 56 +++++++++++++++++++++--------------------- gdk/x11/xsettings-client.c | 14 +++++------ 3 files changed, 37 insertions(+), 37 deletions(-) commit 29c1263c4b5bc7d75a932a9d82cb5142413c71ae Author: Matthias Clasen Date: Sun Feb 28 21:28:01 2016 -0500 wayland: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/wayland/gdkglcontext-wayland.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 2a2d254a8b464e7d2176b9679a467f68fb45fb35 Author: Matthias Clasen Date: Sun Feb 28 21:26:26 2016 -0500 quartz: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/quartz/GdkQuartzView.c | 128 +++++++++++++++++++-------------------- gdk/quartz/gdkeventloop-quartz.c | 38 ++++++------ 2 files changed, 85 insertions(+), 81 deletions(-) commit 2801f3c8431c0516f56fa8acb86f51f41b515602 Author: Matthias Clasen Date: Sun Feb 28 15:39:05 2016 -0500 gdk: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/gdkframeclock.c | 26 ++++++++++++++++---------- gdk/gdkglcontext.c | 26 +++++++++++++------------- 2 files changed, 29 insertions(+), 23 deletions(-) commit b1d691dbfd9a778197fe0995f15a0520d5928a63 Author: Matthias Clasen Date: Sun Feb 28 15:36:14 2016 -0500 testsuite: Fix up icontheme test This test was relying on GtkIconTheme using g_print for debug spew. Adapt it to use g_logv instead. testsuite/gtk/icontheme.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 2ee7fb1818598de6372dae48b89f5e6925e1d77b Author: Matthias Clasen Date: Sun Feb 28 15:33:18 2016 -0500 Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gtk/deprecated/gtktrayicon-x11.c | 47 +++++++++++------------ gtk/gtkbuilder.c | 13 +++---- gtk/gtkbuilderparser.c | 14 ++++--- gtk/gtkglarea.c | 6 +-- gtk/gtkiconcache.c | 19 ++++------ gtk/gtkiconcachevalidator.c | 2 +- gtk/gtkicontheme.c | 43 ++++++++++----------- gtk/gtkmodules.c | 12 +++--- gtk/gtkrbtree.c | 82 ++++++++++++++++++++++++++-------------- gtk/gtksizerequest.c | 28 ++++++++------ gtk/gtkwidget.c | 20 +++++----- 11 files changed, 154 insertions(+), 132 deletions(-) commit 0ac71e81cf9e80fc3b7903e98e0c3cb059cb68ca Author: Matthias Clasen Date: Sun Feb 28 15:26:52 2016 -0500 Drop some unused debug printfs Remove some debug spew that has been ifdef'ed out for years and does not look useful enough to keep. gtk/deprecated/gtkstatusicon-quartz.c | 1 - gtk/deprecated/gtkuimanager.c | 20 -------------------- gtk/gtkimcontextsimple.c | 34 +++------------------------------- gtk/gtktextbtree.c | 12 ------------ gtk/gtktextbufferserialize.c | 22 ---------------------- gtk/gtktooltip.c | 34 ---------------------------------- gtk/gtktreeview.c | 4 ---- gtk/gtkwindow.c | 7 ------- 8 files changed, 3 insertions(+), 131 deletions(-) commit 8e1368e6de98dd0414f462c851386573465f331a Author: Cosimo Cecchi Date: Sun Feb 28 10:58:06 2016 -0800 widget: make sure to check all children for allocation needs GtkWidget uses gtk_container_foreach() to iterate over children and check whether they need their allocation reset. However, that leaves out internal children, such as scrollbars of a GtkScrolledWindow. Use gtk_container_forall() instead. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 187027942c2878a76f569c70b931ac424de9f4a5 Author: Paolo Borelli Date: Sun Feb 28 19:00:41 2016 +0100 gdk: remove _gdk_event_queue_prepend It is never used gdk/gdkevents.c | 19 ------------------- gdk/gdkinternals.h | 2 -- 2 files changed, 21 deletions(-) commit e0caafbcdf6f1b200506ef5165f4da27b84a2df7 Author: Matthias Clasen Date: Sun Feb 28 12:31:20 2016 -0500 display: Don't change default seat in flight gdk_display_add_seat was prepending new seats to the list, which was effectively making the added seat the new default. Since that is probably not intended, append to the list. gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9dad9a4b592e979026a6cddd4906033694a65f33 Author: Matthias Clasen Date: Sun Feb 28 12:22:55 2016 -0500 testsuite: Strip newlines from g_warning and g_error g_logv adds one for us already. testsuite/gtk/gtktreemodelrefcount.c | 2 +- testsuite/gtk/rbtree.c | 2 +- testsuite/gtk/textbuffer.c | 18 +++++++++--------- testsuite/gtk/treemodel.c | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) commit 7bd1012e51e47c939572a584fbfc65be45596168 Author: Matthias Clasen Date: Sun Feb 28 12:21:29 2016 -0500 tests: Strip newlines from g_warning and g_error g_logv adds one for us already. tests/gtkoffscreenbox.c | 2 +- tests/scrolling-performance.c | 2 +- tests/testglarea.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit 664b16683842a2e0b1bf83c19a931ce110ccb743 Author: Matthias Clasen Date: Sun Feb 28 12:21:09 2016 -0500 wayland: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/wayland/gdkdisplay-wayland.c | 4 ++-- gdk/wayland/gdkselection-wayland.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4f422d1f5b26ebaeb9f50e42b5f76242b19088b3 Author: Matthias Clasen Date: Sun Feb 28 12:20:56 2016 -0500 quartz: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/quartz/gdkselection-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c887b22870a8fc6f6bcf6f13c1b70448c8ae634 Author: Matthias Clasen Date: Sun Feb 28 12:20:39 2016 -0500 gdk: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/gdkevents.c | 4 ++-- gdk/gdkgl.c | 2 +- gdk/gdkseatdefault.c | 2 +- gdk/gdkwindow.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit 697efcd4bc35ca98dd8da48d30069229472abc98 Author: Matthias Clasen Date: Sun Feb 28 12:19:58 2016 -0500 x11: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) commit 94342300a85999febbcc9e575b9a821176a04e4a Author: Matthias Clasen Date: Sun Feb 28 12:19:31 2016 -0500 broadway: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/broadway/broadway-output.c | 2 +- gdk/broadway/broadwayd.c | 2 +- gdk/broadway/gdkbroadway-server.c | 2 +- gdk/broadway/gdkselection-broadway.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) commit 492ea59698e148b2911868f5cc88644caaba9bde Author: Matthias Clasen Date: Sun Feb 28 12:19:09 2016 -0500 examples: Strip newlines from g_warning and g_error g_logv adds one for us already. examples/plugman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 435c8c9f0d6a277ec77cd62e90b35aa27635793b Author: Matthias Clasen Date: Sun Feb 28 12:18:36 2016 -0500 gtk-demo: Strip newlines from g_warning and g_error g_logv adds one for us already. demos/gtk-demo/glarea.c | 4 ++-- demos/gtk-demo/main.c | 4 ++-- demos/gtk-demo/offscreen_window.c | 2 +- demos/gtk-demo/offscreen_window2.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit bbd94b5a9ffc83569c771d81fa07457dfd61d20d Author: Matthias Clasen Date: Sun Feb 28 11:06:25 2016 -0500 gtk: Strip newlines from g_warning and g_error g_logv adds one for us already. gtk/deprecated/gtkcolorsel.c | 4 ++-- gtk/deprecated/gtkrecentaction.c | 6 ++---- gtk/deprecated/gtkstock.c | 2 +- gtk/deprecated/gtkuimanager.c | 7 +++---- gtk/gtkcalendar.c | 8 ++++---- gtk/gtkcellrendererspinner.c | 2 +- gtk/gtkcolorswatch.c | 2 +- gtk/gtkcssprovider.c | 2 +- gtk/gtkcustompaperunixdialog.c | 2 +- gtk/gtkfilechoosernativewin32.c | 20 ++++++++++---------- gtk/gtkfilechooserwidget.c | 4 ++-- gtk/gtkflowbox.c | 2 +- gtk/gtkiconcache.c | 2 +- gtk/gtkiconhelper.c | 2 +- gtk/gtkicontheme.c | 4 ++-- gtk/gtklinkbutton.c | 2 +- gtk/gtklistbox.c | 4 ++-- gtk/gtkliststore.c | 12 ++++++------ gtk/gtkmain.c | 2 +- gtk/gtkmountoperation-x11.c | 2 +- gtk/gtkmountoperation.c | 6 +++--- gtk/gtkpaned.c | 2 +- gtk/gtkpapersize.c | 2 +- gtk/gtkpixelcache.c | 2 +- gtk/gtkprintbackend.c | 4 ++-- gtk/gtkprintoperation-unix.c | 2 +- gtk/gtkprintoperation-win32.c | 2 +- gtk/gtkrbtree.c | 2 +- gtk/gtkrecentchooserdefault.c | 4 ++-- gtk/gtksettings.c | 2 +- gtk/gtksocket.c | 8 ++++---- gtk/gtkstack.c | 2 +- gtk/gtktextbufferserialize.c | 4 ++-- gtk/gtktextview.c | 2 +- gtk/gtktreedatalist.c | 2 +- gtk/gtktreeselection.c | 2 +- gtk/gtktreestore.c | 12 ++++++------ gtk/gtkwidget.c | 4 ++-- gtk/gtkwin32.c | 6 +++--- gtk/gtkwindow.c | 8 ++++---- 40 files changed, 83 insertions(+), 86 deletions(-) commit 72b40266bde69effa75fabae960748c2c7832a4d Author: Paolo Borelli Date: Sun Feb 28 16:22:31 2016 +0100 gdkwindow: cleanup, avoid direct access to display members gdk/gdkdisplay.c | 8 ++++++++ gdk/gdkdisplayprivate.h | 2 ++ gdk/gdkwindow.c | 9 +++++---- 3 files changed, 15 insertions(+), 4 deletions(-) commit 450b39f4e4fd8a6c904ed8663d1b2257381c2eb8 Author: Piotr Drąg Date: Sun Feb 28 17:11:05 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit aaed73671c2fa90490b875435ace29829379373d Author: Paolo Borelli Date: Sun Feb 28 15:33:28 2016 +0100 win32: close the screen when disposing the display gdk/win32/gdkdisplay-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit 54ebe5d3c5cb56a0235515a9a709362deb5cdaaf Author: Matthias Clasen Date: Sun Feb 28 09:38:31 2016 -0500 Add a release note about subclassing This is showing up in bug reports like https://bugzilla.gnome.org/show_bug.cgi?id=762754 so better add a note that gives a hint at the solution. README.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 870a5b424f4ff3b07d5524c581e61db5945497ff Author: Timm Bäder Date: Fri Feb 26 14:09:28 2016 +0100 frame: Don't move border gadget and child down Setting label-yalign should affect the border gadget, but we need to compensate for its position by moving the child down or up, depending on the border gadget's position, so the child never moves. https://bugzilla.gnome.org/show_bug.cgi?id=762123 gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d59c796a9d639e771c62e5aceadbbacad11e719a Author: Emmanuele Bassi Date: Sun Feb 28 12:21:26 2016 +0000 Fix builddir != srcdir The gdkprivate-wayland.h header file is included from the top-level gdk directory; this means that all included files referenced in the header must be relative to the `gdk` directory, otherwise the build will fail when the build directory is not equal to the source directory. This commit fixes a build failure under continuous: In file included from ../../gdk/gdkdisplaymanager.c:60:0: ../../gdk/wayland/gdkprivate-wayland.h:40:51: fatal error: gtk-primary-selection-client-protocol.h: No such file or directory #include "gtk-primary-selection-client-protocol.h" ^ compilation terminated. Makefile:1155: recipe for target 'libgdk_3_la-gdkdisplaymanager.lo' failed make[4]: *** [libgdk_3_la-gdkdisplaymanager.lo] Error 1 gdk/wayland/gdkprivate-wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 41a371c435533aee5f050500c90507844cb1e45e Author: Paolo Borelli Date: Sun Feb 28 12:03:00 2016 +0100 win32: factor out on_displaychange_event method for the screen This allows us to make more initialization methods private to the screen object. gdk/win32/gdkdisplay-win32.c | 4 ---- gdk/win32/gdkprivate-win32.h | 3 +-- gdk/win32/gdkscreen-win32.c | 23 +++++++++++++++-------- 3 files changed, 16 insertions(+), 14 deletions(-) commit 48d693ea802ce418af3a2f9f798a0a3490f0f3cb Author: Paolo Borelli Date: Sun Feb 28 11:56:01 2016 +0100 win32: make init_root_window private to the screen object It can be called during the screen object initilization gdk/win32/gdkdisplay-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 1 - gdk/win32/gdkscreen-win32.c | 6 ++++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit b20f80e65a7e1ab5905131a308b9e655312c217d Author: Paolo Borelli Date: Sun Feb 28 11:53:10 2016 +0100 win32: move function Just reorder code in preparation to calling functions defined before this one gdk/win32/gdkscreen-win32.c | 78 ++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 39 deletions(-) commit 00f396dea98e7ec718a18ad191f2a47f5de2374b Author: Paolo Borelli Date: Sun Feb 28 11:50:07 2016 +0100 win32: rename initialization function for clarity gdk/win32/gdkdisplay-win32.c | 3 +-- gdk/win32/gdkprivate-win32.h | 2 +- gdk/win32/gdkscreen-win32.c | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) commit 58e169c04c281cf6c40453908af64bcd95ae85a8 Author: Paolo Borelli Date: Sun Feb 28 11:25:54 2016 +0100 win32: do not confuse gtk-doc gdk/win32/gdkevents-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e48bd2e00be2463bdd6c0a9f37331c2254c479b7 Author: Paolo Borelli Date: Sat Feb 27 15:23:19 2016 +0100 win32: move gdkvisual code in gdkscreen Except for the init function, all the visual related code is made of gdkscreen vfuncs, so let's move it to gdkscreen-win32. This way we avoid keeping other static variables and instead store the info inside the screen struct. gdk/Makefile.am | 1 - gdk/win32/Makefile.am | 1 - gdk/win32/gdkdisplay-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 14 -- gdk/win32/gdkscreen-win32.c | 336 +++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkvisual-win32.c | 345 ------------------------------------------- gdk/win32/makefile.msc | 1 - 7 files changed, 325 insertions(+), 374 deletions(-) commit 0f3a211d35c57c6c909d245c4e49dec953af7227 Author: Matthias Clasen Date: Sat Feb 27 23:46:25 2016 -0500 gtk-demo: Simplify ui files a bit Strip unneeded IDs. demos/gtk-demo/application.ui | 18 +++++++++--------- demos/gtk-demo/font-features.ui | 6 +++--- demos/gtk-demo/main.ui | 18 +++++++++--------- demos/gtk-demo/stack.ui | 10 +++++----- demos/gtk-demo/theming.ui | 42 ++++++++++++++++++++--------------------- 5 files changed, 47 insertions(+), 47 deletions(-) commit 492fec62949019c8344c872e51b8bd0516948bba Author: Matthias Clasen Date: Sat Feb 27 23:43:06 2016 -0500 gtk-demo: Put hte app menu in a separate file No need to cram it in the same file as the main window. demos/gtk-demo/appmenu.ui | 19 +++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/main.c | 2 +- demos/gtk-demo/main.ui | 15 --------------- 4 files changed, 21 insertions(+), 16 deletions(-) commit 9d5ad67c91c76b71b31342f53c04f56c93773b35 Author: Matthias Clasen Date: Sat Feb 27 23:35:33 2016 -0500 gtk-demo: Add some padding in sidebar Add some padding on the right, to avoid the scrollbar and make the sidebar appear balanced. demos/gtk-demo/main.ui | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 213f74fe823f1d835c2d4fba04877a9a39d6d2f4 Author: Matthias Clasen Date: Sat Feb 27 23:28:17 2016 -0500 tutorial: Drop excessive margin from headerbar It is no longer necessary to add extra margins around the center child in a headerbar. examples/application10/window.ui | 1 - examples/application2/window.ui | 1 - examples/application3/window.ui | 1 - examples/application4/window.ui | 1 - examples/application5/window.ui | 1 - examples/application6/window.ui | 1 - examples/application7/window.ui | 1 - examples/application8/window.ui | 1 - examples/application9/window.ui | 1 - 9 files changed, 9 deletions(-) commit 87554eb57a101aa6a2e2f3a7a6ff5eaa09a5ede8 Author: Matthias Clasen Date: Sat Feb 27 23:12:15 2016 -0500 widget-factory: Make the sliding opt-in The sliding is a little disorienting, so turn it off by default and add a checkbutton for it in the gear menu. demos/widget-factory/widget-factory.c | 22 ++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) commit 98a36955fec680b05675c7a6ba738897e65a37c9 Author: Matthias Clasen Date: Sat Feb 27 23:03:55 2016 -0500 file chooser: Don't ellipsize "Other Locations" It just looks wrong if the file chooser comes up with "Other Locations" ellipsized. Treat it like the other fixed entries. We only want to ellipsize bookmarks, because their length is unpredictable. gtk/gtksidebarrow.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit a7a934a60cc9e1e52fc6ded89f41c4ab3efefa9a Author: Matthias Clasen Date: Sat Feb 27 22:39:09 2016 -0500 gtk3-demo: Update css Clean up any deprecation warnings from the css examples in gtk3-demo. demos/gtk-demo/css_shadows.css | 4 +-- demos/gtk-demo/cssview.css | 10 ++++---- demos/gtk-demo/reset.css | 57 +----------------------------------------- 3 files changed, 8 insertions(+), 63 deletions(-) commit 9b71a9b4aec27aac3e11f0a2725e3bc9359952e1 Author: Jordi Mas Date: Sat Feb 27 20:22:55 2016 +0100 Update Catalan translation po/ca.po | 3939 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2116 insertions(+), 1823 deletions(-) commit 34630319298c98b65c744c8de945d24550a8a30a Author: Benjamin Otte Date: Sat Feb 27 17:02:59 2016 +0100 win32 theme: Implement GtkFrame gtk/gtkwin32draw.c | 44 ++++++++++++++++++++++---------------- gtk/theme/win32/gtk-win32-base.css | 35 ++++++++++++++++++++++++------ 2 files changed, 54 insertions(+), 25 deletions(-) commit 39bfac0876125aee0ee6013513c36c80875e322f Author: Benjamin Otte Date: Sat Feb 27 05:46:00 2016 +0100 win32 theme: Remove special case for notebooks The special case is coded into Wine, but it makes notebooks disappear wrong. So remove it. gtk/theme/win32/gtk-win32-base.css | 16 ---------------- 1 file changed, 16 deletions(-) commit 5d34ee729d45e362d5644cfabf3cac6ed9ab8ed2 Author: Benjamin Otte Date: Sat Feb 27 14:23:06 2016 +0100 win32: Implement fallback code for tabs This is naive code in that it doesn't do the rounded edges for the tab items yet. We can fix that later I guess. gtk/gtkwin32draw.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit b18e64e6c697dadfab002b3bd6ae578c6cc25fd9 Author: Benjamin Otte Date: Sat Feb 27 14:16:50 2016 +0100 win32: Add fallback drawing code for window frames gtk/gtkwin32draw.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) commit 879333d226c0874042324b48db7473989c2466e9 Author: Benjamin Otte Date: Sat Feb 27 13:28:14 2016 +0100 win32: Finish button drawing code We now draw real Windows 95 buttons. Also split out a draw_edge() function that is supposed to emulate Windows' DrawEdge() function. I guess we'll need it in other places, too. gtk/gtkwin32draw.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 94 insertions(+), 13 deletions(-) commit 70d689cddda0dc616af97e8ed047d0c0acf7c7a6 Author: Paolo Borelli Date: Sat Feb 27 11:43:18 2016 +0100 gdk: calculate pixel color shift and precision lazily This gets rid of the decompose_mask utility entirely and simplifies backend code. gdk/broadway/gdkvisual-broadway.c | 18 -------- gdk/gdkvisual.c | 92 +++++++++++++++++---------------------- gdk/gdkvisualprivate.h | 12 ----- gdk/quartz/gdkvisual-quartz.c | 10 ----- gdk/win32/gdkvisual-win32.c | 48 +++++++++----------- gdk/x11/gdkvisual-x11.c | 26 +---------- gdk/x11/gdkwindow-x11.c | 13 ++++-- 7 files changed, 73 insertions(+), 146 deletions(-) commit f73e7680ed1a29be2f13350b29d180ea9cfbcbec Author: Paolo Borelli Date: Sat Feb 27 10:46:59 2016 +0100 gdk: factor out utility shared among backends Removes duplicated code and makes sure we use the version which is safe against infinite loops gdk/broadway/gdkvisual-broadway.c | 32 -------------------------------- gdk/gdkvisual.c | 27 +++++++++++++++++++++++++++ gdk/gdkvisualprivate.h | 4 ++++ gdk/quartz/gdkvisual-quartz.c | 21 --------------------- gdk/win32/gdkvisual-win32.c | 25 ------------------------- gdk/x11/gdkvisual-x11.c | 30 ------------------------------ 6 files changed, 31 insertions(+), 108 deletions(-) commit 053e549dbccfb5c4155324546e95be91e3f34d39 Author: Benjamin Otte Date: Sat Feb 27 03:58:40 2016 +0100 notebook: Redo notebook implementation So far, this only reworks the tabs at top implementation. Windows doesn't have support for theming tabs at left/right/bottom so we need to figure out what to do there. Wine falls back to unthemed code. gtk/theme/win32/gtk-win32-base.css | 210 ++++++++++++++++++++++++++++++++- gtk/theme/win32/gtk.css | 234 ------------------------------------- 2 files changed, 206 insertions(+), 238 deletions(-) commit 245d217e06be3b84aae877aea50c1737732e0c15 Author: Benjamin Otte Date: Sat Feb 27 03:56:07 2016 +0100 boxgadget: Add ability to draw children in reverse This is necessary for GtkNotebook so that the stack is always drawn before the header. And that is necessary so that the active tab can use negative margins to overdraw the border of the stack to create a gap and simulate old GTK2-style visuals for notebooks. gtk/gtkboxgadget.c | 18 +++++++++++++++--- gtk/gtkboxgadgetprivate.h | 2 ++ gtk/gtknotebook.c | 5 +++++ 3 files changed, 22 insertions(+), 3 deletions(-) commit a2fa6471995a6cdda3c4e3884f30c90cddbe1143 Author: Benjamin Otte Date: Sat Feb 27 00:40:09 2016 +0100 cssimagewin32: IMplement printing Caveat: over() and margins() arent' printed, but they are soon gonna be removed anyway. gtk/gtkcssimagewin32.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit e45cb3340c5b1682b8d960431d262dd873da6194 Author: Benjamin Otte Date: Fri Feb 26 06:49:35 2016 +0100 window: Include decoration border and padding in resize area This is relevant for the Windows theme, which is the only theme that uses padding on decorations. All other themes are unaffected. gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit cdb1cda68bc484c5d52203888847f9a115b4afe0 Author: Benjamin Otte Date: Sat Feb 27 03:48:46 2016 +0100 notebook: The active tab is now :checked :active is reserved for "mouse button down on node", so we have to use something else. And stack switcher and radio buttons use :checked for the active widget, so it makes sense to use :checked for the active tab, too. Themes have been adapted. TODO: Implement :active for tabs. gtk/gtknotebook.c | 8 +- gtk/theme/Adwaita/_common.scss | 14 +- gtk/theme/Adwaita/gtk-contained-dark.css | 472 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 488 ++++++++-------- gtk/theme/HighContrast/_common.scss | 10 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 676 +++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 626 ++++++++++----------- 7 files changed, 1147 insertions(+), 1147 deletions(-) commit 6b4788c3ea3e74bab71e465456b815f3b8a279b4 Author: Benjamin Otte Date: Sat Feb 27 03:39:51 2016 +0100 textview: Support borders in text node gtk/gtktextview.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit d7bc0fd24cffe09cbd8b82b9119ec777ff570737 Author: Benjamin Otte Date: Sat Feb 27 03:26:52 2016 +0100 textview: Fix coordinates when background drawing of text node Fixes black areas in source view of gtk-demo. gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 914f7bd6e48a09025ae35927813fdee863a53881 Author: Matthias Clasen Date: Fri Feb 26 19:41:25 2016 -0500 wayland: Survive without primary selection I am testing GTK+ master against mutter 3.19.90, so I'd like GTK+ to survive even when the compositor does not support the primary selection interface. gdk/wayland/gdkdevice-wayland.c | 13 ++++++++----- gdk/wayland/gdkselection-wayland.c | 11 +++++++---- 2 files changed, 15 insertions(+), 9 deletions(-) commit b72996cde485049c9905ea4f563ba9f74c234eae Author: Cédric Valmary Date: Fri Feb 26 20:56:32 2016 +0000 Updated Occitan translation po/oc.po | 2635 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1654 insertions(+), 981 deletions(-) commit ca3d87ce70e1a9c00a37d40eb0d8039d92368a1d Author: Matthias Clasen Date: Fri Feb 26 15:50:31 2016 -0500 Avoid an out-of-bounds access When the offset gets smaller than min_offset, we can't access the array at that position. gtk/gtktextiter.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 8ff40b5d149b041aae324e8cc4dff64a26bd09eb Author: Matthias Clasen Date: Fri Feb 26 15:50:08 2016 -0500 Plug a small memory leak testsuite/gtk/rbtree.c | 2 ++ 1 file changed, 2 insertions(+) commit 88e372cd090e9cc4ee81ca368d43f8b4fc91d8a8 Author: Matthias Clasen Date: Fri Feb 26 14:55:20 2016 -0500 infobar: Avoid a memory leak in an error case Parsing could sometimes fail to free some of the data, if a nonexisting widget is referenced. Found by gcc's leak sanitizer. gtk/gtkinfobar.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit c784d5d700c7d6c03680eb21de19c8391e8ffac3 Author: Matthias Clasen Date: Fri Feb 26 14:51:24 2016 -0500 levelbar: Avoid a use-after-free We were freeing the old offset before using its name to recreate a new one. Don't do that. Found by gcc's undefined behavior sanitizer. gtk/gtklevelbar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 5ca860dcaf0b636b50fe54cd2abff7e92091bdb3 Author: Matthias Clasen Date: Fri Feb 26 14:50:25 2016 -0500 dialog: Avoid a memory leak in an error case Parsing could sometimes fail to free some of the data, if a nonexisting widget is referenced. Found by gcc's leak sanitizer. gtk/gtkdialog.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 6108c646c57c6c489225f5e5e6484ac282c07bdf Author: Matthias Clasen Date: Fri Feb 26 14:48:21 2016 -0500 cssselector: Don't invoke undefined behavior Avoid undefined behavior in the calculation of some hash values. Found by gcc's undefined behavior sanitizer. gtk/gtkcssselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2cabfcc80100b1863e82439e7b39eed024eb3a24 Author: Matthias Clasen Date: Fri Feb 26 14:47:16 2016 -0500 Avoid an a crash with GTK_DEBUG=builder We might cast objects to GtkBuildable even if they aren't, to print their names. Don't do that. Found by gcc's address sanitizer. gtk/gtkbuilder.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 9f37557ffc2441150f6855e04c17d9f4e793cfb1 Author: Matthias Clasen Date: Fri Feb 26 13:08:45 2016 -0500 Fix an memory overrun This was detected by gccs address sanitizer. gdk/wayland/gdkdisplay-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 3084eca14b98be0ac94c5e0973c00022efdaa75c Author: Cédric Valmary Date: Fri Feb 26 20:35:37 2016 +0000 Updated Occitan translation po-properties/oc.po | 4357 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2418 insertions(+), 1939 deletions(-) commit a2c575e34e6625a0813ebf57a100aafd314ec9ae Author: Carlos Garnacho Date: Fri Feb 26 00:28:05 2016 +0100 wayland: Use the page size as the selection buffer size And ensure we don't attempt to read EOF twice, once is enough. gdk/wayland/gdkselection-wayland.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit ed3c87df7a09ba1e0145c6b912a58f4a056d2925 Author: Carlos Garnacho Date: Thu Feb 4 17:33:51 2016 +0100 wayland: Implement the (so far internal) primary selection protocol Implement it using the internal copy of the protocol. Otherwise, we just deal with it the same than clipboard selection, just mapping it to the PRIMARY atom instead of the CLIPBOARD one. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/gdkdevice-wayland.c | 62 +++++++- gdk/wayland/gdkdisplay-wayland.c | 6 + gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 13 +- gdk/wayland/gdkselection-wayland.c | 293 ++++++++++++++++++++++++++++++------- 5 files changed, 315 insertions(+), 60 deletions(-) commit f9f558671421762e4799e077eab3c64b8b873cfe Author: Carlos Garnacho Date: Tue Feb 23 20:32:31 2016 +0100 wayland: Make the function to get the last serial a seat one This will be useful for primary selection. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/gdkdevice-wayland.c | 12 +++++++----- gdk/wayland/gdkprivate-wayland.h | 4 ++-- gdk/wayland/gdkwindow-wayland.c | 16 +++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) commit 787e1d71133089668f0ef8ec19b4d50eb1d89e4e Author: Carlos Garnacho Date: Tue Feb 23 20:20:42 2016 +0100 wayland: Add gtk-primary-selection protocol This protocol is an internal mirror of the primary selection drafts being proposed for wayland-protocols. No changes besides prefix/suffix changes. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/Makefile.am | 3 + gdk/wayland/protocol/gtk-primary-selection.xml | 225 +++++++++++++++++++++++++ 2 files changed, 228 insertions(+) commit 4fd5ad2f07645363ecf80a0036b5b76c98d13ff8 Author: Lapo Calamandrei Date: Fri Feb 26 19:01:19 2016 +0100 Adwaita: notebook tab sizing fix gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 11 insertions(+) commit 0a6ee5e2cfe365e9ff6d391193edecf511d3a962 Author: Fredy Paquet Date: Fri Feb 26 17:21:26 2016 +0000 W32: Fix for commit 1f74f12d9, re-enabling decimal separator key 1f74f12d9 rendered entry of keypad decimal mark unuseable for several national keyboard layouts, this commit amends that, at least for W32, and makes GTK+ behave more or less the same way W32 behaves. The patch works like this: - When typing the first character at the keyboard or when switching keyboard layouts, the decimal mark character will be cached in the static variable "decimal_mark" within gdkkeys-win32.c - in case of WIN32, gdk_keyval_to_unicode() asks gdkkeys-win32.c for the current decimal_mark when converting GDK_KEY_KP_Decimal. https://bugzilla.gnome.org/show_bug.cgi?id=756751 gdk/gdkkeyuni.c | 12 ++++++++++++ gdk/win32/gdkkeys-win32.c | 22 ++++++++++++++++++++-- gdk/win32/gdkprivate-win32.h | 2 ++ 3 files changed, 34 insertions(+), 2 deletions(-) commit 9f606b827092e2edd887686507cd6e4bb368bb07 Author: Lapo Calamandrei Date: Fri Feb 26 13:15:37 2016 +0100 Adwaita: stricter selector for split headerbar separator with a descendant select was erroneusly catching normal headerbar separators in paned split headerabar case, see gedit. Using a child selector fixes. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 296a7c24f946c2c612ddb881a557158f48cbc460 Author: Lapo Calamandrei Date: Fri Feb 26 13:07:09 2016 +0100 Adwaita: simplify mixed buttons styling gtk/theme/Adwaita/_common.scss | 20 +++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++------------ gtk/theme/Adwaita/gtk-contained.css | 16 ++++------------ 3 files changed, 11 insertions(+), 41 deletions(-) commit 1a0b6568fa9536682ab2929041e6b7296484d219 Author: Lapo Calamandrei Date: Fri Feb 26 12:53:02 2016 +0100 Adwaita: fix separator in non paned using split headerbar Fixes https://bugzilla.gnome.org/show_bug.cgi?id=762593 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 20 +++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 20 +++++++++----------- 3 files changed, 22 insertions(+), 22 deletions(-) commit ea9e8221b19f1145aa48a9c4f261ca7bd5057e64 Author: Carlos Soriano Date: Fri Feb 26 11:54:53 2016 +0100 gtkplacessidebar: use gpointers in trash row It's the right casting. Forgot to push it with the previous patch. gtk/gtkplacessidebar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 377ac909b7919a12109b4dfb0877589afbbd5a46 Author: Carlos Soriano Date: Fri Feb 26 11:01:38 2016 +0100 gtkplacessidebar: clean up trash row on destroy Track with a weak ref the trash row, so we can clean up the data in the private struct. Spotted and reviewed by Christian Hergert. gtk/gtkplacessidebar.c | 7 +++++++ 1 file changed, 7 insertions(+) commit c3e56d3d83b59f4ca869f93434e168d00f42682d Author: Gábor Kelemen Date: Fri Feb 26 09:14:53 2016 +0000 Updated Hungarian translation po/hu.po | 819 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 468 insertions(+), 351 deletions(-) commit c61764b0f9248cf419bfef251184ccd81855b59c Author: Руслан Ижбулатов Date: Wed Feb 24 17:20:33 2016 +0000 GDK W32: Fix the filling of MINMAXINFO 1) MSDN says that the coordinates of the maximized window must be specified as if the window was on the primary display, even if nearest display where it ends up is not the primary display. So instead of using nearest display work area verbatim, use it only to account for taskbar size, while using primary display top-left corner (0:0) as the reference point. 2) MSDN says that max tracking size is a system property, we should just call GetSystemMetrics() and use that. https://bugzilla.gnome.org/show_bug.cgi?id=762629 gdk/win32/gdkevents-win32.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit d3f713529ab2c1fcbf1a35de0a3a38cf9fb49399 Author: Matthias Clasen Date: Fri Feb 26 00:13:34 2016 -0500 Document CSS win32 size support docs/reference/gtk/css-properties.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 34e204952e1887a35468c34c802cc51436a53b2d Author: Benjamin Otte Date: Fri Feb 26 03:17:01 2016 +0100 win32 theme: Make titlebuttons look like they're the right size This is a hack because we can't really rtesize the buttons. Instead, we draw the background only over the area that they would be drawn if they were drawn by Windows. The button is still selectable outside of this area, but what can you do... gtk/theme/win32/gtk.css | 3 +++ 1 file changed, 3 insertions(+) commit ad204c88caaf8ffbe213ea5d2ba47c93bdfad71d Author: Benjamin Otte Date: Fri Feb 26 03:15:53 2016 +0100 win32 theme: Fix decorations ... and draw them properly. gtk/theme/win32/gtk.css | 42 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) commit 5522ce96498ba09b1cac31515b1d78443f9d3696 Author: Matthias Clasen Date: Thu Feb 25 21:19:31 2016 -0500 xi2: Add some more debug spew Log the valuators we use or ignore. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 8b93c013c37ec16bfe6ee74d9c763796e34852fe Author: Matthias Clasen Date: Thu Feb 25 20:49:09 2016 -0500 inspector: Simplify general tab setup Factor out the code to create a listbox row with two labels, and use it throughout. gtk/inspector/general.c | 216 +++++++++++++++--------------------------------- 1 file changed, 66 insertions(+), 150 deletions(-) commit 4f5f299266bb028ef9d9f18cae95f967428b7d48 Author: Matthias Clasen Date: Thu Feb 25 20:28:23 2016 -0500 inspector: React to device changes Recreate the device section in the general tab when devices come or go. gtk/inspector/general.c | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) commit 5b2e8831616170e8a9c155700bf19c774d5cb6e9 Author: Matthias Clasen Date: Thu Feb 25 20:16:21 2016 -0500 Remove redundant words from docs An either without an or doesn't add anything. gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f749152efea322006fdd4c87daeaaf3d853c9a64 Author: Matthias Clasen Date: Thu Feb 25 20:12:53 2016 -0500 Fix a copy-paste error gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a051e5677edb1656173520f9aef20f722ff07ac0 Author: Matt Watson Date: Wed Feb 24 10:41:45 2016 -0800 widget-factory: transition pages https://bugzilla.gnome.org/show_bug.cgi?id=762642 demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit 5df1e98b2ac8698539a7e7416fdb18d5c3ad36ed Author: Benjamin Otte Date: Thu Feb 25 23:20:31 2016 +0100 window: Draw decorations in the right place When we draw our own shadows, we need to offset the calls to render the background to the border rectangle. gtk/gtkwindow.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 09b15710933d4727246079d2345b84c59e9defc3 Author: Matthias Clasen Date: Thu Feb 25 16:36:13 2016 -0500 Better baseline adjustment The way we were adjusting baselines if min-height forces a size increase was not quite working as intended. Redo it in a simpler way: just split up the excess and count half of it for above the baseline and half below. This fixes button labels in dialogs appearing too low. gtk/gtkcssgadget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit a975e733dcb0c270255d64136f00461547140491 Author: Matthias Clasen Date: Thu Feb 25 16:17:34 2016 -0500 fix a typo gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0213815d2f6d8abfaaf02346971ccab16f6500d1 Author: Timm Bäder Date: Thu Feb 25 19:23:40 2016 +0100 Move .keycap docs from GtkFrame to GtkLabel That's where .keycap is used nowadays. gtk/gtkframe.c | 3 +-- gtk/gtklabel.c | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) commit 77594be976d3835ced3b583dd314e286892e168c Author: Timm Bäder Date: Thu Feb 25 18:41:24 2016 +0100 frame: Measure border gadget separately https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 8 deletions(-) commit 3431451463b3567ed6addb9490e36ed84ebebb77 Author: Timm Bäder Date: Thu Feb 25 18:40:44 2016 +0100 frame: Let GtkContainer handle border-width https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit abd781a2c99803d2e08665ad1bda5f08dba49723 Author: Matthias Clasen Date: Thu Feb 25 13:18:02 2016 -0500 icon helper: Don't set baseline to 0 It is clearly not the intention that the baseline of icons is at the very top. The visible effect of this was that spin buttons were higher than expeted, because the box gadget was trying to line up the baseline of the text with the top of the buttons, forcing extra height to be requested. Just don't set a baseline at all for now. gtk/gtkiconhelper.c | 5 ----- 1 file changed, 5 deletions(-) commit 8920b6a65091e48eb3e0276f1fb3762bc580982c Author: Artur de Aquino Morais Date: Thu Feb 25 16:30:11 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 680 +++++++++++++++++++++++++------------------------ 1 file changed, 344 insertions(+), 336 deletions(-) commit 40269f4e5dd91193a53f8bb6728d37b384d10359 Author: Piotr Drąg Date: Thu Feb 25 17:26:45 2016 +0100 Updated Polish translation po-properties/pl.po | 734 ++++++++++++++++++++++++++-------------------------- 1 file changed, 369 insertions(+), 365 deletions(-) commit 3a9ceffe12927fd229e91623d476b53a70618d42 Author: Benjamin Otte Date: Tue Feb 23 05:05:37 2016 +0100 win32 theme: Make entries and textview work gtk/gtkwin32draw.c | 41 ++++++++++++++++++++++++++++++++ gtk/theme/win32/gtk-win32-base.css | 48 ++++++++++++++++++++++++-------------- 2 files changed, 72 insertions(+), 17 deletions(-) commit 4e8fb33f5677e086e1ba9f5a5650a12be99da99c Author: Benjamin Otte Date: Thu Feb 25 16:14:37 2016 +0100 pixelcache: Don't have a style context argument That would imply the pixelcache monitors the style context for changes and it doesn't do that. Its only use case was opacity checks, so add gtk_pixel_cache_se_is_opaque() instead. gtk/gtkpixelcache.c | 23 +++++++++++------------ gtk/gtkpixelcacheprivate.h | 4 ++-- gtk/gtktextview.c | 11 +++++++++-- gtk/gtkviewport.c | 31 ++++++++++++++++++++++++------- 4 files changed, 46 insertions(+), 23 deletions(-) commit 71a9fd9d83f118abc2ed087792459f3e47a555dd Author: Benjamin Otte Date: Thu Feb 25 15:40:04 2016 +0100 stylecontext: Move background_is_opaque() function The new way, it no longer depends on the style context, but on the CssStyle. This will become relevant in the next commit. gtk/gtkpixelcache.c | 3 ++- gtk/gtkrenderbackground.c | 22 ++++++++++++++++++++++ gtk/gtkrenderbackgroundprivate.h | 16 +++++++++------- gtk/gtkstylecontext.c | 35 ++++++----------------------------- gtk/gtkstylecontextprivate.h | 2 -- 5 files changed, 39 insertions(+), 39 deletions(-) commit 374494b9285c88a5a16366a573eedc5e9537837f Author: Fran Dieguez Date: Thu Feb 25 15:34:16 2016 +0000 Updated Galician translation po/gl.po | 3947 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2117 insertions(+), 1830 deletions(-) commit 53fe9c2b0cfdcf42f5f05ed27d66ff109164d1b7 Author: Ignacio Casal Quinteiro Date: Thu Feb 25 15:25:19 2016 +0100 inspector: use guint to fix the windows build gtk/inspector/general.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20cf42c9ea977fe441c297a531811990876575c7 Author: Carlos Soriano Date: Thu Feb 25 14:25:40 2016 +0100 gtkplacessidebar: avoid unresponsive UI while trashing We were updating the whole places sidebar when the trash changed. This effectively removes all rows and create new ones for every trash state change. Although when using GtkTreeView it was somehow ok, with the new implementation with GtkListBox this effectively locks the UI while the trash operations are being performed. When performing operations for i.e. 100 files, the UI can be locked for more than 1 minute since gvfs-trash usually takes time. To fix this just update the icon of the trash when the state of the trash change instead of the whole sidebar. https://bugzilla.gnome.org/show_bug.cgi?id=762677 gtk/gtkplacessidebar.c | 21 +++++++++++++++------ gtk/gtksidebarrow.c | 27 +++++++++++++++++++++------ gtk/gtksidebarrowprivate.h | 2 ++ 3 files changed, 38 insertions(+), 12 deletions(-) commit fe4602acc59d4853e23c205ba1ba6d43f55894e8 Author: Matthias Clasen Date: Thu Feb 25 08:26:34 2016 -0500 inspector: Show ::num-touches for touch devices This can be useful information. gtk/inspector/general.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit a4a7740b2fb73dd70d4462a3d6e2e61bb6ef7820 Author: Matthias Clasen Date: Thu Feb 25 08:25:50 2016 -0500 xi2: Set ::num-touches for touch devices XI2 has this information, so pass it on. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit f468f0fbb26a5f6199b30112420b12b9cc90a6db Author: Matthias Clasen Date: Thu Feb 25 08:25:14 2016 -0500 device: Add a num-touches property Some backends can provide this information for touch devices, and it can be useful to have, so add this property. gdk/gdkdevice.c | 25 +++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 1 + 2 files changed, 26 insertions(+) commit 197799412889659eec413b0e5cfd371cb64fc82e Author: Carlos Soriano Date: Thu Feb 25 13:39:23 2016 +0100 gtkplacesview: clean up mount server callback And fix a warning of unused variable. Reviewed by Nacho on IRC gtk/gtkplacesview.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) commit e12663378c3efdfc5995bd6222497700e01f54d9 Author: Matthias Clasen Date: Thu Feb 25 06:18:41 2016 -0500 x11: Update seat capabilities The default seat implementation was never returning capabilities, which is broken. It is visible too, since the inspector shows seat information now. gdk/gdkseatdefault.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 84ba01d713df386fb8b141a5c6c1fc393509a3ba Author: Matthias Clasen Date: Thu Feb 25 01:21:27 2016 -0500 inspector: Update for screen config changes Repopulate the display section whenever the monitor configuration changes. gtk/inspector/general.c | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) commit 15ccdcd25b2d81d08e3356db7cc5b3bd483081e5 Author: Matthias Clasen Date: Thu Feb 25 01:10:23 2016 -0500 inspector: Don't show numeric ids The vendor and product ids for input devices aren't useful as-is; need to figure out how to translate them to names. gtk/inspector/general.c | 58 ------------------------------------------------- 1 file changed, 58 deletions(-) commit 455935a06aadd70d9301239955f2f6dbc7237f61 Author: Matthias Clasen Date: Thu Feb 25 00:49:17 2016 -0500 inspector: Show more device information This adds vendor and product id and axes. This reveals that the GDK backends have quite different quality when it comes to returning meaningful information here. gtk/inspector/general.c | 138 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 135 insertions(+), 3 deletions(-) commit 03db14c2d62317166081d32c3da015fa56951cc9 Author: Matthias Clasen Date: Thu Feb 25 00:17:09 2016 -0500 inspector: Show some basic device information Add information about seats and their associated devices in the General tab. gtk/inspector/general.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/general.ui | 15 +++++ 2 files changed, 181 insertions(+) commit dde33623ca3a26ab1c480d918bd86b7f2a24d0f2 Author: Matthias Clasen Date: Wed Feb 24 22:18:13 2016 -0500 gadget: Warn about missing size allocation When size_allocate is overridden in widgets, but draw is not, we can end up drawing a gadget that has not been given a size. Warn about this, and limp along by drawing the gadget over the full allocation of its owner widget. https://bugzilla.gnome.org/show_bug.cgi?id=762614 gtk/gtkcssgadget.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit c75a8336333f5bcc6c285cc50db8d6daf133311c Author: Matthias Clasen Date: Wed Feb 24 21:59:44 2016 -0500 x11: More fake tablet blacklisting Sigh. Now that we've neutered the QEMU USB tablet, I'm finding that spice is doing just the same nonsense. It has a fake "spice vdagent tablet". Blacklist that as well. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 760b540c8cb0bf0201eac3b59a698972d26ec59b Author: Benjamin Otte Date: Thu Feb 25 04:02:39 2016 +0100 treeview: Don't make things way too high If the size-request is larger than the dedicated size, don't increase the dedicated size by the size request, only increase it to the size request. gtk/gtktreeview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 8ed804f1b494c5d3f6bb3fb8c3ee4981f983ccf5 Author: Benjamin Otte Date: Thu Feb 25 03:57:47 2016 +0100 textview: Draw the background properly The background is *not* drawn relative to the clipping area. gtk/gtktextview.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 9016a00eddbcbf70b3c8bb503439ab60d7da27b1 Author: Benjamin Otte Date: Thu Feb 25 03:57:11 2016 +0100 treeview: Fix positioning of editing widgets This looks like a thinko. gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18abf86510042535128b85950337246230c0eec2 Author: Claude Paroz Date: Wed Feb 24 20:56:32 2016 +0100 Updated French translation po-properties/fr.po | 3222 +++++++++++++++++++++++++++------------------------ 1 file changed, 1678 insertions(+), 1544 deletions(-) commit e390e3b8e34fb7701f5996be3dec9bc12789bb72 Author: Ben Iofel Date: Wed Feb 24 14:37:35 2016 -0500 GtkIMContext: remove broken anchors in documentation gtk/gtkimcontext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit acbb0c4bddc2839d225db3ca8640c1fec94b0b78 Author: William Hua Date: Wed Feb 24 13:24:14 2016 -0500 mir: fix warnings gdk/mir/gdkmir-debug.c | 16 ++++++++-------- gdk/mir/gdkmir-private.h | 10 ---------- gdk/mir/gdkmireventsource.c | 5 ++--- gdk/mir/gdkmirwindowimpl.c | 4 +++- 4 files changed, 13 insertions(+), 22 deletions(-) commit 594ba3071bec162a46d5c1b7d340b2674e3eff5a Author: William Hua Date: Wed Feb 24 13:23:18 2016 -0500 mir: fix GdkSeat-related deprecations gdk/mir/gdkmireventsource.c | 19 +++++++++++++++++-- gdk/mir/gdkmirwindowimpl.c | 10 +++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) commit 60d7f4376ea5ff1722cd20aced72c167372d2a38 Author: Carlos Garnacho Date: Wed Feb 24 17:19:48 2016 +0100 GtkTextHandle: Look up for the first child of a scrolled window found Text handles use to connect to the first GtkScrollable up the hierarchy so they can be repositioned when scrolling. It makes more sense to look up the first child of a GtkScrolledWindow, it must be an scrollable too, and will be the scrollable that can actually change the position of the text handles. https://bugzilla.gnome.org/show_bug.cgi?id=761676 gtk/gtktexthandle.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit ffea7a267d8d9e3a3f8ae6585b1172970bfd0ff3 Author: Fabrício Godoy Date: Wed Feb 24 15:32:33 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 2 -- 1 file changed, 2 deletions(-) commit bf0ef08e508f4c2f9d80f582f5bf6e1b2231b36f Author: Jordi Mas Date: Wed Feb 24 16:32:23 2016 +0100 Update Catalan translation po/ca.po | 4210 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2065 insertions(+), 2145 deletions(-) commit 97c1803c74369660f3305afd3d95f688c4dca5ea Author: Matthias Clasen Date: Wed Feb 24 07:23:15 2016 -0500 3.19.10 NEWS | 42 ++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 43 insertions(+), 1 deletion(-) commit b8183fb3346e1e731b5377ce96100cf7aaff472d Author: Matthias Clasen Date: Wed Feb 24 07:26:33 2016 -0500 Add a release note about theme changes README.in | 9 +++++++++ 1 file changed, 9 insertions(+) commit 3cff1efea5ea0981b88d19cb20ab4e82edacca52 Author: Fran Dieguez Date: Wed Feb 24 11:07:01 2016 +0100 Update Galician translations po-properties/gl.po | 2983 +++++++++++++++++++++++++++------------------------ po/gl.po | 2 +- 2 files changed, 1563 insertions(+), 1422 deletions(-) commit fad0c275b992bdb5daee1a57fc649c1f22b5e272 Author: Anders Jonsson Date: Wed Feb 24 09:21:02 2016 +0000 Updated Swedish translation po/sv.po | 653 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 364 insertions(+), 289 deletions(-) commit d7fc1ea9213d95aeb8947ddaeaff51a4ded2a6fa Author: Fabrício Godoy Date: Wed Feb 24 06:58:33 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 2428 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1367 insertions(+), 1061 deletions(-) commit cf6c0b09a5d62257152b1b2cfd99543492ecbd99 Author: Jean-François Fortin Tam Date: Sun Feb 21 11:45:44 2016 -0500 spin button: Use the Ctrl modifier for Home and End key bindings https://bugzilla.gnome.org/show_bug.cgi?id=309300 gtk/gtkspinbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 566010e91d9337b947320afe80f41c63197cc49f Author: Matthias Clasen Date: Tue Feb 23 20:53:23 2016 -0500 Add a testcase for revealer size allocation This was taken from https://bugzilla.gnome.org/show_bug.cgi?id=761760 tests/Makefile.am | 4 +++ tests/testrevealer2.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 86 insertions(+) commit 0c25c5d43d3a299698a54b31107339861e556a2d Author: Timm Bäder Date: Fri Feb 19 13:22:02 2016 +0100 revealer: Don't report >0 preferred width... ... if the child is concealed and the transition type is set to NONE. In this case, both preferred width and preferred height should be 0, but we still can't use that to allocate a size for the child, so care about the minimum size of the child in gtk_revealer_get_child_allocation. https://bugzilla.gnome.org/show_bug.cgi?id=761760 gtk/gtkrevealer.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 17a4bd51bb0975dada19c64324a5e77026570467 Author: Carlos Soriano Date: Mon Feb 22 16:18:21 2016 +0100 gtkplacesview: use location instead of the enclosing one We were using the enclosing location when connecting to a server, so for instance if we were connecting to ftp://test/test it would actually open ftp://test/ instead of the full path. To fix it, use the full location when emitting the open location signal. https://bugzilla.gnome.org/show_bug.cgi?id=756659 gtk/gtkplacesview.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 4ff3d5b7a6410272471f8216e87d1b87607f973e Author: Carlos Garnacho Date: Mon Feb 22 22:40:50 2016 +0100 gdk: Avoid 2/3BUTTON event generation if the source device changes Remember the last source device we're generating multiple clicks for, just so we can bail out if the device changed. That will just reset the counting. https://bugzilla.gnome.org/show_bug.cgi?id=723659 gdk/gdkdisplayprivate.h | 1 + gdk/gdkevents.c | 7 +++++++ 2 files changed, 8 insertions(+) commit 3d700515e191986dddb4e5675ef41af8695a472f Author: Carlos Garnacho Date: Mon Feb 22 22:38:56 2016 +0100 GtkGestureMultiPress: reset multi-press sequence if the source device changes This prevents multipress sequences to possibly come from different mice. Now the accumulated number of presses will be reset if the device changes in the mean time. https://bugzilla.gnome.org/show_bug.cgi?id=723659 gtk/gtkgesturemultipress.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 63a204e1c5b6cbd52e63784d25f59ce152a7d7a8 Author: Carlos Soriano Date: Tue Feb 23 20:29:03 2016 -0500 gtkplacessidebar: add open flags to other locations We weren't using the open flags on the other locations signal, which makes impossible for applications like nautilus to act in the same way that for any other location where the user can choose between opening in the current view, in a new window or in a new tab. Add the signal missing parameter in order to allow it. https://bugzilla.gnome.org/show_bug.cgi?id=754743 README.in | 5 +++++ gtk/gtkfilechooserwidget.c | 1 + gtk/gtkplacessidebar.c | 15 +++++++++++---- 3 files changed, 17 insertions(+), 4 deletions(-) commit 98fb6f6988436408540d463755aa23bba031f635 Author: Fran Dieguez Date: Tue Feb 23 20:50:22 2016 +0100 Updated Galician translations po/gl.po | 4255 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2081 insertions(+), 2174 deletions(-) commit 5ee0a7105b2ddc5e1da64f211ef28f534eae9f1b Author: Мирослав Николић Date: Tue Feb 23 10:17:24 2016 +0100 Updated Serbian translation po-properties/sr.po | 314 +++++++++++++++++++++++----------------------- po-properties/sr@latin.po | 314 +++++++++++++++++++++++----------------------- 2 files changed, 316 insertions(+), 312 deletions(-) commit cab307f3d223c88c5aa89a8cf5db3141b1c6b70f Author: Мирослав Николић Date: Tue Feb 23 10:16:47 2016 +0100 Updated Serbian translation po/sr.po | 2080 +++++++++++++++++++++++++++++++++----------------------- po/sr@latin.po | 1931 +++++++++++++++++++++++++++++----------------------- 2 files changed, 2321 insertions(+), 1690 deletions(-) commit a2b4acb3b6ca7429ebd3ee07c96dba0760d6a9f9 Author: Мирослав Николић Date: Fri Feb 19 18:35:32 2016 +0100 Updated Serbian translation po-properties/sr.po | 3068 ++++++++++++++++++++++++--------------------- po-properties/sr@latin.po | 3065 +++++++++++++++++++++++--------------------- 2 files changed, 3231 insertions(+), 2902 deletions(-) commit 2b03bbb359054422ba3a98efd0b38b207e410ae2 Author: Theppitak Karoonboonyanan Date: Tue Feb 23 14:46:39 2016 +0700 Updated Thai translation po/th.po | 6197 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 3973 insertions(+), 2224 deletions(-) commit cf71d98b05e8b5bf1a5e55949fbb46f6c9a2e1de Author: Benjamin Otte Date: Tue Feb 23 04:21:10 2016 +0100 entry: Make the get_text_area() vfunc relative to top left of entry This fixes GdTaggedEntry. I hope. gtk/gtkentry.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 3056d793a40d20574fa95cd6a4f6cc619b724039 Author: Benjamin Otte Date: Tue Feb 23 04:19:42 2016 +0100 cssparser: Make _gtk_css_parser_has_number() a bit smarter Previously we just checked the first character. And if that was a "-" as in "-gtk-some-special-value", we assumed it was a number. Which it clearly wasn't. Test included gtk/gtkcssparser.c | 9 ++++++++- testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/background-win32-color-is-no-error.css | 3 +++ testsuite/css/parser/background-win32-color-is-no-error.ref.css | 9 +++++++++ 4 files changed, 22 insertions(+), 1 deletion(-) commit 437dec6295356e39a81f2fcaa10ea979fffd0482 Author: Benjamin Otte Date: Tue Feb 23 04:18:53 2016 +0100 csscolorvalue: Print a comma for win32 values gtk/gtkcsscolorvalue.c | 1 + 1 file changed, 1 insertion(+) commit c3dc0d80f1353ac66882ca3288ca7e9a13c47d6f Author: Benjamin Otte Date: Mon Feb 22 21:38:03 2016 +0100 container: Request layout again depending on layout mode Containers with RESIZE_MODE_PARENT should never request layout and those with RESIZE_MODE_IMMEDIATE should only request it for updating CSS. Fixes clutter embeds (like the tray icon embed in gnome-shell) continuously requesting relayout when all they want to do is relegate relayout to Clutter. https://bugzilla.gnome.org/show_bug.cgi?id=758893 gtk/gtkcontainer.c | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) commit 70b9ea2c4bbfc7858b42036fe4efbb52302ea2bd Author: Chao-Hsiung Liao Date: Tue Feb 23 02:51:35 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 487 ++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 280 insertions(+), 207 deletions(-) commit c643d8b40219d86ebb2eb5a7810e59d7bc7b79f5 Author: Paolo Borelli Date: Mon Feb 22 21:20:18 2016 +0100 Win32: fix warning gdk/win32/gdkdisplay-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc3c855e35186a6b1a7a2e56cc23c3868f5438a2 Author: Paolo Borelli Date: Mon Feb 22 17:55:16 2016 +0100 wip _gdk_display gdk/win32/gdkevents-win32.c | 75 ++++++++++++++++++++++++++---------------- gdk/win32/gdkselection-win32.c | 9 ----- gdk/win32/gdkwindow-win32.c | 15 +++++---- 3 files changed, 55 insertions(+), 44 deletions(-) commit 7047099fd82a428e913b7a8eae08132ee8db8ea0 Author: Paolo Borelli Date: Mon Feb 22 21:01:24 2016 +0100 Win32: fold the gdkinput.c file in gdkdisplay-win32.c This is similar to what is done in the X11 and wayland backends. It also gets rid of the _gdk_input_devices global variable gdk/Makefile.am | 1 - gdk/win32/Makefile.am | 1 - gdk/win32/gdkdisplay-win32.c | 36 ++++++++++++++++++++- gdk/win32/gdkdisplay-win32.h | 2 ++ gdk/win32/gdkevents-win32.c | 2 +- gdk/win32/gdkglobals-win32.c | 2 ++ gdk/win32/gdkinput.c | 74 -------------------------------------------- gdk/win32/gdkprivate-win32.h | 3 +- 8 files changed, 42 insertions(+), 79 deletions(-) commit b3a80180c751773edbfce261860d48b175a6b361 Author: Paolo Borelli Date: Mon Feb 22 18:51:30 2016 +0100 Win32: remove leftover function gdk_devices_list was removed from the API in 3.0 and it is not in the headers. The win32 implementation lingered on by mistake. gdk/win32/gdkinput.c | 6 ------ 1 file changed, 6 deletions(-) commit ff9e73d71e050a7d317ed5d9a1a2fcc57e6ec241 Author: Jordi Mas Date: Mon Feb 22 20:42:44 2016 +0100 Update Catalan translation po-properties/ca.po | 3655 ++++++++++++++++++++++++++------------------------- 1 file changed, 1899 insertions(+), 1756 deletions(-) commit ca050e10c1418772228d19550920edc35dffc7c5 Author: Piotr Drąg Date: Mon Feb 22 20:36:28 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 07d32687d8835b1daf6a5b9b1e0ef567140dcf1c Author: Chun-wei Fan Date: Mon Feb 22 22:23:26 2016 +0800 MSVC 2008 builds: Fix previous commit The previous commit had the MSVC 2008 property sheet in the wrong place. Fix that. build/win32/vs10/gtk3-gen-srcs.vsprops | 77 ---------------------------------- build/win32/vs9/gtk3-gen-srcs.vsprops | 8 +++- 2 files changed, 6 insertions(+), 79 deletions(-) commit 5906b15c5e9c4893b151d450b4787bcab774a9d3 Author: Lapo Calamandrei Date: Mon Feb 22 11:29:43 2016 +0100 Adwaita: avoids up pointing scale slider to jump down on hover and comment back sass debugging stuff in the process... gtk/theme/Adwaita/_common.scss | 5 +- gtk/theme/Adwaita/gtk-contained-dark.css | 412 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 412 +++++++++++++++---------------- 3 files changed, 391 insertions(+), 438 deletions(-) commit 9fb9d208fdc37b50ee0bac962153909ffda68f67 Author: Lapo Calamandrei Date: Mon Feb 22 11:16:32 2016 +0100 Adwaita: fix scale with marks sliders looks like sass was confused by the way I structured the loops, this works that around. gtk/theme/Adwaita/_common.scss | 70 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 132 +++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 132 +++++++++++-------------------- 3 files changed, 130 insertions(+), 204 deletions(-) commit 7f89856b298d021b52397e89f9452512f879cae2 Author: Lapo Calamandrei Date: Mon Feb 22 10:54:32 2016 +0100 Adwaita: color scale slider fixes use the pointy slider on colorscales, this way it picks the correct slider on rtl. gtk/theme/Adwaita/_common.scss | 9 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 132 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 132 ++++++++++++++++++++----------- 3 files changed, 177 insertions(+), 96 deletions(-) commit 5962daef4ff2cd81bddba20ad0b49d8de16de287 Author: Chun-wei Fan Date: Mon Feb 22 17:38:15 2016 +0800 Windows: Update how gtk-win32.rc is generated On Visual Studio, unlike MinGW, manifest files are embedded via including the manifest file as a resource file in the projects, not via the .rc file. This means that the line in the .rc file that specifies the manifest file would cause trouble, so that line gets removed when the full gtk3-win32.rc is generated on Visual Studio builds, otherwise 2010+ Visual Studio will complain when compiling the .rc file. Also, the inclusion of winuser.h will cause warnings during the compilation of the .rc file. Fix this by isolating the Win32 resource portions of gtk-win32.rc.in to gtk-win32.rc.body.in and: -On MinGW, construct the full gtk-win32.rc by doing the winver.h and winuser.h inclusion first, then append the contents of gtk-win32.rc.body, and then appending the line to embed the manifest file. -On Visual Studio, simply copy the gtk-win32.rc.body to gtk-win32.rc, and generate the full libgtk3.manifest file. https://bugzilla.gnome.org/show_bug.cgi?id=762311 build/win32/Makefile.am | 2 +- build/win32/process-in-win32.py | 109 -------------------------- build/win32/replace.py | 102 ++++++++++++++++++++++++ build/win32/vs10/gtk-3.vcxproj.filtersin | 3 +- build/win32/vs10/gtk-3.vcxprojin | 40 +++++++--- build/win32/vs10/gtk3-gen-srcs.props | 10 ++- build/win32/vs10/gtk3-gen-srcs.vsprops | 77 ++++++++++++++++++ build/win32/vs9/gtk-3.vcprojin | 56 ++++++++++--- configure.ac | 2 +- gtk/Makefile.am | 12 ++- gtk/{gtk-win32.rc.in => gtk-win32.rc.body.in} | 2 - 11 files changed, 271 insertions(+), 144 deletions(-) commit 6c0270bbcb3864800334999b335f4c73d9941fc7 Author: Benjamin Otte Date: Mon Feb 22 04:16:36 2016 +0100 win32 theme: Make tooltips look right Includes adding fallback support gtk/gtkwin32draw.c | 20 ++++++++++++++++++++ gtk/theme/win32/gtk-win32-base.css | 12 ++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) commit 808017d1d0a57a94229092d3424d374f227f111c Author: Benjamin Otte Date: Mon Feb 22 04:01:44 2016 +0100 win32 theme: Size titlebar icons correctly. Sizing according to http://web.archive.org/web/20070301202835/http://shellrevealed.com/photos/blog_images/images/4538/original.aspx gtk/theme/win32/gtk.css | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit 414657100f2c3f56d3304bd28dfd1759971a80dd Author: Benjamin Otte Date: Mon Feb 22 04:00:36 2016 +0100 win32draw: Use the right checks The first check was the wrong way around. The second check made the function look wrong. Invalid ID is actually the special case that should be handled first, so write the function like that. gtk/gtkwin32draw.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit cdb12fec9e4c5af7dbd4452ea686e41eece20f7e Author: Benjamin Otte Date: Mon Feb 22 00:50:01 2016 +0100 win32 theme: Replace metric ids with metric names Makes it more obvious what's actually happening. gtk/theme/win32/gtk-win32-base.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dc1e191df541047c46854e4b8f0f7a495a0ba2c6 Author: Benjamin Otte Date: Mon Feb 22 00:49:36 2016 +0100 csssizevalue: Allow using the name for a win32 metric ... instead of just the ID. gtk/gtkcsswin32sizevalue.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 98216867d1d399b8f8d73a812e7ad650dcd7b189 Author: Benjamin Otte Date: Mon Feb 22 00:49:09 2016 +0100 win32: Allow querying names for metrics gtk/gtkwin32draw.c | 28 ++++++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 2 ++ 2 files changed, 30 insertions(+) commit 63934ba36c5ecccacbd5d0b5db1c884135181537 Author: Benjamin Otte Date: Sun Feb 21 23:40:34 2016 +0100 win32 theme: Replace color ids with color names Makes it more obvious what's actually happening. gtk/theme/win32/gtk-win32-base.css | 40 +++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) commit 37a4e1cda971caf1fafa873815c0495a035ae987 Author: Benjamin Otte Date: Sun Feb 21 23:40:04 2016 +0100 csscolor: Allow using the name for a win32 color ... instead of just the ID. gtk/gtkcsscolorvalue.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit ecaca073f14abd64adc7edf46c8928b20936bf4e Author: Benjamin Otte Date: Sun Feb 21 23:39:38 2016 +0100 win32: Allow querying names for colors gtk/gtkwin32draw.c | 25 +++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 3 +++ 2 files changed, 28 insertions(+) commit 46d3611052060cfbba7cbcae7b8ec68a41f011dd Author: Allin Cottrell Date: Sun Feb 21 16:22:27 2016 -0800 Fix Quartz Full Screen Crash. gdk/quartz/GdkQuartzNSWindow.c | 8 ++++++++ gdk/quartz/GdkQuartzView.c | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) commit 3cf98a4353299d46eff78ed7bbddb7cd88886405 Author: John Ralls Date: Sun Feb 21 16:17:46 2016 -0800 Fix typo. gtk/gtkclipboard-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e935993d968db72a71aacd16e2c3fadbe27b9207 Author: Benjamin Otte Date: Sun Feb 21 20:43:18 2016 +0100 win32 fallback: Draw window title button images Taken from Wine's Marlett font. gtk/gtkwin32draw.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 149 insertions(+), 5 deletions(-) commit 828f2e18010c42be035e387044b5a50459b8a609 Author: Benjamin Otte Date: Sun Feb 21 06:03:43 2016 +0100 win32 theme: Sanitize a few colors gtk/theme/win32/gtk-win32-base.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 2e709fde820f793ab453fd2d442eec8e1730e4ee Author: Benjamin Otte Date: Sun Feb 21 05:37:40 2016 +0100 win32 fallback: Add code to draw titlebars gtk/gtkwin32draw.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 3c5c748cd448595c0702d4af6e30b340c336670e Author: Benjamin Otte Date: Sun Feb 21 04:59:13 2016 +0100 win32 fallback: Warn if we don't know how to draw a part gtk/gtkwin32draw.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit c73db50aed62ef56829415486732ef7c5933f816 Author: Benjamin Otte Date: Sun Feb 21 04:56:18 2016 +0100 win32: Implement GetSystemMetric() fallbacks Default values taken from Wine. gtk/gtkwin32draw.c | 121 +++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkwin32drawprivate.h | 93 +++++++++++++++++++++++++++++++++++ gtk/gtkwin32theme.c | 2 +- 3 files changed, 214 insertions(+), 2 deletions(-) commit c2dd3c0d89782c564adaabdc40e4268b7da286a8 Author: Benjamin Otte Date: Sun Feb 21 04:55:55 2016 +0100 win32: Move variable definition to not cause gcc warning It's only used on win32, so only define it there. gtk/gtkwin32theme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 00559e1b865de90f64cd16673af55c52391d8ba2 Author: A S Alam Date: Sun Feb 21 09:31:14 2016 -0600 updated Punjabi Translation po/pa.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 908bcf3c1555f6ee6f20ec3b949bdde03c6d4fe1 Author: A S Alam Date: Sun Feb 21 09:31:06 2016 -0600 updated Punjabi Translation po-properties/pa.po | 4130 ++++++++++++++++++++++++++++----------------------- po/pa.po | 2607 ++++++++++++++++++++------------ 2 files changed, 3930 insertions(+), 2807 deletions(-) commit 0c91584532fa07a3721452233aba90fc8b8296a8 Author: Matthias Clasen Date: Sun Feb 21 00:55:41 2016 -0500 Adwaita: Drop decoration.ssd selector We've settled on window.ssd decoration instead. https://bugzilla.gnome.org/show_bug.cgi?id=760714 gtk/theme/Adwaita/_common.scss | 3 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) commit cee39bfd4684796624aa7566cc310f74698603bf Author: Matthias Clasen Date: Sun Feb 21 00:48:56 2016 -0500 Add a release note about drawingarea background README.in | 5 +++++ 1 file changed, 5 insertions(+) commit 5a80a35757d38b1ae66a31155e87be3a68770650 Author: Matthias Clasen Date: Sun Feb 21 00:46:54 2016 -0500 drawingarea: Update docs around background handling The behavior changed this cycle. Update the docs to recommend an explicit gtk_render_background call. gtk/gtkdrawingarea.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 52e0ab53dc1caf6195990f9bc54f318bb7530c13 Author: Matthias Clasen Date: Sun Feb 21 00:09:32 2016 -0500 print dialog: More baseline alignment Some places were missing the right valign setting to make baselines line up properly. gtk/gtkprinteroptionwidget.c | 3 +++ gtk/gtkprintunixdialog.c | 5 ++++- gtk/ui/gtkprintunixdialog.ui | 4 +++- 3 files changed, 10 insertions(+), 2 deletions(-) commit e9300e2f7917dd67c8adc8c08390c44ca22f0d9b Author: Matthias Clasen Date: Sat Feb 20 22:43:43 2016 -0500 dnd: Avoid a crash gtk_image_definition_new_icon_name ("") returns NULL. Bail out early in this case to avoid unreffing NULL later. https://bugzilla.gnome.org/show_bug.cgi?id=762392 gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a754579e441df5ad34e338061d21217f1f5d5af8 Author: Matthias Clasen Date: Sat Feb 20 22:23:28 2016 -0500 css gadget: Adjust baselines for min-height We were forcing the size to be at least min-height, but we left the baselines as they were, which had the effect of making text e.g in entries 'stick to the top'. With this change, we adjust the baseline to keep the ratio of baseline to height unchanged. gtk/gtkcssgadget.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit f3d67cc2ac3bda68f0fe6d6a163e54b633bc01f2 Author: Benjamin Otte Date: Fri Feb 19 09:02:21 2016 +0100 win32 theme: Add rudimentary titlebar support gtk/theme/win32/gtk.css | 81 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 81 insertions(+) commit eda348d2b51c89c1fa2729662f4d39b5addc41bc Author: Benjamin Otte Date: Fri Feb 19 09:01:43 2016 +0100 win32: Handle size queries for all values Fall back to GetSystemMetrics() whenever GetThemeSysSize() didn't work. gtk/gtkwin32theme.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 63eb15b73097ee82373a70ffdadb29563cf7afdc Author: Benjamin Otte Date: Fri Feb 19 09:00:24 2016 +0100 win32: Add missing break in switch statement Oops. gtk/gtkcsswin32sizevalue.c | 1 + 1 file changed, 1 insertion(+) commit 1548b680fc7c5130b55bb836fb47c2c6ed3db483 Author: Benjamin Otte Date: Sun Feb 21 01:02:15 2016 +0100 css: Make outline-offset animatable CSS claims it should be, so we make it. gtk/gtkcssstylepropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4a485dca2fdc5dbdd87797262e376a022734e5e Author: Benjamin Otte Date: Sun Feb 21 01:01:41 2016 +0100 renderborder: Add API to query the outline clip And use it in implementation of gadgets. gtk/gtkcssgadget.c | 9 ++++ gtk/gtkrenderborder.c | 110 +++++++++++++++++++++++++++++++++++++++---- gtk/gtkrenderborderprivate.h | 44 +++++++++++------ 3 files changed, 141 insertions(+), 22 deletions(-) commit 23b3774e6bb21b4d0d2c742df86567c7e2f8afba Author: Benjamin Otte Date: Sun Feb 21 00:56:31 2016 +0100 css: Mark outline properties as affecting clip when they do gtk/gtkcssstylepropertyimpl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 966dd56e45b4d673c2f7ce6b2bdb836d39050831 Author: Matthias Clasen Date: Sat Feb 20 18:55:17 2016 -0500 entry: Fix baseline allocation Position the text on the baseline again. gtk/gtkentry.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 6b53138a013dc487f8ab84e67efd8fb81ee7ec10 Author: Matthias Clasen Date: Sat Feb 20 16:41:53 2016 -0500 box: Fix rtl allocation with center widget The code for adjusting the center widget allocation in case of uneven sides never worked right in RTL. This was finally noticed for tabs with close button, which commonly use a centered label. gtk/gtkbox.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit 7698ac447ae3d9296c7e8793619ca4d31e0d9d5f Author: Lapo Calamandrei Date: Sat Feb 20 19:52:46 2016 +0100 Adwaita: remove unused selector in _common.scss gtk/theme/Adwaita/_common.scss | 2 -- 1 file changed, 2 deletions(-) commit effee1f35ebcffb2fa311e1f3d18fcaad5900906 Author: Lapo Calamandrei Date: Sat Feb 20 19:50:49 2016 +0100 Revert "Adwaita: resurrect scale-has-marks-above/below classes" This reverts commit edcc0c27837955573d159af6fa58e62f402d684b. Since the colorscale styling is wrong in rtl, need to do things differntly. gtk/theme/Adwaita/_common.scss | 4 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 48 -------------------------------- gtk/theme/Adwaita/gtk-contained.css | 48 -------------------------------- 3 files changed, 3 insertions(+), 97 deletions(-) commit 44f6fcfbd32b0bdbf53256b9f1f761b21ce63291 Author: Lapo Calamandrei Date: Sat Feb 20 19:37:21 2016 +0100 Adwaita: move 1px up the check asset gtk/theme/Adwaita/assets/check-symbolic.svg | 4 ++-- gtk/theme/Adwaita/assets/check-symbolic.symbolic.png | Bin 193 -> 231 bytes 2 files changed, 2 insertions(+), 2 deletions(-) commit b23300c89dbd78ce191b827307e2363fefd9f27b Author: Lapo Calamandrei Date: Sat Feb 20 19:31:58 2016 +0100 Adwaita: fix entry progressbar it now moves using the whole entry lenght, in the process the style was tweaked to not need a special case for focused entries. gtk/theme/Adwaita/_common.scss | 6 +----- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +--- gtk/theme/Adwaita/gtk-contained.css | 4 +--- 3 files changed, 3 insertions(+), 11 deletions(-) commit 7c577ddf4f04a64ad80099d2350d2a9215d9b1c3 Author: Matthias Clasen Date: Sat Feb 20 11:26:19 2016 -0500 assistant: Add margin to action area We are no longer setting a margin on the content area, so put one on the action area itself to prevent the buttons from touching the edge. https://bugzilla.gnome.org/show_bug.cgi?id=762315 gtk/ui/gtkassistant.ui | 1 + 1 file changed, 1 insertion(+) commit edcc0c27837955573d159af6fa58e62f402d684b Author: Lapo Calamandrei Date: Sat Feb 20 17:17:39 2016 +0100 Adwaita: resurrect scale-has-marks-above/below classes the colorscales use said classes. gtk/theme/Adwaita/_common.scss | 4 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 48 ++++++++++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 48 ++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+), 3 deletions(-) commit d2454000f66056f2b83c68a3413d10c607893257 Author: Matthias Clasen Date: Sat Feb 20 11:17:12 2016 -0500 expander: Draw focus again This was lost when GtkExpander was ported to use box gadgets. gtk/gtkexpander.c | 1 + 1 file changed, 1 insertion(+) commit 7ed1225296b047e2ee86fe6c85d5e739922036fc Author: Matthias Clasen Date: Sat Feb 20 10:45:07 2016 -0500 check button: Draw focus again The box gadget now has API for this; use it. gtk/gtkcheckbutton.c | 1 + 1 file changed, 1 insertion(+) commit ebff86d6f69ba3af6c847eb254d230db9ddad347 Author: Matthias Clasen Date: Sat Feb 20 10:43:54 2016 -0500 box gadget: Make it possible to draw focus There are widgets which use a box gadget and take focus, like GtkCheckButton. gtk/gtkboxgadget.c | 25 ++++++++++++++++--------- gtk/gtkboxgadgetprivate.h | 2 ++ 2 files changed, 18 insertions(+), 9 deletions(-) commit e837aa69b686b3f32f9511e30f4e0b7acc0e1ffb Author: Matthias Clasen Date: Sat Feb 20 10:19:13 2016 -0500 x11: Some cleanups to the multihead initialization The significant change here is a memory leak fix in init_xrandr15. The rest of the changes makes init_xrandr13 and init_xrandr15 more parallel, and simplifies init_multihead. gdk/x11/gdkscreen-x11.c | 165 +++++++++++++++++++++++------------------------- 1 file changed, 79 insertions(+), 86 deletions(-) commit 1dda932109f10d7582a8da9fd22626da835e9124 Author: Marco Trevisan (Treviño) Date: Sat Feb 20 01:31:59 2016 +0100 X11, GdkScreen: properly implement init_randr15 including output name https://bugzilla.gnome.org/show_bug.cgi?id=762319 gdk/x11/gdkscreen-x11.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 53 insertions(+), 3 deletions(-) commit 079e90b78076192c6e0e7e95b1dc91b1ea608962 Author: Lapo Calamandrei Date: Sat Feb 20 16:07:00 2016 +0100 Adwaita: scale slider assets refresh ...and update the theme accordingly. gtk/theme/Adwaita/_common.scss | 40 +- gtk/theme/Adwaita/assets.svg | 1229 +++++++++----------- gtk/theme/Adwaita/assets.txt | 116 -- ...ider-horz-scale-has-marks-above-active-dark.png | Bin 924 -> 890 bytes ...er-horz-scale-has-marks-above-active-dark@2.png | Bin 2003 -> 1831 bytes .../slider-horz-scale-has-marks-above-active.png | Bin 933 -> 985 bytes .../slider-horz-scale-has-marks-above-active@2.png | Bin 1964 -> 2071 bytes ...er-horz-scale-has-marks-above-backdrop-dark.png | Bin 691 -> 775 bytes ...-horz-scale-has-marks-above-backdrop-dark@2.png | Bin 1367 -> 1464 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 691 -> 739 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1367 -> 1433 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 753 -> 810 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1414 -> 1542 bytes .../slider-horz-scale-has-marks-above-backdrop.png | Bin 781 -> 813 bytes ...lider-horz-scale-has-marks-above-backdrop@2.png | Bin 1408 -> 1538 bytes .../slider-horz-scale-has-marks-above-dark.png | Bin 844 -> 853 bytes .../slider-horz-scale-has-marks-above-dark@2.png | Bin 1842 -> 1790 bytes ...lider-horz-scale-has-marks-above-hover-dark.png | Bin 896 -> 883 bytes ...der-horz-scale-has-marks-above-hover-dark@2.png | Bin 1968 -> 1777 bytes .../slider-horz-scale-has-marks-above-hover.png | Bin 844 -> 958 bytes .../slider-horz-scale-has-marks-above-hover@2.png | Bin 1821 -> 1998 bytes ...horz-scale-has-marks-above-insensitive-dark.png | Bin 691 -> 739 bytes ...rz-scale-has-marks-above-insensitive-dark@2.png | Bin 1367 -> 1433 bytes ...ider-horz-scale-has-marks-above-insensitive.png | Bin 753 -> 810 bytes ...er-horz-scale-has-marks-above-insensitive@2.png | Bin 1414 -> 1542 bytes .../assets/slider-horz-scale-has-marks-above.png | Bin 911 -> 970 bytes .../assets/slider-horz-scale-has-marks-above@2.png | Bin 1909 -> 2070 bytes ...ider-horz-scale-has-marks-below-active-dark.png | Bin 914 -> 894 bytes ...er-horz-scale-has-marks-below-active-dark@2.png | Bin 1968 -> 1853 bytes .../slider-horz-scale-has-marks-below-active.png | Bin 915 -> 965 bytes .../slider-horz-scale-has-marks-below-active@2.png | Bin 1915 -> 2094 bytes ...er-horz-scale-has-marks-below-backdrop-dark.png | Bin 728 -> 772 bytes ...-horz-scale-has-marks-below-backdrop-dark@2.png | Bin 1373 -> 1462 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 728 -> 738 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1373 -> 1408 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 799 -> 772 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1461 -> 1556 bytes .../slider-horz-scale-has-marks-below-backdrop.png | Bin 816 -> 786 bytes ...lider-horz-scale-has-marks-below-backdrop@2.png | Bin 1447 -> 1547 bytes .../slider-horz-scale-has-marks-below-dark.png | Bin 855 -> 860 bytes .../slider-horz-scale-has-marks-below-dark@2.png | Bin 1848 -> 1794 bytes ...lider-horz-scale-has-marks-below-hover-dark.png | Bin 900 -> 876 bytes ...der-horz-scale-has-marks-below-hover-dark@2.png | Bin 1922 -> 1801 bytes .../slider-horz-scale-has-marks-below-hover.png | Bin 870 -> 962 bytes .../slider-horz-scale-has-marks-below-hover@2.png | Bin 1723 -> 2021 bytes ...horz-scale-has-marks-below-insensitive-dark.png | Bin 728 -> 738 bytes ...rz-scale-has-marks-below-insensitive-dark@2.png | Bin 1373 -> 1408 bytes ...ider-horz-scale-has-marks-below-insensitive.png | Bin 799 -> 772 bytes ...er-horz-scale-has-marks-below-insensitive@2.png | Bin 1461 -> 1556 bytes .../assets/slider-horz-scale-has-marks-below.png | Bin 917 -> 983 bytes .../assets/slider-horz-scale-has-marks-below@2.png | Bin 1891 -> 2073 bytes ...ider-vert-scale-has-marks-above-active-dark.png | Bin 913 -> 912 bytes ...er-vert-scale-has-marks-above-active-dark@2.png | Bin 1905 -> 1941 bytes .../slider-vert-scale-has-marks-above-active.png | Bin 935 -> 988 bytes .../slider-vert-scale-has-marks-above-active@2.png | Bin 1823 -> 2218 bytes ...er-vert-scale-has-marks-above-backdrop-dark.png | Bin 602 -> 777 bytes ...-vert-scale-has-marks-above-backdrop-dark@2.png | Bin 1179 -> 1482 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 602 -> 722 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1179 -> 1432 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 671 -> 841 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1263 -> 1597 bytes .../slider-vert-scale-has-marks-above-backdrop.png | Bin 689 -> 830 bytes ...lider-vert-scale-has-marks-above-backdrop@2.png | Bin 1253 -> 1594 bytes .../slider-vert-scale-has-marks-above-dark.png | Bin 867 -> 897 bytes .../slider-vert-scale-has-marks-above-dark@2.png | Bin 1782 -> 1912 bytes ...lider-vert-scale-has-marks-above-hover-dark.png | Bin 918 -> 898 bytes ...der-vert-scale-has-marks-above-hover-dark@2.png | Bin 1878 -> 1902 bytes .../slider-vert-scale-has-marks-above-hover.png | Bin 848 -> 998 bytes .../slider-vert-scale-has-marks-above-hover@2.png | Bin 1685 -> 2133 bytes ...vert-scale-has-marks-above-insensitive-dark.png | Bin 602 -> 722 bytes ...rt-scale-has-marks-above-insensitive-dark@2.png | Bin 1179 -> 1432 bytes ...ider-vert-scale-has-marks-above-insensitive.png | Bin 671 -> 841 bytes ...er-vert-scale-has-marks-above-insensitive@2.png | Bin 1263 -> 1597 bytes .../assets/slider-vert-scale-has-marks-above.png | Bin 912 -> 1035 bytes .../assets/slider-vert-scale-has-marks-above@2.png | Bin 1826 -> 2256 bytes ...ider-vert-scale-has-marks-below-active-dark.png | Bin 929 -> 938 bytes ...er-vert-scale-has-marks-below-active-dark@2.png | Bin 1924 -> 2018 bytes .../slider-vert-scale-has-marks-below-active.png | Bin 955 -> 1042 bytes .../slider-vert-scale-has-marks-below-active@2.png | Bin 1832 -> 2242 bytes ...er-vert-scale-has-marks-below-backdrop-dark.png | Bin 592 -> 767 bytes ...-vert-scale-has-marks-below-backdrop-dark@2.png | Bin 1203 -> 1542 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 592 -> 715 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1203 -> 1490 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 679 -> 812 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1314 -> 1661 bytes .../slider-vert-scale-has-marks-below-backdrop.png | Bin 697 -> 804 bytes ...lider-vert-scale-has-marks-below-backdrop@2.png | Bin 1297 -> 1664 bytes .../slider-vert-scale-has-marks-below-dark.png | Bin 872 -> 896 bytes .../slider-vert-scale-has-marks-below-dark@2.png | Bin 1784 -> 1958 bytes ...lider-vert-scale-has-marks-below-hover-dark.png | Bin 911 -> 917 bytes ...der-vert-scale-has-marks-below-hover-dark@2.png | Bin 1883 -> 2004 bytes .../slider-vert-scale-has-marks-below-hover.png | Bin 886 -> 1013 bytes .../slider-vert-scale-has-marks-below-hover@2.png | Bin 1729 -> 2166 bytes ...vert-scale-has-marks-below-insensitive-dark.png | Bin 592 -> 715 bytes ...rt-scale-has-marks-below-insensitive-dark@2.png | Bin 1203 -> 1490 bytes ...ider-vert-scale-has-marks-below-insensitive.png | Bin 679 -> 812 bytes ...er-vert-scale-has-marks-below-insensitive@2.png | Bin 1314 -> 1661 bytes .../assets/slider-vert-scale-has-marks-below.png | Bin 932 -> 1041 bytes .../assets/slider-vert-scale-has-marks-below@2.png | Bin 1865 -> 2294 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 104 +- gtk/theme/Adwaita/gtk-contained.css | 104 +- 101 files changed, 717 insertions(+), 876 deletions(-) commit d2fb069426290d18b2f56506e0894d3e0d453794 Author: Benjamin Otte Date: Sat Feb 20 03:22:58 2016 +0100 entry: Make get_text_area_size() vfunc work again GdTaggedEntry needs that. Though there's probably a bunch of work left inside GdTaggedEntry to make it look cute again (like storing the area it reserves for itself to allocate tags in). gtk/gtkentry.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) commit a979cff7484507c90591b2d374eb159873d33490 Author: Lapo Calamandrei Date: Fri Feb 19 18:03:38 2016 +0100 Adwaita: check/radio/slider gradient tweaks gtk/theme/Adwaita/_drawing.scss | 39 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 36 ++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 36 ++++++++++++++--------------- 3 files changed, 59 insertions(+), 52 deletions(-) commit ebb175021e0e26374e4d1ab3c6d8429a1353a77d Author: Carlos Garnacho Date: Sat Feb 6 15:07:52 2016 +0100 wayland: Implement gtk_shell.set_startup_id Fetch the DESKTOP_STARTUP_ID envvar at the same point it's done for the X11 backend, and notify the startup ID gotten on notify_startup_complete(). gdk/wayland/gdkdisplay-wayland.c | 47 ++++++++++++++++++++++++++++++++++++++-- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 4 +++- 3 files changed, 49 insertions(+), 3 deletions(-) commit ce62f0513df8f7e7ac7235d2deb383ca845d2dfe Author: Carlos Garnacho Date: Sat Feb 6 15:06:59 2016 +0100 wayland: Update gtk-shell protocol to v3 Add a gtk_shell.set_startup_id request, so the application can communicate to the compositor the startup id that it received through the DESKTOP_STARTUP_ID envvar, or other means. gdk/wayland/protocol/gtk-shell.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 7505d49741bb6cd2a29bb5d3b3f058ced871b742 Author: Paolo Borelli Date: Fri Feb 19 15:40:30 2016 +0100 Win32: free the monitors array gdk/win32/gdkscreen-win32.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 3aec838313477b45a037e1b14cba6d5b8e98efd7 Author: Paolo Borelli Date: Fri Feb 19 15:40:09 2016 +0100 Win32: chain up screen finalize Add the proper chain up (in preparation to actually freeing stuff) and remove the empty dispose implementation gdk/win32/gdkscreen-win32.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 577016126e25aa22415b6952643abc8f59d6fc5f Author: Paolo Borelli Date: Thu Feb 18 15:51:41 2016 +0100 Win32: remove the _gdk_monitors global variable Make it a field of GdkWin32Screen since that is the object exposing all the the getters. gdk/win32/gdkdisplay-win32.c | 119 +------------------------------ gdk/win32/gdkglobals-win32.c | 3 - gdk/win32/gdkprivate-win32.h | 12 +--- gdk/win32/gdkscreen-win32.c | 164 +++++++++++++++++++++++++++++++++++++++---- 4 files changed, 154 insertions(+), 144 deletions(-) commit 2e7f98a683e6868718417f15b4b1f449906bd585 Author: Paolo Borelli Date: Thu Feb 18 17:33:29 2016 +0100 Win32: remove the _is_win8_or_above global variable gdk/win32/gdkglobals-win32.c | 2 -- gdk/win32/gdkmain-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 2 -- gdk/win32/gdkscreen-win32.c | 13 ++++++++----- 4 files changed, 8 insertions(+), 10 deletions(-) commit 09cd17a0017820e78b7d02fa3bb6015f6057bb7a Author: Lapo Calamandrei Date: Fri Feb 19 14:39:14 2016 +0100 Revert "Adwaita: restrict button transition" Shouldn't be needed with recent Benjamin work. This reverts commit 79ca3f03a8de0fa0f7a846ea72d479066a15dbd7. gtk/theme/Adwaita/_common.scss | 13 ++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 8 insertions(+), 17 deletions(-) commit 826913135bc3698a014ea53f213206b4c6c34257 Author: Lapo Calamandrei Date: Fri Feb 19 14:38:22 2016 +0100 Revert "Adwaita: only needed properties on entry transition" Shouldn't be needed with recent Benjamin work. This reverts commit d57f4a781cbcab7eb0912edf0ccbf811090067ce. gtk/theme/Adwaita/_common.scss | 35 ++++++++++++-------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 21 insertions(+), 30 deletions(-) commit 9c2110122b8b5e5f12a19076814012407ee7abb2 Author: Matthias Clasen Date: Thu Feb 18 22:03:12 2016 -0500 gdk: Add a way to show included backends Set GDK_BACKEND=help to see a list of all inluded GDK backends. docs/reference/gtk/running.sgml | 5 +++-- gdk/gdkdisplaymanager.c | 9 +++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) commit a3ba7f0a201ad9025a926aacb4229865ea724b01 Author: Benjamin Otte Date: Thu Feb 18 23:55:00 2016 +0100 css: Don't start transitions when the value didn't change This stops us from starting a lot of useless transitions. And it's even conformant with the CSS spec! gtk/gtkcssanimatedstyle.c | 4 ++++ 1 file changed, 4 insertions(+) commit 11b3efbddaac76e03268454ff03a0b9aa5875cf1 Author: Carlos Soriano Date: Thu Feb 18 15:27:25 2016 +0100 gtkcsscalcvalue: avoid unitialized boolean Since we do an OR afterwards, initializing to FALSE is correct. gtk/gtkcsscalcvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 40c0a6aa8753ec80963c163f6d3c1baf6f5945af Author: Carlos Soriano Date: Thu Feb 18 10:53:35 2016 +0100 gtkplacessidebar: remove unneeded condition We check for it before anyway, and in this case make sense to show the eject button in both cases. gtk/gtkplacessidebar.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 5a253c546ad9f7f94130bfd0e9dfbe40e171f524 Author: Olivier Fourdan Date: Thu Feb 18 12:00:23 2016 +0100 wayland: check for support of xdg_shell interface When running with a Wayland compositor which doesn't support the xdg_shell interface, gtk+ will segfault while trying to access the corresponding wl proxy. Check for xdg_shell support and do not use Wayland if not present, so that it can fallback to X11, hoping that Xwayland is usable. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762258 gdk/wayland/gdkdisplay-wayland.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d1cf970d7aed11500b3ff3a9095716e48315e4eb Author: Daniel Mustieles Date: Thu Feb 18 14:15:57 2016 +0000 Updated Spanish translation po/es.po | 699 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 404 insertions(+), 295 deletions(-) commit 934b3f686529f9742495362cca9df57a70e88092 Author: Phillip Wood Date: Wed Feb 17 10:10:25 2016 +0000 Document that GtkApplication loads gtk/menus-common.ui Add a comment about the resource gtk/menus-common.ui to the documentation of the other resources loaded by GtkApplication. https://bugzilla.gnome.org/show_bug.cgi?id=761432 gtk/gtkapplication.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit c38c3361ca2b8aa1804cafddf22c4f074fc8b996 Author: Phillip Wood Date: Wed Feb 17 10:07:02 2016 +0000 Document help overlay action name in GtkApplication This means all the information needed to automatically load a shortcuts window and create a menu item to show it is in one place. https://bugzilla.gnome.org/show_bug.cgi?id=761431 gtk/gtkapplication.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit d57f4a781cbcab7eb0912edf0ccbf811090067ce Author: Lapo Calamandrei Date: Thu Feb 18 14:30:23 2016 +0100 Adwaita: only needed properties on entry transition made things properly in the process creating a sass function to handle transition properties stacking. gtk/theme/Adwaita/_common.scss | 35 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 30 insertions(+), 21 deletions(-) commit 79ca3f03a8de0fa0f7a846ea72d479066a15dbd7 Author: Lapo Calamandrei Date: Thu Feb 18 13:24:42 2016 +0100 Adwaita: restrict button transition we use to animate "all" in the transition, this seems to trigger some weird gtk sizing issue, restricting the transition to just the needed properties fixes. gtk/theme/Adwaita/_common.scss | 13 +++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 17 insertions(+), 8 deletions(-) commit a93fdd8201ff94c5ee155809640b2061d27ee29e Author: Lapo Calamandrei Date: Thu Feb 18 12:26:19 2016 +0100 Adwaita: housekeeping cleaned up unneded selectors and leftovers from previous versions. gtk/theme/Adwaita/_common.scss | 209 +++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 333 +++--------------------------- gtk/theme/Adwaita/gtk-contained.css | 341 +++---------------------------- 3 files changed, 101 insertions(+), 782 deletions(-) commit 71c36bb8755587086eb051f2e53ecdacd2ee3978 Author: Mario Blättermann Date: Thu Feb 18 10:08:00 2016 +0100 Updated German translation po/de.po | 2848 ++++++++------------------------------------------------------ 1 file changed, 357 insertions(+), 2491 deletions(-) commit 0298d500d27cfd3cfbfe57abfa19fad94269c7a4 Author: Piotr Drąg Date: Wed Feb 17 22:02:17 2016 +0100 Updated Polish translation po/pl.po | 558 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 316 insertions(+), 242 deletions(-) commit d976bbd7cbf1a77f7cedb24878d8f6333e4b5653 Author: Dušan Kazik Date: Wed Feb 17 20:56:02 2016 +0000 Updated Slovak translation po/sk.po | 563 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 321 insertions(+), 242 deletions(-) commit 56c54a20d1a6f64bcf234772cd6d54c817508aa2 Author: Lapo Calamandrei Date: Wed Feb 17 20:00:57 2016 +0100 Adwaita: reset the shadow on disabled scales gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) commit 9bb139c6aa7d8d038d5480349cdc1cdec0ebc20e Author: Lapo Calamandrei Date: Wed Feb 17 15:22:36 2016 +0100 Adwaita: unused assets cleanup .../Adwaita/assets/checkbox-checked-active-dark.png | Bin 636 -> 0 bytes .../Adwaita/assets/checkbox-checked-active-dark@2.png | Bin 1240 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-active.png | Bin 658 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-active@2.png | Bin 1332 -> 0 bytes .../Adwaita/assets/checkbox-checked-backdrop-dark.png | Bin 592 -> 0 bytes .../Adwaita/assets/checkbox-checked-backdrop-dark@2.png | Bin 1033 -> 0 bytes .../checkbox-checked-backdrop-insensitive-dark.png | Bin 488 -> 0 bytes .../checkbox-checked-backdrop-insensitive-dark@2.png | Bin 827 -> 0 bytes .../assets/checkbox-checked-backdrop-insensitive.png | Bin 534 -> 0 bytes .../assets/checkbox-checked-backdrop-insensitive@2.png | Bin 939 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-backdrop.png | Bin 605 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-backdrop@2.png | Bin 1068 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-dark.png | Bin 692 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-dark@2.png | Bin 1325 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-hover-dark.png | Bin 697 -> 0 bytes .../Adwaita/assets/checkbox-checked-hover-dark@2.png | Bin 1365 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-hover.png | Bin 660 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked-hover@2.png | Bin 1276 -> 0 bytes .../Adwaita/assets/checkbox-checked-insensitive-dark.png | Bin 552 -> 0 bytes .../assets/checkbox-checked-insensitive-dark@2.png | Bin 971 -> 0 bytes .../Adwaita/assets/checkbox-checked-insensitive.png | Bin 582 -> 0 bytes .../Adwaita/assets/checkbox-checked-insensitive@2.png | Bin 1037 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked.png | Bin 663 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-checked@2.png | Bin 1331 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-active-dark.png | Bin 470 -> 0 bytes .../Adwaita/assets/checkbox-mixed-active-dark@2.png | Bin 852 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-active.png | Bin 520 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-active@2.png | Bin 992 -> 0 bytes .../Adwaita/assets/checkbox-mixed-backdrop-dark.png | Bin 439 -> 0 bytes .../Adwaita/assets/checkbox-mixed-backdrop-dark@2.png | Bin 727 -> 0 bytes .../assets/checkbox-mixed-backdrop-insensitive-dark.png | Bin 405 -> 0 bytes .../checkbox-mixed-backdrop-insensitive-dark@2.png | Bin 677 -> 0 bytes .../assets/checkbox-mixed-backdrop-insensitive.png | Bin 444 -> 0 bytes .../assets/checkbox-mixed-backdrop-insensitive@2.png | Bin 759 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-backdrop.png | Bin 460 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-backdrop@2.png | Bin 786 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-dark.png | Bin 542 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-dark@2.png | Bin 1014 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover-dark.png | Bin 568 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover-dark@2.png | Bin 1033 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover.png | Bin 494 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-hover@2.png | Bin 920 -> 0 bytes .../Adwaita/assets/checkbox-mixed-insensitive-dark.png | Bin 427 -> 0 bytes .../Adwaita/assets/checkbox-mixed-insensitive-dark@2.png | Bin 706 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed-insensitive.png | Bin 448 -> 0 bytes .../Adwaita/assets/checkbox-mixed-insensitive@2.png | Bin 783 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed.png | Bin 516 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-mixed@2.png | Bin 997 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-active-dark.png | Bin 356 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-active-dark@2.png | Bin 633 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-active.png | Bin 433 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-active@2.png | Bin 774 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-backdrop-dark.png | Bin 358 -> 0 bytes .../assets/checkbox-unchecked-backdrop-dark@2.png | Bin 583 -> 0 bytes .../checkbox-unchecked-backdrop-insensitive-dark.png | Bin 347 -> 0 bytes .../checkbox-unchecked-backdrop-insensitive-dark@2.png | Bin 574 -> 0 bytes .../assets/checkbox-unchecked-backdrop-insensitive.png | Bin 377 -> 0 bytes .../assets/checkbox-unchecked-backdrop-insensitive@2.png | Bin 633 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-backdrop.png | Bin 384 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-backdrop@2.png | Bin 622 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-dark.png | Bin 426 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-dark@2.png | Bin 778 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-hover-dark.png | Bin 448 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-hover-dark@2.png | Bin 808 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-hover.png | Bin 406 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked-hover@2.png | Bin 750 -> 0 bytes .../assets/checkbox-unchecked-insensitive-dark.png | Bin 347 -> 0 bytes .../assets/checkbox-unchecked-insensitive-dark@2.png | Bin 574 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-insensitive.png | Bin 377 -> 0 bytes .../Adwaita/assets/checkbox-unchecked-insensitive@2.png | Bin 633 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked.png | Bin 418 -> 0 bytes gtk/theme/Adwaita/assets/checkbox-unchecked@2.png | Bin 798 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active-dark.png | Bin 638 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active-dark@2.png | Bin 1207 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active.png | Bin 774 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-active@2.png | Bin 1455 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-backdrop-dark.png | Bin 589 -> 0 bytes .../Adwaita/assets/radio-checked-backdrop-dark@2.png | Bin 1054 -> 0 bytes .../assets/radio-checked-backdrop-insensitive-dark.png | Bin 539 -> 0 bytes .../assets/radio-checked-backdrop-insensitive-dark@2.png | Bin 942 -> 0 bytes .../assets/radio-checked-backdrop-insensitive.png | Bin 614 -> 0 bytes .../assets/radio-checked-backdrop-insensitive@2.png | Bin 1098 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-backdrop.png | Bin 646 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-backdrop@2.png | Bin 1178 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-dark.png | Bin 758 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-dark@2.png | Bin 1516 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover-dark.png | Bin 786 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover-dark@2.png | Bin 1555 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover.png | Bin 752 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-hover@2.png | Bin 1475 -> 0 bytes .../Adwaita/assets/radio-checked-insensitive-dark.png | Bin 564 -> 0 bytes .../Adwaita/assets/radio-checked-insensitive-dark@2.png | Bin 1029 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-insensitive.png | Bin 651 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked-insensitive@2.png | Bin 1155 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked.png | Bin 782 -> 0 bytes gtk/theme/Adwaita/assets/radio-checked@2.png | Bin 1568 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active-dark.png | Bin 619 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active-dark@2.png | Bin 1134 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active.png | Bin 713 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-active@2.png | Bin 1362 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop-dark.png | Bin 545 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop-dark@2.png | Bin 976 -> 0 bytes .../assets/radio-mixed-backdrop-insensitive-dark.png | Bin 517 -> 0 bytes .../assets/radio-mixed-backdrop-insensitive-dark@2.png | Bin 920 -> 0 bytes .../Adwaita/assets/radio-mixed-backdrop-insensitive.png | Bin 592 -> 0 bytes .../assets/radio-mixed-backdrop-insensitive@2.png | Bin 1040 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop.png | Bin 612 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-backdrop@2.png | Bin 1074 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-dark.png | Bin 720 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-dark@2.png | Bin 1431 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover-dark.png | Bin 734 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover-dark@2.png | Bin 1468 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover.png | Bin 698 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-hover@2.png | Bin 1371 -> 0 bytes .../Adwaita/assets/radio-mixed-insensitive-dark.png | Bin 539 -> 0 bytes .../Adwaita/assets/radio-mixed-insensitive-dark@2.png | Bin 964 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-insensitive.png | Bin 605 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed-insensitive@2.png | Bin 1066 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed.png | Bin 741 -> 0 bytes gtk/theme/Adwaita/assets/radio-mixed@2.png | Bin 1438 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-active-dark.png | Bin 510 -> 0 bytes .../Adwaita/assets/radio-unchecked-active-dark@2.png | Bin 923 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-active.png | Bin 631 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-active@2.png | Bin 1165 -> 0 bytes .../Adwaita/assets/radio-unchecked-backdrop-dark.png | Bin 513 -> 0 bytes .../Adwaita/assets/radio-unchecked-backdrop-dark@2.png | Bin 902 -> 0 bytes .../assets/radio-unchecked-backdrop-insensitive-dark.png | Bin 513 -> 0 bytes .../radio-unchecked-backdrop-insensitive-dark@2.png | Bin 902 -> 0 bytes .../assets/radio-unchecked-backdrop-insensitive.png | Bin 536 -> 0 bytes .../assets/radio-unchecked-backdrop-insensitive@2.png | Bin 924 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-backdrop.png | Bin 532 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-backdrop@2.png | Bin 919 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-dark.png | Bin 635 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-dark@2.png | Bin 1229 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-hover-dark.png | Bin 646 -> 0 bytes .../Adwaita/assets/radio-unchecked-hover-dark@2.png | Bin 1262 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-hover.png | Bin 627 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-hover@2.png | Bin 1206 -> 0 bytes .../Adwaita/assets/radio-unchecked-insensitive-dark.png | Bin 513 -> 0 bytes .../assets/radio-unchecked-insensitive-dark@2.png | Bin 902 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked-insensitive.png | Bin 536 -> 0 bytes .../Adwaita/assets/radio-unchecked-insensitive@2.png | Bin 924 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked.png | Bin 656 -> 0 bytes gtk/theme/Adwaita/assets/radio-unchecked@2.png | Bin 1285 -> 0 bytes .../Adwaita/assets/selected-checkbox-checked-active.png | Bin 676 -> 0 bytes .../assets/selected-checkbox-checked-active@2.png | Bin 1336 -> 0 bytes .../selected-checkbox-checked-backdrop-insensitive.png | Bin 586 -> 0 bytes .../selected-checkbox-checked-backdrop-insensitive@2.png | Bin 964 -> 0 bytes .../assets/selected-checkbox-checked-backdrop.png | Bin 626 -> 0 bytes .../assets/selected-checkbox-checked-backdrop@2.png | Bin 1071 -> 0 bytes .../Adwaita/assets/selected-checkbox-checked-hover.png | Bin 676 -> 0 bytes .../Adwaita/assets/selected-checkbox-checked-hover@2.png | Bin 1310 -> 0 bytes .../assets/selected-checkbox-checked-insensitive.png | Bin 626 -> 0 bytes .../assets/selected-checkbox-checked-insensitive@2.png | Bin 1044 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-checked.png | Bin 683 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-checked@2.png | Bin 1387 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-active.png | Bin 567 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-active@2.png | Bin 1024 -> 0 bytes .../selected-checkbox-mixed-backdrop-insensitive.png | Bin 486 -> 0 bytes .../selected-checkbox-mixed-backdrop-insensitive@2.png | Bin 805 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-backdrop.png | Bin 492 -> 0 bytes .../assets/selected-checkbox-mixed-backdrop@2.png | Bin 816 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-hover.png | Bin 518 -> 0 bytes .../Adwaita/assets/selected-checkbox-mixed-hover@2.png | Bin 952 -> 0 bytes .../assets/selected-checkbox-mixed-insensitive.png | Bin 494 -> 0 bytes .../assets/selected-checkbox-mixed-insensitive@2.png | Bin 814 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-mixed.png | Bin 567 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-mixed@2.png | Bin 1048 -> 0 bytes .../assets/selected-checkbox-unchecked-active.png | Bin 491 -> 0 bytes .../assets/selected-checkbox-unchecked-active@2.png | Bin 808 -> 0 bytes .../selected-checkbox-unchecked-backdrop-insensitive.png | Bin 427 -> 0 bytes ...elected-checkbox-unchecked-backdrop-insensitive@2.png | Bin 667 -> 0 bytes .../assets/selected-checkbox-unchecked-backdrop.png | Bin 429 -> 0 bytes .../assets/selected-checkbox-unchecked-backdrop@2.png | Bin 669 -> 0 bytes .../Adwaita/assets/selected-checkbox-unchecked-hover.png | Bin 438 -> 0 bytes .../assets/selected-checkbox-unchecked-hover@2.png | Bin 782 -> 0 bytes .../assets/selected-checkbox-unchecked-insensitive.png | Bin 427 -> 0 bytes .../assets/selected-checkbox-unchecked-insensitive@2.png | Bin 667 -> 0 bytes gtk/theme/Adwaita/assets/selected-checkbox-unchecked.png | Bin 464 -> 0 bytes .../Adwaita/assets/selected-checkbox-unchecked@2.png | Bin 851 -> 0 bytes .../Adwaita/assets/selected-radio-checked-active.png | Bin 818 -> 0 bytes .../Adwaita/assets/selected-radio-checked-active@2.png | Bin 1535 -> 0 bytes .../selected-radio-checked-backdrop-insensitive.png | Bin 663 -> 0 bytes .../selected-radio-checked-backdrop-insensitive@2.png | Bin 1179 -> 0 bytes .../Adwaita/assets/selected-radio-checked-backdrop.png | Bin 694 -> 0 bytes .../Adwaita/assets/selected-radio-checked-backdrop@2.png | Bin 1230 -> 0 bytes .../Adwaita/assets/selected-radio-checked-hover.png | Bin 759 -> 0 bytes .../Adwaita/assets/selected-radio-checked-hover@2.png | Bin 1548 -> 0 bytes .../assets/selected-radio-checked-insensitive.png | Bin 680 -> 0 bytes .../assets/selected-radio-checked-insensitive@2.png | Bin 1214 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-checked.png | Bin 813 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-checked@2.png | Bin 1655 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed-active.png | Bin 751 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-active@2.png | Bin 1411 -> 0 bytes .../assets/selected-radio-mixed-backdrop-insensitive.png | Bin 635 -> 0 bytes .../selected-radio-mixed-backdrop-insensitive@2.png | Bin 1114 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-backdrop.png | Bin 652 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-backdrop@2.png | Bin 1128 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed-hover.png | Bin 726 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-hover@2.png | Bin 1436 -> 0 bytes .../Adwaita/assets/selected-radio-mixed-insensitive.png | Bin 644 -> 0 bytes .../assets/selected-radio-mixed-insensitive@2.png | Bin 1130 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed.png | Bin 778 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-mixed@2.png | Bin 1514 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-active.png | Bin 673 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-active@2.png | Bin 1229 -> 0 bytes .../selected-radio-unchecked-backdrop-insensitive.png | Bin 578 -> 0 bytes .../selected-radio-unchecked-backdrop-insensitive@2.png | Bin 992 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-backdrop.png | Bin 581 -> 0 bytes .../assets/selected-radio-unchecked-backdrop@2.png | Bin 993 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-hover.png | Bin 664 -> 0 bytes .../Adwaita/assets/selected-radio-unchecked-hover@2.png | Bin 1290 -> 0 bytes .../assets/selected-radio-unchecked-insensitive.png | Bin 578 -> 0 bytes .../assets/selected-radio-unchecked-insensitive@2.png | Bin 992 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-unchecked.png | Bin 701 -> 0 bytes gtk/theme/Adwaita/assets/selected-radio-unchecked@2.png | Bin 1371 -> 0 bytes 216 files changed, 0 insertions(+), 0 deletions(-) commit d3c247ed21cc9d73e0ae23a9e4b823229cbd6d2b Author: Lapo Calamandrei Date: Wed Feb 17 15:18:59 2016 +0100 Adwaita: added a new mixin for check/radio/sliders some clean up in the process. The gradient still need some love. gtk/theme/Adwaita/_colors.scss | 3 +- gtk/theme/Adwaita/_common.scss | 54 ++++------- gtk/theme/Adwaita/_drawing.scss | 41 +++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 150 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 150 ++++++++++++++----------------- 5 files changed, 194 insertions(+), 204 deletions(-) commit 6bf33ac30cfaf3517cafcd4f68ea5ea76859a2d2 Author: Lapo Calamandrei Date: Wed Feb 17 14:35:47 2016 +0100 Adwaita: _drawing cleanup gtk/theme/Adwaita/_drawing.scss | 15 +- gtk/theme/Adwaita/gtk-contained-dark.css | 284 ++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 284 ++++++++++--------------------- 3 files changed, 193 insertions(+), 390 deletions(-) commit 2782a14fc43767253a70d2e38eac3cacb4c663ab Author: Benjamin Otte Date: Mon Feb 15 06:51:45 2016 +0100 win32 theme: Add checkbutton spacing The number is taken right from Wine source code. gtk/theme/win32/gtk-win32-base.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 01bcda8a8c5c2e7a87db1a1b585fc858abb9657e Author: Benjamin Otte Date: Mon Feb 15 06:50:49 2016 +0100 win32 theme: Query theme borders when rendering buttons If someone figures out where the remaining pixel comes from: Tell me! gtk/theme/win32/gtk-win32-base.css | 41 ++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit 67b893c5f8be66c316189ed73692093accfb1e9a Author: Benjamin Otte Date: Mon Feb 15 06:50:22 2016 +0100 win32 theme: Add a way to query border of theme parts gtk/gtkcssnumbervalue.c | 12 ++++++++++-- gtk/gtkcsswin32sizevalue.c | 41 +++++++++++++++++++++++++++++++++++++++-- gtk/gtkwin32draw.c | 27 ++++++++++++++++++++++++--- gtk/gtkwin32drawprivate.h | 6 ++++++ gtk/gtkwin32theme.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32themeprivate.h | 4 ++++ 6 files changed, 128 insertions(+), 7 deletions(-) commit a3998bce9d444657a70c8910075ebbab15702bcf Author: Benjamin Otte Date: Mon Feb 15 06:48:48 2016 +0100 win32 theme: Add a hack that selects the right font on Windows 8 Someone needs to figure out why the default font is wrong. gtk/theme/win32/gtk-win32-base.css | 3 +++ 1 file changed, 3 insertions(+) commit c98007f9fd3db6d27c6916f28d2b1867c93bd072 Author: Benjamin Otte Date: Wed Feb 17 04:18:29 2016 +0100 win32: Add fallback code to draw theme parts gtk/gtkwin32draw.c | 139 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 17 +++++- gtk/gtkwin32theme.c | 11 +--- 3 files changed, 156 insertions(+), 11 deletions(-) commit 37e3ccb2f67729ecdef6605455e6bf2b8b0279d7 Author: Benjamin Otte Date: Wed Feb 17 02:43:18 2016 +0100 win32: Split out fallback code into separate file (1) Actual Windows users don't care about it (2) It's easier to get rid of gtk/Makefile.am | 2 ++ gtk/gtkwin32draw.c | 70 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32drawprivate.h | 64 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwin32theme.c | 46 ++----------------------------- 4 files changed, 139 insertions(+), 43 deletions(-) commit 3e5be58991ce62e3c31f3a2a5bafc59abb3820a2 Author: Benjamin Otte Date: Wed Feb 17 02:42:35 2016 +0100 win32 theme: Require comma between part and state ID gtk/gtkcssimagewin32.c | 12 ++ gtk/theme/win32/gtk-win32-base.css | 308 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 30 ++-- 3 files changed, 181 insertions(+), 169 deletions(-) commit 1b36fbfc5edbbfd1433b1e8cd72b78c1ce38b198 Author: Matthias Clasen Date: Tue Feb 16 19:35:19 2016 -0500 3.19.9 NEWS | 3 +++ configure.ac | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit da47ceb4c0cb9be72dfdd727a6afe18e5be3dc79 Author: Matthias Clasen Date: Tue Feb 16 19:20:22 2016 -0500 places sidebar: Use the right marshallers We are passing the mount operation as argument, so use a marshaller that expects an object argument. gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b8e2ebb840e6daea88c9cdd5a2e58b796d165a52 Author: Carlos Soriano Date: Mon Feb 15 19:09:54 2016 +0100 gtkplacessidebar: remove notification handling We were notifying when an unmount operation was performed. However, creating notifications from the gtk+ library is not that expected, and makes notification handling difficult to do from the application point of view since we cannot dismiss those notifications. This cause issues like notifications of unmount drives stay there after a system reboot, which confuses the user. Instead of that, remove the notification handling for mount operations on gtk+ and instead create a new signal on the gtkplacessidebar in order to inform applications using it about an operation about to start. Only drawback about this is that the GtkFileChooser loses its notifications when unmounting, that although we could use the new signal to do it, we actually don't want to notify from any part of gtk+ for now. https://bugzilla.gnome.org/show_bug.cgi?id=753351 gtk/gtkplacessidebar.c | 167 +++++++++++++++++++++++-------------------------- 1 file changed, 79 insertions(+), 88 deletions(-) commit 13e5e837985b9154873c82408ef77a8e20dfa30e Author: Matthias Clasen Date: Tue Feb 16 18:33:16 2016 -0500 Add message contexts to translated strings The string "None" is used in multiple contexts; add message contexts to give translators a chance to translate them accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=762165 gtk/gtkfontbutton.c | 2 +- gtk/inspector/general.c | 4 ++-- gtk/inspector/gestures.c | 8 ++++---- gtk/inspector/prop-editor.c | 2 +- gtk/inspector/size-groups.c | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) commit a64dd9ccf36739d892bb181ca4622b4f7bee108e Author: Matthias Clasen Date: Tue Feb 16 18:05:32 2016 -0500 printing: Add message contexts Some of the translated strings in the cups printbackend are short and generic and might occur in other contexts. Give them disambiguating message contexts to avoid translation problems. modules/printbackends/cups/gtkprintbackendcups.c | 121 ++++++++++++++--------- 1 file changed, 72 insertions(+), 49 deletions(-) commit 38b1f15f1257003fffd69f6017caefa57f56a24e Author: Jonas Ådahl Date: Tue Feb 16 13:05:25 2016 +0800 wayland: Only attach the buffer if there was damage There is no point in attaching and then committing the same buffer if there was no damage. This will also make us do less unnecessary backfill read backs, for the cases where we paint with an empty paint region. https://bugzilla.gnome.org/show_bug.cgi?id=762120 gdk/wayland/gdkwindow-wayland.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 64c9ec14fea2a68377f7a9c5297fb24b365bf50e Author: Jonas Ådahl Date: Tue Feb 16 12:41:57 2016 +0800 wayland: Handle after-paint invocations when nothing was painted If a after-paint was scheduled but nothing was painted, for example when the it was scheduled by a subsurface wanting to update its position, we'd still try to read back from the backfill cairo surface and update the committed cairo surface reference even though no buffer was attached. Fix this by adding a new state, 'pending_buffer_attached', which is only true if a buffer was attached during frame. Only when this is true will the backfill be read back and the committed cairo surface reference be updated. https://bugzilla.gnome.org/show_bug.cgi?id=762120 gdk/wayland/gdkwindow-wayland.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit f945fb6ec40db6da31be17703f8c67345ea2e1fe Author: Lapo Calamandrei Date: Tue Feb 16 20:49:05 2016 +0100 Adwaita: add a top border to the filechooser bottom bar gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 5de7a5fdea72f669e04443f653f71e73e914e606 Author: Lapo Calamandrei Date: Tue Feb 16 20:44:16 2016 +0100 Adwaita: use Matthias provided ID for the previous commit style gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit bdee6b11ac0b2998b3c99f68df44568e672d4dc6 Author: Lapo Calamandrei Date: Tue Feb 16 20:39:25 2016 +0100 Adwaita: add back a bottom border on the pathbar/entry box gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 3a4922a76f856f43604d56d397b4b29a96655c4a Author: Matthias Clasen Date: Tue Feb 16 14:36:32 2016 -0500 file chooser: Add an ID to the box around the pathbar Having an ID makes it easier to style this appropriately. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 03ec21d61290aa2871300353654d6eb23357221f Author: Lapo Calamandrei Date: Tue Feb 16 20:27:06 2016 +0100 Adwaita: make tab child not cover the active tab indication in the process make the focus outline clearer. gtk/theme/Adwaita/_common.scss | 17 ++++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 24 insertions(+), 21 deletions(-) commit af2cc8140aee94aaac0208a37612292dcde3160f Author: Lapo Calamandrei Date: Tue Feb 16 20:17:43 2016 +0100 Adwaita: places sidebar eject button sizing gtk/theme/Adwaita/_common.scss | 9 ++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++++++---- gtk/theme/Adwaita/gtk-contained.css | 11 +++++++---- 3 files changed, 20 insertions(+), 11 deletions(-) commit d3a153a45e75621bd4c5a89eb4555392bab62d3c Author: Lapo Calamandrei Date: Tue Feb 16 18:23:09 2016 +0100 Adwaita: places sidebar sizing with min-height... ...more to come. gtk/theme/Adwaita/_common.scss | 7 ++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 14 insertions(+), 9 deletions(-) commit 7c799bbc6591a58cec3ac4d9e0b4cb88fa4d1cfb Author: Lapo Calamandrei Date: Tue Feb 16 17:54:31 2016 +0100 Adwaita: make tab buttons square once again gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 6085bba0a5960390497e429e7a9e41746ff80ac4 Author: Lapo Calamandrei Date: Tue Feb 16 17:40:13 2016 +0100 Adwaita: be more specific about menu items height setting a 16px min-height (same as a check/radio) and resetting margins on check/radio to workaround a sizing issues there. gtk/theme/Adwaita/_common.scss | 8 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 37 ++++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 37 ++++++++++++++++++-------------- 3 files changed, 48 insertions(+), 34 deletions(-) commit 3a15aa2a957b7a4fc5ecdb21d800b2e81bb2ea47 Author: Christoph Reiter Date: Tue Feb 16 15:49:23 2016 +0100 Add -gtk-image-effect alias for -gtk-icon-effect The property name was changed in 2396265523dfc6. This makes sure apps using it don't break and get a helpful warning instead. gtk/gtkcssstylepropertyimpl.c | 1 + 1 file changed, 1 insertion(+) commit c2cfbc8df1fcec997ba36fb8715b8913dbc08149 Author: Matthias Clasen Date: Mon Feb 15 23:05:06 2016 -0500 Updates NEWS | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) commit e32da776ce23a32cc95ab033e4b2cb3b1253b79a Author: Matthias Clasen Date: Mon Feb 15 22:43:56 2016 -0500 Add a release note about level bar changes README.in | 5 +++++ 1 file changed, 5 insertions(+) commit b9a1472fc52a8478ae79d5bdb32537476aa64b0a Author: Matthias Clasen Date: Mon Feb 15 22:17:41 2016 -0500 Add a release note about window size saving README.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8f71060ef9569fb476d53e190b2afd7c7d898a8a Author: Matthias Clasen Date: Mon Feb 15 22:06:17 2016 -0500 file chooser: Reload current dir when switching from search mode The need for this was pointed out by Evangelos Foutras in https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit ab1906952e11a11737aec41e86ba81c050886845 Author: Benjamin Otte Date: Tue Feb 16 02:41:44 2016 +0100 cellrenderertoggle: Change "indicator-size" handling The following changes were done to (hopefully) achieve backwards compatibility while allowing themes to change the size of the indicator. (1) Deprecate the property. (2) Change the default value of the property to 0. If it is not 0, use the property's value for the indicator size. This should make all programs that actually set it keep the size they set it to. (3) If set to other values than 0, use min-width/min-height of the check/radio node to size the indicator. This allows themes to change the size. (4) Fall back to the previous default size of 16px. This way themes that do not set the size keep the same behavior. gtk/gtkcellrenderertoggle.c | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) commit 3c0cd8aea4e0e91459985ef42ece02f5dd683fc7 Author: Benjamin Otte Date: Tue Feb 16 00:22:40 2016 +0100 win32 theme: Include the default win32 colors gtk/gtkwin32theme.c | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) commit 92fca23244f59f0df0336814f553b8e668223c0b Author: Benjamin Otte Date: Tue Feb 16 00:22:12 2016 +0100 win32 theme: Always include the win32 theme It's not very useful outside of Windows so far, but that will hopefully change. gtk/Makefile.am | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit a1cbcc18b3735438ec2e585b4f8a45a3a7e82f8e Author: Lapo Calamandrei Date: Tue Feb 16 02:11:12 2016 +0100 Adwaita: stop using assets for treeview check/radio... ...the sizing is still off, waiting for Benjamin to add the magic, probably the icon shadow is missing, not sure since it's blurry. This needs to be reverted in case the sizing won't get fixed. gtk/theme/Adwaita/_common.scss | 95 +- gtk/theme/Adwaita/assets.svg | 6563 +++++------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 339 +- gtk/theme/Adwaita/gtk-contained.css | 453 +-- 4 files changed, 1194 insertions(+), 6256 deletions(-) commit c30d542a17e78cfff1dd0a949dfa4f7df942604f Author: Matthias Clasen Date: Mon Feb 15 14:20:48 2016 -0500 Some more CSS node tests for notebooks testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/notebook-arrows.nodes | 16 +++++++++++ testsuite/css/nodes/notebook-arrows.ui | 42 +++++++++++++++++++++++++++++ testsuite/css/nodes/notebook-arrows2.nodes | 16 +++++++++++ testsuite/css/nodes/notebook-arrows2.ui | 43 ++++++++++++++++++++++++++++++ 5 files changed, 119 insertions(+) commit 38d0d0a687c0c7416188cd6095ae4ebf69dc4f53 Author: Carlos Garnacho Date: Mon Feb 15 18:56:42 2016 +0100 gdkdnd: Stick to the first gdk_drag_drop_done() result That way we can let ::cancel callers to override the visual result of the operation (eg. when detaching notebook tabs on NO_TARGET). Also, document gdk_drag_drop_done() so it is mentioned that this is a one-shot call. https://bugzilla.gnome.org/show_bug.cgi?id=761954 gdk/gdkdnd.c | 9 +++++++++ gdk/gdkdndprivate.h | 2 ++ 2 files changed, 11 insertions(+) commit d26801c92309ea9bf9dfb4e755ae5e8db80b4cce Author: Lapo Calamandrei Date: Mon Feb 15 18:39:50 2016 +0100 Adwaita: correctly style arrows wrt tab position gtk/theme/Adwaita/_common.scss | 55 +++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 39 +++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 39 +++++++++++++++------- 3 files changed, 100 insertions(+), 33 deletions(-) commit bc3b399809ec1f60c6583a1566da437f787dc2ff Author: Anders Jonsson Date: Mon Feb 15 17:39:17 2016 +0000 Updated Swedish translation po/sv.po | 1800 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 965 insertions(+), 835 deletions(-) commit 9bd15e001a3ebe6fe2ae68dd7f3c44c56e91cce6 Author: Anders Jonsson Date: Mon Feb 15 17:38:07 2016 +0000 Updated Swedish translation po-properties/sv.po | 4171 +++++++++++++++++++++++++++------------------------ 1 file changed, 2233 insertions(+), 1938 deletions(-) commit 4636552a76e3935621b79367dc329a896a0d981a Author: Carlos Garnacho Date: Mon Feb 15 17:05:50 2016 +0100 gdkdnd: Make GtkDragContext::cancel RUN_LAST The default implementation code should act as a catch-all fallback, we let the connected handlers to run first then. https://bugzilla.gnome.org/show_bug.cgi?id=761954 gdk/gdkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aad3135e4c30c977c80ba39a65f28623aa4c4592 Author: Carlos Garnacho Date: Mon Feb 15 17:02:14 2016 +0100 gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel We should conform to a minimal set of reasons for the gtk side to emit a better GtkDragResult than GTK_DRAG_RESULT_ERROR. This fixes the notebook tab DnD feature, where we rely on GTK_DRAG_RESULT_NO_TARGET. In the wayland side, unfortunately we can't honor either NO_TARGET nor USER_CANCELLED, we don't know of the latter, so we could return false positives on the former. https://bugzilla.gnome.org/show_bug.cgi?id=761954 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkdnd.c | 9 +++++---- gdk/gdkdnd.h | 16 ++++++++++++++++ gdk/gdkdndprivate.h | 6 ++++-- gdk/wayland/gdkdnd-wayland.c | 3 ++- gdk/wayland/gdkselection-wayland.c | 2 +- gdk/x11/gdkdnd-x11.c | 14 ++++++++------ gtk/gtkdnd.c | 27 ++++++++++++++++++++++----- 8 files changed, 59 insertions(+), 19 deletions(-) commit 1ee3df5161e243a54a1254ff203282ed678f70ae Author: Benjamin Otte Date: Mon Feb 15 18:16:32 2016 +0100 cellrendertoggle: Draw background + frame for mark Also compute padding and borders properly for the marks. gtk/gtkcellrenderertoggle.c | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) commit 46f46ed36e18096b2c816afe46a9c1bc590d5439 Author: Benjamin Otte Date: Mon Feb 15 18:08:14 2016 +0100 cellrenderertoggle: Split out a function gtk/gtkcellrenderertoggle.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) commit d10bd41e43acaac31b4ccf41331659ca0df3c61b Author: Benjamin Otte Date: Mon Feb 15 18:06:28 2016 +0100 widget-factory: Add myself Actually, I wanted to have a radio toggle cell renderer for testing. But hey, the commit message is supposed to say the important things! demos/widget-factory/widget-factory.ui | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 1b1d6551c712a57f5f69ccdae3b9dfd6c46600f9 Author: Lapo Calamandrei Date: Mon Feb 15 16:56:01 2016 +0100 Adwaita: correct size for ssd titlebars fixes https://bugzilla.gnome.org/show_bug.cgi?id=762032 gtk/theme/Adwaita/_common.scss | 10 ++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 12 +++++++----- gtk/theme/Adwaita/gtk-contained.css | 12 +++++++----- 3 files changed, 20 insertions(+), 14 deletions(-) commit cb43af090b175a7afef20d3511d12594120cef34 Author: Matthias Clasen Date: Mon Feb 15 10:38:13 2016 -0500 notebook: Fix a misplaced tab label Sometimes default tab labels ("Page ") get created on-demand, and in that case, we were forgetting to put them below the tab node in the CSS node tree. The visible result of this is that the heuristics for when to give notebooks background in Adwaita fail in some cases. So, make sure to always place the label below the tab node. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit 1d65e8b601afbdb5b6ce4586dbe5ceba6453a350 Author: Caolán McNamara Date: Mon Feb 15 13:06:23 2016 +0000 gtk-demo: add menu separator demo doesn't much look like the menu separator in a real menu though. https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit ee9c1c144954edde5fc3af46a48edaf219265f1e Author: Caolán McNamara Date: Mon Feb 15 12:38:52 2016 +0000 gtk-demo: add combobox demos https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 51 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit 1131ae27a0f38e9b406d5b9e04d58c2dac4646cb Author: Caolán McNamara Date: Thu Feb 11 16:48:51 2016 +0000 gtk-demo: add menu check and radio examples note that if the "menu" context has no parent then the GTK_STATE_FLAG_NORMAL menu entries are invisible against the white background. https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 59 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 7 deletions(-) commit 1140a514ea3f33a02dbf4f704adf6c579afb13c6 Author: Lapo Calamandrei Date: Mon Feb 15 14:25:30 2016 +0100 Adwaita: notebook fixes make the tab close button a tad bigger, use header 'paddings' in place of 'tabs' margins for spacing. gtk/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 20 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) commit 4e2674edbb155163d0d50c8ccc19e88428cd8cd4 Author: Matthias Clasen Date: Mon Feb 15 08:23:12 2016 -0500 Expand the docs for gtk_window_set_default_size() Mention that this function should be used together with gtk_window_get_size() when saving and restoring window sizes. gtk/gtkwindow.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit e10f44e896a316b8cf7f0b4e3545aabff64147d8 Author: Matthias Clasen Date: Mon Feb 15 08:02:27 2016 -0500 places sidebar: use a box No need for a grid here. Patch by Timm Bäder. gtk/ui/gtksidebarrow.ui | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) commit 88c68f2eefc715039df09179e163ff68991c856f Author: Lapo Calamandrei Date: Mon Feb 15 13:52:41 2016 +0100 Adwaita: sidebar background-color it was covered by the contained list background, which is now transparent. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 0b1aeceb6e7fe4cb0646c633427eb3f72f2c9bbf Author: Lapo Calamandrei Date: Mon Feb 15 13:30:37 2016 +0100 Adwaita: no rounded corner for tiled backdrop windows fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) commit aed7ca1b3d05c4da6988f93d4f6ea557d6b6e55f Author: Lapo Calamandrei Date: Mon Feb 15 13:28:46 2016 +0100 Revert "Adwaita: no rounded corners for backdrop tiled windows" This reverts commit aa4b385398e99fed6dd71791eb5a9e2e5ea4db9d. Erroneusly pushed unfinished stuff... gtk/theme/Adwaita/_common.scss | 17 ++++++------- gtk/theme/Adwaita/_drawing.scss | 9 ------- gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++++------------ 4 files changed, 62 insertions(+), 50 deletions(-) commit 4d266400450f681eafc4b28c0adbf035a049da59 Author: Lapo Calamandrei Date: Mon Feb 15 13:07:37 2016 +0100 Adwaita: shortcutswindow fixes use darker text and tweak the keycap vertical centering, addresses https://bugzilla.gnome.org/show_bug.cgi?id=761778 gtk/theme/Adwaita/_common.scss | 5 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) commit aa4b385398e99fed6dd71791eb5a9e2e5ea4db9d Author: Lapo Calamandrei Date: Mon Feb 15 12:34:55 2016 +0100 Adwaita: no rounded corners for backdrop tiled windows fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067 gtk/theme/Adwaita/_common.scss | 17 +++++++------ gtk/theme/Adwaita/_drawing.scss | 9 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++-------------------- 4 files changed, 50 insertions(+), 62 deletions(-) commit 0e9f24b5a47dff33c681b055df304bda3018c7f1 Author: Chun-wei Fan Date: Mon Feb 15 17:22:00 2016 +0800 gtk/gtkentry.c: Fix build on pre-C99 This file now uses nearbyint(), so include fallback-c89.c so that compilers that don't provide the function will not get upset. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f3f3a1c75077f0f1a616dcac6fea63c20cc6ce26 Author: Chun-wei Fan Date: Mon Feb 15 14:34:12 2016 +0800 Fix 'make dist' gtk/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit beb76936d9f562fbaed46fc6eb22957733aa8b36 Author: Benjamin Otte Date: Mon Feb 15 04:40:03 2016 +0100 cellrenderertoggle: Use "check" and "radio" names ... instead of just adding a style class. gtk/gtkcellrenderertoggle.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit a4a158e8853daf96947041552d1f3ddc7c0f4506 Author: Benjamin Otte Date: Mon Feb 15 04:28:13 2016 +0100 win32 theme: Remove a bunch of workarounds that are no longer necessary gtk/theme/win32/gtk-win32-base.css | 37 ------------------------------------- 1 file changed, 37 deletions(-) commit b227d023f3b2fc512d364b2297d885184d4444c2 Author: Benjamin Otte Date: Mon Feb 15 01:47:43 2016 +0100 win32 theme: Draw checkmarks and radiomarks properly Instead of drawing them as the background, use -gtk-icon-source. Also size the marks properly. Because Windows doesn't have indeterminate radio buttons, use a cross-fade between checked and unchecked radiomark instead. But unlike previously, use CSS cross-fade() syntax to draw it. gtk/theme/win32/gtk-win32-base.css | 223 ++++++++++++++++++++++++------------- 1 file changed, 148 insertions(+), 75 deletions(-) commit de38435921ebec9a1a31640140a3eea86c907d4e Author: Benjamin Otte Date: Mon Feb 15 01:46:29 2016 +0100 cssimagecrossfade: Fix order of images when parsing/printing The syntax is cross-fade( , ), not the other way around. That's because the percentage refers to the end image. gtk/gtkcssimagecrossfade.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit f425b5549c49146ba3b751672e79f70d5e5572d7 Author: Benjamin Otte Date: Mon Feb 15 00:49:29 2016 +0100 win32: Add support for -gtk-win32-part-width/height to CSS It's unused by now, but I want it for min-width of checks/radios. gtk/gtkcssnumbervalue.c | 8 +- gtk/gtkcsswin32sizevalue.c | 214 ++++++++++++++++++++++++++++++++++++++------- gtk/gtkwin32theme.c | 53 ++++++++++- gtk/gtkwin32themeprivate.h | 6 ++ 4 files changed, 245 insertions(+), 36 deletions(-) commit b43844f9f91d4c24ef1300c2a088050ef960bc6b Author: Benjamin Otte Date: Sun Feb 14 20:36:38 2016 +0100 win32 theme: Don't set the color on * Instead, set it on .background, so it gets inherited everywhere. gtk/theme/win32/gtk-win32-base.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 6d909018f753a4cb6b2a3bb0b70f63fa791744ea Author: Benjamin Otte Date: Sun Feb 14 18:01:07 2016 +0100 win32 theme: Use same spinner as Adwaita gtk/theme/win32/gtk-win32-base.css | 345 ++----------------------------------- 1 file changed, 15 insertions(+), 330 deletions(-) commit 3597baf272816a0f2573c4c5b755969399b722e9 Author: Benjamin Otte Date: Sun Feb 14 16:18:56 2016 +0100 win32: Update color handling to recent GtkWin32Theme changes gtk/gtkcsscolorvalue.c | 62 +++++++++++++++++++++++++++------------------- gtk/gtkwin32theme.c | 43 +++++++++++++++----------------- gtk/gtkwin32themeprivate.h | 12 ++++----- 3 files changed, 63 insertions(+), 54 deletions(-) commit a1617c6d6d2e84abe6f6cc1c0df1ac38c144b550 Author: Benjamin Otte Date: Sun Feb 14 04:51:37 2016 +0100 win32: Canonicalize theme-name before adding to hash table This way, we get rid of du0plicates. gtk/gtkwin32theme.c | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit d584e22e021b15446e60ef451160211ae3347bb7 Author: Benjamin Otte Date: Sun Feb 14 01:11:57 2016 +0100 win32: Add gtk_win32_theme_parse() So all places can use this function instead of parsing things themselves. gtk/gtkcssimagewin32.c | 13 +++---------- gtk/gtkcsswin32sizevalue.c | 19 ++++++------------- gtk/gtkwin32theme.c | 21 ++++++++++++++++++++- gtk/gtkwin32themeprivate.h | 2 +- 4 files changed, 30 insertions(+), 25 deletions(-) commit 3b19db425e63fb6f16b1daf4c8da288c631e1cc0 Author: Benjamin Otte Date: Sun Feb 14 00:54:37 2016 +0100 css: Add a number value handling win32 sizes gtk/Makefile.am | 2 + gtk/gtkcssnumbervalue.c | 6 +- gtk/gtkcssstylefuncs.c | 46 +++++---- gtk/gtkcsswin32sizevalue.c | 196 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcsswin32sizevalueprivate.h | 32 +++++++ gtk/gtkwin32theme.c | 99 ++++++------------- gtk/gtkwin32themeprivate.h | 10 +- 7 files changed, 295 insertions(+), 96 deletions(-) commit 915fe87a629319c3a089874c148ec5b4319e3f09 Author: Lapo Calamandrei Date: Sun Feb 14 22:30:32 2016 +0100 Adwaita: fix treeview dnd column headers gtk/theme/Adwaita/_common.scss | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 24 +++++++++++++++++------- 3 files changed, 49 insertions(+), 29 deletions(-) commit 54b378b3df0e3c89bed0b715977d4e8cc8dee090 Author: Lapo Calamandrei Date: Sun Feb 14 21:48:31 2016 +0100 Adwaita: flatten up search bars and inline toolbars gtk/theme/Adwaita/_common.scss | 8 +++----- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +-- gtk/theme/Adwaita/gtk-contained.css | 3 +-- 3 files changed, 5 insertions(+), 9 deletions(-) commit f1b34a719e92847a6eb5429f0389350cb2e577e8 Author: Lapo Calamandrei Date: Sun Feb 14 21:06:38 2016 +0100 Adwaita: image-button sizing fix gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 16 insertions(+) commit 3c9a63bcb1336449f76432606fc7dcc838c5a1a4 Author: Matthias Clasen Date: Sun Feb 14 14:54:49 2016 -0500 Adwaita: Fix a padding problem in action bars Padding adds up. A selector like "actionbar box" matches any box inside an actionbar, so nested boxes accumulate more and more padding. The intention clearly was to just give padding to the topmost box that is the direct child of the actionbar's revealer. https://bugzilla.gnome.org/show_bug.cgi?id=762036 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit e0bf1289b96c99e67ece70c8c960dab875ed085a Author: Matthias Clasen Date: Sun Feb 14 10:49:22 2016 -0500 gtk3-demo: Fontify all source files demos/gtk-demo/main.c | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) commit c0a61c2da3c358e71f0d29ceda2e761f5b6878af Author: Matthias Clasen Date: Sun Feb 14 09:39:15 2016 -0500 gtk-demo: Streamline application Avoid the odd #ifdef STANDALONE construction; we can show multiple source files nowadays. demos/gtk-demo/Makefile.am | 4 +- demos/gtk-demo/application-standalone.c | 3 - demos/gtk-demo/application.c | 101 +------------------------------- demos/gtk-demo/application_demo.c | 95 ++++++++++++++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 5 +- 5 files changed, 102 insertions(+), 106 deletions(-) commit fc90bd5e302f0146ee7fa4cdcaf06b6ffef41e7c Author: Matthias Clasen Date: Sun Feb 14 09:29:55 2016 -0500 gtk-demo: Fix the size saving for CSD We need to use gtk_window_get_size to get the correct size that we can pass to gtk_window_set_default_size regardless of CSD or not. demos/gtk-demo/application.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 601e762973e9f79e6429f85804a9346d73f41bb8 Author: Lapo Calamandrei Date: Sun Feb 14 16:38:42 2016 +0100 Adwaita: correct spacing for mixed buttons gtk/theme/Adwaita/_common.scss | 19 +++++++++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 22 ++++++++++++++++------ gtk/theme/Adwaita/gtk-contained.css | 22 ++++++++++++++++------ 3 files changed, 49 insertions(+), 14 deletions(-) commit 6edb420e510e5bed5f5d67b1a3b48670fba32287 Author: Benjamin Otte Date: Sun Feb 14 16:10:07 2016 +0100 paned: Fix drawing Clip children to their window's size. That way no overdraw happens for these widgets. But don't clip the handle. We might in the future consider not clipping un-shrinkable children. https://bugzilla.gnome.org/show_bug.cgi?id=762021 gtk/gtkpaned.c | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) commit 88f0885638674295bb73171e0c852fc78662106a Author: Benjamin Otte Date: Sun Feb 14 16:07:06 2016 +0100 paned: Use content allocation instead of widget allocation We don't want to include padding and borders in our calculations involving the handle. gtk/gtkpaned.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 7e47418d0cf93acc73a6ad2d274aa0ac45470d8c Author: Benjamin Otte Date: Sun Feb 14 15:52:19 2016 +0100 paned: rtl-flip with the correct rectangle gtk/gtkpaned.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit 1bfbd23a0c692cf8b19dd86448eaa9ba8e6cb8af Author: Lapo Calamandrei Date: Sun Feb 14 14:44:57 2016 +0100 Adwaita: don't set a border for drop targets to avoid active drop targets to grow. gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) commit bf45d06a7915b5cf212aebe341187f2af6a6de5e Author: Lapo Calamandrei Date: Sun Feb 14 14:33:30 2016 +0100 Adwaita: scss cosmetic changes gtk/theme/Adwaita/_common.scss | 53 ++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 28 deletions(-) commit 72db203672e706c05f3129f54b549199805c21fb Author: Lapo Calamandrei Date: Sun Feb 14 14:21:01 2016 +0100 Adwaita: fix scale popup button size gtk/theme/Adwaita/_common.scss | 13 +++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 9 +++------ gtk/theme/Adwaita/gtk-contained.css | 9 +++------ 3 files changed, 11 insertions(+), 20 deletions(-) commit ea423318f17ae1167da3f955533c73c0a5303682 Author: Michael Catanzaro Date: Sat Feb 13 22:14:55 2016 -0600 Fix a typo gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3a499d61dce4c2dbcafc7a401d17bce3de127bd9 Author: Matthias Clasen Date: Sat Feb 13 22:53:16 2016 -0500 gtk-demo: Add window size saving example Implement the recommendations from https://wiki.gnome.org/HowDoI/SaveWindowState in the Application Class example. demos/gtk-demo/application.c | 151 ++++++++++++++++++++++++++++---- demos/gtk-demo/application.ui | 11 +-- demos/gtk-demo/org.gtk.Demo.gschema.xml | 9 ++ 3 files changed, 148 insertions(+), 23 deletions(-) commit 7bca66e1ff816f45f02682733346469675b2c915 Author: Matthias Clasen Date: Sat Feb 13 21:46:40 2016 -0500 gtk-demo: modernize the application demo Subclass GtkApplication and GtkApplicationWindow and use a template. demos/gtk-demo/application.c | 185 ++++++++++++++++++++---------------------- demos/gtk-demo/application.ui | 166 +++++++++++++++++++++---------------- 2 files changed, 186 insertions(+), 165 deletions(-) commit 7f2d4400ba429a1f660bbece8bad3a8548f707f0 Author: Lapo Calamandrei Date: Sun Feb 14 02:35:28 2016 +0100 Adwaita: try being smarter wrt extending buttons. gtk/theme/Adwaita/_common.scss | 119 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 1375 +++++++++++------------------- gtk/theme/Adwaita/gtk-contained.css | 1373 +++++++++++------------------ 3 files changed, 1097 insertions(+), 1770 deletions(-) commit adddd1a9eb54f88df920fb6952f557a4e6b29bff Author: Lapo Calamandrei Date: Sun Feb 14 01:20:02 2016 +0100 Revert "Adwaita: remove an unneded selector." This reverts commit 05dff4ccb014e32b572505fb098006aa80a72387. It was needed actually... gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 251 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 251 +++++++++++++++++++++++-------- 3 files changed, 373 insertions(+), 130 deletions(-) commit 05dff4ccb014e32b572505fb098006aa80a72387 Author: Lapo Calamandrei Date: Sun Feb 14 00:34:29 2016 +0100 Adwaita: remove an unneded selector. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 251 ++++++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 251 ++++++++----------------------- 3 files changed, 130 insertions(+), 373 deletions(-) commit 12daac76d78b7bfd25db5042e03ed10c408ef2db Author: Lapo Calamandrei Date: Sun Feb 14 00:25:04 2016 +0100 Adwaita: notebook arrow styling. gtk/theme/Adwaita/_common.scss | 33 +- gtk/theme/Adwaita/gtk-contained-dark.css | 646 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 646 ++++++++++++++++++++++--------- 3 files changed, 975 insertions(+), 350 deletions(-) commit 29a7373802da8130f39435cda620cdc18fc50a9e Author: Matthias Clasen Date: Sat Feb 13 17:11:59 2016 -0500 widget-factory: Add an inline toolbar example This pattern is still used in applications, so we should have it represented here to keep it working well. demos/widget-factory/widget-factory.c | 128 +++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 66 +++++++++++++---- 2 files changed, 182 insertions(+), 12 deletions(-) commit 35bed27b9d37eea418472a75ecfe3ae852eaaea6 Author: Matthias Clasen Date: Fri Feb 12 23:40:26 2016 -0500 Docuemnt calc() support in CSS docs/reference/gtk/css-properties.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 3f4f914fb46edb379f1a1477c7738d026a00046c Author: Chao-Hsiung Liao Date: Sat Feb 13 06:19:31 2016 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 3585 +++++++++++++++++++++++++----------------------- 1 file changed, 1863 insertions(+), 1722 deletions(-) commit ecdd420b55184a56372bb2af657fea8a380d19ed Author: Chao-Hsiung Liao Date: Sat Feb 13 06:17:15 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 1793 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 964 insertions(+), 829 deletions(-) commit d3e8cf87aa5cfa3f10f6732c5a36c00e4ae82639 Author: Benjamin Otte Date: Sat Feb 13 06:41:29 2016 +0100 testsuite: Don't use deprecated APIs testsuite/gtk/gestures.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit e7470be7bf2d59b5e54538a728d5be3a8d90140c Author: Benjamin Otte Date: Sat Feb 13 06:26:42 2016 +0100 tests: Port testlockbutton to GTask Get rid of deprecations that way. tests/testlockbutton.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 93eec3e52f31f958ca7790e0eaa002e6975c4b57 Author: Benjamin Otte Date: Sat Feb 13 04:47:51 2016 +0100 css: Implement transitions for numbers of different units We now can transition from 10px to 100%. Note that this requires a teensy tiny hack in gtk_css_value_transition(), but so be it. gtk/gtkcsscalcvalue.c | 11 +---------- gtk/gtkcssdimensionvalue.c | 17 +---------------- gtk/gtkcssnumbervalue.c | 19 +++++++++++++++++++ gtk/gtkcssnumbervalueprivate.h | 4 ++++ gtk/gtkcssvalue.c | 4 +++- 5 files changed, 28 insertions(+), 27 deletions(-) commit 0cda3ba3e8fb70d3b88b2b810ee7b988ef5f631d Author: Benjamin Otte Date: Sat Feb 13 04:12:45 2016 +0100 calc: Allow subterms with '(' ')' bracketing Some more tests included. gtk/gtkcsscalcvalue.c | 19 +++++++++++++++++++ testsuite/css/parser/calc-errors.css | 16 ++++++++++++++++ testsuite/css/parser/calc-errors.errors | 4 ++++ testsuite/css/parser/calc.css | 16 ++++++++++++++++ testsuite/css/parser/calc.ref.css | 16 ++++++++++++++++ 5 files changed, 71 insertions(+) commit 63d1f8074287e4001b74b2f52018f32fe0b9cb7b Author: Benjamin Otte Date: Sat Feb 13 03:56:12 2016 +0100 css: Add support for '*' and '/' to calc() More tests are included. gtk/gtkcsscalcvalue.c | 101 ++++++++++++++++++++++++++++++- testsuite/css/parser/Makefile.am | 3 + testsuite/css/parser/calc-errors.css | 59 ++++++++++++++++++ testsuite/css/parser/calc-errors.errors | 15 +++++ testsuite/css/parser/calc-errors.ref.css | 0 testsuite/css/parser/calc.css | 4 ++ testsuite/css/parser/calc.ref.css | 4 ++ 7 files changed, 183 insertions(+), 3 deletions(-) commit 4a9fa1e7505651c3074b1a620047f6bfc5158a5a Author: Benjamin Otte Date: Sat Feb 13 02:31:47 2016 +0100 css: Add API to handle order when printing calc() Also, add some tests and update old ones to print calc() statements correctly. gtk/gtkcsscalcvalue.c | 20 +++++++++++++++++++- gtk/gtkcssdimensionvalue.c | 30 +++++++++++++++++++++++++++++- gtk/gtkcssnumbervalue.c | 21 +++++++++++++++++++++ gtk/gtkcssnumbervalueprivate.h | 2 ++ testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/calc.css | 14 +++++++++++++- testsuite/css/parser/calc.ref.css | 19 +++++++++++++++++++ 7 files changed, 104 insertions(+), 3 deletions(-) commit 65dd9da44a0a9d5ee211e36c6a779a682469e106 Author: Benjamin Otte Date: Fri Feb 12 07:59:06 2016 +0100 css: Add support for sums to calc() This requires adding code to do math on number values: gtk_css_number_value_multiply() and gtk_css_number_value_try_add() were added to achieve that. Some tests are included. gtk/gtkcsscalcvalue.c | 282 ++++++++++++++++++++++++++++++++++----- gtk/gtkcsscalcvalueprivate.h | 3 + gtk/gtkcssdimensionvalue.c | 21 ++- gtk/gtkcssnumbervalue.c | 36 +++++ gtk/gtkcssnumbervalueprivate.h | 10 ++ testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/calc.css | 7 + 7 files changed, 324 insertions(+), 36 deletions(-) commit cd6dc954f2bd173903d805fe3c4810ae25e82490 Author: Benjamin Otte Date: Fri Feb 12 06:56:14 2016 +0100 css: Add initial support for calc() So far, calc() only supports literals, ie it's completely useless. gtk/Makefile.am | 2 + gtk/gtkcsscalcvalue.c | 152 +++++++++++++++++++++++++++++++ gtk/gtkcsscalcvalueprivate.h | 30 ++++++ gtk/gtkcssnumbervalue.c | 7 +- testsuite/css/parser/Makefile.am | 2 + testsuite/css/parser/calc-simple.css | 31 +++++++ testsuite/css/parser/calc-simple.ref.css | 41 +++++++++ 7 files changed, 264 insertions(+), 1 deletion(-) commit a52ecd2be61ee46b41267614484ed0401ac5cbc1 Author: Benjamin Otte Date: Fri Feb 12 06:45:06 2016 +0100 css: Add gtk_css_number_value_can_parse() Use it instead of _gtk_css_parser_has_number(). We need that once we introduce calc() support. gtk/gtkcssbgsizevalue.c | 2 +- gtk/gtkcssbordervalue.c | 2 +- gtk/gtkcsscornervalue.c | 2 +- gtk/gtkcssimagecrossfade.c | 2 +- gtk/gtkcssimagelinear.c | 4 ++-- gtk/gtkcssimageradial.c | 6 +++--- gtk/gtkcssnumbervalue.c | 6 ++++++ gtk/gtkcssnumbervalueprivate.h | 1 + gtk/gtkcsspositionvalue.c | 4 ++-- gtk/gtkcssshadowvalue.c | 6 +++--- gtk/gtkcssshorthandpropertyimpl.c | 14 +++++++------- 11 files changed, 28 insertions(+), 21 deletions(-) commit b246d55472cdf7f8589a8cd8627e9dc4aead2fdd Author: Benjamin Otte Date: Fri Feb 12 06:25:50 2016 +0100 css: Turn number values into a virtual type GtkCssNumberValue is now a base class for numbers. Actual numbers are now implemented in GtkCssDimensionValue. The name is borrowed from the CSS spec, so there. gtk/Makefile.am | 2 + gtk/gtkcssdimensionvalue.c | 293 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcssdimensionvalueprivate.h | 35 +++++ gtk/gtkcssnumbervalue.c | 266 +++------------------------------- gtk/gtkcssnumbervalueprivate.h | 12 +- gtk/gtkcssparser.c | 9 +- 6 files changed, 365 insertions(+), 252 deletions(-) commit e2d966eda52ed8833ebdafdc7d6d43284a503453 Author: Benjamin Otte Date: Fri Feb 12 04:40:35 2016 +0100 cssnumbervalue: Remove gtk_css_number_value_get_unit() This is in preparation for calc(), as calc(50% - 5px) is valid CSS but has 2 units. Instead, add a function to query a value's dimension (so we can differentiate lengths from numbers) and add a function to query if the value contains percentages. gtk/gtkcssimageradial.c | 2 +- gtk/gtkcssnumbervalue.c | 16 ++++++++++++---- gtk/gtkcssnumbervalueprivate.h | 4 +++- gtk/gtkcssshorthandpropertyimpl.c | 2 +- gtk/gtkcsstypes.c | 38 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 10 ++++++++++ gtk/gtkrenderborder.c | 4 ++-- 7 files changed, 67 insertions(+), 9 deletions(-) commit 7b301fcece6a9f2a18afc2e5e2169da9b6545bbf Author: Benjamin Otte Date: Fri Feb 12 04:09:44 2016 +0100 linear-gradient: Remove the hack using NUMBER Instead, add a "side" member to the struct that keeps sides explicitly. gtk/gtkcssimagelinear.c | 63 ++++++++++++++++++++---------------------- gtk/gtkcssimagelinearprivate.h | 3 +- 2 files changed, 32 insertions(+), 34 deletions(-) commit 06454250461f2586cdc4d62fdf4504eb1ba8e163 Author: Benjamin Otte Date: Fri Feb 12 21:22:23 2016 +0100 cssimageradial: Don't print 2 spaces gtk/gtkcssimageradial.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 51af70495ae1be03c4faadbbfe91234f165ddcaa Author: Matthias Clasen Date: Fri Feb 12 22:26:04 2016 -0500 gadget: Be careful in geometry calculations Margins can be negative, and if we are not careful, then content+padding+margin can end up with negative dimensions, which can upset pixman and others. This commit ensures that a gadget will not request or draw boxes with negative dimensions, and get_border_allocation and get_content_allocation will not return boxes with negative dimensions. This fixes a crash in the paned separator drawing code that can be reproduced by setting separator padding to 0. https://bugzilla.gnome.org/show_bug.cgi?id=759657 gtk/gtkcssgadget.c | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) commit 71559c603e8cfdbe7cba03344f244a6ce84545a4 Author: Matthias Clasen Date: Fri Feb 12 22:05:40 2016 -0500 file chooser: Avoid nonworking search+save combinations With the location entry up in the header bar in save mode, we can end up with the search model being in use when the user types in the location entry. In this case, we don't make the Save button sensitive as we should. Having two entries in the dialog is somewhat confusing anyway, so just stop the search when the user starts typing in the location entry. https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 811a9b21c1bb226236d2a880f9cbbcbcf6028c2e Author: Matthias Clasen Date: Fri Feb 12 20:35:26 2016 -0500 file chooser: Use the right model when getting the selection We don't need to make assumptions about which model is currently used since gtk_tree_selection_get_selection hands us the model. https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4c37719639ee5121d729c81d8ab30a23670de559 Author: Matthias Clasen Date: Fri Feb 12 18:24:20 2016 -0500 Adwaita: Insensitive notebook arrows Just make insensitive notebook arrows gray until better styling appears. https://bugzilla.gnome.org/show_bug.cgi?id=761716 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 102b3bfddf9a5d76c4b70d8e6106aac088b6f22b Author: Matthias Clasen Date: Fri Feb 12 18:09:41 2016 -0500 paned: Draw handle before children gtk/gtkpaned.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d55b8151f27857ff4663ce05cbf6636b5ae50a02 Author: Carlos Garnacho Date: Fri Feb 12 21:59:29 2016 +0100 x11: Avoid setting has_pointer_focus if a EWMH compliant WM is present This is mostly useful to have focus behave sanely on lack of WM, so avoid any check there if we're positive there is a WM handling focus. https://bugzilla.gnome.org/show_bug.cgi?id=677329 gdk/x11/gdkdevicemanager-core-x11.c | 6 +++++- gdk/x11/gdkeventsource.c | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) commit 48d7219296084e73adcde7b09a8e550d7323deb7 Author: Matthias Clasen Date: Fri Feb 12 15:01:58 2016 -0500 paned: Don't overdraw When moving children 'off', we can't allow them to draw outside the paned allocation, so clip when drawing. https://bugzilla.gnome.org/show_bug.cgi?id=761903 gtk/gtkpaned.c | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) commit 5562f4f273200f4617ccacf7f0c4198dfdbdd5f4 Author: Caolán McNamara Date: Thu Feb 11 17:22:31 2016 +0000 gtk-demo: spinbutton and menubar examples https://bugzilla.gnome.org/show_bug.cgi?id=761900 demos/gtk-demo/foreigndrawing.c | 87 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 86 insertions(+), 1 deletion(-) commit eb90c4f9ed2a786585a1f425f815a385bdab2faf Author: Jakub Steiner Date: Fri Feb 12 14:38:03 2016 +0100 Adwaita: make popovers less 1995 - use regular bgcolor gtk/theme/Adwaita/_colors.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 170cb016759c4a949c7cd81291da498395f18fb3 Author: Carlos Garcia Campos Date: Fri Feb 12 13:21:14 2016 +0100 Revert "Remove _gtk_box_get_children" This reverts commit 572e9a04027e213082a5b257e5d662a5daa32667. _gtk_box_get_children was not doing exactly the same than gtk_container_get_children does, because the latter uses the forall implementation of GtkBox that takes into account the children pack mode while the former just iterated the list of children. This broke the order of the buttons in a GtkButtonBox when they were packaged with PACK_END. gtk/gtkbbox.c | 4 ++-- gtk/gtkbox.c | 24 ++++++++++++++++++++++++ gtk/gtkboxprivate.h | 1 + 3 files changed, 27 insertions(+), 2 deletions(-) commit 452d25b13ddfdcd194a56df9605f83c80f86af95 Author: Matthias Clasen Date: Thu Feb 11 22:51:35 2016 -0500 placessidebar: Increase padding This should bring us back to the look of 3.18. https://bugzilla.gnome.org/show_bug.cgi?id=761791 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit a47d9a7b65166eedd5b1ab5acb34a38f46725c31 Author: Colomban Wendling Date: Wed Feb 10 19:43:34 2016 +0100 treeview: Make sure the editing widget's top left is always visible https://bugzilla.gnome.org/show_bug.cgi?id=761838 gtk/gtktreeview.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 32804e098e02dc3ffcffaf954b41bc6f30944746 Author: Matthias Clasen Date: Thu Feb 11 22:35:11 2016 -0500 Adwaita: Don't grow flat entries Entries in treeviews and similar embedded situations don't really work well if their height is forced to be big. Take out the min-height for these. https://bugzilla.gnome.org/show_bug.cgi?id=761686 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 85b44a3e20d203ce9084ab515a284c2872e12294 Author: Caolán McNamara Date: Tue Jan 26 12:08:01 2016 +0000 cannot not -> must https://bugzilla.gnome.org/show_bug.cgi?id=761826 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56ba81530ab4b863122a55f5f90191e4ea5a1be5 Author: Matthias Clasen Date: Thu Feb 11 22:15:43 2016 -0500 placesview: Fix some minor issues Make the button not grow too big, and ensure that the actionbar has a background. https://bugzilla.gnome.org/show_bug.cgi?id=761792 gtk/ui/gtkplacesview.ui | 4 ++++ 1 file changed, 4 insertions(+) commit 23d2f2d0e1531a63b6a9cbfd3528a9aa87f2ddcf Author: Matthias Clasen Date: Thu Feb 11 22:03:47 2016 -0500 Adwaita: tone down treeview separators gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) commit 3bf1151051045591243e23c900a01c55cc057d42 Author: John Ralls Date: Thu Feb 11 13:49:07 2016 -0800 Fix Quartz clipboard image retrieval. It does no good to iterate through a series of mime types to call a function when the eventually-called function, _gtk_quartz_get_selection_data_from_pasteboard() in this case, gives the wrong answer and stops the iteration on all but one especially if that one isn't first. The one is "image/tiff" and the quartz pasteboard function will return any image type Quartz knows about for it, so lose the iteration and use only "image/tiff". gtk/gtkclipboard-quartz.c | 119 ++++++++++++++++++++++------------------------ 1 file changed, 57 insertions(+), 62 deletions(-) commit 1bd0431ab2ad90c59b81516e8375298a5f1aaa8b Author: Lapo Calamandrei Date: Thu Feb 11 18:38:31 2016 +0100 Adwaita: fix bogus selector... ...ruining the indeterminate check animation gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 460aa64c58b6b12d49b132b7c4df0eadf0070e34 Author: Lapo Calamandrei Date: Thu Feb 11 18:27:25 2016 +0100 Adwaita: animate check and radios gtk/theme/Adwaita/_common.scss | 31 ++++++++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 33 +++++++++++++++++++++++++++++++- gtk/theme/Adwaita/gtk-contained.css | 33 +++++++++++++++++++++++++++++++- 3 files changed, 95 insertions(+), 2 deletions(-) commit 90d5c7f9e85cf251db18d889181b0a8878f82309 Author: Emmanuele Bassi Date: Thu Feb 11 11:59:12 2016 +0000 mir: Add C++ guards Avoid missing symbols when compiling C++ including the GDK Mir backend header. https://bugzilla.gnome.org/show_bug.cgi?id=761829 gdk/mir/gdkmir.h | 4 ++++ 1 file changed, 4 insertions(+) commit bb15c53966db36a691f65fac5739f0829ffab330 Author: Matthias Clasen Date: Thu Feb 11 06:47:28 2016 -0500 notebook: fix arrow states Some code was confusing 0 with ARROW_NONE, causing us to not properly update the state of the arrow gadgets. gtk/gtknotebook.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f5d4fb1a0b24647a7fa90f5388902fa0e2c5c5d2 Author: Benjamin Otte Date: Thu Feb 11 04:14:56 2016 +0100 inspector: Don't use unused variables Windows-specific refactorings broke this. gtk/inspector/general.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 88b7dfdb1eebddf6be7ecd008b4419661480d645 Author: Benjamin Otte Date: Thu Feb 11 04:14:28 2016 +0100 win32: Move init code into windows-specific code Avoids warnings about undefined functions on non-windows. gtk/gtkwin32theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4dfbaccd6760ed01066f7e0dbbe08b802dbd06e1 Author: Benjamin Otte Date: Mon Feb 8 04:07:40 2016 +0100 win32 theme: Add a GtkWin32Theme object This object wraps a HTHEME and takes care of recreating it on theme changes. gtk/gtkcssimagewin32.c | 24 +++- gtk/gtkcssimagewin32private.h | 2 +- gtk/gtkwin32theme.c | 253 +++++++++++++++++++++++++++--------------- gtk/gtkwin32themeprivate.h | 34 +++--- 4 files changed, 199 insertions(+), 114 deletions(-) commit 15198018785257d9dd305de810af6d73b23154b3 Author: Benjamin Otte Date: Mon Feb 8 02:49:34 2016 +0100 win32: Capture WM_THEMECHANGED We're not doing anything useful with it yet. This will follow in the coming commits. gtk/gtkwin32theme.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 99153ed585a798c7364dccb7349b46e875b74922 Author: Benjamin Otte Date: Mon Feb 8 02:26:26 2016 +0100 win32: Remove XP-specific code We don't support XP anymore. gtk/gtkwin32theme.c | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) commit a620a1d688958fc1f5522e03920a98e825bc4d7a Author: Benjamin Otte Date: Mon Feb 8 02:26:07 2016 +0100 win32: Remove unused functions / header includes gtk/deprecated/gtkstyleproperties.c | 1 - gtk/gtkcssstylepropertyimpl.c | 1 - gtk/gtksettings.c | 4 ---- gtk/gtkwin32theme.c | 12 ------------ gtk/gtkwin32themeprivate.h | 1 - 5 files changed, 19 deletions(-) commit 033fb5a879b0d3043e768e278e418255467d81d3 Author: Benjamin Otte Date: Sun Feb 7 23:48:46 2016 +0100 win32: Always pass a window to the default event filters This has to happen or the event filter cannot identify what type of display the event is from (ie if it's an XEvent, a broadway event or a win32 MSG. gdk/win32/gdkevents-win32.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit f9c2982ddc93e7431c29f194de2f9707691c229c Author: Benjamin Otte Date: Sun Feb 7 20:14:02 2016 +0100 testsuite: No warnings on type conversions please long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that. testsuite/gtk/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9efb275a13a82bc251c1d30d648811e0dddf7527 Author: Benjamin Otte Date: Sun Feb 7 19:20:09 2016 +0100 filechoosernativewin32: Remove unused variables gtk/gtkfilechoosernativewin32.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit dda959332f5a9b1d479f308b85e7b566a0b20a28 Author: Benjamin Otte Date: Sun Feb 7 19:19:36 2016 +0100 imcontextsimple: Remove unused variable on win32 gtk/gtkimcontextsimple.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit b561af25ece7d07d3ee99d232617e76217f2c4b3 Author: Benjamin Otte Date: Sun Feb 7 19:18:18 2016 +0100 testgtk: Compile without warnings on win32 tests/testgtk.c | 2 ++ 1 file changed, 2 insertions(+) commit 34db80c28b11f147dd0c2389a3fda0e013ad1bb9 Author: Benjamin Otte Date: Sun Feb 7 19:18:00 2016 +0100 tests: Remove unused variable tests/gtkoffscreenbox.c | 3 --- 1 file changed, 3 deletions(-) commit ce8a98e21b96e7bc37abfb013791a895d38f9313 Author: Benjamin Otte Date: Sun Feb 7 04:11:55 2016 +0100 win32 theme: Get rid of deprecated style properties That's pretty easy, because we can just delete them. The theme is broken either way. gtk/theme/win32/gtk-win32-base.css | 19 ++++++++----------- gtk/theme/win32/gtk.css | 2 -- 2 files changed, 8 insertions(+), 13 deletions(-) commit 9c700b2bc62e35c37d7d9d8b3c11b79526b82b41 Author: Benjamin Otte Date: Sun Feb 7 04:00:46 2016 +0100 win32 theme: Replace pseudoclasses with undeprecated ones gtk/theme/win32/gtk-win32-base.css | 356 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 84 ++++----- 2 files changed, 220 insertions(+), 220 deletions(-) commit 93ecb1d187f4a4d8a2353be88d5ddcdad7694072 Author: Benjamin Otte Date: Sun Feb 7 03:54:17 2016 +0100 win32 theme: Do a quick'n'dirty search/replace Try to replace the old style names with then new style names. The theme is still entirely way too broken. But at least one can see something. gtk/theme/win32/gtk-win32-base.css | 625 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 132 ++++---- 2 files changed, 377 insertions(+), 380 deletions(-) commit ec3ce21bebc30d787be7e95b1f94e531878a140f Author: Benjamin Otte Date: Sat Feb 6 06:35:41 2016 +0100 win32: Remove _gdk_display usge from dnd code gdk/win32/gdkdnd-win32.c | 52 ++++++++++++++++-------------------------------- 1 file changed, 17 insertions(+), 35 deletions(-) commit 7f266e1a0357ee65a8e64c330b1652371afea6f9 Author: Benjamin Otte Date: Sat Feb 6 05:53:51 2016 +0100 win32: Make cursor code work without _gdk_display gdk/win32/gdkcursor-win32.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) commit 76e56c503850c6f9a699d6cc1a5c4bf518a885b2 Author: Benjamin Otte Date: Sat Feb 6 05:46:09 2016 +0100 win32: Stop using _gdk_display global in device code Use gdk_device_get_display() instead. gdk/win32/gdkdevice-virtual.c | 2 +- gdk/win32/gdkdevicemanager-win32.c | 21 +++++++++++---------- gdk/win32/gdkdevicemanager-win32.h | 7 ++++--- gdk/win32/gdkevents-win32.c | 2 +- gtk/inspector/general.c | 11 +++++------ 5 files changed, 22 insertions(+), 21 deletions(-) commit ccbfa64d6793d244bf9fac4aea33c462f5a1bdbe Author: Benjamin Otte Date: Sat Feb 6 05:23:32 2016 +0100 win32embedwidget: Mark deprecated sections gtk/gtkwin32embedwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit ccc7e3058cc39fd971830e8413c29ed2dfec1f0a Author: Benjamin Otte Date: Sat Feb 6 04:33:50 2016 +0100 filechoosernativewin32: Silence gcc gtk/gtkfilechoosernativewin32.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 068f8a3da128b9cda12969e65012812f59ef764e Author: Benjamin Otte Date: Sat Feb 6 04:33:14 2016 +0100 filechoosernativewin32: Add missing return type Looks like a line accidentally was deleted there. gtk/gtkfilechoosernativewin32.c | 1 + 1 file changed, 1 insertion(+) commit 117e303b4494e802638693c74ea95691964089de Author: Benjamin Otte Date: Sat Feb 6 04:24:39 2016 +0100 filechoosernativewin32: Define MSC_VER at top of file The headers we include might include windows headers which define _MSC_VER already. gtk/gtkfilechoosernativewin32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0ea9131ff7bac876d5e1affcb1fadfdf0727127f Author: Benjamin Otte Date: Sat Feb 6 04:24:23 2016 +0100 printoperation-win32: Silence gcc gtk/gtkprintoperation-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 573f51cb29887d83c5c95e17378aaf7aa6aa9f32 Author: Benjamin Otte Date: Sat Feb 6 03:58:39 2016 +0100 mountoperation: Silence gcc Also, printf()ing a GPid should be forbidden. gtk/gtkmountoperation-stub.c | 2 +- gtk/gtkmountoperation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1d980192fa16fc4585151239c18afc1c988da397 Author: Benjamin Otte Date: Sat Feb 6 03:38:37 2016 +0100 immodule: Stop gcc from complaining gtk/gtkimmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 766b1b9886cd98ce2a27a054b07c401aa8cd6d4e Author: Benjamin Otte Date: Sat Feb 6 02:18:54 2016 +0100 win32: Remove deprecation warnings in dnd code gdk/win32/gdkdnd-win32.c | 42 +++++++++++++++--------------------------- 1 file changed, 15 insertions(+), 27 deletions(-) commit 4ce6d1060104e7072eec347370999bfd3fe69dc0 Author: Benjamin Otte Date: Sat Feb 6 02:18:28 2016 +0100 win32: Remove deprecation warnings in devicemanager code gdk/win32/gdkdevicemanager-win32.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 584931e94dbe21084ba71b3732a108b7e6da2928 Author: Benjamin Otte Date: Sat Feb 6 02:17:43 2016 +0100 win32: Use g_set_object() ... instead of a hand-rolled version that does the same thing. gdk/win32/gdkevents-win32.c | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) commit 788951c543eb99134cf9ae221809a4c6d92eaad8 Author: Benjamin Otte Date: Sat Feb 6 02:14:37 2016 +0100 win32: Fix empty body warning gdk/win32/gdkwindow-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bfd254c932e0c2d6552d306d754516ac71138d0e Author: Matthias Clasen Date: Wed Feb 10 21:20:34 2016 -0500 gtk-demo: Add more foreign drawing examples Add a notebook with an active tab. Based on a patch by Caolan McNamara. demos/gtk-demo/foreigndrawing.c | 49 +++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 22 deletions(-) commit 671552043ca3b9b90b42ec111b7e1efa5fdf7246 Author: Caolán McNamara Date: Wed Feb 10 21:01:54 2016 +0000 gtk-demo: attempt at a notebook with active box-shadow in tab demos/gtk-demo/foreigndrawing.c | 49 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) commit 8e6cc260cabc175fab90b10c9d3a44e3ec5f34d1 Author: Matthias Clasen Date: Wed Feb 10 16:10:23 2016 -0500 testgtk: Remove an unused variable tests/testgtk.c | 97 --------------------------------------------------------- 1 file changed, 97 deletions(-) commit 701cdda3dc74e25c4d5678b9b21040df55ddba9a Author: Caolán McNamara Date: Wed Feb 10 13:39:24 2016 +0000 gtk-demo: Add a menu to foreigndrawing and demo that the block arrows require GTK_STATE_FLAG_DIR_LTR or GTK_STATE_FLAG_DIR_RTL set to appear https://bugzilla.gnome.org/show_bug.cgi?id=761828 demos/gtk-demo/foreigndrawing.c | 60 +++++++++++++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 8 deletions(-) commit 751b69cbaeeb5344874e7843c1b21ea474f427fa Author: Rafael Fontenelle Date: Wed Feb 10 16:55:55 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 1180 ++++++++++++++++++++++++------------------------ 1 file changed, 594 insertions(+), 586 deletions(-) commit becfd18b07ed9230a68f3f03419dd4a8a0971704 Author: Timm Bäder Date: Wed Feb 10 14:03:56 2016 +0100 overlay: set css name gtk/gtkoverlay.c | 2 ++ 1 file changed, 2 insertions(+) commit bdd182f38ce6d5fba0872a2ace72f89c0197bde9 Author: Timm Bäder Date: Wed Feb 10 14:03:39 2016 +0100 frame: Set border gadget state after creating it gtk/gtkframe.c | 2 ++ 1 file changed, 2 insertions(+) commit c44364f1d1a0295034e7c59afdcf49870334f785 Author: Timm Bäder Date: Wed Feb 10 12:30:35 2016 +0100 spinbutton: Free the gadget in finalize gtk/gtkspinbutton.c | 1 + 1 file changed, 1 insertion(+) commit 8ea573b473067292dbe2a5695bec225336933c85 Author: Timm Bäder Date: Wed Feb 10 12:28:32 2016 +0100 css node tree: Fix crash This function would return "" whenever the state of the css node was unset, causing a crash when selecting the css node tree from the sidebar. gtk/inspector/css-node-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ad6043478a4b0de9a1c322e0f5b2620d7cd3f50 Author: Matthias Clasen Date: Wed Feb 10 00:07:37 2016 -0500 gtk-demo: Improve the tag implementation Add margins and make it so that clicking on margins next to links does not activate them. demos/gtk-demo/hypertext.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit a3a5cf1087278e3e727a74c75f2532bcb14ddca6 Author: Matthias Clasen Date: Wed Feb 10 00:01:54 2016 -0500 text view: Improve tag pointer tracking A problem that has been observed in polari is that links in tags are clickable all the way into the margin. This problem is caused by gtk_text_view_get_iter_at_position ignoring the return value of pango_layout_xy_to_index. Instead, pass it back as a boolean return value. This is technically an API break, but we've allowed ourselves to change return types from void to gboolean before. gtk/gtktextlayout.c | 39 ++++++++++++++++++++++++--------------- gtk/gtktextlayout.h | 20 ++++++++++---------- gtk/gtktextview.c | 48 +++++++++++++++++++++++++----------------------- gtk/gtktextview.h | 4 ++-- 4 files changed, 61 insertions(+), 50 deletions(-) commit 019dab7c38a0891f494749e9e8fb27c30e8a5f25 Author: Rui Matos Date: Tue Feb 9 15:30:00 2016 +0100 gtkmagnifier: Avoid a crash if the inspected widget is finalized If the inspected widget is finalized and we then try to disconnect from its signals we'll crash. https://bugzilla.gnome.org/show_bug.cgi?id=761775 gtk/gtkmagnifier.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 1331b60029fdc29f76a9a53d0c75521ea57c66ae Author: Timm Bäder Date: Tue Feb 9 08:05:16 2016 +0100 A few more documentation fixes gtk/gtkstacksidebar.c | 4 ++-- gtk/gtkswitch.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit c5369356e86171c5d955cf9252e5c6bcde88d554 Author: Timm Bäder Date: Mon Feb 8 22:49:01 2016 +0100 Various documentation fixes Always have Since: annotations at the very bottom, use the correct ClassName::signal-name/ClassName:property-name syntax, fix a few typos in type names, wrong function names, non-existing type names, etc. gtk/gtkfontchooserwidget.c | 4 ++-- gtk/gtkgesture.c | 4 ++-- gtk/gtkgesturedrag.c | 4 ++-- gtk/gtkgesturelongpress.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtkmodelbutton.c | 2 +- gtk/gtknotebook.c | 2 +- gtk/gtkshortcutsshortcut.c | 2 +- gtk/gtkshortcutswindow.c | 2 +- gtk/gtkspinbutton.c | 2 +- gtk/gtkstack.c | 2 +- gtk/gtkstylecontext.c | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-) commit 76fedc188289c595ec3cf965b77803e362020973 Author: Rico Tzschichholz Date: Mon Feb 8 14:02:25 2016 +0100 gtk: Fix some return-values annotations (transfer none/full) gtk/gtkgesture.c | 2 +- gtk/gtkstacksidebar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit eb555979dbd457f3afddada4daf8b73f2cd66db6 Author: Ignacio Casal Quinteiro Date: Mon Feb 8 13:20:02 2016 +0100 win32: properly handle show and focus The first time a window is shown we should always call SW_SHOWNORMAL. Understand whether to call SW_SHOW or SW_SHOWNORMAL and the specific ones for the temporary windows depending on IsWindowVisible. This also fixes the problem when calling gtk_window_present and the window is snapped to the left or right of the screen. This patch is based on the patches provided by Yevgen Muntyan and Aleksander Morgado. https://bugzilla.gnome.org/show_bug.cgi?id=698652 gdk/win32/gdkwindow-win32.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 07a994c89f5892fd0d7fcf6b5f3448c28e75055b Author: Yevgen Muntyan Date: Mon Feb 8 09:24:12 2016 +0100 win32: on focus restore the window if iconified If the window is iconified we want to restore the window to get the proper size instead of showing it normal which would change the size of the window. https://bugzilla.gnome.org/show_bug.cgi?id=698652 gdk/win32/gdkwindow-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 76d0311ae36f43060c93f68dcef37c11178c7fe1 Author: Baurzhan Muftakhidinov Date: Mon Feb 8 08:54:59 2016 +0000 Updated Kazakh translation po/kk.po | 1686 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 904 insertions(+), 782 deletions(-) commit dc407dbc8fc09bf3c41cb88eb1b90c7640097dfe Author: Matthias Clasen Date: Mon Feb 8 09:34:24 2016 +0100 inspector: Avoid crash in magnifier We can't use gtk_widget_draw on widgets that are not allocated. gtk/inspector/magnifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0f31ab7bb97980494cd9b98ce8ca85f74de47ba Author: Matthias Clasen Date: Mon Feb 8 09:15:39 2016 +0100 Add css node tests for box packing More tests to ensure that CSS node order is always physical left-to-right. testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/box-packing.ltr.nodes | 6 +++++ testsuite/css/nodes/box-packing.ltr.ui | 38 +++++++++++++++++++++++++++++++ testsuite/css/nodes/box-packing.rtl.nodes | 6 +++++ testsuite/css/nodes/box-packing.rtl.ui | 38 +++++++++++++++++++++++++++++++ 5 files changed, 90 insertions(+) commit 486a0a467d045afdb23999041a2879f56992f470 Author: Timm Bäder Date: Sun Feb 7 08:29:49 2016 +0100 image: _get_style_context never returns NULL gtk/gtkimage.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit ded745a4b980874f15e351ff07a6b5eb787a8346 Author: Timm Bäder Date: Sat Feb 6 18:51:48 2016 +0100 Make gtk_icon_helper_invalidate private gtk/gtkiconhelper.c | 2 +- gtk/gtkiconhelperprivate.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) commit 0bd6c48315079978f36d00e2681d94ae8e504c78 Author: Timm Bäder Date: Sat Feb 6 09:24:36 2016 +0100 Add and use gtk_icon_helper_invalidate_for_change gtk/gtkiconhelper.c | 19 +++++++++++++++++-- gtk/gtkiconhelperprivate.h | 3 +++ gtk/gtkimage.c | 3 +-- 3 files changed, 21 insertions(+), 4 deletions(-) commit 0c80210685e2b60addbd7dd22c86b8536a79b142 Author: Timm Bäder Date: Sat Feb 6 09:23:11 2016 +0100 iconhelper: Save whether the surface is symbolic gtk/gtkiconhelper.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 0ec4c76d8f54a7e2127cafb1ba8c4bbe68fd30fa Author: Timm Bäder Date: Fri Feb 5 09:28:11 2016 +0100 stylepropertyimpl: Use GTK_CSS_AFFECTS_SYMBOLIC_ICON Things like color affect symbolic icons, but not colored icons, while other css properties like -gtk-icon-effect affect colored icons, but not symbolic ones. gtk/gtkcssstylepropertyimpl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2d8db26cbf7ff5fea0b6dc80752419968bcf7a59 Author: Timm Bäder Date: Fri Feb 5 09:27:37 2016 +0100 csstypes: Add GTK_CSS_AFFECTS_SYMBOLIC_ICON gtk/gtkcsstypesprivate.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit d3a0dfe81a67ec39e12652f022fc43c16b421a67 Author: Timm Bäder Date: Fri Feb 5 10:28:13 2016 +0100 cssstylechange: Add helper function to print change So I don't have to print both styles to the console, paste them both into a file and then run diff on the 2 files anymore. gtk/gtkcssstylechange.c | 44 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstylechangeprivate.h | 2 ++ 2 files changed, 46 insertions(+) commit 2902063f2437d8f8838234dbbba71e9db52b4bb1 Author: Timm Bäder Date: Sat Feb 6 09:27:00 2016 +0100 iconhelper: Un-duplicate some code gtk/gtkiconhelper.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit c360b5fb498985ca8d351e9c9d518b0d78b834ba Author: Timm Bäder Date: Fri Feb 5 10:00:46 2016 +0100 Remove more unnecessary redraws The call to gtk_widget_set_state_flags immediately before these already queues a redraw/allocate/resize in case they have to be queued. gtk/gtkcolorchooserwidget.c | 6 +----- gtk/gtkcombobox.c | 2 -- gtk/gtkflowbox.c | 2 -- gtk/gtklistbox.c | 2 -- gtk/gtkwindow.c | 2 -- 5 files changed, 1 insertion(+), 13 deletions(-) commit 667069cff28bfe172573e05d2966930682b39949 Author: Matthias Clasen Date: Sun Feb 7 18:00:29 2016 +0100 Adwaita: No rounded corners for fullscreen If the theme has rounded corners for fullscreen, we don't tell the window manager that we are now fully opaque, which then makes things less efficient than they should be. https://bugzilla.gnome.org//show_bug.cgi?id=761571 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit af64a60466bd0a8cdcd16d68731f3fc125a62dec Author: Matthias Clasen Date: Sun Feb 7 15:08:56 2016 +0100 box gadget: Fix allocation without baseline When we don't get a baseline passed in, we want to basically center the children inside the allocation. There was an attempt in the code to do 'internal baseline alignment', but it had the side effect of moving the contents to the top when we don't get a baseline passed in. Remove it for now, this needs some more infrastructure to do properly. https://bugzilla.gnome.org/show_bug.cgi?id=761363 gtk/gtkboxgadget.c | 21 --------------------- 1 file changed, 21 deletions(-) commit 5f01e6924f9abb56bade811cef21f0e436371b1e Author: Matthias Clasen Date: Sun Feb 7 15:00:58 2016 +0100 widget-factory: Update levelbar example Set reasonable level offsets. demos/widget-factory/widget-factory.ui | 5 +++++ 1 file changed, 5 insertions(+) commit 72a3f25a5e0c024925dbec6036c73bcb2caa771c Author: Daniel Mustieles Date: Sun Feb 7 13:18:58 2016 +0100 Updated Spanish translation po-properties/es.po | 510 ++++++++++++++++++++++++++-------------------------- 1 file changed, 258 insertions(+), 252 deletions(-) commit a1839a7a92200a2ec34e77d387f05f718329e6d2 Author: Daniel Mustieles Date: Sun Feb 7 13:18:49 2016 +0100 Updated Spanish translation po/es.po | 288 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 155 insertions(+), 133 deletions(-) commit 4a465e6832a7caadbe683a9723f907ba17c0f50a Author: Matthias Clasen Date: Sun Feb 7 11:37:30 2016 +0100 Fix levelbar css node tests These were affected by the recent change to level offset handling. At the same time, make the test files more realistic by updating the level offsets when we set a custom range. testsuite/css/nodes/levelbar.ltr.nodes | 30 +++++++++++++++--------------- testsuite/css/nodes/levelbar.ltr.ui | 15 +++++++++++++++ testsuite/css/nodes/levelbar.rtl.nodes | 30 +++++++++++++++--------------- testsuite/css/nodes/levelbar.rtl.ui | 15 +++++++++++++++ 4 files changed, 60 insertions(+), 30 deletions(-) commit c3c01d8cbcac8515ce8bd16ceef661dbe9920b1f Author: Matthias Clasen Date: Sun Feb 7 11:28:08 2016 +0100 level bar: Document buildable syntax gtk/gtklevelbar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 1a524f374c2baeb035a1dd5e51a42cbf92b1d586 Author: Piotr Drąg Date: Sat Feb 6 19:32:03 2016 +0100 Updated Polish translation po-properties/pl.po | 2871 +++++++++++++++++++++++++++------------------------ po/pl.po | 1490 +++++++++++++------------- 2 files changed, 2294 insertions(+), 2067 deletions(-) commit ccd8c76ff2d73215e0785db8568ec500ed7a238d Author: Matthias Clasen Date: Sat Feb 6 16:42:25 2016 +0100 level bar: Fix offset behavior We had some odd special-casing for the lowest and highest offset that did not quite work. The new rule is simple: If the value is between offset n-1 and n, it gets the style for offset n. https://bugzilla.gnome.org/show_bug.cgi?id=761416 gtk/gtklevelbar.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 1a71579b61a51d9ae357f4919ac026a89ca0e195 Author: Matthias Clasen Date: Sat Feb 6 16:19:13 2016 +0100 level bar: Improve documentation The docs were not explaining at all what happens to existing level offsets when the min- or max-value of a level bar are changed. gtk/gtklevelbar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 8776bb53240318a03a46da6dae22d119075518fd Author: Matthias Clasen Date: Sat Feb 6 16:11:17 2016 +0100 level bar: Make the full offset official We are adding 3 offsets, not just two. Add a define for the third one, and mention it in the docs. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtklevelbar.c | 9 +++++---- gtk/gtklevelbar.h | 9 +++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) commit 7b668660a9cb3db089ca2b840f3f2eb5ec3cc8c4 Author: Dušan Kazik Date: Sat Feb 6 14:16:02 2016 +0000 Updated Slovak translation po/sk.po | 649 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 333 insertions(+), 316 deletions(-) commit 2ebae407ca743d09a82fd9a383b34779100c9fe6 Merge: 1cfa2f4134 c80dd54924 Author: Ray Strode Date: Sat Feb 6 08:03:27 2016 -0500 wayland: rework buffer management code (3 changes) There are a couple of issues with the way that buffers are handled in wayland in right. These issues mean that: - buffers can get leaked at a fairly fast clip under the right conditions. This leads to the OOM killer kicking in and gnome-shell and gnome-terminal (for instance) showing memory usage in the high gigabytes range. - drawing can happen to a shared memory buffer at the same time the compositor is reading out the pixels. This can lead to glitching in drawing and other undefined behavior by the compositor. This changeset reworks how buffer management is done in the code to try to address both problems. The first change (commit 2c300081) addresses the leak by dropping code that has an unchecked cairo_surface_reference call. The code is dropped rather than fixed, because it has a more serious issue: it's overarching purpose is to deal with shared memory buffer contention with the compositor, but it does it in a racy way and so fails at that mission. The second change (commit 40e91195a) moves what layer of the code buffer release events are handled. This is an organizational change in the code, with no functional changes, but it's important for the last change in the changeset. The last change (commit c80dd549) adds back code for dealing with shared member buffer contention in a race free way. The new code is careful to never reuse a buffer that hasn't been explicitly released by the compositor. commit c80dd549242abff7dfbf8f636da8a5e2c7d97b8f Author: Ray Strode Date: Fri Jan 29 11:19:03 2016 -0500 wayland: stage uncommitted changes to dedicated buffer Right now we use one buffer for both staged changes (freshly painted changes waiting for the frame clock to send to the compositor) and committed changes (changes actively being read by the compositor process). This creates a problem in the event we need to stage updates at the same time the compositor is processing committed updates: we can't change what the compositor is actively processing. The current solution for handling this contention is to allocate a temporary buffer on the spot at the time the updates are staged, and to copy that buffer back to the shared buffer later. The problem, though, is that the copy to the shared buffer currently happens as soon as the updates are finished being staged, not when the shared buffer is done being processed by the compositor. In order to address that problem, this commit changes the code to always stage changes to a dedicated staging buffer. The staging buffer is used exclusively by the client until the client is done with it, and then once that staging buffer is committed, the client never writes to that buffer again. If the client needs to stage new updates, it allocates a brand new staging buffer, draws to it, and back fills the undrawn parts of the buffer from a copy of the contents of the committed buffer. As an optimization, the compositor has the option of releasing the committed buffer back to the client. If it does so before the client needs to stage new updates, then the client will reuse the buffer for staging future updates. This optimization prevents having to allocate a new staging buffer and the associated cost of back filling that new buffer with a readback of the committed buffer. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 193 +++++++++++++++++++++++++++++++++------- 1 file changed, 159 insertions(+), 34 deletions(-) commit 40e91195ad8a20c073789dad192e7aaaf9af6eca Author: Ray Strode Date: Tue Feb 2 14:36:25 2016 -0500 wayland: don't handle buffer release centrally Right now we handle buffer releases coming from the compositor in a central place. We add a listener when first creating the shared buffers. This is problematic because a buffer can only have one listener on it at once so users of the buffer can't get notified when it's released. This commit moves the buffer listener code from the centrally managed display code to the cursor and window code. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkcursor-wayland.c | 18 ++++++++++++++++++ gdk/wayland/gdkdisplay-wayland.c | 14 -------------- gdk/wayland/gdkwindow-wayland.c | 16 ++++++++++++++++ 3 files changed, 34 insertions(+), 14 deletions(-) commit 2c300081c4fc4db6a345041cbf4942cb99cea793 Author: Ray Strode Date: Tue Feb 2 12:20:22 2016 -0500 wayland: always return FALSE from begin_paint The client and compositor share access to the window pixel buffers. After the client hands off (commits) the buffer to the compositor it's not supposed to write to it again until it's released by the compositor. The code tries to deal with this contention by allocating a temporary buffer and using that in the mean time. This temporary buffer is allocated by a higher layer of the code when begin_paint returns TRUE. Unfortunately, that layer of the code has no idea when the buffer is released, so it ends up blitting the temporary buffer back to the shared buffer prematurely. This commit changes begin_paint to always return FALSE. A future commit will address the contention problem in a different way. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkdisplay-wayland.c | 19 ------------------- gdk/wayland/gdkprivate-wayland.h | 2 -- gdk/wayland/gdkwindow-wayland.c | 9 +-------- 3 files changed, 1 insertion(+), 29 deletions(-) commit 1cfa2f41345d37c6efba30796cedf3817f396b8e Author: Ray Strode Date: Tue Feb 2 20:43:12 2016 -0500 wayland: use g_clear_pointer when destroying cairo surfaces There are a few places where we destroy a cairo surface and then nullify it. This commit changes those to use g_clear_pointer instead. It also drops a cairo_surface_finish call that is unnecessary https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit e6f92df57efaae67163c1364e53801c8d9ebee8b Author: Ray Strode Date: Wed Feb 3 10:12:23 2016 -0500 wayland: rename cairo surface user data key to be more specific This commit renames the key name to be more specific for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkdisplay-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3ac78ea0bee7507067f68c88bd7af20f1b8462f5 Author: Ray Strode Date: Tue Feb 2 11:42:52 2016 -0500 wayland: move server proxy objects to substructure This commit moves the server proxy objects to a substructure for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 249 ++++++++++++++++++++-------------------- 1 file changed, 124 insertions(+), 125 deletions(-) commit f90db30b9e4a98375a77e861fd7a5f3947f9f1a4 Author: Ray Strode Date: Tue Feb 2 11:27:54 2016 -0500 wayland: rename window->surface to window->wl_surface The name surface is really overloaded when dealing with wayland windows. To alleviate ambiguity, this commit changes the name of the "surface" and "subsurface" members to have a wl_ prefix. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 88 ++++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 44 deletions(-) commit 4d40bd447421eb3ce3fa8b12235c1c4472115d48 Author: Matthias Clasen Date: Sat Feb 6 09:58:46 2016 +0100 Fix stylecontext tests This was broken by f7ec9c98ef0ef8740c93f96af9d971b0211118c1, since type names are no longer used at all in CSS matching. testsuite/gtk/stylecontext.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit 2d1f1f3b81dcbdf2da54bb501a28f465bab4b1c3 Author: Matthias Clasen Date: Sat Feb 6 09:28:51 2016 +0100 Update CSS docs regarding type names We no longer use type names at all. docs/reference/gtk/css-overview.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit d48d3b359cdd0ab3cc615f7c194029d3265d9983 Author: Benjamin Otte Date: Fri Feb 5 23:47:48 2016 +0100 cssselector: Remove type references We don't use types anymore. gtk/gtkcssselector.c | 79 ++++++---------------------------------------------- 1 file changed, 8 insertions(+), 71 deletions(-) commit e8fca5bbbe6a40c15fd19d8c899b5f4fa7f17876 Author: Benjamin Otte Date: Fri Feb 5 23:43:05 2016 +0100 cssmatcher: Remove type argument from name matcher We no longer use types when matching names. gtk/gtkcssmatcher.c | 33 ++++++++------------------------- gtk/gtkcssmatcherprivate.h | 8 +++----- gtk/gtkcssselector.c | 2 +- 3 files changed, 12 insertions(+), 31 deletions(-) commit fe6d4cbdf5a2e09b10d8640b43f037accfbd2fe9 Author: Benjamin Otte Date: Fri Feb 5 19:31:03 2016 +0100 inspector: Drop type name from node list It's not used anymore in the CSS, so people don't need to see it. gtk/inspector/css-node-tree.c | 6 ------ gtk/inspector/css-node-tree.ui | 28 +++++++--------------------- 2 files changed, 7 insertions(+), 27 deletions(-) commit 0c126012083e55532e1da961edc4fad3303186f3 Author: Benjamin Otte Date: Fri Feb 5 19:01:48 2016 +0100 cssimageradial: Only allow at "" after other props Don't allow syntax like at top left circle but follow the spec about requiring the at right before the comma. This is porbably because circle at 10px 10px could be interpreted as circle 10px at 10px with the now disallowed syntax, too. Test included. gtk/gtkcssimageradial.c | 36 +++++++++++++++------------ testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/radial-positions.css | 9 +++++++ testsuite/css/parser/radial-positions.errors | 3 +++ testsuite/css/parser/radial-positions.ref.css | 0 5 files changed, 35 insertions(+), 16 deletions(-) commit 982da040b234f8c2da349a45111972d04c98f4a8 Author: Benjamin Otte Date: Fri Feb 5 18:30:28 2016 +0100 cssimageradial: Only emit one error for wrong position Test included. gtk/gtkcssimageradial.c | 5 +---- testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/radial-background-position-error.css | 3 +++ testsuite/css/parser/radial-background-position-error.errors | 1 + testsuite/css/parser/radial-background-position-error.ref.css | 0 5 files changed, 8 insertions(+), 4 deletions(-) commit f2e08d3a9c2edd68796c87526066f9d26594b70d Author: Matthias Clasen Date: Fri Feb 5 15:54:50 2016 +0100 css tests: Fix style tests Commit d0fd7990c3f2c738f86185418ccd76b14da8a776 changed the location of builtin themes, breaking the loading of the empty theme in test-css-style. testsuite/css/style/{Empty.css => gtk.css} | 0 testsuite/css/style/test-css-style.gresource.xml | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) commit 132abb8749f6c175a4277056ec04b7ed826a7d5e Author: Matthias Clasen Date: Fri Feb 5 15:50:35 2016 +0100 css tests: Fix expected output This is fallout from f7ec9c98ef0ef8740c93f96af9d971b0211118c1. testsuite/css/nodes/buttons.nodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5444442974f55df857b0c5169e481ac8abc93ea7 Author: Benjamin Otte Date: Fri Feb 5 14:50:37 2016 +0100 css: Convert numbers with GTK's dpi Don't hardcode 96 for dpi, but instead use the value of the -gtk-dpi property (that mirrors the GdkScreen's dpi if it wasn't set explicitly). This makes these values scale when the large font setting in control-center is enabled. gtk/gtkcssnumbervalue.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit e35e6abbb2ea824afd6db2d54d10666cd23ad54c Author: Benjamin Otte Date: Fri Feb 5 14:42:41 2016 +0100 css: Properly convert em, ex and rem to pixels The previous code converted to pt. gtk/gtkcssnumbervalue.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 56b1b08bb8239ffa2431969cd037f0f7241a7c64 Author: Lapo Calamandrei Date: Fri Feb 5 14:10:36 2016 +0100 Adwaita: darker background for popovers gtk/theme/Adwaita/_colors.scss | 2 ++ gtk/theme/Adwaita/_common.scss | 8 ++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 4 files changed, 14 insertions(+), 4 deletions(-) commit 61307deaf750569a833c093c219d1af1e9ceff6b Author: Matthias Clasen Date: Fri Feb 5 11:53:50 2016 +0100 levelbar: Make discrete levelbars behave as before During the gadget conversion, the drawing of discrete levelbars was unintentionally changed to draw a wide trough but narrow blocks, which does not look great. So go back to the previous way of drawing things. https://bugzilla.gnome.org/show_bug.cgi?id=761428 gtk/gtklevelbar.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 339023dee510dc4e5b0ee7c24631e09817726cfa Author: Matthias Clasen Date: Fri Feb 5 11:42:28 2016 +0100 Fix indentation gcc 6 complains about this. gtk/gtksizerequest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f60e144038a50c48ebbb928f4bf1bd8208d48f86 Author: Matthias Clasen Date: Fri Feb 5 06:53:11 2016 +0100 Document rem as CSS unit docs/reference/gtk/css-properties.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 680ec087ab22c300a6b938a20f8a9f95caf88c70 Author: Timm Bäder Date: Thu Feb 4 19:03:37 2016 +0100 switch: Don't queue draws after setting state flags gtk/gtkswitch.c | 4 ---- 1 file changed, 4 deletions(-) commit 0e7691c12ec2249b80e6f7d46f5e8f2aeecf345a Author: Benjamin Otte Date: Thu Feb 4 19:37:44 2016 +0100 css: Add rem unit Good luck, Lapo. gtk/gtkcssnumbervalue.c | 9 ++++----- gtk/gtkcssparser.c | 1 + gtk/gtkcsstypesprivate.h | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) commit f7ec9c98ef0ef8740c93f96af9d971b0211118c1 Author: Benjamin Otte Date: Thu Feb 4 17:22:39 2016 +0100 widget: Set a css name Now selecting a widget by class name no longer works. This is probably most relevant for users outside of GTK that want to style their own widgets. Those widgets should now either add their own style classes (if they want to adjust existing CSS) or use gtk_widget_class_set_css_name() themselves (if they want to get rid of all "upstream" styling). gtk/gtkwidget.c | 1 + 1 file changed, 1 insertion(+) commit 35cd0be46863b94eb7b1e0d214a1fbbca9187457 Author: Timm Bäder Date: Mon Feb 1 11:25:51 2016 +0100 Range: Group all three gestures And reset the grab_location in the ::released handler of the multipress gesture. Previously, when leaving fine-tune mode, the ::released handler of the multipress gesture would call stop_scrolling, which calls range_grab_remove and resets the grab_location. The ::drag-end handler is executed after that, and only unsets priv->in_drag if the grab_location is MOUSE_OUTSIDE, which it never was, since the ::released handler already reset it. This lead to priv->in_drag being set even though no dragging was in progress anymore, which e.g. made shift pressed after leaving the fine-tune mode entering it again. https://bugzilla.gnome.org/show_bug.cgi?id=761402 gtk/gtkrange.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) commit 7b88e304c779ad23b7c2945cb42a0f8a20f9060e Author: William Hua Date: Tue Feb 2 15:33:33 2016 -0500 x11: don't apply scaling factor twice The fallback behaviour of get_work_area () divides the screen width and height by the window scaling factor, but those values are already scaled down. https://bugzilla.gnome.org/show_bug.cgi?id=761474 gdk/x11/gdkscreen-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4a49d8d14fa8a3e037364eb231f25c2e8bce0fa5 Author: Руслан Ижбулатов Date: Thu Feb 4 11:23:12 2016 +0000 Don't do remote checks on NULL files Calling _gtk_file_consider_as_remote() with a NULL argument results in warnings being thrown. Note that query->priv->location being NULL is a state that does not seem to be invalid by itself. This could happen if you do search-as-you-type in a filechooser, which has a filter that does not match anything *and* the current "place" selected is "Recent". https://bugzilla.gnome.org/show_bug.cgi?id=761552 gtk/gtkfilechooserwidget.c | 3 ++- gtk/gtksearchenginesimple.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 3756d92367c2485c20a9c64d0f95e089bc187a95 Author: Matthias Clasen Date: Thu Feb 4 13:37:50 2016 +0100 Move private widget path functions away We don't put private functions in public headers anymore. https://bugzilla.gnome.org/show_bug.cgi?id=761339 gtk/Makefile.am | 1 + gtk/gtkcssnodedeclaration.c | 1 + gtk/gtkwidget.c | 1 + gtk/gtkwidgetpath.c | 1 + gtk/gtkwidgetpath.h | 5 ----- gtk/gtkwidgetpathprivate.h | 31 +++++++++++++++++++++++++++++++ 6 files changed, 35 insertions(+), 5 deletions(-) commit 8d515409c6200467c71353d2e2a79ba3e2faaf88 Author: Benjamin Otte Date: Thu Feb 4 14:25:46 2016 +0100 win32: Get rid of XP theme XP is not supported anymore. And we can massively simplify the win32 theme if we don't have to support 2 versions. gtk/Makefile.am | 6 +- gtk/theme/win32/gtk-win32-xp.css | 164 ----------------------------- gtk/theme/win32/{gtk-win32.css => gtk.css} | 0 3 files changed, 2 insertions(+), 168 deletions(-) commit 7d4bf49cffe50fbfd0305b65257e31ad3f108d1a Author: Benjamin Otte Date: Thu Feb 4 14:23:08 2016 +0100 win32: Delete classic theme Well, actually, stop adding an extra version of raleigh gtk/Makefile.am | 2 -- gtk/theme/win32/gtk-win32-classic.css | 4 ---- 2 files changed, 6 deletions(-) commit 27901c779457af1eb21e33eefc5f3d86f5405004 Author: Benjamin Otte Date: Thu Feb 4 14:19:02 2016 +0100 build: Don't break windows build Hardcode the existing files instead of doing a for loop and attempting string-fudging magic. gtk/Makefile.am | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 6cdca1e124e314782b6e3d8ac9809e62b5d3bba5 Author: Lapo Calamandrei Date: Thu Feb 4 14:13:42 2016 +0100 Adwaita: removed some old cruft from _drawing.scss resulting in a nice number of non working selectors ditched. gtk/theme/Adwaita/_drawing.scss | 4 - gtk/theme/Adwaita/gtk-contained-dark.css | 184 ------------------------------- gtk/theme/Adwaita/gtk-contained.css | 184 ------------------------------- 3 files changed, 372 deletions(-) commit b783670820b36ccbada1bc24f7a79081a787816b Author: Benjamin Otte Date: Thu Feb 4 13:34:34 2016 +0100 inspector: Don't hardcode builtin themes Insteead, enumerate the resources that are available. Fixes windows themes not being listed in the inspector. gtk/inspector/visual.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit d0fd7990c3f2c738f86185418ccd76b14da8a776 Author: Benjamin Otte Date: Thu Feb 4 13:28:21 2016 +0100 cssprovider: Change location of builtin themes Instead of /org/gtk/libgtk/theme/$THEME-$VARIANT.css look at /org/gtk/libgtk/theme/$THEME/gtk-$VARIANT.css and that way mirror the directory layout of real themes. gtk/Makefile.am | 13 +++++++------ gtk/gtkcssprovider.c | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) commit 6bc096d7488309abdfa5f574197543135269cf83 Author: Timm Bäder Date: Wed Feb 3 19:39:04 2016 +0100 actionbar: Remove unnecessary map/unmap implementations These just do what the default implementations do anyway. gtk/gtkactionbar.c | 20 -------------------- 1 file changed, 20 deletions(-) commit 641e703882f9e81d1216147b297732a06ab2f1e2 Author: Timm Bäder Date: Mon Feb 1 15:25:42 2016 +0100 statusbar: Remove unused include gtk/gtkstatusbar.c | 1 - 1 file changed, 1 deletion(-) commit 572e9a04027e213082a5b257e5d662a5daa32667 Author: Timm Bäder Date: Mon Feb 1 15:25:10 2016 +0100 Remove _gtk_box_get_children It's doing exactly the same thing as gtk_container_get_children. gtk/gtkbbox.c | 4 ++-- gtk/gtkbox.c | 24 ------------------------ gtk/gtkboxprivate.h | 1 - 3 files changed, 2 insertions(+), 27 deletions(-) commit 2929621d0565d007825ba1adbe9b3d6c9ae6ce33 Author: Timm Bäder Date: Mon Feb 1 15:15:56 2016 +0100 colorswatch: Remove unused constant gtk/gtkcolorswatch.c | 1 - 1 file changed, 1 deletion(-) commit c95087c70a13730798c2d0ee46713b2965973faf Author: Benjamin Otte Date: Thu Feb 4 12:24:34 2016 +0100 entry: queue an allocate when pulsing We need to reposition the progress gadget and that's done during allocation. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8eb261988869608604c78ed90de5579beb4ef2b0 Author: Alberts Muktupāvels Date: Thu Feb 4 11:52:07 2016 +0200 gdkwindow-x11: always set _GTK_THEME_VARIANT property Set _GTK_THEME_VARIANT to empty string when default theme variant is used. This will allow to understand whether _GTK_THEME_VARIANT is not supported or default variant is requested. https://bugzilla.gnome.org/show_bug.cgi?id=761476 gdk/x11/gdkwindow-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ac337a9af03b58723cc7e13121e09850de24f7f Author: Alberts Muktupāvels Date: Wed Feb 3 15:48:52 2016 +0200 gtksettings: fix critical warning Commit 5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 introduced critical warning - g_value_copy: assertion 'g_value_type_compatible (...)' failed. https://bugzilla.gnome.org/show_bug.cgi?id=761381 gtk/gtksettings.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit a2ac9524bc8d7be4224331e02aa3ad2d54527e88 Author: Benjamin Otte Date: Wed Feb 3 23:07:05 2016 +0100 broadway: Define variables where they are used Avoids gcc warnings about unused variables. gdk/broadway/broadwayd.c | 3 ++- gdk/broadway/gdkbroadway-server.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 9708ecdd5bfdfdd10f8cf811bd229d250bbbf725 Author: Benjamin Otte Date: Wed Feb 3 23:06:53 2016 +0100 composetable: Fix gcc warnings gtk/gtkcomposetable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit be6f65a08e65da9af4c76b380adf82926568d202 Author: Benjamin Otte Date: Wed Feb 3 22:50:03 2016 +0100 immodule: Use correct sign for function prototype gtk/gtkimmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 429bec54e5b6c276cbdc5abad80ba9c21456ed72 Author: Benjamin Otte Date: Wed Feb 3 20:44:06 2016 +0100 entry: Turn progress node into a gadget gtk/gtkentry.c | 200 ++++++++++++++++++++++++--------------------------------- 1 file changed, 83 insertions(+), 117 deletions(-) commit 3316d69abbb05146a2e54e2876500f47845087a9 Author: Benjamin Otte Date: Tue Feb 2 15:44:28 2016 +0100 entry: Simplify drawing code gtk/gtkentry.c | 52 +++++++++++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 29 deletions(-) commit 207a842bfd5861932738693d444871c4d1173c41 Author: Lapo Calamandrei Date: Wed Feb 3 18:32:51 2016 +0100 Adwaita: fix headerbar spinbutton size fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484 gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 11 insertions(+) commit 9b08853537ee26b207eb837795c312240ea99951 Author: William Hua Date: Wed Feb 3 10:20:30 2016 -0500 gdkborder: remove unneeded definition This reverts 54fa65f544bef281640d18a4a725005f6199a956, 5190d010d95010a845715c719c3b85a75e0c513a, and a6e4de28842002e7bfdf73def26c4c52d9f9126a. https://bugzilla.gnome.org/show_bug.cgi?id=756579 docs/reference/gdk/gdk3-sections.txt | 3 --- gdk/gdktypes.h | 20 -------------------- 2 files changed, 23 deletions(-) commit 0bcd8603ebf861de29dfe3316c9f3c04d78f50f3 Author: Matthias Clasen Date: Wed Feb 3 16:06:05 2016 +0100 print dialog: Fix layout preview drawing Use the CSS name paper for this as well, and make sure Adwaita sets a color that makes the text visible in the dark theme as well. gtk/gtkprintunixdialog.c | 1 + gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) commit a0363e5f0a10703a98ae14971fe13f8aed138aba Author: Lapo Calamandrei Date: Wed Feb 3 15:23:17 2016 +0100 Adwaita: notebook with hidden header style fix the stack styling is applied only when there is a header, hence when the stack node is not the notebook only child, should cure https://bugzilla.gnome.org/show_bug.cgi?id=760996 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit f734db16044b95f70f52c1b33c9e52603ee34f06 Author: Lapo Calamandrei Date: Wed Feb 3 15:03:39 2016 +0100 Adwaita: fix vertical spinbutton style correct sizing and workaround disabled entry text colors. gtk/theme/Adwaita/_common.scss | 16 ++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++++++----- 3 files changed, 34 insertions(+), 14 deletions(-) commit feabf353716007833cab18d64499180348a5c22a Author: Carlos Garcia Campos Date: Tue Feb 2 18:50:58 2016 +0100 notebook: Do not reorder tabs after a grab notify if there isn't an ongoing reorder operation This broke in f535251507a6a0af68aed6348ae80cbdac9b1f4a that removed during_reorder in favor of using the current operation, but removed the check from gtk_notebook_stop_reorder(). gtk/gtknotebook.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit cc881531305c18cc3899ebc7015ee8eec93dd291 Author: Alexandre Franke Date: Tue Feb 2 16:32:30 2016 +0000 Updated French translation (cherry picked from commit 85fb4c1c0a17906a65e0b732770b88353b6214c4) po-properties/fr.po | 1737 ++++++++++++++++++++++++++------------------------- 1 file changed, 870 insertions(+), 867 deletions(-) commit 5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 Author: Alberts Muktupāvels Date: Mon Feb 1 22:38:28 2016 +0200 gtksettings: reset property to correct default value https://bugzilla.gnome.org/show_bug.cgi?id=76138 gtk/gtksettings.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit a85384135c34dda29a6a344a8cc5836baa8422a3 Author: Emmanuele Bassi Date: Tue Feb 2 15:08:10 2016 +0000 Revert "Add missing (out) annotation to gdk_rgba_parse" This reverts commit 695860958a9a2e7c825bcec4d0d42b427f0fb47e. The change introduced an introspection ABI break. See also: https://bugzilla.gnome.org/show_bug.cgi?id=682125 If we want to move the parse() method to be a constructor or a class method, we'll need to do more testing or add new API. https://bugzilla.gnome.org/show_bug.cgi?id=754990 gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bfb727d37e6d5806869a5dee8c35cc1e953ea00b Author: Benjamin Otte Date: Mon Feb 1 14:47:43 2016 +0100 entry: Draw progress in the right place gtk/gtkentry.c | 41 ++++++----------------------------------- 1 file changed, 6 insertions(+), 35 deletions(-) commit 9d18539d366ccb6f3fd54804494d1733b207c109 Author: Balázs Meskó Date: Tue Feb 2 13:22:12 2016 +0000 Updated Hungarian translation po/hu.po | 144 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 71 insertions(+), 73 deletions(-) commit 44b060c83f039e674aff88c256f9fda12f135bda Author: Mario Blättermann Date: Mon Feb 1 19:51:46 2016 +0100 Updated German translation po/de.po | 377 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 193 insertions(+), 184 deletions(-) commit 34467600607c86e70aca6cd2fee3abceb703f494 Author: Matthias Clasen Date: Sun Jan 31 16:53:53 2016 -0500 reftests: Make separator-size test pass in HighContrastInverse After neutralizing the stack background, the notebook itself was peeking through. testsuite/reftests/separator-size.css | 1 + 1 file changed, 1 insertion(+) commit 9f4b0b8ca58a44fa051458db5195249585f2bfbf Author: Daniel Mustieles Date: Sun Jan 31 22:30:39 2016 +0100 Updated Spanish translation po-properties/es.po | 1755 ++++++++++++++++++++++++++------------------------- 1 file changed, 885 insertions(+), 870 deletions(-) commit 5a095d5135d448a895ccd551779efbe02375f638 Author: Daniel Mustieles Date: Sun Jan 31 22:30:29 2016 +0100 Updated Spanish translation po/es.po | 485 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 246 insertions(+), 239 deletions(-) commit 6e2c74aaad1c81fdab45d4e6d9febc5e193253bf Author: Matthias Clasen Date: Sun Jan 31 14:10:13 2016 -0500 Trivial formatting fix testsuite/reftests/reftest-snapshot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 1e0ca71ecad59f4349837b1858dc8d2c27155c33 Author: Matthias Clasen Date: Sun Jan 31 14:08:35 2016 -0500 reftests: Make label-text-shadow-changes-modify-clip test more reliable This test was failing in continuous, where the tests are running in a VM with disabled animations. Make the test adapt to that situation by changing the rui on the fly if we find that animations are disabled. .../reftests/label-text-shadow-changes-modify-clip.c | 18 ++++++++++++++++++ .../reftests/label-text-shadow-changes-modify-clip.ui | 1 + 2 files changed, 19 insertions(+) commit 2423eb11e3024b03ecce6090a6a6698170629d88 Author: Matthias Clasen Date: Sun Jan 31 14:06:34 2016 -0500 reftests: Add a message to the test output Emit a message that ends up in the test output if we are modifying the test on the fly. testsuite/reftests/animation-direction.c | 2 ++ 1 file changed, 2 insertions(+) commit a898dc6e9f60103cde6f5dea2890779c215ba686 Author: Matthias Clasen Date: Sun Jan 31 14:00:08 2016 -0500 reftests: Rename a source file Easier to keep track of things if the sources are names after the test they are used in. testsuite/reftests/Makefile.am | 2 +- testsuite/reftests/{label-attributes.c => animation-direction.c} | 0 2 files changed, 1 insertion(+), 1 deletion(-) commit 6e2c5518968529bb1acab66b54f2e61dcaacf000 Author: Timm Bäder Date: Sun Jan 31 16:17:03 2016 +0100 entry: Fix icon areas Do the same thing we already do in gtk_entry_get_text_area. gtk/gtkentry.c | 4 ++++ 1 file changed, 4 insertions(+) commit 033c6c82d0172a18723e672ff1dae7b921726f93 Author: Timm Bäder Date: Sun Jan 31 00:01:31 2016 +0100 widget: Annotate out params of _translate_coordinates as optional gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5a2feab8c0e856ae3536817b8f120d0ff13bb623 Author: Matthias Clasen Date: Sun Jan 31 13:51:54 2016 -0500 reftests: Make animation-direction test more reliable This test was failing in continuous, where the tests are running in a VM with disabled animations. Make the test adapt to that situation by changing the reference ui on the fly if we find that animations are disabled. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/animation-direction.ref.ui | 32 +++++++++++++++++++ testsuite/reftests/label-attributes.c | 46 +++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) commit 073f8bc44bd5fae222d1d94cba31c872a8502826 Author: Matthias Clasen Date: Sun Jan 31 12:57:50 2016 -0500 gtk-builder-tool: Expand the preview command Make the preview command parse options properly, turn the ID into an --id=ID option, and add a --css=FILE option that allows to specify a css file to use for previewing. This is useful for e.g. previewing the reftest .ui files with their corresponding .css. docs/reference/gtk/gtk-builder-tool.xml | 22 +++++- gtk/gtk-builder-tool.c | 116 +++++++++++++++++++++++--------- 2 files changed, 105 insertions(+), 33 deletions(-) commit bc882a679d7e51baf1e61d31cfa75202e5a70e9b Author: Matthias Clasen Date: Sun Jan 31 12:05:35 2016 -0500 gtk-launch: Add --version Support --version. Also improve the --help output cosmetically. docs/reference/gtk/gtk-launch.xml | 9 ++++++++- gtk/gtk-launch.c | 29 +++++++++++++++++++---------- 2 files changed, 27 insertions(+), 11 deletions(-) commit 836bd6540863d036981ae545ae37f99d3b71e088 Author: Matthias Clasen Date: Sun Jan 31 11:01:46 2016 -0500 gtk-builder-tool: Accept --help Saying 'Failed to open file '--help' is not polite or smart. Catch this case and show usage information. gtk/gtk-builder-tool.c | 3 +++ 1 file changed, 3 insertions(+) commit f793da54a992d87da42c1f98e3cd5e9556c670ab Author: Matthias Clasen Date: Sat Jan 30 23:07:56 2016 -0500 file chooser: Avoid a crash Since 39c2d12330b6d4405ca8a5599c12017c58626fcf, priv->operation_mode == OPERATION_MODE_BROWSE no longer guarantees that priv->browse_files_model is the current model of the list - we are only switching the models after loading the new directory. Avoid triggering the assertion in show_and_select_files by checking if we have right model before calling it. https://bugzilla.gnome.org/show_bug.cgi?id=761209 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6f74de53312cd8b874e5ad658171af4cdf372b12 Author: Matthias Clasen Date: Sat Jan 30 22:52:13 2016 -0500 Don't include the builtin sequence table in multiple places The table is defined as static const guint16 [], so it really should only be included in one source file. gtk/gtkimcontextsimple.c | 1 + gtk/gtkimcontextsimpleprivate.h | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) commit 3c4f36f62238b45863b49c85c2a8462f556da31f Author: Matthias Clasen Date: Sat Jan 30 22:50:54 2016 -0500 combobox: Avoid a misleading indentation gcc 6 warns about this sort of thing. There were also some stray ; here. gtk/gtkcombobox.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit a66287a62e5604aaa9b8d144e3394627767b149e Author: Matthias Clasen Date: Sat Jan 30 21:50:00 2016 -0500 Fix the border-image-excess-size reftest This was failing because the grid is now respecting border width too. Making the selector more specific so it only applies to the toolbars fixes this. testsuite/reftests/border-image-excess-size.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27b4bfc1cf273c922cedba59ca2b03169070222a Author: Matthias Clasen Date: Sat Jan 30 21:43:49 2016 -0500 Fix another reftest Make sure the notebook in the separator-size reftest does not peek through, by giving it a transparent background. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/separator-size.css | 3 +++ 2 files changed, 4 insertions(+) commit bbfc547b898d315ef256bfcb8c7332d17f8bba26 Author: Matthias Clasen Date: Sat Jan 30 21:08:19 2016 -0500 Fix some reftests under wayland Tests need to use popup windows, in order to avoid differences due to CSD. testsuite/reftests/expander.ref.ui | 2 +- testsuite/reftests/expander.ui | 1 + testsuite/reftests/nth-child.ref.ui | 1 + testsuite/reftests/nth-child.ui | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) commit f42cd18779b7391c0d6f7e18a45638a697d33fce Author: Matthias Clasen Date: Sat Jan 30 20:56:17 2016 -0500 wayland: Reduce warning level for parentless temporaries Temp windows without parent are used frequently in our testsuite; using g_warning on them causes the tests to fail, which is not useful. Reduce the warning to a g_message. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7d16b8df29824adf1bd0cc1a8f2651b0c04c7f4c Author: Matthias Clasen Date: Sat Jan 30 18:31:30 2016 -0500 treeview: Draw background when empty We have a function we call for drawing the empty case, but it only renders a focus rectangle. Make it draw the background as well. https://bugzilla.gnome.org/show_bug.cgi?id=761309 gtk/gtktreeview.c | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) commit 16726e31f00438a728947be48ae80fd48327db97 Author: Timm Bäder Date: Sat Jan 30 22:31:27 2016 +0100 colorchooserwidgeet: Reset the selected swatch when removing Otherwise, priv->current points to garbage and subsequently leads to a crash, e.g. when adding another custom color. gtk/gtkcolorchooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit dd322f715f0ac97155e0e443eaf7a73f8727a134 Author: Matthias Clasen Date: Sat Jan 30 16:09:15 2016 -0500 Document gtk_parse_args limitations Mention that some things won't work without a display connection. gtk/gtkmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit bbe48d06246ce208ce4d0e00aef45180b7c71dbd Author: Matthias Clasen Date: Sat Jan 30 16:06:59 2016 -0500 Throw an error when a display is missing Creating style context won't work without a display, so give a clear error message and abort instead of segfaulting later on. https://bugzilla.gnome.org/show_bug.cgi?id=761332 gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+) commit 3b4aad7d263634927197b613971aff248e9e4855 Author: Matthias Clasen Date: Sat Jan 30 13:27:30 2016 -0500 3.19.8 NEWS | 8 ++++++++ configure.ac | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) commit d400ecca1434bd0cbeeb285fdb51a26563ae40f3 Author: Matthias Clasen Date: Sat Jan 30 11:32:06 2016 -0500 Remove entry-progress-coloring reftest We don't recolor text over progress anymore, so this tests a no longer existing feature. testsuite/reftests/Makefile.am | 3 - testsuite/reftests/entry-progress-coloring.css | 20 ---- testsuite/reftests/entry-progress-coloring.ref.ui | 113 ---------------------- testsuite/reftests/entry-progress-coloring.ui | 76 --------------- 4 files changed, 212 deletions(-) commit 586522d83cc9ff6003597dc94f403bac4e3787b9 Author: Matthias Clasen Date: Sat Jan 30 10:29:06 2016 -0500 Use TAP output for installed tests testsuite/a11y/a11ychildren.test.in | 4 ++-- testsuite/a11y/a11ymisc.test.in | 4 ++-- testsuite/a11y/a11ytext.test.in | 4 ++-- testsuite/a11y/a11ytree.test.in | 4 ++-- testsuite/a11y/a11yutil.test.in | 4 ++-- testsuite/a11y/a11yvalue.test.in | 4 ++-- testsuite/a11y/state/Makefile.am | 3 ++- testsuite/css/nodes/test-css-nodes.test.in | 3 ++- testsuite/css/parser/test-css-parser.test.in | 3 ++- testsuite/css/style/test-css-style.test.in | 3 ++- testsuite/gdk/Makefile.am | 3 ++- testsuite/gtk/Makefile.am | 3 ++- testsuite/reftests/reftests-dark.test.in | 3 ++- testsuite/reftests/reftests-hc.test.in | 3 ++- testsuite/reftests/reftests-hci.test.in | 3 ++- testsuite/reftests/reftests.test.in | 3 ++- testsuite/tools/Makefile.am | 1 + 17 files changed, 33 insertions(+), 22 deletions(-) commit f375b275c8c77839446748b4fe9e1e52dbb241e7 Author: Matthias Clasen Date: Sat Jan 30 10:10:39 2016 -0500 Run reftests with HighContrastInverse too For installed tests, we run the reftests with all the builtin themes (minus platform-specific ones). Add HighContrastInverse to that list. testsuite/reftests/Makefile.am | 5 ++++- testsuite/reftests/reftests-hci.test.in | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 051b6071b7d4054ed9d072bb84a296d0b943fa83 Author: Matthias Clasen Date: Fri Jan 29 23:40:58 2016 -0500 Adwaita: Add symbolic png assets And use them as fallback for the svg ones. This lets us avoid a hard dependency on librsvg - the theme will work without svg support. gtk/theme/Adwaita/_common.scss | 12 +- .../Adwaita/assets/bullet-symbolic.symbolic.png | Bin 0 -> 147 bytes .../Adwaita/assets/check-symbolic.symbolic.png | Bin 0 -> 193 bytes .../Adwaita/assets/dash-symbolic.symbolic.png | Bin 0 -> 130 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 560 ++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 546 ++++++++++---------- 6 files changed, 561 insertions(+), 557 deletions(-) commit e54549502e3b0b1bd8b01fc7de9c44a339e4437c Author: Matthias Clasen Date: Fri Jan 29 23:36:24 2016 -0500 icontheme: Avoid a crash gtk_icon_info_new_for_file with a size of 0 would fail for symbolic pngs because we ended up scaling with 0. Avoid this. gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2e4b1e72f4a272c426a12135f3487aa2017c746a Author: Matthias Clasen Date: Fri Jan 29 20:23:27 2016 -0500 css: Support the image() notation This lets us do fallback in case an image format is not supported, and also lets us provide solid-color images. We don't support image fragment notations. See ttps://www.w3.org/TR/css3-images/#image-notation https://bugzilla.gnome.org/show_bug.cgi?id=761318 docs/reference/gtk/css-overview.xml | 20 ++- gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 4 +- gtk/gtkcssimagefallback.c | 255 ++++++++++++++++++++++++++++++++++++ gtk/gtkcssimagefallbackprivate.h | 59 +++++++++ 5 files changed, 338 insertions(+), 2 deletions(-) commit 0fe468c7898d8d531a1c901a5742b3612ee946d6 Author: Matthias Clasen Date: Fri Jan 29 22:47:38 2016 -0500 Emit an error if image loading fails Instead of spamming stderr with g_warning, use the new emit_error method of the GtkStyleProviderPrivate interface to emit an error if loading an image fails. gtk/gtkcssimagerecolor.c | 49 ++++++++++++++++++++++++++++------------ gtk/gtkcssimageurl.c | 59 ++++++++++++++++++++++++++++++++---------------- 2 files changed, 73 insertions(+), 35 deletions(-) commit 2c7fdf6432057849bdf7ee9aaf71c328a39bd5a8 Author: Matthias Clasen Date: Fri Jan 29 22:45:21 2016 -0500 CSS provider: Add a way to emit errors Currently, GtkCssProvider can emit ::parsing-error only during the actual parsing, although the documentation hints that it might happen at other times. This commit adds a emit_error method to the GtkStyleProviderPrivate interface that will let us emit errors from the compute() implementations as well, which can be useful (e.g. if an image fails to load). gtk/gtkcssprovider.c | 26 +++++++++++++++++--------- gtk/gtkstyleproviderprivate.c | 13 +++++++++++++ gtk/gtkstyleproviderprivate.h | 8 +++++++- 3 files changed, 37 insertions(+), 10 deletions(-) commit 63bf90ae711689700ac930444c1654850bad1ff0 Author: Balázs Meskó Date: Sat Jan 30 01:24:09 2016 +0000 Updated Hungarian translation po/hu.po | 1244 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 676 insertions(+), 568 deletions(-) commit 4251a8acdf07bccf75d422c7b1421229dfe9c54a Author: Gábor Kelemen Date: Sat Jan 30 01:23:14 2016 +0000 Updated Hungarian translation po-properties/hu.po | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 803ec7c5fb8a60b9326f6a73549547941a78d3ff Author: Balázs Meskó Date: Sat Jan 30 01:22:10 2016 +0000 Updated Hungarian translation po-properties/hu.po | 4460 +++++++++++++++++++++++++++++---------------------- 1 file changed, 2541 insertions(+), 1919 deletions(-) commit 176e85ffe5d8cb73d9535acc62b4d00568006872 Author: Matthias Clasen Date: Fri Jan 29 19:12:51 2016 -0500 file chooser: Make Escape close the dialog In some situations (no header bar, save mode), hitting Escape would not do anything because the entry ate the key event. Fix this by telling the entry to only handle Escape when there is something to do, such as switching back to the path bar. https://bugzilla.gnome.org/show_bug.cgi?id=761026 gtk/gtkfilechooserwidget.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit f887fec55cb42b68473ee9b6f50ab5ebf540a601 Author: Matthias Clasen Date: Fri Jan 29 18:23:25 2016 -0500 Add a css style test for color names Verify that we support all the css color names, with their expected rgb values. testsuite/css/style/Makefile.am | 1 + testsuite/css/style/colornames.css | 147 +++++++++++++++++ testsuite/css/style/colornames.nodes | 296 +++++++++++++++++++++++++++++++++++ testsuite/css/style/colornames.ui | 161 +++++++++++++++++++ 4 files changed, 605 insertions(+) commit b281c9d740c1536513618047353321ee379c2b72 Author: Matthias Clasen Date: Fri Jan 29 17:30:10 2016 -0500 css image recolor: Load images at the proper scale We should not hardcode a scale of 1, this leads to pixellated upscaled images at scale=2, even if the source is an svg. By passing the proper scale, we can load the svg at the correct size. gtk/gtkcssimagerecolor.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 001598a8211e02dbbebd1bf71c51d4b96bdb9bef Author: Matthias Clasen Date: Fri Jan 29 17:27:35 2016 -0500 icon theme: Improve loading of unthemed files When creating icon info objects for unthemed files, we don't really have a nominal size, so we pass 0 to mean 'load at original size'. However, this is not what was happening. To make this possible, add variants of some pixbuf loading functions that take a scale factor instead of a desired size, and use those when we don't have a nominal size. gtk/Makefile.am | 6 +- gtk/gdkpixbufutils.c | 132 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gdkpixbufutilsprivate.h | 35 ++++++++++++ gtk/gtkicontheme.c | 27 ++++++--- 4 files changed, 191 insertions(+), 9 deletions(-) commit 68edc67bdead2f1ad3224b3f9ff2e07c202fc626 Author: Matthias Clasen Date: Fri Jan 29 13:44:45 2016 -0500 image: use GtkMisc padding again This was lost in the gadget conversion. Thankfully, the misc-alignment reftest catches this. gtk/gtkimage.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 8219a6b2265bfe5db35cdfadbaf0abfad567e6e1 Author: Matthias Clasen Date: Fri Jan 29 13:21:01 2016 -0500 Use an GtkImage instead of GtkArrow GtkArrow is deprecated, and the recommended replacement is GtkImage. testsuite/reftests/icon-vfuncs.css | 1 + testsuite/reftests/icon-vfuncs.ui | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) commit 866193f6afe48af258b48a4e384996cdf0a25781 Author: Matthias Clasen Date: Fri Jan 29 12:20:31 2016 -0500 reftests: get icon-vfuncs test almost working again The remaining difference here is GtkArrow, which is deprecated and has not been updated to the latest CSS rendering standards. testsuite/reftests/icon-vfuncs.css | 8 ++------ testsuite/reftests/icon-vfuncs.ref.ui | 2 +- testsuite/reftests/icon-vfuncs.ui | 8 ++++++++ 3 files changed, 11 insertions(+), 7 deletions(-) commit fac5ed6165c801a9ef298d5bef15e32e4ba44223 Author: Lapo Calamandrei Date: Fri Jan 29 18:09:28 2016 +0100 Adwaita: reset padding on notebook tab close button gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit e79db79e2c058684dfd9907b65e713ee532e002e Author: Matthias Clasen Date: Fri Jan 29 11:51:09 2016 -0500 testgtk: Avoid deprecation warnings Eventually, we should probably remove the examples that rely on geometry support, since they probably don't work correctly anymore. For now, just disable the warnings. tests/testgtk.c | 2 ++ 1 file changed, 2 insertions(+) commit 17d9e94682303bb9c2f3eb09a6d70a2497349c81 Author: Matthias Clasen Date: Fri Jan 29 11:50:22 2016 -0500 testoffscreen: Remove deprecated calls Not doing these calls doesn't seem to affect the demo, so lets just remove them. tests/gtkoffscreenbox.c | 3 --- 1 file changed, 3 deletions(-) commit 3302c2a12c30237a3cb23c16ad3ca9b877a80922 Author: Matthias Clasen Date: Fri Jan 29 11:25:14 2016 -0500 testgeometry: Ignore deprecations All the functionality that is tested here has been deprecated recently. tests/testgeometry.c | 2 ++ 1 file changed, 2 insertions(+) commit 813cc348571603e6325ef9fdd4f7698093faa9d5 Author: Lapo Calamandrei Date: Fri Jan 29 17:48:45 2016 +0100 Adwaita: fix border radius on #editor-color-sample gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 14 insertions(+) commit 31cc642288a4b707bd1400dc258c47f7cfa82829 Author: Lapo Calamandrei Date: Fri Jan 29 16:32:43 2016 +0100 Adwaita: notebook style rewrite gtk/theme/Adwaita/_common.scss | 299 +++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 889 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 875 +++++++++++++----------------- 3 files changed, 887 insertions(+), 1176 deletions(-) commit 01626e0f4bd187059b67279ed6143b1f28575391 Author: Matthias Clasen Date: Fri Jan 29 09:42:18 2016 -0500 Update gtk-builder-tool docs docs/reference/gtk/gtk-builder-tool.xml | 5 +++++ 1 file changed, 5 insertions(+) commit 7d75d5ec666d1cf80ddde30afeae3b17a5dc7eb9 Author: Matthias Clasen Date: Fri Jan 29 09:23:41 2016 -0500 builder tool: Add a preview command This was somewhat missing, and is easy to add. gtk/gtk-builder-tool.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 129 insertions(+), 3 deletions(-) commit 69a38a9771350a6fc16d49704db681a317fca318 Author: Matthias Clasen Date: Fri Jan 29 08:08:08 2016 -0500 docs: Fix a duplicate id This was causing the css properties chapter to appear twice in the docs, and the overview not at all. docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eabf1101822b6db9e83572121b1f6ff3cd3bdf98 Author: Matthias Clasen Date: Thu Jan 28 23:09:42 2016 -0500 Updates NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 7fc0600f924982fe49464a12b7be0e989aefc55c Author: Matthias Clasen Date: Thu Jan 28 22:49:36 2016 -0500 infobar: Don't expose implementation details Only export the documented widgets as internal children. gtk/gtkinfobar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3014aab25c640c7afe06cbc33689cb13efc4cb7d Author: Matthias Clasen Date: Thu Jan 28 22:47:28 2016 -0500 searchbar: Don't expose implementation details The various boxes and the revealer here should not be exposed as internal children for subclasses to use in their .ui files. gtk/gtksearchbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0bf987c611a0878f913931296b6e189e15e5bd74 Author: Matthias Clasen Date: Thu Jan 28 22:39:31 2016 -0500 actionbar: Don't expose implementation details The box and revealer here should not be exposed as internal children for subclasses to use in their .ui files. gtk/gtkactionbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a7489153b019127367fc243c643303ad7ea48707 Author: Matthias Clasen Date: Thu Jan 28 22:36:27 2016 -0500 dialog: Stop exporting action_box This was not meant as an internal child that subclasses can refer to in their .ui files. https://bugzilla.gnome.org/show_bug.cgi?id=761254 gtk/gtkdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3dce876555fe3b61a0b55ccc4c6dc075d7bba6ca Author: Matthias Clasen Date: Thu Jan 28 22:10:02 2016 -0500 print dialog: Stop using action_box in .ui We can just use CSS margins nowadays to achieve the desired appearance. gtk/theme/Adwaita/_common.scss | 25 +++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 19 ++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 19 ++++++++++++------- gtk/ui/gtkprintunixdialog.ui | 5 ----- 4 files changed, 41 insertions(+), 27 deletions(-) commit a99c69fd6b4878e83f25dee793b748e7c51244a6 Author: Matthias Clasen Date: Thu Jan 28 20:50:50 2016 -0500 label: fix a case of misleading indentation gcc 6 complains aobut things like this. gtk/gtklabel.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit cf4e179a45f8ae9a52b8d6f56d7fd547f1033e56 Author: Carlos Garnacho Date: Thu Jan 28 12:46:32 2016 +0100 tests: Avoid deprecated API usage in testgtk We can use seat grabs here. tests/testgtk.c | 33 +++++++++++---------------------- 1 file changed, 11 insertions(+), 22 deletions(-) commit a74db1de77f62ee36f2f9be1670eb26b621c843a Author: Carlos Garnacho Date: Thu Jan 28 12:46:07 2016 +0100 tests: Avoid deprecated API usage in testsocket We can use seat grabs here. tests/testsocket.c | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) commit fef661ae84580db8b9ca7b2cb733b9c5b94e50c7 Author: Carlos Garnacho Date: Thu Jan 28 12:10:12 2016 +0100 tests: Fix deprecation warnings in testinput tests/testinput.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2c0446917d3a606fd9336e444a6241f9a02f5b03 Author: Carlos Garnacho Date: Thu Jan 28 12:04:13 2016 +0100 demos: Modify "Change display" demo to use seat grabs The window picking feature was done through a pointer grab, replace it by a seat grab on pointing devices. demos/gtk-demo/changedisplay.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 0125aa0a414a73d781bab7f531a534b774857eac Author: Carlos Garnacho Date: Thu Jan 28 11:58:15 2016 +0100 gtkdnd: Fix deprecation compile warnings Grabbing must stay a bit longer until all other backends than x11/wayland catch up with GDK DnD, so ignore deprecation flags are used on those. The uses of GdkDeviceManager can be entirely avoided though. gtk/gtkdnd.c | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) commit 27263f2387b414707d33862335b7e35b0cf722c3 Author: Christoph Reiter Date: Thu Jan 28 11:04:48 2016 +0100 label: use GtkMisc padding again this was lost in the gadget conversion in a81267c28e4e0368cd0e23b661e1c8c53f8194fb https://bugzilla.gnome.org/show_bug.cgi?id=760522 gtk/gtklabel.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 79fb921ffc7d19ba85ca3df966d3317c93b382e6 Author: Matthias Clasen Date: Wed Jan 27 23:30:25 2016 -0500 spin button: Document sizing peculiarities Document that it is best to explicitly set width-chars and max-width-chars to avoid surprises. https://bugzilla.gnome.org/show_bug.cgi?id=727294 gtk/gtkspinbutton.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 03f4666994a72d72551cae31efb946aa742addca Author: Matthias Clasen Date: Wed Jan 27 23:22:02 2016 -0500 composetable: Don't abort on unsupported escape sequences People might put all sorts of gunk in their .XCompose file, in the hope that XLib makes sense of it. Even if we don't make sense of it, we shouldn't abort, but instead ignore the lines we can't understand. Pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1301254 gtk/gtkcomposetable.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b8a0f3582b8df8d02643c0ac2522e8df170d9da4 Author: Matthias Clasen Date: Wed Jan 27 15:14:30 2016 -0500 Update README.glade Update the README.glade file to use current .ui file names and locations as example. gtk/glade/README.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8527fca250be340e0263bd47f5486679685ccc02 Author: Mario Blättermann Date: Wed Jan 27 20:08:25 2016 +0100 Updated German translation po-properties/de.po | 2895 +++++++++++++++++++++++++++------------------------ 1 file changed, 1526 insertions(+), 1369 deletions(-) commit 8cbe309f36b306d6d8be3e6106950baae1998371 Author: Matthias Clasen Date: Wed Jan 27 13:23:58 2016 -0500 css node tests: Update expected output The entry undershoot change needs to be reflected in the test output. testsuite/css/nodes/entries.nodes | 8 ++++++++ 1 file changed, 8 insertions(+) commit 625f3e5f3940192ed21519c2477bd283a3fa4ae2 Author: Matthias Clasen Date: Wed Jan 27 13:07:13 2016 -0500 window: Always disconnect signal handlers We connect to the titlebar widgets change notification regardless whether it is internally created or not, so don't make the signal handler disconnection conditional on that either. gtk/gtkwindow.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 88c3456d2fed626448059272b2a0db3f06db6e70 Author: Matthias Clasen Date: Wed Jan 27 12:57:58 2016 -0500 assistant: Avoid tripping template tests We need to unset the titlebar manually before chaining up in destroy, otherwise we trigger the template invariant checking - GtkWindow would eventually unset it, but too late for the invariants checking code in gtk_widget_destroy. gtk/gtkassistant.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0d109867d2f66e986f98aa49222429f29609f509 Author: Allison Ryan Lortie Date: Wed Jan 27 15:50:42 2016 +0100 Tweak startup-notification after the first window Presently, Gtk will only send a startup notification completion message for the first window that is shown. This is not good for the case of GtkApplication, where we are expected to participate in startup-notification for all windows. We have avoided this problem by manually emitting the startup complete message from after_emit in GtkApplication. Unfortunately, this causes problems for windows that are shown with a delay. It is also a dirty hack. The reason for the original behaviour is simple: there is a static boolean in gtkwindow.c which controls it. We remove this. Instead, clear the startup notification ID stored in GDK when sending the completion message. GtkApplication will re-set this the next time an event comes in which needs startup-notification handling. In the non-GtkApplication case, newly shown windows will still not send the message, since the cookie will have been cleared. Finally, we remove the hack from GtkApplication's after_emit. This will probably cause some regressions in terms of lingering startup notification messages. The correct solution here is to always use gtk_window_present(), including when merely opening a new document (with a new tab, for example). https://bugzilla.gnome.org/show_bug.cgi?id=690791 gdk/x11/gdkdisplay-x11.c | 10 +++++++++- gtk/gtkapplication.c | 2 -- gtk/gtkwindow.c | 4 +--- 3 files changed, 10 insertions(+), 6 deletions(-) commit 299b32438d2d0f508183ab557c68d8cab13572fc Author: Timm Bäder Date: Wed Jan 27 16:32:39 2016 +0100 modelbutton: Use indicator state for button gadget if iconic gtk/gtkmodelbutton.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 09677f733100c4c654c9d68f7a6765d3125725d7 Author: Krzesimir Nowak Date: Wed Jan 27 13:25:58 2016 +0100 entry: Fix a typo gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c4f7fbecfac2cf829fe47c3d30ba09ca9f2e7c4a Author: Benjamin Otte Date: Wed Jan 27 14:02:44 2016 +0100 entry: Fix a case of disagreeing coordinate systems gesture_get_current_point() returned x/y in layout coordiantes, but callers assumed it in textarea coordinates. gtk/gtkentry.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 2533289b629e4aa61781e106012fc08ec8529d04 Author: Cosimo Cecchi Date: Wed Jan 27 12:25:49 2016 +0100 Adwaita: fix spinbutton styling Spinbuttons were quite broken after the latest changes. This commit brings the style back around what it was for 3.18. gtk/theme/Adwaita/_common.scss | 31 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 294 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 292 +++++++++++++++--------------- 3 files changed, 326 insertions(+), 291 deletions(-) commit 4c192ea4c36c75f94137d03f3dfed0b8e150cd18 Author: Matthias Clasen Date: Tue Jan 26 23:33:06 2016 -0500 Adwaita: Add some themeing for entry undershoot This is just copying what we do for scrolled windows. It will need some tweaks to look good for entries. gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 20 ++++++++++++++++++++ 3 files changed, 45 insertions(+) commit a9222146d34ef86e3bc4d13e439fba4c5df642ee Author: Matthias Clasen Date: Tue Jan 26 23:31:28 2016 -0500 entry: give a visual clue that content is scrolled This has been requested long ago, and we now have the machinery to implement it easily. gtk/gtkentry.c | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 84 insertions(+), 13 deletions(-) commit 8991f17d49c757fbef2739d9d16a03e029daebda Author: Matthias Clasen Date: Tue Jan 26 22:11:54 2016 -0500 box gadget: Improve assertion message Include the owner of the gadget in the assertion message, to improve the chances of tracking down whats actually going wrong here. gtk/gtkboxgadget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 745624235b82301be2d1fdcae0c8fdc48df740c3 Author: Matthias Clasen Date: Tue Jan 26 21:27:12 2016 -0500 color button: Allow skipping the palette Allow skipping the palette in the dialog, and going directly to the editor. This is useful when the color button is already part of a palette. gtk/gtkcolorbutton.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit cf3a781d325b520b4e7d6e070e0d5d55ff4d8ff4 Author: Matthias Clasen Date: Tue Jan 26 20:57:50 2016 -0500 Fix a typo gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a222aa66d5b7811798c3a98b0b0694de6fe4ec49 Author: Benjamin Otte Date: Wed Jan 27 02:07:35 2016 +0100 entry: Compute selection range correctly gtk_editable_get_selection_bounds() returns UTF-8 character offsets, but gdk_pango_layout_get_clip_region() wants byte ranges, so convert from one to the other. With English, this is especially visible for passwords, which use ● as the invisible character. https://bugzilla.gnome.org/show_bug.cgi?id=761128 gtk/gtkentry.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 84b788c4a5180978d5b87c976c1ef20d3dfffa64 Author: Benjamin Otte Date: Wed Jan 27 01:09:51 2016 +0100 window: Deprecate gtk_window_parse_geometry() Geometry handling in GTK is deprecated. gtk/gtkwindow.c | 2 ++ gtk/gtkwindow.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit b22fdf24e0a70b17f9920ce85cb24e2024d388a0 Author: Benjamin Otte Date: Wed Jan 27 01:07:01 2016 +0100 window: Deprecate gtk_window_set_default_geometry() We don't support geometries anymore. gtk/gtkwindow.c | 3 +++ gtk/gtkwindow.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 5cbc247c08129e3bad290d9cdc8e881f9105ac3b Author: Olav Vitters Date: Mon Jan 25 19:59:05 2016 +0100 Add an XSetting for primary button warps slider This will be used by xsettings-kde to ensure GTK+3.x programs behave consistently. https://bugzilla.gnome.org/show_bug.cgi?id=688524 gdk/x11/gdksettings.c | 1 + 1 file changed, 1 insertion(+) commit bf4443d9d92ba0f40e31b8efc3bfcf55aca5b34a Author: Matthias Clasen Date: Tue Jan 26 12:42:04 2016 -0500 gdk: Don't translate signal names This was a thinko - what we sometimes do for signal names is to use I_() to intern them (to avoid a strdup), but I_() is not currently available in gdk, so lets just skip this microoptimization for now. gdk/gdkdnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ae31c000923fc72560e036f5bb552666bc1aec72 Author: Benjamin Otte Date: Tue Jan 26 16:40:33 2016 +0100 spinbutton: Don't expand the buttons When the spinbutton grows larger, distribute horizontal size to the entry and vertical size to the buttons. Obviously, horizontal size only matters for horizontal spinbuttons and vertical for vertical spinbuttons. gtk/gtkspinbutton.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit 2c350f4469b578749c315824a55ed07f719c9754 Author: Benjamin Otte Date: Tue Jan 26 16:36:13 2016 +0100 stack: realize windows in correct position gtk/gtkstack.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8ea697c43405af97cd9170688067f0b807a5d3f6 Author: Benjamin Otte Date: Tue Jan 26 14:13:18 2016 +0100 pathbar: Use CSS node ordering Instead of the custom get_path_for_child() function. gtk/gtkpathbar.c | 124 +++++-------------------------------------------------- 1 file changed, 10 insertions(+), 114 deletions(-) commit 9d0e8401caa937c4399dbe6d2aaa6dc4fe0254eb Author: Benjamin Otte Date: Tue Jan 26 14:02:55 2016 +0100 stack: Turn into no-window widget Having priv->view_window be the same as widget->window does not make sense. And because we need to clip the content area, we need the view window. gtk/gtkstack.c | 33 +++++++++++++++++++++++++++++++-- 1 file changed, 31 insertions(+), 2 deletions(-) commit fefc370f6c43ee44c39d7d2a651077242960da02 Author: Benjamin Otte Date: Tue Jan 26 13:23:44 2016 +0100 entry: Chain up in realize() ... instead of copy/pasting what gtk_widget_real_realize() does. gtk/gtkentry.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 02800033d45aad9ae7ebfe4b47c94828ea4b1b4a Author: Emmanuele Bassi Date: Tue Jan 26 13:32:47 2016 +0000 build: Missing build flags The compiler and linker flags variables were renamed in the previous commit. demos/gtk-demo/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9267f73c5597e287a6f0872cfd1038a9951bed09 Author: Emmanuele Bassi Date: Tue Jan 26 13:29:46 2016 +0000 Add more checks for the font features demo The demo also uses PangoFt2 API. configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c8686f0c474ad96075938367ae9065105ed1e03f Author: Emmanuele Bassi Date: Tue Jan 26 11:46:48 2016 +0000 demo: Link against Harfbuzz The font features demo started calling the Harfbuzz API directly starting from commit 9de3b24c205f1c647292a490f92f21a776b931a4. Harfbuzz is an implicit dependency of Pango on some platforms, but it's not part of the public dependencies; this means that we cannot expect to link to Pango and automatically get Harfbuzz symbols to link against — especially when things like --as-needed are in play. This change triggered build failures on non-Unix platforms, fixed by commit 2a9967731a3b77b102ada633c39b5a35efc80957, as well as build failures in Continuous, with this error message: /usr/lib/gcc/x86_64-gnomeostree-linux/4.9.3/../../../../x86_64-gnomeostree-linux/bin/ld: font_features.o: undefined reference to symbol 'hb_tag_to_string' //lib/libharfbuzz.so.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status In order to get the font features demo to build everywhere we should take an explicit, though optional, check on Harfbuzz, and conditionally build the font features demo with the right compiler and linker flags. configure.ac | 9 +++++++++ demos/gtk-demo/Makefile.am | 17 ++++++++++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) commit 2a9967731a3b77b102ada633c39b5a35efc80957 Author: Chun-wei Fan Date: Tue Jan 26 15:56:07 2016 +0800 demos: Don't build font features demo on non-UNIX The fonts features demo now uses fontconfig APIs via PangoFT2, which makes the code not build on non-Linux, so only include this demo in the build on UNIX. demos/gtk-demo/Makefile.am | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 9de3b24c205f1c647292a490f92f21a776b931a4 Author: Matthias Clasen Date: Mon Jan 25 00:40:49 2016 -0500 gtk-demo: Expand font features demo Add more features to the list, allow selecting script/language from the set that is supported by the font, indicate which features are present in the font for the selected script/language, and expand the default specimen to cover latin, cyrillic and greek. demos/gtk-demo/font-features.ui | 1323 ++++++++++++++++++++++++++++++--------- demos/gtk-demo/font_features.c | 402 ++++++++++-- 2 files changed, 1373 insertions(+), 352 deletions(-) commit d5d6a050c5c2fbb9a53a49414b9a26293b8181ae Author: Matthias Clasen Date: Mon Jan 25 15:59:32 2016 -0500 Update expected output of a11y tests This is the outcome of a recent fix to default values for a GtkPaned property. testsuite/a11y/paned.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 37000db1d3664b36676671beae964356373873da Author: Ben Iofel Date: Mon Jan 25 15:34:08 2016 -0500 Docs: fix typo docs/reference/gtk/gtk3-icon-browser.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 05f0e9a5c2390a1e6d86ab171845bdaf32f6cb2c Author: Ray Strode Date: Mon Jan 25 13:55:25 2016 -0500 wayland: __NR_memfd_create instead of SYS_memfd_create It looks like the gnome-continuous headers haven't quite caught up yet, so try __NR_memfd_create instead. If that doesn't work, i'll likely just add in a fallback code path. gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df70e28d92e7c1d95f25120bdf059c07c211f083 Author: Ray Strode Date: Mon Jan 25 11:41:23 2016 -0500 wayland: use memfd_create instead of open in tmpdir The tmpdir is used for a wide assortment of things, and can easily fill up. If it fills then desktop will start crashing with SIGBUS errors. This commit changes the shm pool allocation code, to use memfd_create, instead, so the shared memory files will be anonymous and not associated with /tmp https://bugzilla.gnome.org/show_bug.cgi?id=761095 gdk/wayland/gdkdisplay-wayland.c | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) commit 7097a4ed64197029a09c84dccb2e0925bed91e5c Author: Matthias Clasen Date: Mon Jan 25 13:01:15 2016 -0500 Fix another quoting error in installed tests Same as the previous one. I should fix my silly mistakes before copying them around... testsuite/css/style/test-css-style.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cce493493c4deff3afcc9b45a1c35b21a37c9848 Author: Matthias Clasen Date: Mon Jan 25 10:56:19 2016 -0500 testsuite: Fix a quoting error This was breaking continous testing. Oops. testsuite/css/nodes/test-css-nodes.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a3a86ec4b6c90cc14dec303a8853f32ae7eb83e Author: Benjamin Otte Date: Mon Jan 25 16:14:23 2016 +0100 spinbutton: Add a base gadget This really messes up rendering in Adwaita because the code now renders the spinbutton's entry node when it didn't before. gtk/gtkspinbutton.c | 248 +++++++++++----------------------------------------- 1 file changed, 53 insertions(+), 195 deletions(-) commit ad7bbbf9d8f370d7bdca355f74e6b7e44b2da0f7 Author: Benjamin Otte Date: Mon Jan 25 15:47:40 2016 +0100 entry: Use cleverer method to get the entry node gtk/gtkentry.c | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) commit 3982f05be4c228c3ec754a9783913b55d1ecef4d Author: Benjamin Otte Date: Mon Jan 25 15:42:18 2016 +0100 entry: Move spinbutton size hack If we want to do special sizing for the text, we need to do it for the text. Otherwise paddings, borders and entyr icons will screw up everything. gtk/gtkentry.c | 14 +++++++++---- gtk/gtkentryprivate.h | 4 ++++ gtk/gtkspinbutton.c | 58 +++++++++++++++++++++++++-------------------------- 3 files changed, 43 insertions(+), 33 deletions(-) commit 02fab14b3bd8aa2bb34e0945c783276e85a6f098 Author: Benjamin Otte Date: Mon Jan 25 15:04:04 2016 +0100 entry: Move code This movement is necessary for future gadgetization of GtkSpinButton. gtk/gtkentry.c | 34 +++++++++++++++++++--------------- 1 file changed, 19 insertions(+), 15 deletions(-) commit b52b4068afcd0394cc8b34b94d95a73de2127956 Author: Benjamin Otte Date: Mon Jan 25 01:33:28 2016 +0100 entry: Redo textarea handling (1) Keep priv->text_allocation for the area used by the text (2) Compute all text coordinates with the help of priv->text_allocation As a side effect the get_text_area_size and get_frame_size vfuncs are now unused. If we wanted them back, they should get a single use durig size_allocate() and then their results should be stored for further processing. gtk/gtkentry.c | 379 +++++++++++++++------------------------------------------ 1 file changed, 101 insertions(+), 278 deletions(-) commit c70907256794a8a76ed75fa754110f6e5cd3d403 Author: Benjamin Otte Date: Mon Jan 25 00:07:23 2016 +0100 entry: Use gtk_render_layout() It's funny that nobody has yet noticed that we don't draw the text using the theme. We had no text-shadow in entries!!!!! gtk/gtkentry.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) commit a363fd5fd39ee0c6f2c624da0d6bf0ca23f8f3fa Author: Benjamin Otte Date: Mon Jan 25 00:00:41 2016 +0100 entry: Draw selection the same way as GtkLabel gtk/gtkentry.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit ca690162afc7d1b56aa945437f916a3f3df1ef8e Author: Benjamin Otte Date: Sun Jan 24 23:52:49 2016 +0100 entry: Fold function into only caller gtk/gtkentry.c | 61 +++++++++++++++++++++++----------------------------------- 1 file changed, 24 insertions(+), 37 deletions(-) commit 0ae8b30210fce09aed3dea3a516706d115122523 Author: Benjamin Otte Date: Sun Jan 24 23:46:12 2016 +0100 entry: Don't allow different text over progress This complicates refactorings, so remove that feature. It's not used anywhere and doesn't play well with nodes the way it's implemented. If we want it back, we can add it back later. gtk/gtkentry.c | 71 +++++----------------------------------------------------- 1 file changed, 5 insertions(+), 66 deletions(-) commit 334b1994c451d1147c693b721c80806b52877c65 Author: Piotr Drąg Date: Mon Jan 25 03:07:00 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 10 +++++++++- po/POTFILES.skip | 10 +++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) commit ba582a4a190b84eb96c586642b40f2deebb84dd0 Author: Matthias Clasen Date: Sun Jan 24 20:10:45 2016 -0500 One forgotten rename Rename app-menu.ui to menus.ui in EXTRA_DIST too. demos/icon-browser/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 792857c7b8883c7fbeb44b6b3af3c421d32c6ed5 Author: Matthias Clasen Date: Sun Jan 24 20:01:33 2016 -0500 icon browser: Load app menu automagically No need to manually create a builder and pass the resource to it, just follow the conventions and have GtkApplication do it for us. demos/icon-browser/iconbrowser.gresource.xml | 4 ++-- demos/icon-browser/iconbrowserapp.c | 7 ------- demos/icon-browser/iconbrowserwin.c | 2 +- demos/icon-browser/{app-menu.ui => menus.ui} | 2 +- 4 files changed, 4 insertions(+), 11 deletions(-) commit e8ad47498b13d5d2e09388d6853356debb593841 Author: Matthias Clasen Date: Sun Jan 24 16:29:40 2016 -0500 path bar: Don't hide arrows Changing the visibility of child widgets in size-allocate does not work well with out current allocation and layout machinery. To avoid the visual fallout, just keep the arrow buttons visible and only change their sensitivity. https://bugzilla.gnome.org/show_bug.cgi?id=754868 gtk/gtkpathbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 761120a5e2841475150fd1f6c2456e5f1928bf83 Author: Matthias Clasen Date: Sun Jan 24 10:58:32 2016 -0500 inspector: Show CSS pseudoclass names for node state This is a better fit for showing CSS node state, since one commonly looks at this information to devise CSS selectors, where the CSS names are needed. gtk/inspector/css-node-tree.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 33bb1af277c7311dcf89dc85d45f5319d0edd8f6 Author: Matthias Clasen Date: Sun Jan 24 10:56:23 2016 -0500 css: Privately export a function to get pseudoclass names This function centralizes the mapping for widget states to pseudoclass names in one place, for easier maintenance. gtk/gtkcssselector.c | 27 ++++++++++++++------------- gtk/gtkcssselectorprivate.h | 2 ++ 2 files changed, 16 insertions(+), 13 deletions(-) commit f0439264aa3648a2c556b61294580deb8d566d02 Author: Timm Bäder Date: Sun Jan 24 10:48:48 2016 +0100 gdkdnd: Fix signal docs Signals all have at least one parameter, the object that received the signal. gdk/gdkdnd.c | 4 ++++ 1 file changed, 4 insertions(+) commit d6f989f59ced24949a686d7e7dadb69c61dd9b7a Author: Timm Bäder Date: Sun Jan 24 08:01:36 2016 +0100 Inspector: Plug a few leaks gtk/inspector/css-node-tree.c | 2 +- gtk/inspector/visual.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 43747a6b30f53dbd8d2ed5e86983679110563273 Author: Matthias Clasen Date: Sun Jan 24 00:22:31 2016 -0500 paned: Initialize max_position As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=608865 max_position should be set to G_MAXINT. gtk/gtkpaned.c | 1 + 1 file changed, 1 insertion(+) commit 873a024f5b4060568e05cd998de815ff4d8a6412 Author: Matthias Clasen Date: Sat Jan 23 22:30:59 2016 -0500 widget-factory: Add a color editor example demos/widget-factory/widget-factory.c | 40 ++++++++++++++++++++++++++++++++-- demos/widget-factory/widget-factory.ui | 5 ++--- 2 files changed, 40 insertions(+), 5 deletions(-) commit a80b55527422d6d90b4ca52bd58954ae4bb7164d Author: Matthias Clasen Date: Sat Jan 23 18:26:09 2016 -0500 color editor: Ensure spin buttons are wide enough If we don't explicitly ask for 2 chars to be visible, we might get less, and it doesn't look great. gtk/ui/gtkcoloreditor.ui | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 526fd89ec57610304516c3b4cba11242c53d6beb Author: Sebastien Lafargue Date: Fri Jan 22 22:25:29 2016 +0100 GtkColorChooser: make set_rgba work in editor mode When using the color chooser in editor mode, gtk_color_chooser_set_rgba need to be propaged to the editor https://bugzilla.gnome.org/show_bug.cgi?id=761005 gtk/gtkcolorchooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 5febf4f170983a22ca4cae58dba29813ba3c8bc3 Author: Matthias Clasen Date: Sat Jan 23 18:00:57 2016 -0500 Add a color editor test This tests using a color editor embedded in other ui. tests/Makefile.am | 4 ++++ tests/testcolorchooser2.c | 59 ++++++++++++++++++++++++++++++++++++++++++++++ tests/testcolorchooser2.ui | 29 +++++++++++++++++++++++ 3 files changed, 92 insertions(+) commit 770e308c9eaf8c99ea17701aa1e4cfc3380ccbae Author: Matthias Clasen Date: Sat Jan 23 15:52:09 2016 -0500 widget-factory: Ensure spinbuttons are sized right GtkEntry now respects the padding set by the theme, so we need to ask the spin buttons to show 2 characters, otherwise they will be clipped. demos/widget-factory/widget-factory.ui | 4 ++++ 1 file changed, 4 insertions(+) commit 8ba996a6dbfb8a028b74ef43125c472ae6293c75 Author: Matthias Clasen Date: Sat Jan 23 01:51:48 2016 -0500 container: Clarify the forall/foreach documentation Try to make the difference between these two functions clearer. gtk/gtkcontainer.c | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) commit 695860958a9a2e7c825bcec4d0d42b427f0fb47e Author: Phil Clayton Date: Sun Sep 13 11:58:37 2015 +0100 Add missing (out) annotation to gdk_rgba_parse https://bugzilla.gnome.org/show_bug.cgi?id=754990 gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b208edacc2c46d47a8700f1fe4b59f94da9daab8 Author: Mario Blättermann Date: Sat Jan 23 18:21:45 2016 +0100 Updated German translation po/de.po | 64 ++++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 34 insertions(+), 30 deletions(-) commit 05f1994808d87b703156284768fcff232ff3ad09 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:35:59 2016 -0800 win32 geometry: reorganize code to avoid prototypes gdk/win32/gdkgeometry-win32.c | 41 +++++++++++++++++++---------------------- 1 file changed, 19 insertions(+), 22 deletions(-) commit 3bb23ef2feceb96f06be4f1c2b36ab1e776f1e30 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:32:32 2016 -0800 win32 device manager: reorganize code to avoid prototypes gdk/win32/gdkdevicemanager-win32.c | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) commit b3eaaa5a2c9d217c6158db479b50b3f6dbb4c50c Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:27:02 2016 -0800 win32 virtual device: reorganize code to avoid prototypes gdk/win32/gdkdevice-virtual.c | 82 +++++++++++-------------------------------- 1 file changed, 21 insertions(+), 61 deletions(-) commit 36c3f219891817367b2b54f54130a0e943a6dde3 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:26:04 2016 -0800 win32 device: reorganize code to avoid prototypes gdk/win32/gdkdevice-win32.c | 94 +++++++++++++-------------------------------- 1 file changed, 27 insertions(+), 67 deletions(-) commit ca4ffbfe80ce035d3c76852648835b62135169d3 Author: Ignacio Casal Quinteiro Date: Sat Jan 23 14:24:39 2016 -0800 wintab: reorganize code to avoid prototypes gdk/win32/gdkdevice-wintab.c | 87 +++++++++++--------------------------------- 1 file changed, 21 insertions(+), 66 deletions(-) commit ddbafa023aea4ba340731a07def111ad228dfa34 Author: Timm Bäder Date: Sat Jan 23 10:30:53 2016 +0100 overlay: Don't access priv pointer before typ check gtk/gtkoverlay.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8096740ea4d8cdbff315152dfc06d55f1801f2eb Author: Matthias Clasen Date: Fri Jan 22 23:30:36 2016 -0500 levelbar: Document CSS node ordering gtk/gtklevelbar.c | 3 +++ 1 file changed, 3 insertions(+) commit 2cf983eb307701254df34555c74ad6fd48144006 Author: Matthias Clasen Date: Fri Jan 22 23:14:09 2016 -0500 notebook: Document CSS node order gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit 73307f78dc8a10a2db2a0979ec7ede40f367b781 Author: Matthias Clasen Date: Fri Jan 22 22:49:01 2016 -0500 box gadget: Don't allow shifting too far We don't want to let baseline adjustment shift the child out of the original allocation. This is purely a sanity measure - in practice, the baseline should always be bigger than the child_baseline. gtk/gtkboxgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50e923349ec5690baf957ac614716790df172808 Author: Matthias Clasen Date: Fri Jan 22 22:47:47 2016 -0500 box gadget: Fix baseline calculation Careful comparison with GtkBox revealed that the box gadget code was confusing up and down, and thus shifted baselines vertically. gtk/gtkboxgadget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 57baf6804b63a598db49e2ffcc548dc46b145bea Author: Matthias Clasen Date: Fri Jan 22 22:24:46 2016 -0500 inspector: Show baseline value The misc info page already shows the allocation and clip areas, the baseline fits right in. gtk/inspector/misc-info.c | 10 ++++++++++ gtk/inspector/misc-info.ui | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) commit e26300625fb15e84ce2964aa281e89f1f7536aba Author: Matthias Clasen Date: Fri Jan 22 22:08:38 2016 -0500 box gadget: Fix baseline allocation for widgets We were adjusting the allocation to line up baselines before calling gtk_widget_size_allocate_with_baseline, but that function is doing this alignment internally anyway and expects to be given a 'fill' allocation. Move the allocation adjustment code down into gtk_box_gadget_allocate_child where it only affects child gadgets, not child widgets. gtk/gtkboxgadget.c | 186 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 108 insertions(+), 78 deletions(-) commit 029d568b040fbeedee016310594415f471ef483e Author: Matthias Clasen Date: Fri Jan 22 21:34:54 2016 -0500 gadget: Add baseline debugging This should help to understand whats going wrong with baselines. gtk/gtkcssgadget.c | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) commit 5469f2626069f4c8b2583361f1436ea118ed103a Author: Matthias Clasen Date: Fri Jan 22 19:23:54 2016 -0500 Adwaita: Move .ssd class around Make the theme follow our documentation for the various .csd and .ssd style classes: They all go on the window node. For now, just add the new selector; the old one will be removed when mutter has been updated. https://bugzilla.gnome.org/show_bug.cgi?id=760714 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit 3d52fd3992be6880cce5148d8e620324158c56ea Author: Matthias Clasen Date: Fri Jan 22 17:10:41 2016 -0500 box gadget: Fix height-for-width handling When measuring children while distributing a given height, we must measure them for the given width that goes with the height. Otherwise, things will go wrong if some of the children do actual width-for-height. This was showing up as misaligned images in anaconda. https://bugzilla.gnome.org/show_bug.cgi?id=760967 gtk/gtkboxgadget.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit f32a54fb705ba787786f108fc93fad2027727eb9 Author: Carlos Garnacho Date: Thu Jan 21 15:22:42 2016 +0100 GtkTreeView: Update prelight row after revalidating rows It might have changed (eg. after a row being expanded, and the child rows revalidated), so just update it here based on the last pointer position. Based on a patch by Maxim Reznik https://bugzilla.gnome.org/show_bug.cgi?id=760891 gtk/gtktreeview.c | 5 +++++ 1 file changed, 5 insertions(+) commit a5f9dc12849b1b2efcc5c452fef5e3d99c70a172 Author: Carlos Garnacho Date: Thu Jan 21 15:21:16 2016 +0100 GtkTreeView: Avoid device query on collapsing rows The pointer position is queried to properly trigger the prelight updates on the new row below it. We store the last coordinates though, and track crossing events to unset these, so it's safe to just update_prelight() here on these. gtk/gtktreeview.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) commit 0a9e9db9f4a8b81d3dda6b7d739b0fb003a642c1 Author: Benjamin Otte Date: Fri Jan 22 20:39:14 2016 +0100 shortcuts: Don't forall() widgets that aren't children gtk/gtkshortcutssection.c | 13 +++++++------ gtk/gtkshortcutswindow.c | 41 +++++++++++++++++++---------------------- 2 files changed, 26 insertions(+), 28 deletions(-) commit efc899bd2b2a351221cd2c455773f62defc06b9c Author: Benjamin Otte Date: Thu Jan 21 16:53:25 2016 +0100 widget: Improve gtk_cairo_should_draw_window() Check that non-native window are indeed children of the event window and only then confirm that they should be drawn. Fixes Glade thinking that it's okay to have the draw function do different things depending on what window to draw. (This should really be fixed in Glade.) gtk/gtkwidget.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 74c3468d64d5e049df74e60c761e350180946e3f Author: Benjamin Otte Date: Thu Jan 21 13:31:14 2016 +0100 cssstyleproperty: Don't allow assigning min-width/min-height gtk/gtkcssstylepropertyimpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d4f853dc649e84b70a8b0dedcc9def00719e872c Author: Benjamin Otte Date: Thu Jan 21 02:19:04 2016 +0100 container: Turn assert into return_if_fail() There's no reason to insta-crash when something goes wrong. Just don't do anything stupid. Also, remove the SPCIAL_CONTAINER() exception. Every case where special containers needed this, it is wrong and made containers draw children multiple times. gtk/gtkcontainer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 6bb8da5564d8403882035d037d4938a266e85c97 Author: Benjamin Otte Date: Thu Jan 21 01:44:47 2016 +0100 stack: Clip animation drawing We use cairo_paint() when doing that and we don't want to overdraw the content area. gtk/gtkstack.c | 6 ++++++ 1 file changed, 6 insertions(+) commit a6845091f9a216ff825b0ed445a3bc8d9b438287 Author: Benjamin Otte Date: Thu Jan 21 01:22:41 2016 +0100 spinbutton: Make the entry gadget be the entry's gadget This is a big and somewhat evil hack: We replace the entry's gadget's node with the spinbutton's entry node. gtk/gtkcssgadget.c | 4 +++- gtk/gtkcssgadgetprivate.h | 2 ++ gtk/gtkentry.c | 6 ++++++ gtk/gtkentryprivate.h | 2 ++ gtk/gtkspinbutton.c | 35 +++++++++++------------------------ 5 files changed, 24 insertions(+), 25 deletions(-) commit c7c17abdb99eb3da724f56c9745744f99c846615 Author: Lapo Calamandrei Date: Fri Jan 22 13:29:35 2016 +0100 Adwaita: fix checks and radios on selected row gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/gtk-contained.css | 108 ++++++++++++------------------------ 2 files changed, 37 insertions(+), 75 deletions(-) commit 6a1722f689eaec8d52e21a1252c9d70f8f5be4fa Author: Matthias Clasen Date: Thu Jan 21 23:39:16 2016 -0500 text view: Don't leak cairo transforms The text view draw function was leaving its cairo context with a transformation after drawing to all the border windows, which lead mis-drawing in gitg. Avoid this by moving the gtk_cairo_transform_to_window call inside the existing cairo_save/restore calls. https://bugzilla.gnome.org/show_bug.cgi?id=760942 gtk/gtktextview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit eb2ef63211dc9cdb21da1e93045017003a0ed642 Author: Matthias Clasen Date: Thu Jan 21 22:53:06 2016 -0500 wayland: Don't hardcode /tmp As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=760964, we should use the GLib facilities for determining the preferred location for temporary files. gdk/wayland/gdkdisplay-wayland.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit d3f18abf7dfbfb538175108dd5cf422bb629663c Author: Mario Blättermann Date: Thu Jan 21 17:48:25 2016 +0100 Updated German translation po/de.po | 1061 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 664 insertions(+), 397 deletions(-) commit 0f7b4dad0f6cef80172638efb019ce094d7eadee Author: Carlos Garcia Campos Date: Thu Jan 21 14:36:42 2016 +0100 cssstyleproperty: Make it possible to query CSS opacity with gtk_style_context_get() Add a query implementation to opacity property. Also fix the assert in gtk_css_style_property_register() to allow registering properties with query but without assign function. https://bugzilla.gnome.org/show_bug.cgi?id=760933 gtk/gtkcssstylepropertyimpl.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit bd4aaa12851512a2e12736111fc41756c367c327 Author: Lapo Calamandrei Date: Thu Jan 21 03:12:10 2016 +0100 Adwaita: first css check/radio implementation draw checks and radios with css istead of relying on png assets. gtk/theme/Adwaita/_common.scss | 80 +++-- gtk/theme/Adwaita/assets/bullet-symbolic.svg | 155 +++++++++ gtk/theme/Adwaita/assets/check-symbolic.svg | 154 ++++++++ gtk/theme/Adwaita/assets/dash-symbolic.svg | 153 ++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 427 +++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 502 +++++++++++++++------------ 6 files changed, 1032 insertions(+), 439 deletions(-) commit 77a6d976b2f6dff25589450c84c85d968aacaad7 Author: Matthias Clasen Date: Thu Jan 21 08:42:55 2016 -0500 css: Fix refcounting thinko in -gtk-recolor gtk_css_style_get_value does not return a reference. So don't unref the return value without taking one. gtk/gtkcssimagerecolor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4bfba00c4b16a876d4fa124d0b48ced6f099c5f Author: Matthias Clasen Date: Thu Jan 21 08:20:06 2016 -0500 Handle svg image assets in Adwaita The build glue for collecting all the assets in Adwaita as resources was assuming that they are all pngs, and tried to preprocess them into embedded GdkPixbufs. Fix it to leave svgs unmolested, so they can be recolored at runtime. gtk/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 419f2c670dcfe7975bb31970991d844f5e38c74e Author: Matthias Clasen Date: Thu Jan 21 08:18:46 2016 -0500 css: Handle image loading errors graciously If we fail to load the image for a -gtk-recolor() expression, fall back to using the image-missing icon instead of crashing, and include more details in the warning message. gtk/gtkcssimagerecolor.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit ffc4f8ee11b916df95ef81c3a09f4f693ccd2e72 Author: Matthias Clasen Date: Thu Jan 21 08:18:28 2016 -0500 Forgotten file gtk/inspector/misc-info.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52326e909a4a1e24e1f027f43b820eee03c15b02 Author: Matthias Clasen Date: Wed Jan 20 22:53:47 2016 -0500 Adwaita: Set a text color for lists Symbolic icons in list boxes came out white-on-white in the inspector. Set an explicit text color to prevent that. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit e33bda3078c64a723edde86906d6a551d9f3ffd5 Author: Matthias Clasen Date: Wed Jan 20 22:52:05 2016 -0500 inspector: Show full allocation + clip Previously, we were only showing the size of the allocation and clip area. But there is no good reason to hide the position of these rectangles, so add them, in the traditional format of X geometry strings: wxh+x+y gtk/inspector/misc-info.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 449a9c419a929ca6ae13d55794ba990cb0ab963e Author: Matthias Clasen Date: Wed Jan 20 22:51:25 2016 -0500 inspector: Refine typography Use thin spaces in the formatting of monitor sizes. gtk/inspector/general.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c2d4fd6b9397f54a046adf1c9edbd1190961551d Author: Matthias Clasen Date: Wed Jan 20 19:33:16 2016 -0500 Fix GtkShortcutsWindow crash GtkShortcutsWindow is among the 'cheating' containers that iterate over indirect children in forall, and this is now triggering an assertion in gtk_container_propagate_draw. For now, just exclude the cheating containers from the assertion. Eventually, this needs a better solution. gtk/gtkcontainer.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit 5150849a67f0c5d4d1649f33047cbb23500c88b0 Author: Ray Strode Date: Wed Jan 20 12:35:44 2016 -0500 wayland: don't pass in width and height to create_shm_pool create_shm_pool doesn't need the width or height, it just needs the total size. By passing it in, we're requiring it to redo stride calculation unnecessarily. This commit drops the width and height parameters and makes the function just take the total size directly. https://bugzilla.gnome.org/show_bug.cgi?id=760897 gdk/wayland/gdkdisplay-wayland.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 1e001eaa7874bc00cfc3a2c86e8e40b0fe18c4e5 Author: Ray Strode Date: Wed Jan 20 11:40:34 2016 -0500 wayland: clean up stride calculation when creating shm surface Right now, we assume the stride for the image surface needs to be 4 byte aligned. This is, in fact, true, but it's better to ask cairo for the alignment requirement directly rather than assume we know the alignment rules. This commit changes the code to use cairo_format_stride_for_width to calculate a suitable rowstride for pixman. https://bugzilla.gnome.org/show_bug.cgi?id=760897 gdk/wayland/gdkdisplay-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c8deaeabddc0cf8aa16bf118f7a9f61a5a4a59aa Author: Ray Strode Date: Wed Jan 20 12:22:29 2016 -0500 wayland: unlink shm file earlier in create function create_shm_pool unlinks the temporary file a little, too late. It should be unlinked before ftruncate() is called for two reasons: 1) if ftruncate fails, the file is currently not getting cleaned up at all 2) in theory, if the file is public some other process could muck with it This commit just moves the unlink call a little higher up. https://bugzilla.gnome.org/show_bug.cgi?id=760897 gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c1bee2377eba8acc2d6ce03c3bc82fbf157fd37 Author: Carlos Garnacho Date: Wed Jan 20 19:52:01 2016 +0100 GtkNotebook: Unify two private variables Button state was being kept in two separate variables, which lead to slight confusions in DnD that caused the notebook to ignore the first click after DnD happened from (within) it. Unify these two into one, which helps us keep better track of the really pressed buttons. gtk/gtknotebook.c | 39 +++++++++++++++++---------------------- 1 file changed, 17 insertions(+), 22 deletions(-) commit da31eb4f64eb9218126277851a16f38134fe1f7f Author: Matthias Clasen Date: Wed Jan 20 13:42:45 2016 -0500 container: Don't create too-large clips gdk_rectangle_union will happily add all the worlds pixels to the union if the initial rectangle is initialized to all zeros. Therefore, explicitly check for an empty rectangle before calling it. gtk/gtkcontainer.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 51f05a00aef5e54f4ecd006f49ed9d1d0497aae8 Author: Matthias Clasen Date: Wed Jan 20 13:12:13 2016 -0500 Clarify docs for gdk_rectangle_union This function does not ignore empty rectangles. Since this is a fairly subtle point about the behavior, it is worth spelling this out in the documentation. We've had a bug open about this for a long time: https://bugzilla.gnome.org/show_bug.cgi?id=464528 gdk/gdkrectangle.c | 3 +++ 1 file changed, 3 insertions(+) commit 4f6ea16c2e747c32e78285129df4b98b2a80c10d Author: Carlos Garnacho Date: Wed Jan 20 18:55:51 2016 +0100 wayland: Protect against NULL offers on gdk_drag_status() implementation If we're called untimely, we might end up crashing here when poking the NULL wl_data_offer. gdk/wayland/gdkdnd-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 261622733c9e30fee08a14623fa970020ead9436 Author: Carlos Garnacho Date: Wed Jan 20 18:53:03 2016 +0100 gtkdnd: Disconnect GdkDragContext signals on gtk_drag_source_info_free() Otherwise it may still be tricked into emitting further signals at a time we've already destroyed the GtkDragSourceInfo passed as callback user data. gtk/gtkdnd.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit f535251507a6a0af68aed6348ae80cbdac9b1f4a Author: Benjamin Otte Date: Wed Jan 20 17:37:04 2016 +0100 notebook: Get rid of during_reorder variable Use operation == OPERATION_REORDER instead. gtk/gtknotebook.c | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) commit c162a0cca8c7454f8b695b71cec08160569f26ee Author: Benjamin Otte Date: Wed Jan 20 17:20:03 2016 +0100 notebook: Properly hide drag window Move code to properly reinsert the tab label to where it belongs. The if has the distinction between reparented-to-dnd-window and just-changed-the-gdk-window-to-draw-to right there. https://bugzilla.gnome.org/show_bug.cgi?id=760754 gtk/gtknotebook.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit 099662998af2991a280fc70ec3f29638b20eaba3 Author: Benjamin Otte Date: Wed Jan 20 16:45:40 2016 +0100 notebook: Get rid of during_detach member use operation == OPERATION_DETACH instead. gtk/gtknotebook.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 5fd7b85d2b37e59e07fba09bedfb9ffea00bef43 Author: Matthias Clasen Date: Wed Jan 20 09:41:01 2016 -0500 Add a function to get affected area for background The new function, gtk_render_background_get_clip answers the question: what pixels are affected if I call gtk_render_background ? The long-term goal is to have APIs that answer this question for all rendering primitives. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkrender.c | 33 +++++++++++++++++++++++++++++++++ gtk/gtkrender.h | 9 +++++++++ 3 files changed, 43 insertions(+) commit b2eaed62f6923167163b57e6c8aa6927418ef38f Author: Ondrej Holy Date: Wed Jan 20 11:36:12 2016 +0100 file chooser: Allow saving even if executable attribute is not set Commit 8e975b2 (Bug 753969) introduced check of parent accessibility. Consequently it is not possible to save file if executable attribute is not set, which might happen for some gvfs backends. Let's assume that the folder is accessible even if the attribute is not set. https://bugzilla.gnome.org/show_bug.cgi?id=760881 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fef545c623831ab88b8d377bd7b081a7405195a0 Author: Kalev Lember Date: Wed Jan 20 13:00:10 2016 +0100 configure: Require wayland >= 1.9.91 Needed since commit 1045dda0358dee67e8dfbf13b40181b4c2ba1f1c configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3f8316d08e211d20fb0771576d4209e763b64ab Author: Benjamin Otte Date: Wed Jan 20 05:09:25 2016 +0100 viewport: Don't destroy pixelcache while it's still used Removing the child unsets the pxielcache's style context... gtk/gtkviewport.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit e1068255b3ddade6ee60c85069dc0b4ff1da1120 Author: Matthias Clasen Date: Tue Jan 19 22:45:37 2016 -0500 gtk-demo: Fix font features sources The resources had the prefix, causing the ui file not to show up. demos/gtk-demo/demo.gresource.xml | 2 +- demos/gtk-demo/font_features.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9cb0a97bb56ef904e7518a8b3bd722acd8515773 Author: Benjamin Otte Date: Wed Jan 20 04:35:04 2016 +0100 viewport: Set the pixel cache background from the child The viewport itself doesn't move, so we cannot use it as the pixel cache's background. Use the bottommost using element instead, which is the viewport's child. This might need adaptations in themes as we want the backgroud to be opaque to speed up pixel cache performance. gtk/gtkviewport.c | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit bb92428112b1b6ee4fae639e5190608c437c24b5 Author: Matthias Clasen Date: Tue Jan 19 21:38:30 2016 -0500 notebook: Implement rtl flipping for CSS nodes Use gtk_box_gadget_reverse_children and gtk_css_node_reverse_children to flip the children of the header_gadget and the tabs_gadget when appropriate. Add new CSS node tests to verify that the node order is updated as expected in all cases. gtk/gtknotebook.c | 75 +++++++++------------- testsuite/css/nodes/Makefile.am | 38 ++++++----- ...book.bottom.nodes => notebook.bottom.ltr.nodes} | 0 .../{notebook.bottom.ui => notebook.bottom.ltr.ui} | 0 testsuite/css/nodes/notebook.bottom.rtl.nodes | 18 ++++++ testsuite/css/nodes/notebook.bottom.rtl.ui | 56 ++++++++++++++++ ...notebook.left.nodes => notebook.left.ltr.nodes} | 0 .../{notebook.left.ui => notebook.left.ltr.ui} | 0 testsuite/css/nodes/notebook.left.rtl.nodes | 18 ++++++ testsuite/css/nodes/notebook.left.rtl.ui | 56 ++++++++++++++++ ...tebook.right.nodes => notebook.right.ltr.nodes} | 0 .../{notebook.right.ui => notebook.right.ltr.ui} | 0 testsuite/css/nodes/notebook.right.rtl.nodes | 18 ++++++ testsuite/css/nodes/notebook.right.rtl.ui | 56 ++++++++++++++++ .../{notebook.top.nodes => notebook.top.ltr.nodes} | 0 .../nodes/{notebook.top.ui => notebook.top.ltr.ui} | 0 testsuite/css/nodes/notebook.top.rtl.nodes | 18 ++++++ testsuite/css/nodes/notebook.top.rtl.ui | 55 ++++++++++++++++ 18 files changed, 347 insertions(+), 61 deletions(-) commit 0304817d8147d452eb7a5738db200306678218a4 Author: Benjamin Otte Date: Wed Jan 20 02:37:45 2016 +0100 css: AFFFECTS_TEXT causes a resize, not a redraw And we schedule the resize conditionally only when text is rendered but don't do that check for the redraw. gtk/gtkcsstypesprivate.h | 1 - 1 file changed, 1 deletion(-) commit 065aa296ed4908dff896818e9859258ab9ed9e02 Author: Benjamin Otte Date: Wed Jan 20 02:17:32 2016 +0100 widget: Properly invalidate when CSS font properties change. gtk/gtkwidget.c | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) commit e06c08a291d47732bce0ac1a15d0cc5c32733973 Author: Piotr Drąg Date: Wed Jan 20 01:43:38 2016 +0100 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 4 ++++ po/POTFILES.in | 1 + po/POTFILES.skip | 4 ++++ 4 files changed, 10 insertions(+) commit 02dabcfd2be53991152144da129cae73edec381f Author: Matthias Clasen Date: Tue Jan 19 08:16:11 2016 -0500 3.19.7 NEWS | 16 ++++++++++++++-- configure.ac | 2 +- 2 files changed, 15 insertions(+), 3 deletions(-) commit e3b49b2d6c03bb43f3601635add08148b447f0e4 Author: Matthias Clasen Date: Tue Jan 19 09:18:33 2016 -0500 Update expected output of a11y tests This reflects my recent change to messagedialog titles. testsuite/a11y/messagedialog.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit cba7b2c56b22481211c21070198b8b3f87ead417 Author: Matthias Clasen Date: Tue Jan 19 06:28:55 2016 -0500 Simplify foreign drawing example This is code will be copied, so take out unnecessary complication. demos/gtk-demo/foreigndrawing.c | 51 ++++++++++------------------------------- 1 file changed, 12 insertions(+), 39 deletions(-) commit cccaf1d16bb42f343d4ba5b6ea2f81d5d9555d92 Author: Matthias Clasen Date: Tue Jan 19 07:13:57 2016 -0500 Use actual drop status We have this information in the XDND protocol, so we don't have to blindly assume that the drop succeeded. gdk/x11/gdkdnd-x11.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 40b28ac66a5b11eb98d6bf72db65a1b602ca1a60 Author: Carlos Garnacho Date: Mon Jan 18 22:22:24 2016 +0100 gdk: Document the functions that don't need calling on managed DnD These functions will be automatically called by the windowing backend. The usual hooks to run this from in gtk/ shouldn't even happen, but it is worth to document which calls are expected and which aren't. gdk/gdkdnd.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 5b1d96234d5f84c8757aac160673998f9d8be16f Author: Carlos Garnacho Date: Mon Jan 18 14:05:00 2016 +0100 wayland: Set weak reference on the current grab window If the grab window is destroyed the grab will be implicitly removed, although we won't get GdkSeat:ungrab called in order to clear our internal window<->seat relation entirely. Setting a weak ref will nullify the pointer we keep on the seat to the window, avoiding the expected crashes. gdk/wayland/gdkdevice-wayland.c | 33 ++++++++++++++++++++++++--------- 1 file changed, 24 insertions(+), 9 deletions(-) commit be3f0dad82b6e02afd320eecda5cd98af6baf34a Author: Carlos Garnacho Date: Mon Jan 18 13:31:35 2016 +0100 wayland: Unset button modifiers on pointer enter Due to implicit grabs, we basically can guarantee that the pointer won't have any buttons pressed at the time of wl_pointer.enter. Seems like a good place to unset any button modifiers that might have been left stale by compositor grabs. gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 1045dda0358dee67e8dfbf13b40181b4c2ba1f1c Author: Carlos Garnacho Date: Wed Jan 13 21:00:34 2016 +0100 wayland: Implement DnD actions as per wl_data_device v3 Implement as a managed GdkDragContext, which actually fits nicely with the drag-and-drop model in wayland. gdk/wayland/gdkdevice-wayland.c | 69 ++------------ gdk/wayland/gdkdisplay-wayland.c | 4 +- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkdnd-wayland.c | 143 ++++++++++++++++++++++++--- gdk/wayland/gdkprivate-wayland.h | 4 +- gdk/wayland/gdkselection-wayland.c | 191 ++++++++++++++++++++++++++++++------- gtk/gtkdnd.c | 11 ++- 7 files changed, 309 insertions(+), 114 deletions(-) commit 0747a60129777ec44ed1053df16823d5eeb63594 Author: Carlos Garnacho Date: Wed Jan 13 20:57:47 2016 +0100 wayland: Add internal gdk_wayland_seat_set_global_cursor() This can be used for cases (like DnD) where there isn't necessarily a grab, but we want a global pointer cursor. gdk/wayland/gdkdevice-wayland.c | 19 +++++++++++++++++-- gdk/wayland/gdkprivate-wayland.h | 3 +++ 2 files changed, 20 insertions(+), 2 deletions(-) commit 8d47617623a592c9273b7ea34ee2145be9bb2b6b Author: Carlos Garnacho Date: Wed Jan 13 20:54:43 2016 +0100 gtkdnd: Reset widget controllers when starting DnD. Otherwise there's no full guarantees that this will happen. gtk/gtkdnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 2b703b61cfdad95c1f780d23019052ad23348393 Author: Carlos Garnacho Date: Wed Jan 13 20:53:54 2016 +0100 gtk: Add private gtk_widget_reset_controllers() This is a one-shot call that can be called on the places we know we're taking input away. gtk/gtkwidget.c | 27 ++++++++++++++++----------- gtk/gtkwidgetprivate.h | 2 ++ 2 files changed, 18 insertions(+), 11 deletions(-) commit e4f5e31b8baf5addc28ccb68b1b6d88f8f8ed5df Author: Carlos Garnacho Date: Fri Jan 8 21:31:51 2016 +0100 gtkdnd: Optionally use gdk_drag_context_manage_dnd() When this is in use, there's essentially a bunch of dead code here. When all backends are ported, we'll be able to remove grab/cursor management plus a bunch of source-side event handlers. gtk/gtkdnd.c | 179 ++++++++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 147 insertions(+), 32 deletions(-) commit bfee45e6f9f13506f97c8765255c7dc0dd698420 Author: Carlos Garnacho Date: Fri Jan 8 21:24:52 2016 +0100 x11: Implement gdk_drag_context_manage_dnd() This includes managing input events and source-side DND events, as well as setting the appropriate cursor and emitting the signals that are expected in this mode of operation. gdk/x11/gdkdnd-x11.c | 538 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 538 insertions(+) commit ed5da43afb6156a4e7c7783c3ada582ff581b0b4 Author: Carlos Garnacho Date: Wed Jan 13 20:51:19 2016 +0100 gdk: Add gdk_drag_get_cursor() This function (most similar to gtk_drag_get_cursor() helps figure out the right cursor that applies to a given action. To be used by the various backends. gdk/gdkdnd.c | 29 +++++++++++++++++++++++++++++ gdk/gdkdndprivate.h | 1 + 2 files changed, 30 insertions(+) commit f6b8fb5a6b2e18b3f80587a50c0786492a3b2f3b Author: Carlos Garnacho Date: Fri Jan 8 21:22:47 2016 +0100 gdk: Run DnD internal handlers before the main event handler We'll be stealing those to GTK+, if the GdkDragContext manages the DnD operation. gdk/gdkevents.c | 4 ++++ 1 file changed, 4 insertions(+) commit edc4374a634b1597e6c7a3e6136a54f4ed74bb4e Author: Carlos Garnacho Date: Fri Jan 8 21:03:01 2016 +0100 gdk: Allow internal management of source-side DnD We've traditionally left GTK+ to handle the input side of things, letting GDK only manage the windowing-specific messaging. This way of splitting responsibilities is not compatible however with some backends, we must fold then input management at the DnD stage into GDK (and backends) domain. The gdk_drag_context_manage_dnd() call is meant to be the entry point for this mode of operation, if the drag and drop operation becomes managed, the caller (i.e. gtkdnd.c) doesn't need to perform grabs, nor manage input events itself. As a consequence of this, different aspects now belong to the backend GdkDragContext implementation: - Because the caller doesn't see keyboard events anymore, keyboard navigation must be managed in GDK, so is the decision of the current action based on modifiers/button pressed. - Because the caller won't see input events in general, the lifetime of the drag and drop operation is now communicated through the ::drop-performed, ::dnd-finished and ::cancel events - Because the caller doesn't participate anymore on the action being chosen, the pointer cursor must be set by the backend. The caller is rather notified of the final action through the ::action signal. The caller is still responsible of dealing with the corresponding GdkSelection, ensuring its ownership and communicating the supported mimetypes. gdk/gdkdnd.c | 185 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkdnd.h | 4 ++ gdk/gdkdndprivate.h | 22 +++++++ 3 files changed, 211 insertions(+) commit a50baba16058ea86c95269c2eff24a1c97ec34d2 Author: Benjamin Otte Date: Tue Jan 19 14:11:36 2016 +0100 widget: Call gdk_window_mark_paint_from_clip() again The proper window to call it is the event window, as the call itself ignores non-native windows anyway. gtk/gtkwidget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit f64bb38aa7c3190738c4c6281e7ecdd32fc99221 Author: Marek Černocký Date: Tue Jan 19 12:52:58 2016 +0100 Fixed typo childen->children gtk/gtkpopovermenu.c | 2 +- gtk/gtkstack.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 3fea7f296e567b2138e1be2b7adaca3ca81c145b Author: Matthias Clasen Date: Mon Jan 18 23:40:38 2016 -0500 gtk-demo: Add a progress bar to foreigndrawing This is another commonly requested widget. demos/gtk-demo/foreigndrawing.c | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) commit 409760babfbb3abd34b9a6d208a9175a23d89bc2 Author: Benjamin Otte Date: Tue Jan 19 04:33:09 2016 +0100 container: Properly reorder no-window children ... that are setup with gtk_widget_set_parent_window(). Fixes scrollbars not being drawn in GtkScrolledWindow. gtk/gtkcontainer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ab5dbfd1f1fec1c8e62460236769ffd80cad4a54 Author: Benjamin Otte Date: Tue Jan 19 04:24:32 2016 +0100 widget: Add forgotten push_group code ... and remove the also forgotten void function that lingered around with it. Fixes opacity=0 parts like inactive spinners or sort indicators in treeview headers being drawn since last commit. Oops. gtk/gtkwidget.c | 59 ++++++++++++++++----------------------------------------- 1 file changed, 16 insertions(+), 43 deletions(-) commit 580ea227a6bb19ad6c6d4766b3a36dbad24583f3 Author: Benjamin Otte Date: Tue Jan 19 02:42:58 2016 +0100 widget: Redo drawing code Previously, we had a special cae to draw subwindows of widgets. This is not necessary as conformant widgets should be able to properly render themselves when all windows need to be painted. From now on assume that is the case. We therefore paint nonnative GDK windows "inline" by just returning TRUE for gtk_cairo_should_draw_window() for those windows. This speeds up hilighting different rows in the listbox gtk-demo example tremendously (by a factor of 10 or more) as the previous code was O( * ) which in the listbox example were ~15,000 and ~2,000 respectively. gtk/gtkcontainer.c | 120 +++++++++++--------------- gtk/gtkwidget.c | 228 +++++++++---------------------------------------- gtk/gtkwidgetprivate.h | 8 +- 3 files changed, 92 insertions(+), 264 deletions(-) commit 402cecf9a2aecf95ac8efca84179adcb1ce8e956 Author: Benjamin Otte Date: Tue Jan 19 00:53:55 2016 +0100 actionbar: Don't forall() widgets twice When using forall(), only list the revealer, which lists the box containing all the children. When using foreach(), bypass revealer and box and list all children added to the box. gtk/gtkactionbar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 575dfb407502d8596e7933065aea4cea8664fcbc Author: Matthias Clasen Date: Mon Jan 18 20:20:32 2016 -0500 Updates NEWS | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) commit 1821c2df609b2877d732ad662a399e297ff56a41 Author: Matthias Clasen Date: Mon Jan 18 14:54:25 2016 -0500 text view: Expose cursor blink control Derived classes like GtkSourceView with their own ::key-event handler need access to this, in order to make their keynav as nice as the builtin one, wrt to caret visibility. https://bugzilla.gnome.org/show_bug.cgi?id=760748 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktextview.c | 22 ++++++++++++++++++++++ gtk/gtktextview.h | 3 +++ 3 files changed, 26 insertions(+) commit f8b8e4eaf8564eb280ee613dbbc89d79411ab19c Author: Carlos Garnacho Date: Thu Jan 14 20:24:28 2016 +0100 x11: Set event->scroll.is_stop We still figure this out from 0/0 scroll events. This method is not intended to last forever, but it's something we can cling to so far. https://bugzilla.gnome.org/show_bug.cgi?id=756729 gdk/x11/gdkdevicemanager-xi2.c | 3 +++ 1 file changed, 3 insertions(+) commit 48aa1bb08f89a1f3f8f290da771f183cdd5061d8 Author: Peter Hutterer Date: Wed Oct 21 10:14:40 2015 +1000 wayland: add gdk_event_is_scroll_stop_event() And use it to handle kinetic scrolling in the GtkScrolledWindow. However, dropping the delta check causes the X11-based kinetic scroll to break since we don't have the stop event here. Correct handling of xf86-input-libinput-based scroll events is still being discussed. https://bugzilla.gnome.org/show_bug.cgi?id=756729 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 23 +++++++++++++++++++++++ gdk/gdkevents.h | 4 ++++ gdk/gdkwindow.c | 1 + gdk/wayland/gdkdevice-wayland.c | 21 +++++++++++++++++++-- gtk/gtkscrolledwindow.c | 2 +- 6 files changed, 49 insertions(+), 3 deletions(-) commit 3fca36169a0fd5f19b1b2099547060214f40b904 Author: Peter Hutterer Date: Tue Oct 20 13:21:54 2015 +1000 wayland: add support for wl_pointer frame/axis_source/axis_discrete/axis_stop This adds support for the new wl_pointer events available in v5. The wl_pointer.axis_source events can be ignored for the purposes here, the main reason they exist is so that the combination of axis_source=finger and axis_stop triggers kinetic scrolling. We don't need to care about the source, axis_stop is enough for us to tell us when we're scrolling. The wl_pointer.frame events group events together and is intended as a mechanism to coalesce events together. This for example allows us to now send a single GTK scroll event for a diagonal scroll. Previously, the two wl_pointer.axis events had to be handled separately. The wl_pointer.axis_discrete event sends mouse wheel clicks where appropriate, and is translated into up/down/left/right scroll events. https://bugzilla.gnome.org/show_bug.cgi?id=756729 gdk/wayland/gdkdevice-wayland.c | 289 +++++++++++++++++++++++++++++++++------ gdk/wayland/gdkdisplay-wayland.c | 4 +- gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 1 + 4 files changed, 252 insertions(+), 43 deletions(-) commit ac95bac5b817f8167dd568247b478534b960ec9e Author: Matthias Clasen Date: Mon Jan 18 14:31:37 2016 -0500 Drop a reference to regions Regions don't work anymore, so don't recommend them in the docs. gtk/gtkwidget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit b3b048906c7378f104b8be4f4889a8e15025fcd1 Author: Matthias Clasen Date: Mon Jan 18 13:54:20 2016 -0500 im context simple: Protect shared data structures Since a41f02f9b1843e0f0085f801430e55f413a9bf9c, GtkIMContextSimple uses threads to load X Compose files. It does that every time a new im context object is initialized, so we can easily end up with multiple threads accessing the shared global_tables list at the same time. Use a lock to prevent that. https://bugzilla.redhat.com/show_bug.cgi?id=1276432 gtk/gtkimcontextsimple.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit e150ea85bb548afdf5724beed6e262fd2d8fa7b3 Author: Benjamin Otte Date: Mon Jan 18 18:05:53 2016 +0100 cssnode: Don't leak the style cache on destruction gtk/gtkcssnode.c | 3 +++ 1 file changed, 3 insertions(+) commit af958b86cb3126cf6178d1d9e95948c2ae66cf71 Author: Timm Bäder Date: Mon Jan 18 17:22:09 2016 +0100 gdkdisplay-x11: Plug memory leak gdk/x11/gdkdisplay-x11.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ff5d14f1a8064d41c3ee3d94f496994581cfd3a0 Author: Matthias Clasen Date: Mon Jan 18 11:05:53 2016 -0500 text view: Update selection node visibility Make the node invisible if we don't have a selection. gtk/gtktextview.c | 5 +++++ 1 file changed, 5 insertions(+) commit b08fe985cc375f02c9c385c85f9e3a481ba77b3c Author: Matthias Clasen Date: Mon Jan 18 10:52:26 2016 -0500 entry: Expand the css node docs Mention the context menu. gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 07eda5920f938b65f2a089f4f6396d7003049804 Author: Matthias Clasen Date: Mon Jan 18 10:51:54 2016 -0500 text view: Expand CSS node docs Mention the selection node, and the context menu. gtk/gtktextview.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit c24c56a143667cbd95e875d6d47239ca7278828c Author: Matthias Clasen Date: Mon Jan 18 09:06:12 2016 -0500 Forgotten file testsuite/css/nodes/notebook.top.nodes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 3281d1a284fc870488de7da7de756e27d227d367 Author: Benjamin Otte Date: Mon Jan 18 15:01:49 2016 +0100 notebook: Don't crash when dnd'ing tabs out https://bugzilla.gnome.org/show_bug.cgi?id=760754 gtk/gtknotebook.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit eca1b3cba3593a54ea0a027efd27de79b46aeb16 Author: Benjamin Otte Date: Mon Jan 18 15:01:38 2016 +0100 accellabel: Remove unused variable gtk/gtkaccellabel.c | 1 - 1 file changed, 1 deletion(-) commit 6f3cff16af2d02c1a077d4803a2318d437b0f479 Author: Matthias Clasen Date: Mon Jan 18 08:54:35 2016 -0500 gdk: Clarify docs about scale Explicitly state where we return application pixels as opposed to device pixels. gdk/gdkscreen.c | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) commit bbc08d08a9f54deaf20842af8c301aedc13399ed Author: Matthias Clasen Date: Mon Jan 18 08:36:53 2016 -0500 Trivial typo fix gdk/gdkscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65ae48d707b888d4a5c81d8f52982c0db5e6e96d Author: Matthias Clasen Date: Mon Jan 18 07:39:56 2016 -0500 Add more CSS node tests for notebooks testsuite/css/nodes/Makefile.am | 5 +- testsuite/css/nodes/notebook.bottom.nodes | 18 +++++++ testsuite/css/nodes/notebook.bottom.ui | 56 ++++++++++++++++++++++ testsuite/css/nodes/notebook.left.nodes | 18 +++++++ testsuite/css/nodes/notebook.left.ui | 56 ++++++++++++++++++++++ testsuite/css/nodes/notebook.nodes | 16 ------- testsuite/css/nodes/notebook.right.nodes | 18 +++++++ testsuite/css/nodes/notebook.right.ui | 56 ++++++++++++++++++++++ .../css/nodes/{notebook.ui => notebook.top.ui} | 22 +++++++-- 9 files changed, 243 insertions(+), 22 deletions(-) commit d73f6b8c50d31fffe0c4e237b6b39391c9f8faf0 Author: Timm Bäder Date: Mon Jan 18 12:46:18 2016 +0100 entry: Deprecate shadow-type Things like that should be handled using css. Also, the property value is unused inside GtkEntry. gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f74f81f06b1b08269120ada349cc57e2af02cd8d Author: Руслан Ижбулатов Date: Wed Apr 22 19:21:53 2015 +0000 W32: Detect ticks wraparound https://bugzilla.gnome.org/show_bug.cgi?id=748327 gdk/win32/gdkevents-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 83eb36a896c14c754bf28e05407738fcf66cb9d7 Author: Matthias Clasen Date: Mon Jan 18 00:29:29 2016 -0500 Add CSS node tests for checkbutton rtl flipping testsuite/css/nodes/Makefile.am | 26 +++++++++++----------- testsuite/css/nodes/checkbutton.ltr.nodes | 9 ++++++++ testsuite/css/nodes/checkbutton.ltr.ui | 36 +++++++++++++++++++++++++++++++ testsuite/css/nodes/checkbutton.rtl.nodes | 9 ++++++++ testsuite/css/nodes/checkbutton.rtl.ui | 36 +++++++++++++++++++++++++++++++ 5 files changed, 104 insertions(+), 12 deletions(-) commit 121aec6de854f8615c6df29a1c2006689431d45f Author: Matthias Clasen Date: Mon Jan 18 00:24:53 2016 -0500 Add css node tests for expander rtl flipping testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/expander.ltr.nodes | 7 +++++++ testsuite/css/nodes/expander.ltr.ui | 24 ++++++++++++++++++++++++ testsuite/css/nodes/expander.rtl.nodes | 7 +++++++ testsuite/css/nodes/expander.rtl.ui | 24 ++++++++++++++++++++++++ 5 files changed, 64 insertions(+) commit 2a665715b6189b51d001a948257f67d878014580 Author: Matthias Clasen Date: Mon Jan 18 00:19:31 2016 -0500 expander: Flip the alignment of the vertical box To ensure that the title moves to the other side as expected in RTL, use GTK_ALIGN_START/END instead of GTK_ALIGN_FILL when packing the title gadget into the vertical box, and flip the alignment when the text direction changes. gtk/gtkexpander.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 296f80a580b1b9c62a9acc52f3ab713b9662409f Author: Matthias Clasen Date: Mon Jan 18 00:11:54 2016 -0500 expander: Handle rtl changes again Now that the box gadget has api for it, use it here to change the order of the gadgets for right-to-left. gtk/gtkexpander.c | 36 ++++++++---------------------------- 1 file changed, 8 insertions(+), 28 deletions(-) commit a32b39c60faefb8bf3eb00e8e2ec10217b301e92 Author: Matthias Clasen Date: Mon Jan 18 00:04:23 2016 -0500 checkbutton: Handle rtl changes again Now that the box gadget has api for it, use it here to change the order of the gadgets for right-to-left. gtk/gtkcheckbutton.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit 5265db5dd616f654d1c17b395f97818b2b531000 Author: Matthias Clasen Date: Mon Jan 18 00:03:39 2016 -0500 box gadget: Add a function to reverse children This can be used to handle text direction changes. gtk/gtkboxgadget.c | 20 ++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 1 + 2 files changed, 21 insertions(+) commit f6757e0c0cb59ee4bb9f8ea0f022cc232e54bc74 Author: Benjamin Otte Date: Mon Jan 18 05:04:12 2016 +0100 reftests: Fix up for easy CSS changes This is mostly search and replace ala GtkButton => button GtkWindow => window .button => button or removing style properties that aren't used anymore like -GtkButton-default-border: 0 testsuite/reftests/background-area.css | 10 +- .../reftests/background-color-transparent.css | 2 +- testsuite/reftests/background-origin.css | 6 +- testsuite/reftests/background-position.css | 6 +- testsuite/reftests/background-size.css | 2 +- .../reftests/background-window-transparent.css | 2 +- testsuite/reftests/border-color-default.css | 2 +- .../border-corner-zero-width-rendering.css | 2 +- testsuite/reftests/border-half-pixel.css | 2 +- testsuite/reftests/border-image-excess-size.css | 5 +- testsuite/reftests/border-image-gradient.css | 1 - testsuite/reftests/border-radius-clamp.css | 1 - testsuite/reftests/border-style-none.css | 2 +- testsuite/reftests/border-style.css | 2 +- testsuite/reftests/box-pseudo-classes.css | 13 ++- testsuite/reftests/color-transition.css | 2 +- testsuite/reftests/css-currentcolor-alpha.css | 2 +- testsuite/reftests/css-match-class.css | 1 - testsuite/reftests/css-match-descendant-later.css | 2 +- .../reftests/css-match-inherit-different-state.css | 4 +- testsuite/reftests/css-match-inherit.css | 3 +- testsuite/reftests/css-match-name.css | 1 - testsuite/reftests/css-match-type.css | 5 +- testsuite/reftests/css-multi-state.css | 2 +- testsuite/reftests/gtk-icontheme-sizing.css | 2 +- testsuite/reftests/icon-shadow-no-transform.css | 2 +- testsuite/reftests/iconview-empty.css | 2 +- testsuite/reftests/image-icon-shadow-clipping.css | 4 +- testsuite/reftests/label-background.css | 2 +- testsuite/reftests/label-shadows.css | 1 - testsuite/reftests/opacity.css | 2 +- testsuite/reftests/shorthand-entry-border.css | 1 - testsuite/reftests/treeview-fixed-height.css | 116 ++------------------- testsuite/reftests/unresolvable.css | 2 +- 34 files changed, 53 insertions(+), 161 deletions(-) commit b7f32ed45118bbe04d7e2748984d2f9359c204f1 Author: Benjamin Otte Date: Mon Jan 18 02:32:19 2016 +0100 reftests: Remove test We no longer match subtypes, so remove the test for it. testsuite/reftests/Makefile.am | 3 --- testsuite/reftests/css-match-subtype.css | 13 ------------- testsuite/reftests/css-match-subtype.ref.ui | 15 --------------- testsuite/reftests/css-match-subtype.ui | 14 -------------- 4 files changed, 45 deletions(-) commit 7859f8ee91b8287d0f0485351d557886ae6fc0bb Author: Matthias Clasen Date: Sun Jan 17 21:16:33 2016 -0500 checkbutton: Use a box gadget Now that builtin icons have a baseline, we can just use a box gadget with baseline alignment for the indicator and the label. gtk/gtkcheckbutton.c | 287 ++++++--------------------------------------------- 1 file changed, 34 insertions(+), 253 deletions(-) commit da30858ee416ec5a64579cb6a770efe44fb83789 Author: Matthias Clasen Date: Sun Jan 17 21:02:18 2016 -0500 builtin icon: set a baseline Most uses of builtin icons (check and radio buttons, expanders, etc) are placed next to labels, so they should be properly positioned wrt to the baseline. Lacking anything better, give the builtin icons a baseline that places the center of the icon at the strikethrough position. gtk/gtkbuiltinicon.c | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) commit 9c3907dab016d9c1477f2bcd1bd64a6452fd3f78 Author: Matthias Clasen Date: Sun Jan 17 19:48:40 2016 -0500 box gadget: Deal with optional arguments The baseline arguments to the preferred size callback can be NULL. Don't crash if they are. gtk/gtkboxgadget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 44d94a4aebabb607705db4be7a798b4b891a3e51 Author: Matthias Clasen Date: Sun Jan 17 15:35:14 2016 -0500 Trivial formatting fix gtk/gtknotebook.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit a7387e2641480dcb27a21c1b55a6dc336b4f8e93 Author: Matthias Clasen Date: Sun Jan 17 15:26:14 2016 -0500 Document restrictions on gtk_style_context_get This makes it official that passing a different state is not generally supported in the getters for CSS properties. gtk/gtkstylecontext.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit 6bf9715ce4add4b42cadb4b4b507ff011896becc Author: Matthias Clasen Date: Sun Jan 17 14:35:58 2016 -0500 notebook: show tabs when asked to gtk_notebook_set_show_tabs must make the header gadget visible when show_tabs is TRUE, not the other way around. https://bugzilla.gnome.org/show_bug.cgi?id=760596 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e2a1685c5d9c519212eee3c6bc4cde1025ee377 Author: Matthias Clasen Date: Sun Jan 17 14:08:22 2016 -0500 accel label: Fix RTL handling The 'mad hack' that GtkAccelLabel used to affect the GtkLabel draw function broke with the introduction of gadgets, since the positioning is no longer relative to the widgets' allocation at the time of the call, but rather to the gadgets allocation. Instead of coming up with an even madder hack to keep this working, give the GtkLabel draw function knowledge about accel labels. https://bugzilla.gnome.org/show_bug.cgi?id=760663 gtk/gtkaccellabel.c | 52 ++++++++++++---------------------------------------- gtk/gtklabel.c | 8 ++++++++ 2 files changed, 20 insertions(+), 40 deletions(-) commit d28959c6dbea441c6c2f5dd2690123cf684eb96a Author: Matthias Clasen Date: Sun Jan 17 13:23:49 2016 -0500 inspector: Make cursor-size combo wider Cursor sizes typically have 2 digits, lets not clip them. gtk/inspector/visual.ui | 2 ++ 1 file changed, 2 insertions(+) commit 00aca5d689db1eed73f485e217a395300635f177 Author: Matthias Clasen Date: Sun Jan 17 12:13:59 2016 -0500 Expand window style class documentation a bit gtk/gtkwindow.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 9d26038a105680f10ca381410938c58283dbeaaa Author: Matthias Clasen Date: Sat Jan 16 13:24:56 2016 -0500 Adwaita: Keep entry progress visible When the entry is focused, make the progress one pixel wider so it doesn't get swallowed by the focus outline. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 6e6cbd7316032a7fe23f8f1c4edf4ca0a5d9280b Author: Benjamin Otte Date: Sat Jan 16 23:15:11 2016 +0100 stylechange: Do the right thing when old and new style are equal We don't need to compare all their CSS values to figure out that nothing changed. We know that. gtk/gtkcssstylechange.c | 4 ++++ 1 file changed, 4 insertions(+) commit c904efef5381a7b058ed17c077059707909e86d1 Author: Benjamin Otte Date: Sat Jan 16 04:55:58 2016 +0100 cssnode: Redo GTK_DEBUG=no-css-cache Previously this setting would just invalidate the whole CSS tree and thereby hopefully avoid all cache usage. Now, we actually don't cause extra invalidations anymore, but instead avoid ever inserting anything into the cache when this setting is set. gtk/gtkcssnode.c | 18 ------------------ gtk/gtkcssnodestylecache.c | 13 +++++++++++++ 2 files changed, 13 insertions(+), 18 deletions(-) commit 024429f76fc605e834fef3ca654a0d0cdaac1dfa Author: Benjamin Otte Date: Sat Jan 16 04:48:58 2016 +0100 cssnode: Implement the style cache This essentially copies the previous cache implementation. With one caveat: It is now attached to and maintained by the CssNode, not by the CssStyle. And this is important because styles may be reused in incompatible situations which would cause cache collisions and lead to broken CSS in weird situations. gtk/gtkcssnodestylecache.c | 97 ++++++++++++++++++++++++++++++++++++++- gtk/gtkcssnodestylecacheprivate.h | 2 + 2 files changed, 97 insertions(+), 2 deletions(-) commit 5d562b6a2aca6c1d0db93286eb7eb719fe2e3c98 Author: Benjamin Otte Date: Fri Jan 15 23:27:51 2016 +0100 cssnode: Split out the style cache For now, the split out style cache doesn't cache anything. This is mostly to make sure that bisections of wrong caching behavior will bisect down to the commit that actually adds caching. gtk/Makefile.am | 2 + gtk/gtkcssnode.c | 123 +++++++++----------------------------- gtk/gtkcssnodeprivate.h | 2 + gtk/gtkcssnodestylecache.c | 76 +++++++++++++++++++++++ gtk/gtkcssnodestylecacheprivate.h | 44 ++++++++++++++ 5 files changed, 151 insertions(+), 96 deletions(-) commit 93f8fa7576891c53c0386b71d7aee39f0dd2a2e5 Author: Lapo Calamandrei Date: Sat Jan 16 04:16:55 2016 +0100 Adwaita: stop axing toolbar separators gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 3 --- gtk/theme/Adwaita/gtk-contained.css | 3 --- 3 files changed, 7 deletions(-) commit d0f83d46a04b0a889525551dc7b61c19f59fb577 Author: Lapo Calamandrei Date: Sat Jan 16 04:15:30 2016 +0100 Adwaita: style textview derived widgets gtk/theme/Adwaita/_common.scss | 20 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 74 ++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 146 +++++++++++++++++++------------ 3 files changed, 159 insertions(+), 81 deletions(-) commit e7fc87e4ac5548db71bfab93e7293fe5fb66ab07 Author: Matthias Clasen Date: Fri Jan 15 20:08:57 2016 -0500 color scale: Improve themability Add the .color class, so themes can style scale.color. Clip the trough rendering to the content path, so that themes can set rounded corners. gtk/gtkcolorscale.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit a0d91a3a71757845e9a256c9306bfa1ac3614d6b Author: Matthias Clasen Date: Fri Jan 15 19:39:12 2016 -0500 treeview: Use foreground color to draw dnd marker This is still not perfect, but makes the dnd marker better visible in HighContrastInverse. gtk/gtktreeview.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2cf810c4c9169519768cea96696dd89116c34cb1 Author: Matthias Clasen Date: Fri Jan 15 19:11:03 2016 -0500 frame: Don't overlap label and child We didn't do this previously, so don't start now. https://bugzilla.gnome.org/show_bug.cgi?id=760528 gtk/gtkframe.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit f32e1d42e6c040531d9d0832832cb4dd7ae184a9 Author: Lapo Calamandrei Date: Sat Jan 16 00:55:59 2016 +0100 Adwaita: combo style cleanup and fixes fixes https://bugzilla.gnome.org/show_bug.cgi?id=760524 gtk/theme/Adwaita/_common.scss | 57 +++++--------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 49 ++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 49 ++++----------------------- 3 files changed, 22 insertions(+), 133 deletions(-) commit e8b9aacfc19223e16287213cca2e376e3d66d587 Author: Matthias Clasen Date: Fri Jan 15 17:55:44 2016 -0500 combo: Add .linked class when appropriate Add the .linked style class to combo boxes which have an entry, since that is what they are. gtk/gtkcombobox.c | 3 +++ gtk/gtkcomboboxtext.c | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 54a6e032ca86de5a282e27a0a0cc298a27d32a1a Author: Matthias Clasen Date: Fri Jan 15 17:47:08 2016 -0500 combobox: Document the popup window CSS node gtk/gtkcombobox.c | 5 +++-- gtk/gtkcomboboxtext.c | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) commit 0049be4e58ef33749d9ddddb58357c5c93125d5d Author: Matthias Clasen Date: Fri Jan 15 17:36:13 2016 -0500 application: Protect against double shutdown It is not something that can happen normally. But if it does, we shouldn't crash. https://bugzilla.gnome.org/show_bug.cgi?id=760680 gtk/gtkapplication.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 2b95e4db55cd68f4d1e829d43dd9a5c200e40754 Author: William Hua Date: Fri Jan 15 14:09:33 2016 -0500 mir: add default GdkSeat for the default GdkDisplay gdk/mir/gdkmirdevicemanager.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit d8bb228d3bbc33ea0c595285ea6569b9b2c0f76f Author: Matt Watson Date: Mon Jan 11 18:40:53 2016 -0800 widget: remove queue_resize in set_sensitive Calling gtk_widget_propagate_state is enough to queue a resize if needed See da7a4089fe82981d1412aaa295e76d47a81ad6df gtk/gtkwidget.c | 2 -- 1 file changed, 2 deletions(-) commit 303556ac2a9320d85a11cd8fa18d5dd00455e78c Author: Rui Matos Date: Fri Jan 15 18:35:25 2016 +0100 wayland: Fix an endless loop gdk/wayland/gdkdevice-wayland.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 04f6f38b56e90c916e2c4df59eb57e220512f341 Author: Lapo Calamandrei Date: Fri Jan 15 18:33:38 2016 +0100 Adwaita: remove messagedialog label squashing hack since Matthias fixed this properly. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit 78162c5e881b23585d62588f885559d1d4bbc50b Author: Matthias Clasen Date: Fri Jan 15 11:58:51 2016 -0500 message dialog: Prevent empty title from being shown We don't want to grow the titlebar by showing an empty label. gtk/gtkmessagedialog.c | 1 + gtk/ui/gtkmessagedialog.ui | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit fc804bba2d309b0134bf50227df53de8d1b91288 Author: Lapo Calamandrei Date: Fri Jan 15 17:56:49 2016 +0100 Adwaita: some dialog love addresses https://bugzilla.gnome.org/show_bug.cgi?id=760525 gtk/theme/Adwaita/_common.scss | 21 +++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 19 ++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 21 ++++++++++----------- 3 files changed, 29 insertions(+), 32 deletions(-) commit 6d18b77ca7b81310f46d45eab3e2bdaa0b86396c Author: Matthias Clasen Date: Fri Jan 15 10:29:20 2016 -0500 expander: Destroy gadgets after child widgets With child widgets now being sorted into box gadgets, bad things happen if those gadgets disappear prematurely. gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6e4d65d227fa31c44e90597e97184dcfdf9f9f26 Author: Benjamin Otte Date: Fri Jan 15 12:58:14 2016 +0100 notebook: Destroy gadgets after chaining up While chaining up, we might still call into the notebook code. And that code expects the gadgets to be there. https://bugzilla.gnome.org/show_bug.cgi?id=760640 gtk/gtknotebook.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2e27c0af25c12642a65b5611ee9f08c7406d6171 Author: Matthias Clasen Date: Fri Jan 15 09:41:44 2016 -0500 expander: Convert to use box gadgets Use a vertical box gadget for the overall expander, and a horizontal one for the title row. This lets us get rid of all the custom allocation code here. gtk/gtkexpander.c | 404 +++++------------------------------------------------- 1 file changed, 36 insertions(+), 368 deletions(-) commit 5f5dc1082036d0ec182ffba0445333d1c81c9166 Author: Matthias Clasen Date: Fri Jan 15 08:35:39 2016 -0500 expander: Deprecate spacing property The same can be achieved with margins on the child, and the spacing property gets in the way of converting the expander to use box gadgets. gtk/gtkexpander.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 87171469b7dba8ec8ae3397ed292b9d004ef5e90 Author: Matthias Clasen Date: Fri Jan 15 06:47:31 2016 -0500 box gadget: Implement cross-axis alignment So far, the box gadget is always allocating all children the full size in the cross axis. This behavior corresponds to the align-items: stretch behavior in https://www.w3.org/TR/css-flexbox-1/#align-items-property This commit implements the other modes described there. While widgets have halign/valign properties that we can use for this, the API for inserting gadgets has to change to take an extra align parameter. All callers have been updated to pass GTK_ALIGN_FILL, since that corresponds to the previous behavior. https://bugzilla.gnome.org/show_bug.cgi?id=760668 gtk/gtkboxgadget.c | 127 +++++++++++++++++++++++++++++++++++++++++++--- gtk/gtkboxgadgetprivate.h | 5 +- gtk/gtknotebook.c | 14 ++--- 3 files changed, 131 insertions(+), 15 deletions(-) commit 662c7b87e20aef1599faa994aebc65f4420838a8 Author: Piotr Drąg Date: Fri Jan 15 15:18:32 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit f6cc3be1185d98d71d85f86263edf82c786d9168 Author: Ignacio Casal Quinteiro Date: Fri Jan 15 11:45:45 2016 -0800 win32: get rid of _gdk_screen global variable The screen is part of the display so it should be belong to it. gdk/win32/gdkdisplay-win32.c | 20 +++++++++++++------- gdk/win32/gdkdisplay-win32.h | 2 ++ gdk/win32/gdkglobals-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 1 - gdk/win32/gdkscreen-win32.c | 14 +++++++------- gdk/win32/gdkwindow-win32.c | 6 +++--- 6 files changed, 25 insertions(+), 19 deletions(-) commit ea7c509afda813bb865027b1aa6a3e5dbe1a8417 Author: Ignacio Casal Quinteiro Date: Fri Jan 15 11:53:51 2016 -0800 win32: fix warning gdk/win32/gdkselection-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 967ecc80d3e2b52dc95dfb1bfbd36a8df24462bb Author: Tom Schoonjans Date: Sun Jan 10 09:37:07 2016 +0530 Windows library manager fix The Makefile.am's had a dependency on incorrectly named libtool archives for the generation of the .lib files. https://bugzilla.gnome.org/show_bug.cgi?id=760388 gdk/Makefile.am | 2 +- gtk/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c60cea3037719508e42b4ebf91ef076d1c7b74e1 Author: Alberts Muktupāvels Date: Tue Jan 12 21:34:56 2016 +0200 gtkwidgetpath: update gtk_widget_path_to_string From gtk_widget_path_iter_set_object_name documentation: "When set, the object name overrides the object type when matching CSS" Update gtk_widget_path_to_string to match this behaviour. gtk/gtkwidgetpath.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 276101a3bc33407fb4efbf4d020fc559f22150da Author: Eric Williams Date: Wed Jan 13 08:29:34 2016 -0500 Fix typo in previous documentation fix for gtk_css_provider_load_from_data() gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5842e68a0d820f2179daf4d97d335deef3e770d5 Author: Matthias Clasen Date: Thu Jan 14 16:06:16 2016 -0500 Document -gtk-recolor syntax docs/reference/gtk/css-overview.xml | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit beec55a22bd80baad05428f84e1b99ae589f9171 Author: Matthias Clasen Date: Thu Jan 14 13:48:43 2016 -0500 Add a way to load recolored icons in CSS This can come in handy to load images that are not in an icon theme, but still benefit from symbolic recoloring. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 2 + gtk/gtkcssimagerecolor.c | 215 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssimagerecolorprivate.h | 54 ++++++++++ 4 files changed, 273 insertions(+) commit 1b0ef71696bdfdba34834bba995d6771ec3ae742 Author: Matthias Clasen Date: Thu Jan 14 13:49:08 2016 -0500 icon theme: Export recoloring function This will be used in subsequent commits. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/gtkicontheme.c | 23 +++++++++++------------ gtk/gtkiconthemeprivate.h | 7 +++++++ 2 files changed, 18 insertions(+), 12 deletions(-) commit 7d717c8113dc25690088f1e81449e32e8f337a06 Author: Matthias Clasen Date: Thu Jan 14 12:53:50 2016 -0500 icon theme: Add a way to create GtkIconInfos from files This is sometimes needed, and calling into actual icon theme code just for it is confusing - the resulting icon does not depend on the icon theme at all. https://bugzilla.gnome.org/show_bug.cgi?id=760536 gtk/gtkicontheme.c | 71 +++++++++++++++++++++++++++++------------------ gtk/gtkiconthemeprivate.h | 5 ++++ 2 files changed, 49 insertions(+), 27 deletions(-) commit c667f9f1d107486212e60a580176a46fd88214db Author: Lapo Calamandrei Date: Thu Jan 14 17:51:49 2016 +0100 Adwaita: pathbar style cleanup gtk/theme/Adwaita/_common.scss | 6 ------ gtk/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 32 ++++++++++---------------------- 3 files changed, 20 insertions(+), 50 deletions(-) commit ea69bf8c17dd5c9e7f76bf3cb4f56ec07b2e821f Author: Florian Müllner Date: Thu Jan 14 14:45:28 2016 +0100 cssstyleproperty: Expose min-width/height gtk/gtkcssstylepropertyimpl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit bc2355e0b157d206117f5522178eb0f77e1988cb Author: Lapo Calamandrei Date: Thu Jan 14 16:26:22 2016 +0100 Adwaita: remove superfluous selector on keycap styling now that keys are made directly with labels istead of frames. gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit 4703d2bbf036e97a9500bcac02180b4e97df2273 Author: Timm Bäder Date: Wed Jan 13 19:24:46 2016 +0100 boxgadget: Don't use g_assert Use g_return_if_fail instead so nothing abort()s. gtk/gtkboxgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a5fabee202911c94d9db09f98cdac3a48ef1667d Author: Timm Bäder Date: Wed Jan 13 19:14:33 2016 +0100 entry: Don't draw icons twice gtk/gtkentry.c | 9 --------- 1 file changed, 9 deletions(-) commit 49d251a3304d4ddfa2fd6c5257387838309d8db9 Author: Timm Bäder Date: Wed Jan 13 19:11:24 2016 +0100 entry: Remove unused code gtk/gtkentry.c | 4 ---- 1 file changed, 4 deletions(-) commit 2397d76137178839678b2e5d30d6886d48ea0f58 Author: Timm Bäder Date: Wed Jan 13 19:07:20 2016 +0100 label: Remove some unneeded conditionals We are never passing NULL here. gtk/gtklabel.c | 39 ++++++++++----------------------------- 1 file changed, 10 insertions(+), 29 deletions(-) commit 6a97b2563bbae4024d15e1439364601558fdea9c Author: Timm Bäder Date: Sat Jan 9 17:15:29 2016 +0100 shortcutlabel: Use a label directly We can everything we need without the frame around it now. gtk/gtkshortcutlabel.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 37bd22c3d9513708c6a04c113d43791ccd063ad6 Author: Руслан Ижбулатов Date: Sun Dec 27 05:05:39 2015 +0000 GDK W32: Don't use WM-drawn shadow for tooltips This prevents WM from drawing shadows around tooltip windows, which, in Adwaita, should have no shadow and are CSD-ish (which means that tooltip window is larger than it looks, and WM draws the shadow only on the outside, leaving a gap between the visible tooltip edge and the shadow). https://bugzilla.gnome.org/show_bug.cgi?id=759898 gdk/win32/gdkwindow-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3cd79c11fcd14daf1058077e58a5ff154e09b06c Author: Paolo Borelli Date: Fri Dec 18 00:36:57 2015 +0100 win32: remove _gdk_root global variable gdk/win32/gdkdevice-win32.c | 15 +++--- gdk/win32/gdkdevice-wintab.c | 11 ++--- gdk/win32/gdkdevicemanager-win32.c | 7 ++- gdk/win32/gdkdisplay-win32.c | 8 ++-- gdk/win32/gdkdnd-win32.c | 4 +- gdk/win32/gdkevents-win32.c | 4 +- gdk/win32/gdkglobals-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 7 ++- gdk/win32/gdkproperty-win32.c | 7 ++- gdk/win32/gdkscreen-win32.c | 66 ++++++++++++++++++++++++-- gdk/win32/gdkwindow-win32.c | 95 +++++++++++++------------------------- 11 files changed, 124 insertions(+), 101 deletions(-) commit e44b42061737ec4f6dbdad8f1a6dc2d53ea3dd02 Author: Руслан Ижбулатов Date: Thu Jan 14 12:51:26 2016 +0000 Ensure that the fstat fix is not applied on x86_64 gtk/gtkiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0acc6578d81dd955bcaf1e451e6523ac776191d8 Author: Matthias Clasen Date: Thu Jan 14 07:33:04 2016 -0500 expander: center the arrow In lieu of more sophisticated alignment, we need to at least center the arrow allocation wrt to the label. gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 59f1b87409c587093a68ae52500336b686c5903c Author: Руслан Ижбулатов Date: Thu Jan 14 09:40:58 2016 +0000 W32: Ensure that correct statting function is used by iconcache With Mingw-w64 fstat() can be an inline function that calls _fstat32() or _fstat64(), depending on some macros. And if LFS is enabled, fstat() is defined to turn into _fstat32i64() or _fstat64(). And some/all of the above might also be macros as well. Side-step all that mess and excplicitly re-define fstat as _fstat32, which is guaranteed to use a version of "stat" struct that has 32-bit size and time fields, which is what we want. https://bugzilla.gnome.org/show_bug.cgi?id=760615 gtk/gtkiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2e80a79934ea59e13e7fe3c4d078e8f7b428213 Author: Matthias Clasen Date: Wed Jan 13 23:42:35 2016 -0500 font chooser: Add a CSS name The CSS name for GtkFontChooserWidget is fontchooser. gtk/gtkfontchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit c80adc33a41ca8480b97614e4b51c4d006d8d50a Author: Matthias Clasen Date: Wed Jan 13 23:38:14 2016 -0500 app chooser: Set a CSS name The CSS name for GtkAppChooserWidget is appchooser. gtk/gtkappchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 9657ec9331ef941d9aa11951f6fa02534a359fae Author: Matthias Clasen Date: Wed Jan 13 23:37:08 2016 -0500 print dialog: Set a CSS name The CSS name for GtkPrintUnixDialog is printdialog. gtk/gtkprintunixdialog.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 704b41b504b452a963be0d7ad09f82b8fe61e21c Author: Matthias Clasen Date: Wed Jan 13 23:35:22 2016 -0500 file chooser: Set a CSS name The CSS name for GtkFileChooserWidget is ... filechooser. gtk/gtkfilechooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 2f169a493b367359c1cd5366fdd62a14d8db4c25 Author: Matthias Clasen Date: Wed Jan 13 23:34:03 2016 -0500 color chooser: Set a CSS name The CSS name for GtkColorChooserWidget is ... colorchooser. gtk/gtkcolorchooserwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit dc5c82e29c1d1aa42622ce18ff1fbd02d43848be Author: Matthias Clasen Date: Wed Jan 13 23:24:38 2016 -0500 inspector: Don't select 'randomly' While rescanning the object tree, we were emitting ::object-selected signals, possibly causing wild blinking in the application window. Don't do that. https://bugzilla.gnome.org/show_bug.cgi?id=760572 gtk/inspector/object-tree.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 0d298ea75b3f796438d591fef4e4abaf26a1c2fd Author: Matthias Clasen Date: Wed Jan 13 23:06:32 2016 -0500 Expand CSS icon property docs a bit docs/reference/gtk/css-properties.xml | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit f0d4d96ded3bf501d76f4091b7d8083774a88dba Author: Matthias Clasen Date: Wed Jan 13 22:47:37 2016 -0500 Fix doc syntax docs/reference/gtk/css-properties.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 25ccbf4e3f982afdd8bed2993c05153bd8443419 Author: Matthias Clasen Date: Wed Jan 13 16:25:41 2016 -0500 Improve docs for icon-related CSS properties Clarify the relation between the various properties and the icon loading functions. docs/reference/gtk/css-overview.xml | 7 ++++--- docs/reference/gtk/css-properties.xml | 13 +++++++------ 2 files changed, 11 insertions(+), 9 deletions(-) commit 1009c88186c9473aed3ff4dbbb6f851254b5bf74 Author: Matthias Clasen Date: Wed Jan 13 16:17:44 2016 -0500 Make -gtk-icontheme() use -gtk-icon-palette This makes it possible to recolor themed icons with -gtk-icon-palette, regardless whether they are loaded by the theme or the application. gtk/gtkcssimageicontheme.c | 7 +++++-- gtk/gtkcssimageiconthemeprivate.h | 3 +++ 2 files changed, 8 insertions(+), 2 deletions(-) commit 34c263683c1d6cb1d08f2fc9b7d3c66839c7b7db Author: Matthias Clasen Date: Wed Jan 13 16:16:39 2016 -0500 Move the -gtk-icon-palette property up Other properties will start depending on it in subsequent commits, so move it up to prevent ordering problems. gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++---------- gtk/gtkcsstypesprivate.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) commit 1f65f1b746fb5948dc2ba29a3e281e9730f9d616 Author: Matthias Clasen Date: Wed Jan 13 13:58:52 2016 -0500 color swatch: Use right allocation for window Generally, input-only windows that correspond to CSS boxes should be sized to the border allocation of the gadget. gtk/gtkcolorswatch.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit e8b11778a862102dd727db58c3285e2d4b188a39 Author: Rafael Fontenelle Date: Wed Jan 13 18:55:36 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 2830 +++++++++++++++++++++++++----------------------- 1 file changed, 1479 insertions(+), 1351 deletions(-) commit 2ec16c9f91d09341ca93a2badab7c62fff3fac9f Author: Matthias Clasen Date: Wed Jan 13 09:31:25 2016 -0500 Add css node tests for right-to-left levelbars testsuite/css/nodes/Makefile.am | 3 +- .../nodes/{levelbar.nodes => levelbar.ltr.nodes} | 0 .../css/nodes/{levelbar.ui => levelbar.ltr.ui} | 0 testsuite/css/nodes/levelbar.rtl.nodes | 55 ++++++++++++++++++ testsuite/css/nodes/levelbar.rtl.ui | 66 ++++++++++++++++++++++ 5 files changed, 123 insertions(+), 1 deletion(-) commit 897126ae2bf1d82074321e42c20b1289a348fbcb Author: Cosimo Cecchi Date: Wed Jan 13 08:30:02 2016 -0800 notebook: fix a GCC warning gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0fdbff938ecbf32c1a8fca35312ccdb0ebe6b5d Author: Matthias Clasen Date: Wed Jan 13 00:41:44 2016 -0500 Add css node tests for paned node ordering testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/paned.ltr.nodes | 6 ++++++ testsuite/css/nodes/paned.ltr.ui | 26 ++++++++++++++++++++++++++ testsuite/css/nodes/paned.rtl.nodes | 6 ++++++ testsuite/css/nodes/paned.rtl.ui | 26 ++++++++++++++++++++++++++ 5 files changed, 66 insertions(+) commit fb77ebe17e19c1f3061914cf41f49c067b390092 Author: Matthias Clasen Date: Wed Jan 13 00:40:11 2016 -0500 paned: Update node ordering according to text direction This was overlooked in the initial node conversion. gtk/gtkpaned.c | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) commit 7743944124371a93c029ab0cba145b8d3aa6bf0e Author: Matthias Clasen Date: Wed Jan 13 00:39:53 2016 -0500 GtkBox: Documentation tweak gtk/gtkbox.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit e386fcae04052e5cb545105d020465262e46db78 Author: Matthias Clasen Date: Wed Jan 13 00:26:48 2016 -0500 Update expected output of notebook css node test The stack node is new. testsuite/css/nodes/notebook.nodes | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 93aac8a86c27a73734af49255a22ba97c9b237f5 Author: Matthias Clasen Date: Wed Jan 13 00:24:40 2016 -0500 notebook: Document the .dnd style class We should aim to document all style classes that themes can encounter during the normal operation of a widget. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit ea4cff1ea45413ef0ecd8e09af97199c788c9957 Author: Matthias Clasen Date: Wed Jan 13 00:05:16 2016 -0500 Use convenience API that was introduced recently Use gtk_css_gadget_set_state in all the places where we previously were getting a node from a gadget, just to call gtk_css_node_set_state. gtk/gtkcheckbutton.c | 5 +++-- gtk/gtkcheckmenuitem.c | 3 +-- gtk/gtkcolorswatch.c | 4 ++-- gtk/gtkentry.c | 2 +- gtk/gtkexpander.c | 4 ++-- gtk/gtkframe.c | 5 +---- gtk/gtklevelbar.c | 7 +++---- gtk/gtkmenu.c | 6 ++---- gtk/gtkmodelbutton.c | 4 ++-- gtk/gtkprogressbar.c | 8 ++++---- gtk/gtkspinbutton.c | 6 ++---- 11 files changed, 23 insertions(+), 31 deletions(-) commit 64b499be6616c909ea6544f03520e0c928b8d302 Author: Matthias Clasen Date: Wed Jan 13 00:01:14 2016 -0500 builtin icon: Don't save/restore cairo state The reason why this was introduced is now handled in gtk_css_stylke_render_icon since commit 0138af9f9684c0ec436b37e5962e9f82607d3ff8. gtk/gtkbuiltinicon.c | 2 -- 1 file changed, 2 deletions(-) commit c71089a0383ec0368dc6855492b94d7277053f6a Author: Matthias Clasen Date: Tue Jan 12 23:57:35 2016 -0500 box gadget: Add some documentation gtk/gtkboxgadget.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 2677eee720f498a58540a694d6cb1498bebcfbeb Author: Matthias Clasen Date: Tue Jan 12 23:40:28 2016 -0500 box: Document child node ordering gtk/gtkbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d7e5fd2e2fa505535ddf31feda1ac0164061bd43 Author: Dominique Leuenberger Date: Tue Jan 12 08:29:00 2016 +0000 QEMU USB Tablet is not really a tablet - it's a trick Unfortunately, Qemu gives us this confusing device to work with, and the best we can do is filter it out based on its name. https://bugzilla.gnome.org/show_bug.cgi?id=760445 gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit f4d2d66b1e2dd36666cf78dc89df1ae5bebefb64 Author: Ting-Wei Lan Date: Mon Jan 11 11:46:45 2016 +0800 broadway: Call setlocale in main function of broadwayd It is required to correctly show translated messages on some locales. https://bugzilla.gnome.org/show_bug.cgi?id=760416 gdk/broadway/broadwayd.c | 3 +++ 1 file changed, 3 insertions(+) commit b8db48079f7716290464cbee9ae879c95d406c65 Author: Timm Bäder Date: Tue Jan 12 21:37:27 2016 +0100 switch: Fix text positioning https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkswitch.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a8ceeb17667e40b61806e3e9a8e631c304e30b17 Author: Timm Bäder Date: Tue Jan 12 21:36:37 2016 +0100 switch: Don't include margins in input window size https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkswitch.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit ff7e2797f6ffb61eb5dcb7865a85322c8ef22238 Author: Timm Bäder Date: Tue Jan 12 20:25:25 2016 +0100 modelbutton: Don't include margins in input window size https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkmodelbutton.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) commit 788ee466b8874d940a0f0122f870ecbdcb2602d3 Author: Timm Bäder Date: Tue Jan 12 20:18:08 2016 +0100 button: Don't include margins in input window size And do the same thing for GtkCheckButton https://bugzilla.gnome.org/show_bug.cgi?id=760509 gtk/gtkbutton.c | 19 +++++++++++-------- gtk/gtkcheckbutton.c | 19 +++++++++++-------- 2 files changed, 22 insertions(+), 16 deletions(-) commit 19fa89306788eb05f808cd52c9113e3cbdaa1e71 Author: Timm Bäder Date: Fri Jan 8 17:30:47 2016 +0100 entry: typo gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ba5e38c91685e424a64562c1ab07bb309d0efdc Author: Alberts Muktupāvels Date: Tue Jan 12 09:51:26 2016 +0200 gdkseat: remove return from gdk_seat_ungrab gdk/gdkseat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8cb515e2f304be67dc60900a069b85c064b2b66a Author: Timm Bäder Date: Tue Jan 12 09:32:04 2016 +0100 Remove stray semicolon Gets rid of a mixed code/declaration warning. gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5d3556f98352e0fbeec5df969312328c769fca4 Author: Matthias Clasen Date: Mon Jan 11 23:20:26 2016 -0500 HighContrast: Fix selection in .views Copy Adwaita fixes from 21a2fce8ba2a48fe3781e7a1f02b33e3a7bfd9ac. gtk/theme/HighContrast/_common.scss | 26 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 733 ++++++++++++----------- gtk/theme/HighContrast/gtk-contained.css | 683 +++++++++++---------- 3 files changed, 744 insertions(+), 698 deletions(-) commit 52a34d32bb2e104de3ec242ee142ff22842909a4 Author: Matthias Clasen Date: Mon Jan 11 22:48:35 2016 -0500 Fix corner manipulation when growing rounded rects This addresses problems with uneven border radius', pointed out by Lapo. gtk/gtkroundedbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7e5952c4eae948575f294fe567107817208739dc Author: Ben Iofel Date: Mon Jan 11 19:13:30 2016 -0500 GTK Notebook: use the right enum type gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c3bad3d907f3b824d93931edf7fb3eaf68f35f8 Author: Lapo Calamandrei Date: Tue Jan 12 01:03:47 2016 +0100 Adwaita: popover style fixes gtk/theme/Adwaita/_colors.scss | 1 + gtk/theme/Adwaita/_common.scss | 12 ++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 15 +++------------ gtk/theme/Adwaita/gtk-contained.css | 15 +++------------ 4 files changed, 11 insertions(+), 32 deletions(-) commit 21a2fce8ba2a48fe3781e7a1f02b33e3a7bfd9ac Author: Lapo Calamandrei Date: Tue Jan 12 00:16:12 2016 +0100 Adwaita: make selection visible in treeview derived widgets See https://bugzilla.gnome.org/show_bug.cgi?id=757503 gtk/theme/Adwaita/_common.scss | 26 +- gtk/theme/Adwaita/gtk-contained-dark.css | 853 ++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 911 +++++++++++++++++-------------- 3 files changed, 964 insertions(+), 826 deletions(-) commit 473433c93d5e2c57e265ead893b96570569b5b17 Author: Hashem Nasarat Date: Mon Jan 11 01:02:41 2016 -0500 Adwaita: fix separator margin in popovers Commit 0b96b8a1 set margins via css, but accidentally changed the semantics of margins for separators in popovers so that any separator in a gtkpopover had a margin. This meant that the separators in GtkListBoxes in popovers also had a margin around their separators, and this is not what we want because it doesn't match separators in listboxes not in popovers. https://bugzilla.gnome.org/show_bug.cgi?id=760427 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 2c0b251dac2816133f5fddc4715a23d8050acb76 Author: Matthias Clasen Date: Mon Jan 11 15:09:47 2016 -0500 Improve deprecation note for gdk_device_manager_get_client_pointer List gdk_seat_get_pointer as replacement. Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkdevicemanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c50250273eb17966c10a1ec9059067887c55bea Author: Matthias Clasen Date: Mon Jan 11 15:06:15 2016 -0500 Fix the deprecation note for gdk_device_manager_list_devices Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkdevicemanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 63365d5044145c885c88aa75a68172bd2c7ea7aa Author: Matthias Clasen Date: Mon Jan 11 15:04:32 2016 -0500 Fix the annotation for gdk_seat_get_slaves Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=759785 gdk/gdkseat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0167f7c65c95b3bcf2d4800c1eceaf8f916ea303 Author: Carlos Garnacho Date: Mon Jan 11 20:06:14 2016 +0100 GtkWidget: Fix motion event consumption detection for touch-only gestures If a GtkGestureSingle is set as touch-only, pointer events would be discarded without giving an opportunity to the regular GtkGesture handler to manage those. Because the pointer events weren't actually managed by the gesture, gtk_gesture_get_sequence_state() (rather unhelpfully here) will resort to returning GTK_EVENT_SEQUENCE_NONE, which is in turn interpreted by _gtk_widget_consumes_motion() as "may be handling the events for this sequence", because gestures in this state presumably handle the events, just that it's not "claimed" yet. Instead, use gtk_gesture_handles_sequence(), which will perform the expected check on the event sequence being managed, as we expect here. gtk/gtkwidget.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 32eda187ee829a8550a3ec07d407dea4c0c89992 Author: Matthias Clasen Date: Mon Jan 11 13:58:37 2016 -0500 Actually deprecate GtkNotebook::has-tab-gap gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 990be25d6366849d6fc32acfa02c19c4a65a26b4 Author: Matthias Clasen Date: Mon Jan 11 13:55:23 2016 -0500 notebook: Update CSS node docs The stack node is new. gtk/gtknotebook.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 3a8dc01ed22ca627720642f5dcb53c66cd18b2ba Author: Benjamin Otte Date: Mon Jan 11 17:52:38 2016 +0100 notebook: Don't reparent tab label when drag stops Use the same unrealize + set_parent_window() trick that we used in 6d5edd18cf5637274762b7a51488d27d5bed600d when dragging starts. gtk/gtknotebook.c | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) commit b917a0b155b005dee625b3b35f1072c916023640 Author: Benjamin Otte Date: Mon Jan 11 17:46:15 2016 +0100 notebook: Add .dnd style class to tabs during reorder gtk/gtknotebook.c | 3 +++ 1 file changed, 3 insertions(+) commit 6d5edd18cf5637274762b7a51488d27d5bed600d Author: Benjamin Otte Date: Sat Jan 9 14:25:26 2016 +0100 notebook: Don't unparent tab label for drag When a tab drag starts, we need to move the tab label into the drag window via gtk_widget_set_parent_window(). If we don't unparent, but just unrealize the widget, we don't lose the cssnode position. gtk/gtknotebook.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit fdc13f315b3d00a632fa50a90d583d156d0785cd Author: Benjamin Otte Date: Thu Jan 7 15:54:58 2016 +0100 notebook: Don't limit motion notify framerate We have a frameclock for that these days. In particular, this limiting worked at 45fps when monitors are all 60fps. gtk/gtknotebook.c | 8 -------- 1 file changed, 8 deletions(-) commit d74c1bfd849cee88c7163ded68a749ce7ac7c2e8 Author: Benjamin Otte Date: Thu Jan 7 12:30:05 2016 +0100 notebook: Remove outdated style properties from themes No replacement provided, the notebook will have to be redone anyway. gtk/theme/Adwaita/_common.scss | 5 ----- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- gtk/theme/HighContrast/_common.scss | 5 ----- gtk/theme/HighContrast/gtk-contained-inverse.css | 4 ---- gtk/theme/HighContrast/gtk-contained.css | 4 ---- 6 files changed, 26 deletions(-) commit 8020d5f93a791b76c2777e8ddcd4046ba838534e Author: Benjamin Otte Date: Thu Jan 7 12:28:24 2016 +0100 notebook: Don't store gadget allocation twice If we care about a gadget's allocation, we can ask it. There's no need to store it in GtkNotebookPage.allocation. gtk/gtkcssgadget.c | 24 +++++++++ gtk/gtkcssgadgetprivate.h | 3 ++ gtk/gtknotebook.c | 121 ++++++++++++++++++++++------------------------ 3 files changed, 85 insertions(+), 63 deletions(-) commit 2ef3b0144281433dc05b4ac05a4f87ba65482a61 Author: Benjamin Otte Date: Thu Jan 7 12:21:25 2016 +0100 notebook: No need to recompute remaining space The value is correct. In particular, subtracting width on notebooks with tabs on left/right is a very bad idea. gtk/gtknotebook.c | 1 - 1 file changed, 1 deletion(-) commit 4c083f818290b45645ab72eb80c7ff871ef20576 Author: Benjamin Otte Date: Wed Jan 6 17:41:41 2016 +0100 notebook: Port arrows to be gadgets Also deprecate the arrow-spacing style property. gtk/gtknotebook.c | 628 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 395 insertions(+), 233 deletions(-) commit 326fda1b0e6e0f3ea49e7039a2553a2e3d1f4436 Author: Benjamin Otte Date: Tue Dec 29 19:31:04 2015 +0100 notebook: Pass full allocation instead of min and max value gtk/gtknotebook.c | 97 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 49 insertions(+), 48 deletions(-) commit 96f0cf767785a806f67f8b1eaf95f0991b3c7114 Author: Benjamin Otte Date: Tue Dec 29 19:18:02 2015 +0100 notebook: Pass allocation as argument ... instead of querying it later. gtk/gtknotebook.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) commit 6b8c19109667be248cb2996a00554cbb11f37293 Author: Benjamin Otte Date: Tue Dec 29 04:42:29 2015 +0100 notebook: Simplify allocation code gtk/gtknotebook.c | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) commit 0e48216c483b46528474785343fb0c3fe702e8e5 Author: Benjamin Otte Date: Fri Dec 25 23:44:08 2015 +0100 notebook: Identify existence of arrows differently Instead of having gbooleans in the priv struct, just look at the existence of priv->arrow_node[i]. gtk/gtknotebook.c | 115 ++++++++++++++++-------------------------------------- 1 file changed, 34 insertions(+), 81 deletions(-) commit a12e1328e94fa51f49d05858284d78aa399b5ddf Author: Benjamin Otte Date: Fri Dec 25 02:39:43 2015 +0100 notebook: Convert tab nodes to gadgets The code does many bad things, so we get a lot of warning spew. Ignore this for now, fixes will follow. gtk/gtknotebook.c | 429 +++++++++++++++++++++++++----------------------------- 1 file changed, 195 insertions(+), 234 deletions(-) commit d780ce3ff38117b359158946773b32df2eae75ad Author: Benjamin Otte Date: Fri Dec 25 02:12:15 2015 +0100 notebook: Assume tab allocations always change This causes more redraws, but saves a bunch of code. gtk/gtknotebook.c | 39 ++++++--------------------------------- 1 file changed, 6 insertions(+), 33 deletions(-) commit 7e0c7f7deb8e93322e2b171203acc5007a7c7ab9 Author: Benjamin Otte Date: Fri Dec 25 01:27:22 2015 +0100 notebook: Remove weird hack where the current page was special-cased I don't even know what it does, but it assumed that the current page was always as large or larger than any other page. And that isn't true. gtk/gtknotebook.c | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) commit 3cda7e9503fabbec04f84357386ebf13c7ec0b4b Author: Benjamin Otte Date: Fri Dec 25 01:19:31 2015 +0100 boxgadget: Handle css nodes Automatically insert the cssnode into the box gadget's node's children at the right place and remove it again when done. gtk/gtkboxgadget.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit a9320d93f69b95a1a507cde080a56fe2b45ceb08 Author: Benjamin Otte Date: Thu Dec 24 20:38:24 2015 +0100 notebook: Replace redraw_tabs() with gadget_queue_draw(tabs_gadget) gtk/gtknotebook.c | 68 ++++++++----------------------------------------------- 1 file changed, 10 insertions(+), 58 deletions(-) commit f83c1fedbc12b741e10df1f03de11ab8fceba42f Author: Benjamin Otte Date: Thu Dec 24 20:34:54 2015 +0100 notebook: Don't queue redraw of tabs junction There is no junction anymore, so don't try to redraw it. gtk/gtknotebook.c | 65 ------------------------------------------------------- 1 file changed, 65 deletions(-) commit f1e277969a7f7f45b840823a641fc43566e3ebfa Author: Benjamin Otte Date: Thu Dec 24 20:33:36 2015 +0100 gadget: Add queue_resize/allocate/draw() functions gtk/gtkcssgadget.c | 42 +++++++++++++++++++++++++++++++----------- gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 35 insertions(+), 11 deletions(-) commit e1722baf57fc64f0ee7bcd519cb2e715213171c8 Author: Benjamin Otte Date: Thu Dec 24 15:26:11 2015 +0100 notebook: Convert tabs node to a gadget And in turn, convert the header gadget to a box gadget. gtk/gtknotebook.c | 340 ++++++++++++++++++++---------------------------------- 1 file changed, 122 insertions(+), 218 deletions(-) commit acc534ebfa2a3c292aca590c8a116a6340d2274d Author: Benjamin Otte Date: Wed Dec 23 04:09:30 2015 +0100 boxgadget: Add Adds a GtkBoxGadget that is a Gadget that behaves like a GtkBox. Use this gadget to implement the notebook base gadget. gtk/Makefile.am | 2 + gtk/gtkboxgadget.c | 511 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 74 +++++++ gtk/gtknotebook.c | 334 +++++++----------------------- 4 files changed, 658 insertions(+), 263 deletions(-) commit 749855c1d1857f08b8c2d5b73c0e2dca1310cb2f Author: Benjamin Otte Date: Wed Dec 23 03:40:48 2015 +0100 notebook: Remove unused function call gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit 70b9aacfc22b629c9f9c467035baacc088a8a060 Author: Benjamin Otte Date: Wed Dec 23 03:39:12 2015 +0100 notebook: Simplify event window position computation The event window should overlay the header gadget, so just return its position. gtk/gtknotebook.c | 90 +++++++++---------------------------------------------- 1 file changed, 14 insertions(+), 76 deletions(-) commit ad245e02265379e8aadbe0d299f62339ff0f3d11 Author: Benjamin Otte Date: Wed Dec 23 01:18:30 2015 +0100 notebook: Introduce gtk_notebook_has_current_page() GtkNotebook does not switch the current page if all pages are hidden. So it may be that no visible page exsits, but there still is a current page set. We culd clear the current page, but I'm unsure about backwards compatibility. So instead, this new function handles that case. gtk/gtknotebook.c | 55 ++++++++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) commit 0d72055b890150addea3d85047045093d013377a Author: Benjamin Otte Date: Tue Dec 22 23:03:38 2015 +0100 notebook: Use gtk_container_class_handle_border_width() gtk/gtknotebook.c | 77 +++++++++++++++++++------------------------------------ 1 file changed, 27 insertions(+), 50 deletions(-) commit f34059c3b62df3a3e3a8ae3941a6edc5e6c29945 Author: Benjamin Otte Date: Sat Dec 19 22:25:34 2015 +0100 notebook: Convert header node to a gadget This allows reworking the content node to do real height-for-width. The content node also takes care of border width, but we might want to have the toplevel do it or just get rid of it. gtk/gtknotebook.c | 579 +++++++++++++++++++++++++++++------------------------- 1 file changed, 308 insertions(+), 271 deletions(-) commit 8c1a73326c2871206a007b55da587000760cc15b Author: Benjamin Otte Date: Sat Dec 19 08:46:28 2015 +0100 gadget: Add helpers for modifying state They will be used in future commits. I also was too lazy to convert existing widgets. gtk/gtkcssgadget.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 6 ++++++ 2 files changed, 56 insertions(+) commit e27551ddb276ee50a879a552f8fad7290502aff5 Author: Benjamin Otte Date: Sat Dec 19 08:35:18 2015 +0100 notebook: Add a stack gadget The stack gadget contains all the child widgets. gtk/gtknotebook.c | 152 ++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 119 insertions(+), 33 deletions(-) commit c03fed4840bb0b07fb950f46e20e8c6b7dbb7c3e Author: Benjamin Otte Date: Sat Dec 19 08:10:35 2015 +0100 notebook: Remove extra calls to gtk_notebook_pages_allocate() The function is called during size_allocate() and doesn't need to be called elsewhere, as all other callers call queue_resize() already. gtk/gtknotebook.c | 9 --------- 1 file changed, 9 deletions(-) commit 33b6e30f68fd9a50cec90f0eabe9a84d1c83f9e9 Author: Benjamin Otte Date: Sat Dec 19 08:04:41 2015 +0100 notebook: Remove unnessecary gtk_widget_set_mapped() We chain up, and the chainedup function calls this for us. gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit dc4148c4e2d17e43f9c06dd41334de642755ce0d Author: Benjamin Otte Date: Sat Dec 19 08:03:41 2015 +0100 notebook: Simplify gtk_notebook_map() We set visibility on our children properly, so we can simply chain up and let the GtkContainer implementation do the mapping of children. gtk/gtknotebook.c | 37 +------------------------------------ 1 file changed, 1 insertion(+), 36 deletions(-) commit 22398ef4591d896190be049e0ee6ba4ab32f6059 Author: Benjamin Otte Date: Sat Dec 19 06:58:14 2015 +0100 notebook: Remove irrelevant case The page is never the current page, because it was just created and the current page wasn't changed yet. gtk/gtknotebook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0e528ec74e39bc9b726f8a1a32236d36b904261d Author: Benjamin Otte Date: Sat Dec 19 06:56:48 2015 +0100 notebook: No page switching in size request code We have page switching under control now, we don't need to check every get_preferred_size() call. gtk/gtknotebook.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) commit 1190efebce5892f80545a91461c6b9c80abfd7e7 Author: Benjamin Otte Date: Sat Dec 19 06:56:04 2015 +0100 notebook: Set the current page when none is set This case happens when you gtk_widget_show_all (notebook). gtk/gtknotebook.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 0045e57e96eeffd3ff914a47fa2ac1e5dc1a3966 Author: Benjamin Otte Date: Sat Dec 19 03:57:43 2015 +0100 notebook: Draw the same things, no matter the show-border value show-border modifies the "frame" style class on the notebook node, but not what we actually draw. gtk/gtknotebook.c | 66 ++++++++++++++++++++++++++----------------------------- 1 file changed, 31 insertions(+), 35 deletions(-) commit fd9ffe5d577135f17a81b9422c37617816ebb1ad Author: Benjamin Otte Date: Fri Dec 18 00:47:03 2015 +0100 notebook: Turn the base notebook into a gadget gtk/gtknotebook.c | 266 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 140 insertions(+), 126 deletions(-) commit 92089ee29e9c614187870fcf3347b0a908fa9e42 Author: Benjamin Otte Date: Thu Dec 17 13:16:12 2015 +0100 notebook: Draw tab label while drawing tab Instead of having special case code doing it. gtk/gtknotebook.c | 27 ++++----------------------- 1 file changed, 4 insertions(+), 23 deletions(-) commit 3d980da4050851a9ce082e7f1290162fd8a98b76 Author: Benjamin Otte Date: Thu Dec 17 05:51:38 2015 +0100 notebook: Don't translate before painting notebook This will allow us to draw children directly from within the notebook drawing code, which will remove a bunch of special casing. gtk/gtknotebook.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit 93dc364b02fb28a60c3ef94efbd37ca3dd560be6 Author: Benjamin Otte Date: Thu Dec 17 05:27:51 2015 +0100 notebook: Deprecate and stop supporting has-tab-gap style property gtk/gtknotebook.c | 128 +--- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 794 ++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 780 ++++++++++------------ gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk-contained-inverse.css | 643 +++++++++--------- gtk/theme/HighContrast/gtk-contained.css | 593 +++++++++-------- 7 files changed, 1344 insertions(+), 1596 deletions(-) commit 71cc212eb5778a09bed809ec8473b6040784d930 Author: Benjamin Otte Date: Thu Dec 17 02:39:24 2015 +0100 notebook: Ignore and deprecate style properties Deprecate initial-gap, tab-curvature and tab-overlap properties. All their features can be achieved using CSS. This CSS achieves the same effect as a 10px initial gap: notebook header { margin-left: 10px; margin-right: 10px; } A tab overlap of 10px can be achieved via: notebook tabs { margin-left: 10px; } notebook tab { margin-left: -10px; } And tab curvature is essentially the same as padding or border on a tab. gtk/gtknotebook.c | 174 +++++++++++++++--------------------------------------- 1 file changed, 47 insertions(+), 127 deletions(-) commit 0138af9f9684c0ec436b37e5962e9f82607d3ff8 Author: Benjamin Otte Date: Wed Jan 6 18:14:11 2016 +0100 rendericon: Save and restore cairo matrix ... instead of requiring cairo_save()/cairo_restore(). gtk/gtkrendericon.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4e627e108e1b8af5bf2ffc4fdd6dc2eab3ad1166 Author: Benjamin Otte Date: Thu Dec 24 18:21:38 2015 +0100 testnotebookdnd: Add an action widget Just so we have some test that tests action widgets. tests/testnotebookdnd.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit fa7816d99c70a759d67ddc09bc2cadf7cf2a29dd Author: Benjamin Otte Date: Sat Dec 19 08:09:06 2015 +0100 dnd: When setting a dnd icon widget, unset old one Setting a DND icon twice should actually work and not cause warnings the 2nd time. gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) commit fb0a628975581cc7c6949ae0cde42557010a8ee5 Author: Jiro Matsuzawa Date: Mon Jan 11 23:58:16 2016 +0900 Updated Japanese translation Change B series paper names in accordance with the Japanese standards. po/ja.po | 1454 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 788 insertions(+), 666 deletions(-) commit 67c6d24bb2833a60bdb81d1feb3081bd14c63d8d Author: Krzesimir Nowak Date: Mon Jan 11 12:05:18 2016 +0100 Fix a small mistake in stylecontext docs Fix the "will be also be" to become "will also be". gtk/gtkstylecontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7a06e0102dbf211509a00b5ada7eaa50d6e0be53 Author: Dušan Kazik Date: Mon Jan 11 09:48:05 2016 +0000 Updated Slovak translation po/sk.po | 107 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 52 insertions(+), 55 deletions(-) commit b035cc2cb61eb07884036f854c50a253c27f1cef Author: Matthias Clasen Date: Sun Jan 10 17:08:56 2016 -0500 Update style class docs Instead of pointing to (outdated) widgets here, just refer to widget docs in general. gtk/gtkstylecontext.h | 213 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 127 insertions(+), 86 deletions(-) commit cffe2e2c93a80d5cf23c7ec6586c3eec6ae713c3 Author: Matthias Clasen Date: Sun Jan 10 16:22:03 2016 -0500 Improve GtkStyleContext docs Refer to the foreign drawing example in gtk3-demo, refer to the widget documentation for style properties, remove no-longer-used treeview regions. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstylecontext.c | 75 ++++++++++++++++++------------------ 2 files changed, 38 insertions(+), 38 deletions(-) commit 7ee65da0e3c4a7e5552450ec37e691abb1c62b28 Author: Matthias Clasen Date: Sun Jan 10 15:32:53 2016 -0500 Add foreigndrawing example to gtk3-demo This makes it easier accessible and nicer to refer to from the documentation. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + {tests => demos/gtk-demo}/foreigndrawing.c | 77 +++++++++++++++--------------- tests/Makefile.am | 1 - 4 files changed, 40 insertions(+), 40 deletions(-) commit 6d239cfba714fd11bd5e78d374aa182520c5819e Author: Matthias Clasen Date: Sun Jan 10 14:50:24 2016 -0500 Add a css style test for adjacent states This test checks that the selector E:state + F works as expected. https://bugzilla.gnome.org/show_bug.cgi?id=722727 testsuite/css/style/Makefile.am | 11 +++---- testsuite/css/style/adjacent-states.css | 7 +++++ testsuite/css/style/adjacent-states.nodes | 13 ++++++++ testsuite/css/style/adjacent-states.ui | 49 +++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 5 deletions(-) commit 0f120ea5101f9f47212b0afd583e9469187b1e0f Author: Ting-Wei Lan Date: Sat Jan 9 17:24:12 2016 +0800 Cast the return value of g_array_free to void* before casting to char** Let the compiler know that we don't want to use it as char*, so there is no alignment error. https://bugzilla.gnome.org/show_bug.cgi?id=760350 https://bugzilla.gnome.org/show_bug.cgi?id=755659 gtk/gtkactionmuxer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2dc8d1f611094dfba1d635c43e20967c99a944a3 Author: Rico Tzschichholz Date: Sun Jan 10 16:49:42 2016 +0100 GdkSeat: Fix annotation of gdk_seat_grab() gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0ddc1eed1904c0df8789ea678569629f8dfdddc4 Author: Matthias Clasen Date: Sat Jan 9 23:42:37 2016 -0500 Fix rendering of unsymmetric borders There was an errant path that threw off our clipping for the top section of the border. https://bugzilla.gnome.org/show_bug.cgi?id=722937 gtk/gtkrenderborder.c | 1 - 1 file changed, 1 deletion(-) commit caaf537f94f0e03aabadef8c80a7a39dda02e2ff Author: Matthias Clasen Date: Sat Jan 9 17:30:33 2016 -0500 Avoid division by 0 in the border rendering code We skip sides with 0 border width in render_border, but when we collect sides with the same style, we may pass the 0 width down to render_frame_stroke anyway. So skip width 0 sides there as well. gtk/gtkrenderborder.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d0173763eb89f221636a07a28e45f9c29f8a069 Author: Jiri Grönroos Date: Sat Jan 9 21:39:37 2016 +0000 Updated Finnish translation po/fi.po | 1654 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 829 insertions(+), 825 deletions(-) commit 12bc8ddb934f76396b070b9aeb47346e62cc70a5 Author: Matthias Clasen Date: Sat Jan 9 14:36:05 2016 -0500 Fix dobule border rendering This is the same fix that was applied for ridge and groove style in 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6. gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 152171e60c1393e7856579e8af4831c1407d8fcf Author: Lapo Calamandrei Date: Sat Jan 9 20:05:41 2016 +0100 Adwaita: transparent background for progressbar.osd Hopefully fixes https://bugzilla.gnome.org/show_bug.cgi?id=760331 Added the .osd style class to the progressbar docs. gtk/gtkprogressbar.c | 4 +++- gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 4 files changed, 10 insertions(+), 4 deletions(-) commit 6da0a0a106cebb1f06194c711820ddfa8c127ca8 Author: Lapo Calamandrei Date: Sat Jan 9 19:27:15 2016 +0100 gtkheaderbar: add titlebutton styleclass to the separator ...of the window control buttons gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit 99365753bf8cef94774761bf717945ba9ead21ed Author: Lapo Calamandrei Date: Sat Jan 9 18:03:26 2016 +0100 Adwaita: shortcut window related fixes gtk/theme/Adwaita/_common.scss | 37 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 30 +++++++++++++++++++------- 3 files changed, 72 insertions(+), 25 deletions(-) commit 44e0e1359c94a0dbd760fa51ff55034d1f8729d5 Author: Lapo Calamandrei Date: Sat Jan 9 15:30:20 2016 +0100 Adwaita: avoid colorswatch growing when drop targets gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) commit 239303b3f83f52c519baba756d965f61083b6f71 Author: Lapo Calamandrei Date: Sat Jan 9 14:36:05 2016 +0100 Adwaita: more scss cosmetics gtk/theme/Adwaita/_common.scss | 995 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 133 +++-- gtk/theme/Adwaita/gtk-contained.css | 133 +++-- 3 files changed, 801 insertions(+), 460 deletions(-) commit 2050ed04dd4dbaf07d62c0f4f7a7b3827deda0e0 Author: Lapo Calamandrei Date: Sat Jan 9 13:35:48 2016 +0100 Adwaita: rely on background-image for paned wide separators this workaround fixes the rendering issue coming out using borders gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) commit 4355cb45d799d188abe8e17ae4e192dc40336ba9 Author: Lapo Calamandrei Date: Sat Jan 9 13:04:27 2016 +0100 Adwaita: make the paned wide separator scss code correct unfortunatelly the results are not, borders behaves in a weird way here as well, if this don't get fixed I'll rely on background here too. gtk/theme/Adwaita/_common.scss | 36 +++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 23 +++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 23 +++++++++++++------- 3 files changed, 58 insertions(+), 24 deletions(-) commit 2b57ba61d5de63d6e19b0cadb238bf27d7984fc4 Author: Lapo Calamandrei Date: Sat Jan 9 12:38:49 2016 +0100 Adwaita: some scss cosmetic changes gtk/theme/Adwaita/_common.scss | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) commit f09483bb98603a66aa25a75c549b54167245c038 Author: Lapo Calamandrei Date: Sat Jan 9 12:31:41 2016 +0100 Adwaita: fix thin paned separators gtk/theme/Adwaita/_common.scss | 31 +++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 31 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 31 ++++++++++++++++++++----------- 3 files changed, 61 insertions(+), 32 deletions(-) commit b143ed98b3194e2116729a9596c2a2bc7217c40a Author: Lapo Calamandrei Date: Sat Jan 9 12:05:31 2016 +0100 Adwaita: use stricter selectors on paned separators this fixes the "fat" separator on gedit headerbar, since it was cought by the paned separator styling. gtk/theme/Adwaita/_common.scss | 18 +++++++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 23 insertions(+), 27 deletions(-) commit 367543c0e8ed7e86b9fc7d26edd04a7e95d06f36 Author: Lapo Calamandrei Date: Sat Jan 9 11:55:40 2016 +0100 Adwaita: remove old headerbar separator styling which was actually selecting nothing now. gtk/theme/Adwaita/_common.scss | 16 ---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ------- gtk/theme/Adwaita/gtk-contained.css | 7 ------- 3 files changed, 30 deletions(-) commit 4853303dd7f87b6932841895ad54d18531cae20e Author: Lapo Calamandrei Date: Sat Jan 9 11:25:08 2016 +0100 Adwaita: add vertical margins to headebar entries and separators gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) commit bf48dd9d7c4bbf825a0540bfaf1f52c64738ac4e Author: Lapo Calamandrei Date: Sat Jan 9 10:19:47 2016 +0100 Adwaita: add vertical margins to headerbar buttons to avoid them spanning the whole headerbar height with the changes introduced in my last commit. gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 23 insertions(+) commit 3a774abbfe05ab3a0d650c1d69fb7824d415a88a Author: Matthias Clasen Date: Fri Jan 8 23:31:48 2016 -0500 CSS documenation improvements Work around some problems with the formatting of the online docs, and split off the properties as a separate chapter. docs/reference/gtk/Makefile.am | 3 +- docs/reference/gtk/css-overview.xml | 984 ++++++++++++++ docs/reference/gtk/{css.xml => css-properties.xml} | 1415 ++++---------------- docs/reference/gtk/gtk-docs.sgml | 3 +- 4 files changed, 1215 insertions(+), 1190 deletions(-) commit d8c1e6db216a55f78b42e7d4540b7134b51a483a Author: Matthias Clasen Date: Fri Jan 8 14:51:36 2016 -0500 3.19.6 NEWS | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 78 insertions(+), 1 deletion(-) commit 375619f9f4a04808bb186cdff3fa84a703446e1c Author: Matthias Clasen Date: Fri Jan 8 17:51:53 2016 -0500 Fix make dist I've forgotten another place when renaming HighContrast inverse. gtk/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 1eaf035a78bc0c804f203062c731ff6fe63878d5 Author: Matthias Clasen Date: Fri Jan 8 15:56:27 2016 -0500 reftests: Drop deprecated style properties testsuite/reftests/reset-to-defaults.css | 4 ---- 1 file changed, 4 deletions(-) commit fe35836168e75bc8f83a58d6599b7eb920697cd9 Author: Matthias Clasen Date: Fri Jan 8 15:45:32 2016 -0500 Update expect output of a11y tests testsuite/a11y/menu.txt | 8 -------- testsuite/a11y/menubutton.txt | 8 -------- testsuite/a11y/menubutton2.txt | 34 +++++++++++++--------------------- testsuite/a11y/menubutton3.txt | 34 +++++++++++++--------------------- testsuite/a11y/menus.txt | 8 -------- testsuite/a11y/scale-drawvalue.txt | 8 -------- testsuite/a11y/tooltips.txt | 8 -------- 7 files changed, 26 insertions(+), 82 deletions(-) commit e84f1ae3bbc9ebab345e3858e7f3ad28b5cbe737 Author: Matthias Clasen Date: Fri Jan 8 15:38:38 2016 -0500 Update the list of required cursors We're now using standard cursor names for DND, so check for these. testsuite/gtk/check-cursor-names.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 771149e19a81fce3ff7a820412376cd8cfe5c069 Author: Matthias Clasen Date: Fri Jan 8 15:38:02 2016 -0500 wayland: Ensure we have a dnd-ask cursor We use this for DND, so make sure that we fall back to some other cursor if this one isn't present. gdk/wayland/gdkcursor-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 04a9b5b5f84cabc214efd585f3a2c7c7e90a9b88 Author: Matthias Clasen Date: Fri Jan 8 15:37:10 2016 -0500 x11: Ensure we have a dnd-ask cursor We use this for DND, so make sure that we fall back to some other cursor if this one isn't present. gdk/x11/gdkcursor-x11.c | 1 + 1 file changed, 1 insertion(+) commit 4b7c8218fb5aef3aa25c9ca65fd919f9024dad54 Author: Matthias Clasen Date: Fri Jan 8 15:36:32 2016 -0500 Use standard cursor names for DND At least as far as we have them. CSS has on equivalent of dnd-ask, so we keep using that name as-is. gtk/gtkdnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f2685ddf5e0bdaaaf28d7b4abd49b8d9c29a031b Author: Cosimo Cecchi Date: Fri Jan 8 14:58:25 2016 -0800 colorswatch: don't apply padding twice Instead of taking the border and manually removing it from the allocation, render our background over all the border allocation box, as that's more correct and does not take padding into account twice. gtk/gtkcolorswatch.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit e62f1604f97a6ca26aab4780fb9504c4b06a921e Author: Carlos Garnacho Date: Thu Dec 24 19:03:02 2015 +0100 paned: Use GtkGestureDrag for anything else than touch The GtkGesturePan behavior of locking onto certain orientations may come across as confusing, and is not strictly necessary for mice and other pointing devices. As GtkGesturePan is also a GtkGestureDrag, we just use the same callbacks on both gestures. https://bugzilla.gnome.org/show_bug.cgi?id=759670 gtk/gtkpaned.c | 67 ++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 44 insertions(+), 23 deletions(-) commit ad0fc8ae7e24f47120520072cd6089a2ad8d3b5f Author: Carlos Garnacho Date: Fri Jan 8 21:45:03 2016 +0100 wayland: Force the grab cursor while a grab is active When a cursor is specified in gdk_seat_grab(), the cursor is reverted as soon as the pointer enters or leaves another window. To avoid this issue, store the grab cursor separately, so we force-apply it in ::set_window_cursor(). Also, unset early the seat info from the window on gdk_seat_ungrab(), so the next time switch_to_pointer_grab() happens we end up picking the cursor set for the window underneath the pointer window. Based on a patch by Olivier Fourdan . https://bugzilla.gnome.org/show_bug.cgi?id=760213 gdk/wayland/gdkdevice-wayland.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit 23b629e27cd1449b0af708e69af94d532a577270 Author: Carlos Garnacho Date: Thu Jan 7 18:55:04 2016 +0100 x11: Initialize GdkWindowAttr struct memory Valgrind complains about jumps based on uninitialized values otherwise. gdk/x11/gdkdnd-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 48fbe5137e98e82dbff40d8b56584c39466fb06a Author: Lapo Calamandrei Date: Fri Jan 8 20:56:40 2016 +0100 Adwaita: avoid too tall headerbars the vertical padding from the headerbar has been removed, now the sizing is done with min-height, this avoids title and subtitle labels making the headbar. gtk/theme/Adwaita/_common.scss | 11 ++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 9 ++++++--- gtk/theme/Adwaita/gtk-contained.css | 9 ++++++--- 3 files changed, 20 insertions(+), 9 deletions(-) commit b94f30bb64bd84ad62b4451c88aeca1f06a1959a Author: Matthias Clasen Date: Fri Jan 8 13:48:10 2016 -0500 Avoid an X error We are getting the mime data destroy notify called when we destroy the surface in finalize. Trying to set the XSync counters at this time is a) pointless and b) yielding an X error because the counters have already been destroyed. To avoid this, unhook the damage tracking before destroying the surface. https://bugzilla.gnome.org/show_bug.cgi?id=760188 gdk/x11/gdkwindow-x11.c | 2 ++ 1 file changed, 2 insertions(+) commit 4d60b5b10c472fb3b37465cede661288708e16e6 Author: Matthias Clasen Date: Fri Jan 8 13:44:36 2016 -0500 x11: Fix damage tracking hack We are setting mime data with a destroy notify on the cairo surface to get notified when cairo registers damage for the surface (in that case, it clears the mime data, calling the destroy notify). Unfortunately, the destroy notify is also called when we remove the mime data ourselves, which was not intentional. Use a flag in the window impl struct to ignore the callback when we are clearing the hook. gdk/x11/gdkwindow-x11.c | 30 +++++++++++++++++++----------- gdk/x11/gdkwindow-x11.h | 1 + 2 files changed, 20 insertions(+), 11 deletions(-) commit 3f56c530b3b5c77f2b9194c479afd1cdd25e9a42 Author: Matthias Clasen Date: Fri Jan 8 13:17:58 2016 -0500 Be more careful with floating point divisions The assumption that MIN() takes care of all infinities here turns out to be wrong. We were getting inf and -nan for some combinations of 0 width/height and corners, leading to invalid matrices and cairo errors. https://bugzilla.gnome.org/show_bug.cgi?id=759668 gtk/gtkroundedbox.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 709cc0860351a2f77fcdf76396aab61a1e2899a0 Author: Matthias Clasen Date: Fri Jan 8 11:30:44 2016 -0500 x11: Simplify drag cancel animation setup Instead of creating an intermediate pixbuf, just render the window surface onto the new surface. Doing things this way lets us avoid the cairo_surface_mark_dirty() call in gdk_pixbuf_get_from_window(), which is not generally safe to call on 'random' surfaces - it asserts that the surface has no mime data attached, and the X11 backend uses mime data for damage tracking purposes... gdk/x11/gdkdnd-x11.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit ea0084cd995283dee00a327c92d9896994e738e1 Author: Matthias Clasen Date: Fri Jan 8 11:29:58 2016 -0500 x11: Keep the drag window alive longer We destroy the widget that is wrapped around the drag window when the object data on the drag context gets cleared. Destroying the window before that happens leads to unpleasantries. E.g. we may try to access the frame clock, which doesn't exist anymore, and things go downhill from there. So, keep the window alive for a little longer. gdk/x11/gdkdnd-x11.c | 6 ++++++ 1 file changed, 6 insertions(+) commit f9e504d70e90686e32fd0c4b9ceab9f36a05ea53 Author: Matthias Clasen Date: Fri Jan 8 11:22:47 2016 -0500 wayland: Keep the drag window alive longer We destroy the widget that is wrapped around the drag window when the object data on the drag context gets cleared. Destroying the window before that happens leads to unpleasantries. E.g. we may try to access the frame clock, which doesn't exist anymore, and things go downhill from there. So, keep the window alive for a little longer. gdk/wayland/gdkdnd-wayland.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit d3aea5c4989b96f09e75f995ea55fc80a936c785 Author: Matthias Clasen Date: Fri Jan 8 11:12:55 2016 -0500 Forgotten file One was forgotten in the dark -> inverse rename. gtk/theme/HighContrast/gtk-inverse.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 000b5b90559c0faa9fbc2ddbc9359211cda203c5 Author: Matthias Clasen Date: Fri Jan 8 11:08:37 2016 -0500 color editor: Set a name on the color sample This can be used to tweak the style from CSS, via #editor-color-sample. gtk/ui/gtkcoloreditor.ui | 1 + 1 file changed, 1 insertion(+) commit 91123adba78f3bb7a50079e5d7e107bc5e2dc43e Author: Lapo Calamandrei Date: Fri Jan 8 16:48:01 2016 +0100 Adwaita: remove some now uneeded selectors ...related to image-button sizing which is handled differently now. gtk/theme/Adwaita/_common.scss | 10 ---------- gtk/theme/Adwaita/gtk-contained-dark.css | 29 +++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 29 +++++++++-------------------- 3 files changed, 18 insertions(+), 50 deletions(-) commit 5de71413fe5a24aedcd0e39dce84b9b3385ea593 Author: Lapo Calamandrei Date: Fri Jan 8 16:31:30 2016 +0100 Adwaita: colorchooser and color button style rewrite fixing https://bugzilla.gnome.org/show_bug.cgi?id=760169 in the process. gtk/theme/Adwaita/_common.scss | 174 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained-dark.css | 128 +++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 128 ++++++++++------------- 3 files changed, 180 insertions(+), 250 deletions(-) commit d07f00d98f2ae82a927d364a8f140ec881c2dcfe Author: Chun-wei Fan Date: Fri Jan 8 18:44:24 2016 +0800 CJK Windows: Silence gtk_style_context_set_state() warnings We need to update calls to gtk_style_context_set_state() in gtkimcontextime.c, so that the state passed into that function would be in line with what GtkStyleContext expects, due to updates in the CSS machinery, as outlined in this link[1], which is based on information in in Matthias' blog[2]. Doing so will silence the gtk_style_context_set_state() warnings, which is emitted when a widget uses gtkimcontext on Windows with CJK IME, which will in turn call gtkimcontextime. [1]: http://feaneron.com/2016/01/04/quick-guide-to-port-an-app-for-gtk-3-20/ [2]: https://blogs.gnome.org/mclasen/2015/11/20/a-gtk-update/ https://bugzilla.gnome.org/show_bug.cgi?id=760314 modules/input/gtkimcontextime.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 4eb333801b517c58b896d82dcd129768e76d0e0e Author: Matthias Clasen Date: Fri Jan 8 08:59:02 2016 -0500 Revert "Translate GDK_KEY_KP_Decimal according to locale" This reverts commit 7c7fde136e1fd1197df1881a3bbd975c4cb1c01a. Too much controversy for this minor improvement. See https://bugzilla.gnome.org/show_bug.cgi?id=756751 gdk/gdkkeyuni.c | 21 --------------------- 1 file changed, 21 deletions(-) commit d72e061bb99b2b7aac8908858041d329aa19890e Author: Matthias Clasen Date: Fri Jan 8 07:39:17 2016 -0500 Rename the HighContastInverse css files Renaming the files from -dark to -inverse makes it more obvious that this is not a dark variant in the sense of the 'prefer-dark' setting, but rather a separate theme (sharing the same CSS). gtk/Makefile.am | 4 ++-- .../{gtk-contained-dark.css => gtk-contained-inverse.css} | 0 .../{gtk-contained-dark.scss => gtk-contained-inverse.scss} | 0 gtk/theme/HighContrast/{gtk-dark.css => gtk-inverse.css} | 0 4 files changed, 2 insertions(+), 2 deletions(-) commit 0dd013d3722b04439b8c7df95d78f4cde3d554b9 Author: Matthias Clasen Date: Thu Jan 7 23:56:03 2016 -0500 Document caret CSS properties docs/reference/gtk/css.xml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 9f247e112bc34011f45addf14e6d1ba5df1e05c7 Author: Matthias Clasen Date: Wed Jan 6 22:12:35 2016 -0500 Deprecate cursor-color style properties These have been replaced by CSS properties. gtk/gtkwidget.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 9b86d6da2cb26893223e64be29d2d016d18af77a Author: Matthias Clasen Date: Wed Jan 6 22:07:09 2016 -0500 Use the caret-color properties for drawing carets Replace the cursor-color and secondary-cursor-color style properties with the caret-color and -gtk-secondary-caret-color CSS properties. For the 'auto' value of these properties, we keep the same behavior that we used to have when the style properties are not explicitly set. gtk/gtkstylecontext.c | 61 +++++++++++---------------------------------------- 1 file changed, 13 insertions(+), 48 deletions(-) commit fdba244c387d941279ed61ebc658c91f4f3d6025 Author: Matthias Clasen Date: Wed Jan 6 22:05:29 2016 -0500 Add the caret-color CSS property This property is defined in http://www.w3.org/TR/css3-ui/#caret-color. We also add a -gtk-secondary-caret-color property, since GTK+ has supported differently colored split cursors in the past. Unlike CSS, we don't support the weakly defined auto keyword, and just use currentColor as the initial value. gtk/gtkcsscolorvalue.c | 2 ++ gtk/gtkcssstylepropertyimpl.c | 20 +++++++++++++++++++- gtk/gtkcsstypesprivate.h | 2 ++ 3 files changed, 23 insertions(+), 1 deletion(-) commit feba047574d2897a35e8cf506002ef86904addfb Author: Timm Bäder Date: Fri Jan 8 13:23:56 2016 +0100 gtk3-demo: Remove unused GtkCellView demos/gtk-demo/combobox.c | 5 ----- 1 file changed, 5 deletions(-) commit 496f0892fcfcd14715b85258f155b65d2ab54ab6 Author: Alberto Ruiz Date: Mon Dec 28 20:14:08 2015 +0000 introspection: This patch fixes nullable return values fixes for the following symbols in gtk gtk_accel_group_query gtk_accel_group_from_accel_closure gtk_accel_label_get_accel_widget gtk_accessible_get_widget gtk_actionable_get_action_name gtk_app_chooser_get_app_info gtk_app_chooser_button_get_heading gtk_app_chooser_dialog_get_heading gtk_application_get_window_by_id gtk_assistant_get_nth_page gtk_binding_set_find gtk_builder_get_object gtk_builder_lookup_callback_symbol gtk_builder_get_application gtk_button_get_image gtk_cell_area_get_focus_from_sibling gtk_cell_renderer_start_editing gtk_cell_view_get_model gtk_cell_view_get_displayed_row gtk_clipboard_get_owner gtk_container_get_focus_child gtk_container_get_focus_vadjustment gtk_container_get_focus_hadjustment gtk_dialog_get_widget_for_response gtk_drag_get_source_widget gtk_drag_dest_get_target_list gtk_drag_source_get_target_list gtk_entry_completion_get_model gtk_entry_completion_compute_prefix gtk_expander_get_label_widget gtk_file_chooser_get_filename gtk_file_chooser_get_current_folder gtk_file_chooser_get_uri gtk_file_chooser_get_current_folder_uri gtk_file_chooser_get_preview_widget gtk_file_chooser_get_preview_file gtk_file_chooser_get_preview_filename gtk_file_chooser_get_preview_uri gtk_file_chooser_get_extra_widget gtk_file_chooser_get_filter gtk_file_chooser_native_get_accept_label gtk_file_chooser_native_get_cancel_label gtk_file_filter_get_name gtk_font_chooser_get_font_family gtk_font_chooser_get_font_face gtk_font_chooser_get_font gtk_font_chooser_get_font_desc gtk_font_chooser_get_font_map gtk_frame_get_label gtk_gesture_get_device gtk_gesture_get_window gtk_gl_area_get_error gtk_header_bar_get_title gtk_header_bar_get_subtitle gtk_header_bar_get_custom_title gtk_icon_info_get_filename gtk_icon_view_get_path_at_pos gtk_icon_view_get_model gtk_image_get_pixbuf gtk_image_get_animation gtk_label_get_mnemonic_widget gtk_label_get_attributes gtk_check_version gtk_menu_button_get_popup gtk_menu_button_get_menu_model gtk_menu_button_get_align_widget gtk_menu_button_get_popover gtk_menu_item_get_submenu gtk_menu_item_get_accel_path gtk_native_dialog_get_title gtk_native_dialog_get_transient_for gtk_notebook_get_nth_page gtk_notebook_get_tab_label_text gtk_notebook_get_menu_label gtk_notebook_get_menu_label_text gtk_notebook_get_group_name gtk_notebook_get_action_widget gtk_offscreen_window_get_surface gtk_offscreen_window_get_pixbuf gtk_paned_get_child1 gtk_paned_get_child2 gtk_places_sidebar_get_location gtk_places_sidebar_get_nth_bookmark gtk_plug_get_socket_window gtk_popover_get_default_widget gtk_progress_bar_get_text gtk_recent_filter_get_name gtk_recent_manager_lookup_item gtk_settings_get_default gtk_socket_get_plug_window gtk_stack_sidebar_get_stack gtk_stack_switcher_get_stack gtk_style_context_get_section gtk_style_context_get_parent gtk_style_context_get_frame_clock gtk_test_find_widget gtk_text_buffer_get_mark gtk_text_tag_table_lookup gtk_text_view_get_tabs gtk_text_view_toggle_cursor_visible gtk_text_view_get_window gtk_toolbar_get_nth_item gtk_tool_button_get_label gtk_tool_button_get_icon_name gtk_tool_button_get_label_widget gtk_tool_button_get_icon_widget gtk_tool_palette_get_drop_item gtk_tool_palette_get_drop_group gtk_tree_model_filter_convert_child_path_to_path gtk_tree_model_filter_convert_path_to_child_path gtk_tree_model_sort_convert_child_path_to_path gtk_tree_model_sort_convert_path_to_child_path gtk_tree_view_get_column gtk_tree_view_get_bin_window gtk_tree_view_column_get_widget gtk_tree_view_column_get_tree_view gtk_widget_get_frame_clock gtk_window_group_get_current_device_grab GtkTextBufferSerializeFunc gtk/gtkaccelgroup.c | 6 +++--- gtk/gtkaccellabel.c | 2 +- gtk/gtkaccessible.c | 2 +- gtk/gtkactionable.c | 3 ++- gtk/gtkappchooser.c | 2 +- gtk/gtkappchooserbutton.c | 2 +- gtk/gtkappchooserdialog.c | 2 +- gtk/gtkapplication.c | 2 +- gtk/gtkassistant.c | 2 +- gtk/gtkbindings.c | 2 +- gtk/gtkbuilder.c | 6 +++--- gtk/gtkbutton.c | 3 ++- gtk/gtkcalendar.h | 4 ++-- gtk/gtkcellarea.c | 2 +- gtk/gtkcellrenderer.c | 2 +- gtk/gtkcellview.c | 4 ++-- gtk/gtkclipboard.c | 2 +- gtk/gtkcontainer.c | 8 ++++---- gtk/gtkdialog.c | 2 +- gtk/gtkdnd.c | 4 ++-- gtk/gtkdragsource.c | 2 +- gtk/gtkentrycompletion.c | 6 +++--- gtk/gtkexpander.c | 2 +- gtk/gtkfilechooser.c | 39 ++++++++++++++++++++------------------- gtk/gtkfilechoosernative.c | 8 ++++---- gtk/gtkfilefilter.c | 2 +- gtk/gtkfontchooser.c | 10 +++++----- gtk/gtkframe.c | 2 +- gtk/gtkgesture.c | 4 ++-- gtk/gtkglarea.c | 2 +- gtk/gtkheaderbar.c | 6 +++--- gtk/gtkicontheme.c | 2 +- gtk/gtkiconview.c | 6 +++--- gtk/gtkimage.c | 4 ++-- gtk/gtklabel.c | 4 ++-- gtk/gtkmain.c | 2 +- gtk/gtkmenubutton.c | 8 ++++---- gtk/gtkmenuitem.c | 6 +++--- gtk/gtknativedialog.c | 6 +++--- gtk/gtknotebook.c | 31 +++++++++++++++---------------- gtk/gtkoffscreenwindow.c | 4 ++-- gtk/gtkpaned.c | 4 ++-- gtk/gtkplacessidebar.c | 10 +++++----- gtk/gtkplug.c | 2 +- gtk/gtkpopover.c | 3 ++- gtk/gtkprogressbar.c | 2 +- gtk/gtkrecentfilter.c | 2 +- gtk/gtkrecentmanager.c | 2 +- gtk/gtksettings.c | 4 ++-- gtk/gtksocket.c | 3 ++- gtk/gtkstacksidebar.c | 2 +- gtk/gtkstackswitcher.c | 2 +- gtk/gtkstylecontext.c | 7 ++++--- gtk/gtktestutils.c | 2 +- gtk/gtktextbuffer.c | 2 +- gtk/gtktextbufferrichtext.h | 4 ++-- gtk/gtktexttagtable.c | 3 ++- gtk/gtktextview.c | 6 +++--- gtk/gtktoolbar.c | 2 +- gtk/gtktoolbutton.c | 8 ++++---- gtk/gtktoolpalette.c | 6 +++--- gtk/gtktreemodelfilter.c | 4 ++-- gtk/gtktreemodelsort.c | 4 ++-- gtk/gtktreeview.c | 8 ++++---- gtk/gtktreeviewcolumn.c | 4 ++-- gtk/gtkwidget.c | 3 ++- gtk/gtkwindowgroup.c | 2 +- 67 files changed, 163 insertions(+), 156 deletions(-) commit 120088b15f082c2da62a8cea25ba7da53ddb69d6 Author: Olivier Fourdan Date: Tue Dec 8 16:33:45 2015 +0100 wayland: Update parent of dialogs without transient X11 has the notions of "transient for group", and while it's an ICCCM violation, it's commonly used and documented that a window manager would treat a window with transient_for set to None to transient for all windows of its group. gtk uses this when an application sets a dialog type window but does not specify an explicit transient. While this works on X11, there is no such thing as groups in Wayland and the closest equivalent which is set_parent() in xdg-shell takes only one parent. This is what is used for modal dialogs. To get something similar in behavior to what is available on X11, a solution is to update the parent() of the dialogs without transient when the active surface changes. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759161 gdk/wayland/gdkwindow-wayland.c | 69 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 63 insertions(+), 6 deletions(-) commit 28f011eb055673d8944cd6e012bc5d84bae41a26 Author: Olivier Fourdan Date: Mon Dec 21 14:35:53 2015 +0100 wayland: prefer subsurface when possible Quite a few applications use GTK_WINDOW_POPUP to create various temporary windows and place then on screen. That works fine on X11 but on Wayland there is no global coordinate system for regular surfaces. If the application is using a gdk temp window and set a parent with gtk_window_transient_for(), the gdk wayland backend has all it needs to create a subsurface that can be placed at will by the application. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759738 gdk/wayland/gdkwindow-wayland.c | 57 +++++++++++++++++++++++----------- gtk/gtkwindow.c | 6 ++++ tests/Makefile.am | 1 + tests/testpopup.c | 68 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 115 insertions(+), 17 deletions(-) commit d85b3fc60dcf09d4703b30bef676af93ef6ed6cd Author: Timm Bäder Date: Fri Jan 8 09:38:32 2016 +0100 revealer: Propagate draw event gtk/gtkrevealer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 711ffd648ed191bad9f0a956cf05905a73a9e4bd Author: Timm Bäder Date: Tue Jan 5 19:05:43 2016 +0100 GtkPopover: Protect against transparent backgrounds If the background is transparent, we can't use it for the input shape, since that will be empty. Draw a box with rounded corners irectly instead, in fully opaque black. https://bugzilla.gnome.org/show_bug.cgi?id=759905 gtk/gtkpopover.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit fa66b271f8c96d86bcb7eb7f315628ea3674aafd Author: Ben Gamari Date: Wed Jan 6 00:36:21 2016 +0100 gdkwindow-x11: Ensure that extended update counter is freed I believe this lead to rampant leakage of SyncCounters by gnome-terminal. https://bugzilla.gnome.org/show_bug.cgi?id=760188 gdk/x11/gdkwindow-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit a45b1d1e3c414d2b2735c9ed096b6abe1b45a7ea Author: Matthias Clasen Date: Thu Jan 7 19:49:17 2016 -0500 inspector: Sort themes in the various theme combos It is nicer if the themes show up in a predictable order, so sort them alphabetically. gtk/inspector/visual.c | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) commit ec02f055ed6d91cf8ff53dd5b62cac643da8ae08 Author: Matthias Clasen Date: Thu Jan 7 19:50:15 2016 -0500 inspector: Add HighContrastInverse to list of themes gtk/inspector/visual.c | 1 + 1 file changed, 1 insertion(+) commit 0e473a5f1c4d4598cf73e570c0bb1777341aa81d Author: Matthias Clasen Date: Thu Jan 7 19:47:58 2016 -0500 Rename HighContrast-dark to HighContrastInverse For accessibility purposes, it is better to have this as a separate theme than as a dark variant of the HighContrast theme. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4925493e494d72c7eeb35c12d7461102edb973df Author: Lapo Calamandrei Date: Fri Jan 8 01:38:42 2016 +0100 Adwaita: rounded corners on iconview selection gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 5 insertions(+) commit c0275b508dab401f2464ec2beb26d9dde1779cf4 Author: Lapo Calamandrei Date: Fri Jan 8 01:37:20 2016 +0100 Adwaita: fix calendar invisible selection gtk/theme/Adwaita/_common.scss | 5 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++------ gtk/theme/Adwaita/gtk-contained.css | 14 ++++++++------ 3 files changed, 19 insertions(+), 14 deletions(-) commit 5b3001b6d53b137d32dd7b9ab8996be224859d6d Author: Matthias Clasen Date: Thu Jan 7 19:20:55 2016 -0500 colorswatch: Fix the overlay I misunderstood what the overlay is good for: We need to allocate it the full size of the widget. since we are using it to render a background gradient *over* the application-rendered color. At the same time, save some 100 lines of code by using an icon helper as gadget, instead of handling the icon manually. gtk/gtkcolorswatch.c | 155 ++++++++++----------------------------------------- 1 file changed, 30 insertions(+), 125 deletions(-) commit 1b3bb244b6b584fbee69e120fe3cbcdb19069ce0 Author: Matthias Clasen Date: Thu Jan 7 18:38:31 2016 -0500 color swatch: Fix up rendering gtk_render_content_path is expecting the full box dimensions, not just the content area. So, add the border before calling it. Note it is still possible to have some separation between the color and the border, by setting padding. gtk/gtkcolorswatch.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit f9e6ccd59256ef86bdfa3bfe9810df35f7ee00fe Author: Daiki Ueno Date: Wed Jan 6 18:09:04 2016 +0900 gtkbuilder: Install gettext ITS files Recent gettext has a feature to allow consumer projects to supply their own string extraction rules for XML files, in ITS format. Gettext still ships the rule for *.ui, but it would be better maintained in the upstream project. https://bugzilla.gnome.org/show_bug.cgi?id=760202 gtk/Makefile.am | 5 +++++ gtk/gtkbuilder.its | 23 +++++++++++++++++++++++ gtk/gtkbuilder.loc | 6 ++++++ 3 files changed, 34 insertions(+) commit b1f692572747b2ef39135361bb83624ec38d04d6 Author: Daniel Mustieles Date: Thu Jan 7 23:15:11 2016 +0100 Updated Spanish translation po-properties/es.po | 1502 ++++++++++++++++++++++++++------------------------- 1 file changed, 758 insertions(+), 744 deletions(-) commit c9ee47333f458e4edde29c372bd7700756a04544 Author: Daniel Mustieles Date: Thu Jan 7 23:14:58 2016 +0100 Updated Spanish translation po/es.po | 185 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 96 insertions(+), 89 deletions(-) commit 9e63e61b165da6ce5159e6e84e4e98f79c266026 Author: Matthias Clasen Date: Thu Jan 7 16:30:19 2016 -0500 Implement transitions for radial gradients This was missing in the initial implementation. gtk/gtkcssimageradial.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit a7e2a9d8d3268c851aa1c22da2cbf22ab380e12e Author: Matthias Clasen Date: Thu Jan 7 16:10:10 2016 -0500 Don't interpolate between keywords Transitioning between linear gradients like linear-gradient(to top, yellow, green) and linear-gradient(to left, yellow, green) was yielding nonsensical results, with the gradient line jumping around wildly. Fix this by falling back to stupid image interpolation for these cases. gtk/gtkcssimagelinear.c | 4 ++++ 1 file changed, 4 insertions(+) commit cd6ca291bdc10c8ae7c9379d7c2b892c129785cc Author: Kjartan Maraas Date: Thu Jan 7 21:54:51 2016 +0100 Updated Norwegian bokmål translation. po/nb.po | 3335 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 2156 insertions(+), 1179 deletions(-) commit ca6d01a678c6eab9dcbb6719e5d5365008aceac5 Author: Timm Bäder Date: Thu Jan 7 20:33:25 2016 +0100 GtkCssGadget: Set valid clip values for invisible gadgets gtk/gtkcssgadget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 8ecba899916aab7956ca9850c89d346fab24ae55 Author: Matthias Clasen Date: Thu Jan 7 13:24:32 2016 -0500 color swatch: Remove a stray frame When using a gadget, the border is free, no need to call gtk_render_frame ourselves. gtk/gtkcolorswatch.c | 2 -- 1 file changed, 2 deletions(-) commit 0b96b8a1eef68a6110ceac10208a2c29b807cd56 Author: Timm Bäder Date: Thu Jan 7 18:27:11 2016 +0100 GtkModelButton: Remove some margins Now that we can use margins from css for this, remove the margins we set in code and use css instead. gtk/gtkmenusectionbox.c | 12 ------------ gtk/gtkmodelbutton.c | 5 ----- gtk/theme/Adwaita/_common.scss | 20 +++++++++++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++++++++----- 5 files changed, 49 insertions(+), 32 deletions(-) commit 2f61bc18661c83769968e9cc47ca762d45cf0117 Author: Timm Bäder Date: Thu Jan 7 18:25:22 2016 +0100 GtkModelButton: Remove always-zero variable gtk/gtkmodelbutton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit bbfec07e067c0d0175b7ac9e858a85674600b8bd Author: Eric Williams Date: Wed Jan 6 15:27:53 2016 -0500 Clarified the function docs for gtk_css_provider_load_from_data(). https://bugzilla.gnome.org/show_bug.cgi?id=760238 gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10cc35405e9e51754546a6e49be77fb8df37e39a Author: Matthias Clasen Date: Wed Jan 6 14:56:06 2016 -0500 wayland: Only do cursor name fallback for standard names Always returning a left_ptr if we can't find anything better broke firefox application-specific fallback for missing cursors. Keep that working by only doing the fallback for the CSS cursor names, not for things like hashes. https://bugzilla.gnome.org/show_bug.cgi?id=760141 gdk/wayland/gdkcursor-wayland.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit d9befb9086ba7882b5c2813518ab3c3e02c0ed7f Author: Matthias Clasen Date: Wed Jan 6 14:54:33 2016 -0500 x11: Only do cursor name fallback for standard names Always returning a left_ptr if we can't find anything better broke firefox application-specific fallback for missing cursors. Keep that working by only doing the fallback for the CSS cursor names, not for things like hashes. https://bugzilla.gnome.org/show_bug.cgi?id=760141 gdk/x11/gdkcursor-x11.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit b6e11d087c951b01e70d7bae926e3f6323374fd6 Author: Matthias Clasen Date: Wed Jan 6 14:53:45 2016 -0500 Add context-menu to the list of standard cursor names Adwaita doesn't have this one, but we are falling to the default cursor anyway. gdk/gdkcursor.c | 1 + 1 file changed, 1 insertion(+) commit d76fb63ba87e45c24ce916275d85a37b07fb3fc7 Author: Matthias Clasen Date: Tue Jan 5 23:24:51 2016 -0500 Add a test for ltr vs rtl boxes. This tests that horizontal boxes flip their child nodes according to text direction to maintain the left-to-right ordering of child nodes for both text directions. testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/box.ltr.nodes | 6 ++++++ testsuite/css/nodes/box.ltr.ui | 32 ++++++++++++++++++++++++++++++++ testsuite/css/nodes/box.rtl.nodes | 6 ++++++ testsuite/css/nodes/box.rtl.ui | 32 ++++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+) commit a519a1a9284d749356a46ec249c5fdb9dd2f641c Author: Matthias Clasen Date: Tue Jan 5 23:22:28 2016 -0500 CSS node tests: Add a way to test rtl vs ltr CSS nodes have a linear sibling relationship; this is supposed to correspond to left-to-right placement in horizontal arrangements. This commit explicitly sets the text direction to rtl if the filename ends in .rtl.ui, so we can test differences in node tree layout between text directions. testsuite/css/nodes/test-css-nodes.c | 5 +++++ 1 file changed, 5 insertions(+) commit 47afccb41bc5258b15b3b14148ffcc50fb3a0933 Author: Timm Bäder Date: Wed Jan 6 10:58:08 2016 +0100 GtkListBox: Optimize _get_row_at_y a bit Use g_sequence_lookup for a binary search over the rows. gtk/gtklistbox.c | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) commit a9d5fa4cfe7f377d14273e038ee6eae980f5e9e7 Author: Timm Bäder Date: Wed Jan 6 10:46:29 2016 +0100 GtkListBox: get_row_at_y can return NULL gtk/gtklistbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 83fc4d591a918d1bafa1cb12f89ac0044a9e0d91 Author: Rico Tzschichholz Date: Wed Jan 6 15:17:52 2016 +0100 HighContrast: Fix make dist gtk/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 98080e0289e311998fdc9f2ee61d2a3922e55c81 Author: Felipe Borges Date: Wed Jan 6 14:47:48 2016 +0100 printing: always propagate Collate value https://bugzilla.gnome.org/show_bug.cgi?id=728344 modules/printbackends/cups/gtkprintbackendcups.c | 2 ++ 1 file changed, 2 insertions(+) commit 1fec39ef0b858a392b4dec4f3ff76a592cfd0de9 Author: Chun-wei Fan Date: Wed Jan 6 21:12:19 2016 +0800 Visual Studio builds: Use _USE_MATH_DEFINES ... to fix the build as some C99 math constant macros are being used, such as M_SQRT2. build/win32/vs10/gtk3-build-defines.props | 2 +- build/win32/vs9/gtk3-build-defines.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 215c28df28cd643ef5cea35ca34a12a695a02b5f Author: Wonchul Lee Date: Tue Jan 5 16:48:48 2016 +0900 docs: cleanup duplication of words https://bugzilla.gnome.org/show_bug.cgi?id=760148 docs/reference/gtk/getting_started.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f32362e82ccf90c8a38f89ae83619b11665be0d5 Author: Matthias Clasen Date: Tue Jan 5 22:33:20 2016 -0500 HighContrast: Improve search bar appearance Follow the generally white background we use everywhere else. This is not perfect, we get double borders when the search bar is shown, as can be seen in gtk3-widget-factory. gtk/theme/HighContrast/_common.scss | 4 +++- gtk/theme/HighContrast/gtk-contained-dark.css | 30 ++++++++++++++------------- gtk/theme/HighContrast/gtk-contained.css | 30 ++++++++++++++------------- 3 files changed, 35 insertions(+), 29 deletions(-) commit aa9095ff7283dc5fcd493d5e9e68a9e3a88bfd4c Author: Matthias Clasen Date: Tue Jan 5 22:22:47 2016 -0500 HighContrast: Fix up action bar styling Since HighContrast is not using different background colors as much as Adwaita, we need to add borders to prevent things from running into each other. gtk/theme/HighContrast/_common.scss | 13 ++++++++----- gtk/theme/HighContrast/gtk-contained-dark.css | 12 +++++++----- gtk/theme/HighContrast/gtk-contained.css | 12 +++++++----- 3 files changed, 22 insertions(+), 15 deletions(-) commit 643454147c306c6d175bb12e3c2af4a6fdaa0db9 Author: Matthias Clasen Date: Tue Jan 5 20:39:16 2016 -0500 HighContrast: Drop deprecated style properties gtk/theme/HighContrast/_common.scss | 72 +++++++++++---------------- gtk/theme/HighContrast/gtk-contained-dark.css | 37 ++++---------- gtk/theme/HighContrast/gtk-contained.css | 37 ++++---------- 3 files changed, 52 insertions(+), 94 deletions(-) commit 56ca40996dc4deec1169f582090e8c78ff71536b Author: Matthias Clasen Date: Tue Jan 5 19:25:06 2016 -0500 HighContrast: Add a dark variant This is just a quick experiment, and so I have another theme with a dark variant to play with. gtk/Makefile.am | 3 + gtk/theme/HighContrast/_colors.scss | 13 +- gtk/theme/HighContrast/gtk-contained-dark.css | 3041 +++++++++++++++++++ .../{gtk.scss => gtk-contained-dark.scss} | 2 + gtk/theme/HighContrast/gtk-contained.css | 3041 +++++++++++++++++++ gtk/theme/HighContrast/gtk-contained.scss | 11 + gtk/theme/HighContrast/gtk-dark.css | 1 + gtk/theme/HighContrast/gtk.css | 3042 +------------------- 8 files changed, 6106 insertions(+), 3048 deletions(-) commit 474d6bec85afb986e7e7e1110f8a0fd09c04e46a Author: Matthias Clasen Date: Tue Jan 5 16:54:40 2016 -0500 HighContrast: Add a missing unit gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 907fade7d02dad8b6aea120c20e92019fb26cebe Author: Matthias Clasen Date: Tue Jan 5 16:53:03 2016 -0500 HighContrast: Fix sidebar borders gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 39b76ec0822e70f2dad736ee3d87f51c225d416f Author: Matthias Clasen Date: Tue Jan 5 14:37:22 2016 -0500 HighContrast: Fix checkboxes in selected context Set a proper color so checks and radios don't disappear on the black selection background. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 9ebb63c71f6a7ae4b0fd1e6b6e42b489e3fba269 Author: Matthias Clasen Date: Tue Jan 5 14:19:58 2016 -0500 HighConstast: Some fixes for treeview headers gtk/theme/HighContrast/_common.scss | 18 ++++++++++-------- gtk/theme/HighContrast/gtk.css | 17 +++++++++-------- 2 files changed, 19 insertions(+), 16 deletions(-) commit d60fe93937387b0d2151ab8a02dcf56c711781d9 Author: Matthias Clasen Date: Tue Jan 5 10:55:34 2016 -0500 HighContrast: Keep spinbuttons from resizing on hover gtk/theme/HighContrast/_common.scss | 16 ++++++++++------ gtk/theme/HighContrast/gtk.css | 29 ++++++++++++++++++++--------- 2 files changed, 30 insertions(+), 15 deletions(-) commit 37ab99d1d21c1d6b3880dfb6fd11dcadb97e5c48 Author: Matthias Clasen Date: Tue Jan 5 07:48:54 2016 -0500 HighContrast: Fix checks and radios gtk/theme/HighContrast/_common.scss | 12 ++++++++- gtk/theme/HighContrast/gtk.css | 53 ++++++++++++++++++++++--------------- 2 files changed, 42 insertions(+), 23 deletions(-) commit c25b8e25f524ae33bce84d791a42f8e5621963de Author: Matthias Clasen Date: Tue Jan 5 07:40:39 2016 -0500 HighContrast: Some menu fixes gtk/theme/HighContrast/_common.scss | 34 ++++++++++++------- gtk/theme/HighContrast/gtk.css | 68 +++++++++++++++++++++---------------- 2 files changed, 60 insertions(+), 42 deletions(-) commit fd57a552cf626004eb48a825b205df2c27f04943 Author: Matthias Clasen Date: Tue Jan 5 07:17:16 2016 -0500 HighContrast: paned fixes Mostly copied from Adwaita. gtk/theme/HighContrast/_common.scss | 33 +++++++++++++++++++++------- gtk/theme/HighContrast/gtk.css | 43 +++++++++++++++++++++++++++---------- 2 files changed, 57 insertions(+), 19 deletions(-) commit 0f3f2e7f9c7563826cde54c29b55743809e1f1ea Author: Cosimo Cecchi Date: Tue Jan 5 10:01:33 2016 -0800 HighContrast: more combobox fixes Taken from Adwaita. gtk/theme/HighContrast/_common.scss | 14 ++++++++------ gtk/theme/HighContrast/gtk.css | 13 +++++++------ 2 files changed, 15 insertions(+), 12 deletions(-) commit c4996873dc2814ca53767dbaa1ffe08b3f6063d1 Author: Paolo Borelli Date: Tue Jan 5 18:40:25 2016 +0100 docs: try to clarify widget_get_state_flags vs context_get_state gtk/gtkstylecontext.c | 7 ++++++- gtk/gtkwidget.c | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) commit 4a9c6777a778d1d7b88f9d10d15807690ab8acc0 Author: Matthias Clasen Date: Mon Jan 4 23:52:28 2016 -0500 HighContrast: Some combobox fixes Mostly copied from Adwaita. gtk/theme/HighContrast/_common.scss | 37 ++++++++++++++++++----------------- gtk/theme/HighContrast/gtk.css | 39 ++++++++++++++++++++----------------- 2 files changed, 40 insertions(+), 36 deletions(-) commit d17f89f6bfacc0b5c30ee2977bf1d4d1803d0dc2 Author: Matthias Clasen Date: Mon Jan 4 23:45:13 2016 -0500 HighContrast: Fix frame styling gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit a11c30d0dfdac88f9954bf11ca43738c9c23fbda Author: Matthias Clasen Date: Mon Jan 4 23:28:32 2016 -0500 HighContrast: fix up color chooser theming Mostly copied from Adwaita. gtk/theme/HighContrast/_common.scss | 55 +++++++++++++++++++++++-------------- gtk/theme/HighContrast/gtk.css | 55 ++++++++++++++++++++++--------------- 2 files changed, 68 insertions(+), 42 deletions(-) commit 32177aa03bb4be191ad29e7bfc51aeaade83f317 Author: Matthias Clasen Date: Mon Jan 4 22:08:53 2016 -0500 HighContrast: Fix up stackswitcher Copy Some of the more recent additions from Adwaita. gtk/theme/HighContrast/_common.scss | 32 ++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 25 +++++++++++++++++++++++++ 2 files changed, 57 insertions(+) commit c110ffcb1a599fc4600bfa11e905369c3796c7b9 Author: Matthias Clasen Date: Mon Jan 4 21:35:55 2016 -0500 HighContrast: No blue spinners Spinners are drawing backgrounds now, so setting a blue background color is pretty distracting. gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk.css | 1 - 2 files changed, 2 deletions(-) commit f63e8edec68a158910f5f971b5f47cb9b51825cb Author: Matthias Clasen Date: Mon Jan 4 21:22:11 2016 -0500 Make sure icons update on theme change Gadgets don't connect to style-changed for widget nodes, and GtkImage uses its widget node for the icon helper. The visible effect of this is that symbolic icons don't change color when switching to the dark variant of Adwaita. Fix this by manually invalidating the icon helper. gtk/gtkiconhelper.c | 2 +- gtk/gtkiconhelperprivate.h | 1 + gtk/gtkimage.c | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) commit b387a966ce0dd7e1815735e75494c73be0ea92de Author: Matthias Clasen Date: Mon Jan 4 16:58:10 2016 -0500 widget-factory: Make the notebook action truly circular The sidebar-button class doesn't work out so well for this since it has horizontal padding. demos/widget-factory/widget-factory.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 637ade656aac2a9ed0e211477bb9ccf77529e908 Author: Cosimo Cecchi Date: Mon Jan 4 18:14:33 2016 -0800 levelbar: loop over all block gadgets to determine min size Instead of just picking the first. This is because the theme might set a border on only one of them, like the HighContrast theme does. gtk/gtklevelbar.c | 46 +++++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 17 deletions(-) commit 183bcb41ecae92f73b07c4eca6f120e177f20735 Author: Cosimo Cecchi Date: Mon Jan 4 17:55:26 2016 -0800 levelbar: fix parameter confusion We're always interested in the minimum size. gtk/gtklevelbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit beeefa1629f342ecbdaee9655b5e2d3a95295011 Author: Cosimo Cecchi Date: Mon Jan 4 17:50:24 2016 -0800 HighContrast: update to use -gtk-outline-radius gtk/theme/HighContrast/_common.scss | 8 ++++---- gtk/theme/HighContrast/gtk.css | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit bc66c0c31e96ed6bc71b917f0001b28be3b6df63 Author: Cosimo Cecchi Date: Mon Jan 4 17:49:41 2016 -0800 HighContrast: update to use :hover gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 2780865534042ea7e5ab2836dcd1637c92a73746 Author: Cosimo Cecchi Date: Mon Jan 4 17:48:59 2016 -0800 HighContrast: update to use :indeterminate gtk/theme/HighContrast/_common.scss | 12 ++++++------ gtk/theme/HighContrast/gtk.css | 22 +++++++++++----------- 2 files changed, 17 insertions(+), 17 deletions(-) commit b2b1b0e238259cb0df148c2b4d42d90e965fe60b Author: Cosimo Cecchi Date: Mon Jan 4 17:46:43 2016 -0800 HighContrast: update to use :disabled gtk/theme/HighContrast/_common.scss | 130 +++++++++---------- gtk/theme/HighContrast/gtk.css | 244 ++++++++++++++++++------------------ 2 files changed, 187 insertions(+), 187 deletions(-) commit bc020fdeb73f6a906a867e1ad28a0886ea5361e7 Author: Matthias Clasen Date: Mon Jan 4 15:34:50 2016 -0500 tests: Rework the way foreigndrawing works Instead of the weird PathElt struct, generate a quick-n-dirty parser that parses CSS selectors into GtkWidgetPath elements. Based on a patch by Benjamin Otte. tests/foreigndrawing.c | 160 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 124 insertions(+), 36 deletions(-) commit c5437125518cf04f3f25c3e2f4ca3593467a21a9 Author: Matthias Clasen Date: Mon Jan 4 13:54:20 2016 -0500 Document radial gradient syntax docs/reference/gtk/css.xml | 50 +++++++++++++++++++++++++++++++++++++--------- 1 file changed, 41 insertions(+), 9 deletions(-) commit d9a70bc56adff5b616d0f5a760507f9ad5b8c08f Author: Matthias Clasen Date: Sun Jan 3 21:49:13 2016 -0500 Add a CSS style test for gradients This mainly just tests that gradients are properly reproduced by gtk_style_context_to_string. testsuite/css/style/Makefile.am | 9 +++++---- testsuite/css/style/gradient.css | 11 +++++++++++ testsuite/css/style/gradient.nodes | 9 +++++++++ testsuite/css/style/gradient.ui | 18 ++++++++++++++++++ 4 files changed, 43 insertions(+), 4 deletions(-) commit fcea12f790ad20ab79f24abf46faa7993fbd49c7 Author: Matthias Clasen Date: Sun Dec 27 02:04:20 2015 -0500 Add some tests for radial gradient parsing These are the examples from the CSS spec. testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/radial.css | 39 +++++++++++++++++++++++++++++++++++++ testsuite/css/parser/radial.ref.css | 39 +++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) commit f727ee568763c544fe4d28824b9c171b3ef2db7c Author: Matthias Clasen Date: Sun Dec 27 02:03:35 2015 -0500 Implement CSS radial gradients Implement parsing and drawing of radial gradients according to http://www.w3.org/TR/css3-images/#radial-gradients. Transitions are not implemented yet. gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 3 + gtk/gtkcssimageradial.c | 588 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssimageradialprivate.h | 73 +++++ 4 files changed, 666 insertions(+) commit f66191346c997e9f45843f6d8f087aa555bde811 Author: Christoph Reiter Date: Sat Oct 31 13:38:24 2015 +0100 Mention GtkIconSize in all docs where the argument/return is annotated as taking an int instead of GtkIconSize In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations were changed to int as they not only take the predefined enum values but also user defined values registered through gtk_icon_size_register() As a result the typelib doesn't contain any information about GtkIconSize for those arguments and the Python docstring only shows the corresponding Python type "int". This changes the argument docs to mention the type explicitly so the Python doc generator can add a link to Gtk.IconSize which contains the most useful predefined values. https://bugzilla.gnome.org/show_bug.cgi?id=757411 gtk/deprecated/gtkaction.c | 3 ++- gtk/deprecated/gtkiconfactory.c | 22 +++++++++++----------- gtk/deprecated/gtkstyle.c | 8 ++++---- gtk/gtkbutton.c | 2 +- gtk/gtkimage.c | 28 ++++++++++++++-------------- gtk/gtkrender.c | 5 +++-- gtk/gtkscalebutton.c | 2 +- gtk/gtktoolshell.c | 2 +- gtk/gtktooltip.c | 6 +++--- gtk/gtkwidget.c | 4 ++-- 10 files changed, 42 insertions(+), 40 deletions(-) commit 10f71dd98c2ef007b25de597b2523870e22fd594 Author: Marek Černocký Date: Mon Jan 4 11:52:10 2016 +0100 Updated Czech translation po/cs.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 77d9248e2a4f619d85aa55046d0aa5e701f4a7c0 Author: Marek Černocký Date: Mon Jan 4 11:51:20 2016 +0100 Updated Czech translation po/cs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e213ec9e365da323a00c3a9c8e77d28945e8ec61 Author: Rico Tzschichholz Date: Mon Jan 4 10:16:45 2016 +0100 docs/gtk: Include css.xml docs/reference/gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 2e0a3ec57a87a9ac3b282f5d5a9b45907b06fa46 Author: Rico Tzschichholz Date: Mon Jan 4 09:53:24 2016 +0100 docs/gtk: Sort content_files/expand_content_files alphabetically docs/reference/gtk/Makefile.am | 50 +++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit d29bfb3c7de1bfd45df705a7b6d4eb29206a4e50 Author: Piotr Drąg Date: Mon Jan 4 08:27:02 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 7 +++++++ po/POTFILES.skip | 7 +++++++ 2 files changed, 14 insertions(+) commit aa352168c9815a604b2130c48bb857bf322fe17d Author: Chun-wei Fan Date: Mon Jan 4 15:09:14 2016 +0800 config.h.win32.in: Update for _lock_file() The Visual Studio versions that we support supports locking functions in their CRT, so support that to optimize things a bit. Also update the config.h.win32.in so that its entries are more in line with the ones in the autootols builds, and make sure that we use UNIX line endings. config.h.win32.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit a009a50239520f1227721e3b9399adbecda04784 Author: Cosimo Cecchi Date: Sun Jan 3 17:20:06 2016 -0800 cssstyle: fix a compiler warning gtk/gtkcssstyle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d8e1fd6079ab2b93d48dda09cbefa316210cde3f Author: Matthias Clasen Date: Sun Jan 3 17:23:59 2016 -0500 Update expected output The previous commit changed the format of the output generated by the CSS style tests. testsuite/css/style/currentcolor.nodes | 1 + testsuite/css/style/inherit.nodes | 1 + testsuite/css/style/label.nodes | 1 + 3 files changed, 3 insertions(+) commit cfa0884165d306e64cca74213c6fbc20ad071c7e Author: Matthias Clasen Date: Sun Jan 3 17:05:16 2016 -0500 Improve formatting of CSS style prints Add a newline after CSS properties, so things don't run into each other. gtk/gtkcssnode.c | 9 +++++++-- gtk/gtkcssstyle.c | 21 ++++++++++++++++++++- gtk/gtkcssstyleprivate.h | 2 +- 3 files changed, 28 insertions(+), 4 deletions(-) commit 12be432df7c40473ea8bfa8e1c738f7dec1433ff Author: Matthias Clasen Date: Sun Jan 3 16:14:43 2016 -0500 Skip GdkX11DeviceManagerCore in default value tests We already skip the XI2 implementation, and the core one needs the same treatment. testsuite/gtk/defaultvalue.c | 1 + 1 file changed, 1 insertion(+) commit e1634d18de6a9a09aa85388035d6d675269d2cfe Author: Matthias Clasen Date: Sun Jan 3 15:41:09 2016 -0500 Update expected output for CSS style tests The format for CSS values changed slightly in one of the previous commits. testsuite/css/style/currentcolor.nodes | 5 ++--- testsuite/css/style/inherit.nodes | 8 ++++---- testsuite/css/style/label.nodes | 8 ++++++-- testsuite/css/style/nth-child.nodes | 8 ++++---- 4 files changed, 16 insertions(+), 13 deletions(-) commit 3c26aef826f9272d3ab00d25ffec3e8000d97a1b Author: Matthias Clasen Date: Sun Jan 3 15:37:40 2016 -0500 Use a custom theme for CSS style tests Use a custom, empty theme and stop importing reset-to-defaults.css. This avoids overwriting initial values, so our initial value filtering works better. testsuite/css/style/Empty.css | 0 testsuite/css/style/Makefile.am | 25 +++++++++++++++++++----- testsuite/css/style/currentcolor.css | 2 -- testsuite/css/style/inherit.css | 2 -- testsuite/css/style/label.css | 2 -- testsuite/css/style/nth-child.css | 2 -- testsuite/css/style/reset-to-defaults.css | 3 --- testsuite/css/style/test-css-style.c | 1 + testsuite/css/style/test-css-style.gresource.xml | 6 ++++++ 9 files changed, 27 insertions(+), 16 deletions(-) commit 2e921691d97c203e172cddd18aead9eb90904770 Author: Matthias Clasen Date: Sun Jan 3 15:34:08 2016 -0500 Redo CSS style printing Drop the custom style printing implementation in gtkcssnode.c and instead reuse the existing gtk_css_style_print function, extending it a bit to suit our needs. Instead of computing values, just recognize initial values by having no CSS section. Also do away with the show-initial flag, and just always filter out initial values. The flag can come back when it is needed. gtk/gtkcssnode.c | 87 ++---------------------------------------------- gtk/gtkcssstyle.c | 32 +++++++++++++----- gtk/gtkcssstyleprivate.h | 4 ++- gtk/gtkstylecontext.c | 4 --- gtk/gtkstylecontext.h | 3 +- 5 files changed, 29 insertions(+), 101 deletions(-) commit d0e648d4f67ae485727c0452921c18f7642b80de Author: Matthias Clasen Date: Sun Jan 3 14:04:52 2016 -0500 Update expected output for node and style tests The previous commit changed the format of the output. testsuite/css/nodes/buttons.nodes | 56 ++++++++--------- testsuite/css/nodes/entries.nodes | 32 +++++----- testsuite/css/nodes/levelbar.nodes | 110 ++++++++++++++++----------------- testsuite/css/nodes/notebook.nodes | 30 ++++----- testsuite/css/nodes/progressbar.nodes | 40 ++++++------ testsuite/css/style/currentcolor.nodes | 8 +-- testsuite/css/style/inherit.nodes | 10 +-- testsuite/css/style/label.nodes | 8 +-- testsuite/css/style/nth-child.nodes | 18 +++--- 9 files changed, 156 insertions(+), 156 deletions(-) commit 0c52eca34cd1edeb51b930f756652e359ed6ee10 Author: Matthias Clasen Date: Sun Jan 3 14:02:00 2016 -0500 Move node printing to GtkCssNodeDeclaration The node declaration has all the information we are printing here (except for visibility). At the same time, redo the format to print the information in selector format, and indicate (in)visibility by enclosing the selector in square brackets. gtk/gtkcssnode.c | 91 ++++---------------------------------- gtk/gtkcssnodedeclaration.c | 50 +++++++++++++++++++++ gtk/gtkcssnodedeclarationprivate.h | 4 ++ 3 files changed, 63 insertions(+), 82 deletions(-) commit 28e185dd1b8b5fcf90993e9d698110328c1d497d Author: Cosimo Cecchi Date: Sun Jan 3 11:33:19 2016 -0800 tests: fix Makefile.am syntax It requires a tab character, or the build will fail. testsuite/css/style/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dcaffe369f10b2ec45a57ba61fd49b64f9eb4743 Author: Cosimo Cecchi Date: Sun Jan 3 11:25:45 2016 -0800 cssnode: fix a compiler warning gtk/gtkcssnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 489928cbb482890442b376521ac100247ef97371 Author: Matthias Clasen Date: Sun Jan 3 12:05:57 2016 -0500 Fix the build testsuite/css/nodes/Makefile.am | 37 ++++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) commit f7a93c015cc27834810484ab6b69bbc6734a862b Author: Matthias Clasen Date: Sun Jan 3 11:59:15 2016 -0500 Forgotten file I forgot to add this file to source control when the new tests were initially added. testsuite/css/style/Makefile.am | 5 ++++- testsuite/css/style/reset-to-defaults.css | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) commit daa08862ffae16a78dba297cf796fb577b9d9b08 Author: Felix Riemann Date: Sun Jan 3 15:32:38 2016 +0100 shortcuts: Separate gestures in search results Gestures where shown separately from other shortcuts in the search results before. This restores that behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=760097 gtk/gtkshortcutswindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit bd4b3091f6e1f900d4a3effcfd93d7c97f46ef1c Author: Felix Riemann Date: Sun Jan 3 15:22:06 2016 +0100 shortcuts: Show icons and subtitles for gestures in search results https://bugzilla.gnome.org/show_bug.cgi?id=760097 gtk/gtkshortcutswindow.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 2dd8d1ad5318c7c09fc4a61afca610f6ed6a080e Author: Matthias Clasen Date: Sun Jan 3 10:56:11 2016 -0500 Update expected results of a11y tests All of these now have a harmless extra "panel". testsuite/a11y/about.txt | 4 ++-- testsuite/a11y/menu.txt | 8 ++++++++ testsuite/a11y/menubutton.txt | 8 ++++++++ testsuite/a11y/menubutton2.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menubutton3.txt | 34 +++++++++++++++++++++------------- testsuite/a11y/menus.txt | 8 ++++++++ testsuite/a11y/scale-drawvalue.txt | 8 ++++++++ testsuite/a11y/tooltips.txt | 8 ++++++++ 8 files changed, 84 insertions(+), 28 deletions(-) commit 1aeaa33e68ac2e93b3664b873dd2533f52c4e7b8 Author: Matthias Clasen Date: Sun Jan 3 10:42:13 2016 -0500 lockbutton: Fix up the template I forgot to clean this up when switching to a stack. gtk/ui/gtklockbutton.ui | 15 --------------- 1 file changed, 15 deletions(-) commit 7a0174157549faadb21bb6705281fe9344024869 Author: Matthias Clasen Date: Sun Jan 3 10:34:40 2016 -0500 Skip GdkX11DeviceManagerCore in notify tests We already skip the XI2 implementation, and the core one needs to the same treatment. testsuite/gtk/notify.c | 1 + 1 file changed, 1 insertion(+) commit 9c39232ab399eb3138fa4924b6072c3d340c215e Author: Matthias Clasen Date: Sun Jan 3 10:33:54 2016 -0500 assistant: Drop unnecessary frame We can just style the sidebar box itself, no need for an extra frame widget. gtk/gtkassistant.c | 4 +--- gtk/ui/gtkassistant.ui | 11 ++--------- 2 files changed, 3 insertions(+), 12 deletions(-) commit adfb76dc7ee8e78e54c343230091b3b01fa11760 Author: Matthias Clasen Date: Sun Jan 3 09:55:30 2016 -0500 lockbutton: Use a stack The previous way of manually juggling the visibility of the labels doesn't work anymore, now that gadgets of invisible widgets don't allocate space anymore. gtk/gtklockbutton.c | 23 ++++++++--------------- gtk/ui/gtklockbutton.ui | 42 +++++++++++++++++++++++------------------- 2 files changed, 31 insertions(+), 34 deletions(-) commit ed5ebc071179efa449a606b07683b6f8a628ac0d Author: Matthias Clasen Date: Mon Dec 28 23:26:50 2015 -0500 Add a css style test for currentColor testsuite/css/style/Makefile.am | 7 ++++--- testsuite/css/style/currentcolor.css | 9 +++++++++ testsuite/css/style/currentcolor.nodes | 7 +++++++ testsuite/css/style/currentcolor.ui | 19 +++++++++++++++++++ 4 files changed, 39 insertions(+), 3 deletions(-) commit 33be60b0ab53b62d53e10a8334c7ad7d22ad6370 Author: Matthias Clasen Date: Mon Dec 28 23:20:57 2015 -0500 Add a css style test for inherit and initial testsuite/css/style/Makefile.am | 1 + testsuite/css/style/inherit.css | 11 +++++++++++ testsuite/css/style/inherit.nodes | 9 +++++++++ testsuite/css/style/inherit.ui | 27 +++++++++++++++++++++++++++ 4 files changed, 48 insertions(+) commit 1ec34ae0854c5f7cf6eac5ed18115d64b5b52e72 Author: Matthias Clasen Date: Mon Dec 28 13:59:10 2015 -0500 Add a css style test for :first/last/only-child testsuite/css/style/Makefile.am | 1 + testsuite/css/style/nth-child.css | 14 +++++++++++ testsuite/css/style/nth-child.nodes | 13 ++++++++++ testsuite/css/style/nth-child.ui | 48 +++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+) commit 82a571e0ca8e3cd983e475fe31b10b4a776aae3e Author: Matthias Clasen Date: Mon Dec 28 12:39:54 2015 -0500 Add a css style test for font inheritance testsuite/css/style/Makefile.am | 1 + testsuite/css/style/label.css | 5 +++++ testsuite/css/style/label.nodes | 6 ++++++ testsuite/css/style/label.ui | 19 +++++++++++++++++++ 4 files changed, 31 insertions(+) commit 905ab53c71211d0de1d4a028a26b382f8e1e47b6 Author: Matthias Clasen Date: Tue Dec 29 07:44:53 2015 -0500 Add a test framework for CSS styles This uses the same function for dumping CSS nodes and styles as the CSS node test. It can be used to test aspects of inheritance and matching, as well as initial values. No actual tests yet. configure.ac | 1 + testsuite/css/Makefile.am | 2 +- testsuite/css/style/Makefile.am | 55 ++++++ testsuite/css/style/test-css-style.c | 287 +++++++++++++++++++++++++++++ testsuite/css/style/test-css-style.test.in | 3 + 5 files changed, 347 insertions(+), 1 deletion(-) commit 864693e5aa2ff9b752341eaca45d713559a22b65 Author: Matthias Clasen Date: Mon Dec 28 11:00:32 2015 -0500 Add CSS node tests for levelbars testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/levelbar.nodes | 55 +++++++++++++++++++++++++++++++ testsuite/css/nodes/levelbar.ui | 66 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 122 insertions(+) commit 0ce5075748625c627497837228bfd9d013d4b48e Author: Matthias Clasen Date: Mon Dec 28 10:52:20 2015 -0500 Add CSS node test for progressbars testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/progressbar.nodes | 20 ++++++++++++++ testsuite/css/nodes/progressbar.ui | 49 +++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) commit 5c4efb09e2adf4efb815ffcf26e7772104214fab Author: Matthias Clasen Date: Mon Dec 28 10:35:58 2015 -0500 Add a CSS node test for buttons testsuite/css/nodes/Makefile.am | 5 +- testsuite/css/nodes/buttons.nodes | 28 ++++++++ testsuite/css/nodes/buttons.ui | 147 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 178 insertions(+), 2 deletions(-) commit 78d715af221709025fd319538e2a4e58fe790c4f Author: Matthias Clasen Date: Mon Dec 28 02:00:58 2015 -0500 Add a CSS node test for entries testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/entries.nodes | 16 +++++++++ testsuite/css/nodes/entries.ui | 74 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) commit 669ced398436e7068c8b71ef5d9faea9cb148d0c Author: Matthias Clasen Date: Mon Dec 28 02:03:29 2015 -0500 Add a CSS node test for notebooks testsuite/css/nodes/Makefile.am | 1 + testsuite/css/nodes/notebook.nodes | 15 +++++++++++++ testsuite/css/nodes/notebook.ui | 43 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) commit d2c1203ef15b9daeb7e653d80ed621e972ebe4b3 Author: Matthias Clasen Date: Mon Dec 28 02:02:57 2015 -0500 Add a test framework for CSS nodes No actual tests yet. configure.ac | 1 + testsuite/css/Makefile.am | 2 +- testsuite/css/nodes/Makefile.am | 55 ++++++ testsuite/css/nodes/test-css-nodes.c | 265 +++++++++++++++++++++++++++++ testsuite/css/nodes/test-css-nodes.test.in | 3 + 5 files changed, 325 insertions(+), 1 deletion(-) commit 68edc47f6a1585c90d8cace2f65c61a2a413b79e Author: Matthias Clasen Date: Mon Dec 28 01:09:54 2015 -0500 Add a function to dump CSS nodes and styles Add a gtk_style_context_to_string function that can serialize a CSS node or tree of nodes, optionally including CSS properties as well. This will be useful in writing tests. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkcssnode.c | 190 ++++++++++++++++++++++++++++++++++- gtk/gtkcssnodeprivate.h | 5 + gtk/gtkstylecontext.c | 50 +++++++++ gtk/gtkstylecontext.h | 11 ++ 5 files changed, 257 insertions(+), 1 deletion(-) commit a6624d803ece178e467230e285cd9d4561b09ca1 Author: Cosimo Cecchi Date: Sun Jan 3 01:02:12 2016 -0800 infobar: remove unneeded gadget It turns out we don't really need to use a separate gadget for the infobar, if all we do is chaining up to the parent GtkBox which already uses a gadget. Just remove all the boilerplate. gtk/gtkinfobar.c | 105 ------------------------------------------------------- 1 file changed, 105 deletions(-) commit ef8a5fc5425445b173ec33035f58ed68d790f137 Author: Cosimo Cecchi Date: Sun Jan 3 00:54:16 2016 -0800 window: remove unused variables gtk/gtkwindow.c | 1 - 1 file changed, 1 deletion(-) commit 424898e071d909d0771713c7456f9460f52d12f9 Author: Cosimo Cecchi Date: Sat Jan 2 17:54:06 2016 -0800 levelbar: consolidate code into single function gtk/gtklevelbar.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit a6e7e72d53fb1dfb29c3e1c52f42821a1457d8bc Author: Cosimo Cecchi Date: Sat Jan 2 18:03:50 2016 -0800 levelbar: port to use gadgets We now use one gadget for the trough, and one for each block. gtk/gtklevelbar.c | 477 ++++++++++++++----------------- gtk/theme/Adwaita/_common.scss | 12 +- gtk/theme/Adwaita/gtk-contained-dark.css | 13 +- gtk/theme/Adwaita/gtk-contained.css | 13 +- gtk/theme/HighContrast/_common.scss | 19 +- gtk/theme/HighContrast/gtk.css | 14 +- 6 files changed, 254 insertions(+), 294 deletions(-) commit 971f1a9b316ada3ff38f443152a99c3864c1754d Author: Cosimo Cecchi Date: Sat Jan 2 18:03:15 2016 -0800 levelbar: split out a function gtk/gtklevelbar.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit feb741babf66a4d16daf714037b92529fbe379df Author: Cosimo Cecchi Date: Sat Jan 2 15:28:12 2016 -0800 infobar: port to use a gadget gtk/gtkinfobar.c | 103 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 59 insertions(+), 44 deletions(-) commit f246dc1c851af88c7a95c16412e263be95a2364f Author: Cosimo Cecchi Date: Sat Jan 2 15:09:21 2016 -0800 infobar: trivial code cleanups gtk/gtkinfobar.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit d8b6dbd888de8908ffa81d73e00f74ba3143ef66 Author: Cosimo Cecchi Date: Sat Jan 2 14:59:56 2016 -0800 menubar: prefer early return gtk/gtkmenubar.c | 181 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 91 insertions(+), 90 deletions(-) commit 700286c6d8a88d4eb51e418e2675092a7bd232b5 Author: Cosimo Cecchi Date: Fri Jan 1 15:23:27 2016 -0800 menubar: port to use a gadget gtk/gtkmenubar.c | 213 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 128 insertions(+), 85 deletions(-) commit 96f10c0b722d1878e9b3cf9d8ac976cd99c925d9 Author: Cosimo Cecchi Date: Fri Jan 1 15:19:21 2016 -0800 menubar: use gtk_container_class_handle_border_width() gtk/gtkmenubar.c | 33 +++++++++++++-------------------- 1 file changed, 13 insertions(+), 20 deletions(-) commit 4328a3a24b53bd1f0a86293810c81051ff5a6002 Author: Cosimo Cecchi Date: Wed Dec 30 11:07:26 2015 -0800 HighContrast: remove unused selector There's no header-bar-separator style class. gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk.css | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) commit a9d07b6ec6d51452ed6e14567142240ac06a1e81 Author: Cosimo Cecchi Date: Wed Dec 30 11:06:46 2015 -0800 Adwaita: remove unused selector There's no header-bar-separator style class. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 4 insertions(+), 9 deletions(-) commit 28911c595b3d76c9704fcd251d1288e6226345a8 Author: Cosimo Cecchi Date: Wed Dec 30 10:59:56 2015 -0800 HighContrast: update for separators deprecations HighContrast still has a long way to go, but let's get at least separators working again. gtk/theme/HighContrast/_common.scss | 24 +++++------------------- gtk/theme/HighContrast/gtk.css | 15 ++++----------- 2 files changed, 9 insertions(+), 30 deletions(-) commit 7dacc7836ffc118f3e55b236de2e63a466919234 Author: Cosimo Cecchi Date: Wed Dec 30 10:54:14 2015 -0800 HighContrast: reparse theme For some reason, this got accidentally changed in a previous commit. This is just the output of running parse-sass.sh again. gtk/theme/HighContrast/gtk.css | 596 ++++++++++++++++++++--------------------- 1 file changed, 298 insertions(+), 298 deletions(-) commit 39beebd2cbd060259c79eb8c887c1d8a461573e1 Author: Cosimo Cecchi Date: Wed Dec 30 10:53:27 2015 -0800 win32: remove ineffective selector That style property is deprecated, but the combobox does not have a separator anymore. gtk/theme/win32/gtk-win32-base.css | 7 ------- 1 file changed, 7 deletions(-) commit 908deb1bdc89065b98ddf6bc1ce3e7192d0b672a Author: Cosimo Cecchi Date: Wed Dec 30 10:51:14 2015 -0800 widget: deprecate separator style properties They're not used in GTK anymore. Also remove them from the default theme. gtk/gtkwidget.c | 15 ++++++++++++--- gtk/theme/Adwaita/_common.scss | 10 ---------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- 4 files changed, 12 insertions(+), 21 deletions(-) commit 64a06adfc05a9dacb542a7925f375b22be141ad0 Author: Cosimo Cecchi Date: Wed Dec 30 10:36:28 2015 -0800 treeview: don't use wide-separators/separator-height Those style properties are on their way out; instead, use min-height with the separator style class to obtain the height. gtk/gtktreeview.c | 40 ++++++++++++++++++++++++-------- gtk/theme/Adwaita/_common.scss | 7 ++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++-- gtk/theme/Adwaita/gtk-contained.css | 6 +++-- 4 files changed, 43 insertions(+), 16 deletions(-) commit 2eb7e6a85a1a7959c0b26501d8eac5e93ee7eb95 Author: Cosimo Cecchi Date: Tue Dec 29 18:02:21 2015 -0800 treeview: prefer positive polarity in if block gtk/gtktreeview.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 1f690ddbfa62bd3b81a936beda1fd593fe2b0035 Author: Cosimo Cecchi Date: Tue Dec 29 17:44:01 2015 -0800 separator: don't read wide-separators style property The notion of a separator being wide or not does not make sense when a theme can set any CSS property on it, and separator-width/separator-height are on their way out for min-width/min-height. gtk/gtkseparator.c | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) commit 0740f23c77c499810c716f61591818371fa4211e Author: Cosimo Cecchi Date: Tue Dec 29 17:40:30 2015 -0800 menuitem: don't read wide-separators or separator-height Separators inside menus are working completely through CSS since GtkMenuItem has been ported to use a gadget. Remove this unused code from here. gtk/gtkmenuitem.c | 26 -------------------------- 1 file changed, 26 deletions(-) commit eff8865ab1332324bbb486b57e60ebd957e5a661 Author: Cosimo Cecchi Date: Tue Dec 29 12:34:16 2015 -0800 separatortoolitem: don't use custom sizing/rendering Instead, just rely on the CSS gadget; we can stop using wide-separators, separator-height and separator-width, and at the same time deprecate the space-size style property of GtkToolbar. gtk/gtkseparatortoolitem.c | 92 ++-------------------------- gtk/gtktoolbar.c | 102 +++---------------------------- gtk/gtktoolbarprivate.h | 5 -- gtk/theme/Adwaita/_common.scss | 19 ++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 13 ++-- gtk/theme/Adwaita/gtk-contained.css | 13 ++-- 6 files changed, 48 insertions(+), 196 deletions(-) commit 55e80f9379c568e01c66bc4d7e5696f467d66d78 Author: Cosimo Cecchi Date: Tue Dec 29 12:14:02 2015 -0800 separatortoolitem: trivial code cleanups gtk/gtkseparatortoolitem.c | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) commit ea25985b6753cde9e97b6ac3c6b8357523937a4d Author: Cosimo Cecchi Date: Tue Dec 29 17:33:08 2015 -0800 toolbar: deprecate GtkToolbarSpaceStyle and space-style style property This is completely unused already. gtk/gtktoolbar.c | 10 +++++++++- gtk/gtktoolbar.h | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) commit 48596090af9c903cb752755419dcf041228b1e2f Author: Cosimo Cecchi Date: Tue Dec 29 16:47:04 2015 -0800 toolbar: port to use a gadget gtk/gtktoolbar.c | 268 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 154 insertions(+), 114 deletions(-) commit d64304997f36dabe1e6818050b6db41a821e5e5c Author: Cosimo Cecchi Date: Mon Dec 28 12:51:25 2015 -0800 toolbar: use gtk_container_handle_border_width() gtk/gtktoolbar.c | 75 ++++++++++++++++++++++++-------------------------------- 1 file changed, 32 insertions(+), 43 deletions(-) commit 10c222649eb086d90de9b69ebfe743165c775b78 Author: Cosimo Cecchi Date: Mon Dec 28 12:37:56 2015 -0800 toolbar: trivial code cleanup gtk/gtktoolbar.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 6df8bc2e1a4f7511f4f9a468b321d618ad82cb18 Author: Felix Riemann Date: Sat Jan 2 21:28:51 2016 +0100 GtkBindings: Fix CSS key in example docs gtk-key-bindings was renamed to -gtk-key-bindings in d267b8e0. https://bugzilla.gnome.org/show_bug.cgi?id=760082 gtk/gtkbindings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d83e9539c56e4b90a7113150b98cc5cf104626e8 Author: Matthias Clasen Date: Sun Jan 3 01:25:07 2016 -0500 Fix stylecontext tests to work Some of the tests don't work anymore because they test features of saved style contexts that have changed, and some now trigger deprecation warnings. testsuite/gtk/stylecontext.c | 84 ++++---------------------------------------- 1 file changed, 6 insertions(+), 78 deletions(-) commit 6da57d61d5cf90b78de5bf7fc5290c92441f0f23 Author: Matthias Clasen Date: Sun Jan 3 01:23:35 2016 -0500 Skip GdkX11DeviceManagerCore in finalize tets We already skip the XI2 implementation, and the core one needs to the same treatment. testsuite/gtk/objects-finalize.c | 1 + 1 file changed, 1 insertion(+) commit 6d77b9f3162d9f3d9ea214b765b6f937e4439237 Author: Christoph Reiter Date: Fri Jan 1 12:57:46 2016 +0100 gtkwindow: fix first allocation size 67ab00e01ec06d7b removed the fake configure code in gtk_window_show() and replaced it with a simple gtk_widget_realize(). The initial allocation code in realize() only allocates the natural size or the last requested size which now no longer is set, resulting in a too small first allocation. This builds a configure request to compute the allocation size instead which includes default size, CSD etc.. This problem could be seen in case of a GtkPaned in a GtkWindow with a default size set and the pane position set as well. The first allocation would be the natural size of the GtkPaned which would clamp the pane position if too larg. Only the second allocation would fill the parent window using the now wrong pane position. https://bugzilla.gnome.org/show_bug.cgi?id=759705 gtk/gtkwindow.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e93d64e4c3cdc71972bc92106763f29bfdc0abbf Author: Matthias Clasen Date: Sat Jan 2 21:08:50 2016 -0500 Revert "Revert "window: Remove suspicious branch"" This reverts commit 2438a06d54636e5074c29bd696e3e81e90288b8d. See https://bugzilla.gnome.org/show_bug.cgi?id=759705 gtk/gtkwindow.c | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) commit 6322b1f647552d9da0d3524731b56b7a1a23c060 Author: Cosimo Cecchi Date: Sat Jan 2 18:14:47 2016 -0800 levelbar: fix a crash We should not try to access a block with an index that exceeds the number of blocks in the widget. gtk/gtklevelbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 8109520d4efda502b0141fa0e8482679fbb12fa7 Author: Matthias Clasen Date: Sat Jan 2 20:53:54 2016 -0500 separator toolitem: Respect ::draw property This was lost when I converted the widget to use a gadget. https://bugzilla.gnome.org/show_bug.cgi?id=760018 gtk/gtkseparatortoolitem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 040114689628b99811fe460b9fb63d06546e2cd1 Author: Cosimo Cecchi Date: Fri Jan 1 14:50:43 2016 -0800 spinbutton: fix a typo gtk/gtkspinbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 664bbe12ba0acc0848ac56e31f09acc3b2a86cb0 Author: Cosimo Cecchi Date: Sat Jan 2 15:28:35 2016 -0800 menuitem: move chaining up to draw inside gadget This is more consistent with what other widgets do. gtk/gtkmenuitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d3bf07594ef4ef94fd90750ed472654b5d4cb86c Author: Marek Černocký Date: Sat Jan 2 21:13:40 2016 +0100 Updated Czech translation po/cs.po | 1043 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 555 insertions(+), 488 deletions(-) commit 2b2a5386293cee011e29408fedae3f9dc5129ecb Author: Timm Bäder Date: Sat Jan 2 15:40:50 2016 +0100 testframe: Pass correct state to GtkStyleContext API tests/testframe.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 3758762119827a62c93bd071dd6a7e63723d5e10 Author: Timm Bäder Date: Wed Dec 30 15:45:07 2015 +0100 GtkImage: Simplify _set_from_icon_name We don't need to strdup icon_name since that will happen in _gtk_icon_helper_set_icon_name anyway. gtk/gtkimage.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 9704f46b3883fb9618e40dd8631e1174fa4f18bd Author: Andika Triwidada Date: Sat Jan 2 12:27:16 2016 +0000 Updated Indonesian translation (cherry picked from commit 45b3c553a93ed6a9e3eea26e7c8337dcd9fa77b6) po-properties/id.po | 2423 +++++++++++++++++++++++++-------------------------- 1 file changed, 1211 insertions(+), 1212 deletions(-) commit 0a1b746bf8ffcfd051cc2687b44fb0d15ddefe25 Author: Andika Triwidada Date: Sat Jan 2 12:22:34 2016 +0000 Updated Indonesian translation (cherry picked from commit 1aa5f9278423f370d7490d83e8582dae087e2f6a) po/id.po | 872 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 375 insertions(+), 497 deletions(-) commit 420993af0eb04ec08ab6262ddf32d31d094da475 Author: Rafael Fontenelle Date: Sat Jan 2 06:48:23 2016 +0000 Updated Brazilian Portuguese translation (cherry picked from commit e96c689aa1e60e561f4db67725d53fccc44234ec) po-properties/pt_BR.po | 1246 ++++++++++++++++++++++++------------------------ 1 file changed, 624 insertions(+), 622 deletions(-) commit 558fb1ecddc9510eaff2fa0b002ee759ae92ea49 Author: Christoph Reiter Date: Thu Dec 17 18:02:13 2015 +0100 gtkdnd-quartz: fix gtk_drag_begin_internal gtk_drag_begin_internal was changed to take a GtkImageDefinition instead of a GtkIconHelper. This adjusts the quartz variant accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=759607 gtk/gtkdnd-quartz.c | 57 +++++++++++++++++++++++++---------------------------- 1 file changed, 27 insertions(+), 30 deletions(-) commit a90926c7f02390ac7b671bb7ba23fa4cd38d4fdd Author: Alberts Muktupāvels Date: Mon Dec 28 20:46:23 2015 +0200 gtkheaderbar: update window buttons also on realize After bb34db6 _gtk_header_bar_update_window_buttons function is called before application menu is set. This caused regression - app menu button is initially hidden. https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit 788de42ffa78b466e8731efdbf74cfb800a47e6c Author: Yosef Or Boczko Date: Thu Dec 31 19:39:41 2015 +0200 Updated Hebrew translation po/he.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 7c55841110bc83c9ee86933d28b5564334b9e89d Author: Yosef Or Boczko Date: Thu Dec 31 19:38:23 2015 +0200 Updated Hebrew translation po/he.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 962ff554dc296e20d7b311d7b11cb09c01f95087 Author: Yosef Or Boczko Date: Thu Dec 31 18:49:30 2015 +0200 Updated Hebrew translation po-properties/he.po | 2201 ++++++++++++++++++++++++++------------------------- 1 file changed, 1129 insertions(+), 1072 deletions(-) commit 71c9e391274e02dcb6fc09d0e207d4451050f9b5 Author: Yosef Or Boczko Date: Thu Dec 31 18:47:57 2015 +0200 Updated Hebrew translation po/he.po | 3991 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1902 insertions(+), 2089 deletions(-) commit a8ae549ed08832b37587d6e914affeed60d4966f Author: Руслан Ижбулатов Date: Wed Dec 30 18:05:36 2015 +0000 Fix include path for gtkiconfactoryprivate.h gtk/deprecated/gtkstock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 91bb91dbb9e10691a9f4e3e8f0b1b4dabcd7ee27 Author: Руслан Ижбулатов Date: Wed Dec 30 18:05:05 2015 +0000 Fix to compile for C libraries with no flockfile Also use MS variant of flockfile, if available (requires MSVCRT compatible with MSVCR90 or newer). configure.ac | 2 +- gtk/gtkimmodule.c | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) commit f357ef5610ff94af14925ac837b31b63a93f01aa Author: Cosimo Cecchi Date: Wed Dec 30 10:44:12 2015 -0800 scrolledwindow: add missing deprecation flag gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 354eb5678b13d101bd097e038245be1a7a4aed9c Author: Cosimo Cecchi Date: Tue Dec 29 18:31:10 2015 -0800 menuitem: fix a crash when reserve_indicator is TRUE In that case, code expects an arrow gadget to be present but we're not creating it in every occurrence. Fix it by ensuring there will be an arrow gadget when reserve_indicator is TRUE. gtk/gtkmenuitem.c | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) commit 3740c7f09265e952e92566045c69edec50ad9b1a Author: Cosimo Cecchi Date: Tue Dec 29 16:33:34 2015 -0800 toolitem: fix a copy/paste typo gtk/gtktoolitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 79c045ed8080e0e91962821593e6d189f7070ca7 Author: Cosimo Cecchi Date: Wed Dec 23 09:54:42 2015 -0800 scrolledwindow: port to use a gadget gtk/gtkscrolledwindow.c | 2007 ++++++++++++++++++++++++----------------------- 1 file changed, 1007 insertions(+), 1000 deletions(-) commit 7c0f0e882ae60911e39aaf7b42fb2d94108f3474 Author: Cosimo Cecchi Date: Tue Dec 22 20:45:33 2015 -0800 scrolledwindow: deprecate scrollbars-within-bevel style property These days all the themes set it to TRUE, and it's not clear what happens with overlay scrollbars... gtk/gtkscrolledwindow.c | 92 +++----------------------------- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk.css | 1 - gtk/theme/win32/gtk-win32-base.css | 1 - 7 files changed, 8 insertions(+), 90 deletions(-) commit 09835b4c3987d67aafe7ae4ded039beb175121c9 Author: Cosimo Cecchi Date: Mon Dec 28 12:21:27 2015 -0800 viewport: don't render a background over the bin window GtkViewport currently tries to draw a background over the bin window. The feature is a bit broken at the moment, as it does not take into account padding that might have been set on the GtkViewport, but in general it does not seem very useful, and goes somewhat against the CSS box model where every widget/gadget is responsible to draw its own background. For a fix, we could either have the viewport gain a "bin" gadget, or we could stop drawing the background. As it isn't clear that there are any users of this feature, stop drawing the background; a client can achieve the same effect by drawing the background on the widget inside the viewport itself. gtk/gtkviewport.c | 11 ----------- 1 file changed, 11 deletions(-) commit 5daede51f77a6afbfbd636bb7f45a2d1d9c93bf1 Author: Cosimo Cecchi Date: Tue Dec 22 17:55:18 2015 -0800 viewport: port to use a gadget This will get us margin support, among other things, and simplifies the code. gtk/gtkviewport.c | 593 ++++++++++++++++++++++++++---------------------------- 1 file changed, 285 insertions(+), 308 deletions(-) commit 71d7b10dad461c1a1b2cc7b69408bee99c50c3c9 Author: Cosimo Cecchi Date: Tue Dec 22 16:26:28 2015 -0800 viewport: trivial code cleanup gtk/gtkviewport.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit a37129fd6062df7ebf38a428194f1c3993532038 Author: Cosimo Cecchi Date: Tue Dec 22 15:10:23 2015 -0800 viewport: use gtk_container_class_handle_border_width() No need to do this manually. gtk/gtkviewport.c | 31 ++++++++++++------------------- 1 file changed, 12 insertions(+), 19 deletions(-) commit acbff854029cc5b308c92024990abeb81355c360 Author: Benjamin Otte Date: Wed Dec 23 01:50:20 2015 +0100 gadget: Handle visibility As GtkCssNode has the visibility concept, it makes sense to mirror it in gadgets. Do what visibility does in widgets: Hidden gadgets can't be drawn or allocated and request a 0x0 size. Note that just like widgets, gadget visibility must not be changed in size request, allocate or draw handlers. GtkWidget::child-visible has no equivalent yet, code will have to emulate that manually. gtk/gtkcssgadget.c | 52 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 56 insertions(+) commit 9950764f1224c61ad482c9ccfb1bf7e7667b10f7 Author: Matthias Clasen Date: Sat May 16 18:54:35 2015 -0400 Drop deprecated pango-utils api Copy the few parsing functions we need. gtk/gtkimmodule.c | 179 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 158 insertions(+), 21 deletions(-) commit 1e1af62beed4f89722a6c88a23a344a6e0828244 Author: Ben Iofel Date: Sun Dec 27 19:13:21 2015 -0800 Raleigh: Don't use deprecated pseudo classes gtk/theme/Raleigh/gtk-default.css | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 31e97b33e123f776dcec4a6d51ec4522f9cb3684 Author: Matthias Clasen Date: Mon Dec 28 23:15:53 2015 -0500 Set ID on css node right away Previously, the ID was only set on the CSS node as a side-effect of calling gtk_widget_get_style_context. This was showing up in CSS style tests as nodes lacking their IDs. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 0042f9b41484ea223ab24b94ffc529c4c5ecc231 Author: Matthias Clasen Date: Mon Dec 28 22:36:29 2015 -0500 Fix a comment gtk/gtkcssvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e71f7d713e652ed0db4828b9c3e841766073922c Author: Matthias Clasen Date: Mon Dec 28 14:41:33 2015 -0500 Add a transfer annotation This was confusing me momentarily, so add an explicit annotation. gtk/gtkcssstyleproperty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ae32adf3c3cef23401dda9e8a0f737ed9f87ac2 Author: Mario Blättermann Date: Mon Dec 28 21:16:11 2015 +0000 Updated German translation po/de.po | 1845 ++++++++++++++++++++++++++++---------------------------------- 1 file changed, 843 insertions(+), 1002 deletions(-) commit ba1636be87b9f5d567d8ca5dbd9ae4c7c2476a64 Author: Matthias Clasen Date: Mon Dec 28 10:27:08 2015 -0500 statusicon: Avoid criticals The code handles the possibility of pixbuf being NULL, but after b411c318321fd4de556926119cbc6e3ba14f073a we must be prepared for surface already being NULL. Pointed out by Albert Muktupāvels, https://bugzilla.gnome.org/show_bug.cgi?id=759917 gtk/deprecated/gtkstatusicon.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit e8ba05839665f9cfa87a96f5b2285ed8c783e830 Author: Matthias Clasen Date: Mon Dec 28 10:24:02 2015 -0500 checkbutton: Update state initially Without this, the check node starts out without the :dir(ltr) state, at least. gtk/gtkcheckbutton.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit eb09bee492d7041dbafdc7376c520b8197d30096 Author: Matthias Clasen Date: Sun Dec 27 18:37:19 2015 -0500 css: Deprecate :sorted pseudo class This was used with regions in GtkTreeView, and is not used anymore, so deprecate it. gtk/gtkcssselector.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 2b27096fc37bf2eea30cfa28a8453d9ff08f1460 Author: Matthias Clasen Date: Sun Dec 27 17:31:27 2015 -0500 Fix outline-radius css parser test The outline-radius properties all got a -gtk prefix. testsuite/css/parser/outline-radius.css | 72 ++++++++++++++--------------- testsuite/css/parser/outline-radius.ref.css | 72 ++++++++++++++--------------- 2 files changed, 72 insertions(+), 72 deletions(-) commit ab182126dfb0917a163a70def24be6f7b7f75046 Author: Matthias Clasen Date: Sun Dec 27 17:23:40 2015 -0500 Fix the pseudo-classes-known css test The test needs to be updated for the renamed :dnd pseudo class. We also need to add a .errors file for the deprecation errors that we are now producing. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/pseudo-classes-known.css | 2 +- testsuite/css/parser/pseudo-classes-known.errors | 4 ++++ testsuite/css/parser/pseudo-classes-known.ref.css | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) commit f3069d7e9465ada88033ebbeee7f91276a076d61 Author: Matthias Clasen Date: Sun Dec 27 17:24:25 2015 -0500 css: Redo the pseudo class deprecation warnings Putting the deprecated class behind the official variant does not work for the case of :focus and :focused - we were matching :focus and leave a dangling 'ed'. So, put the deprecated classes before the official variant, and explicitly mark them as deprecated. gtk/gtkcssselector.c | 47 ++++++++++++++++++++++++----------------------- 1 file changed, 24 insertions(+), 23 deletions(-) commit c4ca671a9ee9f230837476e539ba7c737b3fcfb9 Author: Matthias Clasen Date: Sun Dec 27 17:21:50 2015 -0500 test-css-parser: Add a way to generate output Use test-css-parser --generate foo.css to see the parser output on stdout. This makes it more convenient to add new css files to the testsuite. testsuite/css/parser/test-css-parser.c | 36 +++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) commit 8bfbb2c103907e6b608969aa9002199769cc95a8 Author: Matthias Clasen Date: Sat Dec 26 21:41:59 2015 -0500 Cosmetic change gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 80a91722e5e0a1916f50131fd578d15cbfec4698 Author: Matthias Clasen Date: Sat Dec 26 21:40:19 2015 -0500 inspector: Don't leak weak references These come back to bite us when the inspector is no longer around at the end of the program. https://bugzilla.gnome.org/show_bug.cgi?id=759768 gtk/inspector/object-tree.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit 787f600d3350b311fa74198b5afc0df5c5a665fa Author: Matthias Clasen Date: Sat Dec 26 20:12:04 2015 -0500 inspector: Remove some dead code Since commit bffeae6203ffe5ea91988d4439571568abc95ab7, the tree path is not used for anything useful anymore, so do away with it entirely. gtk/inspector/object-tree.c | 4 ---- 1 file changed, 4 deletions(-) commit f669ccca66e8a59cbdcaeeff58a15e6c9255d843 Author: Matthias Clasen Date: Sat Dec 26 16:04:02 2015 -0500 docs: Add missing value syntax for border-image docs/reference/gtk/css.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f154f576afc30e74da3990e0b6965a1613f9d02 Author: Руслан Ижбулатов Date: Sun Dec 27 02:02:19 2015 +0000 Fix a surface leak Was introduced as part of b79a187d47ee5c45952fab60c141fcaed7e05ef6. Results in memory leaks (and GDI objects leaks on W32). gtk/gtkiconhelper.c | 3 +++ 1 file changed, 3 insertions(+) commit 5404e124b64d879b11931235c0a3874f2d98dc09 Author: Carlos Soriano Date: Sat Dec 26 20:52:53 2015 +0100 gtkframe: format fix gtk/gtkframe.c | 2 -- 1 file changed, 2 deletions(-) commit 79b6d4898339a38ecb67696a110a5b0374521291 Author: Carlos Soriano Date: Sat Dec 26 20:52:31 2015 +0100 gtkframe: remove unused variable And fix the compiler warning gtk/gtkframe.c | 1 - 1 file changed, 1 deletion(-) commit 26d8688cb4992bed6c17213d8832f3137fa24c22 Author: Matthias Clasen Date: Thu Dec 24 18:10:04 2015 -0500 Redo the CSS docs Split the CSS docs off from the GtkCssProvider docs and give them their own chapter. Among other things, this commit introduces more or less complete definitions of the syntax for the supported selectors, a complete list of all supported properties, and definitions for their values. This includes documentation for GTK+-specific properties such as -gtk-icon-source. docs/reference/gtk/css.xml | 2196 ++++++++++++++++++++++++++++++++++++++ docs/reference/gtk/gtk-docs.sgml | 2 +- gtk/gtkcssprovider.c | 1095 +------------------ 3 files changed, 2212 insertions(+), 1081 deletions(-) commit b3dbf3f41c37659f430d36b8a1bfbb8aa92f6607 Author: Matthias Clasen Date: Fri Dec 25 22:24:58 2015 -0500 Drop the :dnd syntax altogether This was only introduced a few weeks ago. We don't need to keep this around, now that we support the proper CSS syntax. gtk/gtkcssselector.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 39b4efb24ec0782b6d2ab0cb625b39238c9bc91d Author: Matthias Clasen Date: Thu Dec 24 18:43:03 2015 -0500 Adwaita: Don't use deprecated pseudo classes gtk/theme/Adwaita/_common.scss | 218 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 842 ++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 922 +++++++++++++++---------------- 3 files changed, 991 insertions(+), 991 deletions(-) commit c998fae5ac68745660e6b984f66c175ff0468d30 Author: Matthias Clasen Date: Thu Dec 24 18:08:20 2015 -0500 Add deprecation warnings for pseudo states Emit a deprecation error in the cases where we have a CSS name for a custom pseudo class. gtk/gtkcssselector.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 158dbbc88f2c2735c417d27bbc96dbecd7a67656 Author: Matthias Clasen Date: Thu Dec 24 18:04:15 2015 -0500 Use CSS syntax for drop highlighting I hadn't noticed the :drop() pseudo state in the CSS4 Selectors spec when I added this a while ago. This commit renames GTK_STATE_FLAG_DND to GTK_STATE_FLAG_DROP_ACTIVE and adds :drop(active) as equivalent to the :dnd pseudo state. gtk/gtkcssselector.c | 4 +++- gtk/gtkdnd.c | 4 ++-- gtk/gtkenums.h | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) commit b3c1454dcc6b1f916390db55dcc9673027b79659 Author: Matthias Clasen Date: Fri Dec 25 22:22:51 2015 -0500 Add docs for GtkCssSection gtk/gtkcsssection.h | 6 ++++++ 1 file changed, 6 insertions(+) commit 9290aa7c46fcfd2dc966d7dee0f8ca7dece06b60 Author: Carlos Garnacho Date: Fri Dec 25 14:23:20 2015 +0100 GdkSeat: Use g_intern_static_string() for signal names https://bugzilla.gnome.org/show_bug.cgi?id=759857 gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9f06474bccb88f9f150d66fd5cafec68689978af Author: Marek Černocký Date: Fri Dec 25 10:50:39 2015 +0100 Updated Czech translation po-properties/cs.po | 3101 ++++++++++++++++++++++++++------------------------- 1 file changed, 1606 insertions(+), 1495 deletions(-) commit 81da0b86f362473498509c546edd6eab0939c0c6 Author: Lapo Calamandrei Date: Thu Dec 24 00:02:12 2015 +0100 Adwaita: fix notebook close button gtk/theme/Adwaita/_common.scss | 7 +++---- gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++--------- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++--------- 3 files changed, 17 insertions(+), 22 deletions(-) commit 157276b4554caa834ae154f0fcf6f2983a746535 Author: Lapo Calamandrei Date: Wed Dec 23 20:35:06 2015 +0100 Adwaita: use min-height/width for entry and button sizing gtk/theme/Adwaita/_common.scss | 35 +++++++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 44 ++++++++++++++++---------------- 3 files changed, 66 insertions(+), 57 deletions(-) commit 08f928a4ea78fc256b5cc50582723d200c9aa632 Author: Lapo Calamandrei Date: Wed Dec 23 18:57:04 2015 +0100 Adwata: fix switch slider border clash gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit e20826fe033b0e512c784b83d2236de502ad8430 Author: Florian Müllner Date: Wed Dec 23 01:51:30 2015 +0100 label: Deny drag gesture when not selectable We don't actually do anything when the label is not selectable except for consuming the event, which breaks for instance titlebar drags with labels that contain links. Simply deny the gesture in that case to allow the event to bubble up normally. https://bugzilla.gnome.org/show_bug.cgi?id=759798 gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0bc0a9ac2cee05ef12ecc41b71debecdded8602 Author: Chun-wei Fan Date: Wed Dec 23 18:58:42 2015 +0800 gtkcssnumbervalue.c: Include fallback-c89.c to fix build ... on older Visual Studio versions, where isinf() is not available, and copy the isinf() implementation from gdk/fallback-c89.c to gtk/fallback-c89.c. gtk/fallback-c89.c | 12 ++++++++++++ gtk/gtkcssnumbervalue.c | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) commit d0d8671c02dad52b54867c9ed92f47e1cba17df1 Author: Matthias Clasen Date: Wed Dec 23 01:56:07 2015 -0500 Forgotten files testsuite/css/parser/transition-duration.css | 27 ++++++++++++++++++++++++ testsuite/css/parser/transition-duration.ref.css | 27 ++++++++++++++++++++++++ 2 files changed, 54 insertions(+) commit b6d287aab5606f6cd40f871d16e73fcb0558b55c Author: Matthias Clasen Date: Tue Dec 22 23:46:59 2015 -0500 widget: Be safe against windows losing their frame clock gdk_widget_get_frame_clock can return NULL. In particular, this can happen when the drag window is destroyed at the end of a DND operation. Handle this gracefully when it happens. gtk/gtkwidget.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 8ffa8b3a495ae9fa34eb2139dec066167a8f8daf Author: Alberts Muktupāvels Date: Wed Dec 23 05:30:11 2015 +0200 gtksettings: notify after property reset gtk/gtksettings.c | 1 + 1 file changed, 1 insertion(+) commit ef71eabfc558f90a98c5a959c29e3e5b01e2c3d2 Author: Matthias Clasen Date: Tue Dec 22 21:33:08 2015 -0500 Add parser tests for animation properties This adds tests for animation-name, animation-duration, animation-timing-function, animation-iteration-count, animation-direction, animation-play-state, animation-delay and animation-fill-mode. testsuite/css/parser/Makefile.am | 16 ++++++++++ testsuite/css/parser/animation-delay.css | 23 ++++++++++++++ testsuite/css/parser/animation-delay.ref.css | 23 ++++++++++++++ testsuite/css/parser/animation-direction.css | 19 ++++++++++++ testsuite/css/parser/animation-direction.ref.css | 19 ++++++++++++ testsuite/css/parser/animation-duration.css | 23 ++++++++++++++ testsuite/css/parser/animation-duration.ref.css | 23 ++++++++++++++ testsuite/css/parser/animation-fill-mode.css | 19 ++++++++++++ testsuite/css/parser/animation-fill-mode.ref.css | 19 ++++++++++++ testsuite/css/parser/animation-iteration-count.css | 27 +++++++++++++++++ .../css/parser/animation-iteration-count.ref.css | 27 +++++++++++++++++ testsuite/css/parser/animation-name.css | 23 ++++++++++++++ testsuite/css/parser/animation-name.ref.css | 23 ++++++++++++++ testsuite/css/parser/animation-play-state.css | 19 ++++++++++++ testsuite/css/parser/animation-play-state.ref.css | 19 ++++++++++++ testsuite/css/parser/animation-timing-function.css | 35 ++++++++++++++++++++++ .../css/parser/animation-timing-function.ref.css | 35 ++++++++++++++++++++++ 17 files changed, 392 insertions(+) commit 8f44383253125481c18e9a06b1a6a60b3c4cd4cc Author: Matthias Clasen Date: Mon Dec 21 23:28:48 2015 -0500 Add a parser tests for transition properties This adds tests for transition-property, transition-delay and transition-timing-function. testsuite/css/parser/Makefile.am | 12 ++++++++ testsuite/css/parser/transition-delay.css | 27 +++++++++++++++++ testsuite/css/parser/transition-delay.ref.css | 27 +++++++++++++++++ testsuite/css/parser/transition-property.css | 23 ++++++++++++++ testsuite/css/parser/transition-property.ref.css | 23 ++++++++++++++ .../css/parser/transition-timing-function.css | 35 ++++++++++++++++++++++ .../css/parser/transition-timing-function.ref.css | 35 ++++++++++++++++++++++ 7 files changed, 182 insertions(+) commit 2b6ab1b8bd0739d21ac60be4bf919e1c354f3510 Author: Matthias Clasen Date: Mon Dec 21 23:23:05 2015 -0500 Add parser tests for min-width and min-height testsuite/css/parser/min-height.css | 19 +++++++++++++++++++ testsuite/css/parser/min-height.ref.css | 19 +++++++++++++++++++ testsuite/css/parser/min-width.css | 19 +++++++++++++++++++ testsuite/css/parser/min-width.ref.css | 19 +++++++++++++++++++ 4 files changed, 76 insertions(+) commit a0487f0516babb12a8e20caddca4473e151b0bc4 Author: Matthias Clasen Date: Mon Dec 21 22:14:21 2015 -0500 Add parser tests for border-image properties This adds tests for border-image-source, border-image-repeat, border-image-slice and border-image-width. testsuite/css/parser/Makefile.am | 8 +++ testsuite/css/parser/border-image-repeat.css | 39 +++++++++++++ testsuite/css/parser/border-image-repeat.ref.css | 39 +++++++++++++ testsuite/css/parser/border-image-slice.css | 52 +++++++++++++++++ testsuite/css/parser/border-image-slice.ref.css | 51 +++++++++++++++++ testsuite/css/parser/border-image-source.css | 19 +++++++ testsuite/css/parser/border-image-source.ref.css | 19 +++++++ testsuite/css/parser/border-image-width.css | 71 ++++++++++++++++++++++++ testsuite/css/parser/border-image-width.ref.css | 71 ++++++++++++++++++++++++ 9 files changed, 369 insertions(+) commit d92111256f818b1d2af95916a3cfe4bde16865ba Author: Matthias Clasen Date: Tue Dec 22 21:58:31 2015 -0500 fix printing of numbers We should be printing infinite, not inf. gtk/gtkcssnumbervalue.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 6b497bcf8135541f4ec61e6e72708839dbd3c251 Author: Matthias Clasen Date: Tue Dec 22 21:19:11 2015 -0500 Trivial changes gtk/gtkcssshorthandpropertyimpl.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit efb8e5bd434d5bf0fb77867510a5674ee983838c Author: Cosimo Cecchi Date: Tue Dec 22 15:36:00 2015 -0800 menuitem: don't use content allocation to resize the GdkWindow This is a fallout from the gadget conversion. gtk/gtkmenuitem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit e9aea98969224513a6a900e9601105b48e1620d5 Author: Matthias Clasen Date: Tue Dec 22 16:20:09 2015 -0500 widget-factory: Rename outline radius in css Rename all outline*radius properties to -gtk-outline*radius. demos/widget-factory/widget-factory.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad87ebb5e708b29ca347167751e8b97948a20d17 Author: Matthias Clasen Date: Tue Dec 22 16:19:18 2015 -0500 Adwaita: Adapt to previous commit Rename all outline*radius properties to -gtk-outline*radius. gtk/theme/Adwaita/_common.scss | 14 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 21 insertions(+), 21 deletions(-) commit f61b7ba7970870704529627a5127c9d5a7484eeb Author: Matthias Clasen Date: Tue Dec 22 16:18:10 2015 -0500 Prefix outline radius CSS properties These are not in any CSS specifications, so mark them as GTK+ additions by giving them a -gtk prefix. The old names still work. gtk/gtkcssshorthandpropertyimpl.c | 3 ++- gtk/gtkcssstylepropertyimpl.c | 12 ++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) commit 2d6ce0da0838b416e3693f9ba4320a24dc5fbcbd Author: Matthias Clasen Date: Tue Dec 22 14:22:13 2015 -0500 Add some docs to GtkIcon gtk/gtkicon.c | 4 ++++ 1 file changed, 4 insertions(+) commit 5f330418aeae2bc622bbd57a4e41cb738a5c896f Author: Matthias Clasen Date: Tue Dec 22 14:09:36 2015 -0500 Add some docs to GtkBuiltinIcon gtk/gtkbuiltinicon.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit a5a50915554f6a595bd2769f5cd5e8602a2b703b Author: Cosimo Cecchi Date: Tue Dec 22 11:56:23 2015 -0800 stylecontext: fix gtk-doc comment syntax gtk/gtkstylecontext.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 22c91698837ee06587f95dac82c72f3b8f64bc7d Author: Cosimo Cecchi Date: Tue Dec 22 11:52:43 2015 -0800 Adwaita: don't set deprecated style property gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - 3 files changed, 4 deletions(-) commit c8206ca69843ca7d84d4a062a1710e519bea2819 Author: Matthias Clasen Date: Tue Dec 22 13:48:32 2015 -0500 Adwaita: Fix app-notification theming The way to disable the frame border has changed. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) commit f5f80b40c36b647d5069b16736c08384cce31a11 Author: Matthias Clasen Date: Tue Dec 22 13:33:43 2015 -0500 Fix GtkFrame padding This was showing up in the app-notification in widget-factory. gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 23d8791a47e9bd5c7a306bbdd53c5e337a3538fe Author: Cosimo Cecchi Date: Tue Dec 22 10:52:42 2015 -0800 combobox: remove unused struct member The box was removed a while ago. gtk/gtkcombobox.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) commit 8d0ad79238aeeee3b0ca680d2f3ae637927ef369 Author: Cosimo Cecchi Date: Tue Dec 22 10:49:21 2015 -0800 Adwaita: remove combobox separator styling The separator does not exist anymore. gtk/theme/Adwaita/_common.scss | 4 ---- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 8 deletions(-) commit ef41bd7112e392ff5eca153cb676d710384c7ba4 Author: Cosimo Cecchi Date: Mon Dec 21 18:54:41 2015 -0800 combobox: deprecate shadow-type style property It does not add any value to what can be achieved through regular CSS styling. gtk/gtkcombobox.c | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) commit f5628f0439ce01b1430a51bddeafcb20e854db61 Author: Cosimo Cecchi Date: Mon Dec 21 18:43:19 2015 -0800 combobox: port to use a gadget Wrap the size request and allocate code into a GtkCssCustomGadget. This makes margins work on GtkComboBox. gtk/gtkcombobox.c | 629 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 331 insertions(+), 298 deletions(-) commit a90d928a34c2ba6d3ff5cfa33bc619350c153835 Author: Cosimo Cecchi Date: Mon Dec 21 18:32:14 2015 -0800 combobox: use a private variable when possible Instead of dereferencing the same variable over and over. gtk/gtkcombobox.c | 329 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 182 insertions(+), 147 deletions(-) commit f03268eabecfc9818bcb259ae8abd97e18706579 Author: Cosimo Cecchi Date: Mon Dec 21 17:50:42 2015 -0800 combobox: trivial code cleanup gtk/gtkcombobox.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit ebc7b59b448a0bd6229b794dc81959b219259a7d Author: Cosimo Cecchi Date: Mon Dec 21 17:47:44 2015 -0800 combobox: remove unneeded check The combobox always has a window. gtk/gtkcombobox.c | 7 ------- 1 file changed, 7 deletions(-) commit 5764c09272bc0ba2d80afd8aad3b780af3f7b4b2 Author: Cosimo Cecchi Date: Mon Dec 21 14:45:58 2015 -0800 combobox: use GtkIcon to render button arrow We can now use the newly introduced GtkIcon widget to properly render the arrow in the combobox with CSS. gtk/gtkcombobox.c | 35 ++++++++++---------------------- gtk/theme/Adwaita/_common.scss | 6 +++++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/theme/Adwaita/gtk-contained.css | 5 ++++- gtk/ui/gtkcombobox.ui | 4 ++-- 5 files changed, 26 insertions(+), 29 deletions(-) commit 9b7473b633833bb90603ed34464351d2ba3de385 Author: Cosimo Cecchi Date: Mon Dec 21 14:46:44 2015 -0800 Introduce GtkIcon private class This is an utility widget that wraps a GtkBuiltinIcon for situations where using a real widget is more convenient than a gadget. gtk/Makefile.am | 2 + gtk/gtkicon.c | 223 +++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkiconprivate.h | 56 +++++++++++++ 3 files changed, 281 insertions(+) commit 164e8ed6bd4c37e9a88e26bc5731eeaf2918a652 Author: Matthias Clasen Date: Tue Dec 22 10:30:51 2015 -0500 menuitem: Simplify separators For regular separators, we just rely on standard CSS background rendering nowadays. Do the same for separators in menus. https://bugzilla.gnome.org/show_bug.cgi?id=759765 gtk/gtkmenuitem.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) commit 2438a06d54636e5074c29bd696e3e81e90288b8d Author: Matthias Clasen Date: Mon Dec 21 21:56:10 2015 -0500 Revert "window: Remove suspicious branch" This reverts commit 67ab00e01ec06d7b05a82c3d80b235ac6c4abfd2. See https://bugzilla.gnome.org/show_bug.cgi?id=759705 for a case where this makes a difference. gtk/gtkwindow.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit a64bf81a9fdfbfeabe13298becd5e14fd3dfdd8c Author: Lapo Calamandrei Date: Tue Dec 22 11:53:27 2015 +0100 Adwaita: fix bogus rounded corners on split headerbars we have to do some assumptions for css selectors limits for this particular case, so for split headerbars to work correctly the actual haderbars need not to have the titlebar class applied. gtk/theme/Adwaita/_common.scss | 20 ++++++++++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 17 ++++++++++++++--- gtk/theme/Adwaita/gtk-contained.css | 17 ++++++++++++++--- 3 files changed, 46 insertions(+), 8 deletions(-) commit 939be8a24b45862731b2ca3192cc82300aed9efd Author: Kjell Ahlstedt Date: Tue Dec 22 09:39:28 2015 +0100 GdkSeat: Add G_BEGIN_DECLS and G_END_DECLS https://bugzilla.gnome.org/show_bug.cgi?id=759771 gdk/gdkseat.h | 4 ++++ 1 file changed, 4 insertions(+) commit 7a054328430cd7ee7fa63b11e7e7d8bb4754776c Author: Chun-wei Fan Date: Tue Dec 22 16:33:32 2015 +0800 gtk/gtkbuiltinicon.c: Fix build The gtk_builtin_icon_get_default_size_property returns a const char *, in a way such that some compilers insist that something that is of a pointer value be returned, so fix that by replacing 0 with NULL. gtk/gtkbuiltinicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f17468afc761ae63f1b5581c7769c9d97453f65 Author: Paolo Borelli Date: Sat Dec 19 10:31:32 2015 +0100 W32: avoid code duplication in gdkdevice-win32|virtual The same get_position function is cut and pasted in the two classes. gdk/win32/gdkdevice-virtual.c | 96 +------------------------------------------ gdk/win32/gdkdevice-win32.c | 19 ++++----- gdk/win32/gdkdevice-win32.h | 6 +++ 3 files changed, 15 insertions(+), 106 deletions(-) commit 75b3eec7a6549f0c2cf56d5b831c83aa939de3c7 Author: Daiki Ueno Date: Tue Dec 22 11:21:56 2015 +0900 inspector: Avoid crash when canceling at startup When clicking "Cancel" on the "Do you want to use GTK+ Inspector?" dialog, unregister the update_debugging idle handler. Also, steal reference to 'inspector_window' while gtk_destroy_widget(), to make further gtk_window_update_debugging() calls as a no-op. https://bugzilla.gnome.org/show_bug.cgi?id=759764 gtk/gtkwindow.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit cc50652db52d7b8ef8119592da6245978f9a0f31 Author: Matthias Clasen Date: Mon Dec 21 20:16:14 2015 -0500 Adwaita: Fix overwrite cursors in entries GtkEntry uses the background color to render the text over the block cursor. A transparent background color makes that not work. gtk/theme/Adwaita/_drawing.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 28 ++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 28 ++++++++++++++-------------- 3 files changed, 29 insertions(+), 29 deletions(-) commit 11ad60d386d4f5bfe6920943603aa4a6bf966bcc Author: Matt Watson Date: Fri Dec 18 17:47:00 2015 -0800 flowbox: remove unused prelight code It was causing needless redraws https://bugzilla.gnome.org/show_bug.cgi?id=759757 gtk/gtkflowbox.c | 20 -------------------- 1 file changed, 20 deletions(-) commit 5c704621ac07122a687b92909c47f627959fa8ac Author: Matthias Clasen Date: Mon Dec 21 16:32:56 2015 -0500 Fix import css parser tests Don't use nonexisting properties here either testsuite/css/parser/import-cyclic-1.css | 2 +- testsuite/css/parser/import-cyclic-1.ref.css | 6 +++--- testsuite/css/parser/import-cyclic-2.css | 2 +- testsuite/css/parser/import-cyclic-2.ref.css | 6 +++--- testsuite/css/parser/import-cyclic-3.css | 2 +- testsuite/css/parser/import-cyclic-3.ref.css | 6 +++--- testsuite/css/parser/import-nonexistant.css | 2 +- testsuite/css/parser/import-nonexistant.ref.css | 2 +- testsuite/css/parser/import-recursive.css | 2 +- testsuite/css/parser/import-recursive.ref.css | 2 +- 10 files changed, 16 insertions(+), 16 deletions(-) commit 54c32fae1e589bbee63bc26a188de64beb19714c Author: Alberts Muktupāvels Date: Sat Dec 19 19:21:10 2015 +0200 x11: create GdkSeat also in GdkX11DeviceManagerCore There are at least few cases when GdkX11DeviceManagerXI2 will not be used. Make sure that we have GdkSeat in such cases. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/x11/gdkdevicemanager-core-x11.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 31f319d1c767ce9ea7b5df7e8bb0efa60eeab1be Author: Matthias Clasen Date: Mon Dec 21 14:53:09 2015 -0500 css parser test: Drop remaining made-up properties These are not used anymore in any tests, and the css parser doesn't support parsing custom properties anymore. testsuite/css/parser/test-css-parser.c | 29 ----------------------------- 1 file changed, 29 deletions(-) commit ece3d33858ddba45397526b4fecc51c08b5e36dd Author: Matthias Clasen Date: Mon Dec 21 14:52:06 2015 -0500 Fix css parser integer test Use margin-top instead of a made-up property. testsuite/css/parser/integer.css | 28 ++++++++++++++-------------- testsuite/css/parser/integer.errors | 12 ++++++++---- testsuite/css/parser/integer.ref.css | 28 ++++++++++++++++++++++------ 3 files changed, 44 insertions(+), 24 deletions(-) commit ce859a7c650cd5250e419e28c10df282b3a5affa Author: Matthias Clasen Date: Mon Dec 21 14:44:00 2015 -0500 Update css parser value none test The test is affected by icon-shadow being renamed and by engine being deprecated. testsuite/css/parser/value-none.css | 22 +++++++++++----------- testsuite/css/parser/value-none.errors | 19 ++++++++++--------- testsuite/css/parser/value-none.ref.css | 2 +- 3 files changed, 22 insertions(+), 21 deletions(-) commit 0fb84c5a685404d76d97f79ebd43284c9f0a63a9 Author: Matthias Clasen Date: Mon Dec 21 14:37:09 2015 -0500 Fix the css parser value initial test This was affected by the recent renaming of icon-shadow to -gtk-icon-shadow. Also, it produces an error now because engine is deprecated. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/value-initial.css | 2 +- testsuite/css/parser/value-initial.errors | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit 474f5b7784162e8aca408ddb7c6ef694d4a5384c Author: Matthias Clasen Date: Mon Dec 21 14:35:11 2015 -0500 Fix the css parser value inherit test This was affected by the recent renaming of icon-shadow to -gtk-icon-shadow. Also, it produces an error now because engine is deprecated. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/value-inherit.css | 2 +- testsuite/css/parser/value-inherit.errors | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) commit db094092ae04150339c5070776b69627af92fe69 Author: Matthias Clasen Date: Mon Dec 21 14:32:01 2015 -0500 Update font-weight css parser test This is affected by the recent fix for parsing font-weight. testsuite/css/parser/font-weight.ref.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ea651dcd317bc6d8d9c88d2b1ee54100cb67b9fd Author: Matthias Clasen Date: Mon Dec 21 14:30:32 2015 -0500 Update font-family css parser test There are no errors here. testsuite/css/parser/Makefile.am | 4 ---- testsuite/css/parser/font-family.errors | 8 -------- 2 files changed, 12 deletions(-) commit b931821f5eaff75c46e709e8d9b18c5a52a6fd32 Author: Matthias Clasen Date: Mon Dec 21 14:29:17 2015 -0500 Update the css parser unknown pseudo-class test Use an existing property instead of a made-up one. testsuite/css/parser/pseudo-classes-unknown.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 8ff127940fdbd43ef3948edc6f1c44ab95df50ab Author: Matthias Clasen Date: Mon Dec 21 14:27:52 2015 -0500 Update the css parser selector test Use an existing property instead of the made-up one, here. testsuite/css/parser/selector.css | 240 +++++++++++++++++----------------- testsuite/css/parser/selector.ref.css | 240 +++++++++++++++++----------------- 2 files changed, 240 insertions(+), 240 deletions(-) commit 1f298c385fc198dc9c5a84c103116d8c76a25ef3 Author: Matthias Clasen Date: Mon Dec 21 14:25:46 2015 -0500 Drop the css parser enum test We are no longer using and non-css properties, and css enums are all parsed with custom code. testsuite/css/parser/enum.css | 32 -------------------------------- testsuite/css/parser/enum.errors | 6 ------ testsuite/css/parser/enum.ref.css | 7 ------- 3 files changed, 45 deletions(-) commit e567f23bcddeb223da1fb8e53c137824676ec9df Author: Matthias Clasen Date: Mon Dec 21 14:17:28 2015 -0500 Update another css parser test This test was using the engine property, which has been deprecated and thus generates an error now. Instead, use the font property. testsuite/css/parser/Makefile.am | 1 - testsuite/css/parser/declarations-valid-18.css | 2 +- testsuite/css/parser/declarations-valid-18.errors | 1 - testsuite/css/parser/declarations-valid-18.ref.css | 8 ++++++++ 4 files changed, 9 insertions(+), 3 deletions(-) commit dcc3dd12119b6a16b440fef7909683169f70c9d6 Author: Matthias Clasen Date: Mon Dec 21 14:14:36 2015 -0500 Update css parser test for declarations Use existing CSS properties instead of made-up ones. testsuite/css/parser/declarations.css | 38 +++++++++++++++---------------- testsuite/css/parser/declarations.ref.css | 16 ++++++------- 2 files changed, 27 insertions(+), 27 deletions(-) commit 0035d526c3c995eeb0a7047d39c3503fc23ee0aa Author: Matthias Clasen Date: Mon Dec 21 14:11:10 2015 -0500 test-css-parser: Drop unused property The rgba-property is no longer used in any tests, drop it. testsuite/css/parser/test-css-parser.c | 6 ------ 1 file changed, 6 deletions(-) commit 6eb4102bf25263f8023e80a72d8da133f9ab5dee Author: Matthias Clasen Date: Mon Dec 21 14:08:58 2015 -0500 Update css parser tests for colors Use the color property instead of a made-up rgba-valued property. testsuite/css/parser/colors-errors.css | 16 ++++++++-------- testsuite/css/parser/colors-red.css | 30 +++++++++++++++--------------- testsuite/css/parser/colors-red.ref.css | 30 +++++++++++++++--------------- 3 files changed, 38 insertions(+), 38 deletions(-) commit a21025e096f3796370ba72b60bfb41f188c223bc Author: Matthias Clasen Date: Mon Dec 21 14:07:08 2015 -0500 test-css-parser: Drop unused property The border-property is no longer used in any tests, drop it. testsuite/css/parser/test-css-parser.c | 6 ------ 1 file changed, 6 deletions(-) commit b56980eba288f22062ad062c1b33705171c39467 Author: Matthias Clasen Date: Mon Dec 21 14:06:07 2015 -0500 Update css parser test for borders Use the border-image-width property instead of a made-up border-valued property. testsuite/css/parser/border.css | 28 ++++++++++++++-------------- testsuite/css/parser/border.ref.css | 14 +++++++------- 2 files changed, 21 insertions(+), 21 deletions(-) commit 0c9c6b882efdccacbf656a1fbe76634552031d8a Author: Matthias Clasen Date: Mon Dec 21 14:01:03 2015 -0500 Update border-radius-shorthand tests The name of the css file is in the error output, so we have to update that after the file was recently renamed. .../css/parser/border-radius-shorthand.errors | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 01f2d4dd0f2ecbdf6d3666156643b9a89989b61c Author: Matthias Clasen Date: Mon Dec 21 13:59:24 2015 -0500 Update pseudo-class test We have some more pseudo-classes now, and some are printed out with their CSS name. testsuite/css/parser/pseudo-classes-known.css | 8 ++++++++ testsuite/css/parser/pseudo-classes-known.ref.css | 12 ++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) commit 6d86ce516da52898b07e613d64e029323b08f7b8 Author: Matthias Clasen Date: Mon Dec 21 13:53:56 2015 -0500 test-css-parser: Drop unused properties We don't have any tests involving these style properties, so don't install those. testsuite/css/parser/test-css-parser.c | 55 ---------------------------------- 1 file changed, 55 deletions(-) commit a5ccef74702e50c8d2978279b53349657e767fd7 Author: Matthias Clasen Date: Mon Dec 21 13:51:23 2015 -0500 Don't test parsing boolean values in css CSS doesn't have any boolean properties. testsuite/css/parser/Makefile.am | 3 --- testsuite/css/parser/boolean.css | 48 ------------------------------------ testsuite/css/parser/boolean.errors | 8 ------ testsuite/css/parser/boolean.ref.css | 31 ----------------------- 4 files changed, 90 deletions(-) commit fc2879108d577ced23b46ca636be72e1883c3666 Author: Carlos Garnacho Date: Mon Dec 21 19:13:41 2015 +0100 wayland: Don't trigger grab on missing capabilities Those might not be currently there in the first place. gdk/wayland/gdkdevice-wayland.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 3075dac106a551591363e3f84026697c41a94a2a Author: Matthias Clasen Date: Mon Dec 21 12:53:05 2015 -0500 image: Don't assume baseline parameters are non-NULL The GetSize callback *can* assume that minimum and natural are non-NULL. Buy minimum_baseline and natural_baseline can and will be NULL, so handle that. This was causing crashes e.g. in pavucontrol. gtk/gtkimage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 485c28d30078089736bb15871b49a2b5f76bd1f4 Author: Cosimo Cecchi Date: Sun Dec 20 17:30:52 2015 -0800 menu: port arrow rendering to use a GtkBuiltinIcon At the same time, remove one spurious background/frame rendering, and simplify the code a great deal. gtk/gtkmenu.c | 289 ++++++++++++------------------- gtk/gtkmenuprivate.h | 5 +- gtk/theme/Adwaita/_common.scss | 12 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- 5 files changed, 134 insertions(+), 184 deletions(-) commit 729801c2a1bd8844fcb74e08c1543a3a6a6a44a9 Author: Cosimo Cecchi Date: Sun Dec 20 18:48:08 2015 -0800 menuitem: trivial doc improvement gtk/gtkmenuitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 105b45dce0cfa33eb0f60d672ab94d9a1b5ab75d Author: Cosimo Cecchi Date: Sun Dec 20 18:29:48 2015 -0800 cssgadget: print more information when warning gtk/gtkcssgadget.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 5611e81bbc936090875174fe912dd952fc863440 Author: Cosimo Cecchi Date: Sun Dec 20 18:23:46 2015 -0800 cssgadget: fix fallback case We should be resetting the height here, not the width. gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 655132b87c8214d8f9b403d15198afabe688c7d4 Author: Cosimo Cecchi Date: Sun Dec 20 18:44:10 2015 -0800 menu: deprecate double-arrows style property It does not sound like a good idea anymore to have a style property change the layout of the menu this drastically. gtk/gtkmenu.c | 106 +++++++--------------------------------------------------- 1 file changed, 13 insertions(+), 93 deletions(-) commit b664ba50c0db397e4cba0c35fb7936fe8152d9e7 Author: Cosimo Cecchi Date: Sun Dec 20 11:19:23 2015 -0800 menu: deprecate arrow-placement style property It does not sound like a good idea anymore to have a style property change the layout of the menu this drastically. gtk/gtkmenu.c | 152 ++++++++++------------------------------------------------ 1 file changed, 25 insertions(+), 127 deletions(-) commit 8a0a11dae482edb490a6e66d4f06a9dcf653a82c Author: Lapo Calamandrei Date: Mon Dec 21 16:58:03 2015 +0100 Adwaita: set scrollbar style props in a general wildcard trying to make webkit happy. gtk/theme/Adwaita/_common.scss | 20 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 132 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 132 +++++++++++++++---------------- 3 files changed, 143 insertions(+), 141 deletions(-) commit 7c6ca26bfbf35ffa2a9e2e272eefec2242185838 Author: Lapo Calamandrei Date: Mon Dec 21 16:18:04 2015 +0100 Adwaita: fix split headerbar styling applications with split headerbars has a container in the titlebar slot so the .titlebar style there needs to be reset. Since we can't go backward with selectors I assumed that any csd application sports a headerbar hence relying on that styling and resetting the .titlebar styleclass. gtk/theme/Adwaita/_common.scss | 15 +- gtk/theme/Adwaita/gtk-contained-dark.css | 326 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 326 ++++++++++++++++--------------- 3 files changed, 345 insertions(+), 322 deletions(-) commit 6f889e832c2cb02b70f2d5b891938c571a37c7b1 Author: Matthias Clasen Date: Mon Dec 21 08:26:58 2015 -0500 css: Support CSS names for pseudo states What we call :insensitive is called :disabled in CSS, and :inconsistent is :indeterminate. Recognize these names, but still support the old ones. gtk/gtkcssselector.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 2599ca4d9f97b55d2ce3c5787e694e29e5949c4d Author: Matthias Clasen Date: Mon Dec 21 07:46:37 2015 -0500 Adwaita: Attempt a fixing split headers Remove decorations from headerbars which are wrapped in some other containers (like boxes, or paneds), to prevent double decorations in those cases. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 214 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 214 +++++++++++++++---------------- 3 files changed, 215 insertions(+), 215 deletions(-) commit 698fe18521504dbfc27562583d8df4a4d1ade7a3 Author: Matthias Clasen Date: Mon Dec 21 06:58:29 2015 -0500 Add missing tests to Makefile.am testsuite/css/parser/Makefile.am | 54 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit 3daeb7018278e1274310111147fd6e090bc7c9be Author: Matthias Clasen Date: Mon Dec 21 06:45:32 2015 -0500 Fix the build testsuite/css/parser/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d081b309d5b87bff1b68e189289de5b3c0ef7dc6 Author: Matthias Clasen Date: Sun Dec 20 17:33:24 2015 -0500 Add some css parser tests These tests exercise many allowed ways to specify various properties. testsuite/css/parser/background-clip.css | 27 +++++ testsuite/css/parser/background-clip.ref.css | 27 +++++ testsuite/css/parser/background-image.css | 88 +++++++++++++++ testsuite/css/parser/background-image.ref.css | 87 +++++++++++++++ testsuite/css/parser/background-origin.css | 27 +++++ testsuite/css/parser/background-origin.ref.css | 27 +++++ testsuite/css/parser/background-repeat.css | 16 +++ testsuite/css/parser/background-repeat.ref.css | 16 +++ testsuite/css/parser/background-size.css | 16 +++ testsuite/css/parser/background-size.ref.css | 16 +++ testsuite/css/parser/border-color.css | 34 ++++++ testsuite/css/parser/border-color.ref.css | 34 ++++++ testsuite/css/parser/border-radius-shorthand.css | 113 +++++++++++++++++++ ...adius.errors => border-radius-shorthand.errors} | 0 .../css/parser/border-radius-shorthand.ref.css | 104 +++++++++++++++++ testsuite/css/parser/border-radius.css | 123 ++++++--------------- testsuite/css/parser/border-radius.ref.css | 114 ++++++------------- testsuite/css/parser/border-style.css | 90 +++++++++++++++ testsuite/css/parser/border-style.ref.css | 90 +++++++++++++++ testsuite/css/parser/border-width.css | 34 ++++++ testsuite/css/parser/border-width.ref.css | 34 ++++++ testsuite/css/parser/box-shadow.css | 35 ++++++ testsuite/css/parser/box-shadow.ref.css | 35 ++++++ testsuite/css/parser/color.css | 65 +++++++++++ testsuite/css/parser/color.ref.css | 65 +++++++++++ testsuite/css/parser/font-family.css | 54 +-------- testsuite/css/parser/font-family.ref.css | 16 +-- testsuite/css/parser/font-size.css | 79 +++++++++++++ testsuite/css/parser/font-size.ref.css | 79 +++++++++++++ testsuite/css/parser/font-stretch.css | 47 ++++++++ testsuite/css/parser/font-stretch.ref.css | 47 ++++++++ testsuite/css/parser/font-style.css | 23 ++++ testsuite/css/parser/font-style.ref.css | 23 ++++ testsuite/css/parser/font-variant.css | 19 ++++ testsuite/css/parser/font-variant.ref.css | 19 ++++ testsuite/css/parser/font-weight.css | 63 +++++++++++ testsuite/css/parser/font-weight.ref.css | 63 +++++++++++ testsuite/css/parser/letter-spacing.css | 23 ++++ testsuite/css/parser/letter-spacing.ref.css | 23 ++++ testsuite/css/parser/margin.css | 34 ++++++ testsuite/css/parser/margin.ref.css | 34 ++++++ testsuite/css/parser/opacity.css | 23 ++++ testsuite/css/parser/opacity.ref.css | 23 ++++ testsuite/css/parser/outline-color.css | 19 ++++ testsuite/css/parser/outline-color.ref.css | 19 ++++ testsuite/css/parser/outline-offset.css | 23 ++++ testsuite/css/parser/outline-offset.ref.css | 23 ++++ testsuite/css/parser/outline-radius.css | 62 +++++++++++ testsuite/css/parser/outline-radius.ref.css | 62 +++++++++++ testsuite/css/parser/outline-style.css | 51 +++++++++ testsuite/css/parser/outline-style.ref.css | 51 +++++++++ testsuite/css/parser/outline-width.css | 19 ++++ testsuite/css/parser/outline-width.ref.css | 19 ++++ testsuite/css/parser/padding.css | 34 ++++++ testsuite/css/parser/padding.ref.css | 34 ++++++ testsuite/css/parser/text-decoration-color.css | 27 +++++ testsuite/css/parser/text-decoration-color.ref.css | 27 +++++ testsuite/css/parser/text-decoration-line.css | 23 ++++ testsuite/css/parser/text-decoration-line.ref.css | 23 ++++ testsuite/css/parser/text-decoration-style.css | 23 ++++ testsuite/css/parser/text-decoration-style.ref.css | 23 ++++ testsuite/css/parser/text-shadow.css | 23 ++++ testsuite/css/parser/text-shadow.ref.css | 23 ++++ 63 files changed, 2394 insertions(+), 223 deletions(-) commit a54fadced69dba4e004fecb97e5e1207cb38df52 Author: Lapo Calamandrei Date: Mon Dec 21 11:50:56 2015 +0100 Adwaita: make progressbars and scales the same size gtk/theme/Adwaita/_common.scss | 24 +++++++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 33 insertions(+), 35 deletions(-) commit 124923213f0da25fb3bb8e48111ff0f223dbd0a4 Author: Lapo Calamandrei Date: Mon Dec 21 11:28:45 2015 +0100 Adwaita: progressbar sizing and progress component positioning shrinked progressbars a bit and moved the progress component start and end over the trough border. gtk/theme/Adwaita/_common.scss | 16 +++++++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 11 ++++++++++- gtk/theme/Adwaita/gtk-contained.css | 11 ++++++++++- 3 files changed, 35 insertions(+), 3 deletions(-) commit 436a258bb01b393bd61e42ae3b568849b94478b7 Author: Matthias Clasen Date: Sun Dec 20 23:50:40 2015 -0500 Fix a typo gtk/gtkcssimagegradient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 04737364992dff8e6ca555d0b3ddc7bd1a9cf8ea Author: Matthias Clasen Date: Sun Dec 20 17:51:47 2015 -0500 Fix parsing of font-weight The parser was turning a 400 into a 200 and a 700 into a 500. gtk/gtkcssenumvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0520ca3bdff9a8fc16c3a4110a28052051b4602e Author: Matthias Clasen Date: Sun Dec 20 17:03:06 2015 -0500 buttonbox: Fix size request A copy-paste mistake was making us always request too little space, causing the buttons to be jumbled or cut off. https://bugzilla.gnome.org/show_bug.cgi?id=759664 gtk/gtkbbox.c | 1 - 1 file changed, 1 deletion(-) commit 6a67df79a8f40c488f9098170109eacba45ec2cc Author: Matthias Clasen Date: Sun Dec 20 14:40:49 2015 -0500 inspector: Avoid criticals in the css editro We can't keep text iters around after text buffer has been changed. Just clear the list errors when the buffer changes before we've passed it again. gtk/inspector/css-editor.c | 3 +++ 1 file changed, 3 insertions(+) commit c3d611fcf28c572ab4af96ba586020103390f94b Author: Michael Catanzaro Date: Sun Dec 20 11:52:30 2015 -0600 entry: Fix typo gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e37e8670480d830b7af6b92ca72b05f9e1fe0f5c Author: Aurimas Černius Date: Sun Dec 20 15:41:08 2015 +0200 Updated Lithuanian translation po-properties/lt.po | 2062 ++++++++++++++++++++++++++------------------------- po/lt.po | 791 +++++++++++--------- 2 files changed, 1501 insertions(+), 1352 deletions(-) commit ea01921d09e1dc008780e1b1b31da50cd3384672 Author: Matthias Clasen Date: Sun Dec 20 01:04:59 2015 -0500 modelbutton: Stop saving cairo state GtkBuiltinIcon does this now on its own. gtk/gtkmodelbutton.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 9ac80c2510ba0cf8d5ea79624baeb9273183f475 Author: Matthias Clasen Date: Sun Dec 20 01:04:13 2015 -0500 checkbutton: stop saving cairo state GtkBuiltinIcon now does this on its own. gtk/gtkcheckbutton.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit db7f269c0386c99266839cfbba3d43b84695d6c9 Author: Matthias Clasen Date: Sun Dec 20 00:54:47 2015 -0500 Some updates to the CSS docs Remove references to regions and engines, emphasize element names over type names, update the list of pseudo-states. gtk/gtkcssprovider.c | 149 ++++++++++++++++++++++++--------------------------- 1 file changed, 71 insertions(+), 78 deletions(-) commit c9e27636b65f8950bb0cd29318b43ea47792a672 Author: Cosimo Cecchi Date: Sat Dec 19 13:01:53 2015 -0800 checkmenuitem: port indicator gadget to GtkBuiltinIcon Saves a lot of code. gtk/gtkcheckmenuitem.c | 94 ++++++++++++-------------------------------------- 1 file changed, 22 insertions(+), 72 deletions(-) commit ce6cd494753711d8c68b2268d64082be4e0d36d5 Author: Cosimo Cecchi Date: Sat Dec 19 12:29:39 2015 -0800 menuitem: port arrow gadget to GtkBuiltinIcon Saves a lot of code. gtk/gtkmenuitem.c | 97 ++++++-------------------------- gtk/gtkmenuitemprivate.h | 1 - gtk/theme/Adwaita/_common.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- 5 files changed, 30 insertions(+), 86 deletions(-) commit 22ec899f23d358bca95528a2973eaf9b5943ca4d Author: Cosimo Cecchi Date: Sat Dec 19 12:10:45 2015 -0800 menuitem: simplify code Only cast once. gtk/gtkmenuitem.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit aadc13c4ec1619b7ed31fdf44005f5c81529d092 Author: Cosimo Cecchi Date: Sat Dec 19 12:07:39 2015 -0800 builtinicon: save/restore cairo context when rendering gtk/gtkbuiltinicon.c | 2 ++ gtk/gtkexpander.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4ec99db368e1f7c34a7c182ed28bd6b9a3e210ba Author: Cosimo Cecchi Date: Fri Dec 18 17:59:34 2015 -0800 checkmenuitem: deprecate indicator-size style property We can now use min-width/min-height. gtk/gtkcheckmenuitem.c | 34 +++++++++++--------------------- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++----- gtk/theme/Adwaita/gtk-contained.css | 12 ++++++----- 4 files changed, 27 insertions(+), 35 deletions(-) commit 5a87b5bbce82d3ab89cdb6df589c56e16688bbe1 Author: Cosimo Cecchi Date: Fri Dec 18 17:52:16 2015 -0800 menuitem: deprecate toggle-spacing style property We can move this to just use the actual GtkCssGadget of the menu item. gtk/Makefile.am | 1 + gtk/gtkcheckmenuitem.c | 6 +++++ gtk/gtkcheckmenuitem.h | 6 ----- gtk/gtkcheckmenuitemprivate.h | 32 +++++++++++++++++++++++++ gtk/gtkmenu.c | 41 ++++++++++++++------------------ gtk/gtkmenuitem.c | 10 +++++++- gtk/gtkmodelmenuitem.c | 1 + gtk/gtkradiomenuitem.c | 1 + gtk/theme/Adwaita/_common.scss | 12 ++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++------ 11 files changed, 84 insertions(+), 50 deletions(-) commit 3af5c83cd3f236761ea84b3618057a2aec87f0a2 Author: Cosimo Cecchi Date: Fri Dec 18 14:45:15 2015 -0800 checkmenuitem: use a gadget for the check indicator This will make margins and other CSS properties work correctly on the indicator. gtk/gtkcheckmenuitem.c | 200 ++++++++++++++++++++----------- gtk/gtkmenuitem.c | 6 + gtk/gtkmenuitemprivate.h | 1 + gtk/theme/Adwaita/_common.scss | 2 + gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++ gtk/theme/Adwaita/gtk-contained.css | 8 ++ 6 files changed, 158 insertions(+), 67 deletions(-) commit 0e24d6cd85bd8a0ecab67bec1c611b774948e9e5 Author: Cosimo Cecchi Date: Fri Dec 18 14:20:39 2015 -0800 theme: fix menu check/radio styling This is a leftover from the CssNode port of GtkCheckMenuItem and GtkRadioMenuItem. gtk/theme/Adwaita/_common.scss | 14 ++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 42 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 42 ++++++++++++++++++++------------ 3 files changed, 62 insertions(+), 36 deletions(-) commit b602dc2eed3a01f63dea2ea361f47d60d9311584 Author: Cosimo Cecchi Date: Fri Dec 18 10:10:28 2015 -0800 menuitem: trivial cleanup gtk/gtkmenuitem.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 871a8c0e16ec615c1badeb565bb6e4092b459c82 Author: Cosimo Cecchi Date: Fri Dec 18 09:59:23 2015 -0800 checkmenuitem: prefer early return gtk/gtkcheckmenuitem.c | 93 +++++++++++++++++++++++++------------------------- 1 file changed, 46 insertions(+), 47 deletions(-) commit 7959c3fb6ea7f4e7b360a5832b717926c2574fb0 Author: Cosimo Cecchi Date: Thu Dec 17 21:54:46 2015 -0800 menuitem: deprecate arrow-scaling style property With this, we can also remove the custom measure function of the arrow gadget. gtk/gtkmenuitem.c | 48 ++++++++------------------------ gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++- gtk/theme/Adwaita/gtk-contained.css | 4 ++- gtk/theme/HighContrast/_common.scss | 2 ++ gtk/theme/HighContrast/gtk.css | 4 ++- 6 files changed, 24 insertions(+), 40 deletions(-) commit 2d5d7d8cf20878986fc908a51b07dc68c7e564d8 Author: Cosimo Cecchi Date: Thu Dec 17 21:41:40 2015 -0800 menuitem: convert arrow rendering to GtkCssGadget This also deprecates the arrow-spacing style property, which can be now replaced with a simple margin. gtk/gtkmenuitem.c | 178 +++++++++++++++++++++---------- gtk/gtkmenuitemprivate.h | 1 + gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- gtk/theme/HighContrast/_common.scss | 6 ++ gtk/theme/HighContrast/gtk.css | 6 ++ 7 files changed, 149 insertions(+), 64 deletions(-) commit f49a5bf116376ec9b2522b5fc4e720b8b1aca151 Author: Cosimo Cecchi Date: Thu Dec 17 19:24:24 2015 -0800 menuitem: deprecate width-chars style property Instead, we can just set min-width. gtk/gtkmenuitem.c | 30 ++++-------------------------- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- gtk/theme/HighContrast/_common.scss | 6 ++++-- gtk/theme/HighContrast/gtk.css | 3 +++ 6 files changed, 16 insertions(+), 30 deletions(-) commit f2adb5779fec92340b1e2968d96a5f580267bd06 Author: Cosimo Cecchi Date: Thu Dec 17 19:12:06 2015 -0800 menuitem: port to gadgets This is not a complete conversion yet - more changes will come in later commits. gtk/gtkmenuitem.c | 1023 +++++++++++++++++++++++----------------------- gtk/gtkmenuitemprivate.h | 2 + 2 files changed, 521 insertions(+), 504 deletions(-) commit 11d9da08a9ca7762698f2588b3078667422a535c Author: Cosimo Cecchi Date: Thu Dec 17 18:50:12 2015 -0800 menuitem: use gtk_container_class_handle_border_width() gtk/gtkmenuitem.c | 55 ++++++++++++++++++++++--------------------------------- 1 file changed, 22 insertions(+), 33 deletions(-) commit 35ed13ac5451838c0f9b0523e099f30d6e182b0f Author: Cosimo Cecchi Date: Thu Dec 17 17:46:31 2015 -0800 menuitem: really ignore horizontal-padding This style property has been documented as been ignored for a long time, but we were still reading it in some cases. gtk/deprecated/gtkimagemenuitem.c | 11 +++++------ gtk/gtkcheckmenuitem.c | 6 ++---- 2 files changed, 7 insertions(+), 10 deletions(-) commit f792d20507b2714c964f11c576dd9a5c5be96a6d Author: Matthias Clasen Date: Sat Dec 19 23:53:31 2015 -0500 statusbar: Deprecate style properties We were not really using the shadow-type style property anyway, so lets just deprecate it. Themes can directly theme the frame. gtk/gtkstatusbar.c | 14 +++++++++----- gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - 4 files changed, 9 insertions(+), 9 deletions(-) commit 57dd855d103fb8f3c445f9754acbdcc02e40d4c5 Author: Matthias Clasen Date: Sat Dec 19 23:24:27 2015 -0500 Adwaita: Drop some deprecated style properties These can now be replaces with min-width/min-height. gtk/theme/Adwaita/_common.scss | 18 ++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++------ gtk/theme/Adwaita/gtk-contained.css | 14 ++++++++------ 3 files changed, 24 insertions(+), 22 deletions(-) commit c0683d9267cb676df3777f9b27a9a89494e319d0 Author: Matthias Clasen Date: Sat Dec 19 23:23:09 2015 -0500 checkbutton: Fix regression from builtin icon The leaking of cairo transforms from builtin icon drawing was causing the label to be drawn at the wrong position. gtk/gtkcheckbutton.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit f7236b261b9d74b311888954349534face432b1c Author: Matthias Clasen Date: Sat Dec 19 21:56:05 2015 -0500 modelbutton: Fix state confusion Checked buttons were getting the wrong image. gtk/gtkmodelbutton.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f0fba02dca17e38146cfcc8b288ecfe0572e2eb9 Author: Matthias Clasen Date: Sat Dec 19 20:46:26 2015 -0500 Adwaita: Try harder to fix arrow rendering Fiddle with specificity to keep hovered modelbutton arrows from rendering background. gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 12 insertions(+), 7 deletions(-) commit 7aeb57cdfd1ee337c34d09f4e82050dbcb91da9b Author: Matthias Clasen Date: Sat Dec 19 20:16:51 2015 -0500 modelbutton: Hide checks initially Manually constructed model buttons were always ending up with a check. Fix that by hiding the indictator node initially. gtk/gtkmodelbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 0b7226e96eb5e52b24330a716287dd15de6047cf Author: Matthias Clasen Date: Sat Dec 19 17:34:21 2015 -0500 Adwaita: Fix treeview headers The borders went missing on these, at some point. https://bugzilla.gnome.org/show_bug.cgi?id=759567 gtk/theme/Adwaita/_common.scss | 4 +--- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) commit bca47552289f7ecdba48dc3994f2d54628ff5209 Author: Matthias Clasen Date: Sat Dec 19 14:53:57 2015 -0500 modelbutton: Use a builtin icon for the arrow No need to do this manually. gtk/gtkmodelbutton.c | 124 ++++++++++--------------------- gtk/theme/Adwaita/_common.scss | 5 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++ gtk/theme/Adwaita/gtk-contained.css | 7 ++ 4 files changed, 60 insertions(+), 83 deletions(-) commit d36c93b91bad5bcb5fe0ac208c308a96e4851764 Author: Matthias Clasen Date: Sat Dec 19 11:22:18 2015 -0500 expander: Fix drawing in rtl GtkBuiltinIcon leaves the cairo context in unclean state when drawing, work around that. gtk/gtkexpander.c | 2 ++ 1 file changed, 2 insertions(+) commit 7d801a4f6987fda1138fef37c2b72c5c77945d0c Author: Matthias Clasen Date: Sat Dec 19 11:11:34 2015 -0500 Fix a case a height/width confusion gtk/gtkexpander.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d51de8cff80ef0b2be5d82f28c3b08868f79875e Author: Matthias Clasen Date: Sat Dec 19 00:48:10 2015 -0500 expander: Use a builtin icon This saves quite a bit of code. gtk/gtkexpander.c | 93 +++++-------------------------------------------------- 1 file changed, 7 insertions(+), 86 deletions(-) commit 22738ad5af630da5f36dc4d701ec054b0573946a Author: Dušan Kazik Date: Sat Dec 19 13:46:14 2015 +0000 Updated Slovak translation po/sk.po | 138 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 75 insertions(+), 63 deletions(-) commit 5da69479271d35bde4c358b33b55bcba36a5845e Author: Pedro Albuquerque Date: Sat Dec 19 07:37:02 2015 +0000 Updated Portuguese translation po/pt.po | 157 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 88 insertions(+), 69 deletions(-) commit bb3e4feee663f5fd685e6f39fa5e3e8c8b34bb95 Author: Pedro Albuquerque Date: Sat Dec 19 07:33:52 2015 +0000 Updated Portuguese translation po-properties/pt.po | 1529 ++++++++++++++++++++++++++------------------------- 1 file changed, 769 insertions(+), 760 deletions(-) commit f54e0a283b614aa6b512b0577a0373f380b3f92a Author: Matthias Clasen Date: Sat Dec 19 00:33:20 2015 -0500 label: Allocate gadget before using it Move the gtk_css_gadget_allocate call before the gtk_label_update_layout_width call. This fixes the statusbar label in widget-factory page 2 coming up fully ellipsized. gtk/gtklabel.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 35e98dce9ba645d35697a9e757437d0e2599de83 Author: Benjamin Otte Date: Sat Dec 19 05:47:48 2015 +0100 notebook: Sync menu labels with page list in visibile_cb It's where it changes. Size requests have nothing to do with that. gtk/gtknotebook.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) commit c3548328f7fa00117dfc1b4caece7471fd28d171 Author: Benjamin Otte Date: Fri Dec 18 01:01:33 2015 +0100 notebook: Don't allocate during size requests wat? gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit dd90e020a2380c284b54094d331436e29c518eac Author: Benjamin Otte Date: Sat Dec 19 06:10:37 2015 +0100 label: Don't use _gtk_mis_get_padding_and_border() The function takes into account CSS padding and border, which these days is handled by the gadget code. Use gtk_misc_get_padding() instead. gtk/gtklabel.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 47325a827bcff0f3155dacdc57ca360afdc89e83 Author: Christoph Reiter Date: Thu Dec 17 19:52:23 2015 +0100 imagedefinition: The storage type is not a boolean gtk/gtkimagedefinition.c | 2 +- gtk/gtkimagedefinitionprivate.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a3fd5a010b59187b5ce739b0eb07d6ccd2b02887 Author: Matthias Clasen Date: Fri Dec 18 22:57:16 2015 -0500 Simplify actionbar We don't need a frame widget here, just render a top border on the box. gtk/gtkactionbar.c | 3 ++- gtk/theme/Adwaita/_common.scss | 5 +---- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/theme/Adwaita/gtk-contained.css | 6 ++---- gtk/ui/gtkactionbar.ui | 12 ++---------- 5 files changed, 9 insertions(+), 23 deletions(-) commit b90fa7dcd18160ed060d0205872bdbe231410e80 Author: Matthias Clasen Date: Fri Dec 18 22:37:57 2015 -0500 Adwaita: fix action bar styling Make action bar buttons have some padding again. gtk/theme/Adwaita/_common.scss | 7 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++-- gtk/theme/Adwaita/gtk-contained.css | 8 ++++++-- 3 files changed, 17 insertions(+), 6 deletions(-) commit ac65952f0db0211e0debc760c0fafc9521c02356 Author: Matthias Clasen Date: Fri Dec 18 20:53:02 2015 -0500 icon helper: suppress style_changed when transient Transient nodes should not propagate style-changed signals that can cause widgets to get reallocated. This was causing treeviews and iconviews with pixbuf cells to be constantly resized and redrawn. gtk/gtkiconhelper.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7acb670e708bc2931d6f8e1afec423b9d7b3c15c Author: Matthias Clasen Date: Fri Dec 18 19:32:24 2015 -0500 Add more icon entry tests This test shows that changing icon types works. tests/testentryicons.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) commit 18e8842a7e0f458fb1fda2d3ddb8585aa7284324 Author: Matthias Clasen Date: Fri Dec 18 18:10:08 2015 -0500 entry: Don't clear when setting icons Clearing the icon doesn't appear to be necessary with todays code, and it has the unfortunate side-effect of temoorarily hiding the icon's window, which breaks grabs and makes us miss the button release event when the icon is changed from a button press handler. gtk/gtkentry.c | 43 +++++++++++++------------------------------ 1 file changed, 13 insertions(+), 30 deletions(-) commit 6f5b19a0a534764dad7b8bd0f397a46dc06bef9d Author: Matthias Clasen Date: Fri Dec 18 16:55:21 2015 -0500 css node: Use g_set_object Replace unref + assignment + ref combinations by g_set_object_calls. gtk/gtkcssnode.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 51ba8421c3f5189ec21c4ed953befd7ad6507343 Author: Matthias Clasen Date: Fri Dec 18 10:54:49 2015 -0500 entry: Remove some dead code These defines are no longer used. gtk/gtkentry.c | 2 -- 1 file changed, 2 deletions(-) commit e8aa9b0440e03e7002323922f862342db51c5f32 Author: Timm Bäder Date: Thu Dec 17 12:34:30 2015 +0100 Add a way to highlight resizing widgets https://bugzilla.gnome.org/show_bug.cgi?id=759586 docs/reference/gtk/running.sgml | 4 ++++ gtk/gtkdebug.h | 3 ++- gtk/gtkmain.c | 1 + gtk/gtkwidget.c | 22 ++++++++++++++++++++++ gtk/gtkwidgetprivate.h | 4 ++++ gtk/inspector/visual.c | 14 ++++++++++++++ gtk/inspector/visual.ui | 34 ++++++++++++++++++++++++++++++++++ 7 files changed, 81 insertions(+), 1 deletion(-) commit 20a6ee30b7dd3f471b086d206c8cf51ff3341b48 Author: Timm Bäder Date: Fri Dec 18 15:54:46 2015 +0100 GtkWidget: Don't mix code and declarations gtk/gtkwidget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 666e4135e84b0391b4194e4fe3243fbd12eeace1 Author: Matthias Clasen Date: Fri Dec 18 09:26:16 2015 -0500 expander: Deprecate style properties This can all be done with CSS properties now. gtk/gtkexpander.c | 98 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 43 deletions(-) commit 53787d29add024635ae873e0f2085ef3f1ff92a1 Author: Matthias Clasen Date: Fri Dec 18 08:29:49 2015 -0500 expander: Let gadget render focus This lets us drop lots of allocation fiddling, and reduces the code that is consulting the style properties we want to get rid of. gtk/gtkexpander.c | 129 +----------------------------------------------------- 1 file changed, 1 insertion(+), 128 deletions(-) commit d81f8c102566e5806ebe0b8d57e3e508b10b6f60 Author: Matthias Clasen Date: Fri Dec 18 07:37:52 2015 -0500 box: Add a way to get the gadget This will be used in GtkButtonBox. gtk/gtkbox.c | 6 ++++++ gtk/gtkboxprivate.h | 3 +++ 2 files changed, 9 insertions(+) commit acd339a9a55f46e098a1e638f866238b6d78daa1 Author: Matthias Clasen Date: Fri Dec 18 06:48:04 2015 -0500 buttonbox: Convert to gadgets Set a css name and use a gadget for button box allocation and drawing. gtk/gtkbbox.c | 258 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 226 insertions(+), 32 deletions(-) commit 2e254076381d66a9f6cbaa4745ad33791a4f3734 Author: Matthias Clasen Date: Thu Dec 17 15:16:25 2015 -0500 Fix a problem with entry gadgets place_windows is accessing the gadgets allocation, so make sure to allocate the gadget before calling it. gtk/gtkentry.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit fab31e16ed57774f0b6dbd97bab682dd72c6957c Author: Daniel Mustieles Date: Thu Dec 17 19:14:57 2015 +0100 Updated Spanish translation po/es.po | 312 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 164 insertions(+), 148 deletions(-) commit 54fa65f544bef281640d18a4a725005f6199a956 Author: William Hua Date: Thu Dec 17 12:38:35 2015 -0500 gdkborder: change types from gint16 to gint gdk/gdktypes.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 5190d010d95010a845715c719c3b85a75e0c513a Author: William Hua Date: Thu Dec 17 12:18:03 2015 -0500 gtkborder: restore original struct definition We're going to add back the original struct definition removed by a6e4de28, because using the typedef breaks all sorts of things like gtkmm and WebKit, and having separate struct definitions allows us to change the types in GdkBorder from gint16s to gints without breaking ABI. gtk/gtkborder.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 8c355d8fe671b5158f45d66d2973d587fa1d8602 Author: Paolo Borelli Date: Tue Dec 15 21:25:25 2015 +0100 Win32: call dnd exit when finalizing the display Since we init dnd when opening the display, call the corresponding exit function (which is unused at the moment) when finalizing the display. gdk/win32/gdkdisplay-win32.c | 1 + 1 file changed, 1 insertion(+) commit 2e5616b27ea72947d9b61cf2be6d61d65a2d1df7 Author: Paolo Borelli Date: Mon Dec 14 19:40:25 2015 +0100 Win32: move CoInitialize to dnd init Functions requiring CoInitialize are called just in two places: - the filechooser thread which calls its own CoInitializeEx - the dnd code Moving CoInitialize in the dnd specific init is cleaner and we can pair it with the corresponding CoUninitialize since CoUninitialize should be called as many times as CoInitialize. Note that it is ok to call this function multiple times, so it will not break if another codepath will need it in the future. The patch also replaces the deprecated CoInitialize with the equivalent call to CoInitializeEx (already used in the filechooser). gdk/win32/gdkdnd-win32.c | 4 ++++ gdk/win32/gdkmain-win32.c | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) commit f6b0067718471bebaa3beeafc9d0260a53dd7e26 Author: Timm Bäder Date: Thu Dec 17 14:49:59 2015 +0100 GtkSeparator: Don't leak the gadget gtk/gtkseparator.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 35c243b26f851680b276c9604ada01fb0a242b77 Author: Matthias Clasen Date: Sat Dec 5 22:17:51 2015 -0500 entry: use a gadget Use a gadget for the entry. Selection and progress still just use a CSS node. Most things seem to work correctly with non-zero margin or padding. gtk/gtkentry.c | 489 ++++++++++++++++++++++++++++++---------------------- gtk/gtkspinbutton.c | 4 - 2 files changed, 280 insertions(+), 213 deletions(-) commit 776778efc84c13dec2aea26e8ef375f303ce9494 Author: Lionel Landwerlin Date: Thu Dec 17 01:14:31 2015 +0000 inspector: Ensure clip is always shown gtk/inspector/misc-info.c | 1 + 1 file changed, 1 insertion(+) commit 117ab5092294b98a8f0a7385bd377aed5bfdbad3 Author: Matthias Clasen Date: Wed Dec 16 19:24:43 2015 -0500 inspector: Always show clip It is less confusing than hiding it sometimes. gtk/inspector/misc-info.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) commit 0e820765278f2a0dec214cd0398e5e005204002e Author: Matthias Clasen Date: Wed Dec 16 19:14:39 2015 -0500 gadget: Don't warn about unset clip Instead of warning about an unset clip, simply ignore empty content clips. gtk/gtkcssgadget.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 7778c237e65eaebfc0659c1436e3136faca9397b Author: Matthias Clasen Date: Wed Dec 16 19:07:26 2015 -0500 cellview: Convert to gadgets gtk/gtkcellview.c | 364 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 210 insertions(+), 154 deletions(-) commit f3c95e1c63575ec818b65b448de4991a9e158547 Author: Matthias Clasen Date: Wed Dec 16 17:52:47 2015 -0500 gadget: Avoid warning for empty containers Empty boxes end up setting the clip to { 0, 0, 0, 0}, so warning for a width or height of 0 triggers false positives. Instead, initialize the clip to clearly invalid values. gtk/gtkcssgadget.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 09d9674d696c417d23a498c460cb4ad9c5323d02 Author: Matthias Clasen Date: Wed Dec 16 17:41:04 2015 -0500 gadget: Add more information to warnings We have the gadget at hand, so we should print out some information that helps tracking down where it comes from. gtk/gtkcssgadget.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 083a17acd4865acdc954e76cab5b4e8ee92d70b2 Author: Matthias Clasen Date: Wed Dec 16 17:32:24 2015 -0500 gadget: Update docs Make it clear that out_clip must be set. gtk/gtkcsscustomgadget.c | 3 +++ 1 file changed, 3 insertions(+) commit ec5596ce20a7979923d82b432d688578bb311f28 Author: Matthias Clasen Date: Wed Dec 16 17:27:14 2015 -0500 gadget: Warn if clip is not set This leads to hard-to-track-down drawing errors, so better warn explicitly about it. gtk/gtkcssgadget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 2417184a1f1e95e0c5ac3493a6af8e0ae914c916 Author: Matthias Clasen Date: Wed Dec 16 17:12:12 2015 -0500 frame: Fix gadget conversion The GtkCssAllocateFunc must set the clip to meaningful values. gtk/gtkframe.c | 2 ++ 1 file changed, 2 insertions(+) commit 576028bdec90b27a42e8a65755dc0b2e235cdf5a Author: Matthias Clasen Date: Wed Dec 9 23:00:35 2015 -0500 frame: Convert to gadgets As part of this conversion, remove the hardcoded padding around the label. Unfortunately, we cannot use the main gadget for drawing the frame decoration, since we want to draw a custom border instead of the stock css border that gadgets insist on drawing for us. Therefore, add an extra gadget with name border and use it just for rendering the frame. gtk/gtkframe.c | 511 +++++++++++++++++-------------- gtk/theme/Adwaita/_common.scss | 7 +- gtk/theme/Adwaita/gtk-contained-dark.css | 13 +- gtk/theme/Adwaita/gtk-contained.css | 13 +- 4 files changed, 306 insertions(+), 238 deletions(-) commit 3be4971e05e6aeebeddcd7a38ceebc95330b4f03 Author: Carlos Garnacho Date: Wed Dec 16 20:25:54 2015 +0100 GtkPopover: Ensure we unset modality before unparenting the popover Otherwise the gtk_grab_remove() calls on widget destruction will happen on the default window group, which may leave the real window group of the popover with a dangling pointer if it is not the default one. This could be seen on the inspector, open a popover in the properties list and close the window with alt-F4. gtk/gtkpopover.c | 5 +++++ 1 file changed, 5 insertions(+) commit 197e42efd8a0c6adea9fd49f5469687349e887d4 Author: Benjamin Otte Date: Wed Dec 16 20:39:51 2015 +0100 label: Position the text properly The PangoLayout needs to be positioned according to the content allocation of the gadget, not the widget's allocation. gtk/gtkcssgadget.c | 35 +++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 3 +++ gtk/gtklabel.c | 11 +++++++---- 3 files changed, 45 insertions(+), 4 deletions(-) commit 2e362eafc7a22e007fddb4ee9c76dfffdbbf02b7 Author: Benjamin Otte Date: Wed Dec 16 19:48:30 2015 +0100 cssnode: Redo first/last-child change tracking Invisible nodes don't change the first/last-child status of the nodes after/before them. That means we don't have to just check the state of the adjacent node when modifying this state, but all their siblings until we hit a visible node. The same way, a node is not the first child if it has no previous sibling, it is the first child if it has no previous visible sibling. This is important for caching in the global lookup cache. gtk/gtkcssnode.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 62 insertions(+), 10 deletions(-) commit 36653bea4189221c1b3d391890793f50fde3c758 Author: Benjamin Otte Date: Wed Dec 16 18:44:58 2015 +0100 checkbutton: Use a builtin icon Also, add support to uiltin icons to look up the default size from a style property. gtk/gtkbuiltinicon.c | 72 ++++++++++++++++++++++++++--- gtk/gtkbuiltiniconprivate.h | 3 ++ gtk/gtkcheckbutton.c | 107 +++++++++----------------------------------- 3 files changed, 90 insertions(+), 92 deletions(-) commit abbd6b11f6c01810a2bf3a9fa5a32b2d4224228c Author: Matthias Clasen Date: Wed Dec 16 13:48:08 2015 -0500 switch: Deprecate style properties CSS min-width and min-height on the slider node fit this perfectly. We still fall back to the slider-width and slider-height style properties if the CSS properties are not set. gtk/gtkswitch.c | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) commit 4e05148befb73a253d957ccb0449e7252b470886 Author: Matthias Clasen Date: Wed Dec 16 13:16:16 2015 -0500 Simplify some code Deal with the min-width/min-height fallback the same way as in GtkBuiltinIcon. gtk/gtkprogressbar.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit 3f7eefb922811430c0c04671f15a02c15592fd8c Author: Carlos Garnacho Date: Wed Dec 16 19:28:53 2015 +0100 inspector: Use seat grabs for the "inspect widget" feature And remove some usages of GdkDeviceManager API. gtk/inspector/inspect-button.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) commit 32c9db8600b93deb9bb43e163f90f338512ed424 Author: Carlos Garnacho Date: Wed Dec 16 19:27:34 2015 +0100 GtkTreeView: Add ignore deprecation statements We still need access to floating devices at places. gtk/gtktreeview.c | 2 ++ 1 file changed, 2 insertions(+) commit 4f9f3f04c0eb426cee87f71fe8307f61af3bdf90 Author: Carlos Garnacho Date: Wed Dec 16 19:27:06 2015 +0100 GtkWindow: Add ignore deprecation statements We still need access to floating devices at places gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 4a7589ea1254938536b3c891ddae8c35ff1dfcb1 Author: Carlos Garnacho Date: Wed Dec 16 19:26:21 2015 +0100 GtkWindow: Avoid GdkDeviceManager API We can iterate over the seats' pointers, instead of over master pointers. gtk/gtkwindow.c | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) commit 0f98f225d1b81e0c8bd0bbcf901ef8368bdde096 Author: Carlos Garnacho Date: Wed Dec 16 19:24:51 2015 +0100 GtkWidget: Add some ignore deprecation statements We still need access to floating devices here. gtk/gtkwidget.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 04d7bd49d0ef2af6df12e16d99de7c591c23ebea Author: Carlos Garnacho Date: Wed Dec 16 19:24:20 2015 +0100 GtkMenu: Avoid GdkDeviceManager API We used to pick a master pointer "at random", use the default seat pointer instead. gtk/gtkmenu.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit 26f3d02f0354321a13b6608930116b1744f0c549 Author: Carlos Garnacho Date: Wed Dec 16 19:23:25 2015 +0100 GtkComboBox: Avoid GdkDeviceManager API We used to pick a master pointer "at random", use the default seat pointer instead. gtk/gtkcombobox.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) commit e2c8d3c6808c6cf7e4f625d5d5eb984f924152ee Author: Carlos Garnacho Date: Wed Dec 16 19:22:41 2015 +0100 scrolledwindow: Remove unneeded code We no longer take a grab here, no need to undo it on grab_notify gtk/gtkscrolledwindow.c | 4 ---- 1 file changed, 4 deletions(-) commit 24afce5650b2ed14eb5bc066d0f93a0ae636b200 Author: Carlos Garnacho Date: Wed Dec 16 19:21:33 2015 +0100 x11: Make fallback window dragging use seat grabs Also, gdk_seat_ungrab() will undo the implicit grab when EWMH dragging is used. gdk/x11/gdkwindow-x11.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 7ead57be8c3d67b00608f67e2c63a796da8e8388 Author: Carlos Garnacho Date: Wed Dec 16 19:20:28 2015 +0100 x11: Add some ignore deprecation statements In those places we still need access to floating devices, or we need to use the GdkDeviceManager as its GdkEventTranslator interface. gdk/x11/gdkdevice-xi2.c | 4 ++++ gdk/x11/gdkdisplay-x11.c | 5 +++++ gdk/x11/gdkmain-x11.c | 4 ++++ 3 files changed, 13 insertions(+) commit c3f1565c18f6798c17091cb9295b8f74caa49755 Author: Carlos Garnacho Date: Wed Dec 16 19:15:08 2015 +0100 x11: Avoid gdk_device_manager_get_client_pointer() We can use the pointer of the default seat instead. gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 1fbf2fe4d70b0f326f3695e47e0bcd4896ff952b Author: Carlos Garnacho Date: Wed Dec 16 19:12:18 2015 +0100 wayland: Avoid GdkDeviceManager APIs In most places, we can do with the pointer/keyboard of the default seat instead of the client pointer. We can also remove some code from gdk_input_init() because we know for sure there's no floating devices to care about here. gdk/wayland/gdkdisplay-wayland.c | 59 ++------------------------------------ gdk/wayland/gdkselection-wayland.c | 8 ++---- gdk/wayland/gdkwindow-wayland.c | 6 ++-- 3 files changed, 7 insertions(+), 66 deletions(-) commit 598dedfe36495e68aeb5c29f7a16271f82c3cfc8 Author: Carlos Garnacho Date: Wed Dec 16 19:08:52 2015 +0100 broadway: Add a few ignore deprecations statements around GdkDeviceManager There's places where we still need to deal with floating devices, which are unseen by seats. Ignore deprecations and keep using GdkDeviceManager until we can forget about floating devices. gdk/broadway/gdkdevice-broadway.c | 4 ++++ gdk/broadway/gdkdisplay-broadway.c | 2 ++ gdk/broadway/gdkeventsource.c | 2 ++ 3 files changed, 8 insertions(+) commit 3e1e02c2bcf542ccdbc7e90e4b213cb5c9e06d26 Author: Carlos Garnacho Date: Wed Dec 16 19:07:20 2015 +0100 GdkDisplay: Add a few ignore deprecations statements around GdkDeviceManager There's places where we still need to deal with floating devices, which are unseen by seats. Ignore deprecations and keep using GdkDeviceManager until we can forget about floating devices. gdk/gdkdisplay.c | 4 ++++ 1 file changed, 4 insertions(+) commit 50859d9efe46db5694e0bb98a101a4c0bcd5762e Author: Carlos Garnacho Date: Wed Dec 16 19:05:49 2015 +0100 GdkWindow: Add a few ignore deprecations statements around GdkDeviceManager There's places where we still need to deal with floating devices, which are unseen by seats. Ignore deprecations and keep using GdkDeviceManager until we can forget about floating devices. gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 644fa138c34db5c60688e650ff7dd54d4dce73f1 Author: Carlos Garnacho Date: Wed Dec 16 19:04:32 2015 +0100 GdkDisplay: Iterate through seats' pointers/keyboards in older grab functions Instead of using the GdkDeviceManager. gdk/gdkdisplay.c | 57 +++++++++++++++++++++----------------------------------- 1 file changed, 21 insertions(+), 36 deletions(-) commit ce7bb7c739601c80464d61579b106f2e6d53e8a3 Author: Carlos Garnacho Date: Wed Dec 16 19:02:31 2015 +0100 GdkWindow: Iterate through seats' pointers/keyboards in older grab functions Instead of using the GdkDeviceManager. gdk/gdkwindow.c | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) commit 7a926cc7e0e12e70c920e28bdce1d2c4ecbf63a0 Author: Carlos Garnacho Date: Wed Dec 16 19:00:39 2015 +0100 gdkevents: Fallback to the event device seat There's places where we don't set a seat yet, plus the places outside GTK+ where events are created, we should warn and fall back to the master device seat with these. gdk/gdkevents.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit b0d72a36d8c81d9035a15136e9d67593baf20989 Author: Carlos Garnacho Date: Wed Dec 16 18:59:57 2015 +0100 gdkevents: Ensure the seat data is copied in events gdk/gdkevents.c | 1 + 1 file changed, 1 insertion(+) commit c70da9b7ae62d26e40e99b521bb1e81e0b677af7 Author: Carlos Garnacho Date: Wed Dec 16 19:35:38 2015 +0100 gdk: Set seat on events generated in common code gdk/gdkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit 13b9515e63a5b9daa4a84d066419415b97523f53 Author: Cosimo Cecchi Date: Wed Dec 16 10:40:18 2015 -0800 border: silence a GIScanner warning gtk/gtkborder.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit ea3df2473588eb2060a181161b51ef9e6efc1623 Author: Cosimo Cecchi Date: Wed Dec 16 10:38:05 2015 -0800 gadget: fix copy/paste error in documentation gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 990dc9961a413975a3c37709b6998a9a9fabd373 Author: Cosimo Cecchi Date: Wed Dec 16 10:35:46 2015 -0800 gdkevents: fix a compiler warning gdk/gdkevents.c | 1 - 1 file changed, 1 deletion(-) commit 0291978acc10a8cc4bcff8dbc2600703facd3a0e Author: Matthias Clasen Date: Wed Dec 16 13:11:24 2015 -0500 check button: Deprecate indicator-size CSS min-width/min-height can do just the same. We still fall back to the indicator-size style property if the CSS properties are not set. gtk/gtkcheckbutton.c | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) commit bb67a06bd6eb200694b41513d1213367364fe7d4 Author: Matthias Clasen Date: Wed Dec 16 12:27:53 2015 -0500 check button: Deprecate and ignore ::indicator-spacing This can be done just as well with CSS margins, so do that instead for Adwaita. gtk/gtkcheckbutton.c | 34 +++++++++++++++----------------- gtk/theme/Adwaita/_common.scss | 8 ++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 4 files changed, 34 insertions(+), 18 deletions(-) commit 86ecdc7a4403c0e0e0355555b71e397f155111d2 Author: Matthias Clasen Date: Wed Dec 16 11:37:49 2015 -0500 model button: Document iconic layout Document how the CSS nodes look if iconic is TRUE. Add a .model style class for this case and use it in Adwaita. gtk/gtkmodelbutton.c | 12 ++++++++++++ gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 4 files changed, 19 insertions(+), 7 deletions(-) commit 2f544655f99361ebe1fee30f5c10ce3212461fea Author: Matthias Clasen Date: Wed Dec 16 10:55:52 2015 -0500 Revise CSS node documentation Clarify the use of brackets in the CSS node diagrams: [] means optional nodes or classes, <> means child widgets. gtk/gtkcheckbutton.c | 6 ++++-- gtk/gtkcheckmenuitem.c | 4 ++-- gtk/gtkexpander.c | 4 ++-- gtk/gtkflowbox.c | 4 ++-- gtk/gtkgrid.c | 2 +- gtk/gtklevelbar.c | 4 ++-- gtk/gtkmenu.c | 4 +++- gtk/gtkmenuitem.c | 2 +- gtk/gtkmodelbutton.c | 6 +++--- gtk/gtknotebook.c | 13 +++++++------ gtk/gtkpaned.c | 4 +++- gtk/gtkradiobutton.c | 6 ++++-- gtk/gtkradiomenuitem.c | 4 ++-- gtk/gtkscale.c | 10 +++++----- gtk/gtktreeview.c | 6 +++--- gtk/gtkwindow.c | 3 ++- 16 files changed, 46 insertions(+), 36 deletions(-) commit fe9301ac1bf272b43ec81dcf7693151d393f5db2 Author: Benjamin Otte Date: Wed Dec 16 16:28:34 2015 +0100 widget-factory: Make things compile again 1e1064398c7607d197c563c42f8901ac67982a9f broke the build. When I run make, I should make sure to run it in the right directory. And not in the gtk/ subdirectory that will never build widget-factory... demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e1064398c7607d197c563c42f8901ac67982a9f Author: Benjamin Otte Date: Wed Dec 16 15:43:05 2015 +0100 widget-factory: Disconnect clipboard watcher on close The clipboard emit events after the button we connected it to was already destroyed (on application close for example), so make sure we don't try to use that dead button. demos/widget-factory/widget-factory.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b456db8cf4c8c7d52d4a5c90948bd659b0716de6 Author: Olivier Fourdan Date: Mon Dec 14 16:34:00 2015 +0100 wayland: Check transient loop Gdk Wayland backend walks up the transient windows tree, but does not check for cycles when doing so. As a result, if two or more windows are transient to each other, the Wayland gdk backend will enter an infinite loop. While this is clearly a bug in the application, gtk+/gdk should be more robust and handle such errors more gracefully. To avoid looping infinitely at various point in the code, check for a possible loop when setting the transient relationship and deny the request to set a window transient for another if that would create a loop. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759299 gdk/wayland/gdkwindow-wayland.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 0b191974935d7d24b59f9cb4083c1221b36be2bd Author: Emmanuele Bassi Date: Wed Dec 16 12:42:27 2015 +0000 Fix the fix to the last commit I should not push while compilation is still going on gdk/gdkpixbuf-drawable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00102e35ea09c3b6bce7227aaaa1aba37eae11ae Author: Emmanuele Bassi Date: Wed Dec 16 12:41:16 2015 +0000 Fix previous commit The scale parameter was missing. gdk/gdkpixbuf-drawable.c | 2 ++ 1 file changed, 2 insertions(+) commit 1f076257059f15f37c2c93853c3eff2ec2be2aa1 Author: Lars Uebernickel Date: Wed Dec 9 17:48:26 2015 +0100 gdk_pixbuf_get_from_window: honor device scale gdk_pixbuf_get_from_window() paints the given window onto a new cairo surface. Create that new surface with the same device scale as the window so that the result is not scaled down on hidpi screens. This is similar to 657a43e (which was reverted), but doesn't modify the behavior of gdk_pixbuf_get_from_surface(). https://bugzilla.gnome.org/show_bug.cgi?id=757147 gdk/gdkpixbuf-drawable.c | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) commit a56a8a8c0262420bc6acce38686c08257cde537c Author: Bastien Nocera Date: Wed Dec 16 12:20:47 2015 +0100 shortcuts: Make sure that hidden shortcuts stay hidden When doing a gtk_widget_show_all() on the shortcuts window, accelerators for both RTL and LTR directions are being shown. Make sure that no-show-all is set by default on hidden shortcuts, and updated if the widget direction changes. https://bugzilla.gnome.org/show_bug.cgi?id=759541 gtk/gtkshortcutsshortcut.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 6c91f5670caa2f0ec0659e9123a52a93d80152ef Author: Matthias Clasen Date: Tue Dec 15 22:01:46 2015 -0500 3.19.5 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5db1dad869aef7c1a1d1eba20e63b7871d78e11c Author: Matthias Clasen Date: Tue Dec 15 23:55:23 2015 -0500 paned: Initialize clip properly This was causing problems in the case when only one of the paned children is visible - we would use uninitialized memory, leading to invalide clip regions. Concretely, the signal tab in the inspector would sometimes not render at all. gtk/gtkpaned.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 42fdfb6af4ac3a689a4ec173a8eb2e80c2681700 Author: Benjamin Otte Date: Wed Dec 16 05:15:04 2015 +0100 renderborder: Actually draw the path as one element Avoids spurious lines that can sometimes be seen going towards the center of the widget. gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fab181fcfa782b19dcc96a1c7f5b47033b4c200b Author: Benjamin Otte Date: Wed Dec 16 04:44:52 2015 +0100 builtinicon: Change the way size is handled Make min-width/height have preference over the set default size. This allows shrinking the widget. The default size is only used if min-width is not set (or explicitly set to 0. gtk/gtkbuiltinicon.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 9d56a076cc562913e20f422aad9bfbb19d393518 Author: Benjamin Otte Date: Wed Dec 16 04:08:08 2015 +0100 gadget: Add builtin icon gadget This is to be used in all the places where we now call gtk_render_activity()/option()/check() etc that in turn call the icon render function. gtk/Makefile.am | 2 + gtk/gtkbuiltinicon.c | 203 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkbuiltiniconprivate.h | 65 ++++++++++++++ gtk/gtkspinner.c | 77 +---------------- 4 files changed, 274 insertions(+), 73 deletions(-) commit d3cf3fd267d676f6c4081d45f4eed74ef7732447 Author: Benjamin Otte Date: Wed Dec 16 02:15:20 2015 +0100 rendericon: Move a function The function is identical if used for builtin icons and regular icons (as per iconhelper). So split it out in a way that doesn't assume either. gtk/gtkrendericon.c | 74 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkrendericonprivate.h | 7 +++++ gtk/gtkstylecontext.c | 77 ++++++++-------------------------------------- 3 files changed, 93 insertions(+), 65 deletions(-) commit 152326bd24432e0e56aaaf6aa769025ea9b2de54 Author: Matthias Clasen Date: Tue Dec 15 21:06:53 2015 -0500 paned: Allocate the handle input area properly Drop the margin misuse and use the border allocation of the handle gadget. We use negative margins to make the border allocation larger without pushing the paned children out. gtk/gtkpaned.c | 27 ++++--------------- gtk/theme/Adwaita/_common.scss | 21 +++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 45 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 45 +++++++++++++++++--------------- 4 files changed, 66 insertions(+), 72 deletions(-) commit b14dc6b5a4a1fa0f8aafe720eddb7c5f28feaec0 Author: Matthias Clasen Date: Tue Dec 15 21:55:22 2015 -0500 gadget: Add api to get the border allocation This can be useful for giving input windows the right size. gtk/gtkcssgadget.c | 28 ++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 4 ++++ 2 files changed, 32 insertions(+) commit 5aec427c1a45c8932810dc0774194a3a8e37e5ad Author: Matthias Clasen Date: Tue Dec 15 20:18:59 2015 -0500 paned: Fix size allocation We were passing negative widths to height-for-width calls that didn't expect this. gtk/gtkpaned.c | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) commit 26d42771efc66a4224e96bd80d9dc13ce8c10220 Author: Benjamin Otte Date: Wed Dec 16 01:44:07 2015 +0100 progressbar: Change the way the progress gadget gets size Size of the progress element now grows also when it's close to 0 size. Previously the size was clamped to the minimum size, now it starts growing from the minimum size. So for a 100px trough with a 10px min size progress, the sizes of the progress element change like this: old new 0% 10 10 5% 10 14 10% 10 19 20% 20 28 50% 50 55 100% 100 100 gtk/gtkprogressbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit bf130da741b63c1cdd92969f513aa74258dc3d62 Author: Benjamin Otte Date: Tue Dec 15 21:23:59 2015 +0100 cssimage: Handle 0x0 images 0x0 images can happen when we fail to load an image - or when we successfully load a 0x0 image. gtk/gtkcssimagesurface.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit a11de0da6b4fcc59c752c981921f268dee78e7db Author: Benjamin Otte Date: Tue Dec 15 16:03:25 2015 +0100 stylecontext: Builtin images can be (and are) transformed So don't special-case them out. gtk/gtkstylecontext.c | 5 ----- 1 file changed, 5 deletions(-) commit 75d7f7e756fa129e6ccb8e8df6b35b1acfec554f Author: Benjamin Otte Date: Tue Dec 15 14:52:17 2015 +0100 css: Move enum I want to use it for a gadget, so it's better in the generic file. gtk/gtkcssimagebuiltinprivate.h | 33 --------------------------------- gtk/gtkcsstypesprivate.h | 33 +++++++++++++++++++++++++++++++++ gtk/gtkrendericon.c | 1 + gtk/gtkrendericonprivate.h | 1 - 4 files changed, 34 insertions(+), 34 deletions(-) commit 65b056142bc5e221ad61a3d118234bbfa4c6c977 Author: Matthias Clasen Date: Tue Dec 15 19:45:35 2015 -0500 Really undo the deprecation of separator style properties I hit the wrong one in the previous commit. For good measure, undo depecation for all separator-related style properties. They are still in use. gtk/gtkwidget.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 9b408d911a51875b9c75641f84a739dfe3e1cccf Author: Matthias Clasen Date: Tue Dec 15 19:39:57 2015 -0500 shortcuts: Fix the circular stack switcher The buttons need to set min-width now, to make this work. gtk/gtkshortcutssection.c | 6 ------ gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 4 files changed, 14 insertions(+), 6 deletions(-) commit db684d853d31d47f505ae888c470637ca7d4bc39 Author: Matthias Clasen Date: Tue Dec 15 18:52:17 2015 -0500 Undo deprecation of the wide-separators style property This was premature, as this style property is still used by GtkTreeView and GtkMenu. gtk/gtkwidget.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 60e8cf743dcb03fcd9a18e44aa53dad994775d66 Author: Piotr Drąg Date: Wed Dec 16 01:09:00 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 1b174a6f1633645e86b57112ebac206e84963312 Author: Matthias Clasen Date: Tue Dec 15 18:40:51 2015 -0500 shortcuts: Fix view filtering When adding invisible groups to the pages/columns, we were mistakenly creating new columns because the row count stayed at zero. https://bugzilla.gnome.org/show_bug.cgi?id=759517 gtk/gtkshortcutssection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d3f28192c4af8261ca467ea09ddd73383d545b5 Author: Matthias Clasen Date: Tue Dec 15 18:39:39 2015 -0500 gtk-demo: Add another shortcuts window example The boxes shortcuts, taken straight from boxes. This demonstrates a problem with view filtering. demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/shortcuts-boxes.ui | 167 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/shortcuts.c | 21 +++++ demos/gtk-demo/shortcuts.ui | 21 +++++ 4 files changed, 210 insertions(+) commit 2bb80a9bb2127bf1d6cd4bd078a3cc03222e924a Author: Matthias Clasen Date: Tue Dec 15 18:14:16 2015 -0500 gadget: Fix a thinko in baseline adjustment We are making the allocation smaller, so the baseline needs to get smaller too, not bigger. gtk/gtkcssgadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47632df9a5e86753ff145ce610930321a63f92b0 Author: Carlos Garnacho Date: Tue Dec 15 23:24:59 2015 +0100 gdkevents: Avoid gdk_device_manager_get_client_pointer() It's now deprecated. gdk/gdkevents.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit ee549c9ded901283e8d7d13e1634b5e9f7780c52 Author: Carlos Garnacho Date: Tue Dec 15 23:22:00 2015 +0100 GdkWindow: Listen to ::seat-removed in order to remove pointer info Our actions on ::device-removed only actually applied to master pointers, so listening to GdkDisplay::seat-removed and operating on the seat pointer is equivalent. gdk/gdkwindow.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit b4aa498fe742ac1d95d484903e8cf4f1e0f65e4b Author: Carlos Garnacho Date: Tue Dec 15 23:20:40 2015 +0100 GdkWindow: Iterate through seats in gdk_window_set_cursor() And set the pointer on all seat pointers, equivalent to the master pointer lookup we were performing with GdkDeviceManager gdk/gdkwindow.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) commit ff686344c917abdd816903195454c96f872fd04e Author: Carlos Garnacho Date: Tue Dec 15 23:19:49 2015 +0100 GdkWindow: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gdk/gdkwindow.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 1349ffa0db0cc18fd3edfac1c872bf55e38788cf Author: Carlos Garnacho Date: Tue Dec 15 23:18:10 2015 +0100 gtkdnd: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkdnd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 56c6c722d1ff75ebb79c4c5378e71a78fcce9f4f Author: Carlos Garnacho Date: Tue Dec 15 23:17:53 2015 +0100 GtkPlug: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkplug.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 3d516449d401d9109b3e2022f5e1f44c61c5f6d1 Author: Carlos Garnacho Date: Tue Dec 15 23:17:37 2015 +0100 GtkTooltip: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtktooltip.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7333d7e8bb8fee1ae9bfc4ff2f455a4e3dc58953 Author: Carlos Garnacho Date: Tue Dec 15 23:17:22 2015 +0100 GtkTreeView: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtktreeview.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 253bf3fd38d3c735f90066d893879c7dfc488142 Author: Carlos Garnacho Date: Tue Dec 15 23:17:07 2015 +0100 GtkWidget: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkwidget.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 6ac16dc4a6853887f669d8e4090255e61179ac9b Author: Carlos Garnacho Date: Tue Dec 15 23:16:11 2015 +0100 GtkWindow: Avoid gdk_device_manager_get_client_pointer() It's now deprecated gtk/gtkwindow.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 06b28a610b07c1a30849195e538bc85da3623faf Author: Matthias Clasen Date: Tue Dec 15 15:10:08 2015 -0500 flowbox: Don't render focus erroneously The gadget render function should only return TRUE if the widget has the focus, and wants it rendered. gtk/gtkflowbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8858c3aaa0f1df899b533c61459f4f37e8928442 Author: Carlos Soriano Date: Tue Dec 15 15:56:46 2015 +0100 gtkplacesviewrow: plural form for available space We were not supporting plural form of the available space, which is a problem in some languages. However in this case is kind of a difficult matter, since we use a formatted string from glib with g_format_size. To fix it, use the same behavior as g_format_size to decide when it should be used a plural form or not. https://bugzilla.gnome.org/show_bug.cgi?id=759491 gtk/gtkplacesviewrow.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 4eeeb5811d0b026bd55260666f5fc3236ad00479 Author: Matthias Clasen Date: Tue Dec 15 14:12:30 2015 -0500 listbox: Fix an oversight in the row gadget conversion gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf6523d9f23d116fd5637cbe788591431d4b2627 Author: Matthias Clasen Date: Tue Dec 15 14:06:11 2015 -0500 Add some more updates NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit fdb9625f4ff89c74583856c11b644dba714d62fa Author: Matthias Clasen Date: Tue Dec 15 13:14:49 2015 -0500 modelbutton: Remove debug spew gtk/gtkmodelbutton.c | 1 - 1 file changed, 1 deletion(-) commit af4e7b7a8e14b92ba489d6ffe6ebe0a6543c1164 Author: Matthias Clasen Date: Tue Dec 15 10:55:40 2015 -0500 Updates for 3.19.5 NEWS | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 56 insertions(+), 5 deletions(-) commit a6e4de28842002e7bfdf73def26c4c52d9f9126a Author: William Hua Date: Wed Oct 21 23:36:50 2015 -0400 gdkborder: add GdkBorder to gdktypes.h docs/reference/gdk/gdk3-sections.txt | 3 +++ gdk/gdktypes.h | 20 ++++++++++++++++++++ gtk/gtkborder.h | 10 +--------- 3 files changed, 24 insertions(+), 9 deletions(-) commit c6bd3ddb8ad3f829508ceef1dfcb813ebcb08bfa Author: William Hua Date: Wed Sep 23 13:16:31 2015 -0400 gdkwindow: move GdkWindowTypeHint to gdktypes.h gdk/gdktypes.h | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkwindow.h | 49 ------------------------------------------------- 2 files changed, 48 insertions(+), 49 deletions(-) commit 03bb75b1cf6e48a1db00e0fe1ff371aaf77ee522 Author: Matthias Clasen Date: Tue Dec 15 10:00:21 2015 -0500 gdk: Add gdk_drag_drop_done to the docs docs/reference/gdk/gdk3-sections.txt | 4 ++++ 1 file changed, 4 insertions(+) commit 246fcd6563066f026a1854465b6102ae76c81771 Author: Matthias Clasen Date: Tue Dec 15 09:48:16 2015 -0500 Complete docs for gtk_stack_get_interpolate_size gtk/gtkstack.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 44baf1933092f8409a19ee614f8549b6e35ab0d3 Author: Matthias Clasen Date: Tue Dec 15 06:49:35 2015 -0500 paned: Add a deprecation note gtk/gtkpaned.c | 7 +++++++ 1 file changed, 7 insertions(+) commit d891bb815b6d1808dd908b585c864a3115f8bbea Author: Matthias Clasen Date: Tue Dec 15 06:29:30 2015 -0500 checkbutton: Remove dead code gtk/gtkcheckbutton.c | 14 -------------- 1 file changed, 14 deletions(-) commit e02c21fdd89df227c856b91307c226a507f47fc6 Author: Matthias Clasen Date: Tue Dec 15 06:27:52 2015 -0500 button box: Deprecate style properties These can all be replaced by standard CSS properties. gtk/gtkbbox.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 49e24b05b58b13004a76f7e0ef0370ef191c59f4 Author: Matthias Clasen Date: Sat Dec 12 19:41:40 2015 -0500 flowbox: convert to gadgets gtk/gtkflowbox.c | 998 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 554 insertions(+), 444 deletions(-) commit 3b264ea55519b260c15e61ff6e59b9c49e7b4fbf Author: Matthias Clasen Date: Thu Dec 10 01:39:26 2015 -0500 flowbox: Convert child to gadgets gtk/gtkflowbox.c | 294 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 149 insertions(+), 145 deletions(-) commit 29accad89a8fc744123e4327aa907417a20ae9fa Author: Matthias Clasen Date: Fri Dec 11 23:48:34 2015 -0500 listbox: Convert to gadgets gtk/gtklistbox.c | 372 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 237 insertions(+), 135 deletions(-) commit 9fb3716259b499d3617e96a44acceff2fa134ea9 Author: Matthias Clasen Date: Thu Dec 10 00:43:58 2015 -0500 listbox: Convert rows to gadgets gtk/gtklistbox.c | 229 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 116 insertions(+), 113 deletions(-) commit c2fc1cff32ba13c2f9f3e8b50df7d7ea0ddfbd0b Author: Matthias Clasen Date: Wed Dec 9 00:17:51 2015 -0500 paned: Convert to gadgets gtk/gtkpaned.c | 423 +++++++++++++++++++++---------- gtk/theme/Adwaita/_common.scss | 15 +- gtk/theme/Adwaita/gtk-contained-dark.css | 15 +- gtk/theme/Adwaita/gtk-contained.css | 15 +- 4 files changed, 308 insertions(+), 160 deletions(-) commit 9c63170e70b94a69ade2c8ddb29957f567acb119 Author: Matthias Clasen Date: Tue Dec 8 23:03:38 2015 -0500 stack: Convert to gadgets gtk/gtkstack.c | 314 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 169 insertions(+), 145 deletions(-) commit 48e543fbc88e753a1a496248eaa7f83b5722de86 Author: Matthias Clasen Date: Tue Dec 8 21:43:16 2015 -0500 Adwaita: Update separator toolitem styling Don't set a background for these, since we now draw background. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 12 insertions(+) commit e480fa38412c2b262eb3476a0469957a112d1d67 Author: Matthias Clasen Date: Tue Dec 8 21:14:00 2015 -0500 separator toolitem: Convert to gadgets gtk/gtkseparatortoolitem.c | 137 +++++++++++++++++++++++++++++++++------------ 1 file changed, 102 insertions(+), 35 deletions(-) commit f2dd4350b2b5250e66b70ef4067e3920551e39cf Author: Matthias Clasen Date: Tue Dec 8 16:51:21 2015 -0500 css node: Warn more gtk_css_node_insert_before/after can easily create cycles which later lead to stack overflows. Even if we're not catching all cycles here, at least we can detect obviously invalid arguments, such as inserting a node next to itself. gtk/gtkcssnode.c | 2 ++ 1 file changed, 2 insertions(+) commit e2bc77b9af76769aba9409555025b6c6beadef26 Author: Matthias Clasen Date: Tue Dec 15 00:10:16 2015 -0500 Adwaita: Remove nonsensical expander theming No red backgrounds, please. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 5 deletions(-) commit 61fb3f828e392683baf9f36becade9e2b1363e43 Author: Matthias Clasen Date: Tue Dec 8 10:04:03 2015 -0500 expander: Convert to gadgets As part of the conversion, add another CSS node for the title area including the arrow and the label. gtk/gtkexpander.c | 833 ++++++++++++++++++++++++++++++++---------------------- 1 file changed, 493 insertions(+), 340 deletions(-) commit f0a2f9ef965f113aafb66f4c702503444816d08a Author: Matthias Clasen Date: Mon Dec 7 22:57:34 2015 -0500 revealer: Add CSS node docs gtk/gtkrevealer.c | 4 ++++ 1 file changed, 4 insertions(+) commit f7466b236a92dd7eb536f80a08e833971cb4566f Author: Matthias Clasen Date: Mon Dec 7 22:11:52 2015 -0500 stackswitcher: Stop hardcoding 100px width We can now set a min-width in the theme, so we don't have to hardcode the size request here anymore. https://bugzilla.gnome.org/show_bug.cgi?id=726371 gtk/gtkstackswitcher.c | 5 ----- gtk/theme/Adwaita/_common.scss | 5 +++++ gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 4 files changed, 21 insertions(+), 5 deletions(-) commit ad349caa0013996c65b4263c808b0cc5437accfa Author: Matthias Clasen Date: Sun Dec 6 14:27:40 2015 -0500 gadget: Add some documentation gtk/gtkcsscustomgadget.c | 109 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadget.c | 98 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 207 insertions(+) commit 9c88256441be6bf47f6f7db7e0f76adaf2d02b92 Author: Matthias Clasen Date: Sun Dec 6 01:53:29 2015 -0500 box: Trivial doc change All the CSS sections are named CSS nodes, so do the same here. gtk/gtkbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3561eaa9b7cd92ccd196087077a28c58f035e89 Author: Matthias Clasen Date: Sun Dec 6 01:52:45 2015 -0500 grid: Convert to gadgets gtk/gtkgrid.c | 215 +++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 136 insertions(+), 79 deletions(-) commit e237c947c7fe54392a5b98b05648031d52f3e643 Author: Matthias Clasen Date: Sat Dec 5 23:59:38 2015 -0500 headerbar: Convert to gadgets gtk/gtkheaderbar.c | 256 +++++++++++++++++++++++++++++++---------------------- 1 file changed, 150 insertions(+), 106 deletions(-) commit 90109cfe4cac14b250dd938544a5e11363e2192c Author: Matthias Clasen Date: Sat Dec 5 23:10:52 2015 -0500 actionbar: Convert to gadgets This is a nice example of a trivial container conversion. gtk/gtkactionbar.c | 140 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 139 insertions(+), 1 deletion(-) commit 0f7dbc3bbde27d99479d66e958ff11f0c260da4c Author: Matthias Clasen Date: Mon Dec 14 23:35:45 2015 -0500 Adwaita: No padding for image buttons in popovers gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 12 insertions(+) commit 736d864d18fd2168cbf5e446a515293f994df2d0 Author: Matthias Clasen Date: Sat Dec 5 01:42:41 2015 -0500 modelbutton: Port to gadgets gtk/gtkmodelbutton.c | 636 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 392 insertions(+), 244 deletions(-) commit 782c2762bf55fb17402f534267c370cf460869af Author: Matthias Clasen Date: Fri Dec 4 07:52:18 2015 -0500 gadget: Be more forgiving to size inconsistencies Instead of asserting if we hit negative content sizes, warn and continue. This is easier to work with in this transition period. gtk/gtkcssgadget.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit a52c3a3db9e1c5e141fa4385ec27bdaa8d7b9b94 Author: Matthias Clasen Date: Mon Dec 14 21:43:20 2015 -0500 radiobutton: Port radio buttons to gadgets This was already mostly done by inheritance from GtkCheckButton. To complete it, stop using the draw_indicator vfunc for radio buttons, and instead make the indicator gadget draw either a check or radio. gtk/gtkcheckbutton.c | 29 ++++++++++++---------------- gtk/gtkradiobutton.c | 54 ---------------------------------------------------- 2 files changed, 12 insertions(+), 71 deletions(-) commit 233179d37416b69706d19ed8fb486eef720838bc Author: Matthias Clasen Date: Fri Dec 4 00:34:52 2015 -0500 check button: Convert to gadgets Use a gadget for the button, and for the indicator. A complication here is that GtkCheckButton (and GtkRadioButton) have a totally different appearance depending on the ::draw-indicator property. If an indicator is not required, we just reuse the GtkButton gadget. This mostly works; some minor sizing issues left, e.g. cranking up the indicator-size causes the checkbutton grid in testgtk to overlap. gtk/gtkcheckbutton.c | 674 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 420 insertions(+), 254 deletions(-) commit 37e9d926329b8d9fd91f8022bff7c5e2c75dc7e5 Author: Matthias Clasen Date: Thu Dec 3 21:56:25 2015 -0500 button: Convert to gadgets gtk/gtkbutton.c | 340 +++++++++++++++++++------------------------------ gtk/gtkbuttonprivate.h | 2 + 2 files changed, 131 insertions(+), 211 deletions(-) commit a81267c28e4e0368cd0e23b661e1c8c53f8194fb Author: Matthias Clasen Date: Thu Dec 3 14:22:50 2015 -0500 label: Convert to gadgets This removes some hairy code handling with borders and padding, which may or may not be correct. The examples in testheightforwidth all continue to work, and min-width now works for labels. gtk/gtklabel.c | 306 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 152 insertions(+), 154 deletions(-) commit ff9f3c108f954dfa382ab6623b5fa7bf4434a77a Author: Matthias Clasen Date: Mon Dec 14 16:10:54 2015 -0500 Adwaita: Update color swatch styling The adjustments here are provisional and need an artistic eye. gtk/theme/Adwaita/_common.scss | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 25 ++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 25 ++++++++++++++----------- 3 files changed, 36 insertions(+), 30 deletions(-) commit c376e82702170ce188271b6b518ebb46495f56ad Author: Matthias Clasen Date: Mon Dec 14 16:10:28 2015 -0500 colorswatch: Convert to gadgets Use gadgets for the widget and the overlay. gtk/gtkcolorswatch.c | 306 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 200 insertions(+), 106 deletions(-) commit fcca496734a3dffa13e5d8d95f7ab6cb2c1136e0 Author: Matthias Clasen Date: Mon Dec 14 15:57:38 2015 -0500 widget: Deprecate some style properties Deprecate the ::wide-separators and ::separator-width/height style properties. gtk/gtkwidget.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 20e1ff44e8d7142ac2b7bec70e38078505cd0150 Author: Matthias Clasen Date: Mon Dec 14 15:56:56 2015 -0500 Adwaita: Update separator styling Separators no longer draw a line with the foreground color, but instead just draw background. gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 9 insertions(+), 3 deletions(-) commit 17be791b0b8533e08dcff6a395dbee26851e7518 Author: Matthias Clasen Date: Mon Dec 14 15:56:29 2015 -0500 separator: port to gadgets As part of this, stop using custom rendering code for wide and non-wide separators. gtk/gtkseparator.c | 115 ++++++++++++++++++++++++++--------------------------- 1 file changed, 57 insertions(+), 58 deletions(-) commit 9e278293ca98b25649b93abe1bed385bc607eb2d Author: Matthias Clasen Date: Thu Nov 26 14:59:57 2015 -0500 spinner: Use a gadget This gives us min-width/height support. Currently, the spinner still has a hardcoded minimum size of 16 and doesn't grow beyond 32. We may want to revisit that at some point. gtk/gtkspinner.c | 267 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 159 insertions(+), 108 deletions(-) commit fffa84b843c1cd2398945115fad43c911fca99a4 Author: Matthias Clasen Date: Tue Nov 24 07:22:52 2015 -0500 progressbar: Convert to gadgets Use gadgets for the text, the trough and the progress. gtk/gtkprogressbar.c | 1077 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 641 insertions(+), 436 deletions(-) commit 1f6efbf66906350a930fd4766f06bd849a30e96f Author: Benjamin Otte Date: Mon Dec 14 05:29:35 2015 +0100 iconhelper: Queue resize on invalidation When things change in the iconhelper, queue a resize on the owner widget so that it automatically resizes. Only do this for iconhelpers that are used as gadgets though, not for temporary helpers - and to check this, check if the node is transient. gtk/gtkiconhelper.c | 4 ++++ 1 file changed, 4 insertions(+) commit 3a77da9df2d5329a322204f09be4fa6100c85a48 Author: Benjamin Otte Date: Mon Dec 14 05:22:08 2015 +0100 entry: Turn icons into gadgets gtk/gtkentry.c | 194 ++++++++++++++++++++++++--------------------------------- 1 file changed, 83 insertions(+), 111 deletions(-) commit 4dee06e04facc4b5be553afffd375517c3536598 Author: Benjamin Otte Date: Fri Nov 20 01:17:06 2015 +0100 spinbutton: Port the buttons to gadgets gtk/gtkspinbutton.c | 170 +++++++++++++++------------------------------------- 1 file changed, 48 insertions(+), 122 deletions(-) commit 4586503e93c8a8aad2b78602302d8ddc7b48d46b Author: Benjamin Otte Date: Mon Dec 14 04:00:31 2015 +0100 iconhelper: Finish gadget conversion Implement missing vfuncs gtk/gtkiconhelper.c | 77 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkiconhelperprivate.h | 2 ++ 2 files changed, 79 insertions(+) commit e723fccaa975b710536f5073d110610344da9b17 Author: Benjamin Otte Date: Mon Dec 14 02:33:21 2015 +0100 rendericon: Restore cairo matrix after rendering gtk/gtkrendericon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b79a187d47ee5c45952fab60c141fcaed7e05ef6 Author: Benjamin Otte Date: Fri Dec 11 15:12:19 2015 +0100 iconhelper: Handle invalidation When CSS, direction or scale factor change, handle the invalidation inside the iconhelper. This way the widgets using them don't have to. gtk/gtkentry.c | 18 ---------- gtk/gtkiconhelper.c | 87 +++++++++++++++++++++++++--------------------- gtk/gtkiconhelperprivate.h | 1 - gtk/gtkimage.c | 32 ----------------- 4 files changed, 47 insertions(+), 91 deletions(-) commit de6dca4f819142063436977d78c8c0fb499d4c3e Author: Benjamin Otte Date: Wed Dec 9 18:32:05 2015 +0100 iconhelper: Use the gadget's node ... instead of looking at the widget's style context. This removes all calls to the style context. gtk/gtkiconhelper.c | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) commit ad22612ab2f84eeea005a293e66761e9de22c6f7 Author: Benjamin Otte Date: Wed Dec 9 18:25:36 2015 +0100 iconhelper: Require passing a cssnode to the constructor Note that we don't use it yet. gtk/deprecated/gtkstatusicon.c | 3 ++- gtk/gtkcellrendererpixbuf.c | 7 ++++--- gtk/gtkentry.c | 6 +++--- gtk/gtkiconhelper.c | 5 ++++- gtk/gtkiconhelperprivate.h | 3 ++- gtk/gtkimage.c | 5 +++-- gtk/gtkspinbutton.c | 7 ++++--- gtk/gtkstylecontext.c | 6 ++++++ gtk/gtkstylecontextprivate.h | 1 + 9 files changed, 29 insertions(+), 14 deletions(-) commit 7075d00958b749ee4e25e6a4ee7320d3773e6394 Author: Benjamin Otte Date: Wed Dec 9 14:07:07 2015 +0100 iconhelper: Use the gadget's owner property Don't keep the owner widget ourselves. gtk/gtkiconhelper.c | 41 +++++++++++++++++------------------------ 1 file changed, 17 insertions(+), 24 deletions(-) commit 25ecd8cd374115623d4b4db5919c5d0cbfbbbc22 Author: Benjamin Otte Date: Wed Dec 9 14:01:46 2015 +0100 iconhelper: Turn into gadget This is just the basic conversion to inheriting from GTK_TYPE_CSS_GADGET. gtk/gtkiconhelper.c | 10 +++++----- gtk/gtkiconhelperprivate.h | 9 +++++---- 2 files changed, 10 insertions(+), 9 deletions(-) commit c0fd106019a8fb121c727a6c32e8d1be497d18eb Author: Matthias Clasen Date: Mon Nov 16 22:55:01 2015 -0500 image: Port to gadgets gtk/gtkimage.c | 208 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 124 insertions(+), 84 deletions(-) commit 49fea0b0f525c675edbd98d0fca8491a7abe7347 Author: Benjamin Otte Date: Wed Nov 18 01:47:53 2015 +0100 box: Port to gadgets gtk/gtkbox.c | 202 ++++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 138 insertions(+), 64 deletions(-) commit 7a05016d938ada16b25b6a7b8683e98f107a5a6f Author: Benjamin Otte Date: Wed Nov 18 01:47:16 2015 +0100 container: Split out a function Computing the clip for all children is something I want to do in other places. gtk/gtkcontainer.c | 24 ++++++++++++++++++++++++ gtk/gtkcontainerprivate.h | 2 ++ gtk/gtkwidget.c | 29 ++++++----------------------- 3 files changed, 32 insertions(+), 23 deletions(-) commit 0f8233bd7b3a3a99135c536deaa2e5ec873f9e16 Author: Benjamin Otte Date: Mon Mar 9 06:16:50 2015 +0100 switch: Port to gadgets gtk/gtkswitch.c | 344 +++++++++++++++++++++++++++----------------------------- 1 file changed, 167 insertions(+), 177 deletions(-) commit e09eb4fc9f806d4da91ad645882f983783db0e2d Author: Benjamin Otte Date: Wed Sep 9 19:15:01 2015 +0200 gadget: Add GtkCssCustomGadget The thing you use when you want to custom-do everything. gtk/Makefile.am | 4 +- gtk/gtkcsscustomgadget.c | 180 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcsscustomgadgetprivate.h | 88 ++++++++++++++++++++ 3 files changed, 271 insertions(+), 1 deletion(-) commit 6eafe00d8f214f79feb0456fa2e0d2f05fc69e0f Author: Benjamin Otte Date: Wed Sep 9 00:13:11 2015 +0200 gadget: Add the concept of a "gadget" A gadget is halfway between a widget and a CSS node. It's supposed to provide the minimum convenicence around CSS nodes until we've figured out how to integrate them with widgets. gtk/Makefile.am | 2 + gtk/gtkcssgadget.c | 565 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 102 +++++++++ 3 files changed, 669 insertions(+) commit 0fb01decba620c853805fbe77c38fc82e44bb459 Author: Benjamin Otte Date: Thu Dec 13 03:10:25 2012 +0100 css: Add min-width/height CSS properties gtk/gtkcssstylepropertyimpl.c | 28 ++++++++++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 2 ++ 2 files changed, 30 insertions(+) commit a920f7260cd3c2b83e18a59219e3d0448d37dd49 Author: Benjamin Otte Date: Wed Dec 9 18:20:06 2015 +0100 treeview: Reposition dnd button css node properly After the drag ends, the button node went to the wrong place and then looked like a regular button. Fix that. gtk/gtktreeview.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) commit c049581f79b37fa2e1c8e9bdd6545b3b43c22bed Author: Chun-wei Fan Date: Tue Dec 15 15:37:33 2015 +0800 MSVC builds: Build more tools in gtk/ Build the gtk-update-icon-cache, gtk-builder-tool and gtk-query-settings tools and run gtk-update-icon-cache as part of the post-build "installation" process. Pointed out (and reminded) by Paolo Borelli in bug 759436 that we should build, "install" and run gtk-update-icon-cache in the MSVC builds as well. build/win32/vs10/Makefile.am | 6 + build/win32/vs10/gtk+.sln | 54 ++++++ build/win32/vs10/gtk-builder-tool.vcxproj | 181 +++++++++++++++++++++ build/win32/vs10/gtk-builder-tool.vcxproj.filters | 20 +++ build/win32/vs10/gtk-query-settings.vcxproj | 181 +++++++++++++++++++++ .../win32/vs10/gtk-query-settings.vcxproj.filters | 20 +++ build/win32/vs10/gtk-update-icon-cache.vcxproj | 177 ++++++++++++++++++++ .../vs10/gtk-update-icon-cache.vcxproj.filters | 20 +++ build/win32/vs10/gtk3-install.propsin | 22 +++ build/win32/vs10/gtk3-install.vcxproj | 12 ++ build/win32/vs11/Makefile.am | 6 + build/win32/vs12/Makefile.am | 6 + build/win32/vs14/Makefile.am | 6 + build/win32/vs9/Makefile.am | 3 + build/win32/vs9/gtk+.sln | 68 ++++++++ build/win32/vs9/gtk-builder-tool.vcproj | 172 ++++++++++++++++++++ build/win32/vs9/gtk-query-settings.vcproj | 172 ++++++++++++++++++++ build/win32/vs9/gtk-update-icon-cache.vcproj | 172 ++++++++++++++++++++ build/win32/vs9/gtk3-install.vspropsin | 21 +++ 19 files changed, 1319 insertions(+) commit 26d536a69bb1f4ba5faa5563817161c1ed370295 Author: Benjamin Otte Date: Tue Dec 15 01:14:57 2015 +0100 inspector: Fix quick-fix Constructing GtkCssStyleChange objects without styles is forbidden, so don't do it. Instead untangle the callback from the actual update function and call that untangled function directly. gtk/inspector/css-node-tree.c | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) commit f6606c4f6f7fc1b078978caf7e35cf1c8e69e6e7 Author: Benjamin Otte Date: Tue Dec 15 01:07:03 2015 +0100 cssnode: Clear cache if reusing style When we reuse styles that didn't change across changes to the source CSS, make sure we clear the caches. Otherwise child nodes will pick up styles from the old source CSS. gtk/gtkcssnode.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 220d2620e4217118ede937a4160b742391533166 Author: Piotr Drąg Date: Tue Dec 15 00:51:33 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 5d6a2ae54f93346796ea156984f36ac0e1097751 Author: Carlos Garnacho Date: Mon Dec 14 15:44:29 2015 +0100 win32: Use GdkSeatDefault to implement GdkSeat gdk/win32/gdkdevicemanager-win32.c | 11 +++++++++++ gdk/win32/gdkdnd-win32.c | 9 +++++++++ gdk/win32/gdkevents-win32.c | 9 +++++++++ 3 files changed, 29 insertions(+) commit af54b82c0a549ee747ae6e840295fe5c7be6ddcb Author: Carlos Garnacho Date: Mon Dec 14 15:44:15 2015 +0100 quartz: Use GdkSeatDefault to implement GdkSeat gdk/quartz/GdkQuartzNSWindow.c | 10 ++++++++-- gdk/quartz/gdkdevicemanager-core-quartz.c | 8 ++++++++ gdk/quartz/gdkevents-quartz.c | 8 ++++++++ 3 files changed, 24 insertions(+), 2 deletions(-) commit 321154eb4b483077362c07a622fdcedd4fa15bfa Author: Carlos Garnacho Date: Mon Dec 14 15:43:54 2015 +0100 broadway: Use GdkSeatDefault to Implement GdkSeat gdk/broadway/gdkdevicemanager-broadway.c | 8 ++++++++ gdk/broadway/gdkeventsource.c | 9 +++++++++ 2 files changed, 17 insertions(+) commit a33aefc281bc91b6c4b8e055df2fb12234c302c3 Author: Carlos Garnacho Date: Wed Dec 9 12:56:26 2015 +0100 wayland: Improve creation of windowing surface roles We no longer need a grabbed seat, instead we'll just use the default seat if this happens, not without first warning and recommending gdk_seat_grab() for the operation. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/wayland/gdkdevice-wayland.c | 17 +++---------- gdk/wayland/gdkprivate-wayland.h | 6 ++--- gdk/wayland/gdkwindow-wayland.c | 52 ++++++++++++++++++++++------------------ 3 files changed, 34 insertions(+), 41 deletions(-) commit c7280e4a316c93163e75b906764ae3a1d07f217b Author: Carlos Garnacho Date: Wed Dec 9 12:55:39 2015 +0100 wayland: Replace deprecated functions We can just gdk_seat_ungrab() here. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4065bd1e9617d078518c71e0de1faaaaecd43347 Author: Carlos Garnacho Date: Wed Dec 9 12:29:52 2015 +0100 gdk: Deprecate GdkDeviceManager and gdk_device_grab/ungrab() GdkSeat is now the preferred way to deal with input devices and grabs. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/gdkdevice.c | 4 ++++ gdk/gdkdevice.h | 4 ++-- gdk/gdkdevicemanager.c | 5 +++++ gdk/gdkdevicemanager.h | 4 ++-- gdk/gdkdisplay.c | 2 ++ gdk/gdkdisplay.h | 2 +- 6 files changed, 16 insertions(+), 5 deletions(-) commit 3009eac85e15607bfda70952a13c33e36219ba38 Author: Carlos Garnacho Date: Wed Dec 9 12:49:43 2015 +0100 wayland: Emit cancelled on touchpoint used on window dragging/moving This allows GDK to unset the grab itself. Also, make sure we unset the "pointer emulating" touch on the device if this is the pointer emulating sequence. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/wayland/gdkdevice-wayland.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 77cf80f3a9e788a93519b3cde44c5106ddc760ae Author: Carlos Garnacho Date: Wed Dec 9 12:46:08 2015 +0100 wayland: Unset "pointer emulating" touch on wl_touch.cancel And emit the corresnponding leave event on its master pointer. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/wayland/gdkdevice-wayland.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit fc19a999ec156f7f746c7928f1828f40a01c5b90 Author: Carlos Garnacho Date: Wed Dec 9 12:39:43 2015 +0100 gdk: Manage GDK_TOUCH_CANCEL events on gdk_windowing_got_event() These events must get active/implicit grabs undone, and can be done on client-side code. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/gdkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 09947a63ed563777d2655d1833cca56798583809 Author: Carlos Garnacho Date: Wed Dec 9 12:42:33 2015 +0100 wayland: Make gdk_wayland_device_get_focus() work on touch So we can figure out the focus for the master device. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/wayland/gdkdevice-wayland.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 8ec3fb39a2d6160e5a44045b7ae3d2d0aaab528d Author: Carlos Garnacho Date: Wed Dec 9 12:25:10 2015 +0100 GdkDisplay: Add ::seat-added/removed signals These will be emitted as seats come and go. https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/gdkdisplay.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) commit 17525ef7a600f327cd40afe24f38343c61852c82 Author: Carlos Garnacho Date: Thu Nov 26 19:40:56 2015 +0100 wayland: Add GdkSeat implementation GdkWaylandDeviceData conceptually gathers the data that belongs to a seat, so it's been renamed (although the old typedef stays, plenty of refactoring is due here...). The methods in GdkSeatClass have also been implemented, the most remarkable is ::grab, which ensures the grab is performed on all the relevant "master" devices. https://bugzilla.gnome.org/show_bug.cgi?id=759309 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/wayland/Makefile.am | 1 + gdk/wayland/gdkdevice-wayland.c | 367 +++++++++++++++++++++++++++++++---- gdk/wayland/gdkprivate-wayland.h | 2 - gdk/wayland/gdkseat-wayland.h | 45 +++++ gdk/wayland/gdkwaylanddevice.h | 3 + 6 files changed, 375 insertions(+), 44 deletions(-) commit f663d17c144e6fefa34f945cfa34d838c9b5480a Author: Carlos Garnacho Date: Thu Nov 26 19:56:41 2015 +0100 GtkTreeView: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 gtk/gtktreeview.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 91b5497d69043ae0ab00c70390e20c57c32a0a93 Author: Carlos Garnacho Date: Thu Nov 26 19:56:25 2015 +0100 GtkNotebook: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 gtk/gtknotebook.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit fad174b967ef97bedaddeefa3d3cae327960ad82 Author: Carlos Garnacho Date: Thu Nov 26 19:55:45 2015 +0100 GtkEntryCompletion: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 gtk/gtkentrycompletion.c | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) commit 534b0af512c99dfdc74a617cc632c3cf781f4627 Author: Carlos Garnacho Date: Thu Nov 26 19:55:15 2015 +0100 GtkComboBox: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 gtk/gtkcombobox.c | 59 ++++++++++++++----------------------------------------- 1 file changed, 15 insertions(+), 44 deletions(-) commit d54f208d2969550c9eb182b2d5f6173021a1ff34 Author: Carlos Garnacho Date: Thu Nov 26 19:54:54 2015 +0100 GtkMenu: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 gtk/gtkmenu.c | 70 ++++++++++++++---------------------------------------- gtk/gtkmenushell.c | 13 +++------- 2 files changed, 21 insertions(+), 62 deletions(-) commit 5cbbb90e311d95192d1b68ba89c3190cdb652868 Author: Carlos Garnacho Date: Thu Nov 26 19:54:31 2015 +0100 GtkCellRendererAccel: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 gtk/gtkcellrendereraccel.c | 39 ++++++++------------------------------- 1 file changed, 8 insertions(+), 31 deletions(-) commit e4eeec2163b64c8484d4abc0dc16a2e59d3b4388 Author: Carlos Garnacho Date: Thu Nov 26 19:54:01 2015 +0100 GtkButton: Use gdk_seat_grab() https://bugzilla.gnome.org/show_bug.cgi?id=759309 gtk/gtkbutton.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit d236fd7aab455c7c53c3a88d6a8397e79c02d0e8 Author: Carlos Garnacho Date: Thu Nov 26 19:53:36 2015 +0100 x11: Use GdkSeatDefault to implement GdkSeat https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/x11/gdkdevicemanager-xi2.c | 88 +++++++++++++++++++++++++++++++++++++++++- gdk/x11/gdkdisplay-x11.c | 27 +++++++++++++ 2 files changed, 113 insertions(+), 2 deletions(-) commit 6e8d5f70db0b3570abd34d0aa991cefaec51c5ce Author: Carlos Garnacho Date: Mon Dec 14 20:24:40 2015 +0100 x11: Use gdk_event_set_device() consistently Move the variable definitions above the function, and use those throughout all branches of the event handling switch. gdk/x11/gdkdevicemanager-xi2.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit da6d52711a408283e8cbaf9f58be52e4822f971d Author: Carlos Garnacho Date: Thu Nov 26 19:53:09 2015 +0100 GdkEvent: Add GdkSeat getter and internal setter https://bugzilla.gnome.org/show_bug.cgi?id=759309 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkevents.c | 35 +++++++++++++++++++++++++++++++++++ gdk/gdkevents.h | 3 +++ gdk/gdkinternals.h | 4 ++++ 4 files changed, 43 insertions(+) commit 6f4edc091b28390eb570e10e5ff8a5e4eb04389e Author: Carlos Garnacho Date: Thu Nov 26 19:52:23 2015 +0100 GdkDisplay: Add GdkSeat getters https://bugzilla.gnome.org/show_bug.cgi?id=759309 docs/reference/gdk/gdk3-sections.txt | 2 + gdk/gdkdisplay.c | 80 ++++++++++++++++++++++++++++++++++++ gdk/gdkdisplay.h | 7 ++++ gdk/gdkdisplayprivate.h | 9 ++++ 4 files changed, 98 insertions(+) commit d24f63e9ce97cf88fe0cf0f565ea2c2bf14da59f Author: Carlos Garnacho Date: Thu Nov 26 19:50:57 2015 +0100 GdkDevice: Add GdkSeat property and getter https://bugzilla.gnome.org/show_bug.cgi?id=759309 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkdevice.c | 55 ++++++++++++++++++++++++++++++++++++ gdk/gdkdevice.h | 3 ++ gdk/gdkdeviceprivate.h | 6 ++++ 4 files changed, 65 insertions(+) commit 0472c088a1d8fcea92b73cb138ba0ae0272d6c93 Author: Carlos Garnacho Date: Thu Nov 26 19:49:10 2015 +0100 gdk: Add GdkSeatDefault https://bugzilla.gnome.org/show_bug.cgi?id=759309 gdk/Makefile.am | 2 + gdk/gdkseatdefault.c | 341 ++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkseatdefaultprivate.h | 56 ++++++++ 3 files changed, 399 insertions(+) commit 8d68f59befb2d7658da5f7871e7b071f14ed75ca Author: Carlos Garnacho Date: Thu Nov 26 19:47:38 2015 +0100 gdk: Add GdkSeat https://bugzilla.gnome.org/show_bug.cgi?id=759309 docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 25 +++ docs/reference/gdk/gdk3.types | 1 + gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkseat.c | 391 +++++++++++++++++++++++++++++++++++ gdk/gdkseat.h | 113 ++++++++++ gdk/gdkseatprivate.h | 65 ++++++ gdk/gdktypes.h | 1 + 9 files changed, 601 insertions(+) commit 3733e53c1aee4ab8f64d473fab71d60bd5ff1b05 Author: Carlos Garnacho Date: Fri Dec 11 13:16:13 2015 +0100 x11: Use client pointer as default core pointer for gtk+2 API There is no need to fiddle with the master devices list. https://bugzilla.gnome.org/show_bug.cgi?id=759323 gdk/x11/gdkdisplay-x11.c | 31 +++---------------------------- 1 file changed, 3 insertions(+), 28 deletions(-) commit 306ee6d9a54dd4652712e835d8390e90eff72790 Author: Lucas Baudin Date: Sun Dec 13 19:24:50 2015 +0100 wayland: recursively search for the settings schema. On some systems, the gtk settings are not used properly for wayland. Indeed, g_settings_schema_source_get_default is used, and as the docs says it, "all lookups performed against the default source should probably be done recursively.". https://bugzilla.gnome.org/show_bug.cgi?id=759409 gdk/wayland/gdkscreen-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0bfd012f04ac49954ba2def1a2ec0d9387d1a9c2 Author: Dušan Kazik Date: Mon Dec 14 10:53:55 2015 +0000 Updated Slovak translation po/sk.po | 354 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 194 insertions(+), 160 deletions(-) commit 3d537b05182a16f79d4cc3f1000aa971e5cf1d4d Author: Piotr Drąg Date: Mon Dec 14 01:45:11 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit a22c1ec9807d11118c3f822feb0429fa38ba9cf6 Author: Matthias Clasen Date: Sun Dec 13 18:24:41 2015 -0500 dnd: Cleanups Remove some now unused includes and dead code, and rename gtk_drag_set_icon_window to gtk_drag_set_icon_widget_internal, since it is no longer restricted to toplevel windows. gtk/gtkdnd.c | 44 +++++++++++++------------------------------- 1 file changed, 13 insertions(+), 31 deletions(-) commit 934941d95da078d32087a718298da3b2a2ad39c0 Author: Matthias Clasen Date: Sun Dec 13 16:01:05 2015 -0500 testdnd2: Add some verbosity This makes it easier to see that we're missing some signals under Wayland. tests/testdnd2.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 95f648147ddd0022aef57baa91733bd0527cd4f2 Author: Matthias Clasen Date: Mon Dec 7 15:08:27 2015 -0500 dnd: Stop doing cancel animation in GTK+ Under Wayland, the compositor does it, so there is no need for us to move the window ourselves. For X11, we are now doing the animation from the X11 backend. Trigger that by calling gdk_drag_drop_done(). What changes here is that we have to keep the icon_window alive for as long as the drag context exists. Use a weak reference to do so. gtk/gtkdnd.c | 110 +++++++++++++---------------------------------------------- 1 file changed, 23 insertions(+), 87 deletions(-) commit 23b2b49321c1b757ba8a9cd77ad121ce789bd8ea Author: Matthias Clasen Date: Mon Dec 7 18:28:06 2015 -0500 x11: Implement drag cancel animation Showing the drag cancel animation can be done in the X11 drag context implementation now that we hold the drag window there, and have the start coordinates. Since we can't control if and when the application destroys the drag widget, we take a snapshot of the window contents and display that during the animation. This should be good enough for all practical purposes. gdk/x11/gdkdnd-x11.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 94 insertions(+) commit c590b83397713c86f099588a9e5de31028f4cc25 Author: Matthias Clasen Date: Mon Dec 7 15:07:13 2015 -0500 gdk: Add gdk_drag_drop_done This will allow us to move the drag cancel animation to GDK. For now, it does nothing. gdk/gdkdnd.c | 24 ++++++++++++++++++++++++ gdk/gdkdnd.h | 4 ++++ gdk/gdkdndprivate.h | 2 ++ 3 files changed, 30 insertions(+) commit ed89e5f62ae5739df1dc1e64e4105e1aeda56971 Author: Matthias Clasen Date: Mon Dec 7 15:07:54 2015 -0500 x11: Store drag start coordinates These will be used in later commits. gdk/x11/gdkdnd-x11.c | 5 +++++ 1 file changed, 5 insertions(+) commit a24bbcbb8d722cf55d7c454c49108c251500511a Author: Matthias Clasen Date: Mon Dec 7 14:21:20 2015 -0500 dnd: Pass start coordinates when creating the drag context This will be used in subsequent commits. gtk/gtkdnd.c | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) commit 268c7a3e44bbedd71f93b9456f91e0116b79dc71 Author: Matthias Clasen Date: Mon Dec 7 13:47:45 2015 -0500 gdk: Allow passing the start coordinates in drag_begin Add a variant of gdk_drag_begin that takes the start position in addition to the device. All backend implementation have been updated to accept (and ignore) the new arguments. Subsequent commits will make use of the data in some backends. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/broadway/gdkdnd-broadway.c | 4 +++- gdk/broadway/gdkprivate-broadway.h | 4 +++- gdk/gdkdnd.h | 7 +++++++ gdk/gdkwindow.c | 39 ++++++++++++++++++++++++++++++++---- gdk/gdkwindowimpl.h | 4 +++- gdk/quartz/gdkdnd-quartz.c | 4 +++- gdk/quartz/gdkprivate-quartz.h | 4 +++- gdk/wayland/gdkdnd-wayland.c | 4 +++- gdk/wayland/gdkprivate-wayland.h | 5 +++-- gdk/win32/gdkdnd-win32.c | 4 +++- gdk/win32/gdkprivate-win32.h | 2 +- gdk/x11/gdkdnd-x11.c | 4 +++- gdk/x11/gdkprivate-x11.h | 4 +++- 14 files changed, 74 insertions(+), 16 deletions(-) commit eb97ef05146debfb37821e93d33e4375a6f9d1ed Author: Benjamin Otte Date: Sun Dec 13 16:02:34 2015 +0100 cssnode: Set new style if it's animated In commit 2c613166771ea9118ebda91c311f11b3462330fb we avoided emitting the style-changed signal if no CSS property changed. Unfortunately, this also caused CSS styles to not be updated when animations started if those animations did not change any CSS value immediately. In those cases the animation would just never start. The obvious example was the spinner. gtk/gtkcssnode.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit b22a07ec6670946a29ae2617b8b959809bc151ca Author: Daniel Mustieles Date: Sun Dec 13 13:31:25 2015 +0100 Updated Spanish translation po-properties/es.po | 669 ++++++++++++++++++++++++++-------------------------- 1 file changed, 336 insertions(+), 333 deletions(-) commit ee8d484835029f9ad89d3bddfa0307c20d1ece19 Author: Daniel Mustieles Date: Sun Dec 13 13:31:15 2015 +0100 Updated Spanish translation po/es.po | 223 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 134 insertions(+), 89 deletions(-) commit 49145981b866562038a753806b24c87c5311f935 Author: Pedro Albuquerque Date: Sun Dec 13 08:16:32 2015 +0000 Updated Portuguese translation po/pt.po | 334 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 180 insertions(+), 154 deletions(-) commit 5cbbc62026c412cb9e4c77db4e01f438c7de3fc7 Author: Benjamin Otte Date: Sun Dec 13 04:08:44 2015 +0100 widget: Pass a GtkCssStyleChange instead of a bitmask gtk/gtkcsspathnode.c | 13 +------------ gtk/gtkcssstylechange.c | 17 +++++++++++++--- gtk/gtkcssstylechangeprivate.h | 4 +++- gtk/gtkcsswidgetnode.c | 34 ++++++++++++++++++-------------- gtk/gtkcsswidgetnodeprivate.h | 2 +- gtk/gtkfilechooserbutton.c | 4 ++-- gtk/gtkimage.c | 10 +++------- gtk/gtklabel.c | 10 +++------- gtk/gtkstylecontext.c | 44 ++++++++++++++++++------------------------ gtk/gtkstylecontextprivate.h | 6 +++--- gtk/gtktextview.c | 10 +++------- gtk/gtktreeview.c | 10 +++------- gtk/gtkwidget.c | 17 ++++------------ gtk/gtkwindow.c | 4 ++-- 14 files changed, 81 insertions(+), 104 deletions(-) commit c219bdbecceeef7eeedb58ca026e0b89beccd4da Author: Timm Bäder Date: Fri Dec 11 10:05:37 2015 +0100 Gestures: Add some nullable annotations gtk/gtkgesture.c | 4 ++-- gtk/gtkgesturesingle.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit c3fd1b3b73747d6451f5c531384044bcdd676199 Author: Timm Bäder Date: Thu Dec 10 16:54:59 2015 +0100 GtkFlowBox: Add missing nullable annotation gtk/gtkflowbox.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c02f68f0bacaabcf4b9ec8639ef819d4857f2911 Author: Timm Bäder Date: Wed Dec 9 17:15:04 2015 +0100 GtkFlowBox: Fix copy/paste mistake in docs gtk/gtkflowbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 776f034e2d7e650738911b74da31b15ad579b89f Author: Benjamin Otte Date: Sat Dec 12 03:24:32 2015 +0100 cellrendererpixbuf: Don't set icon size for pixbufs The code before the refactorings didn't set it, so we now don't set it either. Fixes images being way too smal inside iconviews. gtk/gtkcellrendererpixbuf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2c613166771ea9118ebda91c311f11b3462330fb Author: Benjamin Otte Date: Sat Dec 12 02:09:01 2015 +0100 cssnode: Catch case where a style didn't change Catch the case where a CSS style did not change and don't emit the style-changed signal in that case. This saves not only the emission of the signal, but also doesn't cause invalidation in child nodes, which would previously get a PARENT_STYLE gtk/gtkcssnode.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 971a277419800fbcaa9dafa8bb68fdb19d866aee Author: Benjamin Otte Date: Sat Dec 12 02:02:04 2015 +0100 cssnode: Change style-changed signal Instead of having old and new style, now have a GtkCssStyleChange opaque object that will compute the changes you are interested in for you. This simplifies change signal handlers quite a bit and avoids lots of repeated computation in every signal handler. gtk/Makefile.am | 2 + gtk/gtkaccellabel.c | 20 ++------ gtk/gtkcheckbutton.c | 20 ++------ gtk/gtkcheckmenuitem.c | 20 ++------ gtk/gtkcssnode.c | 31 +++++++----- gtk/gtkcssnodeprivate.h | 6 +-- gtk/gtkcssstylechange.c | 97 +++++++++++++++++++++++++++++++++++++ gtk/gtkcssstylechangeprivate.h | 51 +++++++++++++++++++ gtk/gtkcsswidgetnode.c | 11 +++-- gtk/gtkexpander.c | 20 ++------ gtk/gtklevelbar.c | 20 ++------ gtk/gtkmenu.c | 20 ++------ gtk/gtkmenuitem.c | 20 ++------ gtk/gtkmodelbutton.c | 20 ++------ gtk/gtknotebook.c | 20 ++------ gtk/gtkpaned.c | 20 ++------ gtk/gtkprogressbar.c | 20 ++------ gtk/gtkrange.c | 20 ++------ gtk/gtkspinbutton.c | 20 ++------ gtk/gtkswitch.c | 20 ++------ gtk/gtktextview.c | 20 ++------ gtk/gtkwindow.c | 20 ++------ gtk/inspector/css-node-tree.c | 16 ++++-- gtk/inspector/gtktreemodelcssnode.c | 3 +- 24 files changed, 256 insertions(+), 281 deletions(-) commit 0ad259a178f5172364c3acce41f8d5cde0f571c6 Author: Matthias Clasen Date: Fri Dec 11 17:11:07 2015 -0500 inspector: Hide request mode for non-widgets Only widgets have a request mode. gtk/inspector/misc-info.c | 1 + 1 file changed, 1 insertion(+) commit bb16ba7e311e6241584b7e6aa1eb7e66700d18d9 Author: Lapo Calamandrei Date: Fri Dec 11 21:08:53 2015 +0100 Adwaita: menu color change on the dark variant only gtk/theme/Adwaita/_colors.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit fb937984af2091daac4a0303f2ccc066248dcc01 Author: Matthias Clasen Date: Fri Dec 11 12:25:31 2015 -0500 file chooser: Also apply the settings I forgot that the settings object we're dealing with here is in delay mode, so settings won't apply immediately. gtk/gtkfilechooserdialog.c | 2 ++ 1 file changed, 2 insertions(+) commit d4654dd10b762afdeb64fd6656a8cea6b440394b Author: Matthias Clasen Date: Fri Dec 11 12:15:03 2015 -0500 file chooser: Store size more frequently We were only storing the dialog size on unmap, but resetting to the stored default value more often, e.g. on focus-out. This was causing the dialog to 'jump back' to its remembered size after the user manually resized it, leading to frustration and bug reports. Instead, save the dialog size on every ::size-allocate of the toplevel. To avoid needlessly spamming dconf, only write the new value if it changed. gtk/gtkfilechooserdialog.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) commit a8a33b71e4fb3077c5b7cdd65f248515a1c525ea Author: Matthias Clasen Date: Fri Dec 11 10:50:25 2015 -0500 Add a drag-end callback This will be helpful in figuring out life-cycle issues with icon widgets. tests/testdnd2.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit c418ca451b2db2cf2bab4d25d81ec15e00e8492f Author: Matthias Clasen Date: Fri Dec 11 10:44:46 2015 -0500 Add a dnd testcase This has tests for drag images, widgets, hotspots. tests/Makefile.am | 2 + tests/testdnd2.c | 268 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 270 insertions(+) commit 561833334b470fd668c38b32e327660cba29e829 Author: Jonas Ådahl Date: Tue Dec 8 18:19:33 2015 +0800 wayland: Implement DND icon hotspot API In Wayland, the hotspot of a DND icon is set using the buffer offset in wl_buffer.attach. To implement this, add a private API to cause the next wl_surface.attach to offset the new buffer with a given offset. Setting a DND icon hotspot sets this offset while also queuing a redraw of the window to trigger the wl_surface.attach. https://bugzilla.gnome.org/show_bug.cgi?id=759168 gdk/wayland/gdkdnd-wayland.c | 16 ++++++++++++++-- gdk/wayland/gdkprivate-wayland.h | 4 ++++ gdk/wayland/gdkwindow-wayland.c | 22 +++++++++++++++++++++- 3 files changed, 39 insertions(+), 3 deletions(-) commit 8884e82af8f0a8ef18fa1dcb055b51f7f17550fb Author: Georges Basile Stavracas Neto Date: Fri Dec 11 02:28:39 2015 -0200 placesviewrow: remove unneeded functions These function declarations are not used nor implemented anywhere, so remove them. gtk/gtkplacesviewrowprivate.h | 5 ----- 1 file changed, 5 deletions(-) commit ae487840f005f2cdc80f8bd5b8e5fe60e5a37a27 Author: Matt Watson Date: Thu Dec 10 15:50:25 2015 -0800 gtkstack: remove needless queue_resize In gtk_stack_set_transition_position we should only need to queue_resize if we are non-homogeneous, which is already done earlier in the function. gtk/gtkstack.c | 2 -- 1 file changed, 2 deletions(-) commit 67125ae4e0fc404eb33eaced49888828c8348453 Author: Georges Basile Stavracas Neto Date: Tue Nov 3 00:50:06 2015 -0200 placesview: implement available space GtkPlacesView is a widget to display locations in the computer, such as root ("/") and volumes, separating the persistent devices from removable ones. From the latest mockups[1], GtkPlacesView would display the available space of local drives like partitions. This, however, is not implemented in the current codebase. Fix that by implementing the measurement of disk space, and adding a new property GtkPlacesView::show-disk-usage which controls the visibility of measured disks. [1] https://raw.githubusercontent.com/gnome-design-team/gnome-mockups/master/nautilus/nautilus-next/other-locations.png https://bugzilla.gnome.org/show_bug.cgi?id=759225 gtk/gtkplacesview.c | 4 ++ gtk/gtkplacesviewrow.c | 125 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkplacesviewrowprivate.h | 8 +++ gtk/ui/gtkplacesviewrow.ui | 19 ++++++- 4 files changed, 153 insertions(+), 3 deletions(-) commit 5f45878133945e1ce28d39df8cacddb53512758f Author: Cosimo Cecchi Date: Wed Dec 9 10:45:26 2015 -0800 statusicon: plug memory leak gtk/deprecated/gtkstatusicon.c | 1 + 1 file changed, 1 insertion(+) commit 191b9d84faa4b716eccf39077a0327a765343b6c Author: Lapo Calamandrei Date: Wed Dec 9 18:56:38 2015 +0100 Adwaita: make menu bg color the same as popovers fixes https://bugzilla.gnome.org/show_bug.cgi?id=759260 gtk/theme/Adwaita/_colors.scss | 3 +++ gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 4 files changed, 16 insertions(+), 9 deletions(-) commit d266151feead40a7d8f8bb163024404c030f6d79 Author: Lapo Calamandrei Date: Wed Dec 9 17:43:40 2015 +0100 Adwaita: another try at color tweakings... gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f51dfb7af890227733c74d88f6b2b7c204c7c82f Author: Lapo Calamandrei Date: Wed Dec 9 17:38:38 2015 +0100 Adwaita: some more color tweaks and sass simplification gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 21 ++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 4 files changed, 9 insertions(+), 22 deletions(-) commit 07506a90889630c542ed8d461352a08f5ac9b841 Author: Lapo Calamandrei Date: Wed Dec 9 14:52:03 2015 +0100 Adwaita: fix popover styling ...in the process simplified the touch-selection styling, check and radios not fixed there since I'm going to add proper osd assets for those (istead of forcing the dark variant assets there as before). gtk/theme/Adwaita/_colors.scss | 2 +- gtk/theme/Adwaita/_common.scss | 61 ++----- gtk/theme/Adwaita/gtk-contained-dark.css | 266 +++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 266 +++++++++---------------------- 4 files changed, 163 insertions(+), 432 deletions(-) commit 861ac8e373681cacfe577b1d6c3c17934a33e1aa Author: Benjamin Otte Date: Wed Dec 9 13:29:59 2015 +0100 iconhelper_ Don't use deprecated functions Use gtk_widget_get_direction() instead of gtk_style_context_get_direction(). gtk/gtkiconhelper.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit ccfc4d3f128d0617b3d9c0bbe034b5ceae771780 Author: Benjamin Otte Date: Tue Dec 8 20:57:24 2015 +0100 iconhelper: Remove the context argument Instead, use the widget's context. gtk/deprecated/gtkstatusicon.c | 4 +--- gtk/gtkcellrendererpixbuf.c | 3 +-- gtk/gtkentry.c | 12 +++++------- gtk/gtkiconhelper.c | 12 ++++++++---- gtk/gtkiconhelperprivate.h | 3 --- gtk/gtkimage.c | 6 ++---- gtk/gtkspinbutton.c | 4 ++-- 7 files changed, 19 insertions(+), 25 deletions(-) commit e95e2d5048e59cb0615943400d738534a24aa958 Author: Benjamin Otte Date: Tue Dec 8 15:52:35 2015 +0100 iconhelper: Get rid of _gtk_icon_helper_set_window() Instead use the window of the owner widget. gtk/gtkcellrendererpixbuf.c | 2 -- gtk/gtkentry.c | 6 ------ gtk/gtkiconhelper.c | 43 +++++++------------------------------------ gtk/gtkiconhelperprivate.h | 2 -- gtk/gtkimage.c | 18 ------------------ gtk/gtkspinbutton.c | 1 - 6 files changed, 7 insertions(+), 65 deletions(-) commit c9d1a45d30ee5e131d12c8de276e3657111a578b Author: Benjamin Otte Date: Tue Dec 8 15:39:10 2015 +0100 iconhelper: Require a widget as construction argument Note that the caller needs to ensure the widget lives as long as the iconhelper as the iconhelper will not ref the widget. gtk/deprecated/gtkstatusicon.c | 2 +- gtk/gtkcellrendererpixbuf.c | 13 +++++++------ gtk/gtkentry.c | 2 +- gtk/gtkiconhelper.c | 13 +++++++++++-- gtk/gtkiconhelperprivate.h | 2 +- gtk/gtkimage.c | 2 +- gtk/gtkspinbutton.c | 2 +- 7 files changed, 23 insertions(+), 13 deletions(-) commit ee5758a4e16a7957a8759abeb8fecde23e2bb6d2 Author: Benjamin Otte Date: Tue Dec 8 15:18:55 2015 +0100 statusicon: Port from iconhelper to imagedefinition gtk/deprecated/gtkstatusicon.c | 100 ++++++++++++++++++++++------------------- 1 file changed, 53 insertions(+), 47 deletions(-) commit 866e7dc733aa059ec5760ef14d03fef1aaf8577c Author: Benjamin Otte Date: Tue Dec 8 11:27:37 2015 +0100 cellrendererpixbuf: Create iconhelper on-demand Instead of storing one in the priv structure, only store an image definition there. This will allow future refactorings of the icon helper. gtk/gtkcellrendererpixbuf.c | 94 +++++++++++++++++++++++++++++---------------- 1 file changed, 61 insertions(+), 33 deletions(-) commit 01387428a359a2a3f04f81514e5cf622e1d981fe Author: Benjamin Otte Date: Mon Dec 7 19:49:51 2015 +0100 iconhelper: Pass only the CssStyle when loading pixbufs gtk/gtkiconhelper.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 6afeab431328e12f010da7567a664e62c2c731f3 Author: Benjamin Otte Date: Mon Dec 7 19:47:49 2015 +0100 iconhelper: Remove unused GtkStyleContext parameters gtk/gtkiconhelper.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit cf77c1695d0efba00078c4b3d8d4dc9ad98a2a86 Author: Benjamin Otte Date: Mon Dec 7 19:45:55 2015 +0100 iconhelper: Pass only the CssStyle when loading iconsets gtk/deprecated/gtkiconfactory.c | 81 ++++++++++++++++++++-------------- gtk/deprecated/gtkiconfactoryprivate.h | 6 +++ gtk/gtkiconhelper.c | 46 +++++++++++++------ gtk/gtkrender.c | 64 ++++++++++++--------------- gtk/gtkrenderprivate.h | 6 +++ 5 files changed, 119 insertions(+), 84 deletions(-) commit 88a490fe58c3515c945cddfff519e8d00cc4256a Author: Benjamin Otte Date: Mon Dec 7 19:22:48 2015 +0100 iconfactory: Move private functions into private header gtk/deprecated/Makefile.inc | 1 + gtk/deprecated/gtkiconfactory.h | 5 ----- gtk/deprecated/gtkiconfactoryprivate.h | 26 ++++++++++++++++++++++++++ gtk/deprecated/gtkstock.c | 1 + 4 files changed, 28 insertions(+), 5 deletions(-) commit ee6e685478d07a4c10c6af255a548f7bdc8ffc7c Author: Benjamin Otte Date: Mon Dec 7 04:44:39 2015 +0100 iconhelper: Pass only the CssStyle when loading icons This is the first step in replacing StyleContext usage with CssNode usage. gtk/Makefile.am | 1 + gtk/gtkiconhelper.c | 68 +++++++++++++++++++++++++++++++++-------------- gtk/gtkicontheme.c | 24 ++++++++++------- gtk/gtkiconthemeprivate.h | 29 ++++++++++++++++++++ 4 files changed, 92 insertions(+), 30 deletions(-) commit 8edbbde1274208173f57ce8168e3ba669fb0237b Author: Matthias Clasen Date: Tue Dec 8 20:47:21 2015 -0500 toolitem: Set a css name gtk/gtktoolitem.c | 2 ++ 1 file changed, 2 insertions(+) commit e2d1042b6bcf424d3ae86ebd8e23b8d64ca98bfd Author: Sébastien Wilmet Date: Sun Dec 6 17:49:01 2015 +0100 Don't use gtk_text_iter_begins_tag() (deprecated) Use gtk_text_iter_starts_tag() instead. https://bugzilla.gnome.org/show_bug.cgi?id=759092 gtk/gtktextbufferrichtext.c | 4 ++-- gtk/gtktextiter.c | 6 +++--- testsuite/gtk/textbuffer.c | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) commit 1dcb3a0f887924793c86e9f5ee56fbd54a2a9b6e Author: Sébastien Wilmet Date: Sun Dec 6 17:39:27 2015 +0100 textiter: add starts_tag() and deprecate begins_tag() The name gtk_text_*_begins_* was used only for begins_tag(). All other similar functions use "starts": starts_line(), starts_word(), etc. So for consistency, add gtk_text_iter_starts_tag() and deprecate gtk_text_iter_begins_tag(). Also change (allow-none) to (nullable), to use the new annotation. https://bugzilla.gnome.org/show_bug.cgi?id=759092 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktextiter.c | 38 ++++++++++++++++++++++++++++++------ gtk/gtktextiter.h | 6 +++++- 3 files changed, 38 insertions(+), 7 deletions(-) commit 28ae8a3608776c225c1c751ee6ebee582fbd18a0 Author: Matthias Clasen Date: Tue Dec 8 13:02:37 2015 -0500 Revert "wayland: Implement DND icon hotspot API" This reverts commit 3ab9d96623bc30678cbffc3bf9ec5133e714e87c. Pushed prematurely. gdk/wayland/gdkdnd-wayland.c | 26 ++------------------------ gdk/wayland/gdkprivate-wayland.h | 4 ---- gdk/wayland/gdkwindow-wayland.c | 33 +-------------------------------- 3 files changed, 3 insertions(+), 60 deletions(-) commit d4f841049df1032dc710ae351dc5f6d71b8189b2 Author: Kalev Lember Date: Tue Dec 8 18:51:05 2015 +0100 Remove GtkShortcutsGesture from docs Commit c83ab24 that dropped GtkShortcutsGesture left in one last reference in docs; this drops it as well. docs/reference/gtk/gtk-docs.sgml | 1 - 1 file changed, 1 deletion(-) commit 8dfad8e2f01958eca27c49882ccca2d8fe0315cc Author: Matthias Clasen Date: Tue Dec 8 12:32:00 2015 -0500 gtk-demo: Add an example for direction-dependent shortcuts demos/gtk-demo/shortcuts-clocks.ui | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 3ab9d96623bc30678cbffc3bf9ec5133e714e87c Author: Jonas Ådahl Date: Tue Dec 8 18:19:33 2015 +0800 wayland: Implement DND icon hotspot API In Wayland, the hotspot of a DND icon is set using the buffer offset in wl_buffer.attach. To implement this, add a private API to cause the next wl_surface.attach to offset the new buffer with a given offset. Setting a DND icon hotspot sets this offset while also queuing a redraw of the window to trigger the wl_surface.attach. https://bugzilla.gnome.org/show_bug.cgi?id=759168 gdk/wayland/gdkdnd-wayland.c | 26 ++++++++++++++++++++++++-- gdk/wayland/gdkprivate-wayland.h | 4 ++++ gdk/wayland/gdkwindow-wayland.c | 33 ++++++++++++++++++++++++++++++++- 3 files changed, 60 insertions(+), 3 deletions(-) commit 0164256aecc8f7524913d0211efb6f536fd938df Author: Khaled Hosny Date: Tue Dec 8 10:37:51 2015 +0400 Update Arabic translation po/ar.po | 3956 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2230 insertions(+), 1726 deletions(-) commit 9103707922aede3f00d62ca127779efc0acd2cba Author: Kalev Lember Date: Mon Dec 7 17:21:51 2015 +0100 headerbar: Don't leak internal widgets Make sure to clean up internal widgets in destroy, as these aren't cleaned up when GtkContainer walks the childrens list in gtk_container_destroy(). This also fixes a gedit crash as reported in https://bugzilla.redhat.com/show_bug.cgi?id=1288669 https://bugzilla.gnome.org/show_bug.cgi?id=759132 gtk/gtkheaderbar.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 7d1a0b075d2d466c5917f3c95476c4077955e68b Author: Matthias Clasen Date: Mon Dec 7 21:57:45 2015 -0500 Trivial code restructuring gdk/x11/gdkdnd-x11.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit bf7a7a5f3d0ddae36a0fab79d4d3754d25ada5d0 Author: Matthias Clasen Date: Mon Dec 7 21:54:55 2015 -0500 dnd: pass hotspot to GDK This uses the new api introduced in the previous commits. gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) commit 3b4bfba37d8885ebed92e3c154287961e7c60968 Author: Matthias Clasen Date: Mon Dec 7 21:53:38 2015 -0500 wayland: Add a dummy implementation of gdk_drag_context_set_hotspot This just records the hotspot coordinates. Still to do: apply the hotspot when updating the drag window. gdk/wayland/gdkdnd-wayland.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 475f6e09b1df0ed6098485bbf58fbd27f417bcbb Author: Matthias Clasen Date: Mon Dec 7 21:52:51 2015 -0500 x11: Implement gdk_drag_context_set_hotspot This makes the drag behavior under X11 match what we had previously. gdk/x11/gdkdnd-x11.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit f4ebdb64eefefa8b6562b1077bac296f561d53de Author: Matthias Clasen Date: Mon Dec 7 21:52:03 2015 -0500 gdk: Add api to set drag window hotspot With GdkDragContext now being in charge of placing the window, it needs to know about the hotspot to place under the cursor. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkdnd.c | 23 +++++++++++++++++++++++ gdk/gdkdnd.h | 5 +++++ gdk/gdkdndprivate.h | 3 +++ 4 files changed, 32 insertions(+) commit 08ecf199073a5d42a0fb23fe8289c5264e3f0313 Author: Matthias Clasen Date: Mon Dec 7 18:32:57 2015 -0500 dnd: Remove an unused struct field We only have one screen nowadays, so the fallback_icon is never used. gtk/gtkdnd.c | 8 -------- 1 file changed, 8 deletions(-) commit c0477c2c5242f678155316714c0394039ed8fd7b Author: Carlos Garnacho Date: Mon Dec 7 16:32:15 2015 +0100 GtkNotebook: Use gdouble in coordinate calculations Otherwise rounding errors fool the "tab under coordinates" checks on crossing events, which will be triggered close enough to the window rectangle if the pointer moves slowly enough. With this, the tab_prelight() function correctly figures out we've moved the pointer outside the tab area when called in gtk_notebook_leave_notify(). https://bugzilla.gnome.org/show_bug.cgi?id=759091 gtk/gtknotebook.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 5088b4937e77a6aa7b828e6a9ce66e47ef7deceb Author: Adam Reichold Date: Sun Dec 6 11:30:58 2015 +0100 Fix method to update menu sensitivity of combo box After removal of the selectable header and separator from the combo box, the method to update the menu sensitivity must be changed as it assumes at least two items within each sub menu and contains special handling for the separator. Removing this fixes bug #759079. gtk/gtkcombobox.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit f7cc4abbad76f354cdc740e7fb9192719f72a89a Author: Matthias Clasen Date: Mon Dec 7 10:11:06 2015 -0500 Avoid ugly seams on half-tiled terminals Since we're no longer doing geometry widgets, don't send base size and increments to the window manager anymore either. This avoids an ugly 2 pixel gap to the right and bottom of half-tiled terminals under gnome-shell. gtk/gtkwindow.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 88c4d06973ee2b2ad5b702925473b989eb46e55b Author: Matthias Clasen Date: Mon Dec 7 07:04:43 2015 -0500 accel cellrenderer: Fix rendering We were getting the "New Accelerator" text mixed with the content of the underlying cell, since plain labels don't have a background. Go back to putting the label in selected state, and fix the theme to render that white-on-blue. This was lost when we switched to using a selection sub-node. gtk/gtkcellrendereraccel.c | 2 +- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 4 files changed, 10 insertions(+), 9 deletions(-) commit 05dd21be88b65fa3012b38e2ed5873272ab90742 Author: Erika Date: Sun Dec 6 14:31:00 2015 +0000 Correct annotations for gtk_cell_layout_get_area The function can return NULL. https://bugzilla.gnome.org/show_bug.cgi?id=759081 gtk/gtkcelllayout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 326f4739ca00c7a3b92990c9e747c71638935a85 Author: Matthias Clasen Date: Sun Dec 6 23:06:33 2015 -0500 inspector: Redo the CSS node page Showing two lists in a paned was a bit awkward, and space was getting too limited. Go back to showing just the node list at first, and make the CSS properties available via a stack. At the same time, add a right-click context menu to the node list to make the name and class editing more easily available. gtk/inspector/css-node-tree.c | 246 +++++++++++++++++++++++++++++++++++------ gtk/inspector/css-node-tree.ui | 176 +++++++++++++++++++++-------- 2 files changed, 340 insertions(+), 82 deletions(-) commit 6f1c945010480c0f459ee7d334d9688829bc8b69 Author: Matthias Clasen Date: Sun Dec 6 17:25:31 2015 -0500 inspector: Avoid a crash gkt_cell_layout_get_area may return NULL, handle it. gtk/inspector/object-tree.c | 3 +++ 1 file changed, 3 insertions(+) commit 9c73603c1643d452523e4d73b7fbd44d74bfab8b Author: Matthias Clasen Date: Sun Dec 6 15:40:59 2015 -0500 css node: Some more docs gtk/gtkcssnode.c | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) commit 2188fe0e54a886cb597e9bb316a55ed2fed6861f Author: Matthias Clasen Date: Sat Dec 5 19:18:27 2015 -0500 places view: Use names for cursors Use the standard name for the busy+interactive cursor. gtk/gtkplacesview.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit f76fa0411f520e4f01249beb9f6e70d061626f84 Author: Matthias Clasen Date: Sat Dec 5 19:17:52 2015 -0500 entry: Always use cursor names The names are the preferred API for cursors, so use it. gtk/gtkentry.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit 64431a17e3d2947a4153bdb098c70d4fe87d7bdc Author: Matthias Clasen Date: Sat Dec 5 19:09:17 2015 -0500 Add a test for required cursors We use these cursors in GTK+, so check for their existence. testsuite/gtk/Makefile.am | 1 + testsuite/gtk/check-cursor-names.c | 65 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 66 insertions(+) commit 93b3669273808886a0d42ffd038a62a990f0efd9 Author: Matthias Clasen Date: Sat Dec 5 18:55:05 2015 -0500 Be forgiving if cursors are missing No need to crash here. Missing cursors are ugly, but we shouldn't crash. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6915aba952601c51ffce7ba8b1eec44b242cfb03 Author: Matthias Clasen Date: Sat Dec 5 17:09:10 2015 -0500 Add more examples to foreigndrawing Show how to draw checks and radios. tests/foreigndrawing.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 73 insertions(+), 2 deletions(-) commit 2c03ab48ebee0899de4428071d20a6f137ae9a8a Author: Dušan Kazik Date: Sat Dec 5 19:38:36 2015 +0000 Updated Slovak translation po/sk.po | 1142 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 655 insertions(+), 487 deletions(-) commit c73325c6b0a1b3f50a6b526170ab9eec1e322213 Author: Matthias Clasen Date: Sat Dec 5 14:12:27 2015 -0500 entry completion: Reduce the timeout Pop up the completion window after 100ms. The previous timeout of 300ms was making completions feel slow. https://bugzilla.gnome.org/show_bug.cgi?id=758929 gtk/gtkentrycompletion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 63c4b9226cc338ba3c752547b73ec073bf7f2003 Author: Matthias Clasen Date: Sat Dec 5 14:11:06 2015 -0500 widget-factory: Add an entry completion This was missing so far. demos/widget-factory/widget-factory.ui | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 12dbfe026fa957fe45639aa891990702d5b0fdad Author: Matthias Clasen Date: Sat Dec 5 13:52:09 2015 -0500 shortcuts: Another attempt to fix up forall gtk_window_set_titlebar does not take ownership of the headerbar, so we need to explicitly destroy it. gtk/gtkshortcutswindow.c | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) commit 6fdc6cb31319481891b00113c2633d59038fd178 Author: Matthias Clasen Date: Sat Dec 5 13:50:26 2015 -0500 gtk-demo: Plug a memory leak demos/gtk-demo/shortcuts.c | 1 + 1 file changed, 1 insertion(+) commit 0c1d46dca532e012c8ae528694dc1575cdbb4b96 Author: Piotr Drąg Date: Sat Dec 5 19:27:32 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 - po/POTFILES.in | 1 - 2 files changed, 2 deletions(-) commit c83ab24237783b7224262889d7272432fd662fd9 Author: Matthias Clasen Date: Sat Dec 5 12:09:16 2015 -0500 Remove GtkShortcutsGesture The gesture functionality was taken over by GtkShortcutsShortcut, so this widget is no longer needed, and it never was in a stable release, so lets get rid of it. docs/reference/gtk/gtk3-sections.txt | 14 -- docs/reference/gtk/gtk3.types.in | 1 - gtk/Makefile.am | 2 - gtk/gtk.h | 1 - gtk/gtkshortcutsgesture.c | 311 ----------------------------------- gtk/gtkshortcutsgesture.h | 42 ----- gtk/gtkshortcutsgroup.c | 10 +- gtk/gtkshortcutswindow.c | 44 ----- 8 files changed, 1 insertion(+), 424 deletions(-) commit 830b6f10a1e7f9709006a6f16f5168f8d460308b Author: Lapo Calamandrei Date: Sat Dec 5 17:55:38 2015 +0100 Adwaita: simpler active switch background ...removing the progressbar_fill mixin in the process. gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/_drawing.scss | 6 ------ gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 4 files changed, 6 insertions(+), 9 deletions(-) commit 8f2cd874f144dc05e57de635d3c6239a0a733073 Author: Lapo Calamandrei Date: Sat Dec 5 17:52:37 2015 +0100 Adwaita: first stab at some visual updates gtk/theme/Adwaita/_colors.scss | 1 + gtk/theme/Adwaita/_drawing.scss | 62 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 334 ++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 354 ++++++++++++++++++++----------- 4 files changed, 474 insertions(+), 277 deletions(-) commit 124932c8d7125e9781983de18a5efc6e3c34326d Author: Piotr Drąg Date: Sat Dec 5 15:28:17 2015 +0100 Updated Polish translation po-properties/pl.po | 2421 +++++++++++++++++++++++++-------------------------- 1 file changed, 1210 insertions(+), 1211 deletions(-) commit 17ac9c27b12e4f5d0b6b920b730afe3218de8266 Author: Wolfgang Stöggl Date: Sat Dec 5 12:18:51 2015 +0000 Updated German translation po-properties/de.po | 815 ++++++++++++++++++++++++++-------------------------- 1 file changed, 409 insertions(+), 406 deletions(-) commit 11241ae7839e49d4407f59e0f069b6c9ddf2b81e Author: Pedro Albuquerque Date: Sat Dec 5 07:48:40 2015 +0000 Updated Portuguese translation po/pt.po | 172 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 101 insertions(+), 71 deletions(-) commit b07830ebafa8bb9d7048cd01dbfde9cafc89202e Author: Pedro Albuquerque Date: Sat Dec 5 07:46:31 2015 +0000 Updated Portuguese translation po-properties/pt.po | 579 ++++++++++++++++++++++++++-------------------------- 1 file changed, 294 insertions(+), 285 deletions(-) commit 6f061b139d490edd072f36c537e7d3e3f29a0efe Author: Matthias Clasen Date: Fri Dec 4 11:29:27 2015 -0500 3.19.4 NEWS | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 59 insertions(+), 1 deletion(-) commit f210dc928127b1b0ffad72ec4baa992721de5f11 Author: Matthias Clasen Date: Fri Dec 4 16:59:29 2015 -0500 Fix make check GtkFontChooserWidget is using a GThemedIcon in its template, so we need to ensure that the type is registered before loading it. This was causing the defaultvalue test to fail. gtk/gtkfontchooserwidget.c | 1 + 1 file changed, 1 insertion(+) commit 55e06e5d5288a9648ce0b6b1d65c05fda89327ab Author: Lionel Landwerlin Date: Fri Dec 4 21:02:36 2015 +0000 adwaita: fix property spelling mistake https://bugzilla.gnome.org/show_bug.cgi?id=759048 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 ecc5342b0d21b2dc9d4b3ed441107897332ca431 Author: Timm Bäder Date: Fri Dec 4 20:38:31 2015 +0100 GtkEntry: Recompute in text-inserted/text-deleted The text-inserted/text-deleted handlers rely on the cursor positions being unadjusted after the text change, so we can't do it in buffer_notify_text. gtk/gtkentry.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit f19cadeaf3e85f3b5347b85e50241c97d623903c Author: Matthias Clasen Date: Fri Dec 4 13:17:37 2015 -0500 testsuite: Fix notify tests GtkStatusIcon tests don't work well under xwayland either, so just skip them unconditionally. GtkEntry now fails because the update of the im-module is no longer deferred to an idle, and (gtk-im-simple) is not a valid module name, so skip this property. testsuite/gtk/notify.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 03769e3830ca3c8ab8265ac1a52d4000e52409d9 Author: Matthias Clasen Date: Fri Dec 4 13:16:35 2015 -0500 shortcut label: Tweak modifier key rendering The subscript was affecting the vertical alignment too much, so tweak the rendering of the L/R markers to avoid that. Also, mark these as translatable. gtk/gtkshortcutlabel.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 27b24bb68f859f4115175c109dc89c091b468408 Author: Matthias Clasen Date: Fri Dec 4 13:13:38 2015 -0500 Add a css name to GtkShortcutsShortcut This will be useful for tweaking the gesture image details, among other things. gtk/gtkshortcutsshortcut.c | 1 + 1 file changed, 1 insertion(+) commit 5cb06a30a08b6491ba8cb956fa7a7aeed7e5d1fc Author: Lapo Calamandrei Date: Fri Dec 4 19:04:17 2015 +0100 Adwaita: added back progressbar.osd style gtk/theme/Adwaita/_common.scss | 15 +++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/theme/Adwaita/gtk-contained.css | 10 ++++++++++ 3 files changed, 35 insertions(+) commit c64452c29d1f3a3ad14b50889fa477dd0eb7955a Author: Lapo Calamandrei Date: Fri Dec 4 18:47:28 2015 +0100 Adwaita: fix scales with marks on the dark variant gtk/theme/Adwaita/_common.scss | 5 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 48 ++++++++++++++++---------------- 2 files changed, 27 insertions(+), 26 deletions(-) commit cfc17a015268ccdf75121306ed02e628725f3e5c Author: Lapo Calamandrei Date: Fri Dec 4 18:42:56 2015 +0100 Adwaita: slight color tweaks gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/_drawing.scss | 88 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 302 ++++----- gtk/theme/Adwaita/gtk-contained.css | 1042 +++++++++++++++--------------- 5 files changed, 719 insertions(+), 719 deletions(-) commit 05bdecb2f82381dbfdba6dcacf09fd20a0c76964 Author: Benjamin Otte Date: Fri Dec 4 17:43:36 2015 +0100 reftests: Add test for missing-image handling Add a test that ensures that missing images get the icon-effect properly applied. testsuite/reftests/Makefile.am | 3 ++ testsuite/reftests/icon-effect-missing.css | 11 ++++++ testsuite/reftests/icon-effect-missing.ref.ui | 51 +++++++++++++++++++++++++++ testsuite/reftests/icon-effect-missing.ui | 51 +++++++++++++++++++++++++++ 4 files changed, 116 insertions(+) commit d14e2a489a6866b536b9b5de3eec5a28d715942a Author: Benjamin Otte Date: Fri Dec 4 17:42:35 2015 +0100 iconhelper: Fold function into callers The function takes so many arguments and is so short that it's not worth keeping. gtk/gtkiconhelper.c | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) commit 72d4b65b1d93f64b586f14c28503cfdb87e6bf10 Author: Benjamin Otte Date: Fri Dec 4 16:55:02 2015 +0100 iconhelper: Apply icon-effect directly Instead of creating an icon source, making sure no state is set and therefore the icon-effect will be applied and then rendering that icon source, just call the icon-effect apply function. Also, the new way isn't deprecated. gtk/gtkiconhelper.c | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) commit 1b835fc7ce679947669b53b55d2b84f9582f661a Author: Benjamin Otte Date: Fri Dec 4 16:53:50 2015 +0100 css: Leftover renaming gtk-image-effect => icon-effect The previous renaming commit was incomplete, so here we go again. gtk/deprecated/gtkiconfactory.c | 2 +- gtk/gtkcssenumvalue.c | 10 +++++----- gtk/gtkcssstylepropertyimpl.c | 2 +- gtk/gtkcsstypesprivate.h | 2 +- gtk/gtkrender.c | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) commit a37220109fa0952e4f3c7e188ccd574cdac6a660 Author: Benjamin Otte Date: Fri Dec 4 16:35:58 2015 +0100 render: Split out icon-effect apply function gtk/gtkcssenumvalue.c | 33 +++++++++++++++++++ gtk/gtkcssenumvalueprivate.h | 2 ++ gtk/gtkrender.c | 77 +++++++------------------------------------- gtk/gtkrenderprivate.h | 12 +++---- 4 files changed, 53 insertions(+), 71 deletions(-) commit cefba86fb366adc3584ad59607e1a8864d1bd9f8 Author: Benjamin Otte Date: Fri Dec 4 16:18:23 2015 +0100 iconhelper: Return surface from icon-effect function All the callers where converting to a surface anyway. gtk/gtkiconhelper.c | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) commit 295f208e1c2c7ebfc6c97ad49d7496e308fa94aa Author: Benjamin Otte Date: Fri Dec 4 16:13:22 2015 +0100 iconhelper: Refactor missing icon handling In particular, stop using deprecated code for loading the missing image icon. gtk/gtkiconhelper.c | 51 ++++++++++++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 27 deletions(-) commit 3c54a49633bcc975dc8c57a0aea831e28fd20162 Author: Benjamin Otte Date: Fri Dec 4 16:06:08 2015 +0100 iconhelper: Fold function into only caller gtk/gtkiconhelper.c | 54 ++++++++++++++++++++--------------------------------- 1 file changed, 20 insertions(+), 34 deletions(-) commit b8dd24b4fb8a3e311373210e602f214306a401ff Author: Benjamin Otte Date: Fri Dec 4 15:25:49 2015 +0100 iconfactory: Drop caching infrastructure - icon sets are essentially unused - the icon theme does caching - this code complicates the restructuring I'm about to do => Delete it! gtk/deprecated/gtkiconfactory.c | 324 ---------------------------------------- gtk/deprecated/gtkiconfactory.h | 1 - gtk/gtkstylecontext.c | 2 - 3 files changed, 327 deletions(-) commit d2ef875e0954344bc85a784084a25ad6dd55efd0 Author: William Hua Date: Fri Dec 4 11:17:43 2015 -0500 mir: remove deprecated function call gdk/mir/gdkmir-debug.c | 1 - 1 file changed, 1 deletion(-) commit 8768c0b8ac1fb6d997ec5708c0d85fa2e0a01148 Author: Matthias Clasen Date: Fri Dec 4 10:55:20 2015 -0500 shortcuts: Extend the accelerator syntax more Cover cases like left+right control, and render them nicely. The gtk3-demo builder shortcuts example shows the new possibilities. demos/gtk-demo/shortcuts-builder.ui | 38 +++++++++++++ gtk/gtkshortcutlabel.c | 107 ++++++++++++++++++++++++++++++++++-- gtk/gtkshortcutsshortcut.c | 10 +++- 3 files changed, 148 insertions(+), 7 deletions(-) commit 7fc493a8a89ae2b7df0f2deee90be122bf11fa09 Author: Olivier Fourdan Date: Fri Dec 4 11:25:50 2015 +0100 wayland: fix testtooltips On Wayland, for tooltips to work as expected, the type hint must be set to tooltips, otherwise the popup window won't be translated as a subsurface. Fix the test do work as expected under Wayland. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=759018 tests/testtooltips.c | 5 +++++ 1 file changed, 5 insertions(+) commit bd332f10ab2d3a3eee5ee53d472dd0a7ad15198e Author: Lionel Landwerlin Date: Wed Dec 2 01:41:07 2015 +0000 gdkoffscreenwindow: use embedder to derive surfaces & scale factor In Gdk, a GdkOffscreenWindow parent has to be the root window. This is problematic on Wayland because the root window doesn't necessary have the right information with regard to scale factor. This patch proposes to rely on the embedder, if available, to derive surfaces as well as getting the scale factor. https://bugzilla.gnome.org/show_bug.cgi?id=758936 gdk/gdkoffscreenwindow.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 3ba11782db1e35fa1fc9a2e6005c7272b9745756 Author: Timm Bäder Date: Thu Dec 3 20:20:58 2015 +0100 GtkEntry: nullable annotations gtk/gtkentry.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit da477575cd293e03adacbcc7a1e0a812fc5a992f Author: Timm Bäder Date: Thu Dec 3 19:32:56 2015 +0100 GtkEntry: Return proper constants from signal handlers gtk/gtkentry.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit d86ec52547add225568aaf7e0b8501b21197ce41 Author: Timm Bäder Date: Thu Dec 3 18:27:47 2015 +0100 GtkTreeModel: Remove erroneous transfer annotation gtk/gtktreemodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f11f989f1f5fac478a3b2a3b4819f529ce102897 Author: Timm Bäder Date: Thu Dec 3 18:14:45 2015 +0100 GtkEntry: Remove recompute idle Just do it directly gtk/gtkentry.c | 70 +++++++++++++++++++--------------------------------------- 1 file changed, 23 insertions(+), 47 deletions(-) commit cfc23cbf32f30eda76ec56973c6f5344f456abab Author: Timm Bäder Date: Thu Dec 3 18:10:54 2015 +0100 GtkEntry: Remove unused fields gtk/gtkentry.c | 3 --- 1 file changed, 3 deletions(-) commit 07ee962ed34ad87138b99f8c7e86f84452f17e14 Author: Lapo Calamandrei Date: Thu Dec 3 19:28:57 2015 +0100 Adwaita: some OSD rationalization taking care of https://bugzilla.gnome.org/show_bug.cgi?id=732528 in the process, any toolbar.osd with a positional style class attached gets squared corners now. gtk/theme/Adwaita/_common.scss | 57 ++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 154 ++++++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 154 ++++++++----------------------- 3 files changed, 102 insertions(+), 263 deletions(-) commit d46ab0f62a13885013883197c0903344707961fc Author: Lapo Calamandrei Date: Thu Dec 3 18:39:19 2015 +0100 Adwaita: scale with marks styling I'm really sorry for the unlucky ones who would have to read that code... gtk/theme/Adwaita/_common.scss | 72 +++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 241 +++++++++++++++++++++++++++++-- gtk/theme/Adwaita/gtk-contained.css | 241 +++++++++++++++++++++++++++++-- 3 files changed, 513 insertions(+), 41 deletions(-) commit 37c943c8cdaf1d95c6805b8144551ef69c3855e6 Author: Lapo Calamandrei Date: Thu Dec 3 16:18:12 2015 +0100 Adwaita: added back scale marks style gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 52ba39ba73d55974b5a9f3eddc6bb90f0adc6ba0 Author: Benjamin Otte Date: Thu Dec 3 14:40:32 2015 +0100 tests: Rework some foreigndrawing code Instead of specifying the full path everytime, just specify the parent style context and then use its path. tests/foreigndrawing.c | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) commit ec5baa144d30b0affc0917cae022e02a42b82830 Author: Matthias Clasen Date: Thu Dec 3 08:37:58 2015 -0500 Update gtk_drag_highlight() docs What they said was no longer true. gtk/gtkdnd.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 36d5d29af6e866f1a6dd43ef9b6e50381ca48a10 Author: Matthias Clasen Date: Thu Dec 3 07:55:57 2015 -0500 Simplify foreign drawing example a bit tests/foreigndrawing.c | 30 +++++++++--------------------- 1 file changed, 9 insertions(+), 21 deletions(-) commit 234c4974745e00e1049e34e4bcad77c0bfa3e5a9 Author: Lapo Calamandrei Date: Thu Dec 3 12:18:17 2015 +0100 Adwaita: scale fill style gtk/theme/Adwaita/_common.scss | 161 ++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 101 ++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 101 ++++++++++--------- 3 files changed, 208 insertions(+), 155 deletions(-) commit 635da3490810ae4c190aa53bacfc43aa8bf004c7 Author: Sebastien Bacher Date: Wed Dec 2 13:46:24 2015 +0100 GtkAppChooserWidget: wrap the label, use a standard icon Let the label wrap if needed, that's required in some locales, use an icon which is available in the theme https://bugzilla.gnome.org/show_bug.cgi?id=758908 gtk/ui/gtkappchooserwidget.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 081bdb07c3e1a6ba349f6e97e22794828a4622a0 Author: Lapo Calamandrei Date: Thu Dec 3 11:43:53 2015 +0100 Adwaita: rename scale sass templates to be more specific gtk/theme/Adwaita/_common.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit b7a980d5d8469a932e9a63460768a46b2fe0a3f3 Author: Lapo Calamandrei Date: Thu Dec 3 11:38:50 2015 +0100 Adwaita: added back style for scales on selected list rows gtk/theme/Adwaita/_common.scss | 15 ++++++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) commit a291003ad4aeb92e475bbc1a52e259ca3c6b3c0d Author: Lapo Calamandrei Date: Wed Dec 2 21:03:03 2015 +0100 Adwaita: first stab at GtkScale and GtkProgressBar rewrite ...scale has marks stuff missing, coming soon. gtk/theme/Adwaita/_colors.scss | 1 + gtk/theme/Adwaita/_common.scss | 384 +++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 556 ++++++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 552 ++++++++---------------------- 4 files changed, 401 insertions(+), 1092 deletions(-) commit 3ed71cf4a78c8e5410be2b6d8545d2562e3b2e0e Author: Benjamin Otte Date: Thu Dec 3 10:36:14 2015 +0100 window: Deprecate gtk_window_resize_to_geometry() And make it not do anything anymore. Fixes erratic resizes of gnome-terminal. https://bugzilla.gnome.org/show_bug.cgi?id=757282 gtk/gtkwindow.c | 24 +++--------------------- gtk/gtkwindow.h | 2 +- 2 files changed, 4 insertions(+), 22 deletions(-) commit de41389352271c18233601d3fa22de21e31024be Author: Olivier Fourdan Date: Wed Dec 2 11:15:39 2015 +0100 gtkwindow: Document further resize with csd Applying the client-side decorations in the configure routine greatly increases the chances of having the right size for the GtkHEaderBar and border shadows. Yet, it may be possible that these sizes change at a later point in time, if for example the GtkHeaderBar grows in height while adding new controls. Mention this possible pitfall in the documentation for gtk_window_resize(). https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 058dfb07233e54a2372404b91fbc0b792f6483e2 Author: Matthias Clasen Date: Wed Dec 2 23:50:03 2015 -0500 entry: Use regular drag highlight The entry code passes GTK_DEST_DEFAULT_HIGHLIGHT when setting up the drop target, but that is ineffective because of the custom drag_motion implementation. Instead, call gtk_drag_[un]hightlight ourselves. gtk/gtkentry.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 0b9136842d92456a921d5d2c4d69c07fa60e0ee8 Author: Matthias Clasen Date: Wed Dec 2 23:49:07 2015 -0500 Use :dnd pseudoclass for drag highlighting Instead of a ::draw handler with a hardcoded outline, use CSS for drawing the highlight. gtk/gtkdnd.c | 58 +++----------------------------- gtk/theme/Adwaita/_common.scss | 4 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++ gtk/theme/Adwaita/gtk-contained.css | 4 +++ 4 files changed, 16 insertions(+), 54 deletions(-) commit cbde3ee01f5dd25cba8107a237ac7c56411543a1 Author: Matthias Clasen Date: Wed Dec 2 23:23:36 2015 -0500 css: Add a :dnd pseudoclass This will be used for drag highlighting. gtk/gtkcssselector.c | 6 ++++-- gtk/gtkenums.h | 4 +++- gtk/gtkwidgetprivate.h | 2 +- testsuite/css/parser/pseudo-classes-known.css | 4 ++++ testsuite/css/parser/pseudo-classes-known.ref.css | 4 ++++ 5 files changed, 16 insertions(+), 4 deletions(-) commit 574246a3d8a687a14a9104ce93528aa2a7665c90 Author: Matthias Clasen Date: Wed Dec 2 23:10:56 2015 -0500 Add a selected text example tests/foreigndrawing.c | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 16eed47e87559cd7e4194a110d0af2762010d5e7 Author: Matthias Clasen Date: Wed Dec 2 21:32:45 2015 -0500 Make foreign drawing example work Set up multiple style contexts to get inheritance right. tests/foreigndrawing.c | 86 +++++++++++++++++++++++++++++++------------------- 1 file changed, 53 insertions(+), 33 deletions(-) commit 09c74f958dd62cb3727ff152d1f77510f6eb5574 Author: Matthias Clasen Date: Wed Dec 2 18:59:59 2015 -0500 Add another hand-drawn scrollbar This one is supposed to show up in active state, but doesn't. tests/foreigndrawing.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit b5bcc299adc1f32e6d1d4f332204399de89823f7 Author: Matthias Clasen Date: Wed Dec 2 18:46:54 2015 -0500 Add an example of foreign drawing This uses the gtk_render apis with a style context constructed from a style path. tests/Makefile.am | 4 ++ tests/foreigndrawing.c | 121 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+) commit 7fa37e4bf886745e8e7b07b6653513ac4c5172d3 Author: Benjamin Otte Date: Thu Dec 3 00:33:51 2015 +0100 css: Introduct -gtk-icon-palette This borrows heavily from the CSS4 fonts draft's font-palette, currently found at https://drafts.csswg.org/css-fonts-4/#font-palette-control The palette is mainly meant to trigger invalidations when colors used for symbolic icons change, to potentially allow extending supported colors in symbolic icons and to recolor all colors of a symbolic icon, not just the main one. The syntax for the property goes like this: Name: -gtk-icon-palette Value: default | name [ , name ]* Initial: default Applies to: all elements with icons Inherited: yes Animatable: yes, each color animated separately The property defines a list of named colors to be used when looking up icons. If a name is not defined, the value of the current "color" property is used. Which names are relevant depends on the icons in use. Currently symbolic icons make use of the names "success", "warning" and "error". "default" is the current behavior of the GTK when coloring symbolic icons and is equal to the string success @success_color, warning @warning_color, error @error_color Animation is crudely implemented by animating colors that are in both palettes that are animated and otherwise keeping the color from the palette that defined it. Note that this can cause a sharp cut at the beginning or end of the animation when the color goes away and will therefore be replaced with the color property. You can see an example of animations at http://gfycat.com/CautiousPeacefulIaerismetalmark gtk/Makefile.am | 2 + gtk/gtkcsscolorvalue.c | 2 + gtk/gtkcsspalettevalue.c | 258 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcsspalettevalueprivate.h | 37 ++++++ gtk/gtkcssstylepropertyimpl.c | 18 +++ gtk/gtkcsstypesprivate.h | 1 + gtk/gtkicontheme.c | 96 +++++++-------- 7 files changed, 360 insertions(+), 54 deletions(-) commit 109c3aa65a66c4a0bbae546500f68f82178d6d36 Author: Daniel Mustieles Date: Wed Dec 2 21:08:41 2015 +0100 Updated Spanish translation po/es.po | 266 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 135 insertions(+), 131 deletions(-) commit 2b9d57f726439fa3ace5bfeda2d2119cc7b37517 Author: Timm Bäder Date: Wed Dec 2 20:58:58 2015 +0100 GtkRange: Return proper constants in signal handlers gtk/gtkrange.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 5a6bac7831ef925b3c13cf14c3a13255a552f67b Author: Timm Bäder Date: Wed Dec 2 20:43:17 2015 +0100 GtkRange: Remove recalc_marks field And instead recalculate the marks on demand, i.e. whenever we were previously setting recalc_marks to TRUE. gtk/gtkrange.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) commit 414ffbb7083897b3fc8bb0917a7eec96e39f7d5c Author: Timm Bäder Date: Wed Dec 2 20:12:01 2015 +0100 GtkRange: Use G_MININT as default mouse position, not -1 Otherwise we're getting MOUSE_WIDGET as mouse position for unmapped GtkRanges. gtk/gtkrange.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 591e7f5ef8538982e227b2c2cefc536a33cafa6c Author: Timm Bäder Date: Wed Dec 2 11:19:48 2015 +0100 GtkScale: Add missing nullable annotations gtk/gtkscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8efdd94a31112b0c7f3e459f47856c0f664aac1a Author: Lapo Calamandrei Date: Wed Dec 2 17:42:42 2015 +0100 Adwaita: button.color fix border-radius: 0 for colorswatch overlay as well. gtk/theme/Adwaita/_common.scss | 5 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 11 ++++++++--- gtk/theme/Adwaita/gtk-contained.css | 11 ++++++++--- 3 files changed, 18 insertions(+), 9 deletions(-) commit a25fa9922d3296a59fa01b837ddcdb4d07ad850f Author: Lapo Calamandrei Date: Wed Dec 2 17:02:58 2015 +0100 Adwaita: vertically linked insensitive entries Brighter border in that case as well. gtk/theme/Adwaita/_common.scss | 5 + gtk/theme/Adwaita/gtk-contained-dark.css | 774 +++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 696 +++++++++++++++------------ 3 files changed, 826 insertions(+), 649 deletions(-) commit c10b6b7297f04605fe4e15e9b5af25b1b7f27132 Author: Benjamin Otte Date: Wed Dec 2 15:40:44 2015 +0100 dnd: Add gtk_image_set_from_definition() ... and use it in the DND code, thereby getting rid of the icon helper. gtk/gtkdnd.c | 58 +++++++-------------------------------------------- gtk/gtkimage.c | 27 ++++++++++++++++++++++++ gtk/gtkimageprivate.h | 4 ++++ 3 files changed, 38 insertions(+), 51 deletions(-) commit 4d31bf91dbc1933b9c6c3a0efdd2d89b3e7ccfb5 Author: Benjamin Otte Date: Wed Dec 2 15:22:23 2015 +0100 dnd: No need to reset the icon When we start a drag cancel animation, we can just keep the existing window. The reset was only necessary to convert from cursor icon to window and we removed the cursor handling. gtk/gtkdnd.c | 3 --- 1 file changed, 3 deletions(-) commit 8a7dbe5f36a196660ea452e9772b2aeacd9b6c2e Author: Benjamin Otte Date: Wed Dec 2 14:56:15 2015 +0100 image: Remove unused code I wonder how long that stuff has existed and not been used... gtk/gtkimage.c | 15 --------------- gtk/gtkimageprivate.h | 43 ------------------------------------------- 2 files changed, 58 deletions(-) commit c66a2057afb73c3743d60987a1618b0a7cdb710e Author: Benjamin Otte Date: Wed Dec 2 14:54:15 2015 +0100 image: Split out a function gtk/gtkimage.c | 34 +++++++++++++++++++++------------- 1 file changed, 21 insertions(+), 13 deletions(-) commit cbbaad4135dcf002437b8f549737af4ba570313f Author: Krzesimir Nowak Date: Wed Dec 2 12:29:58 2015 +0100 imagedefinition: Assert when trying to free empty definition Empty definitions are not allocated on a heap, so doing a g_free() on it would crash anyway. gtk/gtkimagedefinition.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f6ce2cd9757bac035727c787740bf56b1bb55001 Author: Krzesimir Nowak Date: Tue Nov 17 10:00:23 2015 +0100 cssprovider: Pass NULL unconditionally We know that parent is NULL at this point. Also, fix indentation. gtk/gtkcssprovider.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e933233479d8fcecd9edfb3d7473f32a2ab21c2c Author: Olivier Fourdan Date: Wed Nov 25 15:30:52 2015 +0100 gtkwindow: apply CSD in configure size request Just like we did for the default size, that reduces the chances of having the headerbar missing or wrongly sized when computing the client side decorations controls. https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 0384f9eaf3d4d3219d7520efae6b8dd5656308d1 Author: Matthias Clasen Date: Wed Dec 2 01:07:02 2015 -0500 popover: Make position property not CONSTRUCT There is no good reason for it, and it causes problems with widget templates. gtk/gtkpopover.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 564e11cc4e7e6e024c1dcf0fafca73dea393b911 Author: Matthias Clasen Date: Wed Dec 2 01:03:35 2015 -0500 popover: Port to g_object_install_properties And use the pspecs for notification. gtk/gtkpopover.c | 107 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 54 insertions(+), 53 deletions(-) commit 93d9c77eade3de98085ea0ee4632fe61957c0b72 Author: Matthias Clasen Date: Wed Dec 2 00:51:47 2015 -0500 dnd: Drop an unused argument gtk/gtkdnd.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) commit 676862a213c60720be95af59133748a51a0091fe Author: Matthias Clasen Date: Wed Dec 2 00:48:37 2015 -0500 dnd: Some simplifications We can now use a GtkImage instead of toplevel with a custom draw callback and a specially prepared cairo pattern. gtk/gtkdnd.c | 55 ++++++------------------------------------------------- 1 file changed, 6 insertions(+), 49 deletions(-) commit 9fd6db87d2fe3c791162e1c16ff254cb1ca20eee Author: Matthias Clasen Date: Wed Dec 2 00:47:53 2015 -0500 Drop gdk_wayland_drag_context_get_dnd_window This backend-specific and libgtk-only API is now unused, so drop it. gdk/wayland/gdkdnd-wayland.c | 9 --------- gdk/wayland/gdkwaylandselection.h | 5 ----- 2 files changed, 14 deletions(-) commit 28b97ff0e9a26f8a90417892e19cb1b3c08b3dc7 Author: Matthias Clasen Date: Wed Dec 2 00:03:11 2015 -0500 dnd: Prevent black background in icons gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ae4f6da550b39a8374de2880ae8ce729e4a5cfec Author: Matthias Clasen Date: Tue Dec 1 22:52:28 2015 -0500 DND: Drop support for using rgba cursors as icons This adds a lot of complication to the code, and is not really a big win, since still need to support icon windows anyway. gtk/gtkdnd.c | 253 ++++++++++------------------------------------------------- 1 file changed, 40 insertions(+), 213 deletions(-) commit 5bb12474d975ee4b790c56e907e4e627120955a0 Author: Matthias Clasen Date: Tue Dec 1 10:34:26 2015 -0500 dnd: Fix issues with drag icons under Wayland The Wayland dnd surface must remain in place until the drag is over. Setting it directly as the hardcoded window of the widget we construct carries the danger that it might get destroyed prematurely, e.g. when the application calls gtk_drag_set_icon_name more than once and we recreate the widget. Instead, create a dedicated toplevel, and reparent the widget into it. To keep the code simple, we use the same approach under X11 as well, and make it the responsibility of the GDK dnd code to keep the window position updated. We already pass the current pointer position to gdk_drag_motion, which makes this very easy. As a side-effect of these changes, it is now possible to use non-toplevel widgets as drag icons. https://bugzilla.gnome.org/show_bug.cgi?id=748763 gtk/gtkdnd.c | 125 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 69 insertions(+), 56 deletions(-) commit fff8297a50e23481d2df72d123f2a84e34a866be Author: Matthias Clasen Date: Tue Dec 1 23:33:53 2015 -0500 Add gdk_drag_context_get_drag_window This makes gdk_wayland_drag_context_get_dnd_window backend-independent API and adds an implementation for X11. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkdnd.c | 26 +++++++++++++++++++++++++ gdk/gdkdnd.h | 3 +++ gdk/gdkdndprivate.h | 2 ++ gdk/wayland/gdkdnd-wayland.c | 7 +++++++ gdk/x11/gdkdnd-x11.c | 37 ++++++++++++++++++++++++++++++++++++ 6 files changed, 76 insertions(+) commit d46b67dc79485accfc1e06403ec38458a7d2836d Author: Benjamin Otte Date: Wed Dec 2 05:04:41 2015 +0100 widget: Don't update pango context in state_flags_changed It only needs to be updated in style_updated, and we do it there. gtk/gtkwidget.c | 1 - 1 file changed, 1 deletion(-) commit 3513e5e87b4cd4bd7136881d499bfb91b869cf84 Author: Benjamin Otte Date: Wed Dec 2 04:36:31 2015 +0100 Chain up in state_flags_changed When introducing handlers for state_flags_changed in the node transitions, chaining up was forgotten. gtk/gtkcolorswatch.c | 2 ++ gtk/gtkfilesystem.c | 24 ------------------------ gtk/gtkfilesystem.h | 7 ------- gtk/gtklevelbar.c | 2 ++ gtk/gtkmodelbutton.c | 2 ++ gtk/gtkrange.c | 2 ++ gtk/gtkspinbutton.c | 2 ++ gtk/gtkwindow.c | 2 ++ 8 files changed, 12 insertions(+), 31 deletions(-) commit da6beb994ec25aaa79aae9b43d10b32035c412f1 Author: Benjamin Otte Date: Wed Dec 2 03:54:41 2015 +0100 css: Add ability to specify icontheme in CSS -gtk-icontheme: "oxygen" works now. This is a very crude implementation. It's meant for testing only. gtk/gtkcssiconthemevalue.c | 61 +++++++++++++++++++++++++++++---------- gtk/gtkcssiconthemevalueprivate.h | 6 ++-- gtk/gtkcssstylepropertyimpl.c | 12 ++++---- 3 files changed, 55 insertions(+), 24 deletions(-) commit e1d74f7c71122fe0637cbe1e97d96adbb8602033 Author: Benjamin Otte Date: Wed Dec 2 03:28:36 2015 +0100 window: Listen to icon theme changes on CSS No need to connect a signal handler to the icon theme, we get notified via CSS. gtk/gtkwindow.c | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) commit bc1b53a34c8666404bb2220a8c89ff81d10a3026 Author: Benjamin Otte Date: Wed Dec 2 03:18:26 2015 +0100 css: Query icon theme from style, not from settings No need to look at the settings when the CSS has a property for the icon theme. gtk/deprecated/gtkiconfactory.c | 6 +++--- gtk/deprecated/gtknumerableicon.c | 7 ++++--- gtk/gtkcssiconthemevalue.c | 7 +++++++ gtk/gtkcssiconthemevalueprivate.h | 4 ++++ gtk/gtkcssimageicontheme.c | 11 ++--------- gtk/gtkfilechooserbutton.c | 11 +++++------ gtk/gtkfilesystem.c | 18 ++++++++++-------- gtk/gtkiconhelper.c | 4 +++- gtk/gtkmountoperation.c | 6 +++++- gtk/gtkrecentchooserdefault.c | 9 +++++---- gtk/gtkwindow.c | 13 ++++++++++--- 11 files changed, 58 insertions(+), 38 deletions(-) commit d26a4b55558e50d86639747e4819ada671375287 Author: Benjamin Otte Date: Wed Dec 2 00:39:25 2015 +0100 spinner: Active spinners should be :checked, not :active If that sounds confusing, it's because GTK and CSS can sometimes not agree on naming. :active for CSS means that a button is currently pressed on an element. And that is clearly not the case for spinning spinners. gtk/gtkspinner.c | 4 +- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 776 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 698 ++++++++++++--------------- gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 600 ++++++++++++------------ 6 files changed, 957 insertions(+), 1125 deletions(-) commit 8355ee3053d24c5b5bf39f588ddade83cc96da7e Author: Benjamin Otte Date: Wed Dec 2 00:26:16 2015 +0100 stylecontext: Don't emit state warning for transient nodes It's fine to call set_state() on those. https://bugzilla.gnome.org/show_bug.cgi?id=758930 gtk/gtkstylecontext.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 2396265523dfc65062cec89b7d971605ccb766ea Author: Benjamin Otte Date: Tue Dec 1 22:29:24 2015 +0100 css: Rename -gtk-image-effect to -gtk-icon-effect This is a property for icons, so we should name it as such. gtk/deprecated/gtkiconfactory.c | 20 ++++++++++---------- gtk/gtkcssenumvalue.c | 18 +++++++++--------- gtk/gtkcssenumvalueprivate.h | 6 +++--- gtk/gtkcssstylepropertyimpl.c | 6 +++--- gtk/gtkcsstypesprivate.h | 8 ++++---- gtk/gtkrender.c | 10 +++++----- gtk/theme/Adwaita/_common.scss | 10 +++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 10 +++++----- gtk/theme/Adwaita/gtk-contained.css | 10 +++++----- gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 4 ++-- testsuite/reftests/gtk-image-effect-inherit.css | 6 +++--- 12 files changed, 56 insertions(+), 56 deletions(-) commit 7f93858cccbd33f1bae98f107d9665a91e0ec58d Author: Benjamin Otte Date: Tue Dec 1 20:12:45 2015 +0100 Stop using gtk_icon_size_lookup_for_settings() Use the equivalent gtk_icon_size_lookup() instead. gtk/deprecated/gtkiconfactory.c | 4 +--- gtk/gtkdnd-quartz.c | 10 ++-------- 2 files changed, 3 insertions(+), 11 deletions(-) commit 0c027937e8a994b66d32229470cc0eabd93c7a2c Author: Benjamin Otte Date: Tue Dec 1 19:51:44 2015 +0100 iconhelper: Stop tracking state The iconfactory code doesn't use it anymore, so we don't need to track it either. gtk/gtkiconhelper.c | 6 ------ 1 file changed, 6 deletions(-) commit 6d65b7d7723607592b9ab509fa5c21c3e775cf4c Author: Benjamin Otte Date: Tue Dec 1 19:41:46 2015 +0100 iconfactory: Make state depend on image-effect This removes the dependency on state, which should be used for selection CSS styles, not for actually applying them. And image-effect does exactly what we want already, so we can start using it. gtk/deprecated/gtkiconfactory.c | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) commit 6a4b91d0ed97ac781cf522d3e8e32da0305a2c08 Author: Benjamin Otte Date: Tue Dec 1 18:32:00 2015 +0100 iconhelper: Remove _gtk_icon_helper_ensure_pixbuf() The code isn't used anymore. Everything uses gtk_icon_helper_load_surface() now. gtk/gtkiconhelper.c | 240 --------------------------------------------- gtk/gtkiconhelperprivate.h | 2 - 2 files changed, 242 deletions(-) commit b411c318321fd4de556926119cbc6e3ba14f073a Author: Benjamin Otte Date: Tue Dec 1 18:31:38 2015 +0100 statusicon: Use gtk_icon_helper_load_surface() This is in preparation for the next commit. gtk/deprecated/gtkstatusicon.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7a154d9acd7a4b496c12a925ddea1d24b8efffd9 Author: Benjamin Otte Date: Tue Dec 1 17:42:09 2015 +0100 dnd: Add gtk_drag_set_icon_definition() ... and use it for entry icons. As a side effect, icons dragged from entries will now resize to DND size. gtk/gtkdnd-quartz.c | 37 +++++++++++++++++++++++++++++++++++++ gtk/gtkdnd.c | 12 ++++++++++++ gtk/gtkdndprivate.h | 4 ++++ gtk/gtkentry.c | 12 ++++-------- 4 files changed, 57 insertions(+), 8 deletions(-) commit 4a42aa5229e0ba80cf4673c67575ef57d60ae6c5 Author: Benjamin Otte Date: Tue Dec 1 04:44:29 2015 +0100 imagedefinition: Remove icon-size The size of icons is a property that is relevant to who is rendering the icon, not to the icon itself. Example: Starting a DND operation from an entry icon should cause the icon to resize (from the entr icon's size to the DND icon size). gtk/gtkdnd.c | 9 +++++---- gtk/gtkdragsource.c | 6 +++--- gtk/gtkiconhelper.c | 18 ++++++++--------- gtk/gtkimagedefinition.c | 43 ++++------------------------------------- gtk/gtkimagedefinitionprivate.h | 13 ++++--------- 5 files changed, 24 insertions(+), 65 deletions(-) commit e99eba4415d138f8eadcb9858b3196e6e5aecc75 Author: Benjamin Otte Date: Tue Dec 1 02:25:17 2015 +0100 dnd: Rewrite iconhelper code It now uses GtkImageDefinition instead. gtk/gtkdnd.c | 84 ++++++++++++++++++++++++---------------------- gtk/gtkiconhelper.c | 6 ++++ gtk/gtkiconhelperprivate.h | 1 + 3 files changed, 50 insertions(+), 41 deletions(-) commit 85423ea278c3aaa7340c517213b4a70f3b96077e Author: Benjamin Otte Date: Mon Nov 30 01:49:49 2015 +0100 entry: Use gtk_icon_helper_load_surface() This is the first step towards getting rid of pixbuf loading code in the icon helper. gtk/gtkentry.c | 50 ++++++++++++++++++++++++-------------------------- 1 file changed, 24 insertions(+), 26 deletions(-) commit 482d71d680d1ba07524867c82f2b1c0fdd460dbf Author: Benjamin Otte Date: Mon Nov 30 01:33:14 2015 +0100 iconhelper: Add a scale argument to gtk_icon_helper_load_surface() It will be used in the next patch. gtk/gtkdnd.c | 9 +++++++-- gtk/gtkiconhelper.c | 33 ++++++++++++++++++++------------- gtk/gtkiconhelperprivate.h | 3 ++- 3 files changed, 29 insertions(+), 16 deletions(-) commit afad393b15631b18f76708599deb2ea0f097620c Author: Benjamin Otte Date: Mon Nov 30 00:55:43 2015 +0100 iconhelper: Refactor ensure_surface() Make gtk_icon_helper_ensure_surface() a private function that just ensures the surface was loaded. Add gtk_icon_helper_load_surface() that is called by the above function and the dnd code to actually load the surface. gtk/gtkdnd.c | 6 +++--- gtk/gtkiconhelper.c | 38 +++++++++++++++++++++----------------- gtk/gtkiconhelperprivate.h | 4 ++-- 3 files changed, 26 insertions(+), 22 deletions(-) commit 2ce67f00983a5205adec2d4b637c3968f7a5989c Author: Benjamin Otte Date: Mon Nov 30 00:45:58 2015 +0100 iconhelper: Store surface in ensure_surface() Do not assign it in the functions that actually load the surface. Make those just return the surface. gtk/gtkiconhelper.c | 65 ++++++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 33 deletions(-) commit b2584eb8edcef4ff23fe1e0c2cb3613412b36ba0 Author: Benjamin Otte Date: Sun Nov 29 20:21:25 2015 +0100 iconhelper: Don't store surface size Instead, compute it on demand. This avoids having to cache it in lots of places and simplifies code. gtk/gtkiconhelper.c | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) commit 751a1a9926561a8284789b7fb46bb0d3c1e20913 Author: Benjamin Otte Date: Sun Nov 29 19:45:52 2015 +0100 iconhelper: Move invalidation check Just do the invalidation check once, there's no need to do it in every branch of the switch. Also remove useless checks: These functions will not be called if we already have a rendered surface. gtk/gtkiconhelper.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) commit 3bacffd0635572005703b1f9f4df7dfd83cbcb67 Author: Benjamin Otte Date: Sun Nov 29 03:23:59 2015 +0100 dnd: Use surface for dnd icon instead of pixbuf gtk/gtkdnd.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit c601a9653aae600596f4241bab84b469dfbc2bca Author: Benjamin Otte Date: Sun Nov 29 01:36:10 2015 +0100 iconhelper: Move invalidation check Just do the invalidation check once, there's no need to do it in every branch of the switch. Also remove useless checks: These functions will not be called if we already have a rendered surface. gtk/gtkiconhelper.c | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) commit afd0e284375baa0da4a86c31fd1994a3612e1a24 Author: Benjamin Otte Date: Sat Nov 28 07:06:37 2015 +0100 iconhelper: Improve size determination for surfaces Instead of just working for image surface, this should now work for all bounded surfaces. Test included. gtk/gtkiconhelper.c | 28 ++++++------ testsuite/reftests/Makefile.am | 3 ++ testsuite/reftests/image-recording-surface.c | 52 +++++++++++++++++++++++ testsuite/reftests/image-recording-surface.ref.ui | 16 +++++++ testsuite/reftests/image-recording-surface.ui | 16 +++++++ 5 files changed, 103 insertions(+), 12 deletions(-) commit 071d2a1d69c5bad3d6d4b451a9f7568fbf2507a8 Author: Benjamin Otte Date: Fri Nov 27 18:05:36 2015 +0100 iconhelper: Move size computation We do a switch on the image type, so compute the size for a certain image type right there. gtk/gtkiconhelper.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit a81bdf1e600f9de19d9462ced07c2185d6b08194 Author: Benjamin Otte Date: Thu Nov 26 15:37:42 2015 +0100 image: queue_resize() after changing icon-size property gtk/gtkimage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1c96b703a684b7545535491f1d795056382d9738 Author: Benjamin Otte Date: Wed Nov 25 15:59:44 2015 +0100 dragsource: Store an itemdefinition, not an iconhelper The icon is never rendered, so there's no need for the extra iconhelper code. gtk/gtkdnd.c | 25 ++++++++++++------------- gtk/gtkdndprivate.h | 4 ++-- gtk/gtkdragsource.c | 22 +++++++++++++--------- gtk/gtkiconhelper.c | 11 ++++++++++- gtk/gtkiconhelperprivate.h | 4 ++++ 5 files changed, 41 insertions(+), 25 deletions(-) commit e666106a43ca57f6a7d606164ac5805594c986f4 Author: Benjamin Otte Date: Tue Nov 24 19:55:09 2015 +0100 imagedefinition: Split out from icon helper The image definition is supposed to hold the description about the image to be displayed. The icon helper actually does caching and tracks changes. gtk/Makefile.am | 2 + gtk/gtkiconhelper.c | 354 ++++++++++++++++------------------ gtk/gtkimagedefinition.c | 411 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkimagedefinitionprivate.h | 60 ++++++ 4 files changed, 636 insertions(+), 191 deletions(-) commit 67ab00e01ec06d7b05a82c3d80b235ac6c4abfd2 Author: Benjamin Otte Date: Tue Dec 1 17:25:54 2015 +0100 window: Remove suspicious branch It seems this branch is not needed anymore. It was originally added in 1999 to support gtk_widget_realize(), but all those reasons seem obsolete today. Instead just call gtk_widget_realize(). If you end up at this commit when bisecting: There is no bug that made me remove this code, it was purely meant to be cleanup / dead code removal. I seem to have introduced a new bug or bisecting wouldn't have let you here. So it seems we should just revert this commit. gtk/gtkwindow.c | 55 +------------------------------------------------------ 1 file changed, 1 insertion(+), 54 deletions(-) commit d210ed7871d55cf80fef0396f00cb135efa8b286 Author: Benjamin Otte Date: Sun Nov 29 04:49:20 2015 +0100 Revert "gdk_pixbuf_get_from_window: honor device scale" This reverts commit 657a43e54e7721fced8ef0e6808271838f14697f. The commit breaks the assumptions about the arguments in both gdk_pixbuf_get_from_window() and gdk_pixbuf_get_from_surface(). https://bugzilla.gnome.org/show_bug.cgi?id=757147 gdk/gdkpixbuf-drawable.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) commit 9a1913dfb0e5e7684a84d713559a6b3d97fc3961 Author: Benjamin Otte Date: Wed Dec 2 00:26:20 2015 +0100 wayland: Remove unused variable Poor gcc was unhappy. gdk/wayland/gdkwindow-wayland.c | 1 - 1 file changed, 1 deletion(-) commit e626038467f2d10db56e0c193e293e0108c5a255 Author: Matthias Clasen Date: Tue Dec 1 14:56:56 2015 -0500 popover: Make it possible to constrain to toplevel Under X11, popovers are always constrained to the toplevel window. Under Wayland, they aren't. This commit adds a property that allows to explicitly constrain popovers to the toplevel, giving them the same behavior under Wayland as under X11. https://bugzilla.gnome.org/show_bug.cgi?id=757474 docs/reference/gtk/gtk3-sections.txt | 3 ++ gtk/gtkenums.h | 19 +++++++++ gtk/gtkpopover.c | 79 +++++++++++++++++++++++++++++++++++- gtk/gtkpopover.h | 7 ++++ 4 files changed, 106 insertions(+), 2 deletions(-) commit 5dcf4e10b7769119651151dc8a598f3286064857 Author: Christian Hergert Date: Mon Nov 30 23:09:31 2015 -0800 filechooserbutton: add some spacing between icon and text These were a bit crammed, which doesn't match well with spacing used in various other parts of gtk. gtk/ui/gtkfilechooserbutton.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 103d369ff6ebff489a1b3d8ad99f51a604ce8225 Author: Olivier Fourdan Date: Wed Nov 25 18:06:53 2015 +0100 gtkwindow: remove headerbar after disposing parent Widgets such as gtkfilechooser may be saving their size and position on the unmap callback, if the client-side decoration header bar is removed first, the reported size will be wrong. https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f37aa415cd65738d9e333f993cbdb06f0442174c Author: Olivier Fourdan Date: Tue Dec 1 14:52:03 2015 +0100 wayland: re-configure surface even if size matches gdk-wayland backend would not re-configure a surface when its size and scale match the known size and scale. But there might be a pending xdg_surface_configure() that would revert this change so we should re-configure even if the currently known size/scale match, otherwise we may end up with a wrong size after the xdg_surface_configure() is received. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=758901 gdk/wayland/gdkwindow-wayland.c | 5 ----- 1 file changed, 5 deletions(-) commit 1a394bd5ec6ba489eed260bfbec91158e24213e3 Author: Carlos Garnacho Date: Tue Dec 1 15:11:52 2015 +0100 wayland: Invert drop_finished/button release call order If we "release" the button first, the drag will be eventually cancelled, we must first signal GDK_DROP_FINISHED, and then release the button so the success status prevails. gdk/wayland/gdkselection-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0ad927adca0b0fd471d2a6e89c9abd0b5ab4a712 Author: Carlos Garnacho Date: Tue Dec 1 13:58:21 2015 +0100 wayland: Store requested target on GdkWaylandSelection It doesn't make a lot of sense to have this stored as data offer data, rather together with the source_targets array, which is what we're poking here in the end. https://bugzilla.gnome.org/show_bug.cgi?id=758713 gdk/wayland/gdkselection-wayland.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit a28103cf51459559e4c22ae2d2843edaa94e5ba0 Author: Timm Bäder Date: Tue Dec 1 13:40:46 2015 +0100 Add some more missing nullable annotations gtk/gtkgrid.c | 2 +- gtk/gtklistbox.c | 4 ++-- gtk/gtkwindow.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 88b4955fd92c5d3e8d351adac56199b5999fc9d8 Author: Timm Bäder Date: Tue Dec 1 13:36:21 2015 +0100 GtkBox: The center widget can be NULL Propagates to GtkActionBar. gtk/gtkactionbar.c | 2 +- gtk/gtkbox.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 1551ad49089e2438e67c29c9d48bb7d104db2f1f Author: Timm Bäder Date: Tue Dec 1 13:31:08 2015 +0100 GtkWidget: Add some missing nullable annotations gtk/gtkwidget.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 150728d6b03b7eca175b9100b27a2f6633216899 Author: Matthias Clasen Date: Mon Nov 30 22:27:27 2015 -0500 inspector: Show the size request mode This is not a property, so show it in the misc page. gtk/inspector/misc-info.c | 12 ++++++++++++ gtk/inspector/misc-info.ui | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) commit d908c38ec3f552014572a831464e7d8020ef7f7d Author: Matthias Clasen Date: Mon Nov 30 20:45:57 2015 -0500 window: Use g_set_object No need to do the same thing manually. gtk/gtkwindow.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit a3ce702a5af916ffd9d3e22d54eaeb82e66f025a Author: Matthias Clasen Date: Mon Nov 30 18:41:33 2015 -0500 testentryicons: update dnd example This code was #ifdefed out since 2008. Time to try it. tests/testentryicons.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit 4005f137a0e8ed0a86319ff5674cf1e9d01ca59b Author: Matthias Clasen Date: Mon Nov 30 18:21:44 2015 -0500 testentryicons: Use an existing icon name dialog-info is not an existing icon. tests/testentryicons.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f9d0c06ef69b76174fbfe9051f6ab348eed295c Author: Carlos Garnacho Date: Mon Nov 30 18:35:10 2015 +0100 wayland: Refactor selection ownership Dissociate ownership from our maintenance of wl_data_source objects. The only place where ownership must be updated together is data_source.cancelled, for the other places GDK should take care of setting up the right ownership, even if at a different order than we'd expect here. This fixes GTK+ apps on wayland being locally confused about the current selection ownership. Because gtk_selection_add_targets() results in a wl_data_source being created, and ownership being updated right away, early callers of this will change the ownership even if the widget it's being called on didn't explicitly request the selection ownership yet. https://bugzilla.gnome.org/show_bug.cgi?id=758660 gdk/wayland/gdkselection-wayland.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) commit 1a8f3e2462829f8a186590a6ad6b7642309baa5b Author: Sébastien Wilmet Date: Thu Nov 26 13:31:19 2015 +0100 textiter: fix bug in case insensitive backward search 'win.lines' contains the same content as the GtkTextBuffer, so to find @match_start, forward_chars_with_skipping() is called with skip_decomp=FALSE (the last parameter). So far so good. On the other hand, the content 'lines' (the needle split in lines) is casefolded and normalized for a case insensitive search. So, forward_chars_with_skipping(..., skip_decomp=TRUE) must be called only for the portion of text containing the needle. Since 'start_tmp' contains the location at the start of the match, we can simply begin at that location to find the end of the match. Unit tests are added. https://bugzilla.gnome.org/show_bug.cgi?id=758698 gtk/gtktextiter.c | 23 ++++++++++------------- testsuite/gtk/textiter.c | 12 ++++++++++++ 2 files changed, 22 insertions(+), 13 deletions(-) commit 0a35886b0a39a57b819d1f51adb357c13bda5bf3 Author: Florian Müllner Date: Wed Nov 25 01:05:04 2015 +0100 listbox: Use :focus-on-click policy from row instead of list Using the property from the container is inconsistent with the :selectable and :activatable properties, which are per row. gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d505a1af6823938b5ad3ac886f9ea160746706b2 Author: Timm Bäder Date: Sat Nov 28 21:00:29 2015 +0100 icon-browser: Stop using GtkMisc properties Instead of xpad/ypad of 4 for every widget, just increase the row-spacing and column-spacing by 8. https://bugzilla.gnome.org/show_bug.cgi?id=758790 demos/icon-browser/window.ui | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) commit 624cb5e01630a8731c64a036078b28b09094926a Author: Timm Bäder Date: Sat Nov 28 20:51:48 2015 +0100 icon-browser: Use proper "times" character https://bugzilla.gnome.org/show_bug.cgi?id=758790 demos/icon-browser/window.ui | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 91cafb8d088ac922bc0491cfca393f7e57a0185f Author: Timm Bäder Date: Sat Nov 28 20:48:40 2015 +0100 icon-browser: baseline-align the icon size labels https://bugzilla.gnome.org/show_bug.cgi?id=758790 demos/icon-browser/window.ui | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 373ce9f6528e095ca388ee374690492266b87222 Author: Matthias Clasen Date: Mon Nov 30 10:35:04 2015 -0500 stack: Update windows before allocating children Doing things the other way around seems to cause problems in some cases where children want to do different things depending on the window position. https://bugzilla.gnome.org/show_bug.cgi?id=758563 gtk/gtkstack.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 11eab60f4312382b276618c59b23f360d2ad3f88 Author: Emmanuele Bassi Date: Mon Nov 30 14:09:19 2015 +0000 scalebutton: Annotate the return type Instead of just listing the return type of get_plus_button() and get_minus_button() in the documentation, we can use the (type) annotation to ensure that the introspection data reflects the actual type of the returned widget. gtk/gtkscalebutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f30b4ba22e309f3bfdde19aa5f149df9f5ac5f6d Author: Benjamin Otte Date: Thu Nov 26 11:00:17 2015 +0100 gtkwindow: fix regression with firefox dropdown menu Fix a regression introduced by: commit 6866d1c widget: Make gtk_widget_queue_allocate() not resize Where the dropdown menu in Firefox would not be relocated after the toplevel window is moved. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=758609 gtk/gtkwindow.c | 1 + 1 file changed, 1 insertion(+) commit 886686973c8c48db182878019c5bb750ed7bfd45 Author: Timm Bäder Date: Sun Nov 22 10:35:25 2015 +0100 GtkScaleButton: _get_(plus|minus)_button returns a GtkButton https://bugzilla.gnome.org/show_bug.cgi?id=539944 gtk/gtkscalebutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit af65114ea903eb2212dca00bba3dbb2c13272539 Author: Pedro Albuquerque Date: Sat Nov 28 09:27:22 2015 +0000 Updated Portuguese translation po/pt.po | 529 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 276 insertions(+), 253 deletions(-) commit ebe1985ab0cef125cdf8b3d34a4387df0f5bc6bb Author: Pedro Albuquerque Date: Sat Nov 28 09:21:52 2015 +0000 Updated Portuguese translation po-properties/pt.po | 434 +++++++++++++++++++++++++++++----------------------- 1 file changed, 239 insertions(+), 195 deletions(-) commit c938263d174126d4b0d68f5bdea983b9f99a757b Author: Piotr Drąg Date: Fri Nov 27 23:30:07 2015 +0100 Updated Polish translation po/pl.po | 598 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 299 insertions(+), 299 deletions(-) commit 8ea14162d385d7eaf1becc9701c345e6f30be89c Author: Matthias Clasen Date: Thu Nov 26 15:01:22 2015 -0500 Adwaita: No background for spinners Blue background for spinners doesn't make sense. gtk/theme/Adwaita/_common.scss | 3 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +-- gtk/theme/Adwaita/gtk-contained.css | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) commit 3701a604015f3d877734edb7faba213a8a60c626 Author: Руслан Ижбулатов Date: Sat Nov 21 04:00:33 2015 +0000 GDK W32: Add a comment for clarity This is a copy of a similar comment in another place, which explains why WS_EX_TRANSPARENT windows get a special treatment. https://bugzilla.gnome.org/show_bug.cgi?id=758484 gdk/win32/gdkwindow-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 8b7783ce21e456d05cf5285a8131b96e2c48a494 Author: Руслан Ижбулатов Date: Sat Nov 21 03:58:22 2015 +0000 GDK W32: Clarify the use of the second argument to SetWindowPos() https://bugzilla.gnome.org/show_bug.cgi?id=758484 gdk/win32/gdkwindow-win32.c | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) commit db1b24233e758200ab9bc23fdb9b64dba4876a00 Author: Руслан Ижбулатов Date: Sat Nov 21 03:48:55 2015 +0000 GDK W32: Don't use SetWindowLong() to set/unset WS_EX_TOPMOST While searching for the cause of bug 746745 it was discovered that one could not set WS_EX_TOPMOST extended window style with SetWindowLong(), but must use SetWindowPos() for that purpose. This was never a problem most likely because it is highly unlikely for windows to acquire/lose WS_EX_TOPMOST after they are created, by means other than SetWindowPos() (which GTK does use to raise/lower windows and set/remove keep_above), and because trying to set/unset WS_EX_TOPMOST with SetWindowLong() results in WS_EX_TOPMOST merely not being set/unset (that is, other styles are still set/unset within the same call and no error is signalled). https://bugzilla.gnome.org/show_bug.cgi?id=758483 gdk/win32/gdkwindow-win32.c | 46 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 38 insertions(+), 8 deletions(-) commit 1e11b556066c4e3129dc851a8664b63b50083f2e Author: Jonas Ådahl Date: Wed Nov 18 11:46:50 2015 +0800 wayland: Use xdg shell protocol from wayland-protocols Drop our own copy of the xdg shell XML file, and use the one installed by wayland-protocols. https://bugzilla.gnome.org/show_bug.cgi?id=758634 gdk/wayland/Makefile.am | 5 +- gdk/wayland/gdkdisplay-wayland.h | 2 +- gdk/wayland/protocol/xdg-shell.xml | 485 ------------------------------------- 3 files changed, 3 insertions(+), 489 deletions(-) commit 912e79dbe290d6864acaf85174da9a5b6eec30e1 Author: Jonas Ådahl Date: Wed Nov 18 11:38:28 2015 +0800 wayland: Use pointer gestures protocol from wayland-protocols Instead of having our own copy of the pointer gestures XML file, use the one installed by wayland-protocols. Since pointer gestures is an unstable protocol, it went through the unstable protocol naming convention changes, which is reflected in this commit. https://bugzilla.gnome.org/show_bug.cgi?id=758634 configure.ac | 4 +- gdk/wayland/Makefile.am | 21 +++- gdk/wayland/gdkdevice-wayland.c | 108 +++++++++---------- gdk/wayland/gdkdisplay-wayland.c | 8 +- gdk/wayland/gdkdisplay-wayland.h | 4 +- gdk/wayland/protocol/pointer-gestures.xml | 172 ------------------------------ 6 files changed, 81 insertions(+), 236 deletions(-) commit 65b1ee5dd3feacb1aa8a7418002a3d57822f360e Author: Piotr Drąg Date: Thu Nov 26 00:51:08 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 4981ca9f137c46a453d04c2b3c8bb39b0142f417 Author: Carlos Garnacho Date: Wed Nov 25 17:28:15 2015 +0100 GtkWindow: Reset gestures after triggering right click titlebar action Just like it happens for window dragging, we're likely to not see the matching button release for this event, so we must reset the controller manually here. https://bugzilla.gnome.org/show_bug.cgi?id=758661 gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 923ad2767ac722c7e4ec40d0f03ca01283a99b3b Author: Benjamin Otte Date: Wed Nov 25 15:25:55 2015 +0100 window: Don't lose position information Before calling gdk_window_move_resize(), store the full configure request, not just width and height. Fixes firefox randomly losing position of its dropdown windows. https://bugzilla.gnome.org/show_bug.cgi?id=758609 gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 415030d25f2552d3937ee3c394c50d22c5382982 Author: Benjamin Otte Date: Sun Nov 22 05:26:08 2015 +0100 dnd: Split GtkDragSourceSite into its own file gtk/Makefile.am | 2 + gtk/deprecated/gtkcolorsel.c | 1 + gtk/gtk.h | 1 + gtk/gtkcolorbutton.c | 1 + gtk/gtkdnd-quartz.c | 389 +----------------------------------- gtk/gtkdnd.c | 422 +-------------------------------------- gtk/gtkdnd.h | 35 ---- gtk/gtkdndprivate.h | 17 +- gtk/gtkdragsource.c | 449 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkdragsource.h | 78 ++++++++ gtk/gtkfilechooserwidget.c | 3 +- gtk/gtkpathbar.c | 1 + gtk/gtkrecentchooserdefault.c | 1 + 13 files changed, 551 insertions(+), 849 deletions(-) commit ee3397388ff689a965ed3c9c04ad390605e40232 Author: Christoph Reiter Date: Wed Nov 25 20:27:21 2015 +0100 dnd-quartz: fix missing icon helper include gtk/gtkdnd-quartz.c | 1 + 1 file changed, 1 insertion(+) commit 2bee73c1f941fe0fcd11d0f639deeab6fc03d2e1 Author: Benjamin Otte Date: Sun Nov 22 05:08:34 2015 +0100 dnd: Just pass iconhelper instead of whole DragSourceSite Simplifies the code. gtk/gtkdnd-quartz.c | 14 +++++++------- gtk/gtkdnd.c | 31 +++++++++++-------------------- 2 files changed, 18 insertions(+), 27 deletions(-) commit 175d5d580e3e8d1d39e16fadb3c5682370a9bd0d Author: Benjamin Otte Date: Sat Nov 21 20:14:24 2015 +0100 dnd: Remove unused struct members gtk/gtkdnd.c | 4 ---- 1 file changed, 4 deletions(-) commit 29cdb2001c2e81da5e90c0b242793ad37b984094 Author: Benjamin Otte Date: Sat Nov 21 17:38:48 2015 +0100 iconhelper: Don't include gtk.h gtk/gtkdnd.c | 4 ++++ gtk/gtkiconhelper.c | 2 ++ gtk/gtkiconhelperprivate.h | 5 ++--- 3 files changed, 8 insertions(+), 3 deletions(-) commit 4843925660dbb1e15256d0ee9f4170a41f34777e Author: Benjamin Otte Date: Mon Nov 23 05:00:39 2015 +0100 iconhelper: Remove unused function gtk/gtkiconhelper.c | 6 ------ gtk/gtkiconhelperprivate.h | 1 - 2 files changed, 7 deletions(-) commit 2a8e6619a7b47c50dcf17080f5d4951f8662a483 Author: Benjamin Otte Date: Sun Nov 22 19:42:33 2015 +0100 iconhelper: Remove unused context argument Various functions don't use the style context. gtk/gtkiconhelper.c | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) commit de7e27bc9718ab45211662c73561413fbf92ae56 Author: Carlos Garnacho Date: Tue Nov 24 20:57:03 2015 +0100 wayland: remove embarrassing g_print()s gdk/wayland/gdkdisplay-wayland.c | 4 ---- 1 file changed, 4 deletions(-) commit 5f59d7de1ec9f449edec715dc1e113c3e131c2c9 Author: Carlos Garnacho Date: Fri Jun 19 14:02:42 2015 +0200 wayland: Do not store the grab cursor separately After the grab is finished, we would expect an enter event, and GDK updating internally the cursor for that window and device. This means there is no need at all to store it separately in the backend. As a side effect, animated cursors are now also possible on grab icons. https://bugzilla.gnome.org/show_bug.cgi?id=735847 gdk/wayland/gdkdevice-wayland.c | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) commit cc2e77295ef3c1acc81ccbe45e1cf063d45b9058 Author: Carlos Garnacho Date: Tue Nov 24 17:53:41 2015 +0100 device: Fix dispose The way master devices detach from their other master counterpart is vulnerable to infinite recursion due to the way we first recurse on the other device before clearing the pointer, this may happen if that last reference to the other master device is held by the device->associated field. https://bugzilla.gnome.org/show_bug.cgi?id=732742 gdk/gdkdevice.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit d62febcf97581528398f79e8094eb26f8461b315 Author: Carlos Garnacho Date: Tue Nov 24 17:41:58 2015 +0100 wayland: Plug surface leak Other backends take care of the cairo surface destruction in GdkWindow::destroy. We must do the same here, or the cairo_surface and its corresponding wl_buffer are left dangling. https://bugzilla.gnome.org/show_bug.cgi?id=747295 gdk/wayland/gdkdisplay-wayland.c | 4 ++++ gdk/wayland/gdkwindow-wayland.c | 6 +++++- 2 files changed, 9 insertions(+), 1 deletion(-) commit 0ff879e975a59b29ce7bebb456bc8c20b3c0b076 Author: Daniel Mustieles Date: Tue Nov 24 15:20:20 2015 +0000 Updated Spanish translation po-properties/es.po | 336 ++++++++++++++++++++++++++-------------------------- 1 file changed, 165 insertions(+), 171 deletions(-) commit 3e8eacc8b7719b679b5372d77d36c0e429368762 Author: Matthias Clasen Date: Tue Nov 24 07:41:26 2015 -0500 dialog: Use an element name This will help differentiating dialogs from other windows, style-wise. gtk/gtkdialog.c | 2 ++ 1 file changed, 2 insertions(+) commit bd0f217ff47026b4af53a52d24c1ad5171dc13f3 Author: Timm Bäder Date: Tue Nov 24 11:37:00 2015 +0100 GtkPopover: Restore tails The call to gtk_style_context_get_border was accidentally removed in 2182fe7d9d6246e7acfe4e9ef0ca26c4a6893be6. gtk/gtkpopover.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit df2cb5befc99b0186ebd7252c62c2e7d87fae2d7 Author: Timm Bäder Date: Tue Nov 24 10:48:28 2015 +0100 inspector: Leave unneeded widgets out of source files gtk/inspector/visual.c | 2 -- 1 file changed, 2 deletions(-) commit 5e2aec7cbb3bf8e3d7a23f180dc53e8a8266e6a5 Author: Timm Bäder Date: Tue Nov 24 10:49:05 2015 +0100 GtkWidget: Add some missing nullable annotations gtk/gtkwidget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f154875e08bbd9c93d73887113638c72923d09fd Author: Timm Bäder Date: Tue Nov 24 09:44:08 2015 +0100 GtkStack: Add some missing nullable annotations gtk/gtkstack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8640216be7db88fdcc4aa3176c4fe4c1cba96645 Author: Matthias Clasen Date: Mon Nov 23 22:31:20 2015 -0500 Add a test for deprecated css properties testsuite/css/parser/deprecated.css | 5 +++++ testsuite/css/parser/deprecated.errors | 3 +++ testsuite/css/parser/deprecated.ref.css | 5 +++++ 3 files changed, 13 insertions(+) commit 943b2e8da78d9d059c46689ecaaabfd5909a7220 Author: Matthias Clasen Date: Mon Nov 23 15:36:34 2015 -0500 3.19.3 NEWS | 31 +++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) commit 3b0ceea08be3dfecb2bf32296c98b848feaa2948 Author: Matthias Clasen Date: Mon Nov 23 19:48:50 2015 -0500 shortcuts section: Fix destroy The container destroy implementation does not quite work here, so do our own. gtk/gtkshortcutssection.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 0ed61a048060a69be986de51b730fde8f845eadd Author: Matthias Clasen Date: Mon Nov 23 17:00:24 2015 -0500 Fix some new symbols for the docs docs/reference/gtk/gtk3-sections.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 8e12943a097326f912648a124d3b095a853bd49b Author: Matthias Clasen Date: Mon Nov 23 14:44:27 2015 -0500 Raleigh: Avoid deprecated icon-shadow gtk/theme/Raleigh/gtk-default.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3532cd5365c979dee3e756980dce438656d50586 Author: Matthias Clasen Date: Mon Nov 23 14:23:16 2015 -0500 places view: Fix up docs gtk/gtkplacesview.c | 4 ---- 1 file changed, 4 deletions(-) commit 5d8f45c7088bb22342c81baffbf51d6593f66dfe Author: Rico Tzschichholz Date: Mon Nov 23 22:24:41 2015 +0100 gtk: Fix make dist gtk/Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ebaf1324f14914d3d799687416768989041718e7 Author: Daniel Mustieles Date: Mon Nov 23 19:04:26 2015 +0100 Updated Spanish translation po-properties/es.po | 374 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 213 insertions(+), 161 deletions(-) commit 4c690ae977ed96ef411abaa9827215c8f20de5bc Author: Daniel Mustieles Date: Mon Nov 23 19:04:16 2015 +0100 Updated Spanish translation po/es.po | 235 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 128 insertions(+), 107 deletions(-) commit 728d63bfc35bddb674f8bc2cc0d3e1968b324a82 Author: Carlos Garnacho Date: Mon Nov 23 18:18:46 2015 +0100 searchenginetracker: Remove astray ");" closing a function Sad face for me. gtk/gtksearchenginetracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f6dd0438d12a2cc6a298b08fc3992bef5cb8d542 Author: Carlos Garnacho Date: Fri Nov 20 19:04:39 2015 +0100 searchenginetracker: Optimize direct/recursive folder lookups tracker:uri-is-descendant/parent has the unfortunate side effect of rendering the collation mechanisms in the database useless, so those require full table scans to be validated. Performing these as pure string comparisons will perform much better, as those allow the underlying sqlite to rely on its own collation to perform the search, which can be significantly faster with many elements in the database. https://bugzilla.gnome.org/show_bug.cgi?id=758407 gtk/gtksearchenginetracker.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit 61d6c1a523385cc1fe724cbe1cc8ad9545e6cc43 Author: Carlos Garnacho Date: Fri Nov 20 19:02:17 2015 +0100 searchenginetracker: ensure nie:url is bound This could produce strange warnings as it is currently passed to tracker:uri-is-* sparql functions, as these expect no NULLs. https://bugzilla.gnome.org/show_bug.cgi?id=758407 gtk/gtksearchenginetracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb183ae591f99b04cfb88e238e4afaf539f34c28 Author: Jakub Steiner Date: Mon Nov 23 16:13:45 2015 +0100 last last gesture stock image fixes - swipe left was missing outline conversion to allow recolorization gtk/gesture/gesture-pinch-symbolic.symbolic.png | Bin 1039 -> 1098 bytes ...ture-rotate-anticlockwise-symbolic.symbolic.png | Bin 1464 -> 1532 bytes .../gesture-rotate-clockwise-symbolic.symbolic.png | Bin 1632 -> 1691 bytes gtk/gesture/gesture-stretch-symbolic.symbolic.png | Bin 977 -> 1040 bytes .../gesture-two-finger-swipe-left-symbolic.svg | 145 +++++++++++---------- ...ure-two-finger-swipe-left-symbolic.symbolic.png | Bin 764 -> 925 bytes ...re-two-finger-swipe-right-symbolic.symbolic.png | Bin 882 -> 940 bytes 7 files changed, 75 insertions(+), 70 deletions(-) commit b6e03dbc260a26f47a9b4a5ba609c72dd8eec440 Author: Matthias Clasen Date: Mon Nov 23 10:07:44 2015 -0500 Load gesture images as symbolic icons This makes them recolor in the dark theme, which looks better. gtk/Makefile.am | 4 ++-- .../{pinch.svg => gesture-pinch-symbolic.svg} | 0 gtk/gesture/gesture-pinch-symbolic.symbolic.png | Bin 0 -> 1039 bytes ...g => gesture-rotate-anticlockwise-symbolic.svg} | 0 ...ture-rotate-anticlockwise-symbolic.symbolic.png | Bin 0 -> 1464 bytes ...e.svg => gesture-rotate-clockwise-symbolic.svg} | 0 .../gesture-rotate-clockwise-symbolic.symbolic.png | Bin 0 -> 1632 bytes .../{stretch.svg => gesture-stretch-symbolic.svg} | 0 gtk/gesture/gesture-stretch-symbolic.symbolic.png | Bin 0 -> 977 bytes ... => gesture-two-finger-swipe-left-symbolic.svg} | 0 ...ure-two-finger-swipe-left-symbolic.symbolic.png | Bin 0 -> 764 bytes ...=> gesture-two-finger-swipe-right-symbolic.svg} | 0 ...e-two-finger-swipe-right-symbolic.symbolic.png} | Bin 940 -> 882 bytes gtk/gesture/pinch.png | Bin 1098 -> 0 bytes gtk/gesture/rotate-anticlockwise.png | Bin 1532 -> 0 bytes gtk/gesture/rotate-clockwise.png | Bin 1691 -> 0 bytes gtk/gesture/stretch.png | Bin 1040 -> 0 bytes gtk/gesture/two-finger-swipe-left.png | Bin 936 -> 0 bytes gtk/gtkshortcutsshortcut.c | 23 +++++++++++++++------ 19 files changed, 19 insertions(+), 8 deletions(-) commit 454a4b7576904c2858a5b6b28cca5637a9fbe5e9 Author: Jakub Steiner Date: Mon Nov 23 15:53:02 2015 +0100 gesture stock images size fix fit all images to 64x64 gtk/gesture/two-finger-swipe-left.png | Bin 919 -> 936 bytes gtk/gesture/two-finger-swipe-left.svg | 224 ++++++++++++++++----------------- gtk/gesture/two-finger-swipe-right.png | Bin 965 -> 940 bytes gtk/gesture/two-finger-swipe-right.svg | 16 +-- 4 files changed, 120 insertions(+), 120 deletions(-) commit 24cedfd87eee425eca20f0d4236a39e8840a3a7a Author: Jakub Steiner Date: Mon Nov 23 15:45:24 2015 +0100 gesture stock images fixes - convert all objects to shapes to allow css recoloring ala symbolic icons gtk/gesture/pinch.png | Bin 1139 -> 1098 bytes gtk/gesture/pinch.svg | 106 +++++++++--------- gtk/gesture/rotate-anticlockwise.png | Bin 1620 -> 1532 bytes gtk/gesture/rotate-anticlockwise.svg | 189 ++++++++++++++++++--------------- gtk/gesture/rotate-clockwise.png | Bin 1843 -> 1691 bytes gtk/gesture/rotate-clockwise.svg | 62 +++++++---- gtk/gesture/stretch.png | Bin 1093 -> 1040 bytes gtk/gesture/stretch.svg | 111 ++++++++++--------- gtk/gesture/two-finger-swipe-left.png | Bin 930 -> 919 bytes gtk/gesture/two-finger-swipe-left.svg | 143 +++++++++++++------------ gtk/gesture/two-finger-swipe-right.png | Bin 1006 -> 965 bytes gtk/gesture/two-finger-swipe-right.svg | 147 ++++++++++++------------- 12 files changed, 405 insertions(+), 353 deletions(-) commit 25d5fd97e9be1d94c7e815983ac21b855eae091b Author: Jakub Steiner Date: Mon Nov 23 14:39:53 2015 +0100 more gesture stock images tweaks - rotation gestures more natural look gtk/gesture/rotate-anticlockwise.png | Bin 1349 -> 1620 bytes gtk/gesture/rotate-anticlockwise.svg | 160 ++++++++++++++++++++--------------- gtk/gesture/rotate-clockwise.png | Bin 1462 -> 1843 bytes gtk/gesture/rotate-clockwise.svg | 102 ++++++++++++---------- 4 files changed, 148 insertions(+), 114 deletions(-) commit 6dfcea304f6a80a66d0da942e67a5f1191898e45 Author: Matthias Clasen Date: Mon Nov 23 08:37:14 2015 -0500 gtk-demo: Stop using GtkShortcutsGesture Use the new predefined gestures, and GtkShortcutsShortcut. demos/gtk-demo/demo.gresource.xml | 4 - demos/gtk-demo/gesture-two-finger-swipe-left.svg | 173 ---------------------- demos/gtk-demo/gesture-two-finger-swipe-right.svg | 169 --------------------- demos/gtk-demo/shortcuts-builder.ui | 17 +-- demos/gtk-demo/shortcuts-gedit.ui | 17 +-- 5 files changed, 8 insertions(+), 372 deletions(-) commit 98fd5bda5843af826488240321f0d7f649d1badc Author: Matthias Clasen Date: Mon Nov 23 08:17:49 2015 -0500 Tweak the gtk-font-name setting docs Clarify that only parts of the font name are used. https://bugzilla.gnome.org/show_bug.cgi?id=758367 gtk/gtksettings.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3e649c48121c9fbb57da8216ea9d268ae4f1ae2b Author: Jakub Steiner Date: Mon Nov 23 14:06:18 2015 +0100 gesture stock images sizing - make swipe left and right less wide gtk/gesture/two-finger-swipe-left.png | Bin 937 -> 930 bytes gtk/gesture/two-finger-swipe-left.svg | 38 ++++++++++++++--------------- gtk/gesture/two-finger-swipe-right.png | Bin 975 -> 1006 bytes gtk/gesture/two-finger-swipe-right.svg | 43 ++++++++++++++++++--------------- 4 files changed, 43 insertions(+), 38 deletions(-) commit 1cd5ef528540681e0f17f588788ee04f3156c0b8 Author: Jakub Steiner Date: Mon Nov 23 13:53:12 2015 +0100 minor touchups on stock gesture images - add minimal margin for safe scaling - fixed height of 64pixels - pixel alignment issues (grid fit) gtk/gesture/pinch.png | Bin 1011 -> 1139 bytes gtk/gesture/pinch.svg | 56 ++++++++--------- gtk/gesture/rotate-anticlockwise.png | Bin 1049 -> 1349 bytes gtk/gesture/rotate-anticlockwise.svg | 72 +++++++++++----------- gtk/gesture/rotate-clockwise.png | Bin 1150 -> 1462 bytes gtk/gesture/rotate-clockwise.svg | 106 ++++++++++++++++----------------- gtk/gesture/stretch.png | Bin 1030 -> 1093 bytes gtk/gesture/stretch.svg | 62 ++++++++++--------- gtk/gesture/two-finger-swipe-left.png | Bin 685 -> 937 bytes gtk/gesture/two-finger-swipe-left.svg | 70 ++++++++++++---------- gtk/gesture/two-finger-swipe-right.png | Bin 702 -> 975 bytes gtk/gesture/two-finger-swipe-right.svg | 18 +++--- 12 files changed, 191 insertions(+), 193 deletions(-) commit 50abc8b5259b174d4c325f11d6b701431f29d449 Author: Matthias Clasen Date: Sun Nov 22 15:27:05 2015 -0500 shortcuts: Add set properties for optional things This makes it possible to switch between gesture and accelerator types and override the builtin icons and subtitles for predefined gestures. gtk/gtkshortcutsshortcut.c | 255 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 196 insertions(+), 59 deletions(-) commit 576e68faba6394952c6a064a4943a472a9032b83 Author: Matthias Clasen Date: Sun Nov 22 02:25:16 2015 -0500 gtk-demo: Show all built-in gesture images Show all the predefined gestures which have enum values in GtkShortcutType. This also demonstrates the gesture functionality of GtkShortcutsShortcut. demos/gtk-demo/shortcuts-builder.ui | 51 +++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 304c5ac226b5254e6ced7ad3f5e81b89481b694e Author: Matthias Clasen Date: Sun Nov 22 02:24:12 2015 -0500 shortcuts: Add support for standard gestures Add an enum for gestures that GtkShortcutsShortcut knows how to show an image and subtitle for. https://bugzilla.gnome.org/show_bug.cgi?id=758187 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkshortcutsshortcut.c | 93 ++++++++++++++++++++++++++++-------- gtk/gtkshortcutsshortcut.h | 36 ++++++++++++++ 3 files changed, 111 insertions(+), 19 deletions(-) commit 62620a52446399e5e1865af4d958c3f8f9c87add Author: Matthias Clasen Date: Sun Nov 22 02:23:28 2015 -0500 Add stock gesture images These will be used in the shortcuts window. gtk/Makefile.am | 13 +++ gtk/gesture/pinch.png | Bin 0 -> 1011 bytes gtk/gesture/pinch.svg | 152 +++++++++++++++++++++++++++ gtk/gesture/rotate-anticlockwise.png | Bin 0 -> 1049 bytes gtk/gesture/rotate-anticlockwise.svg | 180 ++++++++++++++++++++++++++++++++ gtk/gesture/rotate-clockwise.png | Bin 0 -> 1150 bytes gtk/gesture/rotate-clockwise.svg | 184 +++++++++++++++++++++++++++++++++ gtk/gesture/stretch.png | Bin 0 -> 1030 bytes gtk/gesture/stretch.svg | 137 ++++++++++++++++++++++++ gtk/gesture/two-finger-swipe-left.png | Bin 0 -> 685 bytes gtk/gesture/two-finger-swipe-left.svg | 165 +++++++++++++++++++++++++++++ gtk/gesture/two-finger-swipe-right.png | Bin 0 -> 702 bytes gtk/gesture/two-finger-swipe-right.svg | 169 ++++++++++++++++++++++++++++++ 13 files changed, 1000 insertions(+) commit c6dc863e904333a380abf2b3b49c0b145d3cb522 Author: Matthias Clasen Date: Sun Nov 22 01:18:54 2015 -0500 shortcuts shortcut: Take over gesture functionality It turns out that it is nicer in glade to have just a single widget that can show either a shortcut or a gesture, so make GtkShortcutsShortcut do it both. GtkShortcutsGesture is now redundant and will be removed before the next stable release. gtk/gtkshortcutsshortcut.c | 179 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 152 insertions(+), 27 deletions(-) commit b1aef18c84914f4bf94cf6c215d9e16866ce87c4 Author: Matthias Clasen Date: Sun Nov 22 14:16:12 2015 -0500 shortcuts: Fix size group handling We need to keep pointers to the size groups and apply them to shortcuts that are added later. gtk/gtkshortcutsgroup.c | 49 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 36 insertions(+), 13 deletions(-) commit a661ce4d067f70245ed56049e4ef1be306f8387b Author: Matthias Clasen Date: Fri Nov 20 22:58:06 2015 -0500 shortcuts: Complete the container implementations Various problems with the container implementations in GtkShortcutsWindow, Section and Group were showing up in glade. gtk/gtkcontainer.c | 2 + gtk/gtkshortcutsgroup.c | 33 +++++++++++++++ gtk/gtkshortcutssection.c | 103 ++++++++++++++++++++++++++++++++++++++-------- gtk/gtkshortcutswindow.c | 36 ++++++++++++---- 4 files changed, 149 insertions(+), 25 deletions(-) commit 520da80bd01c35327d54e859671d1026eec0eeaa Author: Matthias Clasen Date: Fri Nov 20 22:03:39 2015 -0500 shortcuts: Update title and section-names properly The current code in gtkshortcutswindow.c is good enough to construct a widget once from a .ui file, but fails to handle changes at runtime, as happen e.g. in glade. Fix this by listening for changes to section-name and title. gtk/gtkshortcutswindow.c | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) commit 3ee99423d7acd7ef1ab9e511f7a20079c8a11fa8 Author: Piotr Drąg Date: Sun Nov 22 20:01:39 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 2182fe7d9d6246e7acfe4e9ef0ca26c4a6893be6 Author: Timm Bäder Date: Sun Nov 22 11:43:39 2015 +0100 Don't pass widget state flags to GtkStyleContext API gtk/gtkaboutdialog.c | 8 ++++++-- gtk/gtkbindings.c | 4 +--- gtk/gtkcalendar.c | 2 +- gtk/gtkcheckbutton.c | 2 +- gtk/gtkentry.c | 27 +++++++++++++++------------ gtk/gtkfilechooserwidget.c | 7 ++++--- gtk/gtkflowbox.c | 2 +- gtk/gtkframe.c | 2 +- gtk/gtkheaderbar.c | 2 +- gtk/gtkinfobar.c | 2 +- gtk/gtkmenu.c | 12 ++++++------ gtk/gtkpaned.c | 5 +++-- gtk/gtkpopover.c | 18 ++++++++---------- gtk/gtkscrolledwindow.c | 10 +++++----- gtk/gtktextutil.c | 2 +- gtk/gtktextview.c | 2 +- gtk/gtkviewport.c | 2 +- gtk/gtkwidget.c | 2 +- 18 files changed, 58 insertions(+), 53 deletions(-) commit f407871b87288115fe839ffe13a86c789a44ba87 Author: Руслан Ижбулатов Date: Sat Nov 21 03:38:26 2015 +0000 GDK W32: Only restack windows with matching always-on-top status This prevents normal application windows (and other kinds of windows) from being moved up in Z-order to be above windows that have the always-on-top bit set. Doing so would make the previously-normal windows in question also always-on-top implicitly. Windows that are already always-on-top will be restacked on top of other always-on-top windows too. https://bugzilla.gnome.org/show_bug.cgi?id=746745 gdk/win32/gdkevents-win32.c | 49 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 46 insertions(+), 3 deletions(-) commit 6b7951b219979903f32465ec0282ca3943e2279e Author: Руслан Ижбулатов Date: Sat Nov 21 03:37:40 2015 +0000 GDK W32: Refactor restacking functions a bit gdk/win32/gdkevents-win32.c | 177 ++++++++++++++++++++++++-------------------- 1 file changed, 95 insertions(+), 82 deletions(-) commit 9ba94849e884bbb1177d60ab25c0be3998ac3daf Author: Cosimo Cecchi Date: Fri Nov 20 21:48:31 2015 -0800 GtkRenderBorder: make one function static gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b821f132d115c074537d59861fcfd99687fc8e20 Author: Cosimo Cecchi Date: Fri Nov 20 21:20:48 2015 -0800 GtkCssImage: formatting fixes gtk/gtkcssimage.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 5fb10d25c150d068bea0fdfe708e1e525bf44d3c Author: Timm Bäder Date: Sat Nov 21 21:04:02 2015 +0100 gtk-demo: Fix selection in css basics demo demos/gtk-demo/css_basics.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cdd3e05fba8992746bcd80b286137d3bfc258d7c Author: Pedro Albuquerque Date: Sat Nov 21 09:01:10 2015 +0000 Updated Portuguese translation po-properties/pt.po | 662 ++++++++++++++++++++++++++-------------------------- 1 file changed, 335 insertions(+), 327 deletions(-) commit 036ee7a68bd358be62e5ac36e8bdebe5b28b5b78 Author: Matthias Clasen Date: Fri Nov 20 20:58:42 2015 -0500 inspector: Always underline at least one char Empty underlines are hard to make out. Since we get somewhat unreliable section information from the CSS parser, we just make sure that we always underline at least one character. gtk/inspector/css-editor.c | 3 +++ 1 file changed, 3 insertions(+) commit ee1381a1f34b05812e6b226544c286847b947646 Author: Benjamin Otte Date: Sat Nov 21 02:40:05 2015 +0100 cssnodedeclaration: Only set the id on the widget path if we have one Widget paths don't like NULL. gtk/gtkcssnodedeclaration.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit adead3b49915fd0e40e31f43264acedc5696525a Author: Matthias Clasen Date: Fri Nov 20 20:34:53 2015 -0500 Update key themes to use -gtk-key-bindings The name gtk-key-bindings has been deprecated and causes warnings. gtk/gtk-keys.css.emacs | 8 ++++---- gtk/gtk-keys.css.mac | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) commit d267b8e028003134c4f7c19545b01a9fefbd2d08 Author: Matthias Clasen Date: Fri Nov 20 20:34:03 2015 -0500 Rename the gtk-key-bindings property This is not a standard CSS property, so rename it to -gtk-key-bindings. We still support the old name, with a deprecation warning. gtk/gtkbindings.c | 2 +- gtk/gtkcssstylepropertyimpl.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit ba1fb4b0a796b85c8841ac20e899676aa4d6d81c Author: Matthias Clasen Date: Fri Nov 20 20:32:42 2015 -0500 HighContrast: use -gtk-icon-shadow The name icon-shadow has been deprecated and causes warnings. gtk/theme/HighContrast/_common.scss | 16 ++--- gtk/theme/HighContrast/_drawing.scss | 8 +-- gtk/theme/HighContrast/gtk.css | 124 +++++++++++++++++------------------ 3 files changed, 74 insertions(+), 74 deletions(-) commit b1f0283630612f732e967c347ea031f901aff9ed Author: Matthias Clasen Date: Fri Nov 20 20:30:54 2015 -0500 Adwaita: use -gtk-icon-shadow The name icon-shadow has been deprecated and causes warnings. gtk/theme/Adwaita/_common.scss | 48 +-- gtk/theme/Adwaita/_drawing.scss | 30 +- gtk/theme/Adwaita/gtk-contained-dark.css | 558 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 558 +++++++++++++++---------------- 4 files changed, 597 insertions(+), 597 deletions(-) commit 5f73e8a7201158aa9a378806fe381435abc87a3b Author: Matthias Clasen Date: Fri Nov 20 20:25:33 2015 -0500 Rename the icon-shadow property This is not a standard CSS property, so rename it to -gtk-icon-shadow. We still support the old name, with a deprecation warning. gtk/gtkcssprovider.c | 4 ++-- gtk/gtkcssstylepropertyimpl.c | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) commit f3e4e8660d5f55b29015e4358d09440189f82b99 Author: Matthias Clasen Date: Fri Nov 20 20:21:33 2015 -0500 Warn if a property alias is used Emit a deprecation warning if a property is not used by its official name. gtk/gtkcssprovider.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 7c95f50ee297cd727215e41c3bdfbe25d25d5d21 Author: Matthias Clasen Date: Fri Nov 20 20:20:00 2015 -0500 Add a way to add aliases for css properties This will be used to rename some properties in a more systematic way without breaking all users of the old name. gtk/gtkstyleproperty.c | 20 ++++++++++++++++++++ gtk/gtkstylepropertyprivate.h | 3 +++ 2 files changed, 23 insertions(+) commit d2d521d4b50a18f5c2fa215dc1ced0de86eec91e Author: Matthias Clasen Date: Fri Nov 20 19:04:14 2015 -0500 Add a deprecation error for the engine css property This helps people fix up their css. gtk/gtkcssprovider.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit df55412ba2de9e58def1eac09d677369b6a0c4a2 Author: Matthias Clasen Date: Fri Nov 20 19:01:54 2015 -0500 inspector: Fix css warning tags The builder syntax for tags was invalid here (why did this not get flagged as error ?!). While we're at it, give the warning underline a nice, orange color. gtk/inspector/css-editor.ui | 3 +++ 1 file changed, 3 insertions(+) commit 4b2ea59dd1293f658964506cc540695924cb6499 Author: Benjamin Otte Date: Sat Nov 21 02:22:22 2015 +0100 stylecontext: Treat empty path like no path This way, we don't do weird stuff when an empty path is set. gtk/gtkstylecontext.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 6eb89fb6a3861a07e6f7eb8e764772c4fcce6516 Author: Benjamin Otte Date: Sat Nov 21 02:21:12 2015 +0100 stylecontext: Copy name when setting widget path Imitate what we do for the type. This way we don't lose the name on save/restore. https://bugzilla.gnome.org/show_bug.cgi?id=758442 gtk/gtkstylecontext.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 7373fd8aab32dcd03ba8cf3080c91eb43f643e68 Author: Benjamin Otte Date: Sat Nov 21 02:11:58 2015 +0100 cssnodedeclaration: Set element name and id on widget path Otherwise the widget path creation functions will fail. This affects widgets still using gtk_style_context_save(). https://bugzilla.gnome.org/show_bug.cgi?id=758442 gtk/gtkcssnodedeclaration.c | 4 ++++ 1 file changed, 4 insertions(+) commit 55061eca592037a81d0b1127326d4c68df0a3aa2 Author: Benjamin Otte Date: Sat Nov 21 02:11:52 2015 +0100 customproperty: Remove unused function gtk/gtkcsscustomproperty.c | 14 -------------- 1 file changed, 14 deletions(-) commit 0e2648e8c23a57c497c9c7b8245e3182332ae7e9 Author: Benjamin Otte Date: Sat Nov 21 00:51:22 2015 +0100 customproperty: Stop supporting the parsing of values Now that we don't use custom CSS properties anymore, let's fail as early as possible. gtk/gtkcsscustomproperty.c | 38 ++++---------------------------------- 1 file changed, 4 insertions(+), 34 deletions(-) commit ad49103b93a5182529966c0cf4ec21088bace781 Author: Matthias Clasen Date: Fri Nov 20 18:18:01 2015 -0500 inspector: Show css parsing errors The squiggly underline is useful, but seeing the error message is much better, so show it in a tooltip. gtk/inspector/css-editor.c | 77 ++++++++++++++++++++++++++++++++++++++++++--- gtk/inspector/css-editor.ui | 2 ++ 2 files changed, 75 insertions(+), 4 deletions(-) commit 68d77b1823e0caa7236c89cd72421dd884bdbc95 Author: Matthias Clasen Date: Fri Nov 20 15:30:29 2015 -0500 Expand the container_remove hack Make it possible to use gtk_container_remove on GtkShortcutsWindow. glade needs this. gtk/gtkcontainer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 159a13a065bf1c2ee490cca6c897ce47949ccf7c Author: Matthias Clasen Date: Fri Nov 20 14:59:56 2015 -0500 shortcuts window: More complete container implementation To give glade a chance to work with GtkShortcutsWindow, the container implementation needs to be a bit more complete. gtk/gtkshortcutswindow.c | 58 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 53 insertions(+), 5 deletions(-) commit d75989a52b6e19aa53de3c8d08ae47c6441882ed Author: Benjamin Otte Date: Fri Nov 20 19:37:52 2015 +0100 cssstyle: Don't store custom css properties This makes custom CSS properties no longer configurable. But it avoids crashes when loading custom themes, so that's a good thing. Testcase included. https://bugzilla.redhat.com/show_bug.cgi?id=1281234 gtk/gtkcsslookup.c | 11 ++++------- gtk/gtkcsslookupprivate.h | 2 +- gtk/gtkcssstaticstyle.c | 30 +++++++++++++++--------------- gtk/gtkcssstaticstyleprivate.h | 2 +- testsuite/gtk/stylecontext.c | 24 ++++++++++++++++++++++++ 5 files changed, 45 insertions(+), 24 deletions(-) commit 6489ec440fde74a4db3ed283b1e96f94120e45af Author: Timm Bäder Date: Fri Nov 20 19:15:27 2015 +0100 GtkSpinButton: Update node state on button release gtk/gtkspinbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 2cb0e4ac5f40086017ff379e4aaf2f7624338251 Author: Aurimas Černius Date: Fri Nov 20 21:17:47 2015 +0200 Updated Lithuanian translation po-properties/lt.po | 3325 ++++++++++++++++++++++++++------------------------- po/lt.po | 901 +++++++------- 2 files changed, 2168 insertions(+), 2058 deletions(-) commit dc65abc44c403e980b0f74815d63d979d8f663d9 Author: Jonas Ådahl Date: Fri Nov 20 16:49:12 2015 +0800 wayland: Set a null cursor surface when cursor buffer is null If the buffer of a cursor is NULL, for example if its an empty cursor, just set the cursor surface to NULL as well. Not doing this we'll use uninitialized hotspot coordinates, dimensions and scales. https://bugzilla.gnome.org/show_bug.cgi?id=758025 gdk/wayland/gdkdevice-wayland.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit cf7bb4f2aa18255d52ba97bd12a8930b3b879fc5 Author: Matthias Clasen Date: Fri Nov 20 11:40:55 2015 -0500 spin button: Fix initial button state We can't use up_panel and down_panel as differentiators for the buttons, because these window system resources don't exist before realize(). Just use a one-off enum for this purpose. https://bugzilla.gnome.org/show_bug.cgi?id=758094 gtk/gtkspinbutton.c | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit 1db5ed0aae4eda188f64e13d81ba65c199195ef6 Author: Timm Bäder Date: Fri Nov 20 16:06:10 2015 +0100 GtkLabel: Create gestures only when needed And move them into the GtkLabelSelectionInfo struct. gtk/gtklabel.c | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) commit 770feff302b8f834637374abb4b054734b2e93ac Author: Carlos Garnacho Date: Fri Nov 20 13:29:34 2015 +0100 gtkdnd: Unbreak non-wayland builds missing #ifdef... gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) commit 5018e32cbe25ec76cb47980faef654a40ee56696 Author: Matthias Clasen Date: Thu Nov 19 15:32:32 2015 -0500 3.19.2 NEWS | 3 +++ configure.ac | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 9f75c5445f1292d9d1be440d6af5b25e6c78ce3e Author: Matthias Clasen Date: Thu Nov 19 23:04:38 2015 -0500 cell renderer progress: Avoid warnings Use the right state when calling gtk_style_context_get_padding, to avoid warnings. gtk/gtkcellrendererprogress.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9202bc244e9a392783755e698c1b5c02228c6f26 Author: Matthias Clasen Date: Thu Nov 19 21:55:29 2015 -0500 Fix make check For some reason, GtkFileChooserNative is causing the defaultvalue test to fail. I couldn't track this down quickly, so skip the type for now. testsuite/gtk/defaultvalue.c | 3 +++ 1 file changed, 3 insertions(+) commit 8f3ffe4d082063fb761626cdef527c2baf62f299 Author: Matthias Clasen Date: Thu Nov 19 19:56:19 2015 -0500 Work around g_test_dbus annoyance Without iterating a mainloop for a bit, g_test_dbus_down() will give us an error. testsuite/gtk/defaultvalue.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 4aceee71c5cfd321926186b2bc0fdda3335587ef Author: Matthias Clasen Date: Thu Nov 19 18:08:30 2015 -0500 stack switcher: Notify consistently Whether to notify a property change should not depend on whether the switcher is associated with a stack or not. gtk/gtkstackswitcher.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 530aa3cced1e64d68e13c00300c46536576aa747 Author: Matthias Clasen Date: Thu Nov 19 18:05:35 2015 -0500 shortcuts: Avoid excessive property notification Notifying needlessly causes unnecessary work, and causes our testsuite to fail. gtk/gtkshortcutsshortcut.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c4f5fd111c5e6f8b9b92f029d357019430dafb6b Author: Carlos Garnacho Date: Fri Nov 20 00:07:36 2015 +0100 wayland: Ensure we have a drop-side GdkDragContext without pointer This GdkDragContext should be created even if we don't have pointer capabilities. Make it created on add_seat(), and only set the device on wl_seat.capabilities, so it can be set to either master pointer. https://bugzilla.gnome.org/show_bug.cgi?id=741066 gdk/wayland/gdkdevice-wayland.c | 11 +++++++---- gdk/wayland/gdkdnd-wayland.c | 5 +---- gdk/wayland/gdkprivate-wayland.h | 3 +-- 3 files changed, 9 insertions(+), 10 deletions(-) commit 26f9d6b1c18f020a6360ea3f971295200c426b28 Author: Carlos Garnacho Date: Thu Nov 19 20:33:03 2015 +0100 gtkdnd: Ensure we don't fold the drag icon into the cursor on wayland This is wrong by all accounts there, as we can do no tricks there to show a "drag failed" animation, which is performed by the compositor itself on wayland. gtk/gtkdnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ec65c6d1ce8a5387016851646342d2ecc6fd7bbb Author: Carlos Garnacho Date: Thu Nov 19 20:26:11 2015 +0100 wayland: Fix toplevel lookup before starting DnD We use the high-level gdk_device_get_window_at_position() to figure out the window, although this one actually tries to find out the current window under the device coordinates, which might well fall outside the window, so NULL is returned in those cases. Fix this by using the lower level _gdk_device_window_at_position() that will return the toplevel without further lookups, so is more desirable here. https://bugzilla.gnome.org/show_bug.cgi?id=758250 gdk/wayland/gdkdnd-wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e3012dc9b303ccc8b0301e7702b5cec0368da59a Author: Carlos Garnacho Date: Thu Nov 19 20:00:23 2015 +0100 gtkdnd: Use gdk_drag_begin_for_device() We've got the pointer at hand there, just pass that instead of figuring out from the client pointer. gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d221119d149b74fd2a998196f3719fb4779a3ac4 Author: Carlos Garnacho Date: Thu Nov 19 20:23:44 2015 +0100 wayland: Implement GdkDevice::window_at_position for touch This goes through its own master pointer, so look up the pointer emulating touch focus window and coordinates. gdk/wayland/gdkdevice-wayland.c | 41 +++++++++++++++++++++++++++++++++++------ 1 file changed, 35 insertions(+), 6 deletions(-) commit c405f810cdc8f1de7d60dde4f5e31ee81a88a382 Author: Carlos Garnacho Date: Thu Nov 19 20:06:07 2015 +0100 wayland: Disallow setting the cursor on the touch master pointer That "pointer" is not backed by anything in the windowing system, ignore cursor updates there. gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit a72974252f32e69d7cd5d14df40568c9457f7abd Author: Carlos Garnacho Date: Thu Nov 19 20:04:46 2015 +0100 wayland: Ensure we get the master pointer on GdkDeviceManager::get_client_pointer Now that we have multiple master pointers, this call may pick the wrong one. Instead, pick the GdkWaylandDeviceData from the first device, and pick the master pointer from there. gdk/wayland/gdkdevice-wayland.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) commit 04ecffa238fd5fbcb98eb40e7976f357ddb68305 Author: Carlos Garnacho Date: Thu Oct 8 16:41:35 2015 +0200 wayland: Separate touch pointer emulation into its own master pointer The common GDK code accounts for "pointer emulating" touch sequences to be synchronized with the pointer position by the windowing system. However on Wayland pointer and touch are completely independent, the backend attempts to implement pointer emulation, but doesn't account for the possible crossing events happening when the user switches from pointer to touch or the opposite. In order to fix this, and to ensure we don't have to interact with the master pointer (which backs the wl_pointer), separate the touch interface to have its own master pointer, and ensure crossing events are emitted on it, so the picture of an "emulated pointer" is complete above the backend. Inspired in a former patch by Jonny Lamb https://bugzilla.gnome.org/show_bug.cgi?id=750845 gdk/wayland/gdkdevice-wayland.c | 74 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 72 insertions(+), 2 deletions(-) commit bb34db6d351862e3fb03377f60b9a884f1104683 Author: Christoph Reiter Date: Wed Nov 18 21:21:57 2015 +0100 gtkheaderbar: update the window buttons on ::hierarchy-changed instead of ::realize The window button setup depends on properties of the toplevel window. Instead of updating the setup on realize, do it when the toplevel changes. This makes sure that when a GtkHeaderBar is added to a window all the widgets are present and get_preferred_height() will return the height the widget will have when finally shown. This allows the logic in gtkwindow to select the right window size so that the content size will match the requested default size. https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkheaderbar.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 308aec53c686eae69adbeaf5ca234a29cfd6eefa Author: Christoph Reiter Date: Wed Nov 18 19:17:01 2015 +0100 gtkwindow: apply CSD adjustments to the default size when used instead of when setting it Before the resulting window size would differ if the default size was set before adding a headerbar vs after. Now the saved state is again the actual requested size and it is adjusted at the time we request a window size. https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) commit 1080ffdf19fe49c803da0baa4047cce3c29815b6 Author: Olivier Fourdan Date: Wed Nov 4 11:24:36 2015 +0100 window: maximize on double click only if allowed GtkHeaderBar will not show the maximize button if the window in not of type normal or not resizeable. Use the same restriction for double-click actions as well. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=757530 gtk/gtkwindow.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 6a69c01e429a303b21f5a438466f257c2b4bc68a Author: Jonas Platte Date: Sun Nov 8 16:17:00 2015 +0000 Fix return annotations for GtkWindow Add nullable annotations for functions that may return NULL. https://bugzilla.gnome.org/show_bug.cgi?id=753520 gtk/gtkwindow.c | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) commit ce8b5b45869f24a7ddf1e3bd84d547aaffa475e4 Author: Phillip Wood Date: Mon Nov 16 12:14:05 2015 +0000 Fix character entities These are not supposed to be supported by gtk-doc¹ ¹https://bugzilla.gnome.org/show_bug.cgi?id=758137 https://bugzilla.gnome.org/show_bug.cgi?id=758175 gtk/gtkrecentmanager.h | 2 +- gtk/gtkrender.c | 2 +- gtk/gtktextview.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 9f3839066ec3bb1be49e127da1320f9b5d5bf02c Author: Carlos Soriano Date: Wed Nov 11 13:51:02 2015 +0100 gtkstack: allow templates to override all properties Currently GtkStack has some G_PARAM_CONSTRUCT properties. That means, the properties are set with its default value after the initializacion of the object. When using GtkBuilder to build objects, GtkBuilder creates them and after that sets the properties found on the xml definition. However, this is not true for templates because the template is initialized in the init() function of the actual object, and after that, the construct properties will be set. This is a problem when someone wants to use templates with GtkStack and set those properties, since they will be set on the tempalt initialization and set again to its default values afterwards. To fix this, make those properties not G_PARAM_CONSTRUCT. https://bugzilla.gnome.org/show_bug.cgi?id=758086 gtk/gtkstack.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 0434649cc14f1e860dca6ff14a2d3ce3aec68ac4 Author: Matthias Clasen Date: Thu Nov 19 14:22:27 2015 -0500 Updates NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit 12a692ea9debe86212fa90396ff987b4cc7764d3 Author: Matthias Clasen Date: Thu Nov 19 14:39:42 2015 -0500 wayland: Avoid a crash We can end up in situations where NULL gets passed to get_transient_parent(). Embrace it instead of avoiding it. https://bugzilla.gnome.org/show_bug.cgi?id=758327 gdk/wayland/gdkwindow-wayland.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 029aad7907a2381e398a601d25907c39cf9b332b Author: Matthias Clasen Date: Thu Nov 19 14:01:41 2015 -0500 Add more CSS node docs gtk/gtkcssnode.c | 5 +++++ 1 file changed, 5 insertions(+) commit 040723ec2dbdb91f246c83d0018cf0f55fa8d02d Author: Matthias Clasen Date: Thu Nov 19 13:40:57 2015 -0500 Trivial: Some doc rewording gtk/gtkcssnode.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 2b5d4455b86c13855e171a24c2810e852f52f623 Author: Matthias Clasen Date: Thu Nov 19 12:55:30 2015 -0500 Add some CSS node docs Write up some of the insights from doing the CSS node transition, so the knowledge is not lost. gtk/gtkcssnode.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit e2d9051f23343b385fec12bafa0729a4a57ba807 Author: Emmanuele Bassi Date: Thu Nov 19 12:44:17 2015 +0000 Do not use the GPL v3 blurb for LGPL v2.1 files GTK+ is licensed under the terms of the GNU LGPL v2.1+. gtk/gtkplacessidebar.h | 31 ++++++++++++++----------------- gtk/gtkplacessidebarprivate.h | 2 +- gtk/gtkplacesview.c | 8 ++++---- gtk/gtkplacesviewprivate.h | 11 +++++------ gtk/gtkplacesviewrow.c | 8 ++++---- gtk/gtkplacesviewrowprivate.h | 8 ++++---- 6 files changed, 32 insertions(+), 36 deletions(-) commit e4c565d78076105cbc43c4de63bc44faf9d62d98 Author: Emmanuele Bassi Date: Thu Nov 19 12:43:24 2015 +0000 Do not use the LGPL v3 blurb for LGPL v2.1 files GTK+ is released under the terms of the GNU LGPL v2.1+. gtk/gtksidebarrow.c | 4 ++-- gtk/gtksidebarrowprivate.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 8194bd19603f2dab96b3b3c3256349f4b577caf1 Author: Emmanuele Bassi Date: Thu Nov 19 12:41:22 2015 +0000 Fix the license version in GtkTrashMonitor There is no GNU Lesser General Public License version 2; it's either GNU Library General Public License version 2, or GNU Lesser General Public License version 2.1. gtk/gtktrashmonitor.c | 6 +++--- gtk/gtktrashmonitor.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 0d48a308ae35b919d94e82a6ae72a89a36128071 Author: Emmanuele Bassi Date: Thu Nov 19 12:33:07 2015 +0000 Fix license version for GtkFileChooserWidget private header Since it's using Lesser GPL, use version 2.1; there is no Lesser GPL v2, as it was called 'Library GPL' prior to v2.1. gtk/gtkfilechooserwidgetprivate.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit eec10b703f65a2de52c1aeecc5691fd7b6650927 Author: Emmanuele Bassi Date: Thu Nov 19 12:11:05 2015 +0000 Fix the licensing blurb of GtkBookmarksManager Copy-pasta from GPL instead of LGPL. Also, there is no GNU Lesser General Public License version 2; either it's the GNU Library General Public License version 2, or it's the GNU Lesser General Public License version 2.1. gtk/gtkbookmarksmanager.c | 6 +++--- gtk/gtkbookmarksmanager.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 1ddf2047456dfbdd4d69b287149ccbddc135c9c1 Author: Emmanuele Bassi Date: Thu Nov 19 12:06:54 2015 +0000 Fix the licensing blurb in GtkPlacesSidebar The code is released under the terms of the LGPL v2.1+, as is the rest of the GTK+ code. gtk/gtkplacessidebar.c | 35 ++++++++++++++++------------------- gtk/gtkplacessidebarprivate.h | 2 +- 2 files changed, 17 insertions(+), 20 deletions(-) commit a2d922309439db635f315308ba0f2d86797cabec Author: Matthias Clasen Date: Thu Nov 19 07:22:01 2015 -0500 Fix license header I didn't meant to make this different from any other file in GTK+ when I added it. gtk/gtkfilechooserwidgetprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 95df0fb6f5ad8fb24a0c99e593c17a20782ef307 Author: Matthias Clasen Date: Thu Nov 19 07:07:26 2015 -0500 box: Use an element name gtk/gtkbox.c | 5 +++++ 1 file changed, 5 insertions(+) commit 86764aeb1cc598de4b4ec1893740c10eef8cf9b1 Author: Matthias Clasen Date: Thu Nov 19 06:04:26 2015 -0500 toolitemgroup: Fix initial state GtkToolItemGroup starts out as non-collapsed, make the CSS node state reflect that. gtk/gtktoolitemgroup.c | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) commit 7435c8777568fa57b88c4b20fb4710a3a9fc2bda Author: Matthias Clasen Date: Wed Nov 18 10:21:15 2015 -0500 Document GDK_TOUCHPAD_GESTURE_MASK gdk/gdktypes.h | 1 + 1 file changed, 1 insertion(+) commit 0a0213bc1cfdf20e381e5de069346e16bffe6eb1 Author: Christian Hergert Date: Wed Nov 18 14:41:29 2015 -0800 entry: ensure valid GdkWindow before set_invisible_cursor() If the window has not yet been created, then we can't set the invisible cursor yet. This can happen in situations where the widget is in a revealer with type-to-search functionality. gtk/gtkentry.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit bb441f4488f49f6a60d0b45795fc65da3433cbbb Author: Cosimo Cecchi Date: Wed Nov 18 09:16:51 2015 -0800 HighContrast: remove deprecated progressbar style properties These are ignored and trigger a runtime warning. gtk/theme/HighContrast/_common.scss | 2 -- gtk/theme/HighContrast/gtk.css | 2 -- 2 files changed, 4 deletions(-) commit 727885e35db1cdfe534fbc2f59ce67e4476cc191 Author: Daniel Mustieles Date: Wed Nov 18 12:22:59 2015 +0000 Updated Spanish translation po-properties/es.po | 262 +++++++++++++++++++++++++--------------------------- 1 file changed, 125 insertions(+), 137 deletions(-) commit 370e3469c60a450f90731679440df79953aaee2a Author: Olivier Fourdan Date: Thu Nov 12 16:56:20 2015 +0100 gtkwindow: apply csd offset to set/get_default_size An application may use gtk_window_get_size() to retrieve the current window size and later reuse that size with gtk_window_set_default_size(). gtk_window_set_default_size() and gtk_window_get_default_size() should also take client side decorations offset into account. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 97 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 55 insertions(+), 42 deletions(-) commit 87b10e6f60f84ae4ed4ca7058a006330d8cca31f Author: Matthias Clasen Date: Tue Nov 17 22:48:35 2015 -0500 popover: Avoid a crash when no relative-to widget is set This was showing up in glade, which creates freestanding popovers. gtk/gtkpopover.c | 3 +++ 1 file changed, 3 insertions(+) commit f79aef67f83deb6615b96315002a61ca994ca38f Author: Matthias Clasen Date: Tue Nov 17 21:47:02 2015 -0500 HighContrast: remove deprecated style properties gtk/theme/HighContrast/_common.scss | 11 ----------- gtk/theme/HighContrast/gtk.css | 8 -------- 2 files changed, 19 deletions(-) commit 7085595c08fe38c1520e5a3e7f5d2adb7afa2b23 Author: Matthias Clasen Date: Tue Nov 17 20:48:50 2015 -0500 expander: Use the right state when querying style properties Failure to do so causes warnings. gtk/gtkexpander.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 527d6a6f34d2166368c0cae9f30c32ab18cae5f1 Author: Matthias Clasen Date: Tue Nov 17 19:55:58 2015 -0500 gtk-demo: Fix the CSS examples The CSS needs small adjustments after all the CSS node changes. demos/gtk-demo/css_accordion.css | 16 ++++++++-------- demos/gtk-demo/css_pixbufs.css | 4 ++-- demos/gtk-demo/css_shadows.css | 6 +++--- demos/gtk-demo/reset.css | 2 -- 4 files changed, 13 insertions(+), 15 deletions(-) commit 1266c6d81a6a79e7e8a16c589b3a3c9ab06a4ffe Author: Matthias Clasen Date: Tue Nov 17 19:48:02 2015 -0500 gtk-demo: Fix the assistant example GtkEntry respects valign now, so we need to set it to something other than fill. demos/gtk-demo/assistant.c | 1 + 1 file changed, 1 insertion(+) commit 49bb6d287c486c5b3b4d17a10a91531e6822a96f Author: Matthias Clasen Date: Tue Nov 17 19:41:08 2015 -0500 Adwaita: Drop deprecated style properties gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 6 deletions(-) commit 4c49c0a297d67102175fac645762682476336620 Author: Carlos Garnacho Date: Mon Nov 16 12:51:42 2015 +0100 wayland: Move additional pointer buttons after the old 4-7 scrolling ones We were using that range for the extra buttons after left/right/middle, while this is harmless for clients not handling extra buttons (we used to translate those button events into scroll events in x11 anyway) this will be unexpected for clients that do handle additional mouse buttons themselves (eg. back/forward buttons present in some mice). In order to remain compatible with X11, those need to be assigned from button 8 onwards. Also, include input.h, and stop using magic numbers here. https://bugzilla.gnome.org/show_bug.cgi?id=758072 gdk/wayland/gdkdevice-wayland.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit a51c607df7a20cc3945c3395394d8f49682e76d0 Author: Daniel Mustieles Date: Tue Nov 17 18:56:17 2015 +0100 Updated Spanish translation po-properties/es.po | 20208 +++++++++++++++++++++++++------------------------- 1 file changed, 10152 insertions(+), 10056 deletions(-) commit 9432f91847dd6ab6419f7cdada6b0ded519d13ca Author: Daniel Mustieles Date: Tue Nov 17 18:56:07 2015 +0100 Updated Spanish translation po/es.po | 1014 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 516 insertions(+), 498 deletions(-) commit 32b6b4e9809ec0cbb95e0c3ff4f5ee97e57f0495 Author: GNOME Translation Robot Date: Tue Nov 17 17:47:41 2015 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 5076 +++++++++++++++++++++++++++++---------------------- 1 file changed, 2892 insertions(+), 2184 deletions(-) commit c5b7cd97b66c2a3afc51fa9b255142e3ea42f838 Author: Carlos Garnacho Date: Tue Nov 17 15:36:08 2015 +0100 x11: Add "pointer" to the is-not-a-touchscreen device name checks Commit 1266d15c4 also broke Xwayland, as it does the same trick than VMWare pointers. Let's extend the heuristic to check for "pointer" in the device name, what can possibly go wrong... https://bugzilla.gnome.org/show_bug.cgi?id=757358 gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 0ca014af1493d255011f351ae6c40b9f9a925af3 Author: Christian Hergert Date: Mon Nov 16 21:38:22 2015 -0800 stackswitcher: add GtkStackSwitcher:icon-size property Set the GtkStackSwitcher:icon-size property to change the size of icons used in the linked GtkRadioButton children. https://bugzilla.gnome.org/show_bug.cgi?id=758208 gtk/gtkstackswitcher.c | 58 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 55 insertions(+), 3 deletions(-) commit c659292940f0fec924caf7f6a25b842593be0522 Author: Matthias Clasen Date: Mon Nov 16 18:31:37 2015 -0500 x11: Try harder to find a core pointer We currently just look for a master device with input source MOUSE. After recent changes to the way input devices are classified, xwayland on my system comes up with a virtual core pointer that has input source TOUCHSCREEN. This was causing assertion failures. Be a little more careful and accept a touchscreen as core pointer, if there is no mouse. gdk/x11/gdkdisplay-x11.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) commit e24c248013b6d669814a3890a02d5c6512b5f77a Author: Matthias Clasen Date: Mon Nov 16 15:14:41 2015 -0500 Adwaita: Remove deprecated style properties These are now triggering warnings, so clean them up. gtk/theme/Adwaita/_common.scss | 11 ----------- gtk/theme/Adwaita/gtk-contained-dark.css | 8 -------- gtk/theme/Adwaita/gtk-contained.css | 8 -------- 3 files changed, 27 deletions(-) commit 43f822e70fbdf4ffeb2354a65c801c77877e01d2 Author: Matthias Clasen Date: Mon Nov 16 15:13:33 2015 -0500 Annotate deprecated style properties Use G_PARAM_DEPRECATED with deprecated style properties. This will make it easier to identify and remove such stale properties from css, since it will now trigger warnings. gtk/gtkassistant.c | 4 ++-- gtk/gtkbutton.c | 2 +- gtk/gtkentry.c | 2 +- gtk/gtkiconview.c | 4 ++-- gtk/gtkinfobar.c | 8 ++++---- gtk/gtkmenubar.c | 4 ++-- gtk/gtkmenuitem.c | 2 +- gtk/gtkprogressbar.c | 4 ++-- gtk/gtkrange.c | 4 ++-- gtk/gtkspinbutton.c | 2 +- gtk/gtktoolbar.c | 4 ++-- gtk/gtktoolbutton.c | 2 +- 12 files changed, 21 insertions(+), 21 deletions(-) commit 08c4bc8aa555db6378311d7fb4d050e96b4ff28a Author: Matthias Clasen Date: Mon Nov 16 14:37:23 2015 -0500 css provider: Issue deprecation warnings for style properties This makes G_PARAM_DEPRECATED useful for style properties. gtk/gtkcssprovider.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 9facd0088446b1b4162c350cf6e1ee28242c8325 Author: Benjamin Otte Date: Mon Nov 16 19:34:24 2015 +0100 cssprovider: Only push a new scanner when none exists For @import, we want to emit the error as part of the @import statement, not as part of the new file. gtk/gtkcssprovider.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 0a4e88b79b9fa20ae0bd61ff68e99abeb5753da3 Author: Benjamin Otte Date: Mon Nov 16 17:36:50 2015 +0100 cssprovider: Have a section on import error When loading a nonexisting CSS file using gtk_css_provider_load_from_file() or gtk_css_provider_load_from_path() we would emit the error using a NULL scanner. Don't do that, because we'll have a NULL section in that case and error handlers don't like that. Testcase attached. https://bugzilla.redhat.com/show_bug.cgi?id=1277959 gtk/gtkcssprovider.c | 22 ++++++++++++++-------- testsuite/gtk/cssprovider.c | 13 +++++++++++++ 2 files changed, 27 insertions(+), 8 deletions(-) commit 81cb57b260b22ab2e1a0cb2b29c7c09fd3de128c Author: Carlos Soriano Date: Wed Nov 11 11:37:28 2015 +0100 gtkcontainer: clarify requirements for implementations Spent quite a few time investigating why the widgets were not shown in my GtkContainer implementation. https://bugzilla.gnome.org/show_bug.cgi?id=758087 gtk/gtkcontainer.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d0d393174b7168192d0c4eeb65e3c89563b89ff8 Author: GNOME Translation Robot Date: Mon Nov 16 15:22:01 2015 +0000 Updated Scottish Gaelic translation po/gd.po | 5065 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 2972 insertions(+), 2093 deletions(-) commit ed2c14f4aaf0377e01f0c90f7dd3bf2cb5eeb792 Author: Matthias Clasen Date: Mon Nov 16 06:18:32 2015 -0500 spinbutton: Document some style properties as deprecated No code change. gtk/gtkspinbutton.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 90f8b054b3a241021cedbcb7aebb9a24c77d6520 Author: Matthias Clasen Date: Mon Nov 16 06:17:36 2015 -0500 range: Document some style properties as deprecated Remove dead code dealing with the arrow-displacement-x/y style properties, and document them as deprecated. gtk/gtkrange.c | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) commit c6d5accf9c9dbf2163b04355f69f600017b45b7f Author: Matthias Clasen Date: Mon Nov 16 06:16:31 2015 -0500 progressbar: Ignore x/yspacing style properties These are not really useful, so ignore and deprecate them. gtk/gtkprogressbar.c | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) commit bab98a842700ef4bea7be862061ff57362dbee00 Author: Matthias Clasen Date: Mon Nov 16 06:15:48 2015 -0500 menuitem: Document some style properties as deprecated No code change. gtk/gtkmenuitem.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 3aa9293258369db6a3ad6b4c5867d99386768f98 Author: Matthias Clasen Date: Mon Nov 16 06:14:54 2015 -0500 menubar: Ignore the shadow-type style property The border can be controlled with regular CSS, so deprecate and ignore this style property. gtk/gtkmenubar.c | 69 +++++++++++++++++++++++--------------------------------- 1 file changed, 28 insertions(+), 41 deletions(-) commit af04390b29f01f977b0373c9f3b5e5bce4d76c84 Author: Matthias Clasen Date: Mon Nov 16 06:13:31 2015 -0500 icon view: Document some style properties as deprecated No code change. gtk/gtkiconview.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 46b7b0ac9f757aa27845d06f1c6a09d834d0c619 Author: Matthias Clasen Date: Mon Nov 16 06:12:24 2015 -0500 entry: Ignore the icon-prelight style property The icon prelight effect can be controlled with regular CSS, so deprecate and ignore this style property. gtk/gtkentry.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 684cd47c53c132bd724aa5cab8668710bb2b33c8 Author: Matthias Clasen Date: Mon Nov 16 06:11:42 2015 -0500 button: Document some style properties as deprecated No code change. gtk/gtkbutton.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit 8fea3ebfa0ee49979c28657038a489a75ede8cd2 Author: Matthias Clasen Date: Mon Nov 16 06:11:01 2015 -0500 button box: Document some style properties as deprecated No code change. gtk/gtkbbox.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit c1dd25d459f5848c4f1d2f843a8c928b28f8c735 Author: Matthias Clasen Date: Mon Nov 16 06:10:16 2015 -0500 assistant: Document style properties as deprecated No code change. gtk/gtkassistant.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 5cc6fb764431063dfc2da801c4fca7fbd4f1f379 Author: Matthias Clasen Date: Mon Nov 16 06:14:00 2015 -0500 Avoid an unused variable warning This was introduced with the recent win32 build fix. gtk/gtkimcontextsimple.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 8a66e685a69891de9d01e75cf1024beb71cc5701 Author: Cosimo Cecchi Date: Sun Nov 15 14:11:48 2015 -0800 stack switcher: fix typos in documentation comment gtk/gtkstackswitcher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d8aedfebfdd66a556dcfafc1b7298fb84e4431cc Author: Kjartan Maraas Date: Sun Nov 15 19:43:28 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 496 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 251 insertions(+), 245 deletions(-) commit 3811eb4f32bbb719d15954f4a4c422e34001a91b Author: Matthias Clasen Date: Sun Nov 15 01:00:20 2015 -0500 label: Use css nodes for links Use a subnode with name link for links in labels. These subnodes carry the :link or :visited state. gtk/gtklabel.c | 104 +++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 75 insertions(+), 29 deletions(-) commit b32c7c3282cdef795159b0079bb5ebd72d2affbd Author: Carlos Garnacho Date: Fri Nov 13 17:14:34 2015 +0100 x11: Do not misdetect mice with abs axes as touchscreens VMWare seems to create mouse devices with abs axes which confuses our detection of single-touch touchscreens. Those have though a name we can match on ("VirtualPS/2 VMware VMMouse"), it should be pretty safe to assume that no real touchscreens have "mouse" in their name... https://bugzilla.gnome.org/show_bug.cgi?id=757358 gdk/x11/gdkdevicemanager-xi2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bc6d2d65fb5026d12adf88c6b111ef13095a0cc7 Author: Rui Matos Date: Tue Nov 3 18:39:27 2015 +0100 wayland: Translate virtual modifiers too Wayland allows us to receive virtual modifiers too so we can just use them directly if the compositor does send them. https://bugzilla.gnome.org/show_bug.cgi?id=748904 gdk/wayland/gdkkeys-wayland.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit a24de82cedd0ef0f7d0c4136b2f952a3b2d6d4e8 Author: Matthias Clasen Date: Sat Nov 14 23:18:17 2015 -0500 spinbutton: update node state more often We need to update the entry_node state, and we should update the node state initially. gtk/gtkspinbutton.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 9b041ae93060f22985ba2c100a1b97e50e615f48 Author: Matthias Clasen Date: Sat Nov 14 22:34:19 2015 -0500 shortcuts: Support direction-specific shortcuts The prime example for direction-dependent shortcuts is using Left or Right to go back. Support this by adding a direction property to GtkShortcutsShortcut, and filtering by the current text direction. https://bugzilla.gnome.org/show_bug.cgi?id=757888 gtk/gtkshortcutsgroup.c | 20 +++++++++++++--- gtk/gtkshortcutssection.c | 19 ++++++++++++---- gtk/gtkshortcutsshortcut.c | 57 +++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkshortcutswindow.c | 28 ++++++++++++++++++++--- 4 files changed, 113 insertions(+), 11 deletions(-) commit 705d371362c005a4ea699d0b617cdf9d8a336877 Author: Matthias Clasen Date: Sat Nov 14 21:34:43 2015 -0500 help overlay: Allow key sequences Extend the syntax to allow sequences of keys or key combinations, e.g. t+t or c+x. https://bugzilla.gnome.org/show_bug.cgi?id=758051 gtk/gtkshortcutlabel.c | 94 ++++++++++++++++++++++++++-------------------- gtk/gtkshortcutsshortcut.c | 12 +++--- 2 files changed, 60 insertions(+), 46 deletions(-) commit fe65c3ac4ce3aa403ee01622f6247874e6eb93ee Author: Matthias Clasen Date: Sat Nov 14 19:04:42 2015 -0500 Add one more selector to CSS parsing tests Add an E + F selector to the selector parsing tests. It is a CSS selector that we support. testsuite/gtk/stylecontext.c | 1 + 1 file changed, 1 insertion(+) commit 2d054fa6aed349c15eb98e94e80120c2cf1d46ae Author: Matthias Clasen Date: Sat Nov 14 19:03:57 2015 -0500 Always pass the right state in style context getters Otherwise, we are causing warnings that break make check. testsuite/gtk/firefox-stylecontext.c | 4 ++-- testsuite/gtk/stylecontext.c | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) commit dedab98bbb94d86f4713098a41eb1db281d72c47 Author: Matthias Clasen Date: Sat Nov 14 19:03:10 2015 -0500 testsuite: Skip GtkFileChooserNative for notification tests Like all the other GtkFileChooser implementations, this one emits some unneeded notifications. testsuite/gtk/notify.c | 1 + 1 file changed, 1 insertion(+) commit aa5af9da4ff00251d0767ebd2370beeb18344758 Author: Matthias Clasen Date: Sat Nov 14 18:35:03 2015 -0500 HighContrast: Fix selection styling in icon views This makes selected items in icon view show up again. gtk/theme/HighContrast/_common.scss | 13 +++++++++++++ gtk/theme/HighContrast/gtk.css | 11 +++++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) commit 55667352aa28100878c64a4a3f9e8d62604193cd Author: Matthias Clasen Date: Sat Nov 14 18:29:27 2015 -0500 HighContrast: Fix selection styling in treeviews This makes selected rows in treeviews show up again. gtk/theme/HighContrast/_common.scss | 5 ++++- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit 65635546b49c0a19adc5a8cda7f6be8ff46f7f54 Author: Matthias Clasen Date: Sat Nov 14 18:25:59 2015 -0500 HighContrast: Fix selection styling in some places Make selected flow box children and list box rows show up again. gtk/theme/HighContrast/_common.scss | 115 ++++++++++++----------- gtk/theme/HighContrast/gtk.css | 182 +++++++++++++++++++----------------- 2 files changed, 153 insertions(+), 144 deletions(-) commit 4cee658f5fff4cda0a416a900067295f3d9a83f8 Author: Matthias Clasen Date: Sat Nov 14 18:25:24 2015 -0500 Adwaita: Misc cleanups Various cleanups and simplifications. gtk/theme/Adwaita/_common.scss | 23 +++++++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 22 ++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 22 ++++++++-------------- 3 files changed, 23 insertions(+), 44 deletions(-) commit afab635f9d09b6c6c2f2a3ca9bacd1002646dc0f Author: Matthias Clasen Date: Sat Nov 14 18:05:06 2015 -0500 HighContrast: Fix shadow size Ensure that the shadow extents don't change as we go to backdrop, to prevent windows from jumping. gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 718ca64bb750093a0081b0b59c79edec6c2e89e2 Author: Matthias Clasen Date: Sat Nov 14 17:36:35 2015 -0500 Adwaita: Fix selection styling in icon views This was also broken by recent selection styling changes. gtk/theme/Adwaita/_common.scss | 13 +++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 15 +++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 15 +++++++++++---- 3 files changed, 35 insertions(+), 8 deletions(-) commit 919be04a3df4d7e198e14751024ac91b52d3e553 Author: Matthias Clasen Date: Sat Nov 14 17:33:00 2015 -0500 Adwaita: Fix selection styling in flow boxes This was broken by recent selection styling changes. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++++++---- gtk/theme/Adwaita/gtk-contained.css | 11 +++++++---- 3 files changed, 18 insertions(+), 8 deletions(-) commit d6cbe7ed2bffff42abe058564dc682fb38a23c74 Author: Timm Bäder Date: Sat Nov 14 22:56:01 2015 +0100 GtkApplicationWindow: the help_overlay is nullable gtk/gtkapplicationwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d9de02e1ca385f21f09d72c4f9b98765f4ab8810 Author: Timm Bäder Date: Sat Nov 14 22:19:58 2015 +0100 GtkApplicationWindow: Fix typos gtk/gtkapplicationwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit dc836abbb43d0acfbeeca99cca94fb8d4410b6f9 Author: Matthias Clasen Date: Sat Nov 14 12:55:34 2015 -0500 Adwaita: Fix window shadow size Ensure that the shadow extents don't change as we go to backdrop, to prevent windows from jumping. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/theme/Adwaita/gtk-contained.css | 5 ++++- 3 files changed, 12 insertions(+), 2 deletions(-) commit 93629325d52edd583e951f5921bcffe0f1c05e2e Author: Matthias Clasen Date: Sat Nov 14 10:30:47 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtkviewport.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit debb33db8c5c2271f4f1cea8548ebe13fc6015c0 Author: Matthias Clasen Date: Sat Nov 14 10:30:31 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtktreeview.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit bcc6df00e58cb8f914aebbb3c6152a84849d0e82 Author: Matthias Clasen Date: Sat Nov 14 10:30:16 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtktoolbar.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 828a66b4aa3851209b65e270380561cc0736b23c Author: Matthias Clasen Date: Sat Nov 14 10:29:58 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtktextview.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 38be852beecf77978ef4496716c4eb1295470d55 Author: Matthias Clasen Date: Sat Nov 14 10:29:39 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtktextutil.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 10a8533bd3d453bd6b9b3f5bfe03c28e4b5409fc Author: Matthias Clasen Date: Sat Nov 14 10:29:25 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtkrecentchooserdefault.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 6c5d08d75a87db78eb9565551b18d8d897792ab5 Author: Matthias Clasen Date: Sat Nov 14 10:28:54 2015 -0500 Cosmetic: Avoid explicit state variables Fold it into its single user. gtk/gtkrange.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 3007ad6f3baf3713483a71fba2154ea16d87b310 Author: Matthias Clasen Date: Sat Nov 14 10:28:25 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtkprogressbar.c | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) commit eca9549c726c55ab59ac331a8ab7f31299ec23e6 Author: Matthias Clasen Date: Sat Nov 14 10:01:11 2015 -0500 Cosmetic: Avoid explicit state variables Using the state of the context makes this more obviously correct. gtk/gtkmenuitem.c | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) commit beb28754377e960e7c9029c188cd8cf85da93ebd Author: Matthias Clasen Date: Sat Nov 14 09:56:12 2015 -0500 Cosmetic: Avoid explict state variables Using the state of the context makes this more obviously correct. gtk/gtkmenubar.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit acdb7dae4e469504aaffad1ac8bd10d4a03bf3e4 Author: Matthias Clasen Date: Sat Nov 14 09:51:37 2015 -0500 Cosmetic: Avoid an explicit state variable Using the state of the context makes it more obviously correct. gtk/gtklistbox.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit cf1adadfed61c4157c97238ca1ab2b9ca3deb6c1 Author: Matthias Clasen Date: Sat Nov 14 09:49:49 2015 -0500 listbox: Cosmetic cleanup We don't cast these arguments anywhere else, so lets not do here either. gtk/gtklistbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 55735cee2f05eca385f00c196bad05eb50c06822 Author: Benjamin Otte Date: Sat Nov 14 18:28:34 2015 +0100 window: Don't invalidate cssnode during get_preferred_width() Getting the shadow width must not call gtk_style_context_set_state() because that will invalidate the node and cause a style-updated emission which can cause gtk_widget_queue_resize() calls. And calling queue_resize() from get_preferred_size() essentially means the size is permanently invalid because you invalidate it while querying it. This causes flickering of windows when going from/to backdrop state. To avoid this we either need to fix the theme to not have different shadow sizes in those cases or we need to ensure the window doesn't flicker in the first place. gtk/gtkwindow.c | 49 +++++++++++++++++-------------------------------- 1 file changed, 17 insertions(+), 32 deletions(-) commit 38bfec8ea4df8baec60e460bb1d418a01fa2e1d6 Author: YunQiang Su Date: Sat Nov 14 21:59:24 2015 +0800 Us ... instead of … for zh_CN po/zh_CN.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3c1193f3e4457e2831b9ad3f4c97394bdb705912 Author: Pedro Albuquerque Date: Sat Nov 14 07:50:47 2015 +0000 Updated Portuguese translation po-properties/pt.po | 1434 ++++++++++++++++++++++++++------------------------- 1 file changed, 734 insertions(+), 700 deletions(-) commit 3c22784328949455c82c09a5bb93bbf77b3cc6c0 Author: Timm Bäder Date: Fri Nov 13 12:37:59 2015 +0100 GtkShortcutsShortcut: Add missing word gtk/gtkshortcutsshortcut.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 86f4346c2955e9c32e69a2267a3874168854ea82 Author: Timm Bäder Date: Fri Nov 13 12:36:03 2015 +0100 GtkGrid: Remove invalid return annotation gtk/gtkgrid.c | 2 -- 1 file changed, 2 deletions(-) commit d01ea18dc3a9acc98fc133ddb53ddc838e4e18f9 Author: Chun-wei Fan Date: Thu Nov 12 20:20:36 2015 +0800 gtkimcontextsimple.c: Use X11_DATA_PREFIX only on X11/Wayland Only use the hard-coded build-time path given by X11_PREFIX on X11 and Wayland where a X11 package is normally available. On other platforms, get the datadir of the running system and mimic the behavior by constructing the path dynamically. This avoids hardcoding the path for searching for compose tables where we want to have relocatability. This fixes the build on Windows/MSVC as well, where we don't normally have any X11 packages available. https://bugzilla.gnome.org/show_bug.cgi?id=757984 gtk/gtkimcontextsimple.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit 1190a61c276a122e9ebc300420b13037c1da4bac Author: Matthias Clasen Date: Fri Nov 13 07:11:23 2015 -0500 check menu item: Fix a typo It is check, not checl. Pointed out by Giovanni Campagna in https://bugzilla.gnome.org/show_bug.cgi?id=757968 gtk/gtkcheckmenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 386b9ef075e42b95797a61e9912615a0e02f5b35 Author: Matthias Clasen Date: Fri Nov 13 07:07:19 2015 -0500 Adwaita: Fix styling of selected rows in treeviews This broke in some of the recent selection handling changes. gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 12 insertions(+), 9 deletions(-) commit c619c862503ccf54c9afbdb0708a3376ce1728fb Author: Paolo Borelli Date: Wed Nov 11 14:43:55 2015 +0100 filechooser: ignore double clicks on the selected item Since we are now interpreting button press events and make our own double-click determination, we should not handle double-click events that are generated by GDK. https://bugzilla.gnome.org/show_bug.cgi?id=757950 gtk/gtkfilechooserwidget.c | 1 + 1 file changed, 1 insertion(+) commit d74a08b80f54e018bc3141849e3d0fbbf6f583b0 Author: Ignacio Casal Quinteiro Date: Fri Nov 13 12:58:45 2015 +0100 win32: do not use g_clear_pointer also on the clipboard window A follow up on the previous patch. We should use DestroyWindow directly since it has a different calling convention than the expected callback for g_clear_pointer gdk/win32/gdkdisplay-win32.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 2ad243d43db6e72ed64e24af8d350c00ea630a51 Author: Ignacio Casal Quinteiro Date: Fri Nov 13 12:54:54 2015 +0100 win32: do not use g_clear_pointer to destroy the window DestroyWindow expects a different calling convenction so we endup getting an error at runtime gdk/win32/gdkdisplay-win32.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit e0aa35ca58a824d853717bab3243f64bac54144c Author: Matthias Clasen Date: Fri Nov 13 06:40:28 2015 -0500 Update testlevelbar This test needs some small updates after the recent changes to levelbar styling. tests/testlevelbar.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 4faef48410de3b2764cbefa2690f6b96fcb257a5 Author: Matthias Clasen Date: Fri Nov 13 06:39:57 2015 -0500 notebook: Chain up in direction_changed We do this everywhere else. gtk/gtknotebook.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 989f607e4a095a8e7afc8ad2a8fcf0b14b34704b Author: Yosef Or Boczko Date: Fri Nov 13 11:51:07 2015 +0200 Updated Hebrew translation po-properties/he.po | 2445 ++++++++++++++++++++++++++------------------------- 1 file changed, 1240 insertions(+), 1205 deletions(-) commit a0cdd4ac514ceaf5a28c8fc603ddf43a7b70dc5c Author: Matthias Clasen Date: Fri Nov 13 01:05:30 2015 -0500 HighContrast: Update levelbar styling Adapt to changes in the previous commit. gtk/theme/HighContrast/_common.scss | 18 +++++++++--------- gtk/theme/HighContrast/gtk.css | 22 +++++++++++----------- 2 files changed, 20 insertions(+), 20 deletions(-) commit d5ab5fee3b5403809051ba48ff7ea3892f6c3570 Author: Matthias Clasen Date: Fri Nov 13 00:56:54 2015 -0500 Adwaita: Update levelbar styling Adapt to the changes in the previous commit. In particular, fix the handling of low and high offsets. Anything below the low offset gets warning color, anything below high gets selected background, and anything below the new full offset gets success color. gtk/theme/Adwaita/_common.scss | 23 ++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 27 ++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 27 ++++++++++++++++----------- 3 files changed, 46 insertions(+), 31 deletions(-) commit 21209a963a3def39b3f6d19af76d8b80c910514a Author: Matthias Clasen Date: Fri Nov 13 00:55:28 2015 -0500 levelbar: Use more CSS nodes Create as many CSS nodes as we're rendering blocks on the screen. gtk/gtklevelbar.c | 419 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 233 insertions(+), 186 deletions(-) commit 1685da6f696166588357b2e999da082cf731518f Author: Sébastien Wilmet Date: Thu Nov 12 17:43:32 2015 +0100 textbuffer: nicer get_iter functions, without return values Avoid crashes when passing an invalid location to a gtk_text_buffer_get_iter_at_*() function. A first attempt added boolean return values to know if @iter has been set to the exact location, but it breaks Python and JS bindings because the out parameter is already a return value in those languages. Unit tests are added. https://bugzilla.gnome.org/show_bug.cgi?id=735341 gtk/gtktextbuffer.c | 61 ++++++++++++++++++---- testsuite/gtk/textbuffer.c | 123 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 174 insertions(+), 10 deletions(-) commit 1f5f3ca41bd2419e1aee3f210f683541a8a3f56f Author: Ignacio Casal Quinteiro Date: Thu Nov 12 16:42:51 2015 +0100 win32: destroy clipboard notification window on dispose The clipboard uses a hidden window to get some specific events. The window was created but never destroyed on dispose. gdk/win32/gdkdisplay-win32.c | 48 +++++++++++++++++++++++++------------------- gdk/win32/gdkdisplay-win32.h | 1 + 2 files changed, 28 insertions(+), 21 deletions(-) commit a4ccf0e382e58d7124201027d2deab0a5eb29899 Author: Mingye Wang (Arthur2e5) Date: Thu Nov 12 23:17:28 2015 +0800 update zh_CN translation po/zh_CN.po | 5444 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 3513 insertions(+), 1931 deletions(-) commit 79f7f19c6e6c6a834e2b43b6e7bed07118e47fad Author: Ignacio Casal Quinteiro Date: Thu Nov 12 15:59:43 2015 +0100 win32: chain up on display dispose gdk/win32/gdkdisplay-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit fde91c3bece9aaea17b51ce6db8f9cb6088dbf96 Author: Matthias Clasen Date: Thu Nov 12 09:57:10 2015 -0500 Revert "textbuffer: nicer get_iter functions" This reverts commit a9a1c00cc9255ee9a7f73695f69abe172cde7bfa. Unfortunately, adding the boolean return broke both the python and javascript bindings, since they now return a tuple consisting of the boolean and the out argument. gtk/gtktextbuffer.c | 95 ++++++++-------------------------- gtk/gtktextbuffer.h | 34 ++++++------- testsuite/gtk/textbuffer.c | 123 --------------------------------------------- 3 files changed, 37 insertions(+), 215 deletions(-) commit a56f8859eeb916eaae27eb9895412550f211c17d Author: Chun-wei Fan Date: Thu Nov 12 20:12:26 2015 +0800 gtktestutils.c: Ensure variables are declared at top of block Fixes build on C89 compilers... gtk/gtktestutils.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit dbe430f6ec1dbc699c8a5963310226e69db2d266 Author: Chun-wei Fan Date: Thu Nov 12 18:16:33 2015 +0800 MSVC builds: Use /opt:ref for release builds glib-compile-resources have been updated to ensure that the symbols generated are referred to, so that they will not be optimized out by the linker in release builds. We can change from /opt:noref to /opt:ref, which should improve optimization a bit. build/win32/vs10/gtk3-demo-application.vcxprojin | 4 ++-- build/win32/vs10/gtk3-demo.vcxprojin | 4 ++-- build/win32/vs10/gtk3-icon-browser.vcxprojin | 4 ++-- build/win32/vs9/gtk3-demo-application.vcprojin | 4 ++-- build/win32/vs9/gtk3-demo.vcprojin | 4 ++-- build/win32/vs9/gtk3-icon-browser.vcprojin | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-) commit 97b44e02a9e6eb1d258d48b13561a1eef79a4099 Author: Chun-wei Fan Date: Thu Nov 12 15:53:47 2015 +0800 MSVC 2010+ builds: Do not explicitly use /LTCG This partially reverts de16a4e. As we now ensure that items using GResources and GConstructors are always referenced so that the linker does not optimize them out in a default Release build, we no longer need to enforce the use of /LTCG, so /LTCG:incremental will work as well. build/win32/vs10/broadwayd.vcxprojin | 2 -- build/win32/vs10/gailutil-3.vcxprojin | 2 -- build/win32/vs10/gdk-3.vcxprojin | 4 ---- build/win32/vs10/gtk-3.vcxprojin | 2 -- build/win32/vs10/gtk-encode-symbolic-svg.vcxproj | 2 -- build/win32/vs10/gtk3-demo-application.vcxprojin | 2 -- build/win32/vs10/gtk3-demo.vcxprojin | 2 -- build/win32/vs10/gtk3-icon-browser.vcxprojin | 2 -- 8 files changed, 18 deletions(-) commit 51dc4873fd8b4d4f14f902870b6110dd70a224e3 Author: Alexander Larsson Date: Wed Nov 11 16:06:44 2015 +0100 Add gtk_native_dialog_destroy() Its very easy to get extra references to the NativeDialog so that when you release your last reference any visible dialog is not hidden. We handle this by adding a destroy method similar to how you destroy regular toplevels. demos/gtk-demo/application.c | 1 + docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkfilechooserbutton.c | 6 +++++- gtk/gtknativedialog.c | 24 ++++++++++++++++++++++++ gtk/gtknativedialog.h | 2 ++ tests/testgtk.c | 9 ++++++++- 6 files changed, 41 insertions(+), 2 deletions(-) commit 402225a8e23bcff118055568ca79f4b73a3951f8 Author: Alexander Larsson Date: Wed Nov 11 15:12:45 2015 +0100 GtkNativeDialog: Fix modal handling in gtk_native_dialog_run() gtk/gtknativedialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0e0b45602a8d74d4ddd3633118679a0b0fa09a35 Author: Emmanuele Bassi Date: Wed Nov 11 12:27:07 2015 +0000 tooltipwindow: Use a builder UI file It's not a hugely complicated file, but it's easier to deal with some of the details of tooltip windows styling if we have a UI file to edit, instead of source code. gtk/Makefile.am | 1 + gtk/gtktooltipwindow.c | 27 +++++++-------------------- gtk/ui/gtktooltipwindow.ui | 41 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 49 insertions(+), 20 deletions(-) commit 73497c16aed5f05d35c212be63a8a1f71de6ae88 Author: Emmanuele Bassi Date: Tue Nov 10 16:24:33 2015 +0000 Add autocleanups for GtkShortcutsWindow gtk/gtkshortcutswindow.h | 1 + 1 file changed, 1 insertion(+) commit 9ebe95f4a9be83b6d6269fd7ea1a96489da6d8c1 Author: Emmanuele Bassi Date: Tue Nov 10 15:11:29 2015 +0000 Remove introspection scanner guards around autocleanups They are not needed. gtk/gtkaboutdialog.h | 2 -- gtk/gtkaccelgroup.h | 2 -- gtk/gtkaccellabel.h | 2 -- gtk/gtkaccelmap.h | 2 -- gtk/gtkapplication.h | 2 -- gtk/gtkbin.h | 2 -- gtk/gtkborder.h | 2 -- gtk/gtkcontainer.h | 2 -- gtk/gtkdialog.h | 2 -- gtk/gtklabel.h | 2 -- gtk/gtklistbox.h | 2 -- gtk/gtkmenu.h | 2 -- gtk/gtkmenushell.h | 2 -- gtk/gtkwidget.h | 2 -- gtk/gtkwindow.h | 2 -- 15 files changed, 30 deletions(-) commit 5912790f3284be504e5e86aeceff940b003e3695 Author: Timm Bäder Date: Wed Nov 11 09:35:31 2015 +0100 gtklevelbar: Fix typo gtk/gtklevelbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 373a3517b31d445aa44628a5f7278c9bb4a76541 Author: Matthias Clasen Date: Wed Nov 11 00:30:24 2015 -0500 HighContrast: Update levelbar styling Adapt to the changes in the previous release. gtk/theme/HighContrast/_common.scss | 49 +++++++++++++++++------------------ gtk/theme/HighContrast/gtk.css | 51 ++++++++++++++++++++----------------- 2 files changed, 51 insertions(+), 49 deletions(-) commit 2a0024ebe2382c94adeec7dec0ba75a8f4f4fae0 Author: Matthias Clasen Date: Wed Nov 11 00:26:32 2015 -0500 Adwaita: Update levelbar rendering Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 51 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 54 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 54 +++++++++++++++++--------------- 3 files changed, 81 insertions(+), 78 deletions(-) commit 17f110433d9a0bbe61b7abb6ffcee98745931fcb Author: Matthias Clasen Date: Wed Nov 11 00:25:24 2015 -0500 levelbar: Port to use CSS nodes Use element names levelbar, trough, block, and some style classes on the block nodes: .discrete, .continuous, .empty, .level-low, etc. gtk/gtklevelbar.c | 257 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 165 insertions(+), 92 deletions(-) commit 601cbbcc87e129fea81fc8e8553b97e49df998e2 Author: Matthias Clasen Date: Tue Nov 10 23:31:33 2015 -0500 Improve testlevelbar Add a switch to toggle between discrete and continuous modes. tests/testlevelbar.c | 59 ++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 41 insertions(+), 18 deletions(-) commit 02d08a1bd783d91860dea5a21d72625644dde7a8 Author: Matthias Clasen Date: Tue Nov 10 21:59:31 2015 -0500 text util: Avoid creating transient nodes We don't need to add .view - its already added, and shouldn't really be needed in the first place. gtk/gtktextutil.c | 5 ----- 1 file changed, 5 deletions(-) commit f3c915f18c41ea716b7e97b2cd6b3b9d22dc0440 Author: Matthias Clasen Date: Tue Nov 10 21:52:45 2015 -0500 HighContrast: Update textview selection styling Use the selection element name. gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk.css | 20 +++++++------------- 2 files changed, 10 insertions(+), 16 deletions(-) commit fbd6a814c6e4fccafeccff231b76e1089498ddde Author: Matthias Clasen Date: Tue Nov 10 21:51:36 2015 -0500 Adwaita: Update textview selection styling Use the selection name. gtk/theme/Adwaita/_common.scss | 5 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 25 +++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 25 +++++++++---------------- 3 files changed, 20 insertions(+), 35 deletions(-) commit 9d9088304c5386c32f6a6e304ff16feb0a13e33e Author: Matthias Clasen Date: Tue Nov 10 21:49:42 2015 -0500 text view: Improve text rendering Use the text CSS node for rendering text, and the selection node for rendering selected text, avoid gtk_style_context_save, update states of all CSS nodes, and use the proper states when querying style properties. gtk/gtktextdisplay.c | 28 +++++++++++++++------------- gtk/gtktextview.c | 21 ++++++++++++++------- 2 files changed, 29 insertions(+), 20 deletions(-) commit bb786ac2404e99bfd14097006724dde177e0220d Author: Matthias Clasen Date: Tue Nov 10 21:18:10 2015 -0500 textview: Use a CSS node for selection rendering Use a CSS node with name selection, like we do for entries and labels. Unlike those widgets, we currently don't user gtk_render_background, but just use the background color. That will require more effort. gtk/gtktextdisplay.c | 16 +++++++--------- gtk/gtktextview.c | 33 ++++++++++++++++++++++++++++++--- 2 files changed, 37 insertions(+), 12 deletions(-) commit 735a71da112cbf3cc6ae0cce8ea2147db510d109 Author: Matthias Clasen Date: Tue Nov 10 20:45:42 2015 -0500 cell view: Add an element name The element name is...cellview. gtk/gtkcellview.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 514c0f761fbfe3fa9c7cd388935ff16d3b7bd38f Author: Matthias Clasen Date: Tue Nov 10 20:33:12 2015 -0500 HighContrast: Update label selection styling Adapt to changes in the previous commit. gtk/theme/HighContrast/_common.scss | 8 ++++---- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit 218d584b546dd5565acd39f7e3b0d6256dc79299 Author: Matthias Clasen Date: Tue Nov 10 20:29:31 2015 -0500 Adwaita: Update label selection styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 11 insertions(+), 11 deletions(-) commit fafa75ac192f9eb9599c6b1b57dc9b23ec84fc0a Author: Matthias Clasen Date: Tue Nov 10 20:28:10 2015 -0500 label: Use a CSS node for selection rendering This adds new possibilities for themes to render the selection in fancy ways. gtk/gtklabel.c | 41 ++++++++++++++++++++++++++++------------- 1 file changed, 28 insertions(+), 13 deletions(-) commit 27d70cbb10c1d4b1d51b846c0833e436d09f5ab9 Author: Matthias Clasen Date: Tue Nov 10 20:13:06 2015 -0500 entry: Simplify selection rendering Calling gtk_render_background for each rectangle in the region leads to suboptimal and sometimes weird results. Getting this right requires more work in Pango first. Go back to just rendering a single background, and clip it to the selection region. This matches what GtkLabel does. gtk/gtkentry.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit e9449f60146815d83b3b33d36af1f51a0b5b96ee Author: Matthias Clasen Date: Tue Nov 10 17:36:33 2015 -0500 inspector: Don't grow horizontally Labels in the object tree are application data. Ellipsize them to avoid growing extremely wide if the data is bogus. gtk/inspector/object-tree.ui | 2 ++ 1 file changed, 2 insertions(+) commit 774b6f94d5d4b75d8fc246e51909db6e2623cc6c Author: Matthias Clasen Date: Tue Nov 10 17:36:23 2015 -0500 inspector: fix a typo gtk/inspector/object-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6cbfc780c5e704f205104fd1583ba830fbeca806 Author: Matthias Clasen Date: Tue Nov 10 13:39:10 2015 -0500 HighContrast: Update entry selection styling Adapt to changes in the previous commit. gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk.css | 14 +++++++++++--- 2 files changed, 14 insertions(+), 6 deletions(-) commit e7854aeb4221abe1a23e3ac5f34d7e584626a932 Author: Matthias Clasen Date: Tue Nov 10 13:37:15 2015 -0500 Adwaita: Update entry selection rendering Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) commit 2a03107677cabdc38033fda28bac37e8c9765218 Author: Matthias Clasen Date: Tue Nov 10 13:36:16 2015 -0500 entry: Use a CSS node for selection rendering This adds new possibilities for themes to render the selection in fancy ways. gtk/gtkentry.c | 78 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 55 insertions(+), 23 deletions(-) commit 3552f524c33e92167f97bd76265392250d467d00 Author: Matthias Clasen Date: Tue Nov 10 12:48:40 2015 -0500 Adwaita: Update tooltip styling more Now that tooltips are csd again, the CSS wasn't quite working anymore. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) commit f2b373add81d5d1528a71c5eab90b6354b547465 Author: Olivier Fourdan Date: Tue Nov 10 12:00:48 2015 +0100 gtkwindow: css offset for toplevel only At the time gtk_window_move() or gtk_window_resize() get called, there is no way to predict if a popup window will actually draw its shadow, so applying an offset in this case may end up with a wrong size or positioning for such windows. Changing the logic in gtk_window_should_use_csd() as previously done to address that issue will cause some other breakage as popup windows may not draw a shadow but still need CSD. So best is to actually apply client side decorations offset for regular, top level windows only. This is actually a lot simpler and safer and less likely to cause additional breakage. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) commit 69cbf0a129b7965a02fa03dce58da8bba413338c Author: Matthias Clasen Date: Tue Nov 10 12:26:05 2015 -0500 Adwaita: update tooltip styling Adapt to the changes in the previous commit. Note that tooltip appearance is currently affected by tooltips having lost their csd nature, due to a regression. gtk/theme/Adwaita/_common.scss | 14 ++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++--------- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++--------- 3 files changed, 20 insertions(+), 26 deletions(-) commit 62d9abeebc0916f73bbd05dcc52a60b1b11d8f8d Author: Emmanuele Bassi Date: Tue Nov 10 14:12:35 2015 +0000 Move GtkAccelMap autocleanup to the class header gtk/gtk-autocleanups.h | 1 - gtk/gtkaccelmap.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) commit a395852233a9d7e8462a1287e847808d368be321 Author: Emmanuele Bassi Date: Tue Nov 10 14:11:04 2015 +0000 Recursively move autocleanups to their header files Start from GtkAccelLabel and walk the tree downwards. gtk/gtk-autocleanups.h | 4 ---- gtk/gtkaccellabel.h | 6 ++++-- gtk/gtklabel.h | 6 ++++-- gtk/gtkmenu.h | 5 +++-- gtk/gtkmenushell.h | 6 ++++-- 5 files changed, 15 insertions(+), 12 deletions(-) commit 56ab3bdf3c4b1fca8c61dc04c730dfc64e464475 Author: Emmanuele Bassi Date: Tue Nov 10 14:08:07 2015 +0000 Move GtkAboutDialog autocleanup to the class header gtk/gtk-autocleanups.h | 1 - gtk/gtkaboutdialog.h | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 90c15c294e198efc236b1a7d81cdfaa4c3454443 Author: Emmanuele Bassi Date: Tue Nov 10 14:07:41 2015 +0000 Move GtkDialog autocleanup to the class header gtk/gtk-autocleanups.h | 1 - gtk/gtkdialog.h | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 93369788c907b9c61204ff377854729cd404e25f Author: Emmanuele Bassi Date: Tue Nov 10 13:59:36 2015 +0000 Start recursively moving autocleanups macros to their headers * Cover letter Having a single header file for all autocleanups definitions was a reasonable stop-gap measure, but now GTK+ is starting to use G_DECLARE_* macros. This means that every class using a G_DECLARE_* macro will need to include "gtk.h" to avoid compiler warnings, which is not acceptable. By moving the G_DEFINE_AUTO* use to the header that defines the type we allow using the G_DECLARE_* macros without sacrificing the ability to include only the needed files when deriving from a class. * Commit This commit changes all includes relative to GtkWindow to define their own autocleanup macros. gtk/gtk-autocleanups.h | 7 ------- gtk/gtkaccelgroup.h | 4 ++++ gtk/gtkapplication.h | 4 ++++ gtk/gtkbin.h | 5 ++++- gtk/gtkborder.h | 3 +++ gtk/gtkcontainer.h | 5 ++++- gtk/gtkwidget.h | 5 +++++ 7 files changed, 24 insertions(+), 9 deletions(-) commit d589170754af9620feabb0e598b626116470557f Author: Emmanuele Bassi Date: Tue Nov 10 13:49:11 2015 +0000 Only include the necessary headers in GtkPlacesViewRow When compiling inside GTK we also use the GTK_COMPILATION guard, as the GtkPlacesView and GtkPlacesViewRow widgets are shared with Nautilus. gtk/gtkplacesviewrow.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 862007fe1c33948d78e1abf208d94d54490eee5c Author: Emmanuele Bassi Date: Tue Nov 10 13:48:31 2015 +0000 Move GtkListBox g_autoptr macros to the class header This allows GtkPlacesViewRow to use G_DECLARE_FINAL_TYPE without having to include gtk.h. gtk/gtk-autocleanups.h | 2 -- gtk/gtklistbox.h | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) commit 0d4a010cbbfc565c0cc8ffc6765746279d104279 Author: Emmanuele Bassi Date: Tue Nov 10 13:36:29 2015 +0000 Remove an unused variable declaration And the compiler warning that comes with it. gtk/gtkprintunixdialog.c | 1 - 1 file changed, 1 deletion(-) commit 40d6321b4cf3d229934ea60b6fede530db50161f Author: Emmanuele Bassi Date: Tue Nov 10 13:34:33 2015 +0000 Move GtkWindow g_autoptr macros in the class header Otherwise we won't be able to use G_DECLARE_* macros internally to GTK without generating warnings, or without including gtk.h itself. gtk/gtk-autocleanups.h | 2 -- gtk/gtkwindow.h | 5 +++++ 2 files changed, 5 insertions(+), 2 deletions(-) commit d694a9a83b3e683acd99789a3d48b40b7841fda2 Author: Emmanuele Bassi Date: Tue Nov 10 13:24:05 2015 +0000 docs: Ignore GtkTooltipWindow's private header file docs/reference/gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 534f537a3c1ac3c4cce25682c27174f538e6390d Author: Matthias Clasen Date: Tue Nov 10 06:34:15 2015 -0500 Fix an oversight We must set the construct-only "type" to GTK_WINDOW_POPUP, otherwise this ends upo being a regular toplevel. gtk/gtktooltipwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6f6e5365432050cde71550a09e3cce0f6a55c1d5 Author: Emmanuele Bassi Date: Sun Nov 8 17:10:00 2015 +0000 Use CSS node name for GtkTooltipWindow Instead of a style class. gtk/gtktooltipwindow.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit a846fd586db4256b748edcae149bf55fc2d9fbd2 Author: Emmanuele Bassi Date: Sun Nov 8 15:46:23 2015 +0000 Add GtkTooltipWindow private sub-class GtkTooltip does a lot of set up on the GtkWindow it uses internally. We should move that code to a separate class to keep it contained. gtk/Makefile.am | 2 + gtk/gtktooltip.c | 148 ++++----------------------- gtk/gtktooltipwindow.c | 230 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtktooltipwindowprivate.h | 60 +++++++++++ 4 files changed, 312 insertions(+), 128 deletions(-) commit c2d0aa785154ebdb68aa34e3a7b410118ffaf97c Author: Matthias Clasen Date: Tue Nov 10 07:45:56 2015 -0500 print dialog: Avoid gtk_style_context_save There was one more call to gtk_style_context_save here that I overlooked. We can get rid of it by just setting the element name on the drawing area. gtk/gtkprintunixdialog.c | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) commit afc09d924e68702be0831d932b0cf4c8c7545cd9 Author: Matthias Clasen Date: Tue Nov 10 07:39:40 2015 -0500 flowbox: Add a diagram to CSS documentation gtk/gtkflowbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 740fa2cd70fb9b3aae3ff5ed24b74c7558c761af Author: Matthias Clasen Date: Tue Nov 10 07:37:25 2015 -0500 iconview: Add a diagram to CSS documentation gtk/gtkiconview.c | 4 ++++ 1 file changed, 4 insertions(+) commit ff4b11226517609e183550b3de2e23e68e194068 Author: Matthias Clasen Date: Tue Nov 10 07:36:41 2015 -0500 treeview: Add a diagram to CSS documentation gtk/gtktreeview.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit ec065d4cbf8fdd7a35afca61f5d0257b73316fab Author: Matthias Clasen Date: Tue Nov 10 07:31:32 2015 -0500 HighContrast: Update treeview rubberband styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8efb1b1f92be46052f8c8f2fbdecec984e008490 Author: Matthias Clasen Date: Tue Nov 10 07:30:29 2015 -0500 Adwaita: Update treeview rubberband styling Adapt to the changes in the previous commit. 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 4c56a1ea5dd13b96c0c91de9d7a0d752cd49ed93 Author: Matthias Clasen Date: Tue Nov 10 07:29:54 2015 -0500 treeview: Use a CSS node for rubberband drawing Use a CSS node with name rubberband to draw the rubberband selection. gtk/gtktreeview.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 0af457639dc5eb14a060183fbd3051870055c9ab Author: Alexander Larsson Date: Mon Nov 9 22:18:05 2015 +0100 TextView: Use saner coordinate space in draw_layer. When I added the draw_layer vfunc it accidentally got passed a cairo_t that was configured with to draw in the viewport coordinate space (rather than the buffer coordinate space). This makes things unnecessary complex, because you have to convert between the two. The pixel cache is shared between the text and the layers, so there is no way to use draw_layer to get a stationary overlay effect. Thus it makes much more sense for the draw_layer vfunc to draw in the buffer space. Just changing this would break ABI for existing code, so this is fixed by adding new layer types and deprecating the old ones. Also, we use the new layer types to fix gtk3-widget-factory. https://bugzilla.gnome.org/show_bug.cgi?id=757856 demos/widget-factory/widget-factory.c | 2 +- gtk/gtktextview.c | 10 ++++++++++ gtk/gtktextview.h | 15 +++++++++++---- 3 files changed, 22 insertions(+), 5 deletions(-) commit b0a6af3783a8dd50781ca921de81d3879aafbb00 Author: Matthias Clasen Date: Tue Nov 10 00:55:57 2015 -0500 Forgotten file This change belongs to the iconview rubberband changes. gtk/gtkiconviewprivate.h | 2 ++ 1 file changed, 2 insertions(+) commit 921c2a1db40e68b80c48e81965e1502731a64897 Author: Matthias Clasen Date: Tue Nov 10 00:55:29 2015 -0500 HighContrast: Update flowbox rubberband styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 4 ++++ gtk/theme/HighContrast/gtk.css | 1 + 2 files changed, 5 insertions(+) commit f6201e4ccd129c9d8ca172cb5200abd2eaa42334 Author: Matthias Clasen Date: Tue Nov 10 00:52:09 2015 -0500 Adwaita: Update flowbox rubberband styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 6 insertions(+) commit 6c7f4b78b5652a04db8cb138c785c7efa6bc3a8c Author: Matthias Clasen Date: Tue Nov 10 00:50:42 2015 -0500 flowbox: Use a CSS node for rubberband drawing Use a CSS node with name rubberband to draw the rubberband selection. gtk/gtkflowbox.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 75d465eee4356bbaa13bd27e313db69a98bfd7cc Author: Matthias Clasen Date: Tue Nov 10 00:30:39 2015 -0500 HighContrast: Update rubberband styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 5 +++-- gtk/theme/HighContrast/gtk.css | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) commit f4076dff421f99b55d0911a3a1f561a120fc26bb Author: Matthias Clasen Date: Tue Nov 10 00:28:46 2015 -0500 Adwaita: Update rubberband styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 7 ++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/theme/Adwaita/gtk-contained.css | 5 ++++- 3 files changed, 12 insertions(+), 5 deletions(-) commit 318269550bd8fdb243390a3624527b558bc37a1c Author: Matthias Clasen Date: Tue Nov 10 00:25:19 2015 -0500 iconview: Use a CSS node for rubberband drawing Use a CSS node with name rubberband to draw the rubberband selection. gtk/gtkiconview.c | 58 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 38 insertions(+), 20 deletions(-) commit ee76f9bfedf80f1d0d012db0b4090745b9d61cf6 Author: Matthias Clasen Date: Mon Nov 9 23:49:29 2015 -0500 HighContrast: Update text handle styling Adapt to the changes in the previous release. gtk/theme/HighContrast/_common.scss | 3 +-- gtk/theme/HighContrast/gtk.css | 39 ++++++++++--------------------------- 2 files changed, 11 insertions(+), 31 deletions(-) commit 3daff48acaa5e5125f1983fb153fa3f2718332c2 Author: Matthias Clasen Date: Mon Nov 9 23:47:08 2015 -0500 Adwaita: Update text handle styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 3 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 39 ++++++++------------------------ gtk/theme/Adwaita/gtk-contained.css | 39 ++++++++------------------------ 3 files changed, 21 insertions(+), 60 deletions(-) commit 0a136004c935f7dbce36bbfae643dadf17b5fe52 Author: Matthias Clasen Date: Mon Nov 9 23:45:29 2015 -0500 Document text handle styling Since GtkTextHandle is private, document text handle style classes in the GtkEntry and GtkTextView documentation. gtk/gtkentry.c | 6 ++++++ 1 file changed, 6 insertions(+) commit ea51db1feb0aa2ae4a7be31d1d1e328a43a31935 Author: Matthias Clasen Date: Mon Nov 9 23:33:54 2015 -0500 text handle: Port to CSS nodes Use cursor-handle as the element name for the CSS node that is used to render text the selection handles. gtk/gtktexthandle.c | 43 ++++++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 21 deletions(-) commit 14f4b7ead21f57a10ddf56a45966b78b3dbbe6c1 Author: Matthias Clasen Date: Mon Nov 9 09:27:40 2015 -0500 Avoid excessive property notification for GtkStack::interpolate-size make check checks this for writable properties, and fails now that we've made this property writable. gtk/gtkstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c283315466bfba84e99b17be13a31275ffd40eb1 Author: Matthias Clasen Date: Mon Nov 9 13:33:58 2015 -0500 notebook: Update CSS docs The .header style class is no longer used. gtk/gtknotebook.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit c28be30ac15867c573a804317bdd51224c15ebcd Author: Timm Bäder Date: Sat Oct 31 18:05:03 2015 +0100 colorswatch: Don't pass _GENERIC_FALLBACK to API that doesn't support it gtk/gtkcolorswatch.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 09a181d205b6d19054361b5a0d65cc877aebc191 Author: Alexander Larsson Date: Mon Nov 9 15:14:57 2015 +0100 gdk: Fix invalidation w/ pixel cache when changing child window geometry. When moving/scrolling a child window we can't use the current clip region to limit what is invalidated, because there may be a pixel cache that listens for changes outside the clip region. Instead invalidate the entire area and rely on the invalidation code to limit the repaint to the actually visible area. gdk/gdkwindow.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit a0d9728e6c4fcf946418c9b1bd51a47b2ea02460 Author: Benjamin Otte Date: Mon Nov 9 14:17:09 2015 +0100 textdisplay: save/restore when using different state flags Also, never use gtk_widget_get_state_flags() when we want gtk_style_context_get_state() gtk/gtktextdisplay.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 9757ea2c49b21c11710e7148d8cda19275453b80 Author: Olivier Fourdan Date: Mon Nov 9 12:05:37 2015 +0100 gtkwindow: Fix resize without "_GTK_FRAME_EXTENTS" git commit a5b1cdd0 introduced a regression where CSD windows are not resizable with metacity. Reason being that metacity does not support "_GTK_FRAME_EXTENTS" and therefore gtk_window_supports_client_shadow() would always return FALSE. This explains why it works with window managers which support "_GTK_FRAME_EXTENTS" such as mutter/gnome-shell or xfwm4. Partially revert commit a5b1cdd0 to reinstate the logic in get_shadow_width(). Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=757805 gtk/gtkwindow.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 32f27a4cd0515493627fc143dc1f0ed1e40fd1f9 Author: Matthias Clasen Date: Mon Nov 9 07:40:44 2015 -0500 container: Slightly reword some docs Clarify gtk_container_remove documentation regarding reference holding. Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=757607 gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7314c8ca06f3caf289db0cbbe5a3e925b09398fe Author: Matthias Clasen Date: Mon Nov 9 06:42:59 2015 -0500 tool item group: Use a CSS node for the arrow This completes the transition for GtkToolItemGroup. gtk/gtktoolitemgroup.c | 48 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 40 insertions(+), 8 deletions(-) commit db70ec96662a5f71ce630801cd8c424ea03d3efa Author: Matthias Clasen Date: Sun Nov 8 20:59:55 2015 -0500 HighContrast: Update notebook styling Some fixes for arrows and for headers. gtk/theme/HighContrast/_common.scss | 9 +++++++- gtk/theme/HighContrast/gtk.css | 42 +++++++++++++++++++++++-------------- 2 files changed, 34 insertions(+), 17 deletions(-) commit f564f16b5c1ac526d7452dc39f270a69b8fda10d Author: Matthias Clasen Date: Sun Nov 8 18:11:25 2015 -0500 Adwaita: Update notebook styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 123 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 95 +++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 95 +++++++++++++----------- 3 files changed, 162 insertions(+), 151 deletions(-) commit 4802b515e4ddba2492ef0a21f9d435c458f78e7a Author: Matthias Clasen Date: Sun Nov 8 15:01:09 2015 -0500 notebook: Use CSS nodes for arrows This converts the drawing of scroll arrows to use separate CSS nodes. gtk/gtknotebook.c | 275 ++++++++++++++++++++++++++++++++++------- gtk/theme/Adwaita/_common.scss | 37 +++--- 2 files changed, 248 insertions(+), 64 deletions(-) commit 78373eb9f7407202d3ac114764b60d3d81d7cfa4 Author: Matthias Clasen Date: Sun Nov 8 20:27:22 2015 -0500 Don't use a transient node in gtk_render_arrow() It is not necessary for the users of this API, and causes things to not work as intended. Without this transient node, styling "notebook header tabs arrow" has the desired effect on notebook arrows. gtk/gtkrender.c | 4 ---- 1 file changed, 4 deletions(-) commit 306b6c6024bc5153ccf5fe5407bea496749842bc Author: Matthias Clasen Date: Sat Nov 7 13:17:17 2015 -0500 widget-factory: Add another notebook example This example shows a scrollable notebook with action widgets. demos/widget-factory/widget-factory.ui | 112 +++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) commit e892b918dc0d88a2850a9f24cf42f599e48a1f2d Author: Matthias Clasen Date: Sat Nov 7 11:31:24 2015 -0500 HighContrast: update notebook styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 126 ++++++++++++------------------- gtk/theme/HighContrast/gtk.css | 145 +++++++++++++++--------------------- 2 files changed, 105 insertions(+), 166 deletions(-) commit 6592c6f51fd9fe65828b21307085b830371cabbb Author: Matthias Clasen Date: Sat Oct 31 10:25:50 2015 -0400 Adwaita: Adapt notebook styling a bit This needs a lot more work. gtk/theme/Adwaita/_common.scss | 116 ++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 165 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 165 +++++++++++++------------------ 3 files changed, 178 insertions(+), 268 deletions(-) commit 5686853c6ed20b12daa02d1afc9b27f5bc5718df Author: Matthias Clasen Date: Sat Oct 31 10:23:40 2015 -0400 notebook: redo notebook styling Add a header node, and put positional classes on it. gtk/gtknotebook.c | 158 +++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 115 insertions(+), 43 deletions(-) commit 2fcbf996c672eb8dcb1ed91b56028a4df3180c16 Author: Benjamin Otte Date: Mon Nov 9 01:44:01 2015 +0100 placesview: Don't export API This is a private object, don't export its symbols. https://bugzilla.gnome.org/show_bug.cgi?id=756978 gtk/gtkplacesviewprivate.h | 9 --------- 1 file changed, 9 deletions(-) commit 0e75fbf39cf8b526995d3dd5514861aa786386a6 Author: Benjamin Otte Date: Mon Nov 9 01:42:41 2015 +0100 cssnode: Propagate NTH_LAST_CHILD changes properly We were just catching the previous sibling before. Now we properly invalidate all previous siblings (and also all other wiblings, but we can think about optimizing that later). gtk/gtkcssnode.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 4141a7d7c8a949585d5bfdc997c7651c5e3fc49f Author: Benjamin Otte Date: Mon Nov 9 01:38:39 2015 +0100 csstypes: Propagate NTH_CHILD and NTH_LAST_CHILD to siblings Otherwise, we'd have to mark eveyr child on changes, and it's far easier to do that once we actually validate. gtk/gtkcsstypes.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit a7816909ef9b55629d3e6b97e6e0f3c4b2f88343 Author: Benjamin Otte Date: Mon Nov 9 01:29:56 2015 +0100 box: Refactor CSS node handling Only update the node that changed, don't invalidate everything. gtk/gtkbox.c | 65 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 33 deletions(-) commit bed3ff27370a08d6bf18020c729de406661affcb Author: Benjamin Otte Date: Sat Nov 7 20:23:44 2015 +0100 box: Don't track children visibility It's not necessary anymore with css nodes. gtk/gtkbox.c | 17 ----------------- 1 file changed, 17 deletions(-) commit d55628cd9f0fccc3be0cc00378bc85d2da9192b3 Author: Benjamin Otte Date: Sat Nov 7 20:13:09 2015 +0100 testutils: Add deprecation guards gtk/gtktestutils.c | 6 ++++++ 1 file changed, 6 insertions(+) commit c2a9202a66437d4d8ee814c0f1da356c7c289621 Author: Matthias Clasen Date: Sun Nov 8 19:19:20 2015 -0500 Move gtk_builder_extend_with_template to public header We export the symbol, so we should not hide it in private headers. gtk/gtkbuilder.h | 7 +++++++ gtk/gtkbuilderprivate.h | 6 ------ 2 files changed, 7 insertions(+), 6 deletions(-) commit f0a74bc302ab76028c334893f78a0c7af25ffecc Author: Matthias Clasen Date: Sun Nov 8 18:40:35 2015 -0500 Document gtk_builder_extend_wth_template docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkbuilder.c | 15 ++++++++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) commit ed26f5d7617f683cba33678af19309cbddbd7afc Author: Gábor Kelemen Date: Sun Nov 8 22:49:12 2015 +0000 Updated Hungarian translation po/hu.po | 833 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 481 insertions(+), 352 deletions(-) commit c33d485d90643b2246dac8d23194acf81593a5c9 Author: Balázs Meskó Date: Sat Nov 7 14:43:13 2015 +0000 Updated Hungarian translation po/hu.po | 883 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 385 insertions(+), 498 deletions(-) commit 0253338bf5180ee8d0a0d3a1cdd4be9db8373fea Author: Balázs Meskó Date: Sat Nov 7 14:40:53 2015 +0000 Updated Hungarian translation po-properties/hu.po | 3681 ++++++++++++++++++++++----------------------------- 1 file changed, 1601 insertions(+), 2080 deletions(-) commit f5af2612f414a63b747715f1f1cb5b33140cfeb2 Author: Matthias Clasen Date: Sat Nov 7 00:58:00 2015 -0500 Adwaita: Update print dialog styling Adapt to the changes in the previous commit. With the changes here, we always render the paper as white, even in the dark theme. gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 21 insertions(+) commit 59c1547a4879d3ca57e7e4c35e12ec8021a0ef58 Author: Matthias Clasen Date: Sat Nov 7 00:57:03 2015 -0500 print dialog: Use an element name for rendering the paper Use a transient node with name paper instead of a random collection of style classes for rendering the papers. gtk/gtkprintunixdialog.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit c63c932a0572e18611f9cbb0b98c3ca5388dddf5 Author: Matthias Clasen Date: Sat Nov 7 00:42:37 2015 -0500 Adwaita: Update expander styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 12 +++++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 15 insertions(+), 13 deletions(-) commit 7ba1368c40492595b02558fcf2c29380ede561d9 Author: Matthias Clasen Date: Sat Nov 7 00:40:28 2015 -0500 epxander: Port to CSS nodes Use CSS nodes with name expander and arrow here. gtk/gtkexpander.c | 143 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 95 insertions(+), 48 deletions(-) commit cf7f23f4ddc191c2ce91192b0d8f07c625b25a08 Author: Matthias Clasen Date: Fri Nov 6 23:35:20 2015 -0500 scrolledwindow: Document overlay scrolling style classes Document which style classes are used on scrollbars to implement overlay scrolling. gtk/gtkscrollbar.c | 4 ++++ gtk/gtkscrolledwindow.c | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) commit 353bfb009255943eafaf852e817b21e874ccfe3b Author: Matthias Clasen Date: Fri Nov 6 23:28:22 2015 -0500 scrolledwindow: Set positional classes on scrollbars This might be useful for some themes. gtk/gtkscrolledwindow.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 69 insertions(+), 4 deletions(-) commit f900bec4fa3cfab89e119d552d93a978628ed4f6 Author: Matthias Clasen Date: Fri Nov 6 22:58:08 2015 -0500 scrolled window: Drop unnecessary transient nodes We already add the .frame style class to the context depending on the shadow property. No need to save the context and add it again all the time. gtk/gtkscrolledwindow.c | 13 ------------- 1 file changed, 13 deletions(-) commit e1182ec0e1ee09d2995011ccfbb88359187b862c Author: Matthias Clasen Date: Fri Nov 6 22:47:16 2015 -0500 window: Don't pass wrong state to context GtkStyleContext warns nowadays if one queries properties from a different state. So, don't do that. gtk/gtkwindow.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit d25e0657be84a72a8fc08dfb329d78b693934b3b Author: Matthias Clasen Date: Fri Nov 6 22:24:20 2015 -0500 range: Fixes to the new trough rendering There was an errant y that caused some troughs to not be drawn. And also set the state of the fill node. gtk/gtkrange.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 60c7893c1445ac378a564e7342368f0dec73e61b Author: Matthias Clasen Date: Fri Nov 6 19:38:50 2015 -0500 scale: Document the new CSS nodes gtk/gtkscale.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit e5ef7dc6815d02b66121b26558b63db7f65427a3 Author: Benjamin Otte Date: Sat Nov 7 01:45:35 2015 +0100 notebook: Fix copy/paste error This is from the recent commit 2a1a483edef1c94a795855dec08d91a4421ceb13 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f95a22a3ab81f9fa65a3a8e2b9e879d1d3a271d5 Author: Matthias Clasen Date: Fri Nov 6 19:28:56 2015 -0500 Adwaita: Update range styling Adapt to the new CSS nodes for trough rendering. This commit also brings back visible fill-level rendering for scales, which was not working for a while. The styling provided for that (scale trough fill) is just a placeholder to aid in debugging the implementation. gtk/theme/Adwaita/_common.scss | 34 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 34 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 34 +++++++++++++++++--------------- 3 files changed, 60 insertions(+), 42 deletions(-) commit 11d7f6df7c2518a42c44bf9d6ec1fce16f55ec7f Author: Matthias Clasen Date: Fri Nov 6 19:25:58 2015 -0500 range: Use CSS nodes for all trough rendering This replaces the somewhat freewheeling use of style classes to render a part of the trough highlighted and show a fill level. gtk/gtkrange.c | 255 ++++++++++++++++--------------- gtk/theme/Adwaita/_common.scss | 4 + gtk/theme/Adwaita/gtk-contained-dark.css | 3 + gtk/theme/Adwaita/gtk-contained.css | 3 + 4 files changed, 145 insertions(+), 120 deletions(-) commit 50ff2a566a41cdc5b25b7766599dd8a594042a10 Author: Matthias Clasen Date: Fri Nov 6 15:20:01 2015 -0500 Update mac key theme for css changes Use the element names for widgets. gtk/gtk-keys.css.mac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bc656a3ca537d45b3ed3b56152c492b39b172e22 Author: Matthias Clasen Date: Fri Nov 6 15:19:36 2015 -0500 Update emacs key theme for css changes Use the element names for widgets. gtk/gtk-keys.css.emacs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a9814fea7d169400b033bc28f3b7570b3423bc15 Author: Benjamin Otte Date: Fri Nov 6 18:57:24 2015 +0100 stylecontext: Always warn on style mismatch For now, always warn when gtk_style_context_get()/get_padding()/get_margin()/get_border() get called with the wrong state. We used to hide this behind an env var because the warnings were too frequent, but with the recent refactorings, this warning has become rather important for detecting bugs. If it's still problematic, we might want to revert this patch before 3.20. gtk/gtkstylecontext.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit 68ed166c60f796328c2be40a7f3df9db23f708c2 Author: Benjamin Otte Date: Fri Nov 6 18:53:46 2015 +0100 range: Use right state when querying margin gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a1a483edef1c94a795855dec08d91a4421ceb13 Author: Benjamin Otte Date: Fri Nov 6 18:52:13 2015 +0100 notebook: Query the right node's padding gtk/gtknotebook.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 37b4b60e9127b3604994f92b5d2715ba2a310597 Author: Benjamin Otte Date: Fri Nov 6 18:49:26 2015 +0100 spinbutton: Use right state when querying padding gtk/gtkspinbutton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 38cd2c12394d8c67fb502c4933d6a243550ad3eb Author: Matthias Clasen Date: Fri Nov 6 11:53:42 2015 -0500 range: Update trough state It might make sense for the theme to render an insensitive trough differently. gtk/gtkrange.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit 0bfc7db1fad1b8512f96ddea3ebe34fbb425f4be Author: Matthias Clasen Date: Fri Nov 6 09:26:25 2015 -0500 popover: Don't create transient CSS nodes There is no need to save the style context here. gtk/gtkpopover.c | 3 --- 1 file changed, 3 deletions(-) commit 8d886f351330e6addf5651c5b9499c77a853fff8 Author: Matthias Clasen Date: Fri Nov 6 07:57:03 2015 -0500 Cosmetic: Use defines for style classes gtk/gtkscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 76fbcc2f262fc4bf4478f43cbbfde055617d172d Author: Matthias Clasen Date: Fri Nov 6 07:51:15 2015 -0500 range: Document fine-tuning style class use gtk/gtkscale.c | 11 ++++++++--- gtk/gtkscrollbar.c | 11 ++++++++--- 2 files changed, 16 insertions(+), 6 deletions(-) commit 203d8daff4dc697d92bfeec5baa84352370845db Author: Benjamin Otte Date: Fri Nov 6 16:34:09 2015 +0100 acccellabel: Use right state when querying font This was causing permanent invalidations otherwise because drawing causes the state of the accel node to change. gtk/gtkaccellabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffd517cc3fbeac9b6b8783568f8973640a1ba2c6 Author: Matthias Clasen Date: Fri Nov 6 07:04:14 2015 -0500 Adwaita: Update scale styling Use :first-child/:last-child on the trough for determining which slider we need. gtk/theme/Adwaita/_common.scss | 83 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 728 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 724 ++++++++++++++---------------- 3 files changed, 690 insertions(+), 845 deletions(-) commit bfee2d3c61a7dc852bae2016a7ec8ee1ee2ca641 Author: Matthias Clasen Date: Fri Nov 6 07:01:42 2015 -0500 scale: Stop using style classes for marks We can use :first/last-child for this now. gtk/gtkscale.c | 20 -------------------- 1 file changed, 20 deletions(-) commit fd5729baef61c2a5f4af9b4249d974118705d2f2 Author: Matthias Clasen Date: Thu Nov 5 23:42:19 2015 -0500 Adwaita: Fix up filechooser styling Several details of sidebar and places view styling were lost along the way. Bring back the circular buttons. gtk/theme/Adwaita/_common.scss | 82 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 321 ++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 321 ++++++++++++++++++------------- 3 files changed, 413 insertions(+), 311 deletions(-) commit 527df17ea3bfcb8a0edb6f16a17b0b50f1f326fc Author: Matthias Clasen Date: Thu Nov 5 23:43:32 2015 -0500 places view: Remvoe some unused style classes These style classes were not used in Adwaita, and didn't make any difference for the appearance. gtk/ui/gtkplacesview.ui | 3 --- gtk/ui/gtkplacesviewrow.ui | 3 --- 2 files changed, 6 deletions(-) commit efc7dfd7a71356db4d79e2d5f841241f4ec0751b Author: Matthias Clasen Date: Thu Nov 5 23:41:42 2015 -0500 places view: Add an element name Use placesview as the element name. gtk/gtkplacesview.c | 2 ++ 1 file changed, 2 insertions(+) commit 6be2073740bea7e4dbcb59123762aaea52913314 Author: Matthias Clasen Date: Thu Nov 5 19:15:43 2015 -0500 Adwaita: Redo combo box entry styling Instead of relying on .linked or + (which doesn't work right in rtl), use :not(:only-child) to select a button that is not alone inside a combobox. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++---- gtk/theme/Adwaita/gtk-contained.css | 10 ++++++---- 3 files changed, 14 insertions(+), 10 deletions(-) commit f1b7005ede1de03312510fce7442ebc65f89f936 Author: Matthias Clasen Date: Thu Nov 5 19:14:38 2015 -0500 combobox: Don't add .linked It interferes with getting the desired styling for combo boxes with an entry, and is not needed. gtk/gtkcombobox.c | 3 --- 1 file changed, 3 deletions(-) commit 7cd177e0d729bbb98c00cba6b44e337a09109e13 Author: Matthias Clasen Date: Thu Nov 5 18:00:51 2015 -0500 Fix a typo gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 3b9a2a4423d689d905b72925e121f6fc9ceb8f3b Author: Piotr Drąg Date: Fri Nov 6 01:05:00 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 2 ++ po/POTFILES.in | 2 ++ 2 files changed, 4 insertions(+) commit ad214e187124f253d036a38423c1c4a4cd5b30e5 Author: Matthias Clasen Date: Thu Nov 5 16:13:06 2015 -0500 window: Add a diagram to the CSS documentation gtk/gtkwindow.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 5d62c808b1831dcfa144e6fc8107bbf906ae6031 Author: Matthias Clasen Date: Thu Nov 5 16:07:29 2015 -0500 Adwaita: Update window styling We no longer inherit the style classes on the decoration subnodes, so we have to adjust some selectors. gtk/theme/Adwaita/_common.scss | 32 +++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 27 insertions(+), 29 deletions(-) commit b4c650ae85e4e007989d6f48ae4e038cf67dfdd3 Author: Matthias Clasen Date: Thu Nov 5 16:06:49 2015 -0500 window: Use permanent CSS nodes gtk_style_context_save_named() has drawbacks that we want to avoid. gtk/gtkwindow.c | 78 +++++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 59 insertions(+), 19 deletions(-) commit 948e077f1c94f650fd3cc968682a15f90f8ea0e0 Author: Matthias Clasen Date: Thu Nov 5 15:41:37 2015 -0500 tool button: Add element names for tool item subclasses Add the obvious names to the CSS nodes of GtkRadioToolButton, GtkToggleToolButton and GtkSeparatorToolItem. gtk/gtkradiotoolbutton.c | 11 +++++++---- gtk/gtkseparatortoolitem.c | 13 +++++++------ gtk/gtktoggletoolbutton.c | 7 +++++-- 3 files changed, 19 insertions(+), 12 deletions(-) commit ec60bd889c71a6d80eca7041a376aa5ca8a535cc Author: Matthias Clasen Date: Thu Nov 5 15:23:44 2015 -0500 flowbox: Add element names The names used here are flowbox and flowboxchild. gtk/gtkflowbox.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 527f4f44c167fd902349d81efe61b672b7668f09 Author: Matthias Clasen Date: Thu Nov 5 13:53:43 2015 -0500 Adwaita: Update listbox styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 60 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 459 ++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 541 +++++++++++++++---------------- 3 files changed, 495 insertions(+), 565 deletions(-) commit 94e675257a5ad504fbc1bc8dd2a4a78a3208baa2 Author: Matthias Clasen Date: Thu Nov 5 13:51:58 2015 -0500 placessidebar: Use the same element name for rows Use row as the element name here too. gtk/gtksidebarrow.c | 1 + 1 file changed, 1 insertion(+) commit 4f29b4a348cdf6cdc322c5b7396f8c6adce91432 Author: Matthias Clasen Date: Thu Nov 5 13:48:02 2015 -0500 listbox: Add element names The names used here are list and row. gtk/gtklistbox.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 92a5eccc3deddaf0772b839c18c54c74b54f1ff1 Author: Matthias Clasen Date: Thu Nov 5 12:53:46 2015 -0500 aspect frame: Use an element name gtk/gtkaspectframe.c | 6 ++++++ 1 file changed, 6 insertions(+) commit cd798d5aed6b008d39eba8f31d0823075988edc8 Author: Matthias Clasen Date: Thu Nov 5 10:51:54 2015 -0500 places sidebar: Document style classes Document the style classes that GtkPlacesSidebar uses on its rows. gtk/gtkplacessidebar.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5744c757c21e359556dc246cd4c87fba218e4d6c Author: Alexander Larsson Date: Thu Nov 5 16:25:59 2015 +0100 gtk3-demo: Add open file to the application demo demos/gtk-demo/application.c | 90 ++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 87 insertions(+), 3 deletions(-) commit 13c2717d88d46234a61de2035df7c948c3ab157b Author: Alexander Larsson Date: Thu Nov 5 15:59:08 2015 +0100 docs: Move GtkNativeDialog section to "abstract base classes" docs/reference/gtk/gtk-docs.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0db50dcea9dba7d473446fb154a60cbba4c224ee Author: Alexander Larsson Date: Thu Nov 5 15:18:57 2015 +0100 Mention native file choosers in NEWS NEWS | 3 +++ 1 file changed, 3 insertions(+) commit 5e50abf411a3b8bc56d91a183868dbe3d4ae2af1 Author: Alexander Larsson Date: Mon Nov 2 16:19:02 2015 +0100 testgtk: Add native dialog tests tests/testgtk.c | 357 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 357 insertions(+) commit b3d02671ca9d0120a56fb3e4f581c8ee2866b159 Author: Alexander Larsson Date: Thu Oct 29 15:13:14 2015 +0100 GtkFileChooserButton: Use native dialogs Unless you explicitly set the dialog constructor property we use a native dialog (GtkFileChooserNative). gtk/gtkfilechooserbutton.c | 231 ++++++++++++++++++++++++++++++--------------- 1 file changed, 153 insertions(+), 78 deletions(-) commit 5094900180ac97e6bba2f86ee702d0649e019e6a Author: Alexander Larsson Date: Thu Oct 29 15:06:57 2015 +0100 GtkFileChooserNative: Fallback and win32 implementation This is a subclass on GtkNativeDialog that uses GtkFileChooserDialog as a fallback, but also has support for the win32 file chooser dialog. docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-sections.txt | 19 + gtk/Makefile.am | 4 + gtk/gtk.h | 1 + gtk/gtkfilechooserdialog.c | 7 +- gtk/gtkfilechoosernative.c | 656 +++++++++++++++++++++++++++++ gtk/gtkfilechoosernative.h | 56 +++ gtk/gtkfilechoosernativeprivate.h | 53 +++ gtk/gtkfilechoosernativewin32.c | 778 +++++++++++++++++++++++++++++++++++ 9 files changed, 1574 insertions(+), 1 deletion(-) commit 693db082a158952efd5a326a62814490c3c8f6ad Author: Alexander Larsson Date: Tue Nov 3 14:52:42 2015 +0100 GtkFileFilter: Add private function to represent filter as pattern This will be needed for the win32 native file chooser which does not support mimetype sniffing. gtk/Makefile.am | 1 + gtk/gtkfilefilter.c | 49 +++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkfilefilterprivate.h | 30 ++++++++++++++++++++++++++++ 3 files changed, 79 insertions(+), 1 deletion(-) commit 81cef0091e19874fed5dd4aadb136a7518a6d662 Author: Alexander Larsson Date: Thu Oct 29 14:59:48 2015 +0100 Add GtkNativeDialog abstract base class This is a base class that essentially mirrors GtkDialog, but it is not a GtkWindow, as the actual implemetation will be using native code. The base class has show and hide vfuncs, as well as a helper function to run the dialog in a modal fashion. This will be later used by the native file chooser dialog. docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-sections.txt | 21 ++ gtk/Makefile.am | 3 + gtk/gtk.h | 1 + gtk/gtknativedialog.c | 635 +++++++++++++++++++++++++++++++++++ gtk/gtknativedialog.h | 79 +++++ gtk/gtknativedialogprivate.h | 31 ++ 7 files changed, 771 insertions(+) commit 0f6c7682b3a11d932e34a3a0bb078d9b4503de3f Author: Alexander Larsson Date: Thu Oct 29 14:55:48 2015 +0100 Make GtkFileChooser interface require a GObject Before all GtkFileChooser implementations had to be a GtkWidget, but we want to introduce one for native implementations that is not a widget. This is technically an ABI break, because some code could rely on the guarantee that GtkFileChoosers are GtkWidgets and do unchecked GtkWidget calls. However, that does seem unlikely, and this has not really been documented anywhere. NEWS | 5 +++++ README.in | 9 +++++++++ gtk/gtkfilechooser.c | 2 +- 3 files changed, 15 insertions(+), 1 deletion(-) commit 1c46a02bcbfd70c1323e7dc661526b92e4487a27 Author: Alexander Larsson Date: Thu Oct 29 15:17:44 2015 +0100 TreeModelFilter: Fix uninitialized memory read. We were copying an iterator that sometimes was not initialized, which caused debugger warnings in VS2015. gtk/gtktreemodelfilter.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 199e35fa5c9f9630913c0cf8c35a1f18b93446bb Author: Matthias Clasen Date: Thu Nov 5 10:41:53 2015 -0500 HighContrast: Update places sidebar styling Use the new element name. gtk/theme/HighContrast/_common.scss | 24 +++++----- gtk/theme/HighContrast/gtk.css | 91 +++++++++++++++++++++++-------------- 2 files changed, 69 insertions(+), 46 deletions(-) commit 35eaca27e4e0004348e63fa63c5c125dc193c7d9 Author: Matthias Clasen Date: Thu Nov 5 10:38:01 2015 -0500 Adwaita: Update places sidebar styling Use the new element name. gtk/theme/Adwaita/_common.scss | 23 ++++++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 26 +++++++++++++++++++++----- 3 files changed, 48 insertions(+), 27 deletions(-) commit de3ad3781cfe9b46a304a4d2ded4c9e53fae0fe2 Author: Matthias Clasen Date: Thu Nov 5 10:36:17 2015 -0500 placessidebar: Use an element name Set the element name placessidebar. gtk/gtkplacessidebar.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit f327ef3cf1a2301fd5758d73eece177450577440 Author: Matthias Clasen Date: Thu Nov 5 10:32:04 2015 -0500 scrolledwindow: Use permanent CSS nodes This avoids false inheritance due to gtk_style_context_save_named(), and is generally the right thing to do. gtk/gtkscrolledwindow.c | 73 ++++++++++++++++++++++++++++--------------------- 1 file changed, 42 insertions(+), 31 deletions(-) commit 4ed47e757fd0c5abf04a4f8341f0796f6afd696f Author: Matthias Clasen Date: Thu Nov 5 09:41:10 2015 -0500 Fix a crash with steppers The introduction of the trough node was not properly carried into the code constructing stepper nodes, and was causing assertion failures there. This was only showing up on Windows, since Adwaita and HighContrast don't have steppers. gtk/gtkrange.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 7b3cda2cd5160c4d8d13c7346836aad97d52ce8c Author: Matthias Clasen Date: Thu Nov 5 09:09:33 2015 -0500 gtk3-demo: Drop .sidebar class This makes no visual difference at all, and the .sidebar class is causing some complications with the current CSS node transition. demos/gtk-demo/main.ui | 3 --- 1 file changed, 3 deletions(-) commit 4247e42411e6bebf199c40093a32b23103c86950 Author: Matthias Clasen Date: Thu Nov 5 09:08:20 2015 -0500 stack sidebar: Remove an unused variable gtk/gtkstacksidebar.c | 1 - 1 file changed, 1 deletion(-) commit 820a8c2c7f99b24fcc0294e0c11d8e0ccb61b7ad Author: Benjamin Otte Date: Thu Nov 5 15:22:05 2015 +0100 checkmenuitem: Update CSS nodes on set_active() The function only doesn't notify(). It is supposed to handle CSS changes. gtk/gtkcheckmenuitem.c | 1 + 1 file changed, 1 insertion(+) commit c7491fa1443a0e141f532982bbe6d32e82c57f5e Author: Benjamin Otte Date: Thu Nov 5 04:06:09 2015 +0100 stack: Store actual widget size, not preferred size This is just a cleanup commit, no actual bug. gtk/gtkstack.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 4d524ab469425976fa9bbe5d03f75d6feb69a8a0 Author: Carlos Garnacho Date: Thu Nov 5 13:13:37 2015 +0100 widget: Avoid critical warnings when disconnecting plain GtkEventControllers This signal is only set on GtkGesture objects, so check it's really there before disconnecting. gtk/gtkwidget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 66d2c9e6fa20a5f676d9ad6957a5d9c93fcca300 Author: Matthias Clasen Date: Thu Nov 5 08:18:38 2015 -0500 Adwaita: Update stack sidebar styling We no longer use the .sidebar-item style class. gtk/theme/Adwaita/_common.scss | 20 +++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 23 insertions(+), 21 deletions(-) commit 87deb25dc30343e9426597c67d89c3f5d2ad9115 Author: Matthias Clasen Date: Thu Nov 5 08:18:06 2015 -0500 stack sidebar: Drop the .sidebar-item style class It is not needed to achieve the desired theming. gtk/gtkstacksidebar.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit c59ef7bf2fb9e496f051d6a69a1bbb5d4ac34c77 Author: Matthias Clasen Date: Thu Nov 5 08:17:49 2015 -0500 stack switcher: Clarify CSS documentation gtk/gtkstackswitcher.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 37c923ad8a27f290bceb8c1908c5e3a1ed15e101 Author: Matthias Clasen Date: Thu Nov 5 07:45:39 2015 -0500 HighContrast: Update filechooser styling Update for changes in previous commit. gtk/theme/HighContrast/_common.scss | 20 ++++++-------------- gtk/theme/HighContrast/gtk.css | 18 ++++++------------ 2 files changed, 12 insertions(+), 26 deletions(-) commit 87c6ae1c186029872c9ffa01ba728faf7098c1d8 Author: Matthias Clasen Date: Thu Nov 5 07:44:29 2015 -0500 Adwaita: Update searchbar styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 23 +++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 58 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 58 +++++++++++++++++--------------- 3 files changed, 70 insertions(+), 69 deletions(-) commit bec58dc39e1c4280561a6fca6ff59c461b3d9e16 Author: Matthias Clasen Date: Thu Nov 5 07:44:04 2015 -0500 searchbar: Stop adding a style class We have an element name now. gtk/gtksearchbar.c | 6 ------ 1 file changed, 6 deletions(-) commit a71bc24184273fa8192f1e62e8570874e784fa2d Author: Matthias Clasen Date: Thu Nov 5 07:40:48 2015 -0500 file chooser: Don't use .search-bar for a box Just use the more general .view class to avoid special-casing the file chooser in the theme. gtk/ui/gtkfilechooserwidget.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2e314940af267852271425ab49ead85eb12bfca6 Author: Matthias Clasen Date: Thu Nov 5 07:23:54 2015 -0500 range: Redraw when slider visiblity changes We were not queuing a draw (and not updating the CSS node) when the slider visibility changed. This was exposed by the Trough button in tests/testscale. Fix this by taking slider visibility into account when deciding whether to queue a draw in response to adjustment changes. gtk/gtkrange.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 8afb4a69e863db563a662bb8c5b2858b53c287ef Author: Matthias Clasen Date: Thu Nov 5 07:01:57 2015 -0500 HighContrast: Update scale styling gtk/theme/HighContrast/_common.scss | 75 ++++++++++++++-------------------- gtk/theme/HighContrast/gtk.css | 80 ++++++++++++++++++------------------- 2 files changed, 69 insertions(+), 86 deletions(-) commit 53ae100e64ffcba063658e429449cf97444fa922 Author: Matthias Clasen Date: Thu Nov 5 06:46:31 2015 -0500 Adwaita: Update scale styling Adapt to the introduction of trough nodes. gtk/theme/Adwaita/_common.scss | 139 +++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 236 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 236 ++++++++++++++++--------------- 3 files changed, 315 insertions(+), 296 deletions(-) commit 07841f269d84267cd90c1baa554d6efc0d2f2f45 Author: Matthias Clasen Date: Thu Nov 5 06:45:24 2015 -0500 scale: Split marks node into two Use separate CSS nodes for the marks above and below the trough. gtk/gtkscale.c | 103 ++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 65 insertions(+), 38 deletions(-) commit 973836d395a481bca46eda37d4df6e9ea9bd2156 Author: Matthias Clasen Date: Thu Nov 5 06:47:10 2015 -0500 range: Add private api to get the trough node This will be needed in range subclasses to position their own subnodes. gtk/gtkrange.c | 6 ++++++ gtk/gtkrangeprivate.h | 3 +++ 2 files changed, 9 insertions(+) commit 9f3deaa496090c6725afa1672b416f7573945073 Author: Matthias Clasen Date: Thu Nov 5 00:29:14 2015 -0500 HighContrast: Update range styling Adjust to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 87 +++++++++++---------- gtk/theme/HighContrast/gtk.css | 151 +++++++++++++++--------------------- 2 files changed, 107 insertions(+), 131 deletions(-) commit 1261aa6fdf4ab08b12c6ff19d057276d6f745ab6 Author: Matthias Clasen Date: Thu Nov 5 00:20:50 2015 -0500 Adwaita: Update range styling Adjust to the changes in the previous commit. This partially undoes the earlier range changes. gtk/theme/Adwaita/_common.scss | 157 ++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 321 +++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 323 +++++++++++++------------------ 3 files changed, 350 insertions(+), 451 deletions(-) commit 2bfb5ad812b8b54f6acc4245a7fe6ce9ea65d236 Author: Matthias Clasen Date: Thu Nov 5 00:20:05 2015 -0500 range: Add a CSS node for the trough This is in sync with what we do elsewhere for troughs. gtk/gtkrange.c | 13 ++++++++++++- gtk/gtkscale.c | 10 ++++++---- gtk/gtkscrollbar.c | 9 +++++---- 3 files changed, 23 insertions(+), 9 deletions(-) commit b6b00c31d7f0eace34f8ea75b75adf1983e108fe Author: Benjamin Otte Date: Wed Nov 4 19:11:14 2015 +0100 stack: Queue a resize/allocate when switching children We only allocate a size to the currently visible child, so we obviously need to rerun allocation when the visible child changes. In the case where the stack is not homogenous, we also need to queue a resize because our size request just changed. gtk/gtkstack.c | 5 +++++ 1 file changed, 5 insertions(+) commit c580a9d01f31496349ca9599e5271f5137e47783 Author: Benjamin Otte Date: Wed Nov 4 19:10:16 2015 +0100 tests: Make stack expand This is to test invisible children are actually resized before they are made visible (which they currrently are not. tests/teststack.c | 1 + 1 file changed, 1 insertion(+) commit 894bd132407e7f7006c88923ce00f60d6b7e283c Author: Matthias Clasen Date: Wed Nov 4 12:43:06 2015 -0500 HighContrast: Update progressbar styling Adjust to the chagnes in the previous commit. This partially undoes the earlier progressbar changes. gtk/theme/HighContrast/_common.scss | 28 +++++++++++++++++----------- gtk/theme/HighContrast/gtk.css | 26 ++++++++++++++------------ 2 files changed, 31 insertions(+), 23 deletions(-) commit 48e605b7a4ab90a9e1161484e1c68eb565c10dc9 Author: Matthias Clasen Date: Wed Nov 4 12:33:06 2015 -0500 Adwaita: Update progressbar styling Adjust to the changes in the previous commit. This partially undoes the earlier progressbar changes. gtk/theme/Adwaita/_common.scss | 24 +++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 27 +++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 27 +++++++++++++++------------ 3 files changed, 45 insertions(+), 33 deletions(-) commit 9d4c78c2d0137e4c33f68add62804c601a0f2c45 Author: Matthias Clasen Date: Wed Nov 4 12:32:15 2015 -0500 progressbar: Add a CSS node for trough This is better, since the trough doesn't fill up the allocation entirely. gtk/gtkprogressbar.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) commit eade244cacb79410314513b5cf105b910ac2fd90 Author: Matthias Clasen Date: Wed Nov 4 12:01:26 2015 -0500 popover: Add the .background style class This style class indicates that something _requires_ a background, which is clearly the case for popovers. gtk/gtkpopover.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit cca5cac9656c789036da5bfa93401aa1a815b6a4 Author: Matthias Clasen Date: Wed Nov 4 11:45:10 2015 -0500 paned: Move .wide to CSS subnode This fits better with our general use of style classes. gtk/gtkpaned.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) commit d40576fb3ee748d633f7c3c0a57be5120edc2cff Author: Matthias Clasen Date: Wed Nov 4 10:11:06 2015 -0500 revealer: Use an element name gtk/gtkrevealer.c | 2 ++ 1 file changed, 2 insertions(+) commit 4fe04ab54a6c60f0f286f94390399efc31f6dea1 Author: Krzesimir Nowak Date: Wed Nov 4 14:19:13 2015 +0100 scrolledwindow: Fix a typo gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 399ab49fbbdacaf616a4dcd64f080ea9b96e9d15 Author: Matthias Clasen Date: Wed Nov 4 07:36:49 2015 -0500 HighContrast: Update scrolled window styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 93 +++++++-------- gtk/theme/HighContrast/_drawing.scss | 2 + gtk/theme/HighContrast/gtk.css | 221 ++++++++++++++++++----------------- 3 files changed, 160 insertions(+), 156 deletions(-) commit 2ef86c94ed33078628af8d890ffeb82196bf77be Author: Matthias Clasen Date: Wed Nov 4 07:30:19 2015 -0500 Adwaita: Update scrolledwindow styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 115 ++++++++-------- gtk/theme/Adwaita/_drawing.scss | 2 + gtk/theme/Adwaita/gtk-contained-dark.css | 226 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 226 ++++++++++++++++--------------- 4 files changed, 286 insertions(+), 283 deletions(-) commit 80af6ff1307d151d27fc8a3f44098a58ed202ec5 Author: Matthias Clasen Date: Wed Nov 4 07:29:33 2015 -0500 scrolledwindow: Port to CSS nodes Change GtkScrolledWindow to use transient named CSS nodes for drawing the overshoot, undershoot and scrollbar junction. gtk/gtkscrolledwindow.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) commit c1ecd1ef9da16c2bbc3b1e735f56dad0c74521ef Author: Emmanuele Bassi Date: Wed Nov 4 11:50:37 2015 +0000 docs: Point at for_scale() variants Using lookup_icon() and lookup_by_gicon() with a size multiplied by a scaling factor is almost certainly going to get worse results than using their for_scale() variants. gtk/gtkicontheme.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit f959b350640040f08fe91d4ac3dff449ae056502 Author: Emmanuele Bassi Date: Wed Nov 4 11:45:41 2015 +0000 docs: Clarify gtk_render_icon()'s behaviour A GdkPixbuf has no scaling factor, so drawing directly from it can only using a scale of 1, to avoid blurry, fuzzy icons. You should be using gtk_render_icon_surface() anyway. gtk/gtkrender.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 452e303ec06bd79d4af98c9e032ab221d0813b4a Author: Emmanuele Bassi Date: Wed Nov 4 11:45:19 2015 +0000 docs: Fix typo in gdk_screen_get_scale_factor() gdk/gdkscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9db30bd0d7496c99f62f50b844be8141b7bedd22 Author: Pedro Albuquerque Date: Wed Nov 4 07:59:07 2015 +0000 Updated Portuguese translation po/pt.po | 2972 ++++++++++---------------------------------------------------- 1 file changed, 474 insertions(+), 2498 deletions(-) commit 21b545109c02d86520ee4b4b329d004870842a30 Author: Pedro Albuquerque Date: Wed Nov 4 07:52:34 2015 +0000 Updated Portuguese translation po-properties/pt.po | 3687 ++++++++++++++++++++++----------------------------- 1 file changed, 1572 insertions(+), 2115 deletions(-) commit b9613cc416f38567af1837a7136695d521d0fea2 Author: Matthias Clasen Date: Wed Nov 4 00:00:56 2015 -0500 inspector: Some improvements to the CSS node tree Set a min-content-height for the property list, and allow horizontal scrolling. gtk/inspector/css-node-tree.ui | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d077f627ef80aebf31efe71cbf15454791d6e7a7 Author: Matthias Clasen Date: Tue Nov 3 23:55:50 2015 -0500 inspector: Really show the selected CSS node Try harder to scroll the selected CSS node into view. gtk/inspector/css-node-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0024358c91e59b9d6af69e4be7f914e6721129eb Author: Matthias Clasen Date: Tue Nov 3 23:35:32 2015 -0500 scale: Fix a crash We can only free the marks_node if there is one. gtk/gtkscale.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 099cde5f80e693f30b4b19f3c12936dc89d9afc0 Author: Matthias Clasen Date: Tue Nov 3 23:27:34 2015 -0500 stack sidebar: Use an element name gtk/gtkstacksidebar.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ead35ee12f4f2c39206f6a90277462a6230c6210 Author: Matthias Clasen Date: Tue Nov 3 23:24:49 2015 -0500 stack switcher: Use an element name gtk/gtkstackswitcher.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ef1bc737b072082ed0c4da68d633822f63eba40f Author: Matthias Clasen Date: Tue Nov 3 23:24:13 2015 -0500 widget-factory: Stop using deprecated API demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 910f4f72baa3b9b273fe9fd9e6523d40eb6d939f Author: Matthias Clasen Date: Tue Nov 3 23:19:28 2015 -0500 stack: Set an element name And it is...stack. gtk/gtkstack.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 8dfb0e728c5a939e5aacb16c3d596f110c7660dc Author: Matthias Clasen Date: Tue Nov 3 23:16:45 2015 -0500 HighContrast: Update range styling Adapt to changes in the previous commit. gtk/theme/HighContrast/_common.scss | 95 ++++++++++--------- gtk/theme/HighContrast/gtk.css | 177 +++++++++++++++++++++--------------- 2 files changed, 149 insertions(+), 123 deletions(-) commit 37ad3628a00a4d639eae8253bfbdf06704c0b159 Author: Matthias Clasen Date: Tue Nov 3 23:12:54 2015 -0500 Adwaita: Update range styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 191 ++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 476 ++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 478 +++++++++++++++++-------------- 3 files changed, 619 insertions(+), 526 deletions(-) commit 8727c8fe24734b4c32f51b8c6be0a159ebfb9db4 Author: Matthias Clasen Date: Tue Nov 3 23:11:52 2015 -0500 range: Convert to CSS nodes Use CSS nodes for GtkScale and GtkScrollbar. See their documentation for details on what subnodes with what names exist. gtk/gtkrange.c | 450 +++++++++++++++++++++++++++++------------------------ gtk/gtkscale.c | 77 +++++++-- gtk/gtkscrollbar.c | 24 ++- 3 files changed, 324 insertions(+), 227 deletions(-) commit 2a6e1498ba96e4710e7e19e2ddffea71f3c941d0 Author: Benjamin Otte Date: Wed Nov 4 05:06:31 2015 +0100 testutils: Deprecate a bunch of ugly functions We've by now disabled and then remved all of the tests that use these functions because they never worked properly. So let's depecate these functions before somebody starts using them. gtk/gtktestutils.c | 18 ++++++++++++++++++ gtk/gtktestutils.h | 18 +++++++++--------- 2 files changed, 27 insertions(+), 9 deletions(-) commit 61db7da2efff78f5f61f4285e091fd2fd37c2952 Author: Benjamin Otte Date: Wed Nov 4 04:50:18 2015 +0100 testsuite: Remove a bunch of broken tests These tests have either been commented out for way too long or use APIs that we don't want to support. testsuite/gtk/Makefile.am | 11 - testsuite/gtk/crossingevents.c | 628 --------- testsuite/gtk/expander.c | 109 -- testsuite/gtk/filechooser.c | 2487 ------------------------------------ testsuite/gtk/testing.c | 304 ----- testsuite/gtk/treeview-scrolling.c | 1473 --------------------- 6 files changed, 5012 deletions(-) commit 24391634b5ac78ddf431da1a50ca1e0ca16795c5 Author: Christian Hergert Date: Tue Nov 3 15:13:51 2015 -0800 stack: GtkStack:interpolate-size should be read/write It looks like the param spec for interpolate-size was copied from the line above it, which is a read only property. There is a setter for interpolate-size, and it is implemented in set_property(). gtk/gtkstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f0a8cf136862d960c6d4985077e0176efa2c738 Author: Christian Hergert Date: Tue Nov 3 14:36:54 2015 -0800 headerbar: remove G_PARAM_CONSTRUCT from custom-title This fixes the ability to sublcass GtkHeaderBar from a UI template which contains a custom element. https://bugzilla.gnome.org/show_bug.cgi?id=757544 gtk/gtkheaderbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d65ba7cf97f332595e6c75c120d7a242d2857392 Author: Benjamin Otte Date: Tue Nov 3 22:51:01 2015 +0100 widget: Queue resize on parent, not self When setting the parent of a widget, queue_resize() on the widget will be optimized away if the widget already had a resize queued. Plus, we do not need to resize the widget as its size request is not going to change. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8e5c7ac028a221800069f325da2c1b0ba95304a0 Author: Matthias Clasen Date: Tue Nov 3 14:24:25 2015 -0500 menu: Add diagrams to CSS documentation gtk/gtkcheckmenuitem.c | 6 ++++++ gtk/gtkmenu.c | 7 +++++++ gtk/gtkmenuitem.c | 6 ++++++ gtk/gtkradiomenuitem.c | 6 ++++++ 4 files changed, 25 insertions(+) commit c389511b8600d2b18f62a776829f596254bf8285 Author: Matthias Clasen Date: Tue Nov 3 14:21:30 2015 -0500 paned: Add diagrams to CSS documentation gtk/gtkpaned.c | 5 +++++ 1 file changed, 5 insertions(+) commit 92e3655ace0ac505c283a054d10332a00157e0bf Author: Matthias Clasen Date: Tue Nov 3 14:19:08 2015 -0500 combo box: Add diagrams to CSS documentation gtk/gtkcombobox.c | 7 ++++++- gtk/gtkcomboboxtext.c | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) commit a7076d1c4ca914e8fb4b148845a085cb7a818947 Author: Matthias Clasen Date: Tue Nov 3 13:49:07 2015 -0500 text view: Add diagram to CSS documentation gtk/gtktextview.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit fc0a222350d64908b1e6738e579bb6edfb28fef4 Author: Matthias Clasen Date: Tue Nov 3 13:39:14 2015 -0500 accel label: Add diagrams to CSS documentation gtk/gtkaccellabel.c | 5 +++++ 1 file changed, 5 insertions(+) commit 332ea5f8ec1b9ffd3adeb8f7fa5286898e2f29ff Author: Matthias Clasen Date: Tue Nov 3 13:37:57 2015 -0500 progressbar: Add diagrams to CSS documentation gtk/gtkprogressbar.c | 5 +++++ 1 file changed, 5 insertions(+) commit 65d959bbc8aa24a97c5dbb56896a2d724c741151 Author: Matthias Clasen Date: Tue Nov 3 13:36:26 2015 -0500 spin button: Add diagrams to CSS documentation gtk/gtkspinbutton.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 870461475a74c9dfb8835ed503702566203e8e2a Author: Matthias Clasen Date: Tue Nov 3 13:28:52 2015 -0500 switch: Add a diagram to CSS node documentation gtk/gtkswitch.c | 5 +++++ 1 file changed, 5 insertions(+) commit 1f01b8d52ae869dac49b75220db8f739b5971e03 Author: Benjamin Otte Date: Tue Nov 3 18:53:45 2015 +0100 widget: Queue an allocate on hide This makes sure that hidden widgets always have priv->alloc_needed set on them. The constructor sets that flag, so we want to have it back when we revert to this state. This fixes GtkWindow skipping a size_allocate() when reshowing a previously hidden window and thereby not updating its allocation and clip. And that in turn would lead to draws not happening and us beig left with a black window. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 09f7c8511bf9dd6d597411d922b11c0a1c429ed9 Author: Matthias Clasen Date: Tue Nov 3 12:51:52 2015 -0500 model button: Add diagrams to the CSS node documentation gtk/gtkmodelbutton.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 19b34a44b232d6b86700382ade1daced9d601a60 Author: Matthias Clasen Date: Tue Nov 3 12:20:53 2015 -0500 model button: Complete the CSS node conversion There was still style context saving in the draw function, and the CSS node was not always properly updated and positioned. Fix these things, and use the same CSS node for the arrow drawing as well. gtk/gtkmodelbutton.c | 138 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 100 insertions(+), 38 deletions(-) commit 6791c1413df55052f4dc270c644acac976dcd89a Author: Matthias Clasen Date: Tue Nov 3 10:43:48 2015 -0500 list box: Remove an unused static gtk/gtklistbox.c | 2 -- 1 file changed, 2 deletions(-) commit 77e99039fc84f58d1733b1cac16d39dbd08f6aaa Author: Matthias Clasen Date: Tue Nov 3 10:41:49 2015 -0500 file chooser button: Remove an unused variable gtk/gtkfilechooserbutton.c | 2 -- 1 file changed, 2 deletions(-) commit 67b739b58a8b7a3c20100fdab599abc437042723 Author: Matthias Clasen Date: Tue Nov 3 10:17:41 2015 -0500 button: Add diagrams to CSS node docs for buttons gtk/gtkcheckbutton.c | 10 ++++++++++ gtk/gtkradiobutton.c | 10 ++++++++++ 2 files changed, 20 insertions(+) commit 6328cf5ee5d233c90f8cf406a83a57c1745ebd6d Author: Matthias Clasen Date: Tue Nov 3 09:53:00 2015 -0500 entry: Add a diagram to CSS node docs gtk/gtkentry.c | 7 +++++++ 1 file changed, 7 insertions(+) commit c711906f8c26123b1f97b00538652b119eaef9c1 Author: Matthias Clasen Date: Tue Nov 3 07:42:05 2015 -0500 inspector: Replace a use of gtk_button_set_focus_on_click It is deprecated now. gtk/inspector/strv-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit de50012371233e11e439a2e592d765b0dbfcc453 Author: Florian Müllner Date: Fri Oct 23 22:43:11 2015 +0200 listbox: Implement :focus-on-click Similar to buttons-in-toolbars, it can make sense for listbox rows to not take away the focus from the main application view, for instance when used for navigation. Support this by taking the newly added GtkWidget:focus-on-click property into account. https://bugzilla.gnome.org/show_bug.cgi?id=757269 gtk/gtklistbox.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit e364ae3ea8ac72e636bb1dd91d98814b655e844e Author: Florian Müllner Date: Fri Oct 23 22:13:30 2015 +0200 Use gtk_widget_set_focus_on_click() instead of deprecated setters https://bugzilla.gnome.org/show_bug.cgi?id=757269 gtk/gtkentry.c | 2 +- gtk/gtkfilechooserdialog.c | 2 +- gtk/gtkpathbar.c | 2 +- gtk/gtkstackswitcher.c | 2 +- gtk/gtktextview.c | 2 +- gtk/gtktoolbar.c | 2 +- gtk/gtktoolbutton.c | 2 +- gtk/gtktoolitemgroup.c | 5 ++--- gtk/inspector/window.c | 2 +- 9 files changed, 10 insertions(+), 11 deletions(-) commit 9a29a2768b81395eb21db5bd8762c419b0e30a8f Author: Florian Müllner Date: Fri Oct 23 18:39:01 2015 +0200 Deprecate widget-specific :focus-on-click properties The differences between the existing properties and the newly added GtkWidget:focus-on-click property are minimal (different owner_type in GParamSpec), so it is extremely unlikely that dropping the former would break anything. https://bugzilla.gnome.org/show_bug.cgi?id=757269 gtk/gtkbutton.c | 32 +++----------------------------- gtk/gtkbutton.h | 4 ++-- gtk/gtkbuttonprivate.h | 1 - gtk/gtkcombobox.c | 39 ++++----------------------------------- gtk/gtkcombobox.h | 4 ++-- gtk/gtkfilechooserbutton.c | 42 ++---------------------------------------- gtk/gtkfilechooserbutton.h | 4 ++-- 7 files changed, 15 insertions(+), 111 deletions(-) commit ebdf5f581d4e93c577f4cdb2e47e30e393e61157 Author: Florian Müllner Date: Fri Oct 23 18:07:41 2015 +0200 widget: Add :focus-on-click property There are currently three widget that implement such a property, and there are other widgets for which the behavior can make sense. It seems like a good time to add the property to GtkWidget itself so subclasses can choose to respect it without adding their own property. https://bugzilla.gnome.org/show_bug.cgi?id=757269 gtk/gtkwidget.c | 82 +++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkwidget.h | 5 +++ gtk/gtkwidgetprivate.h | 1 + 3 files changed, 87 insertions(+), 1 deletion(-) commit 7d8a3a52ce445bb0c0fe6a4e30526e1bc864fc4f Author: Carlos Garnacho Date: Fri Oct 16 19:52:50 2015 +0200 GdkDevice: Do not free construct-only properties data on dispose() Those are not references to other objects, and the device will be mostly useless if those can't be set again anyway. https://bugzilla.gnome.org/show_bug.cgi?id=756625 gdk/gdkdevice.c | 36 +++++++++++++++++++++--------------- 1 file changed, 21 insertions(+), 15 deletions(-) commit 4f61fd09c565a7911201255865fa124b9bf5705a Author: Carlos Garnacho Date: Thu Oct 22 18:14:01 2015 +0200 texthandle: Request raising of text handle popovers. https://bugzilla.gnome.org/show_bug.cgi?id=756670 gtk/gtktexthandle.c | 1 + 1 file changed, 1 insertion(+) commit 9d1b8dfc61aaf88a4bb4c64a35acdf02ca1db4da Author: Carlos Garnacho Date: Thu Oct 22 18:13:19 2015 +0200 popover: Request raise on ::show This way latest shown popovers are ensured to be on top. https://bugzilla.gnome.org/show_bug.cgi?id=756670 gtk/gtkpopover.c | 3 +++ 1 file changed, 3 insertions(+) commit fa3e0be80c67fadfc724493634205bbbef381aa5 Author: Carlos Garnacho Date: Thu Oct 22 18:09:23 2015 +0200 GtkWindow: make popover stacking explicit The list of popovers will specify the stacking order, a _gtk_window_raise_popover() private call has been added so popover widgets can request being on top. Also, the stacking on popovers is ensured on gtk_window_size_allocate(), after the size/stacking changes on the child widget have finished, this will ensure popovers are kept on top of window contents. https://bugzilla.gnome.org/show_bug.cgi?id=756670 gtk/gtkwindow.c | 43 +++++++++++++++++++++++++++++++++++++++++-- gtk/gtkwindowprivate.h | 2 ++ 2 files changed, 43 insertions(+), 2 deletions(-) commit 29dd395b7a5b8af0af55c12763e470f1daec287b Author: Carlos Garnacho Date: Fri Oct 30 14:10:19 2015 +0100 x11: Detect single-touch touchscreens as GDK_SOURCE_TOUCHSCREEN Those won't have ABS_MT_* axes, so won't be reported has having XITouchClassInfo. Fallback on these to checking whether abs x/y axes are available. After the Wacom checks, any remaining device with absolute axes should be touchscreens, and GDK_SOURCE_MOUSE does indeed just make sense on devices with relative axes. https://bugzilla.gnome.org/show_bug.cgi?id=757358 gdk/x11/gdkdevicemanager-xi2.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit b3b4282beb9930b3d1688ff19f8016f35998427d Author: Dhiru Kholia Date: Tue Oct 27 22:08:59 2015 +0100 Fix a memory leak in gtk-3.0.m4 file This fix is inspired by, https://git.gnome.org/browse/glib/tree/m4macros/glib-2.0.m4 https://bugzilla.gnome.org/show_bug.cgi?id=757221 m4macros/gtk-3.0.m4 | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit a5b1cdd0c1178cbebc86a116645c2ecac62aaf65 Author: Olivier Fourdan Date: Fri Oct 30 17:38:25 2015 +0100 GtkWindow: Fix the shadow width logic Previous commit 305b34a "GtkWindow: fix move/get position with CSD" introduced a regression because some windows presumably use shadows but actually don't, resulting in a negative offset being wrongly applied. Problem is that get_shadow_width() would return non-zero shadows even for windows that have no shadow, thus causing the negative offset. Fix the logic in get_shadow_width() and gtk_window_should_use_csd() so that get_shadow_width() returns accurate values. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 9f04efd316d384c8f7a99396713956e16814f478 Author: Matthias Clasen Date: Mon Nov 2 23:49:38 2015 -0500 Adwaita: Update menubar styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 11 insertions(+) commit a0d7b609e3f4123993c3572234dae4be9c1b14bf Author: Matthias Clasen Date: Mon Nov 2 23:49:20 2015 -0500 menubar: Use an element name gtk/gtkmenubar.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit b6112c6ed6d6a82c4822e3cb16270edc89ae42b7 Author: Matthias Clasen Date: Mon Nov 2 23:43:58 2015 -0500 Adwaita: Update menu item styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 15 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 65 +++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 65 +++++++++++++++----------------- 3 files changed, 69 insertions(+), 76 deletions(-) commit aede5c65d336e288f3054f7ada888031f68b366d Author: Matthias Clasen Date: Mon Nov 2 23:42:14 2015 -0500 menu item: Use CSS nodes Use the element name menuitem for GtkMenuItem, GtkCheckMenuItem and GtkRadioMenuItem. GtkSeparatorMenuItem gets the name separator. Add a subnode with name arrow if a submenu is attached. Give the radio and check menu items a subnode with name check or radio. gtk/gtkcheckmenuitem.c | 150 ++++++++++++++++++++++++++++++++++++++------- gtk/gtkmenuitem.c | 125 +++++++++++++++++++++++++++++++------ gtk/gtkmenuitemprivate.h | 3 + gtk/gtkradiomenuitem.c | 5 ++ gtk/gtkseparatormenuitem.c | 7 ++- 5 files changed, 247 insertions(+), 43 deletions(-) commit ac553d7e44f44e161c204a04ab8480a9b619304c Author: Matthias Clasen Date: Mon Nov 2 23:06:57 2015 -0500 check button: Match documented behavior We were not actually adding the style classes that the documentation is talking about, for the !draw-indicator case. Fix that. gtk/gtkcheckbutton.c | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit dd01f2d4079c0274b98f17bafe9f029ab79df6e6 Author: Matthias Clasen Date: Mon Nov 2 22:20:04 2015 -0500 menu item: Remove an unused member Nobody is reading or writing this field, so we can do without it. gtk/gtkmenuitemprivate.h | 1 - 1 file changed, 1 deletion(-) commit 2ba957364d12984b7810f63431eef1cd05caa4a9 Author: Matthias Clasen Date: Mon Nov 2 21:49:10 2015 -0500 menu: Fix up CSS node ordering Keep the bottom arrow node at the end, where it belongs. gtk/gtkmenu.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 25e01a3937c2e67cf40be2c50aae6d4edac5abc3 Author: Matthias Clasen Date: Mon Nov 2 21:40:40 2015 -0500 menu: Document CSS nodes gtk/gtkmenu.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 0e41ff015ca0b8c20763928691d2610459af1d53 Author: Matthias Clasen Date: Mon Nov 2 21:34:14 2015 -0500 HighContrast: Update menu styling Support the element names introduced in the previous commit. gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk.css | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) commit f8c3e48bd21de865c38abd56ba503f7d47378b98 Author: Matthias Clasen Date: Mon Nov 2 20:47:04 2015 -0500 Adwaita: Update menu styling Support the element names introduced in the previous commit. gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 36 +++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 36 +++++++++++++++++++++----------- 3 files changed, 50 insertions(+), 25 deletions(-) commit 0b52b29dfc05cb042617f14dd2afb85fd4a038a7 Author: Matthias Clasen Date: Mon Nov 2 20:45:46 2015 -0500 menu: Port to use css nodes Use the element name menu for the main node, and use two subnodes with name arrow and style classes .top and .bottom for the arrows of scrolling menus. gtk/gtkmenu.c | 77 ++++++++++++++++++++++++++++++++++++++++++---------- gtk/gtkmenuprivate.h | 4 +++ 2 files changed, 66 insertions(+), 15 deletions(-) commit f6ca908e033269ee458539add9c05eda4a19d2a3 Author: Cosimo Cecchi Date: Mon Nov 2 16:05:07 2015 -0800 menushell: don't call gtk_render_background() GtkMenu and GtkMenuBar, the two implementations of GtkMenuShell in GTK, already draw it. Furthermore, rendering a background here will overdraw any rendering that the subclass will do, such as arrows for scrolling menus. gtk/gtkmenushell.c | 15 --------------- 1 file changed, 15 deletions(-) commit 7cdfee71da41d4ed3c6e81b2695e4bb932e9cd6c Author: Benjamin Otte Date: Mon Nov 2 20:25:09 2015 +0100 inspector: Do not show transient nodes This is kind of a hack the way it's implemented, but it's necessary for performance to ignore transient nodes as they get created all the time (via gtk_style_context_save()) and invalidate the whole treeview. And that causes resizes and redrawing of the treeview and performance of the inspector would go down the drain now that we display a larger part of the node tree. gtk/inspector/gtktreemodelcssnode.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 81de33e906511de827682ea134d92e40429d023a Author: Benjamin Otte Date: Mon Nov 2 20:16:23 2015 +0100 inspector: Always show full CSS node tree Just select the node of the current widget whenever a new one gets selected. gtk/inspector/css-node-tree.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit 96a485d8b22e7ac2bc155350b8d084fd0e0f6292 Author: Benjamin Otte Date: Mon Nov 2 17:04:39 2015 +0100 gdkrgba: Use %g instead of %.17g to print alpha This way 0.3 isn't printed as 0.29999999999999 gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ebb713df5bea611c4e862b69c9f1d5cd6df3a75 Author: Matthias Clasen Date: Mon Nov 2 14:26:50 2015 -0500 HighContrast: Update combobox styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 31 ++++++++++++++------------ gtk/theme/HighContrast/gtk.css | 44 +++++++++++++++++-------------------- 2 files changed, 37 insertions(+), 38 deletions(-) commit 0d12cc33545e2888b2caa190f8de8c4f883f0125 Author: Matthias Clasen Date: Mon Nov 2 14:22:49 2015 -0500 Adwaita: Update combobox styling Adapt to the changes in the previous commit. Some further fixes will be necessary here. gtk/theme/Adwaita/_common.scss | 49 ++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 56 +++++++++++++------------------- gtk/theme/Adwaita/gtk-contained.css | 56 +++++++++++++------------------- 3 files changed, 70 insertions(+), 91 deletions(-) commit d229ea3de163fa92a94bc921f5eb6db11939e9e8 Author: Matthias Clasen Date: Mon Nov 2 13:15:05 2015 -0500 combobox: Use element names Use combobox as the element name for the main CSS nodes of GtkComboBox and GtkComboBoxText. Add the .combo style class to the button and entry. in a GtkComboBox or GtkComboBoxText. gtk/gtkcombobox.c | 16 +++++++++++++++- gtk/ui/gtkcombobox.ui | 3 --- 2 files changed, 15 insertions(+), 4 deletions(-) commit e56bb49407534297fa74c194783301d8fc1bb844 Author: Matthias Clasen Date: Mon Nov 2 12:53:57 2015 -0500 popover: Document differentiating style classes There's a lot of popover variations out there. gtk/gtkpopover.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 13d091f700c4bbaddc3c9cba12746a38838b6f71 Author: Matthias Clasen Date: Mon Nov 2 12:51:00 2015 -0500 button: Mention differentiating style classes There's a lot of button variations out there, lets document the ones we know about. gtk/gtkbutton.c | 5 +++++ 1 file changed, 5 insertions(+) commit 113c88c2cf440ea3ac0e4c325685452494d11ec8 Author: Matthias Clasen Date: Mon Nov 2 12:47:14 2015 -0500 HighContrast: Update magnifier styling Adapt to changes in the previous commit. gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk.css | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) commit 85bfe9ee382ac0c4c0b271c51fbfeb83d32e0490 Author: Matthias Clasen Date: Mon Nov 2 12:46:45 2015 -0500 Adwaita: Update magnifier styling Adapt to changes in the previous commit. gtk/theme/Adwaita/_common.scss | 3 +- gtk/theme/Adwaita/gtk-contained-dark.css | 82 +++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 82 +++++++++++++++++--------------- 3 files changed, 90 insertions(+), 77 deletions(-) commit d5ff9af94e7f044c86eb9aafffdbd2d00c5fb048 Author: Matthias Clasen Date: Mon Nov 2 12:40:38 2015 -0500 entry, textview: Use a dedicated style class for magnifier This will free up "osd" as an application-level style class, and lets us style magnifiers differently. gtk/gtkentry.c | 2 +- gtk/gtktextview.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f2434e7cea0c5194f03c9ca4e357bec4a4f1bc6e Author: Matthias Clasen Date: Mon Nov 2 12:27:36 2015 -0500 file chooser button: Add a style class Unfortunately, GtkFileChooserButton is different from the other pickers in that it is not a button, but rather has a button. We ignore the difference for styling purposes, and just add a .file style class to the button. gtk/ui/gtkfilechooserbutton.ui | 3 +++ 1 file changed, 3 insertions(+) commit 957135a57c9c7eb5c3b334a7528f91f96fd1b820 Author: Matthias Clasen Date: Mon Nov 2 12:21:39 2015 -0500 Adwaita: Fix menu separators These were inadvertedly broken by the element name conversion for regular separators. gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++++-- gtk/theme/Adwaita/gtk-contained.css | 7 +++++-- 3 files changed, 12 insertions(+), 5 deletions(-) commit 9e2b796e77c7143cc3ff1d68f8f35a6b0858856c Author: Cemil Azizoglu Date: Thu Oct 15 12:11:36 2015 -0500 mir: Print hscroll and vscroll values when debugging. Signed-off-by: William Hua gdk/mir/gdkmir-debug.c | 2 ++ 1 file changed, 2 insertions(+) commit 5c53e873b1f6a2af481be850ab6c9e9915b60b3a Author: Benjamin Otte Date: Sun Nov 1 16:45:11 2015 +0100 inspector: Track updates of node styles When the CSS style of a node changes, we want to display the new values in the inspector. This for example allows to see how styles update on hover or during animations. gtk/inspector/css-node-tree.c | 65 ++++++++++++++++++++++++++++++------------- 1 file changed, 45 insertions(+), 20 deletions(-) commit f4c30060beab3c11887a2d6b732154a38d4c8be9 Author: Colomban Wendling Date: Sat Oct 31 23:02:36 2015 +0100 cssnode: Fix style updating when the CSS node ID changes Since 4ebb5781eaf332da3f8ce5ffb5ecc8668a56f118 ID has a specific value, while it used to be the same as NAME. Thus, explicitly list ID as a radical change just like NAME. https://bugzilla.gnome.org/show_bug.cgi?id=757397 gtk/gtkcssnode.c | 2 +- gtk/gtkcsswidgetnode.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 79a3a7800e0babb8cc7f1738ce2d0b0298fbcf8b Author: Colomban Wendling Date: Sun Nov 1 02:31:53 2015 +0100 cssnode: Fix a typo leading to very poor cache hashing gtk/gtkcssnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eef5f27fb49134bf72565d685f1c4a4434cf2615 Author: Colomban Wendling Date: Sun Nov 1 02:35:09 2015 +0100 gtkcontainer: Guard internal use of deprecated public API gtk/gtkcontainer.c | 2 ++ 1 file changed, 2 insertions(+) commit e0f4bf5d3523c65521a5ac0768c5770fb7836bd9 Author: Benjamin Otte Date: Sun Nov 1 02:34:41 2015 +0100 inspector: Store the current node in the priv struct gtk/inspector/css-node-tree.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) commit b89939f5a4554fd8e16169bb77fbcca3e1f6069d Author: Benjamin Otte Date: Sat Oct 31 17:14:14 2015 +0100 inspector: Split out a function gtk/inspector/css-node-tree.c | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) commit 7568d17a1507de88cbaa6264bacf825c0ff60350 Author: Matthias Clasen Date: Sat Oct 31 21:02:36 2015 -0400 toolpalette: Use element names Give the GtkToolPalette and GtkToolItemGroup the element names toolpalette and toolitemgroup. gtk/gtktoolitemgroup.c | 6 ++++++ gtk/gtktoolpalette.c | 6 ++++++ 2 files changed, 12 insertions(+) commit cacc63ea4b887da72a07a938ab9a0cd59d8100e5 Author: Matthias Clasen Date: Sat Oct 31 20:55:51 2015 -0400 HighContrast: Update toolbutton styling gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 28 ++++++++++++++-------------- 2 files changed, 16 insertions(+), 16 deletions(-) commit 1bc2913f524895c25df306af25e965903563cc17 Author: Matthias Clasen Date: Sat Oct 31 20:52:41 2015 -0400 Adwaita: Update tool button styling gtk/theme/Adwaita/_common.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 146 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 146 +++++++++++++++---------------- 3 files changed, 149 insertions(+), 149 deletions(-) commit 4323dd34f3bd3caf7be854f978e3742ba1b0965e Author: Matthias Clasen Date: Sat Oct 31 20:52:09 2015 -0400 tool button: Add an element name Unsurprisingly, it is toolbutton. gtk/gtktoolbutton.c | 6 ++++++ 1 file changed, 6 insertions(+) commit dba8eba6dbd309ddda7b1a07184f6fafe8f8574e Author: Matthias Clasen Date: Sat Oct 31 20:43:07 2015 -0400 HighContrast: Update toolbar styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk.css | 30 +++++++++++++++--------------- 2 files changed, 18 insertions(+), 18 deletions(-) commit 5ffd54aca88006fda489fbd6f5c07a77ebfdf72a Author: Matthias Clasen Date: Sat Oct 31 20:42:41 2015 -0400 Adwaita: Update toolbar styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 14 +++---- gtk/theme/Adwaita/gtk-contained-dark.css | 70 ++++++-------------------------- gtk/theme/Adwaita/gtk-contained.css | 70 ++++++-------------------------- 3 files changed, 31 insertions(+), 123 deletions(-) commit 7ee7019ca744107b69a3b9dd0b632edc9341e86c Author: Matthias Clasen Date: Sat Oct 31 20:30:56 2015 -0400 toolbar: Use an element name instead of a style class The element name is ... toolbar. gtk/gtktoolbar.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 479d64e89ac2a1e7b1e6f4f91b31edd8bdaef4cc Author: Matthias Clasen Date: Sat Oct 31 20:30:03 2015 -0400 progress bar: Add CSS documentation gtk/gtkprogressbar.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ca385af3c491523bf449c02403640ed08e043a4b Author: Matthias Clasen Date: Sat Oct 31 20:24:46 2015 -0400 HighContrast: Update progressbar styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 52 ++++++++++++++++--------------------- gtk/theme/HighContrast/gtk.css | 45 +++++++++++++++----------------- 2 files changed, 44 insertions(+), 53 deletions(-) commit 71afd762ed259abe05618674007b05d49993a68c Author: Matthias Clasen Date: Sat Oct 31 20:24:19 2015 -0400 Adwaita: Update progressbar styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 56 +++++++++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 67 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 67 ++++++++++++++++---------------- 3 files changed, 95 insertions(+), 95 deletions(-) commit 73704d98cce5ccf69dde88762440e8da711c21fb Author: Matthias Clasen Date: Sat Oct 31 20:20:13 2015 -0400 progressbar: Convert to CSS nodes Use the element names progressbar and progress. gtk/gtkprogressbar.c | 179 ++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 140 insertions(+), 39 deletions(-) commit bab20f1d10559903b77091fc75a1bc2f222d20df Author: Matthias Clasen Date: Sat Oct 31 19:23:47 2015 -0400 trivial formatting fix gtk/gtkswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ea33d82ed1f0c39696914db53b7c833961c1660 Author: Matthias Clasen Date: Sat Oct 31 19:19:53 2015 -0400 Remove a duplicate include gtk/gtkswitch.c | 1 - 1 file changed, 1 deletion(-) commit d3abd83330851dc75ea8f7b9e8c437544d2ea30c Author: Matthias Clasen Date: Sat Oct 31 19:13:32 2015 -0400 Adwaita: Fix up color button styling There was one forgotten instance of the GtkColorSwatch type name. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 7465601c1ea42b1e26782c5fbf25492fd40e15d7 Author: Matthias Clasen Date: Sat Oct 31 19:11:18 2015 -0400 HighContrast: Update the frame styling Adapt to the changes in the previous commit. gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk.css | 4 ++++ 2 files changed, 5 insertions(+) commit 3de78decd41ff9785674d10940fdb7c62fa77b8c Author: Matthias Clasen Date: Sat Oct 31 19:10:52 2015 -0400 Adwaita: Update frame styling Adapt to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++++- gtk/theme/Adwaita/gtk-contained.css | 6 +++++- 3 files changed, 12 insertions(+), 3 deletions(-) commit aa5dc38b0df3719a3407f8471c50b0355c113b5f Author: Matthias Clasen Date: Sat Oct 31 19:09:46 2015 -0400 frame: Use an element name instead of a style class Unsurprisingly, the element name is ... frame. gtk/gtkframe.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 1f585151fd07c40fd1dd8600bc342f4db036bce9 Author: Matthias Clasen Date: Sat Oct 31 18:13:29 2015 -0400 Load settings.ini from all data dirs An error in the loading function was making us load the file from the first data dir repeatedly, instead. https://bugzilla.gnome.org/show_bug.cgi?id=757377 gtk/gtksettings.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 8606e57910fb3ea4c66448702ee7e3bb73f3c29d Author: Paolo Borelli Date: Thu Oct 29 17:20:54 2015 +0100 win32: handle WM_DISPLAYCHANGE globally Instead of handling WM_DISPLAYCHANGE on every GdkWindow, only handle it on an ad-hoc hidden window we create when opening the display. This has two reasons: 1) we want emit the display::size-changed signal even if there are no gtk windows currently open 2) we want to emit the signal just once and not once for every window https://bugzilla.gnome.org/show_bug.cgi?id=757324 gdk/win32/gdkdisplay-win32.c | 84 ++++++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkdisplay-win32.h | 2 ++ gdk/win32/gdkevents-win32.c | 12 ------- 3 files changed, 84 insertions(+), 14 deletions(-) commit e2e198aae4b6f524c30e8215d44fa7507171b36b Author: Matthias Clasen Date: Sat Oct 31 00:08:00 2015 -0400 model button: Propagate state Propagate the state to the CSS node for the indicator. gtk/gtkmodelbutton.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit b6fda5dc0a847c582f53d984f439c4e449797f33 Author: Matthias Clasen Date: Sat Oct 31 00:07:19 2015 -0400 inspector: Show CSS node state This is useful when debugging state propagation issues between CSS nodes. gtk/inspector/css-node-tree.c | 36 ++++++++++++++++++++++++++++++++++++ gtk/inspector/css-node-tree.ui | 13 +++++++++++++ 2 files changed, 49 insertions(+) commit c265b581815fa3db596fd1276429bd506b9dbd43 Author: Matthias Clasen Date: Fri Oct 30 23:49:44 2015 -0400 HighContrast: adjust message dialog styling gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 48 ++++++++++++++++++------------------- 2 files changed, 26 insertions(+), 26 deletions(-) commit d70d5ea6ec97481518f16e36884d3da368c56a25 Author: Matthias Clasen Date: Fri Oct 30 23:49:17 2015 -0400 adwaita: Adjust message dialog styling gtk/theme/Adwaita/_common.scss | 6 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 76 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 78 ++++++++++++++++---------------- 3 files changed, 82 insertions(+), 78 deletions(-) commit 4fe1b9589ee2d0df1afb6f8f822cbfb30854c6e0 Author: Matthias Clasen Date: Fri Oct 30 23:48:46 2015 -0400 message dialog: Use an element name gtk/gtkmessagedialog.c | 2 ++ gtk/ui/gtkmessagedialog.ui | 3 --- 2 files changed, 2 insertions(+), 3 deletions(-) commit dfedda3deefc16a5ef8c45218dd600f81fd16d71 Author: Matthias Clasen Date: Fri Oct 30 22:16:18 2015 -0400 color editor: Redo the non-activatable color swatch Use a .activatable style class on the color swatch and tie the hover effect to it. The color editor simply removes this class now to get an inert color swatch. This is more flexible and lets us avoid referring to the GtkColorEditor type in the theme. gtk/gtkcoloreditor.c | 2 ++ gtk/gtkcolorswatch.c | 8 ++++++++ gtk/theme/Adwaita/_common.scss | 14 ++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 11 ++--------- gtk/theme/Adwaita/gtk-contained.css | 11 ++--------- gtk/theme/HighContrast/_common.scss | 14 ++------------ gtk/theme/HighContrast/gtk.css | 9 +-------- 7 files changed, 19 insertions(+), 50 deletions(-) commit 42a231a61c609f095a58f82a620a147890261435 Author: Matthias Clasen Date: Fri Oct 30 21:46:36 2015 -0400 HighContrast: Adapt to color swatch changes This needs more work and simplification. gtk/theme/HighContrast/_common.scss | 24 +++++++++--------- gtk/theme/HighContrast/gtk.css | 50 ++++++++++++++++++------------------- 2 files changed, 37 insertions(+), 37 deletions(-) commit 4e8aea012e081c84351e3abb2459926e519a88d8 Author: Matthias Clasen Date: Fri Oct 30 21:44:19 2015 -0400 Adwaita: Adapt to color swatch changes This needs more work and simplification. gtk/theme/Adwaita/_common.scss | 40 ++++++++++----------- gtk/theme/Adwaita/gtk-contained-dark.css | 62 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 62 ++++++++++++++++---------------- 3 files changed, 82 insertions(+), 82 deletions(-) commit 5ec9b330b3cd42b97e08b44b7272ada32e0b3a47 Author: Matthias Clasen Date: Fri Oct 30 21:43:50 2015 -0400 swatch fixup gtk/gtkcolorswatch.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit e5d3c8dbae11e8e537eec25a663696fb63876f9a Author: Matthias Clasen Date: Fri Oct 30 21:29:46 2015 -0400 color swatch: Convert to CSS nodes Convert GtkColorSwatch to use the two elements colorswatch and image. gtk/gtkcolorswatch.c | 53 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) commit e3ef2c48d5fc8aecdb1b24a68bb45c25e8697360 Author: Matthias Clasen Date: Fri Oct 30 21:00:01 2015 -0400 text view: Add css node docs gtk/gtktextview.c | 7 +++++++ 1 file changed, 7 insertions(+) commit a4a3736461d2c98a8029d100f0e6a7e188e91dd0 Author: Matthias Clasen Date: Fri Oct 30 19:58:11 2015 -0400 HighContrast: Update textview styling Some updates to make text appear as usual. gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk.css | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) commit b39601bcc150e0bf49489ff1cb1c95a443f82987 Author: Matthias Clasen Date: Fri Oct 30 19:55:42 2015 -0400 Adwaita: Update textview styling Some updates to make text appear as usual. The border windows probably need some more work. gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 26 +++++++++++++++++++------- 3 files changed, 40 insertions(+), 15 deletions(-) commit 844f60f1f22722b3c27a72e1c981cf499ff945c0 Author: Matthias Clasen Date: Fri Oct 30 19:49:02 2015 -0400 text view: Convert to CSS nodes Use subnodes for the border windows, and add children to the right subnodes. gtk/gtktextview.c | 209 +++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 166 insertions(+), 43 deletions(-) commit 2b998aaad7146b1ac300eefc39ed6fb851a763b8 Author: Matthias Clasen Date: Fri Oct 30 18:11:13 2015 -0400 text view: Set an element name And it will be...drumroll...textview. gtk/gtktextview.c | 1 + 1 file changed, 1 insertion(+) commit ee3799f151ed64ba5acde5ea1e33833608c0076a Author: Matthias Clasen Date: Fri Oct 30 17:44:36 2015 -0400 icon view: Add an element name Not surprising anybody, I decided to call it iconview. gtk/gtkiconview.c | 5 +++++ 1 file changed, 5 insertions(+) commit f97e2599e359fd0d03a777e8c9022ab5c7ed9f7d Author: Matthias Clasen Date: Fri Oct 30 17:38:04 2015 -0400 HighContrast: Adapt to changed treeview names gtk/theme/HighContrast/_common.scss | 43 +++++++++--------- gtk/theme/HighContrast/gtk.css | 89 ++++++++++++++++++------------------- 2 files changed, 66 insertions(+), 66 deletions(-) commit 739e0c17a174366366236b2b31b31d7524cc0ea7 Author: Matthias Clasen Date: Fri Oct 30 17:37:32 2015 -0400 Adwaita: Adapt to changed treeview names gtk/theme/Adwaita/_common.scss | 76 +++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 124 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 124 ++++++++++++++----------------- 3 files changed, 146 insertions(+), 178 deletions(-) commit 5b360a479d576a00b6452599e595063db454cfaf Author: Matthias Clasen Date: Fri Oct 30 17:25:43 2015 -0400 tree view: Rename and document element names The names are now treeview and header. gtk/gtktreeview.c | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit a24dba28ae1bc41b5b3e5a8e2af188cd9a03aa87 Author: Matthias Clasen Date: Fri Oct 30 17:18:06 2015 -0400 HighContrast: Update font button styling Use the new element name and style class. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 2cff7a68f2f971985f53f1f0a47085679d90d30c Author: Matthias Clasen Date: Fri Oct 30 17:17:41 2015 -0400 Adwaita: Update font button styling Use the new element name and style class. 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 bd456ac67b16f3a637b2ef84143de316887442b6 Author: Matthias Clasen Date: Fri Oct 30 17:09:59 2015 -0400 font button: Add an element name Give this GtkButton subclass element name button and style class .font. gtk/gtkfontbutton.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 85d971b40b15a58780a9c16eec3ccecb7a98b7f6 Author: Matthias Clasen Date: Fri Oct 30 12:52:47 2015 -0400 HighContrast: Update paned styling Adapt to the new element names. gtk/theme/HighContrast/_common.scss | 25 ++++++++++++------------- gtk/theme/HighContrast/gtk.css | 27 +++++++++++++++------------ 2 files changed, 27 insertions(+), 25 deletions(-) commit 828faaba64884e0f68c48dbb67d663af6b9e6d43 Author: Matthias Clasen Date: Fri Oct 30 12:50:32 2015 -0400 Adwaita: Update paned styling Adapt to the new element names in the previous commit. This also adds back a selected state which gets used for when the focus is placed on the separator with F8, just so this functionality is not forgotten. gtk/theme/Adwaita/_common.scss | 15 +++++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 18 ++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 18 ++++++++++-------- 3 files changed, 29 insertions(+), 22 deletions(-) commit 0f2ce2bb1c3e91d2723a1fa4d305f38629c67e98 Author: Matthias Clasen Date: Fri Oct 30 12:44:24 2015 -0400 paned: Convert to CSS nodes Add a subnode for the separator, and use it for drawing. gtk/gtkpaned.c | 89 +++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 76 insertions(+), 13 deletions(-) commit cc872f3c08fc3ffe0e83d1d95b42a4290011e9be Author: Piotr Drąg Date: Fri Oct 30 19:52:41 2015 +0100 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 - po-properties/POTFILES.skip | 2 -- po/POTFILES.in | 3 --- 3 files changed, 6 deletions(-) commit 97c1782246ec7b98038a8377789ad358a9ef05ac Author: Matthias Clasen Date: Fri Oct 30 14:51:41 2015 -0400 Update the generated css for the previous commit gtk/theme/Adwaita/gtk-contained-dark.css | 38 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 38 ++++++++++++++++---------------- gtk/theme/HighContrast/gtk.css | 26 ++++++++++++---------- 3 files changed, 52 insertions(+), 50 deletions(-) commit 33ac663b13564b7762e13fa43f4be5c5e99efa5a Author: Timm Bäder Date: Fri Oct 30 15:08:18 2015 +0100 popover: Use element name Pick "popover" and add .menu for popover menus gtk/gtkpopover.c | 14 +++++++++----- gtk/gtkpopovermenu.c | 10 +++++++++- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/HighContrast/_common.scss | 2 +- 4 files changed, 20 insertions(+), 8 deletions(-) commit 50c6a11b050c97f5a3f901340ffb6628c84af6c9 Author: Georges Basile Stavracas Neto Date: Thu Oct 29 10:14:57 2015 -0200 placesview: vertically align path labels The current situation is somewhat sad, with the path label totally misaligned throughout the rows. This is fixed by using a size group for the path labels, so they all have the same allocated size (with the max of 15 chars). Also, instead of hiding the eject button, set it child-invisible, so it is hidden and yet it's size is allocated by GtkBox. https://bugzilla.gnome.org/show_bug.cgi?id=757303 gtk/gtkplacesview.c | 6 ++++++ gtk/gtkplacesviewrow.c | 18 +++++++++++++++++- gtk/gtkplacesviewrowprivate.h | 4 ++++ gtk/ui/gtkplacesviewrow.ui | 4 ++-- 4 files changed, 29 insertions(+), 3 deletions(-) commit 84380b345d93b2a7d5ca6c78e565d3d6ec4ad3e1 Author: Lapo Calamandrei Date: Fri Oct 30 13:17:52 2015 +0100 Adwaita: fix vertical switch styling gtk/theme/Adwaita/_common.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 173 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 169 +++++++++++++++--------------- 3 files changed, 183 insertions(+), 165 deletions(-) commit 0a845fb563941bd5aa38ea459a6e1e1b1fdc6e5f Author: Lapo Calamandrei Date: Fri Oct 30 12:53:44 2015 +0100 Adwaita: fix switch sizing moving -GtkSwitch-slider-width and -GtkSwitch-slider-height from the GtkSwitch selector to the * wildcard selector as other style props. gtk/theme/Adwaita/_common.scss | 11 +++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 7 +++---- gtk/theme/Adwaita/gtk-contained.css | 7 +++---- 3 files changed, 11 insertions(+), 14 deletions(-) commit af3789bb871eaf4d968fef8d066badd5cfb3c228 Author: Matthias Clasen Date: Fri Oct 30 06:49:57 2015 -0400 inspector: Drop the style property list Style properties are now shown for each CSS node in the CSS node tab, so we don't need a separate per-widget tab for this. gtk/inspector/Makefile.inc | 3 - gtk/inspector/init.c | 2 - gtk/inspector/style-prop-list.c | 291 ------------------------------------- gtk/inspector/style-prop-list.h | 59 -------- gtk/inspector/style-prop-list.ui | 138 ------------------ gtk/inspector/style-prop-list.ui.h | 3 - gtk/inspector/window.c | 3 - gtk/inspector/window.ui | 7 - 8 files changed, 506 deletions(-) commit 91af42263bd5a218d25fec087c35a68498b47f67 Author: Matthias Clasen Date: Fri Oct 30 06:37:27 2015 -0400 inspector: Drop the style classes list Style classes can now be added/removed for each CSS node in the CSS node tab, so we don't need a separate per-widget tab for this. gtk/inspector/Makefile.inc | 3 - gtk/inspector/classes-list.c | 328 ---------------------------------------- gtk/inspector/classes-list.h | 59 -------- gtk/inspector/classes-list.ui | 106 ------------- gtk/inspector/classes-list.ui.h | 3 - gtk/inspector/init.c | 2 - gtk/inspector/window.c | 3 - gtk/inspector/window.ui | 7 - 8 files changed, 511 deletions(-) commit 3eec0876abdb595f99ac16366d058d7822482094 Author: Yosef Or Boczko Date: Fri Oct 30 12:26:52 2015 +0200 Updated Hebrew translation po-properties/he.po | 2719 ++++++++++++++++++++++++++------------------------- po/he.po | 551 ++++++----- 2 files changed, 1668 insertions(+), 1602 deletions(-) commit aa6e0ad3f2bd88a1117d663b4e148e72bd3ed074 Author: Matthias Clasen Date: Fri Oct 30 01:21:13 2015 -0400 menu button: Revisit style class one more time Use .popup, which is already in use elsewhere, fits better with the other button differentiating style classes, and does not interfere with menus. gtk/gtkmenubutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c925a840b2c3d9fcf4ecce6a5dd2878b3ee5c045 Author: Matthias Clasen Date: Fri Oct 30 01:16:49 2015 -0400 HighContrast: Update color button styling Adapt to the previous commit. gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit e148876dd4514675df5956230d2706b0998dc780 Author: Matthias Clasen Date: Fri Oct 30 01:16:26 2015 -0400 Adwaita: Update color button styling Adapt to the previous commit. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++++--- gtk/theme/Adwaita/gtk-contained.css | 7 ++++--- 3 files changed, 9 insertions(+), 7 deletions(-) commit 7d18398eebe52da382a2d3255e6de8f49c5b9798 Author: Matthias Clasen Date: Fri Oct 30 01:15:57 2015 -0400 color button: Add a style class Add a .color style class to differentiate this button from the normal ones. gtk/gtkcolorbutton.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 908e046cbd7545280154e1f8228196ee64d51cfb Author: Marek Černocký Date: Fri Oct 30 07:12:33 2015 +0100 Updated Czech translation po/cs.po | 184 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 93 insertions(+), 91 deletions(-) commit 43e2ee31bc92808dec76c00bab98d78a3bb6669f Author: Matthias Clasen Date: Fri Oct 30 01:09:18 2015 -0400 HighContrast: Update headerbar styling Adapt to the previous commit. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 46 ++++++++++++++++++------------------- 2 files changed, 24 insertions(+), 24 deletions(-) commit 40f9a0fe697c6c55c199a93174e3380d1f80422e Author: Matthias Clasen Date: Fri Oct 30 01:08:30 2015 -0400 Adwaita: Update headerbar styling Adapt to the previous commit. gtk/theme/Adwaita/_common.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 768 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 768 ++++++++++++++++--------------- 3 files changed, 817 insertions(+), 725 deletions(-) commit 8c0c0f9c07068286ef3b345bb37e4f91146b57bb Author: Matthias Clasen Date: Fri Oct 30 01:07:58 2015 -0400 headerbar: Use an element name instead of a style class Use the element name headerbar. gtk/gtkheaderbar.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit b9c565b06c43503b881e49ff12d87175b29e9684 Author: Matthias Clasen Date: Fri Oct 30 01:07:27 2015 -0400 Revisit menu button style Change the style class to .menubutton, to avoid interference from GtkMenu theming. gtk/gtkmenubutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ee81f3ee2feae45ecbff698acbb4adac186ac169 Author: Matthias Clasen Date: Fri Oct 30 00:54:37 2015 -0400 menu button: Add a style class Add a .menu style class to differentiate menu buttons from normal ones. gtk/gtkmenubutton.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 2c5e25a5c719e9b3375461adf3502e7fc2110b03 Author: Matthias Clasen Date: Fri Oct 30 00:51:13 2015 -0400 scale button: Add a style class Add a .scale style class to differentiate scale buttons from normal ones. gtk/gtkscalebutton.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 4cd408e8d070d93e40ee346e378a410b2c6438c9 Author: Matthias Clasen Date: Fri Oct 30 00:50:48 2015 -0400 link button: Add a style class Add a .link style class to differentiate link buttons from normal buttons. gtk/gtklinkbutton.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 9e5914ebde6bf7f4aebcaef620a75c129b3a3546 Author: Matthias Clasen Date: Fri Oct 30 00:38:43 2015 -0400 HighContrast: Updates for recent changes This is bit of a grab-bag, it includes fixes for spin buttons, entries, buttons. gtk/theme/HighContrast/_common.scss | 85 ++++--- gtk/theme/HighContrast/gtk.css | 494 ++++++++++++++++++------------------ 2 files changed, 295 insertions(+), 284 deletions(-) commit d0e91ec0887ad0ed49768c00f1f9bdf472dcfa2e Author: Matthias Clasen Date: Fri Oct 30 00:31:02 2015 -0400 Adwaita: Adapt to the button changes The updates here cover the various button variants. gtk/theme/Adwaita/_common.scss | 9 +- gtk/theme/Adwaita/gtk-contained-dark.css | 313 +++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 457 ++++++++++++++++--------------- 3 files changed, 399 insertions(+), 380 deletions(-) commit 8894e4618312f2e33611d83fbc04cfaecebeb7c4 Author: Matthias Clasen Date: Fri Oct 30 00:29:47 2015 -0400 model button: Convert to CSS nodes Follow the same approach as used for the toggle button family: Keep the button element name for button-like rendering, and use a distinct modelbutton name otherwise, and add a subnode for the indicator with name check or radio. gtk/gtkmodelbutton.c | 72 ++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 13 deletions(-) commit c631656f0ca4e13c7a262ed076bc7eda52fe03a1 Author: Matthias Clasen Date: Fri Oct 30 00:27:13 2015 -0400 toggle button: Convert to css nodes Convert GtkToggleButton and its subclasses to CSS nodes. Keep the button element name for when we want to render these button-like (but with .toggle, .check and .radio style classes for differentiation). When we want to render them with an indicator, use distinct element names checkbutton and radiobutton, and add a subnode for the indicator with name check or radio. gtk/Makefile.am | 1 + gtk/gtkcheckbutton.c | 105 ++++++++++++++++++++++++++++++++++++-------- gtk/gtkcheckbuttonprivate.h | 40 +++++++++++++++++ gtk/gtkradiobutton.c | 22 ++++++++-- gtk/gtktogglebutton.c | 18 +++----- 5 files changed, 152 insertions(+), 34 deletions(-) commit 826633b5b7a53aeed47b75455ecac1648f5ba027 Author: Matthias Clasen Date: Fri Oct 30 00:26:04 2015 -0400 lockbutton: Revisit element name Instead of a separate element name, keep button, and just add a .lock style class, to inherit the button theming. gtk/gtklockbutton.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit cc2f1891442f8e73e2207de9726f7b03a9989664 Author: Matthias Clasen Date: Thu Oct 29 23:17:41 2015 -0400 Adwaita: button fixes gtk/theme/Adwaita/_common.scss | 85 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2394 ++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 2316 +++++++++++++---------------- 3 files changed, 2205 insertions(+), 2590 deletions(-) commit b350779a6f49679cb7a83be22f53bacde45bd282 Author: Matthias Clasen Date: Thu Oct 29 23:04:47 2015 -0400 togglebutton: Add a style class This lets us differentiate toggle buttons from plain buttons with button.toggle, without having to redo all the styling. gtk/gtktogglebutton.c | 5 +++++ 1 file changed, 5 insertions(+) commit a953e377359d001160e2c9700c8fdd163a14c2b4 Author: Matthias Clasen Date: Thu Oct 29 22:55:29 2015 -0400 button: Use an element name instead of a style class gtk/gtkbutton.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit e39b8611bd20e602102a7e1b8e06e34c1b85cfe5 Author: Benjamin Otte Date: Fri Oct 30 02:06:01 2015 +0100 widget: Queue redraw on gtk_widget_queue_allocate() Mirror the behavior of gtk_widget_queue_resize() and always queue a redraw. If we ever want to cause allocates without redraws we can add gtk_widget_queue_allocate_no_redraw() then. I had initially assumed gtk_widget_size_allocate() would take care of queueing redraws, but it does not do that when neither size nor position change. And that is obviously what's happening after gtk_widget_queue_allocate(). Fixes buttons sometimes not redrawing (the record button in widget-factory after locking it, all buttons when switching to the dark theme). gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 32de7edf1dec5528b8d02cb765b2c76471f321c6 Author: Matthias Clasen Date: Thu Oct 29 19:21:47 2015 -0400 Assistant: Fix page rmoval We have to remove the page itself from the intermediate box first, before removing the box from the notebook. Otherwise, reffing the page to keep it alive is ineffective: the box gets destroyed, and that destruction recurses over the page. This fixes the problem in https://bugzilla.gnome.org/show_bug.cgi?id=756385 gtk/gtkassistant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ffaaa1e66eef00d1dbaf28ae4ab9e4cdd74f1bae Author: Sébastien Granjoux Date: Mon Oct 26 21:52:34 2015 +0100 Add a more complex widget in the flipping assistant This reproduces the problem from bug https://bugzilla.gnome.org/show_bug.cgi?id=756385 gtk/gtkassistant.c | 1 - tests/testassistant.c | 11 ++++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) commit a0a78a8973982a03176ae53699ec8171630796da Author: Florian Müllner Date: Thu Oct 29 18:20:27 2015 +0100 Adwaita: Update double-border tweak for scrolled windows Since commit b6dbfc791f, GtkViewPort uses an element name. 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 4f24c8569c454918adf16ba4e36aff2df8270bb3 Author: Dominique Leuenberger Date: Thu Oct 29 13:56:18 2015 +0100 placessidebar: do not crash if uris is NULL On Drag'n'Drop actions across system boundaries (VM host to guest), the happen to be null. https://bugzilla.gnome.org/show_bug.cgi?id=757298 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fc6f41c751dd7ff44ab2f39bef5720f954587581 Author: Benjamin Otte Date: Thu Oct 29 16:03:15 2015 +0100 spinbutton: Don't set .entry Also fix Adwaita to not use .entry anymore gtk/gtkspinbutton.c | 1 - gtk/theme/Adwaita/_common.scss | 13 +- gtk/theme/Adwaita/gtk-contained-dark.css | 845 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 767 ++++++++++++---------------- 4 files changed, 710 insertions(+), 916 deletions(-) commit 63f2fc752aa01de972a495bdc173dc0654e76159 Author: Benjamin Otte Date: Thu Oct 29 15:55:28 2015 +0100 searchentry: Fix includes gtk/gtksearchentry.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit b6dbfc791f56c9f5b9999b8bef6ea670221ba903 Author: Matthias Clasen Date: Thu Oct 29 07:47:31 2015 -0400 viewport: Add an element name to the css node This lets us avoid hardcoding the type in CSS. gtk/gtkviewport.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit ea5f16fd2d5e1f9b14290c6d0eae3df092276d01 Author: Matthias Clasen Date: Thu Oct 29 07:43:30 2015 -0400 searchbar: Add an element name to the css node This lets us avoid hardcoding the type in CSS. gtk/gtksearchbar.c | 6 ++++++ 1 file changed, 6 insertions(+) commit d634403d912d2d84f634c8e0491e9d9347f66fa0 Author: Matthias Clasen Date: Thu Oct 29 07:08:15 2015 -0400 actionbar: Add an element name to the css node This lets us avoid hardcoding the type in CSS. gtk/gtkactionbar.c | 5 +++++ 1 file changed, 5 insertions(+) commit 2936d7bae8c4d834463ef572e1ec63dc6ecd0138 Author: Matthias Clasen Date: Thu Oct 29 07:01:57 2015 -0400 statusbar: Add an element name to the css node This lets us avoid hardcoding the type in CSS. gtk/gtkstatusbar.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 56d3e42a00247e7db5941a4ac3108a58e6abe34b Author: Matthias Clasen Date: Wed Oct 28 23:58:39 2015 -0400 search entry: Add a style class There should be little need to have separate styling for search entries, so a separate name would be a bit overkill. gtk/gtksearchentry.c | 2 ++ 1 file changed, 2 insertions(+) commit a840a6d597d1a0f3e8da12988d5ed935c7635197 Author: Matthias Clasen Date: Wed Oct 28 23:57:57 2015 -0400 lock button: Add an element name gtk/gtklockbutton.c | 1 + 1 file changed, 1 insertion(+) commit bb7d7851ac5cecf960a7ed69af06b2dd0a29484b Author: Matthias Clasen Date: Wed Oct 28 23:32:57 2015 -0400 entry, spinbutton: Finish css node conversion This commit creates entry and button subnodes for the buttons in GtkSpinButton. The nodes are ordered like this for horizontal spinbutton + entry + image.left + image.right + progress + button.down + button.up and like this for vertical ones: spinbutton + button.down + entry + button.up This arrangement requires cooperation from GtkEntry to place the entry subnodes correctly, and some small changes in the theme. This commit also fixes progress rendering in vertical spin buttons. gtk/gtkentry.c | 43 ++- gtk/gtkspinbutton.c | 34 +- gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 637 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 637 +++++++++++++++++++++++-------- 5 files changed, 1008 insertions(+), 347 deletions(-) commit ebcad63e314b613d45bbaa718082a44a090f5da1 Author: Matthias Clasen Date: Wed Oct 28 21:55:07 2015 -0400 wip: spinbutton gtk/gtkentry.c | 41 ++-- gtk/gtkspinbutton.c | 312 +++++++++++++++++-------------- gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 68 ++++--- gtk/theme/Adwaita/gtk-contained.css | 68 ++++--- 5 files changed, 276 insertions(+), 223 deletions(-) commit 811c1c9484aedc5b520d26163441d09b70078e57 Author: Matthias Clasen Date: Wed Oct 28 16:35:16 2015 -0400 spinbutton: Trivial cleanup Use g_clear_object in a few places. gtk/gtkspinbutton.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 4483636016ec9e30ee1247b62851a66690967637 Author: Benjamin Otte Date: Thu Oct 29 01:03:09 2015 +0100 widget: Queue resize on parent on show/hide When gtk_widget_show() or gtk_widget_hide() is called, don't queue a resize on the widget itself but on the parent. The widget itself may already be marked as in need of a resize and the call would be optimized out and never reach the parent. The parent size will change though because a child widget just changed its visibility. Fixes a bunch of issues with menus appearing black, toolbas not hiding in widget-factory and also various reftests. gtk/gtkwidget.c | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) commit cd20ae8fe118f08a48075f1b00f415d63a248395 Author: Benjamin Otte Date: Thu Oct 8 13:41:50 2015 +0200 container: Don't keep our own variable trying to track need for resize Insteaad, introduce gtk_widget_needs_allocate() and use that. gtk/gtkcontainer.c | 18 ++++++++---------- gtk/gtkwidget.c | 20 +++++++++++++++++--- gtk/gtkwidgetprivate.h | 1 + 3 files changed, 26 insertions(+), 13 deletions(-) commit e07ff714b9eec37f4789e093ab1d199ffea29f46 Author: Benjamin Otte Date: Thu Oct 1 22:38:31 2015 +0200 widget: Make invisible widgets not propagate resizes Do not queue a resize on the parent if the widget is not visible. Invisible widgets do not influence the parents size. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bef44ab294e5263f7c318c17cf664d862ca0b8b3 Author: Benjamin Otte Date: Thu Oct 1 22:36:34 2015 +0200 window: Don't queue resizes when inhibiting resizes Since the frame clock, the inhibit happens on the GDK level, so this code is no longer necessary. gtk/gtkcontainer.c | 12 ------------ gtk/gtkwindow.c | 9 +-------- 2 files changed, 1 insertion(+), 20 deletions(-) commit 6866d1c06e338002bf584b0b9529154e33b5e86a Author: Benjamin Otte Date: Tue Sep 29 23:19:07 2015 +0200 widget: Make gtk_widget_queue_allocate() not resize This commit toggles the big switch. We now don't run size_allocate() from the toplevel up anymore in cases where we don't need to. Things might be broken in subtle ways as a result of this commit. We'll have to find them and fix them. gtk/gtkcontainer.c | 29 ++++++++++++++++++----------- gtk/gtkwidget.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkwidgetprivate.h | 1 + gtk/gtkwindow.c | 2 ++ 4 files changed, 69 insertions(+), 13 deletions(-) commit 299600a7d4853b5df28e94a3dd8c9f52a2d84202 Author: Benjamin Otte Date: Tue Sep 29 21:04:07 2015 +0200 widget: Track if a child needs an allocation This is not used so far. gtk/gtkwidget.c | 31 ++++++++++++++++++++++++++++++- gtk/gtkwidgetprivate.h | 3 ++- 2 files changed, 32 insertions(+), 2 deletions(-) commit f706891dd3fc062a7d77c177e4bf1f280d91af7e Author: Benjamin Otte Date: Mon Sep 28 21:57:25 2015 +0200 widget: Refactor function Turn it from a loop into tail-calling itself. gtk/gtkwidget.c | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) commit ab7e901cfd75257991f405b5f2082d47312de774 Author: Benjamin Otte Date: Mon Sep 28 21:54:23 2015 +0200 widget: Move resize function into gtkwidget.c There's no sizegroup specific code left in it, but lots of widget-specifics. gtk/gtksizegroup-private.h | 1 - gtk/gtksizegroup.c | 45 ---------------------------------------- gtk/gtkwidget.c | 51 ++++++++++++++++++++++++++++++++++++++++++++-- 3 files changed, 49 insertions(+), 48 deletions(-) commit 4fa74e68e9a73a1e0e169be89a3aba282d0fdbe4 Author: Benjamin Otte Date: Mon Sep 28 21:17:21 2015 +0200 sizegroup: Merge function into only caller gtk/gtksizegroup.c | 82 ++++++++++++++++++++++-------------------------------- 1 file changed, 34 insertions(+), 48 deletions(-) commit b5dfe9b833641c1279fd393ec3202374eb01bb23 Author: Benjamin Otte Date: Mon Sep 28 21:08:57 2015 +0200 sizegroup: Simplify widget's size group invalidation Since we do not queue resizes twice anymore, we can just walk the list of groups without deduplication. gtk/gtksizegroup.c | 68 ++++++++++++++++++++---------------------------------- 1 file changed, 25 insertions(+), 43 deletions(-) commit a31123e9f0a12b3eeeaf65f8ea87d1a177aa454a Author: Benjamin Otte Date: Mon Sep 28 05:48:57 2015 +0200 sizegroup: Skip resizes on widgets that have resize queued Widgets that already have a resize queued don't need to walk the whole parent chain and queue another resize. It's enough to do it once per resize. This also means that sizegroups cannot use the shortcut of just invalidating the first widget in the group anymore. That widget might already have a resize queued while others don't. gtk/gtksizegroup.c | 10 ++++++++-- gtk/gtkwindow.c | 1 + 2 files changed, 9 insertions(+), 2 deletions(-) commit a4587ef4a0988bd6817895fa7920801163091ca6 Author: Benjamin Otte Date: Mon Sep 28 05:42:04 2015 +0200 widget: Warn on calls to queue_resize() during size_allocate() This happens way too much, so it's disabled unless GTK_DEBUG=geometry is on. Also, we can't detect it in the call to queue_resize() yet, only during size_allocate(), so the warning comes after the signal emission. gtk/gtkwidget.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 4d631a914435ff8f2566ac1abcaffadd1c6ebc7f Author: Benjamin Otte Date: Mon Sep 28 05:23:32 2015 +0200 widget: Clear pending resizes after size_allocate() This catches the cases where widgets call gtk_widget_queue_resize() in their size_allocate() callback. gtk/gtkwidget.c | 1 + 1 file changed, 1 insertion(+) commit 3e3f17576e07334e6c5be12fee9ed78f13f0cc24 Author: Benjamin Otte Date: Mon Sep 28 05:21:06 2015 +0200 widget: Warn if size-unqueried widgets get allocated Widgets should have gtk_widget_get_preferred_width/height() called on them before gtk_widget_size_allocate() gets called. Add a check for this. gtk/gtkwidget.c | 7 +++++++ gtk/gtkwidgetprivate.h | 6 ++++++ 2 files changed, 13 insertions(+) commit 6cc2615b6370cca05820cd11e6b0d53f270e11cb Author: Benjamin Otte Date: Mon Sep 28 02:19:25 2015 +0200 widget: Add a resize_needed flag ... and API to set and unset it. It is set when gtk_widget_queue_resize() is called. It is unset when gtk_widget_get_preferred_width/height() is called. So far it is not used. gtk/gtksizerequest.c | 2 ++ gtk/gtkwidget.c | 12 ++++++++++++ gtk/gtkwidgetprivate.h | 1 + 3 files changed, 15 insertions(+) commit 3ff894c2013f41a90b4fec4ffbefb17fcd2b45ab Author: Benjamin Otte Date: Sun Sep 27 12:29:05 2015 +0200 widget: Add a function that does actual resize It's just shuffling code around. gtk/gtksizegroup.c | 4 +--- gtk/gtkwidget.c | 8 +++++--- gtk/gtkwidgetprivate.h | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) commit 58d506fb115596beaeb8383e2ed3af3febd6934d Author: Benjamin Otte Date: Fri Sep 18 04:04:21 2015 +0200 sizegroup: Merge function into only caller Both functions were running the same loop. Just running the loop once seems advantageous. gtk/gtksizegroup.c | 30 ++++++------------------------ 1 file changed, 6 insertions(+), 24 deletions(-) commit 85ab8ad00128fc095fdfb3d62142e58556ad5ee7 Author: Benjamin Otte Date: Wed Sep 16 22:56:56 2015 +0200 sizegroup: Don't invalidate over resize containers. Before this commit, a widget tree like this: Window AnyContainer (part of SizeGroup1) GtkClutterEmbed SomeWidget when calling gtk_widget_queue_resize(SomeWidget), would invalidate SizeGroup1, when it should have stopped at the GtkClutterEmbed (which is a RESIZE_IMMEDIATE child). gtk/gtksizegroup.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 1f2e21ab9ae8e0e3b109b4785d1c434d422ccef6 Author: Benjamin Otte Date: Fri Sep 18 03:49:09 2015 +0200 sizegroup: Refactor function Get rid of continues in loop. This allows doing more complex things in future commits. gtk/gtksizegroup.c | 53 +++++++++++++++++++++++------------------------------ 1 file changed, 23 insertions(+), 30 deletions(-) commit 0721d964e462ac399ca888036d009cb3a9ea5256 Author: Benjamin Otte Date: Fri Sep 18 03:41:12 2015 +0200 sizegroup: Refactor function gtk/gtksizegroup.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit dd0e5cfce691955d46c44d2cb286ab335ddec5d0 Author: Benjamin Otte Date: Tue Sep 15 22:11:35 2015 +0200 sizegroup: Remove special case before loop The loop actually does the right thing already. There's no need to complicate things. gtk/gtksizegroup.c | 37 +++++++++++-------------------------- 1 file changed, 11 insertions(+), 26 deletions(-) commit 8fea3b02c93c5243e7cb7f352b0ae9e2b6d2414f Author: Benjamin Otte Date: Tue Sep 15 22:10:26 2015 +0200 sizegroup: refactor The code looks a lot less dangerous if it doesn't look like we're casting a random widget to a container. gtk/gtksizegroup.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e19818359a422310f6a58c9ec4df1caf9c44f33a Author: Benjamin Otte Date: Tue Sep 15 22:08:55 2015 +0200 sizegroup: Fold function into only caller gtk/gtksizegroup.c | 46 ++++++++++++++++++---------------------------- 1 file changed, 18 insertions(+), 28 deletions(-) commit 690e015ed1133d16effdac8e23ddd082818de8d3 Author: Benjamin Otte Date: Tue Sep 15 21:57:49 2015 +0200 sizegroup: Move container function into its only caller gtk/gtkcontainer.c | 40 +--------------------------------------- gtk/gtkcontainerprivate.h | 2 +- gtk/gtksizegroup.c | 29 ++++++++++++++++++++++++++++- 3 files changed, 30 insertions(+), 41 deletions(-) commit 0912a6c2f5e5137705f93691c418cc8c6184fb9d Author: Benjamin Otte Date: Wed Sep 16 23:16:44 2015 +0200 widget: Use gtk_widget_queue_allocate() when clip changes There's no need to queue a full resize there. gtk/gtkwidget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 195397e87ac7e03173dfe65d1cf52e2751c07706 Author: Benjamin Otte Date: Mon Sep 14 17:56:05 2015 +0200 API: widget: Add gtk_widget_queue_allocate() This is so widgets can queue a rerun of their allocation logic, but without triggering resizes everywhere. For now, it just calls gtk_widget_queue_resize(). gtk/gtkwidget.c | 28 +++++++++++++++++++++++++--- gtk/gtkwidget.h | 2 ++ 2 files changed, 27 insertions(+), 3 deletions(-) commit 798a28840573867a6228620b1f0fc548f1ac8ade Author: Benjamin Otte Date: Mon Sep 28 23:33:28 2015 +0200 container: Use correct allocation for calling size_allocate() gtk/gtkcontainer.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit d3d9f52365c583b9f27311c076d7cbf10030898c Author: Benjamin Otte Date: Mon Sep 14 06:11:36 2015 +0200 API: widget: Add gtk_widget_get_allocated_size() See docs for what this is. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkwidget.c | 41 ++++++++++++++++++++++++++++++++++++ gtk/gtkwidget.h | 4 ++++ gtk/gtkwidgetprivate.h | 2 ++ 4 files changed, 48 insertions(+) commit ab2d236d3dafb93ae8d25e415d6e0b9c8a55babc Author: Benjamin Otte Date: Tue Mar 24 04:45:38 2015 +0100 sizegroup: Remove GtkQueueResizeFlags They were only used with geometry widgets. gtk/gtkcontainer.c | 60 ++++++++++++++++------------------------------ gtk/gtkcontainerprivate.h | 1 - gtk/gtksizegroup-private.h | 19 +-------------- gtk/gtksizegroup.c | 30 ++++++++++------------- gtk/gtkwidget.c | 27 ++++++++------------- 5 files changed, 44 insertions(+), 93 deletions(-) commit 5dd2087d19e93e0f99bd7e43bcee42ef3bc833e8 Author: Benjamin Otte Date: Tue Mar 24 04:37:26 2015 +0100 widget: Remove _gtk_widget_override_size_request() The function was only used by the geometry widget. gtk/gtkwidget.c | 46 ---------------------------------------------- gtk/gtkwidgetprivate.h | 8 -------- 2 files changed, 54 deletions(-) commit 08974a1e9a6099a5a94b9d56970dbf96e473ba87 Author: Benjamin Otte Date: Tue Mar 24 04:33:45 2015 +0100 window: Ignore geometry widget Ignore the geometry widget passed to gtk_window_set_geometry_hints(). Usind the widget itself was a hack that complicates the size request machinery. It is also incorrect in that it doesn't respect height-for-width. Last but not least, it was only used by gnome-terminal and that application can easily work without it. gtk/gtkwindow.c | 71 +++------------------------------------------------------ 1 file changed, 3 insertions(+), 68 deletions(-) commit e422ccefe1b4ce73325afe39c5734bd2545c9b83 Author: Benjamin Otte Date: Mon Sep 28 23:31:04 2015 +0200 container: Don't randomly call gtk_widget_set_allocation() gtk_widget_size_allocate() does that already. gtk/gtkcontainer.c | 3 --- 1 file changed, 3 deletions(-) commit 624fb8b3603455e3b65263374bc8515bbded481a Author: Benjamin Otte Date: Mon Sep 21 18:35:16 2015 +0200 entry: Always render like with is_cellrenderer And remove the API to set that variable. If you want the entry to not fill its whole allocated area, gtk_widget_set_valign (entry, GTK_ALIGN_FILL); will give you the old behavior. gtk/gtkcombobox.c | 5 ----- gtk/gtkentry.c | 49 ++----------------------------------------------- gtk/gtkentryprivate.h | 2 -- 3 files changed, 2 insertions(+), 54 deletions(-) commit 8ec2362d81db40e5587cd269eb932d15d381b6d1 Author: Benjamin Otte Date: Fri Oct 9 15:41:00 2015 +0200 icontheme: Clarify GENERIC_FALLBACK flag handling - Add docs explaining that it doesn't work everywhere - g_warn_if_fail() in the APIs where it doesn't work gtk/gtkicontheme.c | 3 +++ gtk/gtkicontheme.h | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) commit 5cffbed165158857867c2bc4d06041444da590ef Author: Benjamin Otte Date: Fri Oct 9 15:42:58 2015 +0200 iconhelper: Don't pass GENERIC_FALLBACK flag It's not used when looking up with a GIcon. gtk/gtkiconhelper.c | 2 -- 1 file changed, 2 deletions(-) commit a58d8bdcbc291818ce70cf3e3fcb93e762ca9c36 Author: Benjamin Otte Date: Wed Oct 28 19:35:23 2015 +0100 cssprovider: Have a section when parsing style properties Signal handlers expect a section to be present, so provide them with one. New testcase included. https://bugzilla.gnome.org/show_bug.cgi?id=757240 gtk/gtkcssprovider.c | 4 +++ testsuite/gtk/Makefile.am | 1 + testsuite/gtk/cssprovider.c | 63 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) commit c4eb14eb01d5d17541fb320a9c464132e5fb6904 Author: Matthias Clasen Date: Wed Oct 28 11:49:00 2015 -0400 Revert "tooltip: Use an element name" This reverts commit efc8dc63e30d9d53df3cf336673f751fab437d2c. This change broke tooltip positioning in a way that I don't fully understand, so take it back for now. gtk/gtktooltip.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 854c7d1f0fd98a6eaf283603adc05f1dec4f6e39 Author: Matthias Clasen Date: Wed Oct 28 11:53:09 2015 -0400 Revert "HighContrast: Update tooltip styling" This reverts commit 93d80380ee93f2d7f7005675900e4da0fbef982c. gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit cab40f07434c7b4036660d08c974542a9868a09e Author: Matthias Clasen Date: Wed Oct 28 11:48:52 2015 -0400 Revert "Adwaita: Update tooltip theming" This reverts commit d974610741349b3f4e4c06abd87c82d99c6858ba. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) commit b4d49c36ce83b63a33e2b703a81b463ad70a56fc Author: Matthias Clasen Date: Wed Oct 28 10:07:18 2015 -0400 Fix key themes for GtkEntry -> entry This was pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=757252 gtk/gtk-keys.css.emacs | 2 +- gtk/gtk-keys.css.mac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 20e46ce8aeef856efe020118cce8794249485f65 Author: Matthias Clasen Date: Wed Oct 28 10:14:54 2015 -0400 shortcuts: Redo the stack switcher theming Use style classes on the button instead of the stack switcher, this makes it easier to reuse elsewhere. gtk/gtkshortcutssection.c | 3 ++- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++------ gtk/theme/Adwaita/gtk-contained.css | 10 ++++------ 4 files changed, 12 insertions(+), 15 deletions(-) commit 62ec4a2415bc463c6b07dbcbf4baa1770f14019f Author: Matthias Clasen Date: Wed Oct 28 07:10:30 2015 -0400 shortcuts label: Redo the keycap theming Use a style class directly on the frame. This is easier to reuse. gtk/gtkshortcutlabel.c | 1 + gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) commit 4e950da4d116663cfd5f1a707a96782f80499af8 Author: Matthias Clasen Date: Wed Oct 28 07:09:28 2015 -0400 Adwaita: Update shortcuts window theming Use the newly added element name. gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 0dffc8c9d3777e3d11526d3b3be8f17777c6cd92 Author: Matthias Clasen Date: Wed Oct 28 06:50:00 2015 -0400 shortcuts: Use predefined style classes Lets use the defines we have. gtk/gtkshortcutssection.c | 2 +- gtk/gtkshortcutswindow.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit b3619f90505915939cb35ae8c03a63d364ba132d Author: Matthias Clasen Date: Wed Oct 28 06:45:37 2015 -0400 HighContrast: Update calendar theming Use the newly introduced element name instead of hardcoding the type. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) commit 085edf021227283f9bd029c33d70ddd461ca3c98 Author: Matthias Clasen Date: Wed Oct 28 06:44:34 2015 -0400 Adwaita: Update calendar theming Use the newly introduced element name instead of hardcoding the type. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 44 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 116 +++++++++++++++---------------- 3 files changed, 81 insertions(+), 81 deletions(-) commit 2c2fd5c8c5a06cdbcd52249d2cf0fa1ac2336267 Author: Matthias Clasen Date: Wed Oct 28 06:35:33 2015 -0400 calendar: Add an element name This will allow us to drop hardcoded type names in the theme. gtk/gtkcalendar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3058c3e6a9578bc07784f4f7ca65315b76014cd2 Author: Olivier Fourdan Date: Tue Oct 27 18:05:39 2015 +0100 wayland: configure clients that resize themselves Make sure the wayland backend sets a new geometry when the client resizes itself, otherwise the compositor won't be notified and may revert to the old size on state changes. Thanks to Jasper St. Pierre who pointed out the problem in gtk+. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=755051 gdk/wayland/gdkwindow-wayland.c | 4 ---- 1 file changed, 4 deletions(-) commit 37eb5c08a4a24792b5e0c71644c70eb5a38c16c1 Author: Matthias Clasen Date: Wed Oct 28 00:41:13 2015 -0400 inspector: Cosmetic changes to the hierarchy tab Put the interfaces below GInterface. gtk/inspector/object-hierarchy.c | 10 +++++++++- gtk/inspector/object-hierarchy.ui | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) commit 3869bdbc2b67d17a99cf5fc805757c74c44ee3c5 Author: Matthias Clasen Date: Wed Oct 28 00:33:14 2015 -0400 inspector: Add css node style properties Add a per-cssnode view of style properties. gtk/inspector/css-node-tree.c | 204 ++++++++++++++++++++++++++++++++--------- gtk/inspector/css-node-tree.ui | 181 ++++++++++++++++++++++++++---------- 2 files changed, 295 insertions(+), 90 deletions(-) commit 0d8444d067e1b480766561cbe85cfb36bd308c54 Author: Matthias Clasen Date: Tue Oct 27 20:11:00 2015 -0400 Drop some no-longer existing headers gtk/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 85a6f3c13ec3ad4d7611d3ae5c8003144c6ad034 Author: Matthias Clasen Date: Mon Oct 26 20:49:28 2015 -0400 3.19.1 NEWS | 81 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- configure.ac | 2 +- 2 files changed, 81 insertions(+), 2 deletions(-) commit 339cb1fe6b6a066a4950fab056bed87ee30c8af6 Author: Matthias Clasen Date: Tue Oct 27 18:56:05 2015 -0400 Fix reftests Multiple reftests were damaged by the element name transition. Repair them. The region reftests are no longer needed, since we no longer do regions. testsuite/reftests/Makefile.am | 6 -- testsuite/reftests/css-match-import-import.css | 2 +- testsuite/reftests/css-match-import.css | 2 +- .../reftests/css-match-inherit-different-state.css | 2 +- .../reftests/css-match-region-matches-star.css | 10 --- .../reftests/css-match-region-matches-star.ref.ui | 32 ---------- .../reftests/css-match-region-matches-star.ui | 31 ---------- testsuite/reftests/css-match-regions.css | 18 ------ testsuite/reftests/css-match-regions.ref.ui | 71 ---------------------- testsuite/reftests/css-match-regions.ui | 68 --------------------- testsuite/reftests/css-match-siblings.css | 6 +- testsuite/reftests/entry-progress-coloring.css | 4 +- testsuite/reftests/icon-vfuncs.css | 2 +- testsuite/reftests/iconview-empty.css | 2 +- testsuite/reftests/label-background.css | 2 +- testsuite/reftests/label-clipping.css | 2 +- testsuite/reftests/label-shadows.css | 2 +- testsuite/reftests/label-sizing.css | 2 +- .../label-text-shadow-changes-modify-clip.css | 2 +- testsuite/reftests/label-text-shadow-clipping.css | 2 +- testsuite/reftests/opacity-initial.css | 2 +- testsuite/reftests/shorthand-entry-border.css | 4 +- testsuite/reftests/sizegroups-basics.css | 2 +- .../reftests/style-context-save-inheritance.css | 6 +- testsuite/reftests/treeview-fixed-height.css | 2 +- 25 files changed, 24 insertions(+), 260 deletions(-) commit 93d80380ee93f2d7f7005675900e4da0fbef982c Author: Matthias Clasen Date: Tue Oct 27 15:14:34 2015 -0400 HighContrast: Update tooltip styling Use the newly added element name instead of hardcoding the type. gtk/theme/HighContrast/_common.scss | 4 +- gtk/theme/HighContrast/gtk.css | 594 ++++++++++++++++++------------------ 2 files changed, 299 insertions(+), 299 deletions(-) commit d974610741349b3f4e4c06abd87c82d99c6858ba Author: Matthias Clasen Date: Tue Oct 27 15:12:47 2015 -0400 Adwaita: Update tooltip theming Use the newly introduced element name instead of hardcoding the type. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) commit efc8dc63e30d9d53df3cf336673f751fab437d2c Author: Matthias Clasen Date: Tue Oct 27 15:10:39 2015 -0400 tooltip: Use an element name This will allow us to drop hardcoded type names in the theme. gtk/gtktooltip.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 1760ada1ff4ae8115eddfc40cc472518f5a6580a Author: William Hua Date: Tue Oct 27 16:19:42 2015 -0400 mir: emulate pointer for all touch events gdk/mir/gdkmireventsource.c | 2 ++ 1 file changed, 2 insertions(+) commit e3ddbc544cef0570b9f6a46e1ad7bec275c99881 Author: Benjamin Otte Date: Tue Oct 27 20:11:08 2015 +0100 cssselector: Print name and any selector first When printing a "compound selector", make sure the name and universal selectors are printed at the beginning and class, id, etc. selectors are printed last. gtk/gtkcssselector.c | 36 +++++++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) commit 9848fe006eb421ca75d8262391595924b31462c5 Author: Matthias Clasen Date: Tue Oct 27 14:37:04 2015 -0400 Adwaita: Update GtkAssistant theming Use the new element name, instead of hardcoding the type. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 765 +++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 687 +++++++++++++++------------ 3 files changed, 806 insertions(+), 648 deletions(-) commit 5b0208f890987ecef9a33ef04bfac80e97a41c31 Author: Matthias Clasen Date: Tue Oct 27 14:31:32 2015 -0400 assistant: Use an element name This will allow us to drop hardcoded type names in the theme. gtk/gtkassistant.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5ee39befb86e68c5ff29cf0aee8fadb9fc40a3f7 Author: Matthias Clasen Date: Tue Oct 27 13:26:50 2015 -0400 Fix make check Don't try setting GtkShortcutsShortcut::accelerator to a random value, it only accepts strings that it can parse. testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit 0f4663728e1627c18ce554fb477f9a73f8093d5d Author: Matthias Clasen Date: Tue Oct 27 12:53:43 2015 -0400 toolitemgroup: Fix the previous change dispose can be called more than once. gtk/gtktoolitemgroup.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9753bea6a4f4150ea8b74484290021b4499c6e36 Author: Matthias Clasen Date: Tue Oct 27 11:07:53 2015 -0400 tool item group: Don't leak a button This causes a hickup in the new css node machinery, causing the default-value test to fail. gtk/gtktoolitemgroup.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 270e900f55f230c493956c5d10ab0b98cd42061b Author: Matthias Clasen Date: Tue Oct 27 11:05:00 2015 -0400 icon theme: Ensure to propagate an error If the svg pixbuf loader is not available, we end up with criticals from gtk_css_image_icon_theme_draw because gtk_icon_info_load_symbolic returns NULL without setting an error. Avoid this by propagating the load error. gtk/gtkicontheme.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6f340d4384a4a150d1e26dc1e0519870490c15a8 Author: William Hua Date: Tue Oct 27 10:50:18 2015 -0400 mir: warning clean-up gdk/mir/gdkmir-debug.c | 2 +- gdk/mir/gdkmirwindowimpl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c3b0b8a3600363d3888a2ccd1db2702b98ac9cc8 Author: William Hua Date: Tue Oct 27 10:09:34 2015 -0400 mir: allow logging touch events gdk/mir/gdkmir-debug.c | 59 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 58 insertions(+), 1 deletion(-) commit bb5b711d4b175d3edaa1eafcc979a8461fe0c08d Author: Matthias Clasen Date: Tue Oct 27 08:48:08 2015 -0400 shortcuts: Some property hygiene Bring property notification for some of the new shortcuts widgets up to the standards of our testsuite. gtk/gtkshortcutsgesture.c | 4 ++-- gtk/gtkshortcutsgroup.c | 4 ++-- gtk/gtkshortcutssection.c | 27 +++++++++++++++++++-------- gtk/gtkshortcutsshortcut.c | 2 +- gtk/gtkshortcutswindow.c | 2 +- 5 files changed, 25 insertions(+), 14 deletions(-) commit 71b31c84c00f73c23be62fd1ec13ec2d97b4164d Author: Lars Uebernickel Date: Tue Oct 27 13:38:14 2015 +0100 gdkpixbuf-drawable: reinstate accidentally removed line gdk/gdkpixbuf-drawable.c | 1 + 1 file changed, 1 insertion(+) commit 657a43e54e7721fced8ef0e6808271838f14697f Author: Lars Uebernickel Date: Mon Oct 26 10:12:34 2015 +0100 gdk_pixbuf_get_from_window: honor device scale gdk_pixbuf_get_from_window() paints the given window onto a new cairo surface. Create that new surface with the same device scale as the window so that the result is not scaled down on hidpi screens. https://bugzilla.gnome.org/show_bug.cgi?id=757147 gdk/gdkpixbuf-drawable.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 46e834cf3e2213d9df0c4ff595e10543f8af7adc Author: Marek Černocký Date: Tue Oct 27 07:38:21 2015 +0100 Updated Czech translation po-properties/cs.po | 65 +++++++++++++++-------------------------------------- 1 file changed, 18 insertions(+), 47 deletions(-) commit ed00d86496dbe5aae4d5c477d311a7cbfcc6c1a2 Author: Matthias Clasen Date: Mon Oct 26 23:37:13 2015 -0400 inspector: Allow editing css node properties This reuses the property editor infrastructure from the property list pages. Good that css nodes are objects. gtk/inspector/css-node-tree.c | 53 ++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/css-node-tree.ui | 7 +++--- 2 files changed, 57 insertions(+), 3 deletions(-) commit 6852a1eef97867a1cd9be285f8fed18eecc9a3aa Author: Matthias Clasen Date: Mon Oct 26 23:38:05 2015 -0400 inspector: Support editing interned string properties Sadly, interned string properties cannot be handled generically at all - GObject insists on inserting a strcpy in any attempt to set a string property with generic api, destroying the internedness of the string. Therefore, we have to special-case GtkCssNode in the property editor code :-( gtk/inspector/prop-editor.c | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) commit b7d001e6137a0d4d5f1ddc1815d11c12468d4b35 Author: Matthias Clasen Date: Mon Oct 26 23:35:22 2015 -0400 Add some api annotations Nothing is using the /*interned*/ annotations currently, but if we are doing this, we should be consistent. gtk/gtkcssnode.c | 6 +++--- gtk/gtkcssnodeprivate.h | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit a648afae12ab633d89e2c6ea793b1370d3e71df9 Author: Benjamin Otte Date: Tue Oct 27 03:11:56 2015 +0100 widget: Add name to widget paths This changes widget paths for widgets with a CSS name to return that CSS name, now that we have added API for it. This means that style properties are now matches using the CSS name. Also fix the theme to use the correct name when matching style properties. gtk/gtkwidget.c | 1 + gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 757 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 679 ++++++++++++--------------- gtk/theme/HighContrast/_common.scss | 4 +- gtk/theme/HighContrast/gtk.css | 596 ++++++++++++------------ 6 files changed, 937 insertions(+), 1104 deletions(-) commit 517cea36ed31a2326bc453701ef17e98b0a8ccca Author: Benjamin Otte Date: Tue Oct 27 03:11:21 2015 +0100 cssmatcher: Actually match names for widget paths The type is always 0 when we use names. So this would always return FALSE. Oops. gtk/gtkcssmatcher.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit d717afd4d423fee8170a9a4559ee98f4d22f77dd Author: Matthias Clasen Date: Mon Oct 26 22:08:03 2015 -0400 entry: properly update css subnode state Update the state of the css subnodes for icons when appropriate, and avoid calling set_state after save_to_node. gtk/gtkentry.c | 67 ++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 37 insertions(+), 30 deletions(-) commit c72d094ae0b7745239bda7f49d30556d1c53a973 Author: Matthias Clasen Date: Mon Oct 26 21:32:26 2015 -0400 entry: Use better element name for progress Change the name of the CSS subnode for progress rendering from progressbar to progress. This will align better with GtkProgressBar. gtk/gtkentry.c | 4 ++-- gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 ++-- 6 files changed, 10 insertions(+), 10 deletions(-) commit aefa1ba61125a013c2c6103f50dc6de6bf5c16b6 Author: Robert Ancell Date: Thu Oct 22 16:45:48 2015 +1300 gdk: Deprecate gdk_display_get_screen demos/gtk-demo/changedisplay.c | 2 +- gdk/gdkdisplay.c | 1 + gdk/mir/gdkmireventsource.c | 2 +- gdk/mir/gdkmirwindowimpl.c | 2 +- gdk/x11/gdkdevice-core-x11.c | 2 +- gdk/x11/gdkdevice-xi2.c | 2 +- gtk/gtkmodules.c | 4 ++-- 7 files changed, 8 insertions(+), 7 deletions(-) commit db04c1eda7b99e0c47b93c38504452c4c9e8ec09 Author: Jonas Ådahl Date: Tue Oct 27 09:00:48 2015 +0800 wayland: Don't use GTK symbols from GDK GTK_WINDOW_POPUP sets the GdkWindow type to GDK_WINDOW_TEMP, so use that in GDK, not the GTK symbol which doesn't exist there. gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 101df329ae7d4df779230ac565a7507fda44025d Author: Benjamin Otte Date: Tue Oct 27 01:26:20 2015 +0100 API: Add gtk_widget_path_iter_set_object_name() ... and gtk_widget_path_iter_get_object_name(). This allows applications that still use widget paths to use the new object names to get the correct styling. Mutter and webkit-gtk are examples here. docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkcssmatcher.c | 18 +++++++++-- gtk/gtkwidgetpath.c | 59 ++++++++++++++++++++++++++++++++++++ gtk/gtkwidgetpath.h | 7 +++++ 4 files changed, 84 insertions(+), 2 deletions(-) commit aedd193c69f5857917369c083be04bd24a1e770e Author: Jonas Ådahl Date: Sun Oct 18 21:23:12 2015 +0800 GtkTreeView: Rework the search window hack so it also works on Wayland The search window of a tree view was implemented by showing without making it visible by by positioning it outside the screen edge. This is not possible on Wayland, so implement another method for being able to enter text into a non-visible entry. The new method is implemented by, before showing the window, pass the key event directly to the IM context backing the entry. If the key event triggered the context to commit new text or change the preedit content, the search window is shown, and from that point the key events are forwarded directly to the entry widget. https://bugzilla.gnome.org/show_bug.cgi?id=756780 gtk/gtktreeview.c | 137 +++++++++++++++++++++++++++++------------------------- 1 file changed, 74 insertions(+), 63 deletions(-) commit bcb28adba3b1229a74e60efe7a96c19441265b8d Author: Jonas Ådahl Date: Sun Oct 18 21:21:51 2015 +0800 wayland: Map UTILITY hinted popup windows as subsurfaces Currently used by GtkTreeView to map windows without changing focus. We can't map this as a popup, because popup implies focus change. https://bugzilla.gnome.org/show_bug.cgi?id=756780 gdk/wayland/gdkwindow-wayland.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 97dbef451e027ac701640da1652bc327e3346e18 Author: Jonas Ådahl Date: Sun Oct 18 21:12:59 2015 +0800 GtkTreeView: Make a search window destroy helper https://bugzilla.gnome.org/show_bug.cgi?id=756780 gtk/gtktreeview.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit e25ea62f22ce0bbb7175f93c07de5cab773778a7 Author: Jonas Ådahl Date: Sun Oct 18 21:03:52 2015 +0800 wayland: Don't try to use subsurfaces as popup parents If a GtkMenu (or something else that is mapped as a xdg_popup) tries to use a subsurface window as a parent, it will be terminated by the compositor due to protocol violation. So to avoid this, if a parent window is not a xdg_popup or xdg_surface, i.e. a wl_subsurface, then traverse up the transient parents until we find the right popup parent. https://bugzilla.gnome.org/show_bug.cgi?id=756780 gdk/wayland/gdkwindow-wayland.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit 49798754e6176147d1ff34581f2f4ed715ebb9b7 Author: Jonas Ådahl Date: Sun Oct 18 20:23:07 2015 +0800 wayland: Make window type conditions switches In order to make it easier to add/remove in future commits. https://bugzilla.gnome.org/show_bug.cgi?id=756780 gdk/wayland/gdkwindow-wayland.c | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) commit 2eb7d7476bd96759d90bc68f9d55df4e77efdc9f Author: Jonas Ådahl Date: Sat Oct 17 19:25:52 2015 +0800 GtkTreeView: Use more consistent search window naming Instead of alternating between search dialog and search window, use search window everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=756780 gtk/gtktreeview.c | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) commit 76619cf1ae757739e0643dffee2b48cf76ca828f Author: Matthias Clasen Date: Mon Oct 26 16:51:28 2015 -0400 entry: Bring back icon padding Not sure why this is necessary now, but it is. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) commit ed8641ff26a2f83b5b3dd449d4e20dad34251dee Author: Matthias Clasen Date: Mon Oct 26 15:28:50 2015 -0400 entry: Only set one of the .left, .right style classes We were not removing the old style class when adding a new one. gtk/gtkentry.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit 8db30aa9a08d3ea682de404926e8b89cce4e08ac Author: Matthias Clasen Date: Mon Oct 26 09:16:38 2015 -0400 testassistant: Add another example This adds a test involving removing and re-adding pages, to help with https://bugzilla.gnome.org/show_bug.cgi?id=756385 tests/testassistant.c | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) commit e28b3d129647e4e7f4fa82456a3b967009896aab Author: Matthias Clasen Date: Mon Oct 26 09:01:07 2015 -0400 assistant: Handle page-type and title changes properly We need to update our state when a pages' type or title changes. gtk/gtkassistant.c | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) commit 6efbf329c3b4ef2754bc7de1afbac1af9276d175 Author: Matthias Clasen Date: Mon Oct 26 07:22:28 2015 -0400 shortcuts: Cosmetic change The .flat style class is controlled by the relief property, so just use that instead of manually setting style classes. gtk/gtkshortcutswindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 953aa45c047efa4f84485e6a8aa5c26164cde816 Author: Matthias Clasen Date: Sun Oct 25 18:53:56 2015 -0400 label docs: Mention common style classes Mention some of the style classes that are commonly used with labels. gtk/gtklabel.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 305b34aa155a8f8113fb3a15bfb8b6d675bfcd5c Author: Olivier Fourdan Date: Thu Oct 22 14:19:15 2015 +0200 GtkWindow: fix move/get position with CSD Take into account and compensate for the size of the client side decorations widgets in gtk_window_move() and gtk_window_get_pos() including gravity. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 91 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 89 insertions(+), 2 deletions(-) commit 3450f53907a15877dd4d7fef15c00af680811aa3 Author: Olivier Fourdan Date: Thu Oct 15 11:25:51 2015 +0200 GtkWindow: add up CSD size in gtk_window_resize() When client side decoration is used, the size passed to gtk_window_resize() or retrieved from gtk_window_get_size() for top- level windows also accounts for the client side decorations widgets such as the title bar or the shadow borders. Add up the size of these additional controls to the given size to get the size expected. Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756618 gtk/gtkwindow.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) commit 2258fe576f3419bba6027fe3e68bfb4eccff755a Author: Marek Černocký Date: Mon Oct 26 07:56:07 2015 +0100 Updated Czech translation po-properties/cs.po | 2838 ++++++++++++++++++++++++++------------------------- 1 file changed, 1475 insertions(+), 1363 deletions(-) commit bf65b067811a7c64eb1560063637df253705aa5f Author: Matthias Clasen Date: Sun Oct 25 17:19:34 2015 -0400 HighContrast: Don't use GtkInfoBar type name We have a proper element name for it now. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 91ec104dd3ebcc2dd9349258ae67a37ad319dfd4 Author: Matthias Clasen Date: Sun Oct 25 17:19:01 2015 -0400 Adwaita: Don't use GtkInfoBar type name We have a proper element name for it now. 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 f1248ccea4b5c9dc9daec7b4d33ec70f8a7d8388 Author: Matthias Clasen Date: Sun Oct 25 17:18:20 2015 -0400 infobar: Add a name to the css node This lets us avoid the type name in css. gtk/gtkinfobar.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 2de0f06af92ae2d0a44d3b5f0374141f84d158e4 Author: Matthias Clasen Date: Sun Oct 25 16:29:11 2015 -0400 HighContrast: Update separator rendering Adapt HighContrast t othe changes in the pre-previous commit. gtk/theme/HighContrast/_common.scss | 12 ++++++------ gtk/theme/HighContrast/gtk.css | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) commit 0ba03aac16b7cdcbca24365c4158dcbc0e557ecc Author: Matthias Clasen Date: Sun Oct 25 16:28:38 2015 -0400 Adwaita: Update separator styling Adapt Adwaita to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 17 insertions(+), 17 deletions(-) commit 2eb6599b29b9f36fb67dfa3691d6d4578208b0ad Author: Matthias Clasen Date: Sun Oct 25 16:27:44 2015 -0400 separator: Use the element name separator Switch GtkSeparator from using the .separator style class to using the element name separator for its css node. gtk/gtkseparator.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit aa67ad00110485508046224c6641055c7fd2b371 Author: Matthias Clasen Date: Sun Oct 25 15:43:41 2015 -0400 Adwaita: Update accel label styling Adapt Adwaita to the changes in the previous commit. 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 caa6fb073215a9700e9406bdddc513a9d3a726e3 Author: Matthias Clasen Date: Sun Oct 25 15:42:40 2015 -0400 accel label: Use a css node for the accelerator Use a permanent subnode with name accelerator instead of the .accelerator style class. gtk/gtkaccellabel.c | 47 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 43 insertions(+), 4 deletions(-) commit 2b20bd54c590c0f537ec43b23b0cc4017979e7a3 Author: Matthias Clasen Date: Sun Oct 25 15:21:52 2015 -0400 HighContrast: Update spinner rendering Adapt HighContrast to the changes in the pre-previous commit. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit bd80b1d037520dbaf9c22c5d7919b390b30421f4 Author: Matthias Clasen Date: Sun Oct 25 15:21:17 2015 -0400 Adwaita: Update spinner styling Adapt Adwaita to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) commit 9269525f07800c591e50359822e34656ba437ce7 Author: Matthias Clasen Date: Sun Oct 25 15:20:23 2015 -0400 spinner: Use the element name spinner Switch GtkSpinner from using the .spinner style class to using the element name spinner for its css node. gtk/gtkspinner.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 3011820485741d939f60ff568794bce9d82702bd Author: Rico Tzschichholz Date: Sun Oct 25 19:35:33 2015 +0100 docs: Add index for 3.20 api docs/reference/gdk/gdk-docs.sgml | 4 ++++ docs/reference/gtk/gtk-docs.sgml | 4 ++++ 2 files changed, 8 insertions(+) commit 7c7fde136e1fd1197df1881a3bbd975c4cb1c01a Author: Matthias Clasen Date: Tue Oct 20 11:06:43 2015 -0400 Translate GDK_KEY_KP_Decimal according to locale It makes sense that you should be able to type numbers that are correctly formatted and parsable according to the current locale, using just the keypad. This patch makes it so by translating GDK_KEY_KP_Decimal to the decimal separator for the current locale, instead of hardcoding a '.'. https://bugzilla.gnome.org/show_bug.cgi?id=756751 gdk/gdkkeyuni.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 64c5b97be84dd05fb200201274ac9fd8ba2f424c Author: Matthias Clasen Date: Sun Oct 25 13:26:01 2015 -0400 quartz: Don't use the instancetype keyword gdkcursor-quartz.c uses the instancetype keyword, which doesn't seem to be supported in the version of Objective C that Snow Leopard uses. Replacing that keyword with the thing it represents makes it build. Patch by Ryan Hendrickson, http://bugzilla.gnome.org/show_bug.cgi?id=756770 gdk/quartz/gdkcursor-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f55e3f7eda1d54d1a87a098822cc5e345b2f36db Author: Matthias Clasen Date: Sun Oct 25 13:11:17 2015 -0400 inspector: Be more careful with dead objects gtk_inspector_object_tree_find_object accesses the type information of the object, so we can't safely use it on an already decaying object when we get a weak notify. Instead just walk the tree and compare pointers, that is safe. https://bugzilla.gnome.org/show_bug.cgi?id=756852 gtk/inspector/object-tree.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) commit 4305aa1def8289f1e907e1b08b619b5fddf8fd22 Author: Matthias Clasen Date: Sun Oct 25 09:20:43 2015 -0400 inspector: Improve css node UI All the other object pages have a title, this one was missing it. Add one, so the page fits in with the rest. gtk/inspector/css-node-tree.c | 11 +++++++++-- gtk/inspector/css-node-tree.ui | 10 ++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) commit 1e112ca75e13aa68b795e04f64c23758a05b4c50 Author: Matthias Clasen Date: Sun Oct 25 02:13:13 2015 -0400 inspector: Allow editing strv-valued properties These do occur in some places, and we can easily allow editing them. gtk/inspector/Makefile.inc | 2 + gtk/inspector/prop-editor.c | 68 ++++++++++++++++++ gtk/inspector/strv-editor.c | 167 ++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/strv-editor.h | 67 ++++++++++++++++++ 4 files changed, 304 insertions(+) commit 9d81f3f6f17f3774402bd82e5cb545d9ec9f0152 Author: Marek Černocký Date: Sun Oct 25 00:19:25 2015 +0200 Updated Czech translation po/cs.po | 386 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 171 insertions(+), 215 deletions(-) commit e440050134c59d4279f4a9ae8bdfe2b6d2dd3038 Author: Matthias Clasen Date: Sat Oct 24 17:04:38 2015 -0400 Fix the build gtk/gtknotebook.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit f1b756093887b534e3a8260a10b0454d64ab4ff5 Author: Matthias Clasen Date: Sat Oct 24 10:54:56 2015 -0400 notebook: Document css nodes and style class This will have to be updates as we do further changes to the way GtkNotebook does its rendering. gtk/gtknotebook.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 8917ee5373dc8f5ff1344fa9ffb636ffe99b5bed Author: Matthias Clasen Date: Sat Oct 24 10:32:35 2015 -0400 notebook: Drop unneeded code We no longer need to set the position classes on the main css node, since they are already set on the per-tab subnodes. gtk/gtknotebook.c | 27 --------------------------- 1 file changed, 27 deletions(-) commit 9f738da11bf8cb7eb63afa5e0f584144e6a3e6d4 Author: Matthias Clasen Date: Sat Oct 24 10:20:27 2015 -0400 HighContrast: Update notebook styling The switch from .notebook to notebook requires minor changes, such as moving the style properties into a separate selector. gtk/theme/HighContrast/_common.scss | 19 +++-- gtk/theme/HighContrast/gtk.css | 150 ++++++++++++++++++------------------ 2 files changed, 87 insertions(+), 82 deletions(-) commit a22e07f3745fe461d5d1fcdb64460cc06a1dcf3e Author: Matthias Clasen Date: Sat Oct 24 10:17:31 2015 -0400 Adwaita: Update notebook styling The switch from .notebook to notebook requires minor changes, such as moving the style properties into a separate selector. gtk/theme/Adwaita/_common.scss | 19 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 182 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 182 ++++++++++++++++--------------- 3 files changed, 201 insertions(+), 182 deletions(-) commit f194b9608adaed0df820bc5c2988caafdcb80e4d Author: Matthias Clasen Date: Sat Oct 24 10:10:33 2015 -0400 notebook: Use the element name notebook Switch GtkNotebook from using the .notebook style class to using the element name notebook for its main css node. gtk/gtknotebook.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit e2bfe9e95afaa8e06557aae905850987163ea147 Author: Matthias Clasen Date: Sat Oct 24 10:11:17 2015 -0400 notebook: Cosmetic cleanup gtk/gtknotebook.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 431089f7698c2788820f33639e103ddacb2b8b6c Author: Matthias Clasen Date: Fri Oct 23 16:22:25 2015 -0400 entry: Add css node documentation List the css names and the typical style classes that can be expected to occur with entries. gtk/gtkentry.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 78309d8b00a9f3d34492f2a03f7c4ff695b4a707 Author: Matthias Clasen Date: Fri Oct 23 16:16:55 2015 -0400 HighContrast: Update entry progress rendering Adapt HighContrast to the changes in the pre-previous commit. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit d8a3a4e7aad9618a6c7ec89ab9f9454452646fd2 Author: Matthias Clasen Date: Fri Oct 23 16:13:43 2015 -0400 Adwaita: Update entry progress rendering Adapt Adwaita to the changes in the previous commit. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 6a768ba218a720e572cc1d5a5b2dee05e392f434 Author: Matthias Clasen Date: Fri Oct 23 16:11:08 2015 -0400 entry: Use a permanent css node for progress Create a css node with name progressbar when we start showing progress in the entry. The node gets the style class .pulse added when we do pulse mode. gtk/gtkentry.c | 108 +++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 67 insertions(+), 41 deletions(-) commit e39ca899ad3b1e26ae84779f611e560d5b85f080 Author: Matthias Clasen Date: Fri Oct 23 15:41:05 2015 -0400 Adwaita: Update for entry icon changes gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 14 insertions(+), 14 deletions(-) commit f5e77d0c672247bcd632fc2bebe78deed3dfb523 Author: Matthias Clasen Date: Fri Oct 23 15:39:29 2015 -0400 entry: Use css nodes for icons Create css nodes for icons in entries, with name image, and use gtk_style_context_save_to_node() for them. We still set the style classes .left and .right on them. gtk/gtkentry.c | 65 ++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 45 insertions(+), 20 deletions(-) commit 8a8518ed40307d87c005b5b9ceff85ffcd7c0bcc Author: Matthias Clasen Date: Fri Oct 23 14:53:06 2015 -0400 HighContrast: Update entry styling Use the new element name instead of the style class. gtk/theme/HighContrast/_common.scss | 6 +-- gtk/theme/HighContrast/gtk.css | 86 ++++++++++++++++++------------------- 2 files changed, 46 insertions(+), 46 deletions(-) commit c6a7ceedc988f84ca6acf9d0dffa12e8490281fb Author: Matthias Clasen Date: Fri Oct 23 14:52:27 2015 -0400 Adwaita: Update entry styling Use the new element name instead of the style class. There is some minor fallout for vertical spin buttons that will need a second look. gtk/theme/Adwaita/_common.scss | 28 ++++----- gtk/theme/Adwaita/gtk-contained-dark.css | 100 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 100 +++++++++++++++---------------- 3 files changed, 114 insertions(+), 114 deletions(-) commit b2dd9cbc599de7be29598ed6065a6b09d8747ee3 Author: Matthias Clasen Date: Fri Oct 23 14:51:35 2015 -0400 entry: Use the element name entry Set the element name on the css node and drop the .entry class. gtk/gtkentry.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 5b0a26f8a318814f2a702ceba72d4a16ddb49f98 Author: Lapo Calamandrei Date: Fri Oct 23 17:12:01 2015 +0200 Adwaita: fix switch styling looks like switch stare are not passed to the slider anymore so rewrite selectors accordingly. gtk/theme/Adwaita/_common.scss | 43 +++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 80 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 80 ++++++++++++++++---------------- 3 files changed, 104 insertions(+), 99 deletions(-) commit 4959fe326759b56140679bb688b3e9d05d24c74c Author: Lapo Calamandrei Date: Fri Oct 23 16:58:17 2015 +0200 Adwaita: generalize .has-open-popup so it works for any list-row istead of just the ones in a sidebar. gtk/theme/Adwaita/_common.scss | 24 ++++++++++-------------- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 18 insertions(+), 22 deletions(-) commit 71b79f33292ba677402605c9fa2b0d6db2274286 Author: Matthias Clasen Date: Fri Oct 23 07:46:31 2015 -0400 shortcut: Improve formatting of ranges Use a centered ellipsis, to make it look nicer. gtk/gtkshortcutlabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 57057f73e4d715aacaab0fda3fc854665edf8027 Author: Matthias Clasen Date: Fri Oct 23 00:05:46 2015 -0400 HighContrast: Update image styling Use the new element name instead of the type name. gtk/theme/HighContrast/_common.scss | 8 ++++---- gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) commit 6f90b3ca31a409c7b2369838a48467580c82b64b Author: Matthias Clasen Date: Fri Oct 23 00:05:18 2015 -0400 Adwaita: Update image styling Use the new element name instead of the type name. gtk/theme/Adwaita/_common.scss | 20 +++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 34 ++++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 34 ++++++++++++++++---------------- 3 files changed, 44 insertions(+), 44 deletions(-) commit 34be4de1ad9ff8e10791fab29e6ae6a7fd881e65 Author: Matthias Clasen Date: Fri Oct 23 00:04:47 2015 -0400 image: Use the element name image Set hte element name on the CSS node. gtk/gtkimage.c | 5 +++++ 1 file changed, 5 insertions(+) commit a8b5c04694df3977835ba349104d93f2f611a423 Author: Matthias Clasen Date: Thu Oct 22 23:26:53 2015 -0400 HighContrast: Update label styling Use the new element name instead of the style class. gtk/theme/HighContrast/_common.scss | 20 ++++++++-------- gtk/theme/HighContrast/gtk.css | 48 ++++++++++++++++++------------------- 2 files changed, 34 insertions(+), 34 deletions(-) commit bacc9d4edd1088c32eb0a5cf41a456dc94f33158 Author: Matthias Clasen Date: Thu Oct 22 23:25:42 2015 -0400 Adwaita: Update label styling Use the new element name instead of the style class. gtk/theme/Adwaita/_common.scss | 48 +++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 103 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 103 ++++++++++++++++--------------- 3 files changed, 128 insertions(+), 126 deletions(-) commit 7d98c7f1aebb96f920cfc2e6abe40e9fc72e5d5c Author: Matthias Clasen Date: Thu Oct 22 23:18:30 2015 -0400 label: Use the element name label Set the element name on the CSS node, and drop the .label style class. gtk/gtklabel.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 506d5b5b4886fcc37305d53906fa8a6f136bd7c5 Author: Matthias Clasen Date: Thu Oct 22 23:07:54 2015 -0400 switch: Document css names a bit This is still provisional. Better gtk-doc support will be needed to do better here. gtk/gtkswitch.c | 5 +++++ 1 file changed, 5 insertions(+) commit de16a4e07c610eb7e8e824b08d43af969f79424d Author: Chun-wei Fan Date: Fri Oct 23 10:33:41 2015 +0800 MSVC release builds: Ensure that /LTCG is used MSVC 2015 changed its default link-time code generation setting to /LTCG:incremental, which causes problems if /opt:noref is to be used, meaning that some code will be optimized out by the linker. Avoid this situtation here by enforcing the use of /LTCG for MSVC 2010+ builds. build/win32/vs10/broadwayd.vcxprojin | 2 ++ build/win32/vs10/gailutil-3.vcxprojin | 46 ++++++++++++------------ build/win32/vs10/gdk-3.vcxprojin | 18 ++++++---- build/win32/vs10/gtk-3.vcxprojin | 10 +++--- build/win32/vs10/gtk-encode-symbolic-svg.vcxproj | 2 ++ build/win32/vs10/gtk3-demo-application.vcxprojin | 2 ++ build/win32/vs10/gtk3-demo.vcxprojin | 30 ++++++++-------- build/win32/vs10/gtk3-icon-browser.vcxprojin | 2 ++ 8 files changed, 65 insertions(+), 47 deletions(-) commit b5e1fd5b7f2e6efa6c3133f27a4765b9f5c886b6 Author: Matthias Clasen Date: Thu Oct 22 21:44:03 2015 -0400 HighContrast: Update switch styling Use the new element names instead of the type name and style classes, just like we did for Adwaita in the previous commit. gtk/theme/HighContrast/_common.scss | 33 +- gtk/theme/HighContrast/gtk.css | 657 ++++++++++++++++++------------------ 2 files changed, 346 insertions(+), 344 deletions(-) commit 99d764851765c5e5c6f2dc3cc827a7ccfa2295b0 Author: Matthias Clasen Date: Thu Oct 22 21:42:20 2015 -0400 Adwaita: Update switch styling Use the new element names instead of the type name and style classes. Note that there is one problem with moving away from type names here: it turns out that style properties only work if the selector uses the type name. gtk/theme/Adwaita/_common.scss | 33 +- gtk/theme/Adwaita/gtk-contained-dark.css | 830 +++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 768 +++++++++++++++------------- 3 files changed, 897 insertions(+), 734 deletions(-) commit 48b30e8e91c4cc1c678f8305dd46a4aaed4aec1c Author: Matthias Clasen Date: Thu Oct 22 21:40:31 2015 -0400 switch: Convert to element names Use the element names switch and slider for the two css nodes, and drop the .trough and .slider classes. gtk/gtkswitch.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 203742b1886a56909b12ebfcfa92bc99f6bd0df5 Author: Matthias Clasen Date: Thu Oct 22 21:00:12 2015 -0400 widget: Always set the type on css nodes See the previous commit for why this is necessary. Also make gtk_widget_class_set_css_name work by looking at the correct class for the name. Note for future reference: GTK_WIDGET_GET_CLASS() does not work in the instance init function. gtk/gtkwidget.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit d1a85fc9e49a0afa3cafc3aec98264d65a630f18 Author: Matthias Clasen Date: Thu Oct 22 20:58:52 2015 -0400 css node declaration: Allow both name and type to be set The widget path machinery assumes that we always have types, and without this change, it will start spewing warnings when we start to introduce node names. gtk/gtkcssnodedeclaration.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit e0d9250a07a4aa7678d2f89bffe1302ea48c8220 Author: Matthias Clasen Date: Thu Oct 22 20:58:08 2015 -0400 inspector: Show names for css nodes Currently, we don't have any css nodes with names, but we will soon. gtk/inspector/css-node-tree.c | 6 ++++++ gtk/inspector/css-node-tree.ui | 29 +++++++++++++++++++++-------- 2 files changed, 27 insertions(+), 8 deletions(-) commit 7cf3eec85b171d0e51b356b29446b58a86feb44d Author: Matthias Clasen Date: Thu Oct 22 19:27:13 2015 -0400 Add since tags to new api gtk_widget_class_set/get_css_name were missing it. gtk/gtkwidget.c | 14 +++++++++----- gtk/gtkwidget.h | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) commit 5a0a870d892a149e0a065f84a9a77b6e20c05ad6 Author: Timm Bäder Date: Thu Oct 22 19:31:36 2015 +0200 GtkApplicationWindow: Add missing annotations gtk/gtkapplicationwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit defd3146ebfdda12d515463d4659f11cc9f29cd8 Author: Matthias Clasen Date: Thu Oct 22 14:32:08 2015 -0400 gtk-demo: Add a range example to the shortcuts demo This shows off the new range display capability that I just added. demos/gtk-demo/shortcuts-builder.ui | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 67a54bf4ef8fd164cbd76bd5d1e98c053a5fe7bf Author: Matthias Clasen Date: Thu Oct 22 14:31:06 2015 -0400 shortcuts: Support ranges in the display of shortcuts Repeating Alt-1 to Alt-9 as individual shortcuts looks really boring, so allow compressing such ranges by specifying 1...9. gtk/gtkshortcutlabel.c | 81 ++++++++++++++++++++++++++++++++++------------ gtk/gtkshortcutsshortcut.c | 9 ++++-- 2 files changed, 67 insertions(+), 23 deletions(-) commit 6cf7c03334826fa14d808fee6b1f1618d80687db Author: Benjamin Otte Date: Thu Oct 22 20:29:10 2015 +0200 notebook: On drag window hide, fix css nodes gtk/gtknotebook.c | 1 + 1 file changed, 1 insertion(+) commit 1f1c7547da93e785f5e19564a468e8a404e9bc9a Author: Benjamin Otte Date: Thu Oct 22 18:42:56 2015 +0200 switch: Use the right state when querying padding We were using the state of the widget node, not the state of the slider node. This caused layout loops due to invalidations. gtk/gtkswitch.c | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) commit f703ea65995f4c8bd5c7e1c554a36d5ca835067d Author: Matthias Clasen Date: Thu Oct 22 11:50:49 2015 -0400 win32: Fix introspection syntax gdk/win32/gdkdisplay-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 26d8a56506447e17a3f2505c8a7907e526f93ffc Author: Owen W. Taylor Date: Tue Oct 20 16:45:52 2015 -0400 testgtk/Alpha Window: fix the drawn area when we are drawing decorations A GtkWindow's allocation includes the titlebar, borders, and shadows; we only want to draw our custom alpha content over the child allocation of the GtkWindow. https://bugzilla.gnome.org/show_bug.cgi?id=756886 tests/testgtk.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 1571d2872feb7a2bca03d22b615550e2a5d7a23c Author: Owen W. Taylor Date: Tue Oct 20 16:43:06 2015 -0400 GtkWindow: draw the frame and shadow even for app-paintable windows If a window is decorated, we need to draw the frame and shadow, even if it is app-paintable - it's just nonsense to have a frame that we handle events on, but expect the app to paint it. (We paint the titlebar in any case.) If a client wants to handle all painting, it should use an undecorated window. https://bugzilla.gnome.org/show_bug.cgi?id=756886 gtk/gtkwindow.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) commit 01136618b820d31bdfbb033bfce09b476150567d Author: Owen W. Taylor Date: Tue Oct 20 12:39:57 2015 -0400 Guard against selection requestor disappearing We made a number of unchecked accesses to the selection requestor, which could cause X errors if the selection requestor vanished (or we were sent invalid events). Add error traps around all of them. See https://bugzilla.redhat.com/show_bug.cgi?id=1210814 for an example of a crash that could be caused by this. (There are about 1000 instances of such a crash in http://retrace.fedoraproject.org though no linked bug reports specifically talk about cut-and-paste or DND.) https://bugzilla.gnome.org/show_bug.cgi?id=756881 gtk/gtkselection.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit d3bf602c60e8899f5e0e1ee6c6e26cd1550cfb3b Author: Benjamin Otte Date: Wed Oct 14 19:19:36 2015 +0200 iconcache: Remove unused function gtk/gtkiconcache.c | 82 ------------------------------------------------------ gtk/gtkiconcache.h | 16 ----------- 2 files changed, 98 deletions(-) commit 371f5016326692396a1a957e3e250a24cbc709e3 Author: Benjamin Otte Date: Mon Sep 7 21:42:25 2015 +0200 window: Name the decoration style gtk/gtkwindow.c | 2 +- gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 20 ++++++++++---------- gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 12 ++++++------ 6 files changed, 31 insertions(+), 31 deletions(-) commit 408920d438af56d8d83e6a78065608723057c325 Author: Benjamin Otte Date: Mon Sep 7 21:37:07 2015 +0200 window: Add gtk_widget_class_set_css_name() This is to replace using class names as CSS names. docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkwidget.c | 47 +++++++++++++++++++++++++++++++++++- gtk/gtkwidget.h | 6 +++++ 3 files changed, 54 insertions(+), 1 deletion(-) commit 244d9ffeeef0bec888e18c9f82125789cf4564e7 Author: Benjamin Otte Date: Mon Sep 7 21:31:57 2015 +0200 window: Refactor function Move gtk_style_context_save() into the function that sets up the decoration rendering. gtk/gtkwindow.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) commit ed574408f24dea9e015140dd2390063d7a95f56f Author: Benjamin Otte Date: Mon Sep 7 12:30:44 2015 +0200 notebook: Remove "prelight-page" class Instead, just use the "tab:hover" selector gtk/gtknotebook.c | 10 ---------- gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- gtk/theme/HighContrast/_common.scss | 8 ++++---- gtk/theme/HighContrast/gtk.css | 14 +++++++------- 6 files changed, 31 insertions(+), 41 deletions(-) commit 182f9a7f390dbeaa4684a2f194f751535fb13a5b Author: Benjamin Otte Date: Mon Sep 7 12:26:33 2015 +0200 notebook: Remove "active-page" class Instead, just use the "tab:active" selector gtk/gtknotebook.c | 13 ------------- gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 30 +++++++++++++++--------------- gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk.css | 30 +++++++++++++++--------------- 6 files changed, 51 insertions(+), 64 deletions(-) commit 2720d97db3525d4ac6a069acc3db032d943bd676 Author: Benjamin Otte Date: Mon Sep 7 12:20:54 2015 +0200 notebook: Remove funciton by folding it into callers gtk/gtknotebook.c | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) commit acd63a6019a126c843abe7f6e41f8b5ae8618c33 Author: Benjamin Otte Date: Mon Sep 7 12:11:09 2015 +0200 notebook: Refactor internal function Don't return the state anymore as the function doesn't even look at the state. Instead, make the callers that need the state query it manually. gtk/gtknotebook.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) commit 7b9844288a4b5eae8150325a59f547d51a4b9b3d Author: Benjamin Otte Date: Mon Sep 7 12:08:45 2015 +0200 notebook: Make tab positions permanent ... on the tab CssNodes. gtk/gtknotebook.c | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) commit dd3f2ec987b82781e463017fc5cffc44b5304997 Author: Benjamin Otte Date: Mon Sep 7 11:56:03 2015 +0200 notebook: Remove last traces of regions Now that we don't use regions anymore, there's no need to update anything when the regions change. gtk/gtknotebook.c | 116 ++++++------------------------------------------------ 1 file changed, 12 insertions(+), 104 deletions(-) commit f713bcd7421ef17fdcb0d1655c378570fbcfd22e Author: Benjamin Otte Date: Mon Sep 7 11:52:55 2015 +0200 notebook: Set reorderable-page style class properly Set it when the reorderable state changes, not just when rendering. gtk/gtknotebook.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit a4e86341e4a6f1ecc1d996c592df10ef1ed131fd Author: Benjamin Otte Date: Mon Sep 7 11:39:55 2015 +0200 notebook: Set active state properly Don't update it on save/restore, actually set it when it changes. gtk/gtknotebook.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 541926089ae8e1997360f2547adba1e933a15689 Author: Benjamin Otte Date: Mon Sep 7 02:15:25 2015 +0200 notebook: Set prelight state properly Don't update it on save/restore, actually set it when it changes. gtk/gtknotebook.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 3392d53f615693bbd49387b9fa933731e6d57701 Author: Benjamin Otte Date: Mon Sep 7 01:44:53 2015 +0200 notebook: Use CssNodes instead of regions This almost makes CSS work again with notebooks. gtk/gtknotebook.c | 84 +++++++++++++++++++++++++++---------------------------- 1 file changed, 41 insertions(+), 43 deletions(-) commit 01f7711307254495d1fbde4e9a301b803b5284ae Author: Benjamin Otte Date: Mon Sep 7 01:26:19 2015 +0200 notebook: Move style_context_save() into function This is for future changes. gtk/gtknotebook.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 601fe8f502761a9588bb932e6e353218b3c7afdb Author: Benjamin Otte Date: Tue Sep 8 19:31:59 2015 +0200 css: Remove macros that were used only with regions gtk/gtkcsstypesprivate.h | 2 -- 1 file changed, 2 deletions(-) commit 55d496e917c8b900cd6a497253aa6eb8079e3955 Author: Benjamin Otte Date: Tue Sep 8 19:31:37 2015 +0200 cssmatcher: Remove matching API for regions gtk/gtkcssmatcher.c | 148 --------------------------------------------- gtk/gtkcssmatcherprivate.h | 19 ------ 2 files changed, 167 deletions(-) commit 983de6f4a0bb76741965ceb683e58e46ccbb757d Author: Benjamin Otte Date: Sun Sep 6 07:36:57 2015 +0200 treeview: Use a cssnode instead of regions This makes Treeview headers work again like before region support was removed. gtk/gtktreeprivate.h | 1 - gtk/gtktreeview.c | 123 ++++++++----------------------- gtk/gtktreeviewcolumn.c | 1 - gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +- gtk/theme/Adwaita/gtk-contained.css | 6 +- gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 8 files changed, 41 insertions(+), 104 deletions(-) commit 24dde6346a727e1c500bd374b03d97341e4de863 Author: Benjamin Otte Date: Sun Sep 6 07:36:02 2015 +0200 API: cssselector: Stop supporting regions The namespace that belonged to regions is supposed to be used for CssNode names. gtk/gtkcssnode.c | 6 +- gtk/gtkcssselector.c | 223 +-------------------------------------------------- 2 files changed, 6 insertions(+), 223 deletions(-) commit 20ce0588b181f6049af4f5fdc7a3bf0693c91842 Author: Benjamin Otte Date: Sun Sep 6 01:46:24 2015 +0200 treeviewcolumn: Create button on init This way, the button is always available and the code doesn't have to special case this condition. gtk/gtktreeviewcolumn.c | 57 +++++++++++++++++++++---------------------------- 1 file changed, 24 insertions(+), 33 deletions(-) commit 950b1fb65c1722e00d2ff81343cc57c2a261863c Author: Benjamin Otte Date: Mon Feb 16 23:05:05 2015 +0100 switch: Port to GtkCssNode This is a simple port, no code modifications so far other than replacing gtk_style_context_save() with gtk_style_context_save_to_node(). gtk/gtkcssnode.c | 6 +++++ gtk/gtkcssnodeprivate.h | 2 ++ gtk/gtkswitch.c | 70 ++++++++++++++++++++++++++++++++++++------------- 3 files changed, 60 insertions(+), 18 deletions(-) commit c075c14bf40af39b983d44a1655cf8ccd3a069ba Author: Benjamin Otte Date: Mon Feb 16 16:37:33 2015 +0100 stylecontext: Add gtk_style_context_save_to_node() To be used instead of gtk_style_context_save() with persistent nodes. gtk/gtkstylecontext.c | 36 ++++++++++++++++++++++++++++++++++-- gtk/gtkstylecontextprivate.h | 2 ++ 2 files changed, 36 insertions(+), 2 deletions(-) commit 72615a1b1673410f59afb77e5265926383a12b69 Author: Benjamin Otte Date: Sat Sep 5 06:58:17 2015 +0200 stylecontext: Add gtk_style_context_add_named() This is an intermediate step for cssnode introduction. It gives a name for the node created by saving the style context. gtk/gtkstylecontext.c | 40 ++++++++++++++++++++++++---------------- gtk/gtkstylecontextprivate.h | 3 +++ 2 files changed, 27 insertions(+), 16 deletions(-) commit 385fda80b40446c568d0436c82b652fa20c055bf Author: Benjamin Otte Date: Sat Sep 5 06:39:10 2015 +0200 cssmatcher: Marshal name to matcher ... and use it in the node matcher. Also rename function from _gtk_css_matcher_get_type() to _gtk_css_matcher_get_name(). gtk/gtkcssmatcher.c | 40 ++++++++++++++++++++++++++-------------- gtk/gtkcssmatcherprivate.h | 10 ++++++---- gtk/gtkcssselector.c | 2 +- 3 files changed, 33 insertions(+), 19 deletions(-) commit efff9c8edb34116926b483c5278d9932ad2a1546 Author: Benjamin Otte Date: Sat Sep 5 06:31:32 2015 +0200 cssnode: Add setters/getters for name gtk/gtkcssnode.c | 34 ++++++++++++++++++++++++++++++++++ gtk/gtkcssnodeprivate.h | 3 +++ 2 files changed, 37 insertions(+) commit 26450a661e5498b29a455b52f4ce70c134c81cd5 Author: Benjamin Otte Date: Fri Sep 4 19:38:50 2015 +0200 cssnodedeclaration: Add possibility to set the name This is supposed to be a replacement for setting the type. So far, both options are possible - either will unset the other. gtk/gtkcssnodedeclaration.c | 33 ++++++++++++++++++++++++++++++++- gtk/gtkcssnodedeclarationprivate.h | 3 +++ 2 files changed, 35 insertions(+), 1 deletion(-) commit b65f400d565a3d30a9cd8b686296176f00abefee Author: Benjamin Otte Date: Sat Sep 5 21:44:13 2015 +0200 treeview: Remove "row" and "col" regions They aren't used by the theme and we want to get rid of regions. gtk/gtktreeview.c | 64 +------------------------------------------------------ 1 file changed, 1 insertion(+), 63 deletions(-) commit 92a136ffde0db7b620e2710053230a61619ada8b Author: Piotr Drąg Date: Thu Oct 22 02:01:05 2015 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 6 ++++++ po-properties/POTFILES.skip | 4 ++++ po/POTFILES.skip | 4 ++++ 3 files changed, 14 insertions(+) commit 1a2cdad220a3df5cb928d285258f0278b5754b68 Author: Matthias Clasen Date: Wed Oct 21 17:15:17 2015 -0400 Update NEWS to mention help overlays NEWS | 6 ++++++ 1 file changed, 6 insertions(+) commit a2e581d54c3aca3171abac119c2f6fd12b09789a Author: Matthias Clasen Date: Wed Oct 21 15:48:20 2015 -0400 Update POTFILES.in po/POTFILES.in | 6 ++++++ 1 file changed, 6 insertions(+) commit 3306ce68196b38f0c6e26867c597c40de295ebc8 Author: Matthias Clasen Date: Wed Oct 21 00:14:38 2015 -0400 widget-factory: Add an automatic help overlay This commit add some more keyboard shortcuts to gtk3-widget-factory, and adds a help overlay documenting them. This examle uses the automatic resource loading support in GtkApplication. demos/widget-factory/Makefile.am | 1 + demos/widget-factory/help-overlay.ui | 92 +++++++++++++++ demos/widget-factory/widget-factory.c | 130 +++++++++++++++++++++- demos/widget-factory/widget-factory.gresource.xml | 3 + demos/widget-factory/widget-factory.ui | 11 +- 5 files changed, 231 insertions(+), 6 deletions(-) commit f6d9f9f93de1c3c5a7ab5d9c64783e941189d9b5 Author: Matthias Clasen Date: Wed Oct 21 00:11:59 2015 -0400 Add automatic help overlay support to GtkApplication When the $(resource_prefix)/gtk/help-overlay.ui resource exists, load a GtkShortcutsWindow from it for each GtkApplicationWindow, and set up a win.show-help-overlay action with accels F1 and ? to show it. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkapplication.c | 56 ++++++++++++++++++++++---- gtk/gtkapplicationwindow.c | 78 +++++++++++++++++++++++++++++++++++- gtk/gtkapplicationwindow.h | 8 ++++ 4 files changed, 134 insertions(+), 10 deletions(-) commit 310781ecdd573c299e536ab0070910c484aa23d7 Author: Matthias Clasen Date: Sun Oct 11 16:48:08 2015 -0400 gtk-demo: Add a GtkShortcutsWindow demo This example implements the mockups from the help overlay design, showing off the various features of GtkShortcutsWindow. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 11 + demos/gtk-demo/gesture-two-finger-swipe-left.svg | 173 +++++++++ demos/gtk-demo/gesture-two-finger-swipe-right.svg | 169 ++++++++ demos/gtk-demo/shortcuts-builder.ui | 454 ++++++++++++++++++++++ demos/gtk-demo/shortcuts-clocks.ui | 148 +++++++ demos/gtk-demo/shortcuts-gedit.ui | 181 +++++++++ demos/gtk-demo/shortcuts.c | 92 +++++ demos/gtk-demo/shortcuts.ui | 44 +++ 9 files changed, 1273 insertions(+) commit d1c81446d7dd1f7a5641560d2cc0c30db880daef Author: Matthias Clasen Date: Sun Oct 11 16:40:48 2015 -0400 Add some styling for GtkShortcutsWindow Add some keycap frame around keysyms, and make the stack switcher buttons rounds. This is very provisional. gtk/theme/Adwaita/_common.scss | 20 + gtk/theme/Adwaita/gtk-contained-dark.css | 772 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 694 +++++++++++++-------------- 3 files changed, 689 insertions(+), 797 deletions(-) commit 1dfbae1aa41bb2b3b95fa841e0c1707fab52ca8b Author: Matthias Clasen Date: Sun Oct 11 16:39:18 2015 -0400 Add GtkShortcutsWindow This is a toplevel window that is tailored towards showing help for shortcuts in an application. The implementation closely follows this design: https://wiki.gnome.org/Design/OS/HelpOverlay This implementation is inspired by earlier work in gnome-builder, thanks to Christian Hergert. https://bugzilla.gnome.org/show_bug.cgi?id=756428 docs/reference/gtk/Makefile.am | 5 +- docs/reference/gtk/gtk-docs.sgml | 9 + docs/reference/gtk/gtk3-sections.txt | 71 ++ docs/reference/gtk/gtk3.types.in | 7 +- docs/reference/gtk/images/builder-shortcuts.png | Bin 0 -> 74526 bytes docs/reference/gtk/images/clocks-shortcuts.png | Bin 0 -> 26017 bytes docs/reference/gtk/images/gedit-shortcuts.png | Bin 0 -> 62962 bytes gtk/Makefile.am | 14 + gtk/gtk.h | 5 + gtk/gtkshortcutlabel.c | 314 +++++++++ gtk/gtkshortcutlabelprivate.h | 47 ++ gtk/gtkshortcutsgesture.c | 311 +++++++++ gtk/gtkshortcutsgesture.h | 42 ++ gtk/gtkshortcutsgroup.c | 306 ++++++++ gtk/gtkshortcutsgroup.h | 42 ++ gtk/gtkshortcutssection.c | 716 +++++++++++++++++++ gtk/gtkshortcutssection.h | 43 ++ gtk/gtkshortcutsshortcut.c | 264 +++++++ gtk/gtkshortcutsshortcut.h | 43 ++ gtk/gtkshortcutswindow.c | 882 ++++++++++++++++++++++++ gtk/gtkshortcutswindow.h | 57 ++ 21 files changed, 3176 insertions(+), 2 deletions(-) commit f254a4b67f5f4b2dfc72c54f3d23356e4cb05ada Author: Matthias Clasen Date: Sun Oct 11 18:54:27 2015 -0400 builder: Support creating GFile objects This is useful, e.g. when creating GFileIcon objects. gtk/gtkbuilder.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit e9aa33527f5e87e1f4599207eebfe1d06566a2a4 Author: Matthias Clasen Date: Mon Oct 19 20:42:52 2015 -0400 Don't use g_slist_next in the testsuite We generally use ->next directly. testsuite/gtk/textbuffer.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 2dc63dad34df84a9281c3aff2f0cc0346c4fb3be Author: Matthias Clasen Date: Mon Oct 19 20:42:12 2015 -0400 Don't use g_slist_next in gtktreeview.c We generally use ->next directly. gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 05717fe2dfa929c1c1d04f572b0b35e0dc7d85e7 Author: Matthias Clasen Date: Mon Oct 19 20:41:29 2015 -0400 Don't use g_slist_next in gtktreemodel.c We generally use ->next directly. gtk/gtktreemodel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 95c7a539bf13e1f8b8c332049b080fedbf127c7a Author: Matthias Clasen Date: Mon Oct 19 20:40:49 2015 -0400 Don't use g_slist_next in gtktextview.c We generally use ->next directly. gtk/gtktextview.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 55bd936b73625bec776455e0559eef809c86dc04 Author: Matthias Clasen Date: Mon Oct 19 20:40:15 2015 -0400 Don't use g_slist_next in gtktextlayout.c We generally use ->next directly. gtk/gtktextlayout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b65668a251f7f1913cabcf13efd103898e41b310 Author: Matthias Clasen Date: Mon Oct 19 20:39:34 2015 -0400 Don't use g_slist_next in gtktextdisplay.c We generally use ->next directly. gtk/gtktextdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 060948d8065686a5aa4dacaafbae9726de4e4139 Author: Matthias Clasen Date: Mon Oct 19 20:38:38 2015 -0400 Don't use g_slist_next in gtktextchild.c We generally use ->next directly. gtk/gtktextchild.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5dd78f74e0cb8a878fcd010f300a6c94b0da94bd Author: Matthias Clasen Date: Mon Oct 19 20:36:27 2015 -0400 Don't use g_slist_next in gtktextbufferrichtext.c We generally use ->next directly. gtk/gtktextbufferrichtext.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 50c269f846eb4b3dc2dbd0115430d248f9ee03ac Author: Matthias Clasen Date: Mon Oct 19 20:36:02 2015 -0400 Don't use g_slist_next in gtktextbuffer.c We generally use ->next directly. gtk/gtktextbuffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a863b0657686698ecb7d83683ffba4507d602e34 Author: Matthias Clasen Date: Mon Oct 19 20:34:58 2015 -0400 Don't use g_slist_next in gtkstock.c We generally use ->next directly. gtk/deprecated/gtkstock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9727a4c4bf8398e4e74f93dbd46f409fd2a0e028 Author: Matthias Clasen Date: Mon Oct 19 20:33:50 2015 -0400 Don't use g_slist_next in gtkiconfactory.c We generally use ->next directly. gtk/deprecated/gtkiconfactory.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 4d59233ba996e6955551f782fc212a36e2c90ad5 Author: Matthias Clasen Date: Mon Oct 19 20:31:57 2015 -0400 Don't use g_slist_next in the x11 backend We generally use ->next directly. gdk/x11/gdkcursor-x11.c | 8 ++++---- gdk/x11/gdkdevice-core-x11.c | 2 +- gdk/x11/gdkdevice-xi2.c | 2 +- gdk/x11/gdkwindow-x11.c | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) commit 364d1a574bc38f33f3580a645e74e7502f845076 Author: Matthias Clasen Date: Mon Oct 19 20:30:33 2015 -0400 Don't use g_slist_next in the windows backend We generally use ->next directly. gdk/win32/gdkevents-win32.c | 8 ++++---- gdk/win32/gdkwindow-win32.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit ffa98cbfa59374fb9d20835cf462c22ae0563848 Author: Matthias Clasen Date: Mon Oct 19 20:28:06 2015 -0400 Don't use g_slist_next in gdk We generally just use ->next directly. gdk/gdkevents.c | 2 +- gdk/gdkwindow.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit ecf5c5ff6eadb8cf17245ba3619806f304b4f7c4 Author: Matthias Clasen Date: Mon Oct 19 20:20:34 2015 -0400 Don't use g_list_next in gtk3-demo We generally just use ->next directly. demos/gtk-demo/toolpalette.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b5d3bebae33e08ae388d28ed12649a85eea5a3f3 Author: Matthias Clasen Date: Mon Oct 19 19:18:06 2015 -0400 Don't use g_list_next in gtkselection.c We generally access ->next directly. gtk/gtkselection.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit ea91670c117b53977fb28aeba23788e7348ee04f Author: Matthias Clasen Date: Mon Oct 19 19:15:30 2015 -0400 Don't use g_list_next in gtkmain.c We generally access ->next directly. gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 842263331134639eb8e129753f95e6fc1c9893bb Author: Matthias Clasen Date: Mon Oct 19 19:14:52 2015 -0400 Don't use g_list_next in gtkdialog.c We generall access ->next directly. gtk/gtkdialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b84797a2c6c1a5c7984d03aab80c3a5098193224 Author: Matthias Clasen Date: Mon Oct 19 19:13:35 2015 -0400 Don't use g_list_next in gtkcontainer.c We generally access ->next directory. gtk/gtkcontainer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a0379d54244a1d09286e3c870281a77e76079c0f Author: Matthias Clasen Date: Mon Oct 19 19:10:42 2015 -0400 Don't use g_slist_next in gtktextbtree.c We generally access ->next directly. gtk/gtktextbtree.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d0e30994d0be914766a42662b06213c2b44f695e Author: Matthias Clasen Date: Mon Oct 19 18:33:10 2015 -0400 builder: Don't use g_slist_next We just use direct access to list->next all over the place. gtk/gtkbuilder.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 45fa145034f54ea059dabe462fe592295841d75a Author: Matthias Clasen Date: Mon Oct 19 14:58:35 2015 -0400 builder: Cosmetic changes Use an iter instead of g_hash_table_forall. gtk/gtkbuilder.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit eec75ee9d6fef38667a325e40d50b735bb0593ae Author: Matthias Clasen Date: Mon Oct 19 14:38:30 2015 -0400 Cosmetic changes Line up struct-filling code with the order in the declaration. gtk/gtkbuilderparser.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 65aa367029188e91260ab27a1b75f716d734677c Author: Matthias Clasen Date: Mon Oct 19 06:13:33 2015 -0400 Add some more builder parser tests These tests contain non-canonical and non-existing property names. testsuite/gtk/ui/dialog7.expected | 1 + testsuite/gtk/ui/dialog7.ui | 10 ++++++++++ testsuite/gtk/ui/dialog8.expected | 2 ++ testsuite/gtk/ui/dialog8.ui | 10 ++++++++++ 4 files changed, 23 insertions(+) commit 019078364e994a8780090ab3dc0a6f8d24759fe6 Author: Matthias Clasen Date: Mon Oct 19 00:38:27 2015 -0400 builder: Avoid some unnecessary overhead Only get the class once per object, not once per property. And don't canonicalize the property name, g_object_class_find_property does that already. gtk/gtkbuilderparser.c | 37 ++++++++++++++++++------------------- gtk/gtkbuilderprivate.h | 1 + 2 files changed, 19 insertions(+), 19 deletions(-) commit eb0b096963024b8136d856f33e3d83c652a2662f Author: Inaki Larranaga Murgoitio Date: Tue Oct 20 10:50:10 2015 +0200 Updated Basque language po-properties/eu.po | 4618 +++++++++++++++++++++++++++------------------------ 1 file changed, 2415 insertions(+), 2203 deletions(-) commit 3bbd8bd1c37182aa2540588bd35eb72375bb4a48 Author: Inaki Larranaga Murgoitio Date: Tue Oct 20 10:03:39 2015 +0200 Updated Basque language po/eu.po | 210 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 105 insertions(+), 105 deletions(-) commit 4447cf24197e4cebb97df9e8e944e70ab9989d17 Author: Paolo Borelli Date: Mon Oct 19 11:41:34 2015 +0200 widget: fix typo in warning message gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f838743bc086fc515263e64560a3dcf538419f32 Author: Jonas Ådahl Date: Tue Oct 13 20:48:51 2015 +0800 wayland: Map windows with tooltip hint as subsurfaces Tooltips tend to be placed on top of a parent surface with a given relative coordinate, and without any input focus. So lets map them as subsurfaces. https://bugzilla.gnome.org/show_bug.cgi?id=756496 gdk/wayland/gdkwindow-wayland.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9fe40f9a469f2f73f5166472ebc85b7be5ff9947 Author: Jonas Ådahl Date: Tue Oct 13 20:39:02 2015 +0800 wayland: Clean up code determining how to map a window Restructure the mapping procedure so that its known up front what the expected way mapping is to be done (subsurface, popup or stand alone), and warn if it fails to actually map in such a way (for example a popup without a parent or device grab, a tooltip without a parent). https://bugzilla.gnome.org/show_bug.cgi?id=756496 gdk/wayland/gdkwindow-wayland.c | 100 ++++++++++++++++++++++++++++++---------- 1 file changed, 75 insertions(+), 25 deletions(-) commit 25483304cdc967c374a435200416affb573583f8 Author: Matthias Clasen Date: Sat Oct 17 12:48:55 2015 -0400 Minor cleanup Replace a unref-and-unset combination with g_clear_object. gdk/x11/gdkwindow-x11.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c8604923598aad745a65ec16eb79113c97649345 Author: Matthias Clasen Date: Sat Oct 17 12:45:25 2015 -0400 Clean up handling of _gdk_win32_grab_cursor This is a variable holding a ref to an object, so it is a great case to use g_set_object and g_clear_object. # Please enter the commit message for your changes. Lines starting gdk/win32/gdkdevice-virtual.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 00b39e4a82401f407a2df2e2e35a18ede88b41ea Author: Руслан Ижбулатов Date: Sat Oct 17 07:59:37 2015 +0000 W32: Add missing reference taking in gdk_device_virtual_grab() https://bugzilla.gnome.org/show_bug.cgi?id=756160 gdk/win32/gdkdevice-virtual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a397324d19f68ed5e0f3298eed71833210c5320d Author: Kjartan Maraas Date: Sat Oct 17 11:13:04 2015 +0200 Updated Norwegian bokmål translation. po/nb.po | 519 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 261 insertions(+), 258 deletions(-) commit 73b21d680cba9da1787aacfe8425f8b28e28a934 Author: Kjartan Maraas Date: Sat Oct 17 11:11:01 2015 +0200 Fixes from Einar Ulvsløkk. po/nb.po | 3288 +++++++++++++++++++++++--------------------------------------- 1 file changed, 1188 insertions(+), 2100 deletions(-) commit 944ef8bb0b6205097e48f209baf1195a3c1e8fc7 Author: Timm Bäder Date: Fri Oct 16 14:44:16 2015 +0200 GtkPaned: Fix gtk_paned_set_child_visible calls Use CHILD1/CHILD2 instead of 0 and 1, always use the same order and don't check for child NULL-ness, because it will be done in gtk_paned_set_child_visible anyways. gtk/gtkpaned.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) commit d0779db1e18db77d6aecd3532b299da0a9edad3c Author: Timm Bäder Date: Fri Oct 16 14:11:28 2015 +0200 GtkRevealer: Remove useless _start_animation call The call just passed priv->target_pos, but _start_animation directly returns if the given target is priv->target_pos (see line 627). gtk/gtkrevealer.c | 2 -- 1 file changed, 2 deletions(-) commit 027b02a371775ef298a973cf32d2dc65d87f6593 Author: William Hua Date: Thu Oct 15 18:07:33 2015 +0100 mir: send touch events gdk/mir/gdkmireventsource.c | 39 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit c888a927e7269f119b58c2d1bb19fd44c81a7a67 Author: Ignacio Casal Quinteiro Date: Fri Oct 16 09:22:39 2015 +0200 win32: fix warnings about signed/unsigned mismatch gdk/win32/gdkdevicemanager-win32.c | 15 ++++++++------- gdk/win32/gdkdnd-win32.c | 2 +- gdk/win32/gdkkeys-win32.c | 2 +- gdk/win32/gdkselection-win32.c | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) commit 342b6202236d5ebe475700455b2fc560dd654667 Author: Ignacio Casal Quinteiro Date: Fri Oct 16 09:07:02 2015 +0200 win32: use the same type as the prototype gdk/win32/gdkdisplay-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9d3e9c9375639e00041e5a2704a069634ddf717c Author: Sébastien Wilmet Date: Thu Oct 15 14:10:00 2015 +0200 inspector: remove gtk_text_buffer_get_iter_at_line_index() workaround The function is now safe to use. https://bugzilla.gnome.org/show_bug.cgi?id=735341 gtk/inspector/css-editor.c | 37 ++++++++----------------------------- 1 file changed, 8 insertions(+), 29 deletions(-) commit a9a1c00cc9255ee9a7f73695f69abe172cde7bfa Author: Sébastien Wilmet Date: Thu Oct 15 10:43:10 2015 +0200 textbuffer: nicer get_iter functions Avoid crashes when passing an invalid location to a gtk_text_buffer_get_iter_at_*() function. A boolean is returned to know if @iter has been set to the exact location. Unit tests are added. https://bugzilla.gnome.org/show_bug.cgi?id=735341 gtk/gtktextbuffer.c | 95 ++++++++++++++++++++++++++-------- gtk/gtktextbuffer.h | 34 ++++++------- testsuite/gtk/textbuffer.c | 123 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 215 insertions(+), 37 deletions(-) commit a712d1fd76fcd4343cc567ee5ec1f5bf9a793d36 Author: Dušan Kazik Date: Fri Oct 16 06:31:32 2015 +0000 Updated Slovak translation po-properties/sk.po | 2333 +++++++++++++++++++-------------------------------- 1 file changed, 873 insertions(+), 1460 deletions(-) commit ce2c89c6ed8570fec17712ce715e70753d1bbdd8 Author: Dušan Kazik Date: Fri Oct 16 06:26:53 2015 +0000 Updated Slovak translation po/sk.po | 1283 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 698 insertions(+), 585 deletions(-) commit c264cd67853f006538a4022d0c3b7f2bba9a8dab Author: Matthias Clasen Date: Thu Oct 15 23:04:44 2015 -0400 Split off a private header for GtkTextBuffer This avoids polluting the installed header with private symbols. gtk/Makefile.am | 1 + gtk/a11y/gtktextviewaccessible.c | 1 + gtk/gtktextbtree.c | 1 + gtk/gtktextbuffer.c | 1 + gtk/gtktextbuffer.h | 27 -------------------- gtk/gtktextbufferprivate.h | 55 ++++++++++++++++++++++++++++++++++++++++ gtk/gtktextiter.c | 1 + gtk/gtktextlayout.c | 1 + gtk/gtktexttagtable.c | 2 +- 9 files changed, 62 insertions(+), 28 deletions(-) commit af8c2d2f7ba5b1881b4c75c8d7aaff05d3655a64 Author: Matthias Clasen Date: Thu Oct 15 22:35:38 2015 -0400 Improve text a11y test Test appending text as well as replacing the entire text. Insert non-ASCII text to verify offsets are correct. testsuite/a11y/text.c | 78 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 66 insertions(+), 12 deletions(-) commit 3c217e6954c903d8e01a5333e8acf82de6be65de Author: Matthias Clasen Date: Thu Oct 15 20:53:43 2015 -0400 file chooser: Avoid search interruption When the search entry is shown, the 'special' nature of ., ~ and / should not trigger the location entry, because that interrupts the search and is likely not what the user intended. https://bugzilla.gnome.org/show_bug.cgi?id=756505 gtk/gtkfilechooserwidget.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 0731c502626d2b739281f7bb87f5cfd9d8a61ade Author: Matthias Clasen Date: Thu Oct 15 20:16:54 2015 -0400 entry completion: Only grab the device if we have one When the entry completion is popped up from a timeout, we may not have a device. In that case, don't call gdk_device_grab, do avoid criticals. gtk/gtkentrycompletion.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) commit dd3f4f29047dc87a412e1e4432d39d56bbd01e5d Author: Matthias Clasen Date: Thu Oct 15 16:06:15 2015 -0400 scrolled window: Protect against nameless devices It seems that gdk_device_get_name() can return NULL. We should not crash if that happens. https://bugzilla.gnome.org/show_bug.cgi?id=756625 gtk/gtkscrolledwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit c3686838eabc0a67550f17150caea2b1466c8b39 Author: Carlos Soriano Date: Thu Sep 24 11:54:58 2015 +0200 gtkplacesview: align spinner with header label Use the box margin top instead of the label margin top, so the spinner remains aligned with the header label. https://bugzilla.gnome.org/show_bug.cgi?id=756568 gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9cc3e63045af9ea2909272d3947304863b6088de Author: Carlos Soriano Date: Wed Oct 14 22:04:35 2015 +0200 gtkplacesview: plug leak https://bugzilla.gnome.org/show_bug.cgi?id=756568 gtk/gtkplacesview.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit d29d54a97bd6199a6ce4fb3c6cf99bd94040babe Author: Carlos Soriano Date: Thu Sep 24 14:49:30 2015 +0200 gtkplacesview: remove hover color from rows Since other views are not using hover neither https://bugzilla.gnome.org/show_bug.cgi?id=756568 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 9341f64c1948f89dd47167b20502ea9e608bb082 Author: Carlos Soriano Date: Thu Sep 24 11:26:59 2015 +0200 gtkplacesview: add a clear button to address entry So it allows a quick way to clear the entry. https://bugzilla.gnome.org/show_bug.cgi?id=756568 gtk/gtkplacesview.c | 22 ++++++++++++++++++++-- gtk/ui/gtkplacesview.ui | 1 + 2 files changed, 21 insertions(+), 2 deletions(-) commit f9b6c07c8a425ea9359111c49c2aadfaf452a844 Author: Carlos Soriano Date: Thu Sep 24 11:04:39 2015 +0200 gtkplacesview: rotate server list icon on toggled Disclosure triangles are usually used pointing down, however in this case the popover spawns in the upper direction, which makes it odd looking. Instead of pointing always down or up, point down when not toggled and animate a rotation when toggled. https://bugzilla.gnome.org/show_bug.cgi?id=756568 gtk/theme/Adwaita/_common.scss | 16 ++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/theme/Adwaita/gtk-contained.css | 10 ++++++++++ gtk/ui/gtkplacesview.ui | 5 ++++- 4 files changed, 40 insertions(+), 1 deletion(-) commit 831509f6aa693cf5fddecb36b6449f73ab6c3d87 Author: Carlos Soriano Date: Wed Sep 23 19:55:11 2015 +0200 gtkplacesview: tweak ui to allow more server rows Following design guidance, reduce row height and increase popover height so the user is allowed to see more than 3 rows. https://bugzilla.gnome.org/show_bug.cgi?id=756568 gtk/gtkplacesview.c | 2 +- gtk/ui/gtkplacesview.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1dbcce785e0a0705ece237fe4c1ba8b99203639d Author: Carlos Soriano Date: Wed Oct 14 21:48:06 2015 +0200 gtkplacesview: improve heuristics for external drives Following the sidebar on commit b0989b190df, improve the way we check when a drive is external or not. https://bugzilla.gnome.org/show_bug.cgi?id=756589 gtk/gtkplacesview.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit 569be9f11159092f8be56f8d76eb2edccd629a5c Author: Carlos Soriano Date: Wed Oct 14 21:47:39 2015 +0200 gtkplacesview: remove dead code This is checked on add_volume inside the loop. https://bugzilla.gnome.org/show_bug.cgi?id=756589 gtk/gtkplacesview.c | 4 ---- 1 file changed, 4 deletions(-) commit 983c61826bd1975b5878e746a4cacf7016fde988 Author: Carlos Soriano Date: Wed Oct 14 21:47:03 2015 +0200 gtkplacesview: remove dead code This is checked on is_removable_volume https://bugzilla.gnome.org/show_bug.cgi?id=756589 gtk/gtkplacesview.c | 15 --------------- 1 file changed, 15 deletions(-) commit 0cd4e7ec43a07ae8dc77231bef25ee792ddda529 Author: Carlos Soriano Date: Wed Oct 14 21:42:16 2015 +0200 gtkplacessidebar: improve heuristics for external drives Since the change to use GtkPlacesView we don't want to show internal storage on the sidebar. In our case we were checking for drive_can_eject and drive_is_media_removable. However for some external hard drives it's reported that they are not ejectable nor the have removable media. So the only attribute that they have different from internal drives is that they can be stopped. So check for if the drive can be stopped to decide if it is external or internal. On the way realized we don't need to check for the mounts associated with the volume to know if the volume can be ejected or not. So remove that code. https://bugzilla.gnome.org/show_bug.cgi?id=756589 gtk/gtkplacessidebar.c | 27 ++++++++++----------------- 1 file changed, 10 insertions(+), 17 deletions(-) commit 11ee4b40af850c3c271b6c5fce64cdd0a9066594 Author: William Hua Date: Thu Oct 15 16:20:32 2015 +0100 mir: add mircookie as a dependency configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8147f12ecaa726ce52af50946c70fd54b608c809 Author: Carlos Garnacho Date: Wed Oct 14 17:27:53 2015 +0200 texthandle: Ensure handles are invalidated on mode changes Otherwise the "cursor" handle stays with "cursor" appearance instead of "selection end" when a text selection is started. gtk/gtktexthandle.c | 5 +++++ 1 file changed, 5 insertions(+) commit 14dde08e33f45e08f8b71353f7dfad37e8988d77 Author: Carlos Garnacho Date: Wed Oct 14 17:41:12 2015 +0200 texthandle: small refactor These long enums are used too often, shorten things a bit with temp vars. gtk/gtktexthandle.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit cfaa4214337c3cb529ba2f415f5581e0ca44de66 Author: Carlos Garnacho Date: Wed Oct 14 17:21:25 2015 +0200 texthandle: Fix Y positioning of text handles It is assumed that border.top is the same than pointing_to.height (which equals the strong cursor position), which is not since some time ago. The border calculation has been move on top too, it is now used in the Y position one, and doesn't depend on anything we calculate later. gtk/gtktexthandle.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 73bf16b3b0492b6ac5e077f7179312c5090cfb6e Author: Carlos Garnacho Date: Wed Oct 14 15:53:51 2015 +0200 texthandle: Fix handle dragging on wayland Text handles are subsurfaces on wayland, so sort of their own toplevel. This made gtk_widget_translate_coordinates() to bail out there, resulting in text handles being mispositioned and jumpy. To fix this, translate to toplevel GtkWindow coordinates manually, and translate coordinates from there. Along the way, the coordinates reported in ::handle-dragged have been fixed so there is no small jumps in either axis (most noticeable in the X axis when you started dragging, and in the Y axis when moving between lines of different heights. gtk/gtktexthandle.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) commit f2b848a5319987a3b45282058cd091b3e3152652 Author: Ross Lagerwall Date: Sun Sep 27 15:59:49 2015 +0100 gtkplacessidebar: Show drives with removable media Some drives have removable media that is not ejectable (e.g. a laptop's SD card reader). Show volumes on these drives in the sidebar. https://bugzilla.gnome.org/show_bug.cgi?id=755654 gtk/gtkplacessidebar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 6f6f13a7d8cf245a1e6b6d16ad08ee61d7deb7ce Author: Inaki Larranaga Murgoitio Date: Wed Oct 14 12:43:51 2015 +0200 Updated Basque language po/eu.po | 4258 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 2217 insertions(+), 2041 deletions(-) commit af5792f14126382705b2de328e4266f03ad1f824 Author: William Hua Date: Tue Oct 13 10:18:11 2015 +0100 mir: support more pixel formats gdk/mir/gdkmirdisplay.c | 23 ++++++++++++++--------- gdk/mir/gdkmirwindowimpl.c | 37 ++++++++++++++++++++++++++++++++++++- 2 files changed, 50 insertions(+), 10 deletions(-) commit 364732f2e6439d3f2e8c02092d30b7aeac0e5bb8 Author: Jonas Ådahl Date: Tue Oct 13 20:53:39 2015 +0800 GtkWindow: Enlarge the type hint private field Make it what it is - the enum - so that that it is sure that the hint will fit in the field. Without this, any hint that doesn't fit in 3 bits will be truncated to the 3 least significant bits, causing unexpected behaviour. https://bugzilla.gnome.org/show_bug.cgi?id=756496 gtk/gtkwindow.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit d4699cf51d77d1748b7a0f0fe93956d01359ba99 Author: Marek Černocký Date: Tue Oct 13 12:02:56 2015 +0200 Updated Czech translation po/cs.po | 560 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 249 insertions(+), 311 deletions(-) commit 4398e1246955546c76d7d690cb84b4fa3df03069 Author: Olivier Fourdan Date: Mon Oct 12 16:11:11 2015 +0200 GdkAppLaunchContext: Use the display name for X11 Using a NULL GAppInfo with g_app_launch_context_get_display() will generate a critical warning in gio. Use the display name instead as we don't have any valid GAppInfo to pass to g_app_launch_context_get_display(). bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=756439 gdk/x11/gdkapplaunchcontext-x11.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit ab001d01c8274013e66d29a6e58275d819845c3c Author: Carlos Garnacho Date: Tue Oct 13 00:24:18 2015 +0200 textview: Ensure magnifier popover points within widget area Otherwise the popopver will be automatically unmapped in _gtk_popover_update_child_visible() when the X axis (coming more or less directly from events) goes outside the textview. gtk/gtktextview.c | 4 ++++ 1 file changed, 4 insertions(+) commit d8e41e13089811a640a28c65471f3701bad5d755 Author: Carlos Garnacho Date: Tue Oct 13 00:21:43 2015 +0200 popover: Invalidate borders on tail position changes There's nothing doing this explicitly, so tail position changes may leave trails of older positions. https://bugzilla.gnome.org/show_bug.cgi?id=756449 gtk/gtkpopover.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit 7ab250c10cc84de5474066c6be6706f6f87f1b53 Author: Carlos Garnacho Date: Fri Oct 9 16:14:31 2015 +0200 wayland: Set a more believable crossing detail on pointer enter/leave GDK_NOTIFY_ANCESTOR would happen when the pointer crosses across a direct parent/child. However nonlinear events are more likely, specially when the pointer moves across toplevels (either different apps, or menus being popped up over the pointer position). This makes popping up comboboxes and other menus that fall over the pointer position possible. With the previous detail the GtkMenu code misinterpreted the crossing event, making it think the button release coming right after should dismiss the popup, which made menus just flash on the screen unless you kept the button pressed. gdk/wayland/gdkdevice-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c05dc28952aa8ae2fb954ebf1fffc1100d8a6057 Author: Timm Bäder Date: Mon Oct 12 13:11:36 2015 +0200 gtk-query-settings: Add license header gtk/gtk-query-settings.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 6f7029bb67d4ae2b0bc0b3ea1b0f066e2bd71c4c Author: Chun-wei Fan Date: Mon Oct 12 23:22:35 2015 +0800 MSVC builds: Fix "install" Use $(GlibEtcInstallRoot) when invoking glib-compile-schemas, as CopyDir is not GlibInstallRoot for GTK+ (due to quoting issues), meaning that the glib-compile-schemas tool may not be found in certain cases. Issue pointed out by Ignacio Casal Quinteiro. build/win32/vs10/gtk3-install.propsin | 2 +- build/win32/vs9/gtk3-install.vspropsin | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7aa2bfdc774bde4ac58f18533f03679cd5833421 Author: Timm Bäder Date: Wed Oct 7 11:26:53 2015 +0200 Add gtk-query-settings A small utility binary to query all properties of GtkSettings. https://bugzilla.gnome.org/show_bug.cgi?id=756174 docs/reference/gtk/Makefile.am | 6 ++- docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk-query-settings.xml | 45 ++++++++++++++++++++ gtk/Makefile.am | 7 ++++ gtk/gtk-query-settings.c | 70 +++++++++++++++++++++++++++++++ 5 files changed, 127 insertions(+), 2 deletions(-) commit bddc524cd84b76d1c25c7700eca9d3a25db30cf6 Author: Benjamin Otte Date: Sat Oct 10 23:21:45 2015 +0200 stylecontext: Make sure style is valid when looking up style properties Otherwise, the validation may happen vey automatically some time during the style property and that will most likely cause a crash. https://bugzilla.gnome.org/show_bug.cgi?id=756338 gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+) commit 74e02842bbf832c32fb6d36692b760aefb05682e Author: Lapo Calamandrei Date: Sat Oct 10 17:42:40 2015 +0200 Adwaita: osd spinbutton fixes gtk/theme/Adwaita/_common.scss | 18 ++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 67 ++++++++++++++++++++++++++++---- gtk/theme/Adwaita/gtk-contained.css | 67 ++++++++++++++++++++++++++++---- 3 files changed, 137 insertions(+), 15 deletions(-) commit b2d379a340dc4a1908f700e0b0100d241c091a49 Author: Lapo Calamandrei Date: Fri Oct 9 16:27:30 2015 +0200 Adwaita: stop consider buttons on osd 'linked' we used to consider every button inside osd containers linked, this is not true anymore, now those buttons behave normally. This will clearly cause breakage in applications. gtk/theme/Adwaita/_common.scss | 34 -------------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 26 +++++------------------- gtk/theme/Adwaita/gtk-contained.css | 26 +++++------------------- 3 files changed, 10 insertions(+), 76 deletions(-) commit 70f577251ff3dff5b11b2040aee5aa3efe26da9d Author: Felipe Borges Date: Fri Oct 2 17:15:26 2015 +0200 gtkprintoperation: job names must not exceed 255 chars According to http://datatracker.ietf.org/doc/rfc2911/, The 'name' attribute syntax is essentially the same as 'text', including the REQUIRED support of UTF-8 except that the sequence of characters is limited so that its encoded form MUST NOT exceed 255 (MAX) octets. CUPS will not print jobs with names exceeding 255 characters. https://bugzilla.gnome.org/show_bug.cgi?id=755988 gtk/gtkprintoperation.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 5548665351c32a2fae4a1f7add079d8ce4131977 Author: Matthias Clasen Date: Fri Oct 9 00:17:09 2015 -0400 im context simple: Add documentation Document that GtkIMContextSimple is loading additional compose tables. Also document Ctrl-Shift-u. gtk/gtkimcontextsimple.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit a41f02f9b1843e0f0085f801430e55f413a9bf9c Author: Takao Fujiwara Date: Mon Sep 7 18:10:19 2015 +0900 GtkIMContextSimple: Load locale compose tables dynamically. Load /usr/share/X11/locale/$LOCALE/Compose and $HOME/.XCompose dynamically. https://bugzilla.gnome.org/show_bug.cgi?id=721120 configure.ac | 9 +++ gtk/Makefile.am | 1 + gtk/gtkimcontextsimple.c | 189 ++++++++++++++++++++++++++++++++++++++++++----- gtk/gtkimcontextsimple.h | 3 + 4 files changed, 184 insertions(+), 18 deletions(-) commit 138187755fc16afca1898bfae6df8317e1c76429 Author: Takao Fujiwara Date: Mon Sep 7 18:10:16 2015 +0900 Add gtk_compose_table_new_with_file() to create GtkComposeTable https://bugzilla.gnome.org/show_bug.cgi?id=721120 gtk/Makefile.am | 1 + gtk/gtkcomposetable.c | 882 ++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcomposetable.h | 11 +- 3 files changed, 893 insertions(+), 1 deletion(-) commit 4535d09beade268cea1f2bbbd3bf8a207ea2cf58 Author: Takao Fujiwara Date: Thu Sep 3 17:43:52 2015 +0900 GtkIMContextSimple: Change guint to guint16 in gtkimcontextsimple.c GtkComposeTable and GtkComposeTableCompact use guint16 for the data. https://bugzilla.gnome.org/show_bug.cgi?id=721120 gtk/gtkimcontextsimple.c | 10 +++++----- gtk/gtkimcontextsimpleprivate.h | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) commit 48a2477f2ddefb793e6845b14a84e715405f0c6e Author: Takao Fujiwara Date: Thu Sep 3 17:43:49 2015 +0900 GtkIMContextSimple: export _gtk_check_compact_table() and GtkComposeTable Some functions need to be exported if X11 compose files are loaded. https://bugzilla.gnome.org/show_bug.cgi?id=721120 gtk/Makefile.am | 2 + gtk/gtkcomposetable.h | 46 +++++++++++++ gtk/gtkimcontextsimple.c | 144 ++++++++++++++++++++++++---------------- gtk/gtkimcontextsimpleprivate.h | 49 ++++++++++++++ 4 files changed, 184 insertions(+), 57 deletions(-) commit 22b0ed68078e022683bc81dbc33985837f4855d1 Author: Ignacio Casal Quinteiro Date: Thu Oct 8 17:48:57 2015 +0200 win32: use the same parameter name as the implementation gdk/win32/gdkdisplay-win32.c | 2 +- gdk/win32/gdkwin32display.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit f45e26885c8650bbe6c5db9920c89eb8798df314 Author: Lapo Calamandrei Date: Thu Oct 8 17:18:50 2015 +0200 Adwaita: simplify spibutton styling a bit gtk/theme/Adwaita/_common.scss | 84 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 829 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 753 ++++++++++++++-------------- 3 files changed, 851 insertions(+), 815 deletions(-) commit b6bf982289273c1416ba66281b8c09a1ee6a33a4 Author: Benjamin Otte Date: Thu Oct 8 14:34:39 2015 +0200 iconhelper: Track icon-name fallback usage in the GIcon Passing GTK_ICON_LOOKUP_GENERIC_FALLBACK to the icon lookup doesn't work for GIcons, so we have to make sure we use the right GThemedIcon. Fixes image-icon-name-use-fallback reftest. gtk/gtkiconhelper.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 3df565cbf737ec6ad87b9d8eae21a1213e656fd2 Author: Bastien Nocera Date: Thu Oct 8 13:36:52 2015 +0200 reftests: Rename reftest After figuring out what the actual problem is, name the reftest properly. The actual problem is that the use-fallback property is ignored when using an icon-name on GtkImage. testsuite/reftests/Makefile.am | 4 ++-- .../{gtk-image.ref.ui => image-icon-name-use-fallback.ref.ui} | 0 testsuite/reftests/{gtk-image.ui => image-icon-name-use-fallback.ui} | 0 3 files changed, 2 insertions(+), 2 deletions(-) commit 8bd98c08aa380dd31273b4377ef6417f9946c941 Author: Bastien Nocera Date: Thu Oct 8 13:36:52 2015 +0200 reftests: Add test for GtkImage use-fallback property Fallback seems to be working in the GtkIconTheme test suite, but fails in GtkImage itself. This is a test for a bug in the Bluetooth settings. An icon named "phone-apple-iphone" should fallback to "phone" if the gnome-icon-theme-extras package isn't installed. testsuite/reftests/Makefile.am | 2 ++ testsuite/reftests/gtk-image.ref.ui | 17 +++++++++++++++++ testsuite/reftests/gtk-image.ui | 17 +++++++++++++++++ 3 files changed, 36 insertions(+) commit 1e51398e9a4ffdfd20e04154952bada60127c7ec Author: Matthias Clasen Date: Thu Oct 8 07:20:26 2015 -0400 Small cleanup Use g_clear_object in gtkdnd.c. gtk/gtkdnd.c | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) commit d3475f7a724903007385cc67dbf57165152262fc Author: Matthias Clasen Date: Wed Oct 7 23:19:32 2015 -0400 color chooser: Render icons sharp at scale 2 We need to load the icons at the right scale, and render them to a surface with the right scale too. https://bugzilla.gnome.org/show_bug.cgi?id=756195 gtk/gtkcolorswatch.c | 30 ++++++++++++++++++------------ 1 file changed, 18 insertions(+), 12 deletions(-) commit c929e98fba2547015771ffb06c92618ecfe22c71 Author: Carlos Soriano Date: Thu Oct 8 01:19:19 2015 +0200 gtkfilesystem: protect against null filesystem type The filesystem:type attribute could be NULL, then g_strv_contains will crash if that happens. Just don't call it if the attribute is not set. gtk/gtkfilesystem.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f10c0da36c27922bebb0f55aa876f215e4840c8e Author: Emmanuele Bassi Date: Wed Oct 7 15:26:53 2015 +0100 wayland: Allow falling back to compatibility EGL contexts If the shared context is in legacy mode, or if the creation of a core profile context failed, we fall back to an EGL context in compatibility mode. Since we're relying on a fairly new EGL implementation for Wayland, we don't fall back to the older EGL API, and instead we always require the EGL_KHR_create_context extension. https://bugzilla.gnome.org/show_bug.cgi?id=756142 gdk/wayland/gdkglcontext-wayland.c | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) commit 59d02afec0918bfb56e50067ad0360b12c543848 Author: Emmanuele Bassi Date: Wed Oct 7 08:50:23 2015 +0100 docs: Improve description of gdk_gl_context_is_legacy() Explain why this function is available, and why you may need it. https://bugzilla.gnome.org/show_bug.cgi?id=756142 gdk/gdkglcontext.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 9601479f0c6c18558603989cccb9cb9cea1dc158 Author: Emmanuele Bassi Date: Tue Oct 6 21:59:59 2015 +0100 Allow testglarea to work with legacy GL contexts Use the 1.30 GLSL shading language for the fragment and vertex shaders. https://bugzilla.gnome.org/show_bug.cgi?id=756142 tests/testglarea.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) commit 105f1c9fd3650eefafcfe4c97cffe7ca93d4b457 Author: Emmanuele Bassi Date: Tue Oct 6 19:57:45 2015 +0100 Control legacy GL context via environment variable For testing purposes, we may want to force the creation of legacy GL contexts via an environment variable. https://bugzilla.gnome.org/show_bug.cgi?id=756142 gdk/gdk.c | 1 + gdk/gdkinternals.h | 3 ++- gdk/x11/gdkglcontext-x11.c | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit 18cae47e17522a37477988d7e88055f7dc467df5 Author: Emmanuele Bassi Date: Tue Oct 6 18:59:35 2015 +0100 x11: Create legacy GLX contexts If GLX has support for the GLX_ARB_create_context_profile extension, then we use the GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB; if it does not, we fall back to the old glXCreateNewContext() API. We use the shared GdkGLContext to decide whether the GLX context should use the legacy bit or not. https://bugzilla.gnome.org/show_bug.cgi?id=756142 gdk/x11/gdkglcontext-x11.c | 100 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 83 insertions(+), 17 deletions(-) commit e636c316a67bbb2888d25de2036d20149c286120 Author: Emmanuele Bassi Date: Tue Oct 6 19:55:43 2015 +0100 gl: Use older GLSL shaders with legacy contexts If we're using modern GLSL, then we should stop using deprecated modifiers, like 'varying' and 'attribute', as well as deprecated global variables, like 'gl_FragColor'. On the other hand, with legacy contexts we should be using older GLSL shaders, to maximize compatibility. https://bugzilla.gnome.org/show_bug.cgi?id=756142 gdk/gdkgl.c | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 55 insertions(+), 6 deletions(-) commit 24230ca78363d8608e77c639db7662c11257f970 Author: Emmanuele Bassi Date: Tue Oct 6 19:55:07 2015 +0100 gl: Store the legacy bit in the GL program data We need to know if we're using a legacy GL context in various places. https://bugzilla.gnome.org/show_bug.cgi?id=756142 gdk/gdkglcontext.c | 5 ++++- gdk/gdkglcontextprivate.h | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) commit 2dfca143bb6e09d900fa186ba8ecf9bcea6ac30d Author: Emmanuele Bassi Date: Tue Oct 6 18:54:58 2015 +0100 gdk: Allow querying if a GL context is in legacy mode We want to have the ability to fall back to legacy GL contexts when creating them. In order to do so, we need to store the legacy bit on the GdkGLContext, as well as being able to query it. Setting the legacy bit from outside GDK is not possible; we cannot create GL contexts in 3.2 core profile *and* compatibility modes at the same time, and if we allowed users to select the legacy mode themselves, it would break the creation of the GdkWindow's paint GL context. What we do allow is falling back to legacy GL context if the platform does not support 3.2 core profiles — for instance, on older GPUs or inside virtualized environments. We are also going to use the legacy bit internally, to choose which GL API we can use when drawing GL content. https://bugzilla.gnome.org/show_bug.cgi?id=756142 gdk/gdkglcontext.c | 33 +++++++++++++++++++++++++++++++++ gdk/gdkglcontext.h | 2 ++ gdk/gdkglcontextprivate.h | 3 +++ 3 files changed, 38 insertions(+) commit b23eabbd642a5d4c46a173d5324a76f4cb63c9f7 Author: Sébastien Wilmet Date: Tue Sep 22 14:40:57 2015 +0200 textiter: fix bug in _gtk_text_btree_get_iter_at_last_toggle() If the last tag toggle is the end iter, the function returned the wrong tag toggle. This resulted in some bugs where the view wasn't relayout/redrawn correctly. The function also always returned TRUE, probably because the return value is used nowhere. But for consistency with _gtk_text_btree_get_iter_at_first_toggle(), it's better to keep the return value, and also because otherwise the function would be wrong (it doesn't always return a tag toggle, if there is none). https://bugzilla.gnome.org/show_bug.cgi?id=755413 gtk/gtktextiter.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit d8856f1b61caf5bca71070b5a59812fdd33314b9 Author: Timm Bäder Date: Thu Oct 1 13:08:37 2015 +0200 GtkPopover: Don't apply shape on wayland Popovers are subsurfaces on wayland so we don't need that, and the shape messed up hidpi popovers there. gtk/gtkpopover.c | 5 +++++ 1 file changed, 5 insertions(+) commit dad1931b5f4a64d105554681ec84d859f020d6e2 Author: Jonas Ådahl Date: Tue Oct 6 14:30:28 2015 +0800 wayland: Don't ignore wl_keyboard.leave if surface is gone keyboard_handle_leave() might be called with a NULL surface resource (for example if the surface was destroyed after the event was sent). If so, we should still deal with the keyboard focus lost event, otherwise we will both leak (the keyboard_focus GdkWindow reference) and miss stopping the key repeat timer. https://bugzilla.gnome.org/show_bug.cgi?id=755927 gdk/wayland/gdkdevice-wayland.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 263cbd90a063afa214855e52e88908853d7a2b8d Author: Christoph Reiter Date: Wed Oct 7 00:00:35 2015 +0200 Fix accessibility not getting initialized in gtk_init() if a default display is already set _gtk_accessibility_init() only gets called if the default display changes, but in case gdk_init() is called before gtk_init() the default display is already set and no property notification occurs. This can happen quite easily in pygobject where "from gi.repository import Gdk, Gtk" will call gdk_init() followed by gtk_init() in the Python overrides. This fixes it by checking for a default display in all cases. gtk/gtkmain.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit ecb0e777fa4b07cf87c41fda4838ebf6448694c5 Author: Olivier Fourdan Date: Tue Sep 15 14:17:05 2015 +0200 GdkAppLaunchContext: Set DISPLAY variable for X11 The environment variable DISPLAY makes sense only for X11, so set its value in the X11 backend. https://bugzilla.gnome.org/show_bug.cgi?id=754983 gdk/x11/gdkapplaunchcontext-x11.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 35b088459e3c6886ae63cd18404c626160092eab Author: Matthias Clasen Date: Mon Oct 5 08:19:07 2015 -0400 assistant: Deal with spontaneous page disappearance Removing pages from the assistant with gtk_widget_destroy() used to work. It broke with the recent interposition of a box between each page and the notebook. Fix this by cleaning up when the box child is removed. https://bugzilla.gnome.org/show_bug.cgi?id=756042 gtk/gtkassistant.c | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) commit 1ae98e72f763a9787611dc26a55fdbef77d91d9e Author: Wolfgang Stöggl Date: Sun Oct 4 09:04:15 2015 +0000 Updated German translation po-properties/de.po | 3361 +++++++++++++++++++++++++++------------------------ 1 file changed, 1763 insertions(+), 1598 deletions(-) commit 3c253c46a5d3979475a6cd968cd15c85f0bf26b0 Author: Rafal Luzynski Date: Sun Aug 23 02:32:21 2015 +0200 flowbox: correct the behavior with "can-focus"==FALSE In fact there were two issues: 1. GtkFlowBoxChild with "can-focus"==FALSE should pass the focus to its child immediately. 2. GtkFlowBox with "can-focus"==FALSE should cease its custom keynav implementation and fall back to the default GtkContainer behavior which is more natural. Thanks to these changes the flow box can act as a better replacement for GtkGrid and similar containers. https://bugzilla.gnome.org/show_bug.cgi?id=753371 gtk/gtkflowbox.c | 63 ++++++++++++++++++++++++++++++++++++++++++++------------ gtk/gtkflowbox.h | 2 +- 2 files changed, 51 insertions(+), 14 deletions(-) commit 896f911ea17c5818c9364980f5c82a95533bb070 Author: Matthias Clasen Date: Sat Oct 3 22:41:06 2015 -0400 Bump version to 3.19.0 Otherwise, internal use of new API causes deprecation warnings. configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 47237ddd94371e0c42ad4b2d6ef25d219d78d350 Author: Matthias Clasen Date: Thu Sep 17 19:14:37 2015 -0400 inspector: Add a reset button for settings This is exercising the new gtk_settings_reset_property api. https://bugzilla.gnome.org/show_bug.cgi?id=755008 gtk/inspector/prop-editor.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 2f0d4b6868679dd1494868d11f78f5ddcc0a94e2 Author: Matthias Clasen Date: Thu Sep 17 19:13:39 2015 -0400 Add gtk_settings_reset_property This api undoes an application-specific override and makes the setting follow the system-wide values again. https://bugzilla.gnome.org/show_bug.cgi?id=755008 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtksettings.c | 28 ++++++++++++++++++++++++++++ gtk/gtksettings.h | 3 +++ 3 files changed, 32 insertions(+) commit d930ea7c1fc6aa29ee242ef0aaedbad911bed4e1 Author: Matthias Clasen Date: Sat Oct 3 22:40:27 2015 -0400 style context: Avoid a compiler warning gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 571704824f78de9d8b262793397a4e4ea6cedf7d Author: John Ralls Date: Fri Sep 18 15:12:24 2015 -0700 Bug 753992 - im-quartz discard_preedit segmentation fault Replace checking if the NSView is really a GdkWindow, which will crash in the likely event it's not a GObject, with ensuring that the parent GdkWindow is really a GdkWindowQuartz. modules/input/imquartz.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 2dad7c131958c2f8e547f6181b491e90e11ce214 Author: Benjamin Otte Date: Sun Sep 13 16:00:22 2015 +0200 gdk: Add gdk_rectangle_equal() There's enough users inside GTK to warrant this convenience function. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkrectangle.c | 21 +++++++++++++++++++++ gdk/gdkrectangle.h | 4 ++++ gtk/gtkframe.c | 12 +----------- gtk/gtkrange.c | 12 +----------- 5 files changed, 28 insertions(+), 22 deletions(-) commit 5a561a8ddb9bf71f09dfe32f140677e17117465d Author: Sébastien Wilmet Date: Thu Sep 24 10:59:32 2015 +0200 texttag: add gtk_text_tag_changed() The function is useful for a GtkTextTag subclass that adds new properties. https://bugzilla.gnome.org/show_bug.cgi?id=755416 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktexttag.c | 52 +++++++++++++++++++++++++++--------- gtk/gtktexttag.h | 4 ++- gtk/gtktexttagtable.c | 2 +- 4 files changed, 44 insertions(+), 15 deletions(-) commit cc2224cc6278864c09f6cf1ae30e902f5f7b3b92 Author: Benjamin Otte Date: Sun Sep 13 15:36:49 2015 +0200 gdk: Add version macros for 3.20 gdk/gdkversionmacros.h.in | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 598e17018c721fe9acc73eca510839c43f5e0dc6 Author: Matthias Clasen Date: Sat Oct 3 21:38:20 2015 -0400 style context: Formatting fixes gtk/gtkstylecontext.c | 178 +++++++++++++++----------------------------------- 1 file changed, 53 insertions(+), 125 deletions(-) commit 40190c295ccbd1fe9b369cbf08c56fbe26af6ada Author: Matthias Clasen Date: Sat Oct 3 17:38:36 2015 -0400 Add a test for gtk_style_context_list_classes This test failed before the previous commit. testsuite/gtk/stylecontext.c | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) commit 506fe6193851b23296b1259ba7ece1dc309b3c61 Author: Matthias Clasen Date: Sat Oct 3 17:37:34 2015 -0400 Fix gtk_style_context_list_classes The function was always returning NULL. gtk/gtkstylecontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 83b8bcb63a1fcdafae1d6cd024a7f491e5654d6d Author: Matthias Clasen Date: Sat Oct 3 16:20:50 2015 -0400 switch: Unclip the slider shadow This commit arranges things so the shadow of the slider can extend outside the widget, even if the switch itself has no shadow. https://bugzilla.gnome.org/show_bug.cgi?id=755791 gtk/gtkswitch.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit c0e3b6ce71015741b154b44db08d0c473aa4f163 Author: Matthias Clasen Date: Sat Oct 3 14:08:42 2015 -0400 fixup build/win32/vs10/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit edcdba6223fba6dc99ea9397ef5bfa90f67cdbec Author: Matthias Clasen Date: Fri Oct 2 08:35:33 2015 -0400 3.18.1 NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 50 insertions(+), 2 deletions(-) commit cfcd28041caf450fdddc1679445c70c030e95a62 Author: Matthias Clasen Date: Sat Oct 3 00:00:51 2015 -0400 Fix make check testsuite/gtk/ui/celllayout2.expected | 2 +- testsuite/gtk/ui/dialog3.expected | 2 +- testsuite/gtk/ui/infobar2.expected | 2 +- testsuite/gtk/ui/label3.expected | 2 +- testsuite/gtk/ui/levelbar4.expected | 2 +- testsuite/gtk/ui/scale4.expected | 2 +- testsuite/gtk/ui/scale5.expected | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) commit eabdaf17dc1e3c06a60feb97b50eb5228eff781b Author: Matthias Clasen Date: Fri Oct 2 06:57:05 2015 -0400 file chooser: Clear busy cursor before showing error It looks odd to still have a busy cursor while the error dialog is presented. gtk/gtkfilechooserwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d4ed3692ed84986dcb02847b083c361454b5267 Author: Matthias Clasen Date: Thu Oct 1 23:32:30 2015 -0400 file chooser: Improve search focus handling Move focus to list when search results appear to make it possible to select the first search result by just hitting Enter. To keep this from interfering with keynav, we need to make sure that we still handle Escape to search. And when search comes up empty, we need to move the focus back to the entry. https://bugzilla.gnome.org/show_bug.cgi?id=755926 gtk/gtkfilechooserwidget.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 134c2ea799de69a2c81a9c8f4abf139fa28cc6f4 Author: Matthias Clasen Date: Thu Oct 1 22:59:57 2015 -0400 file chooser: Don't select in the search entry The stack calls gtk_widget_grab_focus on the last focus widget, which selects the text in the entry, so we need to make sure to move the focus there first to keep that from happening. https://bugzilla.gnome.org/show_bug.cgi?id=755931 gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 707a071c660438235b45ecb66a5610590594b9cb Author: Emmanuele Bassi Date: Thu Oct 1 18:58:32 2015 +0100 app: Warn when trying to add windows on an inert instance Application windows can only be added after the application has been started. https://bugzilla.gnome.org/show_bug.cgi?id=755954 gtk/gtkapplication.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 42b02d9d01cc7b3cf4282550e93bef8363408eea Author: Olivier Fourdan Date: Thu Oct 1 15:46:50 2015 +0200 window: ignore resize increments for maximized/fullscreen Once a window is maximized/fullscreen, resize increments should be ignored otherwise the window may appear smaller than the screen size. That also applies to configure requests as well. https://bugzilla.gnome.org/show_bug.cgi?id=751368 gtk/gtkwindow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit f0ba65687aa5741abb60b7836ceefa198b973622 Author: Seán de Búrca Date: Wed Sep 30 20:32:54 2015 -0600 Updated Irish translation po/ga.po | 4373 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2375 insertions(+), 1998 deletions(-) commit 84c7f6c747e646e45c0a2297ebd30a198b394b5a Author: Matthias Clasen Date: Wed Sep 30 18:42:20 2015 -0400 header bar: Show a non-pixellated app icon Load a hi-dpi icon when we are running with scale=2. https://bugzilla.gnome.org/show_bug.cgi?id=751787 gtk/gtkheaderbar.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 983cd2f7cc9e7d7f54a07d6b286e24e0a8dc37d5 Author: Matthias Clasen Date: Tue Sep 29 21:19:06 2015 -0400 gdkgears: Use a headerbar This is a testcase for https://bugzilla.gnome.org/show_bug.cgi?id=755675 tests/gdkgears.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e39ec57433cd5861a33b01dca989dac023df54a Author: Timm Bäder Date: Wed Sep 23 17:36:39 2015 +0200 GtkPopover: Make transitions faster https://bugzilla.gnome.org/show_bug.cgi?id=755528 gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 565677a22c6fb1af4ae153ce2299e3faf7484b33 Author: Matthias Clasen Date: Tue Sep 29 15:15:06 2015 -0400 header bar: Don't leave a dangling pointer This might be the cause for some crashes, like https://bugzilla.redhat.com/show_bug.cgi?id=1264558 gtk/gtkheaderbar.c | 2 ++ 1 file changed, 2 insertions(+) commit de70ad6c3b5386d7c171ce1fbd935936328dfe97 Author: Matthias Clasen Date: Tue Sep 29 09:42:02 2015 -0400 Use direct GValue access in our marshallers These are used for every signal emission, so we should make them as fast as we can. gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d9f05aa3f9ecf54ff68295616c92d0f03e3e911c Author: Matthias Clasen Date: Tue Sep 29 09:40:00 2015 -0400 rounded rect: cache arcs We are only ever drawing axis-aligned quarter arcs here. By caching these paths, sincos drops from the profiles for drawing-heavy workloads. gtk/gtkroundedbox.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 76 insertions(+), 2 deletions(-) commit a768798f2b520b3a385b51f704f76b30020d617a Author: Matthias Clasen Date: Mon Sep 28 22:45:11 2015 -0400 container: Avoid duplicate calls to should_propagate We were calling gtk_container_should_propagate_draw twice for each child. We can avoid this by splitting out an gtk_container_propagate_draw_internal function. gtk/gtkcontainer.c | 89 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 49 insertions(+), 40 deletions(-) commit 12be4b04f81feb6ec3d69813478e0e61a2a90baa Author: Matthias Clasen Date: Mon Sep 28 15:08:26 2015 -0400 Drop some redundant cairo_save calls Almost all callers of _gtk_widget_draw already did their own cairo_save/restore, so drop the save/restore calls inside _gtk_widget_draw and instead fix the last caller, gtk_widget_draw, to do the same. gtk/gtkwidget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit eaddbb2dcab0640fa87195174a84e0f358a857a1 Author: Matthias Clasen Date: Mon Sep 28 15:02:36 2015 -0400 Trivial: Move a cairo_save call Move the cairo_save call to where it is needed. gtk/gtkcontainer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5bf47338e89399c15ba73a3d5cc31d27544f4d2b Author: Timm Bäder Date: Wed Sep 23 11:30:52 2015 +0200 GtkPopover: Remove apply_shape field This was introduced in 2d9c09d6 alongside a private setter, but that setter has been removed and the field is always TRUE. gtk/gtkpopover.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 8a6b72063281e1732ac09d744b5eb344df94a7d2 Author: Timm Bäder Date: Tue Sep 22 20:27:51 2015 +0200 GtkPopover: Don't resize during the transition Call gtk_popover_update_position instead which will pick up the new transition_diff value and pass it on to _gtk_window_set_popover_position, which in turn will move the window correctly. https://bugzilla.gnome.org/show_bug.cgi?id=755435 gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b92213e49d898f3528d44452634dc14c93230e98 Author: Timm Bäder Date: Wed Sep 23 08:56:56 2015 +0200 GtkWindow: Don't needlessly resize popovers Check whether the given popover even changed size in _gtk_window_set_popover_position. If not, just move its GdkWindow without calling gtk_widget_queue_resize. Using popover_get_rect here is still relatively costly, but popover_size_allocate would be doing that anyway. https://bugzilla.gnome.org/show_bug.cgi?id=755435 gtk/gtkwindow.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit eb8a64982e4a6294bfa513b385d0cbb42b796686 Author: Timm Bäder Date: Tue Sep 22 18:25:26 2015 +0200 GtkPopover: Remove _get_pointed_to_coords It's only used once and removing it only adds a single line there. https://bugzilla.gnome.org/show_bug.cgi?id=755435 gtk/gtkpopover.c | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) commit 5ea692df23cf6caed7624554be46b8f39fe008ce Author: Milo Casagrande Date: Mon Sep 28 14:32:59 2015 +0000 Updated Italian translation po/it.po | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ffcaf304ad7de6e8b65ad640b9ea10279983b9fb Author: Milo Casagrande Date: Mon Sep 28 13:25:45 2015 +0000 Updated Italian translation po/it.po | 428 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 213 insertions(+), 215 deletions(-) commit a9b069524c0e50e7b365e7fed7b4d6c8b59334ef Author: Matthias Clasen Date: Mon Sep 28 06:28:51 2015 -0400 Return a value from ::command-line handler The signal expects a return value, so give it one. https://bugzilla.gnome.org/show_bug.cgi?id=755692 demos/gtk-demo/main.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 130fc6ce9bb8e5df381b9e6956fb42ea889bb769 Author: Matthias Clasen Date: Mon Sep 28 01:43:03 2015 -0400 css style: Accumulate changes in place This avoids allocating a temporary bitmask, and lets us avoid some value comparisons altogether. gtk/gtkcssstyle.c | 16 +++++++++------- gtk/gtkcssstyleprivate.h | 3 ++- gtk/gtkcsswidgetnode.c | 7 ++----- 3 files changed, 13 insertions(+), 13 deletions(-) commit ac198a3ce6548b59d7833add4ac8853060ab1b39 Author: Matthias Clasen Date: Sun Sep 27 20:20:29 2015 -0400 Add a few more inlined getters gtk/gtkcontainer.c | 41 +++++++------- gtk/gtkwidget.c | 34 +++++------- gtk/gtkwidgetprivate.h | 13 +++++ gtk/gtkwindow.c | 148 ++++++++++++++++++++++++------------------------- 4 files changed, 122 insertions(+), 114 deletions(-) commit 65ec902df9d5e0880fce44d5a9afc33c008b009b Author: Matthias Clasen Date: Sun Sep 27 14:06:27 2015 -0400 Remove overhead in gdk_window_get_user_data This function is called very frequently during in GTK+'s drawing paths, and thus should not carry unexpected costs. gdk/gdkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 6f163985a72f392ce2a7ff414b5c249977a791ce Author: Trần Ngọc Quân Date: Mon Sep 28 15:51:05 2015 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po-properties/vi.po | 4635 +++++++++++++++++++++++++++------------------------ po/vi.po | 1558 ++++++++++------- 2 files changed, 3406 insertions(+), 2787 deletions(-) commit 09a0a4202617db28b9ddbadf76f61fb5bca0db90 Author: Milo Casagrande Date: Sun Sep 27 21:13:14 2015 +0000 Updated Italian translation po/it.po | 1504 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 962 insertions(+), 542 deletions(-) commit 91843241e1dbbdad23dc35c5cbc4b5bedf9f8e80 Author: Milo Casagrande Date: Sun Sep 27 21:00:15 2015 +0000 Updated Italian translation po-properties/it.po | 4761 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2589 insertions(+), 2172 deletions(-) commit c66e8bc586905635a47ebf21624c649da7ec288b Author: Stas Solovey Date: Sun Sep 27 20:39:52 2015 +0000 Updated Russian translation po/ru.po | 342 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 138 insertions(+), 204 deletions(-) commit f6705c278c22be4890a1d378b02befce05089635 Author: Милош Поповић Date: Sun Sep 27 15:56:34 2015 +0000 Updated Serbian Latin translation po-properties/sr@latin.po | 4810 ++++++++++++++++++++++++--------------------- 1 file changed, 2608 insertions(+), 2202 deletions(-) commit 87d3760f4805573795aefecb01663fbef36c00ed Author: Марко Костић Date: Sun Sep 27 15:55:22 2015 +0000 Updated Serbian translation po-properties/sr.po | 4811 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2609 insertions(+), 2202 deletions(-) commit 7c762fe1c4c7f32b81da3beaccfc3c35471e5af5 Author: Benjamin Otte Date: Sun Sep 27 13:20:52 2015 +0200 bitmask: Use gsize, not size_t We want to use the same type everywhere to avoid surprises. gtk/gtkbitmaskprivateimpl.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 97293865b5c3e10fa65009e5f787312a17f47b06 Author: Dmitry Shachnev Date: Sun Sep 27 15:10:15 2015 +0200 bitmask: Don't hardcode 64bit size This looks like an oversight from "quickly testing a potential fix" and then forgetting to make a production-ready when it works. https://bugzilla.gnome.org/show_bug.cgi?id=755691 gtk/gtkallocatedbitmask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df3304054d7f38fd9f6de9cd9afa837c076c5a5c Author: Yosef Or Boczko Date: Sun Sep 27 11:30:57 2015 +0300 Updated Hebrew translation po/he.po | 514 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 257 insertions(+), 257 deletions(-) commit ff3cb8ac7168da084e49203e835b11dfe751aad8 Author: Matthias Clasen Date: Sun Sep 27 00:32:40 2015 -0400 Avoid copying lists during draw We can use gdk_window_peek_children here, instead of copying the list. Note that we preserve the bottom-to-top ordering by iterating the list from the end. gdk_window_get_children_with_user_data was doing a list reversal while filtering the list. gtk/gtkwidget.c | 121 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 66 insertions(+), 55 deletions(-) commit 001ba79dd61ece16696fed3b8dc0f1dc4a940860 Author: Matthias Clasen Date: Sat Sep 26 10:19:24 2015 -0400 Refactor gtk_widget_add_events_internal_list Avoid copying the child window lists. It is not necessary. gtk/gtkwidget.c | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) commit 1cac30b6f3e020c4d8fd1843d631ccf0558943cc Author: Matthias Clasen Date: Sat Sep 26 10:12:16 2015 -0400 Refactor gtk_widget_set_device_enabled_internal Instead of constructing a single list of all windows associated to a widget, just iterate the children lists recursively, avoiding allocations. gtk/gtkwidget.c | 102 ++++++++++++++++++++++++-------------------------------- 1 file changed, 43 insertions(+), 59 deletions(-) commit ce8616f44ca5d3479810a275c182dbc584a7bf94 Author: Piotr Drąg Date: Sat Sep 26 18:00:14 2015 +0200 Fix Uyghur translation of default:mm po/ug.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d990581bd5a34801b84e9eed6797e742243f246 Author: Piotr Drąg Date: Sat Sep 26 17:59:35 2015 +0200 Fix Tajik translation of default:mm po/tg.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46eea037284c18355eb7b5d87545e267978340c8 Author: Piotr Drąg Date: Sat Sep 26 17:56:20 2015 +0200 Fix Khmer translation of default:mm po/km.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b340d5c09e16c23bfa46da14da533ca3bf7cb89a Author: Piotr Drąg Date: Sat Sep 26 17:56:04 2015 +0200 Fix Khmer translation of default:LTR po/km.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit affe356ce091bf4b2ce8b8cda8e2d9b63013c214 Author: Piotr Drąg Date: Sat Sep 26 17:55:37 2015 +0200 Fix Kikongo translation of default:mm po/kg.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a60df3fee6c9c56a215dc88e5ec0e3732e9a9ee Author: Piotr Drąg Date: Sat Sep 26 17:54:36 2015 +0200 Fix Kikongo translation of default:LTR po/kg.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d332dcda4afa46818bc3bb6ae1477acf7e7dee7 Author: Piotr Drąg Date: Sat Sep 26 17:51:07 2015 +0200 Fix Bosnian translation of default:mm po/bs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e83c3b92e3013881eb97e691f96e2101a218eb5 Author: Carlos Soriano Date: Fri Sep 25 13:57:24 2015 +0200 gtkbookmarksmanager: don't allow non valid utf8 in bookmarks In case some client send to us a non valid utf8 string, don't screw up the bookmarks file and just return. https://bugzilla.gnome.org/show_bug.cgi?id=755215 gtk/gtkbookmarksmanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ecc698a282ac69e747026f58ac43eee7958be626 Author: Carlos Soriano Date: Thu Sep 24 15:54:15 2015 +0200 gtkplacessidebar: avoid to use a freed string The string we were using is the representation of the internal text in the popover entry. However that can be freed before setting the bookmark label, if i.e. the row is destroyed and therefore the popover as well. To avoid that, duplicate the label in a local variable. One of the consequences is that for those people using development version we migth screwed its bookmarks file, since the bookmark manager wrote garbage from the already freed label. https://bugzilla.gnome.org/show_bug.cgi?id=755215 gtk/gtkplacessidebar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 8eea531f25c2ae9fd5b3f865d860c517f2f0fa0f Author: Chun-wei Fan Date: Fri Sep 25 12:54:26 2015 +0800 build/Makefile-newvs.am: Update Comments for Usage Update the notes that this is also used for Visual Studio 2015 support, and correct the MSVC_VER_LONG for MSVC 2015, which is 14, not 2015. Also add a note that this can be used for other projects that have Visual Studio build support. build/Makefile-newvs.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit e88e68c2bdc7da42357897a701974280b8d5c21e Author: Chun-wei Fan Date: Fri Sep 25 12:25:13 2015 +0800 Build: Make Makefile.msvcproj A Bit More Generic Handle also the situation where $(srcdir) == $(top_srcdir), so that this can also be used in cases like librsvg and gobject-introspection. build/Makefile.msvcproj | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit f2fd655754407103f8fb9b2c3e7586fb595ab917 Author: Carlos Garnacho Date: Thu Sep 24 20:25:26 2015 +0200 textview: Look up the drop location iter on the right coordinates on DND We are passing widget coordinates to gtk_text_view_window_to_buffer_coords() which expects coordinates to be relative to the text window in this case. This may result in drop coordinates being displaced if the side windows to the top/left sides are visible and taking space, so the DnD indicator will point to the wrong position. This can be seen on gnome-builder and gedit when displaying line numbers. gtk/gtktextview.c | 3 +++ 1 file changed, 3 insertions(+) commit 0f86e37dae77e67fd5a79365362826bf48798390 Author: Christian Kirbach Date: Thu Sep 24 17:01:47 2015 +0000 Updated German translation po/de.po | 1801 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1182 insertions(+), 619 deletions(-) commit bf9c9f17627ebd049d8b2b5ccc6bab27ce37fcca Author: Michael Weghorn Date: Thu Aug 13 22:36:05 2015 +0200 Don't mix in user options of printer instances GTK+ currently does not support printer instances in the printing dialog. This commit avoids user options set for specific instances of a printer being accidently applied to the printer with the same name but no specific instance defined. https://bugzilla.gnome.org/show_bug.cgi?id=753628 https://bugzilla.gnome.org/show_bug.cgi?id=582747 modules/printbackends/cups/gtkprintbackendcups.c | 3 --- 1 file changed, 3 deletions(-) commit 020af232967a655e10eb8bf367945a097a61cd67 Author: Emmanuele Bassi Date: Thu Sep 24 08:27:45 2015 +0100 build: Dist toarray.pl Some distributions (MSYS2, Debian) call autoreconf on a tarball because they change the autotools artifacts. In order to rebuild the Broadway generated files, we need to ship the scripts that we use when disting a release. gdk/broadway/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 9dfa8e200db6c4f5922dad812135dda4ef87dc2e Author: Jakub Steiner Date: Wed Sep 23 00:55:17 2015 +0200 HC: use round buttons on sidebars Copy Adwaita in how sidebar icon buttons look https://bugzilla.gnome.org/show_bug.cgi?id=755268 gtk/theme/HighContrast/_common.scss | 43 +++++++++++++++++------- gtk/theme/HighContrast/gtk.css | 66 +++++++++++++++++++++---------------- 2 files changed, 68 insertions(+), 41 deletions(-) commit 5c0447fa44ee8bfdad7290025a48e5431a9dfb9d Author: Carlos Soriano Date: Wed Sep 23 16:13:48 2015 +0200 gtkplacessidebar: avoid accessing destroyed popover The row and rename popovers are always relative_to a row. We also keep a pointer to them so we can interact with them in callbacks. However, if the row is destroyed its associated popovers will be destroyed as well as relative_to destroyes and frees memory of its associated widget when its relative_to widget is destroyed. If we, for example, update the places while the popover is shown we are going to access and invalid widget on the next time. To avoid that, connect to the destroy signal of the popovers and clean the sidebar pointers when that happens. https://bugzilla.gnome.org/show_bug.cgi?id=755444 gtk/gtkplacessidebar.c | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) commit 02306867c3e1fc5c047d569ead9f45fb6f791e7d Author: Timm Bäder Date: Wed Sep 23 18:29:50 2015 +0200 GtkWindow: Check for popover realized-ness before unrealizing https://bugzilla.gnome.org/show_bug.cgi?id=755473 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5167f525a313ff97e7587f956c8d817574e93238 Author: Timm Bäder Date: Tue Sep 15 09:19:31 2015 +0200 gtkmain: Add nullable annotations https://bugzilla.gnome.org/show_bug.cgi?id=755038 gtk/gtkmain.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 6e4d4a40ce141b8b87388eefe7430bf53133f4a7 Author: Khaled Hosny Date: Wed Sep 23 23:44:37 2015 +0200 Update Arabic translation po/ar.po | 4071 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1981 insertions(+), 2090 deletions(-) commit aff6835f1b854dfda1934e843d46a569c549c78c Author: Matthias Clasen Date: Wed Sep 23 14:35:58 2015 -0400 application: Be save against impl being NULL We clear the impl in shutdown, so all callbacks that may happen at a later time need to be prepared for this. https://bugzilla.gnome.org/show_bug.cgi?id=755432 gtk/gtkapplication.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 1374645089e1e4d17b2e6c064a659813c2bf87a2 Author: Chun-wei Fan Date: Wed Sep 23 23:31:23 2015 +0800 Fix make dist Commit ea241c6 dropped the wrong private header from dist, so correct this to fix 'make dist' gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac62479c9ecceda406b110f0623ac6f031c352af Author: Chun-wei Fan Date: Wed Sep 23 23:24:36 2015 +0800 Fix Visual Studio Build Since a080cb4 The patch did not check for Visual Studio 2008 correctly, plus it would break the build on later Visual Studio versions, as it should be __popcnt(), not __popcount(). Fix that. gtk/gtkcssselector.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit a080cb40b90e9893fd9dd0c47367808744c17e22 Author: Emmanuele Bassi Date: Wed Sep 23 11:01:46 2015 +0100 Improve compiler detection for __builtin_popcount() The popcount builtin was added in GCC after version 4.2 (which is what some *BSDs are using), which means we need to be more specific when using it than just asking for GCC. While we're at it, we can improve the compiler detection, and use a builtin popcount on Clang ≥ 3.1 and MSVC 2008. https://bugzilla.gnome.org/show_bug.cgi?id=755455 gtk/gtkcssselector.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 3c54fbd3acb572d8b7e6022bc3de496689a9bb62 Author: Matthias Clasen Date: Sun Sep 20 02:32:48 2015 -0400 Use stupid quotes instead of dumb quotes Following a similar change in GLib a while ago. 'bla' may by stupid, but it looks less dumb than `bla'. gtk/gtkbindings.c | 16 ++++++------- gtk/gtkbuilder.c | 20 ++++++++--------- gtk/gtkcellarea.c | 56 +++++++++++++++++++++++----------------------- gtk/gtkcellrenderer.c | 2 +- gtk/gtkcellrenderertext.c | 4 ++-- gtk/gtkcellview.c | 2 +- gtk/gtkcontainer.c | 30 ++++++++++++------------- gtk/gtkcssimagelinear.c | 8 +++---- gtk/gtkcssparser.c | 2 +- gtk/gtkfilechooserbutton.c | 4 ++-- gtk/gtklabel.c | 4 ++-- gtk/gtklinkbutton.c | 2 +- gtk/gtkrecentchoosermenu.c | 2 +- gtk/gtkrecentmanager.c | 18 +++++++-------- gtk/gtksettings.c | 4 ++-- gtk/gtkstylecontext.c | 12 +++++----- gtk/gtkstyleproperty.c | 2 +- gtk/gtktextbtree.c | 24 ++++++++++---------- gtk/gtktextbuffer.c | 4 ++-- gtk/gtktexttag.c | 6 ++--- gtk/gtkwidget.c | 20 ++++++++--------- 21 files changed, 121 insertions(+), 121 deletions(-) commit 1d46dfb0a78c2967f80af89ae3059e1439abb16f Author: Matthias Clasen Date: Sun Sep 20 02:10:11 2015 -0400 container: Use qdata for focus chain gtk/gtkcontainer.c | 29 +++++++++++------------------ 1 file changed, 11 insertions(+), 18 deletions(-) commit c7c1f9ff613a0503d06708f533a11f46b72612b9 Author: Matthias Clasen Date: Sun Sep 20 02:01:46 2015 -0400 widget: Add a few more inlined getters gtk/gtkcontainer.c | 32 ++++++++++++------------ gtk/gtkwidget.c | 66 +++++++++++++++++++++++++------------------------- gtk/gtkwidgetprivate.h | 12 +++++++++ 3 files changed, 62 insertions(+), 48 deletions(-) commit da45d29dbcad003a6c8435c0790a4ca61b953269 Author: Matthias Clasen Date: Sun Sep 20 01:22:21 2015 -0400 size group: Streamline disposal Remove widgets from their size groups in dispose, without connecting to ::destroy. The signal handler is not necessary. gtk/gtksizegroup.c | 19 ++----------------- gtk/gtkwidget.c | 11 +++++++++++ 2 files changed, 13 insertions(+), 17 deletions(-) commit cd35a14bbb724baf1fa07b124abb05e4bd6ce69e Author: Matthias Clasen Date: Sun Sep 20 00:55:23 2015 -0400 size request: Avoid unnecessary reffing There is no particular reason why we should have to ref the widgets if they are in a size group - we are not reffing them in the simple case either. gtk/gtksizerequest.c | 4 ---- 1 file changed, 4 deletions(-) commit e0be07665236fd95de8cff5a0758a8655752cbf9 Author: Matthias Clasen Date: Sun Sep 20 00:50:27 2015 -0400 size group: streamline iteration slightly Instead of handling the horizontal and vertical peers separately (and often, duplicatively), collect all peers in one go. At the same time, avoid creating and destroying hash tables more often than necessary. gtk/gtksizegroup.c | 59 ++++++++++++++++++++++-------------------------------- 1 file changed, 24 insertions(+), 35 deletions(-) commit ac72a9cedc55fd37dc9a7fb4d36708644c5a8f9b Author: Matthias Clasen Date: Sun Sep 20 00:12:16 2015 -0400 inspector: Ellipsize the accessible name It can be long, and we don't want the inspector to grow excessively. gtk/inspector/misc-info.ui | 2 ++ 1 file changed, 2 insertions(+) commit 525339573ef4dc74c85ab90913aeaa144a27d476 Author: Matthias Clasen Date: Sun Sep 20 00:11:58 2015 -0400 text view: Use qdata with preallocated quarks gtk/gtktextview.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) commit b1bf153c99bb3db866496f6afd4b3fc78b0099fb Author: Matthias Clasen Date: Sun Sep 20 00:04:30 2015 -0400 entry: Use qdata with preallocated quarks gtk/gtkentry.c | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) commit 1bb86c2056442663caa6c69069f94f6d9d7f3d97 Author: Matthias Clasen Date: Sat Sep 19 23:58:11 2015 -0400 label: Avoid recalculation in some cases Avoid recalculation the entire label layout when nothing changed. gtk/gtklabel.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit ea241c691cd819a7584d7187c69ab95293f6f81c Author: Matthias Clasen Date: Sat Sep 19 11:33:38 2015 -0400 scale: Drop unneeded private exports Nobody outside gtkscale.c is using these functions, so make them static. gtk/Makefile.am | 1 - gtk/gtkscale.c | 77 +++++++++++++++++++++------------------------------ gtk/gtkscaleprivate.h | 36 ------------------------ 3 files changed, 32 insertions(+), 82 deletions(-) commit 442ad755d46a0184f35e05baeb7441e03da09c02 Author: Matthias Clasen Date: Sat Sep 19 11:17:32 2015 -0400 assistant: Drop unneeded calls GtkAssistant is just a regular composite widget nowadays, no need to manually queue resizes. gtk/gtkassistant.c | 3 --- 1 file changed, 3 deletions(-) commit 5dcbbc6736f03260b125519f2048339438d55c11 Author: Matthias Clasen Date: Sat Sep 19 01:15:39 2015 -0400 style context: Trivial refactor Use g_set_object for setting the frame clock. gtk/gtkstylecontext.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) commit 975e1cc41c8fbb752991c269fbfe9569aebf996f Author: Chun-wei Fan Date: Wed Sep 23 18:31:22 2015 +0800 build/win32: Fix 'make -jN dist' The recent changes to build/win32/vs9|10/Makefile.am fixed 'make distclean' but broke 'make -jN dist', so fix that by listing the *.headers and using that list as a dependency and to remove those files in one single command right after we generate the gtk-install.vsprops template, so that we don't have to worry about them in 'make distclean'. build/win32/vs10/Makefile.am | 22 ++++++++++------------ build/win32/vs9/Makefile.am | 22 ++++++++++------------ 2 files changed, 20 insertions(+), 24 deletions(-) commit 86c75f36ed638add97f6050cf6d969911bea3491 Author: Jiri Grönroos Date: Wed Sep 23 10:17:26 2015 +0300 Finnish translation update po/fi.po | 5001 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 3082 insertions(+), 1919 deletions(-) commit 0b86b8b0a1335aa83b69063306768d2a2bb9ebc8 Author: Matthias Clasen Date: Tue Sep 22 16:07:13 2015 -0400 app chooser widget: protect against show_all The visibility of the 'no apps' placeholder is managed by the dialog, it should not be affected by gtk_widget_show_all. https://bugzilla.gnome.org/show_bug.cgi?id=748080 gtk/ui/gtkappchooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 08e25b9ef7fee78b97dae4831323d950bdb10be9 Author: Matthias Clasen Date: Tue Sep 22 15:14:00 2015 -0400 app chooser: Avoid duplicates At the time we populate the model "initially" in constructed(), it has already been filled and cleared a couple of times (we do that every time one of the construct properties gets set). So we can't assume that the model is empty, and have to clear it first. Otherwise, we add duplicates to the list. https://bugzilla.gnome.org/show_bug.cgi?id=748080 gtk/gtkappchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5bb9c1891ced2699bfc9d92acd8adf7b6167de26 Author: Christian Hergert Date: Fri Sep 4 14:06:22 2015 -0700 build: only compile plug/socket when available Plug and Socket require X11 windowing. Often times this is compiled on systems with both wayland and x11, but not always. Quartz is an example where it is usually not compiled. testsuite/gtk/notify.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit f7e0deb7cb22870846ebd9f37085163fc9499bce Author: Марко Костић Date: Tue Sep 22 09:25:01 2015 +0000 Updated Serbian translation po/sr.po | 377 +++++++++++++++++++++++---------------------------------------- 1 file changed, 136 insertions(+), 241 deletions(-) commit 294dd9757af8d27cf2f68cd5a38b2849bedfbf8f Author: Matthias Clasen Date: Mon Sep 21 17:32:36 2015 -0400 3.18.0 NEWS | 38 ++++++++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 40 insertions(+), 2 deletions(-) commit 52dd61ac45c24a51ae9cc82049f094258b63d3e7 Author: Matthias Clasen Date: Mon Sep 21 22:01:59 2015 -0400 Fix distclean build/win32/vs10/Makefile.am | 7 ++++++- build/win32/vs9/Makefile.am | 9 +++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) commit c1ad0f595c06dc4ffe28b02c07579c6325c78ccc Author: Matthias Clasen Date: Mon Sep 21 19:41:34 2015 -0400 places view: fix a crash in finalize Fix a GtkPlacesView crash in the test suite, _again_. gtk/gtkplacesview.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 47167f59be2f61bd4d7ca3cbbd42df7e3ef5b7e8 Author: Matthias Clasen Date: Mon Sep 21 18:50:31 2015 -0400 flow box: Fix up docs gtk/gtkflowbox.h | 1 + 1 file changed, 1 insertion(+) commit e5f365b81e0ce077ac680c087491062b200329d9 Author: Matthias Clasen Date: Mon Sep 21 18:26:38 2015 -0400 Remove GtkWidgetAuxInfo from the docs docs/reference/gtk/gtk3-sections.txt | 1 - 1 file changed, 1 deletion(-) commit e06754593791231620e882bd192947891dd5060b Author: Милош Поповић Date: Mon Sep 21 21:13:45 2015 +0000 Updated Serbian Latin translation po/sr@latin.po | 4567 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2729 insertions(+), 1838 deletions(-) commit c0dc1e77af2adc5848c009f35ee0904f96ab78c4 Author: Марко Костић Date: Mon Sep 21 21:12:23 2015 +0000 Updated Serbian translation po/sr.po | 1733 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1009 insertions(+), 724 deletions(-) commit a59ee09af8db7255fefa26f1c0ac5b7826d2602c Author: Benjamin Otte Date: Mon Sep 21 20:31:03 2015 +0200 configure: Don't put glib version flags into pc files Use a different CFLAGS variable to carry them. I chose the DEBUG_FLAGS because that's essentially what those flags are: debug helpers. configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7439a7efda25b0e3acda393a390406c62e4f11af Author: Benjamin Otte Date: Mon Sep 21 20:22:55 2015 +0200 widget-factory: Remove libcanberra support GTK cannot depend on libcanberra-gtk which depends on GTK. This causes a circular dependency and is especially neat if installed GTK is different enough from uninstalled GTK. configure.ac | 38 ----------------------------------- demos/widget-factory/Makefile.am | 4 ++-- demos/widget-factory/widget-factory.c | 11 ---------- 3 files changed, 2 insertions(+), 51 deletions(-) commit a43d5e28b853023745564428d1254dc0b52f086c Author: Petr Kovar Date: Mon Sep 21 19:09:02 2015 +0200 Update Czech translation po/cs.po | 1399 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 891 insertions(+), 508 deletions(-) commit ee883a2ef57f675ad70ddee94355157e48ddfb89 Author: Alexander Larsson Date: Mon Sep 21 16:58:41 2015 +0200 gdkwindow: Fix list_insert_link_before We forgot to set prev->next to the new link gdk/gdkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 9bda0532f8770e726b9b90ce6fc687b87ba2037f Author: Alexander Larsson Date: Mon Sep 21 15:33:53 2015 +0200 gdk: Finish conversion to in-struct GdkWindow list nodes gdk/gdkoffscreenwindow.c | 4 ++-- gdk/win32/gdkwindow-win32.c | 7 +++---- gdk/x11/gdkwindow-x11.c | 2 +- 3 files changed, 6 insertions(+), 7 deletions(-) commit d29c48815cd3350b947aad6398008c49cf85f88d Author: Alexander Larsson Date: Mon Sep 21 15:32:34 2015 +0200 widget: get_widget_windows() don't modify window child lists We can't modify the lists returned from gdk_window_peek_children, instead use get_children(). gtk/gtkwidget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit b323252c14c9f3cb579affcf818e02774deede73 Author: Carlos Garnacho Date: Mon Sep 21 15:09:32 2015 +0200 widget: Make sure we only run controllers on realized widgets The default event bubbling paths are prone to just running event controllers even after the widget was potentially unrealized/destroyed in an event handler callback, so bail out early if that's the case. https://bugzilla.gnome.org/show_bug.cgi?id=755352 gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit defa1e9c0da70b270b63093eb2bc7c11968dab2e Author: Carlos Garnacho Date: Mon Sep 21 15:00:28 2015 +0200 gesture: strengthen against destroyed windows Bail out when we receive an event with an already destroyed window, we'll hopefully get reset/cancelled afterwards on grab broken events. https://bugzilla.gnome.org/show_bug.cgi?id=755352 gtk/gtkgesture.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit e3d21accd090183ba71502e140858f5d7cc500c6 Author: Carlos Garnacho Date: Mon Sep 21 14:11:48 2015 +0200 window: cancel unclaimed sequences after GtkEventController::handle_event. To GtkGesture machinery, if an event triggers a controller/gesture signal, and gesture reset/cancellation as a result, the event has been managed after all. Commit e3bd895667 effectively changed the return value of the wrapping gtk_event_controller_handle_event() function, which broke some paths (eg. gtk_popover_button_press() wouldn't while the GTK+ grab was active for this reason because the button press event was consumed early on gtk_window_check_handle_wm_event()). That patch is not too off-track given potential child widgets' behavior, we want nonetheless to distinguish the denied vs cancelled paths here (because GtkWindow itself relies on the GtkGesture behavior described in the first paragraph on the begin_move/resize paths), so just reset gestures after the event has already gone through the GtkEventController so the return value is unaffected. gtk/gtkwindow.c | 38 ++++++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 12 deletions(-) commit 6fe44d3320d9f52e9cf8bbeb0ff5d49e8ebd6bc4 Author: Baurzhan Muftakhidinov Date: Mon Sep 21 12:09:49 2015 +0000 Updated Kazakh translation po/kk.po | 364 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 181 insertions(+), 183 deletions(-) commit a3ba6f74756e7fd667c10d3b1d3dcc62f680100d Author: Chun-wei Fan Date: Mon Sep 21 16:50:00 2015 +0800 MSVC Builds: Update Project GUIDs This updates the Visual Studio Project GUIDs so that they don't repeat with the GTK+-2.24.x ones, as the 3.x projects can be used with the 2.24.x in a all-in-one solution file (such as when one wants to use a complete GTK+2 and GTK+3 stack when porting Windows applications from GTK+2 to GTK+3), and each project in a solution file is expected to have an unique GUID. build/win32/vs10/broadwayd.vcxprojin | 4 +- build/win32/vs10/gailutil-3.vcxprojin | 6 +- build/win32/vs10/gdk-3.vcxprojin | 6 +- build/win32/vs10/gdk3-broadway.vcxprojin | 4 +- build/win32/vs10/gdk3-win32.vcxprojin | 4 +- build/win32/vs10/gtk+.sln | 392 ++++++++++----------- build/win32/vs10/gtk-3.vcxprojin | 4 +- build/win32/vs10/gtk-encode-symbolic-svg.vcxproj | 4 +- build/win32/vs10/gtk3-demo-application.vcxprojin | 6 +- build/win32/vs10/gtk3-demo.vcxprojin | 6 +- build/win32/vs10/gtk3-icon-browser.vcxprojin | 6 +- build/win32/vs10/gtk3-install.vcxproj | 18 +- build/win32/vs10/gtk3-prebuild.vcxproj | 2 +- build/win32/vs9/broadwayd.vcprojin | 2 +- build/win32/vs9/gailutil-3.vcprojin | 2 +- build/win32/vs9/gdk-3.vcprojin | 2 +- build/win32/vs9/gdk3-broadway.vcprojin | 2 +- build/win32/vs9/gdk3-win32.vcprojin | 2 +- build/win32/vs9/gtk+.sln | 422 +++++++++++------------ build/win32/vs9/gtk-3.vcprojin | 2 +- build/win32/vs9/gtk-encode-symbolic-svg.vcproj | 2 +- build/win32/vs9/gtk3-demo-application.vcprojin | 2 +- build/win32/vs9/gtk3-demo.vcprojin | 2 +- build/win32/vs9/gtk3-icon-browser.vcprojin | 2 +- build/win32/vs9/gtk3-install.vcproj | 2 +- build/win32/vs9/gtk3-prebuild.vcproj | 2 +- 26 files changed, 454 insertions(+), 454 deletions(-) commit 5e51277c1fafab31aa129fd427909005f6ecfe79 Author: Kjartan Maraas Date: Sun Sep 20 22:18:13 2015 +0200 Updated Norwegian bokmål translation. po/nb.po | 3273 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 2097 insertions(+), 1176 deletions(-) commit 3226f846a5f298d56c0acc25e324fe36b386a36a Author: Ask Hjorth Larsen Date: Sun Sep 20 18:55:04 2015 +0000 Updated Danish translation po-properties/da.po | 1477 ++++++++++++++++++++++++--------------------------- 1 file changed, 688 insertions(+), 789 deletions(-) commit 87e3fcd94db86873b6e018ef1a39e051ff7a3a7b Author: Ask Hjorth Larsen Date: Sun Sep 20 20:37:39 2015 +0200 Updated Danish translation po/da.po | 3950 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 1854 insertions(+), 2096 deletions(-) commit fc6c917a8dacc4e48c74feec84fa68b659490721 Author: Rūdolfs Mazurs Date: Sun Sep 20 20:59:50 2015 +0300 Updated Latvian translation po-properties/lv.po | 5387 ++++++++++++++++++++++---------------------- po/lv.po | 6128 +++++++++++++++++++++++++-------------------------- 2 files changed, 5712 insertions(+), 5803 deletions(-) commit 620fec17d756a5f4696fa1ca6b2b89314354ea01 Author: Anders Jonsson Date: Sun Sep 20 17:32:36 2015 +0000 Updated Swedish translation po/sv.po | 1529 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 950 insertions(+), 579 deletions(-) commit e0d72c537699227992fc72599e59eefbbb209a8f Author: Matthias Clasen Date: Sun Sep 20 12:17:12 2015 -0400 test-simplify: Explicitly use bash The script uses bash features, after all. https://bugzilla.gnome.org/show_bug.cgi?id=755274 testsuite/tools/test-simplify.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d54d7d419154bf7f6ec600bec9b6875ede62dba Author: Jiro Matsuzawa Date: Mon Sep 21 01:03:11 2015 +0900 Updated Japanese translation po/ja.po | 227 +++++++++++++++++++-------------------------------------------- 1 file changed, 66 insertions(+), 161 deletions(-) commit 7e05524009765d697f0e7ea4a51aa8d80ecd5788 Author: Ask Hjorth Larsen Date: Sun Sep 20 14:47:36 2015 +0000 Updated Danish translation po/da.po | 4269 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2443 insertions(+), 1826 deletions(-) commit a39ccc02289940b6671e3225a60bc56d440f7798 Author: Josef Andersson Date: Sun Sep 20 10:09:25 2015 +0000 Updated Swedish translation po-properties/sv.po | 3734 +++++++++++++++++++++++++++------------------------ 1 file changed, 1961 insertions(+), 1773 deletions(-) commit 054b92fe152bd573056c864793a3c56306c3350e Author: Tom Tryfonidis Date: Sun Sep 20 10:09:06 2015 +0000 Updated Greek translation po/el.po | 360 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 181 insertions(+), 179 deletions(-) commit 60926c574456622ee64837859844eb128f79eed1 Author: Hajime Taira Date: Sun Sep 20 17:38:08 2015 +0900 Updated Japanese translation po/ja.po | 5369 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 3229 insertions(+), 2140 deletions(-) commit 69e5aea58b1281c46dcb7cecc7c1be42a55da1e1 Author: Rafael Fontenelle Date: Sat Sep 19 21:20:41 2015 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 545 +++++++++++++++++++++--------------------------------------- 1 file changed, 189 insertions(+), 356 deletions(-) commit 7093834d42cf12869647f4c3e4c1f1db3c63e5c5 Author: Rafael Fontenelle Date: Sat Sep 19 18:17:16 2015 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 1821 ++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1184 insertions(+), 637 deletions(-) commit 7f673122d568b4e31d11ad1fd8a7962075c5fddc Author: Timm Bäder Date: Sat Sep 19 19:27:24 2015 +0200 gtkdemo: Plug leaks in listbox demo demos/gtk-demo/listbox.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit d6aafbe78690672db5eb4cf84b92ff63b09103a3 Author: Ask Hjorth Larsen Date: Sat Sep 19 16:53:52 2015 +0000 Updated Danish translation po-properties/da.po | 4720 +++++++++++++++++++++++++++------------------------ 1 file changed, 2503 insertions(+), 2217 deletions(-) commit 601909283a566e32a4027c088154cb1031101700 Author: Rafael Fontenelle Date: Sat Sep 19 12:26:08 2015 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 3262 +++++++++++++++++++++++++----------------------- 1 file changed, 1725 insertions(+), 1537 deletions(-) commit b008afdba091ccc60ecb156d1f2172fe0ba30ab7 Author: Felipe Braga Date: Sat Sep 19 10:37:26 2015 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 1118 ++++++++++++++++++++++++------------------------ 1 file changed, 564 insertions(+), 554 deletions(-) commit 183e71a9509149da48a36ee3c3745d2500b4dcd0 Author: Stas Solovey Date: Fri Sep 18 22:05:39 2015 +0000 Updated Russian translation po-properties/ru.po | 3327 +++++++++++++++++++++++++++------------------------ 1 file changed, 1781 insertions(+), 1546 deletions(-) commit 980d273c05af0f7fabfc3a0df5e9d11386ce6a8f Author: Stas Solovey Date: Fri Sep 18 21:12:42 2015 +0000 Updated Russian translation po/ru.po | 1579 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1024 insertions(+), 555 deletions(-) commit f860afc92edb85ad60b17071fdf7e83fc947743c Author: Carlos Garnacho Date: Fri Sep 18 12:59:00 2015 +0200 Revert "gtkwidget: Ensure unrealization during event dispatching cancels gestures" This reverts commit 13873d2c507783042df55ad2c48f37a346121fd0. gtk/gtkwidget.c | 34 ++-------------------------------- 1 file changed, 2 insertions(+), 32 deletions(-) commit bdb854d92cad3c625f21980a8b559116b628e80a Author: Carlos Garnacho Date: Fri Sep 18 12:57:26 2015 +0200 Revert "widget: Fix propagation of gesture cancellation on widget unrealize/destroy" This reverts commit 3aaf730901d04a3e4a102cb95e769a48ec5027e3. gtk/gtkwidget.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit 9577266d34420659c9cc4921daacca0f99e8a73e Author: Carlos Garnacho Date: Fri Sep 18 12:57:04 2015 +0200 Revert "widget: Cancel also denied sequences" This reverts commit 63e255e7b5326888e83bf84f1147012938c81000. gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit e3bd895667a1dbecaae50a0e2911ed1319111f79 Author: Carlos Garnacho Date: Thu Sep 17 23:22:39 2015 +0200 window: Reset on unhandled gestures right away Traditionally a sequence is set to GTK_EVENT_SEQUENCE_DENIED state when it is to be ignored, which means it is dormant, but still managed by the gesture (accounting, "denied" sequences still make "slots" in multitouch gesture busy, etc...). This gesture will run for all button presses and releases in the window though when presses happen on the "window content" region, and we can't account for every children to be as educated as setting the proper mask on every window, or ensuring events will be propagated as they should. In order to cater for this, just reset the gestures, we can live without such accounting in these specific GtkGestureSingle gestures. https://bugzilla.gnome.org/show_bug.cgi?id=754098 gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 15d043c5d239facb99fa776c100f520c350562fb Author: Benjamin Otte Date: Fri Sep 18 02:04:10 2015 +0200 gdk: Mark window surfaces as dirty before reading from them We do not know what happened to this surface outside of GDK. Especially for foreign windows, they will have been modified by external applications. So be on the safe side and tell Cairo to clear all its caches. https://bugzilla.gnome.org/show_bug.cgi?id=754952 gdk/gdkpixbuf-drawable.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 3ac8a120fecfb3685bdcbe8718ed4dd22f85dfb3 Author: Muhammet Kara Date: Thu Sep 17 18:05:49 2015 +0000 Updated Turkish translation po/tr.po | 571 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 335 insertions(+), 236 deletions(-) commit 0573837fc8848b3fb1fc54928427ebfaea741dc5 Author: Aurimas Černius Date: Thu Sep 17 20:28:47 2015 +0300 Updated Lithuanian translation po/lt.po | 321 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 157 insertions(+), 164 deletions(-) commit 0c44f5f1d61f28870b35d808cf196ffdb00a8741 Author: Balázs Úr Date: Thu Sep 17 14:02:09 2015 +0000 Updated Hungarian translation po/hu.po | 338 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 169 insertions(+), 169 deletions(-) commit 78d2db383d24634be29728cde69578bc32055777 Author: Chun-wei Fan Date: Thu Sep 17 09:19:10 2015 +0800 MSVC Builds: Make Re-use Comment in Autotools Module Clearer build/Makefile.msvcproj | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit e55a8b6aefe1ef71d90c06297efb7c40f449e1bc Author: Christian Hergert Date: Sun Sep 13 21:08:57 2015 -0700 pixelcache: use factor instead of margin Instead of using a fixed size, use a factor of the surface size. This helps in situations where animations of surrounding widgets are used and cause a rapid rate of surface destroy/create cycles. gtk/gtkpixelcache.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 28484e3a396b1f2189f82e12713d13e249c354d5 Author: Claude Paroz Date: Wed Sep 16 19:03:15 2015 +0200 Updated French translation po/fr.po | 1396 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 827 insertions(+), 569 deletions(-) commit 603ea3b3e7750e129078b90bdb77ad6eb592d59e Author: Carlos Garnacho Date: Wed Sep 16 12:21:36 2015 +0200 wayland: Avoid running stale cursor animation timeouts gdk_wayland_device_update_window_cursor() is inconsistently returning TRUE/FALSE, despite the timeout being always replaced for new cursor frames. This could end up in these timeouts being "leaked" and running as long as the window has an animated cursor. Fix this by making it really sure we return G_SOURCE_REMOVE, although now we keep track of animation delays, so the timeout will be reused for constant time animations. gdk/wayland/gdkdevice-wayland.c | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) commit 63e255e7b5326888e83bf84f1147012938c81000 Author: Carlos Garnacho Date: Wed Sep 16 12:08:46 2015 +0200 widget: Cancel also denied sequences It makes no sense to skip denied sequences here, the gestures are still carrying out the accounting for these, which must be also put to an end if we're possibly not receiving any further events from this sequence. https://bugzilla.gnome.org/show_bug.cgi?id=754098 gtk/gtkwidget.c | 3 --- 1 file changed, 3 deletions(-) commit 3aaf730901d04a3e4a102cb95e769a48ec5027e3 Author: Carlos Garnacho Date: Wed Sep 16 12:06:46 2015 +0200 widget: Fix propagation of gesture cancellation on widget unrealize/destroy At the time event_check_cancel_sequence_on_hierarchy() is called, the widget has been already unparented. Given the widget itself is being destroyed, cancellation on it is impending in one way or another, we still must propagate cancellation across all parents, so retrieve it early before possible widget destruction. https://bugzilla.gnome.org/show_bug.cgi?id=754098 gtk/gtkwidget.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 5b6360ebb2dd64b7089d0a2779eadb461ddbf3b6 Author: Carlos Garnacho Date: Tue Sep 15 17:18:20 2015 +0200 scrolledwindow: Set the scrollbar as "over" immediately during slider grabs Otherwise it's attempted through a timeout, which gets cancelled early after, and the slider disappears after a while with no mouse activity despite the ongoing implicit grab. Once the grab is finished, check_update_scrollbar_proximity() will be called again on both scrollbars, and the fade out animation will be triggered as a result. https://bugzilla.gnome.org/show_bug.cgi?id=754745 gtk/gtkscrolledwindow.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 450056cdfe5cbf6fdff9c9def77570d37c0b3cd4 Author: Matthias Clasen Date: Wed Sep 16 07:39:19 2015 -0700 file chooser: Avoid a crash When right-clicking in an empty folder, you should get a context menu, not a crash. The code for positioning the popover was not handling the eventuality of no row under the pointer. Just position the popover right at the click location in this case. https://bugzilla.gnome.org/show_bug.cgi?id=755021 gtk/gtkfilechooserwidget.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit ee8eb91523fcca2c7d0c783a3289e9f72bb74770 Author: Matthias Clasen Date: Tue Sep 15 19:31:00 2015 -0400 widget path: Don't leak sibling paths gtk/gtkwidgetpath.c | 2 ++ 1 file changed, 2 insertions(+) commit 28c9f3d5da5afaafa7bc63413d3e9a552ed0664e Author: Matthias Clasen Date: Tue Sep 15 10:54:29 2015 -0400 Plug another memory leak demos/gtk-demo/listbox.c | 1 + 1 file changed, 1 insertion(+) commit 3db98fe23cb1f4a1b44f5eab7d6731634464326a Author: Matthias Clasen Date: Tue Sep 15 10:32:02 2015 -0400 Plug a memory leak demos/gtk-demo/listbox.c | 1 + 1 file changed, 1 insertion(+) commit e14990ba57bedcaaa64ae26422815d13ac2d54df Author: Arash Mousavi Date: Tue Sep 15 21:15:46 2015 +0430 Update Persian translation po/fa.po | 315 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 162 insertions(+), 153 deletions(-) commit 283ac9dc980c3bd1106e9e1db8d71d72e36fdc64 Author: Arash Mousavi Date: Tue Sep 15 21:09:21 2015 +0430 Update Persian translation po/fa.po | 5056 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 2932 insertions(+), 2124 deletions(-) commit d8d0188e86b0d06b50a8ac5656c840c2911112ac Author: Alexander Larsson Date: Tue Sep 15 16:02:10 2015 +0200 css shadows: Cache blured masks for the corners of outset shadows A lot of time was spend rendering the shadows on windows with CSD, in particular the corner pieces, since they are the largest parts. This patch catches this particular case and caches the pre-rendered blur masks. This makes the shadow code go from 25% to 8% of the time when resizing gtk3-demo. gtk/gtkcssshadowvalue.c | 119 +++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 117 insertions(+), 2 deletions(-) commit f31e20247ff62e815481fcceaf457943e7822a9c Author: Alexander Larsson Date: Tue Sep 15 11:46:57 2015 +0200 css shadows: Break out side & corner shadows into helper functions This changes nothing, but makes the code a bit easier to read gtk/gtkcssshadowvalue.c | 195 ++++++++++++++++++++++++++++-------------------- 1 file changed, 115 insertions(+), 80 deletions(-) commit 9a33e531c56bdc435f3dc4d04cd6afdfbe96c7e7 Author: Timm Bäder Date: Tue Sep 15 14:03:37 2015 +0200 ui: Remove border from dialogs 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 9a4990f4ca91a845660c0c4640dd237a0bec1bce Author: Chun-wei Fan Date: Tue Sep 15 19:40:48 2015 +0800 MSVC Builds: "Add" Visual Studio 2015 Projects "Add" Visual Studio 2015 projects by what we did before: Copy the Visual Studio 2010 project files and replace the items in there as needed, as the formats of the 2010 and 2015 projects are largely the same. build/Makefile-newvs.am | 22 +++++++++++++--------- build/win32/Makefile.am | 3 ++- build/win32/vs11/Makefile.am | 4 +--- build/win32/vs12/Makefile.am | 4 +--- build/win32/vs14/Makefile.am | 43 +++++++++++++++++++++++++++++++++++++++++++ configure.ac | 1 + 6 files changed, 61 insertions(+), 16 deletions(-) commit d9a738dface57998f3c086cec17b08fc92189f55 Author: Carlos Garnacho Date: Tue Sep 15 13:19:31 2015 +0200 gtk-demo: Fix drawing of gestures demo feedback on CSD windows It was wiping the translation initially applied to the cairo_t, so pick that up first before applying our own matrix changes. demos/gtk-demo/gestures.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit a526f15b7dea45aab3283d5e66645559aad744b2 Author: Chun-wei Fan Date: Mon Jul 20 17:30:18 2015 +0800 MSVC Builds: Remove Old MSVC Project-Related Files Since we have the new files, remove the old ones. build/win32/vs10/gailutil.vcxproj.filtersin | 20 -- build/win32/vs10/gailutil.vcxprojin | 188 ------------- build/win32/vs10/gdk-broadway.vcxproj.filtersin | 20 -- build/win32/vs10/gdk-broadway.vcxprojin | 131 ---------- build/win32/vs10/gdk-win32.vcxproj.filtersin | 20 -- build/win32/vs10/gdk-win32.vcxprojin | 131 ---------- build/win32/vs10/gdk.vcxproj.filtersin | 24 -- build/win32/vs10/gdk.vcxprojin | 333 ------------------------ build/win32/vs10/gtk-build-defines.props | 52 ---- build/win32/vs10/gtk-copy-gdk-broadway.props | 50 ---- build/win32/vs10/gtk-gen-srcs.props | 93 ------- build/win32/vs10/gtk-ignore-broadway.props | 18 -- build/win32/vs10/gtk-install.propsin | 146 ----------- build/win32/vs10/gtk-install.vcxproj | 222 ---------------- build/win32/vs10/gtk-prebuild.vcxproj | 244 ----------------- build/win32/vs10/gtk-version-paths.props.in | 58 ----- build/win32/vs10/gtk.vcxproj.filtersin | 45 ---- build/win32/vs10/gtk.vcxprojin | 228 ---------------- build/win32/vs9/gailutil.vcprojin | 183 ------------- build/win32/vs9/gdk-broadway.vcprojin | 130 --------- build/win32/vs9/gdk-win32.vcprojin | 130 --------- build/win32/vs9/gdk.vcprojin | 304 --------------------- build/win32/vs9/gtk-build-defines.vsprops | 46 ---- build/win32/vs9/gtk-copy-gdk-broadway.vsprops | 33 --- build/win32/vs9/gtk-gen-srcs.vsprops | 73 ------ build/win32/vs9/gtk-ignore-broadway.vsprops | 14 - build/win32/vs9/gtk-install.vcproj | 140 ---------- build/win32/vs9/gtk-install.vspropsin | 122 --------- build/win32/vs9/gtk-prebuild.vcproj | 282 -------------------- build/win32/vs9/gtk-version-paths.vsprops.in | 57 ---- build/win32/vs9/gtk.vcprojin | 251 ------------------ 31 files changed, 3788 deletions(-) commit 6423a02c55db8ef5b497ca06188ab77ff6d8009a Author: Chun-wei Fan Date: Tue Aug 25 17:41:55 2015 +0800 MSVC Builds: Massive Rename of Projects We need to rename the projects so that when these projects are added into an all-in-one solution file that will build the GTK+ 2/3 stack, the names of the projects will not collide with the GTK+-2.x ones, especially as GTK+-2.x and GTK+-3.x are done to co-exist on the same system. This is due to the case that the MSVC projects are directly carried over from the GTK+-2.x ones and was then updated for 3.x. We still need to update the GUIDs of the projects, so that they won't conflict with the GTK+-2.x ones. build/win32/vs10/Makefile.am | 74 ++--- build/win32/vs10/broadwayd.vcxprojin | 10 +- build/win32/vs10/gailutil-3.vcxproj.filtersin | 20 ++ build/win32/vs10/gailutil-3.vcxprojin | 188 +++++++++++++ build/win32/vs10/gdk-3.vcxproj.filtersin | 24 ++ build/win32/vs10/gdk-3.vcxprojin | 333 +++++++++++++++++++++++ build/win32/vs10/gdk3-broadway.vcxproj.filtersin | 20 ++ build/win32/vs10/gdk3-broadway.vcxprojin | 131 +++++++++ build/win32/vs10/gdk3-win32.vcxproj.filtersin | 20 ++ build/win32/vs10/gdk3-win32.vcxprojin | 131 +++++++++ build/win32/vs10/gtk+.sln | 14 +- build/win32/vs10/gtk-3.vcxproj.filtersin | 45 +++ build/win32/vs10/gtk-3.vcxprojin | 228 ++++++++++++++++ build/win32/vs10/gtk-encode-symbolic-svg.vcxproj | 10 +- build/win32/vs10/gtk3-build-defines.props | 52 ++++ build/win32/vs10/gtk3-copy-gdk-broadway.props | 50 ++++ build/win32/vs10/gtk3-demo-application.vcxprojin | 12 +- build/win32/vs10/gtk3-demo.vcxprojin | 12 +- build/win32/vs10/gtk3-gen-srcs.props | 93 +++++++ build/win32/vs10/gtk3-icon-browser.vcxprojin | 12 +- build/win32/vs10/gtk3-ignore-broadway.props | 18 ++ build/win32/vs10/gtk3-install.propsin | 146 ++++++++++ build/win32/vs10/gtk3-install.vcxproj | 222 +++++++++++++++ build/win32/vs10/gtk3-prebuild.vcxproj | 244 +++++++++++++++++ build/win32/vs10/gtk3-version-paths.props.in | 58 ++++ build/win32/vs11/Makefile.am | 36 +-- build/win32/vs12/Makefile.am | 36 +-- build/win32/vs9/Makefile.am | 54 ++-- build/win32/vs9/broadwayd.vcprojin | 8 +- build/win32/vs9/gailutil-3.vcprojin | 183 +++++++++++++ build/win32/vs9/gdk-3.vcprojin | 304 +++++++++++++++++++++ build/win32/vs9/gdk3-broadway.vcprojin | 130 +++++++++ build/win32/vs9/gdk3-win32.vcprojin | 130 +++++++++ build/win32/vs9/gtk+.sln | 14 +- build/win32/vs9/gtk-3.vcprojin | 251 +++++++++++++++++ build/win32/vs9/gtk-encode-symbolic-svg.vcproj | 8 +- build/win32/vs9/gtk3-build-defines.vsprops | 46 ++++ build/win32/vs9/gtk3-copy-gdk-broadway.vsprops | 33 +++ build/win32/vs9/gtk3-demo-application.vcprojin | 8 +- build/win32/vs9/gtk3-demo.vcprojin | 8 +- build/win32/vs9/gtk3-gen-srcs.vsprops | 73 +++++ build/win32/vs9/gtk3-icon-browser.vcprojin | 8 +- build/win32/vs9/gtk3-ignore-broadway.vsprops | 14 + build/win32/vs9/gtk3-install.vcproj | 140 ++++++++++ build/win32/vs9/gtk3-install.vspropsin | 126 +++++++++ build/win32/vs9/gtk3-prebuild.vcproj | 282 +++++++++++++++++++ build/win32/vs9/gtk3-version-paths.vsprops.in | 57 ++++ configure.ac | 4 +- gdk/Makefile.am | 16 +- gdk/broadway/Makefile.am | 16 +- gdk/win32/Makefile.am | 16 +- gtk/Makefile.am | 16 +- libgail-util/Makefile.am | 16 +- 53 files changed, 3996 insertions(+), 204 deletions(-) commit 908850c087d3a10aba0cc1e1bb2b08d027d6cefc Author: Chun-wei Fan Date: Tue Sep 15 18:49:49 2015 +0800 MSVC Builds: Remove the Old Static Projects Remove the static projects that were supereceded by the templates, which are used to generate the complete projects during 'make dist'. https://bugzilla.gnome.org/show_bug.cgi?id=681965 build/win32/vs10/broadwayd.vcxproj | 180 -------- build/win32/vs10/broadwayd.vcxproj.filters | 23 - build/win32/vs10/gailutil.vcxproj | 189 -------- build/win32/vs10/gailutil.vcxproj.filters | 21 - build/win32/vs10/gdk-broadway.vcxproj | 145 ------ build/win32/vs10/gdk-broadway.vcxproj.filters | 34 -- build/win32/vs10/gdk-win32.vcxproj | 152 ------- build/win32/vs10/gdk-win32.vcxproj.filters | 41 -- build/win32/vs10/gtk-install.props | 496 --------------------- build/win32/vs10/gtk3-demo-application.vcxproj | 174 -------- .../vs10/gtk3-demo-application.vcxproj.filters | 21 - build/win32/vs10/gtk3-demo.vcxproj | 244 ---------- build/win32/vs10/gtk3-demo.vcxproj.filters | 73 --- build/win32/vs10/gtk3-icon-browser.vcxproj | 181 -------- build/win32/vs10/gtk3-icon-browser.vcxproj.filters | 24 - build/win32/vs9/broadwayd.vcproj | 179 -------- build/win32/vs9/gailutil.vcproj | 184 -------- build/win32/vs9/gdk-broadway.vcproj | 144 ------ build/win32/vs9/gdk-win32.vcproj | 151 ------- build/win32/vs9/gtk-install.vsprops | 469 ------------------- build/win32/vs9/gtk3-demo-application.vcproj | 169 ------- build/win32/vs9/gtk3-demo.vcproj | 231 ---------- build/win32/vs9/gtk3-icon-browser.vcproj | 180 -------- 23 files changed, 3705 deletions(-) commit 76825ffc6a9008653c099da745933b5619793bf7 Author: Chun-wei Fan Date: Tue Sep 15 18:40:19 2015 +0800 Revert "MSVC Builds: Remove Old MSVC Project-Related Files" Sorry, pushed the patch in the wrong order, should be done with the renaming of the projects. This reverts commit d963bd1d325b2b9f46e0cbaca4b41701ae5c93be. build/win32/vs10/gailutil.vcxproj.filtersin | 20 ++ build/win32/vs10/gailutil.vcxprojin | 188 +++++++++++++ build/win32/vs10/gdk-broadway.vcxproj.filtersin | 20 ++ build/win32/vs10/gdk-broadway.vcxprojin | 131 ++++++++++ build/win32/vs10/gdk-win32.vcxproj.filtersin | 20 ++ build/win32/vs10/gdk-win32.vcxprojin | 131 ++++++++++ build/win32/vs10/gdk.vcxproj.filtersin | 24 ++ build/win32/vs10/gdk.vcxprojin | 333 ++++++++++++++++++++++++ build/win32/vs10/gtk-build-defines.props | 52 ++++ build/win32/vs10/gtk-copy-gdk-broadway.props | 50 ++++ build/win32/vs10/gtk-gen-srcs.props | 93 +++++++ build/win32/vs10/gtk-ignore-broadway.props | 18 ++ build/win32/vs10/gtk-install.propsin | 146 +++++++++++ build/win32/vs10/gtk-install.vcxproj | 222 ++++++++++++++++ build/win32/vs10/gtk-prebuild.vcxproj | 244 +++++++++++++++++ build/win32/vs10/gtk-version-paths.props.in | 58 +++++ build/win32/vs10/gtk.vcxproj.filtersin | 45 ++++ build/win32/vs10/gtk.vcxprojin | 228 ++++++++++++++++ build/win32/vs9/gailutil.vcprojin | 183 +++++++++++++ build/win32/vs9/gdk-broadway.vcprojin | 130 +++++++++ build/win32/vs9/gdk-win32.vcprojin | 130 +++++++++ build/win32/vs9/gdk.vcprojin | 304 +++++++++++++++++++++ build/win32/vs9/gtk-build-defines.vsprops | 46 ++++ build/win32/vs9/gtk-copy-gdk-broadway.vsprops | 33 +++ build/win32/vs9/gtk-gen-srcs.vsprops | 73 ++++++ build/win32/vs9/gtk-ignore-broadway.vsprops | 14 + build/win32/vs9/gtk-install.vcproj | 140 ++++++++++ build/win32/vs9/gtk-install.vspropsin | 122 +++++++++ build/win32/vs9/gtk-prebuild.vcproj | 282 ++++++++++++++++++++ build/win32/vs9/gtk-version-paths.vsprops.in | 57 ++++ build/win32/vs9/gtk.vcprojin | 251 ++++++++++++++++++ 31 files changed, 3788 insertions(+) commit d963bd1d325b2b9f46e0cbaca4b41701ae5c93be Author: Chun-wei Fan Date: Mon Jul 20 17:30:18 2015 +0800 MSVC Builds: Remove Old MSVC Project-Related Files Since we have the new files, remove the old ones. build/win32/vs10/gailutil.vcxproj.filtersin | 20 -- build/win32/vs10/gailutil.vcxprojin | 188 ------------- build/win32/vs10/gdk-broadway.vcxproj.filtersin | 20 -- build/win32/vs10/gdk-broadway.vcxprojin | 131 ---------- build/win32/vs10/gdk-win32.vcxproj.filtersin | 20 -- build/win32/vs10/gdk-win32.vcxprojin | 131 ---------- build/win32/vs10/gdk.vcxproj.filtersin | 24 -- build/win32/vs10/gdk.vcxprojin | 333 ------------------------ build/win32/vs10/gtk-build-defines.props | 52 ---- build/win32/vs10/gtk-copy-gdk-broadway.props | 50 ---- build/win32/vs10/gtk-gen-srcs.props | 93 ------- build/win32/vs10/gtk-ignore-broadway.props | 18 -- build/win32/vs10/gtk-install.propsin | 146 ----------- build/win32/vs10/gtk-install.vcxproj | 222 ---------------- build/win32/vs10/gtk-prebuild.vcxproj | 244 ----------------- build/win32/vs10/gtk-version-paths.props.in | 58 ----- build/win32/vs10/gtk.vcxproj.filtersin | 45 ---- build/win32/vs10/gtk.vcxprojin | 228 ---------------- build/win32/vs9/gailutil.vcprojin | 183 ------------- build/win32/vs9/gdk-broadway.vcprojin | 130 --------- build/win32/vs9/gdk-win32.vcprojin | 130 --------- build/win32/vs9/gdk.vcprojin | 304 --------------------- build/win32/vs9/gtk-build-defines.vsprops | 46 ---- build/win32/vs9/gtk-copy-gdk-broadway.vsprops | 33 --- build/win32/vs9/gtk-gen-srcs.vsprops | 73 ------ build/win32/vs9/gtk-ignore-broadway.vsprops | 14 - build/win32/vs9/gtk-install.vcproj | 140 ---------- build/win32/vs9/gtk-install.vspropsin | 122 --------- build/win32/vs9/gtk-prebuild.vcproj | 282 -------------------- build/win32/vs9/gtk-version-paths.vsprops.in | 57 ---- build/win32/vs9/gtk.vcprojin | 251 ------------------ 31 files changed, 3788 deletions(-) commit d836a52b68e53b53b143717fb2fef6160b409d0e Author: Chun-wei Fan Date: Fri Apr 17 14:47:56 2015 +0800 build: Clean Up Visual Studio Project Generation Use the common automake module from the previous commit in the Makefile.am's, which means that the Makefile.am's in gdk/ and gtk/ can be cleaned up as a result. As a side effect, the property sheet that is used to "install" the build results and headers can now be generated in terms of the listing of headers to copy during 'make dist', where we can acquire most of the list of headers to "install", so that we can largely avoid the situation where the property sheet files are not updated in time for this, causing missing headers when this build of GTK+ is being used. Also use the Visual Studio Project file generation for the following projects: gtk3-demo gtk3-demo-application gtk3-icon-browser gdk-win32 gdk-broadway gail-util So that the maintenace of these project files can be simplified as well. https://bugzilla.gnome.org/show_bug.cgi?id=681965 build/win32/vs10/Makefile.am | 92 ++++++---- build/win32/vs10/broadwayd.vcxproj.filtersin | 20 +++ build/win32/vs10/broadwayd.vcxprojin | 177 +++++++++++++++++++ build/win32/vs10/gailutil.vcxproj.filtersin | 20 +++ build/win32/vs10/gailutil.vcxprojin | 188 +++++++++++++++++++++ build/win32/vs10/gdk-broadway.vcxproj.filtersin | 20 +++ build/win32/vs10/gdk-broadway.vcxprojin | 131 ++++++++++++++ build/win32/vs10/gdk-win32.vcxproj.filtersin | 20 +++ build/win32/vs10/gdk-win32.vcxprojin | 131 ++++++++++++++ build/win32/vs10/gdk.vcxproj.filtersin | 4 +- build/win32/vs10/gdk.vcxprojin | 2 +- build/win32/vs10/gtk-install.propsin | 146 ++++++++++++++++ build/win32/vs10/gtk.vcxproj.filtersin | 2 +- build/win32/vs10/gtk.vcxprojin | 2 +- .../vs10/gtk3-demo-application.vcxproj.filtersin | 20 +++ build/win32/vs10/gtk3-demo-application.vcxprojin | 173 +++++++++++++++++++ build/win32/vs10/gtk3-demo.vcxproj.filtersin | 16 ++ build/win32/vs10/gtk3-demo.vcxprojin | 187 ++++++++++++++++++++ .../win32/vs10/gtk3-icon-browser.vcxproj.filtersin | 20 +++ build/win32/vs10/gtk3-icon-browser.vcxprojin | 177 +++++++++++++++++++ build/win32/vs9/Makefile.am | 57 +++++-- build/win32/vs9/broadwayd.vcprojin | 176 +++++++++++++++++++ build/win32/vs9/gailutil.vcprojin | 183 ++++++++++++++++++++ build/win32/vs9/gdk-broadway.vcprojin | 130 ++++++++++++++ build/win32/vs9/gdk-win32.vcprojin | 130 ++++++++++++++ build/win32/vs9/gdk.vcprojin | 2 +- build/win32/vs9/gtk-install.vspropsin | 122 +++++++++++++ build/win32/vs9/gtk.vcprojin | 2 +- build/win32/vs9/gtk3-demo-application.vcprojin | 168 ++++++++++++++++++ build/win32/vs9/gtk3-demo.vcprojin | 174 +++++++++++++++++++ build/win32/vs9/gtk3-icon-browser.vcprojin | 176 +++++++++++++++++++ demos/gtk-demo/Makefile.am | 15 ++ demos/icon-browser/Makefile.am | 10 ++ gdk/Makefile.am | 50 +++--- gdk/broadway/Makefile.am | 21 +++ gdk/win32/Makefile.am | 17 ++ gtk/Makefile.am | 55 +++--- libgail-util/Makefile.am | 18 ++ 38 files changed, 2934 insertions(+), 120 deletions(-) commit deb632c9b64325dc1b11587f7509c061036170c4 Author: Chun-wei Fan Date: Tue Sep 15 18:33:37 2015 +0800 build: Add Common Autotools Module for MSVC Projects This adds a common autotools module that can be used by various projects to generate the Visual Studio projects as needed, and if necessary, generate the headers listings to "install" for that project, based on items passed in to this. This is modeled on the Makefile.introspection autotools file that is used by many GNOME projects to generate the introspection files. https://bugzilla.gnome.org/show_bug.cgi?id=681965 build/Makefile.msvcproj | 110 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 110 insertions(+) commit 0fa37dc1c10c4bd463cbad93349d48ecbfbc0287 Author: Daniel Mustieles Date: Tue Sep 15 10:08:13 2015 +0000 Updated Spanish translation po/es.po | 13044 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 6520 insertions(+), 6524 deletions(-) commit 63fa0fd4e9b6ac1e75464dc0f2dca6dbc9136522 Author: Rico Tzschichholz Date: Tue Sep 15 08:23:39 2015 +0200 configure: Require glib >= 2.45.8 Needed since 29c799a1e77e441160892366355e9a55aed5df40 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 024a9c157319da63da1f537731204682487af5bb Author: Rico Tzschichholz Date: Tue Sep 15 07:30:36 2015 +0200 docs: Add index for 3.18 api docs/reference/gdk/gdk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 921930907b4f8590c15936303922794814e8a79b Author: Kouhei Sutou Date: Sun Sep 6 17:41:44 2015 +0900 Add missing $(EXEEXT) https://bugzilla.gnome.org/show_bug.cgi?id=754629 demos/gtk-demo/Makefile.am | 2 +- demos/widget-factory/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit faeaa2f91ee9561f36cc6f66df6bdeb46eb16f88 Author: Matthias Clasen Date: Mon Sep 14 07:09:02 2015 -0400 3.17.9 NEWS | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 60 insertions(+), 1 deletion(-) commit 7c4c8b90f0b1d5619b1a4e46420e09d9b3849684 Author: Jonas Ådahl Date: Thu Sep 10 17:42:21 2015 +0800 wayland: Make subsurface desynchronized after first parent surface frame Initially the subsurface will be in synchronized mode and we will leave it like this until the first time the parent surface has been committed. The reason for this is because the subsurface position will be applied as part of the parent surface state, and we need to synchronize the initial position with the initial frame, so that we don't accidentally draw the subsurface at the default position (0, 0) which would happen in desynchronized mode if the subsurface content is committed before the next parent surface commit. https://bugzilla.gnome.org/show_bug.cgi?id=754839 gdk/wayland/gdkwindow-wayland.c | 81 ++++++++++++++++++++++++++++++++--------- 1 file changed, 63 insertions(+), 18 deletions(-) commit 07a574ddddd971f7b8a4aa237f6bdb4a4a08c6b5 Author: Benjamin Otte Date: Mon Sep 14 20:22:45 2015 +0200 window: Use gtk_widget_queue_resize() _gtk_container_queue_resize() is a private function and probably shouldn't have even been used in 1999 when this call was originally added. gtk/gtkwin32embedwidget.c | 2 +- gtk/gtkwindow.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit bcc0a54383b65c4e476e481cc0485d49d34adbbc Author: Benjamin Otte Date: Mon Sep 14 23:32:16 2015 +0200 inspector: Store the parent for the object tree This allows selecting newly added random objects. https://bugzilla.gnome.org/show_bug.cgi?id=754987 gtk/inspector/object-tree.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 018856df23192b2aa34e2a7aaa1ebed23410b223 Author: Fran Dieguez Date: Mon Sep 14 22:58:23 2015 +0200 Updated Galician translations po/gl.po | 3858 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2090 insertions(+), 1768 deletions(-) commit 1c8760c5fafa4d55eef9b31166e2095b88b06b46 Author: Christian Hergert Date: Mon Sep 14 12:25:44 2015 -0700 gdkwindow: avoid multiple walking of children list This counts the number of children and fetches the last GList node at the same time. gdk/gdkwindow.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit 7d3ad4384175eec0b75e8a09e5da1a917008374c Author: Matthias Clasen Date: Mon Sep 14 13:27:43 2015 -0400 Revert "print backend: Remove an unneeded variable" This reverts commit 9ebebd48b00092446cdbeee03b49f149725c9868. This change broke the templates testcase, and I don't have time to poke at why, right now. gtk/gtkprintbackend.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit afa60da5535677b4e7b64f105bc323302cbc8080 Author: Matthias Clasen Date: Mon Sep 14 13:20:36 2015 -0400 Fix a copy-paste error We were notifying can-focus when can-default changes. Unit tests save the day. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f0dcef29e37822f2cd8f37fc5f81a5419329d15 Author: Muhammet Kara Date: Mon Sep 14 17:59:30 2015 +0000 Updated Turkish translation po-properties/tr.po | 7239 ++++++++++++++++++++------------------------------- 1 file changed, 2791 insertions(+), 4448 deletions(-) commit e1694a719f1963dd9432bfb2249340b3977b5747 Author: Carlos Garnacho Date: Mon Mar 2 17:01:21 2015 +0100 scrolledwindow: Cancel kinetic/overshoot animation on captured scroll events This ensures the animation is cancelled if the child widget happens to GDK_EVENT_STOP scroll events. https://bugzilla.gnome.org/show_bug.cgi?id=745315 gtk/gtkscrolledwindow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 15411aa032ca0c36f8a9adc9c1c2ee71a5131fbf Author: Matthias Clasen Date: Mon Sep 14 11:49:15 2015 -0400 entry: Drop the Ctrl-K keybinding This interferes with a well-loved firefox shortcut, and we are more interested in a gtk3 firefox than in legacy keybindings. gtk/gtkentry.c | 4 ---- 1 file changed, 4 deletions(-) commit 259611a87c0d31741fcf45fca745643c5a1d5dc2 Author: Carlos Garnacho Date: Mon Sep 14 17:33:23 2015 +0200 gtkwidget: Do not listen to notifications from nonexistent properties The GtkEventController event mask is private, and set early by GtkGesture implementations. Being this private data, there is no corresponding property, so this code is a no-op, there is just no need to listen to changes there. gtk/gtkwidget.c | 13 ------------- 1 file changed, 13 deletions(-) commit 13873d2c507783042df55ad2c48f37a346121fd0 Author: Carlos Garnacho Date: Thu Sep 10 14:18:04 2015 +0200 gtkwidget: Ensure unrealization during event dispatching cancels gestures We use to rely on grab broken events for most of the event sequence lifetime, this breaks though on GDK_BUTTON_RELEASE/GDK_TOUCH_END, as there's no longer a grab at that time. For these cases (and all others where there's destroy/unrealize calls involved during event dispatching), catch this on the late WIDGET_REALIZED_FOR_EVENT calls on widget event handling functions. https://bugzilla.gnome.org/show_bug.cgi?id=754098 gtk/gtkwidget.c | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) commit 0dae974b962be0d0928a919cd6fa5407f1ba38dd Author: Carlos Garnacho Date: Thu Sep 10 14:16:20 2015 +0200 gtkwidget: refactor code into separate function This "cancel sequence across widget hierarchy" code will be useful in other places, so take it out to a separate function. https://bugzilla.gnome.org/show_bug.cgi?id=754098 gtk/gtkwidget.c | 38 +++++++++++++++++++++++--------------- 1 file changed, 23 insertions(+), 15 deletions(-) commit 1c4a7bd552ea2f954c91e7a2169166140122e24a Author: Matthias Clasen Date: Mon Sep 14 11:15:32 2015 -0400 Revert "tool button: Use G_DEFINE_TYPE" This reverts commit 4e56dfad0e33187d019c44ecfb5e7e99cf2da535. It turns out that GtkToolButton is playing games with the class pointer inside instance_init, so leave it alone. gtk/gtktoolbutton.c | 69 +++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 54 insertions(+), 15 deletions(-) commit 76810e110b9a90019de285b9f018b6ba356e5071 Author: Matthias Clasen Date: Mon Sep 14 09:38:08 2015 -0400 gtk-builder-tool: Don't break GtkHBox and GtkVBox These classes have different defaults for ::expand than GtkBox, which is not reflected in the declared default, so we have to blacklist it. gtk/gtk-builder-tool.c | 2 ++ 1 file changed, 2 insertions(+) commit 75057db990d630b2f0532c40cb666ce9c40fbbbe Author: Matthias Clasen Date: Mon Sep 14 09:35:01 2015 -0400 gtk-demo: Fix builder example This example is still using a GtkVBox, and it happened to be broken by gtk-builder-tool simplify. demos/gtk-demo/demo.ui | 5 +++++ 1 file changed, 5 insertions(+) commit f9c37cb887068e37c1e5ea1d65a6c928d79d581b Author: Fran Dieguez Date: Mon Sep 14 16:47:51 2015 +0200 Updated Galician translations po-properties/gl.po | 2362 ++++++++++++++++++++++++++------------------------- 1 file changed, 1182 insertions(+), 1180 deletions(-) commit d547b867738451ed4828401f523bbebe67054c35 Author: Fran Dieguez Date: Mon Sep 14 16:44:48 2015 +0200 Updated Galician translations po/gl.po | 274 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 145 insertions(+), 129 deletions(-) commit 68e50d20a7f765b3b5c6196f0d4de134fc111bac Author: Alexander Larsson Date: Mon Sep 14 15:05:37 2015 +0200 widget: Call size_allocate vfunc directly when possible This avoids all the overhead of signal emissions when it is not used. gtk/gtkwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit cdd951e927ad37933eb12f62fc6eaafe542a7c29 Author: Alexander Larsson Date: Mon Sep 14 11:36:43 2015 +0200 draw: call vfunc rather then emit signal for the common case This avoids a lot of overhead in the common case where a signal is not connected and we're just using the class vfunc (which is true for all in-libgtk widgets). Additionally it makes backtraces in debuggers and profiles much much nicer to look at. https://bugzilla.gnome.org/show_bug.cgi?id=754986 gtk/gtkwidget.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit d5f1754981129094afbe5d9c1d57e41599fad410 Author: Alexander Larsson Date: Mon Sep 14 10:56:13 2015 +0200 gtk: Stop setting GDK_EXPOSURE_MASK on random widgets These days exposure happens only on the native windows (generally the toplevel window) and is propagated down recursively. The expose event is only useful for backwards compat, and in fact, for double buffered widgets we totally ignore the event (and non-double buffering breaks on wayland). So, by not setting the mask we avoid emitting these events and then later ignoring them. We still keep it on eventbox, fixed and layout as these are used in weird ways that want backwards compat. gtk/deprecated/gtkcolorsel.c | 1 - gtk/deprecated/gtkhandlebox.c | 4 +--- gtk/deprecated/gtkmisc.c | 2 +- gtk/gtkcalendar.c | 1 - gtk/gtkflowbox.c | 1 - gtk/gtkglarea.c | 2 +- gtk/gtkiconview.c | 3 +-- gtk/gtklistbox.c | 2 +- gtk/gtkmagnifier.c | 3 +-- gtk/gtkmenu.c | 2 +- gtk/gtkmenushell.c | 3 +-- gtk/gtknotebook.c | 2 +- gtk/gtkoverlay.c | 2 +- gtk/gtkpaned.c | 2 +- gtk/gtkpopover.c | 1 - gtk/gtkrevealer.c | 2 +- gtk/gtkscrolledwindow.c | 4 ++-- gtk/gtkspinbutton.c | 2 +- gtk/gtkstack.c | 2 +- gtk/gtktextview.c | 3 +-- gtk/gtktoolitemgroup.c | 2 +- gtk/gtktoolpalette.c | 2 +- gtk/gtktreeview.c | 14 ++++++-------- gtk/gtkviewport.c | 2 +- 24 files changed, 26 insertions(+), 38 deletions(-) commit eafedfbaf8e080a1e444f46cde082fb2734552f9 Author: Alexander Larsson Date: Mon Sep 14 09:43:14 2015 +0200 gdkwindow: Avoid list allocation and object refs during repaint There is no need to ref the windows we're ignoring, so collect and ref only the affected child windows. Also, use a on-stack array rather than allocating a linked list. Also, we don't need to ref during the event emissions too, as we already hold a ref. https://bugzilla.gnome.org/show_bug.cgi?id=754687 gdk/gdkwindow.c | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) commit d9c07063050747109bf29b20cb8c0149f79c6216 Author: Pedro Albuquerque Date: Mon Sep 14 07:31:34 2015 +0000 Updated Portuguese translation po/pt.po | 412 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 206 insertions(+), 206 deletions(-) commit 136e3877b94f631c80e9a163ce123f62a5ee69f3 Author: Piotr Drąg Date: Mon Sep 14 09:30:30 2015 +0200 Updated Polish translation po/pl.po | 410 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 205 insertions(+), 205 deletions(-) commit b9322433d341e5b812b9baa6d28f5a9b196860a4 Author: Matthias Clasen Date: Sun Sep 13 23:26:16 2015 -0400 Update all ui files again Replace translatable="1" by translatable="yes" so xgettext stays happy and extracts the strings. demos/gtk-demo/application.ui | 2 +- demos/gtk-demo/demo.ui | 56 ++++----- demos/gtk-demo/filtermodel.ui | 24 ++-- demos/gtk-demo/font-features.ui | 72 ++++++------ demos/gtk-demo/listbox.ui | 20 ++-- demos/gtk-demo/main.ui | 8 +- demos/gtk-demo/modelbutton.ui | 2 +- demos/gtk-demo/scale.ui | 4 +- demos/gtk-demo/spinbutton.ui | 2 +- demos/gtk-demo/stack.ui | 8 +- demos/gtk-demo/theming.ui | 32 ++--- demos/widget-factory/widget-factory.ui | 206 ++++++++++++++++----------------- gtk/ui/gtkaboutdialog.ui | 6 +- gtk/ui/gtkappchooserdialog.ui | 10 +- gtk/ui/gtkappchooserwidget.ui | 2 +- gtk/ui/gtkassistant.ui | 12 +- gtk/ui/gtkcolorchooserdialog.ui | 6 +- gtk/ui/gtkcoloreditor.ui | 18 +-- gtk/ui/gtkfilechooserbutton.ui | 2 +- gtk/ui/gtkfilechooserwidget.ui | 28 ++--- gtk/ui/gtkfontbutton.ui | 2 +- gtk/ui/gtkfontchooserdialog.ui | 6 +- gtk/ui/gtkfontchooserwidget.ui | 8 +- gtk/ui/gtklockbutton.ui | 4 +- gtk/ui/gtkpagesetupunixdialog.ui | 16 +-- gtk/ui/gtkpathbar.ui | 4 +- gtk/ui/gtkplacesview.ui | 14 +-- gtk/ui/gtkplacesviewrow.ui | 2 +- gtk/ui/gtkprintunixdialog.ui | 108 ++++++++--------- gtk/ui/gtkrecentchooserdefault.ui | 2 +- gtk/ui/gtkvolumebutton.ui | 12 +- 31 files changed, 349 insertions(+), 349 deletions(-) commit fda5b4ce4cfb4fd169ae7d5d25f5b587fe872b74 Author: Matthias Clasen Date: Sun Sep 13 23:24:05 2015 -0400 builder-tool: Don't simplify translatable="yes" It turns out that xgettext does not understand translatable="1", so don't make gtk-builder-tool produce this, even though GtkBuilder can parse it just fine. https://bugzilla.gnome.org/show_bug.cgi?id=754928 gtk/gtk-builder-tool.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit 0db331d24488318b4492caf3a8223bfc9908faf1 Author: Matthias Clasen Date: Fri Sep 4 18:26:51 2015 -0400 file chooser: make rows with popovers visible Without this, the popovers are just dangling in the middle of nowhere. https://bugzilla.gnome.org/show_bug.cgi?id=754411 gtk/gtkplacessidebar.c | 49 ++ gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 771 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 691 ++++++++++++--------------- 4 files changed, 698 insertions(+), 817 deletions(-) commit 6f10fa1f40cb4a8a222ce785590a37d04fcff53d Author: Christian Hergert Date: Sun Sep 13 13:40:57 2015 -0700 pixelcache: squash warnings introduced by previous commits gtk/gtkpixelcache.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a3605bc5573253bfbb1e16ca762ce7bcc8700c02 Author: Christian Hergert Date: Tue Sep 8 15:36:07 2015 -0700 textview: give pixelcache access to style context This changes textview to share the style context with the pixelcache. Doing so allows pixel cache to optimize the surface creation and use a CAIRO_CONTENT_COLOR instead of CAIRO_CONTENT_COLOR_ALPHA when appropriate. https://bugzilla.gnome.org/show_bug.cgi?id=754658 gtk/gtktextview.c | 4 ++++ 1 file changed, 4 insertions(+) commit 7c1ce9f3adabee70de886c6d32333650c691e97c Author: Christian Hergert Date: Tue Sep 8 15:09:04 2015 -0700 viewport: share style context with pixelcache This allows the pixel cache to opportunistically use CAIRO_CONTENT_COLOR instead of CAIRO_CONTENT_COLOR_ALPHA during surface creation. https://bugzilla.gnome.org/show_bug.cgi?id=754658 gtk/gtkviewport.c | 4 ++++ 1 file changed, 4 insertions(+) commit d7eb90779f3f0b71d640c12ebcff632cf2af3974 Author: Christian Hergert Date: Tue Sep 8 14:48:40 2015 -0700 pixelcache: use GtkStyleContext to determine cairo_content_t for surface We can take a fast path if the background for a widget is opaque by using a CAIRO_CONTENT_COLOR instead of a CAIRO_CONTENT_COLOR_ALPHA surface. Most blit'ing backends have a fast path for this, including Pixman and Quartz. https://bugzilla.gnome.org/show_bug.cgi?id=754658 gtk/gtkpixelcache.c | 20 +++++++++++++++----- gtk/gtkpixelcacheprivate.h | 2 ++ 2 files changed, 17 insertions(+), 5 deletions(-) commit c1691a49640026c4701f13c96ab914cd456310b7 Author: Christian Hergert Date: Tue Sep 8 14:45:51 2015 -0700 stylecontext: add opaque background helper This new private API, _gtk_style_context_is_background_opaque(), is meant to be used by internal Gtk+ wigets to optimize fast paths for cases where applicable. One such use would be to use a CAIRO_CONTENT_COLOR surface instead of CAIRO_CONTENT_COLOR_ALPHA. https://bugzilla.gnome.org/show_bug.cgi?id=754658 gtk/gtkstylecontext.c | 21 ++++++++++++++++----- gtk/gtkstylecontextprivate.h | 2 ++ 2 files changed, 18 insertions(+), 5 deletions(-) commit b64a0b923389fb719b6d8947973c834c0be315cb Author: Matthias Clasen Date: Sun Sep 13 14:18:19 2015 -0400 wayland: Avoid a crash with GtkGLArea We must not call gdk_wayland_window_attach_image when using GL for drawing, this leads to a crash. https://bugzilla.gnome.org/show_bug.cgi?id=754770 gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ea294fd92c86aa28fd40b1c5c14f55eea6da5f6b Author: Alexander Larsson Date: Thu Sep 10 12:57:16 2015 +0200 gdkwindow: Store children list nodes in GdkWindow structure This avoids a bunch of allocations, and additionally it has better cache behaviour, as we don't follow pointers to the separate GList node memory areas during traversal. From Christian Hergert: This machine is a Retina mac book pro so I've been working on getting GtkTextView (GtkPixelCache) up to our performance level on X11/Wayland. I'm seeing a jump from about 43 FPS to about 50 FPS. https://bugzilla.gnome.org/show_bug.cgi?id=754687 gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 69 ++++++++++++++++++++++++++++++++++++++++-------------- 2 files changed, 53 insertions(+), 18 deletions(-) commit 0175cd8ae7ee66dda18ec09194137bf81f6f72bc Author: Matthias Clasen Date: Sun Sep 13 12:44:17 2015 -0400 places sidebar: keep open variants sensitive Add a separate action for "Open in Tab" and "Open in new window" so we can keep them enabled when we disable "Open" for the selected row. https://bugzilla.gnome.org/show_bug.cgi?id=754410 gtk/gtkplacessidebar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 2b3a116ef7a086319aea6613c0114ef03e3ecb19 Author: Dušan Kazik Date: Sun Sep 13 08:58:00 2015 +0000 Updated Slovak translation po-properties/sk.po | 454 +++++++++++++++++++++++++--------------------------- 1 file changed, 220 insertions(+), 234 deletions(-) commit 4bcc49c9ef37a646bcd4712e4bb69f6da6e92b7f Author: Dušan Kazik Date: Sun Sep 13 08:50:28 2015 +0000 Updated Slovak translation po/sk.po | 1304 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 541 insertions(+), 763 deletions(-) commit 8a540ea0d0d49d8caea6e603565a8d6ea822d62f Author: Matthias Clasen Date: Sat Sep 12 23:56:39 2015 -0400 Drop GtkWidgetAuxInfo Merge it into GtkWidgetPrivate. In my measurements, about half of all widgets have a non-default auxinfo struct, and we use this information in size allocation, so it is nice to avoid the gdata overhead. gtk/gtkwidget.c | 294 +++++++++++++------------------------------------ gtk/gtkwidgetprivate.h | 49 +++------ 2 files changed, 93 insertions(+), 250 deletions(-) commit b355b07c10f2ae3297bd3fce8ff6d986c375ebba Author: Matthias Clasen Date: Sat Sep 12 20:58:41 2015 -0400 Move font map to qdata This is very rarely used, lets not reserve space for it in every widget. gtk/gtkwidget.c | 38 ++++++++++++++++++++++++++------------ gtk/gtkwidgetprivate.h | 2 -- 2 files changed, 26 insertions(+), 14 deletions(-) commit 70a2281959eed7e459766bfe1f4e25786b474611 Author: Matthias Clasen Date: Sat Sep 12 20:41:45 2015 -0400 Move font options to gdata This is very rarely used, lets not reserve space for it in every widget. gtk/gtkwidget.c | 30 ++++++++++++++++-------------- gtk/gtkwidgetprivate.h | 1 - 2 files changed, 16 insertions(+), 15 deletions(-) commit b16658283595a84395b28fcdf6c19a3d4900aabd Author: Matthias Clasen Date: Sat Sep 12 20:08:56 2015 -0400 Move action muxer to gdata Most widgets don't have their own, and we don't access them very frequently. gtk/gtkwidget.c | 45 +++++++++++++++++++++++++++++++++------------ gtk/gtkwidgetprivate.h | 3 --- 2 files changed, 33 insertions(+), 15 deletions(-) commit e4de412fd34a489a712a5f223c7824d3aba99136 Author: Matthias Clasen Date: Sat Sep 12 19:50:42 2015 -0400 Move widget paths to gdata We only use widget paths for a few widgets nowadays (notebook, treeview, pathbar, combobox), so we can save some space by not having this field in GtkWidgetPrivate. gtk/gtkwidget.c | 37 ++++++++++++++++++++----------------- gtk/gtkwidgetprivate.h | 8 +++----- 2 files changed, 23 insertions(+), 22 deletions(-) commit bf95c8462bbc2420bea95885bf7fb8a21b4ed878 Author: Benjamin Otte Date: Sun Sep 13 01:52:49 2015 +0200 combobox: Stop using old styling code Instead of get_path_for_child() use CSS nodes. gtk/gtkcombobox.c | 89 +++++-------------------------------------------------- 1 file changed, 7 insertions(+), 82 deletions(-) commit 75439cafb6330da6c907f358ddc36ea92a0d46a4 Author: Matthias Clasen Date: Sat Sep 12 19:22:17 2015 -0400 Move template support to qdata The hash table is only accessed at creation and destruction time, and many widgets don't use templates at all, so no need to have this permanently occupying space. gtk/gtkwidget.c | 28 +++++++++++++++++----------- gtk/gtkwidgetprivate.h | 4 ---- 2 files changed, 17 insertions(+), 15 deletions(-) commit d8e1f1edf500809188c15f54186f8dc90ad66292 Author: Matthias Clasen Date: Sat Sep 12 18:54:38 2015 -0400 Pack GtkWidgetPrivate a bit better This makes it shrink from 240 to 232 bytes. gtk/gtkwidgetprivate.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 27db410fd501f8a59c416cbc8fc81eda7771dfd3 Author: Matthias Clasen Date: Sat Sep 12 18:48:17 2015 -0400 Use NULL instead of g_direct_equal GHashTable has built-in support for pointer comparison. gtk/gtkwidget.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit f1414a125f006b1131c89e9b723f90f842e95a20 Author: Matthias Clasen Date: Sat Sep 12 18:36:32 2015 -0400 Move GtkWidgetAuxInfo struct to private headers There's no API returning such a struct, it is entirely internal. Therefore, don't expose it in public headers. gtk/gtkwidget.h | 20 -------------------- gtk/gtkwidgetprivate.h | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+), 20 deletions(-) commit 51a1bc21af92d866a96c15b538d34708f8c91045 Author: Benjamin Otte Date: Sat Sep 12 21:27:10 2015 +0200 Revert "Avoid type checking overhead for resize-mode" This reverts commit 3eacfa88f2d9c690a006de9cac1cd3c60901686c. Apart from the patch not being correct, we don't want to expose private structures in header files if we can avoid it. And this type-checking overhead is not an optimization that is even measurable. https://bugzilla.gnome.org/show_bug.cgi?id=754932 gtk/gtkcontainer.c | 25 ++++++++++++++++++++++--- gtk/gtkcontainerprivate.h | 28 ---------------------------- gtk/gtkcsswidgetnode.c | 4 ++-- gtk/gtkwidget.c | 2 ++ gtk/gtkwindow.c | 4 ++-- 5 files changed, 28 insertions(+), 35 deletions(-) commit 286e8eec3a8ab18329a4bf68ccdead08a2c5ef56 Author: Piotr Drąg Date: Sat Sep 12 19:42:41 2015 +0200 Updated POTFILES.in po-properties/POTFILES.in | 8 ++++++++ po/POTFILES.in | 10 +++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) commit 29c799a1e77e441160892366355e9a55aed5df40 Author: Matthias Clasen Date: Sat Sep 12 09:14:47 2015 -0400 Use g_object_get_qdata instead of g_object_get_data This is less expensive. gtk/deprecated/gtkstyle.c | 14 +++++++++----- gtk/gtkcssnode.c | 13 ++++++++++--- gtk/gtklabel.c | 46 +++++++++++++++++++++++++++------------------ gtk/gtksettings.c | 15 ++++++++++----- gtk/gtktooltip.c | 48 +++++++++++++++++++++++------------------------ 5 files changed, 80 insertions(+), 56 deletions(-) commit 66f0bdee0adf422f23b5e0bb5addd6256958eb82 Author: Matthias Clasen Date: Sat Sep 12 09:13:00 2015 -0400 Intern all signal names beforehand This avoids pointless allocations gdk/gdkkeys.c | 6 +++--- gtk/gtkaboutdialog.c | 2 +- gtk/gtkactionmuxer.c | 3 ++- gtk/gtkappchooserbutton.c | 2 +- gtk/gtkappchooserwidget.c | 6 +++--- gtk/gtkapplication.c | 4 ++-- gtk/gtkcolorchooser.c | 2 +- gtk/gtkcolorswatch.c | 4 ++-- gtk/gtkfilesystem.c | 3 ++- gtk/gtkflowbox.c | 26 +++++++++++++------------- gtk/gtkfontchooser.c | 2 +- gtk/gtkgesture.c | 10 +++++----- gtk/gtkgesturedrag.c | 7 ++++--- gtk/gtkgesturelongpress.c | 4 ++-- gtk/gtkgesturemultipress.c | 6 +++--- gtk/gtkgesturepan.c | 2 +- gtk/gtkgesturerotate.c | 3 ++- gtk/gtkgestureswipe.c | 3 ++- gtk/gtkgesturezoom.c | 3 ++- gtk/gtkglarea.c | 4 ++-- gtk/gtklevelbar.c | 2 +- gtk/gtklistbox.c | 28 ++++++++++++++-------------- gtk/gtkprinteroption.c | 2 +- gtk/gtkprinteroptionset.c | 3 ++- gtk/gtkprinteroptionwidget.c | 2 +- gtk/gtksearchengine.c | 7 ++++--- 26 files changed, 77 insertions(+), 69 deletions(-) commit c8dcb690aacccf56d84195a2470da0aad74c9e29 Author: Matthias Clasen Date: Fri Sep 11 19:05:49 2015 -0400 css node: Avoid a duplicate type check gtk/gtkcssnode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2a6a841db1d318a8632bccafe0e45ce7979e60f6 Author: Matthias Clasen Date: Fri Sep 11 19:05:19 2015 -0400 widget path: No need for atomic refcounting We are all in one thread, anyway. gtk/gtkwidgetpath.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 9546ce798b34efb8af2f875151fff96d8d0129eb Author: Matthias Clasen Date: Fri Sep 11 19:04:54 2015 -0400 css value: No need for atomic refcounting We are all in one thread anyway. gtk/gtkcssvalue.c | 5 +++-- gtk/gtkcssvalueprivate.h | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) commit fe1e2cbfad4448aadc10d2a8650836f5d9195e5f Author: Matthias Clasen Date: Fri Sep 11 19:04:07 2015 -0400 css section: No need for atomic refcounting We are all in one thread, anyway. gtk/gtkcsssection.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 3eacfa88f2d9c690a006de9cac1cd3c60901686c Author: Matthias Clasen Date: Fri Sep 11 17:12:35 2015 -0400 Avoid type checking overhead for resize-mode gtk/gtkcontainer.c | 25 +++---------------------- gtk/gtkcontainerprivate.h | 28 ++++++++++++++++++++++++++++ gtk/gtkcsswidgetnode.c | 4 ++-- gtk/gtkwidget.c | 2 -- gtk/gtkwindow.c | 4 ++-- 5 files changed, 35 insertions(+), 28 deletions(-) commit 95cf550e150530d25659ef34c5e2d65e1d828923 Author: Matthias Clasen Date: Fri Sep 11 09:09:10 2015 -0400 window: Avoid unnecessary detours Don't call gtk_widget_get_screen on a window - it only ends up calling gtk_window_get_screen in the end, anyway. gtk/gtkwindow.c | 67 +++++++++++++++++++++++++++----------------------- gtk/gtkwindowprivate.h | 2 ++ 2 files changed, 38 insertions(+), 31 deletions(-) commit caa0ee3d252752be5623f7278ee0f0004fc1a728 Author: Matthias Clasen Date: Fri Sep 11 09:08:36 2015 -0400 Remove type check from gtk_widget_get_request_mode gtk/gtksizerequest.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 09e4f753fd3dd9ccf4fbbe940e1cb909790d33c6 Author: Matthias Clasen Date: Fri Sep 11 09:07:37 2015 -0400 widget: Move _gtk_widget_peek_request_cache to private.h gtk/gtkwidget.c | 17 +---------------- gtk/gtkwidgetprivate.h | 8 +++++++- 2 files changed, 8 insertions(+), 17 deletions(-) commit 20c49b883763c1a8d0097425cdfb1eaf1e4df190 Author: Matthias Clasen Date: Thu Sep 10 22:04:31 2015 -0400 css node declaration: Avoid optional out parameters Always pass a pos to find_class, and avoid the if. gtk/gtkcssnodedeclaration.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 29505af07fdf0950a5abd39d4e24d852ae242155 Author: Matthias Clasen Date: Thu Sep 10 20:43:21 2015 -0400 css node declaration: Fix a typo gtk/gtkcssnodedeclaration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bbeec3608fbeb1cbd056b7405ca0f2132f3bce16 Author: Matthias Clasen Date: Fri Sep 11 18:48:20 2015 -0400 css section: Replace g_return by gtk_internal_return gtk/gtkcsssection.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) commit a9b80a6391607f14a614b8d199c1f707e21185ea Author: Matthias Clasen Date: Fri Sep 11 16:30:07 2015 -0400 style cascade: Replace g_return by gtk_internal_return gtk/gtkstylecascade.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 60ccda05975c63b178a76e53cd4ab5bf681cc22f Author: Matthias Clasen Date: Thu Sep 10 22:02:03 2015 -0400 css lookup: Replace g_return by gtk_internal return These functions are called in an inner loop in gtk_css_style_provider_lookup. gtk/gtkcsslookup.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 83d68ea107bbeec96309608b6b18818d95ec35f9 Author: Matthias Clasen Date: Thu Sep 10 20:42:58 2015 -0400 css selector: Use a builtin to count bits gtk/gtkcssselector.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit a831f1fb112e342055428fc6ab8f825bb686a4b8 Author: Matthias Clasen Date: Thu Sep 10 20:42:07 2015 -0400 css matcher: Avoid a redundant call The sole caller passes an interned string, so we don't need to call g_intern_string again. gtk/gtkcssmatcher.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 11d3582333bb80546e0b94271c14be89069f2a0d Author: Matthias Clasen Date: Thu Sep 10 20:04:24 2015 -0400 css selector: Take advantage of interned strings We know these strings are interned, no need to use strcmp or g_str_hash for hem. gtk/gtkcssselector.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) commit 4654fa6efe539dcaae127beb49e569df91f5c3a4 Author: Matthias Clasen Date: Fri Sep 11 09:06:46 2015 -0400 bitmask: Trivial formatting fix gtk/gtkallocatedbitmask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c86f0b1b237bf8ccc47a5a5399a8acc55e0eb1fd Author: Matthias Clasen Date: Thu Sep 10 18:48:29 2015 -0400 bitmask: Optimize no-op resizes Statistics for the gtk3-demo listbox example show that the vast majority of calls to _gtk_allocated_bitmask_resize go from a size of 2 to 2. Don't needlessly call realloc() in this case. gtk/gtkallocatedbitmask.c | 3 +++ 1 file changed, 3 insertions(+) commit 0957ba522008bc08631ee209b4dae8d7c5a7dce0 Author: Matthias Clasen Date: Thu Sep 10 18:46:58 2015 -0400 bitmask: Optimize intersect The functions was written in a way that would possibly resize the mask twice, which is not necessary. gtk/gtkallocatedbitmask.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 3a503b7ba18b52d990c547c7980607ba65957753 Author: Matthias Clasen Date: Wed Sep 9 17:32:47 2015 -0400 widget-factory: Simplify the ui file demos/widget-factory/widget-factory.ui | 1664 ++++++++++++++++---------------- 1 file changed, 832 insertions(+), 832 deletions(-) commit 3b67184f86e07715d4537d7a27d70dbc41e74aea Author: Matthias Clasen Date: Wed Sep 9 17:34:32 2015 -0400 gtk-demo: Simplify ui files demos/gtk-demo/application.ui | 31 +- demos/gtk-demo/demo.ui | 145 ++++--- demos/gtk-demo/filtermodel.ui | 63 ++- demos/gtk-demo/font-features.ui | 848 ++++++++++++---------------------------- demos/gtk-demo/listbox.ui | 237 ++++------- demos/gtk-demo/main.ui | 102 ++--- demos/gtk-demo/modelbutton.ui | 64 ++- demos/gtk-demo/popover.ui | 29 +- demos/gtk-demo/revealer.ui | 38 +- demos/gtk-demo/scale.ui | 62 +-- demos/gtk-demo/spinbutton.ui | 55 ++- demos/gtk-demo/stack.ui | 37 +- demos/gtk-demo/theming.ui | 279 ++++++------- 13 files changed, 709 insertions(+), 1281 deletions(-) commit a53163366017937b82167fd2976a623e612964f0 Author: Matthias Clasen Date: Wed Sep 9 16:50:49 2015 -0400 Run gtk-builder-tool simplify over all templates gtk/gtk-builder-tool.c | 11 +- gtk/ui/gtkaboutdialog.ui | 168 ++++--------- gtk/ui/gtkactionbar.ui | 6 +- gtk/ui/gtkappchooserdialog.ui | 52 ++-- gtk/ui/gtkappchooserwidget.ui | 20 +- gtk/ui/gtkapplication-quartz.ui | 40 ++-- gtk/ui/gtkassistant.ui | 119 +++++----- gtk/ui/gtkcolorchooserdialog.ui | 22 +- gtk/ui/gtkcoloreditor.ui | 68 +++--- gtk/ui/gtkcombobox.ui | 7 +- gtk/ui/gtkdialog.ui | 13 +- gtk/ui/gtkfilechooserbutton.ui | 34 +-- gtk/ui/gtkfilechooserdialog.ui | 5 +- gtk/ui/gtkfilechooserwidget.ui | 180 +++++++------- gtk/ui/gtkfontbutton.ui | 24 +- gtk/ui/gtkfontchooserdialog.ui | 20 +- gtk/ui/gtkfontchooserwidget.ui | 77 +++--- gtk/ui/gtkinfobar.ui | 18 +- gtk/ui/gtklockbutton.ui | 26 +- gtk/ui/gtkmessagedialog.ui | 31 ++- gtk/ui/gtkpagesetupunixdialog.ui | 104 ++++---- gtk/ui/gtkpathbar.ui | 24 +- gtk/ui/gtkplacesview.ui | 175 +++++--------- gtk/ui/gtkplacesviewrow.ui | 41 +--- gtk/ui/gtkprintunixdialog.ui | 488 +++++++++++++++++++------------------- gtk/ui/gtkrecentchooserdefault.ui | 24 +- gtk/ui/gtkscalebutton.ui | 44 ++-- gtk/ui/gtksearchbar.ui | 31 ++- gtk/ui/gtksidebarrow.ui | 20 +- gtk/ui/gtkstatusbar.ui | 13 +- gtk/ui/gtkvolumebutton.ui | 22 +- 31 files changed, 887 insertions(+), 1040 deletions(-) commit 3c247f20eaf61ed69aba6ed529f62ba083dbfc05 Author: Matthias Clasen Date: Wed Sep 9 16:47:02 2015 -0400 gtk-builder-tool: Canonicalize booleans Always write booleans as '0' or '1'. gtk/gtk-builder-tool.c | 113 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 85 insertions(+), 28 deletions(-) commit 4b92f0895a4264b7ca3d03410e95e4791559cffd Author: Matthias Clasen Date: Wed Sep 9 16:52:11 2015 -0400 builder: Minor tweak gtk/gtkbuilder.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit c6a5a12922e99daff27b751d0ad6a0dfe13b8025 Author: Benjamin Otte Date: Sat Sep 12 02:59:38 2015 +0200 widgetpath: Implement using GtkCssNodeDeclaration This removes a bunch of code but more importantly allows providing the declaration in CSS matchers. gtk/gtkcssnodedeclaration.c | 15 ++ gtk/gtkcssnodedeclarationprivate.h | 1 + gtk/gtkwidgetpath.c | 309 +++++++++++-------------------------- 3 files changed, 103 insertions(+), 222 deletions(-) commit 610452dda87e4142114448cef99956fcda93ca2b Author: Benjamin Otte Date: Sat Sep 12 02:58:28 2015 +0200 cssnode: Move clear_classes() into the NodeDeclaration The previous code was crashing when used as the returned classes array would have been invalid after the first deletion. So if a 2nd class would be deleted, invalid memory might have been referenced. gtk/gtkcssnode.c | 10 +++------- gtk/gtkcssnodedeclaration.c | 15 +++++++++++++++ gtk/gtkcssnodedeclarationprivate.h | 1 + 3 files changed, 19 insertions(+), 7 deletions(-) commit 6118893a4ea75d9f94e5e68ed1c8e0ae73442926 Author: Garrett Regier Date: Fri Sep 11 09:46:34 2015 -0700 stylecontext: Fix list_classes() after optimization Otherwise a junk value is returned. gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6d29c1db92ae36582955819ae4d927afc9abd9a0 Author: Garrett Regier Date: Fri Sep 11 09:45:32 2015 -0700 widgetpath: Remove bad function prototypes gtk/gtkwidgetpath.h | 8 -------- 1 file changed, 8 deletions(-) commit f92c861eec59c23ad16c0579b3be8242ab0ef2d7 Author: Benjamin Otte Date: Fri Sep 11 18:33:05 2015 +0200 iconcache: Guard deprecated gdk-pixbuf APIs gtk/gtkiconcachevalidator.c | 2 ++ gtk/updateiconcache.c | 4 ++++ 2 files changed, 6 insertions(+) commit 41b386cd6a84957dd9820083fa594090660c6a5d Author: Garrett Regier Date: Fri Sep 11 17:49:59 2015 +0200 cssnode: Optimize listing of classes Avoid creating the GList of strings when the GQuarks will just be determined again. Instead have gtk_style_context_list_classes() do it specifically. gtk/gtkcssnode.c | 42 ++++++++++++++++++-------------------- gtk/gtkcssnodedeclaration.c | 22 ++++++-------------- gtk/gtkcssnodedeclarationprivate.h | 3 ++- gtk/gtkcssnodeprivate.h | 3 ++- gtk/gtkstylecontext.c | 16 +++++++++++---- gtk/gtkwidget.c | 11 +++++----- gtk/gtkwidgetpath.c | 19 +++++++++-------- gtk/gtkwidgetpath.h | 14 +++++++++++++ 8 files changed, 72 insertions(+), 58 deletions(-) commit 44460cd7207692e73f4374865a34314800ec2856 Author: Garrett Regier Date: Fri Sep 11 16:13:45 2015 +0200 container: Don't add classes twice _gtk_widget_create_path() already adds the style classes. gtk/gtkcontainer.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) commit 4539804086b464fa12adbb76a36c339bc69c9e3b Author: Alberts Muktupāvels Date: Fri Sep 11 12:49:51 2015 +0300 gtkplug.c: remove draw function, not needed Background will be rendered by parent class - GtkWindow. https://bugzilla.gnome.org/show_bug.cgi?id=754854 gtk/gtkplug.c | 15 --------------- 1 file changed, 15 deletions(-) commit 838391e420a0d2bf274e63a590791257ba655cbf Author: Michael Weghorn Date: Thu Aug 13 22:31:28 2015 +0200 Improve printer distinction for option retrieval In order to retrieve the user options for a printer, the respective printer name is used. This fixes the comparison of printer names to avoid that the options of another printer are accidently read whose name starts with the same letters, but is longer (e.g. "myprinterlongername" instead of "myprinter"). This fixes Bug 753628. modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3ffef0ca03993cb6995948183b250c8c59d9944c Author: Jakub Steiner Date: Fri Sep 11 12:39:08 2015 +0200 HighContrast: make sidebar list rows taller sync with Adwaita https://bugzilla.gnome.org/show_bug.cgi?id=754866 gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4993b02da8746c9171540d4f08897c6252a46490 Author: Ross Lagerwall Date: Tue Sep 8 23:12:54 2015 +0100 GtkFileSystem: Add to the list of remote filesystems Add afp and google-drive to the list of remote filesystems. https://bugzilla.gnome.org/show_bug.cgi?id=754746 gtk/gtkfilesystem.c | 2 ++ 1 file changed, 2 insertions(+) commit f90b97cf0e879fcc7e5f4ec0dec3274e0c4b4170 Author: Dušan Kazik Date: Thu Sep 10 16:26:56 2015 +0000 Updated Slovak translation po-properties/sk.po | 1910 +++++++++++++++++++++++++-------------------------- 1 file changed, 943 insertions(+), 967 deletions(-) commit a6982cc76ea0528962ddc76171f01f8073c06c59 Author: Timm Bäder Date: Thu Sep 10 11:47:34 2015 +0200 GtkWidget: Fix typo in #ifdef It's ENABLE, not ENABEL. Also fix the corresponding #endif comments. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3900700479ec0706b3b4f091b726dfbd53eed5f6 Author: Timm Bäder Date: Thu Sep 10 11:34:44 2015 +0200 GtkContainer: Fix paramter name in doc comment gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf0e087527f4fdc1c79649bc75361eb2e7e994f8 Author: Matthias Clasen Date: Wed Sep 9 14:40:36 2015 -0400 Optimize gtk_css_node_declaration_has_class This function is getting called a lot. Statistics for the gtk3-demo listbox example show most calls with 0-4 classes. Unrolling the cases a bit brings the instruction count in callgrind from 93M to 52M. gtk/gtkcssnodedeclaration.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 59797754b47214a1268a20bdda99afbf5d3d93fb Author: Matthias Clasen Date: Wed Sep 9 14:09:21 2015 -0400 More bit manipulation speedups The same trick that was applied to _gtk_css_change_for_child in the previous commit can be applied to _gtk_css_change_for_sibling as well, and that is what this commit does. With both functions converted, gtk_css_change_translate is no longer needed and gets dropped. gtk/gtkcsstypes.c | 56 +++++++++++++++++-------------------------------------- 1 file changed, 17 insertions(+), 39 deletions(-) commit d7dd6eccd500402ac51c2a3d2b8f768acfa75d4a Author: Matthias Clasen Date: Wed Sep 9 14:00:49 2015 -0400 Manipulate bits more efficiently The function to translate GtkCssChange enum values to the PARENT ones is called very frequently. This patch speeds it up tremendously. The callgrind instruction count for this function in the listbox demo goes from 108M to 7M. gtk/gtkcsstypes.c | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) commit a9481cb410c6e2c1b516b282909d04f9ec1d61c4 Author: Matthias Clasen Date: Wed Sep 9 11:08:43 2015 -0400 match_all: Only allocate an array when needed My statistics show that more than half of all calls end up with 0 matches, so we can avoid some overhead by not allocating an array at all in this case. gtk/gtkcssselector.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 2d29ae4159a084262e3aefd79d61987476e54a91 Author: Matthias Clasen Date: Wed Sep 9 10:55:31 2015 -0400 Handle match_all returning NULL This is in preparation for not allocating an array at all if there are no matches. gtk/gtkcssprovider.c | 130 +++++++++++++++++++++++++++------------------------ 1 file changed, 68 insertions(+), 62 deletions(-) commit 117b50f8fb033eb47335abc2743adec71f3d9d41 Author: Matthias Clasen Date: Wed Sep 9 10:46:48 2015 -0400 Optimize gtk_css_selector_match_all We are dealing with really short lists here. 95% are < 10 matches, and the longest I've been able to record was 19. So just do away with the hash table and do sorted insertion in the array directly. gtk/gtkcssselector.c | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) commit dbf85cc4dba2d659c65f18caadad256304a1f5d1 Author: Carlos Garnacho Date: Wed Sep 9 16:05:15 2015 +0200 x11: Declare variable for the inner loop Otherwise the outer loop control variable is messed up, and we end up with uninitialized axes if there were any more valuators after the XIKeyClass one. This bug was sneakily introduced by fdb9a8e14, many thanks to Carlos Soriano for helping spot the source of this bug. https://bugzilla.gnome.org/show_bug.cgi?id=753431 gdk/x11/gdkdevicemanager-xi2.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit f7894a758897afb5f47d0d4b9043b6396e839bda Author: Lapo Calamandrei Date: Tue Sep 8 20:10:51 2015 +0200 Adwaita: special case selection mode lists checks ...otherwise the special selection mode 40x40px checks are used shrinked to 16x16. See https://bugzilla.gnome.org/show_bug.cgi?id=754610 gtk/theme/Adwaita/_common.scss | 18 +++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 30 +++++++++++++++--------------- 3 files changed, 39 insertions(+), 39 deletions(-) commit d52da391835d615c3c7024010db5ade414f55ae2 Author: Matthias Clasen Date: Wed Sep 9 10:20:07 2015 -0400 Update the gtk3-demo man page We have options now ! docs/reference/gtk/gtk3-demo.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 23d7c3d4351c37b1899e26dd2ce08e5346c714e7 Author: Matthias Clasen Date: Wed Sep 9 10:14:17 2015 -0400 gtk-demo:Add a --list option This just shows the available examples and then exists. demos/gtk-demo/main.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit bce8d771a2643d9c8a9a0c4b1343202cf90368fb Author: Matthias Clasen Date: Wed Sep 9 08:07:20 2015 -0400 gtk-demo: Make --autoquit a simple option No real need to specify the amount of delay, just make this a plain boolean. demos/gtk-demo/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 9da0aa5d4071df88568555f303ad440e3230ddde Author: Matthias Clasen Date: Wed Sep 9 00:51:45 2015 -0400 Use G_ENABLE_CONSISTENCY_CHECKS for template finalization checks gtk/gtkwidget.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0e86278fcc30613dab0358aa5d55a09afc5cb722 Author: Matthias Clasen Date: Wed Sep 9 00:38:48 2015 -0400 css selector: Use the quarks we have Unless I'm missing something, there is no reason to go from quarks back to strings to implement hasing or comparison. gtk/gtkcssselector.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit c8072c89ba30ba32325cfc37180f7c5336d5a772 Author: Matthias Clasen Date: Tue Sep 8 23:21:17 2015 -0400 style provider private: Use gtk_internal_return_if_fail gtk/gtkstyleproviderprivate.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 3526b08e01bd5290316d15a60870516c9f3bacc6 Author: Matthias Clasen Date: Tue Sep 8 22:48:44 2015 -0400 Clean up debug features Introduce a GTK_DEBUG_CHECK() macro and use it to check for GTK_DEBUG flags everywhere. Also guard all such places by gtk/gtkbuilder.c | 4 +-- gtk/gtkbuilderparser.c | 2 +- gtk/gtkcssnode.c | 4 ++- gtk/gtkdebug.h | 7 ++++-- gtk/gtkiconcache.c | 5 ++-- gtk/gtkpixelcache.c | 4 +-- gtk/gtkprintjob.c | 5 ++-- gtk/gtkrbtree.c | 60 ++++++++++++++++++++++---------------------- gtk/gtktextbtree.c | 67 ++++++++++++++++++++++++++++++++++---------------- gtk/gtktextiter.c | 2 +- gtk/gtktextview.c | 4 ++- gtk/gtktreestore.c | 7 ++++-- gtk/gtkwidget.c | 8 +++--- 13 files changed, 107 insertions(+), 72 deletions(-) commit 1b15588732f2c4e3c59994a59613d4e5c963e283 Author: Matthias Clasen Date: Tue Sep 8 21:08:20 2015 -0400 widget: Use G_ENABLE_CONSISTENCY_CHECKS for invariants checking The logic here is that G_ENABLE_DEBUG is for compiling out debug spew that can be triggered at runtime with the GTK_DEBUG environment variable, while G_ENABLE_CONSISTENCY_CHECKS is for consistency checks that are applied unconditionally. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bf9a72976fed44d7ffc074896c8e948d975e94b6 Author: Matthias Clasen Date: Tue Sep 8 21:06:38 2015 -0400 size request: Redo the recursion checks Use G_ENABLE_CONSISTENCY checks for the recursion checks in gtksizerequest.c gtk/gtksizerequest.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit f114d9c82405a1a5575e65c0f960b5c2b47b6259 Author: Matthias Clasen Date: Tue Sep 8 21:20:00 2015 -0400 Introduce G_ENABLE_CONSISTENCY_CHECKS Use a separate G_ENABLE_CONSISTENCY_CHECKS define to guard internal consistency checks that are applied unconditionally if they are enabled, such as the widget invariants checking. Interactive debug spew that can be triggered at runtime with the GTK_DEBUG environment variable is still guarded by the G_ENABLE_DEBUG define. The mapping from enable-debug levels to defines is as follows: yes: G_ENABLE_DEBUG G_ENABLE_CONSISTENCY_CHECKS minimum: G_ENABLE_DEBUG G_DISABLE_CAST_CHECKS no: G_DISABLE_CAST_CHECKS G_DISABLE_ASSERT G_DISABLE_CHECKS configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4b53d4b0c4a79ee8668cfbe2480c0a51c55f53b Author: Matthias Clasen Date: Tue Sep 8 20:55:32 2015 -0400 notebook: Drop use of G_DISABLE_CHECKS Rewrite the one check that the G_DISABLE_CHECKS macro was used for in terms of g_return_if_fail. gtk/gtknotebook.c | 87 +++++++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 57 deletions(-) commit ff530ae3219a7188c05d567fdafeb807b244b7a7 Author: Matthias Clasen Date: Tue Sep 8 20:39:52 2015 -0400 Drop an unused warning It has been ifzeroed for many, many years. gtk/gtkwidget.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 6f2fcce4949d5b7122a2eb1968b0b95f36543cf4 Author: Matthias Clasen Date: Tue Sep 8 20:30:22 2015 -0400 Use a getter for widget direction gtk/gtkcontainer.c | 2 +- gtk/gtkwidget.c | 26 +++++++++++++------------- gtk/gtkwidgetprivate.h | 11 +++++++++++ 3 files changed, 25 insertions(+), 14 deletions(-) commit b8e82a1548f99a40f1bce94f3e9bcb65ddaca3f0 Author: Matthias Clasen Date: Tue Sep 8 20:27:50 2015 -0400 settings: Reuse a value We've already gotten the value type, use it. gtk/gtksettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 96d66a11cfe3914883a32fff8941f23f624527b4 Author: Matthias Clasen Date: Tue Sep 8 20:24:29 2015 -0400 builder: Avoid some type-checking overhead gtk/gtkbuilder.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 389ae3e0226533680acf67c6f62d3c3bdee1e4e2 Author: Matthias Clasen Date: Tue Sep 8 19:29:32 2015 -0400 settings: Avoid a redundant check g_value_transform already returns whether it was successful or not, so no need to call g_value_type_transformable beforehand. gdk/x11/gdkscreen-x11.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 17053e1f77511c9ff1da42695c2b71ff9259ef94 Author: Claude Paroz Date: Wed Sep 9 09:21:55 2015 +0200 Updated po-properties French translation po-properties/fr.po | 3326 +++++++++++++++++++++++++++------------------------ 1 file changed, 1760 insertions(+), 1566 deletions(-) commit 50983101d4b721c4ab6ae9c2c76b420a23b8320b Author: Lapo Calamandrei Date: Tue Sep 8 22:12:12 2015 +0200 Adwaita: set -GtkRange-trough-border: 0 for scrollbars which fixes firefox scrollbar not being fittsy when maximixed. 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 eef64df5f2684874eb1eb22a48e637585602b02f Author: Jakub Steiner Date: Tue Sep 8 17:22:10 2015 +0200 HighContrast: remove edge highlight https://bugzilla.gnome.org/show_bug.cgi?id=754551 gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk.css | 2 ++ 2 files changed, 3 insertions(+) commit f7c0fcd074894a3c85e5d65feeefc61827c0ea36 Author: Matthias Clasen Date: Tue Sep 8 08:07:05 2015 -0400 widget path: Use gtk_internal_return_if_fail gtk/gtkwidgetpath.c | 139 ++++++++++++++++++++++++++-------------------------- 1 file changed, 70 insertions(+), 69 deletions(-) commit 38e5a805dc58d82f47541697c2f336b68eed89f8 Author: Matthias Clasen Date: Tue Sep 8 08:06:17 2015 -0400 css style property: Use gtk_internal_return_if_fail gtk/gtkcssstyleproperty.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit e7a266ad95325d7407f1a478fab4749d034606c8 Author: Matthias Clasen Date: Tue Sep 8 06:15:12 2015 -0400 css color: Use gtk_internal_return_if_fail gtk/gtkcsscolorvalue.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 9cd302407f8e86b65534b0226afc83e3eb3fbe02 Author: Matthias Clasen Date: Tue Sep 8 06:14:38 2015 -0400 allocated bitmask: Use gtk_internal_return_if_fail gtk/gtkallocatedbitmask.c | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) commit 0368cbd2569877902a2cdac7053ad3295d088077 Author: Matthias Clasen Date: Tue Sep 8 06:14:07 2015 -0400 window: Use internal more internal getters gtk/gtkwindow.c | 51 +++++++++++++++++++++++---------------------------- 1 file changed, 23 insertions(+), 28 deletions(-) commit 2255400db16788187cfc837ce1eee6a37e91dae6 Author: Matthias Clasen Date: Tue Sep 8 06:13:23 2015 -0400 Trivial cleanup gtk/gtkwidget.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 64573ea9791ac2cf4f107b2461ab04dd47e0ab77 Author: Matthias Clasen Date: Mon Sep 7 21:58:34 2015 -0400 widget: Use g_param_spec_get_name_quark gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0bee97de5c21c61a6392601758bf5d25bd325325 Author: Matthias Clasen Date: Mon Sep 7 18:53:25 2015 -0400 stack: Convert to gtk_container_child_notify_by_pspec gtk/gtkstack.c | 41 +++++++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 18 deletions(-) commit 838d5beff7397c064110a891b0edf245c95bd299 Author: Matthias Clasen Date: Mon Sep 7 18:53:06 2015 -0400 notebook: Convert to g_object_notify_by_pspec gtk/gtknotebook.c | 127 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 65 insertions(+), 62 deletions(-) commit 2580c050d8a9eb167628058cb74c25d015068203 Author: Matthias Clasen Date: Mon Sep 7 18:27:32 2015 -0400 grid: Convert to gtk_container_child_notify_by_pspec For the same reasons as g_object_child_notify_by_pspec. gtk/gtkgrid.c | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) commit 1e4369e8ef0dc7eab9d27990c69de7bbf69ccf4f Author: Matthias Clasen Date: Mon Sep 7 18:27:02 2015 -0400 box: Convert to gtk_container_child_notify_by_pspec For the same reasons as g_object_child_notify_by_pspec. gtk/gtkbox.c | 99 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 52 insertions(+), 47 deletions(-) commit 93f8f12e3933524c86fec4c495017ce13c80b8d1 Author: Matthias Clasen Date: Mon Sep 7 18:10:56 2015 -0400 Add some more child property API Add gtk_container_install_child_properties and gtk_container_child_notify_by_pspec to mirror te corresponding GObject APIs. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkcontainer.c | 199 ++++++++++++++++++++++++++--------- gtk/gtkcontainer.h | 9 ++ 3 files changed, 161 insertions(+), 49 deletions(-) commit e3025f2325ee0193313f3fec655cbfc780609c6a Author: Matthias Clasen Date: Mon Sep 7 15:55:58 2015 -0400 scrolled window: Convert to g_object_notify_by_pspec gtk/gtkscrolledwindow.c | 193 +++++++++++++++++++++++------------------------- 1 file changed, 92 insertions(+), 101 deletions(-) commit 7cb53685cf7dd77614a5f22c235efd414ad4da3c Author: Matthias Clasen Date: Mon Sep 7 15:55:34 2015 -0400 app chooser button: Convert to g_object_notify_by_pspec gtk/gtkappchooserbutton.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit 4785f460d377c8bd277323b43e5a978d7a7c4518 Author: Matthias Clasen Date: Mon Sep 7 15:55:02 2015 -0400 settings: Convert more fully to g_object_notify_by_pspec It turns out that we always have the pspec at hand already. gtk/gtksettings.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 4e8b841fd2815f51d8384a2b472f1374b88c2518 Author: Kjartan Maraas Date: Mon Sep 7 20:41:48 2015 +0200 Updated Norwegian bokmål translation. po/nb.po | 248 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 143 insertions(+), 105 deletions(-) commit 97a29ab8c45413c232ec5244b9c2a1df8e89ce36 Author: Matthias Clasen Date: Mon Sep 7 12:54:16 2015 -0400 builder: Simplify _gtk_builder_boolean_from_string We can do this without calling strlen() or allocating memory. gtk/gtkbuilder.c | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) commit 3d01f29bd9ce1322a0dc6043ba01d9ba9b4ef7ab Author: Matthias Clasen Date: Mon Sep 7 12:43:19 2015 -0400 builder: Move a function Move _gtk_builder_boolean_from_string in the same source file as the other _from_functions. gtk/gtkbuilder.c | 46 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkbuilderparser.c | 46 ---------------------------------------------- 2 files changed, 46 insertions(+), 46 deletions(-) commit 20079a9960778e320a0028316a565fd2cffc3c38 Author: Matthias Clasen Date: Mon Sep 7 12:25:29 2015 -0400 builder: Minor refactoring Keep the GString in PropertyInfo around, instead of throwing it away and just keeping the char*. gtk/gtkbuilder.c | 12 ++++++------ gtk/gtkbuilderparser.c | 5 +---- gtk/gtkbuilderprivate.h | 1 - 3 files changed, 7 insertions(+), 11 deletions(-) commit 15b9feda22279e32578bd1e1c062bb401cc99a5c Author: Matthias Clasen Date: Mon Sep 7 12:23:09 2015 -0400 widget: Add more inline getters Add a getter for state flags, and use it where appropriate. gtk/gtkwidget.c | 6 +++--- gtk/gtkwidgetprivate.h | 6 ++++++ gtk/gtkwindow.c | 28 ++++++++++++++-------------- 3 files changed, 23 insertions(+), 17 deletions(-) commit 9b494df91e2429b202602a8c613d9aa82270011d Author: Matthias Clasen Date: Mon Sep 7 11:34:41 2015 -0400 settings: Avoid one case of g_object_notify We already have the GParamSpec in hands, lets just use it instead of looking it up again. gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7cd7257a079166ae56e719d4f60e027247cda617 Author: Matthias Clasen Date: Mon Sep 7 11:34:08 2015 -0400 Avoid a string copy We have an api to create a quark from a static string, lets use it. gtk/gtkcssstaticstyle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e1ecdd3ef5f766e5e61c485fcb9bc33508c94b54 Author: Benjamin Otte Date: Sun Sep 6 01:13:44 2015 +0200 treeview: Donate a priv variable to gtk_tree_view_init() gtk/gtktreeview.c | 114 +++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 56 deletions(-) commit 4daac59941dc8d4a8f2278a3150d4f350fc73cd6 Author: Benjamin Otte Date: Sat Sep 5 22:36:20 2015 +0200 notebook: Don't needlessly cast in macros That way we disable typechecks done by the compiler and won't notice when we pass the wrong values to the macro. And that's bad. gtk/gtknotebook.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f138efa59add022d92a149cbbd99e10c3795ed32 Author: Benjamin Otte Date: Sat Sep 5 22:34:37 2015 +0200 notebook: Remove unused macros gtk/gtknotebook.c | 4 ---- 1 file changed, 4 deletions(-) commit 9020b5bd17889e1343890d124c52cd07fadf0b5b Author: Benjamin Otte Date: Sat Sep 5 06:46:29 2015 +0200 stylecontext: Remove line that is a no-op Creating the transient node will already copy the widget type. So copying again will not do anything. gtk/gtkstylecontext.c | 1 - 1 file changed, 1 deletion(-) commit c8c666c87c827323a128264ecf1943f8107713f9 Author: Benjamin Otte Date: Mon Sep 7 14:31:26 2015 +0200 bitmask: Fix broken invert_range() implementation The speed-up in 7da1f8a1ce145f48b6299fd8be86a64389ff0b0d was wrong in certain conditions, even though it didn't trigger the existing testsuite. New testcase /bitmask/invert_range_hardcoded included. gtk/gtkallocatedbitmask.c | 18 ++++++------------ testsuite/gtk/bitmask.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 12 deletions(-) commit f5fe1e3a06b6ea9160f9b05aaadd228a813bafb9 Author: Matthias Clasen Date: Mon Sep 7 03:18:04 2015 -0400 Avoid an extra type check in gdk_screen_get_default Just go through the vfunc directly. gdk/gdkdisplaymanager.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0f92a43e106d31eddce63dcdf6519479361fff13 Author: Matthias Clasen Date: Sun Sep 6 19:58:03 2015 -0400 Move GtkWidgetPrivate to gtkwidgetprivate.h This lets us use inlined getters for members in there, avoiding the type checks in the public getters. gtk/gtkbox.c | 44 +++--- gtk/gtkcontainer.c | 58 ++++---- gtk/gtkcsswidgetnode.c | 4 +- gtk/gtkgrid.c | 38 ++--- gtk/gtksizegroup.c | 10 +- gtk/gtksizerequest.c | 2 +- gtk/gtkstylecascade.c | 7 +- gtk/gtkwidget.c | 367 +++++++++++++++++-------------------------------- gtk/gtkwidgetprivate.h | 178 ++++++++++++++++++++++++ gtk/gtkwindow.c | 88 ++++++------ 10 files changed, 426 insertions(+), 370 deletions(-) commit 7da1f8a1ce145f48b6299fd8be86a64389ff0b0d Author: Matthias Clasen Date: Mon Sep 7 01:55:16 2015 -0400 Speed up gtk_allocated_bit_mask_invert_range It was showing up on profiles and has a comment asking for speed. gtk/gtkallocatedbitmask.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit 4dc47c37145509d63482f11a39ec0bab559421c1 Author: Matthias Clasen Date: Sun Sep 6 19:16:43 2015 -0400 Plug a leak A type class reference gotten with g_type_class_ref must be released with g_type_class_unref, or else we leak. gtk/gtkcsswidgetnode.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 32001ec63854bfa0c11e4de319be41b14b2c44d7 Author: Matthias Clasen Date: Sun Sep 6 16:10:48 2015 -0400 menu button: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkmenubutton.c | 104 ++++++++++++++++++++++++++-------------------------- 1 file changed, 52 insertions(+), 52 deletions(-) commit 29b9d48a1f42538d58fe45fc2771049f38f3c835 Author: Matthias Clasen Date: Sun Sep 6 16:10:31 2015 -0400 container: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkcontainer.c | 58 +++++++++++++++++++++++++++++------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) commit 943c75fbecb3476bf29c48b0dbfd615b4c4cc139 Author: Matthias Clasen Date: Sun Sep 6 15:58:00 2015 -0400 frame: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkframe.c | 97 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 49 insertions(+), 48 deletions(-) commit c0d9e3a1ad53c13666ce3d3fcfb7cc14465cba39 Author: Matthias Clasen Date: Sun Sep 6 15:43:01 2015 -0400 menu item: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkmenuitem.c | 84 +++++++++++++++++++++++++++---------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) commit 8ee711bbc90afa3104dc0154cd76db9914bd5021 Author: Matthias Clasen Date: Sun Sep 6 15:38:14 2015 -0400 text buffer: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtktextbuffer.c | 107 ++++++++++++++++++++++++++-------------------------- 1 file changed, 53 insertions(+), 54 deletions(-) commit 65be0f5be92df2d7ee486fc10f758b06a1fded97 Author: Matthias Clasen Date: Sun Sep 6 15:31:37 2015 -0400 text cell renderer: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkcellrenderertext.c | 697 +++++++++++++++++++++------------------------- 1 file changed, 318 insertions(+), 379 deletions(-) commit 14c0ed8bae2b83b4da97f443f188970c3a9a1707 Author: Matthias Clasen Date: Sun Sep 6 15:04:19 2015 -0400 builder: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkbuilder.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit 2e52310d4b0c1871ffe673c6ff42e236ef88c7e6 Author: Matthias Clasen Date: Sun Sep 6 15:02:34 2015 -0400 gdk window: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gdk/gdkwindow.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 4307fff67775e2f86d032a44f30c98ee3e60f097 Author: Matthias Clasen Date: Sun Sep 6 15:01:06 2015 -0400 device: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gdk/gdkdevice.c | 190 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 96 insertions(+), 94 deletions(-) commit c60362ab100af06c60c55a07e77cc91b4b016d20 Author: Matthias Clasen Date: Sun Sep 6 12:35:12 2015 -0400 tree view column: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtktreeviewcolumn.c | 345 +++++++++++++++++++++++------------------------- 1 file changed, 166 insertions(+), 179 deletions(-) commit 3077a7e025dd57071bdddaacd17c0a4d5fb06295 Author: Matthias Clasen Date: Sun Sep 6 10:46:38 2015 -0400 gesture single: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkgesturesingle.c | 57 +++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) commit 89ca0db7c5c17017b1b6e32c0682dd43ecd738a0 Author: Matthias Clasen Date: Sun Sep 6 10:46:15 2015 -0400 event controller: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkeventcontroller.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) commit 143d3c12049ab672fb62010fabba997c77cb5f06 Author: Matthias Clasen Date: Sun Sep 6 10:46:00 2015 -0400 radio button: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkradiobutton.c | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) commit 0e4589d902ee30c77c14dd2e226a568c71e3183a Author: Matthias Clasen Date: Sun Sep 6 10:45:33 2015 -0400 toggle button: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtktogglebutton.c | 57 ++++++++++++++++++++++++++------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) commit 4c376d1a9ce4ee956c72165e0cc98b66e7e1f595 Author: Matthias Clasen Date: Sun Sep 6 10:45:03 2015 -0400 style context: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkstylecontext.c | 71 +++++++++++++++++++++++++++------------------------ 1 file changed, 37 insertions(+), 34 deletions(-) commit 2da31e53b0abaf2d9a23e38d88b9bea1508b74fa Author: Matthias Clasen Date: Sun Sep 6 10:44:30 2015 -0400 treeview: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtktreeview.c | 312 ++++++++++++++++++++++++++---------------------------- 1 file changed, 151 insertions(+), 161 deletions(-) commit dfe1c63c9b92ae64bdd0cac7bf57261363c4ec17 Author: Matthias Clasen Date: Sun Sep 6 10:43:34 2015 -0400 scale: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkscale.c | 75 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 38 insertions(+), 37 deletions(-) commit c3038c2fe146fddb1d75181eb7fb2f3dc60c6c3c Author: Matthias Clasen Date: Sun Sep 6 10:42:50 2015 -0400 range: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkrange.c | 151 +++++++++++++++++++++++++++------------------------------ 1 file changed, 72 insertions(+), 79 deletions(-) commit 661e51a8e24ae00e10873abc044e442fff3ff9c1 Author: Matthias Clasen Date: Sun Sep 6 10:41:43 2015 -0400 header bar: Use g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkheaderbar.c | 141 ++++++++++++++++++++++++++--------------------------- 1 file changed, 68 insertions(+), 73 deletions(-) commit 38901acea3601499b2a5cf4d35fc369d311adf8d Author: Matthias Clasen Date: Sun Sep 6 10:40:46 2015 -0400 image: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkimage.c | 264 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 128 insertions(+), 136 deletions(-) commit 5f458e40024537cbeece27585282965b9a3f7a28 Author: Matthias Clasen Date: Sun Sep 6 10:39:57 2015 -0400 list box: Use g_object_notify_by_pspec everywhere We already have the pspec at hand, so use it. gtk/gtklistbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f4068288e720844455ebefccbd31ad802a155470 Author: Matthias Clasen Date: Sat Sep 5 22:35:22 2015 -0400 entry completion: Convert to g_object_notify_by_pspec This avoid pspec lookup overhead in g_object_notify. gtk/gtkentrycompletion.c | 154 +++++++++++++++++++++++------------------------ 1 file changed, 75 insertions(+), 79 deletions(-) commit e83ccecfabf918d253d98f0a2907400bc420cc65 Author: Matthias Clasen Date: Sat Sep 5 22:34:51 2015 -0400 entry buffer: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkentrybuffer.c | 54 +++++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 26 deletions(-) commit dbd5513276fab6c7d19b7b0bb51441d7c7ff0ef7 Author: Matthias Clasen Date: Sat Sep 5 22:34:13 2015 -0400 entry: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkentry.c | 976 +++++++++++++++++++++++++++------------------------------ 1 file changed, 470 insertions(+), 506 deletions(-) commit 0585780de1d4321409243478f02f265d34194931 Author: Matthias Clasen Date: Sat Sep 5 10:44:27 2015 -0400 application: Convert to g_object_notify_by_pspec This avoid pspec lookup overhead in g_object_notify. gtk/gtkapplication.c | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit bfe141c01185d5f1e9532473a8e3725281b87feb Author: Matthias Clasen Date: Sat Sep 5 03:59:28 2015 -0400 progressbar: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkprogressbar.c | 111 ++++++++++++++++++++++++++------------------------- 1 file changed, 56 insertions(+), 55 deletions(-) commit 97b8c2c0aab15dc6476b2a66f8a05b2ea1f6e379 Author: Matthias Clasen Date: Sat Sep 5 03:58:50 2015 -0400 label: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtklabel.c | 427 +++++++++++++++++++++++++++------------------------------ 1 file changed, 205 insertions(+), 222 deletions(-) commit fbc00120222c3d0b048432cd99c06d936bad1d53 Author: Matthias Clasen Date: Sat Sep 5 03:58:15 2015 -0400 adjustment: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkadjustment.c | 105 ++++++++++++++++++++++++---------------------------- 1 file changed, 49 insertions(+), 56 deletions(-) commit 3906d21f2f99570850a82ea741fb3b292bb17b31 Author: Matthias Clasen Date: Sat Sep 5 02:16:58 2015 -0400 widget: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkwidget.c | 693 +++++++++++++++++++++++++++----------------------------- 1 file changed, 332 insertions(+), 361 deletions(-) commit f3d92735ac6dd0bba1a310629378fe0958aeb4e3 Author: Matthias Clasen Date: Sat Sep 5 01:27:52 2015 -0400 window: Convert to g_object_notify_by_pspec This avoids pspec lookup overhead in g_object_notify. gtk/gtkwindow.c | 578 ++++++++++++++++++++++++++------------------------------ 1 file changed, 272 insertions(+), 306 deletions(-) commit 4e56dfad0e33187d019c44ecfb5e7e99cf2da535 Author: Matthias Clasen Date: Sun Sep 6 13:16:26 2015 -0400 tool button: Use G_DEFINE_TYPE No need to do this manually. gtk/gtktoolbutton.c | 69 ++++++++++++----------------------------------------- 1 file changed, 15 insertions(+), 54 deletions(-) commit 9ebebd48b00092446cdbeee03b49f149725c9868 Author: Matthias Clasen Date: Sun Sep 6 13:15:38 2015 -0400 print backend: Remove an unneeded variable The G_DEFINE_TYPE macros automate the parent_class handling. gtk/gtkprintbackend.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit d92a02f7a40c83417a32d91aba7c0e2033246099 Author: Matthias Clasen Date: Sun Sep 6 13:14:55 2015 -0400 im module: Remvoe an unneeded variable The G_DEFINE_TYPE macros automate the parent_class handling. gtk/gtkimmodule.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit fd682a58de2ab07600c4007ac063e0ee635f814d Author: Matthias Clasen Date: Sun Sep 6 13:14:40 2015 -0400 toggle action: Remove an unused variable gtk/deprecated/gtktoggleaction.c | 2 -- 1 file changed, 2 deletions(-) commit 60c1dbd3589816d462f699d256482951378482d8 Author: Matthias Clasen Date: Sun Sep 6 13:14:01 2015 -0400 gdk window: Remove an unneeded variable The G_DEFINE_TYPE macros automate the parent_class handling. gdk/gdkwindow.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit e559a310c6cd45fe14ff78a7115da50aac644d50 Author: Matthias Clasen Date: Sat Sep 5 22:36:00 2015 -0400 gtk-demo: Add a way to launch individual demos Add a --run option which takes the name of an example and launches it. Also add a --autoquit option which can be used to quit after a given number of seconds. demos/gtk-demo/main.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) commit 9cd7f97d03ac53d71ab08d8e17bffc48151eea35 Author: Changwoo Ryu Date: Sun Sep 6 03:59:39 2015 +0900 Updated Korean translation po-properties/ko.po | 2939 +++++++++++++++++++++++++++------------------------ po/ko.po | 1490 ++++++++++++++++---------- 2 files changed, 2516 insertions(+), 1913 deletions(-) commit 4ba211692215b008663e27f2404ffded2cea4bb3 Author: Baurzhan Muftakhidinov Date: Sat Sep 5 05:56:51 2015 +0000 Updated Kazakh translation po/kk.po | 4437 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 2420 insertions(+), 2017 deletions(-) commit 8aefba3adadd342b38196fb575ca328b041f4e28 Author: Baurzhan Muftakhidinov Date: Sat Sep 5 05:54:29 2015 +0000 Updated Kazakh translation po-properties/kk.po | 3043 +++++++++++++++++++++++++++------------------------ 1 file changed, 1619 insertions(+), 1424 deletions(-) commit 27e3059a324ea1e18e871dbaa0278b1f91a91b9e Author: Matthias Clasen Date: Fri Sep 4 23:28:24 2015 -0400 wayland: Remove an overeager assert If we are using gl for drawing, we don't have a shm surface, so don't assert that we do. Instead, only call shm-specific apis when they make sense. This fixes a crash when showing popovers over a GtkGLArea, as seen in gdkgears. https://bugzilla.gnome.org/show_bug.cgi?id=754143 gdk/wayland/gdkwindow-wayland.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 89063cf21c792c90259627149a4f7cf2aaa71eef Author: Tom Tryfonidis Date: Fri Sep 4 22:33:35 2015 +0000 Updated Greek translation po-properties/el.po | 459 ++++++++++++++++++++++++++-------------------------- 1 file changed, 230 insertions(+), 229 deletions(-) commit 63cefa199aa8f0d094b1cd541265e7fab9c68f2f Author: Benjamin Otte Date: Thu Sep 3 15:59:57 2015 +0200 popover: Don't inherit style from parent Instead, inherit style from toplevel (because that's the default way, not because it makes lots of sense). This way, popovers don't inherit the styling from the widget that popped them up, which is a problem in selected listbox rows, selection-mode headerbars. It also doesn't inherit styling where we might want it, like the osd. But we can only have one of the two things. gtk/gtkpopover.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 5b7bed68a90ed15c2f2c255d7b10108322775575 Author: Jakub Steiner Date: Thu Sep 3 12:12:01 2015 +0200 HighContrast: make linked entries align - reshuffled the stylesheet to easily allow having a thicker border, but decided to keep the 1px borders on entries as it makes easier to spot the buttons despite being flat. https://bugzilla.gnome.org/show_bug.cgi?id=753129 gtk/theme/HighContrast/_common.scss | 3 +- gtk/theme/HighContrast/_drawing.scss | 1 - gtk/theme/HighContrast/gtk.css | 617 +++++++++++++++++------------------ 3 files changed, 299 insertions(+), 322 deletions(-) commit 7a676cdc14ae854f8fd6817bdaa99ae88df56973 Author: Rafal Luzynski Date: Fri Sep 4 11:21:08 2015 +0200 flow box: Fix bad children allocation with RTL locales If the position of the children is always relative to the box then we should not take the allocation of the box into account when flipping the children for RTL text direction. This patch also removes unused assignments to child_allocation. https://bugzilla.gnome.org/show_bug.cgi?id=754559 gtk/gtkflowbox.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 6457ee59be68d22ebefac08e3dd0c58d6bf2ddbf Author: Matthias Clasen Date: Fri Sep 4 02:11:41 2015 -0400 text view: Drop an unused variable gtk/gtktextview.c | 2 -- 1 file changed, 2 deletions(-) commit 9f6f4b2004841f5b7f170fbb94ba9e02baa20931 Author: Matthias Clasen Date: Fri Sep 4 02:09:43 2015 -0400 path bar: Don't use prerendered surfaces The current icon handling did not update icons for widget state changes, causing black-on-black icons in HighContrast. Instead, use the GIcon. https://bugzilla.gnome.org/show_bug.cgi?id=753397 gtk/gtkpathbar.c | 90 ++++++++++++++++---------------------------------------- 1 file changed, 25 insertions(+), 65 deletions(-) commit 55d68726160a3106ad428266bdad624547e53469 Author: Matthias Clasen Date: Fri Sep 4 02:08:59 2015 -0400 file system: Add an api to get a GIcon Using prerendered surfaces is not working well when it comes to state changes, so make the GIcon available. gtk/gtkfilesystem.c | 31 +++++++++++++++++-------------- gtk/gtkfilesystem.h | 1 + 2 files changed, 18 insertions(+), 14 deletions(-) commit 1dc4eea096a48b4137a89fc56ba65ca19d6e481f Author: Matthias Clasen Date: Thu Sep 3 13:52:09 2015 -0400 text view: Improve cursor hiding logic Same as we did for the entry in the previous commit. Previously, we just hid the cursor if a key event was adding text, but not when you used backspace, or Ctrl-V. Rearrange things so that we obscure the cursor whenever the buffer contents change while we are handling key events. https://bugzilla.gnome.org/show_bug.cgi?id=754535 gtk/gtktextview.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 587afb5b1c51f68eb49b630f0addbaf1d569f23e Author: Matthias Clasen Date: Thu Sep 3 13:16:02 2015 -0400 entry: Improve cursor hiding logic Previously, we just hid the cursor if a key event was adding text, but not when you used backspace, or Ctrl-V. Rearrange things so that we obscure the cursor whenever the buffer contents change while we are handling key events. https://bugzilla.gnome.org/show_bug.cgi?id=754535 gtk/gtkentry.c | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) commit 57894ec55b85bed7acbc669963b9c5416af9bb37 Author: Lapo Calamandrei Date: Thu Sep 3 16:46:36 2015 +0200 HC: fix pathbar paddings. See https://bugzilla.gnome.org/show_bug.cgi?id=753397 for details. gtk/theme/HighContrast/_common.scss | 21 ++ gtk/theme/HighContrast/gtk.css | 612 +++++++++++++++++++----------------- 2 files changed, 338 insertions(+), 295 deletions(-) commit 1405bcb32d4e63e5f641eb8f54bafec2581520e0 Author: Timm Bäder Date: Tue Sep 1 10:41:42 2015 +0200 GtkListBox: Allow a NULL callback in bind_model When unsetting the bound model, one can pass NULL, but in that case the create_func parameter should also be NULL. gtk/gtklistbox.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit bd35b17083af8fac8c5ce88fa25c2923e87d930f Author: Aurimas Černius Date: Wed Sep 2 21:23:14 2015 +0300 Updated Lithuanian translation po-properties/lt.po | 232 ++++++++++++++++++++++------------------------------ po/lt.po | 194 ++++++++++++++++++++++++------------------- 2 files changed, 210 insertions(+), 216 deletions(-) commit 1cd9d8a4749372547e6588be08b4a13a7ce2a74f Author: Lapo Calamandrei Date: Wed Sep 2 19:35:35 2015 +0200 Adwaita: fix documents and the like rubberband. gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit b931852e1bda02bbb502a7f29176251b631220cd Author: Lapo Calamandrei Date: Wed Sep 2 17:23:22 2015 +0200 Adwaita: add .content-view:hover styling. Just to make thumbs in various app hilight on hover. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 5 insertions(+), 1 deletion(-) commit 0ef8ff7c3d4e491c7df351bd36e35b3a7dccd472 Author: Matthias Clasen Date: Wed Sep 2 01:04:08 2015 -0400 3.17.8 NEWS | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 66 insertions(+), 1 deletion(-) commit 42864bc3381b7ff0db6c44020d1fc9fc9dd48860 Author: Matthias Clasen Date: Wed Sep 2 01:52:09 2015 -0400 Avoid some duplicate test names GLib considers these an bug now. testsuite/gtk/check-icon-names.c | 2 -- 1 file changed, 2 deletions(-) commit 6064ed5181087387cf325dcfcd977d18fb3ce3a7 Author: Matthias Clasen Date: Wed Sep 2 01:50:51 2015 -0400 places view: Avoid a crash in finalize When the places view is finalized before the network loading is finished, the async operation is cancelled, and the callback accesses the places view while it is already in a state of disrepair. Avoid that access. gtk/gtkplacesview.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 6a4e4a9fe8ffb4b4acfbbb4d382278a5a22fdfb0 Author: Matthias Clasen Date: Wed Sep 2 01:28:57 2015 -0400 places view: Spew less warnings When running the testsuite with a local gvfs, we get a 'not supported' error here, and the g_warning makes the test fail. Avoid that. gtk/gtkplacesview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b4da542980730ffa4c7246b43b6efc41ef6df10e Author: Lapo Calamandrei Date: Wed Sep 2 12:05:22 2015 +0200 Adwaita: sync sidebar color vars. gtk/theme/Adwaita/_colors.scss | 4 ++-- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) commit 4d31b2ca0de8a8e10396b031e3c0a3c6b9948a68 Author: Lapo Calamandrei Date: Wed Sep 2 11:01:08 2015 +0200 Adwaita: scales on selected list rows. gtk/theme/Adwaita/_common.scss | 18 ++++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 31 +++++++++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 31 +++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) commit d682aed55088a49e590b5e0e3fdb6ebb0d044d07 Author: Jonas Ådahl Date: Thu Aug 27 14:59:45 2015 +0800 wayland: Don't broadcast selection owner changes When receiving a selection or when a drag icon enter a window, it was targeted at a specific window. Lets emit the GDK_OWNER_CHANGE event only for this window, instead of broadcasting. Broadcasting has some nasty side effects. For example, if there was n GdkWindows, and one would for every "owner-change" signal handler receive n signals about the owner being changed. An example of where this went a bit out of hand was gnome-terminal, which added one listener per terminal window. This meant that if one had m number of terminal windows, each time any one would loose or gain keyboard focus, O(m^2) owner-change events would be emitted. https://bugzilla.gnome.org/show_bug.cgi?id=754158 gdk/wayland/gdkdevice-wayland.c | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) commit 9ad6ac0b4330b3d8fd3da101b594210464a9f942 Author: Sebastien Lafargue Date: Sat Aug 29 10:49:07 2015 +0200 GtkTextView: various scroll fixes The purpose of this patch is to fix regressions in GtkTextView scroll behaviours due to commit d138156. ( addition of padding and margins to the view ) Adding some padding is done by, for example, in inspector css tab with: GtkTextView { padding: 10px 10px 10px 10px; } and adding margins, by changing one of *-margin properties ( * standing for left/right/top/bottom ) or the corresponding accessor functions. Understand that none of these bugs are easy to trigger. What's happened is that a old and wrong version of the code of the code ( lost in the mean time ) was pushed. These bugs are best seen with wrap mode set to off. The commit 8baab8f fix a first regression. This one is about: - Cursor going out of the view at line ends instead of being visible or triggering the horizontal scroll. - Padding not displayed correctly when moving cursor at beginning/end of lines - When horizontal scroll position not at left, cursor can make scroll by more than one character (you need left padding to see this ) - Moving the cursor arround, the rendered text can be shitted in x or y. ( fixed by converting adjustment float values to integer before calculations ) It can be observed by going down with the cursor more than the view height then going up - retval return value of _gtk_text_view_scroll_to_iter wrong in some cases In addition, this patch re-factor priv->top_border in screen_dest.y calculation Of course, all GtkTextView and GtkSourceView based app were impacted by these bugs ( gedit for example, see bug 754147 ) https://bugzilla.gnome.org/show_bug.cgi?id=753815 https://bugzilla.gnome.org/show_bug.cgi?id=75815 gtk/gtktextview.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 90bcde5951c90f27e0b362d4689e1c2afdc0860c Author: Matthias Clasen Date: Tue Sep 1 22:05:46 2015 -0400 places sidebar: Disable 'Open' for selected rows If the row is selected, it is already opened, so we should not offer the Open action anymore. https://bugzilla.gnome.org/show_bug.cgi?id=754410 gtk/gtkplacessidebar.c | 2 ++ 1 file changed, 2 insertions(+) commit 06488adc9a91ad222a8e370198b53f78d1498b99 Author: Emmanuele Bassi Date: Tue Sep 1 23:46:40 2015 +0100 docs: Fix GtkSettings property stanzas Otherwise gtk-button-images and gtk-menu-images will not be recognised as properties. https://bugzilla.gnome.org/show_bug.cgi?id=754421 gtk/gtksettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 573efb7b882f1aa638267183a39c196efda24623 Author: Muhammet Kara Date: Tue Sep 1 17:33:01 2015 +0000 Updated Turkish translation po/tr.po | 3854 ++++++++++++++------------------------------------------------ 1 file changed, 823 insertions(+), 3031 deletions(-) commit a9fd764b7706acc24fa07bb474444f37e6f6537c Author: Lapo Calamandrei Date: Tue Sep 1 18:52:20 2015 +0200 Adwaita: use currentColor for scale marks. So it should work ok when used in selected items. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) commit 30ac073dd4e8ed1867b6a38ccb4e36bd7c31d978 Author: Lapo Calamandrei Date: Tue Sep 1 18:43:48 2015 +0200 Adwaita: contemplate selected insensitive items. gtk/theme/Adwaita/_common.scss | 12 +++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 6 ++++++ 3 files changed, 23 insertions(+), 1 deletion(-) commit c92c25b5d75368038ea29bdc25468d981d197a3d Author: Lapo Calamandrei Date: Tue Sep 1 18:14:45 2015 +0200 Adwaita: fix GtkPlacesSidebar styling. gtk/theme/Adwaita/_common.scss | 25 +++++++++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 17 +++++------------ gtk/theme/Adwaita/gtk-contained.css | 17 +++++------------ 3 files changed, 19 insertions(+), 40 deletions(-) commit 71c64aa677756339aa7950adaee10c89e3beb937 Author: Lapo Calamandrei Date: Tue Sep 1 16:03:02 2015 +0200 Adwaita: remove unneded background from list-row gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit cca97c5b0f6ab1573b8237023e216e78c7ab0966 Author: Lapo Calamandrei Date: Tue Sep 1 15:47:53 2015 +0200 Adwaita: remove bogus box-shadow in GtkComboBox gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - 3 files changed, 4 deletions(-) commit 528c576590eacddf9cacb083b06f09fab5f5469f Author: Carlos Soriano Date: Tue Sep 1 14:27:58 2015 +0200 gtkplacessidebar: add sidebar row style So designers can style it at their will. gtk/ui/gtksidebarrow.ui | 3 +++ 1 file changed, 3 insertions(+) commit b8f4e943fe5368a708e3caa45ae95daa4862d499 Author: Lapo Calamandrei Date: Tue Sep 1 13:30:07 2015 +0200 Adwaita: remove bogus @at-root from sidebar styling. See https://bugzilla.gnome.org/show_bug.cgi?id=754292 for details. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 556 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 480 +++++++++++++------------- 3 files changed, 519 insertions(+), 519 deletions(-) commit 9fa1d6dd02d8e0d0682a2d212fa180e993eb8b3a Author: Andika Triwidada Date: Tue Sep 1 09:05:07 2015 +0000 Updated Indonesian translation po-properties/id.po | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) commit 0760261f9a421989423b1361697277c460214638 Author: Dušan Kazik Date: Tue Sep 1 08:50:45 2015 +0000 Updated Slovak translation po-properties/sk.po | 83 ++++++++++++++++++++++++++--------------------------- 1 file changed, 40 insertions(+), 43 deletions(-) commit c21a16e2bc57c4ee79b06eac3237a29098b2dabb Author: Jakub Steiner Date: Mon Aug 31 13:59:12 2015 +0200 Adwaita: make focus visible in GtkColorSwatch - use the same fg color as the selection icon - both dark & light to use the same opacity 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 e50c37c8a3e7eebdf0bb5cc7b2cd2d2e181aae49 Author: Matthias Clasen Date: Tue Sep 1 01:04:53 2015 -0400 Revert "GtkTextView: various scroll fixes" This reverts commit 016f6596e76a69844d2832cba07e10d9b60a2b28. Pushed prematurely by accident. gtk/gtktextview.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit b3a3e91f024785b36247ede0c524520e1f9242c7 Author: Matthias Clasen Date: Tue Sep 1 01:00:46 2015 -0400 file chooser: Make sure places view type is known Similar to how we handle GtkPathBar, make sure that the type for GtkPlacesView is registered before we load the template. https://bugzilla.gnome.org//show_bug.cgi?id=754133 gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 48ecad844e81585f4b7f3a64e8c8b724eee82142 Author: Matthias Clasen Date: Tue Sep 1 00:59:27 2015 -0400 glade: Add some more private widget types Add GtkColorEditor and GtkPlacesView to this list, on the assumption that all private widgets should be listed here. gtk/gtkgladecatalog.c | 4 ++++ 1 file changed, 4 insertions(+) commit 016f6596e76a69844d2832cba07e10d9b60a2b28 Author: Sebastien Lafargue Date: Sat Aug 29 10:49:07 2015 +0200 GtkTextView: various scroll fixes Due to the introduction of view's margin and padding, some bugs in scrolling behaviour have come. This commit fix them. https://bugzilla.gnome.org/show_bug.cgi?id=753815 gtk/gtktextview.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 2aaba34f8a7c11797874c9a8f0a4faab6d32e5eb Author: Balázs Úr Date: Mon Aug 31 17:03:40 2015 +0000 Updated Hungarian translation po-properties/hu.po | 77 +++++++++++++++++++++++------------------------------ 1 file changed, 33 insertions(+), 44 deletions(-) commit db41f2c62cebfadf827ff42895ba7a53c6d60022 Author: Balázs Úr Date: Mon Aug 31 16:56:05 2015 +0000 Updated Hungarian translation po/hu.po | 89 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 44 insertions(+), 45 deletions(-) commit b7ad7ea91835bc13be1f0a2656e4029c08e8b74a Author: Matthias Clasen Date: Mon Aug 31 11:31:24 2015 -0400 Fix the build gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 9326f1a57c52cc991b5756d1811155a25fe6623c Author: Matthias Clasen Date: Mon Aug 31 11:08:25 2015 -0400 Turn off inspector keybindings by default This is a 'developer mode' feature, and it can and does interfere with preexisting key bindings in some applications, so keep it off by default in stable releases, at least. http://bugzilla.gnome.org/show_bug.cgi?id=754115 gtk/org.gtk.Settings.Debug.gschema.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 690a11b5b8a4d97b844cdbd82891e6c18a20f802 Author: Matthias Clasen Date: Mon Aug 31 11:04:10 2015 -0400 wayland: Stop key repeat on focus out This should address the occasional 'key repeat gone wild' issue that some people have been seeing in gnome-terminal under Wayland. http://bugzilla.gnome.org/show_bug.cgi?id=747684 gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 77b506e22af93409903ac145ecaa6794747dde8c Author: Matthias Clasen Date: Mon Aug 31 11:02:51 2015 -0400 wayland: Stop key repeat when a seat goes away Seems unlikely, but it is the right thing to do. gdk/wayland/gdkdevice-wayland.c | 1 + 1 file changed, 1 insertion(+) commit cfeed32c4e0471e9c11a4f5a68c8a0844e471c6d Author: Matthias Clasen Date: Mon Aug 31 10:54:07 2015 -0400 wayland: Trivial refactor Break out a stop_key_repeat function instead of open-coding this in several places. gdk/wayland/gdkdevice-wayland.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 04f3b52c387aa7b88defbeede455f7ec7a4fab39 Author: Christian Hergert Date: Mon Aug 31 05:18:09 2015 -0700 textview: handle NULL cursors gracefully Under some cases, we can get NULL back for the cursor. Simply use g_clear_object() to handle that case gracefully. gtk/gtktextview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5dff95c981dafd734e48168fd92e30a7bfc9348e Author: Daniel Mustieles Date: Mon Aug 31 11:07:24 2015 +0200 Updated Spanish translation po-properties/es.po | 121 ++++++++++++++++++++++++++-------------------------- 1 file changed, 61 insertions(+), 60 deletions(-) commit 86aa1cb220c49a3a2269d601745ee11a94b72f8e Author: Daniel Mustieles Date: Mon Aug 31 11:06:47 2015 +0200 Updated Spanish translation po/es.po | 101 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 43 deletions(-) commit 4d307db13c52f5e7802b967267feb12a73bc3102 Author: Jakub Steiner Date: Mon Aug 31 10:47:01 2015 +0200 Adwaita: rerender css - fixes previous commit - for some reason sass won't overwrite a confliced css gtk/theme/Adwaita/gtk-contained-dark.css | 579 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 513 ++++++++++++--------------- 2 files changed, 498 insertions(+), 594 deletions(-) commit c5d195ccfea1af22e59d237f3e4e453a830b00de Author: Jakub Steiner Date: Thu Aug 27 16:25:46 2015 +0200 Adwaita, HighContrast: day names in GtkCalendar Ideally I'd like to mimic the treeview column-header style, but font-weight: bold; doesn't seem to work. Making them plain for now. https://bugzilla.gnome.org/show_bug.cgi?id=753357 gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++++++++++++-- gtk/theme/Adwaita/gtk-contained.css | 57 ++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 4 ++- 3 files changed, 101 insertions(+), 3 deletions(-) commit ed168197abe4fc39fabddcb18acf23f8a9c048c5 Author: Kalev Lember Date: Sun Aug 30 21:12:35 2015 +0200 Adwaita: Fix a few typos in README gtk/theme/Adwaita/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 17411d348e53f49b3c5fc655157031f5069efd0f Author: Piotr Drąg Date: Sun Aug 30 15:33:27 2015 +0200 Updated Polish translation po-properties/pl.po | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) commit 3cc2c9a7cabc1906c913c3ed11015cfd7054760f Author: Pedro Albuquerque Date: Sun Aug 30 10:00:44 2015 +0000 Updated Portuguese translation po-properties/pt.po | 125 +++++++++++++++++++++++++--------------------------- 1 file changed, 61 insertions(+), 64 deletions(-) commit a8892b0be61d4ee0db5d6853258a314a1a34d61c Author: Yosef Or Boczko Date: Sun Aug 30 11:09:16 2015 +0300 Updated Hebrew translation po-properties/he.po | 1425 +++++++++++++++++++++++++++------------------------ 1 file changed, 752 insertions(+), 673 deletions(-) commit 3cdf8fda37c1e6a8ea5a97ac2ff4860c73ceb551 Author: Carlos Soriano Date: Sat Aug 29 23:32:23 2015 +0200 gtkplacesview: don't warn for cancelled operations This was intended to filter out cancelled operations, not the other way around. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d93db7e68d8e00c5815d3717c5ec628cd315717 Author: Carlos Soriano Date: Sat Aug 29 22:57:15 2015 +0200 gtkplacesview: make consistent loading state Until now the code was not very clear about why the loading property is needed, since we didn't forced all the async operations to mark the view as loading. This cause that clients are not aware when the view is busy on those situations. For instance Nautilus uses the property for a few things, one of it is to show a busy spinner on the tab title. To improve the situation, mark as loading when a volume operation, a mount operation or a connect to server operation is being performed. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 72 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 13 deletions(-) commit 150bb6245c30c8d452f4f06b27fdf7222c0e0dad Author: Carlos Soriano Date: Sat Aug 29 21:16:34 2015 +0200 gtkplacesview: don't fetch networks if local only We were fetching networks even on local only mode. Avoid to do extra work if not necessary. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9fe9b784974a83aa442ff84b3efb37864b8bc4c5 Author: Carlos Soriano Date: Sat Aug 29 21:10:37 2015 +0200 gtkplacesview: dont invalidate headers if not necessary We were invalidating the headers after adding the placeholder row, but GtkListBox already update the header of that row in that case. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 3 --- 1 file changed, 3 deletions(-) commit 03cd8e95584e64b28e56fa2ea4bc7f27c786deed Author: Carlos Soriano Date: Sat Aug 29 20:36:48 2015 +0200 gtkplacesview: don't rely on widgets on headers We are showing a GtkSpinner on the networks header to provide feedback to the user if we are fetching networks, therefore we have to modify the spinner state when doing it. However GtkListBox doesn't give guarantees about the widgets set by gtk_list_box_set_header, and we could access an invalid widget. To avoid to access invalid widgets, bind the fetching networks view property to the networks header spinner active property instead of modifying directly the spinner in the private structure. Not having the spinner in the private structure also makes the code cleaner. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 72 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 13 deletions(-) commit bdb17a089066fbd8af47b74c28c4df07f6980377 Author: Carlos Soriano Date: Sat Aug 29 20:35:10 2015 +0200 gtkplacesview: create placeholder before fetching networks If not we don't show the header at all. This was an accidental removal before commiting. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 1 + 1 file changed, 1 insertion(+) commit a427f1e82e1db8c56c1d198ffbd89a2953e08534 Author: Carlos Soriano Date: Thu Aug 27 20:58:27 2015 +0200 gtkplacesview: only filter out placeholder if searching We were filtering out placeholders if the list box filters while not searching, which is not what we want, since placeholders should only be hidden if the view is searching. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit e713faaf06397369d0807eacb3bf0e8abf181b21 Author: Dušan Kazik Date: Sun Aug 30 06:51:51 2015 +0000 Updated Slovak translation po-properties/sk.po | 102 ++++++++++++++++------------------------------------ 1 file changed, 31 insertions(+), 71 deletions(-) commit a662c0224b5613a8cd2cb766a5c7ba6a6f23465a Author: Andika Triwidada Date: Sun Aug 30 04:35:32 2015 +0000 Updated Indonesian translation po/id.po | 4503 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2531 insertions(+), 1972 deletions(-) commit 09567d19a73b7992f702605790d7dc43139650e9 Author: Matthias Clasen Date: Sat Aug 29 12:48:21 2015 -0400 gtk-demo: Change an accel The application demo had a "Blue" and a "Bold" menuitem both with the Ctrl-B accel. This is confusing, since only one of them works. Change the accelerator for bold to Ctrl-Shift-B, so they both work. demos/gtk-demo/menus.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b371fb09fb3034d3ca25c4eaba10e0b861478773 Author: Matthias Clasen Date: Sat Aug 29 12:23:18 2015 -0400 accel group: Make gtk_accelerator_get_default_mod_mask more lenient Make this function harmless to call without an open display connection. This happens during gobject introspection, which instantiates GTK+ types without calling gtk_init. gtk/gtkaccelgroup.c | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) commit e6b3805c27358065ced83b3c93f67ac66dd3203a Author: Dušan Kazik Date: Sat Aug 29 15:42:29 2015 +0000 Updated Slovak translation po-properties/sk.po | 268 ++++++++++++++++++++-------------------------------- 1 file changed, 102 insertions(+), 166 deletions(-) commit b8f103bfaacd1c20e9786633c7b670ff317bce5e Author: Emmanuele Bassi Date: Sat Aug 29 14:17:37 2015 +0100 build: Do not call gtk_init() It needs to open a display connection, which is obviously going to fail miserably on any headless build machine. Instead, we need to find where we started requiring to initialize GTK when calling a get_type() function, and stop doing that. This commit and commit 15cc85db295b3d54f85c541b3c82d7b703c851c8 fully revert commit 6838861d26bfec9af53438022bd1f5b60bab3bf4. gtk/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 15cc85db295b3d54f85c541b3c82d7b703c851c8 Author: Emmanuele Bassi Date: Sat Aug 29 13:35:43 2015 +0100 build: Do not force inclusion of gtk.h GCC will not do the right thing, and it will just break the build when trying to include gtk.h first. We'll have to live with the warning from the compiler about a missing gtk_init() — though it would be better not to have to init GTK at all to generate the introspection data. This commit unbreaks the build in GNOME Continuous introduced by commit 6838861d26bfec9af53438022bd1f5b60bab3bf4. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 281e5aa45ed7b911e7b4e70a6aea8f32279a233e Author: Dušan Kazik Date: Sat Aug 29 09:00:31 2015 +0000 Updated Slovak translation po/sk.po | 71 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 28 deletions(-) commit e8c5bc8d7346a8d003fb3b763fc32340588e1098 Author: Matthias Clasen Date: Sat Aug 29 03:12:59 2015 -0400 accel label: Remove unneeded spaces Having these extra spaces in the accel string is a bit awkward, since they will be included in text decorations such as underlines. Removing them has no visible effect. gtk/gtkaccellabel.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 6838861d26bfec9af53438022bd1f5b60bab3bf4 Author: Matthias Clasen Date: Sat Aug 29 03:11:01 2015 -0400 Fix introspection Calling our get_type functions without prior gtk_init() is not ok, and causes warnings now. Avoid that by teaching g-ir-scanner to put a gtk_init() call into its generated code. gtk/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f44358b76a362db5230e21946afe3bac618acdfb Author: Matthias Clasen Date: Sat Aug 29 00:47:32 2015 -0400 accel label: Allow a different font for the accelerator We were using the .accelerator style for rendering the accel string, but we need to explicitly set the font from this style for it to apply. gtk/gtkaccellabel.c | 51 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 42 insertions(+), 9 deletions(-) commit ecc5abfe3b6dc8be9abbc9b9f9b985d19be20d29 Author: Jakub Steiner Date: Thu Aug 27 16:25:46 2015 +0200 Adwaita, HighContrast: day names in GtkCalendar Ideally I'd like to mimic the treeview column-header style, but font-weight: bold; doesn't seem to work. Making them plain for now. https://bugzilla.gnome.org/show_bug.cgi?id=753357 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/HighContrast/_common.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 454e7f3f210e29b4880a110a5f02aeba395605b1 Author: Matthias Clasen Date: Fri Aug 28 16:17:40 2015 -0400 places view: Always use the eject icon Otherwise, we end up using different metaphors in the place view and in the sidebar, and nobody is going to know what the disconnect icon means in this context. http://bugzilla.gnome.org/show_bug.cgi?id=754022 gtk/gtkplacesviewrow.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit ea66300cf94f01aa0983579b49447fc15b340f83 Author: Matthias Clasen Date: Fri Aug 28 14:16:21 2015 -0400 wayland: Make display closing work The code in _gdk_wayland_window_dispose was not safe against being called twice - it would call g_hash_table_destroy twice on the known_globals hash table, the second time operating on freed memory. It was also leaking the list of async_roundtrips. After fixing both of these issues, the displayclose testcase now works on Wayland. gdk/wayland/gdkdisplay-wayland.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 0dc6726f021cc28413943cf0686063c4cbbe1d27 Author: Matthias Clasen Date: Fri Aug 28 13:55:23 2015 -0400 wayland: Be more careful when destroying windows We call gdk_wayland_window_hide_surface when the window gets destroyed, and in this case, the frame clock might not exist anymore. This was showing up in the displayclose testcase. gdk/wayland/gdkwindow-wayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit de684dac1bbf795a7482b3330ba231c581565fbe Author: Matthias Clasen Date: Fri Aug 28 13:51:11 2015 -0400 Trivial formatting fix gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 578ba0f974c6e70e02a34266767618140b2c128b Author: Matthias Clasen Date: Fri Aug 28 13:48:46 2015 -0400 wayland: Don't assert non-recursing in gdk_window_destroy While we do not have subwindows in Wayland, we do create an artificial root window. When the display is closed, the root window gets destroyed, causing recursing to be true for the toplevel windows. gdk/wayland/gdkwindow-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit dc79d4f50d821530b864240020769ff4a53f4fde Author: Matthias Clasen Date: Fri Aug 28 13:48:22 2015 -0400 Trivial formatting fix gdk/gdkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c0956454373a39122bd1568718eb2795cbc0fecf Author: Tom Tryfonidis Date: Fri Aug 28 18:37:44 2015 +0000 Updated Greek translation po-properties/el.po | 908 ++++++++++++++++++++++++++++------------------------ 1 file changed, 491 insertions(+), 417 deletions(-) commit 0f6de214d4d30598b1fe562f98dcad07061f0737 Author: Tom Tryfonidis Date: Fri Aug 28 18:37:03 2015 +0000 Updated Greek translation po/el.po | 650 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 338 insertions(+), 312 deletions(-) commit c32fa1aa8dcc0a62b18ce4ed0d17a248c1a7b27b Author: Lapo Calamandrei Date: Fri Aug 28 19:18:35 2015 +0200 Adwaita: remove .list-row.activatable reset. Since being 'activatable' istead of 'button' now that reset is not needed anymore, the patch is pretty noisy since sass interpreter changes, those look innocuous though. gtk/theme/Adwaita/_common.scss | 18 - gtk/theme/Adwaita/gtk-contained-dark.css | 807 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 731 +++++++++++++++------------- 3 files changed, 816 insertions(+), 740 deletions(-) commit 3d7d2f245f2a849cf5f774c5aee570e120fd8074 Author: Matthias Clasen Date: Fri Aug 28 12:54:32 2015 -0400 Work towards succeeding make check under Wayland Skip tests that don't work under Wayland, such as tests for GtkPlug and GtkSocket. testsuite/gtk/expander.c | 14 ++++++++++++ testsuite/gtk/notify.c | 25 ++++++++++++++++++++- testsuite/gtk/window.c | 57 ++++++++++++++++++++++++------------------------ 3 files changed, 67 insertions(+), 29 deletions(-) commit aa3bf0ac143c8c53ac31a414fc7461330c3f1199 Author: Matthias Clasen Date: Fri Aug 28 12:48:02 2015 -0400 plug/socket: Warn if used outside X11 Give a clear warning when either of these are realized on a non-X11 screen. gtk/gtkplug.c | 15 +++++++++------ gtk/gtksocket.c | 13 ++++++++----- 2 files changed, 17 insertions(+), 11 deletions(-) commit cbe5e596af4f7b8659c2f392fd77bd048720e5b8 Author: Matthias Clasen Date: Fri Aug 28 12:26:25 2015 -0400 Make display test not fail under Wayland This test really only works under X, since it relies on modifying the DISPLAY env var. testsuite/gdk/display.c | 3 +++ 1 file changed, 3 insertions(+) commit 919f9b24d2071f50425a595546857e95c5caa8cf Author: Matthias Clasen Date: Fri Aug 28 12:15:39 2015 -0400 places view: Don't spew needlessly The check here was obviously meant to filter out cancellations, not warn for them. gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f14b7d303a0aa2199089a3b2f06828ca1e2e0777 Author: Andika Triwidada Date: Fri Aug 28 13:22:19 2015 +0000 Updated Indonesian translation po-properties/id.po | 4704 +++++++++++++++++++++++++++------------------------ 1 file changed, 2519 insertions(+), 2185 deletions(-) commit b87d719b9939caeff32ed0e9de744c1a10170ff3 Author: Christian Kirbach Date: Thu Aug 27 22:01:51 2015 +0000 Updated German translation po-properties/de.po | 4601 ++++++++++++++++++++++++++------------------------- 1 file changed, 2335 insertions(+), 2266 deletions(-) commit 2bde10db29750f6df01ea82930bd3abbae889768 Author: Yosef Or Boczko Date: Thu Aug 27 23:19:12 2015 +0300 Updated Hebrew translation po/he.po | 646 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 344 insertions(+), 302 deletions(-) commit 34941efc3a481cff8f81224f67d65b73c34df055 Author: Benjamin Otte Date: Thu Aug 27 20:18:40 2015 +0200 Adwaita: Make selector more specific A * selector applies to all widgets, so even GtkBox or GtkGrid - and most importantly GtkListBoxRow - need to recompute their style because of the * selector. By using a more specific one, these common cases aren't affected anymore. Fixes slowdowns in gtk3-demo's listbox demo and in gnome-software. gtk/theme/Adwaita/_common.scss | 7 ++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) commit 9ce91a12512e9306af4543e30921adaaa14fcdc5 Author: Benjamin Otte Date: Thu Aug 27 19:36:18 2015 +0200 combobox: Add a special class for the button in the combobox That way, the GTK engine doesn't think that the general .button CSS might potentially apply to it. And because combobox button is overly complex and stupid, it cannot be cached. So buttons thought they cannot ever cache anything because they might suddenly end up inside a combobox without noticing and then they'd need to round their corners differently. Of course they're just regular "Remove" buttons like all the other 100s of "Remove" buttons in gnome-software. But hey, better not cache anything for them and recompute their CSS every time the :hover state changes on one of the rows. gtk/theme/Adwaita/_common.scss | 42 ++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 41 ++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 46 +++++++++++++++++--------------- gtk/ui/gtkcombobox.ui | 3 +++ 4 files changed, 68 insertions(+), 64 deletions(-) commit dc060154e0c4e79ec79208a9b133aabfa21b3909 Author: Benjamin Otte Date: Thu Aug 27 14:07:10 2015 +0200 css: Add gtk_css_change_to_string() Nobody is able to look up those hex values. gtk/gtkcssprovider.c | 15 ++++++++-- gtk/gtkcsstypes.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 4 +++ 3 files changed, 89 insertions(+), 3 deletions(-) commit 4ebb5781eaf332da3f8ce5ffb5ecc8668a56f118 Author: Benjamin Otte Date: Thu Aug 27 14:06:13 2015 +0200 css: Fix GtkCssChange enum Get rid of unused values (POSITION_ENUM) and use different values for NAME and ID. gtk/gtkcsstypes.c | 3 ++ gtk/gtkcsstypesprivate.h | 75 +++++++++++++++++++++++++----------------------- 2 files changed, 42 insertions(+), 36 deletions(-) commit f1ca75d1812f95690f2bba7445ad6803b58d4780 Author: Benjamin Otte Date: Wed Aug 26 18:01:39 2015 +0200 cssnode: Loosen requirements for style caching We can actually share :first-child/:last-child related things now, because we special case them. So the only positions we cannot cache are nth-child/nth-last-child. This should take care of a lot of Adwaita's styling. gtk/gtkcssnode.c | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) commit 2080e7318c86dd19e79fa7417c5c1698a8d687bd Author: Gábor Kelemen Date: Thu Aug 27 15:06:37 2015 +0000 Updated Hungarian translation po-properties/hu.po | 1432 +++++++++++++++++++++++++++------------------------ 1 file changed, 754 insertions(+), 678 deletions(-) commit f7d5d83dd01033ced59e7d5cc6f7c0a413815dfb Author: Jakub Steiner Date: Thu Aug 27 11:08:23 2015 +0200 HighContrast: GtkListBox fixes Make flat buttons in list-rows work. gtk/theme/HighContrast/_common.scss | 83 +++++++++------------------- gtk/theme/HighContrast/gtk.css | 104 +++++------------------------------- 2 files changed, 38 insertions(+), 149 deletions(-) commit 64147dd2a8ba061e3037bd1f372fe1a99366c8ef Author: Pedro Albuquerque Date: Thu Aug 27 09:09:20 2015 +0000 Updated Portuguese translation po/pt.po | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit 407d3fae818aae0b335c8f13f536e2c0e84a9d40 Author: Matthias Clasen Date: Wed Aug 26 22:59:55 2015 -0400 Adwaita: Theme calendar day names differently Just to show how its done. This will need some tweaks. gtk/theme/Adwaita/_common.scss | 7 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) commit 692f60ebb0f33d6b0abe1ffbd0a43d212777fbf2 Author: Matthias Clasen Date: Wed Aug 26 19:57:15 2015 -0400 flow box: Avoid a critical in keynav We were not taking into account that gtk_flow_box_get_next_focusable can return NULL, in all callers. Fix that. gtk/gtkflowbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29f5cdda100ef24b0e8b7415d78a58649988a05c Author: Matthias Clasen Date: Wed Aug 26 19:48:29 2015 -0400 testflowbox: Add an example with buttons This example populates a flow box with buttons, and makes the flow box children unfocusable, with the intention that the focus moves directly between the buttons. Currently, keynav does not work at all in this case. tests/testflowbox.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 0f1c4a303e76502fd94c6a9f7fda77141f47b91e Author: Matthias Clasen Date: Wed Aug 26 18:26:56 2015 -0400 gdkgears: Add a popover As pointed out in bug 754143, this reveals a crash in the Wayland backend. tests/gdkgears.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit e69306944056bf02b4899c835877f5e8a0b19d13 Author: Piotr Drąg Date: Wed Aug 26 17:09:31 2015 +0200 Updated Polish translation po-properties/pl.po | 2876 +++++++++++++++++++++++++++------------------------ po/pl.po | 1592 +++++++++++++++++----------- 2 files changed, 2502 insertions(+), 1966 deletions(-) commit c75edd32abd59b38dfc4a3c4dc62b3ad74a2d3a9 Author: Piotr Drąg Date: Wed Aug 26 16:45:33 2015 +0200 places view row: Use proper gettext macros P_() is meant only for property nicks and blurbs. Everything else should use _(). Follow-up to 2d83dd62173fc5e651e7df95f331ad5cc46a29cf http://bugzilla.gnome.org/show_bug.cgi?id=754086 gtk/gtkplacesviewrow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bffeae6203ffe5ea91988d4439571568abc95ab7 Author: Benjamin Otte Date: Wed Aug 26 16:33:52 2015 +0200 inspector: Handle object destruction without row references This way, we can live without row references. A side effect is that opening the inspector on the gtk-demo list box example now only takes 0.5s instead of the previous 3 minutes. gtk/inspector/object-tree.c | 53 +++++---------------------------------------- 1 file changed, 5 insertions(+), 48 deletions(-) commit 1f2bd47965db972c8d9abd5151e6996ed29b50b5 Author: Benjamin Otte Date: Wed Aug 26 15:44:55 2015 +0200 inspector: Implement find_object() without GtkTreeRowReference Tree row references are slow to update. And we update the widget list quite a bit, so when it grows it can get REALLY slow. gtk/inspector/object-tree.c | 52 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 12 deletions(-) commit c7ed2c21307efe26f2259bd28ef076bdff0a2b78 Author: Benjamin Otte Date: Wed Aug 26 15:28:22 2015 +0200 inspector: Refactor object tree construction Instead of having lots of if statements, create a vtable. This will be useful for the following patches. gtk/inspector/object-tree.c | 697 ++++++++++++++++++++++++++++++-------------- 1 file changed, 480 insertions(+), 217 deletions(-) commit 5037d134c56ab827a18b965442f5fcac95c9ee8a Author: Benjamin Otte Date: Tue Aug 25 19:46:09 2015 +0200 window: Only update the inspector once Instead of queueing a new idle handler every time we call gtk_window_update_debugging(), only queue one if none is queued that. Saves a lot of work, in particular when templates create context menus for every row in a large listbox as in the gtk-demo listbox example. gtk/gtkwindow.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 207e593075b01815973c4bfcb5a0d90f1de8d11e Author: Benjamin Otte Date: Tue Aug 25 02:08:29 2015 +0200 listbox: Mark activatable rows with a .activatable style class Do not use .button anymore. This is for 2 reasons: 1. The styling is seperate in our themes, so it doesn't make sense to share the style class. 2. Due to the shared styling of .buton, listbox rows inherit all the special case styles that exist for buttons - such as linked buttons, header buttons, entry buttons, spinbutton buttons, etc. This means that the code has to check all these special cases all the time and for listbox rows, this is very slow. gtk/gtklistbox.c | 6 ++-- gtk/theme/Adwaita/_common.scss | 20 ++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 50 ++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 50 ++++++++++++++--------------- gtk/theme/HighContrast/_common.scss | 22 ++++++------- gtk/theme/HighContrast/gtk.css | 54 ++++++++++++++++---------------- 6 files changed, 99 insertions(+), 103 deletions(-) commit 0897a7a43d7ef946e2dab606b0c6a0db3254d5a0 Author: Gábor Kelemen Date: Wed Aug 26 12:55:27 2015 +0000 Updated Hungarian translation po/hu.po | 150 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 67 insertions(+), 83 deletions(-) commit 571da2a8b34cf0652a0ba14adc35093b86631ea5 Author: Timm Bäder Date: Wed Aug 26 11:54:01 2015 +0200 Inspector: Protect against childless windows gtk/inspector/inspect-button.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 7051c322f47ef2bba6d1519d0aa8e07b43dd45d3 Author: Pedro Albuquerque Date: Wed Aug 26 05:33:35 2015 +0000 Updated Portuguese translation po/pt.po | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) commit 2d83dd62173fc5e651e7df95f331ad5cc46a29cf Author: Matthias Clasen Date: Tue Aug 25 23:28:56 2015 -0400 places view: Use proper gettext macros P_() is meant only for property nicks and blurbs. Everything else should use _(). http://bugzilla.gnome.org/show_bug.cgi?id=754086 gtk/gtkplacesview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b287412249936f60bc6cb93e55c1abee1cec7e83 Author: Chao-Hsiung Liao Date: Tue Aug 25 22:41:58 2015 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 4862 +++++++++++++++++++++++++----------------------- 1 file changed, 2536 insertions(+), 2326 deletions(-) commit 82ab8fade06ad47bbfeee488515c73d6c12e85c9 Author: Chao-Hsiung Liao Date: Tue Aug 25 22:40:15 2015 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 4436 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2445 insertions(+), 1991 deletions(-) commit 9cc41307d1c0ced7de427bf12aa44f5455caf45c Author: Matthias Clasen Date: Tue Aug 25 13:58:40 2015 -0400 flow box: Document incompatible configurations Explain in the docs that using a model is incompatible with using filter or sort functions. gtk/gtkflowbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit c0998598726040ba496d9f442f7ea6baccdf44cd Author: Matthias Clasen Date: Tue Aug 25 13:28:49 2015 -0400 flow box: Warn for nonworking configurations GtkFlowBox sort and filter functionality does not work with models. Issue a warning in this case. gtk/gtkflowbox.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 808ea8645a38f96839e09568105d793920d9c184 Author: Matthias Clasen Date: Tue Aug 25 13:20:53 2015 -0400 list box: Document incompatible configurations Explain in the docs that using a model is incompatible with using filter or sort functions. http://bugzilla.gnome.org/show_bug.cgi?id=752615 gtk/gtklistbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit a27309c6e47bd1e0ec747f8af40aea9b32b8a12b Author: Matthias Clasen Date: Tue Aug 25 13:16:24 2015 -0400 list box: Warn for nonworking configurations GtkListBox sort and filter functionality does not work with models. Issue a warning in this case. http://bugzilla.gnome.org/show_bug.cgi?id=752615 gtk/gtklistbox.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit a5e2256770db712d2ca3f9866309cd3cd5f3d6c7 Author: Matthias Clasen Date: Thu Jan 8 23:16:39 2015 -0500 Fix a startup ordering problem Defer a11y initialization until we have a display. A11y initialization causes widget classes to be initalized, which in turn needs some backend-specific information about modifier masks that can't be obtained before we have a display. https://bugzilla.gnome.org/show_bug.cgi?id=736125 gtk/gtkmain.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit c55ff6e41fb3c6272b5e7a084c8273dea60d7dee Author: John Ralls Date: Wed Dec 24 16:10:12 2014 -0800 Bug 736125 - The default gtk accelerator mod mask does not include all default backend modifiers gdk/gdkkeys.c | 4 ++++ gdk/gdktypes.h | 8 +++++++- gdk/quartz/gdkkeys-quartz.c | 5 +++++ gtk/gtkaccelgroup.c | 12 ++++++------ 4 files changed, 22 insertions(+), 7 deletions(-) commit 30d56933d44d88c3f99b9f5e0c8d5264694026c3 Author: Timm Bäder Date: Mon Aug 24 16:06:08 2015 +0200 Inspector: Make monitor rows unactivatable gtk/inspector/general.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 826ac52e434915f1573156ab2a5fdbda4f3de3b3 Author: Piotr Drąg Date: Tue Aug 25 17:11:17 2015 +0200 Fix grammar in "No networks locations found" gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f7655fa24f5052eed5c9bcc92a4f32ed80e41207 Author: Fran Dieguez Date: Tue Aug 25 16:43:42 2015 +0200 Update Galician translations po-properties/gl.po | 3138 +++++++++++++++++++++++++++------------------------ 1 file changed, 1690 insertions(+), 1448 deletions(-) commit f004c11a29dc6ef911a37d2038f26348780f2663 Author: Fran Dieguez Date: Tue Aug 25 16:29:19 2015 +0200 Updated Galician translations po/gl.po | 105 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 62 insertions(+), 43 deletions(-) commit 9e7204d332942dfb5d62b4350f613ff3a0cdffa2 Author: Daniel Mustieles Date: Tue Aug 25 11:07:47 2015 +0200 Updated Spanish translation po-properties/es.po | 20106 +++++++++++++++++++++++++------------------------- 1 file changed, 10055 insertions(+), 10051 deletions(-) commit fcc0f74b8663ee09c9d6a943317d1ecffa5e06e7 Author: Daniel Mustieles Date: Tue Aug 25 11:07:23 2015 +0200 Updated Spanish translation po/es.po | 13005 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 6509 insertions(+), 6496 deletions(-) commit d8994973ee09a733067653fa631dbd0407294827 Author: Pedro Albuquerque Date: Tue Aug 25 06:13:59 2015 +0000 Updated Portuguese translation po/pt.po | 154 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 89 insertions(+), 65 deletions(-) commit 14bcc780f4c4d45f0de7c409b138a1fe625ffe56 Author: Pedro Albuquerque Date: Tue Aug 25 06:10:53 2015 +0000 Updated Portuguese translation po-properties/pt.po | 269 +++++++++++++++++++++++++++++----------------------- 1 file changed, 149 insertions(+), 120 deletions(-) commit df5ee78c2840f82784762d9f382fded75ac31eb8 Author: Benjamin Otte Date: Mon Aug 24 21:23:49 2015 +0200 gtk-demo: Update listbox example with longer list Add all 388 tweets of the @GTKtoolkit account. This shows the performance behavior of the listbox (not good with that many rows) and allows us to quickly notice when things get worse (or better). And just so I have a place where I can dump how I generated this file: First, I got Timm Bäder to download me the json for the twitter feed into a file gtk.json, then I ran the jq tool on it like this: jq ".[] | if .retweeted_status then .retweeted_status.user.name + \"|\" + .retweeted_status.user.screen_name else .user.name + \"|\" + .user.screen_name end + \"|\" + .text" gtk.json | cat -n | sed "s/\\s*\([0-9]*\)\t\"\(.*\)\"/\\1|\\2/" > messages.start jq ".[] | .created_at" gtk.json | sed "s/\"\(.*\)\"/\1/" | while read in; do date +%s -d "$in"; done > dates jq ".[] | \"0|\" + if .retweeted_status then .user.screen_name else \"\" end + \"|\" + (.favorite_count | tostring) + \"|\" + (.retweet_count | tostring)" gtk.json | sed "s/\"\(.*\)\"/\\1/" > messages.end paste -d\| messages.start dates messages.end > messages.txt This whole machinery of going through 3 intermediate files was only necessary to onvert the dates from ISO format to unix timestamps, otherwise this could have been a single line. demos/gtk-demo/messages.txt | 396 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 388 insertions(+), 8 deletions(-) commit a7f40fc0ea24a50237fd3e56e047747855a67b97 Author: Benjamin Otte Date: Mon Aug 24 21:23:29 2015 +0200 gtk-demo: Order tweets newest first in listbox example demos/gtk-demo/listbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca4823c250a1e43c23beeedb601ab118c8116225 Author: Dušan Kazik Date: Mon Aug 24 16:30:15 2015 +0000 Updated Slovak translation po/sk.po | 414 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 267 insertions(+), 147 deletions(-) commit 338d97eba1a726b1cd8f4285151b69c4e95bfe60 Author: Dušan Kazik Date: Mon Aug 24 16:08:34 2015 +0000 Updated Slovak translation po-properties/sk.po | 4211 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 2535 insertions(+), 1676 deletions(-) commit 8e975b28ff460db3bf8ea99f5a07fb9d709c4f1c Author: Paolo Borelli Date: Sat Aug 22 18:20:17 2015 +0200 filechooser: check if we can access the parent folder If we manually enter an unaccessible path in the entry, e.g "/root/foo.txt", we should receive an error saying that the folder is not accessible instead of showing the replace confirmation dialog. https://bugzilla.gnome.org/show_bug.cgi?id=753969 gtk/gtkfilechooserwidget.c | 52 +++++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 21 deletions(-) commit 2bf97567ceef6b33e2ea7d05e02d826aa448c01c Author: Matthias Clasen Date: Sat Aug 22 11:22:27 2015 -0400 Revert "gtkoverlay: Optimize size allocations" This reverts commit 93171cf4f346c0a5e71f274d012c3cacfe3880ba. This broke overlay controls in page 3 of widget-factory, gnome-photos, gnome-documents, etc. gtk/gtkoverlay.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) commit 1d2ff9a069a3f1a8d2510dfcf7177420d2b076e3 Author: Matthias Clasen Date: Fri Aug 21 20:51:03 2015 -0400 list box: Make focusable headers possible Previously we were assuming that only list box rows could occur as focus children of a list box, and would crash if that wasn't the case. This commit handles this case, and integrates focusable headers into directional keynav and the focus chain. The typical case of using separators as headers is not affected by this change. https://bugzilla.gnome.org/show_bug.cgi?id=753694 gtk/gtklistbox.c | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) commit bff28ac6b00c3420e2b0304b84c1b253abcb9aa8 Author: Matthias Clasen Date: Fri Aug 21 18:19:26 2015 -0400 GtkOverlay: Update the description State that the overlays are placed wrt to the GtkOverlay, not with respect to the main widget. This makes a difference for small main widgets which are not configured to fill the entire GtkOverlay. gtk/gtkoverlay.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 58f363c852553b62b404da917d49cf6b360dfcc7 Author: Matthias Clasen Date: Fri Aug 21 18:08:30 2015 -0400 Revert "popover: Optimize the transition" This reverts commit 84bd32a09a25bee24ae7740e30bd75727695d744. It turned out that this did break the transition in some places. gtk/gtkpopover.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 00b17651b1d00cdaf60c7d75fcd5fc4945812361 Author: Carlos Soriano Date: Fri Aug 21 19:57:07 2015 +0200 gtkplacesview: bail out if operation cancelled When an operation is cancelled it's never safe to access the object itself or the private struct, since it could be called (and probably is) during finalize. In case the operation is cancelled, just bail out to fix the crashes. gtk/gtkplacesview.c | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit 232ab9d30de5881ab085cb0b721286d12485f6ad Author: Jordi Mas Date: Fri Aug 21 18:21:06 2015 +0200 Upload Catalan translator po-properties/ca.po | 36 +- po/ca.po | 3869 +++++++++++++++++++++++++++------------------------ 2 files changed, 2110 insertions(+), 1795 deletions(-) commit 6d0edd0056fa22fe349b0af3bcd1a193e73080f9 Author: Carlos Soriano Date: Fri Aug 21 15:00:07 2015 +0200 gtkplacessidebar: order mounts by label We were not ordering them at all, and therefore they were jumping around https://bugzilla.gnome.org/show_bug.cgi?id=753925 gtk/gtkplacessidebar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d0c45f19b82b3fc9541674b72fb8b08083f0ee1c Author: Carlos Soriano Date: Fri Aug 21 14:49:11 2015 +0200 gtkplacesview: use g_utf8_collate for sorting Also rename the variable, since we usually use location for GFiles variables. gtk/gtkplacesview.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 036ba25eb19569a51f68bb2bf9648b10e2e7020a Author: Carlos Soriano Date: Wed Aug 19 14:46:34 2015 +0200 gtkplacesview: add a loading property So clients of the view can know if the view is busy. https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 39 +++++++++++++++++++++++++++++++++++++++ gtk/gtkplacesviewprivate.h | 3 +++ 2 files changed, 42 insertions(+) commit 89a34210cb2804a0908ea91a9d38769cc3ab09b6 Author: Carlos Soriano Date: Tue Aug 18 23:26:07 2015 +0200 gtkplacesview: improve networks feedback Add a spinner when networks are being fetched and make the network section permanent and show a placeholder with a message that no networks were found in case there are no networks. In this way users from previous versions won't be confused with the fact that no networks are shown. https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 147 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 139 insertions(+), 8 deletions(-) commit 7347a69328f889a193aaf3565747df3872a066f5 Author: Carlos Soriano Date: Tue Aug 18 17:58:41 2015 +0200 gtkplacesview: add networks in network:/// Previously we had a network item in the sidebar, which now is replaced by the network section on other-locations view. However we were not exposing the networks in network:///. Fetch them and add them in the network section of other-locations view. https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 164 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 151 insertions(+), 13 deletions(-) commit 16bea59b785704a7f6d73de3481f0a0582fb41e4 Author: Carlos Soriano Date: Tue Aug 18 09:43:48 2015 +0200 gtkplacesview: style fix https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 1 - 1 file changed, 1 deletion(-) commit 8891640c47127f9b4c0f0a354ac06902adf04153 Author: Dušan Kazik Date: Fri Aug 21 08:55:24 2015 +0000 Updated Slovak translation po/sk.po | 106 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 58 insertions(+), 48 deletions(-) commit 32cd1a744700c365f70410ac4090b113b1921598 Author: Jonas Ådahl Date: Thu Aug 20 11:38:43 2015 +0800 wayland: Only bind supported unstable pointer gestures global As the protocol is still considered unstable (meaning not backward compatible), we should, as stated in the protocol, only bind the version advertised is the version we implement. https://bugzilla.gnome.org/show_bug.cgi?id=753856 gdk/wayland/gdkdisplay-wayland.c | 6 ++++-- gdk/wayland/gdkdisplay-wayland.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) commit 80265759473b3c806354d9f204e4016ec70a602b Author: Benjamin Otte Date: Fri Aug 21 00:46:35 2015 +0200 overlay: Always align widgets relative to the overlay ... not to the contained widget, which might not occupy the whole overlay when an align mode is set. gtk/gtkoverlay.c | 7 ------- 1 file changed, 7 deletions(-) commit 2039ab8853c10e2b34a0bd7d0bd17b2ef5855db0 Author: Benjamin Otte Date: Fri Aug 21 00:44:17 2015 +0200 overlay: Use actual size of the overlay when positioning Previously we were using the natural requested size which is unrelated. gtk/gtkoverlay.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2607aae7dd4bcbfd0cb6501af74602fc6005bd08 Author: Aurimas Černius Date: Thu Aug 20 23:01:41 2015 +0300 Updated Lithuanian translation po-properties/lt.po | 4667 +++++++++++++++++++++++++++------------------------ po/lt.po | 219 +-- 2 files changed, 2535 insertions(+), 2351 deletions(-) commit b37400752bdc282888e13c9d74aa3e904bab8283 Author: Christian Hergert Date: Thu Aug 20 11:13:30 2015 -0700 treeview: check for pixel cache before setting property Code exists in the wild that calls this function after the widget has been destroyed (and the pixel cache released). Simply check that the pixel cache exists to preserve the existing state. gtk/gtktreeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 391149fc0ac802a8dd49162c91c258e6175b0940 Author: Jordi Mas Date: Thu Aug 20 19:04:10 2015 +0200 Update Catalan translation po-properties/ca.po | 390 +++++++++++++++++++++++++++---------------------- po/ca.po | 407 ++++++++++++++++++++++++++-------------------------- 2 files changed, 422 insertions(+), 375 deletions(-) commit c6219c913fc0b22fa9f729c52ebac2cc9f090121 Author: Benjamin Otte Date: Tue Aug 18 20:45:34 2015 +0200 immodule: Remove unused parameter gtk/gtkimmodule.c | 3 +-- gtk/gtkimmoduleprivate.h | 2 +- gtk/gtkimmulticontext.c | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) commit 8ed4e439e4c2aa317cfc0c4c651a46318c8ee1d6 Author: Piotr Drąg Date: Thu Aug 20 13:01:14 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 4d9a94333820edb8dfbd8584605e661d18467e64 Author: Matthias Clasen Date: Wed Aug 19 23:17:01 2015 -0400 gtk-demo: Add a model button demo This shows how to hook model buttons up to various action types, or how to create them manually. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 4 + demos/gtk-demo/modelbutton.c | 69 ++++++++++++++++ demos/gtk-demo/modelbutton.ui | 168 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 242 insertions(+) commit 8baab8f33d0dd1163152c11b4002967167e7edcd Author: Sebastien Lafargue Date: Wed Aug 19 12:33:06 2015 +0200 GtkTextView: fix margin/padding scroll behaviour When you move line by line, only padding is automaticly shown and you need to use Page key to show margin. This commit also fix cursor going out of the screen bug. gtk/gtktextview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 25557c1c5d977acb5659e13394961524b67c2ec0 Author: Carlos Garnacho Date: Mon Aug 3 17:22:29 2015 +0200 gdkevent: Hold refs to device/source_device The extra reference will be held from GdkEventPrivate data, so there's a common place to all events. Without this, events queued after devices/ capabilities disappear (eg. on TTY switch) might hold invalid pointers. Windowing level operations on those devices (queries, grabs...) are expected to fail at that time, but we should hold meaningful data for the regular event handling paths. https://bugzilla.gnome.org/show_bug.cgi?id=753185 gdk/gdkevents.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 8599f209c1a0c766429429275027284491ded7ac Author: Carlos Garnacho Date: Wed Aug 19 18:45:50 2015 +0200 gtkscrolledwindow: Fold kinetic deceleration handling into scroll_event() In order to play along with child widgets that use scroll events for anything else than scrolling, it will be better to do this in the bubble phase, so the child widget has an opportunity to GDK_EVENT_STOP the event before we trigger kinetic scrolling. This of course won't work for widgets that choose to reimplement scroll event handling themselves, they should be smart at resorting to GtkScrolledWindow's scroll event handling. This fixes kinetic scrolling kicking in too pervasively on widgets that eg. implement zoom on scroll events. https://bugzilla.gnome.org/show_bug.cgi?id=753495 gtk/gtkscrolledwindow.c | 56 ++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 29 deletions(-) commit ee8c80a531c4ac034019c4622dfe935b2143ff50 Author: Gábor Kelemen Date: Wed Aug 19 10:07:21 2015 +0000 Updated Hungarian translation po/hu.po | 970 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 591 insertions(+), 379 deletions(-) commit 88edada0d90f09efba7e82639e88a154c5c2e61d Author: Georges Basile Stavracas Neto Date: Tue Aug 18 19:34:21 2015 -0300 placessidebar: set Other Locations uri By assigning an URI to Other Locations item, we can programaticaly select it. Fixes a bug in Nautilus, where the Other Locations item is unselected imediately after being clicked. gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 24174e5528018c36868c4e4f834a8614b460bafb Author: Matthias Clasen Date: Tue Aug 18 15:42:56 2015 -0400 multipress: Only emit preedit signals if needed When clearing the compose buffer, don't emit preedit-changed unconditionally. This triggers a recursion which leads to a crash. https://bugzilla.gnome.org/show_bug.cgi?id=753644 modules/input/gtkimcontextmultipress.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 9f9c5ca49ada3e9345a48fd8d642883c0f7339fb Author: Paolo Borelli Date: Mon Aug 17 18:31:15 2015 +0200 print operation: let subclasses use a custom paginate GtkPrintOperation was emitting paginate only if a signal was connected, this meant that subclassing and overriding the paginate vfunc lead to the unexpected result that paginate did not run. Instead we always emit the signal and use a custom accumulator: if there is a signal we just run that and avoid the default handler, otherwise we run the default handler which can be the one by the subclass or the default handler that just skips pagination. Patch by Yevgen Muntyan, fixes #345345 gtk/gtkprintoperation.c | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) commit 31efc4097e51c1615d101d20b9ea75643dfb0558 Author: Daniel Mustieles Date: Tue Aug 18 13:56:26 2015 +0200 Updated Spanish translation po-properties/es.po | 20088 +++++++++++++++++++++++++------------------------- 1 file changed, 10051 insertions(+), 10037 deletions(-) commit e4f36d0657a28ecaed5f9939a58867b62750fe7a Author: Daniel Mustieles Date: Tue Aug 18 13:56:16 2015 +0200 Updated Spanish translation po/es.po | 12982 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 6496 insertions(+), 6486 deletions(-) commit a1b2e7c1c2fc308b76015e8b8ecb5eab233119cf Author: Matthias Clasen Date: Mon Aug 17 22:09:03 2015 -0400 3.17.7 NEWS | 16 ++++++++++++++++ configure.ac | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) commit e1fd87728dd841cf1d71025983107765e395b152 Author: Jonas Ådahl Date: Tue Aug 18 08:38:07 2015 +0800 wayland: Use g_get_prgname() to get the xdg_surface.set_app_id string Prior to this patch, the ID of the GtkApplication was always used for clients which were GtkApplications. This would only be guaranteed to be correct for D-Bus activatable programs. As a result, all non-D-Bus-activatable applications would set the wrong ID making the shell unable to find the corresponding .desktop file. This change makes it so that the GDK backend always uses the name passed to g_set_prgname, or the default value if not explicitly set, as this more often corresponds to the .desktop file. This means that in order to make D-Bus activatable applications set the correct application ID, they must, for now, manually call g_set_prgname() with their application ID (basename of the .desktop file). If g_get_prgname() returns NULL, fallback to gdk_get_program_class() even though it will most likely never be correct according to the xdg_surface.set_app_id specification. https://bugzilla.gnome.org/show_bug.cgi?id=746435 gdk/wayland/gdkwindow-wayland.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit af78792720989a39813ebefc5cd9add3cbff2811 Author: Carlos Soriano Date: Tue Aug 18 00:42:23 2015 +0200 gtkplacesview: allow to cancel connection to server We were not allowing to cancel the operation at all, and at most the operation was cancelled only when clicked connect again. Also due to gvfs bug 753735 we actually weren't cancelling at all, and therefore creating multiple dialogs. gtk/gtkplacesview.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 8192a058a90a13e78cd79aa54d33b01229d55718 Author: Georges Basile Stavracas Neto Date: Mon Aug 17 14:25:18 2015 -0300 places-view: show a more verbose entry hint As pointed out by Allan, this is not very helpful. A call to action label fits better in this case. gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3de1bd383afddd3b530b612f8539d1866388b88d Author: Emmanuele Bassi Date: Mon Aug 17 13:32:35 2015 +0100 flowbox: Sink the floating reference of model-based children We don't want to leak references if the widget created to represent the item in the model does not have a floating reference — which is usually what happens in bindings, as they automatically sink references when creating new instances. See commit 6e03e7e8 for the similar change in GtkListBox. gtk/gtkflowbox.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit e8063bcb210d729297cd4667c6a5c23ac0b477fc Author: Chun-wei Fan Date: Mon Aug 17 19:20:04 2015 +0800 MSVC Introspection Builds: Remove GCC Requirement Sorry, the last commit added a generated file instead of the template. G-I has been updated to not require a Windows GCC installation anymore to generate the .gir files, so update the NMake Makefiles that are used for this purpose. As a result, it is no longer necessary to define time_t for the .gir generation as we are on the same compiler throughout the process. build/gtk-introspection-msvc.mak.in | 14 ++++---------- build/introspection-msvc.mak | 16 +--------------- 2 files changed, 5 insertions(+), 25 deletions(-) commit 40a190520714a4cc91bf387a43f031fe3695bef5 Author: Chun-wei Fan Date: Mon Aug 17 19:18:03 2015 +0800 Revert "MSVC Introspection Builds: Remove GCC Requirement" This reverts commit aea7809f55ac520b9d2d5d9c1eea1345fabbd7a7. build/gtk-introspection-msvc.mak | 101 --------------------------------------- build/introspection-msvc.mak | 16 ++++++- 2 files changed, 15 insertions(+), 102 deletions(-) commit aea7809f55ac520b9d2d5d9c1eea1345fabbd7a7 Author: Chun-wei Fan Date: Mon Aug 17 19:11:53 2015 +0800 MSVC Introspection Builds: Remove GCC Requirement G-I has been updated to not require a Windows GCC installation anymore to generate the .gir files, so update the NMake Makefiles that are used for this purpose. As a result, it is no longer necessary to define time_t for the .gir generation as we are on the same compiler throughout the process. build/gtk-introspection-msvc.mak | 101 +++++++++++++++++++++++++++++++++++++++ build/introspection-msvc.mak | 16 +------ 2 files changed, 102 insertions(+), 15 deletions(-) commit ab09ffaa8cd38380f455ea51acf2474d0d31aad5 Author: Matthias Clasen Date: Mon Aug 17 01:36:37 2015 -0400 gtk-demo: Use top/bottom-margin for text views This lets us replace the hack of inserting tags in the first and last paragraph to set a above/below-paragraph space. demos/gtk-demo/main.c | 34 ++-------------------------------- demos/gtk-demo/main.ui | 4 ++++ 2 files changed, 6 insertions(+), 32 deletions(-) commit d1381569fdf2abde1535db1fcff07b3c767d396d Author: Sebastien Lafargue Date: Tue Dec 23 21:30:24 2014 +0100 text view: add padding and margin Add API to set top and bottom margins, and add the CSS padding from the theme to the programmatically set margins. https://bugzilla.gnome.org/show_bug.cgi?id=406159 docs/reference/gtk/gtk3-sections.txt | 4 + gtk/gtktextlayout.c | 17 +- gtk/gtktextlayout.h | 3 + gtk/gtktextview.c | 660 ++++++++++++++++++++++++++--------- gtk/gtktextview.h | 10 + 5 files changed, 534 insertions(+), 160 deletions(-) commit 825d1285e30351b6522b37b157d2275a48cc865f Author: Fran Dieguez Date: Mon Aug 17 01:31:09 2015 +0200 Updated Galician translations po/gl.po | 1220 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 761 insertions(+), 459 deletions(-) commit 3d7647991a855e1255cfa9af6b7f9a49d630bb11 Author: Matthias Clasen Date: Sun Aug 16 18:20:12 2015 -0400 Add a test for gtk_flow_box_bind_model tests/listmodel.c | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit a7771867854c2d7ca54cd3266b9c665b4508c642 Author: Matthias Clasen Date: Sun Aug 16 18:05:33 2015 -0400 Add gtk_flow_box_bind_model docs/reference/gtk/gtk3-sections.txt | 3 + gtk/gtkflowbox.c | 116 ++++++++++++++++++++++++++++++++++- gtk/gtkflowbox.h | 22 +++++++ 3 files changed, 139 insertions(+), 2 deletions(-) commit 408358c9d99715e3f764575e3b026d1c111b6141 Author: Matthias Clasen Date: Sun Aug 16 18:04:49 2015 -0400 Add a test for g_list_box_bind_model tests/Makefile.am | 4 + tests/listmodel.c | 220 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 224 insertions(+) commit a6bb7a9a4661b7d29bb733b3c45ccd4edcf5de72 Author: Matthias Clasen Date: Sun Aug 16 18:11:50 2015 -0400 list box: Shorten some static function names gtk/gtklistbox.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit b24ce67c46b07c62679f8eb62d2259b46d895c07 Author: Christoph Reiter Date: Sun Aug 16 08:04:37 2015 +0200 Bump Pango requirement to 1.37.3 GTK+ now uses pango_attr_foreground_alpha_new, pango_attr_background_alpha_new, PANGO_ATTR_FOREGROUND_ALPHA, PANGO_ATTR_BACKGROUND_ALPHA, pango_renderer_set_alpha, pango_renderer_get_alpha, which were all added after 1.37.2. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b93cb76fbc851a3a976f7670a3fb3a80f138d5c8 Author: Pedro Albuquerque Date: Sun Aug 16 06:10:06 2015 +0000 Updated Portuguese translation po-properties/pt.po | 168 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 96 insertions(+), 72 deletions(-) commit 775800f76e800979d3ff91ff2e78b7149ff6a960 Author: Matthias Clasen Date: Sat Aug 15 23:38:20 2015 -0400 popover: Don't restore stale default widget Only restore the saved default widget if the default hasn't been changed while the popover was visible. gtk/gtkpopover.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b437f89c052e5d1a0bfc5521efc1eeedd4ad3f28 Author: Matthias Clasen Date: Sat Aug 15 22:20:16 2015 -0400 Add a note to gdk_screen_get_width/height_mm The values returned by these functions are not very well defined, recommend to use the monitor dimensions instead. gdk/gdkscreen.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 02f3fe0671fe7b4f4068716773db01be7d4482e5 Author: Carlos Garnacho Date: Fri Aug 14 12:05:37 2015 +0200 wayland: calculate screen physical size A simple calculation is done so far (assuming monitor areas never overlap) so gdk_screen_get_width/height_mm return meaningful values. https://bugzilla.gnome.org/show_bug.cgi?id=753621 gdk/wayland/gdkscreen-wayland.c | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) commit 84bd32a09a25bee24ae7740e30bd75727695d744 Author: Matthias Clasen Date: Sat Aug 15 22:02:40 2015 -0400 popover: Optimize the transition There's no need to queue a resize here. https://bugzilla.gnome.org/show_bug.cgi?id=753568 gtk/gtkpopover.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 0455e565171db938793d5d874d3a855335d04d7a Author: Matthias Clasen Date: Sat Aug 15 16:05:11 2015 -0400 window: Set name on idle Use gdk_threads_add_idle, and set a name on the source to aid debugging, as we do everywhere else. gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 568def7a869d204e4e0781dca0700a099f486d03 Author: Matthias Clasen Date: Sat Aug 15 16:04:09 2015 -0400 searc engine model: Set name on idle Use gdk_threads_add_idle, and set a name on the source to aid debugging, as we do everywhere else. gtk/gtksearchenginemodel.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 73f1d62b6898e86aa24047e541c4def0243dcd64 Author: Matthias Clasen Date: Sat Aug 15 13:40:30 2015 -0400 Update release notes a bit README.in | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 07942446d7025e15423ee0a484ebadd00c5ddea2 Author: Matthias Clasen Date: Sat Aug 15 11:16:46 2015 -0400 Fix a thinko in GtkLabel gtk/gtklabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4453c4401f38e26a125b1f3d4bbf4bbeaa270d6d Author: Matthias Clasen Date: Sat Aug 15 11:07:54 2015 -0400 Support alpha in text cell renderer colors This is easily possible, now that Pango supports alpha. gtk/gtkcellrenderertext.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 87981c8894e2430f832871e1650eb4b6831d8352 Author: Dušan Kazik Date: Sat Aug 15 09:57:23 2015 +0000 Updated Slovak translation po/sk.po | 405 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 207 insertions(+), 198 deletions(-) commit 0f871be508ba46f6feb67ec9af1b20e38fa957ac Author: Matthias Clasen Date: Tue Aug 11 21:35:24 2015 -0400 GtkLabel: Add alpha support for buildable attributes Make it possible to set foreground or background alpha in the builder ui support for Pango attributes. gtk/gtklabel.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit e02acc7d71c458c960157a57e495e1fb12d51fd6 Author: Matthias Clasen Date: Tue Aug 11 21:25:51 2015 -0400 GtkTextDisplay: Use pango renderer alpha support We don't need to store our own copy of the colors anymore, now that PangoRenderer can do alpha. gtk/gtktextdisplay.c | 39 +++++++++++++++++++++++++++------------ 1 file changed, 27 insertions(+), 12 deletions(-) commit 0de600c9ddd382cab12dace2c03217d35f1d43a8 Author: Matthias Clasen Date: Fri Aug 14 21:56:51 2015 -0400 Updates NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 83c25169e8571a1c9f9009f34ca4bb5ca7f4e291 Author: Ray Strode Date: Fri Aug 14 11:24:44 2015 -0400 Revert "wayland: require WAYLAND_DISPLAY be set to open wayland display" This reverts commit 35489f5d31b20a390b45803d760f965391d0b57f. It snuck in when i was trying to push commit f4d2022d46e16e1fdec8ca9b107a9870155832bf gdk/wayland/gdkdisplay-wayland.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit f4d2022d46e16e1fdec8ca9b107a9870155832bf Author: Ray Strode Date: Fri Aug 14 11:03:43 2015 -0400 wayland: change wl_log level to G_LOG_LEVEL_DEBUG wl_log() currently logs using G_LOG_LEVEL_ERROR (which is fatal). The wayland client library doesn't expect this behavior. It uses wl_log to log recoverable errors. This commit changes the log level to G_LOG_LEVEL_DEBUG instead. https://bugzilla.gnome.org/show_bug.cgi?id=753635 gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 35489f5d31b20a390b45803d760f965391d0b57f Author: Ray Strode Date: Fri Aug 14 10:23:31 2015 -0400 wayland: require WAYLAND_DISPLAY be set to open wayland display The wayland client libraries now require WAYLAND_DISPLAY be set to use them. See: http://cgit.freedesktop.org/wayland/wayland/commit/?id=fb7e13021730d0a5516ecbd3712ea4235e05d24d This commit makes _gdk_wayland_display_open bail early if WAYLAND_DISPLAY is unset, just as it does for XDG_RUNTIME_DIR. gdk/wayland/gdkdisplay-wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 4a26366ff2791b28c3f102cdb4a0a31bdaf42f5d Author: Руслан Ижбулатов Date: Fri Aug 14 12:12:01 2015 +0000 GDK W32: Add missing commas gdk/win32/gdkcursor-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a6b52c4275849ab1a70f10db2d8e0b6796f0db61 Author: Matthias Clasen Date: Wed Aug 12 19:35:52 2015 -0400 Revert "Revert "Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes""" This reverts commit 8001b2c1b3b9b5535d20ec942c497ae0f0a4adc7. gtk/gtkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 5cea77de38f9380c5cb8860883264012d5ef03ed Author: Matthias Clasen Date: Wed Aug 12 19:35:10 2015 -0400 Revert "Revert "Revert "window: fix initial shadow width for maximized/fullscreen windows""" This reverts commit 968ac90e89f444e180d883a28bfd260b118f451d. gtk/gtkwindow.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 8001b2c1b3b9b5535d20ec942c497ae0f0a4adc7 Author: Matthias Clasen Date: Wed Jul 22 23:16:44 2015 -0400 Revert "Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes"" This reverts commit de2ea1ebaabd7550ca6f2a02bfbaa04ac92181fd. No reason in the commit message was given for the revert, and we need this for proper behavior on map. gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 968ac90e89f444e180d883a28bfd260b118f451d Author: Jasper St. Pierre Date: Wed Aug 12 14:39:46 2015 -0700 Revert "Revert "window: fix initial shadow width for maximized/fullscreen windows"" This reverts commit 8b695cc7279270eabf7d2541cfd592608d0add38. No reason in the commit message was given for the revert, and we need this for proper behavior on map. gtk/gtkwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 45d15b302e318f3ba9fed7c5e146152ba0e97de6 Author: Carlos Garnacho Date: Thu Jul 9 19:36:30 2015 +0200 wayland: Implement touchpad gesture events On wayland, the gestures protocol defines a wl_pointer_gestures global object, that will match in number with wl_seats, swipe and pinch interfaces can be obtained from it, which events are translated into GdkEventTouchpadSwipe/Pinch events. gdk/wayland/gdkdevice-wayland.c | 245 +++++++++++++++++++++++++++++++++++++++ gdk/wayland/gdkdisplay-wayland.c | 6 + gdk/wayland/gdkdisplay-wayland.h | 1 + 3 files changed, 252 insertions(+) commit b037d4d628b212de03c0064b2163b315b6a955de Author: Carlos Garnacho Date: Mon Jul 20 17:22:33 2015 +0200 wayland: Add touchpad gestures protocol gdk/wayland/Makefile.am | 3 + gdk/wayland/protocol/pointer-gestures.xml | 172 ++++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+) commit dc77989a1c67bce242873de0e7dc0b2f9ded6cb7 Author: Carlos Garnacho Date: Fri Jul 24 12:59:59 2015 +0200 gtkgesture: Add note to gtk_gesture_get_bounding_box() This is the only function that's will be semantically confusing with touchpad gesture events, explain what's to be expected there. gtk/gtkgesture.c | 6 ++++++ 1 file changed, 6 insertions(+) commit e55b3c6501c01c085ca0583e05e1f95b4705a70f Author: Carlos Garnacho Date: Thu Jul 9 19:35:12 2015 +0200 gtkgesture: Add touchpad gesture event bit to the controller evmask gtk/gtkgesture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8e5be43e02a11499ff8b218632b646d0220ddd42 Author: Carlos Garnacho Date: Fri Jul 24 13:05:31 2015 +0200 gtkgesturedrag: Handle touchpad swipe events These will only trigger the gesture if it's been created with the same GtkGesture::n-points than n_fingers in the event. gtk/gtkgesturedrag.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 5d17338b4d158f6b460c73b064e1c2f363007d9c Author: Carlos Garnacho Date: Fri Jul 24 13:03:09 2015 +0200 gtkgestureswipe: Handle touchpad swipe events These will only trigger the gesture if it's been created with the same GtkGesture::n-points than n_fingers in the event. gtk/gtkgestureswipe.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 5f68a2877df13d25b17299c497cddf7de1096faa Author: Carlos Garnacho Date: Thu Jul 9 19:34:09 2015 +0200 gtkgesturerotate: Handle touchpad pinch events We let these through in GtkEventController::filter, and handle these especially on GtkGesture::update. gtk/gtkgesturerotate.c | 83 +++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 72 insertions(+), 11 deletions(-) commit 068a8449305b2674c6ff4c8ebc97fbe4782b9f35 Author: Carlos Garnacho Date: Thu Jul 9 19:31:27 2015 +0200 gtkgesturezoom: Handle touchpad pinch events We let these through in GtkEventController::filter, and handle these especially on GtkGesture::update. gtk/gtkgesturezoom.c | 53 ++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 45 insertions(+), 8 deletions(-) commit d756463d9b2ad1cf84c0ca4313a19227a89796b4 Author: Carlos Garnacho Date: Fri Jul 24 18:52:38 2015 +0200 gtkgesture: Add docs blurb about touchpad gestures Not too long though, the precautions to take are minimal. gtk/gtkgesture.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit e736e8dcb997da651747804f069b5db8417c43bf Author: Carlos Garnacho Date: Fri Jul 24 11:48:44 2015 +0200 gtkgesture: Accumulate touchpad events' dx/dy in point data This will make the gesture "center" the pointer position, plus the accumulated dx/dy throughout the gesture progress. gtk/gtkgesture.c | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 56 insertions(+), 1 deletion(-) commit 4457be688da16811d2e558519b566b2605de346d Author: Carlos Garnacho Date: Thu Jul 9 19:18:09 2015 +0200 gtkgesture: Handle touchpad events These will be mutually exclusive with touch events, so it won't be possible to trigger gestures through mixed input and whatnot. The accounting of touchpad events is slightly different, there will be a single internal PointData struct, stored in the hashtable with the NULL event sequence/key (same than pointer events in this regard), just that the events stored will be GdkEventTouchpad*, so will hold information about all fingers at once. But this difference is just internal, the GtkGesture API doesn't make explicit assumptions about the number of points (the closest to a per-point query API is gtk_gesture_get_sequences()). All signals emitted just contain the last changed GdkEventSequence, and API takes GdkEventSequences, so everything is consistent with sequence=NULL for touchpad events. gtk/gtkgesture.c | 87 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 81 insertions(+), 6 deletions(-) commit 67ae7322e9569d106328ddab39296ffc9f64961a Author: Carlos Garnacho Date: Thu Jul 9 19:11:04 2015 +0200 gtkgesture: Refactor n-points querying into a single function Along the code, we're basically asking for 1) the total count of touchpoints, and 2) the number of active touchpoints (not denied nor ended). Wrap both usecases into a _gtk_gesture_get_n_physical_touchpoints(), and replace all occurrences. gtk/gtkgesture.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit 97e67e21a1e21215f1191a5be1f2fb102fb2d6a0 Author: Carlos Garnacho Date: Thu Jul 9 19:04:59 2015 +0200 gtkgesture: Filter out touchpad events by default. The gestures that don't want touchpad gesture events are majority, even those that want such events will only listen to subsets (eg. pinch, swipe,...). So it makes sense to ignore touchpad events by default, and let subclasses opt those in. gtk/gtkgesture.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 8b1c9c0687e4d2deb65a7235e97bd1a2e63447ab Author: Carlos Garnacho Date: Fri Jul 24 17:39:35 2015 +0200 gtkgesture: Refactor gtk_gesture_handle_event() We'll be dealing with event types and touchpad gesture phases, replace the switch by a battery of if/elses. Otherwise, it's just an style change. gtk/gtkgesture.c | 46 ++++++++++++++++++++++++++-------------------- 1 file changed, 26 insertions(+), 20 deletions(-) commit 3808322f80e322195165a8162d9c8765a68bcc52 Author: Carlos Garnacho Date: Thu Jul 9 18:55:32 2015 +0200 eventcontroller: Add private ::filter method This will be used right before handle_event() in order to filter out events, useful to make the previous "no touchpad events" behavior the default, and have gesture subclasses include manually the touchpad events they handle. gtk/gtkeventcontroller.c | 4 ++++ gtk/gtkeventcontrollerprivate.h | 3 +++ 2 files changed, 7 insertions(+) commit 777ac92862529d9b9065a2f9e86f055bbfdd4b61 Author: Carlos Garnacho Date: Thu Jul 9 18:48:41 2015 +0200 gtkwidget: Ensure touchpad events trigger the bubbling phase For all other events, we run the bubble phase deep in the specific ::motion/button-press/release/touch handlers. For touchpad events, it doesn't make sense to use GtkWidgetClass slots if the intended way to deal with these are gestures, so we run the bubble phase directly from gtk_widget_event_internal(). gtk/gtkwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit 6cd45af8b0afb3758df6bc7679b651033b39c9c4 Author: Carlos Garnacho Date: Thu Jul 9 18:47:02 2015 +0200 gtkmain: Handle rewriting of event fields during grabs for touchpad events The window/coordinates will need translation in the case of touchpad gesture events, same than with other pointer events. gtk/gtkmain.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 5092febaf841939c7b3539ef447f43e1ce464037 Author: Carlos Garnacho Date: Thu Jul 9 18:44:09 2015 +0200 gdk: Proxy touchpad events through the client-side window hierarchy This includes poking the deepmost window, checking for the GDK_TOUCHPAD_GESTURE_MASK bit set, and translating coordinates in events accordingly. gdk/gdkwindow.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 100 insertions(+), 1 deletion(-) commit 8c2b3930daa6d3886626907fbc79b812579b42d7 Author: Carlos Garnacho Date: Thu Jul 9 18:42:35 2015 +0200 gdk: Add GDK_TOUCHPAD_GESTURE_MASK to GdkEventMask Users will need to manually select on this in order to receive gesture events. gdk/gdktypes.h | 1 + gdk/gdkwindow.c | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) commit a3b402a9498787d2704f6ab228d3814683c946eb Author: Carlos Garnacho Date: Thu Jul 9 18:39:58 2015 +0200 gdk: Add touchpad gesture events and event types. Each gesture type has its separate GdkEvent struct, and begin/update/ end/cancel event types. There is support for multi-finger swipe (3-4 fingers), and 2-finger rotate/pinch gestures. docs/reference/gdk/gdk3-sections.txt | 2 + gdk/gdkevents.c | 44 ++++++++++++ gdk/gdkevents.h | 127 +++++++++++++++++++++++++++++++++++ 3 files changed, 173 insertions(+) commit 7281803169561f3932d23e9fe0c56826ccdd3b7e Author: Paolo Borelli Date: Wed Aug 12 08:12:36 2015 +0200 cellrendererpixbuf: do not clear the icon helper twice Do not call _gtk_icon_helper_clear explicitely when the properties are set, since the corresponding _gtk_icon_helper_set_* method already calls clear internally. While at it rename the reset function to make it clear that it is calling notify for the previous image type and avoid the notification if the image type is not changing. gtk/gtkcellrendererpixbuf.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit a1332167fb277dfb54a7111b73d594f2d753c7a9 Author: Matthias Clasen Date: Wed Aug 12 07:22:05 2015 -0400 color chooser: Reset show-editor on unmap We have a testcolorchooser test, with a --edit option. It was supposed to make the color chooser come up in edit mode, but it didn't work ever since we dropped the ::response handler. Fix it by resetting show-editor on unmap, instead of on map. This way, users can set show-editor before showing the dialog, and it will take effect. gtk/gtkcolorchooserdialog.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 4a8ff565bc06d52806ea080cdb436a647d923d7c Author: David King Date: Tue Aug 11 16:06:17 2015 +0100 listbox: Describe behavior change in GtkListBoxCreateWidgetFunc Help applicaiton authors who may already be binding GtkListBox to a GListModel by describing the change for 3.18. https://bugzilla.gnome.org/show_bug.cgi?id=753392 gtk/gtklistbox.h | 5 +++++ 1 file changed, 5 insertions(+) commit c06de9723448e77ec409980d1b16b84b57b97f27 Author: Daniel Mustieles Date: Wed Aug 12 09:04:05 2015 +0200 Updated Spanish translation po-properties/es.po | 1054 +++++++++++++++++++++++++++------------------------ 1 file changed, 559 insertions(+), 495 deletions(-) commit bb3bc752d2aed1b98cb279c7810d0a0836fd867a Author: Daniel Mustieles Date: Wed Aug 12 09:03:50 2015 +0200 Updated Spanish translation po/es.po | 339 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 170 insertions(+), 169 deletions(-) commit 12e98498f6aa687a07034d9c054d20a2f74159e4 Author: Matthias Clasen Date: Tue Aug 11 20:57:52 2015 -0400 label: Flesh out pango attribute support A few attribute types were missing from the support: rise, letterspacing, fallback, font features. Add support for these. gtk/gtklabel.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 2a03476c8fc10e8952143535ba889a0230675e8d Author: Kjartan Maraas Date: Tue Aug 11 19:58:17 2015 +0200 Updated Norwegian bokmål translation. po/nb.po | 1544 +++++++++++++++++++++++--------------------------------------- 1 file changed, 573 insertions(+), 971 deletions(-) commit 3197399fec6081314f4032a64ef3d8af6c0c34fe Author: Daniel Mustieles Date: Tue Aug 11 12:34:59 2015 +0200 Updated Spanish translation po/es.po | 489 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 247 insertions(+), 242 deletions(-) commit cf237eccbeea47d86deace9089cbc0f171218340 Author: Matthias Clasen Date: Tue Aug 11 00:09:39 2015 +0200 widget-factory: Add a lock button demos/widget-factory/widget-factory.c | 112 +++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 171 +++++++++++++++++---------------- 2 files changed, 199 insertions(+), 84 deletions(-) commit aa9dd72e8f9bdccd9ea8e6f4f019aa7d037be489 Author: Matthias Clasen Date: Mon Aug 10 20:32:22 2015 +0200 font chooser: Make repeated Escape cancel the dialog The first Escape clears the search entry, the second Escape closes the dialog. gtk/gtkfontchooserwidget.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 5f44339ce39e9d33652aa2d086bce87c98dd276e Author: Matthias Clasen Date: Mon Aug 10 20:21:33 2015 +0200 font chooser: Make the entry activate the default gtk/ui/gtkfontchooserwidget.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ecc8cd2369c26d7d0cde64be61c3be986e689f65 Author: Matthias Clasen Date: Mon Aug 10 20:17:58 2015 +0200 font chooser: Use browse as selection mode gtk/ui/gtkfontchooserwidget.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 61ffb517bc9211c7007d9274a74c6a7c23a3a112 Author: Matthias Clasen Date: Mon Aug 10 20:15:26 2015 +0200 font chooser: Make Escape stop search gtk/gtkfontchooserwidget.c | 9 ++++++++- gtk/ui/gtkfontchooserwidget.ui | 3 ++- 2 files changed, 10 insertions(+), 2 deletions(-) commit e548c7139496067dca2757124963e62ce115b4d1 Author: Georges Basile Stavracas Neto Date: Mon Aug 10 15:35:56 2015 -0300 placesview: show Disconnect instead of Eject Since we're dealing with networks, terms like "Eject" or the eject button are misleading, since we're not actually ejecting but disconnecting. Fix that by showing the appropriate icon and tooltip. gtk/gtkplacesview.c | 8 ++++++-- gtk/gtkplacesviewrow.c | 43 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkplacesviewrowprivate.h | 5 +++++ gtk/ui/gtkplacesviewrow.ui | 2 +- 4 files changed, 55 insertions(+), 3 deletions(-) commit 0dff2485165b13a7dd7264aff64a7dcce6e6bb5d Author: Georges Basile Stavracas Neto Date: Mon Aug 10 15:33:34 2015 -0300 placesview: sort by path As pointed out by Cosimo, we should sort the items according to their path. gtk/gtkplacesview.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit 025f74161d14b65345defdd263763c367be646a1 Author: Georges Basile Stavracas Neto Date: Mon Aug 10 15:24:43 2015 -0300 placesview: plug a leak gtk/gtkplacesview.c | 1 + 1 file changed, 1 insertion(+) commit 1219b67cdb14c904e7d956eff91a2c5152c1ce9b Author: Georges Basile Stavracas Neto Date: Mon Aug 10 14:46:23 2015 -0300 placesview: no url for networks We are not showing the URL of network locations anymore, since they are distracting and not necessary. The code, however, forgot to cleanup the URL, so we are still showing the URL for network locations. Fix that by properly cleanup the URL for network locations. gtk/gtkplacesview.c | 3 +++ 1 file changed, 3 insertions(+) commit 843a8791a6d2e9139cb0856daae965a291af49ef Author: Matthias Clasen Date: Mon Aug 10 16:38:04 2015 +0200 Adwaita: Don't leak underlines The .button:link .label selector matches any label "inside" a link button. And a label inside the context menu counts as inside for this purpose. This causes the text-decoration property to leak into the context menu, even though the property is not inherited. Avoid this by tightening the selector to .button:link > .label. https://bugzilla.gnome.org/show_bug.cgi?id=753451 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 203 +++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 203 +++++++++---------------------- 3 files changed, 121 insertions(+), 287 deletions(-) commit 5e3d0b19b05d6cd9e9568a13ce2a33b4a3f219f3 Author: Georges Basile Stavracas Neto Date: Mon Aug 10 10:42:43 2015 -0300 placesview: jumps to the default location When we connect to a server, the default and expected behavior is going to the default location, which usually is the home directory or a writable directory. GtkPlacesSidebar behaves properly, while GtkPlacesView doesn't. Fix that by jumping to the default locations instead of the root location. gtk/gtkplacesview.c | 32 ++++++++++++++++++++++++++------ 1 file changed, 26 insertions(+), 6 deletions(-) commit 525732b6233686c388e5b20ab529099d54b377f9 Author: Daniel Mustieles Date: Mon Aug 10 09:17:16 2015 +0200 Updated Spanish translation po-properties/es.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b9bced693a9e181bec9f81d1f808df2f94c03d82 Author: Matthias Clasen Date: Sun Aug 9 23:39:14 2015 +0200 Remove some unused data gtk/gtkcalendar.c | 6 ------ 1 file changed, 6 deletions(-) commit 3eb0eaffe2e1c44fd59980690cceb502b9eed915 Author: Matthias Clasen Date: Sun Aug 9 23:39:00 2015 +0200 Remove an unused function gtk/gtkbuilder.c | 9 --------- 1 file changed, 9 deletions(-) commit 62dce64a48e5483eca82c1f52690b1774e57d249 Author: Matthias Clasen Date: Sun Aug 9 23:38:40 2015 +0200 Remove a self-assignment clang doesn't like those. gtk/gtkbbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f851be3681553897b6965f4562767ae61860b9d Author: Matthias Clasen Date: Sun Aug 9 23:31:36 2015 +0200 Fix a doc comment typo gtk/gtkstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f6781788e13e5683a8bfeed150be51c7e84ccde Author: Necdet Yücel Date: Sun Aug 9 15:53:28 2015 +0000 Updated Turkish translation po/tr.po | 1265 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 639 insertions(+), 626 deletions(-) commit 37c09d92d21a90c20bd087ff4eaf438b7688aea2 Author: Pedro Albuquerque Date: Sun Aug 9 07:31:44 2015 +0000 Updated Portuguese translation po/pt.po | 107 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 54 insertions(+), 53 deletions(-) commit 9ecfffa830f1afa58fb562f450b79438d3c9b0e1 Author: Matthias Clasen Date: Sat Aug 8 23:05:53 2015 +0200 Formatting fixes gtk/gtkplacessidebar.c | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit b54fab2b89f6365e4c51cae6bac8580dd53242ed Author: Matthias Clasen Date: Sat Aug 8 22:27:29 2015 +0200 HighContrast: Fix undershoot in sidebars This was just not implemented, and the sidebars solid white background color was inherited by undershoot rectangle. https://bugzilla.gnome.org/show_bug.cgi?id=753391 gtk/theme/HighContrast/_common.scss | 19 ++++++++++++++++++ gtk/theme/HighContrast/_drawing.scss | 39 ++++++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 33 ++++++++++++++++++++++++++++++ 3 files changed, 91 insertions(+) commit d6f51ef7b299f0bdc7522ced74482c510dc947b4 Author: Kalev Lember Date: Sat Aug 8 16:33:42 2015 +0200 listbox: Avoid using show_all on rows Don't use gtk_widget_show_all() on row widgets because that would unconditionally show all of its children. This might be unwanted in case the row implementation wants to keep some of its children hidden. This commit changes it to use show() instead of show_all() and relies on the row widget to control the visibility of its children itself as appropriate. https://bugzilla.gnome.org/show_bug.cgi?id=753392 gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f4f8833b1d8a1bd17fd86f93f024c524d6284ac Author: Aurimas Černius Date: Sat Aug 8 17:09:56 2015 +0300 Updated Lithuanian translation po/lt.po | 1552 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1008 insertions(+), 544 deletions(-) commit e2e2c96bac4a02d09b3d2fdab1ae30143a89755f Author: Jordi Mas Date: Sat Aug 8 15:20:14 2015 +0200 Update Catalan translation po-properties/ca.po | 4562 ++++++++++++++++++++++++++------------------------- 1 file changed, 2369 insertions(+), 2193 deletions(-) commit 6eaf5bd0f2f432ced83fbc4f379e1d289873d400 Author: Christoph Reiter Date: Thu Aug 6 21:36:57 2015 +0200 quartz: Implement CSD drag resize for all edges/corners Manual resizing for CSD windows only worked with the bottom right corner. This extends it to work for all corners and edges. https://bugzilla.gnome.org/show_bug.cgi?id=753329 gdk/quartz/GdkQuartzNSWindow.c | 88 ++++++++++++++++++++++++++++++------------ gdk/quartz/GdkQuartzNSWindow.h | 4 +- gdk/quartz/gdkwindow-quartz.c | 8 +--- 3 files changed, 67 insertions(+), 33 deletions(-) commit 27afd624cdeb0e57dcc58e8d55e4af8d72777b0b Author: Matthias Clasen Date: Sat Aug 8 10:02:49 2015 +0200 HighContrast: Improve GtkCalendar drawing Make days gray that are not in the current month. https://bugzilla.gnome.org/show_bug.cgi?id=753357 gtk/theme/HighContrast/_common.scss | 3 +++ gtk/theme/HighContrast/gtk.css | 2 ++ 2 files changed, 5 insertions(+) commit defc0cf5df61cf556f7f0afbb9e7e4d118313cc2 Author: Matthias Clasen Date: Thu Aug 6 14:51:25 2015 +0200 file chooser button: Fix some refcounting confusion GtkFileSystem has a complicated way to handle cancellables. You keep the cancellable pointer that is returned by _gtk_file_system_get_info and similar methods so that you can cancel the operation, but you do not own a reference to it. The only place where it is ok to unref a cancellable is in your callback, which gets handed a cancellable that you need to unref at the end. You are expected to compare it to the pointer you stashed away to find out if the operation has already been superseded by a newer call, in which case you disregard the results. GtkFileChooserButton was following these rules for most of the cancellables it keeps around, but it was sometimes unreffing the cancellables that are stored in the model, which could lead to refcount confusion and crashes. This commit makes it follow the rules for that case too, which fixes the crash in the bug below, and does not show up any leaks in valgrind under light testing. https://bugzilla.gnome.org/show_bug.cgi?id=737804 gtk/gtkfilechooserbutton.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit f0a1a0c0a42d1ba82be967fbbf7219ea27c11ebd Author: Chun-wei Fan Date: Thu Jul 30 14:52:10 2015 +0800 gtk/gtkcsstypesprivate.h: Fix Build The recent change to the enum declaration for GtkCssChange actually relied on compiler-dependent behavior, which also breaks the build on some non-GCC compilers, such as Visual Studio. As noted in the G_STATIC_ASSERT line just beneath this declaration, we need to change this enum declaration to #define's, in order to fix the build in such situations. https://bugzilla.gnome.org/show_bug.cgi?id=752814 gtk/gtkcsstypesprivate.h | 84 +++++++++++++++++++++++------------------------- 1 file changed, 41 insertions(+), 43 deletions(-) commit dea3bb2690920e3fed6edc63b56dfad3dd843d84 Author: Matthias Clasen Date: Wed Aug 5 13:48:40 2015 -0400 3.17.6 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9711608ba3b711dd50bac005f34d6fd1c5e95ea5 Author: Matthias Clasen Date: Wed Aug 5 14:20:00 2015 -0400 Fix a doc comment gtk/gtkstack.c | 1 + 1 file changed, 1 insertion(+) commit f2060d68812b0451e5a7ce8b646e0bd3fe188221 Author: Matthias Clasen Date: Wed Aug 5 13:48:16 2015 -0400 Documentation fixes docs/reference/gtk/Makefile.am | 8 ++++++++ docs/reference/gtk/gtk3-sections.txt | 5 +++++ 2 files changed, 13 insertions(+) commit 239ac145f7cd818d8a3220d79cd4a55628ab9d73 Author: Matthias Clasen Date: Wed Aug 5 13:36:07 2015 -0400 Updates NEWS | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) commit 68e00e9e5d9d1213a34b84c8cb8964f9cb15bc97 Author: Ting-Wei Lan Date: Wed Aug 5 23:09:03 2015 +0800 placesview: Fix wrong property type when creating a GtkLabel The type of xalign property of GtkLabel is float, not int. Using wrong type crashes GtkFileChooser on x86_64 when compiling with clang. https://bugzilla.gnome.org/show_bug.cgi?id=753284 gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 359534ee59aa0572ca2bba2c509b93682ff5beeb Author: Marek Kasik Date: Wed Aug 5 11:14:39 2015 +0200 GtkScrolledWindow: Don't handle key event when can't scroll Don't return that a key event was handled when the corresponding scrollbar can not scroll. https://bugzilla.gnome.org/show_bug.cgi?id=753256 gtk/gtkscrolledwindow.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 01371085eebc3f53c4f4baeeae5752d703d14312 Author: Jakub Steiner Date: Wed Aug 5 14:05:57 2015 +0200 Adwaita: calendar button fix - provide insensitive button state for GtkCalendar buttons https://bugzilla.gnome.org/show_bug.cgi?id=753230 gtk/theme/Adwaita/_common.scss | 5 + gtk/theme/Adwaita/gtk-contained-dark.css | 207 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 207 ++++++++++++++++++++++--------- 3 files changed, 299 insertions(+), 120 deletions(-) commit e34ab3561f1c73a5e0af9c03c2678d44d864d2f6 Author: Matthias Clasen Date: Tue Aug 4 22:58:40 2015 -0400 color chooser: Use a popover for the context menu It works just as well here as it does in the file chooser, and this lets us unify the right-click and long-press behavior a bit. We used to switch directly to the editor on long-press, now we can show the popover, just as we do on right-click. gtk/gtkcolorswatch.c | 116 +++++++++++++++++++-------------------------------- 1 file changed, 44 insertions(+), 72 deletions(-) commit 27763743b1d1c1900932099ff10e64f4a2734148 Author: Jonas Ådahl Date: Mon Aug 3 14:26:39 2015 +0800 wayland: Don't assume drag context has a source window when finalizing Only a drag context which was created with 'drag_begin' will be guaranteed to have a source window at all times. Thus, in finalize we cannot assume we can retrieve a GdkDisplay from the source_window pointer since it may be NULL. Though, the display is only needed for contexts created via 'drag_begin' thus we can retrieve it after checking that is the case. https://bugzilla.gnome.org/show_bug.cgi?id=749339 gdk/wayland/gdkdnd-wayland.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 69c9cb85e2dfb5169a7d3b71b4ef7e9203126a83 Author: Carlos Garnacho Date: Tue Aug 4 15:54:40 2015 +0200 gtkwindow: bail out on WM operations in the presence of grabs These operations will require a grab on the WM side, so we can spare the attempt from the WM to take a grab when we're certain it won't suceed. https://bugzilla.gnome.org/show_bug.cgi?id=752327 gtk/gtkwindow.c | 7 +++++++ 1 file changed, 7 insertions(+) commit a6ca56969e85d0f482f86d08abf48aa7ce54012a Author: Carlos Garnacho Date: Tue Aug 4 15:49:34 2015 +0200 gtkmain: Don't process WM events if there's a grab on another toplevel This is implicitly done for us in the case of grabs on windows from other groups, but we must perform this check explicitly for grabs with owner_events=True on windows from the same group, in that case the window would handle the events as if there was no grab. https://bugzilla.gnome.org/show_bug.cgi?id=752327 gtk/gtkmain.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 56d39241a90c19ed37686b7bd7e3944b32bae94d Author: Matthias Clasen Date: Tue Aug 4 07:11:34 2015 -0400 inspector: Fix a typo Blocking a signal should be paired with unblocking. Spotted by Krzesimir Nowak gtk/inspector/object-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b10bfe128f8ab753137f1bd313982943df79af79 Author: Matthias Clasen Date: Mon Aug 3 22:35:36 2015 -0400 GtkButton: Pick up images that are set early We were failing to construct the child if an image was set before constructed (e.g. in the init() function of a button subclass). https://bugzilla.gnome.org/show_bug.cgi?id=753048 gtk/gtkbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba45fa09b49b54b5d5d50b17cb14fc8408571356 Author: Matthias Clasen Date: Mon Aug 3 22:16:34 2015 -0400 HighContrast: Avoid resizing treeview headers https://bugzilla.gnome.org/show_bug.cgi?id=753060 gtk/theme/HighContrast/_common.scss | 2 ++ gtk/theme/HighContrast/gtk.css | 2 ++ 2 files changed, 4 insertions(+) commit 198d99d6805d675f2fe92e2d54531e454342633a Author: Matthias Clasen Date: Sun Aug 2 20:58:19 2015 -0400 Whitespace fixes gtk/gtkfilechooserwidget.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit bd3b496586ee6dc295a6b5dfe00aa1ea65b6291d Author: Rui Matos Date: Sat Aug 1 17:03:49 2015 +0200 wayland: Ensure modal hint gets set on map We need to be mapped to have a gtk_surface and thus be able to do requests on it so we need to save the modal hint and apply it when we get mapped so that code that sets the hint before showing a window doesn't get ignored. https://bugzilla.gnome.org/show_bug.cgi?id=753138 gdk/wayland/gdkwindow-wayland.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit 36263076b26453fcbda5a000de93e8ad64d7d85e Author: Rui Matos Date: Sat Aug 1 17:08:30 2015 +0200 wayland: Invalidate our gtk_surface when we're unmapped Otherwise if we get mapped again we'll try to use an invalid gtk_surface and the compositor will disconnect us. https://bugzilla.gnome.org/show_bug.cgi?id=753138 gdk/wayland/gdkwindow-wayland.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 61ba7adfc8f1b3ec9ea8deb25d63ca5898f6559c Author: Timm Bäder Date: Mon Jul 27 15:04:18 2015 +0200 GtkLabel: Show erroneous text if parsing markup failed https://bugzilla.gnome.org/show_bug.cgi?id=752920 gtk/gtklabel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 14de03cedf74524a952a605eb76d7b445c9a0bad Author: Matthias Clasen Date: Sun Aug 2 20:42:42 2015 -0400 file chooser: Don't leave out icons by accident We only load thumbnails when we find that the row is in the visible range of the treeview. It seems that animated scrolling makes it so that the bottommost row stays out of the visible range until it is too late. To work around this, extend the range by one row in each direction. http://bugzilla.gnome.org/show_bug.cgi?id=753142 gtk/gtkfilechooserwidget.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 9cbd9c41870ca09e2fae0f02fc0544909b105223 Author: Jasper St. Pierre Date: Sun Aug 2 12:55:10 2015 -0700 Adwaita: Remove non-working selector This was suppsed to be ".list-row.button", I'd imagine, but the missing dot meant it never worked in the first place. Just clean it up. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 479 +++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 479 +++++++++++++------------------ 3 files changed, 393 insertions(+), 567 deletions(-) commit 03ae86d9f63e61da869fca319be243ca519559ac Author: Jasper St. Pierre Date: Sun Aug 2 12:51:21 2015 -0700 Don't trigger extraneous redraws on font / text-attr changes Any time that these change, we shouldn't need to force a redraw on the widget either. gtk/gtkcsstypesprivate.h | 2 -- 1 file changed, 2 deletions(-) commit 4da945dc4be6bb1bd14000927c2092053cea3659 Author: Jasper St. Pierre Date: Sun Aug 2 12:37:03 2015 -0700 widget: Don't queue redraws for properties that don't affect anything Properties like transition-property might change when hovering over something, even if the property itself does not change. These properties don't affect drawing, so don't queue redraws for them. gtk/gtkcsstypesprivate.h | 9 +++++++++ gtk/gtkwidget.c | 9 ++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) commit 36c0c9d0b86a1a33728a7a680c824589eb853106 Author: Jasper St. Pierre Date: Sun Aug 2 12:36:28 2015 -0700 listbox: Don't queue draws on the entire widget The set_state_flags code should already queue redraws when needed. gtk/gtklistbox.c | 5 ----- 1 file changed, 5 deletions(-) commit ce75c835e1710c9c6db4fa9d45ca96a4faafa85f Author: Jasper St. Pierre Date: Sun Aug 2 12:35:45 2015 -0700 cssimage: Don't start a transition if the start and end are the same Since a lot of Adwaita sets transition: all, it's easy to end up in a state where we're making dummy transitions for all of the icons, most of which we'll never be showing. gtk/gtkcssimage.c | 2 ++ 1 file changed, 2 insertions(+) commit 142efd186ded65597d3c7b32b0b6471c8d68f384 Author: Matthias Clasen Date: Sun Aug 2 15:20:17 2015 -0400 Inspector: Preserve selection when rescanning We are semiregularly repopulating the object tree. Whenever we do, we loose the selection, needlessly. Do the extra work to preserve it. http://bugzilla.gnome.org/show_bug.cgi?id=753130 gtk/inspector/inspect-button.c | 9 +++--- gtk/inspector/object-tree.c | 64 +++++++++++++++++++++++++++++------------- gtk/inspector/object-tree.h | 2 +- 3 files changed, 51 insertions(+), 24 deletions(-) commit ca8f6dd7f6f49bcd7627e5adcebf9f29148b5d3e Author: Paolo Borelli Date: Sat Aug 1 21:31:49 2015 +0200 cleanup: do not set members to null in finalize gtk/gtkimcontextsimple.c | 1 - 1 file changed, 1 deletion(-) commit 3fec677da05ff57af0d1732cd0c2b69818df05d9 Author: Paolo Borelli Date: Sat Aug 1 21:30:53 2015 +0200 cleanup: no need to set members to null when freeing the struct gtk/gtkrecentmanager.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit 7921ac510ee61a29b2f93dcd06442df05c7ce900 Author: Paolo Borelli Date: Sat Aug 1 21:30:16 2015 +0200 cleanup: one more g_slist_free_full gtk/gtkrecentfilter.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit 05205473359abdd4a3c94204c322a854a9450fb3 Author: Piotr Drąg Date: Sat Aug 1 19:25:16 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 4d6112681493e2ec9dd61dea6c19f5c13694f985 Author: Pedro Albuquerque Date: Sat Aug 1 10:02:32 2015 +0000 Updated Portuguese translation po/pt.po | 539 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 274 insertions(+), 265 deletions(-) commit 725e7c399e1e49101482b15193adeab8674d0aa7 Author: Pedro Albuquerque Date: Sat Aug 1 09:55:44 2015 +0000 Updated Portuguese translation po-properties/pt.po | 909 +++++++++++++++++++++++++++------------------------- 1 file changed, 468 insertions(+), 441 deletions(-) commit 186e94bafb2880e8947ac45c6216e637605f98fd Author: Benjamin Otte Date: Sat Aug 1 05:49:54 2015 +0200 searchenginetracker: Ignore NULL directories gtk/gtksearchenginetracker.c | 3 +++ 1 file changed, 3 insertions(+) commit 93171cf4f346c0a5e71f274d012c3cacfe3880ba Author: Jasper St. Pierre Date: Fri Jul 31 20:21:20 2015 -0700 gtkoverlay: Optimize size allocations Doing raises / lowers here will invalidate the entire child widget almost every time, since raising each widget causes it to invalidate that area. gtk/gtkoverlay.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 9f24b54786d8371f77f9ba0c4475ed82b2e0e68f Author: Matthias Clasen Date: Fri Jul 31 17:57:04 2015 -0400 Code cleanup Use g_slist_free_full more consistently. This commit just converts the obvious cases where g_slist_forall is directly followed by g_slist_free. gdk/gdkdisplay.c | 4 +--- gdk/x11/gdkapplaunchcontext-x11.c | 3 +-- gdk/x11/gdkdisplay-x11.c | 3 +-- gtk/deprecated/gtkrc.c | 7 ++----- gtk/deprecated/gtkstyle.c | 6 ++---- gtk/gtkaboutdialog.c | 10 +++------- gtk/gtkbookmarksmanager.c | 14 +++++--------- gtk/gtkbuilder.c | 6 ++---- gtk/gtkbuilderparser.c | 13 ++++--------- gtk/gtkcellarea.c | 7 ++----- gtk/gtkcellareabox.c | 15 +++++++-------- gtk/gtkfilechooser.c | 15 +++++---------- gtk/gtkfilechooserbutton.c | 11 ++++------- gtk/gtkfilechooserdialog.c | 3 +-- gtk/gtkfilechooserwidget.c | 9 +++------ gtk/gtkfilefilter.c | 3 +-- gtk/gtkfilesystem.c | 6 ++---- gtk/gtkimcontextsimple.c | 9 ++------- gtk/gtkimmodule.c | 9 +-------- gtk/gtkplacessidebar.c | 3 +-- gtk/gtkrecentchooserdefault.c | 3 +-- gtk/gtkrecentmanager.c | 12 ++---------- gtk/gtktextbuffer.c | 4 +--- gtk/gtktextchild.c | 12 ++---------- gtk/gtkwidget.c | 3 +-- 25 files changed, 57 insertions(+), 133 deletions(-) commit 9dd2645c4a591e154c2e1fe9e6bd5677c56e928a Author: Jakub Steiner Date: Sat Aug 1 02:21:30 2015 +0200 HC: shade spinbuttons as entries https://bugzilla.gnome.org/show_bug.cgi?id=746491 gtk/theme/HighContrast/_common.scss | 7 +++++-- gtk/theme/HighContrast/gtk.css | 16 ++++++++++++---- 2 files changed, 17 insertions(+), 6 deletions(-) commit b0481811574fd95b96724e4be8fcc0e8d43727e9 Author: Matthias Clasen Date: Fri Jul 31 16:36:02 2015 -0400 gtk-demo: Add a scale example demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 4 ++ demos/gtk-demo/scale.c | 38 ++++++++++ demos/gtk-demo/scale.ui | 143 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 186 insertions(+) commit fb0a13b7f070a14312dafa1e4df6ba03cf33be01 Author: Matthias Clasen Date: Fri Jul 31 07:03:25 2015 -0400 file chooser: Allow activating without double-click Interpret a unmodified primary click on the selection like a double click. This makes it possible to activate a file or open a folder without using double-click. gtk/gtkfilechooserwidget.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit 28b4599f9b9907a1de49f83539e7f56f603fa892 Author: Matthias Clasen Date: Fri Jul 31 13:45:17 2015 -0400 gesture single: Use gtk_simulate_touchscreen Instead of manual tests. gtk/gtkgesturesingle.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 72d0b4d2c291b8514f04c5fe2838d9c5c1ee4fd8 Author: Matthias Clasen Date: Fri Jul 31 13:44:56 2015 -0400 text view: Use gtk_simulate_touchscreen Instead of repeated manual tests. gtk/gtktextview.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 5aa1f0923c467d00a38da17b114c0b3f0bfdbced Author: Matthias Clasen Date: Fri Jul 31 13:44:11 2015 -0400 entry: Use gtk_simulate_touchscreen Instead of repeated manual checks. gtk/gtkentry.c | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 98121aa302e48457791c56abce904f55d20ce7f5 Author: Matthias Clasen Date: Fri Jul 31 13:30:05 2015 -0400 Add a private function to determine if we simulate These same two or three tests are currently duplicated in several places, with separate static variables. Lets do this in one place. gtk/gtkmain.c | 11 +++++++++++ gtk/gtkprivate.h | 2 ++ 2 files changed, 13 insertions(+) commit 230c248326ee7b4a144f27026434052a645008a7 Author: Jakub Steiner Date: Fri Jul 31 15:42:34 2015 +0200 HC: custom color button fixes https://bugzilla.gnome.org/show_bug.cgi?id=753051 gtk/theme/HighContrast/_common.scss | 14 +++++++++++--- gtk/theme/HighContrast/gtk.css | 14 +++++++++----- 2 files changed, 20 insertions(+), 8 deletions(-) commit 18dddddbabab9f7cd7afa9bd2cd3ddff6b94f972 Author: Christian Dywan Date: Fri Sep 4 12:32:00 2009 +0000 entry completion: Clarify index in documentation https://bugzilla.gnome.org/show_bug.cgi?id=579466 gtk/gtkentrycompletion.c | 6 ++++++ 1 file changed, 6 insertions(+) commit c514d1dd5e212c6dcbeec1cf006f99f985c4070f Author: Matthias Clasen Date: Fri Jul 31 07:12:35 2015 -0400 testfilechooser: Say Save Thats a more typical affirmative action in save mode. tests/testfilechooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f194564ff465af37f0317b4e05ec26a7d44c26b Author: Matthias Clasen Date: Fri Jul 31 00:50:47 2015 -0400 Use pango_fc_font_map_config_changed Use pango_fc_font_map_confit_changed() instead of pango_fc_font_map_cache_clear(). https://bugzilla.gnome.org/show_bug.cgi?id=748772 gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 65f7fb04ad3cd59ac87ac13a3a59ac18c65c610c Author: Carlos Garnacho Date: Thu Jul 23 14:26:25 2015 +0200 GtkMenuButton: explicitly protect against recursion The visibility toggling happening on ::click() relied implicitly on the popover animation, but breaks on disabled animations. The recursion happening within gtk_toggle_button_set_active() (which triggers ::clicked when changing state) makes this vfunc to run again, inverting the visibility of the popover in result. Fix this by explicitly checking about recursion, we want the button to be toggled to the right state, but we don't want the callback running again. https://bugzilla.gnome.org/show_bug.cgi?id=752577 gtk/gtkmenubutton.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 2550c6a4db0e5427d5c793eb1757acd51642471c Author: Benjamin Otte Date: Wed Jul 29 01:12:09 2015 +0200 combobox: Refactor cell view treatment Instead of putting it inside the button manually, put it there properly by adding a box containing the cell view and the arrow. Do the same thing in list mode, instead of creating an event box that tries to behave as a button. gtk/gtkcombobox.c | 366 ++++++++++++-------------------------------------- gtk/ui/gtkcombobox.ui | 12 +- 2 files changed, 98 insertions(+), 280 deletions(-) commit bbd9c5983211244ec5bc8fb0ecc0e67d9f8345a6 Author: Benjamin Otte Date: Wed Jul 29 22:25:52 2015 +0200 combobox: Handle NULLing the cellview on remove simpler gtk/gtkcombobox.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 1261ec985bc856bc9efde4aec7cc68b72ede12d6 Author: Benjamin Otte Date: Tue Jul 28 19:21:15 2015 +0200 combobox: Remove unused variables gtk/gtkcombobox.c | 5 ----- 1 file changed, 5 deletions(-) commit 62c43aac4399f60b41efcbf3c824d5d47dc2a652 Author: Benjamin Otte Date: Tue Jul 28 18:57:48 2015 +0200 combobox: Create cell view identically ... in the two places it can be created. gtk/gtkcombobox.c | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) commit ec338b0ab6a17e901e08f7ca88f25f64b520f591 Author: Matthias Clasen Date: Thu Jul 30 14:03:17 2015 -0400 file chooser: Don't crawl recent:// This is unnecessary - all the recent files are in the model already. It also leads to duplicates, since our duplicate filtering is based on g_file_equal, which does not consider recent:///blabla with target-uri=/my/example to be the same as file:///my/example. gtk/gtksearchenginesimple.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7d91ca31836bf6918bf9b10724ad9b31934b361f Author: Matthias Clasen Date: Thu Jul 30 10:32:44 2015 -0400 widget-factory: Test busy state Makes it easy to test insensitive state of widgets.i Also exposes brokenness in the shell busy indicator... demos/widget-factory/widget-factory.c | 34 +++++++++++++++++++++++++++++++++- demos/widget-factory/widget-factory.ui | 4 ++++ 2 files changed, 37 insertions(+), 1 deletion(-) commit ffec25b0155304e7d047dedde514c61de1ffcdc2 Author: Jakub Steiner Date: Thu Jul 30 14:01:32 2015 +0200 HC: no need for green in scales gtk/theme/HighContrast/_common.scss | 6 +++--- gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit cd08b427c962ab57f34b2bacae46d6b946b00988 Author: Jakub Steiner Date: Thu Jul 30 13:54:29 2015 +0200 HC: fix typo gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ce3ebaf6f9327834e41126d36c1ecc01a142c70b Author: Matthias Clasen Date: Wed Jul 29 23:17:43 2015 -0400 Expand builder menu documentation List the supported attributes. gtk/gtkapplicationwindow.c | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) commit 6bf2e9e7a773f6848788771f262737f5904db0b0 Author: Matthias Clasen Date: Wed Jul 29 19:15:08 2015 -0400 gtk-demo: Move the transparent example under Overlay demos/gtk-demo/transparent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ce7c76cdadbe3809d5c83a5f9eee5b693aa7ca6 Author: Matthias Clasen Date: Wed Jul 29 19:07:56 2015 -0400 gtk-demo: Rename textview demos to "Text View" Fits better with "Tree View". demos/gtk-demo/hypertext.c | 2 +- demos/gtk-demo/markup.c | 2 +- demos/gtk-demo/textscroll.c | 2 +- demos/gtk-demo/textview.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit 94120094ab14653b24d0d9f858604fbefaa455cd Author: Matthias Clasen Date: Wed Jul 29 19:05:25 2015 -0400 gtk-demo: Tweak the markup demo demos/gtk-demo/markup.c | 2 +- demos/gtk-demo/markup.txt | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) commit 627886c682f834a4b5a7b1c88344200d4ea6d7a3 Author: Matthias Clasen Date: Wed Jul 29 18:35:56 2015 -0400 gtk-demo: Add font features to markup demo demos/gtk-demo/markup.txt | 1 + 1 file changed, 1 insertion(+) commit c6838fbff0dba67cc067978beb9cd4a2dbe90e5f Author: Matthias Clasen Date: Wed Jul 29 18:28:56 2015 -0400 GtkTextView: Support font features Add a ::font-features attribute to GtkTextTag, and support font features when inserting Pango markup into a text buffer. gtk/gtktextattributes.c | 15 ++++++++++++++- gtk/gtktextattributes.h | 17 ++++++++++++++++- gtk/gtktextbuffer.c | 4 ++++ gtk/gtktextlayout.c | 12 ++++++++++-- gtk/gtktexttag.c | 42 +++++++++++++++++++++++++++++++++++++++++- gtk/gtktexttagprivate.h | 1 + 6 files changed, 86 insertions(+), 5 deletions(-) commit 98f9532a22bc37118f5958f795c5167714d31e00 Author: Georges Basile Stavracas Neto Date: Wed Jul 29 19:37:19 2015 -0300 placesview: don't show mount for Computer row The "Computer" row from places view is an abstract volume that represents the root of the current partition. As such, it cannot be mounted or unmounted. Remove the related item on context menu for Computer row. gtk/gtkplacesview.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 08addd98599d595c7564946e399156ece06160fe Author: Christian Hergert Date: Wed Jul 29 12:57:22 2015 -0700 fontchooserwidget: use appropriate model for GtkTreeIter We were previously mixing the model used when filtering with an iter that has been resolved to the backing model. This results in both an invalid row index as well as an invalid iter->stamp. gtk/gtkfontchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8695cf3c5a6195aa46afafe64ade0dff55f3765c Author: Matthias Clasen Date: Wed Jul 29 15:15:10 2015 -0400 Fix oversights in templates Some of our templates were not setting the domain attribute on the element. gtk/ui/gtkapplication-quartz.ui | 3 ++- gtk/ui/gtkfilechooserdialog.ui | 2 +- gtk/ui/gtkplacesview.ui | 2 +- gtk/ui/gtkplacesviewrow.ui | 2 +- gtk/ui/gtksidebarrow.ui | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) commit 3c2a759c21cbf978dbde86c588cdc8ec7b0dfd80 Author: Matthias Clasen Date: Wed Jul 29 13:03:56 2015 -0400 gtk3-demo: Add a markup demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 4 +++ demos/gtk-demo/markup.c | 64 +++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/markup.txt | 14 +++++++++ 4 files changed, 83 insertions(+) commit b5a684de6887d233304a009e5f0126dcac4dc36c Author: Jakub Steiner Date: Wed Jul 29 13:32:34 2015 +0200 HC: make progressbar labels more visible - use the same colro as regular labels, no need to be more subtle https://bugzilla.gnome.org/show_bug.cgi?id=752978 gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a0ee054bb1f776a4ff688de7aebd142b4d74d3a9 Author: Jakub Steiner Date: Wed Jul 29 13:26:42 2015 +0200 HC: make pushed columns visible https://bugzilla.gnome.org/show_bug.cgi?id=752977 gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 66cacaf725bf2030260cd311778813b05a92f3c0 Author: Jakub Steiner Date: Wed Jul 29 13:24:11 2015 +0200 HC: provide explicit treeview styling deals with some details like: - DND stuff - progressbar - expanders - separators https://bugzilla.gnome.org/show_bug.cgi?id=752975 gtk/theme/HighContrast/_common.scss | 90 ++++++++++++++++++++++++++++++++++++- gtk/theme/HighContrast/gtk.css | 71 ++++++++++++++++++++++++++++- 2 files changed, 158 insertions(+), 3 deletions(-) commit 2cd86139fac7e3e4d1307735606517e2581d5531 Author: Jakub Steiner Date: Wed Jul 29 12:40:16 2015 +0200 HC: :checked:hover color fix for menuitems https://bugzilla.gnome.org/show_bug.cgi?id=752969 gtk/theme/HighContrast/_common.scss | 2 -- gtk/theme/HighContrast/gtk.css | 10 ++-------- 2 files changed, 2 insertions(+), 10 deletions(-) commit 9dabc4efd5c764d36c0567500a967a6503cb8e9d Author: Jakub Steiner Date: Wed Jul 29 12:34:44 2015 +0200 HC: make link buttons distinct https://bugzilla.gnome.org/show_bug.cgi?id=752965 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 3cf28a835f51db62697a1d96faafa8a705a7036e Author: Jakub Steiner Date: Wed Jul 29 12:20:28 2015 +0200 HC: whitespace for sidebar - make some room around the sidebar icons https://bugzilla.gnome.org/show_bug.cgi?id=752960 gtk/theme/HighContrast/_common.scss | 22 ++++ gtk/theme/HighContrast/gtk.css | 255 +++++++++++++++++++----------------- 2 files changed, 156 insertions(+), 121 deletions(-) commit 1fb154e62a6b3cfb2cc6ed89c3a891950ca6a325 Author: Matthias Clasen Date: Tue Jul 28 23:48:10 2015 -0400 gtk3-demo: Add a scrollbar context menu Just to demonstrate the capability, not because this is excellent UI. demos/gtk-demo/main.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/main.ui | 2 +- 2 files changed, 49 insertions(+), 1 deletion(-) commit 763bf27d9c5867328ab40872b3aaff77bc874769 Author: Matthias Clasen Date: Tue Jul 28 22:47:07 2015 -0400 gtk3-demo: Add another overlay demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/decor1.png | Bin 0 -> 17170 bytes demos/gtk-demo/decor2.png | Bin 0 -> 17248 bytes demos/gtk-demo/demo.gresource.xml | 5 ++ demos/gtk-demo/overlay.c | 4 +- demos/gtk-demo/overlay2.c | 105 ++++++++++++++++++++++++++++++++++++++ 6 files changed, 113 insertions(+), 2 deletions(-) commit e51946270a0dc0c3fd359125103af6a0c0ab7ab6 Author: Georges Basile Stavracas Neto Date: Tue Jul 28 11:46:25 2015 -0300 placesview: simplify code Since we started adding a persistent Computer item, all the code related to the view modes became obsolete, since the view is never empty anymore. So, drop this dead code and use the plain stack to manage the empty search results view. Also, this patch fixed a very annoying keyboard navigation issue where we couldn't go from the On This Computer to Networks lists, because they were two separate widgets. Merge the two lists into a single one, and update headers accordingly. gtk/gtkplacesview.c | 229 +++++++++++++++++++++++------------------------- gtk/ui/gtkplacesview.ui | 182 ++------------------------------------ 2 files changed, 114 insertions(+), 297 deletions(-) commit da114047198048cb4c1defc49c0a427dfcdbf408 Author: Georges Basile Stavracas Neto Date: Tue Jul 28 07:41:32 2015 -0300 placesviewrow: hook up finalize It is needed to hook up the finalize method, since it's overriden manually. gtk/gtkplacesviewrow.c | 2 ++ 1 file changed, 2 insertions(+) commit c3b634537755facd1d1e93b03945d7df0dc16649 Author: Georges Basile Stavracas Neto Date: Tue Jul 28 07:08:03 2015 -0300 placessidebar: fix ellipsizing glitch The places sidebar rows' labels were missing a proper xalign, which caused the labels to keep shaking while the sidebar was resized. Fix that by setting the label's xalign to 0. gtk/ui/gtksidebarrow.ui | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 317ba620e21340286602ac4d40bee641f9c61903 Author: Georges Basile Stavracas Neto Date: Tue Jul 28 06:51:14 2015 -0300 placesview: plug some memory leaks The GFile containing the Computer item was not properly dereferenced, so plug that leak by both dereferencing it and adding some reference management on GtkPlacesViewRow. gtk/gtkplacesview.c | 3 +++ gtk/gtkplacesviewrow.c | 17 ++++++++++++++--- 2 files changed, 17 insertions(+), 3 deletions(-) commit a5e762e6a736ebaec8e32afb823f737d7b7def68 Author: Georges Basile Stavracas Neto Date: Mon Jul 27 16:52:37 2015 -0300 placesview: show Computer item GtkPlacesView widget manages persistent locations, factoring out GtkPlacesSidebar functionality. It, however, does not completely shows all sidebar locations, since Computer is still missing. Add a Computer item, adjusting some internal behavior to make that possible. gtk/gtkplacesview.c | 37 +++++++++++++++++++++++++++++++++++-- gtk/gtkplacesviewrow.c | 25 +++++++++++++++++++++++++ gtk/gtkplacesviewrowprivate.h | 2 ++ gtk/ui/gtkplacesviewrow.ui | 2 ++ 4 files changed, 64 insertions(+), 2 deletions(-) commit 5134e4b3bde9014159e6b47d60e1947608a9feff Author: Georges Basile Stavracas Neto Date: Mon Jul 27 16:51:23 2015 -0300 placesview: don't show network addresses It is distracting, not relevant and too space consuming. Remove the network addresses label. gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c00f216d922e0ec0e5341bfa24eb8568a359770b Author: Georges Basile Stavracas Neto Date: Mon Jul 27 16:49:18 2015 -0300 placesview: fix documentation The doc for gtk_places_view_get_search_query was being set twice, while gtk_places_view_set_search_query was never set. Fix that by correcting the wrong getter documentation. gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ea3a80c19f38ea25448b932b5ff325e43ebde1c8 Author: Georges Basile Stavracas Neto Date: Mon Jul 27 16:47:40 2015 -0300 placessidebar: fix documentation Use the same explanation of why GtkPlacesSidebar::show-connect-server was deprecated and its replacements on getter and setter. Also, fix a mistakenly deprecated function. gtk/gtkplacessidebar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit df50858dfd1296e3c7a50cf65e3762abd9d9bab0 Author: Matthias Clasen Date: Tue Jul 28 01:14:49 2015 -0400 inspector: Show monitor information This is useful to verify the monitor information returned by other backends. gtk/inspector/general.c | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) commit bc68600cb043b60c3e1a3ffe47e485553b45a841 Author: Matthias Clasen Date: Tue Jul 28 00:46:34 2015 -0400 inspector: Show wayland display information Don't call it "X display" when we show useful information under Wayland as well. gtk/inspector/general.c | 4 ++-- gtk/inspector/general.ui | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 7d87eebfe7771ec81dfc77794545ad04c36afffe Author: Matthias Clasen Date: Tue Jul 28 00:43:54 2015 -0400 wayland: Return a display name Make gdk_screen_make_display_name() return a likely correct name for the Wayland socket we are using. gdk/wayland/gdkscreen-wayland.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 55edc81c10742bf3e410168f6dc317f8aca05938 Author: Matthias Clasen Date: Mon Jul 27 23:18:27 2015 -0400 x11: Make selection handling work across screens When dealing with selection events, we might see windows from other screens in the requestor field. The current x11 backend code fails to wrap these in a foreign GdkWindow, since we don't have the corresponding GdkScreen anymore. Work around this by creating such 'foreign screens' on demand. We still maintain the 1:1 relation between the display and the screen returned by gdk_display_get_default_screen(). https://bugzilla.gnome.org/show_bug.cgi?id=721398 gdk/x11/gdkdisplay-x11.c | 29 +++++++++++++++++++++++++++-- gdk/x11/gdkdisplay-x11.h | 1 + 2 files changed, 28 insertions(+), 2 deletions(-) commit 1b43c3f493e577688b22e6c0383d7a1695b66cbc Author: Jordi Mas Date: Mon Jul 27 23:03:13 2015 +0200 Update Catalan translation po/ca.po | 4150 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 2060 insertions(+), 2090 deletions(-) commit 4050abe2fa435403b531bb49da34ec5b623cbf37 Author: Matthias Clasen Date: Mon Jul 27 14:54:13 2015 -0400 Plug a memory leak GtkCssProvider was using the wrong unref function for GtkCssKeyframe objects. Funnily, this didn't crash at all, the refcount was at the same place in the struct - it just didn't free all the memory, causing valgrind to complain. gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 048d710d676f79784502ee86fefd3b4c9993014e Author: Christoph Reiter Date: Fri Jul 24 15:28:27 2015 +0200 quartz app menu: add hidpi support for menu icons Use the new cairo to NSImage converter function to set the device scale. Remove the pixbuf converter function as this was the last user. gtk/gtkapplication-quartz-menu.c | 32 +++++++++++++++++++++++- gtk/gtkquartz.c | 54 ---------------------------------------- gtk/gtkquartz.h | 2 -- 3 files changed, 31 insertions(+), 57 deletions(-) commit 4b23ba53c51a087851788c67f852281b085c9c33 Author: Christoph Reiter Date: Fri Jul 24 15:09:48 2015 +0200 quartz dnd: add hidpi support for gtk_drag_set_icon_surface() Instead of storing the dnd icon as a pixbuf store it as a cairo surface and transfer the device scale when converting it to a NSImage. In the pixbuf/stock/named setters convert to a surface instead (no hidpi support yet) gtk/gtkdnd-quartz.c | 86 ++++++++++++++++---------------------------- gtk/gtkquartz.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkquartz.h | 2 ++ 3 files changed, 132 insertions(+), 56 deletions(-) commit 5003b5873a5e727a2b194bb5c4d8d784cc25b1e4 Author: Christoph Reiter Date: Fri Jul 24 13:57:35 2015 +0200 quartz dnd: fix drag icon position relative to cursor position The y axis is reversed on osx gtk/gtkdnd-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c329f5b3a9188411e148351fb93d60cfb2f227e Author: Christoph Reiter Date: Sun Jul 19 20:13:22 2015 +0200 quartz: disable system shadows if a GdkWindow shadow is set. The shadow will be drawn in the wrong place in those cases so all we can do is disable it. This fixes double shadows drawn around menus, popups and tooltips. https://bugzilla.gnome.org/show_bug.cgi?id=734984 gdk/quartz/gdkwindow-quartz.c | 20 ++++++++++++++++++-- gdk/quartz/gdkwindow-quartz.h | 2 ++ 2 files changed, 20 insertions(+), 2 deletions(-) commit e0339c5244a7b92569b761076dc0e6577687069d Author: Georges Basile Stavracas Neto Date: Sun Jul 19 22:09:29 2015 -0300 placessidebar: show Computer item when not in Other Locations Previous commits removed from places sidebar the code related to displaying the Computer item, which should be shown when the sidebar is not displaying the Other Locations item. Add back the item when the sidebar is not in Other Locations' mode. gtk/gtkplacessidebar.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit ee73e27fd7040290227f53cf989fd2d7d993c69f Author: Patrick Griffis Date: Mon Jul 27 09:33:32 2015 -0400 quartz: Fix building Broken by 6d04183c5d6 and 6ac07a2e85ea gdk/quartz/GdkQuartzNSWindow.c | 6 +++--- gtk/gtkdnd-quartz.c | 7 ++++--- 2 files changed, 7 insertions(+), 6 deletions(-) commit 49a596aa521c3a936cca02046843786eadabb1eb Author: Matthias Clasen Date: Fri Jul 24 16:26:32 2015 -0400 file chooser: Note when searching remote locations Inform the user that we won't search recursively when searching in remote locations. gtk/gtkfilechooserwidget.c | 6 ++ gtk/ui/gtkfilechooserwidget.ui | 159 +++++++++++++++++++++++------------------ 2 files changed, 95 insertions(+), 70 deletions(-) commit eee85d39e56205976ab8b215e1e3e92e9d8c4913 Author: Matthias Clasen Date: Fri Jul 24 00:40:59 2015 -0400 Avoid more GFile<>uri roundtrips Make GtkSearchHit carry a GFile instead of an uri. Most of the search engines already have the object around, and converting to an uri and back is unnecessary extra work. gtk/gtkfilechooserwidget.c | 4 +--- gtk/gtksearchengine.c | 8 ++++---- gtk/gtksearchengine.h | 2 +- gtk/gtksearchenginemodel.c | 2 +- gtk/gtksearchenginesimple.c | 2 +- gtk/gtksearchenginetracker.c | 2 +- 6 files changed, 9 insertions(+), 11 deletions(-) commit f7bba525fc7a02443907b5baf365ac09c2009775 Author: Matthias Clasen Date: Fri Jul 24 15:52:37 2015 -0400 search engine: Don't crawl remote locations This is slow, and causes too much network I/O. So skip locations that look like they are remote. gtk/gtksearchenginesimple.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 93bfec3ac525260a4a45b11fd321c43d2ee517fe Author: Matthias Clasen Date: Fri Jul 24 16:01:25 2015 -0400 Add a helper function for remote locations Add a helper function that says whether a location should be considered remote. To determine this, we look at the filesystem type reported by gvfs, and say 'remote' for sftp, webdav, ftp, nfs and cifs. gtk/gtkfilesystem.c | 31 +++++++++++++++++++++++++++++++ gtk/gtkfilesystem.h | 2 ++ 2 files changed, 33 insertions(+) commit 30de4cc7bbaa3d36ebfeb761582c9cc987635fc6 Author: Matthias Clasen Date: Fri Jul 24 15:44:20 2015 -0400 Actually use search results from the model We didn't connect to the signals, so we never picked up any search results from the model engine. Good thing, since it was returning the wrong thing. gtk/gtksearchengine.c | 1 + 1 file changed, 1 insertion(+) commit 1069e2b9ccbb9c9a63fe56c93026209ab5839897 Author: Matthias Clasen Date: Fri Jul 24 15:41:45 2015 -0400 Port to GtkSearchHit GtkSearchEngineModel was still trying to return uris as hits. This is not working anymore, we are expected to return GtkSearchHit structs. gtk/gtksearchenginemodel.c | 31 +++++++++++++------------------ 1 file changed, 13 insertions(+), 18 deletions(-) commit 48c172f4e02090fe85efdf80666c1355b1a8293b Author: Matthias Clasen Date: Fri Jul 24 15:37:03 2015 -0400 Always pass a location into the query Failure to do so was causing search to start from the home dir when the current folder is not represented on the sidebar. gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 71b3e0b66b9a9b14ac7e87fdb019e50e4bd23148 Author: Matthias Clasen Date: Fri Jul 24 15:29:51 2015 -0400 Store locations as GFile It is a bit pointless to have the file chooser get a uri from an existing GFile to put in the query, only to have some of the search engines reconstruct a GFile from it. gtk/gtkfilechooserwidget.c | 5 +---- gtk/gtkquery.c | 15 +++++++-------- gtk/gtkquery.h | 6 +++--- gtk/gtksearchenginesimple.c | 7 +++---- gtk/gtksearchenginetracker.c | 8 +++++--- 5 files changed, 19 insertions(+), 22 deletions(-) commit 859db92183bb5d44946819c9a153e8f66c406a7e Author: Matthias Clasen Date: Mon Jul 27 08:06:32 2015 -0400 Remove a redundant assignment gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 48815d2c7d6a795a1eed4cb463ad4752c0a646be Author: Dušan Kazik Date: Mon Jul 27 08:21:37 2015 +0000 Updated Slovak translation po/sk.po | 824 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 497 insertions(+), 327 deletions(-) commit 0a6b6244402b2afe323a8059e29b220121ad0aaf Author: Dimitris Spingos Date: Mon Jul 27 12:36:37 2015 +0300 Updated Greek translation po-properties/el.po | 1206 +++++++++++++++++++++++++++------------------------ po/el.po | 656 ++++++++++++++++------------ 2 files changed, 1005 insertions(+), 857 deletions(-) commit 5e2ab6db7fd12c282d6ce722b6597a70eff47e6c Author: Benjamin Otte Date: Sun Jul 26 00:06:46 2015 +0200 combobox: Use ui file to construct internal button child gtk/Makefile.am | 1 + gtk/gtkcombobox.c | 37 +++++++++++++++++++++++++------------ gtk/ui/gtkcombobox.ui | 19 +++++++++++++++++++ 3 files changed, 45 insertions(+), 12 deletions(-) commit 5ad5431cb76d11729e656aa993cb93cea5636366 Author: Benjamin Otte Date: Sat Jul 25 23:19:40 2015 +0200 combobox: Create button on init() and destroy in destroy() The button is the same in both menu and list mode, so there's no need to destroy and recreate it. gtk/gtkcombobox.c | 63 ++++++++++++++++++++++--------------------------------- 1 file changed, 25 insertions(+), 38 deletions(-) commit e0572212bc49a5e7d7e92544fd72b38f97c41a20 Author: Benjamin Otte Date: Fri Jul 24 17:31:25 2015 +0200 combobox: Add scroll support in list mode gtk/gtkcombobox.c | 2 ++ 1 file changed, 2 insertions(+) commit 82431407316ef0b2333468a86f02ca4a926cfb39 Author: Benjamin Otte Date: Fri Jul 24 17:20:03 2015 +0200 combobox: Remove unused argument The visible check is always FALSE, so no need to keep the code around. gtk/gtkcombobox.c | 59 ++++++++++--------------------------------------------- 1 file changed, 10 insertions(+), 49 deletions(-) commit 63c219b8e768dedec80ebb7de2d264adfa21aa0f Author: Benjamin Otte Date: Fri Jul 24 17:09:36 2015 +0200 combobox: Remove the box from the button ... when in menu mode. Now that we don't have a separator anymore, the box is not needed anymore. gtk/gtkcombobox.c | 63 +++++++++++++++++++------------------------------------ 1 file changed, 21 insertions(+), 42 deletions(-) commit fcb26376dfc317f0f45ec3a5d94fb697003b64e3 Author: Benjamin Otte Date: Fri Jul 24 17:02:48 2015 +0200 combobox: Remove the separator It was a special case and it's not used by themes anymore. Plus, in the CSS world, if a theme wants a separator, it can just style the button's border to create one. gtk/gtkcombobox.c | 21 --------------------- 1 file changed, 21 deletions(-) commit 93a4030c453c3f7339fd387d01d4d44079bca142 Author: Matthias Clasen Date: Sun Jul 26 02:57:39 2015 -0400 Remove a duplicate string dialog-information was twice in the list of accessible labels for icon names. gtk/a11y/gtkimageaccessible.c | 1 - 1 file changed, 1 deletion(-) commit 58fa3d96a81e2849dba7d49e7cebf6544d192bc3 Author: Matthias Clasen Date: Sun Jul 26 02:40:26 2015 -0400 listbox: Fix shift-selection Selecting a range of rows with Shift-click was accidentally broken in e6e511eb460d8fcd. Make it work again. gtk/gtklistbox.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 6ac07a2e85ea8d53fc28455e46c2b0592607135b Author: Matthias Clasen Date: Sun Jul 26 02:10:47 2015 -0400 quartz: Implement NO_TARGET drag result This is necessary to make notebook tab DND work. https://bugzilla.gnome.org/show_bug.cgi?id=752638 gtk/gtkdnd-quartz.c | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 6d04183c5d6529840e7ee22a161a47bfc58b5303 Author: Matthias Clasen Date: Sun Jul 26 02:04:48 2015 -0400 quartz: Check if a drag ends inside a known window If a drag ends inside a known window, set the dest_window field in the drag context. This information is needed to implemented notebook tab dragging. https://bugzilla.gnome.org/show_bug.cgi?id=752638 gdk/quartz/GdkQuartzNSWindow.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 955c1c7734507bd5ef9b9aa36469948405cf2b81 Author: Jonas Ådahl Date: Thu Jul 23 14:34:12 2015 +0800 GtkMenu: Properly detach menu when the window is detached Without properly cleaning up GtkMenu private attach state (GtkMenuAttachData) when the attached widget is freed, we would end up with an invalid pointer to a freed widget. Trying to detach from that widget would cause a segmentation fault. https://bugzilla.gnome.org/show_bug.cgi?id=752761 gtk/gtkmenu.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 83b7a0f0e5fd1eb49dc7e7ce8811b69434897aad Author: Giovanni Campagna Date: Sat Jul 25 17:22:41 2015 -0700 wayland: Fix initial fullscreen monitor support -1 means that we have no specific preference for an initial fullscreen monitor, and -1 is less than the number of monitors, so we would end up accessing invalid memory. Prevent that. https://bugzilla.gnome.org/show_bug.cgi?id=752875 gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b2b4a3bb0a6ffcc8d1f46a4ba7bcee2f87cc3f08 Author: Matthias Clasen Date: Sun Jul 26 01:49:19 2015 -0400 Fix a warning gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c2759af3c602149b76ddf968bcd94b7e6e8a57c Author: Matthias Clasen Date: Sat May 9 22:50:02 2015 -0400 Use standard cursor names This changes GTK+ to use gdk_cursor_new_from_name() with the 'standard' css names, instead of GdkCursorType. https://bugzilla.gnome.org/show_bug.cgi?id=652085 demos/gtk-demo/changedisplay.c | 2 +- demos/gtk-demo/hypertext.c | 6 ++++-- gtk/gtkaboutdialog.c | 4 ++-- gtk/gtkcolorplane.c | 3 +-- gtk/gtkentry.c | 2 +- gtk/gtkfilechooserwidget.c | 6 +----- gtk/gtklabel.c | 4 ++-- gtk/gtklinkbutton.c | 2 +- gtk/gtkpaned.c | 26 ++++++++++---------------- gtk/gtkprintunixdialog.c | 6 +----- gtk/gtkrecentchooserdefault.c | 6 +----- gtk/gtktextview.c | 19 ++++++++++--------- gtk/gtktreeviewcolumn.c | 5 +++-- gtk/gtkwindow.c | 15 +++++---------- gtk/inspector/inspect-button.c | 2 +- 15 files changed, 44 insertions(+), 64 deletions(-) commit b3fb1aefd8b285874b0a744af024a16d3958e402 Author: Matthias Clasen Date: Sun Jul 26 01:34:38 2015 -0400 win32: Support all css cursor names Approximate some of the resize cursors with similar cursors. gdk/win32/gdkcursor-win32.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit fffbe61c236500ec7600e3fbe248ebecfe799817 Author: Peter Wu Date: Thu Jul 23 17:13:54 2015 +0200 broadway: fix use-after-free on read errors Call chain: - input_data_cb - broadway_server_read_all_input_nonblocking (input) - broadway_input_free (input) (now input is invalid) attempt to use input->active -> use-after-free Make broadway_server_read_all_input_nonblocking return a boolean, TRUE if the input was valid, FALSE otherwise. This allows input_data_cb to detect whether the input was gone or not. https://bugzilla.gnome.org/show_bug.cgi?id=741685 gdk/broadway/broadway-server.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 030aa540ef9dbd405b422cb18305ff62c090c386 Author: Matthias Clasen Date: Sun Jul 26 00:35:25 2015 -0400 Fix x11-less build We don't use pangoft2 at all in libgdk, but we are using it in libgtk both under X and Wayland. configure.ac | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 62d785a6b71ba46615b4808db5b25d7404134563 Author: Matthias Clasen Date: Sat Jul 25 23:22:04 2015 -0400 Don't use libcanberra without X libcanberra calls x11 backend functions, so we can't use it when the x11 backend is disabled. configure.ac | 4 ++++ 1 file changed, 4 insertions(+) commit 69d90d4f50b7611f6d59ac1409adb798f73e7797 Author: Matthias Clasen Date: Sat Jul 25 12:11:05 2015 -0400 places view: Documentation fixups Rewrite gtk_places_sidebar_set_show_enter_location docs, add references to the relevant signals, remove mentions of GtkPlacesView from the docs, since it is not public at this point. https://bugzilla.gnome.org/show_bug.cgi?id=752633 gtk/gtkplacessidebar.c | 31 +++++++++++++++++++------------ 1 file changed, 19 insertions(+), 12 deletions(-) commit f9d903995dda32674f8297e8496dc6846e220c88 Author: Jeremy Whiting Date: Mon Jul 13 10:30:42 2015 -0600 Added api to set a window to fullscreen on a given monitor. https://bugzilla.gnome.org/show_bug.cgi?id=752677 gdk/gdkwindow.c | 26 +++++++++++++++++ gdk/gdkwindow.h | 3 ++ gdk/gdkwindowimpl.h | 1 + gdk/wayland/gdkprivate-wayland.h | 2 ++ gdk/wayland/gdkscreen-wayland.c | 9 ++++++ gdk/wayland/gdkwindow-wayland.c | 35 +++++++++++++++++++++-- gtk/gtkwindow.c | 62 +++++++++++++++++++++++++++++++++++++++- gtk/gtkwindow.h | 4 +++ 8 files changed, 139 insertions(+), 3 deletions(-) commit 2a2a1487d9bfd43606e34ba2294f708e6df067d9 Author: Pedro Albuquerque Date: Sat Jul 25 08:37:40 2015 +0000 Updated Portuguese translation po-properties/pt.po | 198 ++++++++++++++++++++++++++-------------------------- 1 file changed, 98 insertions(+), 100 deletions(-) commit 94eaa505c1a2fb0da2df5742beca9472d383df98 Author: Piotr Drąg Date: Fri Jul 24 20:34:13 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit b847937772a1d2c2be98053fe849eca73aa58c7b Author: Matthias Clasen Date: Fri Jul 24 14:27:08 2015 -0400 gtk-demo: Expand the filter model example Show normal filtering as well. demos/gtk-demo/demo.gresource.xml | 3 + demos/gtk-demo/filtermodel.c | 104 +++++++++++-------- demos/gtk-demo/filtermodel.ui | 206 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 270 insertions(+), 43 deletions(-) commit 13b4500f52c42256259bdaaa3e8056026fb9441c Author: Matthias Clasen Date: Fri Jul 24 11:58:38 2015 -0400 widget-factory: hook up callbacks to the tab close buttons Just to show that buttons in notebook tabs work. demos/widget-factory/widget-factory.c | 15 +++++++++++++++ demos/widget-factory/widget-factory.ui | 6 ++++-- 2 files changed, 19 insertions(+), 2 deletions(-) commit a8512e097a62977fb7dc4b8e64e89002459cace1 Author: Matthias Clasen Date: Fri Jul 24 11:27:38 2015 -0400 Fix a typo https://bugzilla.gnome.org/show_bug.cgi?id=752810 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 76c1337675ad0e3136d6c89b0d1dae6c1edee6c7 Author: Carlos Garnacho Date: Fri Jul 24 14:36:30 2015 +0200 GdkEvent: Turn out parameters optional As pointed out by lazka in IRC, /me clearly out of phase after allow-none. gdk/gdkevents.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit dc9e54887a096ee41855ce9a3cd326a386b32047 Author: Carlos Garnacho Date: Fri Jul 24 11:51:07 2015 +0200 GdkEvent: Fix introspection annotations on gdk_event_get(_root)_coords These functions respect NULLs being passed, so the return values are (nullable). gdk/gdkevents.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 862cac7fe63c712d54936548a245707f2a966e78 Author: Carlos Garnacho Date: Fri Jul 24 11:47:27 2015 +0200 GtkGesture: minor cleanup We're not really using the coordinates in that function, we just double check it's not an unrelated event. gtk/gtkgesture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 9c37fe94d1016d78b593a842674b1cc74932bd64 Author: Chun-wei Fan Date: Fri Jul 24 17:39:55 2015 +0800 MSVC Builds: Fix Introspection Build The deprecated and a11y sources of GTK+ were spun off some time ago into their own Makefile.inc, which is then included by gtk/Makefile.am. Fix the generation of file sources for the GTK+ .gir. build/gen-file-list-gtk.py | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit d9985dad5b8a24b1666f3382a411815965d1203b Author: Chun-wei Fan Date: Fri Jul 24 16:25:01 2015 +0800 gtk/gtkplacessidebar.c: Fix Build on C89 Ensure variables are declared at the top of the block, and remove a ';;', which C89 compilers don't like. gtk/gtkplacessidebar.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 62286b9481ecf603187ef12f563b5c57fc08553b Author: Pedro Albuquerque Date: Fri Jul 24 07:37:18 2015 +0000 Updated Portuguese translation po/pt.po | 232 ++++++++++++++++++++++++++++++--------------------------------- 1 file changed, 111 insertions(+), 121 deletions(-) commit d017395beb647b9614fa481dcabd32e7dbb57d6f Author: Pedro Albuquerque Date: Fri Jul 24 07:34:41 2015 +0000 Updated Portuguese translation po-properties/pt.po | 679 ++++++++++++++++++++++++++-------------------------- 1 file changed, 345 insertions(+), 334 deletions(-) commit dc82949fbe4cfd5948f23cbea98c751a4346d8f4 Author: Matthias Clasen Date: Thu Jul 23 22:15:32 2015 -0400 file chooser dialog: Better spacing When the dialog is as narrow as possible, we still want some space between the entry and the search button, so use margins around the entry and label instead of box spacing. gtk/gtkfilechooserdialog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e2b9caf26affe5fbc3422b1cb1f9f3df4d1d7b90 Author: Matthias Clasen Date: Thu Jul 23 21:54:47 2015 -0400 file chooser: Fix gtk_file_chooser_set_show_hidden We should not override an explicitly set show-hidden value when loading the setting. https://bugzilla.gnome.org/show_bug.cgi?id=610925 gtk/gtkfilechooserwidget.c | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) commit 3fec234c223363b324d2e8e4b0dda3b51fdac217 Author: Matthias Clasen Date: Thu Jul 23 21:28:28 2015 -0400 inspector: Rescan toplevels when they change This ensures that windows appear in the inspectors tree when they are created, and it prevents GTK_DEBUG=interactive from coming up with an empty object tree. https://bugzilla.gnome.org/show_bug.cgi?id=752664 gtk/gtkwindow.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 9a44f189401cbdb8be4e6a606a3d32dbbce32766 Author: Matthias Clasen Date: Thu Jul 23 21:27:37 2015 -0400 inspector: Add a function to rescan Currently, we only ever scanned the toplevel list and widget tree once. That is not enough. gtk/inspector/window.c | 8 ++++++++ gtk/inspector/window.h | 1 + 2 files changed, 9 insertions(+) commit 1138d4f489620cf7498713cfe65f12adfaba61d3 Author: Matthias Clasen Date: Thu Jul 23 17:53:13 2015 -0400 Another fix for unmapped window states The previous fix was falling into the crack between realized and mapped - we would apply the state when a window is just realized, then unset the _initially flag, and then when the window gets mapped, we'd undo the state. To fix this, go back to the way things were when these flags were first introduced. https://bugzilla.gnome.org/show_bug.cgi?id=752765 gtk/gtkwindow.c | 119 ++++++++++++++------------------------------------------ 1 file changed, 30 insertions(+), 89 deletions(-) commit 56051b0bd877f3dda0da64eb77c4799a5d18e593 Author: Timm Bäder Date: Thu Jul 23 17:57:47 2015 +0200 GtkWidget: Fix set_font_map docs A typo and non-matching parameter names. gtk/gtkwidget.c | 2 +- gtk/gtkwidget.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 44608dadc67749df15525b8386f95ad39e48c5ef Author: Pavel Grunt Date: Wed Jul 1 15:12:23 2015 +0200 gdk-win32: Send fake release key event for shift key Windows does not send any release key event for one of the shift keys when both shift keys were pressed together. This commit solves the problem by sending the extra release key event for the shift key which was released as first, when the other shift key is released. Other modifiers (e.g. Ctrl, Alt) do not have this problem. https://bugzilla.gnome.org/show_bug.cgi?id=751721 gdk/win32/gdkevents-win32.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit c28d0a7e0aeb39a03ad70db7d8641b9f78bdf58f Author: Timm Bäder Date: Wed Jul 22 08:41:10 2015 +0200 gtk3-demo: Don't use xalign on GtkCheckButton demos/gtk-demo/font-features.ui | 45 ----------------------------------------- 1 file changed, 45 deletions(-) commit 7ed5816829a5f446e6a1a847c04420468d7cbf7c Author: Christoph Reiter Date: Mon Jul 20 10:40:35 2015 +0200 quartz: remove maximized state when the window position/size is changed So a window can be maximized/zoomed again after being moved away from its maximized position. This makes the zoom button on non-CSD windows work as before. gdk/quartz/GdkQuartzNSWindow.c | 28 ++++++++++++++++++++++++++++ gdk/quartz/GdkQuartzNSWindow.h | 2 ++ 2 files changed, 30 insertions(+) commit eb37fd22e7d50cfd5c6131aeaeb230469af5056c Author: Christoph Reiter Date: Mon Jul 20 09:05:52 2015 +0200 quartz: implement maximized/unmaximized Instead of using the default zoom behaviour use the internal maximized state for selecting our own zoom target. This makes zooming work for CSD windows where for some reason the given default zoom target is the current window frame itself resulting in a shadowless window of the same size. While this makes the zoom button behave a bit different as expected it makes things more consistent with other platforms and fixes CSD zooming. gdk/quartz/GdkQuartzNSWindow.c | 39 +++++++++++++++++++++++++++++++++++++++ gdk/quartz/GdkQuartzNSWindow.h | 2 ++ gdk/quartz/gdkwindow-quartz.c | 24 ++++++++---------------- 3 files changed, 49 insertions(+), 16 deletions(-) commit 61ce90a8e25ea63248ffa12707148e449494f34b Author: Christoph Reiter Date: Mon Jul 20 08:32:05 2015 +0200 quartz: make moving CSD windows right up to the screen's menu bar work. The default implementation prevents the window + shadow to move above the menu bar. Change it so only the window is considered. gdk/quartz/GdkQuartzNSWindow.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 707459fe4ea284386f31cd8e90ed4551d34c142a Author: Matthias Clasen Date: Thu Jul 23 01:04:15 2015 -0400 file chooser: Make keynav in save mode smoother When using the location popup to complete to a directory name (with a trailing /), we should not punish the user by making the Open button insensitive and preventing the Enter key from doing the expected thing (switching to that directory). https://bugzilla.gnome.org/show_bug.cgi?id=752708 gtk/gtkfilechooserwidget.c | 6 ------ 1 file changed, 6 deletions(-) commit 3f18e76a341de18ece6a9f0d48414c2b50b93ade Author: Matthias Clasen Date: Thu Jul 23 00:45:32 2015 -0400 Remove debug spew gtk/gtkfilechooserentry.c | 1 - 1 file changed, 1 deletion(-) commit 91c05f6f6bf013accca8ff583cfe66f204fcd5d0 Author: Matthias Clasen Date: Thu Jul 23 00:42:19 2015 -0400 file chooser entry: Special-case ., .. and ~ Make sure entering the three special strings ".", ".." or "~" in the location entry works as expected. They already worked correctly if you append a '/' to force them to be recognized as the 'folder' part, but that should not be necessary. https://bugzilla.gnome.org/show_bug.cgi?id=752707 gtk/gtkfilechooserentry.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit f30637bbae4686ed78dd0976cb941ebab9e28cca Author: Matthias Clasen Date: Wed Jul 22 23:28:39 2015 -0400 GtkWindow: Rework the _initially variables Go back to use these variables only for pre-mapped state changes. Their use got muddied over the years, and it was hard to keep track of what is acutal state, and what just a queued request. gtk/gtkwindow.c | 54 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 30 insertions(+), 24 deletions(-) commit 8b695cc7279270eabf7d2541cfd592608d0add38 Author: Matthias Clasen Date: Wed Jul 22 23:16:52 2015 -0400 Revert "window: fix initial shadow width for maximized/fullscreen windows" This reverts commit 740bcf5fe0ff9dd25856e5d000faff80bcf44eea. gtk/gtkwindow.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit de2ea1ebaabd7550ca6f2a02bfbaa04ac92181fd Author: Matthias Clasen Date: Wed Jul 22 23:16:44 2015 -0400 Revert "gtkwindow: Reset maximize / fullscreen_initially on state changes" This reverts commit 862e0dab03e12c2fb1f6d99dd85c588dccc15dbc. gtk/gtkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 167734c153b062cc479397b745fad2bc739cec95 Author: Matthias Clasen Date: Wed Jul 22 19:07:20 2015 -0400 file chooser: Fix a crash The save_widgets_create function was not safe against being called multiple times in save mode, calling gtk_file_chooser_set_create_folders was a way to trigger this crash. gtk/gtkfilechooserwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0076b943ad2e83613016bf9aac6294a23048525b Author: Stefan Sauer Date: Wed Jul 22 21:43:51 2015 +0200 toolbutton: linkify properties gtk/gtktoolbutton.c | 38 ++++++++++++++++++++------------------ 1 file changed, 20 insertions(+), 18 deletions(-) commit 71b278fb4d8d02a178d14d31548d6a6606924b59 Author: Stefan Sauer Date: Wed Jul 22 18:53:00 2015 +0200 toolbutton: fix misleading docs First only label-widget clashes with icon-name and not the label property. In addtion fix the propertyname to use '-' instead of '_'. gtk/gtktoolbutton.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 6a5586a416fb167dbfcf68270b708cdcf840c468 Author: Matthias Clasen Date: Wed Jul 22 10:56:56 2015 -0400 gtk-demo: Add a filter model example This shows computed columns. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/filtermodel.c | 160 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 162 insertions(+) commit 31191d5566847ab6278d736066b0fd49241db3a9 Author: Benjamin Otte Date: Wed Jul 22 15:04:34 2015 +0200 fontchooserwidget: Refactor code so we actually optimize Previously, we would pango_font_describe() every time the code ran and we wouldn't ever hit the optimized quick exit. The code now is a lot more complex because the compute-actual-value-when-required-the-first-time approach is not supported out of the box in GtkTreeModel (or GValue). gtk/gtkfontchooserwidget.c | 164 ++++++++++++++++++++++++++--------------- gtk/ui/gtkfontchooserwidget.ui | 2 +- 2 files changed, 106 insertions(+), 60 deletions(-) commit 3fc5d09890e453dd85e94b78f4649abeb2fce53f Author: Timm Bäder Date: Tue Jul 21 20:23:09 2015 +0200 gtk3-demo: Don't set xalign of GtkCheckButton It's deprecated and doesn't make a difference here. demos/gtk-demo/stack.ui | 1 - 1 file changed, 1 deletion(-) commit a56bd1c4901147eaa04ad50a99b1d57fc91e1c5a Author: Matthias Clasen Date: Tue Jul 21 23:04:30 2015 -0400 GtkImage: Plug a memory leak gtk/gtkimage.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0d7a9dc4b8eb2689a8c85d4cfd4d543648d56850 Author: Matthias Clasen Date: Tue Jul 21 21:12:36 2015 -0400 gtk-demo: Properly clean up timeouts in search entry demo demos/gtk-demo/search_entry.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit 3243ae6e0897e7d5708b361d09aa1e12aeaa435b Author: Matthias Clasen Date: Tue Jul 21 21:00:12 2015 -0400 places sidebar: Don't leak shortcuts Poined out by valgrind. gtk/gtkplacessidebar.c | 3 +++ 1 file changed, 3 insertions(+) commit fbee8c5ba3fbeb23fb1e37b84700c48207213eec Author: Matthias Clasen Date: Tue Jul 21 20:40:46 2015 -0400 GtkSearchEngine: Be more robust in cancellation cases When the search is cancelled, we may end up with a tracker dbus reply coming in after the GtkSearchEngine object is already gone, and bad things happen. Prevent this by using g_signal_connect_object instead of g_signal_connect. gtk/gtksearchengine.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 38a5db8f83aa9eaf7340c049f91bcf6ed670382b Author: Matthias Clasen Date: Tue Jul 21 20:39:29 2015 -0400 GtkQuery: Make API follow GTK+ conversions We generally have const getters for strings, and the two users of this API were promptly leaking the (unexpected) copy they got from gtk_query_get_location and gtk_query_get_text. gtk/gtkfilechooserwidget.c | 3 +-- gtk/gtkquery.c | 8 ++++---- gtk/gtkquery.h | 20 ++++++++++---------- gtk/gtksearchenginetracker.c | 5 ++--- 4 files changed, 17 insertions(+), 19 deletions(-) commit 94187127821a31b3367ce7b60d4bd5f8e874f6cd Author: Matthias Clasen Date: Tue Jul 21 19:51:50 2015 -0400 places sidebar: Always chain up in finalize The GtkSidebarRow class was forgetting to do this. The visible symptom of this in valgrind is that you notice GObject data being leaked. gtk/gtksidebarrow.c | 2 ++ 1 file changed, 2 insertions(+) commit 3e6177d2ddaa2222b7ea9b6c618f188e8005b56a Author: Matthias Clasen Date: Tue Jul 21 19:10:04 2015 -0400 places sidebar: Plug a memory leak gtk/gtkplacessidebar.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 0189cb0e0a4ee01c91256cc05fa3ea671a8b7328 Author: Marek Černocký Date: Wed Jul 22 00:48:45 2015 +0200 Updated Czech translation po-properties/cs.po | 650 +++++++++++++++++++++++++++------------------------- 1 file changed, 335 insertions(+), 315 deletions(-) commit bb0b54526f3353f22a9f56344149b5054df7bed9 Author: Matthias Clasen Date: Tue Jul 21 17:49:08 2015 -0400 Use versioned deprecations more seriously I invadvertendly introduced a dependency on a recent GLib recently, by cherry-picking a fix that used new GLib API. This commit will help catching such errors before release, by using the versioned deprecation machinery to turn such events into build-time warnings. configure.ac | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 1e981790de8eee1d9f81bb62ca13eb2e9b4e6431 Author: Matthias Clasen Date: Tue Jul 21 15:06:27 2015 -0400 places sidebar: Improve docs Clarify the deprecation note for ::show-connect-to-server. https://bugzilla.gnome.org/show_bug.cgi?id=752633 gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7a84c26d0b211bb684787295088267820e63b6ae Author: Matthias Clasen Date: Tue Jul 21 15:05:06 2015 -0400 places sidebar: Improve the docs Reword the docs of gtk_places_sidebar_set_drop_targets_visible(). gtk/gtkplacessidebar.c | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) commit b4b46b74e5a97f6c1be3c8047a5ec05a0198bd31 Author: Matthias Clasen Date: Tue Jul 21 14:55:58 2015 -0400 places sidebar: Fix a copy-paste leftover The ::populate-all nick and blurb where not referrering to this property at all. https://bugzilla.gnome.org/show_bug.cgi?id=752633 gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 658a1ef06989b0a02ca6d056bd1f90889c25a52d Author: Stefan Sauer Date: Tue Jul 21 20:16:15 2015 +0200 toolbutton: improve docs wrt stock deprecation Docuemnt where to get the images from. gtk/gtktoolbutton.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 22056ced7af3895a4da29c5aa21d60585c7d9969 Author: Piotr Drąg Date: Tue Jul 21 17:21:17 2015 +0200 Updated Polish translation po-properties/pl.po | 4395 +++++++++++++++++++++++++-------------------------- 1 file changed, 2182 insertions(+), 2213 deletions(-) commit cb38a2ebcef67385bb057558a5056ff0df909083 Author: Yosef Or Boczko Date: Tue Jul 21 12:56:02 2015 +0300 Updated Hebrew translation po/he.po | 200 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 102 insertions(+), 98 deletions(-) commit e8a0e8f1b0ebaaee8f89e7002e11b99ef7cce2b3 Author: Matthias Clasen Date: Mon Jul 20 07:52:36 2015 -0400 3.17.5 NEWS | 11 +++++++++++ configure.ac | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) commit dee75bce2dc1cede3d4da79507cb20e6e08a7fdc Author: Matthias Clasen Date: Mon Jul 20 23:54:39 2015 -0400 Fix distcheck Makefile.decl does not work well with scripts that stay in srcdir, so generate test-simplify from test-simplify.in, just os that it ends up in builddir. testsuite/tools/Makefile.am | 6 +++++- testsuite/tools/{test-simplify => test-simplify.in} | 0 2 files changed, 5 insertions(+), 1 deletion(-) commit 8102425f039536afa7c850fb239688a01e397380 Author: Matthias Clasen Date: Mon Jul 20 21:19:58 2015 -0400 places view: Disconnect from volume monitor Just unreffing the volume monitor object won't stop it from emitting signals that we are connected to. Disconnect from the signals in finalize. gtk/gtkplacesview.c | 4 ++++ 1 file changed, 4 insertions(+) commit 99d4ec267685f9aab0bdd172a6c3c7990db31524 Author: Benjamin Otte Date: Tue Jul 21 02:27:45 2015 +0200 reftests: Fix underlines in link-coloring reftest Underlines now need to be manually specified in CSS since GTK got text-decoration support. testsuite/reftests/link-coloring.css | 4 ++++ 1 file changed, 4 insertions(+) commit ceab99ff2ffcfd3f3e9644026ea9d4692cfbd11c Author: Benjamin Otte Date: Mon Jul 20 04:20:50 2015 +0200 treeview: Don't underallocate editing widgets that are too big gtk/gtktreeview.c | 38 +++++++++++++++++++++++++------------- 1 file changed, 25 insertions(+), 13 deletions(-) commit 3402363684de5577b267c743029b2f4a8ef6a9da Author: Benjamin Otte Date: Sun Jul 19 18:35:33 2015 +0200 combobox: Unconditionally draw background and border gtk/gtkcombobox.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 5f6db9a18267c0ada85d3910d7d00e1fbc4a830d Author: Benjamin Otte Date: Sun Jul 19 18:31:33 2015 +0200 combobox: Remove autoscroll timer on popdown gtk/gtkcombobox.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 19726a5a0eed18c85a1529b2e3d064b4c776f5ae Author: Benjamin Otte Date: Sun Jul 19 05:42:39 2015 +0200 combobox: Remove cell_view_frame Cell views can draw their own frames now. gtk/gtkcombobox.c | 95 ++----------------------------------------------------- 1 file changed, 2 insertions(+), 93 deletions(-) commit 7b57221522543f913f41b9af34ad03842a56ca34 Author: Benjamin Otte Date: Sun Jul 19 05:23:11 2015 +0200 cellview: Implement border and background drawing gtk/gtkcellview.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 70 insertions(+), 8 deletions(-) commit 6f4518ab4b3cdf86f3a2bb1fe0bd08902e0f0abe Author: Stefan Sauer Date: Mon Jul 20 21:02:39 2015 +0200 gtkimagemenuitem: improve the replacement docs even more Since the stock strings usually have menmosics suggest gtk_menu_item_new_with_mnemonic(). gtk/deprecated/gtkimagemenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 173ef4ee660c544ce1d2062c41f6867b00c5b832 Author: Timm Bäder Date: Mon Jul 20 17:04:25 2015 +0200 offscreen_window: Remove deprecated API calls demos/gtk-demo/offscreen_window.c | 4 ---- demos/gtk-demo/offscreen_window2.c | 4 ---- 2 files changed, 8 deletions(-) commit 8a6bad7faf13c3d09a8278662616fc7d05d94e9c Author: Stefan Sauer Date: Mon Jul 20 20:54:52 2015 +0200 gtkimagemenuitem: fix suggestion for replacement gtk_menu_item_new(9 would create an empty menu item. While the stock deprecation aims to unclutter the menus, I feel this goes too far. gtk/deprecated/gtkimagemenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62af1cbb1d1a947807f635481f80d055d52bd02e Author: Cosimo Cecchi Date: Mon Jul 20 08:21:43 2015 -0700 drawingarea: use same background approach as GtkLayout Call gtk_style_context_set_background() every time the style is updated and add a comment as to why we still need to do it here. https://bugzilla.gnome.org/show_bug.cgi?id=752599 gtk/gtkdrawingarea.c | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) commit 90d237ced46023e3feb8743831966feaa8432397 Author: Cosimo Cecchi Date: Mon Jul 20 08:13:35 2015 -0700 Revert "drawingarea: don't call gtk_style_context_set_background()" This reverts commit 6786c9d724ad57ea30e169d2afcb4a314b2e56bb. https://bugzilla.gnome.org/show_bug.cgi?id=752599 gtk/gtkdrawingarea.c | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) commit 11ce41d9c423a5339e4e4c4c41a5db20c48e33f0 Author: Cosimo Cecchi Date: Mon Jul 20 08:13:24 2015 -0700 Revert "drawingarea: checks parent's draw() before call it" This reverts commit b3166b745f41a901171821ccc9f0c69b9cc35e70. https://bugzilla.gnome.org/show_bug.cgi?id=752599 gtk/gtkdrawingarea.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 2dfad2b0d1cad454c4b68625be1e169023aaaed4 Author: Matthias Clasen Date: Mon Jul 20 11:11:00 2015 -0400 file chooser: Memory handling fixes I forgot to clean up the long press gesture, and in additon, creating the rename popover from the ui template was causing the tree view to not be disposed when the file chooser goes away. Work around this by manually unsetting the relative-to widget of the popover in dispose. gtk/gtkfilechooserwidget.c | 16 +++++++--------- gtk/ui/gtkfilechooserwidget.ui | 1 - 2 files changed, 7 insertions(+), 10 deletions(-) commit 50a2428739451bad218940d10c63b604da3b9c21 Author: Ting-Wei Lan Date: Mon Jul 20 21:55:40 2015 +0800 Fix return value error in gtk_stack_get_interpolate_size gtk/gtkstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb3adebde203af1880c32028036f6c55b1cb092c Author: Daniel Mustieles Date: Mon Jul 20 12:00:21 2015 +0200 Updated Spanish translation po-properties/es.po | 656 ++++++++++++++++++++++++++-------------------------- 1 file changed, 331 insertions(+), 325 deletions(-) commit 98f4e0656a2067f8141bf454e4d4216b88a55ded Author: Daniel Mustieles Date: Mon Jul 20 12:00:01 2015 +0200 Updated Spanish translation po/es.po | 427 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 213 insertions(+), 214 deletions(-) commit 2943bfef4635f10ecf6d09dc215ca771e341e8a6 Author: Jonas Ådahl Date: Mon Jul 20 16:01:32 2015 +0800 wayland: Always apply scaling factor to cursor hotspot and dimension Prior to this patch, the hotspot would be passed in buffer coordinate space. Where this were ever tested, i.e. in a patched mutter, the server interpreted them incorrectly, which meant it went undiscovered. In the updated mutter patches the incorrect behavior in GTK+ was discovered due to the behavior in mutter was corrected. In the themed cursor case, the dimensions were not correctly scaled either, but this had no negative visible effect because the dimension is only used for reporting damage tracking, and passing a bigger damage region than surface has no negative visible effects. https://bugzilla.gnome.org/show_bug.cgi?id=752616 gdk/wayland/gdkcursor-wayland.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit ddcb309b5b36c2536cd2c456d33ae9d551666fdc Author: Timm Bäder Date: Sun Jul 19 17:40:28 2015 +0200 GtkPopover: Set interpolate-size on the stack... ... in gtk_popover_bind_model and gtk_popover_menu_init gtk/gtkpopover.c | 1 + gtk/gtkpopovermenu.c | 1 + 2 files changed, 2 insertions(+) commit 469db13b81699b7988aed7be6882b6a9b65f9e74 Author: Timm Bäder Date: Sun Jul 19 17:39:41 2015 +0200 GtkStack: Add interpolate-size property And use it to determine whether we should actually interpolate between stack sizes or not. gtk/gtkstack.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++--------- gtk/gtkstack.h | 6 +++- 2 files changed, 89 insertions(+), 15 deletions(-) commit 1da92c2800fefebfc37e4bf495e9265af2b87e30 Author: Matthias Clasen Date: Sun Jul 19 22:18:58 2015 -0400 GtkListBox: Improve focus scrolling We are trying to scroll the header in view together with the focus row. The way this is implemented works fine when scrolling up, but falls short when scrolling down. Fix this by making sure that both the row and the header bar visible. gtk/gtklistbox.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 52c4955d211483857cd8a89f7aea28d0183bc19b Author: Matthias Clasen Date: Sun Jul 19 22:08:36 2015 -0400 GtkListBox: Listen for adjustment changes We automatically pick up an adjustment from our parent scrollable, but we failed to update it when it changes. This is happening in the places sidebar, and it was causing the focus-tracking to fail there, letting the focus move out of view. With this change, the focus remains visible. gtk/gtklistbox.c | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) commit 55652b6b09a25ba2f3d6a052e45326b5b8b7f91d Author: Matthias Clasen Date: Sun Jul 19 22:07:21 2015 -0400 places sidebar: Improve keynav Remove the code in the sidebar keypress handler that imperfectly reproduces what GtkListBox already does: moving selection and focus in response to arrow keys. gtk/gtkplacessidebar.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit bd41c92b283dec5dc916c7a792d994c1d7a98ec0 Author: Matthias Clasen Date: Sun Jul 19 17:39:23 2015 -0400 trivial: Some reformatting gtk/gtkplacessidebar.c | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) commit 5b5b4de4951b7b9e043e9791135a3221378ad990 Author: Matthias Clasen Date: Sun Jul 19 17:37:39 2015 -0400 places sidebar: Remove pointless code No need to set or unset adjustments explicitly. gtk/gtkplacessidebar.c | 2 -- 1 file changed, 2 deletions(-) commit f263c11ce89fdf6560ee91ccfc711c20eb14271d Author: Matthias Clasen Date: Sun Jul 19 17:17:53 2015 -0400 spin button: Add Home and End as key bindings Make these go to the lower/upper boundary of the adjustment, like Ctrl-PageUp/PageDown already do. https://bugzilla.gnome.org/show_bug.cgi?id=309300 gtk/gtkspinbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit e7fe194b2da4a3614b81ea3275146bca41d5f938 Author: Matthias Clasen Date: Mon Jul 6 00:33:47 2015 -0400 GtkWidget: Add custom font map support This allows to use a custom font map for parts of the widget hierarchy - this can be used for application-specific fonts. https://bugzilla.gnome.org/show_bug.cgi?id=751812 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkwidget.c | 81 ++++++++++++++++++++++++++++++++++-- gtk/gtkwidget.h | 12 ++++-- 3 files changed, 88 insertions(+), 7 deletions(-) commit c9a2e4c0a3c8a444d5e751bc43dd1e6e8c7a965b Author: Matthias Clasen Date: Sun Jul 19 16:52:03 2015 -0400 font chooser: Add placeholder text to preview entry This will make things more understandable if an application sets an empty preview text. https://bugzilla.gnome.org/show_bug.cgi?id=725551 gtk/ui/gtkfontchooserwidget.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e0f0197d0cf2c447281eb29b6dd07bdde5a3e654 Author: Daniel Hams Date: Thu Jul 16 17:22:07 2015 +0100 GdkGLContext little fix to property names and descriptions. https://bugzilla.gnome.org/show_bug.cgi?id=752502 gdk/gdkglcontext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit dbeb41eaa20705ec54e49909208bd66690572f90 Author: Matthias Clasen Date: Sun Jul 19 14:04:47 2015 -0400 Updates for 3.17.5 NEWS | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 108 insertions(+) commit defc3d8cbc7e5189c73fa1aad51bc8acc73d132c Author: Matthias Clasen Date: Sun Jul 19 13:18:30 2015 -0400 builder-tool: Don't strip border-width Strictly speaking, this would only have to be special-cased inside GtkDialog, but lets just skip it altogether. gtk/gtk-builder-tool.c | 1 + 1 file changed, 1 insertion(+) commit f881f37789ab265c981554bf997fc7dcd11180c1 Author: Matthias Clasen Date: Sun Jul 19 09:59:18 2015 -0400 Fix csd decorations By accident, commit b9b17c3c2a434983452561c3 removed one line that wasn't unused, but important for hiding close buttons on dialogs. Bring it back. gtk/gtkheaderbar.c | 3 +++ 1 file changed, 3 insertions(+) commit 4fbd9a3d282187b18a523f6861119c94b69aa54d Author: Yosef Or Boczko Date: Sun Jul 19 10:59:19 2015 +0300 Updated Hebrew translation po/he.po | 394 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 197 insertions(+), 197 deletions(-) commit 04883e72fa5eae8756710e46917d1c9058baf1f8 Author: Benjamin Otte Date: Sun Jul 19 04:44:17 2015 +0200 window: Set the type hint when it changes, not just on map() There is no reason to wait until map() to reset a type hint on the GDK window. Just set it when it changes. gtk/gtkwindow.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit b0ac837271b9584657cf39a7543d8d42a23b057f Author: Benjamin Otte Date: Sun Jul 19 04:40:36 2015 +0200 window: g_object_notify() on type-hint change gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 38a07cde75c6a5faaf92fd36b5c2c7d66b703ba7 Author: Benjamin Otte Date: Sun Jul 19 04:39:06 2015 +0200 window: Don't update type hint when it didn't change gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 7a16039c2d3da2c4a80ae9fa11a40b274329b317 Author: Benjamin Otte Date: Sun Jul 19 04:37:47 2015 +0200 window: Allow setting type hint on mapped windows gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 8a238c78862630ce5d9678635ed34356c65965d5 Author: Benjamin Otte Date: Sun Jul 19 04:32:48 2015 +0200 window: Don't keep 2 type hints 1. This confuses the code as it's using the old type hint with the new type hint on GDK window creation 2. It only existed as a workaround for old code that directly accessed window->type_hint which hasn't been possible since 3.0. gtk/gtkwindow.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit fbbc203f23b964ebb42ed1b5557d9109d6e15a68 Author: Pedro Albuquerque Date: Sat Jul 18 10:24:02 2015 +0000 Updated Portuguese translation po/pt.po | 539 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 305 insertions(+), 234 deletions(-) commit 4354b0598a6cc6c3affdaa004bef3707d6a89763 Author: Pedro Albuquerque Date: Sat Jul 18 10:19:20 2015 +0000 Updated Portuguese translation po-properties/pt.po | 855 +++++++++++++++++++++++++++------------------------- 1 file changed, 452 insertions(+), 403 deletions(-) commit c7202b975f0b189fb2f1e9d0553dac95f75a2535 Author: Marek Černocký Date: Sat Jul 18 09:42:25 2015 +0200 Updated Czech translation po-properties/cs.po | 2357 +++++++++++++++++++++++++++------------------------ 1 file changed, 1239 insertions(+), 1118 deletions(-) commit 8d3bcb6ef89cb33c249842e017d266975ad7df63 Author: Benjamin Otte Date: Sat Jul 18 05:39:01 2015 +0200 combobox: Simplify code We don't add new children to the child's parent, we add them to ourself. Because guess who a child's parent is? gtk/gtkcombobox.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit d071415d56e507dec36ea39fb48590c5c09ad7c9 Author: Benjamin Otte Date: Sat Jul 18 05:16:07 2015 +0200 combobox: Remove unused header function functionality gtk/gtkcombobox.c | 15 -------- gtk/gtktreemenu.c | 108 +----------------------------------------------------- gtk/gtktreemenu.h | 23 ------------ 3 files changed, 2 insertions(+), 144 deletions(-) commit 1ec7f435d814fd15ee1d8b80b547b6abdf57fa54 Author: Benjamin Otte Date: Sat Jul 18 05:10:39 2015 +0200 combobox: Remove unused argument from private function gtk/gtkcombobox.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit c27b90cc79fdb0a5086055161ea3f0882fae30b0 Author: Matthias Clasen Date: Fri Jul 17 20:45:28 2015 -0400 Fix the build gtk/inspector/object-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7fd307f8815477e85fbe1c689c21d75b3db45ea5 Author: Matthias Clasen Date: Fri Jul 17 20:18:34 2015 -0400 Revert "GtkGrid: Add a few NULL checks" This reverts commit e215db6da21fc7c54f49b247afabc06a18d60513. We are actually requiring non-NULL out arguments here now. gtk/gtkgrid.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit ccfacb383ca39d47b70427ffa4b268a5b8baed29 Author: Matthias Clasen Date: Fri Jul 17 19:54:09 2015 -0400 testgtk: Remove pointless code The display is getting overwritten immediately. Pointed out by coverity. tests/testgtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8a40c458717d6fdf27da64d66e74ae926ddf766 Author: Matthias Clasen Date: Fri Jul 17 19:52:52 2015 -0400 inspector: Avoid a NULL deref Coverity pointed out that getting a class name requires dereferencing the pointer, so only don't do it if it is NULL. gtk/inspector/object-tree.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0bb2567ff57c6758684df97a23e032f534b0077a Author: Matthias Clasen Date: Fri Jul 17 19:19:24 2015 -0400 GtkWindow: Fix a use-after-free We were printing a string in a warning after freeing it. Also, fix an x/y typo that might cause popovers to be mispositioned. gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit a9ee745dc1d756bf3e6169069784629e93c1332c Author: Matthias Clasen Date: Fri Jul 17 19:19:03 2015 -0400 file chooser: remove an unused GError variable Pointed out by coverity gtk/gtkfilechooserwidget.c | 5 ----- 1 file changed, 5 deletions(-) commit 2eb39a3b7ab217e8e9adac9625264c21ae5fca04 Author: Matthias Clasen Date: Fri Jul 17 18:47:39 2015 -0400 inspector: Remove some dead code Not sure what I was thinking here. Coverity pointed this out. gtk/inspector/prop-list.c | 6 ------ 1 file changed, 6 deletions(-) commit ff86433ea1617b73fb0fffec9445ae575119c76a Author: Matthias Clasen Date: Fri Jul 17 18:42:24 2015 -0400 inspector: Avoid a NULL deref gtk/inspector/prop-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ee43462d7421fb08fddf2bce0ff5b2c45e3ece96 Author: Matthias Clasen Date: Fri Jul 17 18:41:14 2015 -0400 treeview: Add an explicit return for clarity I believe that first_column can only ever be NULL here if last_column is NULL too, in which case we'd exited already. But coverity doesn't see that, so add an explicit exit. gtk/gtktreeview.c | 3 +++ 1 file changed, 3 insertions(+) commit 0ebcc56a77230984597986a58839f4df1babbd53 Author: Matthias Clasen Date: Fri Jul 17 18:40:37 2015 -0400 tooltip: Remove unnecessary checks Coverity uses these as clues to complain. gtk/gtktooltip.c | 62 +++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 32 deletions(-) commit 361915628df9fc11f019894725772add8b9f3be4 Author: Matthias Clasen Date: Fri Jul 17 18:40:11 2015 -0400 list box: Remove unnecessary checks Again, coverity takes these as clues to complain. gtk/gtklistbox.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 6a9944cbc57be5b17208a93dc296f83019ad4dd9 Author: Matthias Clasen Date: Fri Jul 17 18:39:14 2015 -0400 GtkLabel: Remove an unnecessary check Coverity has the annoying habit of guessing backwards that if we check the value here, it might be NULL earlier. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e215db6da21fc7c54f49b247afabc06a18d60513 Author: Matthias Clasen Date: Fri Jul 17 18:38:30 2015 -0400 GtkGrid: Add a few NULL checks Coverity complained about these. gtk/gtkgrid.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 363e791d08996e29231897079bd66da87140fea3 Author: Matthias Clasen Date: Fri Jul 17 18:38:01 2015 -0400 GtkActionHelper: Avoid null deref in debug code gtk/gtkactionhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb29c1fcc5398ae5cc236328ea7d5d6f0fdfb476 Author: Matthias Clasen Date: Fri Jul 17 18:37:20 2015 -0400 gdk: Add some parameter checking This may help coverity recognize that we're not called with invalid combinations. gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 2b105dc3d925dc4ad16906afb532968ba6ff9750 Author: Matthias Clasen Date: Fri Jul 17 15:59:23 2015 -0400 testdialog: Error out if templates are missing Coverity complained about us ignoring the return value here, and it is nicer to get an error message about this. tests/testdialog.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 0ee14211b117725eff658bf78fbabce9039ab443 Author: Matthias Clasen Date: Fri Jul 17 15:58:24 2015 -0400 cups: Annotate a call whose return value we don't care about We're closing this fd, but we're not going to do anything else if that fails. Annotate to let coverity see this. modules/printbackends/file/gtkprintbackendfile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b8d06da2d3f9c5615b2e367335e780c3bbb2947 Author: Matthias Clasen Date: Fri Jul 17 15:56:34 2015 -0400 inspector: Check a return value We don't care about the error here, but we were relying on g_resources_get_info to zero the size even in case of error. No need to do that, we can just check the return value. Plus, it makes coverity happy. gtk/inspector/resource-list.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit f960d4f486aa71f4c8e11ae3c464df1bbb84ed4e Author: Matthias Clasen Date: Fri Jul 17 15:55:18 2015 -0400 inspector: Annotate a call whose return value we don't need The way this code is written, we know that there is an item in the hash table and the iter_next call will give it to us, so no need to check the return value. Annotate the call to tell coverity. gtk/inspector/gestures.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ba55d80fc90fd21a751b676095e853e6630c0d0 Author: Matthias Clasen Date: Fri Jul 17 15:54:40 2015 -0400 gtkicontheme: Check a return value We were already looking at the error anyway, but rewriting things this way lets coverity see the light. gtk/gtkicontheme.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 91b147622bbd313200b79ab97811b6dc3ba9bdcc Author: Matthias Clasen Date: Fri Jul 17 15:52:22 2015 -0400 gtkbuilderparser: Add some assertions Add some assertions that things are non-NULL when we know they are, so that coverity gets it. gtk/gtkbuilderparser.c | 3 +++ 1 file changed, 3 insertions(+) commit 770fc90e7cf24e2406a8c778596c79f94ebb3a2e Author: Matthias Clasen Date: Fri Jul 17 15:51:05 2015 -0400 gtk-demo: Check a return value Found by coverity. demos/gtk-demo/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 6c862f229fa54b6377856409b4b12ed362f8bf87 Author: Benjamin Otte Date: Fri Jul 17 22:06:16 2015 +0200 css: Fix GtkCssChange enum Previously, the (1<<31) value evaluated to the 64bit value 0xFFFFFFFF80000000 instead of 0x0000000080000000 Avoid this by explicitly casting the value to unsigned long long. Also cast all values to unsigned long long to achieve consistency and hopefully in the future get new values added the same way. gtk/gtkcsstypesprivate.h | 70 ++++++++++++++++++++++++------------------------ 1 file changed, 35 insertions(+), 35 deletions(-) commit dbb183072804b3a498d84cb6c98f5f93a6f6c8c5 Author: Benjamin Otte Date: Fri Jul 17 17:50:25 2015 +0200 headerbar: Switch css positions on direction change gtk/gtkheaderbar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 048051788676c7d8c4213d3e49aa40cec805bf70 Author: Balázs Úr Date: Fri Jul 17 14:25:22 2015 +0000 Updated Hungarian translation po-properties/hu.po | 1760 +++++++++++++++++++++++++++------------------------ 1 file changed, 918 insertions(+), 842 deletions(-) commit 9b81372ad9ffc005673bead2b4b42e7898138870 Author: Matthias Clasen Date: Fri Jul 17 08:56:06 2015 -0400 file chooser: Improve popover positioning We keep the popover vertically tied to the selected row, but pick up the horizontal position from the click / touch. gtk/gtkfilechooserwidget.c | 47 ++++++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 22 deletions(-) commit 7627ed8000ed705af3f963d861f5dd230902cd1f Author: Matthias Clasen Date: Thu Jul 16 19:27:01 2015 -0400 places sidebar: Preserve ::populate-popup functionality We "fix" this signal the same way we did for GtkEntry and GtkTextView: slightly change the signature so that the passed widget may be a container other than a GtkMenu, and add a property to explicitly opt in to receiving the signal in this case. gtk/gtkplacessidebar.c | 105 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 78 insertions(+), 27 deletions(-) commit 33cc51d9942d66b3a0ea01097a65825c0fd6635f Author: Matthias Clasen Date: Thu Jul 16 10:45:14 2015 -0400 file chooser: Use a popover for the context menu Use a popover for the context menu, and add a long press gesture to allow opening it with touch. gtk/gtkfilechooserwidget.c | 508 +++++++++++++++++++++++---------------------- 1 file changed, 255 insertions(+), 253 deletions(-) commit e08c5262b728471934d15fef5389b74a1eefbd15 Author: Matthias Clasen Date: Wed Jul 15 21:25:10 2015 -0400 places sidebar: Use a popover for the context menu Use a popover for the context menu, and add a long press gesture to allow opening it with touch. gtk/gtkplacessidebar.c | 482 +++++++++++++++++++++++-------------------------- 1 file changed, 224 insertions(+), 258 deletions(-) commit 186c8f5254a7b9b29df6d9708a5d10f869d6829d Author: Ignacio Casal Quinteiro Date: Fri Jul 17 09:31:32 2015 +0200 gdk: fix crash if visual is NULL cairo_xlib_surface_get_visual might return NULL so we need to check for NULL before trying to use it. https://bugzilla.gnome.org/show_bug.cgi?id=752520 gdk/x11/gdkglcontext-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit 02577ddb06d9fe9f9ddc2813d15f8c2100e31c36 Author: Matthias Clasen Date: Thu Jul 16 23:42:55 2015 -0400 inspector: Avoid a gratitious use of g_strv_length No need to count the strings first before iterating over them. gtk/inspector/selector.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 1fb075dbca911d4a61e7ebbf9fc040cd697f4d83 Author: Matthias Clasen Date: Thu Jul 16 23:36:51 2015 -0400 file chooser: Make bindings work in save entry With the name entry being in the header bar now, we no longer get bindings working by just letting the key event bubble up, we have to explicitly apply them on key events that the save entry is not handling. gtk/gtkfilechooserwidget.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit c53bed3b391f42c85fb62c029005d086d43686b0 Author: Timm Bäder Date: Thu Jul 16 21:47:13 2015 +0200 GtkFileChooserButton: Don't update icon/label so often They were updated in style-changed, causing the label to get set to (None), then to the actual file name again a frame later, both of the updates cause the GtkFileChooserButton to resize, possibly to the minimal width, causing the layout to jump. Fix this by only updating icon/label in style-updated when the icon theme actually changed, which is the only case we care about here. https://bugzilla.gnome.org/show_bug.cgi?id=752509 gtk/gtkfilechooserbutton.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 2902585518e0c175e75ec4d9657594a904e2eb0a Author: Timm Bäder Date: Thu Jul 16 18:37:13 2015 +0200 gtkprintunixdialog: Set border_width to 0 gtk/ui/gtkprintunixdialog.ui | 1 + 1 file changed, 1 insertion(+) commit e259b2f30d86fdde7dab27a25e8088d36421acc7 Author: Emmanuele Bassi Date: Thu Jul 16 16:12:35 2015 +0100 Avoid O(n²) walking of string arrays "Yo, we heard you like traversing NULL-terminated arrays to operate on them, so we called g_strv_length() as the for condition, so you can iterate the array while iterating the array." Instead of making famed rapper and television producer Xzibit proud, we should avoid calling g_strv_length() on an array while looping on the array, to avoid quadratic complexity. We do this in various places that deal with arrays of strings that we cannot really guess are short enough not to matter — e.g. the list of CSS selectors in the inspector, or the required authentication information for printing. gtk/gtkprintbackend.c | 25 +++++++++++++----------- gtk/inspector/selector.c | 5 +++-- modules/printbackends/cups/gtkcupssecretsutils.c | 5 +++-- testsuite/a11y/state/state-record.c | 7 ++++--- 4 files changed, 24 insertions(+), 18 deletions(-) commit 3b41daca780e9e83d04dcad43e2fbd5a2ab8c120 Author: Georges Basile Stavracas Neto Date: Thu Jul 16 10:28:19 2015 -0300 placessidebar: show persistent drives when not showing Other Locations Previous commits changes the behavior of GtkPlacesSidebar, as it stops handling persistent devices and only manages mounted networks, XDG directories and bookmarks. By radically breaking the previous behavior, we may have trouble since we provide no alternatives to that besides the private widget GtkPlacesView. Fix that by showing the persistent devices when not showing Other Locations item. gtk/gtkplacessidebar.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit b274a2656d06ed7aa3e649e93988de86af048957 Author: Emmanuele Bassi Date: Thu Jul 16 14:53:42 2015 +0100 tests/gears: Ensure we don't use unavailable GL resources We need to check on realize if we have access to a GL context, before calling GL functions. We use gtk_gl_area_get_error() for that. We also need to tear down the resources during unrealization, instead of leaking them. tests/gtkgears.c | 122 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 87 insertions(+), 35 deletions(-) commit a39b8f67ba914cd2d6c2df50ce8b1659d9714d30 Author: Georges Basile Stavracas Neto Date: Thu Jul 16 09:37:56 2015 -0300 placessidebar: fix Connect to Server position Commit 7db399d975b8f9626c21761dde5f2d5feeb6e305 introduces the Other Locations item, as well as some behavioral changes to GtkPlacesSidebar. It, howevers, wrongly changes the section of code that handles the Connect to Server item, with various side effects depending on the environment setup. Fix that by adding the Connect to Server at the right section of code. gtk/gtkplacessidebar.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 40efaf67bfa759f854145010ddb7fff341eece2f Author: Yosef Or Boczko Date: Thu Jul 16 12:59:49 2015 +0300 Updated Hebrew po-properties translation po-properties/he.po | 2105 +++++++++++++++++++++++++++------------------------ 1 file changed, 1105 insertions(+), 1000 deletions(-) commit 0916b58d02e054193be0db45b8e7736621e93460 Author: Yosef Or Boczko Date: Thu Jul 16 12:54:42 2015 +0300 Updated Hebrew translation po/he.po | 36 ++++++++++++++++-------------------- 1 file changed, 16 insertions(+), 20 deletions(-) commit 09baf865b6f6df95ac3de2f51476f34392ee8e43 Author: Yosef Or Boczko Date: Thu Jul 16 12:44:56 2015 +0300 Updated Hebrew translation po/he.po | 750 ++++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 506 insertions(+), 244 deletions(-) commit 9a0fcfe081f736493aa33fce7fb0587bcf64232e Author: Daniel Mustieles Date: Thu Jul 16 10:41:16 2015 +0200 Updated Spanish translation po-properties/es.po | 205 +++++++++++++++++++++++++++++++++------------------- 1 file changed, 130 insertions(+), 75 deletions(-) commit a2a227f939dbd960d7e3961d2ac12041d20a2e06 Author: Daniel Mustieles Date: Thu Jul 16 10:40:58 2015 +0200 Updated Spanish translation po/es.po | 370 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 221 insertions(+), 149 deletions(-) commit 5b8938440bdcf9affd4a252be69f2142a1827591 Author: Piotr Drąg Date: Thu Jul 16 06:49:33 2015 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 2 ++ po-properties/POTFILES.skip | 2 ++ po/POTFILES.in | 4 ++++ 3 files changed, 8 insertions(+) commit bc19ea965fb23a782f691c82139c807e828646a7 Author: Benjamin Otte Date: Thu Jul 16 06:37:37 2015 +0200 tests: Remove testplacesview test The GtkPlacesView widget was made private, so we can't create it in a testcase. tests/Makefile.am | 5 ----- tests/testplacesview.c | 2 ++ 2 files changed, 2 insertions(+), 5 deletions(-) commit 974c60a0d50523fa8e09d13e2d6d9ba535b2ace8 Author: Benjamin Otte Date: Thu Jul 16 06:25:46 2015 +0200 tests: Fix gcc complaints about testfilechooser tests/testfilechooser.c | 71 ++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 34 deletions(-) commit 3d2ead0fce07d571b56d0118a3419d658457afde Author: Benjamin Otte Date: Thu Jul 16 03:22:40 2015 +0200 headerbar: Get rid of get_path_for_child() Instead, reorder CSS nodes. gtk/gtkcontainer.c | 4 +- gtk/gtkcontainerprivate.h | 1 - gtk/gtkheaderbar.c | 108 +++++++++++++++++++++++----------------------- 3 files changed, 57 insertions(+), 56 deletions(-) commit a039fd1699389d006dd7ab3b4bb811368f03a5e0 Author: Benjamin Otte Date: Wed Jul 15 01:51:01 2015 +0200 headerbar: Finish widget setup before showing it. gtk/gtkheaderbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 792076e09b482e1db06e104e0fc11e69b4fdd122 Author: Benjamin Otte Date: Tue Jul 14 22:27:13 2015 +0200 headerbar: forall() the button boxes in the right order gtk/gtkheaderbar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit b9b17c3c2a434983452561c396918070c9702f5e Author: Benjamin Otte Date: Tue Jul 14 18:02:48 2015 +0200 headerbar: Remove unused variables in private struct gtk/gtkheaderbar.c | 36 ------------------------------------ 1 file changed, 36 deletions(-) commit 8e87988179defdc7fd056300fb418d2a5f4c44a7 Author: Benjamin Otte Date: Sun Jul 12 23:11:24 2015 +0200 toolbar: Switch from get_path_for_child() to css node managing gtk/gtktoolbar.c | 158 +++++-------------------------------------------------- 1 file changed, 13 insertions(+), 145 deletions(-) commit a7680c68de3cc5012ac7a63658c051f1771e8af9 Author: Benjamin Otte Date: Sun Jul 12 23:11:11 2015 +0200 cssnode: Add gtk_css_node_reverse_children() gtk/gtkcssnode.c | 15 +++++++++++++++ gtk/gtkcssnodeprivate.h | 2 ++ 2 files changed, 17 insertions(+) commit 6e4f42f97e4b61d9fb2c3e8ecc0ac9baa3eb890b Author: Benjamin Otte Date: Sun Jul 12 21:39:49 2015 +0200 cssnode: Change API of some functions gtk_css_node_set_after/before() are now called gtk_css_node_insert_after/before(). This brings them in line with other similar APIs (ie GtkListStore). And it allows easier usage of the API (see changes to gtkbox.c). gtk/gtkbox.c | 45 +++++++++++++++++++++------------------------ gtk/gtkcssnode.c | 26 +++++++++++++++++--------- gtk/gtkcssnodeprivate.h | 6 ++++-- gtk/gtkflowbox.c | 12 ++++++------ gtk/gtklistbox.c | 12 ++++++------ 5 files changed, 54 insertions(+), 47 deletions(-) commit 79f2400c0dd769755b8e2034a9d574f567987c0d Author: Georges Basile Stavracas Neto Date: Tue Jul 14 14:48:49 2015 -0300 filechooserwidget: use places view to manage fixed devices Previous patch modified places sidebar widget to stop handling fixed devices by adding an "Other Locations..." item. Up to now, however, these changes are isolated from each other since the bundled file manager widgets ignore the sidebar requests for external management of fixed devices and networks. To fix that, make the file chooser widget be aware of the GtkPlacesSidebar::show-other-locations signal and, when requested, show places view to manage the fixed devices and networks. https://bugzilla.gnome.org/show_bug.cgi?id=752034 gtk/gtkfilechooserwidget.c | 81 ++++++++++++++++++++++++++++++++++++++---- gtk/ui/gtkfilechooserwidget.ui | 13 +++++++ 2 files changed, 87 insertions(+), 7 deletions(-) commit 7db399d975b8f9626c21761dde5f2d5feeb6e305 Author: Georges Basile Stavracas Neto Date: Tue Jul 14 14:47:42 2015 -0300 placessidebar: add Other Locations item Places sidebar is a widget that enabled the user to select XDG directories, bookmarks and mounted network locations, as well as manages permanent and removable devices. The new design that aims to look less clutered makes the sidebar display only removable devices, as well as mounted networks, bookmarks and XDG directories, and delegates the management of permanent devices such as hard drive partitions to GtkPlacesView, a newly introduced widget for this specific purpose. To delegate it, add an "Other Locations..." item to notify when the permanent devices manager is required. Besides that, don't show these fixes devices on the sidebar itself, as they are not supposed to be handled by the sidebar anymore. https://bugzilla.gnome.org/show_bug.cgi?id=752034 gtk/gtkplacessidebar.c | 227 +++++++++++++++++++++++++++++++++--------- gtk/gtkplacessidebar.h | 10 +- gtk/gtkplacessidebarprivate.h | 5 +- 3 files changed, 193 insertions(+), 49 deletions(-) commit 7af88d40b14f5793b975eab34e727ae4535d0cb7 Author: Georges Basile Stavracas Neto Date: Tue Jul 14 14:45:37 2015 -0300 placesview: add view for fixed drives and networks Places sidebar shows XDG directories, mounted and unmounted devices, connected networks, bookmarks and actions like 'Connect to server' and 'Insert location', which causes the sidebar to grow very quickly and look cluttered. Because of that, new mockups for the sidebar try to simplify it. To make the sidebar simpler, the new mockups propose that it should only handle connected networks and removable devices such as flash drives and USB devices, and delegates other devices for external widgets through the 'Other Locations' item. To handle fixed devices and manage network connections, add a new widget named GtkPlacesView, based on Nautilus mockups to keep consistency between GNOME file management tools - in this case, between Nautilus and the bundled Gtk's file chooser. https://bugzilla.gnome.org/show_bug.cgi?id=752034 gtk/Makefile.am | 6 + gtk/gtkplacesview.c | 2028 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkplacesviewprivate.h | 93 ++ gtk/gtkplacesviewrow.c | 246 +++++ gtk/gtkplacesviewrowprivate.h | 51 ++ gtk/ui/gtkplacesview.ui | 504 ++++++++++ gtk/ui/gtkplacesviewrow.ui | 107 +++ tests/Makefile.am | 5 + tests/testplacesview.c | 24 + 9 files changed, 3064 insertions(+) commit 72bfb40ccf746f743d9818f9dbecf2820f4557ba Author: Carlos Garnacho Date: Wed Jul 15 21:19:25 2015 +0200 Revert "x11: Query pointer devices' scroll valuators on toplevel enter events" This reverts commit 77b8495bc4e51826afa451914d6a3b0df1b62a24. The commit broke more scenarios than fixed, better to go back to square one. gdk/x11/gdkdevice-xi2.c | 39 ++++++++++++++++----------------------- gdk/x11/gdkdevicemanager-xi2.c | 15 ++++++++++----- gdk/x11/gdkprivate-x11.h | 2 -- 3 files changed, 26 insertions(+), 30 deletions(-) commit 6504b2e53468004c7936e7f79fba03291dc58128 Author: Owen W. Taylor Date: Wed Jul 15 12:38:38 2015 -0400 GdkDisplayX11: Properly translate server timestamps from _NET_WM_FRAME_* messages When using frame times from _NET_WM_FRAME_DRAWN and _NET_WM_FRAME_TIMINGS, we were treating them as local monotonic times, but they are actually extended-precision versions of the server time, and need to be translated to monotonic times in the case where the X server and client aren't running on the same system. This fixes rendering stalls when using X over a remote ssh connection. https://bugzilla.gnome.org/show_bug.cgi?id=741800 gdk/x11/gdkdisplay-x11.c | 43 ++++++++++++++++++++++++++++++++++++++++++- gdk/x11/gdkdisplay-x11.h | 6 ++++++ 2 files changed, 48 insertions(+), 1 deletion(-) commit 24e1323eb33f22c1126d1701639b2605c4443868 Author: Matthias Clasen Date: Wed Jul 15 01:44:31 2015 -0400 places sidebar: Handle menu key It is good practice to handle the menu key and Shift-F10 to allow keyboard-driven use of context menus. gtk/gtkplacessidebar.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit bd71b801de54218907bf4211e6ef506eec23c967 Author: William Hua Date: Mon Jul 13 08:55:43 2015 -0400 mir: don't ensure_surface if window not visible gdk/mir/gdkmirwindowimpl.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 064f28fcbc54c7254e36d2a2e9b2771ce754f988 Author: William Hua Date: Thu Jul 9 15:59:29 2015 -0400 mir: don't warn if transient_for is NULL gdk/mir/gdkmirwindowimpl.c | 2 -- 1 file changed, 2 deletions(-) commit b32899b98a5c24e44bb8a0e53677d8cc226d1754 Author: William Hua Date: Thu Jul 9 15:05:45 2015 -0400 mir: add more default settings under mir gdk/mir/gdkmirscreen.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit 88b278b45cac388b73a40bb90c2c3a2b593366b7 Author: Pedro Albuquerque Date: Wed Jul 15 10:02:38 2015 +0000 Updated Portuguese translation po/pt.po | 172 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 88 insertions(+), 84 deletions(-) commit 34388d147f7c3f4cad6737da2146963e2ed9ea39 Author: Daniel Mustieles Date: Wed Jul 15 11:13:29 2015 +0200 Updated Spanish translation po/es.po | 104 +++++++++++++++++++++++++-------------------------------------- 1 file changed, 41 insertions(+), 63 deletions(-) commit e7c0bb6025b117ff36cc33740156f1f891aecde3 Author: Matthias Clasen Date: Wed Jul 15 00:15:44 2015 -0400 file chooser: Show progess spinner even if not empty With the previous approach, we could only show the spinner before we had any results. With the new approach, we can just leave the timeout in place and always show the spinner until the search is done. gtk/gtkfilechooserwidget.c | 6 ------ 1 file changed, 6 deletions(-) commit 6d757750f1e8daabb0704f960aa5481f6bef1ca1 Author: Matthias Clasen Date: Wed Jul 15 00:12:33 2015 -0400 file chooser: Stop search when entry is cleared gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 5bd60131651ee6241f7afc46e34f6600f352945c Author: Matthias Clasen Date: Wed Jul 15 00:03:09 2015 -0400 file chooser: Refine search progress display Move the spinner to the search bar, so we can keep it around until the search is over. gtk/gtkfilechooserwidget.c | 26 ++++++++++++-------------- gtk/ui/gtkfilechooserwidget.ui | 17 +++++++++-------- 2 files changed, 21 insertions(+), 22 deletions(-) commit eb67d14551a5d77dc3519689923e788c21050800 Author: Matthias Clasen Date: Tue Jul 14 23:48:09 2015 -0400 file chooser: Be more careful with subtitles We were showing things like "Searching in (null)" if the current folder is not in the sidebar. Avoid that by falling back to using current_folder. Pointed out by Carlos Soriano. gtk/gtkfilechooserwidget.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit a00a5ed2104b516200c13c40be3ffa174d87fd91 Author: Ryan Lortie Date: Mon Jul 6 14:08:11 2015 -0400 GtkApplication: avoid using stale timestamps Avoid using a stale timestamp (from the last user interaction with the application) when a message arrives from D-Bus requesting that a new window be created. In this case the most-correct thing that we can do is to use no timestamp at all. We modify gdk_x11_display_set_startup_notification_id() to allow a NULL value to mean "reset everything" and then call this function unconditionally on receipt of D-Bus activation requests. The result will be that a missing desktop-startup-id in the platform-data struct will reset the timestamp. Under their default configuration metacity and mutter will both map windows presented with no timestamp in the foreground. This could result in false-positive, but there is very little we can do about that without the original timestamp from the user event. https://bugzilla.gnome.org/show_bug.cgi?id=752000 gdk/x11/gdkdisplay-x11.c | 57 +++++++++++++++++++++++++++++------------------- gtk/gtkapplication-x11.c | 13 +++++------ 2 files changed, 39 insertions(+), 31 deletions(-) commit 18dbe181fb13571ecbc76ce7f7f28c36c557a3d6 Author: Jasper St. Pierre Date: Tue Jul 14 18:24:42 2015 -0700 gtkframe: Don't queue a redraw on the entire widget every size allocate Lots of applications often use GtkFrame as a giant toplevel container, and that means that they get size allocated often. When frames get size allocated, they invalidate their entire widget tree, even if they haven't changed size or anything like that happens at all. This is because the shadow / label needs to be redrawn if the child changes size. We can optimize this out and only mark ourselves for a redraw if the child has actually changed its size. gtk/gtkframe.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 2dda89cbd52e09cfbc24a9139caa7a65a5f73f2c Author: Lars Uebernickel Date: Wed Jul 8 16:36:07 2015 +0200 GtkButtonBox: remove spacing when buttons are linked GtkButtonBox adds the "linked" class to its style context when its layout is set to GTK_BUTTONBOX_EXPAND. It shouldn't ever make sense to have spacing between buttons in that case, as themes generally draw linked elements with a continuous border. Thus, always set spacing to 0 and ignore GtkDialog's button-spacing style property when the layout is set to EXPAND. Also remove the now-redundant css rules which set button-spacing to 0 for message dialogs. https://bugzilla.gnome.org/show_bug.cgi?id=752131 gtk/gtkbbox.c | 1 + gtk/gtkbbox.h | 5 ++++- gtk/gtkdialog.c | 5 +++-- gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/HighContrast/_common.scss | 1 - 5 files changed, 8 insertions(+), 6 deletions(-) commit 0f479deb5eb90fe131a91b7e6d0a8df7f93fec2a Author: Matthias Clasen Date: Mon Jul 13 18:56:34 2015 -0400 range: Tweak button bindings Change things around so that warp-to-click and jump-by-pages are bound to left-click and shift-left-click, depending on the value of gtk-primary-button-warps-slider. Autoscrolling is bound to right-click. To achieve this, reorganize gtk_range_multipress_gesture_pressed so that the functions are clearly separated. gtk/gtkrange.c | 157 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 78 insertions(+), 79 deletions(-) commit 437254d20f9d54ebfdd267611fdbb6f6feb1917e Author: Daniel Mustieles Date: Mon Jul 13 10:51:18 2015 +0200 Updated Spanish translation po-properties/es.po | 1659 ++++++++++++++++++++++++++------------------------- 1 file changed, 849 insertions(+), 810 deletions(-) commit c45941300537df412d4f206262744f9bc1de97e7 Author: Daniel Mustieles Date: Mon Jul 13 10:51:05 2015 +0200 Updated Spanish translation po/es.po | 729 +++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 475 insertions(+), 254 deletions(-) commit 6b05a686dcc406aaf84ffb56ae5fa2d5c83f45ae Author: Kalev Lember Date: Sun Jul 12 20:18:17 2015 +0200 GtkSettings: Fix a documentation typo gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1ca6d8b1b586ea6d11c481b442862dab30ae0a8a Author: Matthias Clasen Date: Sun Jul 12 01:53:36 2015 -0400 range: Trivial field ordering gtk/gtkrange.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 1c780beb8b194d18ff86ca53f30b0c6c522bfc0d Author: Matthias Clasen Date: Sun Jul 12 01:36:17 2015 -0400 range: Add a stepper alternative Make shift right-click on the trough start autoscrolling. The autoscrolling is similar to the way steppers operate now, with the difference that we vary the scrolling speed based on the distance of the pointer from the widget. gtk/gtkrange.c | 60 ++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 50 insertions(+), 10 deletions(-) commit 6e280d2478c7c592688f931c032972f2df03cdb2 Author: Matthias Clasen Date: Sun Jul 12 00:23:32 2015 -0400 range: switch secondary and middle button on steppers Clicking on steppers does different things depending on which button you use. We used to scroll to the end on secondary click and use high-speed autoscrolling on middle-click. Switch these two around, since the scroll-to-end functionality is less likely to be useful, and the seconary button makes the autoscrolling more easily available. gtk/gtkrange.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f35c7b83d9938957e148c86105fabce8ec410c2d Author: Matthias Clasen Date: Thu Jul 9 09:10:10 2015 -0500 font chooser: Remove a stray notify This was forgotten when I changed to font map to not be a property. gtk/gtkfontchooserwidget.c | 2 -- 1 file changed, 2 deletions(-) commit 301cf24b336550237f351a46ce38e5683ec06ece Author: Matthias Clasen Date: Wed Jul 8 21:47:47 2015 -0400 file chooser: Clean up unused includes gtk/gtkfilechooserwidget.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 995e87322c01d22290e122a88d8d1ff3091ce1a3 Author: Matthias Clasen Date: Wed Jul 8 21:37:47 2015 -0400 file chooser: Remove some obsoltete code We no longer have editable rows in the list, so no need to check for them anymore. gtk/gtkfilechooserwidget.c | 19 ------------------- 1 file changed, 19 deletions(-) commit 0c7237f15ee8271502e99b062cc4780b499d8397 Author: Matthias Clasen Date: Wed Jul 8 21:31:40 2015 -0400 file chooser: Fix multi-selection Even if we only ever hit the code with a singleton selection, calling gtk_tree_selection_get_selected is not ok if the tree selection mode allows multi-selection. Replace all calls to gtk_tree_selection_get_selected in the file chooser code with callback loops iterating over the selection. This problem was introduced with the recently added rename and delete menuitems. gtk/gtkfilechooserwidget.c | 240 +++++++++++++++++++++++---------------------- 1 file changed, 125 insertions(+), 115 deletions(-) commit 24dc6f877120787fafb01bc6a3dc5b1c914ba21f Author: Matthias Clasen Date: Wed Jul 8 21:09:23 2015 -0400 file chooser: Do less work We only need to update the sensitivity of the context menu items rihgt before we are going to pop it up. Everything else is pointless work. gtk/gtkfilechooserwidget.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 201d4c110186dcfa77f2cee2bed88f1674c52f54 Author: Matthias Clasen Date: Wed Jul 8 21:06:58 2015 -0400 file chooser: Avoid doing excess work Whenever we change directories, we unset the model, and then we set a new model. This causes several emissions of GtkTreeSelection::changed, for each of which we do a bunch of work to update the path bar, the location entry, etc. We can savely ignore some of these signals, and do less work. gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 72a8064c7d1ebf3bffb20b0f4c3092d7ae4fb1cf Author: Matthias Clasen Date: Wed Jul 8 20:32:03 2015 -0400 Trivial code cleanup gtk/gtkfilechooserwidget.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 410d180b459405e191265cbacd5aa4b1b27dc9df Author: Matthias Clasen Date: Wed Jul 8 20:15:07 2015 -0400 file chooser: Avoid animations when setting up There is no need to animate things when we are just setting up the startup mode, so disable transitions in the revealer and the stack. Pointed out by Carlos Soriano gtk/gtkfilechooserwidget.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit e43ba9d726658123036b6c49ee0c2be011adefab Author: Matthias Clasen Date: Wed Jul 8 17:42:34 2015 -0400 file chooser: Ensure we update subtitles Notify the ::subtitle property when modes change that may affect it. Also ensure that we update the location mode when we switch back to the pathbar. gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 190f025f74d41e2cbee82615e7305b62faab044e Author: Benjamin Otte Date: Fri Jul 10 21:34:41 2015 +0200 cssnode: Only queue_validate() when node is visible This avoids running animations in hidden toplevels. gtk/gtkcssnode.c | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) commit adcb52e82bf9c6545718a3c4d00c171aba6b20d4 Author: Benjamin Otte Date: Fri Jul 10 21:34:06 2015 +0200 cssnode: Only invalidate sibling nodes if changed node is visible gtk/gtkcssnode.c | 35 +++++++++++++++++++++++++---------- 1 file changed, 25 insertions(+), 10 deletions(-) commit c05cd611e6e31813648ec1bd4d7b7139b8f1fca2 Author: Pedro Albuquerque Date: Fri Jul 10 08:37:25 2015 +0000 Updated Portuguese translation po/pt.po | 202 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 101 insertions(+), 101 deletions(-) commit 60384740603c3e8a0fda8e823ac6df19352077e5 Author: Eric Williams Date: Tue Jul 7 14:54:32 2015 -0400 Added an additional explanation and code snippet for GtkImageMenuItem.c https://bugzilla.gnome.org/show_bug.cgi?id=752093 gtk/deprecated/gtkimagemenuitem.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit a74a3da745e6923b0d5f04073f40446a310aec40 Author: Eric Williams Date: Tue Jul 7 13:12:52 2015 -0400 Added a more meaningful description for /deprecated/gtkimagemenuitem.c https://bugzilla.gnome.org/show_bug.cgi?id=752088 gtk/deprecated/gtkimagemenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8e53a011885adc749dc67e3553f21f9fbe4404e3 Author: Matthias Clasen Date: Tue Jul 7 23:16:09 2015 -0400 places sidebar: Fix rows getting 'lost' when dnd fails There was some code that lead to the places sidebar loosing track of the row being dragged if a motion event came in between letting go of the button and the drag snap-back animation ending. This would cause us to not show the row again, giving the appearance that it was 'lost'. https://bugzilla.gnome.org/show_bug.cgi?id=751448 gtk/gtkplacessidebar.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 8756c03885a7dbeb6d075ab270112cf66079db3a Author: Benjamin Otte Date: Tue Jul 7 21:38:59 2015 +0200 testtoolbar: Don't expand rows that shouldn't be expanded tests/testtoolbar.c | 2 -- 1 file changed, 2 deletions(-) commit 0f6c9557959c9111714cee712d233ac3afc86657 Author: Benjamin Otte Date: Tue Jul 7 18:53:10 2015 +0200 frame: Remove get_path_for_child implementation As far as I can read the code it added the .frame style class to the GtkFrame element. But GtKFrame already has a .frame style class these days. gtk/gtkframe.c | 20 -------------------- 1 file changed, 20 deletions(-) commit 6379a425b069eeab32c052b42a60908e0d0e5fb7 Author: Benjamin Otte Date: Tue Jul 7 18:16:39 2015 +0200 actionbar: Remove get_path_for_child implementation It wasn't used because CSS walks the widget->parent chain, so it'd only ever call this func for priv->revealer. gtk/gtkactionbar.c | 13 ------------- 1 file changed, 13 deletions(-) commit 7f8de66c0a85dcf114068348d728eeb3b67e8762 Author: Benjamin Otte Date: Tue Jul 7 17:51:31 2015 +0200 css: text-decoration-style is not inherited gtk/gtkcssstylepropertyimpl.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit bdf0820c501437a2150d8ff0d5340246e713f73f Author: Matthias Clasen Date: Tue Jul 7 20:39:45 2015 -0400 Simplify Xft setting fallback If we don't find Xft values in the X resource db, simply fall back to the values that are hardcoded in /etc/X11/Xresources anyway. Extra trickery with likely-made-up screen dimensions is not going to yield better results, and only makes for a deeper rabbit hole when debugging. gdk/x11/gdkxftdefaults.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 3fb1d1806d0137396eef2ae63df13005be91a010 Author: Carlos Soriano Date: Tue Jul 7 22:57:51 2015 +0200 gtksidebarrow: remove unused property The sensitive property was a workaround which commit 3f8982a0cd7b779fe023bbd fixed. Just remove it now that is not necessary. gtk/gtksidebarrow.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit 0f935a04835d3239726610168e202c5110921090 Author: Carlos Soriano Date: Tue Jul 7 22:47:10 2015 +0200 gtkrevealer: fix preferred width calculation A typo which was using minimum_width for natural_width and viceversa. gtk/gtkrevealer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d51e8a73cb513e0df337d577daefb9f1fa3832f7 Author: Piotr Drąg Date: Tue Jul 7 21:51:55 2015 +0200 Fix a minor typo gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 254f13d103ae9133ca6b0ed088a0ae3da7cc6e74 Author: Piotr Drąg Date: Tue Jul 7 20:26:24 2015 +0200 Updated Polish translation po-properties/pl.po | 4393 ++++++++++++++++++++++++++------------------------- 1 file changed, 2216 insertions(+), 2177 deletions(-) commit 7d43cda4934779e7529a905db2762a92eeda2f0b Author: Tom Schoonjans Date: Mon Jul 6 17:34:37 2015 +0200 gdkwindow-quartz: partial aspect ratio support Support was added for GDK_HINT_ASPECT in gdk_quartz_window_set_geometry_hints though with one restriction: min_aspect and max_aspect have to be equal, which I believe corresponds to the most common usage. A warning will be printed if this condition is not met but min_aspect will be used anyway. gdk/quartz/gdkwindow-quartz.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit d2f27bfe7126c4ee726ec4510e9a70521ce87277 Author: Ryan Lortie Date: Mon Jul 6 09:40:48 2015 -0400 testgmenu: use the menu binding code The menu tracker does a better job of this than we can, so move over to using it instead. This fixes issues with './testgmenu --import' not properly displaying the language submenu. https://bugzilla.gnome.org/show_bug.cgi?id=752016 tests/testgmenu.c | 387 ++---------------------------------------------------- 1 file changed, 14 insertions(+), 373 deletions(-) commit 9e2092d3063744dde05827b5d42442bb82c00796 Author: Carlos Garnacho Date: Tue Jul 7 12:50:14 2015 +0200 gtkdnd: Fix introspection annotations in some functions The GdkEvent field is nullable on gtk_drag_begin*, and gtk_drag_cancel() is a method, like the rest of the DnD API. gtk/gtkdnd.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit dadb2750b1ff288c5627f472faf94b33b1f355bb Author: Carlos Garnacho Date: Mon Jul 6 19:33:49 2015 +0200 gtkdnd: Account for setting a same icon helper g_set_object() will take care of ref'ing before destroying the previous instance, which might actually be the same pointer. https://bugzilla.gnome.org/show_bug.cgi?id=751401 gtk/gtkdnd.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 4b31962475b349fcc5c0445f7f3f14ea16889505 Author: Pedro Albuquerque Date: Tue Jul 7 05:25:12 2015 +0000 Updated Portuguese translation po/pt.po | 247 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 127 insertions(+), 120 deletions(-) commit 826c1db859ce1c33e34ec723dd7d72313a97a67d Author: Matthias Clasen Date: Tue Jul 7 00:24:19 2015 -0400 file chooser: Add a shortcut to focus the sidebar Alt+P used to do this in the gtk2 filechooser (well, sometimes). Add this back as a key binding. https://bugzilla.gnome.org/show_bug.cgi?id=720684 gtk/gtkfilechooserwidget.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit fb316156e24b1021c8680b05392be972645515fd Author: Matthias Clasen Date: Mon Jul 6 23:21:51 2015 -0400 place sidebar: Make removing bookmarks work again This was accidentally broken in ae8c07c67cfa83d967 when I forgot to switch the sense of a condition. gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e1211577b343da3d8c1d195275a7d2d780fe011a Author: Matthias Clasen Date: Mon Jul 6 23:03:56 2015 -0400 file chooser: Make delete confirmation match nautilus No need to diverge here. gtk/gtkfilechooserwidget.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit b96b796a8d8497da995e29d4f4c5e3b5b3c1d53a Author: Matthias Clasen Date: Mon Jul 6 22:57:40 2015 -0400 file chooser: Separate out delete and trash We only ever show one of the two context menu items (and we prefer Move to Trash over Delete). Only use the confirmation dialog when deleting. gtk/gtkfilechooserwidget.c | 92 +++++++++++++++++++++++++++++++++++---------- gtk/gtksearchenginesimple.c | 1 + 2 files changed, 73 insertions(+), 20 deletions(-) commit 3cbe6d86aff9a58431c529d40f0a932ce575c4c2 Author: Matthias Clasen Date: Mon Jul 6 21:59:10 2015 -0400 place sidebar: minor change We generally prefer for loops to iterate over lists. gtk/gtkplacessidebar.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 06f91028408205fa55ef24c5553d058f5feba3e3 Author: Matthias Clasen Date: Mon Jul 6 21:39:39 2015 -0400 file chooser: Allow rename-to-self When checking for a name clash for renaming, don't complain if the name is unchanged. That's harmless. gtk/gtkfilechooserwidget.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 7c9e3df1987617de56b594d6674bd60cfc7db477 Author: Matthias Clasen Date: Mon Jul 6 21:35:03 2015 -0400 wip: reshuffle name checks gtk/gtkfilechooserwidget.c | 65 +++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 35 deletions(-) commit 88cee9288bae355325fdf148cb22ab8b7ffe82a9 Author: Matthias Clasen Date: Mon Jul 6 20:57:11 2015 -0400 file chooser: Remove unused field gtk/gtkfilechooserwidget.c | 1 - 1 file changed, 1 deletion(-) commit 56af2358deeacff9f25faaf897adaf53c76adac0 Author: Matthias Clasen Date: Mon Jul 6 20:50:08 2015 -0400 file chooser: Clear search entry when it goes away Keeping the entry contents conflicts with type-to-search. gtk/gtkfilechooserwidget.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 1eb1481bdf998383bf3fc58886aff50e2e164d54 Author: Paolo Borelli Date: Mon Jul 6 20:03:54 2015 +0200 css: support text-decoration-style The support is limited to underline single, double and wavy, which is what pango has today. gtk/gtkcssenumvalue.c | 54 +++++++++++++++++++++++++++++++++++++-- gtk/gtkcssenumvalueprivate.h | 4 +++ gtk/gtkcssshorthandpropertyimpl.c | 12 ++++++--- gtk/gtkcssstylepropertyimpl.c | 22 ++++++++++++++++ gtk/gtkcsstypesprivate.h | 7 +++++ gtk/gtkstylecontext.c | 25 +++++++++++++++--- 6 files changed, 116 insertions(+), 8 deletions(-) commit 09273d91f3a8b2e8bcbbaf5f8f81e91ff7ca1ea6 Author: Michael Catanzaro Date: Mon Jul 6 11:21:41 2015 -0500 wayland: print correct coordinates during DnD Convert wl_fixed values to floats for printing, rather than printing them as non-meaningful integers. https://bugzilla.gnome.org/show_bug.cgi?id=752025 gdk/wayland/gdkdevice-wayland.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 3f8982a0cd7b779fe023bbd19ec4cebf5baae422 Author: Carlos Garnacho Date: Wed Jul 1 18:46:30 2015 +0200 gtkdnd: Traverse across insensitive widgets The current widget lookup code bails out on insensitive widgets, there's however legit cases where we want DnD handled by a parent of the insensitive widget, so just keep going upwards in that case. We also use now the widget state flags, because get_sensitive() doesn't propagate across hierarchies, so we could conceivably find a drop site inside an insensitive widget. https://bugzilla.gnome.org/show_bug.cgi?id=751793 gtk/gtkdnd.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 7f57f63ebaa8e3d12bdaef0ebc730cd81c9bb2fe Author: Carlos Garnacho Date: Mon Jul 6 16:39:06 2015 +0200 gtkwindow: Only allow unrestricted positioning to text handle popovers This behavior has been made optional on add_popover() time, text handles will keep being able to overflow the window, in order to allow text selection on views too close to the window edge. Regular GtkPopovers are reinstaurated to the previous size positioning logic though, that is, limited by the visible area of the window. gtk/gtkpopover.c | 4 ++-- gtk/gtktexthandle.c | 2 +- gtk/gtkwindow.c | 36 +++++++++++++++++++++++++++++++----- gtk/gtkwindowprivate.h | 3 ++- 4 files changed, 36 insertions(+), 9 deletions(-) commit dec95caf942dba64110b910ffbfc4ce9d3058561 Author: Carlos Garnacho Date: Wed Jul 1 22:24:03 2015 +0200 scrolledwindow: Keep scrollbars out of GtkScrollable::get_border It looks a bit odd that scrollbars stay over treeview headers and similar, seems nicer to just avoid the border regions. https://bugzilla.gnome.org/show_bug.cgi?id=751805 gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4cbab1180c4599c87d596a43b3c67803c8aee8de Author: Benjamin Otte Date: Mon Jul 6 04:35:59 2015 +0200 cssmatcher: Make nth-child(odd) work on first line .. instead of only on 3rd, 5th, 7th, ... gtk/gtkcssmatcher.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8d3737e4e376bc6dcd4d581cbd34aa2ae3396c59 Author: Benjamin Otte Date: Mon Jul 6 04:29:09 2015 +0200 cssnode: Do finer-grained position invalidation As a side effect, this should fix this bug: https://bugzilla.gnome.org/show_bug.cgi?id=751910 gtk/gtkcssnode.c | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) commit df7113812bbccc4ad862e1c931c8ba2c94d91c4a Author: Benjamin Otte Date: Mon Jul 6 03:58:56 2015 +0200 csstypes: Change NTH_CHILD and NTH_LAST_CHILD change propagation For now assume that if those flags change for a node, they also changed for all sibling nodes. This is not strictly true but simplifies invalidation. The reason it simplifies invalidation is that when removing or adding a node, we can just invalidate the first node (for NTH_LAST_CHILD) and the new node (for NTH_CHILD) and all the other nodes will be invalidated automatically. gtk/gtkcsstypes.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 69e396ea0ab6e25ebeb87ee55ea11d3a5c376f44 Author: Benjamin Otte Date: Mon Jul 6 00:21:03 2015 +0200 cssselector: Report finer granularity for position changes gtk/gtkcssselector.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit 6323010e2e5f1103a7e89248b28a0b75a8b7fd71 Author: Benjamin Otte Date: Sun Jul 5 22:45:34 2015 +0200 csstypes: expand GtkCssChange enum Instead of GTK_CSS_CHANGE_POSITION we now have 4 values: GTK_CSS_CHANGE_FIRST_CHILD, GTK_CSS_CHANGE_LAST_CHILD, GTK_CSS_CHANGE_NTH_CHILD and GTK_CSS_CHANGE_NTH_LAST_CHILD Nobody is using them directly yet. gtk/gtkcsstypes.c | 15 ++++++++-- gtk/gtkcsstypesprivate.h | 75 ++++++++++++++++++++++++++++++++---------------- 2 files changed, 63 insertions(+), 27 deletions(-) commit abc47d7faaf0fbea0389d84f199cd7ed0613872a Author: Jasper St. Pierre Date: Sun Jul 5 15:45:49 2015 -0700 gdkdisplay-x11: The leader window should be an input-only window This prevents it from creating a _NET_WM_USER_TIME_WINDOW, which can confuse mutter / other window managers, and also me, when debugging. gdk/x11/gdkdisplay-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 803430a779c284fa038fcc45f00c188ed504e826 Author: Paolo Borelli Date: Mon Jul 6 00:20:08 2015 +0200 pango: make merge_attrs return the merged list This simplifies all the callers gtk/gtkentry.c | 12 ++++-------- gtk/gtklabel.c | 29 +++++------------------------ gtk/gtkpango.c | 18 ++++++++++++++---- gtk/gtkpango.h | 4 ++-- 4 files changed, 25 insertions(+), 38 deletions(-) commit 180a378a073d24339dbec53874cf53e082cbb831 Author: Paolo Borelli Date: Sun Jul 5 23:24:49 2015 +0200 css: add shorthand text-decoration property Note that for now we take into account only text-decoration-line and text-decoration-color gtk/gtkcssshorthandpropertyimpl.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit a57e6731c4141d97afd8fa36b9e6b5587fbb8412 Author: Paolo Borelli Date: Sun Jul 5 22:05:33 2015 +0200 css: support text-decoration-color gtk/gtkcssstylepropertyimpl.c | 10 ++++++++++ gtk/gtkcsstypesprivate.h | 1 + gtk/gtkstylecontext.c | 12 ++++++++++++ 3 files changed, 23 insertions(+) commit 77658b76aeffa74c972b9a8a5439cd6b2f11b2bb Author: Paolo Borelli Date: Sun Jul 5 19:31:28 2015 +0200 linkbutton: use the text-decoration-line css Remove the custom add() implementation and use css to underline the label. gtk/gtklinkbutton.c | 39 ++------------------------------ gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 4 files changed, 9 insertions(+), 37 deletions(-) commit 384df61c90a25e813fa3441f35b572e890175080 Author: Paolo Borelli Date: Sun Jul 5 18:59:27 2015 +0200 css: add support for text-decoration-line gtk/gtkcssenumvalue.c | 46 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssenumvalueprivate.h | 4 ++++ gtk/gtkcssstylepropertyimpl.c | 22 +++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 7 +++++++ gtk/gtkstylecontext.c | 38 ++++++++++++++++++++++++++++------- 5 files changed, 110 insertions(+), 7 deletions(-) commit 9e26fa9a42d0cb9ae55f630497d2a0a051da7d55 Author: Paolo Borelli Date: Sun Jul 5 10:48:40 2015 +0200 entry: add css letter-spacing gtk/gtkentry.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit a19331f2313ba47ce15c06f3d8485e68474baa4e Author: Paolo Borelli Date: Sat Jul 4 19:56:40 2015 +0200 label: add support for CSS letter-spacing property Support letter-spacing CSS property on GtkLabel. Reftest is included. gtk/gtkcssstylepropertyimpl.c | 17 +++++++++++++++++ gtk/gtkcsstypesprivate.h | 11 +++++++---- gtk/gtklabel.c | 25 ++++++++++++++++++++++++- gtk/gtkstylecontext.c | 20 ++++++++++++++++++++ gtk/gtkstylecontextprivate.h | 2 ++ testsuite/reftests/Makefile.am | 4 ++++ testsuite/reftests/letter-spacing.c | 30 ++++++++++++++++++++++++++++++ testsuite/reftests/letter-spacing.css | 3 +++ testsuite/reftests/letter-spacing.ref.ui | 17 +++++++++++++++++ testsuite/reftests/letter-spacing.ui | 16 ++++++++++++++++ 10 files changed, 140 insertions(+), 5 deletions(-) commit b92c530a61420fc039048aff4feb3f019dc7cdfe Author: Paolo Borelli Date: Sun Jul 5 22:48:16 2015 +0200 pango: move an utility function from gtklabel This will be used both by gtklabel and gtkentry gtk/gtklabel.c | 19 ++----------------- gtk/gtkpango.c | 22 ++++++++++++++++++++++ gtk/gtkpango.h | 3 +++ 3 files changed, 27 insertions(+), 17 deletions(-) commit 3175d0fcf0c1da7d5b0d7307772b991222d08a33 Author: Dimitris Spingos Date: Mon Jul 6 02:28:20 2015 +0300 Updated Greek translation po-properties/el.po | 1275 ++++++++++++++++++++++++++------------------------- po/el.po | 729 ++++++++++++++++++----------- 2 files changed, 1110 insertions(+), 894 deletions(-) commit 5436c74a198aa929656230d86b20383a17f81f77 Author: Ting-Wei Lan Date: Mon Jul 6 03:26:48 2015 +0800 Fix return value error in _gtk_file_system_model_get_directory gtk/gtkfilesystemmodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c222d59f53080d14c4f17a97e50d43fe13b63d37 Author: Pedro Albuquerque Date: Sun Jul 5 10:02:44 2015 +0000 Updated Portuguese translation po/pt.po | 215 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 130 insertions(+), 85 deletions(-) commit 39822092f4b04a0ac6dc8147d6e567535aac3596 Author: Matthias Clasen Date: Sat Jul 4 23:46:11 2015 -0400 file chooser: Allow deleting files This is another often requestsed feature for save mode. Based on a patch by John Beard, https://bugzilla.gnome.org/show_bug.cgi?id=325150 gtk/gtkfilechooserwidget.c | 116 +++++++++++++++++++++++++++++++++++++++++++- gtk/gtksearchenginesimple.c | 3 +- 2 files changed, 117 insertions(+), 2 deletions(-) commit 15617a69aa74cd9c3080adcd5204cfdf288980c0 Author: Matthias Clasen Date: Sat Jul 4 21:16:55 2015 -0400 file chooser: Allow renaming files This has often been requested as a useful feature in save mode. Based on a patch by John Beard, https://bugzilla.gnome.org/show_bug.cgi?id=325150 gtk/gtkfilechooserwidget.c | 211 ++++++++++++++++++++++++++++++++++++----- gtk/gtksearchenginesimple.c | 3 +- gtk/ui/gtkfilechooserwidget.ui | 66 +++++++++++++ 3 files changed, 253 insertions(+), 27 deletions(-) commit 530d295a2eda444b6585880532c54797d00d6230 Author: Matthias Clasen Date: Sat Jul 4 20:30:47 2015 -0400 Fix up some whitespace mishap gtk/gtkfilechooserwidget.c | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) commit 8379ef30675f9cd33298237eb14dad729bef17cd Author: Matthias Clasen Date: Sat Jul 4 20:12:00 2015 -0400 file chooser: Redo the trailing space warning Redo this slightly differently, so we can keep all the simple checks in one place. This will make it easier to reuse the code for file renaming. gtk/gtkfilechooserwidget.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit 8b90c79037be95cb9a5c93c8e5145e9da0cd316e Author: Matthias Clasen Date: Sat Jul 4 22:32:06 2015 -0400 places sidebar: Fix memory handling of rename popover We were freeing the same string twice here, leading to badness. gtk/gtkplacessidebar.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 94bcdd32174bd10d97ba7b909b6a8a250bbab9f7 Author: Arc Riley Date: Wed Jul 1 16:23:15 2015 -0700 Strip leading and trailing whitespace from filechooser save filenames This makes a local copy of the file part of the entry to strip it transparently Since this is assumed to be a mistake, the user is not notified. https://bugzilla.gnome.org/show_bug.cgi?id=593372 gtk/gtkfilechooserwidget.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 02b5ac9ee487322ff458b21837582f6e257077a4 Author: Arc Riley Date: Wed Jul 1 14:33:07 2015 -0700 Warn for whitespace at beginning or end of new folder names The warning is not intended to disable the Create button and must only be shown when the folder is not found, so this is implemented in the folder name exists callback. A "name" entry was added to FileExistsData to pass the filename to the callback https://bugzilla.gnome.org/show_bug.cgi?id=751800 gtk/gtkfilechooserwidget.c | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) commit d2569a3860613172007630ad863162d39fbb7cdc Author: Emmanuele Bassi Date: Sat Jul 4 19:33:23 2015 +0100 docs: Drop deprecated symbolic icon names Do not suggest using icons that do not exist. gtk/deprecated/gtkarrow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c5a250ce379357ff3cccd8b5352af36c21fe7465 Author: Emmanuele Bassi Date: Sat Jul 4 19:30:22 2015 +0100 container: Update the add() warning Now that gtk_widget_reparent() has been deprecated, we should not suggest it. gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bea3cbaba5d6d061a321194e5d34dc335102aea9 Author: Pedro Albuquerque Date: Sat Jul 4 07:54:42 2015 +0000 Updated Portuguese translation po/pt.po | 865 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 399 insertions(+), 466 deletions(-) commit 6c8f7aae4f4887568ffa85428825769bd7afebab Author: Pedro Albuquerque Date: Sat Jul 4 07:47:04 2015 +0000 Updated Portuguese translation po-properties/pt.po | 1799 +++++++++++++++++++++++++-------------------------- 1 file changed, 890 insertions(+), 909 deletions(-) commit 309c845e69e0245074dfa7acccffa73a1d68c6bc Author: Matthias Clasen Date: Sat Jul 4 00:13:13 2015 -0400 file chooser: Make Ctrl-L work in search mode There is no real reason to not allow this. The transition is not quite as smooth as it should be, currently, but at least it works. gtk/gtkfilechooserwidget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit a45321259176d7ccf4decc96226abd25a29fea67 Author: Matthias Clasen Date: Sat Jul 4 00:02:55 2015 -0400 file chooser dialog: Make button not take focus Things work smoother, keynav-wise, if the search button does not take focus on click. gtk/gtkfilechooserdialog.c | 1 + 1 file changed, 1 insertion(+) commit 4dafcf9c8b5eee57b2f698e32d3e62bf92be9796 Author: Matthias Clasen Date: Fri Jul 3 22:45:58 2015 -0400 file chooser: Make unsetting save entry work Fix an overzealous assertion. gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 017025c1a7fc37f442b1556de7573ea6eeb35e2a Author: Matthias Clasen Date: Fri Jul 3 22:45:15 2015 -0400 file chooser dialog: Make action changes work We were not listening for action changes to update the save entry. gtk/gtkfilechooserdialog.c | 156 ++++++++++++++++++++++++--------------------- 1 file changed, 82 insertions(+), 74 deletions(-) commit bb6f698abef70f69e01545b130b38048cb474f9e Author: Matthias Clasen Date: Fri Jul 3 20:53:54 2015 -0400 file chooser: Cleanups gtk/gtkfilechooserwidget.c | 2104 ++++++++++++++++++++++---------------------- 1 file changed, 1029 insertions(+), 1075 deletions(-) commit 4a21c129e4d4583d6478a2e0f8bf0597dac0dc8a Author: Matthias Clasen Date: Fri Jul 3 09:51:38 2015 -0700 testfilechooser: Add a --local-only flag This allows for easier testing of !local-only mode. tests/testfilechooser.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 29abbdd3e3aa59cd1f3986eabbfeafa19aaa4195 Author: Matthias Clasen Date: Fri Jul 3 09:51:03 2015 -0700 file chooser: Don't show Trash in save mode You can't save there... gtk/gtkfilechooserwidget.c | 1 + 1 file changed, 1 insertion(+) commit 78db92df7e2e33a081094a52e3c96d572670114e Author: Matthias Clasen Date: Fri Jul 3 09:49:00 2015 -0700 GtkPlacesSidebar: Allow hiding Trash We will use this in the filechooser in save mode. docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkplacessidebar.c | 62 +++++++++++++++++++++++++++++++++++- gtk/gtkplacessidebar.h | 5 +++ 3 files changed, 68 insertions(+), 1 deletion(-) commit fa3ff773be72e1585e30354248749d7172275806 Author: Matthias Clasen Date: Fri Jul 3 09:24:23 2015 -0700 GtkTreeViewColumn: Fix a documentation typo gtk/gtktreeviewcolumn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 22294a4a0d9edd101dd9d1f9df92b54362454d71 Author: Matthias Clasen Date: Fri Jul 3 09:22:39 2015 -0700 file chooser: Improve column sizing Allow the name and location columns to be resized, but arrange for their sizing to be reset when the column layout changes (either by the location column appearing/disappearing, or by the time column changing between mtime and atime. This gives a decent compromise between good automatic sizing and user control. gtk/gtkfilechooserwidget.c | 44 +++++++++++++++++++++++++++++++----------- gtk/ui/gtkfilechooserwidget.ui | 32 ++++++++++++++---------------- 2 files changed, 47 insertions(+), 29 deletions(-) commit ed1c349e0b914621a5fc25c6add92a6c8bc2c0b4 Author: Matthias Clasen Date: Fri Jul 3 07:52:39 2015 -0700 file chooser: Remove a wrong assumption The code for getting the selected files was assuming that we are always in browse mode, and was causing warnings when hitting Ctrl-L twice, right after opening the file chooser. The fix is to simple use the model that is passed into the callback. gtk/gtkfilechooserwidget.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 17a860cea23cefdd4b1ec7dbe9b2a8f25fd77c08 Author: Matthias Clasen Date: Fri Jul 3 07:47:50 2015 -0700 file chooser: Don't show Enter Location in sidebar Following the file chooser mockups. gtk/gtkfilechooserwidget.c | 11 ----------- gtk/ui/gtkfilechooserwidget.ui | 2 -- 2 files changed, 13 deletions(-) commit c7bc90209322576732d4b51478874962d407a46f Author: Matthias Clasen Date: Thu Jul 2 23:16:19 2015 -0700 file chooser: Update empty state for search Follow the mockups more. gtk/ui/gtkfilechooserwidget.ui | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit 191bccebf3c24fafa90389f40380fedec3242318 Author: Matthias Clasen Date: Thu Jul 2 23:08:59 2015 -0700 file chooser: Add search progress Show a spinner if no search reasults have shown up yet and the search is still going, after 2 seconds. gtk/gtkfilechooserwidget.c | 43 +++++++++++++++++++++++++++++++++++++++++- gtk/ui/gtkfilechooserwidget.ui | 9 +++++++++ 2 files changed, 51 insertions(+), 1 deletion(-) commit 31a022175f9ba67d0a69f41ca29ac627919cb469 Author: Matthias Clasen Date: Thu Jul 2 22:35:49 2015 -0700 file chooser: Set fixed sort functions for recent and search gtk/gtkfilechooserwidget.c | 226 ++++++++++++++++++++++++++++++--------------- 1 file changed, 150 insertions(+), 76 deletions(-) commit 0ac17418dd27390be35ac19c8dbbffc1424a6227 Author: Matthias Clasen Date: Thu Jul 2 22:19:05 2015 -0700 file chooser: Improve location column formatting gtk/gtkfilechooserwidget.c | 55 +++++----------------------------------------- 1 file changed, 6 insertions(+), 49 deletions(-) commit 39c2d12330b6d4405ca8a5599c12017c58626fcf Author: Matthias Clasen Date: Thu Jul 2 16:12:55 2015 -0700 file chooser: Improve the mode switching operation Avoid reloading models unnecessarily, e.g. when the user switches to search and back without starting a search. Keep the current list contents visible until a search is actually started. Also, synchronize any changes in the column layout with the corresponding model changes. gtk/gtkfilechooserwidget.c | 70 ++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 36 deletions(-) commit 9a444673186c2d9be1f2c97d85d6f658c2338417 Author: Matthias Clasen Date: Thu Jul 2 16:12:22 2015 -0700 Add a getter for the directory to file system model This will allow us to aovid reloading if the directory is unchanged. gtk/gtkfilesystemmodel.c | 9 +++++++++ gtk/gtkfilesystemmodel.h | 1 + 2 files changed, 10 insertions(+) commit 5763199e43253f99d9859a46d23136879c773b8e Author: Matthias Clasen Date: Thu Jul 2 14:47:30 2015 -0700 file chooser: Clean up enum handling Use g_settings_get_set_enum to handle the clock and date format settings. gtk/gtkfilechooserprivate.h | 20 ++++++++++--------- gtk/gtkfilechooserwidget.c | 47 ++++++++++++++++++++++++--------------------- 2 files changed, 36 insertions(+), 31 deletions(-) commit f690167b0d4d8722b1f3e94827992477b05f0064 Author: Matthias Clasen Date: Thu Jul 2 14:36:00 2015 -0700 file chooser: Code cleanups Shorten excessively long field names. gtk/gtkfilechooserwidget.c | 90 +++++++++++++++++++++++----------------------- 1 file changed, 45 insertions(+), 45 deletions(-) commit 443601addc6e031e54c04f4c3233fe86d1ff480c Author: Matthias Clasen Date: Thu Jul 2 14:31:29 2015 -0700 file chooser: Consistently clear model caches This was not done for all models in all places, leading to e.g. icon theme updates not applying correctly to search results. gtk/gtkfilechooserwidget.c | 78 +++++++++++++++++++++++++++------------------- 1 file changed, 46 insertions(+), 32 deletions(-) commit 2cd6d1a351b2b77e257a9597db9e48d516c6a9fa Author: Matthias Clasen Date: Thu Jul 2 10:44:19 2015 -0700 file chooser: Add a way to toggle time display gtk/gtkfilechooserwidget.c | 117 ++++++++++++++++++++++++++++++--------------- 1 file changed, 79 insertions(+), 38 deletions(-) commit 215a9a1b08f99e3b8313c2c33795f11158aba3ec Author: Matthias Clasen Date: Thu Jul 2 08:32:39 2015 -0700 file chooser: remove a stale comment gtk/gtkfilechooserwidget.c | 5 ----- 1 file changed, 5 deletions(-) commit 8974ec74131565e13fa736b27a13100d719ef670 Author: Matthias Clasen Date: Thu Jul 2 02:37:59 2015 -0700 file chooser: Improve time and date formatting Use the same formats as nautilus, and put date and time in separate cells, so they are neatly aligned. gtk/gtkfilechooserwidget.c | 115 +++++++++++++++++++++++---- gtk/org.gtk.Settings.FileChooser.gschema.xml | 12 +++ gtk/ui/gtkfilechooserwidget.ui | 25 +++++- 3 files changed, 134 insertions(+), 18 deletions(-) commit 1c82a533ede33f2eceeccc99b913e3d575c503e2 Author: Matthias Clasen Date: Thu Jul 2 02:10:05 2015 -0700 file chooser: Don't allow resorting recent files They are inherently sorted by access time. gtk/gtkfilechooserwidget.c | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) commit 412e33da168a07e903aa13386bd602fa3379ccc0 Author: Matthias Clasen Date: Wed Jul 1 14:04:17 2015 -0700 file chooser: Use access time for recent files Use access time for sorting the recent files, and show it in the list instead of mtime. gtk/gtkfilechooserwidget.c | 150 ++++++++++++++++++----------------------- gtk/gtksearchenginesimple.c | 3 +- gtk/ui/gtkfilechooserwidget.ui | 14 ++-- 3 files changed, 75 insertions(+), 92 deletions(-) commit 33b5c26f419aab0c072a7ac49f450e861459b852 Author: Matthias Clasen Date: Wed Jul 1 12:51:20 2015 -0700 file chooser: Add and use a model search engine This search engine reuses the GFileInfo that is already loaded for the file list, to ensure that hits from the current directory always appear promptly. gtk/Makefile.am | 2 + gtk/gtkfilechooserwidget.c | 13 ++- gtk/gtksearchengine.c | 57 +++++++++++++- gtk/gtksearchengine.h | 4 + gtk/gtksearchenginemodel.c | 191 +++++++++++++++++++++++++++++++++++++++++++++ gtk/gtksearchenginemodel.h | 44 +++++++++++ 6 files changed, 306 insertions(+), 5 deletions(-) commit f87f43b6229d2314523c925d0f3584ab23c7adf9 Author: Matthias Clasen Date: Thu Jul 2 16:23:48 2015 -0700 testfilechooser: Disable the terrible preview It makes testing the intended user experience harder. tests/testfilechooser.c | 2 ++ 1 file changed, 2 insertions(+) commit fe128b5b4d198a39c74a1a81b7a3e27f12262ff8 Author: Matthias Clasen Date: Wed Jul 1 08:40:15 2015 -0700 file chooser: Don't show recent in save mode Don't show Recent in the sidebar when we are in save mode. We also ignore the startup-mode = recent in save mode now - we don't want to populate the file list with recent files if Recent is not on the sidebar. If you really want to go there, you can still enter recent:// in the location entry. https://bugzilla.gnome.org/show_bug.cgi?id=751653 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 648e4a7ea928d0d6d183e7e94def0ae15f97ac7b Author: Matthias Clasen Date: Mon Jun 29 08:40:14 2015 -0700 file chooser: Add Ctrl-F as search shortcut This is what nautilus uses, and is more discoverable than the somewhat easter-egg Alt-S, which is still supported. gtk/gtkfilechooserwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit 5bc88bdc676e85b5ecc022fb486da779f1c068b9 Author: Matthias Clasen Date: Mon Jun 29 08:39:22 2015 -0700 file chooser: Make search shortcut toggle This is more in line with having a toggle button for search, and it matches what we do e.g. in nautilus. gtk/gtkfilechooserwidget.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 75411efa48474f6b9c5eaa14740b0ad9032f5211 Author: Matthias Clasen Date: Sat Jun 27 15:54:49 2015 -0400 file chooser: Tweak bindings in save mode In save modes, the entry is really more for entering a name than entering a full location, so don't go there eagerly when '.', '/' or '~' are pressed. Make Ctrl-L work better in this mode too. gtk/gtkfilechooserwidget.c | 44 ++++++++++++++++++++------------------------ 1 file changed, 20 insertions(+), 24 deletions(-) commit 1c3ccb39c7aded5bc14d6fb7ab566411f90fe7d1 Author: Matthias Clasen Date: Sat Jun 27 15:23:24 2015 -0400 file chooser: Trigger location entry not just from file list Use the same code that brings up the location entry on '/', '~' or '.' also when the focus is not on the file list. This prevents those key presses on the sidebar from ending up in the search entry. gtk/gtkfilechooserwidget.c | 35 ++++++++++++++++++++++++++--------- 1 file changed, 26 insertions(+), 9 deletions(-) commit 5825965027b978a0efda6741f765799c7c16c5b5 Author: Matthias Clasen Date: Sat Jun 27 15:06:25 2015 -0400 file chooser: Open location entry on '.' Typing ./ is a fairly common practice to enter a location relative to the cwd, so make this open the location entry. gtk/gtkfilechooserwidget.c | 1 + 1 file changed, 1 insertion(+) commit a3470521ae2474e31dd244f4b76ba4db84aad9dc Author: Matthias Clasen Date: Sat Jun 27 13:44:58 2015 -0400 Revert "file chooser: Open location entry more easily" This reverts commit e6c1cbc88ebbf51dcf4ca2b4b0016c81808d7889. gtk/gtkfilechooserwidget.c | 1 - 1 file changed, 1 deletion(-) commit c0afb891c8ffeb90e67e8f947a7e7b9b3fff62ee Author: Matthias Clasen Date: Sat Jun 27 13:44:26 2015 -0400 Revert "file chooser: Don't start search too eagerly" This reverts commit f126157bfa9e8a550067fa169de24697add028bb. gtk/gtkfilechooserwidget.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 1883c5fb28409dc3726e6586d38df4b12c88304c Author: Matthias Clasen Date: Sat Jun 27 12:23:48 2015 -0400 file chooser: Improve keynav Some internal containers were erroneously taking focus, interrupting the flow of tab keynav, and using arrow keynav to go from the file list to the sidebar did not work anymore, after the recent sidebar rewrite. gtk/gtkfilechooserwidget.c | 4 ++-- gtk/ui/gtkfilechooserwidget.ui | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) commit 710d193f91a33cda3229220358044fe6ec4ddbd4 Author: Matthias Clasen Date: Sat Jun 27 12:05:04 2015 -0400 file chooser: Give the location column more space Giving it 15 characters makes it at least fit "Documents" without ellipsizing. gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 356f507059b4bc675262d8834616b5cd0be1de76 Author: Matthias Clasen Date: Sat Jun 27 02:22:23 2015 -0400 file chooser: Sort search results better Set a default sort function that sorts results from the current folder first. gtk/gtkfilechooserwidget.c | 79 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) commit 9b5e00b3c418d5d6dd0bd193aa974e375669025c Author: Matthias Clasen Date: Sat Jun 27 01:40:04 2015 -0400 file chooser entry: Capture Escape and emit :hide-entry Make the file chooser entry optionally capture Escape and emit a signal. Make the file chooser widget hide the entry on that signal and go back to the path bar. This gives us a two-level undo: location entry -> path bar -> dialog close. When the location entry is permanently displayed in the header for save mode, we still let the first Escape close the dialog. gtk/gtkfilechooserdialog.c | 2 +- gtk/gtkfilechooserentry.c | 31 ++++++++++++++++++++++++++++++- gtk/gtkfilechooserentry.h | 3 ++- gtk/gtkfilechooserwidget.c | 10 +++++++++- 4 files changed, 42 insertions(+), 4 deletions(-) commit e0b81faadee8e1d1d9092e3ef47c4beb7f5a341d Author: Matthias Clasen Date: Sat Jun 27 01:23:16 2015 -0400 file chooser: Make Escape work in search entry Arrange things so that hitting Escape during a running search stops the search, but leaves the search results around, and hitting Escape again leaves the search mode. gtk/gtkfilechooserwidget.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 0f9b87cfeb77e9fb9b9d3511dcf8c6bf6ea86e4e Author: Matthias Clasen Date: Sat Jun 27 01:07:32 2015 -0400 file chooser: Make location column work better The location column did not work for search results in recent://. Fix that by looking at the target uri in this case. Show the location column in recent mode. And make it more similar to nautilus by showing the full path if it is not below $HOME. gtk/gtkfilechooserwidget.c | 24 +++++++++++++++++++----- gtk/gtksearchenginesimple.c | 1 + 2 files changed, 20 insertions(+), 5 deletions(-) commit f968199b02e0761b21e763f0a51121e71d9c277f Author: Matthias Clasen Date: Sat Jun 27 00:21:53 2015 -0400 file chooser: Make search in recent work All that was needed here was to set the query location. gtk/gtkfilechooserwidget.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 0b11d8c115ef5b9cd48b2ea9f49513164d93b628 Author: Matthias Clasen Date: Sat Jun 27 00:08:57 2015 -0400 file chooser dialog: Put save entry into header When we have a header bar, put a save entry there and make the file chooser use it. gtk/gtkfilechooserdialog.c | 52 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) commit 4f3f61bf5ffe3c57dcbb21e87902816687067827 Author: Matthias Clasen Date: Sat Jun 27 00:07:59 2015 -0400 file chooser widget: Allow external save entry Prepare the file chooser to use an external entry in save mode, instead of the builtin one. gtk/Makefile.am | 1 + gtk/gtkfilechooserwidget.c | 79 ++++++++++++++++++++++++++++++++++----- gtk/gtkfilechooserwidgetprivate.h | 35 +++++++++++++++++ 3 files changed, 105 insertions(+), 10 deletions(-) commit 140a157d474c282249ca8c418dbfb134a9f9743c Author: Matthias Clasen Date: Fri Jun 26 22:13:33 2015 -0400 file chooser: Update sidsebar when entry goes away gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 6516437353b5e86009e29f1b591057c7f4f39cd0 Author: Matthias Clasen Date: Fri Jun 26 21:50:00 2015 -0400 file chooser: Use icon for create folder button This follows the latest mockups. gtk/ui/gtkfilechooserwidget.ui | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit e9e4ed5f7f1798787ba06e8a509821a955b10556 Author: Matthias Clasen Date: Fri Jun 26 21:15:55 2015 -0400 file chooser dialog: Show a subtitle Use the new "subtitle" property of the file chooser widget to display a subtitle in the headerbar, if we have one. gtk/gtkfilechooserdialog.c | 3 +++ 1 file changed, 3 insertions(+) commit 10f5076bb55e64cd07ea4b7783d60e37c727a31a Author: Matthias Clasen Date: Fri Jun 26 21:14:37 2015 -0400 file chooser widget: Expose a "subtitle" property Give the file chooser widget a "subtitle" property, which contains a short string that explains the current mode. gtk/gtkfilechooserwidget.c | 66 +++++++++++++++++++++++++++++++++++++++------- 1 file changed, 57 insertions(+), 9 deletions(-) commit 715aba650e50fe95562fcd66789554304c3f1a8d Author: Matthias Clasen Date: Fri Jun 26 21:13:00 2015 -0400 places sidebar: Add private api to get title The places sidebar already does all the work to determine the right label to use for the current location of the filechooser. We want to use the same label in the headerbar subtitle, so add some private API to get it. gtk/gtkplacessidebar.c | 17 +++++++++++++++++ gtk/gtkplacessidebarprivate.h | 3 +++ 2 files changed, 20 insertions(+) commit 7e45b09c8e74cc0685556df102874a9c642fda11 Author: Matthias Clasen Date: Fri Jun 26 20:02:31 2015 -0400 file chooser: More search rework Drop the radio buttons for current location vs everywhere, and always search in the current location. gtk/gtkfilechooserwidget.c | 12 +----------- gtk/ui/gtkfilechooserwidget.ui | 28 ++-------------------------- 2 files changed, 3 insertions(+), 37 deletions(-) commit 1f96f351e09d6f6fccb62243926c364cad0417c0 Author: Georges Basile Stavracas Neto Date: Fri Jul 3 15:48:48 2015 -0300 entrycompletion: no need to return boolean The boolean _gtk_entry_completion_resize_popup's return value is not used anywhere, and only adds more complexity for the method. https://bugzilla.gnome.org/show_bug.cgi?id=751913 gtk/gtkentrycompletion.c | 8 +++----- gtk/gtkentryprivate.h | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) commit 1e6c7e3af09c5ec0aed5297fc285d13cff76e720 Author: William Hua Date: Fri Jul 3 12:11:19 2015 -0400 mir: fix mir pointer event to gdk translation gdk/mir/gdkmireventsource.c | 56 ++++++++++++++++++--------------------------- 1 file changed, 22 insertions(+), 34 deletions(-) commit 2d223facdc0bf7ed0342da3b40d6ddb658cd3cb4 Author: William Hua Date: Thu Jul 2 16:38:57 2015 -0400 mir: ensure parent surface before creating child surface gdk/mir/gdkmirwindowimpl.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit c806f9b7090d5fb63e7db2067baa012b1da460c8 Author: Olivier Fourdan Date: Tue Jun 23 11:54:48 2015 +0200 ignore size inc when maximized/fullscreen Under Wayland, fullscreen/maximized windows may not cover the entire area when a size increment is specified. Ignore size increments for fullscreen/maximized windows just like most window managers do under X11 so that windows with size increments can still be fullscreen or fully maximized under Wayland as well. https://bugzilla.gnome.org/show_bug.cgi?id=751368 gdk/wayland/gdkwindow-wayland.c | 30 ++++++++++++++++++------------ gtk/gtkwindow.c | 11 ++++++++++- 2 files changed, 28 insertions(+), 13 deletions(-) commit b3166b745f41a901171821ccc9f0c69b9cc35e70 Author: Víctor Manuel Jáquez Leal Date: Fri Jul 3 09:54:34 2015 +0200 drawingarea: checks parent's draw() before call it commit 6786c9d7 introduced a bug when a drawing area is used for rendering videos, since GtkWidgetClass doesn't set a draw() method by itself. https://bugzilla.gnome.org/show_bug.cgi?id=751877 gtk/gtkdrawingarea.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 28e1ed4f2aac4a362043437f1495d1dc8d5f5875 Author: Matthias Clasen Date: Wed Jul 1 23:36:29 2015 -0700 Fix warnings in the font options code This code gets called before a screen is set. gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a0e8d8db0bfc3f3c4a1120b77aa6b2eb01e99eea Author: Matthias Clasen Date: Wed Jul 1 19:15:56 2015 -0700 Improve the font options support Instead of just overwriting the default options, merge the per-widget font options with the defaults. https://bugzilla.gnome.org/show_bug.cgi?id=751811 gtk/gtkwidget.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit e9b847736c681e8d6e6feab33dcf8ee69a7a6c83 Author: Matthias Clasen Date: Wed Jul 1 19:14:58 2015 -0700 Add a testcase for font options tests/Makefile.am | 5 +++ tests/testfontoptions.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 97 insertions(+) commit 1be338fd444f0cdea8dad030f0fb52b346054fcd Author: Matthias Clasen Date: Wed Jul 1 18:02:57 2015 -0700 GtkSwitch: fix a reentry issue The introduction of state broke some users which relied on being able to set active in a notify::active handler. https://bugzilla.gnome.org/show_bug.cgi?id=751754 gtk/gtkswitch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 862e0dab03e12c2fb1f6d99dd85c588dccc15dbc Author: Jasper St. Pierre Date: Wed Jul 1 17:25:23 2015 -0700 gtkwindow: Reset maximize / fullscreen_initially on state changes Since 740bcf5, we use these properties to properly compute shadow widths for unmapped windows. If a client calls gtk_window_maximize and a window manager unmaximizes a window, we should draw borders, so we need to reset these when we get the property notification. gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit e67b4874eb5192be62f46240f96bf94a22c562db Author: Cosimo Cecchi Date: Wed Jul 1 14:01:07 2015 -0700 window: don't override background every style_updated() This queues an unnecessary resize on the toplevel, and is not needed anymore, now that GtkWidget does not call gtk_style_context_set_background() on the window's GdkWindow anymore. gtk/gtkwindow.c | 17 ----------------- 1 file changed, 17 deletions(-) commit a1e80d99d23866772f3cb59ed091696cdf497132 Author: Cosimo Cecchi Date: Sun Jun 28 11:23:16 2015 -0700 stylecontext: deprecate gtk_style_context_set_background() Nothing in GTK calls it anymore. gtk/gtkstylecontext.c | 4 ++++ gtk/gtkstylecontext.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) commit d6b8261622a25dce4a5a688fcdc8f361100767b0 Author: Cosimo Cecchi Date: Wed Jul 1 13:05:45 2015 -0700 widget: don't call gtk_style_context_set_background() We don't need to do this here anymore, since widgets typically render their backgrounds now. gtk/gtkwidget.c | 6 ------ 1 file changed, 6 deletions(-) commit a9b45e7c3cadfd90ad2ae92f9f3014b0d324c134 Author: Cosimo Cecchi Date: Wed Jul 1 14:32:12 2015 -0700 layout: add a comment for gtk_style_context_set_background() And wrap it with G_GNUC_IGNORE_DEPRECATIONS. Unfortunately we can't stop rendering the background altogether here. Also, refactor some common code in a single function. gtk/gtklayout.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit 380ebbf76d526897633bc1ea4336180677632245 Author: Cosimo Cecchi Date: Wed Jun 3 18:02:34 2015 -0700 fixed: add a comment for gtk_style_context_set_background() And wrap it with G_GNUC_IGNORE_DEPRECATIONS. Unfortunately we can't stop rendering the background altogether here. Also, gtk_style_context_set_background() should really be called every time the style is updated. Fix that. gtk/gtkfixed.c | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) commit 74f2d9448f24bbfdaf32ae6b328ed3e126700afe Author: Cosimo Cecchi Date: Sat Jun 27 22:54:42 2015 -0700 window: don't call gtk_style_context_set_background() gtk/gtkwindow.c | 6 ------ 1 file changed, 6 deletions(-) commit 88326488466cb74a05a96acfc5b4bc51961d692c Author: Cosimo Cecchi Date: Sat Jun 27 13:15:41 2015 -0700 socket: don't call gtk_style_context_set_background() gtk/gtksocket.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 06b943fec91ff9f1d612473901a0af049857f8e9 Author: Cosimo Cecchi Date: Sat Jun 27 12:59:59 2015 -0700 toolitemgroup: don't use gtk_style_context_set_background() gtk/gtktoolitemgroup.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit e6f97f10dd08c3628c77f6172b4c4653b7554eba Author: Cosimo Cecchi Date: Sat Jun 27 12:58:04 2015 -0700 textview: don't call gtk_style_context_set_background() gtk/gtktextview.c | 67 ------------------------------------------------------- 1 file changed, 67 deletions(-) commit f89c86df52b4bb7bc41a5060ab505bde35e43099 Author: Cosimo Cecchi Date: Sat Jun 27 12:54:50 2015 -0700 revealer: don't call gtk_style_context_set_background() gtk/gtkrevealer.c | 23 ----------------------- 1 file changed, 23 deletions(-) commit 6b0f202bf37de2d8489cde1549763895aed3dab4 Author: Cosimo Cecchi Date: Sat Jun 27 12:52:58 2015 -0700 toolpalette: don't call gtk_style_context_set_background() gtk/gtktoolpalette.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit d4ecdbd300f6eeccb59b632476fc17ce2af30116 Author: Cosimo Cecchi Date: Sat Jun 27 12:50:50 2015 -0700 viewport: don't call gtk_style_context_set_background() gtk/gtkviewport.c | 37 ++++++++----------------------------- 1 file changed, 8 insertions(+), 29 deletions(-) commit 15908cfdf9c6f0924cf104b761f1a729c21f8f26 Author: Cosimo Cecchi Date: Sat Jun 27 12:48:57 2015 -0700 treeview: don't call gtk_style_context_set_background() gtk/gtktextview.c | 3 --- gtk/gtktreeview.c | 28 ---------------------------- 2 files changed, 31 deletions(-) commit 18be2d697cfbef704972102d3404f7c1152a0dda Author: Cosimo Cecchi Date: Fri Jun 5 15:37:34 2015 -0700 plug: don't call gtk_style_context_set_background() gtk/gtkplug.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit b4ee73a29109e66ec8d0f522ee6558eaeb32e776 Author: Cosimo Cecchi Date: Wed Jun 3 18:27:34 2015 -0700 paned: don't call gtk_style_context_set_background() gtk/gtkpaned.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 9230143bbf183113ac421dbae2928f279c35eb50 Author: Cosimo Cecchi Date: Wed Jun 3 18:22:28 2015 -0700 overlay: don't call gtk_style_context_set_background() gtk/gtkoverlay.c | 1 - 1 file changed, 1 deletion(-) commit aab3d4679fa08c5b3da8226fc02bb6cb4cb9498a Author: Cosimo Cecchi Date: Wed Jun 3 18:21:56 2015 -0700 offscreenwindow: don't call gtk_style_context_set_background() gtk/gtkoffscreenwindow.c | 3 --- 1 file changed, 3 deletions(-) commit b7be29390fecce3a3919700cf18779c03ca08f06 Author: Cosimo Cecchi Date: Wed Jun 3 18:21:16 2015 -0700 menushell: don't call gtk_style_context_set_background() gtk/gtkmenushell.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 828db3eca93df11308abce12ea30bb9e4d32a9a0 Author: Cosimo Cecchi Date: Wed Jun 3 18:18:56 2015 -0700 menu: don't call gtk_style_context_set_background() gtk/gtkmenu.c | 27 --------------------------- 1 file changed, 27 deletions(-) commit db76eae41a5686be59e20668dc760e5f25c89782 Author: Cosimo Cecchi Date: Wed Jun 3 18:17:27 2015 -0700 listbox: don't call gtk_style_context_set_background() gtk/gtklistbox.c | 1 - 1 file changed, 1 deletion(-) commit ba2f479aa066114d33f8c7c3a2f3c28085b7d8ff Author: Cosimo Cecchi Date: Wed Jun 3 18:14:06 2015 -0700 iconview: don't call gtk_style_context_set_background() gtk/gtkiconview.c | 43 ------------------------------------------- 1 file changed, 43 deletions(-) commit 9696d1b4bbd31820add59f1aa01eae470bd3e11a Author: Cosimo Cecchi Date: Wed Jun 3 18:04:15 2015 -0700 flowbox: don't set gtk_style_context_set_background() gtk/gtkflowbox.c | 1 - 1 file changed, 1 deletion(-) commit 1c9468c81bd833a662e65a21f88b2584510018e9 Author: Cosimo Cecchi Date: Wed Jun 3 18:03:35 2015 -0700 eventbox: don't call gtk_style_context_set_background() gtk/gtkeventbox.c | 3 --- 1 file changed, 3 deletions(-) commit 6786c9d724ad57ea30e169d2afcb4a314b2e56bb Author: Cosimo Cecchi Date: Wed Jun 3 17:59:45 2015 -0700 drawingarea: don't call gtk_style_context_set_background() gtk/gtkdrawingarea.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 9258b40c8b26f6d3c0591c61ad1bb7595d2273e5 Author: Pedro Albuquerque Date: Wed Jul 1 21:58:15 2015 +0000 Updated Portuguese translation po/pt.po | 16551 ++++++++++++++++++++++++++++--------------------------------- 1 file changed, 7592 insertions(+), 8959 deletions(-) commit a774440baf3ce05f2ec0b731877ef5241643878b Author: Pedro Albuquerque Date: Wed Jul 1 21:57:37 2015 +0000 Updated Portuguese translation po-properties/pt.po | 16547 +++++++++++++++++++++++++++----------------------- 1 file changed, 8957 insertions(+), 7590 deletions(-) commit ff94923666a48feee8707b86148aaf4d3f905367 Author: Alexander Larsson Date: Fri Jun 26 13:49:23 2015 +0200 broadway: Implement maximization gdk/broadway/gdkscreen-broadway.c | 20 +++++++++++++++--- gdk/broadway/gdkwindow-broadway.c | 44 +++++++++++++++++++++++++++++++++++++++ gdk/broadway/gdkwindow-broadway.h | 6 ++++++ 3 files changed, 67 insertions(+), 3 deletions(-) commit 77b8495bc4e51826afa451914d6a3b0df1b62a24 Author: Carlos Garnacho Date: Tue Jun 23 18:11:07 2015 +0200 x11: Query pointer devices' scroll valuators on toplevel enter events We used to "invalidate" scroll valuators, so the next scroll event could be used as the base for the next scroll deltas. This has the inconvenience that it invariably consumes the first event received after enter and, due to interactions with WM overeager passive button grabs, there's a possibility we don't scroll at all if we receive interleaved "smooth scroll" XI_Motion events and XI_Enter events (Normally triggered by regular scroll wheels in mice). In order to fix this, and at the expense of some sync-call overhead on XI_Enter events (one XIQueryDevice call per slave device), query the current scroll valuator state for all the slaves of the entered pointer, so we do know beforehand the right base values. If new devices are plugged while the pointer is on top of the client, the initialized scroll values will match the valuators'. https://bugzilla.gnome.org/show_bug.cgi?id=750994 https://bugzilla.gnome.org/show_bug.cgi?id=750870 gdk/x11/gdkdevice-xi2.c | 39 +++++++++++++++++++++++---------------- gdk/x11/gdkdevicemanager-xi2.c | 15 +++++---------- gdk/x11/gdkprivate-x11.h | 2 ++ 3 files changed, 30 insertions(+), 26 deletions(-) commit 8c9e426dc50011fabf060206ac53eb4b347fa01a Author: Carlos Garnacho Date: Wed Jul 1 18:50:22 2015 +0200 placessidebar: Do not set as a "track motion" DnD site It has the unintended effect of picking the suggested action from the context, which conflicts with the (possibly 0) status we set on our ::drag-motion handler. Given this widget is not interested in listening to DnD from every possible target, it is safe to just disable it. gtk/gtkplacessidebar.c | 2 -- 1 file changed, 2 deletions(-) commit 5d17b0af54acea03c697ead28c2f178f5564db11 Author: Christoph Reiter Date: Mon Jun 29 13:46:36 2015 +0200 GtkWindow: don't increase the preferred size for empty windows if there is a size request set. This fixes a reftest broken by commit 84e99b20ac806ee5f https://bugzilla.gnome.org/show_bug.cgi?id=751341 gtk/gtkwidget.c | 17 +++++++++++++++++ gtk/gtkwidgetprivate.h | 2 ++ gtk/gtkwindow.c | 24 ++++++++++++++++-------- 3 files changed, 35 insertions(+), 8 deletions(-) commit 0f3995a446e77a7c0a752a23bf2bd6a4e93b2c6a Author: Carlos Garnacho Date: Tue Jun 30 19:04:13 2015 +0200 x11: Avoid X error traps within server grabs gdk_x11_device_xi2_window_at_position() may attempt to push/pop a few error trap pairs while traversing the window tree. Move it outside the server grab, and around the multiple XIQueryPointer calls we may do here. https://bugzilla.gnome.org/show_bug.cgi?id=751739 gdk/x11/gdkdevice-xi2.c | 73 +++++++++++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 30 deletions(-) commit ef93c714f80264dbd5e39a3e27bdca441545aaa0 Author: Krzesimir Nowak Date: Tue Jun 30 22:55:59 2015 +0200 broadway: Fix memleak in error case https://bugzilla.gnome.org/show_bug.cgi?id=751752 gdk/broadway/broadway-server.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 15c73a2b1aae5be740efa19b3d20f9e6a26f8970 Author: Arc Riley Date: Tue Jun 30 10:57:49 2015 -0700 Add gtk_widget_set_font_options and gtk_widget_get_font_options This allows a widget to override global font_options, such as hinting and subpixel order. The widget's PangoContext is updated when this is set. Some update code from gtk_widget_update_pango_context was moved to update_pango_context so that gtk_widget_update_pango_context runs it. http://bugzilla.gnome.org/show_bug.cgi?id=751677 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkwidget.c | 74 +++++++++++++++++++++++++++++++----- gtk/gtkwidget.h | 5 +++ 3 files changed, 72 insertions(+), 9 deletions(-) commit 9913b02e3bf81fe620a750c15fbcd2f154e53e4d Author: Cosimo Cecchi Date: Mon Jun 29 15:25:44 2015 -0700 switch: add a style property for the switch height Instead of hardcoding an aspect ratio. This will be replaced by min-height/max-height when we have them. https://bugzilla.gnome.org/show_bug.cgi?id=751689 gtk/gtkswitch.c | 24 +++++++++++++++++++----- gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + gtk/theme/HighContrast/_common.scss | 1 + gtk/theme/HighContrast/gtk.css | 1 + 6 files changed, 25 insertions(+), 5 deletions(-) commit 6251b7bdb2e3eabf7c605fbfa451b28a24092dfc Author: Dušan Kazik Date: Tue Jun 30 10:20:51 2015 +0000 Updated Slovak translation po/sk.po | 576 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 341 insertions(+), 235 deletions(-) commit 64fef45208d12d1cfa54ed17fec79bdaf93abc45 Author: Pedro Albuquerque Date: Mon Jun 29 22:46:43 2015 +0000 Updated Portuguese translation po/pt.po | 15580 +++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 9070 insertions(+), 6510 deletions(-) commit 5304a898bfb839f3402c7026e5850bde7ffd96a6 Author: Pedro Albuquerque Date: Mon Jun 29 22:46:04 2015 +0000 Updated Portuguese translation po-properties/pt.po | 16313 ++++++++++++++++++++++++-------------------------- 1 file changed, 7683 insertions(+), 8630 deletions(-) commit 04e727709d562d7a86a115723d0356592ab06333 Author: Jasper St. Pierre Date: Mon Jun 29 14:16:49 2015 -0700 window: Don't send startup notifications for offscreen / popup windows The WM isn't aware of O-R (popup) or offscreen windows. If somebody maps an offscreen or a popup GTK+ window before the main window, we'll complete the sequence before a "real" window is mapped. Make sure to ignore these for startup notifies. gtk/gtkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6ff5db374ac6562e2613d15114c5ab01e601ec37 Author: Piotr Drąg Date: Mon Jun 29 23:07:40 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 802b006b3768ddc8c8cdf0af27428e7042c36509 Author: nick Date: Mon Jun 29 20:37:26 2015 +0100 settings: Include pangofc-fontmap.h header on Wayland In case the X11 backend is not enabled, we still need to include the pangofc-fontmap.h header file, as we use the Pango/FontConfig API in both the X11 and Wayland case. https://bugzilla.gnome.org/show_bug.cgi?id=751625 gtk/gtksettings.c | 1 + 1 file changed, 1 insertion(+) commit de68968f89a5e9b987ff441cc127010c12d8f606 Author: Carlos Garnacho Date: Mon Jun 29 17:54:57 2015 +0200 wayland: Return the right type atom on gdk_selection_property_get() We mistakenly forced the "STRING" type, which was able to confuse higher layer helpers like gtk_selection_data_get_uris(). This fixes a crash happening anytime a drop is attempted on a GtkPlacesSidebar. gdk/wayland/gdkselection-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50178ce0147388ceffd7cafedfd85befcdfc4137 Author: Carlos Garnacho Date: Mon Jun 29 16:32:01 2015 +0200 wayland: Prepare against NULL selection owners on data_source requests Currently, due to the lack of progress information in the Wayland DnD protocol, we assume a DnD operation is finished after the first data_source.send is finished (It's either that or leaving stuck grabs). This however breaks previous assumptions that dest widgets can request the data multiple times, even in response to GtkWidget::drag-motion. This leaves us with a NULL owner for the DnD atom when we aren't finished receiving wl_data_source events yet, causing a crash. This commit fixes the crash, the behavior left is still far from desirable though... gdk/wayland/gdkselection-wayland.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 109572286c138c11850cefb823e839c6f29d37b8 Author: Matthias Clasen Date: Sun Jun 28 22:46:53 2015 -0700 gtk3-demo: Group pango demos together demos/gtk-demo/font_features.c | 2 +- demos/gtk-demo/rotated_text.c | 2 +- demos/gtk-demo/textmask.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit f97786f5e9ea46241410127e6d2d8ba8c44b9e71 Author: Matthias Clasen Date: Sun Jun 28 22:43:27 2015 -0700 gtk3-demo: Add a fancy text demo This demonstrates rendering text with a pattern instead of a single color. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/textmask.c | 85 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 87 insertions(+) commit 876a6b550b356c3dd65e33283584f7780d6705f2 Author: Matthias Clasen Date: Sun Jun 28 10:21:45 2015 -0400 gtk-demo: Make the info bar example wrap demos/gtk-demo/infobar.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 609e04ddcf626e6295b11260269ab5d0492a65f6 Author: Matthias Clasen Date: Sun Jun 28 09:23:28 2015 -0400 gtk-demo: Cosmetic changes Clean up the code of many examples in minor ways, fix some memory leaks, and avoid the use of dialogs where a regular toplevel works just as well. demos/gtk-demo/Makefile.am | 79 +-------- demos/gtk-demo/assistant.c | 2 +- demos/gtk-demo/builder.c | 24 ++- demos/gtk-demo/button_box.c | 11 +- demos/gtk-demo/clipboard.c | 21 ++- demos/gtk-demo/colorsel.c | 20 +-- demos/gtk-demo/combobox.c | 15 +- demos/gtk-demo/css_accordion.c | 9 +- demos/gtk-demo/css_basics.c | 9 +- demos/gtk-demo/css_multiplebgs.c | 9 +- demos/gtk-demo/css_pixbufs.c | 17 +- demos/gtk-demo/css_shadows.c | 17 +- demos/gtk-demo/cursors.c | 9 +- demos/gtk-demo/dialog.c | 13 +- demos/gtk-demo/drawingarea.c | 3 +- demos/gtk-demo/editable_cells.c | 10 +- demos/gtk-demo/entry_buffer.c | 74 ++++----- demos/gtk-demo/entry_completion.c | 20 +-- demos/gtk-demo/event_axes.c | 5 +- demos/gtk-demo/expander.c | 2 + demos/gtk-demo/flowbox.c | 10 +- demos/gtk-demo/font-features.ui | 49 +++--- demos/gtk-demo/font_features.c | 11 +- demos/gtk-demo/gestures.c | 7 +- demos/gtk-demo/headerbar.c | 9 +- demos/gtk-demo/hypertext.c | 14 +- demos/gtk-demo/iconview.c | 5 +- demos/gtk-demo/iconview_edit.c | 9 +- demos/gtk-demo/images.c | 9 +- demos/gtk-demo/infobar.c | 14 +- demos/gtk-demo/links.c | 12 +- demos/gtk-demo/menus.c | 9 +- demos/gtk-demo/offscreen_window.c | 9 +- demos/gtk-demo/offscreen_window2.c | 9 +- demos/gtk-demo/overlay.c | 9 +- demos/gtk-demo/pagesetup.c | 5 +- demos/gtk-demo/panes.c | 9 +- demos/gtk-demo/pickers.c | 12 +- demos/gtk-demo/pixbufs.c | 6 +- demos/gtk-demo/popover.c | 5 +- demos/gtk-demo/revealer.c | 37 ++--- demos/gtk-demo/revealer.ui | 286 ++++++++++++++------------------- demos/gtk-demo/rotated_text.c | 16 +- demos/gtk-demo/search_entry.c | 26 +-- demos/gtk-demo/search_entry2.c | 16 +- demos/gtk-demo/sidebar.c | 3 +- demos/gtk-demo/sizegroup.c | 26 ++- demos/gtk-demo/spinner.c | 2 +- demos/gtk-demo/stack.c | 15 +- demos/gtk-demo/theming_style_classes.c | 18 +-- demos/gtk-demo/transparent.c | 12 +- demos/gtk-demo/tree_store.c | 9 +- 52 files changed, 358 insertions(+), 699 deletions(-) commit be4a25231d0554f4be241b498969151331bd675d Author: Matthias Clasen Date: Sun Jun 28 10:11:54 2015 -0400 gtk-demo: Add a spin button example More or less copied from the spin button example in testgtk. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 4 + demos/gtk-demo/spinbutton.c | 253 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/spinbutton.ui | 205 ++++++++++++++++++++++++++++++ 4 files changed, 463 insertions(+) commit cd3f24d5793e038ee29d780b24747707c73ad00c Author: Benjamin Otte Date: Fri Jun 26 21:08:04 2015 +0200 cssvalue: Change color transitions to run premultiplied Previously, the unpremultiplied values from the GdkRGBA were taken. Now we premultiply the color values as specified by the CSS specs. This is only relevant when transitioning with translucent colors. An example is the halfway transition between transparent (0, 0, 0, 0) and white (1, 1, 1, 1). Previously, all 4 values where transitioned separately and the result was semi-transparent gray (0.5, 0.5, 0.5, 0.5). By depending on the alpha value, the result is now semi-transparent white (1, 1, 1, 0.5) which is what one would naively expect. New reftest: color-transition gtk/gtkcssrgbavalue.c | 12 +++++++++--- testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/color-transition.css | 18 ++++++++++++++++++ testsuite/reftests/color-transition.ref.ui | 8 ++++++++ testsuite/reftests/color-transition.ui | 25 +++++++++++++++++++++++++ 5 files changed, 63 insertions(+), 3 deletions(-) commit 142abce46a18ef09ca77ed581cf3b385671c9515 Author: Benjamin Otte Date: Fri Jun 26 20:53:39 2015 +0200 cssvalue: Special case resulting color for transparency Again, preparation for using premultiplied color transitions. gtk/gtkcssrgbavalue.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit e3d8f03b3a69c0b1e1dea653ffeca34092be6ce8 Author: Benjamin Otte Date: Fri Jun 26 19:06:02 2015 +0200 cssvalue: Restructure RGBA transitions Split out a function to make the code clearer for the changes ahead. gtk/gtkcssrgbavalue.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 8509a07a08ca34367f20783384df35074fb77f3e Author: Carlos Garnacho Date: Fri Jun 26 14:23:16 2015 +0200 wayland: Set the master device on the drop-side GdkDragContext And force the ungrab on it, instead of the slave, in the case of local DnD drop. This avoids confusions on the pointer events spawn from DnD, as GDK doesn't think anymore those are from a slave device. Most namely, it fixes the stuck grab when finishing DnD on the same app it was started from. gdk/wayland/gdkdevice-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1178a0ac8bcbdf50d85298e606abd3f64b06bbe4 Author: Carlos Garnacho Date: Tue Apr 7 16:40:57 2015 +0200 wayland: Split handling of clipboard/DnD data offers We currently only hold the last offer received, which is wrong, as both are independent and have different life cycles. This means we have to store per-selection wl_data_offer and targets, and maintain these as appropriate from the clipboard/DnD specific entry points. gdk/wayland/gdkdevice-wayland.c | 19 +++-- gdk/wayland/gdkdnd-wayland.c | 21 +++-- gdk/wayland/gdkprivate-wayland.h | 9 ++- gdk/wayland/gdkselection-wayland.c | 155 +++++++++++++++++++++++++++---------- 4 files changed, 148 insertions(+), 56 deletions(-) commit da395606a2afcebe9721277295ba14cd86f90fef Author: Alexander Larsson Date: Thu Jun 25 21:15:46 2015 +0200 broadway: Handle shm_open failing by falling back on tmp files This is required if /dev/shm is not mounted on your system, which can happen for instance in certain container configurations. gdk/broadway/broadway-server.c | 18 +++++++++++++--- gdk/broadway/gdkbroadway-server.c | 45 +++++++++++++++++++++++++++++++-------- 2 files changed, 51 insertions(+), 12 deletions(-) commit 029800c426ef29ad6170e28624b5c4a0a6947cc8 Author: Lapo Calamandrei Date: Thu Jun 25 20:04:32 2015 +0200 Adwaita: entry linking fixes Set the right border color on the linked entry after the focused one. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/theme/Adwaita/gtk-contained.css | 10 +++++----- 3 files changed, 13 insertions(+), 13 deletions(-) commit 56a3fd888a83984c7ced289f2be092e6ba4fa1f9 Author: Lapo Calamandrei Date: Thu Jun 25 19:55:51 2015 +0200 Adwaita: rubberbands! Darken the rubberband a bit to make it visible on the selected color background, fix treeview rubberband border issue. gtk/theme/Adwaita/_common.scss | 6 ++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 10 insertions(+), 8 deletions(-) commit 350d55589304fa55d83770834b392e2ee04cd906 Author: Carlos Garnacho Date: Thu Jun 25 18:44:49 2015 +0200 wayland: Fix compile warning in DnD/selection code Introduced in my recent commits gdk/wayland/gdkselection-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0606b525b47cf0901ebff70c8aebd57f8190e116 Author: Carlos Garnacho Date: Thu Jun 25 14:58:00 2015 +0200 gtkdnd: Plug a leak We create a cairo_t in order to find out the surface extents, but it was being leaked, dragging the whole drag surface with it through extra refs. gtk/gtkdnd.c | 1 + 1 file changed, 1 insertion(+) commit 33f9cbafcd1a0492c19c53282454184d28fc771f Author: Carlos Garnacho Date: Thu Jun 25 14:56:59 2015 +0200 gtkmodelbutton: Plug a leak The private struct had some data that needed freeing, but this widget didn't have any destroy/dispose/finalize handlers. gtk/gtkmodelbutton.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 6de82c9be303aabfc2a911b2231d38b18642b487 Author: Carlos Garnacho Date: Thu Jun 25 14:55:56 2015 +0200 gtkmenusectionbox: plug a leak The list returned by gtk_container_get_children() wasn't being freed. gtk/gtkmenusectionbox.c | 2 ++ 1 file changed, 2 insertions(+) commit 6cc9b17429787de578c18616fb5af03aac12378f Author: Carlos Garnacho Date: Thu Jun 25 14:52:47 2015 +0200 wayland: Plug some memleaks in DnD/clipboard code gdk_atom_name() return value must be freed, this code was consistently not doing so... gdk/wayland/gdkdnd-wayland.c | 13 ++++++++++--- gdk/wayland/gdkselection-wayland.c | 27 +++++++++++++++++++++------ 2 files changed, 31 insertions(+), 9 deletions(-) commit f8b7623b3c5c056fcc1d2fd15df8ec62006b44d7 Author: Matthias Clasen Date: Thu Jun 25 07:01:26 2015 -0400 builder-tool: Don't strip h/vexpand Setting these properties has the side-effect of setting the corresponding -set properties, which makes GTK+ behave subtly different. So don't mess with these. gtk/gtk-builder-tool.c | 2 ++ 1 file changed, 2 insertions(+) commit e9e9dfade6e975bac94bc0092eb7e5b6c332c19c Author: Matthias Clasen Date: Thu Jun 25 06:59:18 2015 -0400 GtkSearchBar: Don't vexpand It turns out that setting vexpand to its default value has side-effects that we need. https://bugzilla.gnome.org/show_bug.cgi?id=751447 gtk/ui/gtksearchbar.ui | 1 + 1 file changed, 1 insertion(+) commit d31e1fbef092543caeef4db2a597ad6faabeb075 Author: cedlemo Date: Wed Jun 24 13:59:00 2015 +0000 GtkImage: Make resource property work properly gtk_image_set_from_resource was setting the resource_path, only to have it overwritten again before returning. That is not as it should be, so change things to set the resource path late. https://bugzilla.gnome.org/show_bug.cgi?id=751443 gtk/gtkimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 342db27278b530a99f70c96887bb153a5507f5d2 Author: Carlos Garnacho Date: Wed Jun 24 22:10:55 2015 +0200 wayland: protect against unknown mimetype requests This oddly can be reproduced with weston+weston-dnd, when dragging anything from GTK+ into weston-dnd, it will insist on picking its custom application/x-wayland-dnd-flower mimetype, and this request forwarded by the compositor, even if GTK+ didn't announce it on its wl_data_source mimetype list. (What should probably happen here is that the request is silenced, and/or weston-dnd picks (null)) This should be harmless, we are leaking though the fd in that case, because the emission of GdkEventSelection on an unhandled mimetype results in NOP. In order to avoid this, we should check whether the mimetype is supported at all on the backend code and possibly close the fd, this involves storing these in the first place. https://bugzilla.gnome.org/show_bug.cgi?id=751414 gdk/wayland/gdkselection-wayland.c | 39 +++++++++++++++++++++++++++++++++++++- 1 file changed, 38 insertions(+), 1 deletion(-) commit fb266a8876fbba4a983ddb9f6d11295c1e27ef7d Author: Carlos Garnacho Date: Wed Jun 24 21:55:12 2015 +0200 wayland: Ensure we close the fd on all error paths in data_source.send https://bugzilla.gnome.org/show_bug.cgi?id=751414 gdk/wayland/gdkselection-wayland.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 3bd7b2a6fb31a3cf379466b08c497552f0c27c0f Author: Carlos Garnacho Date: Wed Jun 24 21:52:23 2015 +0200 wayland: close() the selection fd if we didn't start writing yet If the other peer requests data too fast (too rare/unlikely though), we might receive multiple gdk_wayland_selection_request_target() calls with no ending gdk_wayland_selection_check_write(), in which case the fd is leaked as no GOutputStream was created to take over it. https://bugzilla.gnome.org/show_bug.cgi?id=751414 gdk/wayland/gdkselection-wayland.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 5e7159413d2545e3fd1454b14852f8c4f82ec0c5 Author: Carlos Garnacho Date: Wed Jun 24 19:57:40 2015 +0200 wayland: Ensure we cancel previous selection writes before starting one We weren't catching all the places where the AsyncWriteData operation should be cancelled, which could happen if we repeatedly request the same target on different fds. https://bugzilla.gnome.org/show_bug.cgi?id=751414 gdk/wayland/gdkselection-wayland.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 69b5955108a794c0aab8872d1bffab2a5f820d8c Author: Carlos Garnacho Date: Wed Jun 24 19:53:39 2015 +0200 wayland: Do not close the descriptor on async_write_data_free() At the moment we create the AsyncWriteData, the ownership of the fd is granted to the GOutputStream, and the fd set to -1, so at this moment we're just silently getting EBADFD. This partially reverts 25885ca600fff, the initialization of .fd to -1 is valid and stays though. https://bugzilla.gnome.org/show_bug.cgi?id=751414 gdk/wayland/gdkselection-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit d3212c9b46cba09ec2c0ea2f9c02d9a92acbbc45 Author: Balázs Úr Date: Wed Jun 24 17:45:33 2015 +0000 Updated Hungarian translation po/hu.po | 549 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 335 insertions(+), 214 deletions(-) commit de2268000d7e3eb5e84603810f9a6f971efb1072 Author: Carlos Garnacho Date: Wed Jun 24 17:48:18 2015 +0200 wayland: Ensure device grabs generate crossing/focus events On X11 this is something the windowing system does for us, which the wayland backend should emulate, being grabs completely client-side. So, if the grab and current focus windows differ, make sure we emit focus/crossing events as it corresponds to the grab device. gdk/wayland/gdkdevice-wayland.c | 94 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 93 insertions(+), 1 deletion(-) commit de260ae2ea8809b992b113d5f37b2dac38b2abcf Author: Carlos Garnacho Date: Wed Jun 24 15:41:23 2015 +0200 wayland: Update grab serial when ungrabbing keyboards This was being done so only on pointers. Internally, a GdkDeviceGrabInfo is kept for each of the master pointer/keyboard, failing to do this for keyboards results in a stuck keyboard grab. https://bugzilla.gnome.org/show_bug.cgi?id=748892 gdk/wayland/gdkdevice-wayland.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 25885ca600fffcade4f3a77019d8cca17d9ec325 Author: Carlos Garnacho Date: Wed Jun 24 11:27:20 2015 +0200 wayland: Properly initialize/finalize where we store the data_source.send fd The fd must be closed on async_write_data_free(), but we should also initialize it to -1 so gdk_wayland_selection_check_write() doesn't wrongly pick the stdin fd. https://bugzilla.gnome.org/show_bug.cgi?id=751414 gdk/wayland/gdkselection-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 48ea0cbe4b8bcd37958601d39b9e93be7d28fa8b Author: Christoph Reiter Date: Mon Jun 22 19:22:10 2015 +0200 GtkWindow: some min/nat size corrections. Don't add the container border to the title request size; it is only used for the child widget. Don't call gtk_widget_get_preferred_width_for_height() for the title bar with an unrelated height and subtract the title bar height before querying the child widget width. Guard against negative size requests after substracting the borders/shadows and the title bar. https://bugzilla.gnome.org/show_bug.cgi?id=751341 gtk/gtkwindow.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit f9422ab2236f090809fe9f0e9ae88b9f5602841c Author: Matthias Clasen Date: Tue Jun 23 13:11:26 2015 -0400 3.17.4 NEWS | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 67 insertions(+), 1 deletion(-) commit 23ce2562bfa9ba7f598d009cfb56aea1bd5ae1ba Author: Matthias Clasen Date: Tue Jun 23 17:27:09 2015 -0400 Fix up doc comments gdk/gdkwindow.c | 3 +-- gdk/gdkwindow.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) commit 68aa48cc44ab087b9b2f0b2000a9e671a3f8acd5 Author: Matthias Clasen Date: Tue Jun 23 17:07:38 2015 -0400 Fix up expected results of a11y tests These changed due to th extra box that GtkAssistant now inserts for each page. testsuite/a11y/assistant.txt | 2 ++ 1 file changed, 2 insertions(+) commit 3b97a0b940cfc99c5235af6ba4b65a12e7a02e55 Author: Matthias Clasen Date: Tue Jun 23 16:46:07 2015 -0400 Fix an oversight gtk/gtkoverlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f0606509d839855ec697e9d10f7069e82deecd7 Author: Matthias Clasen Date: Tue Jun 23 16:28:18 2015 -0400 GtkPlacesSidebar: Simplify sidebar code Make this code follow GTK+ styles and conventions better. gtk/gtksidebarrow.c | 360 +++++++++++++++++++--------------------------------- 1 file changed, 128 insertions(+), 232 deletions(-) commit ae8c07c67cfa83d967a760899ba91ea06bf8d616 Author: Matthias Clasen Date: Tue Jun 23 16:06:30 2015 -0400 GktPlacesSidebar: Plug a ton of leaks If you don't keep in mind that g_object_get() returns references to objects and copies fo strings, things leak all over the place. gtk/gtkplacessidebar.c | 276 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 197 insertions(+), 79 deletions(-) commit f2a8ddfecf0868fe381ce287205156a7db84729c Author: Matthias Clasen Date: Tue Jun 23 14:42:57 2015 -0400 sidebarrow: Avoid object-valued properties They tend to leak...as these do. gtk/gtkplacessidebar.c | 18 +++++------ gtk/gtksidebarrow.c | 74 ++++++++++++++++------------------------------ gtk/gtksidebarrowprivate.h | 3 ++ 3 files changed, 38 insertions(+), 57 deletions(-) commit 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6 Author: Benjamin Otte Date: Tue Jun 23 21:45:33 2015 +0200 render: Fix ridge/groove border rendering The typo strikes again! gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 335c070f9b97d840252dc5806d8bf2105deb1c40 Author: Christoph Reiter Date: Tue Jun 23 10:54:39 2015 +0200 GtkHeaderBar: reduce minimum title width The minimum title width affects the minimum window width for CSD windows. To allow smaller windows like without CSD reduce it a bit (276px vs 156px min width) https://bugzilla.gnome.org/show_bug.cgi?id=751341 gtk/gtkheaderbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 84e99b20ac806ee5fafd8646b599252057079961 Author: Christoph Reiter Date: Mon Jun 22 20:36:50 2015 +0200 GtkWindow: fix default empty window size with CSD In the non-CSD case we checked for 0x0 window size requisition and replaced it with 200x200 so the window was still visible. This no longer works in case of CSD as the shadow and title bar are always added to the requisition resulting in a titlebar/shadow only window in case there is no child widget (this is currently visible under wayland or when setting GTK_CSD=1). Instead of special casing the final window size, special case the child requisition paths instead. This gives us the same requisition in both, CSD and non-CSD cases (the header bar has a too large minimum width atm so the resulting window is still not the same) https://bugzilla.gnome.org/show_bug.cgi?id=751341 gtk/gtkwindow.c | 45 ++++++++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 13 deletions(-) commit da14dbe4e5a40fccf9155f4cd87c97457f9439d6 Author: William Hua Date: Mon Jun 22 12:31:32 2015 -0400 mir: fix toggling between maximized and restored gdk/mir/gdkmireventsource.c | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) commit e083eb42e916dbd2f75e213956a4e513e892d165 Author: William Hua Date: Sun Jun 21 22:13:27 2015 -0400 mir: fix wheel scrolling in both directions gdk/mir/gdkmireventsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8fac1f688e662de9fdbbcf370a32adfe7c78151a Author: William Hua Date: Sun Jun 21 22:07:44 2015 -0400 mir: emit GDK_ENTER_NOTIFY on pointer enter gdk/mir/gdkmireventsource.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 2374a1b50b6b54b8818a37e70ecef4d0e06bebba Author: William Hua Date: Fri Jun 19 15:16:27 2015 -0400 mir: remove non-useful logging gdk/mir/gdkmirdisplay.c | 72 ++++++++++++++++++++++----------------------- gdk/mir/gdkmireventsource.c | 4 --- gdk/mir/gdkmirscreen.c | 42 +++++++++++++------------- gdk/mir/gdkmirwindowimpl.c | 68 +++++++++++++++++++++--------------------- 4 files changed, 91 insertions(+), 95 deletions(-) commit 19f66c781f41ab44c2ed4b33b7bf9b4943833acd Author: William Hua Date: Fri Jun 19 11:29:08 2015 -0400 mir: don't need dummy egl surface gdk/mir/gdkmirwindowimpl.c | 7 ------- 1 file changed, 7 deletions(-) commit be068607f68b185483154371548e0ea2123b0fcb Author: William Hua Date: Thu Jun 18 10:39:28 2015 -0400 mir: emit configure event on window move/resize Without this, some windows don't restart the paint clock needed to actually render the contents. gdk/mir/gdkmirwindowimpl.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit 9800d83a721fd21b34df6dd36684d3e0e2a9fd7b Author: William Hua Date: Fri Jun 12 12:43:47 2015 -0400 mir: fix build due to missing api gdk/mir/gdkmirwindowimpl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ec9a39977a4341feabed2ad6477789217ee39438 Author: Lapo Calamandrei Date: Tue Jun 23 19:11:15 2015 +0200 Adwaita: scale marks visible on the dark variant gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++---- gtk/theme/Adwaita/gtk-contained.css | 12 ++++++++---- 3 files changed, 18 insertions(+), 8 deletions(-) commit aa052c6d2925730b858793808dfa1b6584499c08 Author: Balázs Úr Date: Tue Jun 23 13:59:34 2015 +0000 Updated Hungarian translation po-properties/hu.po | 2673 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 1606 insertions(+), 1067 deletions(-) commit 1ed21ad3d4d90076f74c2c2fe616938d0c7d6026 Author: Matthias Clasen Date: Tue Jun 23 09:33:30 2015 -0400 GtkScale: More work on mark spacing Try harder not to push the scale out of balance by marks. With this change, the remaining difference in the drawing is down to asymmetric assets and margins coming out of the theme. To fully support such asymmetric rendering, we need implement baseline alignment for scales. https://bugzilla.gnome.org/show_bug.cgi?id=749650 gtk/gtkscale.c | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) commit 4e4a2fe17ef70e44dcd368cc927c9552d4f80b3b Author: Marek Kasik Date: Tue Jun 23 13:28:21 2015 +0200 printing: Get output bin via IPP Request "output-bin-supported" and "output-bin-default" attributes through IPP if there is no PPD for selected printer. Pass "output-bin" option with other options in printer_get_options(). Translate standard IPP values of "output-bin" option. https://bugzilla.gnome.org/show_bug.cgi?id=725441 modules/printbackends/cups/gtkprintbackendcups.c | 139 +++++++++++++++++++++-- modules/printbackends/cups/gtkprintercups.c | 5 + modules/printbackends/cups/gtkprintercups.h | 2 + 3 files changed, 135 insertions(+), 11 deletions(-) commit 7ce96cb6ac28eeb62e003dcb9e0a8ce7d48e09e0 Author: Matthias Clasen Date: Tue Jun 23 06:44:31 2015 -0400 GtkStack: Avoid some unnecessary complication We already have an in-destruction flag, so use it. gtk/gtkstack.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) commit 3c9cca596fac6c5e72f7d6147eeb78f16be549dd Author: Christoph Reiter Date: Sat Jun 20 13:27:20 2015 +0200 Fix calculation of edge input window size in case the real window is too small. This error resulted in warnings like "pixman_region32_init_rect: Invalid rectangle passed" In case the window is smaller than handle_size * 2 the resulting edge window got a negative size. Prevent that by limiting the handle size to half the respective edge length. This also prevents the corner windows from overlapping in case the window is too small. gtk/gtkwindow.c | 59 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 28 deletions(-) commit 97e728580cba385c7d8e193b7119f67ab507d511 Author: Emmanuele Bassi Date: Mon Jun 22 14:19:29 2015 +0100 Revert "window: Check if we can use CSD before enabling them" This reverts commit c5e5ee67490e7e7af56052d8f8beb75db002c2f1. It turns out that this commit breaks the default sizing of GtkWindow, which in turn causes the window to be smaller than the handle size, which ends up sending invalid rectangles to Cairo. We'll have to find another way to fix the CSD issue. See also: https://bugzilla.gnome.org/show_bug.cgi?id=751140 https://bugzilla.gnome.org/show_bug.cgi?id=750343 gtk/gtkwindow.c | 50 +++++++++++++++++++------------------------------- 1 file changed, 19 insertions(+), 31 deletions(-) commit 4e155d784dda384cd4bba6653134b1a0542ee569 Author: Paolo Borelli Date: Sun Feb 16 22:22:59 2014 +0100 Avoid spurious operations on destroy When the stack is destroyed we do not want to waste time running animations and notifying listeners about which is our current visible child. This is not only an optimization, but it is important for the stack switcher widgets: since they are in another branch of the hieratchy we do not want to get notifications while the stack is being destroyed. Based on a patch by Paolo Borelli https://bugzilla.gnome.org/show_bug.cgi?id=724506 gtk/gtkstack.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 3b43951ba4da9869e5f79f674e8c8a2fc16c78a9 Author: Matthias Clasen Date: Sat Jun 20 20:29:18 2015 -0400 Pacify gobject-introspection gobject-introspection complains about the parameter names of vfuncs. Why, you ask ? No idea. gtk/gtkfontchooser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93f9a81ac5d1a4239ad1aef60a126446810ef1ab Author: Matthias Clasen Date: Sat Jun 20 20:26:42 2015 -0400 GtkRange: Improve zoom handling a bit The calculation to update the initial slider position on zoom changes was not working correctly when using keys to toggle zoom on and off for scales. Avoid it by updating the position beforehand. gtk/gtkrange.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 27dabaefa6f6edee78e05e6a76fccf20be2c7679 Author: Matthias Clasen Date: Sat Jun 20 18:37:15 2015 -0400 GtkRange: Make drag gesture less agressive Moving the mouse while pressing one of the steppers was making the slider jump to the end, unexpectedly. This was caused by the drag gesture kicking in when it shouldn't. Fix this by making all drag gesture signal handlers only do something if we are in a drag thats started on the slider. https://bugzilla.gnome.org/show_bug.cgi?id=751050 gtk/gtkrange.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit b4a88c7287c0e63ba3bbd2a105e2341d7f796add Author: Caolán McNamara Date: Fri Jun 19 15:47:53 2015 +0100 file chooser: Avoid tall combos The filter combo box in the file chooser was stretching to match the height of the extra widgets next to it. Since, stretched combo boxes are not a pretty sight, make it stick to the top instead. Patch by Caolán McNamara, https://bugzilla.gnome.org/show_bug.cgi?id=751227 gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit b684e70dd5639a5874a25aadb54f2c6ebda6804f Author: Matthias Clasen Date: Sat Jun 20 10:52:44 2015 -0400 GtkOverlay: Sync up parameter names gtk-doc gets confused if the parameter names between header, source and doc comment don't match up. gtk/gtkoverlay.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 3c711cc98a533d31197083bcc815b127181c9cd5 Author: Matthias Clasen Date: Sat Jun 20 10:52:01 2015 -0400 Fix a typo gtk-doc complained about a multi-line Since: tag, but the real culprit was a typo in the Deprecated: tag. gtk/deprecated/gtkalignment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8bd9604fe6afac5b3a9129fffe20984ffd22301a Author: Matthias Clasen Date: Sat Jun 20 10:47:18 2015 -0400 Tell gtk-doc to ignore private headers Tell gtk-doc to ignore new private headers as well, otherwise it complains about undocumented symbols in them. docs/reference/gtk/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit d642ae78fc3bd98cd6c6223637fda7b09c08aabb Author: Matthias Clasen Date: Sat Jun 20 10:36:09 2015 -0400 GtkWindow: Small documentation addition gtk/gtkwindow.h | 2 ++ 1 file changed, 2 insertions(+) commit 5981e1511562d677bc03b702856e7bf110c2cf2b Author: Matthias Clasen Date: Sat Jun 20 10:33:56 2015 -0400 GtkTextView: Small documentation addition gtk/gtktextview.h | 2 ++ 1 file changed, 2 insertions(+) commit 2caa1deb5b8109352b64f5dae1429d0982d6c0e7 Author: Matthias Clasen Date: Sat Jun 20 10:28:03 2015 -0400 Fix up index for some 3.14 symbols Marking these as "Since: 3.14.1" may be more accurate, but it causes gtk-doc to not put these symbols in any versioned index at all (it generates an unused index for 3.14.1). So, lets lie a little, and say these symbols were added in 3.14. gtk/gtksettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit eab0df12a84e975c044e0b7966b9b9c2baf9411d Author: Matthias Clasen Date: Fri Jun 19 22:03:19 2015 -0400 gtk-demo: Add forgotten source file The font_features.c file was not added as a resource, so that gtk3-demo could not display it. demos/gtk-demo/demo.gresource.xml | 1 + 1 file changed, 1 insertion(+) commit 0a601b093c151d4f8d7383b5acb4312af9f75c1d Author: Matthias Clasen Date: Fri Jun 19 21:59:15 2015 -0400 gtk-demo: Many cosmetic fixes Mostly update window titles, and some addition to descriptions. demos/gtk-demo/builder.c | 10 +--- demos/gtk-demo/button_box.c | 2 +- demos/gtk-demo/changedisplay.c | 14 ++--- demos/gtk-demo/clipboard.c | 2 +- demos/gtk-demo/combobox.c | 2 +- demos/gtk-demo/css_accordion.c | 12 ++--- demos/gtk-demo/css_basics.c | 13 +++-- demos/gtk-demo/css_multiplebgs.c | 3 +- demos/gtk-demo/css_pixbufs.c | 5 +- demos/gtk-demo/css_shadows.c | 5 +- demos/gtk-demo/demo.ui | 4 +- demos/gtk-demo/dialog.c | 4 +- demos/gtk-demo/editable_cells.c | 2 +- demos/gtk-demo/entry_buffer.c | 5 +- demos/gtk-demo/entry_completion.c | 2 +- demos/gtk-demo/event_axes.c | 1 + demos/gtk-demo/expander.c | 104 +++++++++++++++++++++++++----------- demos/gtk-demo/font_features.c | 3 ++ demos/gtk-demo/gestures.c | 2 +- demos/gtk-demo/glarea.c | 2 +- demos/gtk-demo/iconview.c | 2 +- demos/gtk-demo/infobar.c | 2 +- demos/gtk-demo/list_store.c | 2 +- demos/gtk-demo/menus.c | 7 +-- demos/gtk-demo/offscreen_window.c | 2 +- demos/gtk-demo/panes.c | 16 +++--- demos/gtk-demo/search_entry2.c | 2 +- demos/gtk-demo/sidebar.c | 2 +- demos/gtk-demo/sizegroup.c | 2 +- demos/gtk-demo/spinner.c | 2 +- demos/gtk-demo/stack.c | 9 +--- demos/gtk-demo/stack.ui | 2 +- demos/gtk-demo/textscroll.c | 1 + demos/gtk-demo/textview.c | 2 +- demos/gtk-demo/transparent.c | 109 +++++++++++++++++++------------------- demos/gtk-demo/tree_store.c | 2 +- 36 files changed, 193 insertions(+), 168 deletions(-) commit 2f8e4f2685a38d92bfb7b03159bc2640f6eff011 Author: Matthias Clasen Date: Fri Jun 19 21:56:29 2015 -0400 GtkAssistant: Fix criticals on dispose After the recent change thta introduced boxes between the pages and the notebook, we were no longer careful enough when disposing the assistant. Fix that up. gtk/gtkassistant.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d6a52218d185cae483db11d7f9b46804034b4241 Author: Matthias Clasen Date: Fri Jun 19 20:08:15 2015 -0400 gtk3-demo: Improve the overlay demo Add some more information to the description. demos/gtk-demo/overlay.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit afd75070a24e7407c829a96229559c6719ba488e Author: Matthias Clasen Date: Fri Jun 19 18:13:34 2015 -0400 gtk-demo: A better overlay demo This shows the new passthrough feature. demos/gtk-demo/overlay.c | 185 ++++++++++++----------------------------------- 1 file changed, 45 insertions(+), 140 deletions(-) commit d4b0694c02d7d361e35e211f13a97c901713bd55 Author: Christian Kirbach Date: Fri Jun 19 20:58:12 2015 +0000 Updated German translation po/de.po | 841 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 456 insertions(+), 385 deletions(-) commit 5ac6b82b823f59054846f50bd6ae96d9643ede19 Author: Piotr Drąg Date: Fri Jun 19 22:20:08 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 28b8541847eeb0a0e05562946a41ed52770fd816 Author: Chun-wei Fan Date: Wed May 20 17:31:02 2015 +0800 gtk-demo: Don't Distribute demos.h Since demos.h is now generated according to the platform for which GTK+ is built, don't distribute it. Generate a Windows-specific demos.h.win32 and distribute that instead, in which the Visual Studio build files will copy it to demos.h, so that the build will proceed normally. https://bugzilla.gnome.org/show_bug.cgi?id=749622 build/win32/vs10/gtk-gen-srcs.props | 4 +++ build/win32/vs10/gtk-prebuild.vcxproj | 26 ++++++++++++++++ build/win32/vs9/gtk-gen-srcs.vsprops | 4 +++ build/win32/vs9/gtk-prebuild.vcproj | 58 +++++++++++++++++++++++++++++++++++ demos/gtk-demo/Makefile.am | 19 ++++++++---- 5 files changed, 105 insertions(+), 6 deletions(-) commit c207b8d36341d320ca3bf88ece63d2721a63c7b6 Author: Matthias Clasen Date: Fri Jun 19 09:33:39 2015 -0400 Bump Pango requirement The font features demo that was just added uses bleeding-edge pango features. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 010a120351e410ba5cd53eb439dc4a211630e965 Author: Matthias Clasen Date: Fri Jun 19 09:28:09 2015 -0400 Add a font features demo This started life as a standalone tool, but it is nicer to have it integrated in gtk3-demo. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 3 + demos/gtk-demo/font-features.ui | 1346 +++++++++++++++++++++++++++++++++++++ demos/gtk-demo/font_features.c | 202 ++++++ 4 files changed, 1552 insertions(+) commit a4dcc6bc5254d95823c2e7773ea75a17ee7dd81c Author: Matthias Clasen Date: Fri Jun 19 01:04:42 2015 -0400 file chooser: Small cleanup Ask the search model if it is empty, instead of maintaining this information manually in the file chooser widget. gtk/gtkfilechooserwidget.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 66b5d2e5237cb00d0a217f4c34903250a5550498 Author: Matthias Clasen Date: Fri Jun 19 01:03:42 2015 -0400 GtkSearchEngineTracker: Fix SPARQL syntax The function is called tracker:uri-is-descendant, not tracker-uri-is-descendant. gtk/gtksearchenginetracker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 489b48d0b58bc0a4360570503e5a7d41414a2835 Author: Matthias Clasen Date: Fri Jun 19 01:03:28 2015 -0400 Forgotten file gtk/gtksearchenginesimple.h | 13 ------------- 1 file changed, 13 deletions(-) commit 9426fb08ce131b9868a2fc5725655cddc5905426 Author: Matthias Clasen Date: Fri Jun 19 00:48:29 2015 -0400 GtkSearchEngineSimple: Avoid a private struct We can just make this type final, and avoid the private struct. gtk/gtksearchenginesimple.c | 72 ++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 40 deletions(-) commit ca31662630d16e877695a813e8ef292107f8d470 Author: Matthias Clasen Date: Fri Jun 19 00:41:10 2015 -0400 GtkSearchEngineTracker: Avoid a private struct We can just make this type final, and avoid the private struct. gtk/gtksearchenginetracker.c | 71 ++++++++++++++++++++++---------------------- gtk/gtksearchenginetracker.h | 13 -------- 2 files changed, 36 insertions(+), 48 deletions(-) commit d9a22e7e30093ee83231d28ff217b2e4582152cd Author: Matthias Clasen Date: Fri Jun 19 00:34:28 2015 -0400 Avoid an unnecessary check We create the indexed_locations array unconditionally. gtk/gtksearchenginetracker.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ed50772b4154fb7fa3d48be3c37785199ed21276 Author: Matthias Clasen Date: Fri Jun 19 00:32:49 2015 -0400 GtkSearchEngine: Avoid a crash Add a destroy notify for the data of the callback, so we don't end up leaving a dangling pointer behind for a short while if the native engine is finalized before the simple one. This was showing up as crash when typing and backspacing in the search entry of the file chooser. gtk/gtksearchengine.c | 3 ++- gtk/gtksearchenginesimple.c | 15 ++++++++++++++- gtk/gtksearchenginesimple.h | 3 ++- 3 files changed, 18 insertions(+), 3 deletions(-) commit d12c7186b6c6db74b507c95b6af11b7d16e99f8a Author: Matthias Clasen Date: Fri Jun 19 00:12:46 2015 -0400 GtkSearchEngine: Avoid crawling indexed locations Implement the IsIndexed callback for tracker. This requires reading settings of the tracker file miner. We are careful to avoid a hard dependency on the tracker schemas. gtk/gtksearchengine.c | 11 ++-- gtk/gtksearchenginetracker.c | 120 ++++++++++++++++++++++++++++++++++++++----- gtk/gtksearchenginetracker.h | 2 + 3 files changed, 115 insertions(+), 18 deletions(-) commit c7d86ef4e404e4a0e9ee9c48fa0d5e15c3f6fb6e Author: Matthias Clasen Date: Fri Jun 19 00:11:01 2015 -0400 GtkSearchEngine: Avoid crawling indexed locations Add a framework to the simple engine that allows to skip locations which are indexed by the native engine. gtk/gtksearchenginesimple.c | 35 ++++++++++++++++++++++++++++++++++- gtk/gtksearchenginesimple.h | 6 ++++++ 2 files changed, 40 insertions(+), 1 deletion(-) commit 33e2d12e908ad29f1d16505e591547abb4fb8d95 Author: Matthias Clasen Date: Fri Jun 19 00:06:14 2015 -0400 GtkSearchEngine: Initialize recursive flag Otherwise all our searches become non-recursive, which was not the intention. gtk/gtksearchengine.c | 2 ++ 1 file changed, 2 insertions(+) commit a3a58fa7d9997c2296f7bcfed6169f6b936cb8d1 Author: Matthias Clasen Date: Thu Jun 18 22:44:11 2015 -0400 GtkSearchEngine: Add recursive flag Add a flag for recursive search, and implement non-recursive search in both the tracker and simple search engines. This is not currently used in the file chooser. gtk/gtksearchengine.c | 26 ++++++++++++++++++++++++++ gtk/gtksearchengine.h | 3 +++ gtk/gtksearchenginesimple.c | 4 +++- gtk/gtksearchenginetracker.c | 16 +++++++++++++--- 4 files changed, 45 insertions(+), 4 deletions(-) commit 15a41e0bf587b370c52044f12c33e4fae3a76f17 Author: Matthias Clasen Date: Thu Jun 18 22:40:49 2015 -0400 Remove an unused field gtk/gtksearchengine.h | 2 -- 1 file changed, 2 deletions(-) commit d260d2c46685e645e48edd5b3b7c19e05202d2a6 Author: Matthias Clasen Date: Thu Jun 18 17:08:09 2015 -0400 GtkSearchEngine: Remove unused code Nothing ever uses or emits the hits-subtracted signal. Nautilus dropped it a few years ago. Time to follow suit. gtk/gtksearchengine.c | 22 ---------------------- gtk/gtksearchengine.h | 4 ---- 2 files changed, 26 deletions(-) commit 1d63335c8e51aee978521afdc77880a912b9f743 Author: Matthias Clasen Date: Thu Jun 18 15:18:30 2015 -0400 Use infos from search engine instead of getting them again When the search engine provides hits with GFileInfo, use that to add the hits to the model directly, without going through another round of async get_info calls. To do this, we add a batched variant of the _gtk_file_system_model_update_file call that takes lists of GFiles and GFileInfos. Again, we can avoid repeated resorting that happens when the files are updated individually. gtk/gtkfilechooserwidget.c | 21 ++++++++++++++++----- gtk/gtkfilesystemmodel.c | 17 +++++++++++++++++ gtk/gtkfilesystemmodel.h | 3 +++ 3 files changed, 36 insertions(+), 5 deletions(-) commit 1b755c546e5ab0693ae921f7febc1c8bb439193f Author: Matthias Clasen Date: Thu Jun 18 15:14:54 2015 -0400 Fix an oversight in the previous commit We lost the line marking the search model as non-empty, causing us to show the 'no results' page despite there being results. gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 56c05c429f954ec9e993af68e5993facd258e585 Author: Matthias Clasen Date: Thu Jun 18 14:37:23 2015 -0400 Request the right attributes in the simple search engine This change makes it so that the file info passed along from the simple search engine has all the attributes that the file system model wants. gtk/gtksearchenginesimple.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit abe4829e363abeb09d6ae2eef7e0e1bae573865d Author: Matthias Clasen Date: Thu Jun 18 14:31:02 2015 -0400 search engine: Pass file infos along for hits gtk/gtkfilechooserwidget.c | 5 ++--- gtk/gtksearchengine.c | 49 +++++++++++++++++++++++++++++++++++++++++--- gtk/gtksearchengine.h | 13 ++++++++++++ gtk/gtksearchenginesimple.c | 33 +++++++++++++++++------------ gtk/gtksearchenginetracker.c | 28 +++++++------------------ 5 files changed, 88 insertions(+), 40 deletions(-) commit 4b8df8c546a769d578437cec8bbf4e5d61d12965 Author: Matthias Clasen Date: Thu Jun 18 12:20:21 2015 -0400 file chooser: Use batched insertion for search results This helps avoiding excess work when procesing many search results, as typically happens with short search strings and recursive search. https://bugzilla.gnome.org/show_bug.cgi?id=751169 gtk/gtkfilechooserwidget.c | 47 +++++++++++++++++++--------------------------- 1 file changed, 19 insertions(+), 28 deletions(-) commit b2ceadb057011a120ff271c74bff5d2cbd6572bd Author: Matthias Clasen Date: Thu Jun 18 12:19:06 2015 -0400 file system model: Add batched insertion Add a batched version of gtk_file_system_model_add_and_query_file that takes a list of files and avoids resorting the model for each individual insertion. The querying is still done one-file-at-a-time, so more optimization is certainly possible. gtk/gtkfilesystemmodel.c | 36 ++++++++++++++++++++++++++++++++++++ gtk/gtkfilesystemmodel.h | 9 ++++++--- 2 files changed, 42 insertions(+), 3 deletions(-) commit 9590879e2f550a29d230099680081a9d3a90d414 Author: Emmanuele Bassi Date: Thu Jun 18 16:10:36 2015 +0100 Revert "window: Reinstate logic for should_use_csd()" This reverts commit f043fd532dc66a7abb1d4ea57c666655330cc429. The whole point of having can_use_csd() return TRUE when GTK_CSD is unset is to use it inside enable_csd(). https://bugzilla.gnome.org/show_bug.cgi?id=751140 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f043fd532dc66a7abb1d4ea57c666655330cc429 Author: Emmanuele Bassi Date: Thu Jun 18 14:48:58 2015 +0100 window: Reinstate logic for should_use_csd() The old should_use_csd() function would return FALSE if the GTK_CSD environment variable is unset; the change in commit c5e5ee67490e7e7 made it return TRUE if GTK_CSD is unset. This has a cascade effect on the window size, which causes invalid rectangles to bubble down to Pixman. https://bugzilla.gnome.org/show_bug.cgi?id=751140 gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c82ce07d8055c79871f782c3430440866170b04b Author: Timm Bäder Date: Thu Jun 18 15:37:23 2015 +0200 gtkdialog: Remove 2px border gtk/ui/gtkdialog.ui | 1 + 1 file changed, 1 insertion(+) commit b61d79e354c4d81c902035ffa7b362576eaa45ba Author: Timm Bäder Date: Thu Jun 18 15:36:03 2015 +0200 messagedialog: remove 2px border gtk/ui/gtkmessagedialog.ui | 1 + 1 file changed, 1 insertion(+) commit a97a3d6a5beae72e7cace1cee3d75e34e80ea949 Author: Timm Bäder Date: Thu Jun 18 11:55:29 2015 +0200 filechooserdialog: Remove space between window and content Was removed in 232d6f84f0495e9effedc16d700fc13f5a6e302. gtk/ui/gtkfilechooserdialog.ui | 1 + 1 file changed, 1 insertion(+) commit dc8cc6291beab5be92f60e4088dfe16e9c316d54 Author: Jakub Steiner Date: Thu Jun 18 13:08:45 2015 +0200 Adwaita: indentation - lapo was shouting at me. gtk/theme/Adwaita/_common.scss | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit 3a462b174daccf25af5279b6ab4d8e980127bd18 Author: Lapo Calamandrei Date: Thu Jun 18 12:46:00 2015 +0200 Adwaita: volume button and scale button padding I was assuming that GtkVolumeButton and GtkScaleButton could only contain a icon, now they get the image-button padding by default, but if the text-button class is applied it is not overridden. gtk/theme/Adwaita/_common.scss | 9 ++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 28 ++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 28 ++++++++++++++++------------ 3 files changed, 40 insertions(+), 25 deletions(-) commit 5e616e02985d2902ea07a998f87f356adb66117c Author: Lapo Calamandrei Date: Thu Jun 18 12:33:04 2015 +0200 Adwaita: scale popup quick fix gtk/theme/Adwaita/_common.scss | 29 ++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++-- gtk/theme/Adwaita/gtk-contained.css | 10 ++++++++-- 3 files changed, 36 insertions(+), 13 deletions(-) commit 58813a0db12a8e988d3857b8016bd35f329d4367 Author: Jakub Steiner Date: Thu Jun 18 12:01:12 2015 +0200 Adwaita: markup cleanup - move touch selection selectors to its own section - use scss style markup for .button common elsewhere (more compact and legible) gtk/theme/Adwaita/_common.scss | 90 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 376 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 376 +++++++++++++++++++------------ 3 files changed, 505 insertions(+), 337 deletions(-) commit ff20abda8ee1aa78e9ee82bca02e3e1093183983 Author: Jakub Steiner Date: Wed Jun 17 13:05:02 2015 +0200 HC: touch text selection styling - sync with Adwaita - try to avoid using image assets https://bugzilla.gnome.org/show_bug.cgi?id=750883 gtk/theme/HighContrast/_common.scss | 86 +++++++++++++++-- gtk/theme/HighContrast/gtk.css | 188 ++++++++++++++++++++++++++++++++++-- 2 files changed, 258 insertions(+), 16 deletions(-) commit f85db624eb2bb0e6491ac7942433b65147a89696 Author: Ting-Wei Lan Date: Thu Jun 18 12:14:05 2015 +0800 Fix return value error in _gtk_window_get_popover_parent gtk/gtkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 00616bc19910541ba28b07b904d84b997db96d7d Author: Matthias Clasen Date: Wed Jun 17 20:24:29 2015 -0400 Cosmetic change gtk/ui/gtksidebarrow.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f7857f66a647085f83f6667e0a48fb4b53c1e61 Author: Matthias Clasen Date: Wed Jun 17 20:07:24 2015 -0400 GtkPlacesSidebar: Fix rtl appearance Apply the necessary directional variants for asymmetric css padding. https://bugzilla.gnome.org/show_bug.cgi?id=751084 gtk/theme/Adwaita/_common.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 789 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 711 ++++++++++++---------------- 3 files changed, 667 insertions(+), 839 deletions(-) commit 9c7b0f0491d24d950387244fe5b4e750f11fa1e4 Author: Cosimo Cecchi Date: Tue Jun 16 12:02:41 2015 -0700 overlay: remove gtk_overlay_add_pass_through_overlay() The API to access this functionality will be the setter we just added in the previous commit. https://bugzilla.gnome.org/show_bug.cgi?id=750568 docs/reference/gtk/gtk3-sections.txt | 1 - gtk/gtkoverlay.c | 43 ------------------------------------ gtk/gtkoverlay.h | 3 --- tests/testoverlay.c | 3 ++- 4 files changed, 2 insertions(+), 48 deletions(-) commit 3b1b171be54dc45dc566595d6fe245f6742fa042 Author: Cosimo Cecchi Date: Tue Jun 16 12:01:30 2015 -0700 overlay: add setters and getters for pass-through child property This will make the API easier to use from bindings too. https://bugzilla.gnome.org/show_bug.cgi?id=750568 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkoverlay.c | 52 ++++++++++++++++++++++++++++++++++++ gtk/gtkoverlay.h | 8 +++++- 3 files changed, 61 insertions(+), 1 deletion(-) commit 1e6ccf5c86e34df543206e61e0ab93d1925d9f79 Author: Cosimo Cecchi Date: Tue Jun 16 11:58:46 2015 -0700 docs: add new GtkOverlay methods to gtk3-sections.txt https://bugzilla.gnome.org/show_bug.cgi?id=750568 docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 94a149c8ea69ecfacd4d605afd7ad9c1d9f439dd Author: Alexander Larsson Date: Wed Jun 17 17:35:18 2015 +0200 configure: test have_docbook_style != yes, not have_docbook_dtd configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8612942fe2f47d5e2c7f92e55bba578136b77df7 Author: Matthias Clasen Date: Wed Jun 17 06:09:59 2015 -0400 file chooser: Drop unused variables gtk/gtkfilechooserwidget.c | 9 --------- gtk/ui/gtkfilechooserwidget.ui | 6 +++--- 2 files changed, 3 insertions(+), 12 deletions(-) commit 916cf8f61ecaa5610216c206f8ec2bda190d4809 Author: Matthias Clasen Date: Tue Jun 16 23:46:34 2015 -0400 file chooser: Use a revealer Use a revealer to manage the visibility of the header area where we show the pathbar, the location entry or search. This is a bit smoother, and makes search more similar to a search bar. gtk/gtkfilechooserwidget.c | 19 +++--- gtk/ui/gtkfilechooserwidget.ui | 150 +++++++++++++++++++++-------------------- 2 files changed, 86 insertions(+), 83 deletions(-) commit 15bb9acc8ad0cb53969d402025aab64aa52972cd Author: Carlos Garnacho Date: Wed Jun 17 15:58:55 2015 +0200 texthandle: Avoid double rendering of background/frame gtk_render_handle() already renders background/frame itself, avoid doing this twice. gtk/gtktexthandle.c | 2 -- 1 file changed, 2 deletions(-) commit 77d429bc4debc3840ccbed9faf5616792c3e4fb5 Author: Carlos Garnacho Date: Mon Jun 15 14:07:40 2015 +0200 gtkmain: Ignore grab for events in child popovers Popovers may be spawn when there's GTK+ grabs somewhere else (eg. text selection popover/handles in an entry in a modal popover). When this happens, events go to the grab widget (in this case the modal popover) and are effectively ignored by the event widget, even though it's can be conceptually a child of the grab widget. To get away with this, tweak a bit gtk_main_do_event(), so events going to popovers that are related to grab_widget or a child of it are received, as it would happen with regular children of grab_widget. https://bugzilla.gnome.org/show_bug.cgi?id=750993 gtk/gtkmain.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit 76dc8aced5517b409e2cc7897e1d49a20a0c8ade Author: Carlos Garnacho Date: Mon Jun 15 14:05:00 2015 +0200 window: Add concept of popover "parent" This will be the widget that the popover relates to (::pointing-to in GtkPopover, ::parent in GtkTextHandle). Additional API to check the popover/parent relationship between widgets has been added, which will be useful wherever this is necessary in a generic manner. https://bugzilla.gnome.org/show_bug.cgi?id=750993 gtk/gtkpopover.c | 4 ++-- gtk/gtktexthandle.c | 2 +- gtk/gtkwindow.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkwindowprivate.h | 8 +++++++- 4 files changed, 62 insertions(+), 5 deletions(-) commit 3955d93e9de2afee80b9600e45df54ca85f671a9 Author: Ting-Wei Lan Date: Wed Jun 17 18:01:48 2015 +0800 Fix return value error in gdk_window_set_pass_through https://bugzilla.gnome.org/show_bug.cgi?id=751099 gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0dab37c78fe261fc914e4a12d48e732726f13d43 Author: Jonas Ådahl Date: Wed Jun 17 17:31:19 2015 +0800 wayland: Always request transient commit when mapping subsurface A subsurface positioning operation only takes effect when the parent surfaces state is applied. If a subsurface is mapped and positioned, but the parent surface state is not immediately committed, the relative position of the subsurface is undefined and may be placed incorrectly. To avoid this undefined state, always request that the parent surface should be committed after mapping a subsurface so that the position operation will take effect. https://bugzilla.gnome.org/show_bug.cgi?id=751098 gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit fb06b6e4b8cc312f56322b38b91af5b4c726bc33 Author: Christian Hergert Date: Tue Jun 16 16:50:44 2015 -0700 treeview: always pixelcache widget contents GtkTreeView has a particularly expensive drawing path. This can cause issues when part of animated widget sequences. Caching the content while a model is attached helps reduce the number of full redraws during exposure greatly. https://bugzilla.gnome.org/show_bug.cgi?id=751082 gtk/gtktreeview.c | 2 ++ 1 file changed, 2 insertions(+) commit 6a2143ab31beaa69fb685a3db6882831fc372cc2 Author: Christian Hergert Date: Tue Jun 16 16:46:24 2015 -0700 pixelcache: allow widgets to always require cached content Some widgets have very expensive drawing paths. So caching the content can be useful even when not scrolling. This can help speed up widgets that are part of animation sequences and thereby go through spurious expose events. https://bugzilla.gnome.org/show_bug.cgi?id=751082 gtk/gtkpixelcache.c | 23 ++++++++++++++++++++--- gtk/gtkpixelcacheprivate.h | 45 ++++++++++++++++++++++++--------------------- 2 files changed, 44 insertions(+), 24 deletions(-) commit 3665a17102b3d2c0b8289f6925dd71ce0e067c5e Author: Yosef Or Boczko Date: Wed Jun 17 03:24:12 2015 +0300 Updated Hebrew translation po/he.po | 376 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 195 insertions(+), 181 deletions(-) commit 213b92e644645d4228b98ec86a0db4e84ef48120 Author: Christian Hergert Date: Tue Jun 16 14:40:09 2015 -0700 gdkwindow: avoid updating background pattern if it matches previous Background patterns are often updated when style changes. In many cases, the new pattern will match the previous. We can optimize out the invalidation that will occur upon resetting the same pattern. gdk/gdkwindow.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 569e59b2c580be4261e5e82252ee197a016697a2 Author: Carlos Soriano Date: Tue Jun 16 16:54:24 2015 +0200 gtkplacessidebar: improve variable name gtk/gtkplacessidebar.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 0bb82bf1de1cc156422bc376d8a1b670fad0ce88 Author: Carlos Soriano Date: Tue Jun 16 16:25:33 2015 +0200 gtkplacessidebar: Remove some old comments We didn't made up our minds until now from some of them, and for the others no progress has been made or bugs reported, so probably they are fine. gtk/gtkplacessidebar.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) commit fbbad5deecb635af34a890a540e8e272b95c4d9b Author: Carlos Soriano Date: Wed May 6 23:07:17 2015 +0200 gtkplacesidebar: use GtkListBox We were using GTkTreeView in a simple list. Also, as we know, GtkCellRenderers are not the best way to theme and manipulate widgets. So instead use a GtkListBox to modernize the GtkPlacesSidebar, and in the way clean up some parts of the code (like headings) which were not used anymore. Also we don't use a model anymore, since the data is simple enough to manage it in a subclass of the row itself. gtk/Makefile.am | 6 +- gtk/gtkplacessidebar.c | 2700 +++++++++++------------------- gtk/gtkplacessidebarprivate.h | 54 + gtk/gtksidebarrow.c | 629 +++++++ gtk/gtksidebarrowprivate.h | 53 + gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/_common.scss | 84 +- gtk/theme/Adwaita/gtk-contained-dark.css | 378 +++-- gtk/theme/Adwaita/gtk-contained.css | 378 +++-- gtk/ui/gtksidebarrow.ui | 86 + 10 files changed, 2287 insertions(+), 2085 deletions(-) commit d881b1534914398046f7e5237321f978ff073441 Author: Carlos Soriano Date: Mon Jun 8 19:01:45 2015 +0200 theme: decrease list row transition It was somewhat annoying given the "trace" of it. Decrease the time to avoid too much "trace" gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 566 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 488 +++++++++++++------------- 3 files changed, 528 insertions(+), 528 deletions(-) commit 43a4843b9caf745823210fdbca95123cd560e48b Author: Carlos Soriano Date: Sat Apr 11 17:36:41 2015 +0200 gtkfilechooserwidget: show drop hints on gtkplacessidebar Now with the API addition on gtkplacessidebar, we can show some hints for the drop targets. https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkfilechooserwidget.c | 25 +++++++++++++++++++++++++ gtk/ui/gtkfilechooserwidget.ui | 2 ++ 2 files changed, 27 insertions(+) commit 4499174e32f73aeb24494c3e8d309c7486170cd7 Author: Carlos Soriano Date: Mon May 11 19:12:32 2015 +0200 gtkplacessidebar: make insensitive invalid drop targets https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkplacessidebar.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit fb034f38b31e31b1e4a4cc67889d45ee8615ade4 Author: Carlos Soriano Date: Sat Apr 11 17:46:59 2015 +0200 gtkplacessidebar: add new bookmark icon Following design mockups https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkplacessidebar.c | 4 ++++ 1 file changed, 4 insertions(+) commit a9b698b265f4b0c909b1baabc6b2c8bcec719a46 Author: Carlos Soriano Date: Thu Jun 11 18:55:24 2015 +0200 gtkplacesidebar: remove obsolete drop state We didn't use those for some time now. gtk/gtkplacessidebar.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) commit 91e1e808624f35f617a8544b7d70591efe280c19 Author: Carlos Soriano Date: Sat Apr 11 17:35:23 2015 +0200 gtkplacessidebar: add API for show drop hints It is convenient to allow applications to show all the drop targets at once. This improves the user experience with drag an drop. The new API allows the application to set the gtkplacessidebar in a mode where invalid drop targets are insensitive and it adds a "new bookmark" row. This mode is intended to be set when the application is aware of a dnd operation and needs to be stopped kwhen the application is aware that dnd operation was cancelled or ended in a different part than gtkplacesisdebar. The context parameter is unused in this patch, but will be used in next patches when the sidebar will use a GtkListBox. The reason of being unused now is just convenience. https://bugzilla.gnome.org/show_bug.cgi?id=747793 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkplacessidebar.c | 122 ++++++++++++++++++++++++++++------- gtk/gtkplacessidebar.h | 4 ++ 3 files changed, 105 insertions(+), 22 deletions(-) commit 4371cc8f0162d00c5e74b52499dd5587b8f0b4b8 Author: Carlos Soriano Date: Sat Apr 11 13:53:18 2015 +0200 gtkplacessidebar: new bookmark row only at first position Following the new mockups, put the new bookmark row always in the first position, so it's easier to drop an item. https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkplacessidebar.c | 141 ++++++++++++++++++++++++++----------------------- 1 file changed, 74 insertions(+), 67 deletions(-) commit e367c4baa0395c9cc7e7fafc70459c9e63b66322 Author: Matthias Clasen Date: Mon Jun 15 19:46:33 2015 -0400 Deal with events from wrong display GtkInspector is opening a separate display connection, which makes it more likely that gtk_get_current_event() returns an event from the "wrong" display. gtk/gtkmenu.c | 8 ++++++-- gtk/gtkmenubutton.c | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) commit 002699402dd045e71bd108463a3f8cc7442ec538 Author: Matthias Clasen Date: Mon Jun 15 19:42:47 2015 -0400 GtkMenuButton: Make programmatic toggling work again This was broken in 0796d7b6ff9393746d. https://bugzilla.gnome.org/show_bug.cgi?id=751018 gtk/gtkmenubutton.c | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) commit f99375f91ed3e785d2e2bb0bb398f84202f71fed Author: Matthias Clasen Date: Mon Jun 15 18:54:13 2015 -0400 GtkMenuButton: Avoid direct button access We were getting ourselves in trouble by casting touch events to GdkEventButton and poking directly at their internals. Instead, use GdkEvent API to get what we need. This fixes a crash when using the gear menu in epiphany with touch. The same crash also occurred in testmenubutton. gtk/gtkmenubutton.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) commit 9fc19b5a26e34568c46b90f7cb7357a2898e78b0 Author: Alexander Larsson Date: Mon Jun 15 16:32:50 2015 +0200 gtkoverlay: Fix issues with remove The iteration now progresses past a delete, so make sure we iterate safely. Also, don't chain up if we removed a child. gtk/gtkoverlay.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 5cf289630833a83cd0ea46063073425e9aaec275 Author: Alexander Larsson Date: Mon Jun 15 11:00:40 2015 +0200 testoverlay: Fix indentation tests/testoverlay.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1a44a85847cc1889eff1c31aeb27837a53e2c71f Author: Alexander Larsson Date: Tue Jun 9 10:23:19 2015 +0200 testoverlay: Add test for overlay z ordering https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 tests/testoverlay.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) commit a9bf6532b4ac4d6a3bc0bccd87d8bacb7e828c7e Author: Alexander Larsson Date: Mon Jun 8 16:30:40 2015 +0200 testoverlay: Fix test by using add_pass_through_overlay https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 tests/testoverlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4dd66b0c53166d9a399dd9840e02bbe0e98dca12 Author: Alexander Larsson Date: Tue Jun 9 10:26:31 2015 +0200 GtkOverlay: Add support for input pass-through overlays For these widgets we set pass-through on the child window so that input over these widgets (that are not on a child input window) goes to the window below the overlay. https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 gtk/gtkoverlay.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkoverlay.h | 3 +++ 2 files changed, 73 insertions(+) commit 76ba5a03b94157423bb37039bc214eedf29312b3 Author: Alexander Larsson Date: Mon Jun 8 16:28:32 2015 +0200 overlay: Add reorder_overlay() This allows you to control the z-ordering of overlay children https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 gtk/gtkoverlay.c | 199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkoverlay.h | 5 ++ 2 files changed, 203 insertions(+), 1 deletion(-) commit 4c3eece6638aa36fbcd8379109dcb4e27323a306 Author: Alexander Larsson Date: Mon Jun 8 15:36:43 2015 +0200 gdk: Add gdk_window_set_pass_through An pass_through window is something you can draw in but does not affect event handling. Normally if a window has with no event mask set for a particular event then input events in it go to its parent window (X11 semantics), whereas if pass_through is enabled the window below the window will get the event. The later mode is useful when the window is partially transparent. Note that an pass-through windows can have child windows that are not pass-through so they can still get events on some parts. Semantically, this behaves the same as an regular window with gdk_window_set_child_input_shapes() called on it (and re-called any time a child is changed), but its far more efficient and easy to use. This allows us to fix the testoverlay input stacking test. https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 gdk/gdkinternals.h | 1 + gdk/gdkwindow.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++-- gdk/gdkwindow.h | 6 +++ 3 files changed, 128 insertions(+), 4 deletions(-) commit ccc4b192ec994ee06817fbf19ff8c662be8d995a Author: Alexander Larsson Date: Mon Jun 8 15:31:02 2015 +0200 testoverlay: Add new input stacking test In this case we have a bunch of interactive main children of the overlay, and then a centered overlay that contains both non-interactive (labels) and interactive (entry) widgets. This shows off a problem where the non-interactive parts (the labels) steals input from the overlay main children (breaks button click and hover effects). https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 tests/testoverlay.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit 3271eb2141950e5861aeac01d57bff1635b52a43 Author: Daniel Mustieles Date: Mon Jun 15 08:55:00 2015 +0000 Updated Spanish translation po-properties/es.po | 643 +++++++++++++++++++++++++++------------------------- 1 file changed, 329 insertions(+), 314 deletions(-) commit da4e83e70771e569aa88c0f3244b2a68b1d8fc60 Author: Dimitris Spingos Date: Mon Jun 15 11:14:00 2015 +0300 Updated Greek translation po-properties/el.po | 1822 ++++++++++++++++++++++++++------------------------- po/el.po | 965 +++++++++++++++------------ 2 files changed, 1475 insertions(+), 1312 deletions(-) commit fe51ac273c8045279a222c22a52d297d5ede4169 Author: Benjamin Otte Date: Mon Jun 15 04:30:50 2015 +0200 stylecontext: Change fallback behavior on state mismatch For functions that take state flags as an argument we need to special case the situation where the passed in flags don't match the current state. Previously we would create a copy of the style info, change its state and do the lookup from there. Now that GtkCssNode has replaced style infos, this doesn't work as well anymore as copying a GtkCssNode is not possible. However, unike style infos, GtkCssNodes are instant-apply, so we don't need to copy anymore, we can just change the state of the node. This causes some invalidations to be queued, but we can take that performance hit as this is fallback code. https://bugzilla.redhat.com/show_bug.cgi?id=1228852 gtk/gtkstylecontext.c | 60 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 24 deletions(-) commit fa29a01c26e078b0ef486c1083e41ed7a0c1536e Author: Matthias Clasen Date: Sun Jun 14 21:37:58 2015 -0400 widget-factory: Make the circular button do something demos/widget-factory/widget-factory.c | 2 ++ demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 675467063ee25b5b9c80466d89fc890d0b1a763b Author: Matthias Clasen Date: Sun Jun 14 21:30:01 2015 -0400 testassistant: Remove padding from the filechooser page This tests the new assistant api to remove padding from pages. tests/testassistant.c | 1 + 1 file changed, 1 insertion(+) commit c3a0880cd6d839efdeb4a52ca64d27e2bb0aaff0 Author: Matthias Clasen Date: Sun Jun 14 21:29:09 2015 -0400 GtkAssistant: Add a way to have pages without padding This can be useful when embedding complex widgets like a file chooser as a page. https://bugzilla.gnome.org/show_bug.cgi?id=750631 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkassistant.c | 86 +++++++++++++++++++++++++++++++++++- gtk/gtkassistant.h | 8 ++++ 3 files changed, 95 insertions(+), 1 deletion(-) commit 43fcae91f19e587c3abb88cc7497cf3cf76d5f2c Author: Matthias Clasen Date: Sun Jun 14 21:05:49 2015 -0400 Add a filechooser-in-assistant example This is one of the cases where one wants a page without any padding. tests/testassistant.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 6cc65260f4ba54ea0ca9f93068050435bd6b9f1a Author: Matthias Clasen Date: Sun Jun 14 21:04:15 2015 -0400 GtkAssistant: Redo page margins Instead of having padding outside the notebook containing all pages, put each page in an extra box and add the padding there. This is in preparation for allowing pages without padding. gtk/gtkassistant.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit cfd85dee03509fa88b1c50326ffad6b0446af326 Author: Matthias Clasen Date: Fri Jun 12 06:35:23 2015 -0400 assistant: Drop hardcoded padding This means the pages themselves will be responsible for setting suitable padding. https://bugzilla.gnome.org/show_bug.cgi?id=750631 gtk/ui/gtkassistant.ui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ef8ad1c7341e1bac7fd36e7e7da0a7a513855f83 Author: Jordi Mas Date: Sun Jun 14 08:32:03 2015 +0200 Fixes to Catalan translation po-properties/ca.po | 16 ++++++++-------- po/ca.po | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) commit 9fbd71394c172d783422622d9acd32c68d748701 Author: Matthias Clasen Date: Sat Jun 13 23:00:41 2015 -0400 Only build testfontchooserdialog on linux We are using this to test pango functionality that uses fontconfig apis, so this doesn't build on OS X or Windows anymore. https://bugzilla.gnome.org/show_bug.cgi?id=750892 tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d1f2e5896b3b0faedb05a68a4151e33eba687b51 Author: Matthias Clasen Date: Sat Jun 13 22:32:05 2015 -0400 color editor: make popups toggleable The popups on the color editor are somewhat hard to get rid of. Arrange things so that clicking the same control again dismisses the current popup. gtk/gtkcoloreditor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 822886edbc7d4630c980a16ed6517f48e82db207 Author: Matthias Clasen Date: Sat Jun 13 21:57:07 2015 -0400 Don't show a menu on the color editor swatch There's nothing to customize here, so no need to show a menu. gtk/ui/gtkcoloreditor.ui | 1 + 1 file changed, 1 insertion(+) commit 98a3fac6ab357259d8fb50d5293578dffb79edd6 Author: Matthias Clasen Date: Sat Jun 13 21:56:41 2015 -0400 Add a way to avoid menu on color swatches gtk/gtkcolorswatch.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 1bba3b0a3866f6f4cd7c5b7f5813eb9db56267ce Author: Matthias Clasen Date: Sat Jun 13 17:57:19 2015 -0400 Avoid uninitialized variables clang complains that these may be used uninitialized. gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8cbed0b04ac639f24a2b3ee2e1609fd2ddd84b20 Author: Matthias Clasen Date: Sat Jun 13 17:57:09 2015 -0400 entry: Drop an unused variable gtk/gtkentry.c | 1 - 1 file changed, 1 deletion(-) commit 047ad11353b066437d2430fcfcafff78d7bc5c10 Author: Matthias Clasen Date: Sat Jun 13 17:56:55 2015 -0400 Drop an unused variable gtk/deprecated/gtkrc.c | 83 -------------------------------------------------- 1 file changed, 83 deletions(-) commit 7aec96b95f1f1cbe36edee4a076b4025b70077b0 Author: Matthias Clasen Date: Sat Jun 13 17:49:54 2015 -0400 Remove unused variables gdk/x11/gdkproperty-x11.c | 93 ++--------------------------------------------- 1 file changed, 3 insertions(+), 90 deletions(-) commit 5a446284b7e4710e11daf9cf5e412e5fbf18e4b9 Author: Matthias Clasen Date: Sat Jun 13 17:49:20 2015 -0400 Ensure a variable is initialized clang complained about transient_for being used uninitialized. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 577e9a33bb5e3a7409dd8a0b131e8224cbbb3844 Author: Matthias Clasen Date: Sat Jun 13 17:49:06 2015 -0400 Remove an unused variable gdk/gdkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 85a6cafd81f6a68f8594d7315c1341d9443ca358 Author: Matthias Clasen Date: Sat Jun 13 17:47:56 2015 -0400 broadway: Avoid compiler warnings clang doesn't like self-assignment. gdk/broadway/broadway-buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5b162fa44ac6106856a34c3b6a15b125ec95d10b Author: Matthias Clasen Date: Sat Jun 13 16:57:32 2015 -0400 GtkColorEditor: Remove old todo Most of this is done, and the rest will not happen because of this note. gtk/gtkcoloreditor.c | 7 ------- 1 file changed, 7 deletions(-) commit 2af218934715632b67ac8559efe9e58c53b654f9 Author: Matthias Clasen Date: Sat Jun 13 13:45:57 2015 -0400 widget-factory: More popover examples Add an example for text input in a popover. This leads to nested popovers with touch selection, and does not currently work. demos/widget-factory/widget-factory.c | 16 +++++++ demos/widget-factory/widget-factory.ui | 83 +++++++++++++++++++++++++++++++++- 2 files changed, 98 insertions(+), 1 deletion(-) commit 94fc9f521173c8032b1254be296b09ed557028cb Author: Matthias Clasen Date: Sat Jun 13 12:02:33 2015 -0400 widget-factory: Add horizontally linked entries It happens in some places, so artists need an example to make it look good. demos/widget-factory/widget-factory.ui | 52 ++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) commit 41b6993a66a6173434d1bca3f71d2596f094b121 Author: Ting-Wei Lan Date: Sat Jun 13 13:45:57 2015 +0800 Fix 'void function should not return void expression' warning for clang https://bugzilla.gnome.org/show_bug.cgi?id=750888 gdk/gdkwindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit d8657a815629103f1cd3ec1b463f694cb0493d6f Author: Ting-Wei Lan Date: Sat Jun 13 13:44:24 2015 +0800 Fix return value error in _gtk_text_handle_set_direction https://bugzilla.gnome.org/show_bug.cgi?id=750888 gtk/gtktexthandle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f955a7df67222b6ee4b2502eb5e1428f9c91d20 Author: Matthias Clasen Date: Fri Jun 12 23:55:30 2015 -0400 Redo font map support in GtkFontChooser We can't add properties to the interface, since it breaks 3rd party implementations of the GtkFontChooser interface. These exist, for example in gnumeric. So, instead of a new property, add getter/setter vfuncs. gtk/gtkfontbutton.c | 24 ++++++++++++++---------- gtk/gtkfontchooser.c | 20 +++++--------------- gtk/gtkfontchooser.h | 7 ++++++- gtk/gtkfontchooserutils.c | 18 +++++++++++++++--- gtk/gtkfontchooserutils.h | 1 - gtk/gtkfontchooserwidget.c | 24 ++++++++++++++---------- 6 files changed, 54 insertions(+), 40 deletions(-) commit 8c6130e68a6e62980251cb19a0fbcd50505700f1 Author: Benjamin Otte Date: Fri Jun 12 21:23:34 2015 +0200 fontchooser: Don't cause "row-changed" signal in cell data func The font chooser delays creating the font description from the font face as long as possible (it's slow). Because we use fixed height mode, we only have to create font descriptions for rows we are actually going to show. This was achieved by looking at the font description column and if it was NULL, we created a font description and gtk_list_stiore_set() it. Unfortunately this caused a "row-changed" signal to be emitted and this emission could happen during the cell data func. And that caused infinite loops with accessibility when you were unlucky. This change replaces the NULL font description with an empty one and instead of setting the correct font description, we pango_font_description_merge() it in. This way, the list store doesn't change and no signals are emitted. https://bugzilla.redhat.com/show_bug.cgi?id=1197267 gtk/gtkfontchooserwidget.c | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) commit a01fe140565f0af0838714daa6a99308f164d11c Author: Carlos Garnacho Date: Fri Jun 12 15:05:33 2015 +0200 popover: Avoid hiding modal popovers if another popover is taking focus Due to popover modality itself, there's quite high chances the popover stealing focus has been triggered from within, so stay friendly to it. Hiding the popover here will only hide the grabbing popover too if this happens. https://bugzilla.gnome.org/show_bug.cgi?id=750741 gtk/gtkpopover.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit a0ff35f032643af888ff3bebe114d1f2968272c4 Author: Carlos Garnacho Date: Fri Jun 12 15:03:41 2015 +0200 window: Avoid rising the window of already shown popovers This breaks stacking, as popovers are repositioned sort of frequently (even more after show/hide animations). https://bugzilla.gnome.org/show_bug.cgi?id=750741 gtk/gtkwindow.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 131abe28a442220fb542d1a0a12c69833e40fcfc Author: Cosimo Cecchi Date: Wed Jun 10 20:21:57 2015 -0700 reftests: fix style class syntax in CSS file Fixes reftests. https://bugzilla.gnome.org/show_bug.cgi?id=750605 testsuite/reftests/label-text-shadow-changes-modify-clip.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0093b156d72cdf1ed4156c746236efb0de6d03df Author: Cosimo Cecchi Date: Wed Jun 10 20:52:14 2015 -0700 testsuite: add a test for non-square symbolic icons To verify the previous fix. https://bugzilla.gnome.org/show_bug.cgi?id=750605 testsuite/gtk/Makefile.am | 1 + .../gtk/icons/scalable/nonsquare-symbolic.svg | 12 +++++ testsuite/gtk/icontheme.c | 55 ++++++++++++++++++++++ 3 files changed, 68 insertions(+) commit 06df94ff7bf8fe924226c5a5f3223c2fcf27ee10 Author: Cosimo Cecchi Date: Mon Jun 8 16:35:31 2015 -0700 icontheme: don't modify symbolic SVG dimensions when recoloring When recoloring symbolic SVG, do not modify the original width and height of the passed-in file; the function later will scale the image through gdk_pixbuf_new_from_stream_at_scale(), but we should still use the original size to create the proxy SVG, or the image will possibly be doubly-resized or blurry. https://bugzilla.gnome.org/show_bug.cgi?id=750605 gtk/gtkicontheme.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit e847c27aac17feed799ae14aeac90d68165a322e Author: Matthias Clasen Date: Fri Jun 12 08:26:18 2015 -0400 recent chooser: Make it expand It is expected that the list fills the available space. https://bugzilla.gnome.org/show_bug.cgi?id=750690 gtk/ui/gtkrecentchooserdefault.ui | 1 + 1 file changed, 1 insertion(+) commit a2d1d5244b400074b247dc8bdfbacc54dbe1be55 Author: Carlos Garnacho Date: Fri Jun 12 13:30:34 2015 +0200 entry: Ensure we unset the magnifier widget on ::destroy Otherwise there's dangling signal handlers which cause warnings at the time we attempt to disconnect these. gtk/gtkentry.c | 3 +++ 1 file changed, 3 insertions(+) commit 5c38991367d0c9815060a59754813e653ca84036 Author: Carlos Garnacho Date: Fri Jun 12 13:04:45 2015 +0200 textview: Set handles' mode to "none" if showing the bubble show_or_hide_handles() tries to disable visibility when the popover is shown, although it triggers a bit late, and lets the handles flash briefly if both popover and handles try to show at the same time (eg. when pressing on the selection of a previously unfocused textview, the handles were previously hidden, so they try to show again on focus in). gtk/gtktextview.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit c11906fcdbe12bab387ae74830703bcd919249a2 Author: Carlos Garnacho Date: Fri Jun 12 12:45:03 2015 +0200 textview: Perform tougher handle visibility checks after hiding the popover The handles might fall outside the visible area, and shouldn't be shown then. Just call gtk_text_view_update_handles() which will perform these checks, and keep the handle conveniently hidden. This was leading to unexpectedly visible handles (and in the wrong/previous position, the handle code doesn't relocate the widget it's about to hide) when "select all" was selected in the popover on a textview needing scrollbars. and extending the selection beyond the view above and/or below. gtk/gtktextview.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 2be6d09c9ea7341478ac699c144178c2a001a197 Author: Carlos Garnacho Date: Fri Jun 12 11:59:47 2015 +0200 popover: Be lenient wrt visibility of popovers too close to widget borders The check used to hide the popover if the pointed area fell partly out of the widget allocation, textviews now can trigger that with text selections too close to the visible edge, as a small extra area around is now reserved. The check has been changed to only hide the popover if the pointed area falls completely outside the widget allocation. gtk/gtkpopover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5a499ef3e165a0e0788fd2d92bf506f1453d68d9 Author: Carlos Garnacho Date: Thu Jun 11 17:10:54 2015 +0200 texthandle: Remove knowledge about window borders We need to expand beyond these if necessary, so don't artificially limit things here. gtk/gtktexthandle.c | 6 ------ 1 file changed, 6 deletions(-) commit 551931c1c6d8bc7a5d052c86538b8a5587eb2e35 Author: Carlos Garnacho Date: Wed Jun 10 21:02:34 2015 +0200 window: Allow more space at edges for popovers We're clamping to the visible window edge, which misplaces text handles. gtk/gtkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 10cb7f90e442a17501ad0a62316661aca201608b Author: Carlos Garnacho Date: Thu Jun 11 16:18:02 2015 +0200 entry: Set text direction information on text handles This way the handles point to the right side on the presence of rtl/ltr text. gtk/gtkentry.c | 1 + 1 file changed, 1 insertion(+) commit 8d56346f9bdb8a82c16fe56708148e9392d9025f Author: Carlos Garnacho Date: Wed Jun 10 20:53:12 2015 +0200 textview: set text direction information on text handles This makes them point to the correct place, given the theme supports this. gtk/gtktextview.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 3a7689bae0005e003037785ea8a51ce9a4b4a07f Author: Carlos Garnacho Date: Wed Jun 10 20:52:02 2015 +0200 texthandle: Handle ltr/rtl positioning This setting is per handle, as is dependent on the selected text, rather than the locale. gtk/gtktexthandle.c | 29 ++++++++++++++++++++++++++++- gtk/gtktexthandleprivate.h | 3 +++ 2 files changed, 31 insertions(+), 1 deletion(-) commit cd5f70357cf79479540936b9aeeb5e4be23f2d7d Author: Carlos Garnacho Date: Wed Jun 10 20:54:09 2015 +0200 Adwaita: support rtl on text handles Just use the opposite variant for the opposite LTR side. gtk/theme/Adwaita/_common.scss | 6 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 54 +++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 54 +++++++++++++++++++++----------- 3 files changed, 75 insertions(+), 39 deletions(-) commit fc6871b43bd5f48237dabb70969f4e895c883065 Author: Carlos Garnacho Date: Wed Jun 10 19:54:34 2015 +0200 texthandles: Move start handle to bottom The asset is going to change to point upwards, so physically place the handle below the text position. https://bugzilla.gnome.org/show_bug.cgi?id=750692 gtk/gtktexthandle.c | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) commit c8d70c8d8c52fd562511b67298a331fb75a50da7 Author: Jakub Steiner Date: Wed Jun 10 19:36:48 2015 +0200 Adwaita: update text selection handles - we'll put both handles to teh bottom - renamed top, bottom to start and end. will be easier for rtl too. https://bugzilla.gnome.org/show_bug.cgi?id=750692 gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/assets.svg | 502 +++++++++++---------- gtk/theme/Adwaita/assets.txt | 24 +- ...ve-dark.png => text-select-end-active-dark.png} | Bin ...ark@2.png => text-select-end-active-dark@2.png} | Bin ...ottom-active.png => text-select-end-active.png} | Bin ...m-active@2.png => text-select-end-active@2.png} | Bin ...ct-bottom-dark.png => text-select-end-dark.png} | Bin ...ottom-dark@2.png => text-select-end-dark@2.png} | Bin ...ver-dark.png => text-select-end-hover-dark.png} | Bin ...dark@2.png => text-select-end-hover-dark@2.png} | Bin ...-bottom-hover.png => text-select-end-hover.png} | Bin ...tom-hover@2.png => text-select-end-hover@2.png} | Bin ...{text-select-bottom.png => text-select-end.png} | Bin ...t-select-bottom@2.png => text-select-end@2.png} | Bin .../assets/text-select-start-active-dark.png | Bin 0 -> 895 bytes .../assets/text-select-start-active-dark@2.png | Bin 0 -> 1931 bytes .../Adwaita/assets/text-select-start-active.png | Bin 0 -> 958 bytes .../Adwaita/assets/text-select-start-active@2.png | Bin 0 -> 1946 bytes .../Adwaita/assets/text-select-start-dark.png | Bin 0 -> 859 bytes .../Adwaita/assets/text-select-start-dark@2.png | Bin 0 -> 1828 bytes .../assets/text-select-start-hover-dark.png | Bin 0 -> 868 bytes .../assets/text-select-start-hover-dark@2.png | Bin 0 -> 1899 bytes .../Adwaita/assets/text-select-start-hover.png | Bin 0 -> 911 bytes .../Adwaita/assets/text-select-start-hover@2.png | Bin 0 -> 1842 bytes gtk/theme/Adwaita/assets/text-select-start.png | Bin 0 -> 861 bytes gtk/theme/Adwaita/assets/text-select-start@2.png | Bin 0 -> 1838 bytes .../Adwaita/assets/text-select-top-active-dark.png | Bin 914 -> 0 bytes .../assets/text-select-top-active-dark@2.png | Bin 1989 -> 0 bytes .../Adwaita/assets/text-select-top-active.png | Bin 862 -> 0 bytes .../Adwaita/assets/text-select-top-active@2.png | Bin 1794 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top-dark.png | Bin 892 -> 0 bytes .../Adwaita/assets/text-select-top-dark@2.png | Bin 1881 -> 0 bytes .../Adwaita/assets/text-select-top-hover-dark.png | Bin 910 -> 0 bytes .../assets/text-select-top-hover-dark@2.png | Bin 1948 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top-hover.png | Bin 824 -> 0 bytes .../Adwaita/assets/text-select-top-hover@2.png | Bin 1683 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top.png | Bin 887 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top@2.png | Bin 1856 -> 0 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 12 +- gtk/theme/Adwaita/gtk-contained.css | 12 +- 41 files changed, 288 insertions(+), 266 deletions(-) commit 1600d5401258c68ae3eb47f39034780ae99a2597 Author: Piotr Drąg Date: Thu Jun 11 15:50:15 2015 +0200 docs: Fix some minor typos in comments in GtkWidget gtk/gtkwidget.c | 84 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) commit 8b069003622932891830eba528533681d033d117 Author: Emmanuele Bassi Date: Thu Jun 11 11:43:35 2015 +0100 settings: Fix the type annotation for color-hash The (element-type) annotation cannot be used with properties that return container types like GHashTable; we need to use the (type) annotation. https://bugzilla.gnome.org/show_bug.cgi?id=750489 gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2cbe7ba79da5137e9c93b652b4b30894e4c9bc6 Author: Emmanuele Bassi Date: Thu Jun 11 11:40:37 2015 +0100 builder: Skip introspecting lookup_callback_symbol() Opaque function pointers as return values are not really usable in high level languages, even via introspection. gtk/gtkbuilder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7410a4a994eb4b0f0696cab9651c5b834ffc76cd Author: Emmanuele Bassi Date: Thu Jun 11 11:39:38 2015 +0100 docs: Fix annotation for GtkGLArea::resize signal We need to document all arguments for the signal, for both gtk-doc and introspection. gtk/gtkglarea.c | 2 ++ 1 file changed, 2 insertions(+) commit d11e81257e220c2a78acdcc4fab6f0bee99128c4 Author: Emmanuele Bassi Date: Wed Jun 10 17:16:41 2015 +0100 docs: Improve deprecation notices for GtkSettings The button and menu item icons settings are deprecated; application developers should control whether or not a widget should show an icon, using the existing API. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/gtksettings.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit b493bf091af34d8085cd71c2d6e9fe16ab2a20f2 Author: Emmanuele Bassi Date: Wed Jun 10 17:12:02 2015 +0100 docs: Improve deprecation notices for GtkMisc Point to the replacement properties and functions. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/deprecated/gtkmisc.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 56faf49b8e9d456177fbac17f05c39f5f29f8cdb Author: Emmanuele Bassi Date: Wed Jun 10 17:07:41 2015 +0100 docs: Improve deprecation notice for rules-hint property Specify that the theme is wholly in control. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/gtktreeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5a612469460d99f8f1d9b695b3d4e42822bc4513 Author: Emmanuele Bassi Date: Wed Jun 10 17:06:46 2015 +0100 docs: Improve deprecation notices for GtkImageMenuItem properties Should help porting code away from the deprecated GtkImageMenuItem class. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/deprecated/gtkimagemenuitem.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 715777154bfa493d16639922f2216f09042e58e9 Author: Emmanuele Bassi Date: Wed Jun 10 17:00:56 2015 +0100 docs: Add deprecation notices for GtkAlignment properties We want people to port their code away from deprecated classes, and this helps finding a replacement. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/deprecated/gtkalignment.c | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit e74d2b7564d1ea4a45d17a472c29aa0b43e9a1e9 Author: Carlos Soriano Date: Wed Jun 10 17:42:10 2015 +0200 gtklistboxrow: propagate in the draw vfunc So objects connected by g_signal_connect_after actually get the signal. This was causing an issue in the dnd highlight, since there a cairo rectangle is draw using g_signal_connect_after on the draw signal. gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 90a331c84a498341f880a32f7e963826e7a89ac6 Author: Matthias Clasen Date: Wed Jun 10 06:20:18 2015 -0400 entry: Select word on double tap The same approach as taken for GtkTextView in the previous commit. gtk/gtkentry.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit ac5fcc6b729e03281a1639ab60189c7745360b3f Author: Matthias Clasen Date: Tue Jun 9 23:29:47 2015 -0400 text view: Select word on double tap This is an initial attempt at implementing double-tap selection. gtk/gtktextview.c | 44 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) commit 06726b4d4bbc3031158e484f4089c236fdbaffaa Author: Matthias Clasen Date: Tue Jun 9 22:29:26 2015 -0400 gtk-demo: Make hypertext demo work with touch Make tapping on the links work. demos/gtk-demo/hypertext.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) commit 85635457bc2204783a6a7b27435774aa5a93df35 Author: Jonas Ådahl Date: Fri Jun 5 13:29:22 2015 +0800 wayland: Improve guessing of popup placement for detached popup menus If a menu was not attached to any widget, we try to calculate its position given where the grabbed pointer is and what window has its focus. Previously we failed to do so if a "transfer window" was used for the grab, and this patch adds a code path that, if the menu window itself didn't have the grab, look for the transfer window and get the grab device from there. https://bugzilla.gnome.org/show_bug.cgi?id=748951 gdk/wayland/gdkwindow-wayland.c | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) commit 9e464252c02e65425179d6c583c76d5685880ba4 Author: Jonas Ådahl Date: Fri Jun 5 13:35:21 2015 +0800 wayland: Don't try to guess the popup menu placement when it was set If a position was already explicitly set, don't try to guess the position of popup menus by looking at the pointer position, just use the set coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=748951 gdk/wayland/gdkwindow-wayland.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 0f47d1bac4e859fd99fac30b41f3523cb5db7f7e Author: Jonas Ådahl Date: Fri May 22 16:39:31 2015 +0800 wayland: Position popups relative to the parent surface According to the xdg-shell protocol specification the (x, y) coordinates passed when creating a popup surface is relative to top left corner of the parent surface, but prior to this patch, if the parent surface was an xdg_surface, we'd position it relative to top left corner of the window geometry of that xdg_surface. https://bugzilla.gnome.org/show_bug.cgi?id=749717 gdk/wayland/gdkwindow-wayland.c | 6 ------ 1 file changed, 6 deletions(-) commit ecebdfc58ce93f1988a0a2765aac3536607b4e1d Author: Matthias Clasen Date: Tue Jun 9 21:19:17 2015 -0400 GtkTextHandle: Improve handle positioning When we are close the window edge, we need to shrink the 'invisible border' around the handle to avoid mispositioning it. A fiddly calculation, but it works. gtk/gtktexthandle.c | 66 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 54 insertions(+), 12 deletions(-) commit df5a2e7152470dca4699b0e6ff72c136d36b929d Author: Matthias Clasen Date: Tue Jun 9 19:07:34 2015 -0400 GtkTextHandle: drop non-implemented functions gtk/gtktexthandleprivate.h | 3 --- 1 file changed, 3 deletions(-) commit 0b3835a93f0cd8c373e67ab691d337a1e1a0cbcc Author: Matthias Clasen Date: Tue Jun 9 17:06:27 2015 -0400 GtkTextHandle: position handles properly Move the handles so that the asymmetric assets align with the start/end of the selection. gtk/gtktexthandle.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit fe219a25b754feb6794bd2660e06796be1a75270 Author: Matthias Clasen Date: Tue Jun 9 15:50:50 2015 -0400 widget-factory: Improve touch selection example Make the check buttons not take focus on click, so the popover stays open. demos/widget-factory/widget-factory.c | 1 + 1 file changed, 1 insertion(+) commit 70f1e2306daf2a5f79638089baff1030c6f5be48 Author: Matthias Clasen Date: Tue Jun 9 15:50:30 2015 -0400 entry: Make touch selection work with mouse The buttons on the popover where stealing the focus from the text view on click, causing the popover to be dismissed before the action was taken. Fix this by making the buttons not take focus on click. gtk/gtkentry.c | 1 + 1 file changed, 1 insertion(+) commit 8ad0ef27a11832b77416bc34378b4ad12af49617 Author: Matthias Clasen Date: Tue Jun 9 15:49:10 2015 -0400 text view: Make touch selection work with mouse The buttons on the popover where stealing the focus from the text view on click, causing the popover to be dismissed before the action was taken. Fix this by making the buttons not take focus on click. gtk/gtktextview.c | 1 + 1 file changed, 1 insertion(+) commit ac798dc307d3af2b3110fa54f56e85b3e47b922a Author: Jakub Steiner Date: Tue Jun 9 15:02:39 2015 +0200 adwaita: style tweaks to touch selections - use dark theme assets for the checkboxes and radios - darken the popover for legibility (white bg/black text is really the most problematic background to have). unfortunatley in terms of SCSS structure this is further digging us into the hole of specificity. It would be much nicer to set the .osd class on the popover and have everything just work. I'm sure we'll end up using OSD styled popovers outside the touch context. https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/theme/Adwaita/_common.scss | 25 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 277 ++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 277 ++++++++++++++++++++++++------- 3 files changed, 460 insertions(+), 119 deletions(-) commit 41453ffed1e6e188e7e0e6edd65af50a18efa5d4 Author: Jordi Mas Date: Tue Jun 9 08:07:05 2015 +0200 Update Catalan translation po/ca.po | 3297 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2104 insertions(+), 1193 deletions(-) commit ca077a085c88f67738b8237beb2316e031ec7281 Author: Matthias Clasen Date: Mon Jun 8 19:04:06 2015 -0400 entry: Avoid criticals After the recent changes, we could end up calling gtk_entry_update_handles in cases where the text_handle has not be created (e.g. when dragging text from an entry). Avoid that. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1cc8de24124aa0cd8d0a5975c50196d345f54ec7 Author: Benjamin Otte Date: Mon Jun 8 20:28:10 2015 +0200 widget: Clarify docs on gtk_widget_set_double_buffered() Also make them more scary so people really really don't use it as a random knob when trying to make things go fast. //bugzilla.gnome.org/show_bug.cgi?id=750505 gtk/gtkwidget.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit ef93257db767a52ebd31e89e8560bddf512220cc Author: Rui Matos Date: Fri Jun 5 19:21:40 2015 +0200 main: Push the current event on the stack before we start needing it The changes in commit 13e22e20300b7312e52bba7d077fc7e231695fc1 made _gtk_window_check_handle_wm_event() indirectly depend on gtk_get_current_event_time() which relies on the current event being available on the current_events stack. Since the current event is only pushed on the stack afterwards we get an invalid timestamp which breaks ewmh window moving. This fixes the issue by pushing the current event before we start relying on it being there in gtk_main_do_event() and, as a byproduct, also fixes a potential memory leak when we have a rewritten event and return early due to _gtk_window_check_handle_wm_event() being TRUE. https://bugzilla.gnome.org/show_bug.cgi?id=750384 gtk/gtkmain.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 3c1a2c8d24cce22ebfa67a8ec4548c09e4e700d2 Author: Matthias Clasen Date: Sun Jun 7 21:52:35 2015 -0400 entry: Always clear handles for mouse interaction There were some cases where we left a handle visible during mouse interaction, which is a little weird. gtk/gtkentry.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit d055f8e64c6bb5cc6fff34a01af8005790ef0f7a Author: Matthias Clasen Date: Sun Jun 7 21:13:16 2015 -0400 entry: Move touch selection a little further away Otherwise, it looks cramped, and we end up under the finger. gtk/gtkentry.c | 5 +++++ 1 file changed, 5 insertions(+) commit 3e386e0abb79c1f291adf52879e22ff1dda7499e Author: Matthias Clasen Date: Sun Jun 7 20:41:16 2015 -0400 entry: Hide popover when touching elsewhere Otherwise, the popover becomes 'sticky' and hard-to-dismiss. gtk/gtkentry.c | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit bd65c14813630fcc2a28d1ffd012325625628002 Author: Matthias Clasen Date: Sun Jun 7 20:14:43 2015 -0400 entry: Use the drag-started signal Use the drag-started signal to differentiate between drags that move a handle and taps on a handle. Show the touch selection popup for the latter, but not the former. gtk/gtkentry.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) commit 79b09cccce6565d25b217826b78824b1ff2fe1f5 Author: Matthias Clasen Date: Sun Jun 7 19:31:06 2015 -0400 entry: Make handles come back reliably We were setting the text handle mode to NONE too aggressively. gtk/gtkentry.c | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) commit a219e6b4cd1e0863b4e9db11a3131e40f89acdda Author: Matthias Clasen Date: Sun Jun 7 14:01:39 2015 -0400 entry: Never show handles and popover at the same time Hide the handles when the popover appears, and brind them back when it disappears. This will need revisiting if we start using the popover for mouse interaction as well, where we may not want handles to show up. gtk/gtkentry.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 1bd10f2a7bc2164541829c48b48d338d199015f2 Author: Matthias Clasen Date: Sun Jun 7 13:55:09 2015 -0400 entry: Shorten touch selection timeout We don't want the popup to appear spontaneously, so eventually the timeout may go away altogether. For now, shorten it to 50ms, to avoid rewriting all the places where the timeout is set or unset. gtk/gtkentry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0a2b1b68fabba32add0cb95f2aa5c05539f935c5 Author: Matthias Clasen Date: Sun Jun 7 21:48:35 2015 -0400 text view: Always clear handles for mouse interaction There were some cases where we left a handle visible during mouse interaction, which is a little weird. gtk/gtktextview.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 76836dcd813927abb404d61ad6d0a027ff7fc7de Author: Matthias Clasen Date: Sun Jun 7 12:59:21 2015 -0400 text view: Move touch selection a little further away Otherwise, it looks cramped, and we end up under the finger. gtk/gtktextview.c | 5 +++++ 1 file changed, 5 insertions(+) commit 4511ff76fa3d03526686bc1e3529827a4c41ff3b Author: Matthias Clasen Date: Sun Jun 7 12:46:11 2015 -0400 text view: Use the drag-started signal Use the drag-started signal to differentiate between drags that move a handle and taps on a handle. Show the touch selection popup for the latter, but not the former. gtk/gtktextview.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit 805fa78221efef8bcdbbd8083bd9f7c5492b2914 Author: Matthias Clasen Date: Sun Jun 7 12:45:34 2015 -0400 GtkTextHandle: add a drag-started signal This will be used to discriminate drags from taps. gtk/gtktexthandle.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 32be35010f85e7c82424c6da75ffceff3522edb0 Author: Matthias Clasen Date: Sun Jun 7 12:19:16 2015 -0400 text view: Don't popup after drag selection Don't show the touch selection popover after a selection drag ends. Instead, the popover will be triggered by an explicit touch on the selection. gtk/gtktextview.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit aff47da9502f90aceed200fe8793f9b754c2d1ed Author: Matthias Clasen Date: Sun Jun 7 12:12:43 2015 -0400 text view: Never show handles and popover at the same time Hide the handles when the popover appears, and brind them back when it disappears. This will need revisiting if we start using the popover for mouse interaction as well, where we may not want handles to show up. gtk/gtktextview.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 0c6205d538bd2176970e5c5322dc310a999dedab Author: Matthias Clasen Date: Sun Jun 7 12:09:59 2015 -0400 text view: Shorten touch selection timeout We don't want the popover to appear spontaneously, so eventually the timeout may go away altogether. For now, shorten it to 50ms, to avoid rewriting all the places where the timeout is set or unset. gtk/gtktextview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a82a686149665ca4649c96eaf7d441e6bf190fdf Author: Daniel Mustieles Date: Mon Jun 8 07:56:59 2015 +0000 Updated Spanish translation po/es.po | 350 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 173 insertions(+), 177 deletions(-) commit 0dbac864070a943499d031f7d29faf08044053de Author: Daniel Mustieles Date: Mon Jun 8 07:56:26 2015 +0000 Updated Spanish translation po-properties/es.po | 189 ++++++++++++++++++++++++++-------------------------- 1 file changed, 96 insertions(+), 93 deletions(-) commit 359d1951bc2b7fcf7524bf4d1e78abcd41c7b26b Author: Matthias Clasen Date: Sun Jun 7 01:24:13 2015 -0400 widget-factory: Improve context menu example Show the text formatting in the menu / popover. demos/widget-factory/widget-factory.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit e1942a8bb9578b7c99ecea3231c23e1a3a9d94de Author: Matthias Clasen Date: Sun Jun 7 01:12:18 2015 -0400 widget-factory: Demonstrate custom context menu items Add bold/italics/underline styling to the context menu of the 'Lorem ipsum...' text view in page 1. The point is not to show good UI for this kind of styling, but to demonstrate custom actions in the context menu / touch selection. demos/widget-factory/widget-factory.c | 91 ++++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 22 ++++++++ 2 files changed, 113 insertions(+) commit 1ff1040c206a26c3adf6cb8178390bedc6c711cb Author: Matthias Clasen Date: Sun Jun 7 01:11:32 2015 -0400 Adwaita: Some touch selection updates Make touch selection popovers use osd style. gtk/theme/Adwaita/_common.scss | 41 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 274 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 274 +++++++++++++++---------------- 3 files changed, 292 insertions(+), 297 deletions(-) commit 6bbaa70c4cd6453271ffe565773b4bec09afedad Author: Matthias Clasen Date: Sun Jun 7 01:08:33 2015 -0400 Update touch selection style Update style for touch selection in GtkEntry and GtkTextView according to https://wiki.gnome.org/Design/OS/Selections Add 'Select All' to the default actions, change actions to use icons and move the popover to the bottom. If there is no selection, just offer to paste. gtk/gtkentry.c | 61 +++++++++++++++++++++++++++++++++++++------------------ gtk/gtktextview.c | 61 +++++++++++++++++++++++++++++++++++++------------------ 2 files changed, 82 insertions(+), 40 deletions(-) commit 6bbe48ad3dda6e7b75520e2488e0ec0158ac9eed Author: Timm Bäder Date: Sat Jun 6 11:45:11 2015 +0200 gtkfilechooserbutton: Align the label to the left Using GtkLabel's xalign property so the label doesn't jump around when the button gets resized. https://bugzilla.gnome.org/show_bug.cgi?id=750477 gtk/ui/gtkfilechooserbutton.ui | 1 + 1 file changed, 1 insertion(+) commit a8191e7113672abbfdfe5d2f62c6eeddf730c9dd Author: Matthias Clasen Date: Sat Jun 6 17:13:22 2015 -0400 places sidebar: Make 'recent' work on other platforms Since nautilus merge, we were not showing 'Recent' in the sidebar if GIO did not support the recent: scheme. But the file chooser can show recent files independent of gvfs - it loads the recent files manually. This is relevant on Windows and OS X, where gvfs is typically not used. This commit adds a show-recent property which can be used to override the recent: scheme check. We use it in the file chooser. https://bugzilla.gnome.org/show_bug.cgi?id=750068 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkfilechooserwidget.c | 20 +---------- gtk/gtkplacessidebar.c | 68 +++++++++++++++++++++++++++++++++++- gtk/gtkplacessidebar.h | 6 ++++ gtk/ui/gtkfilechooserwidget.ui | 1 + 5 files changed, 77 insertions(+), 20 deletions(-) commit 1e8be1c446d2c9dc695c5a378c9422b5c576e1f6 Author: Carlos Garnacho Date: Thu Jun 4 19:49:33 2015 +0200 texthandle: Set prelight state on the pointer-interacted handle This will be useful with the theming changes to come. https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/gtktexthandle.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 88d88591d2cd539f75a70f5e4fc8f4331be78bec Author: Carlos Garnacho Date: Thu Jun 4 19:46:20 2015 +0200 texthandle: Allow setting individual states, and separately to handles Now each handle gets its individual current state, and we can accumulate more than one state on these. https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/gtktexthandle.c | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) commit 9c53f76cbdd3efc2a05359e66356ccae73015c6b Author: Jakub Steiner Date: Thu Jun 4 19:36:25 2015 +0200 Adwaita: updates style for text selection - use consistent widget style. unfortunately using assets - light/dark variant - new assets for text selestions, using existing slider asset for insertion point https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/theme/Adwaita/_common.scss | 24 +- gtk/theme/Adwaita/assets.svg | 1022 +++++++++++++++----- gtk/theme/Adwaita/assets.txt | 12 + .../assets/text-select-bottom-active-dark.png | Bin 0 -> 928 bytes .../assets/text-select-bottom-active-dark@2.png | Bin 0 -> 2070 bytes .../Adwaita/assets/text-select-bottom-active.png | Bin 0 -> 992 bytes .../Adwaita/assets/text-select-bottom-active@2.png | Bin 0 -> 2072 bytes .../Adwaita/assets/text-select-bottom-dark.png | Bin 0 -> 913 bytes .../Adwaita/assets/text-select-bottom-dark@2.png | Bin 0 -> 1995 bytes .../assets/text-select-bottom-hover-dark.png | Bin 0 -> 916 bytes .../assets/text-select-bottom-hover-dark@2.png | Bin 0 -> 2058 bytes .../Adwaita/assets/text-select-bottom-hover.png | Bin 0 -> 960 bytes .../Adwaita/assets/text-select-bottom-hover@2.png | Bin 0 -> 1972 bytes gtk/theme/Adwaita/assets/text-select-bottom.png | Bin 0 -> 947 bytes gtk/theme/Adwaita/assets/text-select-bottom@2.png | Bin 0 -> 1952 bytes .../Adwaita/assets/text-select-top-active-dark.png | Bin 0 -> 914 bytes .../assets/text-select-top-active-dark@2.png | Bin 0 -> 1989 bytes .../Adwaita/assets/text-select-top-active.png | Bin 0 -> 862 bytes .../Adwaita/assets/text-select-top-active@2.png | Bin 0 -> 1794 bytes gtk/theme/Adwaita/assets/text-select-top-dark.png | Bin 0 -> 892 bytes .../Adwaita/assets/text-select-top-dark@2.png | Bin 0 -> 1881 bytes .../Adwaita/assets/text-select-top-hover-dark.png | Bin 0 -> 910 bytes .../assets/text-select-top-hover-dark@2.png | Bin 0 -> 1948 bytes gtk/theme/Adwaita/assets/text-select-top-hover.png | Bin 0 -> 824 bytes .../Adwaita/assets/text-select-top-hover@2.png | Bin 0 -> 1683 bytes gtk/theme/Adwaita/assets/text-select-top.png | Bin 0 -> 887 bytes gtk/theme/Adwaita/assets/text-select-top@2.png | Bin 0 -> 1856 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 27 +- gtk/theme/Adwaita/gtk-contained.css | 27 +- 29 files changed, 885 insertions(+), 227 deletions(-) commit dee0da30b65cea3bf59fcbe1ff147dff266f09f7 Author: Matthias Clasen Date: Fri Jun 5 08:33:59 2015 -0400 Add a tree dnd testcase This shows a minimal setup for enabling non-row DND from a treeview. tests/Makefile.am | 5 ++ tests/testtreednd.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) commit 245daa415edcdd91a525bc244cec2a2bd40567ec Author: Alberts Muktupāvels Date: Thu Jun 4 23:40:38 2015 +0300 gtkplug: set decorated to FALSE by default The change in c5e5ee67490e7e7af56052d8f8beb75db002c2f1 introduced a regression - all GtkPlug windows has unexpected extra space. Fix this by setting decorated to FALSE for GtkPlug window. https://bugzilla.gnome.org/show_bug.cgi?id=750424 gtk/gtkplug.c | 2 ++ 1 file changed, 2 insertions(+) commit c37f569ae8fed4e5306f78ec44a89aeefd4aec64 Author: Carlos Soriano Date: Wed Jun 3 14:58:04 2015 +0200 gtkrevealer: add css padding support Add css padding support to GtkRevealer. As a future work, GtkRevealer still needs to support the border property. https://bugzilla.gnome.org/show_bug.cgi?id=750338 gtk/gtkrevealer.c | 205 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 151 insertions(+), 54 deletions(-) commit 3d82fc6d7e4a749b3dfc165b55f17e7acf4c81ec Author: Matthias Clasen Date: Thu Jun 4 19:58:40 2015 -0400 GtkScale: Move marks inward We don't want scale marks to affect scale sizing and positioning, so draw them inside the range recangle. This avoids size changes for marks that don't have labels, at least. https://bugzilla.gnome.org/show_bug.cgi?id=749650 gtk/gtkscale.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) commit 99e6796dd379da8b039c45326d85f52625f637fd Author: Balázs Úr Date: Thu Jun 4 20:54:38 2015 +0000 Updated Hungarian translation po/hu.po | 446 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 225 insertions(+), 221 deletions(-) commit 557f96c0feafc3a9f8021885a5e0a18e9f9f810b Author: Matthias Clasen Date: Thu Jun 4 15:14:04 2015 -0400 Trivial: remove outdated comment gtk/gtkfilechooserwidget.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 6d4d2766e035d8cdc68a85eb9af2337b4a1e1ac6 Author: Lapo Calamandrei Date: Thu Jun 4 16:19:05 2015 +0200 Adwaita: entry linking logic change. Use the same linking logic of buttons for entries, this avoids specialcasing rtl. gtk/theme/Adwaita/_common.scss | 88 ++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 105 ++++++++++++------------------- gtk/theme/Adwaita/gtk-contained.css | 105 ++++++++++++------------------- 3 files changed, 127 insertions(+), 171 deletions(-) commit a32a1fa9e4d47bfccbebebdab52826aa7134b66c Author: Victor Ibragimov Date: Thu Jun 4 05:43:19 2015 +0000 Updated Tajik translation po/tg.po | 237 +++++++++++++++++++++++---------------------------------------- 1 file changed, 85 insertions(+), 152 deletions(-) commit c5e5ee67490e7e7af56052d8f8beb75db002c2f1 Author: Emmanuele Bassi Date: Wed Jun 3 14:07:29 2015 +0100 window: Check if we can use CSD before enabling them The change in 03213b9509fc1df16c66194ea168aed6c15110e9 changed the rules as to when CSD can be enabled, but it also unconditionally enables CSD with the implicit assumption that client-side shadows were the real issue, and that we could work around that by drawing our own borders. This also means that setting a titlebar for a GtkWindow will enable CSD unconditionally. In reality, some window managers (like Matchbox) *only* support server-side decorations, and will ignore all hints to the contrary, to the point of drawing decorations at random locations on top of the window. Since CSD are enabled unconditionally, the GTK_CSD environment variable is also not a suitable escape hatch. In the grand tradition of asking ourselves if we should do something just because we can, we should split the environment checks from the checks on what the user requested; by doing that, we can also check when enabling client-side decorations, and ideally bail out if needed. https://bugzilla.gnome.org/show_bug.cgi?id=750343 gtk/gtkwindow.c | 50 +++++++++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 19 deletions(-) commit d37f94a524c7109cf1990eb864006111150f20fe Author: William Hua Date: Thu May 21 11:48:27 2015 -0500 mir: keep reference on queued events gdk/mir/gdkmireventsource.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f1c11740c1e5c7d429a3d33c9847a52974aa5b3f Author: William Hua Date: Thu May 21 09:41:42 2015 -0500 mir: gdk_mir_window_impl_set_surface_type gdk/mir/gdkmirwindowimpl.c | 6 ++++++ 1 file changed, 6 insertions(+) commit e1c958e70df7227b598d6d16adf9770e95a9f998 Author: William Hua Date: Wed May 20 17:24:20 2015 -0500 mir: Create the correct surface gdk/mir/gdkmirwindowimpl.c | 162 +++++++++++++++++++++++---------------------- 1 file changed, 82 insertions(+), 80 deletions(-) commit a57636f057c6c9bc16a6b60a51b973c9dc8573ca Author: William Hua Date: Wed May 20 15:02:31 2015 -0500 mir: Remove redundant calls gdk/mir/gdkmirwindowimpl.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit aebac40d3819114d55bf33301d30ff5a2fd6ad1a Author: William Hua Date: Wed May 20 13:27:36 2015 -0500 mir: log input events properly gdk/mir/gdkmir-debug.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e6b3bae7871df3d5b03dae0e36e4748c41971d1b Author: William Hua Date: Wed May 20 10:38:16 2015 -0500 mir: Resolve warnings gdk/mir/gdkmirwindowimpl.c | 12 ------------ 1 file changed, 12 deletions(-) commit a43efc665576c0da58771931774f56d4faffb1b8 Author: William Hua Date: Wed May 20 09:47:44 2015 -0500 mir: Update cursor position gdk/mir/gdkmireventsource.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d43f5258ffc4fc0ef22e47eb00b5a3742e3716da Author: William Hua Date: Tue May 19 17:58:38 2015 -0500 mir: Remove child window rendering hack gdk/mir/gdkmir-private.h | 12 ---- gdk/mir/gdkmireventsource.c | 88 ++------------------------ gdk/mir/gdkmirwindowimpl.c | 147 +------------------------------------------- 3 files changed, 7 insertions(+), 240 deletions(-) commit b84d9ea7ff3f30e4101e98853cefda1762bcb86d Author: Carlos Garnacho Date: Mon Jun 1 14:55:20 2015 +0100 wayland: Move DnD grab breaking function into gdkdevice-wayland.c This has little to do with GdkDragContext, and a lot to do with the GdkDevice that triggered it, seems to make more sense in gdkdevice-wayland.c. gdk/wayland/gdkdevice-wayland.c | 61 ++++++++++++++++++++++++++++++++++---- gdk/wayland/gdkdnd-wayland.c | 53 --------------------------------- gdk/wayland/gdkprivate-wayland.h | 4 +-- gdk/wayland/gdkselection-wayland.c | 4 +-- 4 files changed, 59 insertions(+), 63 deletions(-) commit d34b1225eb294da71e84c391dc86cc8b2964383f Author: Carlos Garnacho Date: Mon Jun 1 14:53:11 2015 +0100 wayland: Split keyboard/button modifiers internally On wl_keyboard.key/modifiers, we're just forgetting about currently pressed mouse buttons. Fix this by storing button and key modifiers separately, and put these together when creating the GdkEvents. gdk/wayland/gdkdevice-wayland.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit 243cfd21a292ec4554d1aaf9e8839f4ca00083f9 Author: Carlos Garnacho Date: Mon Jun 1 16:21:20 2015 +0100 textview: Update handles after flushing scroll changes Text insertion/pasting might trigger scroll, so we'd have to wait until the text was revalidated and the scrolling truly happened before we can check the new handle(s) position. gtk/gtktextview.c | 4 ++++ 1 file changed, 4 insertions(+) commit a0e805684860306b80109814499d0cdaba5fd6ba Author: Carlos Garnacho Date: Wed May 27 14:22:00 2015 +0200 dnd: Remove emission of fake button release event Nowadays (and for quite some years now) we rely on GdkEventGrabBroken events to be received. This fake button event seems a remnant of the early Gtk 2.x days, and is currently even inconsistent with our event delivery model, so just remove it. https://bugzilla.gnome.org/show_bug.cgi?id=749737 gtk/gtkdnd.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit ab72da0c41999ce0253259338051f8a87eea1a21 Author: Rico Tzschichholz Date: Tue Jun 2 17:12:18 2015 +0200 build: Fix make dist Revert 2 hunks introduced by 36c65c1acabfd8fb1b5b85d7b128bfd4361b6fc3 build/win32/vs10/gdk.vcxprojin | 2 +- build/win32/vs9/gdk.vcprojin | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 291af4e359bf2738bcef3e827a8cef8c9c124e72 Author: Rico Tzschichholz Date: Tue Jun 2 17:11:08 2015 +0200 configure: Require pango >= 1.37.0 Needed since 049cbc8b74aa7a6fff1627c8c65cbfd3c86dfde8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb6615b55742b8f128af4579eaa0dc8cf0e14250 Author: Matthias Clasen Date: Sat May 30 21:31:07 2015 -0400 updateiconcache: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/updateiconcache.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e96d258495683f93fa9451fa047f17dd2b42cb26 Author: Matthias Clasen Date: Sat May 30 21:30:53 2015 -0400 queryimmodules: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/queryimmodules.c | 1 - 1 file changed, 1 deletion(-) commit cd8a50ef11a25771a88829e66c0f62fa51ce2c5b Author: Matthias Clasen Date: Sat May 30 21:30:40 2015 -0400 xembed: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkxembed.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit b9919153b2bd1602de618269e01afac1a27bfab4 Author: Matthias Clasen Date: Sat May 30 21:30:26 2015 -0400 widget path: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkwidgetpath.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 165861323a03bf7051c0acd42f72c8fdcd6950c5 Author: Matthias Clasen Date: Sat May 30 21:30:11 2015 -0400 widget: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkwidget.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit 121c1955219027d16a1c0c559b0fb29863e7c94b Author: Matthias Clasen Date: Sat May 30 21:29:48 2015 -0400 tree view: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktreeselection.c | 2 -- gtk/gtktreeview.c | 30 +++++++++++++----------------- 2 files changed, 13 insertions(+), 19 deletions(-) commit 3dd7f12f783e9442ccac327f280d225b06bdb6ba Author: Matthias Clasen Date: Sat May 30 21:29:21 2015 -0400 tree model sort: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktreemodelsort.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit bed26edfd1232aa20459ef697585fd63e8a6797e Author: Matthias Clasen Date: Sat May 30 21:29:03 2015 -0400 tree model filter: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktreemodelfilter.c | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 555663c68679c9b512a3aac164eb2adc9637ddc9 Author: Matthias Clasen Date: Sat May 30 21:28:44 2015 -0400 tool palette: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktoolpalette.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 5dc440295e63cc43d46b6a3cf4edac2b0d21e12b Author: Matthias Clasen Date: Sat May 30 21:28:30 2015 -0400 text buffer: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktextbtree.c | 34 +++++++++++++++++----------------- gtk/gtktextbufferrichtext.c | 11 +++++------ 2 files changed, 22 insertions(+), 23 deletions(-) commit a111f6ee23046ac2d0d3319dae53dc8862152876 Author: Matthias Clasen Date: Sat May 30 21:28:08 2015 -0400 print operation: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkprintoperation.c | 1 - 1 file changed, 1 deletion(-) commit 9bb121c55d005c23ef3a1c482ce28178f0e3d661 Author: Matthias Clasen Date: Sat May 30 21:27:57 2015 -0400 paned: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkpaned.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a0dddbbafae2d99fa0d4672d8582414b3a186e1a Author: Matthias Clasen Date: Sat May 30 21:27:45 2015 -0400 menu: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkmenu.c | 18 +++++++----------- gtk/gtkmenuitem.c | 1 - gtk/gtkmenutracker.c | 18 +++++++++--------- 3 files changed, 16 insertions(+), 21 deletions(-) commit 9545c017644b0e3de37b2479fbecd78cc0950a91 Author: Matthias Clasen Date: Sat May 30 21:27:24 2015 -0400 kinetic scrolling: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkkineticscrolling.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 6ee9281a2410b6c1309cb3ba30f5bb889a476e9e Author: Matthias Clasen Date: Sat May 30 21:27:05 2015 -0400 im context: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkimcontextsimple.c | 3 --- 1 file changed, 3 deletions(-) commit 138e958614fe4d11a6c7635972ff4f32079053ab Author: Matthias Clasen Date: Sat May 30 21:26:27 2015 -0400 icon view: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkiconview.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 85b4eef0047d762208b372339d46c65f1f03a6f0 Author: Matthias Clasen Date: Sat May 30 21:26:09 2015 -0400 icon theme: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkicontheme.c | 1 - 1 file changed, 1 deletion(-) commit 359d3669ff242537acbdd42bc9e9cee4d36080c5 Author: Matthias Clasen Date: Sat May 30 21:25:48 2015 -0400 file chooser: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkfilechooserwidget.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d71c5bf9830b15fd5731483e346aef289d1a00e4 Author: Matthias Clasen Date: Sat May 30 21:25:32 2015 -0400 entry: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkentry.c | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) commit 2a0d5c39d90add4c353a6400321f118ebeb1f47c Author: Matthias Clasen Date: Sat May 30 21:25:05 2015 -0400 dnd: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkdnd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 29ab70b801aded2b63a418b822c8636513d040b4 Author: Matthias Clasen Date: Sat May 30 21:24:48 2015 -0400 css: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkcssimagewin32.c | 12 ++++++------ gtk/gtkcssinitialvalue.c | 8 +++++--- gtk/gtkcssshadowvalue.c | 8 ++++---- 3 files changed, 15 insertions(+), 13 deletions(-) commit f16fc99391e4de44d96ea0993e7c923679e6c161 Author: Matthias Clasen Date: Sat May 30 21:24:23 2015 -0400 combo box: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkcombobox.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 1f525e263eb9561e22990f3b991f0408d24f8d65 Author: Matthias Clasen Date: Sat May 30 21:24:03 2015 -0400 builder: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkbuilder-menus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 75f0146c69a90f40f20def87c961be361dcd9754 Author: Matthias Clasen Date: Sat May 30 21:23:39 2015 -0400 application: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkapplication.c | 1 - 1 file changed, 1 deletion(-) commit 7c03f62206fdcb45ac4e888b4f33e295cdf52e81 Author: Matthias Clasen Date: Sat May 30 21:22:38 2015 -0400 accel map: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkaccelmap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 94825c1777f13b60c81a90347083987722496a22 Author: Matthias Clasen Date: Sat May 30 21:21:37 2015 -0400 about dialog: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkaboutdialog.c | 1 - 1 file changed, 1 deletion(-) commit 00236c0d216edd758c1b33da9352d3a53dbc898e Author: Matthias Clasen Date: Sat May 30 21:21:00 2015 -0400 Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/deprecated/gtkrc.c | 4 ---- gtk/deprecated/gtkrecentaction.c | 5 ++--- gtk/deprecated/gtkstyleproperties.c | 19 +++++++++---------- gtk/deprecated/gtktable.c | 8 ++++---- gtk/deprecated/gtkuimanager.c | 6 +++--- 5 files changed, 18 insertions(+), 24 deletions(-) commit 23032587dba46c281fffae5ddd23672cc6f6c777 Author: Matthias Clasen Date: Sat May 30 21:19:13 2015 -0400 printing: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. .../cloudprint/gtkcloudprintaccount.c | 6 +-- modules/printbackends/cups/gtkcupssecretsutils.c | 19 ++++---- modules/printbackends/cups/gtkprintbackendcups.c | 54 +++++++++------------- 3 files changed, 32 insertions(+), 47 deletions(-) commit fdb9a8e142becbb3b00d56e741fba1f1a33ee86b Author: Matthias Clasen Date: Sat May 30 21:17:45 2015 -0400 x11: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gdk/x11/gdkasync.c | 8 ++++---- gdk/x11/gdkdevice-core-x11.c | 3 +-- gdk/x11/gdkdevice-xi2.c | 2 +- gdk/x11/gdkdevicemanager-xi2.c | 7 ++----- gdk/x11/gdkgeometry-x11.c | 10 +++++----- gdk/x11/gdkkeys-x11.c | 10 +++++----- gdk/x11/gdkvisual-x11.c | 14 -------------- 7 files changed, 18 insertions(+), 36 deletions(-) commit 393df9f7e104f452f0ad686fd80959b76c825524 Author: Matthias Clasen Date: Sat May 30 21:15:33 2015 -0400 wayland: Avoid compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gdk/wayland/gdkselection-wayland.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 73693381b2faedf8d5dc4897d3a596dd471f042a Author: Victor Ibragimov Date: Tue Jun 2 05:20:50 2015 +0000 Updated Tajik translation po/tg.po | 5555 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 3377 insertions(+), 2178 deletions(-) commit 13c303fec532388ee920ec4a3bdbbc4064684665 Author: John Ralls Date: Sun May 31 11:52:35 2015 -0700 Bug 745957 - GTK+/Quartz >= 3.14.8: Symbol not found: _gtk_drag_cancel Implement gtk_drag_cancel, made public in c160ba069 and 62616a71, in gtkdnd-quartz.c. gtk/gtkdnd-quartz.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit f5b245ff04ca65bbabc7fb8367cc75e9a4848840 Author: Matthias Clasen Date: Sat May 30 09:43:56 2015 -0400 GtkStack: Don't mix code and declarations gtk/gtkstack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 833dbd65cd582346aa52e7dbb122e0e709cd3b7b Author: Matthias Clasen Date: Sat May 30 09:36:51 2015 -0400 Trivial: Use a convenience macro g_strstrip is less obscure than the two individual functions, so lets use it here. gtk/gtkprintbackend.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 4c971c6f5eef9693a8c6a6d12a798901c9689f96 Author: Matthias Clasen Date: Sat May 30 09:21:16 2015 -0400 file chooser: Respect recent settings When recent files are not supported in gvfs, or turned off by settings, we should not try to load them even if the startup mode says so. This prevents inconsistency with the places sidebar where 'Recent' will not appear in this case. gtk/gtkfilechooserwidget.c | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) commit 4de444ca615529dcc7afdcccbd6c2fcbcb29d9c5 Author: Matthias Clasen Date: Sat May 30 09:20:27 2015 -0400 placessidebar: Simplify some code Use existing functions, instead of open-coding manipulation of string arrays. gtk/gtkplacessidebar.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit 5984bc78ee4babba0daf09a5e04a2fdcfc640e48 Author: Benjamin Otte Date: Sat May 30 05:59:55 2015 +0200 flowbox: Fix compiler warnings Introduced in e59e38b58120f8d998b5e204506fc552e2efd00d gtk/gtkflowbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 91fac8b5aa44bf045b912d4b3720e84a4a51e70c Author: Benjamin Otte Date: Sat May 30 05:43:54 2015 +0200 cssnode: Fix position invalidation The previous code was overly complicated and wrong. gtk/gtkcssnode.c | 31 +++++++------------------------ gtk/gtkcssnodeprivate.h | 1 - 2 files changed, 7 insertions(+), 25 deletions(-) commit e59e38b58120f8d998b5e204506fc552e2efd00d Author: Matthias Clasen Date: Fri May 29 23:37:42 2015 -0400 GtkFlowBox: support positional css selectors As in the previous commit for GtkListBox, support :first-child, :last-child, :nth-child() and :last-nth-child() selectors here. gtk/gtkflowbox.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) commit aa07c40748777d38b726863475794255551bb52b Author: Christian Hergert Date: Fri May 29 20:03:11 2015 -0700 listbox: add support for :first-child, :last-child and others This applies the proper CSS child ordering semantics using GtkCssNode to GtkListBox. You can now use :first-child, :last-child, :nth-child(), and :last-nth-child() selectors. For example, this allows styling row separators using CSS while ignoring the separator on the last row. GtkListBoxRow { border-bottom: 1px solid @borders; } GtkListBoxRow:last-child { border-bottom: none; } When the sort ordering of the listbox changes, we also update the CSS node ordering. gtk/gtklistbox.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit bb93c1cecd23e487d04e005cb89eb09f8d4e2d0b Author: Cédric Valmary Date: Fri May 29 21:50:59 2015 +0000 Updated Occitan translation po/oc.po | 15149 ++++++++++++++++++++++++------------------------------------- 1 file changed, 6032 insertions(+), 9117 deletions(-) commit 205db2013c67c2e42a9ce6768e4947f4e115c4cc Author: John Ralls Date: Fri May 29 13:04:07 2015 -0700 Fix DnD Introspection on Quartz Backend. Don't exclude the -quartz.c files from introspection_files. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d75d6203310a39c1f0a8b79c1f8177bb8c2cc6b Author: Timm Bäder Date: Sun May 24 21:27:33 2015 +0200 GtkStack: Interpolate between size changes gtk/gtkstack.c | 62 +++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 14 deletions(-) commit 0eddfcedb91429722914cdaa865a1dd687d93c69 Author: Timm Bäder Date: Sun May 24 21:20:48 2015 +0200 GtkStack: Remove some useless function calls We will call gtk_widget_queue_resize anyway later when finishing the (maybe non-running) transition, which will also cause the stack to be repainted. gtk/gtkstack.c | 3 --- 1 file changed, 3 deletions(-) commit 24193a38f05b3145eeac84fa056cdf98a14afb42 Author: Timm Bäder Date: Sun May 24 21:15:44 2015 +0200 GtkStack: Keep the last_visible_child around during transitions We need it later. gtk/gtkstack.c | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) commit dc55a895ed10f68e564ef3ee218b88b59d5bd97f Author: Timm Bäder Date: Sun May 24 21:12:34 2015 +0200 GtkStack: Misc indentation fixes gtk/gtkstack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6d25e52a4da758c7ddc28ebbd07fe936404f82d5 Author: Timm Bäder Date: Sun May 24 21:08:00 2015 +0200 GtkStack: Remove useless cast gtk/gtkstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0d535a718de8e0a3798e186174ec4aad017a5f9 Author: Timm Bäder Date: Sun May 24 20:58:01 2015 +0200 GtkStack: Remove useless function calls These both just use the default values anyway. gtk/gtkstack.c | 2 -- 1 file changed, 2 deletions(-) commit bdabea3ae38e1cd1d0029681369de65f19866d05 Author: Timm Bäder Date: Sun May 24 16:55:34 2015 +0200 GtkStack: Save last visible widget size When interpolating the stack size, we compute the current size by using the prefered/minimum current size and the last size. We can't use the last_visible_surface_allocation because that is not available until the first _draw call and it doesn't include the child's margins. gtk/gtkstack.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit b3bbe990010ef44fdeeabe3f379394f91593f20d Author: Timm Bäder Date: Fri May 22 15:43:44 2015 +0200 GtkStack: Remove gtk_widget_set_opacity call The corresponding call with 0.999 opacity is gone, so we don't need to reset the opacity anymore. gtk/gtkstack.c | 1 - 1 file changed, 1 deletion(-) commit d3a18de97e1033e7be7f5695a6abcdb48f48469f Author: Timm Bäder Date: Tue Mar 17 19:34:43 2015 +0100 gtkpopover: Update the menu's alignment ... when the popover position changes. gtk/gtkmenusectionbox.c | 36 ++++++++++++++++++++++++++++++++++-- gtk/gtkmenusectionbox.h | 4 +++- gtk/gtkpopover.c | 5 ++++- 3 files changed, 41 insertions(+), 4 deletions(-) commit 36c65c1acabfd8fb1b5b85d7b128bfd4361b6fc3 Author: Chun-wei Fan Date: Fri May 29 18:10:59 2015 +0800 Fix GDK MSVC Projects We need to link to dwmapi.lib for all configs, not just the Broadway ones, so fix the build. build/win32/vs10/gdk.vcxprojin | 10 +++++----- build/win32/vs9/gdk.vcprojin | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit 02e2f7dc56736ee03946ce764a76a7bca319db90 Author: Matthias Clasen Date: Thu May 28 23:42:14 2015 -0400 Fix a cornercase crash If gtk_text_layout_move_cursor_visually is called with a count of 0, we were passing NULL to a free function that can't handle it. Don't do that. https://bugzilla.gnome.org/show_bug.cgi?id=750058 gtk/gtktextlayout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 03312371daafe3a94d888474eb53d7361d5ed432 Author: Benjamin Otte Date: Thu May 28 17:40:55 2015 +0200 cssmatcher: Speed up common matching first-child and last-child are the most common usages of the nth-child machinery, so special-casing them makes sense. gtk/gtkcssmatcher.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 59a7739fce02627e5e24b03d9e0837c8ce01aa7b Author: Benjamin Otte Date: Thu May 28 17:12:57 2015 +0200 cssmatcher: Rewrite nth-child matcher Instead of trying to be smart, be stupid but correct. Fixes nth-child reftest. gtk/gtkcssmatcher.c | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) commit 4847eff6c42a45c95d8115bf9c1dc294a9c108ba Author: Benjamin Otte Date: Thu May 28 17:06:53 2015 +0200 cssmatcher: Simplify code Instead of copy/paste, pass the only difference as an argument The code still doesn't work right, but at least it's easier to fix now. gtk/gtkcssmatcher.c | 41 +++++++---------------------------------- 1 file changed, 7 insertions(+), 34 deletions(-) commit 9df707da223f081475737829b2fadc253fead9ee Author: Benjamin Otte Date: Thu May 28 16:54:03 2015 +0200 gtk: Add deprecation guards for newest pango deprecations gtk/gtkimmodule.c | 2 ++ gtk/gtkmodules.c | 4 ++++ gtk/queryimmodules.c | 2 ++ 3 files changed, 8 insertions(+) commit d921a4fe84eb81d2ef8014fa21bc8f7c8cf2a6fd Author: Benjamin Otte Date: Thu May 28 16:53:53 2015 +0200 testsuite: Add deprecation guards testsuite/gtk/adjustment.c | 2 ++ 1 file changed, 2 insertions(+) commit d8885777a1c26f0df86ede79d2c59062b51b83d8 Author: Daniel Mustieles Date: Thu May 28 06:42:39 2015 +0000 Updated Spanish translation po-properties/es.po | 19728 +++++++++++++++++++++++++------------------------- 1 file changed, 9870 insertions(+), 9858 deletions(-) commit a75754ef9361c0d26575883eb4465b88c616192e Author: Matthias Clasen Date: Wed May 27 17:19:56 2015 -0400 3.17.3 NEWS | 5 +++++ configure.ac | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) commit 65299b55b211c7d94dc3dd971e5979611bbe2e7b Author: Daniel Mustieles Date: Wed May 27 15:23:53 2015 +0000 Updated Spanish translation po/es.po | 14245 +++++++++++++++++++++++++++---------------------------------- 1 file changed, 6233 insertions(+), 8012 deletions(-) commit fe6e5d3116fcf5c812534d7344e3aa3cfc5f6e1c Author: Matthias Clasen Date: Tue May 26 13:14:01 2015 -0400 3.17.2 NEWS | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 +-- 2 files changed, 103 insertions(+), 2 deletions(-) commit 43ba6a492eebaaf0d2eddf728fd49ce2e54a5c11 Author: Matthias Clasen Date: Tue May 26 14:57:49 2015 -0400 Dist the gtk-builder-tool test script testsuite/tools/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 9aae351487cc916e157a8e261f1bc3a7677dbfab Author: Emmanuele Bassi Date: Tue May 19 16:14:49 2015 +0100 examples: Clean up the standalone Makefiles Do not hardcode GCC as the compiler; use $(shell) expansion instead of backticks; split the built source into its own variable. examples/application1/Makefile.example | 6 +++--- examples/application10/Makefile.example | 17 +++++++++-------- examples/application2/Makefile.example | 15 ++++++++------- examples/application3/Makefile.example | 15 ++++++++------- examples/application4/Makefile.example | 15 ++++++++------- examples/application5/Makefile.example | 17 +++++++++-------- examples/application6/Makefile.example | 17 +++++++++-------- examples/application7/Makefile.example | 17 +++++++++-------- examples/application8/Makefile.example | 17 +++++++++-------- examples/application9/Makefile.example | 17 +++++++++-------- 10 files changed, 81 insertions(+), 72 deletions(-) commit 9ff5d2e1accaed0babe54143a376f7f05704a2d9 Author: Carlos Garnacho Date: Thu May 21 11:34:58 2015 +0200 entry: Set up text drag icon within drag_begin() the drag_begin() vmethod is meant for this, and the internal DnD code will set up a drag icon if ::drag_begin didn't do so, which means we are first getting a "default" icon, and then replacing it with the text surface. This is completely harmless in X11, but causes issues on wayland as the DnD icon window is expected to remain unchanged during DnD there. https://bugzilla.gnome.org/show_bug.cgi?id=748763 gtk/gtkentry.c | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) commit 3e60650fa8479d507b31965d09ee521ba4e91182 Author: Carlos Garnacho Date: Tue May 26 16:26:59 2015 +0200 notebook: Fix assert in ::drag-motion The drag destination might be empty, we shouldn't be checking whether it contains pages at all. Instead, check the source notebook, which ought to have a selected page if you're dragging something from there. https://bugzilla.gnome.org/show_bug.cgi?id=749893 gtk/gtknotebook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6724ea133123f1a04eeb7b834b7f8f05dda8594c Author: Christian Kirbach Date: Mon May 25 11:26:25 2015 +0000 Updated German translation po/de.po | 203 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 115 insertions(+), 88 deletions(-) commit 345f2a484b6d70fcdb2cd861fc66cca9c8c6f493 Author: Cosimo Cecchi Date: Mon May 18 17:26:25 2015 -0700 Use built-in gtk-update-icon-cache To generate the icon cache files. We want to avoid a dependency loop if possible; additionally, on some Debian-based systems gtk-update-icon-cache maps to the GTK2 version of the utility and the GTK3 version is renamed to gtk-update-icon-cache-3.0. To avoid a build dependency on GTK2, use the binary that we just built in-tree. https://bugzilla.gnome.org/show_bug.cgi?id=749593 demos/gtk-demo/Makefile.am | 2 +- demos/widget-factory/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 02be88983eb700ac5524b5530ef64244ece7a0ec Author: Cosimo Cecchi Date: Thu May 14 11:32:10 2015 -0700 parse-sass: don't hardcode bash path It's /bin/bash on some systems; just use /bin/sh instead. https://bugzilla.gnome.org/show_bug.cgi?id=749593 gtk/theme/Adwaita/parse-sass.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cfbd862aaeff20dac6c372e07f4107622ee44b08 Author: Cosimo Cecchi Date: Tue May 19 10:25:00 2015 -0700 tests: wait for draw before fetching tree view style On some slower machines (e.g. an ARM OBS builder), this test is failing with a race condition where we're trying to fetch the style before it's applied. https://bugzilla.gnome.org/show_bug.cgi?id=749593 testsuite/gtk/treeview.c | 1 + 1 file changed, 1 insertion(+) commit 6ff19bcedcc5cd2213dec7cdaf472f426abf69f6 Author: Cosimo Cecchi Date: Sun May 24 12:06:42 2015 -0700 scrolledwindow: fix copy/paste typo fc2830394895f236352bea2024dda0e962dd2c53 refactored code into the get_scroll_unit() function but introduced a copy/paste typo. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0b1ea11ccfc8e1b357531d4854295ba552e6fb4 Author: Cosimo Cecchi Date: Sat May 23 16:14:39 2015 -0700 placessidebar: escape tooltip text before setting it gtk_tree_view_set_tooltip_column() specifies that markup in the text should be escaped. This fixes critical warnings when hovering over items in the sidebar for bookmarks that have markup characters in their names. https://bugzilla.gnome.org/show_bug.cgi?id=719683 gtk/gtkplacessidebar.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 48bfabe59eb4e50a3546a633fd22a02cd08bea99 Author: Carlos Garnacho Date: Sat May 23 15:57:41 2015 +0200 scrolledwindow: Trigger builtin kinetic deceleration on libinput devices The libinput driver will send a 0/0 scroll event on touchpads and other devices where it knows scrolling stopped for sure. Use these events to trigger kinetic scrolling from there. The mechanism is similar to GtkGestureSwipe, we keep a backlog of the latest dx/dy till a previous point in time, and calculate the final velocities from there, with the difference we're dealing with scroll units, and not pixel distances. https://bugzilla.gnome.org/show_bug.cgi?id=749770 gtk/gtkscrolledwindow.c | 146 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 131 insertions(+), 15 deletions(-) commit fc2830394895f236352bea2024dda0e962dd2c53 Author: Carlos Garnacho Date: Sat May 23 15:51:11 2015 +0200 scrolledwindow: Refactor scroll unit guessing into a separate function Makes it clearer, and will be used in further places. https://bugzilla.gnome.org/show_bug.cgi?id=749770 gtk/gtkscrolledwindow.c | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) commit eb6b72424c54e5c9ac174e02ea59dec19ebe1a16 Author: Jordi Mas Date: Sun May 24 14:16:58 2015 +0200 Fixes to Catalan translation po-properties/ca.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f00214e92206117a85b933745f89e5c998024c3d Author: Carlos Garnacho Date: Fri May 22 20:52:17 2015 +0200 scrolledwindow: reset more Indicator state on ::unmap If a GtkScrolledWindow is just unmapped and promptly mapped again, the indicators are left in a semi-visible state, so the GdkWindow isn't raised properly above scrolledwindow content. This inconsistent state went away the next time the indicator is hidden. So, reset all state about indicator window visibility, animation progress and conceil timer on ::unmap, this will be enough to make the indicators start out hidden like on newly created scrolledwindows. gtk/gtkscrolledwindow.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 39f91d7cdbf0081e827bfece2dec034c15310e2d Author: Krzesimir Nowak Date: Fri May 22 14:39:53 2015 +0200 gdk: Fix a typo gdk/x11/gdkscreen-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9dad9378f2ddcb96f3aaf5983f0b457b61c7eda1 Author: Matthias Clasen Date: Fri May 22 06:56:23 2015 -0400 Fix primary monitor determination with XRANDR 1.5 This was an oversight in the previous patch. gdk/x11/gdkscreen-x11.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit e670720d196bac1cef6f88313f6514cdd8c4a0c5 Author: Dave Airlie Date: Mon Feb 2 16:02:04 2015 +1000 gtk3: add randr 1.5 monitor support This patch introduces support for using the newly introduced monitor objects in the XRandR protocol. These objects are meant to be used to denote a set of rectangles representing a logical monitor, and are used to hide details like monitor tiling and virtual gpu outputs. This uses the new objects instead of crtc/outputs objects when they are available to create the monitor lists. X server 1.18 is required on the server side for randr 1.5. https://bugzilla.gnome.org/show_bug.cgi?id=749561 configure.ac | 3 +++ gdk/x11/gdkdisplay-x11.c | 5 +++++ gdk/x11/gdkdisplay-x11.h | 1 + gdk/x11/gdkscreen-x11.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 67 insertions(+) commit 61cc10760d84f8600b6faf11046bb7b9a276e942 Author: Carlos Garnacho Date: Thu May 21 14:16:13 2015 +0200 iconview: Avoid usage of gdk_window_get_device_position() during DnD Just use the last coordinates given on XdndPosition/drag_motion() in order to trigger scrolling. When running on Xwayland, the pointer position is unknown at this stage on the X11 side, so the coordinates given here are bogus. This change avoids both roundtrips and this situation. https://bugzilla.gnome.org/show_bug.cgi?id=749679 gtk/gtkiconview.c | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) commit b666f14ef826051660241fddfa7c4b5b47cbb197 Author: Carlos Garnacho Date: Thu May 21 13:53:43 2015 +0200 treeview: Avoid usage of gdk_window_get_device_position() during DnD Just use the last coordinates given on XdndPosition/drag_motion() in order to trigger scrolling. When running on Xwayland, the pointer position is unknown at this stage on the X11 side, so the coordinates given here are bogus. This change avoids both roundtrips and this situation. https://bugzilla.gnome.org/show_bug.cgi?id=749679 gtk/gtktreeview.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit b54031d505dc4f9e65737549a92cc41900255998 Author: Carlos Garnacho Date: Thu May 21 11:58:11 2015 +0200 textview: Avoid usage of gdk_window_get_device_position() during DnD Just use the last coordinates given on XdndPosition/drag_motion() in order to trigger scrolling. When running on Xwayland, the pointer position is unknown at this stage on the X11 side, so the coordinates given here are bogus. This change avoids both roundtrips and this situation. https://bugzilla.gnome.org/show_bug.cgi?id=749679 gtk/gtktextview.c | 51 ++++++++++++++++----------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit 2ba7977114776de22afbba6b8ec61d0fe8c57a2d Author: Chun-wei Fan Date: Wed May 20 17:36:15 2015 +0800 gtk3-demo: Fix Visual Studio Builds Add the new cursors demo to the projects, so that gtk-demo will properly build. build/win32/vs10/gtk3-demo.vcxproj | 1 + build/win32/vs10/gtk3-demo.vcxproj.filters | 1 + build/win32/vs9/gtk3-demo.vcproj | 1 + 3 files changed, 3 insertions(+) commit 26c24328d57aa0c7d727008706c5d4aa46dac9b1 Author: Руслан Ижбулатов Date: Wed May 13 07:45:40 2015 +0000 GDK: Add cursor theme support to W32 backend Load themed cursors from the same places they are loaded on freedesktop systems, but use W32 API functions to do so (works for .cur/.ani cursors instead of X cursors). Refactor the code for cursor handling. Prefer loading cursors by name. Do not load actual cursors when loading the theme. Find the files and remember the arguments/calls for loading them instead. Keeping HCURSOR instance in the hashmap would result in multiple GdkCursors using the same HCURSOR. Given that we use DestroyCursor() to off them, this would cause problems (at the very least - DestroyCursor() would fail). Store GdkCursor instances in a cache. Update cached cursors when theme changes. Recognize "system" theme as a special (and default) case. When it is set, prefer system cursors and fall back to Adwaita cursors and (as a last resort) built-in X cursors. Otherwise prefer theme cursors and fall back to system and X cursors. Force GTK to use "left_ptr" cursor when no cursor is set. Using NULL makes it use the system default "arrow", which is not the intended behaviour when a non-system theme is selected. Ignore cursor size setting and query the OS for the required cursor size, as Windows (almost) does not allow setting cursors of arbitrary size. https://bugzilla.gnome.org/show_bug.cgi?id=749287 docs/reference/gtk/windows.sgml | 27 ++ gdk/win32/gdkcursor-win32.c | 639 +++++++++++++++++++++++++++++++++++----- gdk/win32/gdkdisplay-win32.c | 102 ++++++- gdk/win32/gdkdisplay-win32.h | 5 + gdk/win32/gdkprivate-win32.h | 39 +++ gdk/win32/gdkwin32display.h | 5 + gdk/win32/gdkwindow-win32.c | 5 +- gtk/gtksettings.c | 11 +- 8 files changed, 758 insertions(+), 75 deletions(-) commit 641fbd86d796bb0f7838b1d7387031a106386439 Author: Руслан Ижбулатов Date: Sun May 3 21:29:35 2015 +0000 GDK: Use GdkCursor objects to keep track of W32 cursors, not HCURSOR In particular this means that cursors are disposed of by the way of g_object_unref(), not DestroyCursor (which is documented to not to be used on certain kinds of cursors, and we can't tell which is which). It should also alleviate any concerns about destroying cursors that are still in use by other windows, except for cases where we would somehow get our hands on a HCURSOR that someone else is using and we make a GdkCursor out of it and later unref and finalize it while it is still in use. It also removes the need to call CopyCursor(), which makes animated cursors into non-animated ones as a side-effect (supposed to be a bug, but try explaining that to MS). Now cursors should be animated (if the are set up as such in the OS). https://bugzilla.gnome.org/show_bug.cgi?id=697477 gdk/win32/gdkdevice-virtual.c | 60 ++++++++++++++++--------------------------- gdk/win32/gdkevents-win32.c | 26 +++++++++---------- gdk/win32/gdkprivate-win32.h | 2 +- gdk/win32/gdkwindow-win32.c | 49 ++++++++--------------------------- gdk/win32/gdkwindow-win32.h | 2 +- 5 files changed, 47 insertions(+), 92 deletions(-) commit 7fef713224583ab906d0875eedcf7a76534eff0f Author: Jonas Ådahl Date: Mon May 18 16:38:34 2015 +0800 wayland: Use on globals closure for loading cursor themes Instead of putting a 'load cursor themes' call when receiving an wl_shm global, make it a closure that is prepared during initialization. https://bugzilla.gnome.org/show_bug.cgi?id=719819 gdk/wayland/gdkdisplay-wayland.c | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit 4e9be39518edbd1cbaa5959598d43d8415a32195 Author: Jonas Ådahl Date: Mon May 18 14:55:08 2015 +0800 wayland: Add global object depedency tracking Some features need certain globals to initialize. In order to deal with these dependencies, add a way to postpone closures that depend on a certain set of globals, that later will be invoked when required globals are all received. https://bugzilla.gnome.org/show_bug.cgi?id=719819 gdk/wayland/gdkdisplay-wayland.c | 147 +++++++++++++++++++++++++++++++++++++-- gdk/wayland/gdkdisplay-wayland.h | 7 ++ 2 files changed, 149 insertions(+), 5 deletions(-) commit 181e4399f6e2588b462eaa5689bdebd4063d8a6f Author: Jonas Ådahl Date: Mon May 18 16:02:45 2015 +0800 wayland: Don't round trip recursively during initialization Instead use asynchronous round trips that is synchronized in the end of the initialization. This makes it easier to track state, as we won't dispatch arbitrary Wayland messages while processing globals. https://bugzilla.gnome.org/show_bug.cgi?id=719819 gdk/wayland/gdkdisplay-wayland.c | 50 ++++++++++++++++++++++++++++++++++++---- gdk/wayland/gdkdisplay-wayland.h | 2 ++ 2 files changed, 48 insertions(+), 4 deletions(-) commit 688dcadafa6bea6f2f4d685091b3c401cd84acf9 Author: Dušan Kazik Date: Tue May 19 07:18:55 2015 +0000 Updated Slovak translation po/sk.po | 811 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 455 insertions(+), 356 deletions(-) commit f6d021512a3d076c8a559e52ea1d1c84ff5c4154 Author: Jonas Ådahl Date: Mon May 18 11:19:14 2015 +0800 GtkWindow: Don't assume no shadow width even when not supported Even if a window doesn't support client side shadow (gtk_window_supports_client_shadow returns FALSE), don't assume the shadow width is zero, as CSD may have been enabled anyway (meaning priv->client_decorated is TRUE). In that case we still need to report the correct width. https://bugzilla.gnome.org/show_bug.cgi?id=749451 gtk/gtkwindow.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit fdcb076b645b715a677f9af83f2b975b1f04cbc1 Author: Marek Černocký Date: Sun May 17 10:33:31 2015 +0200 Updated Czech translation po/cs.po | 346 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 178 insertions(+), 168 deletions(-) commit 3ae953092a4089c6073d1df1546e50daf7099e4c Author: Matthias Clasen Date: Sat May 16 23:55:09 2015 -0400 Don't force an icon window We were inadvertently forcing the use of an icon window in all cases. This patch makes it so that we once again use a combined cursor when possible. gtk/gtkdnd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8b902d58b9b69067e48775b390e24c8e2d86edb0 Author: Matthias Clasen Date: Sat May 16 18:04:40 2015 -0400 Remove some useless comments gtk/gtkdnd.h | 6 ------ 1 file changed, 6 deletions(-) commit 0a5e216d421e98ca926e14bacede84d929745c53 Author: Matthias Clasen Date: Sat May 16 17:54:01 2015 -0400 DND: Move private api to a private header gtk/Makefile.am | 1 + gtk/gtkdnd.c | 1 + gtk/gtkdnd.h | 5 ----- gtk/gtkdndprivate.h | 36 ++++++++++++++++++++++++++++++++++++ gtk/gtkmain.c | 2 +- 5 files changed, 39 insertions(+), 6 deletions(-) commit 987da43e71bc2781bfd65534a68d9855a7dfa4c7 Author: Matthias Clasen Date: Sat May 16 17:26:45 2015 -0400 Remove multi-screen handling in DND code We only have one screen nowadays. No need to carry around code for handling screen changes. gtk/gtkdnd.c | 109 ++++++----------------------------------------------------- 1 file changed, 11 insertions(+), 98 deletions(-) commit 3c8b80dce21aace1e64a993abe7eead057cb55ed Author: Pietro Gagliardi Date: Thu May 14 16:45:01 2015 -0400 Implemented most of the GDK named cursors on Mac OS X. Only "wait" and "all-scroll" are not implemented properly. OS X does not seem to have a proper interface to either cursor. Approximations are used instead; see the code. See bug 749178. gdk/quartz/gdkcursor-quartz.c | 157 +++++++++++++++++++++++++++++++----------- 1 file changed, 118 insertions(+), 39 deletions(-) commit 924a8eb40557486bf487d2d179c2dd7e682f5d91 Author: Matthias Clasen Date: Sat May 16 00:47:57 2015 -0400 GtkQuery: Drop unused mimetype functions These are not used, so drop them. gtk/gtkquery.c | 41 ----------------------------------------- gtk/gtkquery.h | 6 ------ 2 files changed, 47 deletions(-) commit 41fee7e5693ce9f53e983684383011b71146d6cf Author: Matthias Clasen Date: Sat May 16 00:45:25 2015 -0400 GtkQuery: Cleanups Strip leading underscores from GtkQuery api, and clean up the sources a bit. gtk/gtkfilechooserwidget.c | 8 ++++---- gtk/gtkquery.c | 42 +++++++++++++++++++++--------------------- gtk/gtkquery.h | 38 +++++++++++++++++++------------------- gtk/gtksearchenginequartz.c | 2 +- gtk/gtksearchenginesimple.c | 2 +- gtk/gtksearchenginetracker.c | 4 ++-- 6 files changed, 48 insertions(+), 48 deletions(-) commit 3f0f68e6ad834051c40e55324657747ac7e60d21 Author: Matthias Clasen Date: Sat May 16 00:38:21 2015 -0400 GtkFileChooser: Show remote search results too There is no reason not to show them. Removing this makes search on remote locations just work. gtk/gtkfilechooserwidget.c | 6 ------ 1 file changed, 6 deletions(-) commit 43e1eea1bb216985132f6193ae3bbf38ce533942 Author: Matthias Clasen Date: Sat May 16 00:37:07 2015 -0400 Rewrite search to be more similar to nautilus The main advantage here is that this code works for remote locations as well. gtk/gtkquery.c | 58 ++++++++++- gtk/gtkquery.h | 3 + gtk/gtksearchenginesimple.c | 239 ++++++++++++-------------------------------- 3 files changed, 124 insertions(+), 176 deletions(-) commit 3b6af25454b4ecd2d6a46e188b890e84a5cc8ed3 Author: Cédric Valmary Date: Fri May 15 16:13:45 2015 +0000 Updated Occitan translation po-properties/oc.po | 1 - 1 file changed, 1 deletion(-) commit 989221251e68fcaf595a3aa438103749403fc8d7 Author: Piotr Drąg Date: Fri May 15 17:56:44 2015 +0200 Updated Polish translation po/pl.po | 278 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 141 insertions(+), 137 deletions(-) commit 12ccebe2a4b1c626a3ec02165de891445297847d Author: Kjell Ahlstedt Date: Fri May 15 15:39:04 2015 +0200 gtkwindow: Fix a memory leak The private data GtkGesture* drag_gesture was added by commit 13e22e20300b7312e52bba7d077fc7e231695fc1, but it's never destroyed. Unref it in gtk_window_finalize(). https://bugzilla.gnome.org/show_bug.cgi?id=749425 gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 90a8118838ddb38aa31ab1abb7989387cefc1698 Author: Matthias Clasen Date: Thu May 14 15:26:56 2015 -0400 Add a main category to desktop files This makes desktop-file-validate happy. demos/gtk-demo/gtk3-demo.desktop | 2 +- demos/icon-browser/gtk3-icon-browser.desktop | 2 +- demos/widget-factory/gtk3-widget-factory.desktop | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit dc41c59006fa3b8c80ce5dbbdec5345bd2076fe2 Author: Emmanuele Bassi Date: Thu May 14 16:56:00 2015 +0100 Amend deprecation warnings for GtkStyle API Not everything has a replacement in the API, as the drawing model changed considerably; nevertheless, this should help out developers porting from the deprecated GtkStyle API. gtk/deprecated/gtkstyle.h | 56 +++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 28 deletions(-) commit 97697701f7a7da415349aa690ffd33016c5cc481 Author: Kjartan Maraas Date: Thu May 14 16:55:29 2015 +0200 Updated Norwegian bokmål translation. po/nb.po | 616 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 344 insertions(+), 272 deletions(-) commit 8084ebda1460e2c8dce26f92d339c0717a4a423a Author: Marco Trevisan (Treviño) Date: Thu May 7 11:49:54 2015 +0200 configure.ac: Pull gio-unix dependency for all unix builds It's now needed by gtk-launch, so it's just the case to enable it for all the builds except the win32 one, instead of adding it for every unix backend. https://bugzilla.gnome.org/show_bug.cgi?id=744086 configure.ac | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 92ecb117df50a4e4e7f1a1cc1fba0775caaa0969 Author: Yosef Or Boczko Date: Wed May 13 23:06:54 2015 +0300 Updated Hebrew translation po/he.po | 555 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 284 insertions(+), 271 deletions(-) commit b4f06ca49f5ee23ee10fef51af483bd01211f273 Author: Marek Kasik Date: Fri Jul 11 11:33:30 2014 +0200 printing: Check connection to remote CUPS server on correct port Add parameter for specification of port to gtk_cups_connection_cups_new(). Use default port returned by ippPort() if the given port is lower than 0. https://bugzilla.gnome.org/show_bug.cgi?id=693738 modules/printbackends/cups/gtkcupsutils.c | 8 ++++++-- modules/printbackends/cups/gtkcupsutils.h | 3 ++- modules/printbackends/cups/gtkprintbackendcups.c | 8 +++++--- 3 files changed, 13 insertions(+), 6 deletions(-) commit 36678306a01f7c3e1ca7dca3253f82b79d77248a Author: Benjamin Otte Date: Tue May 12 18:27:19 2015 +0200 box: Fix RTL styling gtk/gtkbox.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit c32cf6ffb1a0570bed37b334c1b1d1293128d79d Author: Matthias Clasen Date: Tue May 12 08:24:52 2015 -0400 GtkPrintUnixDialog: Avoid deprecated properties Not needed here at all. gtk/ui/gtkprintunixdialog.ui | 9 --------- 1 file changed, 9 deletions(-) commit 5c84bc0fba29811a088b21a5bed08976c4802eea Author: Matthias Clasen Date: Tue May 12 08:22:56 2015 -0400 GtkPageSetupUnixDialog: Avoid deprecated properties Not needed at all. gtk/ui/gtkpagesetupunixdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit bce624e7a766ce312686c10d0d277bd2bda67e9e Author: Matthias Clasen Date: Tue May 12 08:20:35 2015 -0400 gtk3-demo: Add a page setup example This mainly so I can fix deprecation warnings in the page setup dialog. demos/gtk-demo/Makefile.am | 4 ++++ demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/pagesetup.c | 38 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/printing.c | 2 +- 4 files changed, 44 insertions(+), 1 deletion(-) commit 2bb1ed69f0b317c82b2a2ef8663671104eb88ca4 Author: Matthias Clasen Date: Tue May 12 07:57:04 2015 -0400 GtkPopover: Clean up default widget on dispose We forgot to drop the ref we take. Thankfully our tests caught this. gtk/gtkpopover.c | 2 ++ 1 file changed, 2 insertions(+) commit 3dda1c5b64610c381624c17358f60b514ff03091 Author: Matthias Clasen Date: Tue May 12 07:44:44 2015 -0400 Docs: Typo fix gtk/gtktreestore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb51f447a24a8940b79977caa55d88641b8429ee Author: Matthias Clasen Date: Tue May 12 07:44:21 2015 -0400 Fix a11y tests The output of the about dialog test is affected by the keynav fixes. testsuite/a11y/about.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit dedfcd7d58922210bd5c5621217a13ff7fc79d95 Author: Matthias Clasen Date: Tue May 12 07:40:47 2015 -0400 Quiet the bitmask test Don't spew so many 0s and 1s. testsuite/gtk/bitmask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1e418ebd527a227722c0a8e1191241fe35bfdcf Author: Ting-Wei Lan Date: Tue May 12 10:23:59 2015 +0800 Fix return value error in gtk_font_chooser_get_font_map https://bugzilla.gnome.org/show_bug.cgi?id=749248 gtk/gtkfontchooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cfc07fdfcf4811e0edbaf941970ac2653d57afd8 Author: Matthias Clasen Date: Mon May 11 23:06:50 2015 -0400 gtk-demo: Don't rely on gdk_cursor_get_image This function is only implemented on X11. Instead, just use a fixed set of cursor images from resources. demos/gtk-demo/Makefile.am | 38 +++++++++++++++++++++++++++++++- demos/gtk-demo/alias_cursor.png | Bin 0 -> 1383 bytes demos/gtk-demo/all_scroll_cursor.png | Bin 0 -> 1776 bytes demos/gtk-demo/cell_cursor.png | Bin 0 -> 1155 bytes demos/gtk-demo/col_resize_cursor.png | Bin 0 -> 1479 bytes demos/gtk-demo/copy_cursor.png | Bin 0 -> 1325 bytes demos/gtk-demo/crosshair_cursor.png | Bin 0 -> 985 bytes demos/gtk-demo/cursors.c | 11 +++++++-- demos/gtk-demo/default_cursor.png | Bin 0 -> 1252 bytes demos/gtk-demo/demo.gresource.xml | 37 +++++++++++++++++++++++++++++++ demos/gtk-demo/e_resize_cursor.png | Bin 0 -> 1289 bytes demos/gtk-demo/ew_resize_cursor.png | Bin 0 -> 1479 bytes demos/gtk-demo/grab_cursor.png | Bin 0 -> 1392 bytes demos/gtk-demo/grabbing_cursor.png | Bin 0 -> 1216 bytes demos/gtk-demo/hand_cursor.png | Bin 0 -> 1416 bytes demos/gtk-demo/help_cursor.png | Bin 0 -> 1549 bytes demos/gtk-demo/move_cursor.png | Bin 0 -> 1601 bytes demos/gtk-demo/n_resize_cursor.png | Bin 0 -> 1287 bytes demos/gtk-demo/ne_resize_cursor.png | Bin 0 -> 1423 bytes demos/gtk-demo/nesw_resize_cursor.png | Bin 0 -> 1248 bytes demos/gtk-demo/no_drop_cursor.png | Bin 0 -> 1176 bytes demos/gtk-demo/none_cursor.png | Bin 0 -> 182 bytes demos/gtk-demo/not_allowed_cursor.png | Bin 0 -> 2280 bytes demos/gtk-demo/ns_resize_cursor.png | Bin 0 -> 1411 bytes demos/gtk-demo/nw_resize_cursor.png | Bin 0 -> 1545 bytes demos/gtk-demo/nwse_resize_cursor.png | Bin 0 -> 1223 bytes demos/gtk-demo/pointer_cursor.png | Bin 0 -> 1416 bytes demos/gtk-demo/progress_cursor.png | Bin 0 -> 1879 bytes demos/gtk-demo/row_resize_cursor.png | Bin 0 -> 1411 bytes demos/gtk-demo/s_resize_cursor.png | Bin 0 -> 1208 bytes demos/gtk-demo/se_resize_cursor.png | Bin 0 -> 1338 bytes demos/gtk-demo/sw_resize_cursor.png | Bin 0 -> 1369 bytes demos/gtk-demo/text_cursor.png | Bin 0 -> 844 bytes demos/gtk-demo/vertical_text_cursor.png | Bin 0 -> 823 bytes demos/gtk-demo/w_resize_cursor.png | Bin 0 -> 1355 bytes demos/gtk-demo/wait_cursor.png | Bin 0 -> 2013 bytes demos/gtk-demo/zoom_in_cursor.png | Bin 0 -> 2289 bytes demos/gtk-demo/zoom_out_cursor.png | Bin 0 -> 2170 bytes 38 files changed, 83 insertions(+), 3 deletions(-) commit be9915b16a1a820fa18bf5de800099923372568e Author: Matthias Clasen Date: Sat May 9 23:53:45 2015 -0400 quartz: Support css cursor names We want these to work across platforms, so do a best-effort approximation. We could do much better here by copying what webkit does. https://bugzilla.gnome.org/show_bug.cgi?id=749178 gdk/quartz/gdkcursor-quartz.c | 48 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) commit 62b858cf0f74b44133a77d0e99c497cabc1a2ab0 Author: Matthias Clasen Date: Mon May 11 22:13:07 2015 -0400 Avoid a critical under weston The ordering of globals in connection setup under weston is different from mutter, and we end up creating a the dnd window before any outputs are present. Don't cause a critical warning in that case. gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6663257bf000384fc1ff2ca470fe5bccad6029b0 Author: Matthias Clasen Date: Mon May 11 20:03:08 2015 -0400 GtkFontChooser: Refine 'no matches' pages Use a better icon, and put the text below. gtk/ui/gtkfontchooserwidget.ui | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 0e267ce7ff2a2cc3233320856213bfade0b3ceb3 Author: Matthias Clasen Date: Mon May 11 19:44:30 2015 -0400 GtkFileChooser: Refine 'no matches' page Use a better icon, and put the text below. gtk/ui/gtkfilechooserwidget.ui | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a8e5cacb911077c1b16a5d9bfc7589dd8b056a5d Author: Lars Uebernickel Date: Fri Apr 10 17:18:50 2015 +0200 Allow overriding WM_CLASS from the command line Even when the program itself calls gdk_set_program_class(). There's currently no way for this function to be called without breaking gdk's --class command line option, because you cannot call it before gtk_init(). https://bugzilla.gnome.org/show_bug.cgi?id=747634 gdk/gdk.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 9d921ec148bc91ef5e290250d6be5cb2177de957 Author: Matthias Clasen Date: Sun May 10 21:01:47 2015 -0400 gtk-demo: Port builder example away from GtkUIManager This makes gtk3-demo deprecation-free. demos/gtk-demo/builder.c | 72 ++++++- demos/gtk-demo/demo.ui | 530 +++++++++++++++++++++++++---------------------- 2 files changed, 349 insertions(+), 253 deletions(-) commit d89766ce4159fdda83043eb4c2d321696678f4f0 Author: Matthias Clasen Date: Sun May 10 21:00:08 2015 -0400 gtk-demo: Remove an unncessary define The changedisplay example no longer uses and deprecated API, so don't disable deprecations. demos/gtk-demo/changedisplay.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 56ddf3f092151e704904148116afe606cb61b939 Author: Cédric Valmary Date: Sun May 10 19:44:36 2015 +0000 Updated Occitan translation po/oc.po | 12360 +++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 8278 insertions(+), 4082 deletions(-) commit 6b8ef6e2e2ac04d8f953d7f8c355cc18e6352d97 Author: Matthias Clasen Date: Sun May 10 15:37:47 2015 -0400 Forgotten file gtk/gtkadjustment.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit becf1c25ceb004e55297ab512e3e7f4a84b4e395 Author: Piotr Drąg Date: Sun May 10 18:10:11 2015 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 2bafc7d195137b1a92ab65605b9780fb29ab9675 Author: Matthias Clasen Date: Sun May 10 02:35:52 2015 -0400 GtkAdjustment: Deprecate some redundant API Both gtk_adjustment_changed and gtk_adjustment_value_changed are unnecessary every since we've sealed the GtkAdjustment struct. https://bugzilla.gnome.org/show_bug.cgi?id=619493 gtk/gtkadjustment.c | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) commit 647889c2e3e86b3b31410c23bfed8d4b3db4af6d Author: Matthias Clasen Date: Sun May 10 02:35:07 2015 -0400 GtkIconView: Stop using gtk_adjustment_changed This should not be needed at all. gtk/gtkiconview.c | 6 ------ 1 file changed, 6 deletions(-) commit d90847b20ec52951ebcd2a3d1b565b654056788c Author: Matthias Clasen Date: Sun May 10 02:34:33 2015 -0400 GtkSpinButton: Stop using gtk_adjustment_value_changed This is just an unnecessary indirection. gtk/gtkspinbutton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9a4f2669f704efd6f27087c03d93dbc48d07586b Author: Matthias Clasen Date: Sun May 10 02:10:21 2015 -0400 Trivial formatting fixes gtk/gtkadjustment.c | 181 ++++++++++++++++++++++++++-------------------------- 1 file changed, 91 insertions(+), 90 deletions(-) commit 648c3b39f3530040af343ecb95ebfd4b4b09aa2c Author: Matthias Clasen Date: Sun May 10 01:30:38 2015 -0400 input methods: Add a 'vertical text' hint This has been requested in https://bugzilla.gnome.org/show_bug.cgi?id=747150 gtk/gtkenums.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit afa2bc8b8d84925762fb9ba0a824024f9a237928 Author: Matthias Clasen Date: Sun May 10 01:05:52 2015 -0400 Revert "Work around a pkg-config bug" This reverts commit 57751fa391fce8b9f208c41260e8968dd4cdc800. I've been told that this is not, in fact, a pkg-config bug, but a pkg-config feature. configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0c4deb656e6fe161a6c4cfdedbd2599e31b879d0 Author: Philip Chimento Date: Wed Apr 8 23:31:51 2015 -0700 quartz: Non-implementation of GdkGLContext This makes sure the Quartz backend returns an error when asked to create a GL context, rather than crashing because of a NULL vfunc. https://bugzilla.gnome.org/show_bug.cgi?id=740199 gdk/quartz/Makefile.am | 2 ++ gdk/quartz/gdkglcontext-quartz.c | 39 ++++++++++++++++++++++++++++++++++++++ gdk/quartz/gdkglcontext-quartz.h | 41 ++++++++++++++++++++++++++++++++++++++++ gdk/quartz/gdkwindow-quartz.c | 2 ++ 4 files changed, 84 insertions(+) commit 33d1bea42338ded18b44cc292b795b9ada39fef3 Author: Balázs Meskó Date: Sat May 9 12:44:41 2015 +0000 Updated Hungarian translation po-properties/hu.po | 2390 ++++++++++++++++++++------------------------------- 1 file changed, 949 insertions(+), 1441 deletions(-) commit b9119888fc2b6bb885388a77730228021ebdf074 Author: Gábor Kelemen Date: Sat May 9 12:43:46 2015 +0000 Updated Hungarian translation po/hu.po | 737 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 416 insertions(+), 321 deletions(-) commit 082b136b5096fd3cf1520213643709a7ec42ad0b Author: Alexandre Franke Date: Sat May 9 09:49:18 2015 +0000 Updated French translation po-properties/fr.po | 4405 ++++++++++++++++++++++++++------------------------- 1 file changed, 2203 insertions(+), 2202 deletions(-) commit ba9f146512ca01937d0a163ca99981faad042942 Author: Alexandre Franke Date: Sat May 9 08:31:37 2015 +0000 Updated French translation po/fr.po | 4036 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 2064 insertions(+), 1972 deletions(-) commit 3d81fe8617331e8463470c7fad9814517949ad3d Author: Matthias Clasen Date: Sat May 9 02:18:01 2015 -0400 Font chooser: Hide size controls with 'no match' The preview entry previews a font despite there being no results, that makes no sense. gtk/ui/gtkfontchooserwidget.ui | 144 ++++++++++++++++++++++------------------- 1 file changed, 78 insertions(+), 66 deletions(-) commit 972e59d05edf22cd66ddd511a902627b6c1fd4f7 Author: Matthias Clasen Date: Sat May 9 02:06:28 2015 -0400 Font chooser: Nice 'not found' message This copies the style that is used in the file chooser now. gtk/ui/gtkfontchooserwidget.ui | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) commit 7a5329578cd9331b55ca5ef976cd347496dd831d Author: Matthias Clasen Date: Sat May 9 01:58:32 2015 -0400 Font chooser: Also apply font map to preview Otherwise, the preview is not showing a selected custom font. gtk/gtkfontchooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 647f0e6025960eeb9ada779605ddf4e269868d26 Author: Matthias Clasen Date: Fri May 8 14:21:11 2015 -0400 docs: Show less ugly X cursors Don't list examples in the gdk_cursor_new_for_display() docs, since we now have a list of recommended names for the from_name() call. gdk/gdkcursor.c | 20 -------------------- 1 file changed, 20 deletions(-) commit d3f1b3ee4185391a813c8b8a910f7f00ac3efa1c Author: Matthias Clasen Date: Fri May 8 13:19:14 2015 -0400 gtk-demo: Drop cursor name fallback code GdkCursor itself will now do whats necessary to support these names. demos/gtk-demo/cursors.c | 64 +----------------------------------------------- 1 file changed, 1 insertion(+), 63 deletions(-) commit 7d83edd4e01b34e83474f8b8b49d3e6c3acb610d Author: Matthias Clasen Date: Fri May 8 09:55:28 2015 -0400 Update docs docs/reference/gdk/Makefile.am | 37 ++++++++++++++++++- docs/reference/gdk/images/alias_cursor.png | Bin 0 -> 1383 bytes docs/reference/gdk/images/all_scroll_cursor.png | Bin 0 -> 1776 bytes docs/reference/gdk/images/cell_cursor.png | Bin 0 -> 1155 bytes docs/reference/gdk/images/col_resize_cursor.png | Bin 0 -> 1479 bytes docs/reference/gdk/images/copy_cursor.png | Bin 0 -> 1325 bytes docs/reference/gdk/images/crosshair_cursor.png | Bin 0 -> 985 bytes docs/reference/gdk/images/default_cursor.png | Bin 0 -> 1252 bytes docs/reference/gdk/images/e_resize_cursor.png | Bin 0 -> 1289 bytes docs/reference/gdk/images/ew_resize_cursor.png | Bin 0 -> 1479 bytes docs/reference/gdk/images/grab_cursor.png | Bin 0 -> 1392 bytes docs/reference/gdk/images/grabbing_cursor.png | Bin 0 -> 1216 bytes docs/reference/gdk/images/hand_cursor.png | Bin 0 -> 1416 bytes docs/reference/gdk/images/help_cursor.png | Bin 0 -> 1549 bytes docs/reference/gdk/images/move_cursor.png | Bin 0 -> 1601 bytes docs/reference/gdk/images/n_resize_cursor.png | Bin 0 -> 1287 bytes docs/reference/gdk/images/ne_resize_cursor.png | Bin 0 -> 1423 bytes docs/reference/gdk/images/nesw_resize_cursor.png | Bin 0 -> 1248 bytes docs/reference/gdk/images/no_drop_cursor.png | Bin 0 -> 1176 bytes docs/reference/gdk/images/not_allowed_cursor.png | Bin 0 -> 2280 bytes docs/reference/gdk/images/ns_resize_cursor.png | Bin 0 -> 1411 bytes docs/reference/gdk/images/nw_resize_cursor.png | Bin 0 -> 1545 bytes docs/reference/gdk/images/nwse_resize_cursor.png | Bin 0 -> 1223 bytes docs/reference/gdk/images/pointer_cursor.png | Bin 0 -> 1416 bytes docs/reference/gdk/images/progress_cursor.png | Bin 0 -> 1879 bytes docs/reference/gdk/images/row_resize_cursor.png | Bin 0 -> 1411 bytes docs/reference/gdk/images/s_resize_cursor.png | Bin 0 -> 1208 bytes docs/reference/gdk/images/se_resize_cursor.png | Bin 0 -> 1338 bytes docs/reference/gdk/images/sw_resize_cursor.png | Bin 0 -> 1369 bytes docs/reference/gdk/images/text_cursor.png | Bin 0 -> 844 bytes docs/reference/gdk/images/vertical_text_cursor.png | Bin 0 -> 823 bytes docs/reference/gdk/images/w_resize_cursor.png | Bin 0 -> 1355 bytes docs/reference/gdk/images/wait_cursor.png | Bin 0 -> 2013 bytes docs/reference/gdk/images/zoom_in_cursor.png | Bin 0 -> 2289 bytes docs/reference/gdk/images/zoom_out_cursor.png | Bin 0 -> 2170 bytes gdk/gdkcursor.c | 39 +++++++++++++++++++++ gdk/gdkcursor.h | 7 +++- 37 files changed, 81 insertions(+), 2 deletions(-) commit 5434609b2167c5a4e33f494af0c0a82cd3f2639e Author: Matthias Clasen Date: Fri May 8 09:38:56 2015 -0400 Wayland: Make css cursor names work Map css cursor names to traditional X cursor names to increase our chance of finding a good cursor in the cursor theme. gdk/wayland/gdkcursor-wayland.c | 51 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit 17cd3c321838dc3d67c3588956d1e4d68ca70df3 Author: Matthias Clasen Date: Fri May 8 09:37:39 2015 -0400 X11: Make css cursor names work Map css cursor names to traditional X cursor names to increase our chance of finding a good cursor in the cursor theme. gdk/x11/gdkcursor-x11.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit b1e10f5312394c143bd4d09700c8522863b159ff Author: Matthias Clasen Date: Fri May 8 09:00:15 2015 -0400 Wayland: trivial reshuffle Avoid a forward declaration by moving things around. gdk/wayland/gdkcursor-wayland.c | 73 +++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 39 deletions(-) commit 724cc00f9baa8a808195eebfea686cef1d63d12c Author: Lionel Landwerlin Date: Sun May 3 11:38:45 2015 +0100 gdk: define GdkRectangle structure for introspection scanning https://bugzilla.gnome.org/show_bug.cgi?id=748833 gdk/gdktypes.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 9a7e69a990b709a79f28a8a17e74626aedb359ae Author: Sjoerd Simons Date: Wed May 6 12:39:14 2015 +0200 notify test: Don't test object relying on dbus connections Don't test types that rely on a pre-existing dbus session bus. https://bugzilla.gnome.org/show_bug.cgi?id=749009 testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit 798789ee90f7db775bd32f6f7c9d162f00953d42 Author: Matthias Clasen Date: Thu May 7 22:36:00 2015 -0400 GtkRecentChooser: Use a better busy cursor gtk/gtkrecentchooserdefault.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit 99935b14c6db3a5953b00fc61f231e348c7d8546 Author: Matthias Clasen Date: Thu May 7 22:24:19 2015 -0400 GtkPrintUnixDialog: Use a better busy cursor gtk/gtkprintunixdialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit eb715c311868631c46d5d369c9afaf0266409d4a Author: Matthias Clasen Date: Thu May 7 22:07:41 2015 -0400 GtkProgressBar: Adjust docs to new style Don't talk about superimposed text, since we don't do that anymore. https://bugzilla.gnome.org/show_bug.cgi?id=748784 gtk/gtkprogressbar.c | 58 +++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 28 deletions(-) commit 36006eb91824612cb25031101143fd70be68aa9d Author: Matthias Clasen Date: Thu May 7 20:01:14 2015 -0400 gtk3-demo: Add a cursors demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/cursors.c | 221 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 1 + 3 files changed, 223 insertions(+) commit 36a2c507e236d155893a087a2ea473298edf43de Author: Matthias Clasen Date: Thu May 7 18:29:04 2015 -0400 testgtk: Add new Adwaita cursor names tests/testgtk.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b122787a76977aa050a4e12bcf397e5dbbfe8a20 Author: Matthias Clasen Date: Thu May 7 18:28:39 2015 -0400 GtkFontChooser: Use a GtkStack gtk/gtkfontchooserwidget.c | 10 +++++----- gtk/ui/gtkfontchooserwidget.ui | 15 ++++++--------- 2 files changed, 11 insertions(+), 14 deletions(-) commit f3a390a6bf20fc017c1fb8e286d11bfc19d7fa31 Author: Garrett Regier Date: Tue May 5 22:24:16 2015 -0700 GtkFontChooserWidget: Remove unused struct field This was added accidentally in a recent patch. Signed-off-by: Garrett Regier https://bugzilla.gnome.org/show_bug.cgi?id=748992 gtk/gtkfontchooserwidget.c | 1 - 1 file changed, 1 deletion(-) commit 08e2f958f001a79b5d722d56c48bd7ec77208efe Author: Jonas Ådahl Date: Thu May 7 23:06:32 2015 +0800 GtkWindow: Manually set CSD should enable shadow width calculation If CSD is enabled with shadow even though it "shouldn't"*, the width should still be calculated correctly. This fixes a regression caused by b1e5ad469c753ea3eed967056ca814ecb0117c7b. * gtk_window_should_use_csd () returns false https://bugzilla.gnome.org/show_bug.cgi?id=748615 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c294fb5da3ca844705328447b880ad5918877a6 Author: Petr Kovar Date: Thu May 7 16:19:05 2015 +0200 Update Czech translation po/cs.po | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 39e7afecb1ee882232e887e1b3e4c30ae0afe3a3 Author: Debarshi Ray Date: Wed May 6 15:19:55 2015 +0200 GtkStack: Don't emit notify::visible-child during destruction https://bugzilla.gnome.org/show_bug.cgi?id=749012 gtk/gtkstack.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 142c8a5c8d44fda8474f8ac8a7ad125f4a58f3e0 Author: Matthias Clasen Date: Thu May 7 07:32:40 2015 -0400 GtkFontChooser: Add an example to the docs gtk/gtkfontchooser.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) commit 049cbc8b74aa7a6fff1627c8c65cbfd3c86dfde8 Author: Matthias Clasen Date: Mon May 4 23:21:17 2015 -0400 GtkFontChooser: Allow a custom font map This lets applications show their own fonts instead of or in addition to system fonts. https://bugzilla.gnome.org/show_bug.cgi?id=748771 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkfontbutton.c | 41 ++++++++++++++---- gtk/gtkfontchooser.c | 56 +++++++++++++++++++++++++ gtk/gtkfontchooser.h | 5 +++ gtk/gtkfontchooserutils.c | 3 ++ gtk/gtkfontchooserutils.h | 1 + gtk/gtkfontchooserwidget.c | 81 ++++++++++++++++++++++++++++-------- tests/testfontchooserdialog.c | 24 ++++++++++- 8 files changed, 187 insertions(+), 26 deletions(-) commit 0c922a9443f5fbb71ceba4e1ad0330c069a7c779 Author: Jakub Steiner Date: Thu May 7 10:16:46 2015 +0200 Adwaita: tone down popover dropshadow 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 26b03332a4cd6a08d85a81097762bee4eb21689d Author: Debarshi Ray Date: Wed May 6 16:53:43 2015 +0200 GtkStackSwitcher: Don't emit notify::visible-child when setting a stack Synchronizing the visible child with the switcher's toggle buttons can lead to GtkButton::clicked being emitted twice. Once for the button that was active before, and once for the button that we just activated. This leads to notify::visible-child being called twice and one of them is with the wrong child. Let's deal with this in the same way we handle the visible child changing underneath us. https://bugzilla.gnome.org/show_bug.cgi?id=749021 gtk/gtkstackswitcher.c | 2 ++ 1 file changed, 2 insertions(+) commit 6a51ac59f05b01d2fd1def67a6df589de4b423a5 Author: William Hua Date: Wed May 6 10:27:03 2015 -0400 mir: handle generic input events gdk/mir/gdkmireventsource.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit b1e5ad469c753ea3eed967056ca814ecb0117c7b Author: Jonas Ådahl Date: Wed Apr 29 15:08:44 2015 +0800 GtkWindow: Get the correct shadow width even before window is realized The window state 'client_decorated' will only be set the window is being realized. If anyone tries to get the shadow size before that it'd get the with as if there always was no shadow. This avoids negative sized opaque regions caused by the allocation being smaller than shadow. https://bugzilla.gnome.org/show_bug.cgi?id=748615 gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 17260240341d224d5c3dd56ea19dc31355614957 Author: Yuri Myasoedov Date: Wed May 6 13:38:01 2015 +0300 Fixed Russian translation po-properties/ru.po | 905 ++++++++++++++++++++++++++-------------------------- 1 file changed, 447 insertions(+), 458 deletions(-) commit fa6f9564893d38ac6266c317bae83ee541f520d2 Author: Christian Hergert Date: Tue May 5 12:19:10 2015 -0700 inspector: allow object read-only properties in prop-editor If we have a GObject property that is also a GObject, we should be able to view additional information on that object (even if the param spec is read-only). gtk/inspector/prop-editor.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 07f4c9c31505f25d1bc5e436a0dd260138171646 Author: Matthias Clasen Date: Wed May 6 00:52:23 2015 -0400 GtkFontChooserWidget: Listen for fontconfig changes We were relying on indirectly getting notify when fontconfig configuration changes, by GtkSettings translating the timestamp change into a style-invalidation, which gets fed through the css invalidation machinery. That machinery has gotten good enough at optimizing away redundant changes that it no longer emits ::style-updated in this case. So, instead make the font chooser listen directly to what it cares about: the fontconfig change notification from GtkSettings. gtk/gtkfontchooserwidget.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 487332c458b8e6d24f00afbdf05c2ae2f615af74 Author: Emmanuele Bassi Date: Mon May 4 13:28:14 2015 +0100 settings: Wayland-only systems also use fontconfig We're relying on the X11 backend being compiled in, but that may not be the case. https://bugzilla.gnome.org/show_bug.cgi?id=748782 gtk/gtksettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c6df17577ab3ee8ffebec049ddf580f486f356c8 Author: Emmanuele Bassi Date: Mon May 4 13:25:27 2015 +0100 fontchooser: Use gtk-fontconfig-timestamp setting We can use the GtkSettings:gtk-fontconfig-timestamp property to decide whether or not we should reload fonts on style and screen changes. This should avoid doing a lot of work with large font collections when only the theme has changed. https://bugzilla.gnome.org/show_bug.cgi?id=748782 gtk/gtkfontchooserwidget.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 4c06d08e2d6cf4790af38fb2c40be36e65535f77 Author: Руслан Ижбулатов Date: Mon May 4 17:18:35 2015 +0000 W32: Add a mapping for "left_ptr_watch" cursor This is purely to support gdk_cursor_new_from_name(). In particular, its counterpart, gdk_cursor_new_for_display(), will not be affected, because there's no GDK_LEFT_PTR_WATCH cursor type, and because i don't have a fallback cursor bitmask for gdk/win32/xcursors.h gdk/win32/gdkcursor-win32.c | 1 + 1 file changed, 1 insertion(+) commit 79c863c59574eea24f9bcc5f6353c3244b3d9c17 Author: Руслан Ижбулатов Date: Mon May 4 15:32:22 2015 +0000 Use GDK_KEY_KP_Decimal instead of GDK_KP_Decimal Fixes the FTBFS introduced in 578043f97e891e423648c9f70ddf1d185f4615c4 gdk/win32/gdkkeys-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f51c506c3ce0930c0c4fc616a176c5f96b34781 Author: Matthias Clasen Date: Mon May 4 09:27:02 2015 -0400 Fix precondition in gtk_popover_get_default_widget We need to return a value here. gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5cce2051dd33a5cb01f61636a94b02d1b55d6bb0 Author: Jakub Steiner Date: Mon May 4 14:39:40 2015 +0200 HC: implement overlay scrollbar theming while the behavior was in place, the specific theming for overlay scrollbars was missing, and content was hidden. gtk/theme/HighContrast/_common.scss | 37 +++++++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 19 +++++++++++++++++++ 2 files changed, 56 insertions(+) commit ff558d3d392f5e0b7e50a0b7cd451100826b31a9 Author: Matthias Clasen Date: Mon May 4 08:01:36 2015 -0400 Drop PANGO_ENABLE_BACKEND Not needed for a long time now. https://bugzilla.gnome.org/show_bug.cgi?id=748783 gtk/gtksettings.c | 2 -- 1 file changed, 2 deletions(-) commit ea3190d0ac074350e90d88613da052c73f801326 Author: Matthias Clasen Date: Sat May 2 20:49:17 2015 -0400 gtk3-widget-factory: Simplify ui file demos/widget-factory/widget-factory.ui | 446 +-------------------------------- 1 file changed, 6 insertions(+), 440 deletions(-) commit c28275f4ec1d02698336aea7cffd4aabaa1e61b0 Author: Timm Bäder Date: Sun May 3 12:19:18 2015 +0200 GtkPopover: Don't ref NULL widgets gtk_window_get_default_widget returns NULL if the window does not have a default widget, so don't ref it in that case. gtk/gtkpopover.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8c7e1f08ac189c898d3d197e6b065c9829d12ae0 Author: Piotr Drąg Date: Sun May 3 16:33:07 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit e31977eca169f4d92f495f53f68590c518699dbb Author: Marek Černocký Date: Sun May 3 13:51:14 2015 +0200 Updated Czech translation po/cs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 954b6148cc5e9f9289f20945b507950ff78094b3 Author: Marek Černocký Date: Sun May 3 13:49:35 2015 +0200 Updated Czech translation po/cs.po | 586 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 322 insertions(+), 264 deletions(-) commit adb58b2c84eb542f7971bd6f248e35c1e09bdcda Author: Matthias Clasen Date: Fri Apr 17 00:14:28 2015 -0400 file chooser: Set default widget in create folder popover This is using the new default widget functionality for popovers to make Enter in the entry activate the Create button. https://bugzilla.gnome.org/show_bug.cgi?id=747664 gtk/gtkfilechooserwidget.c | 3 +++ gtk/gtkplacessidebar.c | 3 +++ gtk/ui/gtkfilechooserwidget.ui | 2 ++ 3 files changed, 8 insertions(+) commit e1c1fc59e5cad92b4d81df94001c51be070fd905 Author: Matthias Clasen Date: Fri Apr 17 00:10:06 2015 -0400 Add default widget handling to popovers Add a new API, gtk_popover_set_default_widget, that can be used to make a widget act as default while the popover is shown. This is useful in dialog-like popovers. http://bugzilla.gnome.org/show_bug.cgi?id=747664 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkpopover.c | 69 ++++++++++++++++++++++++++++++++++++ gtk/gtkpopover.h | 6 ++++ 3 files changed, 77 insertions(+) commit 3682c761ed5a98319d8f415fee60b9e02bc2d04f Author: Matthias Clasen Date: Sat May 2 18:24:20 2015 -0400 GtkStatusbar: Simplify ui template gtk/ui/gtkstatusbar.ui | 17 ----------------- 1 file changed, 17 deletions(-) commit a921229246d99c28c14ffa060b3cc77ce4a649c1 Author: Matthias Clasen Date: Sat May 2 18:23:20 2015 -0400 GtkSearchBar: Simplify ui template gtk/ui/gtksearchbar.ui | 22 ---------------------- 1 file changed, 22 deletions(-) commit 52753b8162624763828e5d9a1df553dce469c421 Author: Matthias Clasen Date: Sat May 2 18:22:30 2015 -0400 GtkScaleButton: Simplify ui template gtk/ui/gtkscalebutton.ui | 7 ------- 1 file changed, 7 deletions(-) commit 307bdb2e6bbe71af30c5b43c10b4cbd52ed29c25 Author: Matthias Clasen Date: Sat May 2 18:21:38 2015 -0400 GtkRecentChooserDefault: Simplify ui template gtk/ui/gtkrecentchooserdefault.ui | 7 ------- 1 file changed, 7 deletions(-) commit 4fe01dec954d62091df4a037751fb066b3a6e16a Author: Matthias Clasen Date: Sat May 2 18:20:04 2015 -0400 GtkPrintUnixDialog: Simplify ui template gtk/ui/gtkprintunixdialog.ui | 356 +------------------------------------------ 1 file changed, 3 insertions(+), 353 deletions(-) commit c1876f892ab23d0126c30b132cc9b03b1219d5bc Author: Matthias Clasen Date: Sat May 2 18:17:38 2015 -0400 GtkPageSetupUnixDialog: Simplify ui template gtk/ui/gtkpagesetupunixdialog.ui | 83 ---------------------------------------- 1 file changed, 83 deletions(-) commit c258d225cbfb7b401d47693d77f9f0c0492fdf03 Author: Matthias Clasen Date: Sat May 2 18:11:29 2015 -0400 GtkMessageDialog: Simplify ui template gtk/ui/gtkmessagedialog.ui | 17 ----------------- 1 file changed, 17 deletions(-) commit 2487487e6a100cced0e1d8d47e13aac83d2e250e Author: Matthias Clasen Date: Sat May 2 18:10:37 2015 -0400 GtkLockButton: Simplify ui template gtk/ui/gtklockbutton.ui | 8 -------- 1 file changed, 8 deletions(-) commit 71681d61dfcd734027b17185f686a11603dfef52 Author: Matthias Clasen Date: Sat May 2 18:05:15 2015 -0400 GtkInfoBar: Simplify ui template gtk/ui/gtkinfobar.ui | 22 ---------------------- 1 file changed, 22 deletions(-) commit 68cf6264f1758a8af1b83149c54a2748955f3073 Author: Matthias Clasen Date: Sat May 2 18:04:30 2015 -0400 GtkFontChooserWidget: Simplify ui template gtk/ui/gtkfontchooserwidget.ui | 14 -------------- 1 file changed, 14 deletions(-) commit f20dbe08238aec1073485dfa95f64d85519eb0c7 Author: Matthias Clasen Date: Sat May 2 18:03:50 2015 -0400 GtkFontChooserDialog: Simplify ui template gtk/ui/gtkfontchooserdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit ab22285f159f939969c86695df89db50461abaa6 Author: Matthias Clasen Date: Sat May 2 18:03:08 2015 -0400 GtkFontButton: Simplify ui template gtk/ui/gtkfontbutton.ui | 12 ------------ 1 file changed, 12 deletions(-) commit bf9d32b9eef15b3d0ad647046d707fa159b735e7 Author: Matthias Clasen Date: Sat May 2 18:02:26 2015 -0400 GtkFileChooserWidget: Simplify ui template gtk/ui/gtkfilechooserwidget.ui | 9 --------- 1 file changed, 9 deletions(-) commit 232d6f84f0495e9effedc16d700fc13f5a6e3023 Author: Matthias Clasen Date: Sat May 2 18:01:04 2015 -0400 GtkFileChooserDialog: Simplify ui template gtk/ui/gtkfilechooserdialog.ui | 18 ------------------ 1 file changed, 18 deletions(-) commit 728f7db45f3c2bb3003a97a38d7a655e0ee579b1 Author: Matthias Clasen Date: Sat May 2 18:00:15 2015 -0400 GtkFileChooserButton: Simplify ui template gtk/ui/gtkfilechooserbutton.ui | 15 --------------- 1 file changed, 15 deletions(-) commit a94cedd2aede38df8fb46c4b19456ea91ba45667 Author: Matthias Clasen Date: Sat May 2 17:59:28 2015 -0400 GtkDialog: Simplify ui template gtk/ui/gtkdialog.ui | 12 ------------ 1 file changed, 12 deletions(-) commit f7c58c3be3abb5f79c3986e2162d9ef884424bf3 Author: Matthias Clasen Date: Sat May 2 17:57:28 2015 -0400 GtkColorEditor: Simplify ui template gtk/ui/gtkcoloreditor.ui | 57 ------------------------------------------------ 1 file changed, 57 deletions(-) commit ea2ac484d168314b2b8057bfcb0be1989e5fd479 Author: Matthias Clasen Date: Sat May 2 17:56:40 2015 -0400 GtkColorChooserDialog: Simplify ui template gtk/ui/gtkcolorchooserdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit 86383e63db64380f76ed5ae72b47baab0579ac28 Author: Matthias Clasen Date: Sat May 2 17:55:52 2015 -0400 GtkAssistant: Simplify ui template gtk/ui/gtkassistant.ui | 38 -------------------------------------- 1 file changed, 38 deletions(-) commit d6a698f70038037ff2c2fdc99e5b3018cc10bc0e Author: Matthias Clasen Date: Sat May 2 17:53:26 2015 -0400 GtkAppChooserWidget: Simplify ui template gtk/ui/gtkappchooserwidget.ui | 3 --- 1 file changed, 3 deletions(-) commit e966363b1a0e3666a129cb70e3722026abc130e6 Author: Matthias Clasen Date: Sat May 2 17:49:07 2015 -0400 GtkAppChooserDialog: Simplify ui template gtk/ui/gtkappchooserdialog.ui | 18 ------------------ 1 file changed, 18 deletions(-) commit ea0a54a4776ff294b64b6c0e3a9f3add97ca8479 Author: Matthias Clasen Date: Sat May 2 17:39:56 2015 -0400 GtkActionBar: Simplify ui template gtk/ui/gtkactionbar.ui | 6 ------ 1 file changed, 6 deletions(-) commit fb8294f5e43469d1d0050ee97946c0101a64d223 Author: Matthias Clasen Date: Sat May 2 17:37:54 2015 -0400 gtk-builder-tool: Run the tests installed too testsuite/tools/Makefile.am | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit d22f351e283616c588c1f346102e889b1f925678 Author: Matthias Clasen Date: Sat May 2 17:21:31 2015 -0400 gtk-builder-tool: Add some tests configure.ac | 1 + testsuite/Makefile.am | 2 +- testsuite/tools/Makefile.am | 26 ++++++++++++++++++++++++++ testsuite/tools/simplify/test1.expected | 5 +++++ testsuite/tools/simplify/test1.ui | 6 ++++++ testsuite/tools/simplify/test2.expected | 6 ++++++ testsuite/tools/simplify/test2.ui | 6 ++++++ testsuite/tools/simplify/test3.expected | 6 ++++++ testsuite/tools/simplify/test3.ui | 6 ++++++ testsuite/tools/simplify/test4.expected | 6 ++++++ testsuite/tools/simplify/test4.ui | 6 ++++++ testsuite/tools/simplify/test5.expected | 9 +++++++++ testsuite/tools/simplify/test5.ui | 12 ++++++++++++ testsuite/tools/simplify/test6.expected | 5 +++++ testsuite/tools/simplify/test6.ui | 6 ++++++ testsuite/tools/simplify/test7.expected | 8 ++++++++ testsuite/tools/simplify/test7.ui | 12 ++++++++++++ testsuite/tools/simplify/test8.expected | 11 +++++++++++ testsuite/tools/simplify/test8.ui | 12 ++++++++++++ testsuite/tools/test-simplify | 27 +++++++++++++++++++++++++++ 20 files changed, 177 insertions(+), 1 deletion(-) commit 4f115ad9401e2902582a4daa83544c6877643dfc Author: Matthias Clasen Date: Sat May 2 14:41:02 2015 -0400 gtk-builder-tool: Some refactoring Break out similar code into separate functions. gtk/gtk-builder-tool.c | 53 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 21 deletions(-) commit 9ff14a818819d89d4d7b8e3be398e13dfc430cff Author: Matthias Clasen Date: Sat May 2 14:39:35 2015 -0400 gtk-builder-tool: Strip placeholders glade likes to sprinkle all over the place - get rid of it. gtk/gtk-builder-tool.c | 75 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 14 deletions(-) commit 3b0e71cf9b831478b8392402db1337b926994adf Author: Matthias Clasen Date: Sat May 2 14:44:15 2015 -0400 gtk-builder-tool: Simplify non-translatable properties gtk/gtk-builder-tool.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 932e2546888e53726f5553106512c77cc13424e9 Author: Matthias Clasen Date: Sat May 2 13:15:18 2015 -0400 gtk-builder-tool: Always emit translatable properties Seems unlikely that these would ever have a default value, but better safe than sorry. gtk/gtk-builder-tool.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) commit 060c4f9c6626172e03ae384f817849504584dbd4 Author: Matthias Clasen Date: Sat May 2 12:13:35 2015 -0400 gtk-builder-tool: Handle cell properties These were causing 'unknown property' warnings before. gtk/gtk-builder-tool.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 712b7bd9f502dbdfa158507127a6e269a154551b Author: Yosef Or Boczko Date: Sat May 2 22:22:19 2015 +0300 Updated Hebrew translation po/he.po | 225 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 119 insertions(+), 106 deletions(-) commit 71bd0b05ad7eb4479f7632d3dffdfc92699ec184 Author: Matthias Clasen Date: Sat May 2 11:55:00 2015 -0400 docs: Add a note about button 4 & 5 gdk/gdktypes.h | 4 ++++ 1 file changed, 4 insertions(+) commit 2feaf8f970d93bf24d0e9036526e451413bc0f2f Author: Matthias Clasen Date: Sat May 2 11:51:38 2015 -0400 xi2: Don't set button mask 4 and 5 We interpret buttons 4-7 as old-school scroll events, so it does not make sense to add these to the mask. Also fix an off-by-one in the loop here, buttons_mask is 1-based. gdk/x11/gdkdevice-xi2.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit e478ec09b860d76fd61b95f594d5f9af4b69d8e2 Author: Matthias Clasen Date: Sat May 2 10:42:15 2015 -0400 GtkAboutDialog: Make credits section keyboard navigatable Its the right thing to do. gtk/gtkaboutdialog.c | 1 + 1 file changed, 1 insertion(+) commit 086d05b0cff58c9e8c2f2c18a3445a44b4cb77ae Author: Matthias Clasen Date: Sat May 2 10:26:07 2015 -0400 GtkAboutDialog: Fix some focus issues Making a container focusable is rarely the right thing to do. It typically breaks the focus chain, and makes the container contents unfocusable, as was the case here. gtk/ui/gtkaboutdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit 52bf6d52bb5f8ba10caf457115145d3e19a28847 Author: Matthias Clasen Date: Sat May 2 10:16:55 2015 -0400 gtk-builder-tool: Add more exceptions gtk/gtk-builder-tool.c | 5 +++++ 1 file changed, 5 insertions(+) commit da3f2eea7c0601b61209722fe897466afba5010c Author: Matthias Clasen Date: Sat May 2 10:12:54 2015 -0400 gtk-builder-tool: Improve docs docs/reference/gtk/gtk-builder-tool.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit b08a1702d12f4f70fe903515609a1b6cebc3f76e Author: Timm Bäder Date: Sat May 2 17:14:38 2015 +0200 inspector/misc-info: Fix typo gtk/inspector/misc-info.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8492bc525613f9cc0c0bbc6b692303bdf9e7150f Author: Cédric Valmary Date: Sat May 2 15:24:35 2015 +0000 Updated Occitan translation po-properties/oc.po | 9583 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 5961 insertions(+), 3622 deletions(-) commit b8548d27a1b9ce23e75454c3dc27780ef631867b Author: Matthias Clasen Date: Sat May 2 07:35:35 2015 -0400 gtk-builder-tool: Start an exception list We have a number of cases where properties should have their default value overridden in a subclass, but haven't because thats annoying to do. We also have properties where the absence of an explicit value has context-dependent meaning. Add a list of exceptions for these cases. gtk/gtk-builder-tool.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit 354146143ef9618964ff61cab264e286c422ea73 Author: Matthias Clasen Date: Sat May 2 02:48:19 2015 -0400 Fix another ordering issue gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 3fbaf3231e0df8305aa386bf6a40a1ef8cbf748e Author: Matthias Clasen Date: Sat May 2 02:42:25 2015 -0400 GtkPlacesSidebar: Use a popover for renaming bookmarks This is following the example in gnome-builder. gtk/gtkplacessidebar.c | 213 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 158 insertions(+), 55 deletions(-) commit 4336d02e243d60b1f49dc750c5467b4047221087 Author: Matthias Clasen Date: Sat May 2 01:04:01 2015 -0400 GtkFileChooser: Fix an ordering issue The previous commit removed default-valued properties, but apparently that has a negative effect for grid packing properties, so put the explicit value back. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit bdf49a7c3a8452c1a3eb647aac9e02bf476728ca Author: Matthias Clasen Date: Fri May 1 23:04:35 2015 -0400 GtkFileChooser: Indicate if search comes up empty This is a neice touch and helps to understand what is going on. gtk/gtkfilechooserwidget.c | 37 ++++---- gtk/gtksearchengine.c | 6 -- gtk/ui/gtkfilechooserwidget.ui | 207 +++++++++++++++++++++-------------------- 3 files changed, 124 insertions(+), 126 deletions(-) commit 05bde9d8dd539af36ed99cf3a2b00933d15562b0 Author: Matthias Clasen Date: Fri May 1 15:34:08 2015 -0400 GtkSearchEngine: Use all search engines Just using tracker does not work well if you are searching in non-indexed locations, such as git checkouts or network mounts. Ideally, we'd decide the 'best' engine to use for each location. Since that is not easy to do, just run them in parallel for now, which is the same strategy that nautilus uses. gtk/gtksearchengine.c | 218 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 209 insertions(+), 9 deletions(-) commit 4acbcf9e97d7aab6de28603dea291aa08749e982 Author: Руслан Ижбулатов Date: Thu Apr 30 17:46:27 2015 +0000 Rewrite simple search engine to use GFile and breadth order https://bugzilla.gnome.org/show_bug.cgi?id=746916 gtk/gtksearchenginesimple.c | 187 +++++++++++++++++++++++++++++--------------- 1 file changed, 125 insertions(+), 62 deletions(-) commit 4b508364426553ce7325c576d5e44b2885fe318c Author: Matthias Clasen Date: Fri May 1 12:44:11 2015 -0400 GtkSearchEngine: Drop unused functionality gtk/gtksearchengine.c | 9 --------- gtk/gtksearchengine.h | 4 +--- gtk/gtksearchenginequartz.c | 7 ------- gtk/gtksearchenginesimple.c | 7 ------- gtk/gtksearchenginetracker.c | 7 ------- 5 files changed, 1 insertion(+), 33 deletions(-) commit 578043f97e891e423648c9f70ddf1d185f4615c4 Author: Matthias Clasen Date: Fri May 1 07:03:49 2015 -0400 win32: Support the decimal point on the keypad Based on a patch by John Emmas. gdk/win32/gdkkeys-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit ce1ad85694aae69d434f3f1c12bb5af22337f441 Author: Yosef Or Boczko Date: Fri May 1 11:14:58 2015 +0300 Update properties Hebrew translation po-properties/he.po | 537 ++++++++++++++++++++++++++-------------------------- 1 file changed, 269 insertions(+), 268 deletions(-) commit 066f3d8fa4dec713505c84224522dba63270b977 Author: Yosef Or Boczko Date: Fri May 1 11:14:37 2015 +0300 Updated Hebrew translation po/he.po | 162 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 75 insertions(+), 87 deletions(-) commit 1e9bfac18474c9eab337858ca005404ba3ca5a5f Author: Matthias Clasen Date: Thu Apr 30 22:42:49 2015 -0400 Drop a redundant call g_thread_supported() is always TRUE nowadays, so drop the call. gtk/gtksearchengine.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 0113da486895a98525e12e3717ee56d83ebcd7e3 Author: Matthias Clasen Date: Thu Apr 30 22:40:45 2015 -0400 GtkFileChooser: Use a better busy cursor It is possible to interact with the file chooser while things are loading, so use a cursor that indicates this, if we have one. gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 1432d23e983fa6b033411f6b03c4e72a97331f54 Author: Руслан Ижбулатов Date: Thu Apr 30 20:43:18 2015 +0000 Fix use-after-free in gdk_window_end_paint() It's a miracle that this code ever worked. gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b9e9027e731af922f77aaf032cf46f8c8077f49 Author: Piotr Drąg Date: Thu Apr 30 19:13:22 2015 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 3 files changed, 3 insertions(+) commit ea190a339a9e61a52db9d307568f12e0a234f52b Author: William Hua Date: Thu Apr 30 12:41:33 2015 -0400 mir: fix build failure due to changed api gdk/mir/gdkmir-debug.c | 245 ++++++++++++++------------------------------ gdk/mir/gdkmir-private.h | 8 +- gdk/mir/gdkmireventsource.c | 184 ++++++++++++++++++++------------- gdk/mir/gdkmirwindowimpl.c | 12 ++- 4 files changed, 202 insertions(+), 247 deletions(-) commit bfc64137877ce176675250487ca31dcc01d45906 Author: Lapo Calamandrei Date: Thu Apr 30 14:37:59 2015 +0200 Adwaita: remove duplicated selector. gtk/theme/Adwaita/_common.scss | 5 ----- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- 3 files changed, 13 deletions(-) commit bbd1c6cefad14752af9c3688e58e4b8a05f68f5e Author: Chun-wei Fan Date: Thu Apr 30 19:46:56 2015 +0800 gdkglcontext-win32.c: Remove Obsolete Comments We now have proper checks for gdk_screen_is_composited() and a proper implementation for gdk_screen_get_rgba_visual() for Windows, so we can remove the comments in this file stating that they aren't available for Windows. gdk/win32/gdkglcontext-win32.c | 7 ------- 1 file changed, 7 deletions(-) commit a2c12f582e5a21f00e97005824661253669fa760 Author: Matthias Clasen Date: Thu Apr 30 07:46:18 2015 -0400 Fix the build docs/reference/gtk/gtk-builder-tool.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 398399610adc51a11ca6779927d4fd462bdac6a6 Author: Matthias Clasen Date: Thu Apr 30 07:11:49 2015 -0400 gtk-builder-tool: Add an enumerate command This lists all the named objects from the .ui file. docs/reference/gtk/gtk-builder-tool.xml | 4 +++ gtk/gtk-builder-tool.c | 48 ++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 1 deletion(-) commit ec053398585ec023f18ae7d1e72ea91222921755 Author: Matthias Clasen Date: Thu Apr 30 01:18:48 2015 -0400 gtk-builder-tool: Validate templates Catch an error that indicates the file looks like a template, and then try again, this time with the template parsing API of GtkBuilder. This is a little iffy, since we need to create a 'fake' type and instance to pass in, but it works ok in simple tests. gtk/gtk-builder-tool.c | 127 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 115 insertions(+), 12 deletions(-) commit 6535276c3e59461eb712a2c283e2b6b7367f3129 Author: Matthias Clasen Date: Thu Apr 30 01:21:26 2015 -0400 GtkBuilder: Emit a more detailed error for templates Add the class and parent class name to the error message. gtk-builder-tool will parse the error message and use the class names for trying again to parse the file as a template. gtk/gtkbuilderparser.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit 569d5ad763ff6a971b206373a89bfb97259bf33b Author: Matthias Clasen Date: Thu Apr 30 01:18:09 2015 -0400 GtkBuilder: Export the template parsing entry point This will let gtk-builder-tool validate templates. gtk/gtkbuilder.c | 16 +++++++++------- gtk/gtkbuilderprivate.h | 12 ++++++------ gtk/gtkwidget.c | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) commit f06cd304bd228e7ac2a05a81438b804daa1e794f Author: Matthias Clasen Date: Wed Apr 29 23:55:59 2015 -0400 Adjust tests testsuite/gtk/builder.c | 2 +- testsuite/gtk/ui/celllayout5.expected | 2 +- testsuite/gtk/ui/dialog5.expected | 2 +- testsuite/gtk/ui/filefilter10.expected | 2 +- testsuite/gtk/ui/infobar5.expected | 2 +- testsuite/gtk/ui/label5.expected | 2 +- testsuite/gtk/ui/levelbar6.expected | 2 +- testsuite/gtk/ui/scale7.expected | 2 +- testsuite/gtk/ui/test1.expected | 2 +- testsuite/gtk/ui/test2.expected | 4 ++-- testsuite/gtk/ui/test4.expected | 2 +- testsuite/gtk/ui/test6.expected | 2 +- testsuite/gtk/ui/test7.expected | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) commit 287ba6b94b290357614817ce8ec5b213857a046b Author: Matthias Clasen Date: Wed Apr 29 23:55:07 2015 -0400 Convert more GtkBuilder to g_markup_collect_attributes The core parser itself was left, so handle it as well. gtk/gtkbuilderparser.c | 499 +++++++++++++++++++++---------------------------- 1 file changed, 215 insertions(+), 284 deletions(-) commit 10860d229edecdc5d57b3286b524abdf58eb4dd0 Author: Matthias Clasen Date: Wed Apr 29 21:52:18 2015 -0400 Formatting fixes gtk/gtkbuilder.c | 607 +++++++++++++++++++++++++------------------------ gtk/gtkbuilderparser.c | 498 ++++++++++++++++++++-------------------- 2 files changed, 547 insertions(+), 558 deletions(-) commit eb2c9b433f203eb86854803d12dbb0d5be662a15 Author: Alexander Larsson Date: Thu Apr 30 10:26:52 2015 +0200 wayland: Don't send bogus values for cursor surface buffer/scale I was getting really weird values for scale for the blank cursor used when hiding the cursor in a GtkEntry when typing, this was caused by gdk_wayland_device_update_window_cursor sending random values when the returned buffer was NULL. We fix this by just not sending any buffer or scale updates in this case. gdk/wayland/gdkdevice-wayland.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit cd54a54346b4097c1ee26fba66c7acac32ec5e30 Author: Руслан Ижбулатов Date: Wed Apr 29 07:31:08 2015 +0000 GDK-W32: remove trailing whitespace everywhere gdk/win32/bdfcursor.c | 2 +- gdk/win32/gdkcursor-win32.c | 26 ++--- gdk/win32/gdkdevice-virtual.c | 6 +- gdk/win32/gdkdevice-win32.c | 2 +- gdk/win32/gdkdevicemanager-win32.c | 16 +-- gdk/win32/gdkdisplay-win32.c | 6 +- gdk/win32/gdkdnd-win32.c | 2 +- gdk/win32/gdkevents-win32.c | 114 ++++++++++---------- gdk/win32/gdkgeometry-win32.c | 8 +- gdk/win32/gdkglobals-win32.c | 2 +- gdk/win32/gdkinput.c | 4 +- gdk/win32/gdkkeys-win32.c | 56 +++++----- gdk/win32/gdkmain-win32.c | 28 ++--- gdk/win32/gdkprivate-win32.h | 8 +- gdk/win32/gdkproperty-win32.c | 22 ++-- gdk/win32/gdkselection-win32.c | 60 +++++------ gdk/win32/gdkvisual-win32.c | 4 +- gdk/win32/gdkwin32.h | 2 +- gdk/win32/gdkwin32cursor.h | 2 +- gdk/win32/gdkwin32display.h | 2 +- gdk/win32/gdkwin32id.c | 4 +- gdk/win32/gdkwin32screen.h | 2 +- gdk/win32/gdkwin32window.h | 2 +- gdk/win32/gdkwindow-win32.c | 208 ++++++++++++++++++------------------- gdk/win32/gdkwindow-win32.h | 6 +- 25 files changed, 297 insertions(+), 297 deletions(-) commit 5ed5d11632960525f652e8e73085d42ccf5bc4c6 Author: Руслан Ижбулатов Date: Wed Apr 29 07:24:35 2015 +0000 W32: bump _WIN32_WINNT and WINVER to 0x600 (Vista) Move gdkprivate-win32.h include to ensure that this change affects gdkevents-win32.c gdk/win32/gdkevents-win32.c | 3 ++- gdk/win32/gdkprivate-win32.h | 3 ++- gtk/gtkprint-win32.c | 3 ++- gtk/gtkprintoperation-win32.c | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) commit d44921a152d14371dded7ce6e2c5260fd065a66b Author: Руслан Ижбулатов Date: Wed Apr 22 19:10:55 2015 +0000 Enable RGBA windows on W32 Requires Vista and newer. * Create surfaces with cairo_win32_surface_create_with_format * Provide an rgba visual that can be distinguished from the system visual * Make rgba visual the best available visual * Enable alpha-transparency for all windows that we control * Check for appropriate cairo capabilities at configure time (W32 - 1.14.3 newer than 2015-04-14; others - 1.14.0) * Check for composition support before enabling CSDs * Re-enable transparency on WM_DWMCOMPOSITIONCHANGED Windows that were created while composition was enabled and that were CSDed as a result and will look ugly (thick black borders or no borders at all) once composition is disabled. If composition is enabled afterwards, they will return back to normal. This happens, for example, when RDP session is opened to a desktop where a GTK application is running. For W7/Vista windows will only re-gain transparency after the RDP session is closed. For W8 transparency will only be gone momentarily. Windows that were created while composition was disabled will not be CSDed automatically and will use SSD (WM decorations), while windows that are CSDed manually will get a thin square border. If composition is enabled afterwards, these windows will not change. This is most noticeable for system menus (popup menus are often generated on the fly, system menus are created once) and some dialogues (About dialogue, for example). https://bugzilla.gnome.org/show_bug.cgi?id=727316 configure.ac | 15 ++++ gdk/win32/gdkevents-win32.c | 4 ++ gdk/win32/gdkprivate-win32.h | 4 ++ gdk/win32/gdkscreen-win32.c | 10 +-- gdk/win32/gdkvisual-win32.c | 160 ++++++++++++++++++++++++++----------------- gdk/win32/gdkwindow-win32.c | 53 +++++++++++++- gtk/gtkwindow.c | 3 + 7 files changed, 174 insertions(+), 75 deletions(-) commit 5271106250d27e826d6cfaab095a6f66066b0c29 Author: Matthias Clasen Date: Wed Apr 29 15:20:51 2015 -0400 Test the new error conditions testsuite/gtk/Makefile.am | 2 ++ testsuite/gtk/ui/image1.expected | 2 ++ testsuite/gtk/ui/image1.ui | 6 ++++++ testsuite/gtk/ui/image2.expected | 2 ++ testsuite/gtk/ui/image2.ui | 6 ++++++ 5 files changed, 18 insertions(+) commit d58500b3180492cc9396fdf8dcbf61b29f7f7464 Author: Matthias Clasen Date: Wed Apr 29 15:19:31 2015 -0400 GtkBuilder: Report more lookup failures as GError Report failures to lookup objects for property values and bindings via GError too, and provide location information while doing so. https://bugzilla.gnome.org/show_bug.cgi?id=748234 gtk/gtkbuilder.c | 40 ++++++++++++++++++++++++++++++++-------- gtk/gtkbuilderparser.c | 42 +++++++++++------------------------------- gtk/gtkbuilderprivate.h | 6 ++++++ 3 files changed, 49 insertions(+), 39 deletions(-) commit f5d7c5fef357bb60488cef41088fa75f93715d63 Author: Matthias Clasen Date: Wed Apr 29 14:04:26 2015 -0400 Fix inclusion of examples in docs in non-srcdir builds This is a bit messy, since xsltproc insists on stripping relative paths to the basename before consulting the paths. https://bugzilla.gnome.org/show_bug.cgi?id=748640 docs/reference/gtk/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 5c1549a8c7c979e850b7c53fa21b3251e9f1a772 Author: Yosef Or Boczko Date: Wed Apr 29 14:28:49 2015 +0300 Updated Hebrew translation po/he.po | 3792 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2045 insertions(+), 1747 deletions(-) commit 06984006a5749ae39772a156e6b1ec29bd1fb919 Author: Matthias Clasen Date: Tue Apr 28 08:38:56 2015 -0400 3.17.1 NEWS | 128 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 +- 2 files changed, 130 insertions(+), 2 deletions(-) commit 31490b563410a7d3c32c8ddfb88f556cf78250dc Author: Matthias Clasen Date: Tue Apr 28 10:12:21 2015 -0400 Fix distcheck docs/reference/gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 384a795275fa59169da01dbf7807ef84303f1e55 Author: Simon McVittie Date: Mon Apr 20 14:54:28 2015 +0100 Makefile-newvs: some .vcxproj.filters files are in builddir, some in srcdir Without this change, out-of-tree distcheck doesn't get very far. Similarly, allow *.vcxproj, *.props to be in either the builddir or the srcdir. Finally, since I'm touching these lines anyway, eliminate some useless uses of cat: "cat x | sed 's/foo/bar/' > y" is equivalent to "sed 's/foo/bar/' < x > y". Bug: https://bugzilla.gnome.org/show_bug.cgi?id=748176 Reviewed-by: Chun-wei Fan build/Makefile-newvs.am | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit aa6219db1c67c90d132584e2efc5618e5f0ebd19 Author: Lapo Calamandrei Date: Tue Apr 28 16:52:46 2015 +0200 Adwaita: .title and .subtitle paddings Only set side paddings for title and subtitle classes, we had 0 vertical padding set there, no idea why, so let's find out... gtk/theme/Adwaita/_common.scss | 6 ++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- gtk/theme/Adwaita/gtk-contained.css | 6 ++++-- 3 files changed, 12 insertions(+), 6 deletions(-) commit d7523423d45a272cf07a9034fc09b0b4dcdb0185 Author: Matthias Clasen Date: Mon Apr 27 23:31:03 2015 -0400 gtk-builder-tool: Separate commands Add separate commands for validation and simplification. docs/reference/gtk/gtk-builder-tool.xml | 22 +++++++++++++++++---- gtk/gtk-builder-tool.c | 35 ++++++++++++++++++--------------- 2 files changed, 37 insertions(+), 20 deletions(-) commit 43cee06160eaa6a675ce9a83c2db9e3049ad1271 Author: Matthias Clasen Date: Mon Apr 27 23:08:43 2015 -0400 GtkWindow: Use _gtk_builder_lookup_object gtk/gtkwindow.c | 53 ++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 40 insertions(+), 13 deletions(-) commit c9040ab038aec97a0061eba37a942a5e84b589ee Author: Matthias Clasen Date: Mon Apr 27 23:08:28 2015 -0400 GtkWidget: Use _gtk_builder_lookup_object gtk/gtkwidget.c | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) commit 7767f059fdabe0285670ec4398c515972be1f3d8 Author: Matthias Clasen Date: Mon Apr 27 23:08:07 2015 -0400 GtkSizeGroup: Use _gtk_builder_lookup_object gtk/gtksizegroup.c | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) commit 90352f19791152b4ca141784fee47a9f6c6d363e Author: Matthias Clasen Date: Mon Apr 27 23:07:48 2015 -0400 GtkInfoBar: Add a test for 'invalid ID' testsuite/gtk/Makefile.am | 1 + testsuite/gtk/ui/infobar6.expected | 2 ++ testsuite/gtk/ui/infobar6.ui | 8 ++++++++ 3 files changed, 11 insertions(+) commit fc466cdf280442f7e68d6d597d300c31a60bc87e Author: Matthias Clasen Date: Mon Apr 27 23:06:06 2015 -0400 GtkInfoBar: Use _gtk_builder_lookup_object gtk/gtkinfobar.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit cd19f3bf0b065507beab39bc71be695b664b13b8 Author: Matthias Clasen Date: Mon Apr 27 23:05:49 2015 -0400 GtkDialog: Add a test for 'invalid ID' testsuite/gtk/Makefile.am | 1 + testsuite/gtk/ui/dialog6.expected | 2 ++ testsuite/gtk/ui/dialog6.ui | 8 ++++++++ 3 files changed, 11 insertions(+) commit 2805ba64c692b4f0ce35e5ad9c9735331d7fc604 Author: Matthias Clasen Date: Mon Apr 27 23:03:01 2015 -0400 GtkDialog: Use _gtk_builder_lookup_object gtk/gtkdialog.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 86ca248c994e39f19a49dbe2cab91378aeb73db4 Author: Matthias Clasen Date: Mon Apr 27 23:01:46 2015 -0400 GtkContainer: Add a test for 'invalid ID' ...and add all the container tests to Makefile.am testsuite/gtk/Makefile.am | 8 ++++++++ testsuite/gtk/ui/container8.expected | 2 ++ testsuite/gtk/ui/container8.ui | 14 ++++++++++++++ 3 files changed, 24 insertions(+) commit 83245abfea65e666a3664a1dc023203276ae3e4a Author: Matthias Clasen Date: Mon Apr 27 22:59:20 2015 -0400 GtkContainer: Use _gtk_builder_lookup_object gtk/gtkcontainer.c | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) commit 5bd0ec6381f7c2412e540d4b23c1152081bb5292 Author: Matthias Clasen Date: Mon Apr 27 22:56:53 2015 -0400 GtkBuilder: Report 'invalid ID' errors Look for a stashed GError after calling custom_tag_end, custom_finished or parser_finished vfuncs, and report them up. gtk/gtkbuilderparser.c | 39 +++++++++++++++++++++++++++++++++++++-- 1 file changed, 37 insertions(+), 2 deletions(-) commit fc83c8ac76b2a9ec13430dab530fa262aaaa9337 Author: Matthias Clasen Date: Mon Apr 27 22:54:25 2015 -0400 GtkBuilder: Add new convenience API Add a convenience function that is like gtk_builder_get_object() but stashes away a GError if a lookup fails. To make the error message informative, the function takes a line/column pair. Doing things this way is necessary because the custom_tag_end, custom_finished, and parser_finished vfuncs don't take a GError parameter, despite being called from a place where we can report a GError back. gtk/gtkbuilder.c | 40 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkbuilderprivate.h | 5 +++++ 2 files changed, 45 insertions(+) commit 1525d4ab89722a19129b1e2f11135fdb3e5fc58b Author: Matthias Clasen Date: Mon Apr 27 22:53:42 2015 -0400 GtkBuilder: Document private convenience API gtk/gtkbuilder.c | 48 ++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 44 insertions(+), 4 deletions(-) commit 7332fefe96debbdb95452ebbcdd031dcbd96ab77 Author: Matthias Clasen Date: Mon Apr 27 22:52:03 2015 -0400 GtkBuilder: Add an error code for 'invalid ID' This is in preparation for reporting such errors through GError. gtk/gtkbuilder.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7969204e7a97b73902d6d040dce27188d7aea229 Author: Matthias Clasen Date: Mon Apr 27 19:21:45 2015 -0400 Adjust affected tests testsuite/gtk/ui/label3.expected | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 331db35d571c43e48e8165918f3b27b34bce58c7 Author: Matthias Clasen Date: Mon Apr 27 19:20:29 2015 -0400 GtkLabel: Prefix more ui parser errors This may become useful in gnome-builder for highlighting errors, so do it consistently. gtk/gtklabel.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit d99c3e03329b5a195e9d3d0b6509300510e20ce8 Author: Matthias Clasen Date: Mon Apr 27 19:16:41 2015 -0400 Formatting fixes gtk/gtklabel.c | 44 +++++++++++++++++--------------------------- 1 file changed, 17 insertions(+), 27 deletions(-) commit 7a55961ce77004d75b1248959f95570f4279355c Author: Matthias Clasen Date: Mon Apr 27 18:55:14 2015 -0400 Add gtk-builder-tool.c to POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 01a83e0a2674bbfc0fdab8b37b3ddbdf6c506042 Author: Matthias Clasen Date: Mon Apr 27 18:51:46 2015 -0400 Add a man page for gtk-builder-tool docs/reference/gtk/Makefile.am | 3 ++- docs/reference/gtk/gtk-builder-tool.xml | 46 +++++++++++++++++++++++++++++++++ docs/reference/gtk/gtk-docs.sgml | 1 + 3 files changed, 49 insertions(+), 1 deletion(-) commit bf6a2deda0ff94eb2b067d0640ccacc8753e2506 Author: Matthias Clasen Date: Mon Apr 27 18:39:22 2015 -0400 Translate error messages gtk/gtk-builder-tool.c | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) commit 169f29998fd608b19e85b0a5a0aeea6711b40a55 Author: Matthias Clasen Date: Mon Apr 27 18:25:09 2015 -0400 Do validation before simplification Use GtkBuilder to parse the file first, and report any errors it finds before using our own simple-minded parser to simplify. gtk/gtk-builder-tool.c | 71 ++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 54 insertions(+), 17 deletions(-) commit 8bb5a149778b90423c3f770e18e67d7b678f76d9 Author: Matthias Clasen Date: Sat Apr 18 21:03:52 2015 -0400 Add a simple commandline tool for ui files This tool strips properties which are set to their default value from .ui files. gtk/Makefile.am | 7 + gtk/gtk-builder-tool.c | 406 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 413 insertions(+) commit fea2e7bf3515e8a850944715a7caf77f33d1b693 Author: Fabiano Fidêncio Date: Tue Apr 14 13:25:38 2015 +0200 gdkkeys: Add support to _get_scroll_lock_state() GdkKeymap already has support for _get_num_lock_state() and _get_caps_lock_state(). Adding _get_scroll_lock_state() would be good for completness and some backends (Windows?) could take advantage of this. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/broadway/gdkkeys-broadway.c | 7 +++++++ gdk/gdkkeys.c | 18 +++++++++++++++++ gdk/gdkkeys.h | 2 ++ gdk/gdkkeysprivate.h | 1 + gdk/mir/gdkmirkeymap.c | 8 ++++++++ gdk/quartz/gdkkeys-quartz.c | 8 ++++++++ gdk/wayland/gdkkeys-wayland.c | 8 ++++++++ gdk/win32/gdkkeys-win32.c | 7 +++++++ gdk/x11/gdkkeys-x11.c | 38 +++++++++++++++++++++++++++++++----- 10 files changed, 93 insertions(+), 5 deletions(-) commit aa269d93c4a3ccbe3e22c825b326335e46937708 Author: Matthias Clasen Date: Mon Apr 27 18:56:16 2015 -0400 gtk-encode-symbolic-svg: Mark all strings for translation A few error messages were missing. gtk/encodesymbolic.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f9ef67d2fad520ac058fdd192123de2bf7e87803 Author: Jakub Steiner Date: Tue Apr 28 00:33:17 2015 +0200 HC: include a missing sass function - used in the color widget gtk/theme/HighContrast/_drawing.scss | 4 ++++ gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) commit 37c72b1afa414a33e241e0939df37402b56a0496 Author: Piotr Drąg Date: Mon Apr 27 20:15:05 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 3 +++ po/POTFILES.skip | 3 +++ 2 files changed, 6 insertions(+) commit 3e5280ae4dfd1950dbd56a781dcdcf34a26d4294 Author: Benjamin Otte Date: Mon Apr 27 19:15:43 2015 +0200 stylecontext: Clear style property more frequently We want to clear the style property cache whenever things change in the tree, not as we previously did only when those changes actually lead to a different CSS style. gtk/gtkcsswidgetnode.c | 19 +++++++++++++++++++ gtk/gtkstylecontext.c | 4 +--- gtk/gtkstylecontextprivate.h | 1 + 3 files changed, 21 insertions(+), 3 deletions(-) commit 136a32112fc7df1eff461b3687d3626dbbbc6d33 Author: Jakub Steiner Date: Mon Apr 27 17:33:40 2015 +0200 HC: tone down backdrop for gtk switches https://bugzilla.gnome.org/show_bug.cgi?id=746925 gtk/theme/HighContrast/_common.scss | 8 ++++---- gtk/theme/HighContrast/gtk.css | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) commit 7a6aee1db46658a5e3dae0a8026a29783a02c1bc Author: Jose Rostagno Date: Sun Apr 19 21:51:46 2015 -0300 HAVE_MONITOR_INFO is always defined https://bugzilla.gnome.org/show_bug.cgi?id=748156 gdk/win32/gdkdisplay-win32.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit 216e9826030b19f8fc30f545e4fe431938c7884d Author: Jose Rostagno Date: Sun Apr 19 21:44:03 2015 -0300 drop old compat code, BITMAPV5HEADER is defined on vista+ https://bugzilla.gnome.org/show_bug.cgi?id=748156 gdk/win32/gdkcursor-win32.c | 29 ----------------------------- 1 file changed, 29 deletions(-) commit dcd53682523c6f5e7d9e8c18e0ac4f2788ab8f19 Author: Jose Rostagno Date: Sun Apr 19 20:17:53 2015 -0300 WM_CLIPBOARDUPDATE is always define on vista+ https://msdn.microsoft.com/en-us/library/windows/desktop/ms649021%28v=vs.85%29.aspx https://bugzilla.gnome.org/show_bug.cgi?id=748156 gdk/win32/gdkdisplay-win32.c | 2 -- 1 file changed, 2 deletions(-) commit bc1ac40d2a17b3daf902292bcaf4fcad4b564cdf Author: Jose Rostagno Date: Sun Apr 19 20:04:53 2015 -0300 Simplify code a bit after xp support drop https://bugzilla.gnome.org/show_bug.cgi?id=748156 gdk/win32/gdkcursor-win32.c | 10 ++-------- gdk/win32/gdkprivate-win32.h | 1 - 2 files changed, 2 insertions(+), 9 deletions(-) commit b10d63c085509bd7800493a85e7bf2df5eb1fe0a Author: Daiki Ueno Date: Thu Apr 23 09:42:45 2015 +0900 build: Avoid xgettext crash on MSYS2 isatty() on MSYS2 returns non-zero if the fd is stdout and is redirected to /dev/null. That lets xgettext to produce colorized output and leads to an assertion failure during terminal type detection. Although the problem should be fixed in MSYS2, isatty() could behave wrongly in many ways on Windows. Since gtk+ doesn't need colorized output, it would be safer to bypass the terminal dependent code. See also: https://lists.gnu.org/archive/html/bug-gettext/2015-04/msg00004.html https://bugzilla.gnome.org/show_bug.cgi?id=748346 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b44afa1d486e6f1f017e0d149634e781c3706669 Author: Christian Hergert Date: Wed Apr 22 16:35:29 2015 -0700 gdk: don't segfault on beep with offscreen window https://bugzilla.gnome.org/show_bug.cgi?id=748341 gdk/gdkoffscreenwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 22960ef3646581c7100f36fccd19f252e062052a Author: Kai Willadsen Date: Mon Apr 27 07:49:28 2015 +1000 docs: Fix incorrect cross-reference to GtkSearchBar https://bugzilla.gnome.org/show_bug.cgi?id=748500 gtk/gtksearchentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a84c15fef0eace73590c07043e8a481f25a0c453 Author: Matthias Clasen Date: Mon Apr 27 06:15:28 2015 -0400 Fix the build There was one too many dialog test cases in the Makefile. https://bugzilla.gnome.org/show_bug.cgi?id=748509 testsuite/gtk/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 3c23a2e32b1cb4891324dd0d2c5405dc28d81f33 Author: Matthias Clasen Date: Sun Apr 26 22:55:31 2015 -0400 Adjust builder tests Some errors are now returned as markup errors instead of builder errors. Adjust the tests for this. testsuite/gtk/builder.c | 147 +++++++++--------------------------------------- 1 file changed, 26 insertions(+), 121 deletions(-) commit cc478fbd6fb097e2759960656d3127e912fea7fa Author: Matthias Clasen Date: Sun Apr 26 10:32:05 2015 -0400 GtkTreeStore: Use the new helpers Use the new GtkBuilder helpers and g_markup_collect_attributes in all builder subparsers. gtk/gtktreestore.c | 90 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 60 insertions(+), 30 deletions(-) commit 9a512c6f34e96c745c745be0da53651dcf1ac99f Author: Matthias Clasen Date: Sun Apr 26 10:30:15 2015 -0400 GtkListStore: Use the new helpers Use the new GtkBuilder helpers and g_markup_collect_attributes in all builder subparsers. gtk/gtkliststore.c | 350 +++++++++++++++++++++++++++-------------------------- 1 file changed, 176 insertions(+), 174 deletions(-) commit 18b2fd4f7063597f31567249717bf8f90193beeb Author: Matthias Clasen Date: Sun Apr 26 10:26:07 2015 -0400 GtkComboBoxText: Use the new helpers Use the new GtkBuilder helpers and g_markup_collect_attributes in all builder subparsers. gtk/gtkcomboboxtext.c | 143 +++++++++++++++++++++++++++----------------------- 1 file changed, 78 insertions(+), 65 deletions(-) commit d955c6e7e5a91f5e83c76a8aa2af7699c0b5ac7f Author: Matthias Clasen Date: Sat Apr 25 20:51:56 2015 -0400 Adjust existing tests testsuite/gtk/ui/test3.expected | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62b875f209fa19799dbc3d7daacb63199df3254b Author: Matthias Clasen Date: Sat Apr 25 19:37:31 2015 -0400 GtkWindow: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkwindow.c | 123 ++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 80 insertions(+), 43 deletions(-) commit b53b38ff32e0c25c92def1cc9fe1f3a2a5d66260 Author: Matthias Clasen Date: Sat Apr 25 19:37:02 2015 -0400 GtkWidget: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkwidget.c | 325 ++++++++++++++++++++++++++++---------------------------- 1 file changed, 163 insertions(+), 162 deletions(-) commit ca82b610a13998303b846145a71d7a9730ed729e Author: Matthias Clasen Date: Sat Apr 25 19:36:39 2015 -0400 GtkSizeGroup: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtksizegroup.c | 75 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 47 insertions(+), 28 deletions(-) commit 19f3188763adb37e51ff9b6806bbe9c85318d095 Author: Matthias Clasen Date: Sat Apr 25 19:36:09 2015 -0400 GtkRecentFilter: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkrecentfilter.c | 126 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 75 insertions(+), 51 deletions(-) commit 8ae4a82ae41efc8b0f564586e8ddf9d1a7f03a52 Author: Matthias Clasen Date: Sun Apr 26 23:03:05 2015 -0400 Add tests for the infobar builder parser testsuite/gtk/Makefile.am | 5 +++++ testsuite/gtk/ui/infobar1.expected | 1 + testsuite/gtk/ui/infobar1.ui | 17 +++++++++++++++++ testsuite/gtk/ui/infobar2.expected | 2 ++ testsuite/gtk/ui/infobar2.ui | 11 +++++++++++ testsuite/gtk/ui/infobar3.expected | 2 ++ testsuite/gtk/ui/infobar3.ui | 11 +++++++++++ testsuite/gtk/ui/infobar4.expected | 2 ++ testsuite/gtk/ui/infobar4.ui | 11 +++++++++++ testsuite/gtk/ui/infobar5.expected | 2 ++ testsuite/gtk/ui/infobar5.ui | 11 +++++++++++ 11 files changed, 75 insertions(+) commit 2dc8673a41357bcddfe2312033c6d6ee03d5ae21 Author: Matthias Clasen Date: Sat Apr 25 19:35:22 2015 -0400 GtkInfoBar: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkinfobar.c | 159 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 103 insertions(+), 56 deletions(-) commit cff5e0d15bc3ddf5f1c95e8e596af86dd46fe3a1 Author: Matthias Clasen Date: Sun Apr 26 15:24:11 2015 -0400 Add tests for the GtkFileFilter builder parser testsuite/gtk/Makefile.am | 10 ++++++++++ testsuite/gtk/ui/filefilter1.expected | 1 + testsuite/gtk/ui/filefilter1.ui | 13 +++++++++++++ testsuite/gtk/ui/filefilter10.expected | 2 ++ testsuite/gtk/ui/filefilter10.ui | 6 ++++++ testsuite/gtk/ui/filefilter2.expected | 2 ++ testsuite/gtk/ui/filefilter2.ui | 7 +++++++ testsuite/gtk/ui/filefilter3.expected | 2 ++ testsuite/gtk/ui/filefilter3.ui | 7 +++++++ testsuite/gtk/ui/filefilter4.expected | 2 ++ testsuite/gtk/ui/filefilter4.ui | 8 ++++++++ testsuite/gtk/ui/filefilter5.expected | 2 ++ testsuite/gtk/ui/filefilter5.ui | 8 ++++++++ testsuite/gtk/ui/filefilter6.expected | 2 ++ testsuite/gtk/ui/filefilter6.ui | 8 ++++++++ testsuite/gtk/ui/filefilter7.expected | 2 ++ testsuite/gtk/ui/filefilter7.ui | 8 ++++++++ testsuite/gtk/ui/filefilter8.expected | 2 ++ testsuite/gtk/ui/filefilter8.ui | 8 ++++++++ testsuite/gtk/ui/filefilter9.expected | 2 ++ testsuite/gtk/ui/filefilter9.ui | 8 ++++++++ 21 files changed, 110 insertions(+) commit 831c90ffad8ca87f0f2078dbd09630b2c46fa471 Author: Matthias Clasen Date: Sat Apr 25 19:34:34 2015 -0400 GtkFileFilter: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkfilefilter.c | 152 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 87 insertions(+), 65 deletions(-) commit 95ea81d6d14f152e70210edc032cce6e0c148da9 Author: Matthias Clasen Date: Sun Apr 26 15:03:03 2015 -0400 Add tests for the GtkDialog builder parser testsuite/gtk/Makefile.am | 6 ++++++ testsuite/gtk/ui/dialog1.expected | 1 + testsuite/gtk/ui/dialog1.ui | 17 +++++++++++++++++ testsuite/gtk/ui/dialog2.expected | 2 ++ testsuite/gtk/ui/dialog2.ui | 13 +++++++++++++ testsuite/gtk/ui/dialog3.expected | 2 ++ testsuite/gtk/ui/dialog3.ui | 13 +++++++++++++ testsuite/gtk/ui/dialog4.expected | 2 ++ testsuite/gtk/ui/dialog4.ui | 13 +++++++++++++ testsuite/gtk/ui/dialog5.expected | 2 ++ testsuite/gtk/ui/dialog5.ui | 13 +++++++++++++ 11 files changed, 84 insertions(+) commit 4ee291c8f13c45e6f7579b3639947ff94aa26697 Author: Matthias Clasen Date: Sat Apr 25 19:33:52 2015 -0400 GtkDialog: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkdialog.c | 194 ++++++++++++++++++++++++++++++++------------------------ 1 file changed, 111 insertions(+), 83 deletions(-) commit f11fedb719889692eda91e23c7f45a97369620a2 Author: Matthias Clasen Date: Sun Apr 26 11:45:21 2015 -0400 Add tests for GtkLevelBar builder parser testsuite/gtk/Makefile.am | 6 ++++++ testsuite/gtk/ui/levelbar1.expected | 1 + testsuite/gtk/ui/levelbar1.ui | 8 ++++++++ testsuite/gtk/ui/levelbar2.expected | 2 ++ testsuite/gtk/ui/levelbar2.ui | 8 ++++++++ testsuite/gtk/ui/levelbar3.expected | 2 ++ testsuite/gtk/ui/levelbar3.ui | 8 ++++++++ testsuite/gtk/ui/levelbar4.expected | 2 ++ testsuite/gtk/ui/levelbar4.ui | 8 ++++++++ testsuite/gtk/ui/levelbar5.expected | 2 ++ testsuite/gtk/ui/levelbar5.ui | 8 ++++++++ testsuite/gtk/ui/levelbar6.expected | 2 ++ testsuite/gtk/ui/levelbar6.ui | 8 ++++++++ 13 files changed, 65 insertions(+) commit afd662174335afca52c0dcf524aaa8f72ea3d6ac Author: Matthias Clasen Date: Sat Apr 25 11:22:10 2015 -0400 GtkLevelBar: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtklevelbar.c | 101 +++++++++++++++++++++++++----------------------------- 1 file changed, 47 insertions(+), 54 deletions(-) commit 66ce0b6509d9a2c413174921d49cedb263e5b54f Author: Matthias Clasen Date: Sat Apr 25 23:58:08 2015 -0400 Add tests for GtkContainer builder parser testsuite/gtk/ui/container1.expected | 1 + testsuite/gtk/ui/container1.ui | 14 ++++++++++++++ testsuite/gtk/ui/container2.expected | 2 ++ testsuite/gtk/ui/container2.ui | 11 +++++++++++ testsuite/gtk/ui/container3.expected | 2 ++ testsuite/gtk/ui/container3.ui | 11 +++++++++++ testsuite/gtk/ui/container4.expected | 2 ++ testsuite/gtk/ui/container4.ui | 8 ++++++++ testsuite/gtk/ui/container5.expected | 2 ++ testsuite/gtk/ui/container5.ui | 8 ++++++++ testsuite/gtk/ui/container6.expected | 2 ++ testsuite/gtk/ui/container6.ui | 8 ++++++++ testsuite/gtk/ui/container7.expected | 2 ++ testsuite/gtk/ui/container7.ui | 10 ++++++++++ 14 files changed, 83 insertions(+) commit aeddf5565519dd92f1fe54d68ed147c5478edc2b Author: Matthias Clasen Date: Sat Apr 25 19:31:10 2015 -0400 GtkContainer: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkcontainer.c | 244 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 140 insertions(+), 104 deletions(-) commit e973d49a1181f9b6943cf86d345a6d0985b4b357 Author: Matthias Clasen Date: Sat Apr 25 11:24:40 2015 -0400 Add tests for the GtkScale builder parser These tests check various error conditions in GtkScale custom tags. testsuite/gtk/Makefile.am | 7 +++++++ testsuite/gtk/ui/scale1.expected | 1 + testsuite/gtk/ui/scale1.ui | 9 +++++++++ testsuite/gtk/ui/scale2.expected | 2 ++ testsuite/gtk/ui/scale2.ui | 8 ++++++++ testsuite/gtk/ui/scale3.expected | 2 ++ testsuite/gtk/ui/scale3.ui | 8 ++++++++ testsuite/gtk/ui/scale4.expected | 2 ++ testsuite/gtk/ui/scale4.ui | 8 ++++++++ testsuite/gtk/ui/scale5.expected | 2 ++ testsuite/gtk/ui/scale5.ui | 8 ++++++++ testsuite/gtk/ui/scale6.expected | 2 ++ testsuite/gtk/ui/scale6.ui | 8 ++++++++ testsuite/gtk/ui/scale7.expected | 2 ++ testsuite/gtk/ui/scale7.ui | 8 ++++++++ 15 files changed, 77 insertions(+) commit 374f96625f28f6c2c04992bd580462246bddb1c5 Author: Matthias Clasen Date: Sat Apr 25 11:22:30 2015 -0400 GtkScale: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkscale.c | 130 ++++++++++++++++++++++++--------------------------------- 1 file changed, 55 insertions(+), 75 deletions(-) commit d416f352ada56a65107ff4b47e8e3161bbf26899 Author: Matthias Clasen Date: Fri Apr 24 21:21:05 2015 -0400 Add tests for the GtkCellLayout builder parser These tests check various error conditions in GtkCellLayout custom tags. testsuite/gtk/Makefile.am | 7 +++++++ testsuite/gtk/ui/celllayout1.expected | 1 + testsuite/gtk/ui/celllayout1.ui | 16 ++++++++++++++++ testsuite/gtk/ui/celllayout2.expected | 2 ++ testsuite/gtk/ui/celllayout2.ui | 12 ++++++++++++ testsuite/gtk/ui/celllayout3.expected | 2 ++ testsuite/gtk/ui/celllayout3.ui | 12 ++++++++++++ testsuite/gtk/ui/celllayout4.expected | 2 ++ testsuite/gtk/ui/celllayout4.ui | 12 ++++++++++++ testsuite/gtk/ui/celllayout5.expected | 2 ++ testsuite/gtk/ui/celllayout5.ui | 12 ++++++++++++ testsuite/gtk/ui/celllayout6.expected | 2 ++ testsuite/gtk/ui/celllayout6.ui | 12 ++++++++++++ testsuite/gtk/ui/celllayout7.expected | 2 ++ testsuite/gtk/ui/celllayout7.ui | 12 ++++++++++++ 15 files changed, 108 insertions(+) commit 5e7fd924c4542a60d078dd8f267b4182fb55b748 Author: Matthias Clasen Date: Wed Apr 22 19:21:38 2015 -0500 GtkCellLayout: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtkcelllayout.c | 217 ++++++++++++++++++++++++++++++++-------------------- 1 file changed, 134 insertions(+), 83 deletions(-) commit 2c807335c4f180da4e9163dd2317fa04ff9296fb Author: Matthias Clasen Date: Wed Apr 22 10:59:12 2015 -0500 Add tests for the GtkLabel builder parser These tests check various error conditions in GtkLabel custom tags. testsuite/gtk/Makefile.am | 5 +++++ testsuite/gtk/ui/label1.expected | 1 + testsuite/gtk/ui/label1.ui | 25 +++++++++++++++++++++++++ testsuite/gtk/ui/label2.expected | 2 ++ testsuite/gtk/ui/label2.ui | 8 ++++++++ testsuite/gtk/ui/label3.expected | 2 ++ testsuite/gtk/ui/label3.ui | 8 ++++++++ testsuite/gtk/ui/label4.expected | 2 ++ testsuite/gtk/ui/label4.ui | 8 ++++++++ testsuite/gtk/ui/label5.expected | 2 ++ testsuite/gtk/ui/label5.ui | 8 ++++++++ 11 files changed, 71 insertions(+) commit 87d3cc47c245ab2ac743e2c9576084507ddedb24 Author: Matthias Clasen Date: Wed Apr 22 10:57:38 2015 -0500 GtkLabel: Use the new helpers Instead of issuing g_warning, fill the provided GError. This lets us test this error handling, and is the right thing to do. Use the new GtkBuilder helpers and g_markup_collect_attributes to do so. gtk/gtklabel.c | 123 ++++++++++++++++++++++++++------------------------------- 1 file changed, 57 insertions(+), 66 deletions(-) commit c8446f43fdc1c5059204a3cbc7d8178683fe0c1a Author: Matthias Clasen Date: Sun Apr 26 03:07:56 2015 -0400 GtkBuilder: Introduce some private helpers Add functions that help reporting errors from builder subparsers consistently. gtk/gtkbuilder.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkbuilderprivate.h | 13 +++++++++++ 2 files changed, 73 insertions(+) commit 44bf00d5dad70eeda35ac6b889e281af3ec3029e Author: Matthias Clasen Date: Sat Apr 25 19:29:40 2015 -0400 GtkBuilder: Unify builder error messages Don't use <%s> for an attribute. gtk/gtkbuilderparser.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 31ff1204a43de5acb617c4982e65421fba06f3c8 Author: Matthias Clasen Date: Sun Apr 26 11:54:02 2015 -0400 GtkDialog: Fix up docs The ui fragment in the example was causing a critical warning, which is not nice. Fix it to work properly. gtk/gtkdialog.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit cd8b19dcb0403279f372240f41848136fa0b9945 Author: Matthias Clasen Date: Tue Apr 21 07:12:58 2015 -0500 docs: Add an cross-reference to template docs gtk/gtkbuilder.c | 1 + gtk/gtkwidget.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 78bf41c3001c622b009fc619247944fbd45d2b49 Author: Matthias Clasen Date: Tue Apr 21 07:07:51 2015 -0500 GtkActionable: Fix small doc formatting issues gtk/gtkactionable.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 5dcc4cf5c1ac5e6391773249ea54d74d05781694 Author: Matthias Clasen Date: Tue Apr 21 07:07:31 2015 -0500 GtkApplicationWindow: Fix small doc formatting issues gtk/gtkapplicationwindow.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 7db74e3aa9971fc05665fa39047f6bf5460851eb Author: Matthias Clasen Date: Mon Apr 20 18:35:43 2015 -0400 GtkApplication: Fix some small doc formatting issues gtk/gtkapplication.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit b2e121039e05ee8a8b99eb7eaab652b9b78df79b Author: Matthias Clasen Date: Mon Apr 20 17:52:48 2015 -0400 gl area: Add a few missing docs gtk/gtkglarea.c | 4 ++-- gtk/gtkglarea.h | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) commit 1a0726ef311ef0c03ffa324ed13b085427f3828a Author: Matthias Clasen Date: Mon Apr 20 17:50:11 2015 -0400 docs: Update list of ignored headers docs/reference/gtk/Makefile.am | 5 +++++ 1 file changed, 5 insertions(+) commit 2c2d8db7495314142aa99b0eac0298104fb022e5 Author: Marek Černocký Date: Sat Apr 25 13:12:25 2015 +0200 Updated Czech translation po/cs.po | 182 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 104 insertions(+), 78 deletions(-) commit 1a8f360c862cffcd54092decdf38f429560e0195 Author: Marek Černocký Date: Sat Apr 25 10:28:41 2015 +0200 Updated Czech translation po-properties/cs.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 05ecd3ffecd64bbd19aec403c4f60330811592a0 Author: Sveinn í Felli Date: Fri Apr 24 14:21:49 2015 +0000 Updated Icelandic translation po-properties/is.po | 7875 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 4739 insertions(+), 3136 deletions(-) commit 7ad0282c9f234b187520dd5f4656c9ea1db2320c Author: Sveinn í Felli Date: Fri Apr 24 14:21:07 2015 +0000 Updated Icelandic translation po/is.po | 3994 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 2044 insertions(+), 1950 deletions(-) commit 8d30ad7c7568dcc54165538fbd6c737912a0e0e3 Author: Rafael Ferreira Date: Fri Apr 17 15:29:37 2015 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 4647 +++++++++++++++++++++++++----------------------- 1 file changed, 2450 insertions(+), 2197 deletions(-) commit 7dac876caf570a494de0810a10635a38903b3b4d Author: Lapo Calamandrei Date: Thu Apr 23 22:45:23 2015 +0200 Adwaita: fix selected backdrop list rows. A misplaced selector was making backdrop selected list rows vanish on hover, fixed. Thanks to Florian for spotting. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit 3da7394b58b033c181acfb4323d7c100a084884c Author: Jonas Ådahl Date: Fri Mar 6 11:40:12 2015 +0800 wayland: Add support for gtk_window_set_modal Add two new requests to the gtk_surface interface: set_modal and unset_modal. The server will currently not do anything special with input focus, and its up to the client to ignore events on the parent surface. This commit bumps the gtk_shell interface version to 2. By connecting to a Wayland server with another gtk_shell interface version any features depending on the gtk_shell protocol will not be available. https://bugzilla.gnome.org/show_bug.cgi?id=745721 gdk/wayland/gdkprivate-wayland.h | 2 +- gdk/wayland/gdkwindow-wayland.c | 54 +++++++++++++++++++++++++------------- gdk/wayland/protocol/gtk-shell.xml | 7 +++-- 3 files changed, 42 insertions(+), 21 deletions(-) commit 556fde096aed100750cccf66b097863593edf65b Author: Lapo Calamandrei Date: Wed Apr 22 17:43:37 2015 +0200 Adwaita: entry: some sass refactoring. gtk/theme/Adwaita/_common.scss | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) commit fa1f2c0df612c8063eb9e6dcd0fc459ddcdd169c Author: Lapo Calamandrei Date: Wed Apr 22 16:09:29 2015 +0200 Adwaita: vertically linked entries fix. I was axing the edge hilight on the last linked entry which needs to be there, fixed. gtk/theme/Adwaita/_common.scss | 18 +++++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- gtk/theme/Adwaita/gtk-contained.css | 6 ++++-- 3 files changed, 19 insertions(+), 11 deletions(-) commit 5e5cfc62a9c341818f63944b5ae269959bb72fca Author: Lapo Calamandrei Date: Wed Apr 22 15:54:04 2015 +0200 Adwaita: .entry.error/.entry.warning dark variant love gtk/theme/Adwaita/_common.scss | 8 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit 4128ff93dd89fa59015f33b2179f73ee39631cef Author: Lapo Calamandrei Date: Wed Apr 22 14:42:58 2015 +0200 Adwaita: simplify entry vertical linking. Now it should be "right" in basically every combination of entries and buttons. gtk/theme/Adwaita/_common.scss | 112 +++++++++----------------- gtk/theme/Adwaita/_drawing.scss | 4 +- gtk/theme/Adwaita/gtk-contained-dark.css | 132 ++++++------------------------- gtk/theme/Adwaita/gtk-contained.css | 132 ++++++------------------------- 4 files changed, 86 insertions(+), 294 deletions(-) commit 2495edc9fdd604fa9f052b4003a492d2b7230d37 Author: Kjell Ahlstedt Date: Tue Apr 21 09:05:26 2015 +0200 GtkPopover:pointing-to: GdkRectangle instead of cairo_rectangle_int_t cairo_rectangle_int_t was replaced by GdkRectangle in commit 552c29b488ecd7bcc3303dd5514ce6dbfff04437, but the type of the pointing-to property was not changed. To avoid breaking old code that sets or gets the property with a GValue of type CAIRO_GOBJECT_TYPE_RECTANGLE_INT, transformation functions between CAIRO_GOBJECT_TYPE_RECTANGLE_INT and GDK_TYPE_RECTANGLE are registered on the first call to gdk_rectangle_get_type(). https://bugzilla.gnome.org/show_bug.cgi?id=723394 gdk/gdkrectangle.c | 37 ++++++++++++++++++++++++++++++++++--- gtk/gtkpopover.c | 3 +-- 2 files changed, 35 insertions(+), 5 deletions(-) commit 557e8aa5480f9661caed4d88e8a42cc702431686 Author: Daniel Korostil Date: Mon Apr 20 21:10:03 2015 +0300 Updated Ukrainian translation po/uk.po | 3826 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2156 insertions(+), 1670 deletions(-) commit b8a6ebea7c4345f421363c1a4a242fdcdf82ef6e Author: Lapo Calamandrei Date: Mon Apr 20 18:36:10 2015 +0200 Adwaita: simplify entries. By drawing the background w/o using 3 inset shadows, same or better effect, cleaner and simpler scss, possibly better rendering performances. gtk/theme/Adwaita/_drawing.scss | 36 +++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 100 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 100 +++++++++++++++---------------- 3 files changed, 115 insertions(+), 121 deletions(-) commit 5a643f19c5c103e518a3a3e6409c3415137ea944 Author: Matthias Clasen Date: Sat Apr 18 12:54:45 2015 -0400 Improve the docs for gdk_window_set_opaque_region Fix several typos and annotate the region parameter as allow-none. gdk/gdkwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3a3f2e505a0c544eb0aba169d985bfb27844e857 Author: Carlos Garnacho Date: Sat Apr 18 18:02:50 2015 +0200 wayland: Don't unset the selected mimetype on drop_reply gdk_wayland_drop_context_set_status() can't do much else currently besides picking a mimetype (the first one is currently chosen). This may incorrectly unset the mimetype chosen on .receive(), so the transfer is cancelled before it even starts. At the time drop_reply happens, we should have already picked a mimetype along the way, so only cover for accepted=FALSE in order to unset it. gdk/wayland/gdkdnd-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 42f096c846b813aedf92979ec438686c78168f62 Author: Carlos Garnacho Date: Tue Apr 7 16:58:01 2015 +0200 wayland: Plug leak We leak refs on the dest window if it gets set multiple times, expected to happen as the DnD operation moves across the window. gdk/wayland/gdkdnd-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit 0edc9deee5af65e5b5492290132e657a9a6af52f Author: Carlos Garnacho Date: Tue Apr 7 16:23:38 2015 +0200 wayland: Create internal GdkWindow to be set as the DnD source During drag operations from another client, we currently set no window as the DnD source. There's paths in upper layers though that rely on it being set, just that we don't trigger these yet. gdk/wayland/gdkdevice-wayland.c | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) commit a017031beed209e1f6ab1c0a91072c5f77fe584c Author: Michael Catanzaro Date: Fri Apr 17 10:10:58 2015 -0500 GtkMessageDialog: Minor documentation update Icons went away in 3.12 https://bugzilla.gnome.org/show_bug.cgi?id=748061 gtk/gtkenums.h | 2 +- gtk/gtkmessagedialog.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) commit 9769e75a45807847d5319890ad4740d29dd9df11 Author: Federico Mena Quintero Date: Fri Apr 17 11:16:07 2015 -0500 gdkcolor.h: Use GDK_DEPRECATED_IN_3_14_FOR() throughout So that lazy people like me can see in the header file which new functions to use. gdk/deprecated/gdkcolor.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 422d8728fa64bdd00aded0577855063a06961561 Author: Lars Uebernickel Date: Wed Apr 15 15:27:04 2015 +0200 GtkRange: fix horizontal scrolling https://bugzilla.gnome.org/show_bug.cgi?id=737175 gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e2e649441e6ee54d9db9e18c0263986e572925f8 Author: Lapo Calamandrei Date: Fri Apr 17 15:33:04 2015 +0200 Adwaita: scrollbar contrast bump gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 3d937b6b44f48b14f2d4bd2de84ed0e5afff3112 Author: Chun-wei Fan Date: Fri Apr 17 13:59:28 2015 +0800 build/Makfile-newvs.am: Use Pattern Rules Make use of pattern rules when generating the Visual Studio 2012/2013 Projects from the Visual Studio 2010 projects, which will help to clean up the file and also avoid problems when running items like 'make -jN dist'. build/Makefile-newvs.am | 34 ++++++++++++---------------------- 1 file changed, 12 insertions(+), 22 deletions(-) commit c0e0a1508be3ccf349717497af2e8a4d77027649 Author: Руслан Ижбулатов Date: Thu Apr 16 23:11:14 2015 +0000 W32: Support horizontal mouse wheel scrolling https://bugzilla.gnome.org/show_bug.cgi?id=748014 gdk/win32/gdkevents-win32.c | 10 ++++++++-- gdk/win32/gdkmain-win32.c | 1 + gdk/win32/gdkprivate-win32.h | 3 +++ 3 files changed, 12 insertions(+), 2 deletions(-) commit bbac0eb3b938769d450310022ab7d5e8109525e4 Author: Chun-wei Fan Date: Wed Apr 15 17:17:06 2015 +0800 gdk-win32: Clean Up A Bit As GLib dropped Windows 2000 support some time ago [1][2], and the current git master already depends on a GLib release that is well after it dropped Windows 2000 support, clean up the code a bit as we are assured that the code will run on XP and later, plus, we have dropped XP support during this cycle with commit b85f0cc. https://bugzilla.gnome.org/show_bug.cgi?id=741849 [1]: https://git.gnome.org/browse/glib/commit/?id=80c24d36f2525d83e458ebbdf62fdbd085945a02 [2]: https://git.gnome.org/browse/glib/commit/?id=731b46990896665a8107535080bb075a6e18b6f7 gdk/win32/gdkcursor-win32.c | 17 +---------------- gdk/win32/gdkwindow-win32.c | 8 ++------ 2 files changed, 3 insertions(+), 22 deletions(-) commit c6a8ead9312c25f75104a5ab01936aaddeb660b2 Author: Chun-wei Fan Date: Fri Apr 17 11:29:07 2015 +0800 Revert "gdk-win32: Clean Up A Bit" This reverts commit 24d3f3fcb2894df110a17317260b8705d68d22ec. Sorry, I am going to re-commit this very shortly with a new commit message, as I found the commit message to be quite wrong and misleading. gdk/win32/gdkcursor-win32.c | 17 ++++++++++++++++- gdk/win32/gdkwindow-win32.c | 8 ++++++-- 2 files changed, 22 insertions(+), 3 deletions(-) commit b85f0ccc672455d4b7c895cb00d3804b44310659 Author: Chun-wei Fan Date: Wed Apr 15 17:44:55 2015 +0800 gdk-win32: Really Implement GdkScreen->is_composited() The current GdkScreen->is_composited() is a stub as we were having Windows XP being supported, which does not support Desktop Window Manager (DWM), which is used by Windows for composition. Windows Vista and later support DWM, and it is always enabled on Windows 8/ Server 2012 and later. Please note that as we are dropping XP support in this cycle, this is the commit that would say goodbye to Windows XP support for GTK+-3.x, by linking directly to dwmapi.dll. This means, we only check whether we are on Windows 8 or Server 2012 (or later) to see whether we unconditionally have composition enabled. https://bugzilla.gnome.org/show_bug.cgi?id=741849 build/win32/vs10/gdk.vcxprojin | 8 ++++---- build/win32/vs9/gdk.vcprojin | 8 ++++---- configure.ac | 2 +- gdk/win32/gdkglobals-win32.c | 2 ++ gdk/win32/gdkmain-win32.c | 1 + gdk/win32/gdkprivate-win32.h | 2 ++ gdk/win32/gdkscreen-win32.c | 13 ++++++++++++- 7 files changed, 26 insertions(+), 10 deletions(-) commit 24d3f3fcb2894df110a17317260b8705d68d22ec Author: Chun-wei Fan Date: Wed Apr 15 17:17:06 2015 +0800 gdk-win32: Clean Up A Bit As GLib dropped XP support some time ago [1][2], and the current git master already depends on a GLib release that is well after it dropped XP support, clean up the code a bit as we are assured that the code will run on XP and later, plus, we are dropping XP support during this cycle (i.e. very soon). https://bugzilla.gnome.org/show_bug.cgi?id=741849 [1]: https://git.gnome.org/browse/glib/commit/?id=80c24d36f2525d83e458ebbdf62fdbd085945a02 [2]: https://git.gnome.org/browse/glib/commit/?id=731b46990896665a8107535080bb075a6e18b6f7 gdk/win32/gdkcursor-win32.c | 17 +---------------- gdk/win32/gdkwindow-win32.c | 8 ++------ 2 files changed, 3 insertions(+), 22 deletions(-) commit 740bcf5fe0ff9dd25856e5d000faff80bcf44eea Author: Cosimo Cecchi Date: Mon Apr 13 15:31:10 2015 -0700 window: fix initial shadow width for maximized/fullscreen windows To calculate the shadow width, we look at the value of priv->fullscreen and priv->maximized. Those fields will have the actual value only after GTK receives back a window state event though, so they will be wrong in _realize(). Look at priv->fullscreen_initially and priv->maximize_initially too, to avoid the size changing right after realize, which would make the window flicker if maximized at startup. https://bugzilla.gnome.org/show_bug.cgi?id=747808 gtk/gtkwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 5dbccc868e2c066a2b260f22cac2de8ac705f2ba Author: Sebastian Keller Date: Fri Apr 17 01:07:03 2015 +0200 Adwaita: fix outline radius for dialog-action-area buttons https://bugzilla.gnome.org/show_bug.cgi?id=748013 gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- gtk/theme/Adwaita/gtk-contained.css | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) commit d031b752c6bd41b358e569ccbbcea5b19863ef17 Author: Rafael Ferreira Date: Thu Apr 16 21:05:04 2015 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 4378 +++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 2446 insertions(+), 1932 deletions(-) commit 4eb8157cfa9d74e5ad632117b7109fe39f972eb1 Author: Carlos Garnacho Date: Thu Apr 16 22:45:54 2015 +0200 scrolledwindow: Do not round dx/dy to int Libinput will use 0.0f on the "scrolling finished" event, so check for this instead of rounding (<1 values are sort of frequent on touchpads). This impedes bug #745315 to resurface after commit d563b943ed3. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6d19162c431fc40972165cf2a2d5e0c591ca696f Author: Carlos Garnacho Date: Thu Apr 16 18:40:32 2015 +0200 scrolledwindow: Ensure the animation is cancelled on arriving scroll events When the scrolledwindow receives scroll events, it ensures the timeout to maybe start the "snap back to edges" animation is reset, but it does nothing about the animation source. It must be reset just the same, to maybe be started after the timeout fires up. gtk/gtkscrolledwindow.c | 1 + 1 file changed, 1 insertion(+) commit 993721c74627771fbd71a4fa65082b1393388a56 Author: Lapo Calamandrei Date: Thu Apr 16 09:57:23 2015 +0200 Adwaita: colorpicker fixes. Added another :not() to fix the first and last swatches in the first section of colorpicker. Dodge the artifacts due to stacked anti-aliased rounded corners by increasing the radius of the base object by 1px. gtk/theme/Adwaita/_common.scss | 67 +++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 27 ++++++++++--- gtk/theme/Adwaita/gtk-contained.css | 27 ++++++++++--- 3 files changed, 92 insertions(+), 29 deletions(-) commit 296fe0869581ca68b6de982a21695715ea0a9271 Author: Jakub Steiner Date: Thu Apr 16 00:47:40 2015 +0200 HighContrast: sync color picker changes with Adwaita gtk/theme/HighContrast/_common.scss | 117 +++++++++++++++++++++--------------- gtk/theme/HighContrast/gtk.css | 107 +++++++++++++++++++-------------- 2 files changed, 131 insertions(+), 93 deletions(-) commit 4a54b121fc76f832d1b90984245b2d9e3b18a922 Author: Matej Urbančič Date: Wed Apr 15 22:22:07 2015 +0200 Updated Slovenian translation po/sl.po | 30 ++++++++++-------------------- 1 file changed, 10 insertions(+), 20 deletions(-) commit a5685ba05abd34d0bd9e4a1a47a8dc11116d2253 Author: Lapo Calamandrei Date: Wed Apr 15 21:53:11 2015 +0200 Adwaita: clearer comment for colorbutton hack gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 5 deletions(-) commit a9addf14b78262726d2aec7632b786c2c7366fdb Author: Lapo Calamandrei Date: Wed Apr 15 21:43:59 2015 +0200 Adwaita: colorpicker and colorbutton fixes. With nasty gross ugly code, no other ways, sorry. gtk/theme/Adwaita/_common.scss | 18 ++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 13 +++++-------- gtk/theme/Adwaita/gtk-contained.css | 13 +++++-------- 3 files changed, 20 insertions(+), 24 deletions(-) commit 149e7df6085dd13728e598f181a7a3221cd630ee Author: Lapo Calamandrei Date: Wed Apr 15 20:20:52 2015 +0200 Adwaita: GtkPlacesSidebar insensitive items. Set the right colors there. gtk/theme/Adwaita/_common.scss | 16 ++++++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 30 insertions(+), 2 deletions(-) commit 62a367105f5e837231f6799a4c5aacc765bc3e57 Author: Jakub Steiner Date: Wed Apr 15 14:55:35 2015 +0200 HighContrast: don't need to work around ffox No need for the workaround for ffox 36, works in 37 https://bugzilla.gnome.org/show_bug.cgi?id=747827 gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 7c79c01a51fc6019180646143c69c38c8458742f Author: Daniel van Vugt Date: Wed Apr 15 13:19:14 2015 +0200 configure: specify that mir backend needs gio-unix configure.ac | 1 + 1 file changed, 1 insertion(+) commit c8d6231c3c55dc9f357a2436cbc89bef23163d57 Author: Matthias Clasen Date: Tue Apr 14 17:05:34 2015 -0400 Fix window button updates in split headers We were only updating window buttons when the headerbar was a direct child of the window. That is not the case in more complicated situations, such as the split headers in gedit or polari. To fix such cases, make the headerbar itself listen for state changes on its toplevel. https://bugzilla.gnome.org/show_bug.cgi?id=747805 gtk/gtkheaderbar.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit b53abebaea14d57dc428cc0914d42f849a072e20 Author: Ask Hjorth Larsen Date: Mon Apr 13 19:31:03 2015 +0200 Updated Danish translation po/da.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9a80c6278698d198b31d8e2eca9042412ccd7927 Author: Ask Hjorth Larsen Date: Mon Apr 13 19:24:02 2015 +0200 Updated Danish translation po/da.po | 173 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 100 insertions(+), 73 deletions(-) commit 8bf5b175b1ed63d296b58cbe6e1c39ab2b9cff52 Author: Carlos Garnacho Date: Mon Apr 13 16:15:11 2015 +0200 gesturesingle: Ignore motion/updates from unhandled sequences This used to do the right thing, practically ignoring those event if they went all through the event handler, unless this motion event triggered the cancellation of this gesture from the event handler of another controllers. In this case, the controller would be reset, but the motion event would still go through its handler, setting again current_button/sequence as the motion event has buttons in its modifiers. This leaves GtkGestureSingle with inconsistent data that may interfere with future runs. https://bugzilla.gnome.org/show_bug.cgi?id=747469 gtk/gtkgesturesingle.c | 2 ++ 1 file changed, 2 insertions(+) commit 71c0efb361b83cd175b1d3a66f7443dc506e9bdb Author: Carlos Garnacho Date: Mon Apr 13 15:29:57 2015 +0200 scrolledwindow: Show scrollbars on tablet devices The code managing scrollbars visibility was too pervasively checking for mouse devices, leaving pen/eraser/cursor devices with no scrollbars at all. Relax these checks a bit, and actually toggle full-width scrollbars on pen/eraser devices, so it is an easier target. https://bugzilla.gnome.org/show_bug.cgi?id=747608 gtk/gtkscrolledwindow.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit efe0009e31f19f040003c07ade29ad6fed36fee4 Author: Jakub Steiner Date: Mon Apr 13 17:07:16 2015 +0200 HC: fix selected list-rows https://bugzilla.gnome.org/show_bug.cgi?id=747689 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk.css | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) commit 374bedc0e2c208ee3fe0bfc698841e5c093e2905 Author: Evangelos Foutras Date: Sat Apr 11 11:20:56 2015 +0300 x11: Relax requirements for setting ParentRelative XSetWindowBackgroundPixmap() will throw BadMatch only in the case of a different parent window depth. Different visuals are fine and actually expected in Gtk+ 3.16 (since we don't stick to the system default visual but try to pick a better one). https://bugzilla.gnome.org/show_bug.cgi?id=747524 gdk/x11/gdkwindow-x11.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fe7bc84c891ed5b47115cb42c58fca19b02990e1 Author: Carlos Garnacho Date: Thu Apr 9 14:09:42 2015 +0200 plug: Remove size_allocate handler Since windows can be intermediate containers this is somewhat redundant, plus gtk_window_size_allocate() will do additional things like allocating the popovers, which was mistakenly skipped by local plugs not chaining up. https://bugzilla.gnome.org/show_bug.cgi?id=747553 gtk/gtkplug.c | 40 ---------------------------------------- 1 file changed, 40 deletions(-) commit 3873f581a85ca616ab535f840d55b56b06ea129b Author: Matej Urbančič Date: Sun Apr 12 21:18:45 2015 +0200 Updated Slovenian translation po/sl.po | 272 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 132 insertions(+), 140 deletions(-) commit ffb20cd53bfd410c60dcf2af6afc511069d68df0 Author: Khaled Hosny Date: Sun Apr 12 01:54:18 2015 +0200 Update Arabic translation po/ar.po | 3929 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 2002 insertions(+), 1927 deletions(-) commit 19a3302ec2db20dd6459161aeb3faf513cc6baac Author: Khaled Hosny Date: Sun Apr 12 01:39:53 2015 +0200 Update Arabic translation po/ar.po | 3012 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1928 insertions(+), 1084 deletions(-) commit a013c13e4306925357b64e54ced777a5ef87b4db Author: Yosef Or Boczko Date: Sun Apr 12 00:47:26 2015 +0300 Updated Hebrew translation po/he.po | 3729 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 1755 insertions(+), 1974 deletions(-) commit bd1a3d6748e348cd4864a2e46cac823f13dd9467 Author: Anders Jonsson Date: Sat Apr 11 20:54:09 2015 +0000 Updated Swedish translation po/sv.po | 480 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 270 insertions(+), 210 deletions(-) commit 0abc91684bf2a60a07a5e402b6d8da8373dad7cd Author: Anders Jonsson Date: Sat Apr 11 20:51:26 2015 +0000 Updated Swedish translation po-properties/sv.po | 920 +++++++++++++++++++++++++++------------------------- 1 file changed, 476 insertions(+), 444 deletions(-) commit 316e7c5adc5605cd66ea6b3c67de8618fcf8f975 Author: William Hua Date: Thu Apr 9 09:28:30 2015 -0400 Resolve redefinition of typedef GtkCssNode This causes a build failure under Mac OS because GtkCssNode is defined in both gtk/gtkcssnodeprivate.h and gtk/gtkcsstypesprivate.h. https://bugzilla.gnome.org/show_bug.cgi?id=747560 gtk/gtkcssnodeprivate.h | 1 - 1 file changed, 1 deletion(-) commit d6543bc00941b878cd8ea108e59cdafea65ca417 Author: Matthias Clasen Date: Thu Apr 9 21:03:13 2015 -0400 Remove no longer needed in-tree editing gtk/gtkfilechooserwidget.c | 146 ----------------------------------------- gtk/gtkfilesystemmodel.c | 49 +------------- gtk/gtkfilesystemmodel.h | 4 -- gtk/ui/gtkfilechooserwidget.ui | 2 - 4 files changed, 1 insertion(+), 200 deletions(-) commit c41ab1473048ad83247f0882ca430ef395512259 Author: Matthias Clasen Date: Thu Apr 9 20:56:54 2015 -0400 Use a popover for creating new folders gtk/gtkfilechooserwidget.c | 172 +++++++++++++++++++++++++++++++++++++++-- gtk/ui/gtkfilechooserwidget.ui | 85 ++++++++++++++++---- 2 files changed, 235 insertions(+), 22 deletions(-) commit 6c8790f62c3bc4ff3fa4451948be3406f5525c34 Author: Jakub Steiner Date: Fri Apr 10 20:19:42 2015 +0200 HighContrast: fix scrollbar slider 'padding' gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 26e8037cf901313c959d4f6795dd138dc7b051a1 Author: Jakub Steiner Date: Fri Apr 10 15:13:12 2015 +0200 HighContrast: insensitive backdrop list rows have a border https://bugzilla.gnome.org/show_bug.cgi?id=747288 gtk/theme/HighContrast/_common.scss | 87 +++++++++++++++++++++---- gtk/theme/HighContrast/gtk.css | 124 +++++++++++++++++++++++++++++++++--- 2 files changed, 190 insertions(+), 21 deletions(-) commit fe028b961be7afae0494bbc9b5f5d282dd10aad5 Author: Lapo Calamandrei Date: Fri Apr 10 16:39:35 2015 +0200 Adwaita: reset .list-row.button props more aggressively... ...otherwise we run into problem with `.button` inherited style properties, see https://bugzilla.gnome.org/show_bug.cgi?id=747288 which applies to Adwaita as well. gtk/theme/Adwaita/_common.scss | 20 ++++++++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 43 +++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 43 +++++++++++++++++++++++--------- 3 files changed, 78 insertions(+), 28 deletions(-) commit 8f644101b9023076cf0b77a001c666c23d0aa60c Author: Joanmarie Diggs Date: Wed Apr 8 20:08:25 2015 -0400 a11y: Only emit signals when cells change; not upon creation This is a workaround for atspi-atk behaviour. atspi-atk uses signal emission hooks. So it to already catches signal emissions on creation of objects, before anyone could even think of g_signal_connect()ing. https://bugzilla.gnome.org/show_bug.cgi?id=746706 gtk/a11y/gtkbooleancellaccessible.c | 9 ++++++--- gtk/a11y/gtkcellaccessible.c | 10 +++++++--- gtk/a11y/gtkcellaccessible.h | 3 ++- gtk/a11y/gtkcellaccessibleprivate.h | 3 ++- gtk/a11y/gtkcontainercellaccessible.c | 5 +++-- gtk/a11y/gtktextcellaccessible.c | 12 +++++++----- gtk/a11y/gtktreeviewaccessible.c | 4 ++-- 7 files changed, 29 insertions(+), 17 deletions(-) commit f87b08ddd391adafebc183bff3c43ee24c804ce6 Author: Jakub Steiner Date: Fri Apr 10 16:27:40 2015 +0200 notebook: prevent tab closebutton :hover to change metric gtk/theme/HighContrast/_common.scss | 10 +++++----- gtk/theme/HighContrast/gtk.css | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit 7603b527909118f54502e512efcb829e3394a522 Author: Matthias Clasen Date: Fri Apr 10 08:03:24 2015 -0400 GtkApplication: Prevent more crashes around shutdown gtk_application_shutdown clears the impl member, so all callbacks, signal handlers, etc that might still be triggered between a shutdown call and the return from the mainloop better be prepared to deal with impl being NULL. gtk/gtkapplication.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit efd3758f6a779041ff552cb4c5163446fd951368 Author: Chun-wei Fan Date: Fri Apr 10 15:48:59 2015 +0800 gtk/inspector/css-node-tree.c: Fix Build strcasecmp() is unfortunately not universally available, along with strings.h. Fix the build by replacing strcasecmp() with g_ascii_strcasecmp(), and remove the strings.h include. https://bugzilla.gnome.org/show_bug.cgi?id=747604 gtk/inspector/css-node-tree.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit f53737ad03570f840bbd1798b53d90777df72721 Author: Chun-wei Fan Date: Fri Apr 10 16:19:49 2015 +0800 Visual Studio Builds: Fix Header "Installation" gtksidebar.h was renamed as gtkstacksidebar.h, so fix that in the header "installation". build/win32/vs10/gtk-install.props | 2 +- build/win32/vs9/gtk-install.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit ac931e95060c10dd44d0b6331d0f38e9b777d436 Author: Matthias Clasen Date: Wed Apr 8 20:20:38 2015 -0400 popover: Remove signal handlers in dispose If we don't, they may get triggered at an inopportune time later, causing us to crash. See https://bugzilla.redhat.com/show_bug.cgi?id=1203499 https://bugzilla.gnome.org/show_bug.cgi?id=747539 gtk/gtkpopover.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b2e19866ea2ccaca9593f4f4b954ab9d70791dab Author: Matthias Clasen Date: Thu Apr 9 00:14:20 2015 -0400 wayland: Wait for output and seat information When we open the connection, we get the wl_output object, but we return before all the information such as monitor geometry has arrived, which causes us to misinform early users of this information. Do a roundtrip here that causes us to wait until the information is complete. Do the same for seats, just in case. https://bugzilla.gnome.org/show_bug.cgi?id=747471 gdk/wayland/gdkdisplay-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit da16947e21225f0fd575279afaf5ba6ae482dd49 Author: Matthias Clasen Date: Thu Apr 9 00:13:37 2015 -0400 wayland: Add more debug output gdk/wayland/gdkscreen-wayland.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit 096b49013acb8cebffde1f857ee63aa83c247839 Author: Matthias Clasen Date: Wed Apr 8 20:30:26 2015 -0400 Make gtk-update-icon-cache not fall over leftover temp files This is a followup to 0fd185fa6de2a89c11b4a28. There is no good reason to only try again if --force is passed. Do it always. See https://bugzilla.redhat.com/show_bug.cgi?id=1194957 gtk/updateiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a89e99b0be15a1bfb401810a74d508b008459332 Author: Matthias Clasen Date: Wed Apr 8 18:54:45 2015 -0400 tree view: Avoid a crash with rubberbanding When a treeview is destroyed while rubberbanding is going on, we crash because the rb tree is nuked before we want to access it to stop the rubberbanding. To avoid this crash end the rubberbanding early in destroy(). See https://bugzilla.redhat.com/show_bug.cgi?id=1173904 gtk/gtktreeview.c | 1 + 1 file changed, 1 insertion(+) commit c0ac3c3386b555832ad0dc34745ad26dcd184fb4 Author: Matthias Clasen Date: Wed Apr 8 15:44:21 2015 -0400 GtkApplication: avoid a crash It can apparently happen that we get focus in events on windows after gtk_application_shutdown() has been called. Avoid an unnecessary crash in this case. See https://bugzilla.redhat.com/show_bug.cgi?id=1176339 gtk/gtkapplication.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c6a77d0f6878e951929e22b3a196368d475ebc2b Author: Matthias Clasen Date: Wed Apr 8 14:13:20 2015 -0400 Revert "image: Optimize non-resize changes" This reverts commit bae97a4c6bcb1c82d4a5f296c3d428173e31c6e4. We're still seeing regressions from there, see http://bugzilla.redhat.com/show_bug.cgi?id=1208183 gtk/gtkimage.c | 107 +++++++++------------------------------------------------ 1 file changed, 17 insertions(+), 90 deletions(-) commit 65b7fc91bd60ee74b5b947326f0a39b6bae807de Author: Matthias Clasen Date: Tue Apr 7 18:39:10 2015 -0400 testgtk: Respect display cursor size limitations Instead of hardcoding 64, ask the display about the maximal supported cursor size. tests/testgtk.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 61f3399f980288a9a9e4b03b50dd147a8af55a8d Author: William Hua Date: Tue Apr 7 10:33:35 2015 -0400 mir: Fix build failure due to changed API mir_surface_set_event_handler() now takes three arguments. gdk/mir/gdkmirwindowimpl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 4c80ac0733289b43377b47fc846507a689747f43 Author: Matthias Clasen Date: Mon Apr 6 21:27:17 2015 -0400 Fix indicator proximity checks The coordinate translations here were not working properly for window widgets inside the scrolled window, as can be seen e.g. for the horizontal scrollbar of the 'Tree View' example in gtk3-demo. https://bugzilla.gnome.org/show_bug.cgi?id=747406 gtk/gtkscrolledwindow.c | 80 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 53 insertions(+), 27 deletions(-) commit cfb5f160f2d024dc118484bea5e1415f6de250c0 Author: Matthias Clasen Date: Mon Apr 6 09:16:03 2015 -0400 Make indicators pop out when needed When moving over a non-expanded indicator from the outside, we were not expanding it, due to on_scrollbar being true. This can be seen e.g. when moving from the content pane over to the sidebar indicator in gtk3-demo. We must still ensure that the indicator is expanded when receiving motion events over the indicator. https://bugzilla.gnome.org/show_bug.cgi?id=747407 gtk/gtkscrolledwindow.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit cd499f0abcb1c071ae9ab2ca783e63063f669085 Author: Denis Arnaud Date: Mon Apr 6 15:00:01 2015 +0200 Updated breton translation po/br.po | 6738 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 4036 insertions(+), 2702 deletions(-) commit 3972520fbb871d66db4abe9f09b7dc84c323aa9d Author: Emmanuele Bassi Date: Sat Apr 4 13:54:34 2015 +0100 docs: Note the side effects of GtkLabel setters The gtk_label_set_text() and gtk_label_set_markup() functions have various side effects that ought to be documented, especially for non-C developers using properties directly. https://bugzilla.gnome.org/show_bug.cgi?id=747121 gtk/gtklabel.c | 42 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) commit e6061caa7bac73c391d266661f92530d6d9922a8 Author: Matthias Clasen Date: Sun Apr 5 22:27:23 2015 -0400 file chooser: Ensure a folder is loaded when browsing Just showing an empty list when the user hits Ctrl-l in recent files is not very useful. Load the home directory instead. gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit e6c1cbc88ebbf51dcf4ca2b4b0016c81808d7889 Author: Matthias Clasen Date: Sun Apr 5 22:12:46 2015 -0400 file chooser: Open location entry more easily Show the location entry also when alphanumerics are typed into the list. gtk/gtkfilechooserwidget.c | 1 + 1 file changed, 1 insertion(+) commit cd033e6f07898cc8b2427c0ab345d3ee004ace07 Author: Matthias Clasen Date: Sun Apr 5 22:09:22 2015 -0400 testfilechooser: Improve filter setup It is not ideal when the default filter filters away all files, so change things to select the 'all files' filter by default. tests/testfilechooser.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit fc8516fe75089459c09e750db0c5d6ae643dea63 Author: Matthias Clasen Date: Sun Apr 5 22:09:04 2015 -0400 Formatting fix gtk/gtkfilechooserentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 29a2a65756015b3cac999d566c65244b9618676f Author: Matthias Clasen Date: Sun Apr 5 22:07:59 2015 -0400 Formatting fix gtk/gtkentrycompletion.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a6c7889cb659de22bba78990f826bc22a2211016 Author: Matthias Clasen Date: Sun Apr 5 19:10:39 2015 -0400 testgtk: Set initial cursor Arrange for the entry and the cursor area to both start out with the arrow cursor. tests/testgtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e77b2832aa0fc8a94e76954ccb35a17cb3f41e15 Author: Matthias Clasen Date: Sun Apr 5 19:00:44 2015 -0400 testgtk: Redo the cursor example Use cursor names instead of font cursors, so we can also show cursors that are not represented in the X cursor font and thus don't have a value in the GdkCursorType enumeration. tests/testgtk.c | 244 ++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 175 insertions(+), 69 deletions(-) commit cb750f60f9f37559e36504511f65f5fa10871b54 Author: Matthias Clasen Date: Sun Apr 5 18:59:51 2015 -0400 wayland: Don't mix free and g_strdup While it works most of the time, this is technically not correct. gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 386534ef1f10972eabeb84e1de9c587de6420ee0 Author: Matthias Clasen Date: Sun Apr 5 13:28:26 2015 -0400 testgtk: Update cursor theme on size change We were connecting to the wrong signal, so we were not picking up all changes to the spin button value. tests/testgtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d94d2efc43e167bd222f7795fdd680da87a66016 Author: Matthias Clasen Date: Sun Apr 5 08:13:24 2015 -0400 GtkListBox: Make model binding introspectable Introspection can't deal with bare pointers, so annotate the callback as taking objects. This is the outcome of discussion in https://bugzilla.gnome.org/show_bug.cgi?id=746893 gtk/gtklistbox.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6b977e68702021f075eb17a8aaa15ec1ba50e7ff Author: Paolo Borelli Date: Sun Mar 29 12:22:42 2015 +0200 gtktextbuffer: small cleanup in clipboard handling Make code shorter and also more efficient since we move the selection check out of the loop https://bugzilla.gnome.org/show_bug.cgi?id=747096 gtk/gtktextbuffer.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit 49ec67c7eb52a8b20a7a18c37c63020c5612df0e Author: Olivier Fourdan Date: Fri Apr 3 17:51:57 2015 +0200 x11/gl: Fix use after free https://bugzilla.gnome.org/show_bug.cgi?id=747305 Signed-off-by: Olivier Fourdan gdk/x11/gdkglcontext-x11.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 2c61a52ff64ad4efb884c18fd0d999d16ce8ac34 Author: Lapo Calamandrei Date: Thu Apr 2 18:49:33 2015 +0200 Adwaita: stronger entry focus indication See https://bugzilla.gnome.org/show_bug.cgi?id=746202 for details. gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/_drawing.scss | 12 +- gtk/theme/Adwaita/gtk-contained-dark.css | 217 +++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 217 +++++++++++++++++++++---------- 4 files changed, 307 insertions(+), 143 deletions(-) commit 3b57d197cd24cf762c624c2bc3c0b69745a9d28d Author: Dušan Kazik Date: Thu Apr 2 08:57:09 2015 +0000 Updated Slovak translation po/sk.po | 228 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 124 insertions(+), 104 deletions(-) commit b1696436d1f1dea6c7aed7ba798116259f3c248e Author: Carlos Garnacho Date: Tue Mar 31 20:24:07 2015 +0200 scrolledwindow: Ignore 0/0 scroll events when possibly cancelling animation These should be used eventually to start kinetic scrolling, so should definitely be ignored on cancellation. https://bugzilla.gnome.org/show_bug.cgi?id=747133 gtk/gtkscrolledwindow.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 361a0574dc54a5b8365c50039294cfbd0064fcc9 Author: Stas Solovey Date: Wed Apr 1 12:15:49 2015 +0000 Updated Russian translation po/ru.po | 149 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 78 insertions(+), 71 deletions(-) commit a263018a3ec62988c84a98f4ed1dda46f736d7a9 Author: Stas Solovey Date: Wed Apr 1 11:31:10 2015 +0000 Updated Russian translation po-properties/ru.po | 4583 +++++++++++++++++++++++++++------------------------ 1 file changed, 2414 insertions(+), 2169 deletions(-) commit b3580aa46af60ea63ef6739e58df44441a20b85f Author: Marek Černocký Date: Wed Apr 1 11:55:02 2015 +0200 Udated Czech translation po/cs.po | 260 +++++++++++++++++++++++---------------------------------------- 1 file changed, 94 insertions(+), 166 deletions(-) commit 313738b3e9fbc9e595ceca4a3bd7de09d6aefb7c Author: Matej Urbančič Date: Tue Mar 31 21:09:21 2015 +0200 Updated Slovenian translation po/sl.po | 128 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 55 insertions(+), 73 deletions(-) commit 960c22922024547c62ccba02b8e8306d55264161 Author: Carlos Garnacho Date: Tue Mar 31 13:13:50 2015 +0200 scrolledwindow: Remove needless "dragging" field from Indicator struct The "over" state already stays set while scrollbar dragging happens, there's no need to double track that. https://bugzilla.gnome.org/show_bug.cgi?id=746961 gtk/gtkscrolledwindow.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) commit eb26208c08724a2c8361cb77aae60f281f32479c Author: Carlos Garnacho Date: Tue Mar 31 13:01:34 2015 +0200 scrolledwindow: Check the event widget on captured motion events This path is only intended to be triggered on events directed towards the child of the scrolledwindow, so make it explicitly so. This avoids scrollbar "over" state flashing when dragging finishes within the slider. https://bugzilla.gnome.org/show_bug.cgi?id=746961 gtk/gtkscrolledwindow.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 71256a0f94972be8220049b1c99dc2db61e56b5a Author: Jonas Ådahl Date: Mon Mar 23 13:08:09 2015 +0800 wayland: Set a more correct xdg_surface application id The "app_id" of a xdg_surface should be the ID that can potentially be used to get the DBUS name or the .desktop file. For GtkApplication programs this is often the ID passed when creating the GtkApplication object, so when available lets use that. As fallbacks, first try g_get_prgname as it often corresponds to the basename part of the .dektop file for non-GtkApplication programs. Otherwise use gdk_get_program_class, even though that string usually doesn't conform to the expectations of xdg_surface.set_application_id. https://bugzilla.gnome.org/show_bug.cgi?id=746435 gdk/wayland/gdkwindow-wayland.c | 97 +++++++++++++++++++++++++++++++++-------- gtk/gtkapplication-wayland.c | 11 +++-- 2 files changed, 86 insertions(+), 22 deletions(-) commit 5a0d718239992680d99e4fda8a54992b19abd897 Author: Stas Solovey Date: Mon Mar 30 22:40:20 2015 +0000 Updated Russian translation po/ru.po | 3936 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 1997 insertions(+), 1939 deletions(-) commit 40a83ef5a67cdac1ba7e1153736d4d028baaf2b3 Author: Jakub Steiner Date: Mon Mar 30 14:54:25 2015 +0200 Revert "Adwaita: desaturate selected color for backdrop" This reverts commit 6f478db2facd8744714b7ab374d2687d777653a3. As per discussion on bug 746202, the real solution to the case in bug 704352 is what the reporter suggests. gtk/theme/Adwaita/_colors.scss | 1 - gtk/theme/Adwaita/_common.scss | 5 +---- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +-- gtk/theme/Adwaita/gtk-contained.css | 3 +-- 4 files changed, 3 insertions(+), 9 deletions(-) commit 95e2dc32ec9df75398ef7aebe3d4d6574139f7fe Author: Daniel Korostil Date: Mon Mar 30 08:52:44 2015 +0300 Updated Ukrainian translation po/uk.po | 3231 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1811 insertions(+), 1420 deletions(-) commit cba2ecc0cc593d12f45d45b1e5ebb8705eb18a8e Author: Carlos Garnacho Date: Sat Mar 28 16:22:09 2015 +0100 gtkdnd: Restore widget opacity after fading out Otherwise the widget is left fully transparent, and will start as such if the widget is reused. gtk/gtkdnd.c | 1 + 1 file changed, 1 insertion(+) commit a6cafa1edb536d4f59b33ece6090e33f54f41b1b Author: Carlos Garnacho Date: Sat Mar 28 14:16:45 2015 +0100 gtkdnd: Set the icon helper from the drag site onto the context If the icon happened to come from the drag site icon helper (ie. set through gtk_drag_source_set_icon*), it would be referenced on the GtkDragInfo, but not hooked into its context. This results on non visible drag windows, until set_icon_helper() happened to be called on some path. gtk/gtkdnd.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit e2fc198b9e9fd826e2d535a2896b3db11fe98e3a Author: Benjamin Otte Date: Sun Mar 29 22:16:14 2015 +0200 roundedbox: Fix a copy/paste error This caused shadows to not be drawn in certain situations when overlayed via a popover animation. https://bugzilla.gnome.org/show_bug.cgi?id=746862 gtk/gtkroundedbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 050e139019960afe05c20d34563e07010088cc10 Author: Marek Černocký Date: Sun Mar 29 13:49:43 2015 +0200 Updated Czech translation po-properties/cs.po | 4600 +++++++++++++++++++++++++-------------------------- 1 file changed, 2268 insertions(+), 2332 deletions(-) commit 06484533396c64913c2f7cf5496bd45e190f6dad Author: Matthias Clasen Date: Sun Mar 29 00:24:35 2015 -0400 radio button: Fix directional navigation GtkRadioButton had a deficient copy of the focus sort code in GtkContainer, causing focus to jump over the next button in the list. Just use _gtk_container_focus_sort() here, which fixes the bug _and_ saves 80 lines of code. https://bugzilla.gnome.org/show_bug.cgi?id=746817 gtk/gtkradiobutton.c | 103 ++++++++++++--------------------------------------- 1 file changed, 23 insertions(+), 80 deletions(-) commit 505fed1383fc3f092f8ee1f9d2f1f840f8579953 Author: Matthias Clasen Date: Sat Mar 28 22:32:12 2015 -0400 Fix separator in testsplitheaders tests/testsplitheaders.ui | 1 + 1 file changed, 1 insertion(+) commit ada97b092810e456459dd428d620fdf7bfdf1783 Author: Lars Uebernickel Date: Tue Mar 24 14:25:49 2015 +0100 gtkprogressbar: fix size allocation As of 74405cc, progress bars use a new design with values drawn on top (or to the left) of the through instead of inside of it. This change brought a number of regressions: the min-horizontal-bar-height and min-vertical-bar-width style properties are not respected anymore. For vertical progress bars, the value was drawn too close to the bar and not centered vertically. Fix this by respecting the style properties and drawing the value label at the correct position. Also, the xspacing and yspacing properties didn't server any apparent purpose. Change their semantics to mean "the spacing between the label and the bar". Hence, they only need to be added to the size request when showing the label. Since we are changing semantics anyway, reduce their default values from 7 to 2, to avoid and excessive gap. https://bugzilla.gnome.org/show_bug.cgi?id=746688 gtk/gtkprogressbar.c | 63 ++++++++++++++++++++++++++++------------------------ 1 file changed, 34 insertions(+), 29 deletions(-) commit ae430b1b808c0b930021c843b26faa259c11f3e8 Author: Antoine Jacoutot Date: Fri Mar 27 19:04:20 2015 +0100 make libcanberra support optional Make it possible to control libcanberra support so we don't risk ending up with a cyclic dependency when using packages: gtk+ -> libcanberra-gtk3 -> gtk+ https://bugzilla.gnome.org/show_bug.cgi?id=746904 configure.ac | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) commit a55ebcb4b0155c82f6f44ddeafc7756501b0e012 Author: Matej Urbančič Date: Sat Mar 28 22:42:42 2015 +0100 Updated Slovenian translation po-properties/sl.po | 5653 ++++++++++++++++++++++++--------------------------- 1 file changed, 2699 insertions(+), 2954 deletions(-) commit 1afc9bc5dc673064d6138257bd928744b98e5147 Author: Jordi Mas Date: Sat Mar 28 13:36:25 2015 +0100 Upload Catalan translation po-properties/ca.po | 4653 +++++++++++++++++++++++++-------------------------- 1 file changed, 2310 insertions(+), 2343 deletions(-) commit 6e03e7e80a630c9f7ef3d55130c3abde97ac3012 Author: Ryan Lortie Date: Fri Mar 27 11:57:38 2015 -0400 GtkListBox: fix model binding refcount issue As it is, GtkListBox model binding will work nicely as long as your create_widget_func returns a floating reference on the newly-created widget. If you try to return a full reference (as any higher-level language would do) then you will leak that reference. Fix that up by converting any floating references into full references and then unconditionally releasing the full reference after adding to the box. https://bugzilla.gnome.org/show_bug.cgi?id=746893 gtk/gtklistbox.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 36baf9207ed87ec669014a51385b6194cccda3a5 Author: Hans de Goede Date: Thu Mar 26 19:46:56 2015 +0100 scrolledwindow: Extend trackpoint heuristic to ALPS trackpoints These have a different characteristic device name, look for it too in order to enable trackpoint features. gtk/gtkscrolledwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 86720b014e40418e94d708815059b835d07ed7ae Author: Emmanuele Bassi Date: Thu Mar 26 17:40:40 2015 +0000 docs: Add initialization example for GtkGLArea Show how to safely check for errors when initializing the OpenGL pipeline. gtk/gtkglarea.c | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) commit d79bc003455b92f788e27835ea7fc7a44b3501a4 Author: Emmanuele Bassi Date: Thu Mar 26 17:26:29 2015 +0000 x11/gl: Do not use GLX_EXT_texture_from_pixmap if not available If the GLX_EXT_texture_from_pixmap extension is not available when we did the extensions check, then there's no point in using the backend specific code paths that rely on it. gdk/x11/gdkglcontext-x11.c | 5 +++++ 1 file changed, 5 insertions(+) commit 3c80451b17f82a0a230d0bca1ae297d5e74bf3b3 Author: Руслан Ижбулатов Date: Thu Mar 26 17:01:59 2015 +0000 W32: Only override window miximized position for CSDed windows This fixes an issue with non-CSDed windows being improperly positioned when maximized, which was introduced by the previous commit. https://bugzilla.gnome.org/show_bug.cgi?id=746821 gdk/win32/gdkevents-win32.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit af9f6fca5f4e735cfa1753e140402f5adbfcc646 Author: Руслан Ижбулатов Date: Thu Mar 26 15:22:07 2015 +0000 W32: Correctly set maximized window position Use screen workarea to *also* set the position of a maximized window, not just its size. Without this the window position defaults to 0:0 (the topleft corner), which is wrong when taskbar is position along the top or left edge of the screen. https://bugzilla.gnome.org/show_bug.cgi?id=746821 gdk/win32/gdkevents-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit 371a3a787176be03180f6bd2b1ffe093d53eef49 Author: Will Thompson Date: Sun Jun 23 15:35:21 2013 +0100 bbox: correct documentation typo gtk/gtkbbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9749013e5f4e24f36ffa497decb2bc560e202a9f Author: Joanmarie Diggs Date: Wed Mar 25 19:21:37 2015 -0400 Fix an AtkStateType emitted for GtkBooleanCellAccessible An apparent copy-and-paste error is resulting in ATs being notified of changes in ATK_STATE_CHECKED when the cell's "sensitive" state changes. https://bugzilla.gnome.org/show_bug.cgi?id=746784 gtk/a11y/gtkbooleancellaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ca8b71e76234fb68a1273fa7420e8aac63590f3 Author: Rico Tzschichholz Date: Wed Mar 25 20:52:43 2015 +0100 textview: Fix "Since" versions after backport Fix for 28063ee2e42e7ce47b7bd5326f2d53875a377d57 which got cherry-picked to 3.16 gtk/gtktexttag.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 721134b00877355f1e2cec01cffa05c9e053174f Author: Emmanuele Bassi Date: Wed Mar 25 15:20:36 2015 +0000 demo/glarea: Check errors on GtkGLArea We should not call OpenGL API if GtkGLArea is in an error state. https://bugzilla.gnome.org/show_bug.cgi?id=746746 demos/gtk-demo/glarea.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit fae3eaffcd4457c29db2ffc4a02c99c037fd3148 Author: Emmanuele Bassi Date: Wed Mar 25 15:19:30 2015 +0000 glarea: Check that the context is not NULL The public API should perform more checks when it comes to an NULL context. https://bugzilla.gnome.org/show_bug.cgi?id=746746 gtk/gtkglarea.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 85141bc503701b5e3a25fbb5a5982da4cadeec85 Author: Emmanuele Bassi Date: Wed Mar 25 15:18:44 2015 +0000 x11/gl: Do not try to call MakeCurrent with a NULL context This should not happen, but better safe than sorry. https://bugzilla.gnome.org/show_bug.cgi?id=746746 gdk/x11/gdkglcontext-x11.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b899a7838761eb52a39dca64534331b366dea582 Author: Emmanuele Bassi Date: Wed Mar 25 14:34:42 2015 +0000 x11/gl: Trap GL context creation Avoid an X11 error in case the context creation fails, so we can avoid a crash and pick it up in the upper layers, and display an error. https://bugzilla.gnome.org/show_bug.cgi?id=746746 gdk/x11/gdkglcontext-x11.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 1506ba060cc4e2335e9a793b0c5e5852c9ea1715 Author: Benjamin Otte Date: Wed Mar 25 04:27:33 2015 +0100 filechooser: Use same priority everywhere I managed to stall recent files today while trying to save a GTK testcase in glade that contained enough spinning spinners that the CPU was saturated just redrawing things. I had to navigate the filesystem! gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 38f61dd445e633ba83ded1273f0f1b942eed6a64 Author: Marcus Karlsson Date: Tue Mar 24 22:14:27 2015 +0100 GtkRange: Check "inverted" property when drawing The direction in which the slider moves can be inverted by setting the inverted property. But the draw method does not check this, instead it checks if the direction of the widget is set to be right to left. Call the should_invert function in order to determine if the direction of the range should be inverted. It too checks the widget's direction, but also checks the "inverted" property, and allows the range to be drawn inverted even if it is vertically oriented. https://bugzilla.gnome.org/show_bug.cgi?id=746712 gtk/gtkrange.c | 27 +++++++++------------------ 1 file changed, 9 insertions(+), 18 deletions(-) commit 1ed9d33d2497eee1f0cdd9fd107d427338b2ada5 Author: Joanmarie Diggs Date: Wed Mar 25 04:01:48 2015 +0100 a11y: Only emit name-changed once We were emitting it twice, once with deleting the old text, once with inserting the new text. https://bugzilla.gnome.org/show_bug.cgi?id=746706 gtk/a11y/gtktextcellaccessible.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit c66d1656767ce9c4495610fc917a947e7dedbb4e Author: Joanmarie Diggs Date: Wed Mar 25 04:00:20 2015 +0100 a11y: Free the cell text after emitting text-changed:delete. This is needed because AT-SPI2's ATK bridge exposes the deleted string to ATs. https://bugzilla.gnome.org/show_bug.cgi?id=746706 gtk/a11y/gtktextcellaccessible.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit d553c0ae1ed3ef9754e4949d3830dae916750d3b Author: Joanmarie Diggs Date: Wed Mar 25 03:57:45 2015 +0100 a11y: Refactor code Put the equality check in front. This allows better detection of when an insert or delete needs to be emitted. Also, only emit text-changed:delete if the deleted text is not the empty string. Only emit text-changed:insert if the inserted text is not the empty string. https://bugzilla.gnome.org/show_bug.cgi?id=746706 gtk/a11y/gtktextcellaccessible.c | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) commit 4340e977e4847f3f451a7e397435895afa3107f5 Author: Joanmarie Diggs Date: Wed Mar 25 03:54:19 2015 +0100 a11y: Refactor textcellaccessible code Compute the new text and its length in advance. This way those computations will not confuse us when they happen in the middle of the actual action. https://bugzilla.gnome.org/show_bug.cgi?id=746706 gtk/a11y/gtktextcellaccessible.c | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) commit abf3d78b5717cb66f3e231a521057188c426d473 Author: Marcus Karlsson Date: Tue Mar 24 22:31:52 2015 +0100 GtkRange: Fix drawing of fill-level Compute the proportion of the range that should be filled to match the fill level, and use it to compute the starting point and length of the area between the slider and the fill level. https://bugzilla.gnome.org/show_bug.cgi?id=734741 gtk/gtkrange.c | 56 ++++++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 26 deletions(-) commit 77197847335409a743688a50af51b39160f61754 Author: Ignacio Casal Quinteiro Date: Tue Mar 24 13:34:10 2015 +0100 inspector: fix warning about not using the right format for an int64 gtk/inspector/misc-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fdc620cd56e79e461aa9f8738b4043f12080274c Author: Benjamin Otte Date: Tue Mar 24 04:14:28 2015 +0100 cssnode: Clear widget path more aggressively When recomputing CSS, we need a correct widget path in the fallback mode where we're still using widget paths. So we need to invalidate it everytime it actually changes, and not just when emitting the style-updated signal. Fixes css-match-regions reftest. gtk/gtkcsswidgetnode.c | 3 +++ gtk/gtkwidget.c | 6 +++++- gtk/gtkwidgetprivate.h | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) commit 59579576c6c63237fcbb364a1addcdabaeaa26a4 Author: Changwoo Ryu Date: Tue Mar 24 09:54:04 2015 +0900 Updated Korean translation po-properties/ko.po | 625 ++++++++++++++++++++++++++++------------------------ po/ko.po | 182 +++++++-------- 2 files changed, 426 insertions(+), 381 deletions(-) commit 641e280311316d8aad6ea9050b8fdd181598e59d Author: Niels Nesse Date: Mon Mar 23 22:15:08 2015 +0000 x11/gl: Removing some more legacy GL calls They are not required any more. http://bugzilla.gnome.org/show_bug.cgi?id=746668 gdk/x11/gdkglcontext-x11.c | 7 ------- 1 file changed, 7 deletions(-) commit 6bd7526ee78828b99bb52cd01f5e43481fb4b995 Author: Emmanuele Bassi Date: Mon Mar 23 22:03:00 2015 +0000 x11/gl: Do not call glEnable/glDisable with GL_TEXTURE_2D These are fixed pipeline functions, and Mesa will warn (if debugging messages are enabled). At best, they are poinless calls. gdk/x11/gdkglcontext-x11.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit aaff396e48c21287122d27ffa5b34a59d36288be Author: Inaki Larranaga Murgoitio Date: Mon Mar 23 22:23:30 2015 +0100 Updated Basque language po/eu.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6f6a52c00ee2a1b953ba4975da349f16d4e1647 Author: Inaki Larranaga Murgoitio Date: Mon Mar 23 22:22:39 2015 +0100 Updated Basque language po-properties/eu.po | 4490 ++++++++++++++++++++++++++------------------------- 1 file changed, 2261 insertions(+), 2229 deletions(-) commit 84d5f0e64d8546a6c71c745ade3ae2ce466c25cc Author: Inaki Larranaga Murgoitio Date: Mon Mar 23 22:19:10 2015 +0100 Updated Basque language po/eu.po | 3924 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 1981 insertions(+), 1943 deletions(-) commit c88ec370376473ec6da82cf9e9c0cd5d211a98d3 Author: Piotr Drąg Date: Mon Mar 23 17:35:41 2015 +0100 Fix a minor typo in translatable string gtk/gtktexttag.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 68ff82cbf2806ec9d51b02dec43b7f83fb781a9c Author: Piotr Drąg Date: Mon Mar 23 17:33:05 2015 +0100 Updated Polish translation po-properties/pl.po | 616 +++++++++++++++++++++++++++------------------------- po/pl.po | 252 ++++++++++----------- 2 files changed, 454 insertions(+), 414 deletions(-) commit 81776ea3f19561dc8ef74d8a44997a5cdc75745c Author: Piotr Drąg Date: Mon Mar 23 17:25:55 2015 +0100 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 3 +++ po/POTFILES.in | 2 ++ po/POTFILES.skip | 2 ++ 4 files changed, 8 insertions(+) commit 6b1ca8b8876f2332d28eadbe9e109760e2618412 Author: Marek Černocký Date: Mon Mar 23 16:15:57 2015 +0100 Updated Czech translation po/cs.po | 4166 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 2155 insertions(+), 2011 deletions(-) commit a08ee01c6443a4890fc265e5976f91994379cc0b Author: Matthias Clasen Date: Mon Mar 23 10:39:32 2015 -0400 csd: Fix an oversight for popups After the recent rework of client-side shadow code, menus, tooltips and similar popups were ending up with solid decorations. Fix this oversight. gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 83b6423409924ad701b6b227ad0a11e444341917 Author: Balázs Úr Date: Mon Mar 23 14:40:53 2015 +0000 Updated Hungarian translation po-properties/hu.po | 4425 ++++++++++++++++++++++++++------------------------- 1 file changed, 2216 insertions(+), 2209 deletions(-) commit 51a434ad4bdc4164800092127827d19b5b8354ce Author: Yosef Or Boczko Date: Mon Mar 23 14:53:57 2015 +0200 Update properties Hebrew translation po-properties/he.po | 4412 +++++++++++++++++++++++++-------------------------- 1 file changed, 2206 insertions(+), 2206 deletions(-) commit 1abb28ec65240321d294fd31ac11527c1bf90363 Author: Yosef Or Boczko Date: Mon Mar 23 14:52:42 2015 +0200 Updated Hebrew translation po/he.po | 398 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 204 insertions(+), 194 deletions(-) commit 66a7636b6327cf7a960fa164dc329bfb21fe2e48 Author: Tom Tryfonidis Date: Mon Mar 23 11:59:24 2015 +0200 Updated Greek translations po-properties/el.po | 4416 +++++++++++++++++++++++++-------------------------- po/el.po | 3903 +++++++++++++++++++++++---------------------- 2 files changed, 4152 insertions(+), 4167 deletions(-) commit 72afa5c2ee67b8e9528c11037e2e518eb1455e74 Author: Milo Casagrande Date: Mon Mar 23 07:29:55 2015 +0000 Updated Italian translation po-properties/it.po | 2060 +++++++++++++++++++++++---------------------------- 1 file changed, 930 insertions(+), 1130 deletions(-) commit 6cadef7ff63f5fb7189af0261f568627ce5ce434 Author: Milo Casagrande Date: Mon Mar 23 07:25:57 2015 +0000 Updated Italian translation po/it.po | 504 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 222 insertions(+), 282 deletions(-) commit eea16f03f5b3f76da165dba805a819f4c760cefa Author: Matthias Clasen Date: Sun Mar 22 00:49:16 2015 -0400 Stop using GDK_POINTER_MOTION_HINT_MASK in widgets It is deprecated and no longer needed, and,as observed in https://bugzilla.gnome.org/show_bug.cgi?id=746253 it interferes with turning off event compression. gtk/gtkentry.c | 2 -- gtk/gtklabel.c | 3 +-- gtk/gtkrange.c | 15 +++++++-------- gtk/gtkspinbutton.c | 2 +- gtk/gtkswitch.c | 1 - gtk/gtktextview.c | 17 ++++++++--------- gtk/gtktreeviewcolumn.c | 1 - gtk/gtkwidget.c | 6 ++---- 8 files changed, 19 insertions(+), 28 deletions(-) commit 6f829d445063eeb54097957706a33a516d4604aa Author: Matthias Clasen Date: Sun Mar 22 15:20:43 2015 -0400 Silence another compiler warning Again, our habit of comparing enum values against -1. gtk/gtkrender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 70f6faf0f1d1011f75cde28796ff5a3405cc5a78 Author: Matthias Clasen Date: Sun Mar 22 15:19:59 2015 -0400 Don't return G_TYPE_INVALID as a pointer Use NULL for g_return_val_if_fail checks if the function returns a pointer. Pointed out by clang. gtk/gtkwidgetpath.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c723eba1353f973e7ef6cb5f921cb109961cd9d8 Author: Matthias Clasen Date: Sun Mar 22 15:19:17 2015 -0400 text view: Avoid clang compiler warnings Again, our habit to use -1 as an unset value for enum types. gtk/gtktextview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f00f2fdf0d5ccbfa96014cce661043d25783b8f1 Author: Matthias Clasen Date: Sun Mar 22 15:18:35 2015 -0400 Remove a redundant const const gchar const is still just const gchar, unless there's indirections in between. gtk/gtkprintunixdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a14bb5578fa5de31c72c2ebc5fb1788890eb1648 Author: Matthias Clasen Date: Sun Mar 22 15:17:27 2015 -0400 css: Silence a clang warning Clang complains that this check can never be true. Since this is a argument range check which we do to catch bad input, convince clang to not complain instead of taking it out. gtk/gtkcssenumvalue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb573e58f12ebc26cf106f85aae4315e30f5078d Author: Matthias Clasen Date: Sun Mar 22 15:16:14 2015 -0400 Remove a pointless comparison Comparing an unsigned value against < 0 is not going to succeed. Pointed out by clang. gtk/gtkprintoperation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2250cd87ebb0ac92b48ce6f7f15991db22bfb112 Author: Matthias Clasen Date: Sun Mar 22 15:15:42 2015 -0400 paper size: Don't use abs() on floats Use fabs() instead. Pointed out by clang. gtk/gtkpapersize.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit ddf7501acd2169f09d773e037b20889dfe89ab2f Author: Matthias Clasen Date: Sun Mar 22 15:14:42 2015 -0400 More of the same A similar case in GtkIconHelper. Here we were confusing ourselves, and compared a icon_size against -1, although the variable is never set to -1. gtk/gtkiconhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 543eae0d76a3aa1471aca9146a32d9bfad3adfd2 Author: Matthias Clasen Date: Sun Mar 22 15:12:30 2015 -0400 Avoid some clang compiler warnings Avoid some compiler warnings from clang in deprecated code. Most of these are around our habit of using -1 as an 'unset' value for enumerations. gtk/deprecated/gtkfontsel.c | 4 ++-- gtk/deprecated/gtkhandlebox.c | 4 ++-- gtk/deprecated/gtkiconfactory.c | 6 +++--- gtk/deprecated/gtkstock.c | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit fbbb3d18160273235cac788d9dd553b8257a6b7b Author: Matthias Clasen Date: Sun Mar 22 14:40:57 2015 -0400 Fix some clang warnings It complains about double const, and it is right. gdk/gdkgl.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 2a444e30f7e39370191d58935b7f36b6fd25e84a Author: Matthias Clasen Date: Sun Mar 22 13:48:02 2015 -0400 Make the blur code compile with clang clang complains that the expression involving sqrt() is not constant, and thus refuses to accept it as a case label. So, use precomputed values instead. https://bugzilla.gnome.org/show_bug.cgi?id=746468 gtk/gtkcairoblur.c | 33 +++++++++++++++++++++++---------- 1 file changed, 23 insertions(+), 10 deletions(-) commit 4ef0c34b656f5768f9327fa4c3ae4f9c1fb3a944 Author: Matthias Clasen Date: Sun Mar 22 11:55:33 2015 -0400 Fix the build gtk/gtksearchbar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit db28b8c600659ce78fafcadea6983eb5f1aa944f Author: Matthias Clasen Date: Sun Mar 22 11:47:23 2015 -0400 tooltip: Minor cleanup Preserve the symmetry in gtk_tooltip_set_last_window. gtk/gtktooltip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a17d6290e404857a1f4bf021d8635a3a1eb9ee19 Author: Matthias Clasen Date: Sun Mar 22 11:46:16 2015 -0400 search bar: Clean up weak pointer handling Break out a setter that manages the weak pointer, and use it in finalize. This also fixes a bug where we were forgetting to disconnect the right signal handler in some cases. gtk/gtksearchbar.c | 56 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 29 insertions(+), 27 deletions(-) commit b55aa154e636237fc7ffbb488bda864cb7c2f650 Author: Matthias Clasen Date: Sun Mar 22 11:45:19 2015 -0400 mount operation: Minor formatting cleanup The pattern for g_object_add_weak_pointer calls is to have the same expression in both arguments. gtk/gtkmountoperation.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit 03417cf8646aebf85301f052587329afae2a8725 Author: Matthias Clasen Date: Sun Mar 22 11:44:37 2015 -0400 menu button: Minor cleanup Preserve the symmetry in set_align_widget_pointer. gtk/gtkmenubutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0c1774b0158ebe299da8bc4a5aec4771ff1f6e5 Author: Matthias Clasen Date: Sun Mar 22 11:44:00 2015 -0400 Clean up some unfortunate formatting "if (...) do" just looks wrong. gtk/gtkfilechooserbutton.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 37774928bd1c01c1c99d782fa2419ca0426e3062 Author: Matthias Clasen Date: Sun Mar 22 11:13:08 2015 -0400 dnd: Introduce a helper to manage the weak pointer Introduce a setter that takes care of updating the weak ref whenever we assign info->widget. Just a cleanup of the previous patch. gtk/gtkdnd.c | 39 +++++++++++++++++++++++---------------- 1 file changed, 23 insertions(+), 16 deletions(-) commit e7eaca95348bbc1aa97b866128402783f21a933a Author: Tom Hughes Date: Sun Mar 22 10:55:00 2015 +0000 DND: Clean up weak pointers when they are no longer needed Failure to do so leads to memory corruption down the road. This was introduced in commit 650c25e06c17. https://bugzilla.gnome.org/show_bug.cgi?id=746602 gtk/gtkdnd.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit ec32d8dade1e50892e3f96678fe22dae6591ed9f Author: Christian Kirbach Date: Sun Mar 22 11:07:20 2015 +0000 Updated German translation po/de.po | 3905 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 1954 insertions(+), 1951 deletions(-) commit 1c007e4196e89b0712da2ff80322639a56c4247d Author: Jordi Mas Date: Sun Mar 22 04:18:27 2015 -0400 Upload Catalan translation po/ca.po | 886 +++++++++++---------------------------------------------------- 1 file changed, 156 insertions(+), 730 deletions(-) commit ca41bb440d0941d7553c552e83c9472299cd6a91 Author: Matthias Clasen Date: Sun Mar 22 02:11:03 2015 -0400 Add an index for new api to the docs docs/reference/gtk/gtk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 5c5464a469c57cbc95096bd15d83b021c0cf73a3 Author: Matthias Clasen Date: Sun Mar 22 01:57:57 2015 -0400 radio-menu-item: Add join_group() The other Radio* widgets have this convenience method that removes the memory management of the opaque GSList used to handle the group from the API usable from language bindings (especially the ones not based on introspection). This commit adds gtk_radio_menu_item_join_group(). https://bugzilla.gnome.org/show_bug.cgi?id=671362 demos/gtk-demo/menus.c | 21 ++++++++------ docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkradiomenuitem.c | 56 ++++++++++++++++++++++++++++++++++++ gtk/gtkradiomenuitem.h | 4 +++ 4 files changed, 73 insertions(+), 9 deletions(-) commit ad05d848971c8837a9a14fd04db58e9f321ca660 Author: Matthias Clasen Date: Sun Mar 22 01:54:08 2015 -0400 radio-menu-item: Allow arguments to be NULL Some arguments, like the group and the label of a RadioMenuItem, can be NULL: the RadioMenuItem has all the code to deal with them. The argument validation is too strict, though, for instance doing: return_if_fail (IS_RADIO_MENU_ITEM (foo)) if (foo != NULL) set_foo (foo) Which is obviously incorrect. This commit also modifies the annotations of the API, to ensure that language bindings do the right thing. https://bugzilla.gnome.org/show_bug.cgi?id=671362 gtk/gtkradiomenuitem.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 955aed92272b88a72617cbadca6f3010920a4f1f Author: Emmanuele Bassi Date: Mon Mar 5 13:09:47 2012 +0000 radio-menu-item: Handle a !NULL group If we create a RadioMenuItem without a group, and then set a group, the menu item will still be set as active, which means an inconsistently drawn radio menu item - as the RadioMenuItem will set the active flag on itself, but then it won't reset it when it gets a new group. https://bugzilla.gnome.org/show_bug.cgi?id=671362 gtk/gtkradiomenuitem.c | 2 ++ 1 file changed, 2 insertions(+) commit c16acff3ea3a09c75541a02afad4b31096e55c2e Author: Matthias Clasen Date: Sun Mar 22 02:00:04 2015 -0400 Start 3.17 development Bump the version to 3.17.0 and add version macros. configure.ac | 4 ++-- gdk/gdkversionmacros.h.in | 24 ++++++++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) commit 03213b9509fc1df16c66194ea168aed6c15110e9 Author: Olivier Fourdan Date: Wed Mar 11 13:52:21 2015 +0100 Improve CSD decorations without a compositor It turned out that using mwm hints to instruct wms to create border-only decorations is not really working universally. So, instead of doing this, render a solid frame without shadow on the client-side to handle this case. https://bugzilla.gnome.org/show_bug.cgi?id=746222 Signed-off-by: Olivier Fourdan gtk/gtkwindow.c | 87 +++++++++++++++++--------------- gtk/theme/Adwaita/_common.scss | 7 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++ gtk/theme/Adwaita/gtk-contained.css | 6 +++ gtk/theme/HighContrast/_common.scss | 7 +++ gtk/theme/HighContrast/gtk.css | 6 +++ gtk/theme/Raleigh/gtk-default.css | 9 ++++ 7 files changed, 88 insertions(+), 40 deletions(-) commit bae97a4c6bcb1c82d4a5f296c3d428173e31c6e4 Author: Matthias Clasen Date: Fri Jan 30 23:32:50 2015 -0500 image: Optimize non-resize changes When the image content is changed, only queue a resize if the size is actually changing, otherwise just a redraw. Suggested by Owen in https://bugzilla.gnome.org/show_bug.cgi?id=613833 gtk/gtkimage.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 90 insertions(+), 17 deletions(-) commit 7bb3d9557f1695d53bdd7fece1421ac8a3faffa7 Author: Christian Hergert Date: Sat Mar 21 14:17:39 2015 -0700 a11y: handle atk race condition where widget has been destroyed If the widget has been destroyed since a DBus message had been sent, we could be in a condition that the widget pointer exists but it does not have a window. This bails as if the widget didn't exist if there is no available GdkWindow. We also set the extents to 0 to be defensive since this is a vfunc implementation. https://bugzilla.gnome.org/show_bug.cgi?id=746586 gtk/a11y/gtktextviewaccessible.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 9e9c0a133e8e8f56f83f43ac4c159472d5631e70 Author: Muhammet Kara Date: Sat Mar 21 21:25:38 2015 +0000 Updated Turkish translation po/tr.po | 6080 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 2844 insertions(+), 3236 deletions(-) commit 8e032622c864c5259786a72ca1b811603ae9ca09 Author: Alexander Larsson Date: Fri Mar 20 14:56:42 2015 +0100 box-shadow: For top/bottom and left/right parts, repeat a single line Since these part really are the same in all of the x or y direction and we don't blur in that direction we can just blur one line and repeat it during drawing. https://bugzilla.gnome.org/show_bug.cgi?id=746468 gtk/gtkcairoblurprivate.h | 3 ++- gtk/gtkcssshadowvalue.c | 29 +++++++++++++++++++++++++++-- 2 files changed, 29 insertions(+), 3 deletions(-) commit 967cb56275a139942c9df78f46134d3a4e4dd1eb Author: Alexander Larsson Date: Fri Mar 20 14:34:44 2015 +0100 shadow-box: Blur only horizontally/vertically for the non-corner parts There is no need to e.g. blur in the x-direction for the top part of a box shadow. Also, there is no need to extend the mask in the non-blurred direction. https://bugzilla.gnome.org/show_bug.cgi?id=746468 gtk/gtkcairoblur.c | 39 +++++++++++++++++++++++-------------- gtk/gtkcairoblurprivate.h | 9 ++++++++- gtk/gtkcssshadowvalue.c | 49 ++++++++++++++++++++++++++++++----------------- tests/blur-performance.c | 2 +- 4 files changed, 65 insertions(+), 34 deletions(-) commit 9c2a16fb3be9bfe1a4e0e30bc7aa6de298541867 Author: Alexander Larsson Date: Fri Mar 20 14:31:57 2015 +0100 shadow-box: Bail out blur early if radius is 1px For radius 1px the current implementation rounds down to a 1 px box filter which is a no-op. Rather than creating useless shadow masks in this case we bail out blurring early. Another alternative would be to make radius 1px round up to a 2 px box filter, but that would change the rendering of Adwaita which is probably not a great idea this late in the cycle. https://bugzilla.gnome.org/show_bug.cgi?id=746468 gtk/gtkcairoblur.c | 4 +++- gtk/gtkcssshadowvalue.c | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) commit d0dc1f52cc41a6c5a881123056e97cf4dfbebea4 Author: Alexander Larsson Date: Thu Mar 19 16:29:32 2015 +0100 gtkcairoblur: Unroll inner loop for common radius values This unrolls the inner blur loop for radius 1-10, allowing the compiler to use a divide-by-constant operation instead of a generic division. Here is the blur-performance output before: Radius 1: 124.95 msec, 32.01 kpixels/msec: Radius 2: 117.27 msec, 34.11 kpixels/msec: Radius 3: 123.57 msec, 32.37 kpixels/msec: Radius 4: 118.17 msec, 33.85 kpixels/msec: Radius 5: 119.32 msec, 33.52 kpixels/msec: Radius 6: 124.17 msec, 32.21 kpixels/msec: Radius 7: 121.04 msec, 33.05 kpixels/msec: Radius 8: 130.64 msec, 30.62 kpixels/msec: Radius 9: 119.47 msec, 33.48 kpixels/msec: Radius 10: 117.95 msec, 33.91 kpixels/msec: Radius 11: 122.38 msec, 32.68 kpixels/msec: Radius 12: 121.92 msec, 32.81 kpixels/msec: Radius 13: 125.45 msec, 31.89 kpixels/msec: Radius 14: 121.63 msec, 32.89 kpixels/msec: Radius 15: 120.18 msec, 33.28 kpixels/msec: And after: Radius 1: 42.26 msec, 94.65 kpixels/msec: Radius 2: 59.15 msec, 67.62 kpixels/msec: Radius 3: 60.29 msec, 66.35 kpixels/msec: Radius 4: 64.53 msec, 61.99 kpixels/msec: Radius 5: 60.07 msec, 66.59 kpixels/msec: Radius 6: 62.43 msec, 64.07 kpixels/msec: Radius 7: 60.36 msec, 66.27 kpixels/msec: Radius 8: 59.59 msec, 67.13 kpixels/msec: Radius 9: 76.17 msec, 52.51 kpixels/msec: Radius 10: 79.41 msec, 50.37 kpixels/msec: Radius 11: 118.92 msec, 33.64 kpixels/msec: Radius 12: 121.31 msec, 32.97 kpixels/msec: Radius 13: 118.30 msec, 33.81 kpixels/msec: Radius 14: 116.82 msec, 34.24 kpixels/msec: Radius 15: 116.99 msec, 34.19 kpixels/msec: I.e. almost double performance for the unrolled radius values. https://bugzilla.gnome.org/show_bug.cgi?id=746468 gtk/gtkcairoblur.c | 41 ++++++++++++++++++++++++++++++----------- 1 file changed, 30 insertions(+), 11 deletions(-) commit ae21e0878278a93b227233381e0f29c3e79980df Author: Alexander Larsson Date: Thu Mar 19 16:25:25 2015 +0100 gtkcairoblur: Minor restructure This just moves get_box_filter_size to the top and makes it a macro (so it can be used as a constant later). https://bugzilla.gnome.org/show_bug.cgi?id=746468 gtk/gtkcairoblur.c | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) commit 9ba185b749542618bc2843517d49dc05ed006164 Author: Alexander Larsson Date: Thu Mar 19 16:24:19 2015 +0100 Add performance test for gtkcairoblur This just creates a large cairo surface and times bluring it at various values of radius. https://bugzilla.gnome.org/show_bug.cgi?id=746468 tests/Makefile.am | 6 ++++++ tests/blur-performance.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) commit dd1af9bbdd13607454fb646093b8e3d9ef6f0423 Author: hanniedu Date: Sat Mar 21 18:25:17 2015 +0100 Updated Dutch translation gtk and gtk-properties master 3.16 po-properties/nl.po | 6254 +++++++++++++++++++++++----------------- po/nl.po | 7984 +++++++++++++++++++++++++++++---------------------- 2 files changed, 8167 insertions(+), 6071 deletions(-) commit 8c8e6588dc07c39a13ae5ca392dd2c4a49eb33df Author: Matthias Clasen Date: Fri Mar 20 20:48:25 2015 -0400 HighContrast: Fix a typo Commit 0a39d7d9 introduced a selected_bg_color with a missing $ in front of it. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) commit 4a2b44467b7603e878c24643d54080acb30a6f74 Author: Gábor Kelemen Date: Fri Mar 20 23:23:24 2015 +0000 Updated Hungarian translation po/hu.po | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 5f52a2c8c931002dfaf2e9cc4837934df3bc058e Author: Balázs Úr Date: Fri Mar 20 22:57:03 2015 +0000 Updated Hungarian translation po/hu.po | 3709 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1971 insertions(+), 1738 deletions(-) commit 40bb2a1616f81262b893b543a8b0bd1bd48532c8 Author: Matthias Clasen Date: Fri Mar 20 16:39:36 2015 -0400 reftests: Add a way to compare different runs gtk-reftest already had an --output=DIR option to tell it where to save all the resulting images. Now you can combine this with the --compare-with=DIR option in a second run to make gtk-reftest compare the .out.png files from the first run with the .out.png files of the current run, instead of producing .ref.png files. The intended use for this is to verify that changes do not affect the generated output. testsuite/reftests/gtk-reftest.c | 32 +++++++++++++++++++++++++++++--- 1 file changed, 29 insertions(+), 3 deletions(-) commit db8e6aa497c4e2c2fd4a235095f966f71be048df Author: Rico Tzschichholz Date: Fri Mar 20 20:18:44 2015 +0100 mir: Fix version annotation, the mir-backend is available since 3.16 gdk/mir/gdkmir.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3f13349f2705d8a7e13264c30f08c0d9f3019d79 Author: Jakub Steiner Date: Fri Mar 20 13:22:47 2015 +0100 fix insensitive and backdrop states - checkboxes, labels and buttons were a mixed bag for :insensitive and :backdrop https://bugzilla.gnome.org/show_bug.cgi?id=746188 gtk/theme/HighContrast/_colors.scss | 1 - gtk/theme/HighContrast/_common.scss | 48 +++++++++++++++-------------- gtk/theme/HighContrast/_drawing.scss | 10 +++--- gtk/theme/HighContrast/gtk.css | 59 ++++++++++++++++++++---------------- 4 files changed, 63 insertions(+), 55 deletions(-) commit d6bfc2b9c9bbd12829af0c379682298ae8715f12 Author: Matthias Clasen Date: Fri Mar 20 06:20:30 2015 -0400 HighContrast: fix insensitive labels Make insensitive labels differerent from regular labels. https://bugzilla.gnome.org/show_bug.cgi?id=746493 gtk/theme/HighContrast/_common.scss | 5 ++++- gtk/theme/HighContrast/gtk.css | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) commit fa1bb8972ac1eabe2f27659de1ac47990c001668 Author: Matthias Clasen Date: Thu Mar 19 22:57:10 2015 -0400 gtk-demo: Plug a memory leak demos/gtk-demo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8e82d0fba2786ad0e09b60d97f7fc59a7d7c105c Author: Matthias Clasen Date: Thu Mar 19 19:11:39 2015 -0400 widget-factory: Fix toolbar on page 3 Set toolbar-style to 'icons' to avoid rectangular buttons. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 7b1ff7c215bd53b7f6b289598364693e8b51315b Author: Kjartan Maraas Date: Thu Mar 19 21:13:10 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 1836 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 809 insertions(+), 1027 deletions(-) commit 3211e82b593fd1c76f5962d03f8ba3807f38ada6 Author: Vadim Rutkovsky Date: Thu Mar 19 12:00:01 2015 +0100 inspector: show accessible name and description gtk/inspector/misc-info.c | 14 +++++++++ gtk/inspector/misc-info.ui | 68 ++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui.h | 2 ++ 3 files changed, 84 insertions(+) commit 6c8c37abbb641f3959ab45a5de4adb2aeb36f653 Author: Carlos Garnacho Date: Thu Mar 19 15:58:00 2015 +0100 wayland: Silence warnings on clipboard data sending cancellation During copy/paste, it may be common that we receive several property changes around the selection atom, this results in warnings when cancelling the previous write attempt. We already honor the last request properly, so we should just cancel silently. gdk/wayland/gdkselection-wayland.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d5160bb950a736d54cedcd2292af1311e5112c04 Author: Carlos Garnacho Date: Thu Mar 19 15:54:48 2015 +0100 wayland: Ensure we re-request the target if the fd changes If we receive wl_data_source.target before .send, the target would already be cached, but we'd take no action on the new fd. gdk/wayland/gdkselection-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a59fd4a9ad3f7c60ada2acd6809ad2173b5107fd Author: Carlos Garnacho Date: Thu Mar 19 15:49:04 2015 +0100 wayland: Don't accept the "TARGETS" target on the wl_data_offer This is handled separately through the data already cached from the wl_data_offer.offer handler, we can avoid this request entirely then. gdk/wayland/gdkselection-wayland.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 4d0e1e0b889b00ba4ac13928d7951068ba5f4dc4 Author: Милош Поповић Date: Thu Mar 19 13:20:12 2015 +0000 Updated Serbian translation po/sr.po | 4492 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2549 insertions(+), 1943 deletions(-) commit d48ba486ee384aa862a8a3861935665c7c53796a Author: Benjamin Otte Date: Thu Mar 19 03:54:38 2015 +0100 Adwaita: Fix context menu shadows not showing up gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 205 +++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 205 +++++++++---------------------- 3 files changed, 123 insertions(+), 289 deletions(-) commit 7dac38f841c883b9e3873f2f26e2afa79ee94621 Author: Bastien Nocera Date: Wed Mar 18 11:44:40 2015 +0100 inspector: Make it easier to cut'n'paste advice message The message says "Enable statistics with GOBJECT_DEBUG=instance-count" but the message itself isn't selectable, making it hard to cut'n'paste. https://bugzilla.gnome.org/show_bug.cgi?id=746391 gtk/inspector/statistics.ui | 1 + 1 file changed, 1 insertion(+) commit ec57c6c10b3a0774a27e11a9279a25b90ce76ed4 Author: Benjamin Otte Date: Wed Mar 18 18:22:17 2015 +0100 csspathnode: Handle context going away Sometimes path nodes can survive longer than the style context that created them. Don't crash in those cases. Fixes startup of mutter. Testcase included. https://bugzilla.gnome.org/show_bug.cgi?id=746407 gtk/gtkcsspathnode.c | 11 +++++++++++ gtk/gtkcsspathnodeprivate.h | 2 ++ gtk/gtkstylecontext.c | 7 +++++-- testsuite/gtk/stylecontext.c | 15 +++++++++++++++ 4 files changed, 33 insertions(+), 2 deletions(-) commit d55c261079370e3ddd61f3dab6bea9067380480e Author: Benjamin Otte Date: Tue Mar 3 00:02:25 2015 +0100 inspector: Add a new page that lists the CSS node tree gtk/Makefile.am | 2 +- gtk/inspector/Makefile.inc | 5 + gtk/inspector/css-node-tree.c | 168 ++++++++++ gtk/inspector/css-node-tree.h | 61 ++++ gtk/inspector/css-node-tree.ui | 58 ++++ gtk/inspector/gtktreemodelcssnode.c | 626 ++++++++++++++++++++++++++++++++++++ gtk/inspector/gtktreemodelcssnode.h | 80 +++++ gtk/inspector/init.c | 2 + gtk/inspector/window.c | 3 + gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 9 + gtk/inspector/window.ui.h | 1 + 12 files changed, 1015 insertions(+), 1 deletion(-) commit 8640bc47b1e7208bc5e3b7a77ef5cf321c74db88 Author: Benjamin Otte Date: Thu Mar 5 20:29:37 2015 +0100 cssnode: Add properties gtk/gtkcssnode.c | 201 ++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkcssnodeprivate.h | 3 + 2 files changed, 199 insertions(+), 5 deletions(-) commit d0d9f5a302f5febccd368ab59a59725b57743587 Author: Benjamin Otte Date: Thu Mar 5 17:51:23 2015 +0100 csswidgetnode: Use style_changed signal instead of update_style vfunc gtk/gtkcsswidgetnode.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) commit 10d39171d929366a6fdfd1903c7424c86aa4ef38 Author: Benjamin Otte Date: Thu Mar 5 17:35:57 2015 +0100 cssnode: Add a style-changed signal The signal gets emitted whenever the style needs to be changed. gtk/gtkcssnode.c | 31 +++++++++++++++++++++++-------- gtk/gtkcssnodeprivate.h | 3 +++ 2 files changed, 26 insertions(+), 8 deletions(-) commit 6988f9b818c398511378de5a28cd68b53745110b Author: Benjamin Otte Date: Sun Mar 1 21:33:54 2015 +0100 cssnode: Add node-added and node-removed signal This allows monitoring the CSS tree. For now, moving a child to a different position relative to its siblings while keeping the same parent will cause a child-added + child-removed emission. gtk/gtkcssnode.c | 156 +++++++++++++++++++++++++++++++----------------- gtk/gtkcssnodeprivate.h | 7 +++ 2 files changed, 107 insertions(+), 56 deletions(-) commit c7fba52a36092d16fcd38c87b6d2a29f160dc4ee Author: Benjamin Otte Date: Sun Mar 1 13:14:01 2015 +0100 cssnode: Track invalid children We need to properly track if a node needs to propagate invalidation state information to its children. We didn't do this properly before and that could lead to us forgetting to invalidate nodes in corner cases. gtk/gtkcssnode.c | 36 +++++++++++++++++++++++++----------- gtk/gtkcssnodeprivate.h | 1 + 2 files changed, 26 insertions(+), 11 deletions(-) commit 7395dddd47caff3c192fd7def3cc95e92191d98d Author: Benjamin Otte Date: Thu Mar 5 06:23:35 2015 +0100 csswidgetnode: Avoid creating a stylecontext If the widget doesn't have a style context, don't create one. Instead, call functions on the widget directly. gtk/gtkcsswidgetnode.c | 19 +++++++++++++++---- gtk/gtkwidget.c | 7 +++++++ gtk/gtkwidgetprivate.h | 1 + 3 files changed, 23 insertions(+), 4 deletions(-) commit d785820c53a165dadd2eb3fa1059846b9e336f0a Author: Benjamin Otte Date: Sat Feb 28 02:22:38 2015 +0100 cssnode: Change the way we invalidate timestamps Do not propagate the TIMESTAMP change through the node tree, as that causes lots of uneeded markings of nodes as invalid. Instead, walk the node tree and find the nodes that have a non-static style and only invalidate timestamps on those. gtk/gtkcssnode.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit 759d8dafd99d47466aaffc355906955a0c658005 Author: Benjamin Otte Date: Fri Feb 27 18:41:13 2015 +0100 cssstyle: Add gtk_css_style_is_static() Gets rid of the need to do if (ANIMATED_STYLE() && animated_style_is_static(ANIMATED_STYLE(style)) gtk/gtkcssanimatedstyle.c | 32 ++++++++++++++++---------------- gtk/gtkcssanimatedstyleprivate.h | 2 -- gtk/gtkcssnode.c | 6 ++---- gtk/gtkcssstyle.c | 16 ++++++++++++++++ gtk/gtkcssstyleprivate.h | 3 +++ 5 files changed, 37 insertions(+), 22 deletions(-) commit d9727290cfcbf68fe55bb29156a312b20ab9e615 Author: Benjamin Otte Date: Wed Feb 25 18:25:01 2015 +0100 cssnode: Special-case TIMESTAMP invalidations Only invalidate timestamps if the node is marked as invalid. We overload the meaning of "invalid" as "tracks timestamps". While I don't like the way this is written, it is an important optimization because 95+% of nodes don't animate so timestamps don't matter to them. But timestamps are invalidated 60x per second. gtk/gtkcssnode.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 68b8f792d6edb7e5e67dbbba0991ce7dc1a7a449 Author: Benjamin Otte Date: Wed Feb 25 18:05:07 2015 +0100 cssnode: Redo style changed tracking We don't return a NULL style to mean "no changes" anymore, instead we check new_style == old_style to mean that. Make sure the code reflects this, otherwise we'll send GTK_CSS_CHANGE_PARENT_STYLE invalidations everywhere and screw up performance. gtk/gtkcssnode.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 776d99ac516ca9754647bb3a582c53c07cd5c3cf Author: Benjamin Otte Date: Mon Feb 23 03:06:02 2015 +0100 stylecontext: Call get_style(), not create_style() We want to ensure that the style is created properly. This also allows making the create_Style() function private. gtk/gtkcssnode.c | 2 +- gtk/gtkcssnodeprivate.h | 4 +--- gtk/gtkstylecontext.c | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) commit 092ff983f734776e31bcfa033c820e8c1f7f1ee3 Author: Benjamin Otte Date: Sun Feb 22 23:28:04 2015 +0100 cssnode: Merge the 2 places that compute styles Now that the widget node recomputes styles on update_style() we can just call it during validate(). That way, we don't need the widget node to manually compute its style. gtk/gtkcssnode.c | 37 ++++++------------- gtk/gtkcssnodeprivate.h | 7 +--- gtk/gtkcsswidgetnode.c | 97 ++----------------------------------------------- 3 files changed, 15 insertions(+), 126 deletions(-) commit df51bc836b24a67a2238a8ae7c2876a21c91a604 Author: Benjamin Otte Date: Sun Feb 22 23:11:22 2015 +0100 cssnode: Always return correct style values If CSS values are queried from a widget, recompute them if necessary. Do not emit style-updated until the validation phase however. This way, we don't run into performance traps when style-update causes invalidations that cause new style-updated to be emitted. gtk/gtkcsswidgetnode.c | 42 +++++++++++++++++++++++++++++++++--------- gtk/gtkcsswidgetnodeprivate.h | 1 + 2 files changed, 34 insertions(+), 9 deletions(-) commit 3d1e2a055897287cb59b3969e0742d5c7d03f003 Author: Benjamin Otte Date: Sun Feb 22 18:04:43 2015 +0100 cssstyle: Add optimization There is no difference between a style and itself. gtk/gtkcssstyle.c | 3 +++ 1 file changed, 3 insertions(+) commit 399df06d1931add5d5b0422f6f99fe4ff1a1faa7 Author: Benjamin Otte Date: Sun Feb 22 08:26:29 2015 +0100 stylecontext: Refactor gtk_style_context_invalidate() There's no need anymore to recreate styles, nodes do that automagically now. This allows making gtk_css_node_set_style() private. gtk/gtkcssnode.c | 2 +- gtk/gtkcssnodeprivate.h | 2 -- gtk/gtkstylecontext.c | 26 +------------------------- 3 files changed, 2 insertions(+), 28 deletions(-) commit 6dd19306eb982597fcf8e9d809128cef5c952dd3 Author: Benjamin Otte Date: Sun Feb 22 08:23:04 2015 +0100 cssnode: Create animated styles by default ... and hardcode transient and path nodes to never create animated styles. gtk/gtkcssnode.c | 55 ++++++++++++++++++++++++++++++++++++++++++----- gtk/gtkcsspathnode.c | 11 ++++++++++ gtk/gtkcsstransientnode.c | 11 ++++++++++ 3 files changed, 72 insertions(+), 5 deletions(-) commit f43543165be4aa3a0732bcbd01559bb21e1f72b1 Author: Benjamin Otte Date: Sun Feb 22 06:19:33 2015 +0100 cssnode: Add optimization Don't even try to propagate changes when we know there are none. gtk/gtkcssnode.c | 3 +++ 1 file changed, 3 insertions(+) commit 295441733520ac2d5a76d45d3d920f0f40c8e288 Author: Benjamin Otte Date: Sat Feb 21 03:40:46 2015 +0100 cssnode: Change the way we start animations We now have a flag for "invalidate animations", use that to restart animations and decide if we want to start transitions. gtk/gtkcsswidgetnode.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) commit 172f345d01f17cf6cfde3456d14436fe468a672f Author: Benjamin Otte Date: Sat Feb 21 00:16:58 2015 +0100 cssnode: Return NULL as frame clock when animations are disabled This is a crude hack, but it works. FIXME: Hook it up to the GtkSettings so that we properly update when the setting changes. gtk/gtkcsswidgetnode.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit fbe796f293dd3ac6f06aa156121d3cde3cb673a2 Author: Benjamin Otte Date: Sat Feb 21 00:15:04 2015 +0100 cssstyle: Handle 0 timestamp to mean "don't animate" gtk/gtkcssanimatedstyle.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 2ec26cd9b5a628b128fa6264ff43d27f6b4ca1ea Author: Benjamin Otte Date: Fri Feb 20 17:36:10 2015 +0100 cssnode: Move style context function to only user gtk/gtkcsswidgetnode.c | 26 +++++++++++++++++++++++++- gtk/gtkstylecontext.c | 30 ------------------------------ gtk/gtkstylecontextprivate.h | 2 -- 3 files changed, 25 insertions(+), 33 deletions(-) commit 4b2cdb37fb9f1d69f0ec5ea82e6a7dbf23aa3e6e Author: Benjamin Otte Date: Fri Feb 20 17:28:23 2015 +0100 cssnode: Remove timestamp from gtk_css_node_validate() GtkCssNode knows its own timestamp. gtk/gtkcontainer.c | 3 +-- gtk/gtkcssnode.c | 16 +++++++++++++--- gtk/gtkcssnodeprivate.h | 3 +-- gtk/gtkwindow.c | 3 +-- 4 files changed, 16 insertions(+), 9 deletions(-) commit dbe5058b86a2e9974b80045ab4b02a4c78e560da Author: Benjamin Otte Date: Thu Feb 19 00:54:14 2015 +0100 cssnode: Add API to query the timestamp ... and pass it to the API that computes new styles. A special timestamp of 0 means "please don't animate" and is used when no frame clock is available for a node. gtk/gtkcssnode.c | 67 ++++++++++++++++++++++++++++++++++++++++++++---- gtk/gtkcssnodeprivate.h | 6 +++++ gtk/gtkcsstypes.c | 2 -- gtk/gtkcsstypesprivate.h | 5 ++-- gtk/gtkcsswidgetnode.c | 36 ++++++++++++++++++++++---- gtk/gtkwidget.c | 4 +++ 6 files changed, 106 insertions(+), 14 deletions(-) commit 5833858abfffa7e31cb9a20fe1c3a8eff078964e Author: Benjamin Otte Date: Wed Feb 18 06:01:41 2015 +0100 cssnode: Make parent style change part of GtkCssNode gtk/gtkcontainer.c | 3 +-- gtk/gtkcssnode.c | 26 ++++++++++++-------------- gtk/gtkcssnodeprivate.h | 6 ++---- gtk/gtkcsstypes.c | 6 ++++-- gtk/gtkcsstypesprivate.h | 1 + gtk/gtkcsswidgetnode.c | 13 +++++-------- gtk/gtkwindow.c | 3 +-- 7 files changed, 26 insertions(+), 32 deletions(-) commit ceaa594fa425dd5926c24dc5bb66f4143821e5ee Author: Benjamin Otte Date: Wed Feb 18 05:55:38 2015 +0100 cssnode: Propagate pending changes after recomputing new style This way we can propagate if the new style actually changed anything. gtk/gtkcssnode.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit cadf6a9d3c0214e2913b8f2e7d65c6f05bd63489 Author: Benjamin Otte Date: Tue Feb 17 16:11:38 2015 +0100 cssnode: Add gtk_css_node_invalidate_style_provider() This function not just invalidates the current node, but also all children. gtk/gtkcssnode.c | 19 +++++++++++++++++++ gtk/gtkcssnodeprivate.h | 2 ++ gtk/gtkstylecontext.c | 2 +- 3 files changed, 22 insertions(+), 1 deletion(-) commit 16b8972beef20b59709114f3bff6825548f7ed52 Author: Benjamin Otte Date: Tue Feb 17 15:18:32 2015 +0100 cssnode: Change get_style_provider() vfunc Instead of always returning a provider, allow the vfunc to return NULL to mane "use same provider as parent". This allows a bunch of optimizations. gtk/gtkcssnode.c | 26 ++++++++++++++++++++------ gtk/gtkcssnodeprivate.h | 1 + gtk/gtkcsspathnode.c | 2 +- gtk/gtkcsswidgetnode.c | 2 +- 4 files changed, 23 insertions(+), 8 deletions(-) commit c0f6e746a0ae378359eb065df269d58b413160dd Author: Benjamin Otte Date: Tue Feb 17 05:01:09 2015 +0100 cssnode: Implement a way to properly track invalidations See the comment in gtkcssnodeprivate.h for how this works. gtk/gtkcssnode.c | 116 +++++++++++++++++++++++++++++++++--------------- gtk/gtkcssnodeprivate.h | 6 +++ 2 files changed, 85 insertions(+), 37 deletions(-) commit 13fd36878196c78c74b14da205bd7e9c108d2ab5 Author: Benjamin Otte Date: Sat Feb 14 06:45:21 2015 +0100 cssnode: Change vfunc This is mainly an attempt to merge the update_style() and validte() vfuncs. Code is not there yet, but that's the idea. Also, gtk_css_node_set_style() should not be public. And this gets closer to that goal, too. gtk/gtkcssnode.c | 18 +++++++++++++++--- gtk/gtkcssnodeprivate.h | 3 ++- gtk/gtkcsswidgetnode.c | 20 ++++++++++---------- 3 files changed, 27 insertions(+), 14 deletions(-) commit 75b633ae0826a249c7cf50691050b7a98931fec5 Author: Benjamin Otte Date: Sat Feb 14 06:40:00 2015 +0100 cssnode: Only pass a boolean for parent changes Nobody cares what changed in the parent, so don't track it. gtk/gtkcontainer.c | 8 +------- gtk/gtkcssnode.c | 18 ++++++++---------- gtk/gtkcssnodeprivate.h | 6 +++--- gtk/gtkcsswidgetnode.c | 18 +++++++++++------- gtk/gtkwindow.c | 5 +---- 5 files changed, 24 insertions(+), 31 deletions(-) commit da25771e5861440cc487c4dab37b20f1a704557b Author: Benjamin Otte Date: Sat Feb 14 02:27:39 2015 +0100 cssvalue: Remove GtkCssDependencies They are not used anymore. gtk/deprecated/gtkgradient.c | 16 +++++-------- gtk/deprecated/gtkgradientprivate.h | 5 ++--- gtk/deprecated/gtksymboliccolor.c | 2 -- gtk/gtkcssarrayvalue.c | 8 ++----- gtk/gtkcssbgsizevalue.c | 11 +++------ gtk/gtkcssbordervalue.c | 7 ++---- gtk/gtkcsscolorvalue.c | 45 ++++++++----------------------------- gtk/gtkcsscolorvalueprivate.h | 2 -- gtk/gtkcsscornervalue.c | 9 +++----- gtk/gtkcsseasevalue.c | 3 +-- gtk/gtkcssenginevalue.c | 3 +-- gtk/gtkcssenumvalue.c | 13 +++-------- gtk/gtkcssiconthemevalue.c | 3 +-- gtk/gtkcssimage.c | 13 +++-------- gtk/gtkcssimagebuiltin.c | 6 +---- gtk/gtkcssimagegradient.c | 5 ++--- gtk/gtkcssimageicontheme.c | 5 +---- gtk/gtkcssimagelinear.c | 12 ++++------ gtk/gtkcssimageprivate.h | 6 ++--- gtk/gtkcssimagescaled.c | 6 ++--- gtk/gtkcssimageurl.c | 3 +-- gtk/gtkcssimagevalue.c | 5 ++--- gtk/gtkcssinheritvalue.c | 7 ++---- gtk/gtkcssinitialvalue.c | 6 ++--- gtk/gtkcsskeyframes.c | 3 +-- gtk/gtkcssnumbervalue.c | 14 +++++------- gtk/gtkcsspositionvalue.c | 9 +++----- gtk/gtkcssrepeatvalue.c | 3 +-- gtk/gtkcssrgbavalue.c | 3 +-- gtk/gtkcssshadowsvalue.c | 7 ++---- gtk/gtkcssshadowvalue.c | 28 +++++------------------ gtk/gtkcssstaticstyle.c | 3 +-- gtk/gtkcssstringvalue.c | 3 +-- gtk/gtkcssstylefuncs.c | 26 ++++++--------------- gtk/gtkcssstylefuncsprivate.h | 3 +-- gtk/gtkcsstransformvalue.c | 39 +++++++++++--------------------- gtk/gtkcsstypedvalue.c | 5 ++--- gtk/gtkcsstypes.c | 8 ------- gtk/gtkcsstypesprivate.h | 9 -------- gtk/gtkcssunsetvalue.c | 6 ++--- gtk/gtkcssvalue.c | 13 ++--------- gtk/gtkcssvalueprivate.h | 6 ++--- gtk/gtkstylecontext.c | 13 ++++------- gtk/gtkstylecontextprivate.h | 3 +-- 44 files changed, 109 insertions(+), 296 deletions(-) commit e95985da26c8fed22b9e05aa3ff9b4a5a53e3ad4 Author: Benjamin Otte Date: Sat Feb 14 01:59:17 2015 +0100 cssstyle: Remove unused optimization After measuring it, I realized the optimization never triggers for Adwaita and rarely ever triggers for simple themes. So it is not useful to keep it around. gtk/gtkcssnode.c | 33 ------------ gtk/gtkcssnodeprivate.h | 3 -- gtk/gtkcssstaticstyle.c | 114 ----------------------------------------- gtk/gtkcssstaticstyleprivate.h | 10 ---- gtk/gtkcsswidgetnode.c | 9 +--- 5 files changed, 2 insertions(+), 167 deletions(-) commit 6f9969f4fe112006a9316575d3beeea4a4ed6c60 Author: Benjamin Otte Date: Fri Feb 13 22:04:26 2015 +0100 csswidgetnode: Always return a valid style gtk/gtkcsswidgetnode.c | 3 +++ 1 file changed, 3 insertions(+) commit b827725aceabfc88e33f80eec78ece029f2553c6 Author: Benjamin Otte Date: Fri Feb 13 22:00:06 2015 +0100 csspathnode: Call gtk_style_context_validate() Don't call gtk_style_context_invalidate(), that function does too much work. gtk/gtkcsspathnode.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 6c00eba7fbad4b4ee8a295e9826541bef48c29aa Author: Benjamin Otte Date: Fri Feb 13 21:21:46 2015 +0100 testsuite: Add another random stylecontext test testsuite/gtk/stylecontext.c | 46 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit d3471508a0fbca2ebfbf8be6c71da5d4ecda2dbe Author: Benjamin Otte Date: Fri Feb 13 19:57:55 2015 +0100 cssnode: Use the frame clock's time ... nstead of the monotonic time when validating a cssnode. gtk/gtkcontainer.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 9b73b39f9ad2b8d4ddb884d89da551e7a69c426b Author: Benjamin Otte Date: Fri Feb 13 12:44:04 2015 +0100 cssnode: Treat transient nodes as invisible nodes Making transient nodes invisible allows us to remove special cases without any bad side effects and they continue working just like they did before. gtk/gtkcssnode.c | 11 ----------- gtk/gtkcsstransientnode.c | 1 + 2 files changed, 1 insertion(+), 11 deletions(-) commit 2670ae443651ed1fc8da5b9fd8fa88b7564725cb Author: Benjamin Otte Date: Tue Feb 10 02:53:28 2015 +0100 reftests: Add a reftest for box sibling ordering testsuite/reftests/Makefile.am | 3 + testsuite/reftests/box-order.css | 32 ++ testsuite/reftests/box-order.ref.ui | 485 +++++++++++++++++++++++++++++++ testsuite/reftests/box-order.ui | 565 ++++++++++++++++++++++++++++++++++++ 4 files changed, 1085 insertions(+) commit 2694545468cdcee127d2b17d9b01d51f2cd8ce6f Author: Benjamin Otte Date: Tue Feb 10 02:50:57 2015 +0100 cssnode: Add visibility concept This allows hiding nodes of invisible widgets. And that in turn makes sure :nth-child() works as expected. gtk/gtkcssmatcher.c | 30 +++++++++++++++++++++++++----- gtk/gtkcssnode.c | 34 +++++++++++++++++++++++++++++----- gtk/gtkcssnodeprivate.h | 5 +++++ gtk/gtkcsswidgetnode.c | 2 ++ gtk/gtkwidget.c | 4 ++++ 5 files changed, 65 insertions(+), 10 deletions(-) commit ee91fb71ca5073d30bf7d4f651798d802f7bfa7f Author: Benjamin Otte Date: Mon Feb 9 22:51:28 2015 +0100 box: Use CSS nodes instead of widget paths This is a very simple patch that causes a bunch of overhead. But it works. gtk/gtkbox.c | 19 ++++++++++++++----- gtk/gtkcssnode.c | 24 ++++++++++++++++++++++++ gtk/gtkcssnodeprivate.h | 4 ++++ gtk/gtkcsswidgetnode.c | 5 ++++- 4 files changed, 46 insertions(+), 6 deletions(-) commit b92fe2fa851b5ef61ad3d87fac1cd24babaf216e Author: Benjamin Otte Date: Mon Feb 9 22:27:44 2015 +0100 widget: Add gtk_widget_get_css_node() and replace gtk_style_context_get_root() with it. gtk/gtkcontainer.c | 2 +- gtk/gtkstylecontext.c | 3 ++- gtk/gtkstylecontextprivate.h | 1 - gtk/gtkwidget.c | 11 +++++++---- gtk/gtkwidgetprivate.h | 1 + gtk/gtkwindow.c | 2 +- 6 files changed, 12 insertions(+), 8 deletions(-) commit 507016cafc407b2c47aea3fd1483df75e9757f29 Author: Benjamin Otte Date: Mon Feb 9 22:03:13 2015 +0100 cssnode: Refactor node tree modification code This allows adding more API for it. It also includes code that tracks modifications and invalidates siblings and their positions whenever nodes get added or removed. gtk/gtkcssnode.c | 142 ++++++++++++++++++++++++++++++++---------------- gtk/gtkcssnodeprivate.h | 2 +- 2 files changed, 97 insertions(+), 47 deletions(-) commit 310f9f40dac12471197e33d745ae46dd0d8aeb22 Author: Benjamin Otte Date: Mon Feb 9 18:38:57 2015 +0100 cssnode: Add hackery to allow bypassing widget paths If we know the parent's get_path_for_child() implementation is safe to be used with GtkCssNode because it doesn't do anything special, we do that. Unfortunately that requires whitelisting vfuncs because the vfunc is public API so anyone can override it. gtk/gtkcsswidgetnode.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit ee6d081ed905bf2b561341353a1a88bf433a6c23 Author: Benjamin Otte Date: Mon Feb 9 17:26:07 2015 +0100 cssnode: Remove now unused arg from vfunc gtk/gtkcssmatcher.c | 4 ++-- gtk/gtkcssnode.c | 23 +++++------------------ gtk/gtkcssnodeprivate.h | 6 ++---- gtk/gtkcsspathnode.c | 3 +-- gtk/gtkcsswidgetnode.c | 3 +-- 5 files changed, 11 insertions(+), 28 deletions(-) commit 89115be3cb9d7a495cfd5f5e54bbf582581c040d Author: Benjamin Otte Date: Mon Feb 9 16:41:06 2015 +0100 cssnode: Add a matcher for nodes ... and use that matcher by default - ie for transient nodes. gtk/gtkcssmatcher.c | 179 +++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssmatcherprivate.h | 9 +++ gtk/gtkcssnode.c | 18 +---- 3 files changed, 189 insertions(+), 17 deletions(-) commit 2a5194b6356ac58de144eb436f1d68ec216bce19 Author: Benjamin Otte Date: Mon Feb 9 16:14:03 2015 +0100 cssnode: Make widget node not copy the path Instead, use gtk_widget_get_path() which makes GtkWidget cache the path. This is a temporary solution until we can get rid of widget paths. This increases memory usage quite noticably. gtk/gtkcsswidgetnode.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 2143abe5ee1cfb0cfe93af781c621a9aba9cf6af Author: Benjamin Otte Date: Mon Feb 9 15:21:48 2015 +0100 cssnode: Make widget node use new matcher gtk/gtkcsswidgetnode.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 76ca9a9181a5d7e71896cf74753bff68df8752b2 Author: Benjamin Otte Date: Mon Feb 9 11:29:48 2015 +0100 cssnode: Make path node create matcher without copying ... the WidgetPath. This uses the functionality introduced in the previous commits. gtk/gtkcsspathnode.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 2bf7bdd651bb4cdec54831667c11fbead43b1246 Author: Benjamin Otte Date: Mon Feb 9 11:24:29 2015 +0100 cssmatcher: Allow widget path matcher to take a node declaration The node declaration has the same functionality as gtk_css_node_declaration_add_to_widget_path(). So instead of using that function on a path, you can use the original path and the declaration in a matcher. gtk/gtkcssmatcher.c | 37 ++++++++++++++++++++++++++++++++++--- gtk/gtkcssmatcherprivate.h | 4 +++- gtk/gtkcssnode.c | 2 +- gtk/gtkcssnodedeclarationprivate.h | 4 +--- gtk/gtkcssprovider.c | 2 +- gtk/gtkcsstypesprivate.h | 1 + 6 files changed, 41 insertions(+), 9 deletions(-) commit 630f0f199ef791c3657472429d850242c973eefe Author: Benjamin Otte Date: Mon Feb 9 09:41:48 2015 +0100 cssnode: Split out a function So far the vfunc is kinda quirky (the path argument is an out argument for something you have to free when you're done with the matcher), but I'm about to change that. gtk/gtkcssmatcherprivate.h | 1 - gtk/gtkcssnode.c | 52 +++++++++++++++++++++++++++++++++++++++------- gtk/gtkcssnodeprivate.h | 10 ++++++++- gtk/gtkcsstypesprivate.h | 3 ++- 4 files changed, 55 insertions(+), 11 deletions(-) commit 5df01f9244fc669a0fb95e6b7494d31e6ef737da Author: Benjamin Otte Date: Sun Feb 15 22:26:13 2015 +0100 widget: Create widget path classes from proper style We don't want to add the current classes to the widget path - which might potentially be different after a gtk_style_context_save() - but the root node's ones. So what better thing to do than actually using the root node? gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5edc6d94d170c0ca0f674c329bee453bfd2291fe Author: Benjamin Otte Date: Sun Feb 8 16:44:11 2015 +0100 widget: Use correct type for widgetpath creation This is relevant when the widget path is created while the widget is still constructing. G_OBJECT_TYPE(widget) might not point to the final type yet. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffb410f11ee032ba8792a5b3c3ee1f739aa8c841 Author: Benjamin Otte Date: Sun Feb 8 16:37:08 2015 +0100 widget: Create the CssNode ... and pass it to the style context instead of having the style context create it for us. gtk/gtkstylecontext.c | 39 +++++++++++++-------------------------- gtk/gtkstylecontextprivate.h | 4 ++-- gtk/gtkwidget.c | 30 ++++++++++++++++++++---------- 3 files changed, 35 insertions(+), 38 deletions(-) commit 28043f0a9211fd7b2523030c7944995050cf93ec Author: Benjamin Otte Date: Sun Feb 8 12:15:27 2015 +0100 cssnode: Refactor invalidation propagation We want to be sure to gtk_css_node_invalidate() all potential changes. gtk/gtkcontainer.c | 1 - gtk/gtkcssnode.c | 29 ++++++++++++++++++++++++----- gtk/gtkcssnodeprivate.h | 1 - gtk/gtkwindow.c | 1 - 4 files changed, 24 insertions(+), 8 deletions(-) commit efda30c4956c129d975727d8ec658567b5195582 Author: Benjamin Otte Date: Sat Feb 7 19:03:37 2015 +0100 stylecontext: Don't queue animate tick callbacks anymore Instead, just mark nodes permanently as invalid. gtk/gtkcssnodeprivate.h | 2 +- gtk/gtkcsswidgetnode.c | 4 ++ gtk/gtkstylecontext.c | 131 ------------------------------------------- gtk/gtkstylecontextprivate.h | 2 - gtk/gtkwidget.c | 6 -- 5 files changed, 5 insertions(+), 140 deletions(-) commit 020f3f11c801617b8acdba3dcbc852426aba848f Author: Benjamin Otte Date: Sat Feb 7 18:53:07 2015 +0100 cssnode: Handle invalidate queueing differently Instead of directly requesting the layout phase, register a tick callback. This is what the docs suggest for animations and it's what we need for the next commit. gtk/gtkcsswidgetnode.c | 20 +++++++++++++++++--- gtk/gtkcsswidgetnodeprivate.h | 1 + 2 files changed, 18 insertions(+), 3 deletions(-) commit cdd964a3af4ac73ba09c975e73054c5ba618ed99 Author: Benjamin Otte Date: Sat Feb 7 17:19:07 2015 +0100 cssnode: Change way invalidation is handled Have a queue_validate() vfunc and a dequeue_validate() vfunc that are called only on root nodes so they can queue a validation on their frame clocks. gtk/gtkcssnode.c | 54 +++++++++++++++++++++++++++++++++++++++++------ gtk/gtkcssnodeprivate.h | 4 ++-- gtk/gtkcsspathnode.c | 8 ------- gtk/gtkcsstransientnode.c | 8 ------- gtk/gtkcsswidgetnode.c | 11 +++------- 5 files changed, 52 insertions(+), 33 deletions(-) commit 5f19f09ac341e35bece2c22454a9384e3b79e0db Author: Benjamin Otte Date: Sat Feb 7 10:30:27 2015 +0100 cssnode: Refactor gtk_css_widget_node_validate() Makes it clearer what actually happens in that function. gtk/gtkcsspathnode.c | 14 +++++++ gtk/gtkcsswidgetnode.c | 108 +++++++++++++++++++++++-------------------------- 2 files changed, 64 insertions(+), 58 deletions(-) commit caf2fc9a10959743caf580d4967750c213b8c6c8 Author: Benjamin Otte Date: Thu Feb 5 06:49:59 2015 +0100 cssnode: Only recreate styles when needed gtk/gtkcssnode.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 219e52f7e1d73fa87b31dfc24950ea7bfe2c32dc Author: Benjamin Otte Date: Wed Feb 4 04:43:55 2015 +0100 cssnode: Automatically recreate style on get_style() call When the style is invalid, redo it. Make this a vfunc, so the widget nodes can opt out. gtk/gtkcssnode.c | 31 ++++++++++++++++++++++++++++--- gtk/gtkcssnodeprivate.h | 6 ++++-- gtk/gtkcsspathnode.c | 5 +---- gtk/gtkcsstransientnode.c | 8 -------- gtk/gtkcsswidgetnode.c | 9 +++++++++ gtk/gtkstylecontext.c | 21 ++------------------- 6 files changed, 44 insertions(+), 36 deletions(-) commit 71813671ef51eb555084a3823e7d6c872870ed2b Author: Benjamin Otte Date: Tue Feb 3 15:36:01 2015 +0100 cssnode: Track pending changes here ... instead of GtkCssWidgetNode. gtk/gtkcssnode.c | 5 +++++ gtk/gtkcssnodeprivate.h | 4 +++- gtk/gtkcsswidgetnode.c | 13 ------------- gtk/gtkcsswidgetnodeprivate.h | 2 -- 4 files changed, 8 insertions(+), 16 deletions(-) commit c550cf122a8b6352f3f3bdc35db2dccd9c3a7a98 Author: Benjamin Otte Date: Mon Feb 2 15:35:08 2015 +0100 stylecontext: Move gtk_style_context_validate() to GtkCssWidgetNode gtk/gtkcsswidgetnode.c | 104 ++++++++++++++++++++++++++++++++++++++-- gtk/gtkstylecontext.c | 111 ++----------------------------------------- gtk/gtkstylecontextprivate.h | 9 ++-- 3 files changed, 107 insertions(+), 117 deletions(-) commit 649edbe2fc997fade74e006699fd1c3ddeaa772d Author: Benjamin Otte Date: Mon Feb 2 15:34:32 2015 +0100 stylecontext: Move style creation functions to CssNode code gtk/gtkcssnode.c | 162 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssnodeprivate.h | 4 + gtk/gtkstylecontext.c | 195 +++--------------------------------------------- 3 files changed, 176 insertions(+), 185 deletions(-) commit c4b88e05fd6f7018a2ed241610ed97323650ec41 Author: Benjamin Otte Date: Sun Feb 1 16:43:58 2015 +0100 stylecontext: Redo handling of differing state Instead of passing an "override_state" flag, create a new CssNode just for this simple lookup. gtk/gtkcssnode.c | 6 ------ gtk/gtkcssnodeprivate.h | 1 - gtk/gtkstylecontext.c | 43 ++++++++++++++++++++++++++----------------- 3 files changed, 26 insertions(+), 24 deletions(-) commit 637a4bda5ced8c3777673ef171ba9e6c62eab46f Author: Benjamin Otte Date: Sun Feb 1 07:33:40 2015 +0100 stylecontext: Get rid of stylecontext argument ... to a bunch of functions. This requires a tiny change to the heuristics for the style cache - we now cache styles when they have the same style provider as their parent instead of when they have the default provider - but that change doesn't have any effect in practice. gtk/gtkstylecontext.c | 61 +++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) commit 03ac5f310bc6b11907d1c4bda152b0191fad7661 Author: Benjamin Otte Date: Sat Jan 31 16:30:05 2015 +0100 cssnode: Add gtk_style_context_get_style_provider() ... and use it when looking up properties. gtk/gtkcssnode.c | 16 ++++++++++++++++ gtk/gtkcssnodeprivate.h | 2 ++ gtk/gtkcsspathnode.c | 12 ++++++++++++ gtk/gtkcsswidgetnode.c | 12 ++++++++++++ gtk/gtkstylecontext.c | 18 ++++++++++-------- gtk/gtkstylecontextprivate.h | 2 ++ 6 files changed, 54 insertions(+), 8 deletions(-) commit 6dc6af674c8c120192c15a943819fe2a152ddfe9 Author: Benjamin Otte Date: Fri Jan 30 16:28:41 2015 +0100 stylecontext: Remove children list It's not needed. gtk/gtkstylecontext.c | 6 ------ 1 file changed, 6 deletions(-) commit 4cc2af2db13bbeda0a10adb3bce7b1fa4f28b03b Author: Benjamin Otte Date: Fri Jan 30 16:27:17 2015 +0100 stylecontext: Move validation into GtkCssNode gtk/gtkcontainer.c | 8 +++---- gtk/gtkcssnode.c | 54 +++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssnodeprivate.h | 8 +++++++ gtk/gtkcsswidgetnode.c | 35 +++++++++++++++++---------- gtk/gtkcsswidgetnodeprivate.h | 2 -- gtk/gtkstylecontext.c | 56 +++---------------------------------------- gtk/gtkstylecontextprivate.h | 3 ++- gtk/gtkwindow.c | 8 +++---- 8 files changed, 97 insertions(+), 77 deletions(-) commit 8e1017db355a75f20461fe20761932a9095ad325 Author: Benjamin Otte Date: Fri Jan 30 11:42:22 2015 +0100 stylecontext: Export gtk_style_context_get_root() .. in the private header. This avoids tiny wrapper functions. gtk/gtkstylecontext.c | 20 +++++--------------- gtk/gtkstylecontextprivate.h | 4 ++-- gtk/gtkwidget.c | 2 +- 3 files changed, 8 insertions(+), 18 deletions(-) commit 55e68bc2ea2200090527c791be8aa126742a776d Author: Benjamin Otte Date: Wed Jan 28 05:14:47 2015 +0100 cssnode: Track invalid flag Remove it from GtkStyleContext. gtk/gtkcssnode.c | 26 ++++++++++++++++++++++++++ gtk/gtkcssnodeprivate.h | 6 ++++++ gtk/gtkcsspathnode.c | 8 ++++++++ gtk/gtkcsstransientnode.c | 8 ++++++++ gtk/gtkcsswidgetnode.c | 24 +++++++++++++++++++----- gtk/gtkstylecontext.c | 34 ++-------------------------------- gtk/gtkstylecontextprivate.h | 2 -- 7 files changed, 69 insertions(+), 39 deletions(-) commit a589f988218d343e3aa0f7d98d16b8e52a86b7bc Author: Benjamin Otte Date: Mon Jan 26 06:13:01 2015 +0100 cssnode: Implement refcounting The parent refs the child, so gtk_css_node_set_parent() adds/removes a reference. We should probably refactor this so that we name the function parent.add(node) instead of node.set_parent(parent) - makes the refcounting more clear. gtk/gtkcssnode.c | 22 ++++++++++++++++++++++ gtk/gtkstylecontext.c | 2 ++ 2 files changed, 24 insertions(+) commit 721dce73e088ed92e74a5b6593f58e91621cc6ea Author: Benjamin Otte Date: Mon Jan 26 02:18:06 2015 +0100 stylecontext: Handle parent in CssNode code Make CssNode a real tree with a DOM-like API. gtk/gtkcssnode.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkcssnodeprivate.h | 12 +++++++- gtk/gtkstylecontext.c | 22 +++++++-------- gtk/gtkwidget.c | 4 +-- 4 files changed, 96 insertions(+), 17 deletions(-) commit 8c73799ca8e170f38eb6afe8604ac5973f6bf141 Author: Benjamin Otte Date: Sun Jan 25 06:14:48 2015 +0100 stylecontext: Move relevant_changes tracking to GtkCssWidgetNode gtk/gtkcsswidgetnode.c | 18 ++++++++++++++- gtk/gtkcsswidgetnodeprivate.h | 12 ++++++---- gtk/gtkstylecontext.c | 52 +++++++++++++++++-------------------------- gtk/gtkstylecontextprivate.h | 4 ++-- 4 files changed, 47 insertions(+), 39 deletions(-) commit 7bafb63ec3b04764f8986b82f1a6c6e1e73eea3b Author: Benjamin Otte Date: Sun Jan 25 02:40:40 2015 +0100 cssnode: Handle invalidation Handle invalidation of node inside the CssNode code, don't do it in the stylecontext. gtk/gtkcssnode.c | 47 ++++++++++++++++++-------- gtk/gtkcssnodeprivate.h | 16 +++++---- gtk/gtkcsspathnode.c | 31 ++++++++++++++++-- gtk/gtkcsspathnodeprivate.h | 3 +- gtk/gtkcsstransientnode.c | 8 +++++ gtk/gtkcsswidgetnode.c | 16 +++++++++ gtk/gtkstylecontext.c | 78 +++++++++++++------------------------------- gtk/gtkstylecontextprivate.h | 2 ++ 8 files changed, 123 insertions(+), 78 deletions(-) commit d79a44c1afaea14cd8442df61631154fe0bdd441 Author: Benjamin Otte Date: Sat Jan 24 20:57:17 2015 +0100 stylecontext: Get rid of create_query_path() Move that functionality into GtkCssNode. gtk/gtkcsspathnode.c | 18 +++++++++++++++--- gtk/gtkcsswidgetnode.c | 18 +++++++++++++++--- gtk/gtkstylecontext.c | 38 +++----------------------------------- 3 files changed, 33 insertions(+), 41 deletions(-) commit 6f99a3cdb0cd6b8bc6c31cffde31ad7257915b66 Author: Benjamin Otte Date: Sat Jan 24 20:52:34 2015 +0100 stylecontext: Change arguments for build_properties Instead of passing the style declaration, take the node's style declaration. Add arguments to allow overriding the state for the one case where this didn't work. gtk/gtkstylecontext.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 0e3da2f7cfcc55e8243941011f40f9e85ff15410 Author: Benjamin Otte Date: Sat Jan 24 20:05:33 2015 +0100 stylecontext: Compute rootness of CssNode .. instead of passing it as an argument. gtk/gtkstylecontext.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit b9f1f8aa38da42ee85f4f7bf71adfaef2711f2a0 Author: Benjamin Otte Date: Sat Jan 24 19:51:05 2015 +0100 stylecontext: Pass cssnode to build_properties gtk/gtkstylecontext.c | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) commit 21c3b135966ae6460dd51bad52c98e5d135d5a81 Author: Benjamin Otte Date: Sat Jan 24 19:44:47 2015 +0100 stylecontext: Simplify a function gtk/gtkstylecontext.c | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) commit 40d94fcd38a9501db04ff3194c918b25ca69650d Author: Benjamin Otte Date: Sat Jan 24 18:55:54 2015 +0100 stylecontext: Remove values cache The code is confusing the stylecontext=>node transition, so I'll remove it. WIth the recent introduction of the parent style cachen, I'm not sure it's worth it at all. Some crude benchmarking suggests a slight speedup when removing the cache. So no guarantees about adding it back later. gtk/gtkstylecontext.c | 75 +++++---------------------------------------------- 1 file changed, 6 insertions(+), 69 deletions(-) commit e2f6d4db431e7cb2e21e18bf36783d361697385c Author: Benjamin Otte Date: Mon Jan 12 03:58:21 2015 +0100 cssnode: Split into 3 objects - GtkCssWidgetNode for style contexts owned by a widget - GtkCssPathNode for style contexts using a GtkWidgetPath - GtkCssTransientNode for nodes created with gtk_style_context_save()/restore() gtk/Makefile.am | 8 +- gtk/gtkcssnode.c | 46 +++++---- gtk/gtkcssnodeprivate.h | 9 +- gtk/gtkcsspathnode.c | 89 +++++++++++++++++ gtk/gtkcsspathnodeprivate.h | 58 +++++++++++ gtk/gtkcsstransientnode.c | 82 ++++++++++++++++ gtk/gtkcsstransientnodeprivate.h | 51 ++++++++++ gtk/gtkcsswidgetnode.c | 93 ++++++++++++++++++ gtk/gtkcsswidgetnodeprivate.h | 58 +++++++++++ gtk/gtkstylecontext.c | 204 ++++++++++++++++++++++++--------------- 10 files changed, 597 insertions(+), 101 deletions(-) commit 726d8abb7d890ec696f933da6c1c8687ca640fa5 Author: Benjamin Otte Date: Sat Jan 10 23:49:04 2015 +0100 cssnode: Turn into a GObject This will allow us to use subclasses. gtk/gtkcssnode.c | 45 ++++++++++++++++++++++++++------------------- gtk/gtkcssnodeprivate.h | 28 +++++++++++++++++++++++++--- gtk/gtkstylecontext.c | 4 ++-- 3 files changed, 53 insertions(+), 24 deletions(-) commit cf6d9edc12baada26b76f4b052aea8ed5aac9a75 Author: Benjamin Otte Date: Sat Jan 10 22:35:38 2015 +0100 stylecontext: Turn CssNode accesses into getters/setters That way we can hide the struct in the source file. gtk/gtkcssnode.c | 146 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssnodeprivate.h | 44 ++++++++++++--- gtk/gtkstylecontext.c | 72 ++++++++++++------------ 3 files changed, 220 insertions(+), 42 deletions(-) commit be596f3967c184e66f8ba5fde2880b4220989a75 Author: Benjamin Otte Date: Sat Jan 10 00:47:32 2015 +0100 stylecontext: Split out GtkCssNode into own file The functionality of it is supposed to grow, so better put it in a custom file early. This is just a naive split so far, the next patches will split things further. gtk/Makefile.am | 2 ++ gtk/gtkcssnode.c | 69 +++++++++++++++++++++++++++++++++++++++ gtk/gtkcssnodeprivate.h | 47 ++++++++++++++++++++++++++ gtk/gtkstylecontext.c | 87 ++++++++++++++----------------------------------- 4 files changed, 142 insertions(+), 63 deletions(-) commit 99c4f2dd3947c290e3ea19153202be3e43b22add Author: Benjamin Otte Date: Wed Mar 18 15:22:09 2015 +0100 render: Make image effect not depend on state Instead rely on -gtk-image-effect only. Adwaita should already work this way. Relying on state was a leftover feature from the GTK 2 days. gtk/gtkrender.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 0529e15d61e9e23ad16562d93491ed25f96eef77 Author: Benjamin Otte Date: Tue Mar 17 16:45:05 2015 +0100 notebook: Protect against invalid allocations A widget can be mapped but not have a size allocated yet. In that case avoid computing a broken rectangle. https://bugzilla.gnome.org/show_bug.cgi?id=746301 gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit dcfa55ac7e119f8ae8e5670291fdd20968fc5a58 Author: Carlos Garnacho Date: Tue Mar 17 17:59:15 2015 +0100 wayland: Fix thinko in wl_data_source.cancelled handler The wl_data_source may be the clipboard's. Looking up the drag context in order to get the display isn't going to fare well there. So, just use the default display, and only look up the drag context when we know we need it. https://bugzilla.gnome.org/show_bug.cgi?id=746386 gdk/wayland/gdkselection-wayland.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 28063ee2e42e7ce47b7bd5326f2d53875a377d57 Author: Christian Hergert Date: Mon Feb 9 16:41:48 2015 -0800 textview: add support for underline and strikethrough colors This commit adds the GtkTextTag:underline-rgba and :strikethrough-rgba properties and the necessary plumbing to apply these colors in GtkTextLayout. With this change, you can alter the color of underlines including those of type PANGO_UNDERLINE_ERROR. You might want to alter the underline color to differentiate between spelling and grammer mistakes. In code editors, it is convenient to differentiate between errors and warnings. Note that the GtkTextAppearance struct is public ABI and has no spare room for new fields, so we are resorting to some tricky packing to store the colors in the unused pixel field of the fg_color and bg_color structs. This packing is accomplished by the macros in gtktextattributesprivate.h. Signed-off-by: Christian Hergert https://bugzilla.gnome.org/show_bug.cgi?id=402168 gtk/Makefile.am | 1 + gtk/gtktextattributes.c | 23 +++++- gtk/gtktextattributes.h | 4 +- gtk/gtktextattributesprivate.h | 75 +++++++++++++++++ gtk/gtktextbuffer.c | 28 +++++++ gtk/gtktextdisplay.c | 21 ++++- gtk/gtktextlayout.c | 80 +++++++++++++++++- gtk/gtktexttag.c | 179 ++++++++++++++++++++++++++++++++++++++++- 8 files changed, 402 insertions(+), 9 deletions(-) commit 416c370da1d2eff2458e4a0c5b8e504cd8061559 Author: Matthias Clasen Date: Tue Mar 17 22:02:35 2015 -0400 GtkRange: Fix scroll wheel direction for horizontal ranges The expected behavior here is that scrolling up goes towards larger values, ie to the right. This matches e.g. volume sliders in gnome-shell. https://bugzilla.gnome.org/show_bug.cgi?id=737175 gtk/gtkrange.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit d823c39caf676cb982d1294b5fb660d8b79d48a6 Author: Matthias Clasen Date: Tue Mar 17 08:54:45 2015 -0400 scrolled window: Use shift to modify scroll direction It has been a long-standing request to interpret scroll events with Shift held down as horizontal instead of vertical, and some applications are already doing this on their own. https://bugzilla.gnome.org/show_bug.cgi?id=132197 gtk/gtkscrolledwindow.c | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit 00544e9090b51d979a833dbbf2e3e6a9a9f49a55 Author: Matthias Clasen Date: Tue Mar 17 19:38:18 2015 -0400 HighContrast: Fix calendar selection The selected day was not differentiated from other days at all. Render it white on black instead. https://bugzilla.gnome.org/show_bug.cgi?id=746369 gtk/theme/HighContrast/_common.scss | 3 +++ gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) commit 3d3591e873f71657356cf54a7ac6cbe900d147d0 Author: Matthias Clasen Date: Tue Mar 17 19:34:15 2015 -0400 HighContrast: Fix color chooser marks The checkmark for the selected color was always black, making it more or less invisible on dark colors. https://bugzilla.gnome.org/show_bug.cgi?id=746368 gtk/theme/HighContrast/_common.scss | 4 ++++ gtk/theme/HighContrast/gtk.css | 22 ++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) commit 49b6be4e06ffb952573f35b082163dcb5fbb99b3 Author: Jakub Steiner Date: Tue Mar 17 23:55:10 2015 +0100 HighContrast: catch backdrop:insensitive:active of GtkSwitch https://bugzilla.gnome.org/show_bug.cgi?id=746358 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 557f5d5c7c386c65d48e0ce01b58c7bacbb26a86 Author: Jakub Steiner Date: Tue Mar 17 23:42:11 2015 +0100 HighContrast: unbreak GtkExpander - the open state is checked, not active now https://bugzilla.gnome.org/show_bug.cgi?id=746370 gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bcddf68858f3e88453125ed7c8e322677f2bca3f Author: Anders Jonsson Date: Tue Mar 17 21:24:09 2015 +0000 Updated Swedish translation po-properties/sv.po | 1001 ++++++++++++++++++++++----------------------------- 1 file changed, 432 insertions(+), 569 deletions(-) commit 75105f94f084ea5a63583715817fd8b0bc5caf5a Author: Zahari Yurukov Date: Tue Mar 17 23:03:13 2015 +0200 Updated Bulgarian translation po/bg.po | 3058 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1951 insertions(+), 1107 deletions(-) commit f671cd629659766eb4cd0b07447ccd8d6c686ec5 Author: Jakub Steiner Date: Tue Mar 17 18:18:18 2015 +0100 HightContrast: make tab buttons not shift size - only 1px stroke for close buttons in notebook tabs https://bugzilla.gnome.org/show_bug.cgi?id=746149 gtk/theme/HighContrast/_common.scss | 3 +++ gtk/theme/HighContrast/gtk.css | 7 +++++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 9b5fa0860fdf69e98f56afb7ea4445792a0f18e1 Author: Jakub Steiner Date: Tue Mar 17 15:46:22 2015 +0100 HighContrast: OSD fixes - buttons - labels - scale trough/slider https://bugzilla.gnome.org/show_bug.cgi?id=746148 gtk/theme/HighContrast/_common.scss | 15 +- gtk/theme/HighContrast/_drawing.scss | 57 +++--- gtk/theme/HighContrast/gtk.css | 354 ++++++++++++++++++++++------------- 3 files changed, 255 insertions(+), 171 deletions(-) commit 390dd37656945e26ad6953de0c9af7a86dc74133 Author: Matthias Clasen Date: Tue Mar 17 06:53:37 2015 -0400 Add to release notes Mention that GtkSearchEntry now 'eats' some keys. README.in | 5 +++++ 1 file changed, 5 insertions(+) commit 88a5959b226f23998a6c944e9b75253dec59c259 Author: Matthias Clasen Date: Mon Mar 16 16:32:27 2015 -0400 3.15.12 NEWS | 40 ++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) commit 27164484cdf866bfd6b399b39323c0a111b37c64 Author: Milo Casagrande Date: Mon Mar 16 20:37:06 2015 +0000 Updated Italian translation po-properties/it.po | 4543 ++++++++++++++++++++++++++------------------------- 1 file changed, 2351 insertions(+), 2192 deletions(-) commit 6f478db2facd8744714b7ab374d2687d777653a3 Author: Jakub Steiner Date: Mon Mar 16 19:40:10 2015 +0100 Adwaita: desaturate selected color for backdrop https://bugzilla.gnome.org/show_bug.cgi?id=746202 gtk/theme/Adwaita/_colors.scss | 1 + gtk/theme/Adwaita/_common.scss | 5 +- gtk/theme/Adwaita/gtk-contained-dark.css | 206 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 206 ++++++++++++++++++++++--------- 4 files changed, 295 insertions(+), 123 deletions(-) commit d5d28a50622ff0a630369c78d4844c315c83abbb Author: Matthias Clasen Date: Mon Mar 16 14:05:48 2015 -0400 widget factory: Add an example for an insensitive model button This will make it easier to make insensitive model buttons appear properly in other themes. demos/widget-factory/widget-factory.c | 3 +++ 1 file changed, 3 insertions(+) commit 4e930ada32bc98b9094e7bc449b907bd55573216 Author: Jonas Ådahl Date: Mon Mar 16 20:00:50 2015 +0800 wayland: Move gtk-shell compatibility version define too https://bugzilla.gnome.org/show_bug.cgi?id=745721 gdk/wayland/gdkdisplay-wayland.c | 2 -- gdk/wayland/gdkprivate-wayland.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) commit c7672699e96bacc574009015cec71e4c63efa89d Author: Matthias Clasen Date: Mon Mar 16 12:51:56 2015 -0400 Don't pass invalid rectangles to cairo This causes pixman warnings, or worse. Clearly, something is not quite right here, if we end up redrawing tabs at a time when the allocation is set to (1, 1). For now, avoid straining the error handling in the lower layers. https://bugzilla.gnome.org/show_bug.cgi?id=746301 gtk/gtknotebook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 855c4dc0ce7aacc2970f9ff4c9e05f4b2fc7c9a1 Author: Matthias Clasen Date: Mon Mar 16 11:54:38 2015 -0400 unrealize: Don't ref twice After the recent change to add an outermost ref/unref pair, we can do away with the inner one. gtk/gtkwidget.c | 4 ---- 1 file changed, 4 deletions(-) commit 70e7b4c8480f9cfc351291bc7f12147690f7ff49 Author: Carlos Garnacho Date: Mon Mar 16 13:57:03 2015 +0100 inspector: Remove flash timeout from widgets being unmapped Otherwise the timeout can keep running, even if the widget is being destroyed. gtk/inspector/inspect-button.c | 4 ++++ 1 file changed, 4 insertions(+) commit b4b23580a61bd9694e178a1a6b16bcb783fd9013 Author: Carlos Garnacho Date: Mon Mar 16 13:46:14 2015 +0100 window: Protect against popover destruction on ::unmap On popover_unmap(), perform the gtk_widget_unmap() call last, so the GtkWindowPopover data is ensured to be alive throughout the function if the popover widget is destroyed right on ::unmap. https://bugzilla.gnome.org/show_bug.cgi?id=745829 gtk/gtkwindow.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit b4e61b759ba9c0782ff7fd592046f46022ca471e Author: Carlos Garnacho Date: Mon Mar 16 16:20:21 2015 +0100 widget: Take a ref during ::unrealize emission In order to prevent invalid memory access/crashes if the widget is destroyed in a callback of that signal. https://bugzilla.gnome.org/show_bug.cgi?id=745829 gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit f5f6ad99819117d18b51e5db047437be24267fe0 Author: Carlos Garnacho Date: Mon Mar 16 13:45:03 2015 +0100 widget: Take a ref during ::unmap emission This ensures the widget data stays live long enough to perform invariants check after emission if the widget happens to be destroyed on a callback. https://bugzilla.gnome.org/show_bug.cgi?id=745829 gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 2e272106ef31bf839ed73d20a95c51fcccff8c76 Author: Zahari Yurukov Date: Sun Mar 15 17:03:21 2015 +0200 Updated Bulgarian translation po/bg.po | 5825 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 3134 insertions(+), 2691 deletions(-) commit 2d013a739a0e3f50c94885c864dd187c428988c6 Author: Benjamin Otte Date: Mon Mar 16 15:44:42 2015 +0100 reftests: Fix test on HighContrast theme We are testing -gtk-icon-style and assume the theme doesn't touch it. But HighContrast forces symbolic icons. And that breaks the reference images. So explicitly set "requested" for everything. testsuite/reftests/icon-style-basics.css | 4 ++++ 1 file changed, 4 insertions(+) commit a24aee6bb2c03838e58fc2300a159be07557eb7f Author: Benjamin Otte Date: Mon Mar 16 15:18:33 2015 +0100 spinbutton: Fix get_text_area_size for vertical spinbuttons Commit c5905b13b97012fc9e9424718bdce34e0989f512 changed the semantics of this vfunc and get_entry_size but I only fixed one of them in the spinbutton subclass. https://bugzilla.gnome.org/show_bug.cgi?id=746282 gtk/gtkspinbutton.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 225c10bc5a1dafeccd1e86cd072fb85c172105a2 Author: Jonas Ådahl Date: Fri Mar 13 15:46:55 2015 +0800 wayland: Don't set the wl_surface user_data twice wl_surface_add_listener already sets the user data pointer, so no need to do it separately before. https://bugzilla.gnome.org/show_bug.cgi?id=746141 gdk/wayland/gdkwindow-wayland.c | 1 - 1 file changed, 1 deletion(-) commit 7372ddd2a1bed3c085cd8a23765aaa442735f48b Author: Jonas Ådahl Date: Fri Mar 13 15:43:49 2015 +0800 wayland: Ignore setting the same cursor theme as was already set If the name and size of the theme is identical to the current configuration, do nothing. https://bugzilla.gnome.org/show_bug.cgi?id=746141 gdk/wayland/gdkdisplay-wayland.c | 4 ++++ 1 file changed, 4 insertions(+) commit 465647e964ebdfab6ee9aae14537a3339e60b2be Author: Jonas Ådahl Date: Fri Mar 13 15:40:18 2015 +0800 wayland: Support scaling of theme based cursors Support scaling of cursors created from themes. The default scale is always 1, but if the pointer cursor surface enters an output with a higher scale, load the larger version of the cursor theme and use the image from that theme. This assumes the theme size is set to one that fits with an output scale = 1. https://bugzilla.gnome.org/show_bug.cgi?id=746141 gdk/wayland/gdkcursor-wayland.c | 79 ++++++++++++++++++++++++++++++------ gdk/wayland/gdkdevice-wayland.c | 88 +++++++++++++++++++++++++++++++++++++++- gdk/wayland/gdkdisplay-wayland.c | 47 +++++++++++++++++++-- gdk/wayland/gdkdisplay-wayland.h | 7 +++- gdk/wayland/gdkprivate-wayland.h | 12 +++++- 5 files changed, 213 insertions(+), 20 deletions(-) commit 7b2cdabc2e6eba035a8c74f0421639ea5230031d Author: Jonas Ådahl Date: Fri Mar 13 21:38:24 2015 +0800 wayland: Put interface version defines in a common place So far only one, but put it somewhere all files can see it. https://bugzilla.gnome.org/show_bug.cgi?id=746141 gdk/wayland/gdkprivate-wayland.h | 2 ++ gdk/wayland/gdkwindow-wayland.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) commit c7be8fd398ad88188928129f87122d142850b160 Author: Jonas Ådahl Date: Fri Mar 13 15:26:51 2015 +0800 wayland: Don't set cursor surface scale when we don't have a surface The setting of the the surface scale even when the surface is not created from a surface was introduced due to a crash when getting the buffers when dividing by the scale. The only reason I can see this is that we get the buffer from a non-existing surface when the wl_cursor has not yet been set. Instead, use the name field to avoid trying to use the non-existing surface, effectively avoiding the division-by-zero that way. https://bugzilla.gnome.org/show_bug.cgi?id=746141 gdk/wayland/gdkcursor-wayland.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 6675b9639cc790b8a15343322bda526646bd5cfc Author: Jakub Steiner Date: Mon Mar 16 12:37:54 2015 +0100 HC: no border for insensitive backdrop buttons https://bugzilla.gnome.org/show_bug.cgi?id=746192 gtk/theme/HighContrast/_common.scss | 3 ++- gtk/theme/HighContrast/gtk.css | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) commit 49cd3c82325bfd27caf92ef7983990028105959c Author: Trần Ngọc Quân Date: Mon Mar 16 14:45:46 2015 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po/vi.po | 3675 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1957 insertions(+), 1718 deletions(-) commit 25b610ef5ef42f6a510012f97c30e6d5226971da Author: Matthias Clasen Date: Sun Mar 15 22:54:02 2015 -0400 widget-factory: Add an insensitive toolbutton This will help getting their theming right in HighContrast. demos/widget-factory/widget-factory.ui | 9 +++++++++ 1 file changed, 9 insertions(+) commit de239ca31b93e8342ce980880da296555895e8ac Author: Matthias Clasen Date: Sun Mar 15 22:42:44 2015 -0400 widget-factory: Add tab close buttons This will make it easier to fix issues with such buttons in HighContrast. demos/widget-factory/Makefile.am | 1 + demos/widget-factory/widget-factory.c | 2 +- demos/widget-factory/widget-factory.css | 9 +++ demos/widget-factory/widget-factory.gresource.xml | 3 + demos/widget-factory/widget-factory.ui | 68 +++++++++++++++++++++-- 5 files changed, 78 insertions(+), 5 deletions(-) commit 5dfbeb978f92fcbd76a49df8276761ea4c7e01f5 Author: Matthias Clasen Date: Sun Mar 15 22:17:03 2015 -0400 gtk3-demo: Stop using follow-state It is no longer needed. demos/gtk-demo/list_store.c | 1 - 1 file changed, 1 deletion(-) commit e98b096ca823a1a0f40a6f2512e77b0d84bc1537 Author: Matthias Clasen Date: Sun Mar 15 22:15:08 2015 -0400 print dialog: Stop using follow-state It is no longer needed. gtk/ui/gtkprintunixdialog.ui | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 399d2c13891648983de31ce1ca44259957da9d19 Author: Matthias Clasen Date: Sun Mar 15 22:14:47 2015 -0400 app chooser widget: Stop using follow-state It is no longer needed. gtk/ui/gtkappchooserwidget.ui | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 59a901e285a1c31a651b893d82bd8ff51d158224 Author: Matthias Clasen Date: Sun Mar 15 22:14:24 2015 -0400 places sidebar: Stop using follow-state It is no longer needed. gtk/gtkplacessidebar.c | 2 -- 1 file changed, 2 deletions(-) commit 8d58b64c28db07a0dbc225100383beed87575bd2 Author: Matthias Clasen Date: Sun Mar 15 22:09:20 2015 -0400 widget-factory: Stop using follow-state The property is no longer needed, cell renderers now always follow state. demos/widget-factory/widget-factory.ui | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 0df9b59dfc6ff9409300f7ec9c5262e7fcf0296d Author: Josef Andersson Date: Sun Mar 15 21:30:20 2015 +0000 Updated Swedish translation po-properties/sv.po | 918 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 523 insertions(+), 395 deletions(-) commit 17a221dba93bab450fa96cf0a872e9127dc1783a Author: Matej Urbančič Date: Sun Mar 15 21:39:22 2015 +0100 Updated Slovenian translation po/sl.po | 4548 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 2333 insertions(+), 2215 deletions(-) commit e6f9c49c2272b461953069ea03f121c1cf6b48f1 Author: Ask Hjorth Larsen Date: Sun Mar 15 14:46:54 2015 +0100 Updated Danish translation po/da.po | 472 +++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 309 insertions(+), 163 deletions(-) commit 11096885aec103ce56dddbf1ea647b016c10a5c4 Author: Nelson Benítez León Date: Sat Mar 14 15:38:40 2015 +0500 gemfile: needs add source rubygems.org `bundle install` command on fedora 21 was failing with following message: Your Gemfile has no gem server sources. If you need gems that are not already on your machine, add a line like this to your Gemfile: source 'https://rubygems.org' After adding that line it worked again. https://bugzilla.gnome.org/show_bug.cgi?id=746205 gtk/theme/Adwaita/Gemfile | 1 + gtk/theme/HighContrast/Gemfile | 1 + 2 files changed, 2 insertions(+) commit 838c9a0d98e8fce3332a15442c61c4259a6ebd15 Author: Piotr Drąg Date: Sat Mar 14 17:59:27 2015 +0100 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 3 files changed, 5 insertions(+) commit c5905b13b97012fc9e9424718bdce34e0989f512 Author: Benjamin Otte Date: Fri Mar 13 18:04:51 2015 +0100 entry: Make code do what it's meant to do With the 3.0 transition, this code went from just querying the entry's height request to doing a full size request. Then it got code to revert the features that a full size request does. And then it grew code that manually computed the baseline. Avoid this and just do what happened back in the days: Do a regular height request. This changes the semantics of the get_frame_size() vfunc wrt its behavior towards subclasses overwriting the get_height() vfuncs, but I'm happy to live with that. gtk/gtkentry.c | 22 +++++----------------- gtk/gtkspinbutton.c | 32 -------------------------------- 2 files changed, 5 insertions(+), 49 deletions(-) commit d2881d901bc057328d4096bb86830198816fd1a2 Author: Benjamin Otte Date: Sat Mar 14 15:41:34 2015 +0100 cellrendererpixbuf: Always follow state Applications forget to set the follow-state property and then some themes used a style where normal symbolic icons have the same color as prelit or selected backgrounds and that suddenly made icons invisible and who wants that? https://bugzilla.gnome.org/show_bug.cgi?id=746201 gtk/gtkcellrendererpixbuf.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit 7ef7873b231373cfbc499154be3a288deecdb639 Author: Carlos Soriano Date: Sat Mar 14 13:34:40 2015 +0100 gtkstacksidebar: fix missing macro commit e41cadd835f9c2 forgot to change some macros. gtk/gtkstacksidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 10ea4d81e65106a2edc87e5b247893490f139a97 Author: Samir Ribic Date: Sat Mar 14 09:08:02 2015 +0000 Updated Bosnian translation po-properties/bs.po | 13258 +++++++++++++++++++++++++++++++------------------- 1 file changed, 8165 insertions(+), 5093 deletions(-) commit 2026efb9815f8a2204dbfd90e49c056493ffc554 Author: Matthias Clasen Date: Fri Mar 13 23:24:02 2015 -0400 More documentation fixes With this commit, gtk3-unused.txt is empty (for the first time in a looong time). docs/reference/gtk/Makefile.am | 15 +++- docs/reference/gtk/gtk3-sections.txt | 128 +++++++++++++++++++++++++++++++++-- 2 files changed, 138 insertions(+), 5 deletions(-) commit e41cadd835f9c2906cb191aa89c84a81cfd6f48a Author: Matthias Clasen Date: Fri Mar 13 22:57:32 2015 -0400 GtkStackSidebar: Fix incomplete renaming Some of the boilerplate macros were missing. Oops gtk/gtkstacksidebar.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0ddb5d729c8a0f9342f20b913d2c073c7811a6af Author: Matthias Clasen Date: Fri Mar 13 22:01:47 2015 -0400 More documentation fixes gtk/gtkglarea.c | 10 ++++++---- gtk/gtkglarea.h | 8 ++++---- 2 files changed, 10 insertions(+), 8 deletions(-) commit bb3ae474774b616d1ac2a8e85ec1cf7c652d4bfe Author: Matthias Clasen Date: Fri Mar 13 21:59:38 2015 -0400 Docs: Update ignored header list This reduces the warning spam somewhat. docs/reference/gtk/Makefile.am | 163 +++++++++++++++++++++++++++++++++++------ 1 file changed, 140 insertions(+), 23 deletions(-) commit a744a67f42cd66bc4f074af96542733ddf5c26a2 Author: Matthias Clasen Date: Fri Mar 13 21:59:19 2015 -0400 Documentation fixes Add a few missing symbols. docs/reference/gtk/gtk3-sections.txt | 4 ++++ 1 file changed, 4 insertions(+) commit c93d66c8a7c5bd6942ccec0a95ffdc5cc0c1aa8b Author: Matthias Clasen Date: Fri Mar 13 21:40:27 2015 -0400 Fix a typo in the docs gtk-doc complains about parameter name mismatches. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a7ef117b4a2f8a8b2e7c3ad31e7eeb60b03d9dcb Author: A S Alam Date: Fri Mar 13 21:18:41 2015 -0500 Translation pa updated for Gnome po-properties/pa.po | 4461 +++++++++++++++++++++++++-------------------------- po/pa.po | 4078 +++++++++++++++++++++++----------------------- 2 files changed, 4195 insertions(+), 4344 deletions(-) commit f0609a51421c332d31c3a33a4ef7a108b67efb12 Author: Ask Hjorth Larsen Date: Fri Mar 13 23:52:58 2015 +0100 updated Danish translation po/da.po | 2794 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 1464 insertions(+), 1330 deletions(-) commit d89bd0040c5826827b44f9879ea14a6687338567 Author: Ask Hjorth Larsen Date: Fri Mar 13 23:51:40 2015 +0100 updated Danish translation po-properties/da.po | 2813 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1529 insertions(+), 1284 deletions(-) commit fec8a1ee7fb40a4739a6b12eb2bb211a60c69b08 Author: Matthias Clasen Date: Fri Mar 13 18:38:18 2015 -0400 menu button: Improve accessibility Rework the way we assign an accessible name to menu buttons, to make sure we pick up a label, should the button contain one, and only override the name with "Menu" as a fallback. gtk/a11y/gtkmenubuttonaccessible.c | 19 +++++++++++++++++++ gtk/gtkmenubutton.c | 5 ----- po/POTFILES.in | 1 + 3 files changed, 20 insertions(+), 5 deletions(-) commit 98730f71f941e886c2c0334cac0cb1a6c95c701f Author: Matthias Clasen Date: Fri Mar 13 17:40:50 2015 -0400 testsuite: Set some environment variables These were set manually in some tests, but not consistently. testsuite/gtk/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b756fd42a06c815eb074f1feb5c9e120824413e7 Author: Matthias Clasen Date: Fri Mar 13 17:39:47 2015 -0400 testsuite: Drop test bus It seems to be buggy in ways that make the test fail with a critical when the test bus is brought down. At the same time, drop manual settings of environment variables that we can set globally. testsuite/gtk/notify.c | 14 -------------- 1 file changed, 14 deletions(-) commit 4d889ccc42fd4dd4466b157b2e3275ad64daf8f1 Author: Samir Ribic Date: Fri Mar 13 20:44:00 2015 +0000 Updated Bosnian translation po/bs.po | 8593 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 4150 insertions(+), 4443 deletions(-) commit 5f8e054a9db7d8df115ed256f2e2018dc73c19d8 Author: Samir Ribic Date: Fri Mar 13 20:43:23 2015 +0000 Updated Bosnian translation po-properties/bs.po | 12993 ++++++++++++++++++++------------------------------ 1 file changed, 5109 insertions(+), 7884 deletions(-) commit fe13fb841b461badbece2bbb2b48fb1805bae9e5 Author: Jordi Mas Date: Fri Mar 13 02:25:47 2015 -0400 Update Catalan translation po-properties/ca.po | 2828 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1564 insertions(+), 1264 deletions(-) commit 1349b0f72dfbe9605283485f187663e4956946f9 Author: Matthias Clasen Date: Wed Mar 11 22:25:11 2015 -0400 3.15.11 NEWS | 39 +++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) commit b974ced51bbf9c93a5711ca067233ae14a17d983 Author: Matthias Clasen Date: Thu Mar 12 08:10:29 2015 -0400 Fix make dist Add a missing quote. po-properties/Makefile.in.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9faea04c547e18b28c98993a51fba0f52b0dc23 Author: Matthias Clasen Date: Wed Mar 11 22:26:17 2015 -0400 Drop unused files util/Makefile.am | 9 --- util/extract-strings.c | 182 ------------------------------------------------- 2 files changed, 191 deletions(-) commit 171d4305f4edf3423c615827ad9c9d1df1939c7a Author: Dušan Kazik Date: Thu Mar 12 10:20:08 2015 +0000 Updated Slovak translation po/sk.po | 336 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 168 insertions(+), 168 deletions(-) commit d96cbb3b593aa98afd0229419538fe16c05aa715 Author: Milo Casagrande Date: Thu Mar 12 08:57:43 2015 +0000 Updated Italian translation po/it.po | 4560 +++++++++++++++++++++++++++++--------------------------------- 1 file changed, 2159 insertions(+), 2401 deletions(-) commit e94452559660da4e5c7dea2eb7bf3d67c4f4d6fb Author: Jordi Mas Date: Wed Mar 11 23:36:52 2015 -0400 Update Catalan translation po/ca.po | 2757 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1476 insertions(+), 1281 deletions(-) commit 49881eebbbb22c2abf8ad2228095be7b4bb2207f Author: Benjamin Otte Date: Thu Mar 12 04:31:45 2015 +0100 Revert "iconhelper: Don't check states" This reverts commit 63f59dde3a2740057fb24115b58100af630aa453. It turns out, the state was not just necessary for style computation, but also for tracking RTL and LTR. And so it broke the reftests. gtk/gtkiconhelper.c | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) commit 8615a52ca3bdc3c49c9829cb461f3cc9c764959f Author: Matthias Clasen Date: Wed Mar 11 21:45:48 2015 -0400 Add some reftests related to textview tags This test shows that a) tags override the text view style and b) tags override each other in the expected way. testsuite/reftests/Makefile.am | 3 ++ testsuite/reftests/textview-tags.c | 57 +++++++++++++++++++++++++++++++++ testsuite/reftests/textview-tags.css | 6 ++++ testsuite/reftests/textview-tags.ref.ui | 49 ++++++++++++++++++++++++++++ testsuite/reftests/textview-tags.ui | 49 ++++++++++++++++++++++++++++ 5 files changed, 164 insertions(+) commit 7ad203732f4d1e6925a31519dc1e5fabf94262d7 Author: Benjamin Otte Date: Thu Mar 12 01:14:06 2015 +0100 iconhelper: Use the screen's icon theme ... and not the default one. gtk/gtkiconhelper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 93f8966bd9f63b468511168287ba89420fda4edc Author: Benjamin Otte Date: Wed Mar 11 23:01:05 2015 +0100 iconhelper: Replace function The old one just calls the other one. gtk/gtkiconhelper.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 181e58e402aec9c546850d95194384329a9637e0 Author: Benjamin Otte Date: Wed Mar 11 21:24:05 2015 +0100 iconhelper: Move function from style context into only user gtk/gtkiconhelper.c | 30 ++++++++++++++++++++++++++++-- gtk/gtkstylecontext.c | 36 ------------------------------------ gtk/gtkstylecontextprivate.h | 1 - 3 files changed, 28 insertions(+), 39 deletions(-) commit 63f59dde3a2740057fb24115b58100af630aa453 Author: Benjamin Otte Date: Wed Mar 11 15:03:02 2015 +0100 iconhelper: Don't check states This is the wrong thing to do in today's world. gtk/gtkiconhelper.c | 38 ++------------------------------------ 1 file changed, 2 insertions(+), 36 deletions(-) commit b2d40afdf55036c3327bfed4f153297cc11bccf9 Author: Matthias Clasen Date: Wed Mar 11 15:31:35 2015 -0400 App Chooser: Fix app icons in HighContrast We need to follow-state here as well, to make sure the icons are visible on selected rows. gtk/ui/gtkappchooserwidget.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f82341d1d3daa57bcdbf76b6cd9823918db70cb6 Author: Changwoo Ryu Date: Thu Mar 12 02:52:52 2015 +0900 Updated Korean translation po/ko.po | 345 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 176 insertions(+), 169 deletions(-) commit 80013436d0b06d735602e61741666483a2f3a79c Author: Philip Withnall Date: Tue Mar 10 07:57:58 2015 +0000 gtkentry: Document vfuncs in GtkEntryClass Clarify that the signal handler vfuncs can be NULL, nothing else can, and that they all have default implementations. https://bugzilla.gnome.org/show_bug.cgi?id=712760 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkentry.h | 44 ++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) commit 52858f709c79e4e8ff351240d724d1eafa2f4605 Author: Philip Withnall Date: Tue Mar 10 08:26:34 2015 +0000 gtktreeselection: Fix an abort on selecting an invalid range gtk_tree_selection_real_modify_range() has a g_return_if_fail() if the start or end paths passed to it do not correspond to real tree nodes. However, GtkTreePaths inherently do not have to be valid, so it should be acceptable to call gtk_tree_selection_select_range() with non-existent paths. Replace the g_return_if_fail() by a silent return, and add a unit test. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktreeselection.c | 5 +++-- testsuite/gtk/treeview.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+), 2 deletions(-) commit d65ccf96ee43e3cd62a705074d452f9f87912ee2 Author: Philip Withnall Date: Tue Mar 10 08:34:39 2015 +0000 gtknotebook: Add more non-NULL checks for cur_page These were not spotted by scan-build, but from some brief mental reasoning could potentially be problem areas. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 3b45be94e8a350c40039479f336539ec65764193 Author: Matthias Clasen Date: Wed Mar 11 06:47:04 2015 -0400 Gestures: Properly handle weak references Every call to g_object_add_weak_pointer must be matched with a g_object_remove_weak_pointer call, or we will get invalid writes inside GObject. https://bugzilla.gnome.org/show_bug.cgi?id=746013 gtk/gtkeventcontroller.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit b4344861a09f7ec67fe5d302d9fdd00909daaaad Author: Jonas Ådahl Date: Fri Mar 6 10:51:47 2015 +0800 wayland: Only bind to supported gtk-shell versions The gtk-shell Wayland protocol extension is not meant to be backward compatible right now, so avoid binding to any version that is not the one supported. https://bugzilla.gnome.org/show_bug.cgi?id=745721 gdk/wayland/gdkdisplay-wayland.c | 12 +++++++++--- gdk/wayland/protocol/gtk-shell.xml | 10 +++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) commit a52ff2f66e670874978762197b2984fa8bdf3bfd Author: Emmanuele Bassi Date: Tue Mar 10 22:12:32 2015 +0000 build: Fix generating introspection on MacOS We need to filter out platform-specific sources from the files that we use with the introspection scanner. In this specific case I could have moved the gtkclipboard-quartz.c and the gtkdnd-quartz.c files out of the $(gtk_base_c_sources) variable, but doing a filter-out on the variable itself is more resilient in case we eventually add files and we forget about the result. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 073a9c9cd543f5739d72beb4bc9eb4c79c175a99 Author: Matthias Clasen Date: Tue Mar 10 14:07:27 2015 -0400 inspector: Add some margin to css editor Requested in https://bugzilla.gnome.org/show_bug.cgi?id=745918 gtk/inspector/css-editor.ui | 2 ++ 1 file changed, 2 insertions(+) commit 622a930c5a55aa64489a8031cd507f45e7fa2545 Author: Carlos Garnacho Date: Tue Mar 10 16:38:17 2015 +0100 window: reset both press/drag gestures when move/resize drag starts Now that this is split in two separate gestures, both must be reset when the WM grabs the pointer. Also, do on resize drags like on move drags, and claim the gesture before resetting, so the ownership is properly transferred across any other widgets. https://bugzilla.gnome.org/show_bug.cgi?id=745969 gtk/gtkwindow.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 2f8938cf23b1b2f5904fb969ca993e4b6a9828ef Author: Anders Jonsson Date: Tue Mar 10 12:28:37 2015 +0000 Updated Swedish translation po-properties/sv.po | 5562 +++++++++++++++++++++++++-------------------------- 1 file changed, 2681 insertions(+), 2881 deletions(-) commit 1cc35cdc6df49044d7f6d570e1611973b257b9c7 Author: Anders Jonsson Date: Tue Mar 10 12:27:18 2015 +0000 Updated Swedish translation po/sv.po | 4675 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2229 insertions(+), 2446 deletions(-) commit 9e2cdce58e081c3829008a256ecd8c3b5a7ce1de Author: Benjamin Otte Date: Tue Mar 10 13:23:06 2015 +0100 notebook: Fix boolean check Commit c352093bdeb2be5390607de13eaf7a21e93272ef swapped the condition when turning it into a return_if_fail(). gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 94ec6b44184067782925fa7dc8880c0d1fc3fbe8 Author: Carlos Garnacho Date: Mon Mar 9 15:15:23 2015 +0100 entrycompletion: Ensure transient_for is set before showing window gtk_entry_set_completion() (and _gtk_entry_completion_connect underneath) may happen when the entry has no toplevel yet. This window acts as the "parent" for subsurface windows on wayland, and is indispensable to create its backing wl_subsurface, so this resulted in non-visible popups there. Fix this by ensuring transient_for is set before showing the popup. https://bugzilla.gnome.org/show_bug.cgi?id=745463 gtk/gtkentrycompletion.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) commit c352093bdeb2be5390607de13eaf7a21e93272ef Author: Philip Withnall Date: Wed Nov 20 17:32:10 2013 +0000 gtknotebook: Fix potential use of uninitialised variables Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) commit ac4da770e10fa293a7c99bb3c4bcb8490f431e7f Author: Philip Withnall Date: Tue Nov 26 15:08:08 2013 +0000 gtkprintunixdialog: Fix a potential g_object_unref(NULL) call The code above checks whether (printer == NULL), so we’d better do so here as well. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkprintunixdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ced234144ce63decbf5afc8a3517290b9027018 Author: Matthias Clasen Date: Mon Mar 9 20:48:47 2015 -0400 Revert "csd: Drop the GTK_FRAME_EXTENTS requirement" This reverts commit fb9a6bb6d8d6b60b25c9b9853decbcea938f7863. In a recent test, I've found that Xfce and Mate now support this, so they will not be affected by this requirement. And adding the check back will solve the 'client-side shadow' problem in KDE. gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 9ec28047756256ad396ccb318e214e13dd034af0 Author: Benjamin Otte Date: Mon Mar 9 23:53:43 2015 +0100 stylecontext: Store the right style in the cache Store the newly computed style, not the old and wrong one. Fixes HighContrast menuitem color sometimes being black-on-black for selected items. gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8eac08a0a51de76864afb03eb6b3d857d6a6d40 Author: Philip Withnall Date: Thu Nov 28 20:43:16 2013 +0000 gtkclipboard: Fix a potential g_signal_handler_disconnect(NULL) call Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af36220bca74837cefab046a6435f2b6743c4569 Author: Philip Withnall Date: Tue Nov 26 15:04:45 2013 +0000 gtkprintcontext: Fix several potential g_object_[un]ref(NULL) calls The page_setup of a GtkPrintContext or GtkPrintUnixDialog is nullable, so all reference count changes to it have to be guarded against NULL values. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkprintcontext.c | 5 +++-- gtk/gtkprintunixdialog.c | 8 ++++---- 2 files changed, 7 insertions(+), 6 deletions(-) commit 8e3b49969905182c903dc62f0f6e6debefefe973 Author: Philip Withnall Date: Wed Nov 20 17:39:02 2013 +0000 gtktreeselection: Fix a potential use of uninitialised variables Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktreeselection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 968780d8da4a7a1d30ca1e17faec55de2e528390 Author: Philip Withnall Date: Wed Nov 20 17:38:01 2013 +0000 gtktreeselection: Fix potential NULL pointer dereferences _gtk_rbtree_first() can potentially return NULL if the RB tree is empty, which would result in NULL pointer dereferences in the GtkTreeSelection code. Gracefully handle them. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktreeselection.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 4fc6880d8308b5ff69b72c23920fed75cf3f2661 Author: Philip Withnall Date: Wed Nov 20 17:33:59 2013 +0000 gtktextview: Fix a definite use of an uninitialised variable This seems to have been a typo in the original code, and allowed access to virtual_cursor_y when it was uninitialised. Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 51971d56bc77644d380a1d7b175faaa807e59318 Author: Philip Withnall Date: Wed Nov 20 17:32:47 2013 +0000 gtknotebook: Remove dead variable assignments Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 2 -- 1 file changed, 2 deletions(-) commit c7f5f10853b3edeabcd4a4374417afa8e54d55a0 Author: Philip Withnall Date: Wed Nov 20 17:32:32 2013 +0000 gtknotebook: Fix a potential NULL pointer dereference Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 61c46d911ff0840752bf8aa595d42da012d5d7b7 Author: Philip Withnall Date: Wed Nov 20 17:30:22 2013 +0000 gtkentry: Return early from gtk_entry_clear() if no icon info exists This helps scan-build avoid some false positive potential NULL pointer dereference warnings. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 19222a6364b772d05b645e3c61aea684fc1eb23f Author: Philip Withnall Date: Wed Nov 20 17:30:07 2013 +0000 gtkentry: Remove dead assignments Found by scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 2 -- 1 file changed, 2 deletions(-) commit 7479133753de0f7827bf74cf8b554f266af69d20 Author: Philip Withnall Date: Mon Dec 2 11:03:28 2013 +0000 gtkentry: Call get_*_size() vfuncs unconditionally These vfuncs cannot be NULL: implementations are provided by GtkEntry, and subclasses should not set them to NULL. Instead of conditionalising the calls to the vfuncs, assert that they’re set and call them unconditionally. This prevents the possibility of a subclass setting the vfunc to NULL and then a gtk_entry_get_*_size() call returning undefined values in its out variables. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 0282714d86729a7b476fe7462bb85d9ca7ca584d Author: Philip Withnall Date: Mon Dec 2 11:03:07 2013 +0000 gtkentry: Fix potential use of uninitialised variables Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 586240d2f8ef5408c24b5636047487e844f309ee Author: Philip Withnall Date: Wed Nov 20 17:18:16 2013 +0000 gdkwindow: Fix potential NULL pointer dereference gdk_window_ensure_native() can end up with a NULL parent pointer, which it passes to find_native_parent_above()…but that expects a non-NULL parent. Found with scan-build. https://bugzilla.gnome.org/show_bug.cgi?id=712760 gdk/gdkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit e99e282b5ae9190f859c6b4d3107031d5474431f Author: Andre Heinecke Date: Thu Feb 5 11:14:01 2015 +0100 Prevent empty password request popup for kerberos If auth_info_required is only set to "negotiate" the request password dialog is shown anyway for each print job without any input fields. As the request_password dialog only handles username, password and domain. https://bugzilla.gnome.org/show_bug.cgi?id=669008 modules/printbackends/cups/gtkprintbackendcups.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 52f5a78c6daeaf0eec9b014d9cfefb6d844a4f6a Author: Bastian Ilsø Date: Tue Feb 10 16:55:30 2015 +0100 Update hello-world.c to GtkApplication, document docs/reference/gtk/getting_started.xml | 43 +++++++++++++- examples/hello-world.c | 104 ++++++++------------------------- 2 files changed, 65 insertions(+), 82 deletions(-) commit 01d76b7701f6b8d3e5654d679fb291826cf970bf Author: Matthias Clasen Date: Sun Mar 8 22:05:37 2015 -0400 Print dialog: Fix printer icons in HighContrast We need to make the cell renderer follow the state, for recoloring to work. gtk/ui/gtkprintunixdialog.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 59d12be94ff17b0c9404f13556c5ae468f507f09 Author: Matthias Clasen Date: Sun Mar 8 21:32:38 2015 -0400 HighContrast: Some formatting fixes gtk/theme/HighContrast/_common.scss | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 9b18deee1f374637034b070e09b72b9933a84f36 Author: Matthias Clasen Date: Sun Mar 8 18:14:18 2015 -0400 Add a missing word in the docs gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7385784ded5b28550c51bc5e257b1c80e0494c2c Author: Aurimas Černius Date: Sun Mar 8 20:22:54 2015 +0200 Updated Lithuanian translation po/lt.po | 3692 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1955 insertions(+), 1737 deletions(-) commit 6950116678f332dc88d765f0e9c2325735e28137 Author: Emmanuele Bassi Date: Sun Mar 8 14:39:18 2015 +0000 docs: Reword the deprecation notice for gtk_widget_override_* They are a bit terse, and they should point to the preferred way of overriding the theme, i.e. using a GtkStyleProvider for your application, and custom style classes. gtk/gtkwidget.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 247e62390ba79746edb55a8b2b5278d34db6c33b Author: Emmanuele Bassi Date: Sun Mar 8 14:29:04 2015 +0000 docs: Clarify replacement for gtk_style_context_get_background_color() It seems odd that a getter function for the style context state is replaced by a rendering call, but it makes sense in context. gtk/gtkstylecontext.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit ec567e5fad4c97c051cbe002303332bf7e97daf7 Author: Matthias Clasen Date: Sun Mar 8 09:11:51 2015 -0400 Add a test for builder-constructed file filters testsuite/gtk/builder.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 6b23c4405602a79fd1772429c9ec820f56bdabdc Author: Matthias Clasen Date: Sun Mar 8 09:10:58 2015 -0400 GtkFileFilter: Set name from builder id Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=577862 as a way to make file filters constructed with GtkBuilder more useful. gtk/gtkfilefilter.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit f6d0b9e9a95883554d76d806d23eefb252bd5aa0 Author: Baurzhan Muftakhidinov Date: Sun Mar 8 11:17:09 2015 +0000 Updated Kazakh translation po-properties/kk.po | 5702 ++++++++++++++++++++++++++------------------------- 1 file changed, 2874 insertions(+), 2828 deletions(-) commit 70775e1985ed14552964bf5c8f26d7b84275adc9 Author: Frédéric Péters Date: Sun Mar 8 09:43:04 2015 +0100 docs: fix reference to GTK+ 2 index of deprecated symbols docs/reference/gtk/migrating-2to3.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8ecc51ad8aa07ecad64d7732caa5fd78d9f43f4d Author: Eric Le Bihan Date: Thu Oct 23 13:00:54 2014 +0200 Fix undefined reference to get_xkb() When configuring Gtk+ with --disable-xkb, the build fails because of an undefined reference to get_xkb(). This patch fixes this issue. Signed-off-by: Eric Le Bihan https://bugzilla.gnome.org/show_bug.cgi?id=739070 gdk/x11/gdkkeys-x11.c | 2 ++ 1 file changed, 2 insertions(+) commit 4938aa9c6b7da48f9c313fc545191733cb8a7ec1 Author: Matthias Clasen Date: Sat Mar 7 18:25:57 2015 -0500 Modernize the xReply check Using AC_CHECK_TYPE instead of AC_TRY_COMPILE avoids compiler warnings from -Werror. https://bugzilla.gnome.org/show_bug.cgi?id=535929 configure.ac | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) commit 1f3328c096cf708d755fd6eb041b0e8663049ceb Author: Matthias Clasen Date: Sat Mar 7 17:48:11 2015 -0500 Avoid calling g_object_ref on NULL gtk_widget_set_visual() allows NULL for the visual, so be careful ot to ref it unconditionally. gtk/gtkwidget.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 6e7ad732fcd4ddf52f86cd5831195d969fae27fe Author: Matthias Clasen Date: Sat Mar 7 14:18:13 2015 -0500 scrolled window: Fix size requisition with overlay scrolling When the scrollbars are overlayed, the size requisition of the scrolled window should not depend on whether the scrollbars are visible or not. This was not quite the case, because we forgot one case where scrollbar size was still added to the requisition. gtk/gtkscrolledwindow.c | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit cbf5b49cb8692d0743706cc5f535e3ed01049c08 Author: Matthias Clasen Date: Fri Mar 6 20:33:38 2015 -0500 Add an example for accelerators with manual image menuitems This is somewhat tricky to work out, so put some example code here for future reference. The tricky part is that GtkAccelLabel tries to be smart about hiding the accel if there's not enough space, so we have to make sure to pack the label with expand=TRUE and set align=GTK_ALIGN_FILL, or things won't work. tests/teststockbuttonmenu.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit b3725a455ddd6ecca2e6cac55ac0ebd387f454e5 Author: Chun-wei Fan Date: Fri Mar 6 11:01:30 2015 +0800 test/gtkgears.c: Fix on C89 Compilers Make sure that variables are declared at the top of the block. Break up one of the sincos() calls into individual calls to sin() and cos() so that we do not have to complicate the initialization of the following GLfloat array. tests/gtkgears.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 9c545ac2e89943eae98f3d0f782b25cb67cd2eb8 Author: Changwoo Ryu Date: Fri Mar 6 22:14:03 2015 +0900 Updated Korean translation po-properties/ko.po | 4543 ++++++++++++++++++++++++++------------------------- po/ko.po | 4446 ++++++++++++++++++++++++++----------------------- 2 files changed, 4717 insertions(+), 4272 deletions(-) commit b87715973f43ada48805bd0b22bd83eb4993d315 Author: Niels Nesse Date: Tue Feb 10 20:35:01 2015 -0800 gl: Warn the user if they request a GL context version less than 3.2 If the user requests a version less than 3.2 the version is forced to 3.2. Previous checking code have an inconsistent behavior depending on which minor version number was specified. This is avoided now by temporarily converting the major/minor pair into a single integer. https://bugzilla.gnome.org/show_bug.cgi?id=744288 gdk/gdkglcontext.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 064f4db0129b3fd845eb221b099e8638fd32e873 Author: Chun-wei Fan Date: Fri Mar 6 10:49:25 2015 +0800 Update config.h.win32.in for sincos() There was an added check in configure.ac for sincos() for gtkgears.c, where that function is actually a GCC- and glibc-specific extension, which is not available on Windows. Reflect on this in config.h.win32.in for the Visual Studio/Windows builds. config.h.win32.in | 3 +++ 1 file changed, 3 insertions(+) commit 45da8bf045f6cb24973b3778d0c8abd0d7b01294 Author: Chun-wei Fan Date: Fri Mar 6 10:40:46 2015 +0800 MSVC Builds: "Install" .pdb Files "Install" the .pdb files that were generated along with the build, to make it easier for people to develop and debug GTK+, especially when used as a stack, and as the .pdb files are already generated with all builds. Also make the copy of the .dll, .lib and .exe files more selective so that we do not accidently copy files that are not meant to be "installed", or end up making extra copies of plugin DLLs in the wrong places, when the projects here are included as a part of a grand solution that is used to build the entire GTK+ stack, for example. build/win32/vs10/gtk-install.props | 73 +++++++++++++++++++++++++++++-------- build/win32/vs9/gtk-install.vsprops | 67 ++++++++++++++++++++++++++-------- 2 files changed, 110 insertions(+), 30 deletions(-) commit 91bc4143605348c64ef1c5c7a4a799dfd4ff9e79 Author: Chun-wei Fan Date: Fri Mar 6 10:25:18 2015 +0800 MSVC 2010+ Builds: Fix .pdb Generation For Visual Studio 2010 and later, the .pdb filename needs to be explicitly specified so that it will match the filename of the target, if the project name differs from the filename of the target. Make sure that is the case for the 3 DLLs that we build for Visual Studio 2010 and later. build/win32/vs10/gailutil.vcxproj | 4 ++++ build/win32/vs10/gdk.vcxprojin | 8 ++++++++ build/win32/vs10/gtk.vcxprojin | 4 ++++ 3 files changed, 16 insertions(+) commit e2190d7a01826e6a0866b77e44a83a39fb536959 Author: Piotr Drąg Date: Thu Mar 5 23:47:51 2015 +0100 Updated Polish translation po-properties/pl.po | 4495 ++++++++++++++++++++++++++------------------------- po/pl.po | 4337 ++++++++++++++++++++++++++----------------------- 2 files changed, 4689 insertions(+), 4143 deletions(-) commit 7fbbf850c3be3e3e27c71821193cd64263328271 Author: Matthias Clasen Date: Thu Mar 5 16:06:22 2015 -0500 Improve some GtkStock deprecation notes Point at edit-delete and edit-paste as available icons. gtk/deprecated/gtkstock.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1fb172011c0571f63cb67e84346df05b2ad2b3ff Author: Dušan Kazik Date: Thu Mar 5 13:17:37 2015 +0000 Updated Slovak translation po-properties/sk.po | 6351 ++++++++++++++++++++++++++------------------------- 1 file changed, 3212 insertions(+), 3139 deletions(-) commit 4691049f9e24d2dcad717d79c3a6edd8b624f163 Author: Dušan Kazik Date: Thu Mar 5 12:14:18 2015 +0000 Updated Slovak translation po/sk.po | 3582 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1934 insertions(+), 1648 deletions(-) commit 40c8d8bcf414e58a28abbdde9571e83cc137c0fe Author: Carlos Garnacho Date: Tue Mar 3 22:17:58 2015 +0100 window: Add comment documenting the target widget checks during window drag Was suggested during review of https://bugzilla.gnome.org/show_bug.cgi?id=745562#c2 gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 08b5de78364d48e373bfa6af403d1ce84adad10f Author: Claude Paroz Date: Thu Mar 5 08:49:25 2015 +0100 Updated French translation po-properties/fr.po | 2694 +++++++++++++++++++++++++++------------------------ 1 file changed, 1450 insertions(+), 1244 deletions(-) commit 6ac3ec0b53023f114acba1f4e3ad0c7368ea0ecc Author: Matthias Clasen Date: Wed Mar 4 21:56:02 2015 -0500 HighContrast: Make sure selections are visible in infobars Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=745622 gtk/theme/HighContrast/_common.scss | 5 +++++ gtk/theme/HighContrast/gtk.css | 13 +++++++++++++ 2 files changed, 18 insertions(+) commit 2b7eaaf86ed3542c0fe2db227cbe16bc5143740b Author: Matthias Clasen Date: Wed Mar 4 21:55:11 2015 -0500 Adwaita: Make sure selections are visible in infobars Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=745622 gtk/theme/Adwaita/_common.scss | 5 + gtk/theme/Adwaita/gtk-contained-dark.css | 216 +++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 216 +++++++++++-------------------- 3 files changed, 151 insertions(+), 286 deletions(-) commit 08494f86a062713ca99f71a0cc29bde9e762592c Author: Carlos Garnacho Date: Tue Mar 3 22:17:58 2015 +0100 widget: Improve hack to ignore drags from widgets using motion events Postpone until the last moment whether the target widget still potentially uses updates from this sequence, or window dragging actually applies because all gestures on the target went to denied state. This fixes window dragging on empty space in a headerbar that is contained in a paned (as in e.g. gedit). https://bugzilla.gnome.org/show_bug.cgi?id=745562 gtk/gtkwidget.c | 12 +++++++----- gtk/gtkwidgetprivate.h | 3 ++- gtk/gtkwindow.c | 29 +++++++++++++++++------------ 3 files changed, 26 insertions(+), 18 deletions(-) commit 768e6a45796aec32bbc2119e5742ac2332b1c084 Author: Matthias Clasen Date: Wed Mar 4 20:35:09 2015 -0500 Ensure print-related types are registered These types are not covered by g_test_register_all_types, and having the types registered when a print dialog is used helps in cases where GTK+ is dlopened. https://bugzilla.gnome.org/show_bug.cgi?id=745065 gtk/gtkprintunixdialog.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ce9a5a3fecd10acc464252c21de8a3a92ea013e1 Author: Georges Basile Stavracas Neto Date: Wed Mar 4 17:12:40 2015 -0300 places sidebar: compare bookmarks by index GtkPlacesSidebar applies a sorting function on the tree model that does not consider the case of bookmarks, which are sorted by their indexes. By adding the bookmarks corner case and comparing then by their indexes, GtkPlacesSidebar can sort the bookmarks properly in the order they're saved. https://bugzilla.gnome.org/show_bug.cgi?id=744589 gtk/gtkplacessidebar.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 17bc7aaefd0e1ab78b14f6d5430b7831b6af2b99 Author: Matthias Clasen Date: Wed Mar 4 06:30:13 2015 -0500 Check for existence of sincos It apparently doesn't exist everywhere. https://bugzilla.gnome.org/show_bug.cgi?id=745578 configure.ac | 2 +- tests/gtkgears.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) commit 71bd1c7e2c5252b5103bf029e437787e0a002951 Author: Matthias Clasen Date: Tue Mar 3 18:02:09 2015 -0500 file chooser: Really stop typeahead search popups GtkTreeView is a bad widget and constantly resets the search-column behind our back. We need to re-unset it every time a model is set :-( gtk/gtkfilechooserwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b92573e42e19fd7f49f34abeb66475ce8c519e3a Author: Fran Dieguez Date: Tue Mar 3 23:44:15 2015 +0100 Updated Galician translations po/gl.po | 1774 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 779 insertions(+), 995 deletions(-) commit 76c66ef2ed0cfe62d40b6bf02520281debee17a5 Author: Matthias Clasen Date: Tue Mar 3 15:00:06 2015 -0500 make-pot: Document variables Damn-lies will have to use one of these to override the name of the generated file. Lets document them all, while I still remember this. make-pot | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 5751d4f66e6a95e46df11a603a9a770281ee7e9b Author: Carlos Garnacho Date: Tue Mar 3 17:43:14 2015 +0100 filechooser: Only do search_start_query() while we are in search mode This signal can be emitted by GtkSearchEntry after search has been cancelled, and other operation mode is set. It doesn't make sense to populate the search model in that state anymore, so just avoid doing it. https://bugzilla.gnome.org/show_bug.cgi?id=745479 gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit b2f3b674946ae9b1f335b4222f7942067f232baa Author: Carlos Garnacho Date: Tue Mar 3 13:36:07 2015 +0100 searchenginetracker: Keep a reference on the search engine while querying The object might be destroyed when mid operation, causing crashes as the query callback still expects the object pointer to be valid. Also, remove the gdk_threads_enter/leave pairs, the callback will be executed on the caller (UI) thread, so this is not necessary. https://bugzilla.gnome.org/show_bug.cgi?id=745479 gtk/gtksearchenginetracker.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit a994f4edfb744b83e392d1b8dd8689b5b146ce01 Author: Carlos Garnacho Date: Tue Mar 3 13:34:03 2015 +0100 filechooser: Disconnect signal handlers from search engine before destroying The search engine might stay alive longer due to extra temporary refs, so the signal handlers should be removed for the filechooser to ignore these properly. https://bugzilla.gnome.org/show_bug.cgi?id=745479 gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 79321c0d8a0a5ed75a441b6720aaf8edb0dba6f9 Author: Matthias Clasen Date: Tue Mar 3 07:11:41 2015 -0500 Make a pot generating command available Translators don't want to run autogen before generating pot, so give them a script. Makefile.am | 3 ++- make-pot | 61 ++++++++++++++++++++++++++++++++++++++++++++ po-properties/Makefile.in.in | 13 +++++----- po/Makefile.in.in | 36 ++++++-------------------- 4 files changed, 77 insertions(+), 36 deletions(-) commit 48c93fb347d475cd4547b4fbf88afa2ef369b220 Author: Chun-wei Fan Date: Tue Mar 3 18:40:32 2015 +0800 MSVC 2008 Builds: Speed Up Release Builds Use the /MP compiler option, where the build time for release builds can be cut down by quite a bit. This will however cause a brief warning with debug builds due to the use of /Gm, but the code will otherwise build normally. Unlike the Visual Studio 2010+ builds, we can't use /d2Zi+ as Visual Studio 2008 does not support that, so we can't get a better debugging experience for release builds here. build/win32/vs9/gtk-build-defines.vsprops | 1 + 1 file changed, 1 insertion(+) commit 163f7e75bf8f56b8440ecbafdf88470708e9d934 Author: Chun-wei Fan Date: Tue Mar 3 18:36:00 2015 +0800 Fix "MSVC Builds: Update icon-browser Projects" The Visual Studio 2008 Project was not updated correctly, so fix that. build/win32/vs9/gtk3-icon-browser.vcproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb78a39103cdee8cfb6e589c7d293456b18817c9 Author: Stefan Sauer Date: Tue Mar 3 07:49:38 2015 +0100 tooltip: remove unused variable and related g_object_set We never use the value of has_tooltip. This is a left-over from the refactoring of gtk_tooltip_run_requery(). gtk/gtktooltip.c | 3 --- 1 file changed, 3 deletions(-) commit 05ef31362dbe319dafbdf4af8b3c71f822117e9d Author: Chun-wei Fan Date: Tue Mar 3 14:08:51 2015 +0800 MSVC Builds: Update icon-browser Projects There is a new source file that needs to be built, so fix the projects... build/win32/vs10/gtk3-icon-browser.vcxproj | 1 + build/win32/vs10/gtk3-icon-browser.vcxproj.filters | 1 + build/win32/vs9/gtk3-icon-browser.vcproj | 1 + 3 files changed, 3 insertions(+) commit a4f69408ac0f9068ad26504c3774c80f4381db61 Author: Chun-wei Fan Date: Tue Mar 3 14:07:26 2015 +0800 MSVC Builds: Improve Build Speed and Debugging Use Multiprocessor compilation which can cut down build times by quite a bit and use the /d2Zi+ flag to have better debugging info being logged to the .pdb for release builds. These are only applicable for Visual Studio 2010/2012 and later. build/win32/vs10/gtk-build-defines.props | 2 ++ 1 file changed, 2 insertions(+) commit e31a936e3e9b26cee35f51b6bd822803539c59db Author: Chun-wei Fan Date: Tue Mar 3 12:14:24 2015 +0800 gtkswitch.c: Fix Build on C89 Compilers This file now uses round(), which was not available until C99, so include fallback-c89.c instead of math.h, which includes math.h and does a fallback implementation of round(). gtk/gtkswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 32c0c6fee0ddc7333991db1ae772ebd33fe7a12c Author: Matthias Clasen Date: Mon Mar 2 19:46:43 2015 -0500 3.15.10 NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 238cdd5e37931118b823f4d1e01e814e2fffd09d Author: Matthias Clasen Date: Mon Mar 2 20:57:29 2015 -0500 Avoid stray output from configure The new xgettext check was leaving a messages.po file behind. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3569d373a21ddc851e7699c184951985321fecfb Author: Matthias Clasen Date: Mon Mar 2 20:16:25 2015 -0500 Fix 7c4bf742e82d812ecc5b0c3280db86d2689eb093 The objects-finalize test constructs gestures with NULL as a widget. The recent addition of weak references was not ready for that. gtk/gtkeventcontroller.c | 3 ++- gtk/gtkwidget.c | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) commit 0019eb7bf9646f8b364e3cc09aa7351c59d333d7 Author: Emmanuele Bassi Date: Tue Mar 3 00:06:35 2015 +0000 gears: Update to slightly more modern OpenGL Instead of using glxgears, which still uses OpenGL 2.1 and the fixed pipeline, we use a slightly modified es2gears, OpenGL 3.2, and the programmable pipeline. tests/gtkgears.c | 816 +++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 615 insertions(+), 201 deletions(-) commit 209c5c37f323c5cb2b8ae98384e0fd61a2df60f7 Author: Matthias Clasen Date: Mon Mar 2 16:22:56 2015 -0500 file chooser: Avoid animated scrolling for editing Avoid scrolling animation when scrolling to where we want to insert the new folder, since adding the entry doesn't do the right thing if the treeview is still scrolling. An alternative would be to wait for the animated scrolling to reach its target before starting the editing, but this is easier. https://bugzilla.gnome.org/show_bug.cgi?id=729366 gtk/gtkfilechooserwidget.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 18de5e6547b1041c567212826c36fdbb74b80ba9 Author: Matthias Clasen Date: Mon Mar 2 15:53:35 2015 -0500 file chooser: Avoid triggering assertions cairo surfaces are boxed types, so don't try to set them with g_value_set_object(). gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d2fe45ab5754fa4fdb437516cabf02dec5eb5593 Author: Matthias Clasen Date: Mon Mar 2 15:38:29 2015 -0500 file chooser: Avoid warnings from the location column Avoid criticals that would come out of this code if file is / or NULL. gtk/gtkfilechooserwidget.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 65b55938ca31c3941e9df69bd041f130fe6e242b Author: Claude Paroz Date: Mon Mar 2 18:32:07 2015 +0000 Updated French translation po/fr.po | 2033 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1215 insertions(+), 818 deletions(-) commit 4cae9bdd05fba480766e791f0d140c2d8f54da62 Author: Carlos Garnacho Date: Mon Mar 2 18:19:16 2015 +0100 x11: Store last axes from device And use these for the missing axes if the valuator mask is incomplete. This used to work fine on tablets because the Wacom driver ensures all valuators are sent, which is not true if using the evdev driver. https://bugzilla.gnome.org/show_bug.cgi?id=703610 gdk/x11/gdkdevice-xi2.c | 28 ++++++++++++++++++++++++++++ gdk/x11/gdkdevicemanager-xi2.c | 10 ++++++++-- gdk/x11/gdkprivate-x11.h | 6 ++++++ 3 files changed, 42 insertions(+), 2 deletions(-) commit 3ccfcf5b9f0285be7b2423a22f17a2eaea774f49 Author: Carlos Garnacho Date: Mon Mar 2 17:01:21 2015 +0100 scrolledwindow: Cancel kinetic/overshoot animation on captured scroll events This ensures the animation is cancelled if the child widget happens to GDK_EVENT_STOP scroll events. https://bugzilla.gnome.org/show_bug.cgi?id=745315 gtk/gtkscrolledwindow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit da679f3866b19fd64d4fbd388f0eed149b585270 Author: Matthias Clasen Date: Mon Mar 2 11:11:24 2015 -0500 Updates NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit 1feaa6f30193b0d496e73421af967273d0af0682 Author: Carlos Garnacho Date: Mon Mar 2 15:31:11 2015 +0100 scrolledwindow: Add motion mask to the widget window This is not specified specifically by the attached controllers, so let the scrolledwindow set the mask, as motion events with no buttons pressed are interesting to it. https://bugzilla.gnome.org/show_bug.cgi?id=745344 gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22c83e5ea7045beab4f3050c368d6a2cc9086dfa Author: Yosef Or Boczko Date: Mon Mar 2 15:39:40 2015 +0200 Updated Hebrew translation po/he.po | 3675 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1954 insertions(+), 1721 deletions(-) commit eaebc2cb4b8bae75e66c3f4b98b5ff9dc57ed6ba Author: Carlos Garnacho Date: Wed Feb 25 15:59:26 2015 +0100 wayland: Delay wl_subsurface interface creation until the window is shown It isn't really necessary anytime before, so just make sure it's there only when the window is visible. https://bugzilla.gnome.org/show_bug.cgi?id=743427 gdk/wayland/gdkwindow-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d070e4c7429a6c964556af01973feae6740c0d18 Author: Carlos Garnacho Date: Wed Feb 25 15:52:49 2015 +0100 gtkwindow: Do not show subsurface windows for hidden popover widgets This is really just necessary when we have a visible widget, otherwise the window would temporarily linger with odd size and surface. https://bugzilla.gnome.org/show_bug.cgi?id=743427 gtk/gtkwindow.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit c55fcd35fe4e346ee35a85b925b07981057bb98e Author: Carlos Garnacho Date: Wed Feb 25 14:46:54 2015 +0100 wayland: Thaw the clock if we hide a GdkWindow mid-frame When a window is hidden, its surface and all its roles are destroyed, if this happens when we already issued a wl_surface_commit and are awaiting for a frame callback, the clock will remain frozen for the next time the window is shown. To avoid this, keep track of the wl_surface_frame() calls issued, and ensure the clock is thawed after hiding. If we happen to receive the frame callback, it is just ignored. https://bugzilla.gnome.org/show_bug.cgi?id=743427 gdk/wayland/gdkwindow-wayland.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 13e22e20300b7312e52bba7d077fc7e231695fc1 Author: Carlos Garnacho Date: Wed Feb 25 20:34:12 2015 +0100 gtkwindow: Move window dragging to a standalone drag gesture The gesture is hooked to the capture phase, so it works for buttons in header bars and whatnot. In order to be friendly to the widget it is capturing events from, an ugly hack is in place to avoid capturing events when the target widget has a gesture that would consume motion events. gtk/gtkmain.c | 14 +++--- gtk/gtkwidget.c | 28 ++++++++++++ gtk/gtkwidgetprivate.h | 2 + gtk/gtkwindow.c | 116 ++++++++++++++++++++++++++++++++++--------------- 4 files changed, 118 insertions(+), 42 deletions(-) commit 0796d7b6ff9393746d90841c8db2ba9a2f7e6df8 Author: Carlos Garnacho Date: Wed Feb 25 20:31:09 2015 +0100 gtkmenubutton: Popup menu/popover on GtkButton:clicked This happens on button release, which is more convenient if the gesture can be consumed by something else (eg. window dragging), and already behaves correctly wrt cancelled gestures, broken grabs, etc. This also allows us to unify pointer and keyboard behavior, popping up the menu widget in a single place. gtk/gtkmenubutton.c | 71 +++++++++++++++++++---------------------------------- 1 file changed, 25 insertions(+), 46 deletions(-) commit 2e52e9964b5c0d463791b26bc0c17a162ea78495 Author: Carlos Garnacho Date: Wed Feb 25 20:30:11 2015 +0100 gesture: On cancel, remove touchpoint before checking the recognized state Otherwise the touch being removed doesn't account in recognition. gtk/gtkgesture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a4e0de183967d51f5ef7ec602f96ad6c33456701 Author: Carlos Garnacho Date: Wed Feb 25 20:29:22 2015 +0100 button: Ensure the button is "left" when a gesture is cancelled This prevents from stale widget states if the gesture happens to be cancelled mid-press. gtk/gtkbutton.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 0910eaf6fe8d22e50d33224dc0ae88b71a5e1205 Author: Debarshi Ray Date: Sun Mar 1 13:35:02 2015 +0100 eventcontroller: Chain up on constructed https://bugzilla.gnome.org/show_bug.cgi?id=745225 gtk/gtkeventcontroller.c | 2 ++ 1 file changed, 2 insertions(+) commit 7c4bf742e82d812ecc5b0c3280db86d2689eb093 Author: Debarshi Ray Date: Sun Mar 1 13:28:21 2015 +0100 eventcontroller, widget: Don't crash if destroyed before the other There are two scenarios. A widget sub-class owns a GtkEventController and passes itself to it, or a controller owned by something else is passed a widget. In the second case, if the widget is destroyed before the controller, we will have a crash when destructing the controller because we will be accessing invalid memory. Adding a weak reference on the widget addresses that problem. This leads to a crash in the first case. When the widget is getting destroyed, it will drop the reference to its own controller. The controller will skip touching the widget because the weak reference would have turned it to NULL. However, when the widget sub-class chains up to GtkWidget it will try to free all the controllers in its list. Unfortunately, all these controllers have already been destroyed. So we need to guard against this too. https://bugzilla.gnome.org/show_bug.cgi?id=745225 gtk/gtkeventcontroller.c | 1 + gtk/gtkwidget.c | 2 ++ 2 files changed, 3 insertions(+) commit 66d25c4a060458001d4725aceb39a0a1a12db39a Author: Murray Cumming Date: Mon Mar 2 10:58:23 2015 +0100 gtk_label_set_yalign(): Fix xalign/yalign typo in parameter name. gtk/gtklabel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c2aff4ab6edbc97ed535b1f0acb95e86c623447e Author: Marek Kasik Date: Fri Feb 27 16:48:40 2015 +0100 printing: Set printer state correctly Consider NULL printer state message as empty too. Printer state IPP_PRINTER_STOPPED can be considered as paused state. https://bugzilla.gnome.org/show_bug.cgi?id=743323 modules/printbackends/cups/gtkprintbackendcups.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit bc77408e3c33b2395b367a46fbca6d3d8c714947 Author: Murray Cumming Date: Mon Mar 2 09:45:57 2015 +0100 gtk_misc_set_alignment(): Improve the deprecation documenation. To link to GtkWidget.halign/valign and to mention GtkLabel.xalign/yalign. gtk/deprecated/gtkmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c91076f64c6561c800459d2d7a045d79455ffd09 Author: Ryan Lortie Date: Sun Mar 1 21:35:53 2015 -0500 gdkglcontext-win32: fix variable names in GDK_NOTE These probably weren't caught because GDK_NOTE was disabled when the change was tested. https://bugzilla.gnome.org/show_bug.cgi?id=745400 gdk/win32/gdkglcontext-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f0ab5656be335803d548db68c807379acbf9dd3 Author: Ryan Lortie Date: Sun Mar 1 21:35:34 2015 -0500 gdkglcontext-win32: remove unused variables https://bugzilla.gnome.org/show_bug.cgi?id=745400 gdk/win32/gdkglcontext-win32.c | 9 --------- 1 file changed, 9 deletions(-) commit 9ba4bed1176203ff7380fabc9755309ddd301939 Author: Marek Černocký Date: Sun Mar 1 18:54:56 2015 +0100 Updated Czech translation po-properties/cs.po | 2382 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1294 insertions(+), 1088 deletions(-) commit fc838cefbf3bbcb50497ca3a6fc37fd2d71cb6e6 Author: Carlos Garnacho Date: Sat Feb 28 22:59:36 2015 +0100 searchenginetracker: Unify fts/non-fts query This makes sure we use location_uri for both types of query, and the fts query has been made more similar to the one used by nautilus. gtk/gtksearchenginetracker.c | 49 ++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 25 deletions(-) commit d87041bfe38368982b6b72f6812972b6a1d29a21 Author: Matthias Clasen Date: Sat Feb 28 16:42:39 2015 -0500 tracker: Turn on fts We want to match what nautilus does, and the non-fts query ignores the location, which yields somewhat broken UI in the file chooser. gtk/gtksearchenginetracker.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8a0d02c54876721672abe42afaab7febcc5699ce Author: Matthias Clasen Date: Sat Feb 28 16:13:18 2015 -0500 Formatting fixes gtk/gtksearchengine.c | 106 +++++++++++++++++++++--------------------- gtk/gtksearchenginesimple.c | 110 ++++++++++++++++++++++---------------------- 2 files changed, 108 insertions(+), 108 deletions(-) commit f126157bfa9e8a550067fa169de24697add028bb Author: Matthias Clasen Date: Sat Feb 28 16:09:28 2015 -0500 file chooser: Don't start search too eagerly We were trying to start search when the user types anything, but this is annoying more often than helpful, and interferes with the location entry. So, stick with explicitly enabled search (via the search button or Alt-S) for now. gtk/gtkfilechooserwidget.c | 23 ----------------------- 1 file changed, 23 deletions(-) commit 6ed479e71ca5844144f4328b97eacbd528194b20 Author: Dušan Kazik Date: Sat Feb 28 20:21:13 2015 +0000 Updated Slovak translation po/sk.po | 1337 ++++++++++++++++++++++++-------------------------------------- 1 file changed, 521 insertions(+), 816 deletions(-) commit 5611cf209678b230bf69380d3f5a80b73039a027 Author: Peter Bloomfield Date: Sat Feb 28 08:59:12 2015 -0500 Do not return NULL AtkStateSet https://bugzilla.gnome.org/show_bug.cgi?id=741511 gtk/a11y/gtktextviewaccessible.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 2a3f1a49de34de0e3278e065cd532f224dc7c90e Author: Friedel Wolff Date: Sat Feb 28 19:32:23 2015 +0200 Updated translation for Afrikaans (af) po/af.po | 4456 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2505 insertions(+), 1951 deletions(-) commit a764e343c76aebd1f5120ffc75c7bef59aadc0b9 Author: Trần Ngọc Quân Date: Sat Feb 28 14:23:14 2015 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po-properties/vi.po | 810 ++++++++++----------- po/vi.po | 1958 +++++++++++++++++++++++---------------------------- 2 files changed, 1292 insertions(+), 1476 deletions(-) commit af86bc58b9de25a7ab000b3a5a8d5cdd952e174c Author: Matthias Clasen Date: Sat Feb 28 00:15:13 2015 -0500 wayland: Add debug spew gdk/wayland/gdkdevice-wayland.c | 50 ++++++++++++++++++++++++++-------------- gdk/wayland/gdkdisplay-wayland.c | 9 ++++++++ gdk/wayland/gdkwindow-wayland.c | 22 ++++++++++++++++++ 3 files changed, 64 insertions(+), 17 deletions(-) commit 94c5d691df28ec9315064e1ba2833288256a86c4 Author: Matthias Clasen Date: Fri Feb 27 22:28:28 2015 -0500 wayland: Formatting fixes gdk/wayland/gdkapplaunchcontext-wayland.c | 8 +- gdk/wayland/gdkcursor-wayland.c | 5 +- gdk/wayland/gdkdevice-wayland.c | 161 +++++++++++++++--------------- gdk/wayland/gdkdisplay-wayland.c | 147 ++++++++++++++------------- gdk/wayland/gdkdisplay-wayland.h | 6 +- gdk/wayland/gdkeventsource.c | 14 +-- gdk/wayland/gdkglcontext-wayland.c | 7 +- gdk/wayland/gdkkeys-wayland.c | 16 +-- gdk/wayland/gdkprivate-wayland.h | 4 +- gdk/wayland/gdkscreen-wayland.c | 96 ++++++++++-------- gdk/wayland/gdkselection-wayland.c | 62 ++++++------ gdk/wayland/gdkwayland.h | 2 +- gdk/wayland/gdkwaylandselection.h | 2 +- gdk/wayland/gdkwindow-wayland.c | 117 +++++++++------------- 14 files changed, 325 insertions(+), 322 deletions(-) commit a0eb0e23468c7516fa7809f22a8bcaf165915c1a Author: Matthias Clasen Date: Fri Feb 27 23:18:00 2015 +0000 wayland: Apply maximized and fullscreen state We were just throwing the request away if the app asks to fullscreen or maximize a window before it has been mapped. This is something the GdkWindow API explicitly supports, so make it work by saving the state until the surface exists. This fixes things under weston. There are bugs in mutter that keep this from working correctly with gnome-shell. https://bugzilla.gnome.org/show_bug.cgi?id=745303 gdk/wayland/gdkwindow-wayland.c | 38 ++++++++++++++++++++++---------------- 1 file changed, 22 insertions(+), 16 deletions(-) commit 3d205a20374f344681989261e7a18135c05a0c5f Author: Matthias Clasen Date: Fri Feb 27 18:15:37 2015 -0500 wayland: Drop some pointless lines No need for these parameter checks, really. gdk/wayland/gdkwindow-wayland.c | 8 -------- 1 file changed, 8 deletions(-) commit 3b10269a12f25138c5acc20fa3729e19c2b8d210 Author: Aurimas Černius Date: Sat Feb 28 00:02:25 2015 +0200 Updated Lithuanian translation po-properties/lt.po | 336 +++++---- po/lt.po | 1870 +++++++++++++++++++++++---------------------------- 2 files changed, 994 insertions(+), 1212 deletions(-) commit 6ccef21d4987c8e91a163566cc1d8453a0718577 Author: Matthias Clasen Date: Fri Feb 27 17:00:08 2015 -0500 Fix a typo Follow-up fix for commit 7cee6c5cc6f35d9ed453f943686c0b21e86b4a3e. gdk/win32/gdkdisplay-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53028ff3bb0610f5fb4df360391af9ee23f61cfa Author: Olivier Fourdan Date: Fri Feb 27 13:06:29 2015 +0100 wayland: Don't use g_error() on connection lost When the Wayland compositor vanishes, all applications connected will receive a SIGPIPE as soon as they try to use wl_display_dispatch(). Do not use g_error() to terminate the applications when this occurs, g_error() means an error in the application while here it's not truly the case. Use g_warning() and exit() instead. Signed-off-by: Olivier Fourdan https://bugzilla.gnome.org/show_bug.cgi?id=745289 gdk/wayland/gdkeventsource.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit ff85f6ce3f838384fb9239e14939d5dbb1f49648 Author: Balázs Úr Date: Fri Feb 27 21:18:14 2015 +0000 Updated Hungarian translation po-properties/hu.po | 95 ++++++++++++++++++++++++++++------------------------- 1 file changed, 51 insertions(+), 44 deletions(-) commit 0507a4d39a5925e4c29afea745dbfef352af0eb1 Author: Balázs Úr Date: Fri Feb 27 21:13:55 2015 +0000 Updated Hungarian translation po/hu.po | 1726 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 758 insertions(+), 968 deletions(-) commit 7cee6c5cc6f35d9ed453f943686c0b21e86b4a3e Author: Emmanuele Bassi Date: Fri Feb 27 21:00:16 2015 +0000 gdk: Use a better error message Having "Assertion failed: success" on the console is not going to help anyone. gdk/win32/gdkdisplay-win32.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit ab3084b71447c456e3e37ffeee95b24f4fe8e007 Author: Piotr Drąg Date: Fri Feb 27 19:46:55 2015 +0100 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 2 +- po/POTFILES.in | 52 +++++++++++++++++++++++------------------------ po/POTFILES.skip | 41 ------------------------------------- 3 files changed, 27 insertions(+), 68 deletions(-) commit 00f4c070f4f3da709a5be6f10106e3152db5f509 Author: Piotr Drąg Date: Fri Feb 27 19:37:17 2015 +0100 Updated Polish translation po-properties/pl.po | 286 +++++++++++++++++++++++++++------------------------- 1 file changed, 147 insertions(+), 139 deletions(-) commit 668df30b603cb82b8a06a92af78d0c3783d36b36 Author: Yosef Or Boczko Date: Fri Feb 27 16:47:30 2015 +0200 Updated Hebrew translation po/he.po | 1639 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 706 insertions(+), 933 deletions(-) commit 3ce3593ebf334f0bee2497732ebce8958e9950e0 Author: Rafal Luzynski Date: Thu Feb 26 02:15:18 2015 +0100 GtkListBoxRow: add g_return_if_fail to grab_focus, don't crash Although gtk_list_box_row_grab_focus() is not a public function it can be easily called by gtk_widget_grab_focus() with a row argument which has been removed from the list box and has box == NULL. https://bugzilla.gnome.org/show_bug.cgi?id=744879 gtk/gtklistbox.c | 2 ++ 1 file changed, 2 insertions(+) commit 45210d58356e5d8feb488bfdc0039fcfdf47c749 Author: Efstathios Iosifidis Date: Fri Feb 27 11:20:42 2015 +0000 Updated Greek translation po-properties/el.po | 703 +++++++++++++++++++++++++++------------------------- 1 file changed, 359 insertions(+), 344 deletions(-) commit f96f69996a86d4d37ad4b9b697ded9a5941d6fa0 Author: Matthias Clasen Date: Thu Feb 26 21:15:19 2015 -0500 file chooser dialog: Prevent uneven button heights The height of the text buttons depends on the font height, whereas the search button has a fixed-size icon in it... Prevent unevent heights by putting them all in a size group. https://bugzilla.gnome.org/show_bug.cgi?id=745263 gtk/gtkfilechooserdialog.c | 14 ++++++++++++++ gtk/ui/gtkfilechooserdialog.ui | 3 +++ 2 files changed, 17 insertions(+) commit 6855e1eec36033f84aa8d2f8cd2ab77ace474064 Author: Matthias Clasen Date: Thu Feb 26 20:55:54 2015 -0500 app chooser dialog: Prevent uneven button heights The height of the text buttons depends on the font height, whereas the search button has a fixed-size icon in it... Prevent unevent heights by putting them all in a size group. gtk/gtkappchooserdialog.c | 5 +++++ gtk/ui/gtkappchooserdialog.ui | 7 +++++++ 2 files changed, 12 insertions(+) commit c951740cf9cd12bf8f6d7ddb383eb39cc58fb3b7 Author: Matthias Clasen Date: Thu Feb 26 19:00:24 2015 -0500 Add a configure check for new enough gettext Check that xgettext understands glade files. configure.ac | 9 +++++++++ 1 file changed, 9 insertions(+) commit 5840c931b3065359bb97e607a9ae67e4e76d3f33 Author: Matthias Clasen Date: Sun Feb 1 14:37:20 2015 -0500 Stop building extract-strings It is no longer needed. Makefile.am | 2 +- configure.ac | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) commit b08015371bedf20e07956a901437737a5349edbb Author: Matthias Clasen Date: Sun Feb 1 14:34:37 2015 -0500 Stop using extract-headers Since 0.18.3, xgettext can extract strings from ui files. gtk/Makefile.am | 9 +------ po/POTFILES.in | 84 ++++++++++++++++++++++++++++----------------------------- 2 files changed, 43 insertions(+), 50 deletions(-) commit b3a5d86d5d13092cdc63a9b93061e06917183daa Author: Dušan Kazik Date: Thu Feb 26 11:59:18 2015 +0000 Updated Slovak translation po/sk.po | 236 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 132 insertions(+), 104 deletions(-) commit b618256a4c0278fd4e3353869cfab367a719bb4f Author: Efstathios Iosifidis Date: Thu Feb 26 11:23:48 2015 +0000 Updated Greek translation po/el.po | 285 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 158 insertions(+), 127 deletions(-) commit 6a0290145d1f5fc2ad72f12e989362bf6a5a153b Author: Baurzhan Muftakhidinov Date: Thu Feb 26 07:11:37 2015 +0000 Updated Kazakh translation po/kk.po | 1082 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 588 insertions(+), 494 deletions(-) commit f74067dda2034f3bb7387f84eb7d74332077f040 Author: Marek Kasik Date: Fri Feb 20 11:11:01 2015 +0100 printing: Always get details of Avahi printers via IPP Request details of Avahi browsed printers even when we've got their PPDs already. Some options are not present in PPD. https://bugzilla.gnome.org/show_bug.cgi?id=743323 modules/printbackends/cups/gtkprintbackendcups.c | 63 +++++++++++++----------- 1 file changed, 33 insertions(+), 30 deletions(-) commit 979a4c1b08fd8d666b4f393d64d56e40b8585e08 Author: Marek Kasik Date: Wed Feb 25 15:54:36 2015 +0100 printing: Get covers for each printer individually Since we combine Avahi browsed printers and printers of local CUPS in one backend we need to get covers for each printer separately. https://bugzilla.gnome.org/show_bug.cgi?id=743323 modules/printbackends/cups/gtkprintbackendcups.c | 51 ++++++++++++------------ modules/printbackends/cups/gtkprintercups.c | 4 ++ modules/printbackends/cups/gtkprintercups.h | 2 + 3 files changed, 31 insertions(+), 26 deletions(-) commit 7fa9089196bbf86c056a775a2423cda0df3d7f93 Author: Daniel Mustieles Date: Wed Feb 25 12:34:02 2015 +0100 Updated Spanish translation po/es.po | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit ff0aabe57632799bc567e1162b46cc0ad4f15058 Author: Matthias Clasen Date: Tue Feb 24 20:38:33 2015 -0500 3.15.9 NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) commit f13157f4bbde5a505ca885fbcc342c809b572f01 Author: Jonas Ådahl Date: Tue Feb 24 18:10:07 2015 +0800 wayland: Don't allocate a full size SHM buffer when drawing using OpenGL Before this patch, we'd always allocate a full size SHM buffer via the wl_shm_pool, even though it would never be used. Instead allocate a logical 1x1 cairo image surface. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkdisplay-wayland.c | 6 ++++++ gdk/wayland/gdkprivate-wayland.h | 1 + gdk/wayland/gdkwindow-wayland.c | 25 +++++++++++++++++++++++-- 3 files changed, 30 insertions(+), 2 deletions(-) commit aa81262f116d32936abc62324e170ade1fc68578 Author: Jonas Ådahl Date: Tue Feb 24 17:20:22 2015 +0800 wayland: Scale up wl_egl_window according to window scale In order to support window scales for EGL windows, resize the wl_egl_window to the window dimension multiplied with the window scale, just as with SHM window buffers. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkwindow-wayland.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 56c9eac16eb09a3b0ced91b21cd3f803db8125ca Author: Jonas Ådahl Date: Tue Feb 24 16:11:48 2015 +0800 wayland: Properly support changing of surface scale When the preferred surface scale changes, for example when entering a wl_output with a higher scale than any previous entered output, recreate the shm surface and redraw the window content with the new window scale. Before this patch, the internal scale would be changed, but the shm surface would not be recreated given the new scale, i.e. we'd attach a buffer for a different scale than wl_surface.set_scale specified. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkwindow-wayland.c | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) commit a70b478a5c1bf631dc1053b8711d3f6b64ea77e6 Author: Jonas Ådahl Date: Tue Feb 24 15:00:39 2015 +0800 wayland: Don't ever try to set surface buffer scale when not supported If the compositor is too old for handling surface buffer scales, never tyr to set change it. This will effectively always leave it to its initial state, i.e. 1. https://bugzilla.gnome.org/show_bug.cgi?id=745076 gdk/wayland/gdkwindow-wayland.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 40f2af665d59f2732ac587734b4958682d5f7c7d Author: Benjamin Otte Date: Sat Feb 21 00:03:49 2015 +0100 gdkcairo: Bail if surface is in error Don't try to paint onto an error surface. This happens for example when gdk_cairo_set_source_pixbuf() is called with a pixbuf that is too big for Cairo to handle. Spotted by Christian Boxdörfer gdk/gdkcairo.c | 3 +++ testsuite/gdk/Makefile.am | 5 +++-- testsuite/gdk/cairo.c | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) commit 0ab48fcc4227ab112835f8fc1b922cfb21a7927f Author: Benjamin Otte Date: Wed Feb 25 00:35:45 2015 +0100 css: Fix _gtk_bitmask_subtract() We were doing the wrong thing *and* writing uninitialized memory while doing so. BAD. Also added tests exposing these. https://bugzilla.redhat.com/show_bug.cgi?id=1185585 gtk/gtkallocatedbitmask.c | 7 ++++--- testsuite/gtk/bitmask.c | 48 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 3 deletions(-) commit 9e50fe0aeba1dba5a151efcdf39b9f0142d26e3d Author: Fran Dieguez Date: Tue Feb 24 22:43:36 2015 +0100 Updated Galician translations po-properties/gl.po | 3072 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1659 insertions(+), 1413 deletions(-) commit e86cad1006bec14577d6ce6af04cdd90672bc80f Author: Piotr Drąg Date: Tue Feb 24 22:09:30 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 3 +++ po/POTFILES.in | 3 +++ 2 files changed, 6 insertions(+) commit 1b578ef33a4a664eaadd6988dba1688bef044e10 Author: Daniel Mustieles Date: Tue Feb 24 19:21:02 2015 +0100 Updated Spanish translation po/es.po | 72 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 28 deletions(-) commit 02774f9fd587df575c6a1b1878f343f78a6e2f58 Author: Matej Urbančič Date: Tue Feb 24 19:18:22 2015 +0100 Updated Slovenian translation po/sl.po | 2440 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 1229 insertions(+), 1211 deletions(-) commit d582e71ba8696fe112a90f6fd0abcb2fba82cf58 Author: Matej Urbančič Date: Tue Feb 24 19:04:49 2015 +0100 Updated Slovenian translation po-properties/sl.po | 3922 ++++++++++++++++++++++++++------------------------- 1 file changed, 2018 insertions(+), 1904 deletions(-) commit f986730c14f2acfe5d19cf1d6408474a62e99c43 Author: Yosef Or Boczko Date: Tue Feb 24 19:31:13 2015 +0200 Updated Hebrew properties translation po-properties/he.po | 232 ++++++++++++++++++++++++++++------------------------ 1 file changed, 124 insertions(+), 108 deletions(-) commit 0c903156ef5b043149ad4368b9b7606d985ed4bb Author: Carlos Garnacho Date: Tue Feb 24 14:52:40 2015 +0100 scrolledwindow: Only start fade animation on "visible" scrollbars If a scrollbar is not shown (because of policies, or because it isn't necessary), it doesn't make sense to start fade animations on its window on captured motion events. gtk/gtkscrolledwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit b06908ad52f342d4f8624389844896751491747c Author: Yosef Or Boczko Date: Tue Feb 24 15:05:00 2015 +0200 Updated Hebrew translation po/he.po | 58 +++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 35 insertions(+), 23 deletions(-) commit 913e10fe3bc62685933c082f1eaeb3a72a1d6f39 Author: Matthias Clasen Date: Mon Feb 23 22:25:11 2015 -0500 Fix the previous commit The C_() macro only takes string literals. Use g_dpgettext2() instead gtk/gtkimmulticontext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b0b38c106deaa77d7bcbd4ecb7de6b41c07a9d22 Author: Matthias Clasen Date: Mon Feb 23 22:00:55 2015 -0500 Make gtk-im-context-none work This was added a few years ago, as a way to have _no_ im context at all. But it didn't actually work. Make it work, and streamline the handling of none by moving it all to gtkimmodule.c. As part of this, add context to the translated names of all im modules we ship. gtk/gtkimmodule.c | 47 ++++++++++++++++++++++++++++--------- gtk/gtkimmulticontext.c | 38 +++++++++--------------------- modules/input/imam-et.c | 2 +- modules/input/imbroadway.c | 2 +- modules/input/imcedilla.c | 2 +- modules/input/imcyrillic-translit.c | 2 +- modules/input/imime.c | 4 ++-- modules/input/iminuktitut.c | 2 +- modules/input/imipa.c | 2 +- modules/input/immultipress.c | 2 +- modules/input/imquartz.c | 2 +- modules/input/imthai.c | 2 +- modules/input/imti-er.c | 2 +- modules/input/imti-et.c | 2 +- modules/input/imviqr.c | 2 +- modules/input/imxim.c | 2 +- 16 files changed, 62 insertions(+), 53 deletions(-) commit aba2de34436035513b11faa2da4c7c56cc38ede9 Author: Daniel Drake Date: Mon Feb 23 14:49:08 2015 -0600 icontheme: allow directories with mtime 0 In order to provide a constant mtime between OS build and deploy time, while also maintaining a hardlink content-addressed model independent of timestamps, ostree sets all mtimes to 0. The icon cache code currently ignores directories with mtime 0, assuming they don't exist. Track directory existence in a more precise way. https://bugzilla.gnome.org/show_bug.cgi?id=745052 gtk/gtkicontheme.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 761c7811685387ac51b579d1765eb6f8fb91c461 Author: Bastian Ilsø Date: Thu Feb 19 16:07:09 2015 +0100 getting-started: move Drawing section to bottom. docs/reference/gtk/getting_started.xml | 91 +++++++++++++++++----------------- 1 file changed, 46 insertions(+), 45 deletions(-) commit b85fc8045ce83b8d3473b0263332d39f44aa194f Author: Daniel Mustieles Date: Mon Feb 23 19:15:08 2015 +0100 Updated Spanish translation po-properties/es.po | 138 +++++++++++++++++++++++++++++----------------------- 1 file changed, 77 insertions(+), 61 deletions(-) commit eddaf01676d3f6f28ca2609146be03a3dc9fd0b8 Author: Cosimo Cecchi Date: Sun Feb 22 17:53:18 2015 -0800 icontheme: use desired size instead of negative for DIR_UNTHEMED SVGs When loading SVGs from ICON_THEME_DIR_UNTHEMED GtkIconInfos, such as those created for a GLoadableIcon, the size of the pixbuf to load is set as a product of icon_info->scale. But a few lines above, icon_info->scale is set to -1 for ICON_THEME_DIR_UNTHEMED GtkIconInfos, so we'll end up always passing a negative size to the GdkPixbuf loader, which is interpreted as the nominal size of the image file. Instead load the SVG at the desired scaled size in that case. This fixes blurry icon in the notification panel in gnome-shell. https://bugzilla.gnome.org/show_bug.cgi?id=744991 gtk/gtkicontheme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit acd72ffabe88ae4078e1cc1c4c2377c6ea5aac5c Author: Cosimo Cecchi Date: Sun Feb 22 17:49:55 2015 -0800 icontheme: fill correct information when loading GResource-backed GIcons When loading a GResource-backed GFileIcon into a GtkIconInfo we currently fail to populate the is_resource private field. Also, since is_svg is set by looking at the filename, and g_file_get_path() returns NULL for a GResourceFile, is_svg was always FALSE. https://bugzilla.gnome.org/show_bug.cgi?id=744991 gtk/gtkicontheme.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit e7a2fc2d0184bb7e5b37c61c9787b6ae64efb532 Author: Piotr Drąg Date: Mon Feb 23 17:41:30 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit ec07987a90137677533c42515a326bb049d237c7 Author: Bastian Ilsø Date: Thu Feb 19 15:53:35 2015 +0100 Getting-started: port drawing.c to GtkApplication examples/drawing.c | 47 ++++++++++++++++++++++++++++------------------- 1 file changed, 28 insertions(+), 19 deletions(-) commit c73ab94d3f22b6d1b4a2860ed8f4b795ac7d610f Author: Matthias Clasen Date: Sun Feb 22 20:02:02 2015 -0500 range: Make steppers use smooth autoscrolling This makes them work much nicer than the old timer-based implementation. gtk/gtkrange.c | 70 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 50 insertions(+), 20 deletions(-) commit 3222de2f9168f6a09901428a108eed5e499d5e77 Author: Matthias Clasen Date: Sun Feb 22 17:57:23 2015 -0500 range: Make zoom scrolling less sensitive Use the new long press delay factor to make the zoom scrolling less easy to trigger accidentally. gtk/gtkrange.c | 2 ++ 1 file changed, 2 insertions(+) commit 2b6376248dab453b8e9600a8d37da2d2b7447a34 Author: Matthias Clasen Date: Sun Feb 22 17:48:39 2015 -0500 long press: Add a delay-factor property Add a way to set a delay factor that can be used to make the long press more or less sensitive. Making this a factor instead of exposing the delay itself preserves the value of the setting as an overall 'slow down long press' setting. gtk/gtkgesturelongpress.c | 71 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 68 insertions(+), 3 deletions(-) commit c060d93e3dc8abea39b919ac61434219b4318f25 Author: Matthias Clasen Date: Mon Feb 23 07:28:40 2015 -0500 zoom scrolling: Improve the previous fix As Sebastian pointed out, just resetting the initial slider position was an incomplete fix, because it does not cause the delta to be recomputed, which is important in this scenario, because you've likely travelled some distance over the slider before the long press kicks in. Instead, explicitly record both the slider position and the delta. gtk/gtkrange.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 8726c6d5d239a342f0267d1c2bf0c90fb051d7fb Author: Matthias Clasen Date: Mon Feb 23 06:42:17 2015 -0500 zoom scrolling: avoid 'jumping back' We record the starting position on button press, but only start the zoom mode when the long press timeout kicks in. Depending on circumstances, this can cause a noticable jump. Avoid this by resetting the recorded starting position after the long press timeout. Suggested by Sebastian Keller. gtk/gtkrange.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 1402e2286219d0a16bce327b3e0006ef7bb2ba61 Author: Chao-Hsiung Liao Date: Mon Feb 23 07:32:08 2015 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 341 +++++++++++++++++++++++++------------------------ 1 file changed, 173 insertions(+), 168 deletions(-) commit 5a0ad907b460c5e4a4f215cd142c6894394c490d Author: Chao-Hsiung Liao Date: Mon Feb 23 07:30:34 2015 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 217 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 111 insertions(+), 106 deletions(-) commit 25308477e772bbfeda9eaa167a737cfd87ff0b42 Author: Matthias Clasen Date: Sun Feb 22 17:01:27 2015 -0500 Silence a compiler warning gtk/gtkimcontextsimple.c | 1 + 1 file changed, 1 insertion(+) commit 44d3b71678a63ada7c320199450d6065a13989d5 Author: Balázs Úr Date: Sun Feb 22 21:19:26 2015 +0000 Updated Hungarian translation po-properties/hu.po | 64 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 36 insertions(+), 28 deletions(-) commit 1ffcdfcc327bc3a17efdc426dc04059484b788b4 Author: Matthias Clasen Date: Sun Feb 22 14:42:26 2015 -0500 icon browser: Set up dnd from the detail popup Allow dragging the various icon sizes as images. demos/icon-browser/iconbrowserwin.c | 62 +++++++++++++++++++++++++++++- demos/icon-browser/window.ui | 75 ++++++++++++++++++++++++------------- 2 files changed, 111 insertions(+), 26 deletions(-) commit ae63b21c61633186c4a5c2330c84877e6524765b Author: Matthias Clasen Date: Sun Feb 22 12:30:49 2015 -0500 icon browser: Add some dnd support Use a custom tree model and enable dragging from the icon view. Currently, we just support dropping the icon name as text. demos/icon-browser/Makefile.am | 1 + demos/icon-browser/iconbrowserwin.c | 52 +++++++++++++-------- demos/icon-browser/iconstore.c | 91 +++++++++++++++++++++++++++++++++++++ demos/icon-browser/iconstore.h | 26 +++++++++++ demos/icon-browser/window.ui | 8 +--- 5 files changed, 152 insertions(+), 26 deletions(-) commit 967ba60303a5cebf97f590c7367df74bde2afa1e Author: Matthias Clasen Date: Sun Feb 22 11:12:40 2015 -0500 icon browser: Activate on single-click We want to get away from double-clicks everywhere. demos/icon-browser/window.ui | 1 + 1 file changed, 1 insertion(+) commit ee857cd261ba8409f582e3b9c8aa073f79774e7f Author: Matthias Clasen Date: Sun Feb 22 11:11:09 2015 -0500 icon browser: stop selecting We don't need the selection here. demos/icon-browser/iconbrowserwin.c | 7 ------- demos/icon-browser/window.ui | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) commit fb581a1084ed8949c6b8c666f07a3239153c03f6 Author: Thibault Saunier Date: Sun Feb 22 13:01:17 2015 +0100 gdk/quartz: Fix mixup in attributes usage creating window implementation First, attributes can be NULL (which is always the case when calling gdk_window_ensure_native) so do not unconditionally dereference it. Then the window_type should be taken directly from the GdkWindow as in other backends (such as the X11 one for example). https://bugzilla.gnome.org/show_bug.cgi?id=744942 gdk/quartz/gdkwindow-quartz.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 77c982ed3f7fb2c8dc6956a71b79378cb2c09fbf Author: Dušan Kazik Date: Sat Feb 21 16:13:03 2015 +0000 Updated Slovak translation po/sk.po | 206 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 109 insertions(+), 97 deletions(-) commit 486b56e179bc427a4011024d68eddc327c95b1c0 Author: Ignacio Casal Quinteiro Date: Sat Feb 21 15:59:28 2015 +0100 statusicon: missed setting one uID gtk/deprecated/gtkstatusicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f07677c10598f4558b142cc76c524b838be4159e Author: Arnav Singh Date: Sat Feb 21 15:04:18 2015 +0100 statusicon: fix crash storing pointer in UINT https://bugzilla.gnome.org/show_bug.cgi?id=696505 gtk/deprecated/gtkstatusicon.c | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) commit 851d784f6d7e22fff726bcf84891d024dfaa7daf Author: Chao-Hsiung Liao Date: Sat Feb 21 11:06:35 2015 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 3108 ++++++++++++++++++++++++++---------------------- 1 file changed, 1668 insertions(+), 1440 deletions(-) commit 178d9bd84ca5f12fd2f3e14b6d2d31ab8f9eb28a Author: Chao-Hsiung Liao Date: Sat Feb 21 11:06:14 2015 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 2145 ++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1318 insertions(+), 827 deletions(-) commit 09daf9b916595113c17746e58d70157a6a3edabb Author: Efstathios Iosifidis Date: Fri Feb 20 21:18:20 2015 +0000 Updated Greek translation po/el.po | 267 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 140 insertions(+), 127 deletions(-) commit 415ab252f455618b85eef28ef6f6dacc1ae2bf87 Author: Matthias Clasen Date: Thu Feb 19 21:34:46 2015 -0500 3.15.8 NEWS | 31 +++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) commit fa48b42ef1b1e43b1728d0fea51f68e760dd37b0 Author: Carlos Garnacho Date: Fri Feb 20 13:33:09 2015 +0100 menubutton: Fix possible button/popover state inconsistences While a popover is hiding, the modal grab is already gone and the toggle button is clickable again, but clicking again at that time will result in gtk_widget_show() trying to show an already shown widget (although fading out and hidden soon) and the toggle button activated. So let the menubutton set the active status only if the menu/popover widget wasn't already shown, and ensure this doesn't get triggered by double/triple button press events. gtk/gtkmenubutton.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 85ad434290bc92ecdd92eb86b997bf103b658f1d Author: Carlos Garnacho Date: Fri Feb 20 12:46:52 2015 +0100 inspector: Destroy popovers on unmap As an implementation detail, the popover hooks the fade out animation on ::hide. Destroying the popover right away here is not a problem, but prevents the animation from actually running. ::unmap will be run after the animation is finished, so destroy the popover there. gtk/inspector/prop-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cff1694c99227dbf0b52525d7436fc4771859e00 Author: Carlos Garnacho Date: Fri Jan 9 16:10:29 2015 +0100 popover: Add show/hide transitions These have the same visual effect and timing than the gnome-shell ones. During the hide animation, the popover has been made to take focus elsewhere, and refuse to take any pointer/keyboard input until the popover is shown again. This has been based on work from Timm Bäder. https://bugzilla.gnome.org/show_bug.cgi?id=741405 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkpopover.c | 307 +++++++++++++++++++++++++++++++++-- gtk/gtkpopover.h | 6 + 3 files changed, 298 insertions(+), 17 deletions(-) commit 3a671994d4f4de61a48df6198353a188b7862baa Author: Matthias Clasen Date: Fri Feb 20 08:24:47 2015 -0500 scrolled window: Avoid a crash gtk_scrolled_window_allocate_scrollbar was calling gtk_scrolled_window_allocate_child just to get the relative allocation, overlooking the fact that that function is only safe to call if the scrolled window _has_ a child. Unfortunately, gtk_scrolled_window_allocate_scrollbar will sometimes get called when that is not the case. Since we are really only interested in the relative allocation, just get that directly. This fixes a segfault in the style-properties-nth-child reftest. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4fc98ae34566a8416a345ebdd2a51828f8192632 Author: Matthias Clasen Date: Fri Feb 20 08:23:53 2015 -0500 scrolled window: Drop dead code The allocation is never used in this function, so don't bother getting it. gtk/gtkscrolledwindow.c | 3 --- 1 file changed, 3 deletions(-) commit 00f9f1cc6bda6b6dd1d8091d8b8278be8af61a88 Author: Marek Kasik Date: Fri Feb 20 12:22:26 2015 +0100 printing: Use correct units for margins taken via IPP cups_printer_get_hard_margins() returned margins in millimeters for margins taken via IPP request instead of Units used before. modules/printbackends/cups/gtkprintbackendcups.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit cc780116a2e576922a3fd7694ab57409b4e3e4d4 Author: Carlos Garnacho Date: Thu Feb 19 16:44:18 2015 +0100 dnd: Set the parent DnD wayland surface on gtk_drag_set_icon_window() This is a better place to call this, both lets us remove all other calls, and additionally handles the gtk_drag_set_icon_widget() entry point. gtk/gtkdnd.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit 4a7da1e14387076e5cec6acd138de068afa5a352 Author: Ignacio Casal Quinteiro Date: Thu Feb 19 14:44:34 2015 +0100 Do not return on void functions gtk/gtkbitmaskprivateimpl.h | 4 ++-- gtk/gtkcssshorthandproperty.c | 2 +- gtk/gtkpaned.c | 4 ++-- gtk/gtkstyleproperty.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit b8005f4de920ad367ac5da03e54db7101172441f Author: Ignacio Casal Quinteiro Date: Thu Feb 19 14:44:56 2015 +0100 pathbar: use the same parameter as in the declaration gtk/gtkpathbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8b4863f0c410ddd4d9fe574e60ad1a4d7555891c Author: Philip Withnall Date: Wed Feb 18 11:33:36 2015 +0000 docs: Add extra symbol links to input handling documentation Cross-reference to the API documentation more consistently. https://bugzilla.gnome.org/show_bug.cgi?id=744054 docs/reference/gtk/input-handling.xml | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) commit 09bb109f01e4455f8c286da91fb5314ffac037f5 Author: Philip Withnall Date: Wed Feb 18 11:13:28 2015 +0000 docs: Expand input handling documentation to cover event masks Also try and clarify a few things about event propagation. Move input-handling.xml into gtk-doc’s expand_content_files variable so it automatically links to widget documentation. Add links from gtk_widget_add_events() and friends to the new documentation. https://bugzilla.gnome.org/show_bug.cgi?id=744054 docs/reference/gtk/Makefile.am | 1 + docs/reference/gtk/gtk-docs.sgml | 2 +- docs/reference/gtk/input-handling.xml | 133 ++++++++++++++++++++++++++++------ gdk/gdktypes.h | 3 + gdk/gdkwindow.c | 4 + gtk/gtkwidget.c | 8 +- 6 files changed, 123 insertions(+), 28 deletions(-) commit 668d5d8665d91110461da00caf80dcaf1cfc0bd4 Author: Philip Withnall Date: Tue Feb 17 14:37:28 2015 +0000 docs: Mention events in the input handling documentation title Make it a little easier to find these docs when searching for ‘event’. https://bugzilla.gnome.org/show_bug.cgi?id=744054 docs/reference/gtk/input-handling.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b397dd04c495a9df5b145471ab613476f160428b Author: Philip Withnall Date: Tue Feb 17 16:57:57 2015 +0000 gtk: Remove documentation references to the GTK_NO_WINDOW flag It has been removed entirely, and replaced by gtk_widget_get_has_window(). https://bugzilla.gnome.org/show_bug.cgi?id=744054 gtk/gtklabel.c | 3 ++- gtk/gtktestutils.c | 6 ++++-- gtk/gtkwidget.c | 29 ++++++++++++++--------------- 3 files changed, 20 insertions(+), 18 deletions(-) commit 5091ae5e04ba8489d53ffc92eb610f274d950b18 Author: Fran Dieguez Date: Thu Feb 19 09:56:49 2015 +0100 Updated Galician translations po/gl.po | 1191 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 655 insertions(+), 536 deletions(-) commit c85e32d56e3737aaf414f6286c7812cad760ba59 Author: Matthias Clasen Date: Wed Feb 18 17:26:20 2015 -0500 color scale: simplify code a bit It is not necessary to call gtk_widget_get_accessible repeatedly. gtk/gtkcolorscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50c848a992282f411511d0fef4642026dec6bef6 Author: Matthias Clasen Date: Wed Feb 18 17:25:05 2015 -0500 Explicitly set the a11y role of tooltip windows This seems better than trying to identify the 'tooltipness' of the window on the other side. https://bugzilla.gnome.org/show_bug.cgi?id=744683 gtk/gtktooltip.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 7624418ddffdadf894c7db943708d6100800cde3 Author: Matthias Clasen Date: Wed Feb 18 17:24:29 2015 -0500 Drop nonworking code to set a11y roles of tooltips This code relied on widget names, and we don't set those anymore. gtk/a11y/gtkwindowaccessible.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit e1100813e6c49d8b1ecf22c8b9228764003fb4e3 Author: Matthias Clasen Date: Tue Feb 17 19:25:22 2015 -0500 widget factory: Don't make file chooser local-only There's no reason to. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 11960fa9169d7b61b36a5d67bf3d9df5a533ed8e Author: Balázs Úr Date: Wed Feb 18 22:20:45 2015 +0000 Updated Hungarian translation po-properties/hu.po | 67 +++++++++++++++++++++++++++-------------------------- 1 file changed, 34 insertions(+), 33 deletions(-) commit 359fc25aad14af2b69b60dbbc19d10cb28c85b9c Author: Ting-Wei Lan Date: Thu Feb 19 00:16:15 2015 +0800 build: Don't use shopt in the build command shopt command only works in bash, so we should not use it in gtk/Makefile.am. https://bugzilla.gnome.org/show_bug.cgi?id=743647 gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d88899072362a01bbc3207da2138e405a6f0dba Author: Philip Withnall Date: Wed Feb 18 10:57:05 2015 +0000 gtk: Fix various tiny typos in documentation comments e.g. Invalid syntax in introspection annotations, typos in object names, accidentally using a gtk-doc comment for an internal function. gtk/gtkcssstyleproperty.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtklistbox.h | 1 + gtk/gtkmodelbutton.c | 2 +- gtk/gtksettings.c | 2 +- gtk/gtkwin32.c | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) commit e160befdf899180267fa9df04477ca8c563cb9c0 Author: Philip Withnall Date: Wed Feb 18 10:55:58 2015 +0000 docs: Remove non-existent symbols from gtk3-sections.txt Eliminate a couple of gtk-doc warnings. docs/reference/gtk/gtk3-sections.txt | 3 --- 1 file changed, 3 deletions(-) commit 8c32f403fb65ef4363303c5e2b019e4ade02c0c5 Author: Philip Withnall Date: Wed Feb 18 10:55:34 2015 +0000 docs: Ignore generated files when building documentation docs/reference/gdk/Makefile.am | 1 + docs/reference/gtk/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) commit a0a1ea10a8d412b60285beea22acd127e50c0fdd Author: Rico Tzschichholz Date: Wed Feb 18 11:38:29 2015 +0100 AppChooserDialog: Fix memleak gtk/gtkappchooserdialog.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 7233281d05e06a73ca84916a80c1335f8a0636ac Author: Daniel Mustieles Date: Wed Feb 18 10:55:57 2015 +0100 Updated Spanish translation po/es.po | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) commit eb995ce4538076a5fd823a9e26840e478996ac05 Author: Milo Casagrande Date: Wed Feb 18 08:14:48 2015 +0000 Updated Italian translation po/it.po | 158 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 69 insertions(+), 89 deletions(-) commit e43ec48e837b6b458a1b89658ecc19bff9f90265 Author: Carlos Garnacho Date: Tue Feb 17 19:45:50 2015 +0100 wayland: Use display from GdkDragContext device It will be useless to check the source window on the destination side, it's at the moment always NULL. Fetch the display from the device instead, which will be set for every GdkDragContext. gdk/wayland/gdkdnd-wayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4162fccaa29d2c22ca3050520fa217c4edf3dc72 Author: Daniel Mustieles Date: Tue Feb 17 18:36:57 2015 +0100 Updated Spanish translation po-properties/es.po | 240 ++++++++++++++++++++++++++-------------------------- 1 file changed, 119 insertions(+), 121 deletions(-) commit bf22ac8337e9151ef66c1adf0322221c08406b11 Author: Daniel Mustieles Date: Tue Feb 17 18:36:41 2015 +0100 Updated Spanish translation po/es.po | 200 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 111 insertions(+), 89 deletions(-) commit 5a907cc094d518e5a69848ea573832bc0a7f11f1 Author: Carlos Garnacho Date: Tue Feb 17 16:21:42 2015 +0100 scrolledwindow: Ensure indicator windows are created at the right place At the time of creating the indicator window, the scrollbar allocation is poked and reused as the initial window dimensions. This usually happens on two circumstances, either initially (so a ::size-allocate is emitted, relocating the windows in the right places), or post-initialization when calling set_overlay_scrolling() (so the scrollbars already have a valid size allocation) However, if the scrolledwindow is unrealized, and later re-realized again, the scrollbars will already have a valid allocation, although 0,0 based due to being contained in the previous indicator window. This comes out wrong then, and the indicator window is given 0,0 based coordinates too. Fix this by refactoring the scrollbar allocation code out of size_allocate, and also use that given size at the time of creating the indicator windows, this will provide the right widget-relative allocation anytime. gtk/gtkscrolledwindow.c | 220 +++++++++++++++++++++++++++--------------------- 1 file changed, 125 insertions(+), 95 deletions(-) commit c473afbdc9dac6c425d41a5827f5539140c38252 Author: Carlos Garnacho Date: Tue Feb 17 16:15:26 2015 +0100 scrolledwindow: Fully reset indicators' state on unrealize This avoids timers to run after realize(), and inconsistent initial states if the scrolledwindow is just realized again. gtk/gtkscrolledwindow.c | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) commit b3043e429b6b3851c321643066d85ae91ad3471b Author: Matthias Clasen Date: Tue Feb 17 09:30:56 2015 -0500 Avoid a crash in the inspector under wayland The Wayland-specific popover code in GtkWindow was not doing the right thing with the separate display connection we use for the inspector. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4510c93b7f1e73fd52666ae2a508448ac98e6f4 Author: Paolo Borelli Date: Tue Feb 17 14:17:53 2015 +0100 Do not use "return" when chaining up to a void function gdk/gdkwindow.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 0cf63ec8928e996de673514ac39fd48ac14da025 Author: Milo Casagrande Date: Tue Feb 17 13:43:52 2015 +0000 Updated Italian translation po/it.po | 3461 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2198 insertions(+), 1263 deletions(-) commit 0a4879b9ac5b3ab7766f91dcbb8f518a265b3a6b Author: Emmanuele Bassi Date: Tue Feb 17 10:21:41 2015 +0000 glarea: Better error handling Currently, GtkGLArea will leak GError instances set during the context creation, if an error is set. If any error is set post-context creation, it should be displayed even in the case a GL context exists; for instance, we can use the error display facility for shader compilation errors. gtk/gtkglarea.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit da559c08f93d6832f4b9d3199cf5a22ac7f035f9 Author: Benjamin Otte Date: Mon Feb 16 16:58:17 2015 +0100 switch: Have a priv varibale in the constructor gtk/gtkswitch.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit e1081bc4719c9e8cfef0d931d29838316412fa41 Author: Benjamin Otte Date: Mon Feb 16 06:25:44 2015 +0100 switch: Change handle_x to handle_pos Make that variable go from 0.0 to 1.0 where 0.0 means inactive (slider is on the left) and 1.0 means active (slider is on the right). The math is simpler that way and most importantly the value is independent of size. gtk/gtkswitch.c | 57 ++++++++++++++++----------------------------------------- 1 file changed, 16 insertions(+), 41 deletions(-) commit 86a41b108e34c69ca03f65838fd67bf9c124aadf Author: Benjamin Otte Date: Mon Feb 16 05:22:00 2015 +0100 switch: Get rid of offset member variable We can compute it on-demand whereever we need it. gtk/gtkswitch.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit 1b171e812ea603c0a32940ce02891e7cd1d39adc Author: Benjamin Otte Date: Mon Feb 16 03:24:38 2015 +0100 switch: Remove unused variables from private struct gtk/gtkswitch.c | 2 -- 1 file changed, 2 deletions(-) commit 295b8aab0c1be8bf4437637f9b69ed1c368df489 Author: Benjamin Otte Date: Sun Feb 15 05:37:19 2015 +0100 css: Implement animations for font-weight property gtk/gtkcssenumvalue.c | 18 +++++++++++++++++- gtk/gtkcssstylepropertyimpl.c | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) commit 0c4a42e6295bd2546263502fb9867c3f075a2bf4 Author: Benjamin Otte Date: Sun Feb 15 05:02:33 2015 +0100 css: Implement "bolder" and "lighter" font weights gtk/gtkcssenumvalue.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) commit a414faa99736fba99c8488f2e497d492a717c667 Author: Yosef Or Boczko Date: Mon Feb 16 22:22:57 2015 +0200 Updated Hebrew Property translation po-properties/he.po | 445 ++++++++++++++++++++++++++-------------------------- 1 file changed, 222 insertions(+), 223 deletions(-) commit 36fcd7327c3194e769d38976cf82ceff8e5245ba Author: Yosef Or Boczko Date: Mon Feb 16 22:21:51 2015 +0200 Updated Hebrew translation po/he.po | 215 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 113 insertions(+), 102 deletions(-) commit 1500626d4467656a92f1be9af21ad8646b7266ad Author: A S Alam Date: Mon Feb 16 14:15:28 2015 -0600 update Punjabi Translation po-properties/pa.po | 3023 ++++++++++++++++++++++++++++----------------------- po/pa.po | 2419 +++++++++++++++++++++++++---------------- 2 files changed, 3146 insertions(+), 2296 deletions(-) commit 978c36484787efc6088f5a5f52b13f6a237e06b6 Author: Matej Urbančič Date: Mon Feb 16 20:54:10 2015 +0100 Updated Slovenian translation po/sl.po | 2171 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1244 insertions(+), 927 deletions(-) commit 26cc941a9e558a6cf7305ba19b15add84a965963 Author: Matej Urbančič Date: Mon Feb 16 20:41:39 2015 +0100 Updated Slovenian translation po/sl.po | 2521 ++++++++++++++++++++++---------------------------------------- 1 file changed, 875 insertions(+), 1646 deletions(-) commit 0550ba4208c225d8934e1a3196cfafd68e5d7013 Author: Kjartan Maraas Date: Mon Feb 16 18:33:56 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 186 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 95 insertions(+), 91 deletions(-) commit 0d57d211927c4785a9a9d8cec690de7401cf9090 Author: Matthias Clasen Date: Sun Feb 15 22:00:49 2015 -0500 Fix a misleading condition gcc5 rightfully complains about this condition being unclear. gtk/gtkbuilderparser.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f8961facb297da9b86960d539a8713256976c98e Author: Matthias Clasen Date: Sun Feb 15 19:55:54 2015 -0500 Improve two strings Make two property blurbs better. https://bugzilla.gnome.org/show_bug.cgi?id=744574 gtk/gtkglarea.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a5d6fe41242e8289b6f779c6c53100c672ae08ae Author: Matthias Clasen Date: Sun Feb 15 19:49:37 2015 -0500 Updates NEWS | 36 ++++++++++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) commit 0080224fdb0984997e04dcc465ecda58933738ac Author: Bastian Ilsø Date: Sat Feb 14 21:24:20 2015 +0100 Updated grid-packing to GtkApplication. docs/reference/gtk/getting_started.xml | 5 ++--- examples/grid-packing.c | 38 ++++++++++++++++++---------------- 2 files changed, 22 insertions(+), 21 deletions(-) commit b187773053098cca1b7c23e04e096d47fbb65a5f Author: Matthias Clasen Date: Sun Feb 15 13:03:29 2015 -0500 Add style classes to the title buttons This will let themes treat close/min/max buttons differently, if they so desire. https://bugzilla.gnome.org/show_bug.cgi?id=744400 gtk/gtkheaderbar.c | 3 +++ 1 file changed, 3 insertions(+) commit 2b31a35792b05ade94aa2847b52e7360a5fb2d03 Author: Balázs Úr Date: Sun Feb 15 12:36:26 2015 +0000 Updated Hungarian translation po-properties/hu.po | 322 ++++++++++++++++++++++++++-------------------------- 1 file changed, 159 insertions(+), 163 deletions(-) commit 305ecc4e828f8a7a3460903bfad0f50e50ead457 Author: Balázs Úr Date: Sun Feb 15 12:34:39 2015 +0000 Updated Hungarian translation po/hu.po | 198 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 108 insertions(+), 90 deletions(-) commit 5a6264ef5ddcbeb626f96424ad629e222543125e Author: Emmanuele Bassi Date: Sun Feb 15 11:23:30 2015 +0000 docs: Fix "shadres" → "shaders" typo https://bugzilla.gnome.org/show_bug.cgi?id=744394 gtk/gtkglarea.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb53f893e25cbff9832e2ab6632ed5e306610e2b Author: Christian Hergert Date: Sat Feb 14 18:11:54 2015 -0800 stack: check for widget before calling is_ancestor() We can hit this path during the destruction case, where widget has been released. This fixes a lot of superfluous error messages on console. gtk/gtkstack.c | 1 + 1 file changed, 1 insertion(+) commit 5889905d1d8d6889dfa388e7d320ca10e154efc0 Author: Jonas Ådahl Date: Fri Feb 13 14:17:49 2015 +0800 wayland: Update to xdg-shell unstable v5 Only trivial changes needed. https://bugzilla.gnome.org/show_bug.cgi?id=744455 gdk/wayland/gdkwindow-wayland.c | 16 +-- gdk/wayland/protocol/xdg-shell.xml | 278 +++++++++++++++++++++++-------------- 2 files changed, 183 insertions(+), 111 deletions(-) commit 00327eb509f323bdbd6233f61b642008d59c85d1 Author: Matej Urbančič Date: Sat Feb 14 20:58:40 2015 +0100 Updated Slovenian translation po/sl.po | 3254 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 2187 insertions(+), 1067 deletions(-) commit a9930ba302f79bb468261bf60b4e1c0c64b4018e Author: Muhammet Kara Date: Sat Feb 14 17:08:13 2015 +0000 Updated Turkish translation po-properties/tr.po | 4852 +++++++++++++++++++++++---------------------------- 1 file changed, 2181 insertions(+), 2671 deletions(-) commit b3abfaf9eec5c00d20a15e30f32b4b197efc6161 Author: Matthias Clasen Date: Sat Feb 14 00:57:29 2015 -0500 GtkSearchEngine: Add debug spew This lets us find out which search engine implementation is in use. gtk/gtksearchengine.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit ff87c6516bdfcf40a11ef56d8206d3b484563159 Author: Matthias Clasen Date: Sat Feb 14 00:48:26 2015 -0500 file chooser: Allow to limit search Add a button to allow restricting search to the current folder (and subdirectories). This makes the search more useful, and makes the file chooser more similar to nautilus. gtk/gtkfilechooserwidget.c | 23 +++++++++++++++++++++-- gtk/ui/gtkfilechooserwidget.ui | 24 ++++++++++++++++++++++++ gtk/ui/gtkfilechooserwidget.ui.h | 2 ++ 3 files changed, 47 insertions(+), 2 deletions(-) commit 2c5ea0dd4578e33571fe4c0c14c36c1604631f69 Author: Matthias Clasen Date: Fri Feb 13 23:50:06 2015 -0500 file chooser: Add a location column for search In search, we show files from differnt locations, and it makes sense to show where they come from. This makes the file chooser more similar to nautilus, too. gtk/gtkfilechooserwidget.c | 53 +++++++++++++++++++++++++++++++++++++++- gtk/ui/gtkfilechooserwidget.ui | 10 ++++++++ gtk/ui/gtkfilechooserwidget.ui.h | 1 + 3 files changed, 63 insertions(+), 1 deletion(-) commit 61012f3efea3f06bb6dd38bed1988dab6aaad387 Author: Matthias Clasen Date: Fri Feb 13 20:43:06 2015 -0500 file chooser: Don't open folders unexpectedly Folders that show up among search results were unexpectedly returned even for GTK_FILE_CHOOSER_ACTION_OPEN. Change things around so that we switch to the folder instead, which is the behavior we had in GTK+ 2.x. https://bugzilla.gnome.org/show_bug.cgi?id=744204 gtk/gtkfilechooserwidget.c | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) commit a34a0224e4fc6eff35fd41b7f318517b20b95713 Author: Jasper St. Pierre Date: Fri Feb 13 18:21:42 2015 -0800 gtkwindow: Don't set the background if the window is app-paintable This fixes transparent DND windows. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6ae521bb325493d32fa2e3be341886163b0d7df9 Author: Pier Luigi Fiorini Date: Wed Feb 11 06:46:00 2015 +0000 wayland: Do not require latest wl_seat Some compositors might not offer wl_seat 4 resulting in GTK+ clients not working on that compositor. wl_seat 4 introduces keyboard repeat information, but when that information is missing it is retrieved from settings, hence there's no reason to require wl_seat 4. This patch was tested against QtCompositor (5.5, dev branch) and Weston 1.6.1. Reviewed-by: Daniel Stone https://bugzilla.gnome.org/show_bug.cgi?id=744172 gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3110e4103207e31d932f9bcdd5ca295e17f41de Author: Lars Uebernickel Date: Thu Feb 12 18:09:13 2015 +0100 Rename GtkSidebar to GtkStackSidebar GtkSidebar is too generic and doesn't fully convey what the widget does. https://bugzilla.gnome.org/show_bug.cgi?id=744094 NEWS | 2 + demos/gtk-demo/sidebar.c | 18 +-- demos/widget-factory/widget-factory.ui | 2 +- docs/reference/gtk/gtk-docs.sgml | 2 +- docs/reference/gtk/gtk3-sections.txt | 22 ++-- docs/reference/gtk/gtk3.types.in | 2 +- docs/reference/gtk/visual_index.xml | 2 +- docs/tools/widgets.c | 4 +- gtk/Makefile.am | 4 +- gtk/gtk-autocleanups.h | 2 +- gtk/gtk.h | 2 +- gtk/{gtksidebar.c => gtkstacksidebar.c} | 197 ++++++++++++++++---------------- gtk/{gtksidebar.h => gtkstacksidebar.h} | 38 +++--- gtk/inspector/window.ui | 2 +- gtk/makefile.msc.in | 4 +- po-properties/POTFILES.in | 2 +- po/POTFILES.in | 2 +- tests/teststack.c | 4 +- 18 files changed, 157 insertions(+), 154 deletions(-) commit ac497c6e8f45bfece4054ba7f72ffd7becb45311 Author: Matthias Clasen Date: Fri Feb 13 08:50:04 2015 -0500 csd: Always raise on primary titlebar click This matches more closely what typical window managers do. Pointed out in https://bugzilla.redhat.com/show_bug.cgi?id=1158472 gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit eeb7bff0bb5178e91dd17d45d1f79fceccb45fea Author: Matthias Clasen Date: Fri Feb 13 08:49:23 2015 -0500 Forgotten file gtk/gtknotebook.h | 3 +++ 1 file changed, 3 insertions(+) commit 99a6495d6cc9abc94883a05a5f5adfedc7977a27 Author: Matthias Clasen Date: Thu Feb 12 18:23:44 2015 -0500 Bump version So apps can require 3.15.7 for new api. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 933ee3af56a19c5ea3bd04c1fac349860479b05d Author: Chun-wei Fan Date: Fri Feb 13 18:36:34 2015 +0800 gdkglcontext-win32.c: Fix Build on C89 Compilers Make sure variables are declared at the top of the block. gdk/win32/gdkglcontext-win32.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 8d7a235a045b667b2efad80a93717572b581307b Author: Matthias Clasen Date: Thu Feb 12 17:33:10 2015 -0500 notebook: Add api to complete tab dnd from the outside This is necessary to avoid unwanted drag cancel animations, now that GtkNotebook is careful about cancelling a drag when the dragged tab disappears unexpectedly. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtknotebook.c | 39 ++++++++++++++++++++++++++++++------ 2 files changed, 34 insertions(+), 6 deletions(-) commit 1bf02fd773f652e74fef7bb0c9bafa33c55df75d Author: Piotr Drąg Date: Thu Feb 12 18:53:03 2015 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit d066e7541e63ea621ef983c31c1652d295150b12 Author: Emmanuele Bassi Date: Thu Feb 12 17:30:42 2015 +0000 Remove GdkGLProfile The existence of OpenGL implementations that do not provide the full core profile compatibility because of reasons beyond the technical, like llvmpipe not implementing floating point buffers, makes the existence of GdkGLProfile and documenting the fact that we use core profiles a bit harder. Since we do not have any existing profile except the default, we can remove the GdkGLProfile and its related API from GDK and GTK+, and sweep the whole thing under the carpet, while we wait for an extension that lets us ask for the most compatible profile possible. https://bugzilla.gnome.org/show_bug.cgi?id=744407 docs/reference/gdk/gdk3-sections.txt | 3 - gdk/gdkglcontext.c | 75 ---------------------- gdk/gdkglcontext.h | 5 -- gdk/gdktypes.h | 16 ----- gdk/mir/gdkmirglcontext.c | 13 ---- gdk/wayland/gdkglcontext-wayland.c | 15 +---- gdk/win32/gdkglcontext-win32.c | 116 ++++++++++++++--------------------- gdk/x11/gdkglcontext-x11.c | 65 +++++++------------- gdk/x11/gdkglcontext-x11.h | 1 - gtk/gtkglarea.c | 80 +----------------------- gtk/gtkglarea.h | 5 -- 11 files changed, 68 insertions(+), 326 deletions(-) commit ccc0eafbc335d6f422f12d118e69579226e440a3 Author: Daniel Mustieles Date: Thu Feb 12 18:40:56 2015 +0100 Updated Spanish translation po/es.po | 158 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 79 insertions(+), 79 deletions(-) commit 390a42fa605e99362ac307bf568113dcdad41cdc Author: Emmanuele Bassi Date: Thu Feb 12 14:28:22 2015 +0000 gl: Add gdk_gl_context_get_version() Store the OpenGL version when we first do the extensions check; this allows client code to check the available GL version without requiring a call to gdk_gl_context_make_current() and epoxy_gl_version(). docs/reference/gdk/gdk3-sections.txt | 5 +++++ gdk/gdkglcontext.c | 35 ++++++++++++++++++++++++++++++++++- gdk/gdkglcontext.h | 4 ++++ 3 files changed, 43 insertions(+), 1 deletion(-) commit f52a59d4148dedc40d8e942f120c7999a39ffec7 Author: Emmanuele Bassi Date: Thu Feb 12 13:32:02 2015 +0000 docs: Specify the minimum version of GL provided by the core profile When using GDK_GL_PROFILE_3_2_CORE, we are not only specifying that the GDK should create a core profile; we are also specifying that the minimum required version of OpenGL is set to 3.2. We should also specify that the GDK_GL_PROFILE_DEFAULT profile is an alias for GDK_GL_PROFILE_3_2_CORE. gdk/gdktypes.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c372f95a4175ba2f55d4e84be29d76dce344905b Author: Emmanuele Bassi Date: Thu Feb 12 13:20:24 2015 +0000 glarea: Add accessors for the required GL version Specifying the version of OpenGL is enough of a common operation that it should not require overriding the creation of the GdkGLContext. gtk/gtkglarea.c | 74 +++++++++++++++++++++++++++++++++++++++++++++++++-------- gtk/gtkglarea.h | 8 +++++++ 2 files changed, 72 insertions(+), 10 deletions(-) commit ec112a772b35ce3dca23d194f704615eef7d29cc Author: Emmanuele Bassi Date: Thu Feb 12 13:19:21 2015 +0000 glarea: Update documentation Drop the fixed pipeline example code. https://bugzilla.gnome.org/show_bug.cgi?id=744394 gtk/gtkglarea.c | 33 +++++++-------------------------- 1 file changed, 7 insertions(+), 26 deletions(-) commit 59679daeae9ee6dfdb8a39fc65bdd042fb178128 Author: Emmanuele Bassi Date: Thu Feb 12 12:42:08 2015 +0000 glarea: Clean up the header gtk/gtkglarea.h | 57 +++++++++++++++++++++++++-------------------------------- 1 file changed, 25 insertions(+), 32 deletions(-) commit c115c479dc33b44ab6eb071630d21e1d2a473c2e Author: Emmanuele Bassi Date: Thu Feb 12 12:40:03 2015 +0000 docs: Add missing GdkGLContext symbols docs/reference/gdk/gdk3-sections.txt | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 022724aa69bbf1c65768b87d0f3e319257284b40 Author: Emmanuele Bassi Date: Thu Feb 12 12:34:28 2015 +0000 gl: Drop profile for gdk_window_create_gl_context() Now that we have a two-stages GL context creation sequence, we can move the profile to a pre-realize option, like the debug and forward compatibility bits, or the GL version to use. gdk/gdkglcontext.c | 34 +++++++++++++++++++++++++++++++--- gdk/gdkglcontext.h | 8 +++++--- gdk/gdkwindow.c | 6 +----- gdk/gdkwindow.h | 1 - gdk/gdkwindowimpl.h | 1 - gdk/mir/gdkmirglcontext.c | 4 ++++ gdk/mir/gdkmirwindowimpl.c | 8 +------- gdk/wayland/gdkglcontext-wayland.c | 12 +++++------- gdk/wayland/gdkglcontext-wayland.h | 1 - gdk/win32/gdkglcontext-win32.c | 7 +------ gdk/win32/gdkglcontext-win32.h | 1 - gdk/x11/gdkglcontext-x11.c | 17 +++++++---------- gdk/x11/gdkglcontext-x11.h | 1 - gtk/gtkglarea.c | 4 +++- 14 files changed, 58 insertions(+), 47 deletions(-) commit 015bf99816969cff366e201169e6c54fd8b3cf3d Author: Lionel Landwerlin Date: Sat Feb 7 20:05:18 2015 +0000 gtk: x: fix compilation without x11 backend https://bugzilla.gnome.org/show_bug.cgi?id=744148 gtk/gtkx-autocleanups.h | 4 ++++ 1 file changed, 4 insertions(+) commit 973060deb5af4f458d95e95015a831dfadbf2dcf Author: Bastien Nocera Date: Thu Jan 22 15:13:10 2015 +0100 main: Make gtk_get_option_group() available to bindings Now that GOptionGroup is registered as a boxed type [1], don't skip it in gobject-introspection. [1]: See https://bugzilla.gnome.org/show_bug.cgi?id=743349 https://bugzilla.gnome.org/show_bug.cgi?id=743350 gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d825249b42a490175dd051af2d73e579b58a3a64 Author: Lars Uebernickel Date: Mon Feb 9 11:49:31 2015 +0100 gtklistbox: add bind_model() gtk_list_box_bind_model() binds a GListModel to a GtkListBox. This is a first step towards having GListModel support in Gtk. It's not useful for large models, because GtkListBox always creates all widgets for all rows. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtklistbox.c | 112 +++++++++++++++++++++++++++++++++++ gtk/gtklistbox.h | 20 +++++++ 3 files changed, 134 insertions(+) commit 9141eeb60e29082d58036f9dd4bafdb052afcd69 Author: Timm Bäder Date: Tue Feb 10 20:02:08 2015 +0100 GtkListBoxRow: Update the listbox's cursor row when focusing https://bugzilla.gnome.org/show_bug.cgi?id=708320 gtk/gtklistbox.c | 32 ++++++++++++++++++++++++-------- 1 file changed, 24 insertions(+), 8 deletions(-) commit b876e036b2586fa4b0537d51313feb9d38e5a6de Author: Matthias Clasen Date: Wed Feb 11 23:34:04 2015 -0500 file chooser: Allow opening folders in the file manager This has been suggested in https://bugzilla.gnome.org/show_bug.cgi?id=325150#c2 gtk/gtkfilechooserwidget.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 6886f479fee4c855823a2adcc84bf23e74b2305f Author: Armin K Date: Wed Feb 11 00:06:38 2015 +0100 wayland: Implement minimize support Use the existing xdg_surface API for minimization. https://bugzilla.gnome.org/show_bug.cgi?id=695945 gdk/wayland/gdkwindow-wayland.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit c82ad2c1292b1e39f41db20467e5b3691cbb6984 Author: Marco Trevisan (Treviño) Date: Thu Feb 12 03:34:05 2015 +0100 mir, gl: Ensure we use the 3.2 core profile Emit an error if the profile is different. gdk/mir/gdkmirglcontext.c | 44 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) commit ce31df3238154fa127e169ae4113a3987572f8be Author: Marco Trevisan (Treviño) Date: Thu Feb 12 03:32:11 2015 +0100 mir: Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE Instead of LEGACY. gdk/mir/gdkmirwindowimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f9503ac18991ed7401c86b3d97fb8b93d18e9016 Author: Marco Trevisan (Treviño) Date: Thu Feb 12 03:03:18 2015 +0100 mir, GL: Split GL context creation in two phases Move egl_context initialization in gdk_gl_context_realize • gdk_window_create_gl_context() creates a GdkGLContext • gdk_gl_context_realize() creates the underlying resources https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/mir/gdkmirglcontext.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++ gdk/mir/gdkmirwindowimpl.c | 27 ------------------------- 2 files changed, 49 insertions(+), 27 deletions(-) commit 8a52ace8de5eb1820170950079d904d75f2a5db0 Author: Marco Trevisan (Treviño) Date: Thu Feb 12 02:20:24 2015 +0100 configure.ac: bump mirclient dependency to 0.11 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 278fa902e21d79a251cabb833822553feb49d674 Author: Matthias Clasen Date: Wed Feb 11 12:01:36 2015 -0500 Revert "image: Optimize non-resize changes" This reverts commit 6276b9cda0b179e6a29b9002f82a338dc6f9649f. This change was causing problems in gnome-mines. Revert it until we can figure out what exactly is going wrong there. See https://bugzilla.redhat.com/show_bug.cgi?id=1190887 gtk/gtkimage.c | 132 ++++++++++----------------------------------------------- 1 file changed, 23 insertions(+), 109 deletions(-) commit 879956e2f56def6b9a5ae015db861967e864f11a Author: Kjartan Maraas Date: Wed Feb 11 16:46:00 2015 +0100 Updated Norwegian bokmål translation. po-properties/nb.po | 1836 ++++++++++++++++++++++++++------------------------- 1 file changed, 944 insertions(+), 892 deletions(-) commit c72a8a538cfdc930151e94624b8bc6117f80f07d Author: Kjartan Maraas Date: Wed Feb 11 16:37:34 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 55 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 32 insertions(+), 23 deletions(-) commit b9f710217fa8604b41e3a781de019ac86a3dfdfc Author: Matthias Clasen Date: Tue Feb 10 20:15:58 2015 -0500 Bump glib requirement Needed for g_autoptr. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 295ac9135f8742e427c0770aa50da9bd22331d67 Author: Matthias Clasen Date: Tue Feb 10 18:04:15 2015 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b763bb0594ec98ef96d2d9987ce622e2de9452e0 Author: Benjamin Otte Date: Tue Feb 10 23:49:15 2015 +0100 stylecontext: Don't use cache when unsaved Fixes image-load-from-file reftest gtk/gtkstylecontext.c | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) commit 9e96461aa59cdb5454a48200b8b80caaf04c4147 Author: Matthias Clasen Date: Tue Feb 10 11:29:59 2015 -0500 Updates NEWS | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 4dee1646a12e7d57b838a2299a51861efc7b7181 Author: Matthias Clasen Date: Sun Feb 8 21:02:07 2015 +0100 Fix annotations The function gtk_label_set_attributes() is also used to unset attributes, by passing %NULL. Reflect that in the argument annotations. gtk/gtklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5666522ab3d5073d5f1b6483d9354680d3ccb1ce Author: Emmanuele Bassi Date: Tue Feb 10 10:16:53 2015 +0000 gl: Fix the required version setter We don't allow a version tuple to be lower than (3, 2), but we should allow versions above that. https://bugzilla.gnome.org/show_bug.cgi?id=744212 gdk/gdkglcontext.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit 60195ab021afce26b052213c3145d0dc6b447c0e Author: Chun-wei Fan Date: Tue Feb 10 16:20:37 2015 +0800 win32/gl: Ensure we use the 3.2 core profile Emit an error if the profile is different. This is a follow-up commit to commits cc45e82 (x11/gl: Ensure we use the 3.2 core profile) and 2d9081d (wayland/gl: Ensure we use the 3.2 core profile), so that we do the same on GDK-Win32. Update variable names and comments so that the code is clearer to people, as we still need a temporary legacy WGL context first before we can use wglCreateContextAttribsARB() to create a WGL core (3.2+) context. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/win32/gdkglcontext-win32.c | 51 +++++++++++++++++------------------------- 1 file changed, 20 insertions(+), 31 deletions(-) commit 03f5d5a5e41bc42835dc02774a27a5eb5d4d023b Author: Emmanuele Bassi Date: Tue Feb 10 03:33:02 2015 +0000 gl: Put shaders in static storage We are not changing the shader code. The compiler will hopefully put them in the .rodata section. gdk/gdkgl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 50187ae86dfdb4c5815731da25dc9e57296d28c5 Author: Niels Nesse Date: Tue Feb 10 01:11:24 2015 -0800 gdkgl should use shader version 1.50 Using version 1.20 with a forward compatible 3.2 core context is incorrect since OpenGL 3.2 deprecates shader version 1.20 (See section E.2). The latest fglrx drivers will not compile these shaders. https://bugzilla.gnome.org/show_bug.cgi?id=744203 gdk/gdkgl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ab919deeefc732f9c7a5285452431edd04a43879 Author: Aurimas Černius Date: Mon Feb 9 22:59:13 2015 +0200 Updated Lithuanian translation po-properties/lt.po | 3437 ++++++++++++++++++++++++++++----------------------- po/lt.po | 299 ++--- 2 files changed, 1947 insertions(+), 1789 deletions(-) commit 6bf55142ee5e6270180f2d0f23ad42ab7ca08a5d Author: Emmanuele Bassi Date: Mon Feb 9 19:32:38 2015 +0000 demo: Change the resource path for the shaders We need to use the same name as the "plugin" so that the main UI will display the resources inside a notebook tab. demos/gtk-demo/demo.gresource.xml | 2 +- demos/gtk-demo/glarea.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 843475bd2ef7130051c781f48fcb64f32b6872c2 Author: Emmanuele Bassi Date: Mon Feb 9 19:09:31 2015 +0000 gl: Drop GdkGLContextClass.upload_texture() It's unnecessary to allow per-backend overrides. gdk/gdkgl.c | 5 +++-- gdk/gdkglcontext.c | 6 +----- gdk/gdkglcontextprivate.h | 24 ++++++++++++------------ 3 files changed, 16 insertions(+), 19 deletions(-) commit 3b4bf963f60cbf40c9c69f8c50f1358a7ccc46b5 Author: Emmanuele Bassi Date: Mon Feb 9 16:27:44 2015 +0000 demo: Move the GLSL shaders to resources It's easier to use them or modify them as separate files, instead of inlined inside the C source. https://bugzilla.gnome.org/show_bug.cgi?id=741946 demos/gtk-demo/Makefile.am | 2 ++ demos/gtk-demo/demo.gresource.xml | 4 ++++ demos/gtk-demo/glarea-fragment.glsl | 9 +++++++++ demos/gtk-demo/glarea-vertex.glsl | 8 ++++++++ demos/gtk-demo/glarea.c | 31 +++++++++---------------------- 5 files changed, 32 insertions(+), 22 deletions(-) commit 2d35053d9721a4159a776889dd908e6e972dfdfb Author: Emmanuele Bassi Date: Mon Feb 9 16:10:22 2015 +0000 gl: Clean up the required version accessors We can simplify the code, since we only have core GL profiles in GDK. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 45 +++++++++++++++++---------------------------- 1 file changed, 17 insertions(+), 28 deletions(-) commit 4ad887f4bf2e9567e6f8656d49870c5ce668c260 Author: Emmanuele Bassi Date: Mon Feb 9 16:09:25 2015 +0000 docs: We do not support non-core GL profiles No need to mention that some API only works on core GL profiles in the GdkGLContext docs. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit 601c49ef39376a34358f87ef6ed3ae0c49130cb3 Author: Emmanuele Bassi Date: Mon Feb 9 16:08:43 2015 +0000 gl: Clean up pre-requisite checks for GdkGLContext setters We don't support non-core profiles. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2d9081d117de009f32d68bcf9beb7d4aac342ba4 Author: Emmanuele Bassi Date: Mon Feb 9 15:56:18 2015 +0000 wayland/gl: Ensure we use the 3.2 core profile Emit an error if the profile is different. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/wayland/gdkglcontext-wayland.c | 64 ++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 26 deletions(-) commit cc45e828dff80a45760cb96cbf203d9ece1848db Author: Emmanuele Bassi Date: Mon Feb 9 15:55:08 2015 +0000 x11/gl: Ensure we use the 3.2 core profile Drop the dead code for the legacy profile, and return an error when realizing if the profile is incorrect. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/x11/gdkglcontext-x11.c | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) commit 01d1cdc76c6454c74884bd56f06fa3b8accac7fd Author: Emmanuele Bassi Date: Thu Feb 5 16:39:53 2015 +0000 demos: Update the GtkGLArea demo code Same way we updated the testglarea test code. https://bugzilla.gnome.org/show_bug.cgi?id=741946 demos/gtk-demo/glarea.c | 280 +++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 263 insertions(+), 17 deletions(-) commit b87034a985523f71783c1f0b16a27da8a6738de5 Author: Emmanuele Bassi Date: Fri Jan 30 17:20:44 2015 +0000 tests: Update testglarea Since we dropped the legacy OpenGL compatibility profile, we need to use recent OpenGL APi and concepts. This also means that the example code gets a tad more complicated. https://bugzilla.gnome.org/show_bug.cgi?id=741946 tests/testglarea.c | 256 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 240 insertions(+), 16 deletions(-) commit 1d3cc65e894d8342b7bf72e51e036be7a5c4d339 Author: Emmanuele Bassi Date: Thu Feb 5 16:23:04 2015 +0000 gl: Add more debugging notes https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 5a3b28aaf1bb8d50a56866d885e49e51c3cafd55 Author: Emmanuele Bassi Date: Wed Jan 28 19:07:33 2015 +0000 glarea: Do not use extension API We are using GL contexts with Core GL profiles, so we need to use the proper API, not the one provided by extensions. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gtk/gtkglarea.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 395125bcfb4a44f5892e55aa5ca768adbe6cebc4 Author: Emmanuele Bassi Date: Wed Jan 28 19:06:37 2015 +0000 gl: Do not use the extension API for core GL Since we are using a Core GL profile, we need to drop the extension-based API. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4b8b3b431bfba9fa9bc68ebc95af13a32ea8a7ad Author: Emmanuele Bassi Date: Wed Jan 28 19:04:22 2015 +0000 gl: Drop OpenGL legacy profile We simply don't want to care about legacy OpenGL. All supported platforms also have support for OpenGL ≥ 3.2; it would complicate the internal code; and would force us to use legacy GL contexts internally if the first context created by the user is a legacy GL context, and disable creation of core-3.2 contexts after that. We will need to fix all our code examples to use the Core 3.2 profile. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 12 +----------- gdk/gdktypes.h | 20 +++++++++++++++----- gdk/gdkwindow.c | 14 +------------- gdk/x11/gdkglcontext-x11.c | 6 +----- 4 files changed, 18 insertions(+), 34 deletions(-) commit 6aaa6c337bc85913f0f898239cd678fef2a89b20 Author: Emmanuele Bassi Date: Wed Jan 28 14:37:26 2015 +0000 gl: Move getters for context options to the public API They can be useful for third party code as well. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 16 +++++++++++++--- gdk/gdkglcontext.h | 8 ++++++++ gdk/gdkglcontextprivate.h | 5 ----- 3 files changed, 21 insertions(+), 8 deletions(-) commit f7497daee933cbfa328225eb318449054bab81f3 Author: Emmanuele Bassi Date: Wed Jan 28 12:31:36 2015 +0000 Switch GDK_GL_PROFILE_DEFAULT to mean 3_2_CORE Instead of LEGACY. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/wayland/gdkglcontext-wayland.c | 2 +- gdk/win32/gdkglcontext-win32.c | 3 +-- gdk/x11/gdkglcontext-x11.c | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) commit 4c091db6c25e85ab45c192cf6ef305bce39a64da Author: Chun-wei Fan Date: Fri Jan 30 14:32:26 2015 +0800 win32/gl: Use the GdkGLContext options https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/win32/gdkglcontext-win32.c | 63 ++++++++++++++++++++++++++++++++++-------- 1 file changed, 52 insertions(+), 11 deletions(-) commit ba56f11702ae59bea00c2edf9aefaf40f06bc3e7 Author: Chun-wei Fan Date: Fri Jan 30 13:53:31 2015 +0800 GDK-Win32: Split GL context creation in two phases Like what is being done in the X11 and Wayland backends, create the GdkWin32GLContext in 2 steps, where we only create the actual WGL context in _gdk_win32_gl_context_realize(). https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/win32/gdkglcontext-win32.c | 94 +++++++++++++++++++++++++++--------------- gdk/win32/gdkglcontext-win32.h | 5 +++ 2 files changed, 66 insertions(+), 33 deletions(-) commit 42a895e85e2d48a25e8d15c4ed096610891e5a25 Author: Emmanuele Bassi Date: Wed Jan 28 12:29:37 2015 +0000 wayland/gl: Use the GdkGLContext options https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/wayland/gdkglcontext-wayland.c | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) commit 3425f7fe5a2e61e671452116b60a4aa5aa577f72 Author: Emmanuele Bassi Date: Wed Jan 28 09:40:34 2015 +0000 x11/gl: Use the GdkGLContext options When creating an OpenGL context using the glXCreateContextAttribs() function. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/x11/gdkglcontext-x11.c | 68 ++++++++++++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 27 deletions(-) commit fa9005229983e8bd0f582ba0b4e0e8f1d6a5e061 Author: Emmanuele Bassi Date: Wed Jan 28 09:34:16 2015 +0000 gl: Add context options Users of the GdkGLContext API should be allowed to set properties on the shim GdkGLContext instance prior to realization, so that the backend-specific implementation can use the value of those properties when creating the windowing system specific resources. The main three options are: • a major/minor version tuple, to request a specific GL version • a debug bit, to request a "debug context", which provides additional validation and run time checking • a forward compatibility bit, to request a context that does not have deprecated functionality See also: - https://www.opengl.org/registry/specs/ARB/glx_create_context.txt https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 185 ++++++++++++++++++++++++++++++++++++++++++++++ gdk/gdkglcontext.h | 11 +++ gdk/gdkglcontextprivate.h | 19 +++-- 3 files changed, 208 insertions(+), 7 deletions(-) commit 22e6f37c9c00ca3e97fbd454774a178473a0c93e Author: Emmanuele Bassi Date: Tue Jan 27 21:23:23 2015 +0000 GL: Split GL context creation in two phases One of the major requests by OpenGL users has been the ability to specify settings when creating a GL context, like the version to use or whether the debug support should be enabled. We have a couple of requirements in terms of API: • avoid, if at all possible, the "C arrays of integers with attribute, value pairs", which are hard to write and hard to bind in non-C languages. • allow failing in a recoverable way. • do not make the GL context creation API a mess of arguments. Looking at prior art, it seems that a common pattern is to split the construction phase in two: • a first phase that creates a GL context wrapper object and does preliminary checks on the environment. • a second phase that creates the backend-specific GL object. We adopted a similar pattern: • gdk_window_create_gl_context() creates a GdkGLContext • gdk_gl_context_realize() creates the underlying resources Calling gdk_gl_context_make_current() also realizes the context, so simple GL users do not need to care. Advanced users will want to call gdk_window_create_gl_context(), set up the optional requirements, and then call gdk_gl_context_realize(). If either of these two steps fails, it's possible to recover by changing the requirements, or simply creating a new GdkGLContext instance. https://bugzilla.gnome.org/show_bug.cgi?id=741946 gdk/gdkglcontext.c | 59 +++++- gdk/gdkglcontext.h | 18 +- gdk/gdkglcontextprivate.h | 3 + gdk/gdkwindow.c | 31 ++- gdk/gdkwindow.h | 1 - gdk/gdkwindowimpl.h | 4 +- gdk/wayland/gdkglcontext-wayland.c | 80 ++++---- gdk/x11/gdkglcontext-x11.c | 375 ++++++++++++++++++++----------------- gtk/gtkglarea.c | 17 +- 9 files changed, 363 insertions(+), 225 deletions(-) commit 8f50148a34a4d44da8e0c3022e47aeaba4ee489d Author: Stas Solovey Date: Sun Feb 8 22:14:05 2015 +0000 Updated Russian translation po/ru.po | 240 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 130 insertions(+), 110 deletions(-) commit 614556180acbc1296283e6a0e1d91b7489c32a6d Author: Kjartan Maraas Date: Sun Feb 8 19:34:46 2015 +0100 Updated Norwegian bokmål translation po/nb.po | 937 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 480 insertions(+), 457 deletions(-) commit 87480d7d1c83c1b5ca5ce8923295564e35f093d9 Author: Piotr Drąg Date: Sat Feb 7 17:06:58 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 1116914ea03685ffbff188e48e32685a4985c2d3 Author: Benjamin Otte Date: Sat Jan 31 11:56:15 2015 +0100 css: Move scale to GtkStyleProviderPrivate This way, we can remove it as a separate argument from gtk_css_value_compute() and allow computation to only depend on one thing: the style provider. gtk/gtkcssanimatedstyle.c | 6 ++---- gtk/gtkcssanimatedstyleprivate.h | 1 - gtk/gtkcssarrayvalue.c | 7 +++---- gtk/gtkcssbgsizevalue.c | 9 ++++----- gtk/gtkcssbordervalue.c | 9 ++++----- gtk/gtkcsscolorvalue.c | 23 ++++++++++------------- gtk/gtkcsscornervalue.c | 9 ++++----- gtk/gtkcsseasevalue.c | 5 ++--- gtk/gtkcssenginevalue.c | 5 ++--- gtk/gtkcssenumvalue.c | 18 ++++++++---------- gtk/gtkcssiconthemevalue.c | 1 - gtk/gtkcssimage.c | 16 +++++++--------- gtk/gtkcssimagebuiltin.c | 1 - gtk/gtkcssimagegradient.c | 7 +++---- gtk/gtkcssimageicontheme.c | 9 ++++----- gtk/gtkcssimagelinear.c | 11 +++++------ gtk/gtkcssimageprivate.h | 10 ++++------ gtk/gtkcssimagescaled.c | 15 ++++++++------- gtk/gtkcssimageurl.c | 5 ++--- gtk/gtkcssimagevalue.c | 7 +++---- gtk/gtkcssinheritvalue.c | 14 ++++++-------- gtk/gtkcssinitialvalue.c | 10 ++++------ gtk/gtkcsskeyframes.c | 2 -- gtk/gtkcsskeyframesprivate.h | 1 - gtk/gtkcsslookup.c | 2 -- gtk/gtkcsslookupprivate.h | 1 - gtk/gtkcssnumbervalue.c | 31 +++++++++++++++---------------- gtk/gtkcsspositionvalue.c | 9 ++++----- gtk/gtkcssrepeatvalue.c | 5 ++--- gtk/gtkcssrgbavalue.c | 5 ++--- gtk/gtkcssshadowsvalue.c | 7 +++---- gtk/gtkcssshadowvalue.c | 15 +++++++-------- gtk/gtkcssstaticstyle.c | 8 +------- gtk/gtkcssstaticstyleprivate.h | 3 --- gtk/gtkcssstringvalue.c | 5 ++--- gtk/gtkcsstransformvalue.c | 33 +++++++++++++++------------------ gtk/gtkcsstypedvalue.c | 7 +++---- gtk/gtkcssunsetvalue.c | 10 ++++------ gtk/gtkcssvalue.c | 11 +++++------ gtk/gtkcssvalueprivate.h | 10 ++++------ gtk/gtkstylecascade.c | 9 +++++++++ gtk/gtkstylecontext.c | 4 ---- gtk/gtkstyleproviderprivate.c | 14 ++++++++++++++ gtk/gtkstyleproviderprivate.h | 2 ++ 44 files changed, 177 insertions(+), 215 deletions(-) commit 808bfe0a98ac4cd2e11ea4eed82a66470121c19b Author: Benjamin Otte Date: Fri Feb 6 10:13:11 2015 +0100 settings: Provide a default style cascade per scale This guarantees we only create 1 extra style cascade in total for hidpi and not one per style context. Style cascades are now nested like this: GtkSettings root cascade (scale == 1) | +-- GtkSettings per scale cascade (for any scale, no custom providers) | +-- GtkStyleContext custom cascade (for any scale, custom providers) This requires a bunch of care when changing cascade-related properties inside GtkStyleContext, so that it ends up with a properly setup cascade, but I think I got those cases right. The only thing we don't do yet is reverting to a GtkSettings cascade when the last custom provider is removed from a custom cascade. gtk/gtksettings.c | 41 +++++++++++++++++++++++++++++--------- gtk/gtksettingsprivate.h | 3 ++- gtk/gtkstylecontext.c | 52 +++++++++++++++++++++++++++++------------------- 3 files changed, 65 insertions(+), 31 deletions(-) commit 9209c4ea411efc08a59eba12ff7898bd7be1aa05 Author: Benjamin Otte Date: Sat Jan 31 11:01:25 2015 +0100 stylecontext: Store the scale value in the cascade This is in preparation for the next commits. gtk/gtkstylecascade.c | 23 +++++++++++++++++++++++ gtk/gtkstylecascadeprivate.h | 4 ++++ gtk/gtkstylecontext.c | 29 ++++++++++++++++++++--------- 3 files changed, 47 insertions(+), 9 deletions(-) commit 0b06b1e3f7565620372382760897b5a9895fc339 Author: Chun-wei Fan Date: Fri Feb 6 13:00:21 2015 +0800 gdkglcontext-win32.h: Clean Up a Bit We don't have a Win32-specific ->upload_texture() anymore, so don't indicate so. Left out this part from my previous commit. gdk/win32/gdkglcontext-win32.h | 7 ------- 1 file changed, 7 deletions(-) commit 24e6bda26421053af5fc1c7c49e23437b560be1c Author: Chun-wei Fan Date: Fri Feb 6 12:41:38 2015 +0800 GDK-Win32: Drop Win32-specific ->upload_texture() The default ->upload_texture() works also for Windows since commit 27cf0fa, as some of the problems described in 742953 also applied for GL core contexts on Windows as well before 27cf0fa. Clean up the GDK-Win32 code a little bit as a result. gdk/win32/gdkglcontext-win32.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 93c3b90f6a88dd2eb80661bec002fa9ebb729d65 Author: Benjamin Otte Date: Fri Feb 6 03:13:59 2015 +0100 treeview: Fix copy/paste bug Introduced in 7eecb16404b9fdcd1377e1a159f5e94f079e24b7 gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 89f635fee1bd0af3bdbf96e2545e0140ea99afc9 Author: Benjamin Otte Date: Thu Feb 5 18:52:59 2015 +0100 css: Add -gtk-dpi CSS property hack This property is necessary to ensure widgets automatically update after the text scale factor is changed desktop-wide. And if I'm already doing a property like this, I can make it overridable. So now you can override the dpi per-widget with CSS like GtkSwitch { -gtk-dpi: 48; } if you want to debug things. Long-term, we want to get rid of this property and insist on dpi being 96 everywhere and people can change the font size to get larger fonts. gtk/gtkcssinitialvalue.c | 13 +++++++++++++ gtk/gtkcssstylepropertyimpl.c | 18 +++++++++++++++++- gtk/gtkcsstypesprivate.h | 1 + gtk/gtkwidget.c | 8 ++++++-- 4 files changed, 37 insertions(+), 3 deletions(-) commit 7eecb16404b9fdcd1377e1a159f5e94f079e24b7 Author: Benjamin Otte Date: Sat Jan 24 03:29:18 2015 +0100 treeview: Don't create an overly large pixel cache GPUs generally have problems when you create a 35000px wide surface. Luckily X catches this and sends a BadAlloc. Which GTK immediately abort()s on. Testcase included. https://bugzilla.redhat.com/show_bug.cgi?id=1163579 gtk/gtktreeview.c | 4 +- testsuite/reftests/Makefile.am | 2 + testsuite/reftests/treeview-crash-too-wide.ref.ui | 50 +++++++++++++++++++++++ testsuite/reftests/treeview-crash-too-wide.ui | 50 +++++++++++++++++++++++ 4 files changed, 104 insertions(+), 2 deletions(-) commit 98ee594f7347e363834bffbec7320c71ac18637e Author: Benjamin Otte Date: Tue Feb 3 08:06:39 2015 +0100 blur: Simplify return_if_fail() gtk/gtkcairoblur.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 0a64a4f3c0bb3af4920f0dbcf48345a3ae7fb866 Author: William Hua Date: Wed Feb 4 10:32:29 2015 +0100 mir: release surface before rendering parent We should remove the mir and cairo surface before rendering the transient_for, which will regenerate the cairo surface anyways. Otherwise, we end up releasing both, when we only really want to get rid of the mir surface. gdk/mir/gdkmirwindowimpl.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 85c5f6058a01805d63a498b5f28d6a9daab3f7e1 Author: William Hua Date: Tue Feb 3 16:23:14 2015 +0100 mir: don't always request mir surfaces Some child window behaviour is faked by painting in the parent, so we don't bother creating the Mir surface in that case. gdk/mir/gdkmirwindowimpl.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit bee39d2251e58a693e19db701e791098eefd4f23 Author: William Hua Date: Mon Jan 26 18:29:07 2015 -0500 mir: reconstruct surface if window is moved gdk/mir/gdkmirwindowimpl.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit 16b250f9bb8f6ee8c5c0c54e6658c44c883646eb Author: William Hua Date: Mon Jan 19 12:08:43 2015 -0500 mir: stop using deprecated surface api gdk/mir/gdkmirwindowimpl.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 5eacc92ba7871db936f4af08b82e4c9b05994f5f Author: William Hua Date: Thu Jan 8 00:24:42 2015 -0500 mir: fix issues with mouse over parent menu Mouse over a parent menu[bar] didn't work while the menu was open. The fix was to correct the behaviour of pointer crossing events so that the pointer appears to be only inside one window at a time. See: http://tronche.com/gui/x/xlib/events/window-entry-exit/normal.html gdk/mir/gdkmir-private.h | 12 ++++ gdk/mir/gdkmireventsource.c | 144 +++++++++++++++++++++++++++++++++++--------- gdk/mir/gdkmirwindowimpl.c | 2 +- 3 files changed, 130 insertions(+), 28 deletions(-) commit 6a3904cf0ce11f1987344b62c1cb8344825a3db6 Author: William Hua Date: Thu Jan 8 00:23:02 2015 -0500 mir: add back window hierarchy functions gdk/mir/gdkmirwindowimpl.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit c2afa674e23d4e16415f34323cba2268bf6c4f52 Author: William Hua Date: Wed Jan 7 12:18:03 2015 -0500 mir: stop forwarding motion events to subwindows gdk/mir/gdkmir-private.h | 12 ------- gdk/mir/gdkmireventsource.c | 80 --------------------------------------------- gdk/mir/gdkmirwindowimpl.c | 44 ------------------------- 3 files changed, 136 deletions(-) commit 901bc2957de45c06457746374e1e33883d28d1dc Author: William Hua Date: Wed Dec 17 12:37:28 2014 -0500 mir: generate leave events for transient children gdk/mir/gdkmir-private.h | 5 +++++ gdk/mir/gdkmireventsource.c | 50 +++++++++++++++++++++++++++++++++++++++++++++ gdk/mir/gdkmirwindowimpl.c | 10 +++++++++ 3 files changed, 65 insertions(+) commit 737e598a17307d63709742c1a040351314e7c4e8 Author: Marco Trevisan (Treviño) Date: Fri Dec 12 18:42:05 2014 +0100 mir: use monitor plug names more similar to the ones used in Xmir gdk/mir/gdkmirscreen.c | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) commit 9a84c3e0f5f8fe63de0ea9a05d4f2809329dcc20 Author: Marco Trevisan (Treviño) Date: Fri Dec 12 03:01:38 2014 +0100 mir: only paint background if window has one gdk/mir/gdkmirwindowimpl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 38d46aacae46caa60ebd72b0f1ff852ee3b71e79 Author: Marco Trevisan (Treviño) Date: Fri Dec 12 01:40:55 2014 +0100 mir: use old scrolling system if we get simple integer values gdk/mir/gdkmireventsource.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 584cfff90a558c7258630bfa5aaf68361cc1f80d Author: William Hua Date: Tue Dec 9 08:57:21 2014 -0500 mir: end the current grab on ungrab gdk/mir/gdkmirpointer.c | 6 ++++++ 1 file changed, 6 insertions(+) commit e843d9440539d8926888175d7fd4c250a4c273c7 Author: William Hua Date: Mon Dec 8 16:24:17 2014 -0500 mir: only render non-top-level transients. gdk/mir/gdkmirwindowimpl.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) commit 9abf990656b69a4704b8ba40733d920da879711f Author: Marco Trevisan (Treviño) Date: Fri Dec 5 15:53:03 2014 +0100 mir: handle new MirCloseSurfaceEvent gdk/mir/gdkmir-debug.c | 10 ++++++++++ gdk/mir/gdkmireventsource.c | 11 +++++++++++ 2 files changed, 21 insertions(+) commit 5ac5f6f81aeed997e6025f1baeb6fe6c6f1ef54b Author: William Hua Date: Thu Dec 4 10:03:40 2014 -0500 mir: reset cursor_inside on hide/withdraw Without this, we generate incorrect crossing events for transient windows. gdk/mir/gdkmirwindowimpl.c | 2 ++ 1 file changed, 2 insertions(+) commit 8e0abb4bac29d2d2e944c883e5144d4d6b20cdcf Author: William Hua Date: Wed Dec 3 16:48:58 2014 -0500 mir: disable some debug output gdk/mir/gdkmirwindowimpl.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 4f19be1c822240cb70be85ec030585fa2450a7ad Author: William Hua Date: Wed Dec 3 11:30:34 2014 -0500 mir: skip windows that aren't visible gdk/mir/gdkmir-private.h | 10 +++++----- gdk/mir/gdkmireventsource.c | 2 +- gdk/mir/gdkmirwindowimpl.c | 15 +++++++++------ 3 files changed, 15 insertions(+), 12 deletions(-) commit 05de5b02cb47462d75f1f2fdbc415d94ee13ea54 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 20:04:54 2014 +0100 mir: fix IsModifierKey definition gdk/mir/gdkmirkeymap.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 345140008e6e50975c8fd752bd0a43556e12f6d6 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 18:43:32 2014 +0100 mir: check the log events env variable just once gdk/mir/gdkmireventsource.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 7e5b21651170e57b80a549bfb0cf0eb92ba7d30b Author: Marco Trevisan (Treviño) Date: Tue Dec 2 18:19:39 2014 +0100 mir: set event source device as well gdk/mir/gdkmireventsource.c | 1 + 1 file changed, 1 insertion(+) commit 7c2e3a812a02b9b578f895b4e4742b12b40f885b Author: William Hua Date: Tue Dec 2 11:12:11 2014 -0500 mir: fix time conversion macro gdk/mir/gdkmireventsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 54f9263f19fe076dbc373cb4aea3d59c83e12b9f Author: Marco Trevisan (Treviño) Date: Tue Dec 2 17:08:00 2014 +0100 mir: implement stub _gdk_mir_keymap_key_is_modifier Using IsModifierKey for now gdk/mir/gdkmir-private.h | 2 ++ gdk/mir/gdkmireventsource.c | 11 ++++++----- gdk/mir/gdkmirkeymap.c | 14 ++++++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) commit a8b1e8181672d39d5f2955ebd256e6408730c303 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:52:03 2014 +0100 mir: check (using simple keycode checking) if we're handling a modifier key gdk/mir/gdkmireventsource.c | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) commit 9e2eb5d2f6c15ccca688194ed8c810c4f88ccdbe Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:27:28 2014 +0100 mir: compute the modifiers using the saved button_state on key events gdk/mir/gdkmireventsource.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7d4066de41209b26759dac6f6ac214a633bcd992 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:25:18 2014 +0100 mir: add a NANO_TO_MILLI conversion macro gdk/mir/gdkmireventsource.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 6b6af59b9b7734213b913e1b121ed3f0956879d5 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 16:06:59 2014 +0100 mir: properly converts mir nanoseconds timestamps to milliseconds gdk/mir/gdkmireventsource.c | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) commit cb19fd50cb55d120cd5e8ca21dcc025813b4f967 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 15:18:50 2014 +0100 mir: use actual events time gdk/mir/gdkmireventsource.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) commit 948afc68f6ee744993db146141a28315b1e14ee1 Author: William Hua Date: Mon Dec 1 16:27:29 2014 -0500 mir: add timestamps to generated GdkEvents We need this because it fixes menu activation. The menu activation code looks at the time between events to determine if mouse clicks happen too quickly. gdk/mir/gdkmireventsource.c | 5 +++++ 1 file changed, 5 insertions(+) commit f1cfd23cd2d5c12cc828720ff45c36eb0e11738f Author: William Hua Date: Mon Dec 1 08:54:13 2014 -0500 mir: pass motion events down to transient children gdk/mir/gdkmir-private.h | 7 +++++++ gdk/mir/gdkmireventsource.c | 26 +++++++++++++++++++++++++- gdk/mir/gdkmirwindowimpl.c | 31 +++++++++++++++++++++++++++++++ 3 files changed, 63 insertions(+), 1 deletion(-) commit e2320678ae2bca845a6b2e9c1d53231b6dfba922 Author: William Hua Date: Fri Nov 28 08:33:03 2014 -0500 mir: use parent_window's impl for GDK_INPUT_ONLY windows Fixes a crash that occurs when the user selects text. gdk/mir/gdkmirdisplay.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit 6b82ad48f65add2ae10392c65c431975dc969a69 Author: Carlos Garnacho Date: Thu Feb 5 17:16:21 2015 +0100 scrolledwindow: Don't hover the scrollbars while a button is being pressed This avoids showing the scrollbars if we are positive the child widget is being manipulated, regardless of the pointer being close to any of these. On the next motion event after finishing the operation, the scrollbar will be shown if necessary. https://bugzilla.gnome.org/show_bug.cgi?id=743894 gtk/gtkscrolledwindow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 4ba2c9ad87aa9cdec1fc2e0c2f31a06049eca549 Author: Carlos Garnacho Date: Tue Feb 3 12:03:22 2015 +0100 popover: Unset the grab when the popover loses its parent This ensures the grab and signal handlers are removed if the parent goes NULL. gtk/gtkpopover.c | 3 +++ 1 file changed, 3 insertions(+) commit d053db289ee8c480d96fa4fc9b89dacb2b160f71 Author: Carlos Garnacho Date: Mon Feb 2 16:13:30 2015 +0100 window: Unparent popover before unmapping/unrealizing Otherwise spurious invariants warnings may happen before the popover is removed from the window. gtk/gtkwindow.c | 6 ++++++ 1 file changed, 6 insertions(+) commit cc511268a09c0221450d7e50dff1bccb70acbd10 Author: Carlos Garnacho Date: Mon Feb 2 15:34:17 2015 +0100 window: call gtk_widget_unmap() on popover widgets unconditionally is_visible() wasn't the right check to perform here before unmapping, and gtk_widget_unmap() already avoids being doubly called by checking gtk_widget_get_mapped() anyway. gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 5837c1c7101fa32d39ed7be81f1409275354002d Author: Carlos Garnacho Date: Thu Feb 5 14:17:51 2015 +0100 popover: Keep a ref on the parent scrollable This ensures the scrollable is still alive on dispose(), and properly unset after disconnecting all signal handlers. gtk/gtkpopover.c | 3 +++ 1 file changed, 3 insertions(+) commit b15193943a8afedba3aef37743607e7d71aab162 Author: Matthias Clasen Date: Thu Feb 5 10:42:57 2015 +0100 GtkStatusIcon: Expand deprecation docs https://bugzilla.gnome.org/show_bug.cgi?id=743975 gtk/deprecated/gtkstatusicon.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit edec64cda3d4518b4e87d5ea5d287d4570ba9933 Author: Benjamin Otte Date: Wed Feb 4 21:08:54 2015 +0100 stylecontext: Don't crah when invalidate() is called on saved context We need to invalidate the root node, not the current one. Fixes crashes on startup of eclipse. Testcase included. https://bugzilla.redhat.com/show_bug.cgi?id=1185828 gtk/gtkstylecontext.c | 12 +++++++----- testsuite/gtk/stylecontext.c | 19 +++++++++++++++++++ 2 files changed, 26 insertions(+), 5 deletions(-) commit 473ab791ff10c46426c2aab4cd8c3fe8d77a8925 Author: Benjamin Otte Date: Wed Feb 4 18:26:32 2015 +0100 stylecontext: Do not have a default style A bunch of applications expect the style to be as close to the actual style as possible even during creation of the widget. Try to accomodate these apps. This reverses the effects of 27285f1f0fb00bb4507a8bf3e426bef940ae41af https://bugzilla.gnome.org/show_bug.cgi?id=743395 https://bugzilla.redhat.com/show_bug.cgi?id=1185999 gtk/gtkstylecontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 72814193419bca29d9883dbe93de0ec788c66541 Author: Benjamin Otte Date: Wed Feb 4 18:20:33 2015 +0100 css: Having a static style per screen isn't useful Just have one static style for everything. gtk/gtkcssstaticstyle.c | 9 +++------ gtk/gtkcssstaticstyleprivate.h | 2 +- gtk/gtkstylecontext.c | 4 ++-- 3 files changed, 6 insertions(+), 9 deletions(-) commit 3e81653bd320b9d5c760c2731a225f546f353c7a Author: Lars Uebernickel Date: Tue Feb 3 11:01:29 2015 +0100 Add support for loading gtk3-only modules Introduce GTK3_MODULES environment variable for modules that don't work in gtk3. The list of modules is now $GTK3_MODULES:$GTK_MODULES. https://bugzilla.gnome.org/show_bug.cgi?id=743917 docs/reference/gtk/running.sgml | 14 ++++++++++++-- gtk/gtkmain.c | 13 ++++++++++++- 2 files changed, 24 insertions(+), 3 deletions(-) commit 2820c342f6fbe4dcac88b836404d748f27157e90 Author: Chun-wei Fan Date: Wed Feb 4 13:04:39 2015 +0800 MSVC Builds: Rename "install" Projects Rename the "install" projects as "gtk-install" as we are planning to have a grand solution file that incorporates all project files of the GTK+ stack with their dependencies, to make it easier for people to build GTK+ from scratch from a stock installation of Visual Studio 2008 and later. build/win32/vs10/Makefile.am | 2 +- build/win32/vs10/gtk+.sln | 34 +++++++++++----------- .../vs10/{install.vcxproj => gtk-install.vcxproj} | 6 ++-- build/win32/vs11/Makefile.am | 2 +- build/win32/vs12/Makefile.am | 2 +- build/win32/vs9/Makefile.am | 2 +- build/win32/vs9/gtk+.sln | 34 +++++++++++----------- .../vs9/{install.vcproj => gtk-install.vcproj} | 6 ++-- 8 files changed, 44 insertions(+), 44 deletions(-) commit 8f3bd8ef0c43ff10cad8f8e219b58b7c5eccf0f4 Author: Chun-wei Fan Date: Wed Feb 4 12:42:24 2015 +0800 MSVC Builds: "Install" autocleanup headers These are public headers that are needed in the package, although the macros are essentially no-ops for Visual Studio builds currently. build/win32/vs10/gtk-install.props | 4 ++++ build/win32/vs9/gtk-install.vsprops | 4 ++++ 2 files changed, 8 insertions(+) commit 9c49144cbe193a48414bf1b65045e614d68c4cb9 Author: Bastian Ilsø Date: Mon Feb 2 08:13:28 2015 +0100 Add reference to HowDoI and getting-started gtk/gtkapplication.c | 4 ++++ 1 file changed, 4 insertions(+) commit 4b173fcde91a85ff01d7efe644dc08c5ccf4224b Author: Emmanuele Bassi Date: Mon Feb 2 16:51:14 2015 +0000 Bump version to 3.15.5 We need the bump in order to allow projects to depend on newly added API. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f07d5e761f2c1d18825f73033ab7d095ea2c70d Author: Carlos Garnacho Date: Sun Feb 1 12:08:04 2015 +0100 x11: Detect libinput touchpads These aren't reported as XIDependentTouch devices, so make it poke a property that's specific to touchpads managed by the libinput driver. gdk/x11/gdkdevicemanager-xi2.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 64f26db038d8d959516183a9e4cfd9150bad9145 Author: Víctor Manuel Jáquez Leal Date: Mon Feb 2 12:54:37 2015 +0100 gtkx: add missing header The header file gdk/x11/gdkx-autocleanups.h is not installed, but it is required by gdkx.h https://bugzilla.gnome.org/show_bug.cgi?id=743640 gdk/x11/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 93ae728cc63db3fa724d7079d4f05d9a99e11912 Author: Carlos Garnacho Date: Mon Feb 2 12:58:56 2015 +0100 scrolledwindow: Don't hide indicators if leaving towards a child In that case the scrolledwindow still gets events through the captured handler, and can thus still control visibility, so hiding the indicators in this case can only lead to flashing. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e82d471c550d657973149075656ec3497a02315f Author: Daniel Mustieles Date: Mon Feb 2 11:58:00 2015 +0100 Updated Spanish translation po-properties/es.po | 356 ++++++++++++++++++++++++++-------------------------- 1 file changed, 180 insertions(+), 176 deletions(-) commit 6aec79cbaa9835e1ce6c29315d3f4e145eb1dac1 Author: Alexander Larsson Date: Mon Feb 2 09:34:43 2015 +0100 gtkx: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gtk/Makefile.am | 1 + gtk/gtkx-autocleanups.h | 27 +++++++++++++++++++++++++++ gtk/gtkx.h | 2 ++ 3 files changed, 30 insertions(+) commit 88d166d8cc39cca1376da8df790f77ef3abbc1db Author: Alexander Larsson Date: Mon Feb 2 09:32:45 2015 +0100 gtkunixprint: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gtk/Makefile.am | 1 + gtk/gtkunixprint-autocleanups.h | 28 ++++++++++++++++++++++++++++ gtk/gtkunixprint.h | 2 ++ 3 files changed, 31 insertions(+) commit 8c361fd7e271f5b4adae2d99e58d515cf10bb861 Author: Alexander Larsson Date: Mon Feb 2 09:29:54 2015 +0100 gtk: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gtk/Makefile.am | 1 + gtk/a11y/Makefile.inc | 1 + gtk/a11y/gtk-a11y-autocleanups.h | 75 +++++++++++++ gtk/gtk-a11y.h | 2 + gtk/gtk-autocleanups.h | 222 +++++++++++++++++++++++++++++++++++++++ gtk/gtk.h | 2 + gtk/gtkgesturezoom.h | 2 +- 7 files changed, 304 insertions(+), 1 deletion(-) commit a71ff332660a7d6c155eb04c92936c618ae80cf8 Author: Alexander Larsson Date: Mon Feb 2 09:28:22 2015 +0100 gdk: Add support for g_autoptr() https://bugzilla.gnome.org/show_bug.cgi?id=743640 gdk/Makefile.am | 1 + gdk/gdk-autocleanup.h | 42 ++++++++++++++++++++++++++++++++++++++++++ gdk/gdk.h | 2 ++ gdk/x11/gdkx-autocleanups.h | 39 +++++++++++++++++++++++++++++++++++++++ gdk/x11/gdkx.h | 2 ++ 5 files changed, 86 insertions(+) commit eacfad7ed693c180158a5eee82335082a87973ea Author: Chun-wei Fan Date: Mon Feb 2 15:00:45 2015 +0800 gtkstylecontext.c: Include fallback-c89.c round() is now being used in the function, so that compilers without round() in their math.h is supported. gtk/gtkstylecontext.c | 2 ++ 1 file changed, 2 insertions(+) commit 31d3be96e4168f886293bae52ad1cee56b043881 Author: Matthias Clasen Date: Sun Feb 1 17:30:10 2015 -0500 Be safe against stray booleans Since gboolean is a typedef for int, the compiler won't complain about gdk_window_set_event_compression (w, 2). So, make it work. https://bugzilla.gnome.org/show_bug.cgi?id=742566 gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4a531ec6ab04d7a9ebd3e3e1ea1060f811555173 Author: Matthias Clasen Date: Sun Feb 1 11:07:12 2015 -0500 Plug another memory leak in plugman examples/plugman.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f7803704993d1b306cb46052fd58fd02a9e20a23 Author: Felix Riemann Date: Sat Jan 31 16:17:24 2015 +0100 plugman: Fix leaking attribute string https://bugzilla.gnome.org/show_bug.cgi?id=743770 examples/plugman.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 404e2753c4f63c5a71b65f5270317f21be77a5fe Author: Cosimo Cecchi Date: Sun Jan 25 11:53:49 2015 +0000 scrolledwindow: add a new edge-reached signal This will be used to just detect when an edge of the scrollable area is reached - as opposed to the edge-overshot signal that is emitted when the user scrolls past the edge. https://bugzilla.gnome.org/show_bug.cgi?id=742848 gtk/gtkscrolledwindow.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++--- tests/testscrolledge.c | 9 +++++++ 2 files changed, 74 insertions(+), 3 deletions(-) commit 48a41b01196febe124eb29c8d8ba8a996935adaa Author: Matthias Clasen Date: Sat Jan 31 13:33:42 2015 -0500 Reduce symbolic icon warnings to a debug message These icons are out there in the wild, and the warning causes distcheck to fail. So, reduce it to a debug message. gtk/gtkicontheme.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 5f977deb4fa0f5c437f8bcac49e19210c735af88 Author: Dušan Kazik Date: Sat Jan 31 11:07:59 2015 +0000 Updated Slovak translation po/sk.po | 1727 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 900 insertions(+), 827 deletions(-) commit 6276b9cda0b179e6a29b9002f82a338dc6f9649f Author: Matthias Clasen Date: Fri Jan 30 23:32:50 2015 -0500 image: Optimize non-resize changes Suggested by Owen in https://bugzilla.gnome.org/show_bug.cgi?id=613833 gtk/gtkimage.c | 132 +++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 109 insertions(+), 23 deletions(-) commit bece876f8eded4a5deee5db9b96ef52a5a61ef0a Author: Benjamin Otte Date: Sat Jan 31 02:25:18 2015 +0100 stylecontext: Use old rounding for get_padding/border/margin() 610f7e8f70ce165e04a4cdc3fd20b560f500b925 changed the way we query those values for performance reasons but didn't copy the rounding used. Fixes border-half-pixel reftest. gtk/gtkstylecontext.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 3575df8ee24a4e9e7c59260d66e0e087be852e69 Author: Benjamin Otte Date: Sat Jan 31 01:55:04 2015 +0100 glarea: Remove useless function The function should have been gone in 27cf0fa34c3a51ddb50391f21aaf2e3984d6dddb gtk/gtkglarea.c | 19 ------------------- 1 file changed, 19 deletions(-) commit f1ec76a9c1250b8d6f35dc199f0fc0452bcdaaf5 Author: Benjamin Otte Date: Thu Jan 22 15:47:36 2015 +0100 roundedbox: Treat path segments differently If a side of the box is 0px wide, make the corners owned by the adjacent sides. This avoids spilling over of unwanted colors from the 0-width side into the corner. This is the fix that should actually have been part of 7e5ac3a58d0362080c4eb7c9b68ead99674c7b87 but my amazing amending skills got rid of it when amending the test. gtk/gtkroundedbox.c | 116 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 88 insertions(+), 28 deletions(-) commit 65dadd37fc4b98fe1da4c9b44f89e2d3ecf92921 Author: Matthias Clasen Date: Fri Jan 30 18:58:41 2015 -0500 Updates for 3.15.5 NEWS | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 561ff51abb9629c11855d346432cb1792b117815 Author: Matthias Clasen Date: Fri Jan 30 18:42:06 2015 -0500 Fix an oversight Commit ff256956b2072cd422 introduced a frame_clock_events_paused flag, but only ever set it to TRUE, instead of unsetting it when events are resumed. This was leading to assertion failures in _gdk_display_unpause_events(). gdk/gdkwindow.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 7ff3ef3e68350773548beae93f4b29f33fa88600 Author: Matias De lellis Date: Tue Dec 2 21:09:38 2014 -0300 GtkSettings: Consider default settings for font hinting and antialias Arrange things so that gtk-xdg-hinting==-1 and gtk-xfg-antialias==-1 end up as CAIRO_HINT_STYLE_DEFAULT and CAIRO_ANTIALIAS_DEFAULT in the cairo font options. This will not change anything on Linux desktops where xsettings will always provide values different from -1. But on other platforms, we can benefit from getting the platform-specific defaults in cairo. Based on the first patch in: https://bugzilla.gnome.org/show_bug.cgi?id=735316 gtk/gtksettings.c | 53 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 21 deletions(-) commit a1f8ffce4eb5cc023f810b9fe0e1e6749283ca65 Author: Bastian Ilsø Date: Wed Jan 28 18:43:45 2015 +0000 Getting started: BIG update of basics section https://bugzilla.gnome.org/show_bug.cgi?id=743680 docs/reference/gtk/getting_started.xml | 86 ++++++++++++++++++---------------- 1 file changed, 46 insertions(+), 40 deletions(-) commit ff256956b2072cd422ccec5f33949854b0db0ef8 Author: Tom Hughes Date: Mon Jan 26 21:52:00 2015 +0000 Resume events when disconnecting from a frame clock If we are disconnecting from a frame clock that has paused event processing and hasn't issued a resume yet make sure we resume the events or they will stay blocked forever. https://bugzilla.gnome.org/show_bug.cgi?id=742636 gdk/gdkinternals.h | 1 + gdk/gdkwindow.c | 9 +++++++++ 2 files changed, 10 insertions(+) commit d86d406c99a94b5acf5e3a3fa328908508d5f882 Author: Balázs Úr Date: Fri Jan 30 21:29:35 2015 +0000 Updated Hungarian translation po-properties/hu.po | 507 ++++++++++++++++++++++++---------------------------- 1 file changed, 237 insertions(+), 270 deletions(-) commit 71f5eec2e040c604b30f7777ca178c9891d0cb3d Author: Balázs Úr Date: Fri Jan 30 21:26:29 2015 +0000 Updated Hungarian translation po/hu.po | 284 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 143 insertions(+), 141 deletions(-) commit 4f1780c7828737266b7aa1ae8372b7f1c7711b69 Author: Matthias Clasen Date: Fri Jan 30 06:07:34 2015 -0500 Robustness fixes for drag cancel animation gtk_widget_get_frame_clock() can return NULL. Deal with that by silently stopping the drag cancel animation in this case. gtk/gtkdnd.c | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) commit 34c29d8d3cfd85132a7e8c333ffb4353771cfe64 Author: Matthias Clasen Date: Fri Jan 30 09:20:04 2015 -0500 testnotebookdnd: Defer deletion to an idle The code here was always a bit buggy: We removed the tab from the notebook in a ::drag-data-received handler. But with GTK_DEST_DEFAULT_DROP, that signal is emitted before we inform the source side that the drag is finished. With its improved drag handling, GtkNotebook now interprets this as a 'spontaneous' removal of the tab being dragged, and cancels the drag, leading to an unwanted cancel animation. The easiest fix is to just defer the tab removal to an idle. tests/testnotebookdnd.c | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) commit 3fc21b4f3f2d7764b00939961fb38af9b552b6ab Author: Matthias Clasen Date: Fri Jan 30 09:26:04 2015 -0500 notebook: Protect removal-from-within When a tab is dropped, we have to remove it from the notebook to insert it elsewhere. This is expected part of the tab dnd operation, and we need to differentiate it from 'spontaneous' removals which cause us to cancel the drag operation. gtk/gtknotebook.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 63104944a3d783197082cb57683301a67f1de063 Author: Matthias Clasen Date: Thu Jan 29 23:51:26 2015 -0500 notebook: Make dnd safe against tab disappearance when the dragged tab is being removed during the drag operation, we need to cancel the drag. To do so, we have to keep around a reference to the drag context. This should fix https://bugzilla.gnome.org/show_bug.cgi?id=732051 gtk/gtknotebook.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 3a05d9b5a0dde696fe6fb68fd2ae3bffbc36b20c Author: Matthias Clasen Date: Thu Jan 29 23:48:06 2015 -0500 notebook: Make reordering safe for tab disappearance If the dragged tab is removed during reordering, we need to call gtk_notebook_stop_reorder(), to clean up and bring the remaining tabs back in order. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit c160ba0696dc5ffaece04941cf24344bf76bab65 Author: Matthias Clasen Date: Thu Jan 29 23:49:48 2015 -0500 dnd: Allow programmatic drag cancellation Add a gtk_drag_cancel() function that can be used on the source side to cancel an ongoing drag operation. This can be useful, e.g. if the data that is being dragged becomes unavailable. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkdnd.c | 52 +++++++++++++++++++++++++++++------- gtk/gtkdnd.h | 3 +++ 3 files changed, 46 insertions(+), 10 deletions(-) commit f2cfe9ed74ae222fd0f61f09e85972cbc3ad9917 Author: Matthias Clasen Date: Thu Jan 29 23:45:28 2015 -0500 dnd: Make dest side safe against destroy Use a weak pointer to clean up when the current drag destination gets destroyed. gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0367f785efe42954b3b889c8bd9decdb1b72a930 Author: Matthias Clasen Date: Wed Jan 28 22:36:47 2015 -0500 file chooser button: Make dnd work as expected Update the button contents when accepting a drop. https://bugzilla.gnome.org/show_bug.cgi?id=743451 gtk/gtkfilechooserbutton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 1c8b77637abad21e30aaa8ac4963485b9e0e6e59 Author: Sveinn í Felli Date: Thu Jan 29 15:37:35 2015 +0000 Updated Icelandic translation po/is.po | 266 ++++++++++++++++----------------------------------------------- 1 file changed, 68 insertions(+), 198 deletions(-) commit 4188069db9d886e7e7478ce9a15d769af3adfb3d Author: Lapo Calamandrei Date: Thu Jan 29 11:34:01 2015 +0100 Adwaita: add comments gtk/theme/Adwaita/_common.scss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c6eb926e4ad9ee935885aa36c0e26290f6261e29 Author: Lapo Calamandrei Date: Thu Jan 29 10:49:59 2015 +0100 Adwaita: undershoot simplification and tweaks gtk/theme/Adwaita/_common.scss | 4 ---- gtk/theme/Adwaita/_drawing.scss | 20 +++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 30 ++++++++++++------------------ gtk/theme/Adwaita/gtk-contained.css | 30 ++++++++++++------------------ 4 files changed, 31 insertions(+), 53 deletions(-) commit 99b17488dd4608d46e4b9fdc5e719d5b600ac837 Author: Matthias Clasen Date: Wed Jan 28 18:26:42 2015 -0500 file chooser: Unset sidebar during search It is a bit misleading to have one of the places in the sidebar selected while in search mode, since the search is not relative to any location. So, unset the sidebar selection when we enter search mode. gtk/gtkfilechooserwidget.c | 1 + 1 file changed, 1 insertion(+) commit f211031a9fb47b32feb3dc211f75d3a3c238689a Author: Matthias Clasen Date: Wed Jan 28 18:25:32 2015 -0500 places sidebar: Make a function NULL-safe gtk_places_sidebar_set_location's location argument is documented as allow-none, but if one actually passes NULL, a warning results. Fix that. gtk/gtkplacessidebar.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit e31e88582f280917fa79ca201f59dbabe994fdc6 Author: Matthias Clasen Date: Wed Jan 28 18:21:18 2015 -0500 file chooser: Unify search mode leaving Make all ways to get out of search mode go through the same code path, so we always populate the list. gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a385ca1bb75a5fad0937146b1f59386a0d0fb4c4 Author: Matthias Clasen Date: Wed Jan 28 18:17:51 2015 -0500 file chooser: Fix key bindings Key press handlers must chain up for key bindings to work. gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 59c04d51843cfc5d7a1eae447767c0fd99675f5e Author: Matthias Clasen Date: Wed Jan 28 18:15:19 2015 -0500 file chooser: Load a directory when leaving search Ensure that some folder contents are shown in the list when we leave search mode. https://bugzilla.gnome.org/show_bug.cgi?id=743659 gtk/gtkfilechooserwidget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 696129d83ca2006cd3fb69ebfb7c8fafee3f839b Author: Matthias Clasen Date: Wed Jan 28 17:01:30 2015 -0500 file chooser: Don't switch too eagerly to search mode If the search entry doesn't consume the key event, don't change to search mode. Otherwise, we interfere e.g. with Ctrl and Shift keys for selection. https://bugzilla.gnome.org/show_bug.cgi?id=743660 gtk/gtkfilechooserwidget.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 9cbf764bcd2421824ff8ac8d4b23eae1b1e56949 Author: Garrett Regier Date: Tue Jan 27 09:22:26 2015 -0800 Fix VA marshaller for GtkWidget's "event-after" signal Just a copy and paste typo from the "event" signal. https://bugzilla.gnome.org/show_bug.cgi?id=743593 Signed-off-by: Garrett Regier gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e9ddff907f0c016e881a2254e82730ece2e36066 Author: Bastian Ilsø Date: Wed Jan 28 11:39:01 2015 +0000 Get started: port example-0.c to GtkApplication https://bugzilla.gnome.org/show_bug.cgi?id=743638 examples/window-default.c | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) commit 066646c96d4df25ff4d5ba1776d29e814334306c Author: Christian Persch Date: Tue Jan 27 13:37:15 2015 +0100 GtkAboutDialog: Fix crash on link click https://bugzilla.gnome.org/show_bug.cgi?id=743592 gtk/gtkaboutdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 86eefc7609cfb5428f40309b3deb22ef1cf4cde1 Author: Matthias Clasen Date: Wed Jan 28 16:06:02 2015 -0500 file chooser: Make Escape go out of search mode This works in most other places where we have search, and is the expected behavior. gtk/gtkfilechooserwidget.c | 8 ++++++++ gtk/ui/gtkfilechooserwidget.ui | 1 + 2 files changed, 9 insertions(+) commit 1d64175c4b0a83ca7e9535c5dbf4e6ba1e8dfda1 Author: Matthias Clasen Date: Wed Jan 28 16:02:03 2015 -0500 file chooser: Simplify search entry callback gtk/gtkfilechooserwidget.c | 9 +++------ gtk/ui/gtkfilechooserwidget.ui | 2 +- 2 files changed, 4 insertions(+), 7 deletions(-) commit d270c5524fbd129bc96b2b31e1d97efa02be4e81 Author: Matthias Clasen Date: Wed Jan 28 15:57:12 2015 -0500 file chooser: Drop unused callbacks gtk/gtkfilechooserwidget.c | 14 -------------- 1 file changed, 14 deletions(-) commit 4ac57d4d4c8fced128228addc7a11b785ccb859e Author: Matthias Clasen Date: Wed Jan 28 15:37:53 2015 -0500 file chooser: Remove the search/browse buttons Enabling search is now handled in the file chooser dialog, so we don't need these buttons anymore. gtk/ui/gtkfilechooserwidget.ui | 75 ---------------------------------------- gtk/ui/gtkfilechooserwidget.ui.h | 3 -- 2 files changed, 78 deletions(-) commit 7c51e60b8647f8dfcc3b1c30eb8ed8e5b21489ef Author: Matthias Clasen Date: Wed Jan 28 15:36:57 2015 -0500 file chooser dialog: Add a search button to the header This is where we put similar search buttons in applications and in other dialogs, such as the GtkAppChooserDialog. gtk/gtkfilechooserdialog.c | 42 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 41 insertions(+), 1 deletion(-) commit de4427304c680c4d111ba92477a30f70befa2d06 Author: Matthias Clasen Date: Wed Jan 28 15:00:08 2015 -0500 file chooser: Add a search-mode property This will be used to control search from the dialog. gtk/gtkfilechooserwidget.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 76b674f3b63bb77944e82170852ec64b3a4c2c39 Author: Matthias Clasen Date: Wed Jan 28 10:35:49 2015 -0500 file chooser: Clean up includes gtk/gtkfilechooserwidget.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit f029a2230dfb71f0d94afa3124eb2a944ca1bb21 Author: Lapo Calamandrei Date: Wed Jan 28 20:22:05 2015 +0100 Adwaita: undershoot tweaks gtk/theme/Adwaita/_drawing.scss | 14 ++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 22 insertions(+), 24 deletions(-) commit 5f1fb0e4fcd16111611f51c37ab225cfd9bb0925 Author: Lapo Calamandrei Date: Wed Jan 28 20:05:03 2015 +0100 Adwaita: undershoot teeth removal gtk/theme/Adwaita/_drawing.scss | 66 +++++++++++--------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 45 ++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 45 ++++++++++++---------- 3 files changed, 70 insertions(+), 86 deletions(-) commit 201134b9df0c71cb729da9f3dc7410a066f3aacc Author: Jakub Steiner Date: Wed Jan 28 18:22:59 2015 +0100 Adwaita: shade content-view https://bugzilla.gnome.org/show_bug.cgi?id=740336 gtk/theme/Adwaita/_common.scss | 7 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 17 insertions(+) commit f07ac793fea9a76605f5c6a7b86015377a98ffc3 Author: Lapo Calamandrei Date: Wed Jan 28 18:19:20 2015 +0100 Adwaita: set the right background color for message dialogs gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 2 files changed, 8 insertions(+) commit 3f4df0644c76c88a57a0bbe57a4b469f5dddb71e Author: Carlos Garnacho Date: Sun Jan 25 17:55:01 2015 +0000 window: Only claim the sequence if keeping the grab If the grab belongs elsewhere, the window won't claim the sequence right away. The sequence may still be claimed afterwards when window dragging starts, but simple clicks won't be consumed this way. This makes it possible to close popovers when clicking on the title region, while still permitting touch/button 1 interaction for every other purpose. https://bugzilla.gnome.org/show_bug.cgi?id=743257 gtk/gtkwindow.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit ea983404ec02c1fcb01be13eb2ce271430d80346 Author: Carlos Garnacho Date: Tue Jan 27 11:24:18 2015 +0000 win32: Don't check the position of a NULL device This function is given a barely setup GdkEvent, so the GdkDevice field is still unset, causing warnings and misbehaviors when the position is queried for it. Given that the wintab GTK+ code seems to rely somewhat hard on the wintab device managing the pointer cursor, query the pointer position from the pointer itself. https://bugzilla.gnome.org/show_bug.cgi?id=743330 gdk/win32/gdkdevicemanager-win32.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 15438905693106e81b96100ce5843e87910768d5 Author: Carlos Garnacho Date: Mon Jan 26 14:26:34 2015 +0000 win32: Ensure we can create a window for wintab The window used NULL as a parent window, which defaults internally to using the root window of the default screen. But at the time wintab is initialized, there is no default display/screen yet. Fix this by retrieving this information from the given GdkDeviceManager, so we don't have to wait for the display to be in place before initialization. https://bugzilla.gnome.org/show_bug.cgi?id=743330 gdk/win32/gdkdevicemanager-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 2dd07f346a0f724146c6ba7d6ce3a3372d901397 Author: Rui Matos Date: Tue Jan 27 18:50:33 2015 +0100 gdkscreen-wayland: Don't leak wl_output objects https://bugzilla.gnome.org/show_bug.cgi?id=743633 gdk/wayland/gdkscreen-wayland.c | 1 + 1 file changed, 1 insertion(+) commit f717d984582e75747c123e30ed5672a69c6936f8 Author: Lapo Calamandrei Date: Wed Jan 28 17:11:34 2015 +0100 Adwaita: another approach at the undershoot styling gtk/theme/Adwaita/_common.scss | 2 - gtk/theme/Adwaita/_drawing.scss | 70 ++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 234 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 234 ++++++++++++++++++++++--------- 4 files changed, 385 insertions(+), 155 deletions(-) commit 1aee4f038448b79ebbc6fb6925aec2dfbe71f3c9 Author: Matthias Clasen Date: Wed Jan 28 10:08:13 2015 -0500 Fix a typo commit aa1b7fab9c6a2b39 introduced a misuse of G_UNLIKELY in several places. Fix all those. gtk/gtktextview.c | 2 +- gtk/gtktreeview.c | 2 +- gtk/gtkwidget.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 8e8a94bc23b782777d3071d10c7847c5b49442d8 Author: Lars Uebernickel Date: Wed Jan 28 14:13:42 2015 +0000 Also bundle icons in status/ as resources https://bugzilla.gnome.org/show_bug.cgi?id=743647 gtk/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit f3d95d05eb599c80327db0b7c318d60818b48609 Author: Bastian Ilsø Date: Tue Jan 27 11:43:40 2015 +0000 Introduction explaining widget toolkit docs/reference/gtk/getting_started.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 00834786be3b280dd048d234ee6bb188d01e1ff8 Author: Niels Nesse Date: Sat Jan 17 23:21:35 2015 -0800 GDK GL context's should associate with "window->impl_window" not "window" In some layouts this inconsistency results in crashes in gdk_gl_texture_from_surface() since it uses gdk_gl_context_get_window() but the returned window is not the same as the one that is being painted so "window->current_paint.surface" is NULL. I saw this problem when packing a GdkGLArea into a GtkPaned. https://bugzilla.gnome.org/show_bug.cgi?id=743146 gdk/gdkwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 27cf0fa34c3a51ddb50391f21aaf2e3984d6dddb Author: Niels Nesse Date: Wed Jan 14 17:30:28 2015 -0800 Fix core context creation in GdkGLContext - Specifically request GL version when creating context. Just specifying core profile bit results in the requested version defaulting to 1.0 which causes the core profile bit to be ignored and an arbitrary compatability context to be returned. - Fix GL painting by removing GL calls that have been depricated by the 3.2 core profile. - Additionally remove glInvalidateFramebuffer() call, it is not supported by 3.2 core. https://bugzilla.gnome.org/show_bug.cgi?id=742953 gdk/gdkgl.c | 16 +++++----------- gdk/gdkglcontext.c | 2 +- gdk/gdkwindow.c | 1 - gdk/x11/gdkglcontext-x11.c | 2 ++ gtk/gtkglarea.c | 2 -- 5 files changed, 8 insertions(+), 15 deletions(-) commit 9e85fcbe7cc3cf296b125f149d20645c821d4b62 Author: Bastian Ilsø Date: Tue Jan 27 19:25:40 2015 +0000 Paragraph explaining casting conventions via macro docs/reference/gtk/getting_started.xml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit a1e4ba0dd42684a707c2851b4d45c3637974f6d0 Author: Alexander Larsson Date: Tue Jan 27 17:14:26 2015 +0000 gtktreeview: Fix horizontal grid lines The clipping was wrong so it was not drawing grid lines outside the visible area, which broke due to the pixel cache. gtk/gtktreeview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1442299b4838d38de81285cf007b871cf867ed69 Author: Jonas Danielsson Date: Wed Nov 20 17:25:59 2013 +0100 clipboard: Add get_default() helper Add helper for getting the main clipboard. This makes the API usable for bindings (as GdkAtoms aren't usable through gobject-introspection), and easier to use in C. https://bugzilla.gnome.org/show_bug.cgi?id=712752 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkclipboard.c | 20 ++++++++++++++++++++ gtk/gtkclipboard.h | 3 +++ 3 files changed, 24 insertions(+) commit 46b10f1d929e89d02175796c6dc5250215f51105 Author: Sveinn í Felli Date: Tue Jan 27 14:32:27 2015 +0000 Updated Icelandic translation po/is.po | 87 ++++++++++++++++++++++++++++++---------------------------------- 1 file changed, 41 insertions(+), 46 deletions(-) commit aa1b7fab9c6a2b39ccdf90c8ee1e04e583815424 Author: Benjamin Otte Date: Tue Jan 27 05:03:52 2015 +0100 css: Remove _gtk_css_style_property_changes_affect_size() ... and _gtk_css_style_property_changes_affect_font(). Replace it with _gtk_css_style_property_get_mask_affecting(). gtk/gtkcssstyleproperty.c | 23 ----------------------- gtk/gtkcssstylepropertyprivate.h | 4 ---- gtk/gtktextview.c | 7 ++++++- gtk/gtktreeview.c | 7 ++++++- gtk/gtkwidget.c | 7 ++++++- 5 files changed, 18 insertions(+), 30 deletions(-) commit 488ea44a597063ecd9d1354bc01b1e165670a98d Author: Benjamin Otte Date: Tue Jan 27 04:48:35 2015 +0100 image: Use _gtk_css_style_property_get_mask_affecting() ... to avoid recomputing the cached surface all the time. gtk/gtkimage.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit c42e54e9494d7d56634bd9bbafe38ddf6ee8daa8 Author: Benjamin Otte Date: Tue Jan 27 04:47:55 2015 +0100 css: Add _gtk_css_style_property_get_mask_affecting() Computes a bitmask for all properties that affect the given flags. gtk/gtkcssstyleproperty.c | 29 +++++++++++++++++++++++++++++ gtk/gtkcssstylepropertyprivate.h | 2 ++ 2 files changed, 31 insertions(+) commit ffff7b055bb82f4412c6c0549b84e90f285b5480 Author: Benjamin Otte Date: Tue Jan 27 04:36:00 2015 +0100 css: Remove GtkCssStyleProperty::affects-size ... and GtkCssStyleProperty::affects-font properties. Code now uses GtkCssStyleProperty::affects instead. gtk/gtkcssstyleproperty.c | 68 ++-------------------------------------- gtk/gtkcssstylepropertyimpl.c | 2 -- gtk/gtkcssstylepropertyprivate.h | 2 -- 3 files changed, 2 insertions(+), 70 deletions(-) commit c0650057c11b87cf7c2c063b160c54080318f7f7 Author: Benjamin Otte Date: Tue Jan 27 04:32:09 2015 +0100 css: Add GtkCssStyleProperty::affects property gtk/gtkcssstyleproperty.c | 32 ++++++++++++++++++++++++++++++++ gtk/gtkcssstylepropertyimpl.c | 1 + gtk/gtkcssstylepropertyprivate.h | 2 ++ gtk/gtkcsstypesprivate.h | 2 +- 4 files changed, 36 insertions(+), 1 deletion(-) commit 11d70f1ac30dd491d9d8dac9b9e2c31cee073cc9 Author: Benjamin Otte Date: Tue Jan 27 00:25:05 2015 +0100 css: Add a -gtk-icon-theme CSS property The property is useless to set (it only allows 'initial', 'inherit' and 'unset' as values), but it is used to track changes to the icon theme. And as such, it can ensure that widgets can track when they need to reload icons. https://bugzilla.gnome.org/show_bug.cgi?id=743341 gtk/Makefile.am | 2 + gtk/gtkcssiconthemevalue.c | 135 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcssiconthemevalueprivate.h | 32 +++++++++ gtk/gtkcssstylepropertyimpl.c | 19 ++++++ gtk/gtkcsstypesprivate.h | 1 + 5 files changed, 189 insertions(+) commit 9cbf04c1d2db22001995b9851587b475ffcefe44 Author: Mike Gorse Date: Mon Jan 26 14:59:50 2015 -0600 A11y: fix typo when initializing a container cell accessible Gtk_container_cell_widget_set should chain up to its parent's set function, not its parent's unset function. This was resulting in accessibles being erroneously marked defunct after being created. gtk/a11y/gtkcontainercellaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8cb444147cdbc624c0ecda3209c389dbe824152f Author: Yosef Or Boczko Date: Mon Jan 26 22:13:52 2015 +0200 Updated Properties Hebrew translation po-properties/he.po | 904 ++++++++++++++++++++++++++-------------------------- 1 file changed, 458 insertions(+), 446 deletions(-) commit daad650a9c0759d96d65422b68972a8aa01bd291 Author: Yosef Or Boczko Date: Mon Jan 26 22:12:48 2015 +0200 Updated Hebrew translation po/he.po | 326 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 174 insertions(+), 152 deletions(-) commit 5fc8cf43317b1eef865fddefd69093b30a544976 Author: Matthias Clasen Date: Sat Jan 24 19:31:11 2015 -0500 x11: Handle obsolete selection requests without crashing The ICCCM says: If the specified property is None, the requestor is an obsolete client. Owners are encouraged to support these clients by using the specified target atom as the property name to be used for the reply. Lets do that, instead of crashing. https://bugzilla.gnome.org/show_bug.cgi?id=740613 The previous fix for this issue in 732af31424b8f382d was incomplete. gdk/x11/gdkdisplay-x11.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 542c824c717b3d3f04a982dd11faf85de1ba3828 Author: Matthias Clasen Date: Sat Jan 24 19:25:50 2015 -0500 Trivial doc fixes Remove two erroneous quotation marks. gtk/gtkdnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8fc920144bb1f9840e501ef4f470be2eb83b6c0a Author: Christoph Reiter Date: Tue Jan 20 17:54:03 2015 +0100 GtkFileChooserWidget: Fix a crash for when the widget was unrefed right after setting a current folder. Keep a reference to the widget while the async operation is ongoing. https://bugzilla.gnome.org/show_bug.cgi?id=725164 gtk/gtkfilechooserwidget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit c235747847d59db7f2bf553cc53f7656397b7627 Author: Christoph Reiter Date: Tue Jan 20 17:48:54 2015 +0100 GtkFileChooserWidget: remove unused fields and cleanup code. These fields are never set, so we don't need the code to clean them up. https://bugzilla.gnome.org/show_bug.cgi?id=725164 gtk/gtkfilechooserwidget.c | 39 --------------------------------------- 1 file changed, 39 deletions(-) commit 95fad690d2fee2970ff7f233ce82d28183d5d86b Author: Matthias Clasen Date: Sat Jan 24 17:25:43 2015 -0500 wayland: Don't claim to support selection notification We don't support selection notification, so don't claim we do, only to fail later. https://bugzilla.gnome.org/show_bug.cgi?id=743229 gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b6551c84c9fcd1c63f4fe8055e016f41cf7c4985 Author: Matthias Clasen Date: Sat Jan 24 16:45:04 2015 -0500 Initialize variables No need to risk valgrind complaints about initialized values. https://bugzilla.gnome.org/show_bug.cgi?id=743422 gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit aa0811d320c0da992a37da22edd3c7966e9cb152 Author: Debarshi Ray Date: Wed Jan 21 11:28:19 2015 +0100 GtkTreeModel: Documentation fix https://bugzilla.gnome.org/show_bug.cgi?id=743286 gtk/gtktreemodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4dee9b682b5ef0b00d882f0327f0cbdd317afaf Author: Christoph Reiter Date: Mon Jan 19 18:06:03 2015 +0100 Fix transfer annotation for tree_model parameter of gtk_tree_get_row_drag_data() and add nullable, optional The GtkSelectionData does not own the model set with gtk_tree_set_row_drag_data so change the out param to "transfer none". This fixes a crash after multiple DnD actions due to the bindings stealing a reference each time this function is called. This also adds nullable and optional annotations for tree_model and path while at it. https://bugzilla.gnome.org/show_bug.cgi?id=743193 gtk/gtktreednd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9668962da12df65810856178bbb5ec1866a953d0 Author: Timm Bäder Date: Fri Jan 23 11:21:02 2015 +0100 gtkdnd: Set the dnd window's screen before its visual This makes dnd icons work for widgets on a !default screen. https://bugzilla.gnome.org/show_bug.cgi?id=743393 gtk/gtkdnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b3c28e14fe184ee61f1904021ba42af5052bc9da Author: Matthias Clasen Date: Sat Jan 24 13:32:31 2015 -0500 file chooser: search improvements Make it so that typing switches to search unless we have a better use for the key events, and stop search if the entry is emptied. gtk/gtkfilechooserwidget.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit 8f9c8120b9d8a4cfa9ed1777da37f7a2d618a3a6 Author: Matthias Clasen Date: Sat Jan 24 08:04:36 2015 -0500 file chooser: Turn off typeahead search It is the third kind of navigation entry in the file chooser after the location entry and search, and it interacts badly with both of the others. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit a0ecb44b41ed5625aa05e101959110f09a089b5c Author: Matthias Clasen Date: Sat Dec 27 18:53:21 2014 -0500 gtk-demo: Show search entry signals demos/gtk-demo/search_entry2.c | 51 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 3bf12c44e28076fd23c21a5e512df19070d04a0a Author: Matthias Clasen Date: Sat Dec 27 18:29:07 2014 -0500 Use the new API in GtkSearchBar if we can Sadly, GtkSearchBar allows connecting plain entries, so we have to keep the old code around. gtk/Makefile.am | 1 + gtk/gtksearchbar.c | 152 ++++++++++++++++++++------------------------ gtk/gtksearchentry.c | 6 +- gtk/gtksearchentryprivate.h | 36 +++++++++++ 4 files changed, 110 insertions(+), 85 deletions(-) commit 354536d464bc39ef1f335cd89f71398bea74e506 Author: Matthias Clasen Date: Mon Nov 24 22:44:44 2014 -0500 inspector: Use some of the new GtkSearchEntry API Avoid repetitive, manual event handling in various places in GtkInspector. gtk/inspector/object-tree.c | 9 ++++ gtk/inspector/object-tree.ui | 3 ++ gtk/inspector/prop-list.c | 103 ++----------------------------------- gtk/inspector/prop-list.ui | 1 + gtk/inspector/style-prop-list.c | 106 ++------------------------------------- gtk/inspector/style-prop-list.ui | 2 + 6 files changed, 22 insertions(+), 202 deletions(-) commit 500c8d82fc4ba01b8424fb51fae4cd6af46d362a Author: Matthias Clasen Date: Mon Nov 24 22:40:45 2014 -0500 GtkSearchEntry: Add more API Add ::next-match, ::previous-match and ::stop-search keybinding signals that are bound to Ctrl-g, Ctrl-Shift-g and Escape. Also add a gtk_search_entry_handle_event() function to handle key events. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtksearchentry.c | 218 ++++++++++++++++++++++++++++++++++- gtk/gtksearchentry.h | 12 +- 3 files changed, 220 insertions(+), 11 deletions(-) commit 82a5edceca581b7eaedb7e3692bd8186049f8e08 Author: Sveinn í Felli Date: Fri Jan 23 13:37:21 2015 +0000 Updated Icelandic translation po/is.po | 3124 ++++++++++++++++++++++++++------------------------------------ 1 file changed, 1295 insertions(+), 1829 deletions(-) commit ad180c43358d1e8f22d23763fc7935f7cdce1cee Author: Timm Bäder Date: Thu Jan 22 13:40:12 2015 +0100 inspector: Make gl extension rows unactivatable gtk/inspector/general.c | 1 + 1 file changed, 1 insertion(+) commit 2e71fbacbf150c15c01ea2e58484e26c245eff25 Author: Piotr Drąg Date: Thu Jan 22 20:20:43 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 7e5ac3a58d0362080c4eb7c9b68ead99674c7b87 Author: Benjamin Otte Date: Thu Jan 22 15:47:36 2015 +0100 roundedbox: Treat path segments differently If a side of the box is 0px wide, make the corners owned by the adjacent sides. This avoids spilling over of unwanted colors from the 0-width side into the corner. New test for this case is included. testsuite/reftests/Makefile.am | 3 + .../border-corner-zero-width-rendering.css | 33 +++ .../border-corner-zero-width-rendering.ref.ui | 207 ++++++++++++++++ .../reftests/border-corner-zero-width-rendering.ui | 269 +++++++++++++++++++++ 4 files changed, 512 insertions(+) commit 3a9bf0fe1d9202862b6c8e45a2575f178eae8aee Author: Benjamin Otte Date: Thu Jan 22 14:36:33 2015 +0100 widget: Compute clip of children properly For widgets with a window, we need to adjust the allocation of their children. gtk/gtkwidget.c | 24 ++++++++++++++++++++---- 1 file changed, 20 insertions(+), 4 deletions(-) commit d879a1360052df1ae504258c178b130f66cea47b Author: Benjamin Otte Date: Thu Jan 22 14:33:26 2015 +0100 widget: Correctly handle which widgets to include in the clip Previously, we would not include any child widget on the first allocation, which happens right after realize(), but before map(). No widget is drawable at that point. gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit bd31310c40de64add4aa813315216685ef224a77 Author: Benjamin Otte Date: Thu Jan 22 14:33:03 2015 +0100 widget: Add debug spew for setting the clip gtk/gtkwidget.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 3fcb8928310aa24696dd6e0c5350d263fd034518 Author: Benjamin Otte Date: Thu Jan 22 14:32:38 2015 +0100 headerbar: Implement clipping gtk/gtkheaderbar.c | 2 ++ 1 file changed, 2 insertions(+) commit ba06066158cc2c4e68a8de5706349a2c221c5c58 Author: Benjamin Otte Date: Wed Jan 21 16:22:30 2015 +0100 border: Don't special case according to border styles This is now done (as it should) in the compute code. gtk/gtkrenderborder.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 728bce2cf8258e46f11c3452539b3bf064f60f5c Author: Sebastian Keller Date: Wed Jan 21 15:29:54 2015 +0100 css: Move "border-style: none" special case to CssValueNumber This fixes the background being shifted by the border-width even though the border-style was none. gtk/gtkcssnumbervalue.c | 34 ++++++++++++++++++++++++++ gtk/gtkcssstyleproperty.c | 61 ----------------------------------------------- 2 files changed, 34 insertions(+), 61 deletions(-) commit 610f7e8f70ce165e04a4cdc3fd20b560f500b925 Author: Benjamin Otte Date: Wed Jan 21 02:16:44 2015 +0100 stylecontext: Don't do unnecessary workarounds when calling get_padding/border/margin, there is no need to go through the fallback API. This is a huge speedup for certain benchmarks. gtk/gtkstylecontext.c | 54 ++++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 24 deletions(-) commit 8836a0d6ce554164e4f513bbf0c0743f629af8e0 Author: Sebastian Keller Date: Wed Jan 21 01:14:55 2015 +0100 render: fix arrow orientation The rotation code in the draw_arrow function was assuming that the arrow would be drawn pointing upwards but it was pointing to the right resulting in the rotated arrows pointing in the wrong direction. The recent refactoring caused a pi/2 rotation to be lost. Rather than adding that back somehwere (to lose it again in the future), we just draw the arrow pointing upwards as it is expected to do with a 0 angle. gtk/gtkcssimagebuiltin.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit da163469f9d344190f69bfc163517154af0e2dab Author: Matthias Clasen Date: Tue Jan 20 08:18:03 2015 -0500 3.15.4 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7efbeddd07ae8df844efff09bba2fd1ef792d58 Author: Matthias Clasen Date: Tue Jan 20 06:46:58 2015 -0500 More updates NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit 22967f1612fc7005ccaad8c06eaf167cfecc843c Author: Benjamin Otte Date: Tue Jan 20 06:25:01 2015 +0100 image: Compute clip properly Use the helper function we have for this, don't do it manually. This has the side effect of also supporting icon transforms. gtk/gtkimage.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit f7433557abd63c8e6d03ba31c14f004a0d62c173 Author: Benjamin Otte Date: Tue Jan 20 05:54:45 2015 +0100 render: Implement -gtk-icon-transform for icon surfaces Yes, I like playing around. To enjoy, add this CSS to your application of choice (preferrably glade or something with lots of images): GtkImage { animation: spin 2s linear infinite; } You can thank me later. gtk/gtkrendericon.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 51 insertions(+), 3 deletions(-) commit 8c745088d5376ba399985dad98d82311218ca548 Author: Benjamin Otte Date: Tue Jan 20 05:21:15 2015 +0100 render: Split icon surface rendering out Just like normal icons, icon surfaces belong into gtkrendericon.c. gtk/gtkrender.c | 48 ++++++++++++---------------------------------- gtk/gtkrendericon.c | 18 +++++++++++++++++ gtk/gtkrendericonprivate.h | 20 ++++++++++++------- 3 files changed, 43 insertions(+), 43 deletions(-) commit f6d64f65915d7bfe091497fdd5cf90e98115a928 Author: Benjamin Otte Date: Tue Jan 20 01:48:46 2015 +0100 render: Split icon rendering into its own file gtk/Makefile.am | 2 ++ gtk/gtkrender.c | 58 +++++------------------------------ gtk/gtkrendericon.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkrendericonprivate.h | 42 +++++++++++++++++++++++++ 4 files changed, 127 insertions(+), 51 deletions(-) commit e697213b35e6fe2bf1bea6b6d51607c1a7241bc1 Author: Benjamin Otte Date: Mon Jan 19 17:41:29 2015 +0100 render: Remove spinner special-cases The spinner is a regular builtin image now. There is no need to go through the shadows code manually anymore as regular items do get shadows automatically. This also allows simplifying the actual spinner drawing code so that it actually works. gtk/gtkcssimagebuiltin.c | 35 +++++++++++++++++++++++++---- gtk/gtkcssshadowsvalue.c | 16 ------------- gtk/gtkcssshadowsvalueprivate.h | 4 ---- gtk/gtkcssshadowvalue.c | 23 ------------------- gtk/gtkcssshadowvalueprivate.h | 4 ---- gtk/gtkrender.c | 50 ----------------------------------------- gtk/gtkrenderprivate.h | 3 --- 7 files changed, 31 insertions(+), 104 deletions(-) commit cc4d34e6884b958505dfd888d9b53b4b39084581 Author: Benjamin Otte Date: Mon Jan 19 17:30:43 2015 +0100 render: Render builtin images as regular CSS images This not only reduces code, but also allows for builtin images to have shadows or be transformed using -gtk-icon-transform. gtk/gtkcssimagebuiltin.c | 6 +++ gtk/gtkrender.c | 97 +++++++++--------------------------------------- 2 files changed, 23 insertions(+), 80 deletions(-) commit 45541cbf10a13716680df52c6a214495fb8243d7 Author: Benjamin Otte Date: Mon Jan 19 17:14:55 2015 +0100 render: Don't require passing CSS properties to builtin images Instead, make the buiultin image get those properties itself in the compute vfunc. gtk/gtkcssimagebuiltin.c | 239 ++++++++++++++++++++-------------------- gtk/gtkcssimagebuiltinprivate.h | 13 ++- gtk/gtkrender.c | 157 +------------------------- 3 files changed, 133 insertions(+), 276 deletions(-) commit 9ce8ce119853635692139a13c3b85602696486ef Author: Benjamin Otte Date: Mon Jan 19 17:09:42 2015 +0100 css: Move icon properties to the end The order in which properties are defined depends on the order in which they are computed. And that means that properties can only depend on other properties that are defined before them. The next patches will need this reordering. gtk/gtkcssstylepropertyimpl.c | 74 +++++++++++++++++++++---------------------- gtk/gtkcsstypesprivate.h | 8 ++--- 2 files changed, 41 insertions(+), 41 deletions(-) commit fe028e27899e818f84bb007a44b83802a97ef071 Author: Benjamin Otte Date: Mon Jan 19 05:44:47 2015 +0100 render: Only render 4 different arrows Instead of supporting every angle, just support top, right, bottom and left and round the angle to one of those directions. Adwaita overrides arrows anyway and doesn't even look at the angle, so this should not be a problem. gtk/gtkcssimagebuiltin.c | 27 +++++++++++++++++++++++++-- gtk/gtkcssimagebuiltinprivate.h | 5 ++++- gtk/gtkrender.c | 30 ++++++++++++++++++++++++++---- 3 files changed, 55 insertions(+), 7 deletions(-) commit 118c8876561f9379f169106a684bc23ec8c605b1 Author: Benjamin Otte Date: Mon Jan 19 04:40:24 2015 +0100 render: Don't pass junction sides to builtin image Instead, split the grip into 8 different builtin images (one for each side and corner). gtk/gtkcssimagebuiltin.c | 66 +++++++++++++++++++---------------------- gtk/gtkcssimagebuiltinprivate.h | 10 +++++-- gtk/gtkrender.c | 38 ++++++++++++++++++------ 3 files changed, 68 insertions(+), 46 deletions(-) commit e6b228f12a30cda36a84b550b49f84555e08fcc7 Author: Benjamin Otte Date: Mon Jan 19 04:27:31 2015 +0100 render: Extend builtin images to account for states We add to the enum to account for the images generated for different states. gtk/gtkcssimagebuiltin.c | 84 +++++++++++++++++++++++++++++++---------- gtk/gtkcssimagebuiltinprivate.h | 15 ++++++-- gtk/gtkrender.c | 60 +++++++++++++++++++++++------ 3 files changed, 126 insertions(+), 33 deletions(-) commit 1c3dd5d46bd2e33bc7bf43b28d9c57c69a1199dd Author: Benjamin Otte Date: Sun Jan 18 20:24:27 2015 +0100 render: Move code for rendering builtin images Also, make it have a generic entry point with gtk_css_image_builtin_draw(). The only feature lost so is the drawing of shadows for spinners, but that will come back later. gtk/gtkcssimagebuiltin.c | 794 +++++++++++++++++++++++++++++++++++++- gtk/gtkcssimagebuiltinprivate.h | 25 ++ gtk/gtkrender.c | 818 ++++++++-------------------------------- 3 files changed, 976 insertions(+), 661 deletions(-) commit ebb64c2288aff6bd70d349771cc564d36b2f27b0 Author: Benjamin Otte Date: Sun Jan 18 00:17:57 2015 +0100 inspector: Remove unused hash table gtk/inspector/style-prop-list.c | 4 ---- 1 file changed, 4 deletions(-) commit 7ba7dff69e5d6902845f91119c90658420a54c0a Author: Benjamin Otte Date: Sun Jan 18 00:14:08 2015 +0100 inspector: Remove unused treemodel properties As a side effect, we can use _gtk_css_section_to_string() to format the section and save a lot of code. gtk/inspector/style-prop-list.c | 51 +++-------------------------------------- 1 file changed, 3 insertions(+), 48 deletions(-) commit 4ba710ea3091f9e3603c4fc77dc4c14c083021b6 Author: Benjamin Otte Date: Sat Jan 17 18:55:34 2015 +0100 inspector: Use GtkCssStyle and gtk_css_value_to_string() gtk/inspector/style-prop-list.c | 81 +++++------------------------------------ 1 file changed, 9 insertions(+), 72 deletions(-) commit 8b6d419e02085fa19e73236a0bef363240b7c803 Author: Benjamin Otte Date: Sat Jan 17 18:15:19 2015 +0100 render: Move border rendering into its own file gtkrenderborder.c now contains the implementation for gtk_css_style_render_border gtk_css_style_render_outline gtk/gtkrender.c | 473 ++---------------------------------------- gtk/gtkrenderborder.c | 482 ++++++++++++++++++++++++++++++++++++++++++- gtk/gtkrenderborderprivate.h | 34 ++- 3 files changed, 505 insertions(+), 484 deletions(-) commit 5ec97f61446868048037dcb8b07310a57956c2cc Author: Benjamin Otte Date: Sat Jan 17 18:09:52 2015 +0100 render: Remove unused header gtk/gtkrender.c | 1 - 1 file changed, 1 deletion(-) commit 717877dff2c53804e26b688275a1ca284bbf7306 Author: Benjamin Otte Date: Sat Jan 17 18:00:03 2015 +0100 render: Rename gtkborderimage.[ch] I want the gtkrender prefix for all filenames about rendering. gtk/Makefile.am | 4 ++-- gtk/deprecated/gtkstyleproperties.c | 1 - gtk/gtkrender.c | 2 +- gtk/{gtkborderimage.c => gtkrenderborder.c} | 5 +++-- gtk/{gtkborderimageprivate.h => gtkrenderborderprivate.h} | 6 +++--- 5 files changed, 9 insertions(+), 9 deletions(-) commit cb0ca9a804554d8bf90c88e80802210edbcd6245 Author: Benjamin Otte Date: Sat Jan 17 17:07:01 2015 +0100 render: Use a GtkCssStyle instead of GtkStyleContext for focus gtk/gtkrender.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit 5cc0cae4b7a837ecc8cc3114d4851fba9a3e968d Author: Benjamin Otte Date: Sat Jan 17 16:55:45 2015 +0100 render: Rename gtkthemingbackground.[ch] I want the gtkrender prefix for all filenames about rendering. gtk/Makefile.am | 4 ++-- gtk/gtkrender.c | 2 +- gtk/{gtkthemingbackground.c => gtkrenderbackground.c} | 2 +- gtk/{gtkthemingbackgroundprivate.h => gtkrenderbackgroundprivate.h} | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit d25b4105d61243dc5943dc5c6d649b123d81b86f Author: Benjamin Otte Date: Sat Jan 17 05:54:36 2015 +0100 render: Take a GtkCssStyle for rendering frames ... and move the whole function into gtkthemingbackground.c gtk/gtkrender.c | 192 ++++++++++++++++++-------------------- gtk/gtkthemingbackground.c | 14 +-- gtk/gtkthemingbackgroundprivate.h | 17 ++-- 3 files changed, 107 insertions(+), 116 deletions(-) commit d0a12d477e965958c3943a565485ad25789136e4 Author: Benjamin Otte Date: Sat Jan 17 05:27:23 2015 +0100 borderimage: Use a GtkCssStyle instead of GtkStyleContext gtk/gtkborderimage.c | 14 +++++++------- gtk/gtkborderimageprivate.h | 2 +- gtk/gtkrender.c | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) commit dd2202288aae0e8d45b941d5839b45ae309fe0fd Author: Benjamin Otte Date: Sat Jan 17 05:23:00 2015 +0100 themingbackground: Use a GtkCssStyle instead of GtkStyleContext gtk/gtkrender.c | 4 +-- gtk/gtkthemingbackground.c | 68 +++++++++++++++++++-------------------- gtk/gtkthemingbackgroundprivate.h | 2 +- 3 files changed, 37 insertions(+), 37 deletions(-) commit 8d94140da9a20499b43ddfac375b325efb9de12f Author: Benjamin Otte Date: Sat Jan 17 05:16:01 2015 +0100 roundedbox: Take a GtkCssStyle instead of a GtkStyleContext This is in preparation for iusing GtkCssStyle instead of GtkStyleContext in render functions. gtk/gtkrender.c | 6 +++--- gtk/gtkroundedbox.c | 28 ++++++++++++++-------------- gtk/gtkroundedboxprivate.h | 10 +++++----- gtk/gtkthemingbackground.c | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) commit 73b3b9ee9408e9d645cb443852a5d93e4485b0d9 Author: Benjamin Otte Date: Sat Jan 17 02:38:43 2015 +0100 stylecontext: Rename function and export it. The name now better reflects what it does, since GtkCssComputedValues was renamed to GtkCssStyle, too. gtk/gtkstylecontext.c | 29 ++++++++++++++--------------- gtk/gtkstylecontextprivate.h | 1 + 2 files changed, 15 insertions(+), 15 deletions(-) commit f313a8235bfeaea63bc657d33a5035ebbcc6f318 Author: Benjamin Otte Date: Tue Jan 20 01:15:04 2015 +0100 reftests: Fix border-style-none reftest Unset all CSS; Adwaita was messing up things. testsuite/reftests/border-style-none.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8c534fefca02044eda8970cf7fd30cefe9d09749 Author: Benjamin Otte Date: Tue Jan 20 01:02:59 2015 +0100 dnd: Draw dnd icon with regular code Overriding the window background is ugly because the window background is owned by GTK and can be reset at any time. https://bugzilla.gnome.org/show_bug.cgi?id=742646 gtk/gtkdnd.c | 121 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 64 insertions(+), 57 deletions(-) commit dbb8d1dd07a91171ba4a32119713c05e0483de91 Author: Benjamin Otte Date: Tue Jan 20 00:33:34 2015 +0100 stylecontext: Keep track of the CSS ID This is necessary since we do the new caching and need to distinguish between styles with different IDs. Fixes various test cases. gtk/gtkcssnodedeclaration.c | 27 +++++++++++++++++++++++++++ gtk/gtkcssnodedeclarationprivate.h | 3 +++ gtk/gtkstylecontext.c | 36 ++++++++++++++++++++++++++++++++++++ gtk/gtkstylecontextprivate.h | 4 ++++ gtk/gtkwidget.c | 4 +++- 5 files changed, 73 insertions(+), 1 deletion(-) commit 39d6ec167eaf87b2f94a49cee7702aaf458ee46b Author: Aurimas Černius Date: Mon Jan 19 23:00:55 2015 +0200 Updated Lithuanian translation po/lt.po | 2294 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1444 insertions(+), 850 deletions(-) commit c1a013fe4a7de85d4f7f503b978d623d5c854094 Author: Daniel Mustieles Date: Mon Jan 19 18:26:58 2015 +0100 Updated Spanish translation po-properties/es.po | 393 ++++++++++++++++++++++++++-------------------------- 1 file changed, 200 insertions(+), 193 deletions(-) commit 07e9385bab1ce3c8bd7deece332bf33a23fbd1b0 Author: Daniel Mustieles Date: Mon Jan 19 18:26:39 2015 +0100 Updated Spanish translation po/es.po | 184 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 94 insertions(+), 90 deletions(-) commit 63bc3542ce5cf5f9e711c8f4caad8a1ee1cf0cb0 Author: Matthias Clasen Date: Mon Jan 19 11:57:10 2015 -0500 path bar: Don't segfault if we get disposed quickly The file chooser code now calls into the path bar in init, starting an async operation. This unveiled that the path bar code was not safe against being disposed early, by causing a crahsh of the objects-finalize test. Fix this by making the callback check for CANCELLED. gtk/gtkpathbar.c | 4 ++++ 1 file changed, 4 insertions(+) commit cb63fe042eec9dd46139fcd3a5e26da1849e20cd Author: Matthias Clasen Date: Mon Jan 19 11:02:36 2015 -0500 Updates for 3.15.4 NEWS | 107 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) commit 00e08a0159c401327e2972f2f79db62135a501ab Author: Matthias Clasen Date: Mon Jan 19 09:29:17 2015 -0500 places sidebar: Drop the top margin This looks odd in combination with the top underflow. gtk/gtkplacessidebar.c | 1 - 1 file changed, 1 deletion(-) commit 121fddc4d25934e14a731175ab356f73be4c26c2 Author: Carlos Garnacho Date: Tue Nov 18 14:25:51 2014 +0100 x11: Fetch vendor/product identifiers for input devices These are retrieved from XInput device properties. https://bugzilla.gnome.org/show_bug.cgi?id=740758 gdk/x11/gdkdevicemanager-xi2.c | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 5e53676b469d747b40763770828681c6970863ce Author: Carlos Garnacho Date: Tue Nov 18 14:24:52 2014 +0100 device: Add property/getters for vendor/product identifiers These are a construct only properties, expected to be filled in from platform specific code. https://bugzilla.gnome.org/show_bug.cgi?id=740758 docs/reference/gdk/gdk3-sections.txt | 2 + gdk/gdkdevice.c | 114 ++++++++++++++++++++++++++++++++++- gdk/gdkdevice.h | 5 ++ gdk/gdkdeviceprivate.h | 3 + 4 files changed, 123 insertions(+), 1 deletion(-) commit 531fa7860135cd339475d5411dd8630313990e91 Author: Matthias Clasen Date: Mon Jan 19 07:32:31 2015 -0500 gtk-demo: Make editable cells demo more robust When removing all rows, trying to add rows would not work and throw criticals. This is fallout from a recent change to insert rows at the right position. Fix this by handling the 'empty model' case separately. https://bugzilla.gnome.org/show_bug.cgi?id=743157 demos/gtk-demo/editable_cells.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit dc952e3d949644b101ab819eca0502a3661e897e Author: Carlos Garnacho Date: Fri Jan 16 13:18:09 2015 +0100 scrolledwindow: Don't displace invalidation by the widget allocation This was left unmodified when GtkScrolledWindow was made a windowed widget. Displacing here by the widget allocation is not necessary anymore, since we are invalidating the window set at these coordinates. This patch is a simplification of a previous one by Timm Bäder. https://bugzilla.gnome.org/show_bug.cgi?id=742243 gtk/gtkscrolledwindow.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit cbabb2e6ff9276991529a5144e84c6a428eef173 Author: Benjamin Otte Date: Mon Jan 19 02:18:59 2015 +0100 stylecontext: Fix FALSE/TRUE mixup Introduced in e649c8773f0357df19f4e28aabf40a203a39c409. It's obviously the root node right there. gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e1f87068045f5ff2c0191fcc3c5c22ed3f1f30d Author: Matthias Clasen Date: Sun Jan 18 20:01:55 2015 -0500 scrolled window: Reduce the hover proximity distance further gtk/gtkscrolledwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 82e324f8ac91fbae6d7f30dd2df6724662fb4c27 Author: Matthias Clasen Date: Sun Jan 18 19:42:58 2015 -0500 file chooser: Fix up some focus issues Better to switch the visible stack child early, since GtkStack has its own focus handling now. gtk/gtkfilechooserwidget.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) commit 931a479da9abc37424a2b4757117ebd766e2e3c7 Author: Lars Uebernickel Date: Mon Jan 12 09:04:11 2015 +0100 gtkimagemenuitem: create widget for action icons lazily GtkImageMenuItem always packs a GtkImage when it is synced with a related action. This is unnecessary when the action doesn't have an icon set and results in excess padding when a GtkImageMenuItem is put in a menu bar (GtkUIManager does this). Fix this by not creating the GtkImage for icon-less actions. https://bugzilla.gnome.org/show_bug.cgi?id=742181 gtk/deprecated/gtkimagemenuitem.c | 67 +++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 35 deletions(-) commit 858c80f33e335b45c4c7177e63a981123bd7bd17 Author: Benjamin Otte Date: Sat Jan 17 05:11:40 2015 +0100 render: Replace gtk_style_context_get_border/padding() Use _gtk_style_context_peek_property() instead. gtk/gtkrender.c | 17 ++++++++++++----- gtk/gtkthemingbackground.c | 12 +++++++++--- 2 files changed, 21 insertions(+), 8 deletions(-) commit 8b11e93a2dbe33c16810749ace5379d200fdc471 Author: Benjamin Otte Date: Sat Jan 17 04:58:24 2015 +0100 render: Get rid of gtk_style_context_get_color() Use _gtk_style_context_peek_property() instead. gtk/gtkrender.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) commit 4bffb6aff5c277cb2868df0b62ea412f8f786fc1 Author: Benjamin Otte Date: Sun Jan 18 01:05:12 2015 +0100 Adwaita: Make :active button gradient have 3 stops Just add a 3rd stop in the place where the gradients for the other states have a 3rd stop. When running transitions between states, this avoids cross-fades and instead uses the much faster gradient transitioning code. gtk/theme/Adwaita/_drawing.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 231 ++++++++++--------------------- gtk/theme/Adwaita/gtk-contained.css | 231 ++++++++++--------------------- 3 files changed, 149 insertions(+), 314 deletions(-) commit 0fef59b48643f0de4cb919ba582bbcf97d3891f1 Author: Benjamin Otte Date: Sun Jan 18 22:24:35 2015 +0100 stylecontext: Be more graceful when save() isn't matched with restore() Instead of asserting, just print a g_warning() and try to work around the problem. I hope that g_warning() isn't too spammy for people that are hit with it. Also clarify the docs that not restore()ing after a save() is a bad idea. https://bugzilla.gnome.org/show_bug.cgi?id=743101 gtk/gtkstylecontext.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) commit e649c8773f0357df19f4e28aabf40a203a39c409 Author: Benjamin Otte Date: Mon Jan 19 01:07:49 2015 +0100 stylecontext: Explicitly specify root node When creating the query path, explicitly specify if it's for a root node or for a child. Relying on gtk_style_context_is_saved() is unreliable (for example when updating the cache). gtk/gtkstylecontext.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) commit 1a38c4d066951c9b339e1d26423858cd03181156 Author: Matthias Clasen Date: Sun Jan 18 18:59:43 2015 -0500 file chooser: Make search work again The last round of filechooser redesign work had left search somewhat dysfunctional. This commit fixes things up enough that search is once again a working feature of the file chooser. gtk/gtkfilechooserwidget.c | 70 +++++++++------------ gtk/ui/gtkfilechooserwidget.ui | 127 ++++++++++++++++++++++++++++++++------- gtk/ui/gtkfilechooserwidget.ui.h | 5 +- 3 files changed, 136 insertions(+), 66 deletions(-) commit dcd3d1538021c15c788b4d639b3dc671495e63ae Author: Matthias Clasen Date: Sun Jan 18 17:56:07 2015 -0500 file chooser: Drop the location label Bringing us close to the new design. gtk/gtkfilechooserwidget.c | 6 +++--- gtk/ui/gtkfilechooserwidget.ui | 13 ------------- gtk/ui/gtkfilechooserwidget.ui.h | 1 - 3 files changed, 3 insertions(+), 17 deletions(-) commit 4b47c5a64999d5d24abe1e516324b4c95c35f6f0 Author: Matthias Clasen Date: Sun Jan 18 17:39:05 2015 -0500 file chooser: Don't show 'Enter Location' in save modes In these modes, the entry is permanently visible anyway. gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit a8cb7352c5f6fa046d5ed434756c144faf62562a Author: Matthias Clasen Date: Sun Jan 18 17:21:14 2015 -0500 file chooser: Make Ctrl-L work in recent Just switch to browse mode when we see Ctrl-L in recent mode. https://bugzilla.gnome.org/show_bug.cgi?id=660450 gtk/gtkfilechooserwidget.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 8133e7e624f63afb3a99de67590d874b6b57ba65 Author: Matthias Clasen Date: Sun Jan 18 17:13:12 2015 -0500 file chooser: Ensure the path bar is initialized There are some cases where we can end up showing the path bar without ever setting a file on it. One example is: 1) Open file chooser 2) Hit ~ 3) Hit Ctrl-L While this is a bit of a workaround, at least it makes sure that we never end up with an empty space where the path bar is supposed to be. gtk/gtkfilechooserwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit 6a7b549608ad0c6e294368996de165a1ccc2d979 Author: Matthias Clasen Date: Sun Jan 18 16:57:21 2015 -0500 trivial refactoring gtk/gtkfilechooserwidget.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit dfe6399de82a6d93beed5e63e96e4f26fd5bc644 Author: Matthias Clasen Date: Sun Jan 18 16:18:12 2015 -0500 file chooser: Make ~ and / work in recent Complained about in https://bugzilla.gnome.org/show_bug.cgi?id=743117 gtk/gtkfilechooserwidget.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) commit 47e5e1c72d2922f6ce5dc5bd98da17c5c83a4a4b Author: Matthias Clasen Date: Sun Jan 18 15:26:49 2015 -0500 Fix a typo in the docs https://bugzilla.gnome.org/show_bug.cgi?id=743037 gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9c1063f602a3f7a2f67fd64369dbad1c7b2cd658 Author: Matthias Clasen Date: Sun Jan 18 15:24:30 2015 -0500 broadway: Only use abstract sockets when they are supported GIO has a function to check whether abstract sockets are supported, so use it. This should make broadway work on Freebsd again. https://bugzilla.gnome.org/show_bug.cgi?id=742980 gdk/broadway/broadwayd.c | 7 ++++--- gdk/broadway/gdkbroadway-server.c | 7 ++++--- 2 files changed, 8 insertions(+), 6 deletions(-) commit 811d602842ac48e3435a5ba92824a4f3c35551a0 Author: Matthias Clasen Date: Sun Jan 18 15:15:37 2015 -0500 Make Broadway work on freebsd It seems that posix_fallocate gives an ENODEV error when called on an fd opened with shm_open on freebsd. Fix up the error check to only trigger if we get ENOSPC. https://bugzilla.gnome.org/show_bug.cgi?id=742980 gdk/broadway/gdkbroadway-server.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9fde44ac10eb164d7d18b5b9838f902ad5af4d20 Author: Matthias Clasen Date: Sun Jan 18 14:28:47 2015 -0500 Fine-tune the proximity hovering for scrollbars Reduce the distance at which we expand the scrollbar, and add some hysteresis. gtk/gtkscrolledwindow.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit ff2390f550dd31ca0311775426d6759e80811515 Author: Dimitris Spingos Date: Sun Jan 18 22:21:29 2015 +0200 Updated Greek translation po-properties/el.po | 1628 ++++++++++++++++++++++++++------------------------- po/el.po | 932 +++++++++++++++-------------- 2 files changed, 1324 insertions(+), 1236 deletions(-) commit cf277fabb5bb28f0a31b281f068250603c3900d6 Author: Matthias Clasen Date: Sun Jan 18 12:40:32 2015 -0500 Remove some outdated references We shouldn't recommend gtk_widget_modify_bg() or gtk_style_set_background() anymore. gdk/gdkwindow.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 500bd6087356494a64906f2e3164653b2580f35c Author: Christoph Reiter Date: Wed Dec 10 09:36:53 2014 +0100 Adjust gtk_status_icon_position_menu() annotation to match GtkMenuPositionFunc again https://bugzilla.gnome.org/show_bug.cgi?id=674537 https://bugzilla.gnome.org/show_bug.cgi?id=742940 gtk/deprecated/gtkstatusicon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6113504495fb68146fca644de975650e46e818a4 Author: Maks Naumov Date: Sun Jan 11 14:54:27 2015 -0800 Fix event->button.y_root when using mouse buttons and dnd canceled Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742785 gdk/wayland/gdkdnd-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f51d8948fe0aef65e266ed06a6dc58807c43123 Author: Maks Naumov Date: Sun Jan 11 15:20:48 2015 -0800 Fix save_hot_y init in gtk_drag_get_icon() Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742786 gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1b03f089382cda13802bbcb9a8ef2e7e2b1a18d5 Author: Inaki Larranaga Murgoitio Date: Sat Jan 17 17:25:30 2015 +0100 Updated Basque language po/eu.po | 209 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 106 insertions(+), 103 deletions(-) commit 48865fb9d90cba5cf44fb05fea546ca50df4ae3c Author: Matthias Clasen Date: Sat Jan 17 01:03:10 2015 -0500 Prefer the Wayland backend This does not affect X11 sessions, but has the advantage that we get much more testing of the Wayland backend in Wayland sessions. gdk/gdkdisplaymanager.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ad8d30ad8648de8532ed0f347fe74185817cd895 Author: Benjamin Otte Date: Sat Jan 17 02:37:36 2015 +0100 inspector: Remove a bunch of unused variables gtk/inspector/visual.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d0ed29d58d53fb0ad18c688f6a8df5664513729e Author: Benjamin Otte Date: Mon Jan 12 03:57:08 2015 +0100 stylecontext: Remove a bunch of return_if_fail()s They're gonna be in the way when refactoring and we can live without them. gtk/gtkstylecontext.c | 14 -------------- 1 file changed, 14 deletions(-) commit 63f7a36ae0ccd3b9d5ed96defce76de75671b6ec Author: Benjamin Otte Date: Tue Jan 13 13:45:42 2015 +0100 stylecontext: Do not transition from the default style This gets rid of a bunch of awkward transitions. It's not a perfect solution to the problem of "should we transition from this state" but it gets rid of the ugliest offenders. gtk/gtkstylecontext.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 03d4e270c294c2224cf05048caba99e744289bf1 Author: Lapo Calamandrei Date: Fri Jan 16 18:32:16 2015 +0100 Adwaita: scrollbar style refactoring... ...making overlay indicator slider visible on any backgroung in the process. gtk/theme/Adwaita/_common.scss | 101 ++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 268 ++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 268 ++++++++++++++++++++----------- 3 files changed, 410 insertions(+), 227 deletions(-) commit de3e0f14537c9b2ceb0243cfdd378817d3bd192e Author: Marek Černocký Date: Wed Jan 14 22:50:26 2015 +0100 Updated Czech translation po/cs.po | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit b8e87d47626afd7d6271425a5772f2ee774d1b78 Author: Carlos Garnacho Date: Wed Jan 14 16:59:36 2015 +0100 widget: Free the controller list on finalize() If this is done on dispose(), the widget may be destroyed (and its controllers list NULLified) within _gtk_widget_run_controllers(), causing warnings/crashes when it just tried to hop on the next controllers. Freeing the controllers here should be a safety net for implementations, so it also makes sense to do this late. The widgets that choose to free their controllers on dispose can still do so, and get _gtk_widget_remove_controller() called for these as an indirect result. gtk/gtkwidget.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 594de00cad7c5e588bc3f44d1cbfce583408b0b1 Author: Carlos Garnacho Date: Wed Jan 14 16:41:54 2015 +0100 listbox: Free the multipress gesture on finalize gtk/gtklistbox.c | 1 + 1 file changed, 1 insertion(+) commit 93d343d339ebdf93bc645ef4ca1d7eae1d966c25 Author: Sveinn í Felli Date: Tue Jan 13 13:44:08 2015 +0000 Updated Icelandic translation po/is.po | 7658 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 4512 insertions(+), 3146 deletions(-) commit 7daa2a1ebafc61d3e5aeac1da467c9de59750ace Author: Carlos Garnacho Date: Wed Jan 14 16:03:10 2015 +0100 event-controller: Chain up on dispose gtk/gtkeventcontroller.c | 2 ++ 1 file changed, 2 insertions(+) commit 711fea11b5fa53c6ba3edf4ae5284d4bea049ca0 Author: Stas Solovey Date: Wed Jan 14 12:05:57 2015 +0000 Updated Russian translation po/ru.po | 700 ++++++++++++++++++++++++--------------------------------------- 1 file changed, 265 insertions(+), 435 deletions(-) commit f26986a50aaa1eeaa53f6db80ceac33a1156e7b2 Author: Nelson Benítez León Date: Sun Jan 11 01:11:14 2015 +0500 gtkplacessidebar: insert bookmark by dnd in correct position Add needed COLUMN INDEX to "new bookmark" row based on previous bookmark index plus one. Fixes bug 742727 gtk/gtkplacessidebar.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 54806d129514b4aabfbf1b8c290b7f097e5c39b1 Author: Maks Naumov Date: Sun Jan 11 13:34:38 2015 -0800 Fix accessible_class->widget_set initialization Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742778 gtk/a11y/gtkcontainercellaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d85e265713c514683713cd85045b351a325dde5 Author: Fran Dieguez Date: Mon Jan 12 22:53:18 2015 +0100 Updated Galician translations po/gl.po | 1526 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 944 insertions(+), 582 deletions(-) commit 7314826de25268a381f628506383e9864056d339 Author: Daniel Mustieles Date: Mon Jan 12 12:20:26 2015 +0100 Updated Spanish translation po/es.po | 230 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 123 insertions(+), 107 deletions(-) commit 87d36885ac713badc5187f1d26044dbba9e13309 Author: Maks Naumov Date: Sun Jan 11 11:27:37 2015 -0800 Properly check result of g_utf8_get_char_validated() g_utf8_get_char_validated() may return -1 or -2 return type is gunichar(guint32) Therefore such checks like 'gunichar < 0' or 'gunichar > 0' are always 'false' or 'true'(except when gunichar == 0). Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742774 gtk/gtkbuilder.c | 2 +- modules/input/gtkimcontextthai.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 07cf489d2df1fd8e71bfbf8a027876490e6858c6 Author: Maks Naumov Date: Sun Jan 11 07:01:40 2015 -0800 Fix check for 'y' padding in gtk_cell_renderer_set_padding() Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742764 gtk/gtkcellrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a29c831f3c44cecc992e620180f43d91ed93b913 Author: Matthias Clasen Date: Sun Jan 11 15:14:55 2015 -0500 Remove an unused define configure.ac | 5 ----- 1 file changed, 5 deletions(-) commit 430ea2fff639f31b868e025002a32ba473c7bd07 Author: Maks Naumov Date: Sun Jan 11 10:34:56 2015 -0800 Properly ignore BadWindow and BadDrawable in get_child_info_handler() Signed-off-by: Maks Naumov https://bugzilla.gnome.org/show_bug.cgi?id=742771 gdk/x11/gdkasync.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f120ae7b4d418662f0aa9307c081abc261402311 Author: Matthias Clasen Date: Sat Jan 10 21:16:21 2015 -0500 Forgotten file gtk/theme/HighContrast/_common.scss | 5 ----- 1 file changed, 5 deletions(-) commit 838e982877798fdeb417f23caf3f278a78a092e5 Author: Matthias Clasen Date: Sat Jan 10 21:14:56 2015 -0500 HighContrast: Don't set nonexisting style properties These don't exist, so setting them can't do any good. gtk/theme/HighContrast/gtk.css | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit e15152c837b9d328f4d0a43cb591dcb2bb52aed3 Author: Matthias Clasen Date: Sat Jan 10 21:14:02 2015 -0500 Adwaita: Don't set nonexisting style properties These don't exist, so setting them can't do any good. gtk/theme/Adwaita/_common.scss | 4 ---- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++------ gtk/theme/Adwaita/gtk-contained.css | 8 ++------ 3 files changed, 4 insertions(+), 16 deletions(-) commit 604704a3f0a14c2c83a49e84280e2ec9ab7cc14b Author: Matthias Clasen Date: Sat Jan 10 21:12:08 2015 -0500 HighContrast: Also fix separators in file chooser buttons Same fix as for combo box separators. gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 6 +----- 2 files changed, 3 insertions(+), 7 deletions(-) commit 88567295f6825e6eff8fe27db810d10209043082 Author: Matthias Clasen Date: Sat Jan 10 21:09:30 2015 -0500 Adwaita: Also fix separators in file chooser buttons Same fix as for combo box separators. gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +----- gtk/theme/Adwaita/gtk-contained.css | 6 +----- 3 files changed, 4 insertions(+), 12 deletions(-) commit 8c5094c22c280f0f27d33afc52bbb5a25e17f023 Author: Iain Lane Date: Fri Jan 9 15:31:08 2015 +0000 gtkfilechooserwidget: When using an extra widget, show or hide the filter combo as appropriate https://bugzilla.gnome.org/show_bug.cgi?id=742653 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 0b50e1fff6b90fda45bd79f6acf6f3634cda42f8 Author: Matthias Clasen Date: Sat Jan 10 20:28:45 2015 -0500 HighContrast: draw combo box separators Same fix as the previous commit. gtk/theme/HighContrast/_common.scss | 2 +- gtk/theme/HighContrast/gtk.css | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) commit 9c4d478dc77ae8f390c94b26b5148d8bb1c4472e Author: Matthias Clasen Date: Sat Jan 10 20:25:56 2015 -0500 Adwaita: draw combo box separators Killing the separator in the button had the unintended side effect of also killing separators in the popup. https://bugzilla.gnome.org/show_bug.cgi?id=742704 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +--- gtk/theme/Adwaita/gtk-contained.css | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) commit 35a8d3d7706defaf2fb445c201d59960eff0fba9 Author: Matthias Clasen Date: Sat Jan 10 20:14:24 2015 -0500 widget-factory: Add a combo box separator example This shows that combo box separators are currently broken in Adwaita. demos/widget-factory/widget-factory.c | 39 +++++++++++++++++++++++++++++----- demos/widget-factory/widget-factory.ui | 4 +++- 2 files changed, 37 insertions(+), 6 deletions(-) commit 885b36a6d53d8a7ca4f594f27416fd4104b77082 Author: Nelson Benitez Leon Date: Tue Oct 22 12:24:55 2013 +0200 GtkTextView: allow to extend text selection with mouse scrollwheel Fixes bug 710612 gtk/gtktextview.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 5d9710cc7f8e64bae14887e76889c7e39ffc4569 Author: Matthias Clasen Date: Sat Jan 10 14:27:52 2015 -0500 file chooser: Add some padidng https://bugzilla.gnome.org/show_bug.cgi?id=742631 gtk/ui/gtkfilechooserwidget.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b0e42733256f5f7c3a13bdf455bd446260f044f7 Author: Matthias Clasen Date: Sat Jan 10 14:35:45 2015 -0500 Forgotten files gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 2 files changed, 4 insertions(+) commit 366527c2d0ec76bfc6cd0f8255cb4c8b36303882 Author: Matthias Clasen Date: Sat Jan 10 13:04:10 2015 -0500 Adwaita: Fix treeview separators in backdrop https://bugzilla.gnome.org/show_bug.cgi?id=742702 gtk/theme/Adwaita/_common.scss | 4 ++++ 1 file changed, 4 insertions(+) commit cec5815a0de9ba60417ed6611e9addcc3e85e9a2 Author: Benjamin Otte Date: Sat Jan 10 13:58:39 2015 +0100 stylecontext: Stop animations on manual invalidation If a gtk_style_context_invalidate() is called on a widget's style context (which nobody should ever do, sheesh!) and we're animating, stop the animations. Fixes crashers in Nautilus. gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+) commit 9fcbae2d857ed35483700be13d62a3590c719ee8 Author: Matthias Clasen Date: Fri Jan 9 21:13:10 2015 -0500 GtkScrolledWindow: Don't start fading right away When we get a leave event, we need to remove the over bit, since we may not get motion events that tell us when we lose proximity, but we don't have to fade out right away - that will happen on its on due to inactivity a bit later. Having the indicator stay visible for a bit feels more relaxed. gtk/gtkscrolledwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 206f0bbf7f259868cd434733fd258810fad12281 Author: Matthias Clasen Date: Fri Jan 9 21:12:00 2015 -0500 GtkScrolledWindow: Factor out a constant Define INDICATOR_CLOSE_DISTANCE instead of hardcoding the same number of pixels in 4 different places. gtk/gtkscrolledwindow.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 11eb64a2b69f02d916d0448065a5108ad106f30c Author: Matthias Clasen Date: Fri Jan 9 21:09:22 2015 -0500 GtkScrolledWindow: Don't require proximity for track points These are hard to navigate precisely, so show wide scrollbars right away. gtk/gtkscrolledwindow.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 2a3a7306ef1d6be2a1bc167551fc726ee9fb1329 Author: Matthias Clasen Date: Fri Jan 9 20:52:03 2015 -0500 GtkScrolledWindow: Drop device manager complications We no longer use the presence or absence of particular device types to determine which scrolling to use. gtk/gtkscrolledwindow.c | 86 ++----------------------------------------------- 1 file changed, 3 insertions(+), 83 deletions(-) commit 96fcdebefb4360053b3e6a94f36cc9bf3c579815 Author: Matthias Clasen Date: Fri Jan 9 20:33:39 2015 -0500 GtkScrolledWindow: Drop a redundant field The Indicator.enabled field was not carrying any extra information, so just use priv->use_indicators instead. gtk/gtkscrolledwindow.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) commit 1c6eca04db851c51514bb0d2a72363d1218cb8b1 Author: Matthias Clasen Date: Fri Jan 9 20:26:07 2015 -0500 GtkScrolledWindow: Rename a private field touch_mode -> use_indicators, more to the point. gtk/gtkscrolledwindow.c | 170 +++++++++++++++++++++++++----------------------- 1 file changed, 87 insertions(+), 83 deletions(-) commit a834078804de592a9d77974b85ddfde03a86a94b Author: Emmanuele Bassi Date: Sat Jan 10 00:07:51 2015 +0000 x11/gl: Do not specify the GLX context version If we use GDK_GL_PROFILE_3_2_CORE we are asking for a core profile according to the GLX_ARB_create_context_profile extension. For that, we pass the GLX_CONTEXT_CORE_PROFILE_BIT_ARB value for the GLX_CONTEXT_PROFILE_MASK_ARB attribute. The specification for the extension says that: If the requested OpenGL version is less than 3.2, GLX_CONTEXT_PROFILE_MASK_ARB is ignored and the functionality of the context is determined solely by the requested version. Since we're asking for a core profile, we assume a GL version greater than or equal to 3.2; thus, we don't need to specify the GLX_CONTEXT_MAJOR_VERSION_ARB or the GLX_CONTEXT_MINOR_VERSION_ARB attributes, and instead just rely on whatever version GLX gives us. This seems to work around a strange issue in Mesa; if we ask for a core profile and any version > 3.0, we get broken rendering on any shared context we create. gdk/x11/gdkglcontext-x11.c | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) commit 6384167054307ce7af249e40e47973d4761d97ab Author: Matthias Clasen Date: Fri Jan 9 15:28:53 2015 -0500 inspector: Don't use GSettings directly It is not necessary here, and using GtkSettings gives us a greater chance to not fail e.g. on Windows. https://bugzilla.gnome.org/show_bug.cgi?id=742664 gtk/inspector/visual.c | 101 ++++++++++-------------------------------------- gtk/inspector/visual.ui | 3 -- 2 files changed, 21 insertions(+), 83 deletions(-) commit c2ff89bbe3beaf101dc9713acff3edafc1b0b705 Author: Matthias Clasen Date: Fri Jan 9 14:44:26 2015 -0500 inspector: be careful about gsize vs guint64 Since gsize doesn't work as a typename in a ui file, we have to be careful not to pass pointers to wrongly sized variables when getting the guint64 values out of the model. https://bugzilla.gnome.org/show_bug.cgi?id=742664 gtk/inspector/resource-list.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit 9a38fb79e5b56c0c43e77bb4c15e2586f48c7957 Author: Emmanuele Bassi Date: Fri Jan 9 16:42:55 2015 +0000 docs: Add missing quote The missing " breaks the syntax highlighting of the GtkImageMenuItem example. gtk/deprecated/gtkimagemenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a7638d5ecbcd08783320cb76653fbfe50bf5cd02 Author: David King Date: Fri Jan 9 14:37:17 2015 +0000 docs: Add Since for GtkCellRendererPixbuf:surface gtk/gtkcellrendererpixbuf.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9a50203408c0b4d3992622d457721038e9459cb7 Author: David King Date: Tue Apr 8 16:42:36 2014 +0100 docs: Fix some old live.gnome.org URLs HACKING | 2 +- README.win32 | 2 +- build/win32/vs10/README.txt | 2 +- build/win32/vs9/README.txt | 2 +- docs/reference/gtk/building.sgml | 2 +- docs/reference/gtk/osx.sgml | 2 +- docs/reference/gtk/windows.sgml | 2 +- gtk/gtkmenutracker.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) commit 4adb3f4033818d2d3c7cf0a66507e2eda87c12fb Author: Piotr Drąg Date: Fri Jan 9 14:16:03 2015 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 885b3c704f812c3a1c706f81fc84da4130ea59ff Author: Matthias Clasen Date: Fri Jan 9 06:45:51 2015 -0500 Fix GTK_OVERLAY_SCROLLING=0 This was broken by the recent more dynamic approach. gtk/gtkscrolledwindow.c | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit d5afaa07d3a996f4f3d8229a2eac4b27f0b5b44e Author: Matthias Clasen Date: Fri Jan 9 06:21:37 2015 -0500 Fix comment typo gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 80969e34bc9078255e803d630f434f48b0ade3ae Author: Matthias Clasen Date: Fri Jan 9 00:07:01 2015 -0500 inspector: Show object address This is useful information when running the application in a debugger. https://bugzilla.gnome.org/show_bug.cgi?id=742518 gtk/inspector/misc-info.c | 10 ++++++++-- gtk/inspector/misc-info.ui | 38 ++++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui.h | 1 + 3 files changed, 47 insertions(+), 2 deletions(-) commit 79f806fdab5c55b0b4123050980a2986192f8c1c Author: Emmanuele Bassi Date: Fri Dec 26 16:04:26 2014 +0000 Point to copy/cut/delete named icons in the stock item deprecations We still use symbolic icons for Copy, Cut, and Delete operations inside toolbars and some menus, so it's worth pointing to the symbolic icon names in the deprecation notices. https://bugzilla.gnome.org/show_bug.cgi?id=741969 gtk/deprecated/gtkstock.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 08f69c53a5b8c23e23d157cee061d72249e090a9 Author: Matthias Clasen Date: Thu Jan 8 22:27:47 2015 -0500 file chooser: Don't force a scrollbar No point in showing the scrollbar when it is not needed. https://bugzilla.gnome.org/show_bug.cgi?id=742343 gtk/ui/gtkfilechooserwidget.ui | 1 - 1 file changed, 1 deletion(-) commit 57714b977480c23aa9cc39c014cc0a43f8ef7997 Author: Timm Bäder Date: Fri Dec 26 23:04:37 2014 +0100 gtklabel: Don't accept unhandled mouse buttons If the pressed mouse button neither triggers a context menu nor activates a link, set the sequence's state to DENIED. https://bugzilla.gnome.org/show_bug.cgi?id=742010 gtk/gtklabel.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9474215a43b116cf6098b11ef967a10afc495923 Author: Benjamin Otte Date: Thu Jan 8 19:30:19 2015 +0100 cssimage: Fix angle computation for gradients to corners gtk/gtkcssimagelinear.c | 43 +++++++++++++++++++++++++++---------------- 1 file changed, 27 insertions(+), 16 deletions(-) commit 0d5acf2a05bffba27cda22f5d863fe7db749b18b Author: Inaki Larranaga Murgoitio Date: Thu Jan 8 18:32:00 2015 +0100 Updated Basque language po/eu.po | 45 +++++++++++++++++++-------------------------- 1 file changed, 19 insertions(+), 26 deletions(-) commit b0d0a2b5e55d6351e3a4bd6de54dcffb9c7af5c8 Author: Inaki Larranaga Murgoitio Date: Thu Jan 8 15:41:15 2015 +0100 Updated Basque language po-properties/eu.po | 3185 +++++++++++++++++++++++++++------------------------ 1 file changed, 1714 insertions(+), 1471 deletions(-) commit 29984c5282d1b47345b5b6627f796aa6cb34c752 Author: Benjamin Otte Date: Wed Jan 7 18:06:59 2015 +0100 stylecontext: Handle theme changes for cached styles We need to clear the cache manually on full revalidates because _gtk_css_change_for_child() will clear the full revalidation flags. And then gtk_style_context_update_cache() will not do the right thing (which is to clear itself). gtk/gtkstylecontext.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bc07a540c7ab25326c7714f6739b8f4745c55a91 Author: Benjamin Otte Date: Wed Jan 7 15:44:53 2015 +0100 stylecontext: Rename GtkStyleInfo to GtkCssNode gtk/gtkstylecontext.c | 188 +++++++++++++++++++++++++------------------------- 1 file changed, 94 insertions(+), 94 deletions(-) commit 266408254960048a1be4f773e3526dd046ed3d34 Author: Benjamin Otte Date: Tue Jan 6 12:08:49 2015 +0100 stylecontext: update_animating() properly Because we can switch from animating to non-animating pretty much anywhere, do the check for animations unconditionally instead of trying to cram it into the correct if path (and failing). gtk/gtkstylecontext.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 059cd3e51f254153ce9b3b79fbb1a566a66ed3f1 Author: Benjamin Otte Date: Tue Jan 6 12:08:17 2015 +0100 stack: Remove commented out line It always shows up in my greps and confuses me. gtk/gtkstack.c | 1 - 1 file changed, 1 deletion(-) commit fe33ee426a56255199f9a09727afdc9c302d62aa Author: Benjamin Otte Date: Tue Jan 6 00:38:54 2015 +0100 stylecontext: Add a parent style cache We now cache the results of lookups on the parent GtkCssStyle. This allows sharing styles between widgets (recursively). However, this only works if the styles can't potentially depend on siblings - neither directly via sibling selectors or via position pseudo-classes like :first-child. Unfortunately, Adwaita currently uses first-child a lot, and in particular for labels, which are the most common widgets. The big benefits of this change are both less CPU - due to not needing to compute styles again - and less memory usage - due to sharing of the styles between widgets. Here's some nonscientific numbers I collected while pondering the usefulness of this patch: glade glade widget demo demo factory runtime styles styles Adwaita before 19.1s 5800 1150 Adwaita now 18.9s 3800 970 Adwaita hacked now 14.5s 3100 910 simple before 11.3s 5800 1150 simple now 10.8s 1300 590 Adwaita: Adwaita as provided by GTK Adwaita hacked: Adwaita with the first/last-child for GtkLabel removed simple: A 250 lines simple GTK theme I use for testing before: This patch not applied now: this patch applied glade demo runtime: Starting glade opening a large file and closing it glade demo styles: GtkCssStaticStyle objects after opening glade with the large file as per inspector widget factory styles: GtkCssStaticStyle objects after startup as per inspector gtk/gtkstylecontext.c | 98 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 98 insertions(+) commit 27285f1f0fb00bb4507a8bf3e426bef940ae41af Author: Benjamin Otte Date: Mon Jan 5 16:13:18 2015 +0100 cssstyle: Have a default style This way we can initialize the default style info with a style and ddon't need to special case NULL everywhere. gtk/gtkcssstaticstyle.c | 28 +++++++++++++++ gtk/gtkcssstaticstyleprivate.h | 1 + gtk/gtkstylecontext.c | 79 ++++++++++++++++++------------------------ 3 files changed, 62 insertions(+), 46 deletions(-) commit ef9aa8b0aea3c0ef02727a1ed0643ffd4f77e347 Author: Benjamin Otte Date: Mon Jan 5 05:57:45 2015 +0100 stylecontext: Use correct parent on updates Previously we looked at the save/restore state when determining the parent. This is wrong in the case where we're updating the cache though. So we now save the parent in the style info. gtk/gtkstylecontext.c | 93 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 64 insertions(+), 29 deletions(-) commit 89b5d1541566043b56bd000770d8634cbae22d64 Author: Benjamin Otte Date: Tue Dec 23 08:19:39 2014 +0100 stylecontext: Fix cache updating After the parent changes in commit 3a337156d11a86c7a88f1f30a09276fdf6f63008 we need to refresh the cached styles after the current style. After all, they now depend on the base style. gtk/gtkstylecontext.c | 69 ++++++++++++++++++++++++++++----------------------- 1 file changed, 38 insertions(+), 31 deletions(-) commit 730f4291682b636b875ef91918797fe7f7b8f9bb Author: Benjamin Otte Date: Tue Dec 23 08:10:30 2014 +0100 cssstaticstyle: Handle relevant change Relevant change is returned from style lookups, so keep is with the object that holds those values. gtk/gtkcssstaticstyle.c | 16 +++++++++++++--- gtk/gtkcssstaticstyleprivate.h | 7 +++++-- gtk/gtkstylecontext.c | 41 ++++++++++++++--------------------------- 3 files changed, 32 insertions(+), 32 deletions(-) commit ad199e4cf96592fb57d0a58861270d82b0a453d3 Author: Benjamin Otte Date: Sun Dec 21 21:30:51 2014 +0100 stylecontext: Use correct parent style for lookups After 3a337156d11a86c7a88f1f30a09276fdf6f63008 style lookups still used the parent context's style as the parent style, even though after a gtk_style_context_save() the root style of the style context is the proper parent. Testcase attached. gtk/gtkstylecontext.c | 26 ++++++++++++++-------- testsuite/reftests/Makefile.am | 3 +++ .../reftests/style-context-save-inheritance.css | 18 +++++++++++++++ .../reftests/style-context-save-inheritance.ref.ui | 19 ++++++++++++++++ .../reftests/style-context-save-inheritance.ui | 18 +++++++++++++++ 5 files changed, 75 insertions(+), 9 deletions(-) commit 26f36ef8aefb81c3d87f4c577a248efd77733e2d Author: Benjamin Otte Date: Sun Dec 21 20:26:26 2014 +0100 cssnodedeclaration: Store the GType of the node gtk/gtkcssnodedeclaration.c | 25 ++++++++++++++++++++++++- gtk/gtkcssnodedeclarationprivate.h | 3 +++ gtk/gtkstylecontext.c | 14 +++++++++++++- 3 files changed, 40 insertions(+), 2 deletions(-) commit 9645daf48fa28c26ff623fc9541a860217426e60 Author: Benjamin Otte Date: Wed Dec 17 13:30:51 2014 +0100 cssstyle: Move function from vfunc to static func compute_dependencies() is only used internally by GtkCssStaticStyle, so there's no need to have it elsewhere. gtk/gtkcssanimatedstyle.c | 11 ----------- gtk/gtkcssstaticstyle.c | 12 ++++++++---- gtk/gtkcssstyle.c | 17 ----------------- gtk/gtkcssstyleprivate.h | 9 --------- 4 files changed, 8 insertions(+), 41 deletions(-) commit cd056adb2f9bb57d8f1bc001de11dadf8075ec8c Author: Benjamin Otte Date: Wed Dec 17 13:22:03 2014 +0100 cssstaticstyle: Move function And with that move, GtkCssStaticStyle is immutable. gtk/gtkcssstaticstyle.c | 70 +++++++++++++++++++++++++++++++----------- gtk/gtkcssstaticstyleprivate.h | 8 +++-- gtk/gtkstylecontext.c | 33 ++++++-------------- 3 files changed, 68 insertions(+), 43 deletions(-) commit 8b823d7e13d8cb923db5f2e093645588ad3da9c9 Author: Benjamin Otte Date: Wed Dec 17 05:52:13 2014 +0100 cssstaticstyle: Move function We want the new() return values to be immutable, so we have to move the code that modifes them. gtk/gtkcssstaticstyle.c | 29 +++++++++++++++++++++++++++-- gtk/gtkcssstaticstyleprivate.h | 7 ++++++- gtk/gtkstylecontext.c | 26 +++++++++++--------------- 3 files changed, 44 insertions(+), 18 deletions(-) commit b7be202089664f27ae3120c41c2f4f5780bb2607 Author: Benjamin Otte Date: Wed Dec 17 04:18:44 2014 +0100 stylecontext: Refactor update_properties() It now always returns a new instance. gtk/gtkcssanimatedstyle.c | 4 +- gtk/gtkcssanimatedstyleprivate.h | 1 + gtk/gtkcssstaticstyle.c | 97 ++++++++++++++++++++++++++++------------ gtk/gtkcssstaticstyleprivate.h | 2 + gtk/gtkstylecontext.c | 40 +++++++++++++---- 5 files changed, 106 insertions(+), 38 deletions(-) commit 7406ec84bce536560d2458753de1ec9bbf6af231 Author: Benjamin Otte Date: Tue Dec 16 06:47:08 2014 +0100 stylecontext: Simplify function Instead of computing the changes manually everywhere from the parent changes, just pass in the parent changes. gtk/gtkstylecontext.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) commit c0af2d6fa6acecb987273fea66faedcc33bbbad7 Author: Benjamin Otte Date: Tue Dec 16 06:40:10 2014 +0100 stylecontext: Simplify code Compute the differences only once and not in both if branches. gtk/gtkstylecontext.c | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) commit 7493e814a9501538d5db1e289200ed40bffdc857 Author: Benjamin Otte Date: Tue Dec 16 05:57:36 2014 +0100 cssanimatedstyle: Apply animation values after creation This makes GtkCssAnimatedStyle immutable. gtk/gtkcssanimatedstyle.c | 3 +++ gtk/gtkstylecontext.c | 51 +++++++++++++++++++---------------------------- 2 files changed, 24 insertions(+), 30 deletions(-) commit a3bf9105853f553943770501ae2ad13713502a54 Author: Benjamin Otte Date: Tue Dec 16 04:15:25 2014 +0100 cssanimatedstyle: Make advancing the style return a new style This is another step towards making CssStyles immutable. gtk/gtkcssanimatedstyle.c | 79 +++++++++++++++++++--------------------- gtk/gtkcssanimatedstyleprivate.h | 4 +- gtk/gtkstylecontext.c | 9 ++++- 3 files changed, 47 insertions(+), 45 deletions(-) commit b53d5d064341161a8cf002aaa1d259cf69c2ab65 Author: Benjamin Otte Date: Mon Dec 15 14:22:00 2014 +0100 stylecontext: Fold a function into only caller gtk/gtkstylecontext.c | 23 +++++------------------ 1 file changed, 5 insertions(+), 18 deletions(-) commit f3f021106d467f909458a2dba8e7053f27dd1e2b Author: Benjamin Otte Date: Mon Dec 15 04:17:42 2014 +0100 cssanimatedstyle: Avoid creating animation ... when no animation exists. This makes the function name kinda wrong, but I'm not sure what else to call it. gtk/gtkcssanimatedstyle.c | 80 ++++++++++++++++++++++++++++------------------- gtk/gtkstylecontext.c | 3 +- 2 files changed, 49 insertions(+), 34 deletions(-) commit 682abc345fe197b915af6efcbf572d303e8b05e7 Author: Benjamin Otte Date: Mon Dec 15 02:54:35 2014 +0100 cssanimatedstyle: Remove unused function gtk/gtkcssanimatedstyle.c | 16 ---------------- gtk/gtkcssanimatedstyleprivate.h | 1 - 2 files changed, 17 deletions(-) commit 980923c761a7f38197817cfa9168e8b78f1a73ac Author: Benjamin Otte Date: Mon Dec 15 01:58:11 2014 +0100 cssanimatedstyle: Merge two functions gtk/gtkcssanimatedstyle.c | 47 ++++++++++++++++++++-------------------- gtk/gtkcssanimatedstyleprivate.h | 13 +++++------ gtk/gtkstylecontext.c | 19 +++++++--------- 3 files changed, 37 insertions(+), 42 deletions(-) commit 0bab285fe0f5ce4accec8b941742306ef54f4655 Author: Benjamin Otte Date: Sun Dec 14 23:20:19 2014 +0100 stylecontext: Make build_properties create the style gtk/gtkstylecontext.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 79f73921096e795d92257d7ce063161aece057da Author: Benjamin Otte Date: Sun Dec 14 17:06:27 2014 +0100 stylecontext: Make static styles static Instead of keeping an animated style everywhere, we replace it with the static style when nothing gets animated. Apart from making the code cleaner, this gets rid of a bunch of animated style values that do nothing but wrap a static style. gtk/gtkcssanimatedstyle.c | 62 +++++++++++++++++++++++----------------- gtk/gtkcssanimatedstyleprivate.h | 6 ++-- gtk/gtkstylecontext.c | 30 +++++++++++++------ 3 files changed, 61 insertions(+), 37 deletions(-) commit db36ee36a6bde810b79b5253768a8edaa1fa2a71 Author: Benjamin Otte Date: Sun Dec 14 15:46:18 2014 +0100 stylecontext: Split function gtk/gtkstylecontext.c | 45 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 7 deletions(-) commit 85dd685b3f56519ae1972aab2dd9a2b4db5f939f Author: Benjamin Otte Date: Sat Dec 13 02:07:34 2014 +0100 stylecontext: Only look up stuff in the cache that can be in the cache Only saved styles are stored in the cache so we should look only those up there. gtk/gtkstylecontext.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 77b876fad3a04c6ba8b71b3ff62df1ac9681b633 Author: Benjamin Otte Date: Mon Oct 27 04:22:49 2014 +0100 stylecontext: don't unset the current style info when clearing cache Instead, do it manually. gtk/gtkstylecontext.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 270e73bfcc7a1f22f123de0bbb52bf9e05c0d75a Author: Benjamin Otte Date: Mon Oct 27 00:25:18 2014 +0100 stylecontext: Always pass the static style ... to build_properties. There is always one available, so we can insist on that one. This simplifies a bunch of code. gtk/gtkcssanimatedstyle.c | 18 ------------------ gtk/gtkcssanimatedstyleprivate.h | 7 ------- gtk/gtkcsslookup.c | 31 +++++++++---------------------- gtk/gtkcsslookupprivate.h | 4 ++-- gtk/gtkstylecontext.c | 9 ++++----- 5 files changed, 15 insertions(+), 54 deletions(-) commit c7e9489e3e9629c394ff3b3de7378bbf09ec92f0 Author: Benjamin Otte Date: Sun Oct 26 19:38:38 2014 +0100 stylecontext: Use a static style when saved The only style that is animated is the style of the unsaved primary node. So there's no need to create animated style objects for the other ones. There is a bunch of ugliness in the code currently. Further commits are expected to fix them. gtk/gtkcsslookup.c | 35 ++++++++++++++++++++++++----------- gtk/gtkcsslookupprivate.h | 4 ++-- gtk/gtkstylecontext.c | 17 +++++++++++------ 3 files changed, 37 insertions(+), 19 deletions(-) commit ac215ffc8fbefe2493c071721d5cf72c916b6bc6 Author: Benjamin Otte Date: Sun Oct 26 05:07:06 2014 +0100 cssstyle: Add GtkCssStaticStyle For now, this is only an implementation detail of the animated style. The idea is to use GtkCssStaticStyle as the result of CSS queries and then put a GtkCssAnimatedStyle on top that manages the animations. The neat thing about this is that you can cache the static values. gtk/Makefile.am | 2 + gtk/gtkcssanimatedstyle.c | 113 ++------------------ gtk/gtkcssanimatedstyleprivate.h | 8 +- gtk/gtkcssstaticstyle.c | 225 +++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstaticstyleprivate.h | 69 ++++++++++++ 5 files changed, 307 insertions(+), 110 deletions(-) commit 4168e0385efd9231731ed35b96ce58bafc3eb03f Author: Benjamin Otte Date: Thu Oct 23 04:10:03 2014 +0200 cssstyle: Split into GtkCssStyle and GtkCssAnimatedStyle GtkCssStyle is the base class to be used for all types of styles that do exist. GtkCssAnimatedStyle is the only implementation so far, that is exactly a copy/paste of the old GtkCssStyle code. gtk/Makefile.am | 2 + gtk/gtkcssanimatedstyle.c | 599 +++++++++++++++++++++++++++++++++++++++ gtk/gtkcssanimatedstyleprivate.h | 90 ++++++ gtk/gtkcssanimation.c | 6 +- gtk/gtkcsslookup.c | 22 +- gtk/gtkcsslookupprivate.h | 6 +- gtk/gtkcssstyle.c | 538 ++--------------------------------- gtk/gtkcssstyleprivate.h | 53 +--- gtk/gtkcsstransition.c | 10 +- gtk/gtkstyleanimation.c | 8 +- gtk/gtkstyleanimationprivate.h | 7 +- gtk/gtkstylecontext.c | 28 +- 12 files changed, 767 insertions(+), 602 deletions(-) commit 572f46067f44da99e9ee0ea3210e1c0fac148928 Author: Benjamin Otte Date: Wed Oct 22 23:41:50 2014 +0200 cssstyle: Rename GtkCssComputedValues => GtkCssStyle This is literally just renaming of the object (and the associated source files). No other changes are in there. gtk/Makefile.am | 4 +- gtk/deprecated/gtkgradient.c | 10 +- gtk/deprecated/gtkgradientprivate.h | 4 +- gtk/gtkcssanimation.c | 6 +- gtk/gtkcssarrayvalue.c | 4 +- gtk/gtkcssbgsizevalue.c | 4 +- gtk/gtkcssbordervalue.c | 4 +- gtk/gtkcsscolorvalue.c | 12 +- gtk/gtkcsscomputedvalues.c | 657 ------------------------------------ gtk/gtkcsscomputedvaluesprivate.h | 106 ------ gtk/gtkcsscornervalue.c | 4 +- gtk/gtkcsseasevalue.c | 4 +- gtk/gtkcssenginevalue.c | 4 +- gtk/gtkcssenumvalue.c | 14 +- gtk/gtkcssimage.c | 14 +- gtk/gtkcssimagebuiltin.c | 4 +- gtk/gtkcssimagegradient.c | 4 +- gtk/gtkcssimageicontheme.c | 6 +- gtk/gtkcssimagelinear.c | 4 +- gtk/gtkcssimageprivate.h | 8 +- gtk/gtkcssimagescaled.c | 4 +- gtk/gtkcssimageurl.c | 4 +- gtk/gtkcssimagevalue.c | 4 +- gtk/gtkcssinheritvalue.c | 6 +- gtk/gtkcssinitialvalue.c | 4 +- gtk/gtkcsskeyframes.c | 12 +- gtk/gtkcsskeyframesprivate.h | 4 +- gtk/gtkcsslookup.c | 24 +- gtk/gtkcsslookupprivate.h | 6 +- gtk/gtkcssnumbervalue.c | 12 +- gtk/gtkcsspositionvalue.c | 4 +- gtk/gtkcssrepeatvalue.c | 4 +- gtk/gtkcssrgbavalue.c | 4 +- gtk/gtkcssshadowsvalue.c | 4 +- gtk/gtkcssshadowvalue.c | 4 +- gtk/gtkcssstringvalue.c | 4 +- gtk/gtkcssstyle.c | 657 ++++++++++++++++++++++++++++++++++++ gtk/gtkcssstylefuncs.c | 30 +- gtk/gtkcssstylefuncsprivate.h | 4 +- gtk/gtkcssstyleprivate.h | 106 ++++++ gtk/gtkcsstransformvalue.c | 8 +- gtk/gtkcsstransition.c | 10 +- gtk/gtkcsstypedvalue.c | 4 +- gtk/gtkcsstypesprivate.h | 2 +- gtk/gtkcssunsetvalue.c | 4 +- gtk/gtkcssvalue.c | 10 +- gtk/gtkcssvalueprivate.h | 8 +- gtk/gtkroundedbox.c | 12 +- gtk/gtkstyleanimation.c | 6 +- gtk/gtkstyleanimationprivate.h | 6 +- gtk/gtkstylecontext.c | 68 ++-- 51 files changed, 960 insertions(+), 956 deletions(-) commit f51419adb0034ad784d013db4e57bbdbc7b80153 Author: Benjamin Otte Date: Wed Oct 22 22:36:38 2014 +0200 cssstylefuncs: Rename functions This is in preaparation for the big GtkCssComputedValues => GtkCssStyle rename gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkcssprovider.c | 4 ++-- gtk/gtkcssstylefuncs.c | 20 ++++++++++---------- gtk/gtkcssstylefuncsprivate.h | 6 +++--- gtk/gtkcsstypedvalue.c | 4 ++-- 5 files changed, 18 insertions(+), 18 deletions(-) commit 314a1689167b6e944230ae7d8be1cac3d43af7b2 Author: Christian Kirbach Date: Tue Jan 6 22:42:35 2015 +0000 Updated German translation po/de.po | 2513 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1386 insertions(+), 1127 deletions(-) commit bb2be84af0feaa634f22f258d2219081388a74fc Author: Bruce Cowan Date: Mon Jan 5 20:40:52 2015 +0000 Updated British English translation po-properties/en_GB.po | 4805 ++++++++++++++++++++++++++---------------------- po/en_GB.po | 2549 +++++++++++++++---------- 2 files changed, 4134 insertions(+), 3220 deletions(-) commit 78223932c572214f7a1a738c953299d864451724 Author: Benjamin Otte Date: Mon Jan 5 21:15:19 2015 +0100 cssselector: Reintroduce GOT_MATCH I removed it in 14f5ce710856708dc80fcc98cb5eb2ba257f34ad because I thought it was unnecessary, but it wasn't. When we build a tree like this: .matches ─┬─ .doesntmatch └─ .alsodoesntmatch We would get the changes for the .matches part returned. This is however only right if that node of the tree contains results. If results only exist with the child nodes (all of which don't match), then this part should not match either. gtk/gtkcssselector.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 506639add12d69c2058fa1a72319506adbac1f4d Author: Benjamin Otte Date: Mon Jan 5 21:00:36 2015 +0100 cssselector: The if was the wrong way around We want to keep matching as long as selectors are simple. Otherwise we'd never be matching, because the first selector is always simple. Oops. gtk/gtkcssselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 43d6ebf9fbecd89cfef8c0c5e7ebc76b50bdde7e Author: Sebastien Lafargue Date: Sun Jan 4 12:40:27 2015 +0100 cellrenderertext: notify inverted The notify for "size" and "size-points" properties are inverted. https://bugzilla.gnome.org/show_bug.cgi?id=742311 gtk/gtkcellrenderertext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b46fdb2d13a072bd9d91c316cae3e9139ea512b5 Author: Emmanuele Bassi Date: Fri Jan 2 23:05:29 2015 +0000 calendar: Handle invalid dates GtkCalendar can have an invalid date — mostly at initialization. This means that GDateTime construction may fail. We need to handle that case gracefully, like the old code did. This fixes the `notify` test suite, which started failing with: /Notification/GtkCalendar: GLib-CRITICAL **: g_date_time_get_day_of_week: assertion 'datetime != NULL' failed inside the Continuous builder. gtk/gtkcalendar.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 21360a453c0b0c124b95de4a500c120432f214ca Author: Christian Hergert Date: Wed Dec 31 23:27:55 2014 -0800 textview: fix duplicated binding entries. use kp variants instead. This appears to have accidentally used the normal keypresses twice instead of the KP variants. This resulted in shift+insert pasting twice. https://bugzilla.gnome.org/show_bug.cgi?id=742170 gtk/gtktextview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit bf3b0ea64160f9c711aaf3b6bc5deaa6d841c964 Author: Inaki Larranaga Murgoitio Date: Wed Dec 31 17:46:21 2014 +0100 Updated Basque language po/eu.po | 2987 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1916 insertions(+), 1071 deletions(-) commit cfcb43e3cadbbba0bf80b4bf30b1f920889149f6 Author: Balázs Úr Date: Wed Dec 31 13:29:14 2014 +0000 Updated Hungarian translation po-properties/hu.po | 2511 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1381 insertions(+), 1130 deletions(-) commit dce50674c0ea3790973a3e2a353de694de73a6a5 Author: Gábor Kelemen Date: Wed Dec 31 13:02:56 2014 +0000 Updated Hungarian translation po/hu.po | 169 +++++---------------------------------------------------------- 1 file changed, 13 insertions(+), 156 deletions(-) commit c0e26aad56ab653a0c97f5965900254e24c02b7c Author: Balázs Úr Date: Wed Dec 31 12:03:47 2014 +0000 Updated Hungarian translation po/hu.po | 2222 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1417 insertions(+), 805 deletions(-) commit 38f9e4bf113d2cfe872e4a8078a11bde2a1196a4 Author: Trần Ngọc Quân Date: Wed Dec 31 15:50:54 2014 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po/vi.po | 258 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 146 insertions(+), 112 deletions(-) commit 23fa0e341f2daa9c05447c274ae3b73530b44b28 Author: Ignacio Casal Quinteiro Date: Tue Dec 30 13:46:11 2014 +0100 Fix typos in documentation gtk/gtkcolorbutton.c | 2 +- gtk/gtkcolorchooserwidget.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 5a41f63426efb6f715119d23acdab0b2676c72ad Author: Jasper St. Pierre Date: Sun Dec 28 18:11:49 2014 -0800 gtkstylecontext: Don't try to emit a signal when finalizing gtk/gtkstylecontext.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit ecc64f63e4797e564d2d9057eb0f7b6b476ec2b2 Author: Jasper St. Pierre Date: Sun Dec 28 17:54:09 2014 -0800 gdkeventsource-wayland: Fix style gdk/wayland/gdkeventsource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 915e4c6dd75081f25b1b79fe61728549020aa320 Author: Jasper St. Pierre Date: Sun Dec 28 18:13:24 2014 -0800 inspector: Update translations .ui.h file gtk/inspector/general.ui.h | 3 +++ 1 file changed, 3 insertions(+) commit b4375cde480a3de959553efd2c2f555ac332ee47 Author: Matthias Clasen Date: Sun Dec 28 11:36:10 2014 -0500 Inspector: Show some X display characteristics This helps diagnose e.g. csd problems. gtk/inspector/general.c | 48 ++++++++++++++---- gtk/inspector/general.ui | 123 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 161 insertions(+), 10 deletions(-) commit 20f1c06eedf06dbc3a7fe62875ac996d2c3c2eb5 Author: Matthias Clasen Date: Sun Dec 28 11:06:24 2014 -0500 Restore a missing file No wonder nobody has tried my awesome magnifier yet... gtk/inspector/magnifier.ui | 62 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) commit 07efae7288e4b50cb2f78d340bc7fc1438ef63fa Author: Rico Tzschichholz Date: Sun Dec 28 13:34:16 2014 +0100 mir: Add missing reference to gdkmir-private.h gdk/mir/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 049ec56107f1377caacc7617a5ea9dd6acc63217 Author: Trần Ngọc Quân Date: Sun Dec 28 09:20:14 2014 +0700 Updated vi translation for gtk+properties Signed-off-by: Trần Ngọc Quân po-properties/vi.po | 7611 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 4735 insertions(+), 2876 deletions(-) commit 4d4883f010cf2d30889a004811106bd65b9b0dea Author: Christian Hergert Date: Fri Dec 26 14:19:55 2014 -0800 scrolledwindow: fix spurious warnings from previous scrollbar commits gtk/gtkscrolledwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 5d42c55f280980d715ada52a18f41f1a05a7dfc7 Author: Emmanuele Bassi Date: Thu Dec 25 11:49:58 2014 +0000 x11/gl: Set the correct minor version The major version is set twice. https://bugzilla.gnome.org/show_bug.cgi?id=741954 gdk/x11/gdkglcontext-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ec37fbe2e29a7a02502f9a9d499a707f208e01d6 Author: Philip Chimento Date: Fri Oct 10 21:35:23 2014 -0700 quartz: NSWindow NULL check in get_scale_factor Sending backingScaleFactor to a NULL NSWindow will silently give the value 0 for the scale factor, causing insidious divide-by-zero bugs down the line. This checks if the NSWindow is NULL first, as seems to happen throughout the rest of the file. Note that I don't have a hi-DPI OS X machine to test this on, though. https://bugzilla.gnome.org/show_bug.cgi?id=738338 gdk/quartz/gdkwindow-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4bd787f2afe14233e183fcfac7103cf9597ca50a Author: John Ralls Date: Wed Dec 24 12:50:57 2014 -0800 Prevent double-free after 8b5d30d43. modules/input/imquartz.c | 3 --- 1 file changed, 3 deletions(-) commit 7f28077b5af6bfd5d54447a0f10c552258b9b934 Author: Carlos Garnacho Date: Mon Dec 1 14:25:23 2014 +0100 scrolledwindow: Enable "hover" mode in scrollbars after a timeout This way transient mouse movements over scrollbars don't cause flickering, and more spaced movements have it enabled shortly. gtk/gtkscrolledwindow.c | 71 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 57 insertions(+), 14 deletions(-) commit d2b2b34ae5900d94b650f9ed657d09e3915100f3 Author: Carlos Garnacho Date: Mon Dec 1 13:59:22 2014 +0100 scrolledwindow: improve v/hscrollbar proximity detection Only horizontal coordinates are checked for the vertical scrollbar, and vice versa. gtk/gtkscrolledwindow.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 8b85db08e55e4a34829129f74946497bc769d647 Author: Carlos Garnacho Date: Mon Dec 1 13:37:18 2014 +0100 scrolledwindow: fade out scrollbars on leave notify gtk/gtkscrolledwindow.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit fdf367e8689cb886fbff784349ce7ceaddc99909 Author: Carlos Garnacho Date: Mon Dec 1 13:23:57 2014 +0100 scrolledwindow: make it a windowed widget again This is so we can detect crossing events on the scrolledwindow widget, which can be useful for toggling certain behaviors or not depending on whether the mouse is on the widget. gtk/gtkscrolledwindow.c | 50 +++++++++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 12 deletions(-) commit 3bcf5e286328270f22c4a1e969b2a37387687f31 Author: Carlos Garnacho Date: Sat Nov 29 16:53:05 2014 +0100 scrolledwindow: Show scrollbars upon captured motion events On mice, scrollbars are always triggered temporarily. On proximity to an scrollbar, it will be switched to full-width. gtk/gtkscrolledwindow.c | 168 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 129 insertions(+), 39 deletions(-) commit 2c6ac1fa3e7098f0a7ec379ef615e903386bb5ed Author: Ting-Wei Lan Date: Wed Dec 24 21:59:49 2014 +0800 popover: Add a missing #ifdef gtk/gtkpopover.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit d216d89d6f1328d06396b8a4fe1fb42baf3e666c Author: Matthias Clasen Date: Tue Dec 23 21:49:21 2014 -0500 GtkCalendar: Slightly change overflow behaviour If the first of the month was falling on a Sunday, we would not render any days of the previous month, and instead show two weeks of the next month at the bottom. Improve this by showing one week of each. https://bugzilla.gnome.org/show_bug.cgi?id=301835 gtk/gtkcalendar.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 7b9065c2eea5332ec69285ccdc52106a27e25111 Author: Matthias Clasen Date: Tue Dec 23 21:47:50 2014 -0500 Avoid a crash in testcalendar When changing between months, we can get into a situation like 'February 30", which GDate doesn't accept. Don't crash in that case. tests/testcalendar.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 31f502a9ae816fb692716be6b9c68eaa8ee869d3 Author: Matthias Clasen Date: Tue Dec 23 21:11:00 2014 -0500 css: Handle font-size changes properly Changing font size does not cause widgets to update their size properly anymore, since we forgot an invalidation flag. The problem can be observed e.g. by running gtk3-demo and calling gsettings set org.gnome.desktop.interface font-name "Cantarell 22" gtk/gtkcssstylepropertyimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c763e734978645c825a41a5a0725a1aea903e6ef Author: Matthias Clasen Date: Tue Dec 23 20:36:30 2014 -0500 Adwaita: Bring back 'other month' coloring The days that are not in the current month used to be rendered in a ligher color. This was lost at some point. Bring it back. gtk/theme/Adwaita/_common.scss | 2 + gtk/theme/Adwaita/gtk-contained-dark.css | 205 +++++++++---------------------- gtk/theme/Adwaita/gtk-contained.css | 205 +++++++++---------------------- 3 files changed, 124 insertions(+), 288 deletions(-) commit 6ae93f5c46096df452ffdcc966573026a4fd41b8 Author: Matthias Clasen Date: Tue Dec 23 20:28:49 2014 -0500 GtkCalendar: Use GDateTime for calculations Instead of old copy-paste code, use GDateTime to determine week numbers and days of week. gtk/gtkcalendar.c | 129 ++++++++++++++---------------------------------------- 1 file changed, 32 insertions(+), 97 deletions(-) commit a7cf67f201793bde750a59e273ba4f88898d8271 Author: Matthias Clasen Date: Tue Dec 23 18:37:28 2014 -0500 Formatting fixes gtk/gtkappchooserbutton.c | 81 ++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 44 deletions(-) commit 79ada68f8cf925adc7014328c2416f70396b02ff Author: Matthias Clasen Date: Tue Dec 23 00:20:11 2014 -0500 Formatting fixes gtk/gtkaboutdialog.c | 64 ++++++++++++++++------------------------------------ 1 file changed, 19 insertions(+), 45 deletions(-) commit 0a54ad118765f55f77bdbedab3ebe1e4342fe797 Author: Matthias Clasen Date: Mon Dec 22 17:16:30 2014 -0500 GtkRecentManager: Formatting fixes gtk/gtkrecentmanager.c | 723 +++++++++++++++++++++++++------------------------ 1 file changed, 365 insertions(+), 358 deletions(-) commit ea9f5e22737936dc7a0fb0d6a7428364617460a8 Author: Stas Solovey Date: Tue Dec 23 14:09:52 2014 +0000 Updated Russian translation po/ru.po | 2162 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1297 insertions(+), 865 deletions(-) commit 96f7c11f4840d7425ab19290ea18d3904ab939a1 Author: Carlos Garnacho Date: Mon Oct 20 19:10:52 2014 +0200 window: Use subsurfaces for popovers on wayland On the wayland backend, set up GDK_WINDOW_SUBSURFACE windows for popovers. In the popover code, the popover-relative-to-parent calculation had to be tweaked, and it's been made to always prefer the given popover position, since there's no sizing limitations. https://bugzilla.gnome.org/show_bug.cgi?id=738891 gtk/gtkpopover.c | 30 +++++++++++++++++++++++++++--- gtk/gtkwindow.c | 26 ++++++++++++++++++++++++-- 2 files changed, 51 insertions(+), 5 deletions(-) commit 5e9bf518a33528a7f7264d16c906ed4b0f99b8fb Author: Patrick Welche Date: Tue Dec 23 10:35:40 2014 +0000 GtkApplicationWindow: Documentation fix gtk_builder_add_from_string takes more than 2 parameters. https://bugzilla.gnome.org/show_bug.cgi?id=741897 gtk/gtkapplicationwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3a0ced32bf22eda6a6377c36654a5a2e1bb04f18 Author: Florian Müllner Date: Thu Dec 18 14:18:50 2014 +0100 Adwaita: Special-case server-side window decorations The WM already adds the window shadow in that case, so just use the box-shadow to add the border here. gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 5127136723f3bc5bbf5cccb5dbca39b894841ee3 Author: Matthias Clasen Date: Mon Dec 22 10:52:54 2014 -0500 GtkNotebook: Be a bit more safe against cur_page being NULL https://bugzilla.gnome.org/show_bug.cgi?id=477454 gtk/gtknotebook.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit ea36b7bfb0c01acaaf348e6b42fcb73da0f8a677 Author: Matthias Clasen Date: Mon Dec 22 08:21:50 2014 -0500 GtkRecentManager: Survive without a filename We were asserting priv->filename != NULL in various places, which leads to apps refusing to work when HOME is set to a nonexisting or nonwritable value. Since it isn't hard, just make GtkRecentManager survive without a filename. We won't save or read any recently used files in this state, but thats ok. https://bugzilla.gnome.org/show_bug.cgi?id=739038 gtk/gtkrecentmanager.c | 137 +++++++++++++++++++++++++------------------------ 1 file changed, 69 insertions(+), 68 deletions(-) commit 84b0b454655024fe3319f6b48940123e794f0a16 Author: Daniel Mustieles Date: Mon Dec 22 13:08:37 2014 +0100 Updated Spanish translation po-properties/es.po | 330 ++++++++++++++++++++++++++-------------------------- 1 file changed, 164 insertions(+), 166 deletions(-) commit cc5a586ceb4fba938901b9c21d7606570a573ad9 Author: Daniel Mustieles Date: Mon Dec 22 13:08:20 2014 +0100 Updated Spanish translation po/es.po | 57 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 29 insertions(+), 28 deletions(-) commit 6b26664c414a44e26553c0546632c9d5fff6a7b1 Author: Ryan Lortie Date: Tue Dec 16 12:14:23 2014 -0500 GtkMenuTracker: add hidden-when='macos-menubar' Provide a mechanism for hiding the "Quit", "About" and "Preferences" menu items from the normal places in a traditional menubar layout (in the File and Edit menus) when the menu is being rendered in the Mac OS menubar. These items can already be found in the application menu. With this feature, applications can now define a single menu to use in all 'traditional' scenarios. Use this new attribute in Bloatpad. https://bugzilla.gnome.org/show_bug.cgi?id=741610 examples/bp/gtk/menus.ui | 2 ++ gtk/gtkapplication-quartz-menu.c | 2 ++ gtk/gtkmenusectionbox.c | 6 +++--- gtk/gtkmenushell.c | 6 +++--- gtk/gtkmenutracker.c | 13 ++++++++++--- gtk/gtkmenutracker.h | 2 ++ gtk/gtkmenutrackeritem.c | 8 ++++++++ gtk/gtkmenutrackeritem.h | 1 + 8 files changed, 31 insertions(+), 9 deletions(-) commit 4bc3f02d51051fd7deff1a658d40a3859bb68a42 Author: Matthias Clasen Date: Sun Dec 21 23:14:02 2014 -0500 GtkRecentManager: Allow instantiating with gtk_init This apparently used to work, and it doesn't do harm to allow it. https://bugzilla.gnome.org/show_bug.cgi?id=705582 gtk/gtkrecentmanager.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 53c388b72466497348589553cc0e81d24ca5aa7a Author: Matthias Clasen Date: Sat Dec 20 22:49:09 2014 -0500 Some formatting cleanups gtk/gtkwidget.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 36245b70585932f1e3a2ed0a10ce2fd8ce9c43de Author: Chun-wei Fan Date: Mon Dec 22 11:25:49 2014 +0800 GDK-Win32: Drop Some Unused Items There were a bit of unused items from the GDK-Win32 work on GL support, so drop them. gdk/win32/gdkdisplay-win32.h | 2 -- gdk/win32/gdkglcontext-win32.c | 2 -- 2 files changed, 4 deletions(-) commit ef57ac6bf1c7ed14e1891d17975afeef70e803e5 Author: Ting-Wei Lan Date: Sun Dec 21 14:51:00 2014 +0800 reftests: Fix typo It causes build failure on MinGW. https://bugzilla.gnome.org/show_bug.cgi?id=741827 testsuite/reftests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ef2c68462b6fd83d9e86e3db552f96c910f8cc21 Author: Ryan Lortie Date: Tue Dec 16 12:22:23 2014 -0500 GtkMenuTracker: add missing documentation fragment https://bugzilla.gnome.org/show_bug.cgi?id=741610 gtk/gtkmenutracker.c | 3 +++ 1 file changed, 3 insertions(+) commit 1e1c5c65d1f6abd1de306730068746b3f0438c93 Author: Matthias Clasen Date: Sat Dec 20 19:39:09 2014 -0500 inspector: Remove an errant shadow gtk/inspector/data-list.ui | 1 - 1 file changed, 1 deletion(-) commit 2b07b6c069297abdeed1b41c91fde1d47058ce97 Author: Matthias Clasen Date: Sat Dec 20 19:24:08 2014 -0500 inspector: Add a magnifier Add a magnifier that shows the selected widget up to 5 times enlarged. gtk/inspector/Makefile.inc | 3 ++ gtk/inspector/init.c | 5 +++ gtk/inspector/magnifier.c | 80 ++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/magnifier.h | 54 ++++++++++++++++++++++++++++++ gtk/inspector/magnifier.ui.h | 0 gtk/inspector/window.c | 3 ++ gtk/inspector/window.h | 2 +- gtk/inspector/window.ui | 8 +++++ gtk/inspector/window.ui.h | 1 + po/POTFILES.in | 1 + 10 files changed, 156 insertions(+), 1 deletion(-) commit 52b3b4207ffb38233342fac447092b5cb3b52c26 Author: Matthias Clasen Date: Sat Dec 20 19:19:24 2014 -0500 GtkTextView: disconnect the magifier on destroy This prevents warnings that would otherwise happen when the magifier is finalized. gtk/gtktextview.c | 3 +++ 1 file changed, 3 insertions(+) commit 10d0ca0a3d5536a5c9926998e54775a8b0fd8b2c Author: Matthias Clasen Date: Sat Dec 20 19:16:46 2014 -0500 GtkMagnifier: Add a resizing mode In addition to the fixed-size mode that is used by the text view, add a mode in which the magnifier requests enough size to render the entire inspected widget at the current magnification. In this mode, the magnifier will update its size when the size of the inspected widget changes. Also, make the magnifier redraw on its own whenever the inspected widget draws. gtk/gtkmagnifier.c | 194 +++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkmagnifierprivate.h | 4 + 2 files changed, 197 insertions(+), 1 deletion(-) commit 42a6ae6c6c54ddf2f1c0836ed2e67180c0617c0a Author: Benjamin Otte Date: Sat Dec 20 20:39:31 2014 +0100 widget: Set the allocation via gtk_widget_set_allocation() There is no good reason to assign the value directly. Also, this fixes d23f3254b7fcef0fc57739ce5cd548742870b119 where widgets that chained up instead of calling gtk_widget_set_allocation() would not draw becaues of empty clip. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 631688cf6457332e13ffdd1f9c18f3be3bc584c2 Author: Benjamin Otte Date: Fri Dec 19 19:16:47 2014 +0100 csstransform: Fix comparisons crashing Transforms of different type are not equal. gtk/gtkcsstransformvalue.c | 3 +++ 1 file changed, 3 insertions(+) commit d23f3254b7fcef0fc57739ce5cd548742870b119 Author: Benjamin Otte Date: Fri Dec 19 19:05:12 2014 +0100 widget: Handle setting clip differently (1) Get rid of supports_clip flag. All widgets (implicitly) support clip. (2) Don't reset the clip to { 0, 0, 0, 0 } before the "size-allocate" signal. (3) Make gtk_widget_set_allocation() set the clip (to the allocation). This ensures that eveyr widget has a clip set. Note: It overrides previous calls to gtk_widget_set_clip(), while in 3.14 this didn't happen. (4) As the clip is set by gtk_widget_set_allocation() now, don't set it after the "size-allocate" signal anymore. This fixes calls to gtk_widget_queue_draw() from inside the size_allocate vfunc. gtk/gtkwidget.c | 55 ++++++++++--------------------------------------------- 1 file changed, 10 insertions(+), 45 deletions(-) commit f0a40b1a2365e3357803342c29b89d215a1efe79 Author: Benjamin Otte Date: Tue Dec 16 19:10:53 2014 +0100 widget-factory: Don't pulse dead widgets Causes crashes at cleanup and we don't want those. Also, code gets simpler. demos/widget-factory/widget-factory.c | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) commit 1dbc6d91f08e28c90bd39ff8a6137b9480c18510 Author: Matthias Clasen Date: Fri Dec 19 12:27:31 2014 -0500 Don't initialize GL if it has been disabled We've observed hangs of mutter when it initializes GTK+, which are caused by initializing GL, which in turn makes xwayland call back into mutter. With this change, mutter should just disable GL support in GDK, and things will work. gdk/x11/gdkglcontext-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit ac5ffd847b1a7e744d7922359c1639b795c28908 Author: Matthias Clasen Date: Thu Dec 18 23:20:43 2014 -0500 GtkApplication: Try to cope with ssh situations better Override the gtk-shell-shows-app-menu and gtk-shell-shows-menubar settings to FALSE, if we can detect that we are not on the same session bus as the xsettings provider that we got these settings from. We determine this by comparing the bus ID of 'our' session bus with the one reported in the Gtk/SessionBusId xsetting. If they are different, then it very likely that we are in an ssh situation where we see the forwarded X display, but not the session bus. The D-Bus based menu exporting will not work in this situation. https://bugzilla.gnome.org/show_bug.cgi?id=671802 gtk/gtkapplication-dbus.c | 59 +++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 54 insertions(+), 5 deletions(-) commit 57d034ce9f16c883f2f91dd2cc3b3070a8e665e2 Author: Matthias Clasen Date: Thu Dec 18 23:19:19 2014 -0500 Add an XSetting for the session bus ID This will allow us to identify situations where we are not on the same session bus as the xsettings provider. https://bugzilla.gnome.org/show_bug.cgi?id=671802 gdk/x11/gdksettings.c | 1 + 1 file changed, 1 insertion(+) commit 583d612c9fb95b7d66f214f99367d9400ad07b82 Author: Christian Kirbach Date: Thu Dec 18 22:49:08 2014 +0000 Updated German translation po-properties/de.po | 897 +++++++++++++++++++++++++++++++--------------------- 1 file changed, 545 insertions(+), 352 deletions(-) commit 51e1e3b416862774ee87151326fd3bb8e436da4d Author: Carlos Garnacho Date: Fri Nov 21 15:21:49 2014 +0100 textview: make magnifier size dependent on text size The magnifier is now set enough height to show the line being currently manipulated, which makes it just big enough to show the layout height at that size and magnification. gtk/gtktextview.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) commit 97137da6e5f5424e4891b07933b017e4e56f6b25 Author: Carlos Garnacho Date: Thu Nov 20 14:19:39 2014 +0100 Adwaita: Make text handles a bit larger This improves visibility, and interaction, as the invisible rect around is dependent on the visible handle size 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 025340bfc4016edaf19def49ad424b1cb18d4520 Author: Carlos Garnacho Date: Thu Nov 20 14:12:41 2014 +0100 textview: Implement friendlier touch selection - It is not possible anymore to trigger text DnD through touch, pressing and dragging from within the selection will instead extend it. Text shrinking is still available through the handles - The selection mode for touch is per-word, char-level manipulation is still available through the handles. - Tapping within the selection will bring in text handles, and toggle text selection popover. gtk/gtktextview.c | 95 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 64 insertions(+), 31 deletions(-) commit 8c091d1484c7b269b302a03212df37a785aae55e Author: Carlos Garnacho Date: Thu Nov 20 14:03:07 2014 +0100 textview: Make "extend selection" only extend This mode could also shrink the selection, plus the starting point would seem somewhat arbitrary (actually dependent on the dragging direction of the last selection). Made this mode more consistent by only allowing it to extend the selection, only in one direction for each operation, and so it keeps the current selection as a minimum. gtk/gtktextview.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit a2e71203c2eb3cf5cfaa881680009542b291a6e0 Author: Carlos Garnacho Date: Thu Nov 20 13:57:46 2014 +0100 textview: Pass a boolean telling whether a selection drag should extend Instead of passing a GdkEvent and let the function figure out whether the selection should be extended, let that to the caller and just pass a boolean here. gtk/gtktextview.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit ccdebb6aa0203a7f6775233741cccd499f03034b Author: Carlos Garnacho Date: Thu Nov 20 13:52:13 2014 +0100 textview: Show magnifier on top of current line The X coordinate is dependent on touch position, but Y is stepped. gtk/gtktextview.c | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit 79f8db1c0d5dd668c98e76a9279b06bcc0d534b8 Author: Carlos Garnacho Date: Thu Nov 20 13:46:30 2014 +0100 texthandle: Use active state when handles are being dragged The active state flags is set on both handles when this happens. gtk/gtktexthandle.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit e0b9330880634948c87650785f979b0cac106b7e Author: Carlos Garnacho Date: Thu Nov 20 13:41:24 2014 +0100 texthandle: Use the handle widget style context for rendering Using the parent widget context is a leftover of the pre-popover implementation, which used GdkWindows directly. This will make the context reflect widget state, at the expense of changing the selector paths that used to match the handles. gtk/gtktexthandle.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit dca2f4386dbbefe842efd4bcab5fcd0b661b72dd Author: Carlos Garnacho Date: Thu Nov 20 13:25:40 2014 +0100 gesturesingle: check for the sequence being handled, not just the event Checking the return value was valid for most gestures, but GtkGestureLongPress, where the first press triggers internally an action, but does nothing for the sequence to be claimed/denied, FALSE was eventually returned, and the button/sequence functions would be incorrect when ::pressed is emitted. So check that the sequence is being handled by the gesture, this is more desirable than the return value as it's independent of sequence state, and still will be FALSE for the cases we want to catch here. gtk/gtkgesturesingle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ce8dc5186127ae175610366671a30d69625ebaa9 Author: Sebastien Lafargue Date: Thu Dec 18 21:00:45 2014 +0100 gtktextlayout: fix to quiet a warning Gcc complains about a possible use of a not initialised widget ref ( which can't happen in reality ) https://bugzilla.gnome.org/show_bug.cgi?id=741702 gtk/gtktextlayout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 73c8f3092820c51058f188313c3249685be42a38 Author: Sebastien Lafargue Date: Thu Dec 18 20:52:58 2014 +0100 gtktextlayout: fix for right margin with RTL text When a RTL paragraph is not set to wrap, the right margin is not respected because of the margins counted twice so we replace display->width by PIXEL_BOUND (extents.width), the same quantity without the margins. https://bugzilla.gnome.org/show_bug.cgi?id=741702 gtk/gtktextlayout.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ed1fb8d2afa1d7c3bbdd9284a0db09a44bc48327 Author: Erick Pérez Castellanos Date: Sat Dec 13 10:36:15 2014 -0500 Minor documentation fix gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 779faafa22af99614bb0f6a5526b4d901a7b095f Author: Marek Kasik Date: Thu Dec 18 16:26:29 2014 +0100 printing: Translate context to correct position Use correct margins of given page setup when translating context to imageable area. https://bugzilla.gnome.org/show_bug.cgi?id=671895 gtk/gtkprintcontext.c | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) commit 9ac9769f360df4d63b4f6e7cbb572092e263c5ea Author: Marek Kasik Date: Thu Dec 18 16:25:50 2014 +0100 printing: Return correct width and height of page setup Use correct margins when computing width and height returned by gtk_page_setup_get_page_width() and gtk_page_setup_get_page_height(). https://bugzilla.gnome.org/show_bug.cgi?id=671895 gtk/gtkpagesetup.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 307ce2f9bd617370ce8a3a62e0b73051de97cbe4 Author: Daniel Mustieles Date: Thu Dec 18 13:21:10 2014 +0100 Updated Spanish translation po/es.po | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) commit e21786138a3ca3c4c98b4cfafcb660e71ad08406 Author: Yosef Or Boczko Date: Thu Dec 18 13:28:44 2014 +0200 Updated Hebrew translation po/he.po | 96 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 57 insertions(+), 39 deletions(-) commit 14e5ca584b1be8f6b2a91a8f4e03d7a8a1e1d019 Author: Chun-wei Fan Date: Thu Dec 18 15:31:58 2014 +0800 Visual Studio Builds: Update Header "Installation" The list of headers became a bit out-of-date as development went on, so make it up-to-date. build/win32/vs10/gtk-install.props | 4 +++- build/win32/vs9/gtk-install.vsprops | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit fe82dc5fb294c03c2235be0f3105107e89eafbf5 Author: Matthias Clasen Date: Wed Dec 17 22:56:30 2014 -0500 GtkMenuButton: Don't leak popovers Detach the previous popover from the toplevel when a new one is set. This should fix https://bugzilla.gnome.org/show_bug.cgi?id=741652 gtk/gtkmenubutton.c | 2 ++ 1 file changed, 2 insertions(+) commit fdc8c6103a2e11fa4e3ea292728190684932406b Author: Lapo Calamandrei Date: Wed Dec 17 19:42:11 2014 +0100 Adwaita: another stab at the undershoot gtk/theme/Adwaita/_common.scss | 92 +++++++++--------- gtk/theme/Adwaita/_drawing.scss | 44 ++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 162 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 162 ++++++++++++++++--------------- 4 files changed, 250 insertions(+), 210 deletions(-) commit bf383acd5de9defaa0bb04a96d6e8a705090c6ec Author: Lapo Calamandrei Date: Wed Dec 17 18:29:02 2014 +0100 Adwaita: fix treeview progressbar issue See https://bugzilla.gnome.org/show_bug.cgi?id=741569 gtk/theme/Adwaita/_common.scss | 38 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 543 ++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 538 +++++++++++++++++------------- 3 files changed, 637 insertions(+), 482 deletions(-) commit b44df22895c794733e15d19a977bc9c2d5a2bd78 Author: Lars Uebernickel Date: Thu Dec 11 17:49:02 2014 +0100 Menu items: force loading 16x16 icons GtkIconTheme doesn't scale icons beyond the size specified in the theme anymore. This can result in arbitrarily large menu items when a theme only provides large icons. Force icons to always be 16x16 to ensure that menu items always have the same height. https://bugzilla.gnome.org/show_bug.cgi?id=741259 gtk/deprecated/gtkimagemenuitem.c | 1 + gtk/gtkmodelmenuitem.c | 1 + 2 files changed, 2 insertions(+) commit 9032e0884328e3524c4203e12450dc79aea797e3 Author: Piotr Drąg Date: Wed Dec 17 13:40:58 2014 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 3eb18379d55b20fdb7f8bbb706e2067a886179a3 Author: Daniel Mustieles Date: Wed Dec 17 12:38:51 2014 +0100 Updated Spanish translation po-properties/es.po | 1141 ++++++++++++++++++++++++++------------------------- 1 file changed, 589 insertions(+), 552 deletions(-) commit 8e86d820f29795a9c084496719d258f3a13002a4 Author: Daniel Mustieles Date: Wed Dec 17 12:37:49 2014 +0100 Updated Spanish translation po/es.po | 708 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 354 insertions(+), 354 deletions(-) commit 020258f85a4add53e9f04fce39f1ba3e89f9abae Author: Sébastien Wilmet Date: Mon Dec 15 14:53:29 2014 +0100 textview: add extend-selection signal To be able to customize the double-click and triple-click behaviors, to provide custom selection boundaries. https://bugzilla.gnome.org/show_bug.cgi?id=111503 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktextview.c | 135 ++++++++++++++++++++++++++++------- gtk/gtktextview.h | 24 ++++++- 3 files changed, 134 insertions(+), 26 deletions(-) commit 7ff3c6df80185e165e3bf6aa31bd014d1f8bf224 Author: Matthias Clasen Date: Mon Dec 15 22:19:26 2014 -0500 Fix distcheck differently The previous fix fixed distcheck, but broke distclean. docs/tools/Makefile.am | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 22dfa49300a78550b2622356842fe51ba60cb081 Author: Matthias Clasen Date: Mon Dec 15 22:19:12 2014 -0500 More release notes README.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 6f3385aa602f9c597b7f73c4333bd8e62055f190 Author: Chun-wei Fan Date: Wed Dec 17 16:24:54 2014 +0800 MSVC Builds: Build and "Install" GDK-Win32 GL Items Since the support for GL support in the GDK Windows backend has landed in master, we need to build it in the Visual Studio builds. Update the projects for that and "install" the public header that was added. build/win32/vs10/gdk-win32.vcxproj | 1 + build/win32/vs10/gdk-win32.vcxproj.filters | 1 + build/win32/vs10/gtk-install.props | 1 + build/win32/vs9/gdk-win32.vcproj | 1 + build/win32/vs9/gtk-install.vsprops | 1 + 5 files changed, 5 insertions(+) commit 536fa88cd8a9b0ee99f089da23e455b450622c48 Author: Chun-wei Fan Date: Wed Dec 17 12:32:04 2014 +0800 Add OpenGL Support for the GDK Windows Backend This adds support for OpenGL to the GDK Windows backend using the WGL API calls, which enables programs that uses the GTK+ GLArea widgets to work on Windows as well. This also adds a simple utility function to query for the version of OpenGL that is supported by the Windows system, like the one provided by the X11 backend. Many thanks to Alex (and Emmanuele, who started the OpenGL integration in GTK+) who offered advice and help along the way, as well as the X11 and Wayland backend for this work to refer to and to model upon. https://bugzilla.gnome.org/show_bug.cgi?id=740795 gdk/win32/Makefile.am | 5 + gdk/win32/gdkdisplay-win32.c | 14 +- gdk/win32/gdkdisplay-win32.h | 47 +++ gdk/win32/gdkglcontext-win32.c | 655 +++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkglcontext-win32.h | 84 ++++++ gdk/win32/gdkwin32.h | 1 + gdk/win32/gdkwin32glcontext.h | 49 +++ gdk/win32/gdkwindow-win32.c | 24 +- 8 files changed, 861 insertions(+), 18 deletions(-) commit 9fd9f61b00f1dd7f61beb19cccea5767887a6a4b Author: Chun-wei Fan Date: Wed Dec 17 16:06:25 2014 +0800 gdkgl: Use vfunc For Uploading Textures As the alignments, strides and image formats may be different across platforms, make the texture upload a vfunc to allow backends to override the GL commands for uploading textures for the software implementation for gdk_gl_texture_from_surface(), if necessary. Suggested by Alex to avoid copying non-trivial portions of code which would then add maintainenace burden. https://bugzilla.gnome.org/show_bug.cgi?id=740795 gdk/gdkgl.c | 7 ++----- gdk/gdkglcontext.c | 20 ++++++++++++++++++++ gdk/gdkglcontextprivate.h | 5 +++++ 3 files changed, 27 insertions(+), 5 deletions(-) commit 6e7bf9ca7a8077452bb6cabcc81e8407e268cd99 Author: Timm Bäder Date: Mon Dec 15 10:29:11 2014 +0100 menubutton: Fix double freeze_notify gtk/gtkmenubutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b52a06ac6fae2cd777169db425e6ebc5cad44a10 Author: Alexander Larsson Date: Tue Dec 16 13:27:49 2014 +0100 GtkGLArea: Handle window scale factor changes We need to re-allocate the buffers for the new gl size. gtk/gtkglarea.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 08853c7364651390d888b04e159915d9ba77f7ba Author: Alexander Larsson Date: Tue Dec 16 13:25:23 2014 +0100 GtkGLArea: Only re-allocate buffers during paint This drops the maybe_allocate_buffers that re-allocates buffers at any point. Instead we just set have_buffers to FALSE and have the buffers re-created when needed. This also makes the buffer creation code imdeponent and makes it clean up no longer needed buffers in order to handle being called multiple times due to the above. We also ensure we re-allocate the buffers when we're resizing and the buffers are already created. gtk/gtkglarea.c | 95 +++++++++++++++++++++++++++++++++------------------------ 1 file changed, 55 insertions(+), 40 deletions(-) commit a1a01983f717a464e89ff2b569a5c61a2e3239c3 Author: Alexander Larsson Date: Mon Dec 15 22:31:48 2014 +0100 gdk: Fix scissoring with scaled windows Make sure the window scale is always taken into acount when setting up the scissor regions. gdk/gdkgl.c | 8 ++++---- gdk/x11/gdkglcontext-x11.c | 18 +++++++++--------- 2 files changed, 13 insertions(+), 13 deletions(-) commit 2693496b56092cba65a49fb6f4199f5efbd5e5e2 Author: Alexander Larsson Date: Mon Dec 15 21:55:10 2014 +0100 gdk_gl_texture_from_surface - fix software fallback We can't combine multiple draws into one for the software fallback, because each quad has a different texture. And we generally don't want to make a larger single texture because then we would have to upload more data. gdk/gdkgl.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 4a4125bcfc252deecaab4547c891495b8e0ee5af Author: Alexander Larsson Date: Mon Dec 15 21:54:11 2014 +0100 gdk_cairo_draw_from_gl - fix drawing with alpha on window scale > 1 The scissoring needs to take into account the window scale. gdk/gdkgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ff97f236c7686522516d2834b628f9b0b5842f4b Author: Matthias Clasen Date: Mon Dec 15 10:27:49 2014 -0500 3.15.3 NEWS | 97 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 98 insertions(+), 1 deletion(-) commit c00cc269c5be8537a0ae5a37991e2c8ffc918d81 Author: Michael Natterer Date: Mon Dec 15 11:25:43 2014 +0000 broadway: Initial SSL support Use the new --cert and --key parameters to broadwayd to pass paths to cert and key files. https://bugzilla.gnome.org/show_bug.cgi?id=730364 gdk/broadway/broadway-server.c | 90 +++++++++++++++++++++++++++++++++--------- gdk/broadway/broadway-server.h | 2 + gdk/broadway/broadwayd.c | 10 ++++- 3 files changed, 83 insertions(+), 19 deletions(-) commit 4288d7d7f4ad5d3d94737c908088d500abcbf36b Author: Ryan Lortie Date: Wed Aug 20 16:00:14 2014 -0400 GtkMenuTracker: one more visibility tweak On creation, we call action_removed() in case the action was missing from the start. Because we just created the action, 'can_activate' will always be FALSE here and this function will therefore always do nothing. We do want the visibility state to be updated though, for the case where the action is missing but the item should still be visible from the start. Update the visibility directly instead of trying to call action_removed(). https://bugzilla.gnome.org/show_bug.cgi?id=735122 gtk/gtkmenutrackeritem.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8e731560ffa5370e7376689441600de0e084917e Author: Ryan Lortie Date: Wed Aug 20 15:43:09 2014 -0400 GtkMenuTrackerItem: fix submenu visibility flag We were only properly setting the "is-visible" flag to TRUE for menu items with associated actions and not (for example) on submenus. This was fine because the code for building GtkMenus from models (correctly) assumed that submenus should always be visible and never checked the property. This is not true for the Mac OS code, which actually checked the property and found it to be false for submenus. Initialise the property to TRUE so that we get the correct value reported for items that don't have actions. https://bugzilla.gnome.org/show_bug.cgi?id=735122 gtk/gtkmenutrackeritem.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5c365b67c10f486bb9ea8cbe26de0da364be348f Author: Ryan Lortie Date: Wed Aug 20 15:42:42 2014 -0400 quartz menu: update visibility property name This property is called "is-visible" now, not "visible". https://bugzilla.gnome.org/show_bug.cgi?id=735122 gtk/gtkapplication-quartz-menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba22ae8cceb8d74bf50742d94cc887e15e4f232e Author: Carlos Garnacho Date: Sat Dec 13 18:02:29 2014 +0100 popover: Clamp tail gap limits by the tail height on that side All popover sides have extra margins to possibly hold the tail, this is accounted for in gtk_popover_get_rect_coords(), and should be accounted for too in the tail position calculation. This fixes the gtk_render_frame_gap() warnings seen when a popover is pushed far too close to window sides. gtk/gtkpopover.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 99791007a77abef9375c171c62592e4b3b397d24 Author: Carlos Garnacho Date: Sat Dec 13 17:05:56 2014 +0100 popover: Ensure there is a child before focusing it Fixes a warning in empty popovers being shown. gtk/gtkpopover.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit c118e51d5236ecc3a863ce619517b93c56cf72d1 Author: Matthias Clasen Date: Fri Dec 12 23:47:26 2014 -0500 inspector: Fix capitalization gtk/inspector/visual.ui | 2 +- gtk/inspector/visual.ui.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 31ccc372f078445da0b33bffadc8329209774597 Author: Matthias Clasen Date: Fri Dec 12 23:14:34 2014 -0500 inspector: Add a cursor theme control gtk/inspector/visual.c | 106 +++++++++++++++++++++++++++++++++++++++++++++- gtk/inspector/visual.ui | 79 ++++++++++++++++++++++++++++++++++ gtk/inspector/visual.ui.h | 2 + 3 files changed, 185 insertions(+), 2 deletions(-) commit b1e7106ff3b90cf50cea0c5dc3d3f60d14d3f508 Author: Matthias Clasen Date: Fri Dec 12 22:48:44 2014 -0500 Adwaita: Fix sidebar undershoot The undershoot rendering in the gtk-demo sidebar was inheriting unwanted background. Prevent that. gtk/theme/Adwaita/_common.scss | 4 + gtk/theme/Adwaita/gtk-contained-dark.css | 207 ++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 211 ++++++++++--------------------- 3 files changed, 135 insertions(+), 287 deletions(-) commit 1cb3734924cf09d38253878b6e3ec842afeaa4f3 Author: Benjamin Otte Date: Sat Dec 13 03:41:33 2014 +0100 stylecontext: Make sure we always clear the cache when the CSS changes After b49c7c34214da2d8d5e6dae2e8d0b0fe1b23f68e we were no longer doing a full revalidate after GTK_CSS_CHANGE_SOURCE changes. This fixes spurious failures of widgets not properly updating when changing the theme. gtk/gtkstylecontext.c | 2 ++ 1 file changed, 2 insertions(+) commit 0dfbcd60c9e830aa5e8a4f880b3910aa1f88a323 Author: Matthias Clasen Date: Fri Dec 12 16:50:19 2014 -0500 Whitespace fixes gtk/gtkiconcachevalidator.c | 178 ++++++++++++++++++------------------ gtk/updateiconcache.c | 216 ++++++++++++++++++++++---------------------- 2 files changed, 197 insertions(+), 197 deletions(-) commit b6acc8f2c572f72d5c24217e604b7295ff5d9ddf Author: Jasper St. Pierre Date: Fri Dec 12 17:39:46 2014 -0800 actions: Fix compile warning gtk/inspector/actions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ce3d32ff4310713eb211c06f491d248a8bddb573 Author: Jasper St. Pierre Date: Fri Dec 12 17:38:27 2014 -0800 Update git.mk This fixes the .deps of subdirs (a11y, deprecated, inspector) not showing up in .gitignore. git.mk | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit 4c0b2087c682a3fe2d0f1854cbe11a2796e783c0 Author: Jasper St. Pierre Date: Fri Dec 12 17:32:02 2014 -0800 gdk: Emit stamp-gc-h in the correct directory gdk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d296a77fdc6dcbb70c2d5af21cdf830a3acc88a4 Author: Yosef Or Boczko Date: Fri Dec 12 12:32:51 2014 +0200 Updated Hebrew translation po/he.po | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d266cbd622b8289f75635dff4cb90b182dd5ddad Author: Yosef Or Boczko Date: Fri Dec 12 12:30:59 2014 +0200 Updated Hebrew properties translation po-properties/he.po | 1301 ++++++++++++++++++++++++++------------------------- 1 file changed, 671 insertions(+), 630 deletions(-) commit 03999fba36e9042b24c915aef817c53950a10d45 Author: Yosef Or Boczko Date: Fri Dec 12 12:30:43 2014 +0200 Updated Hebrew translation po/he.po | 886 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 475 insertions(+), 411 deletions(-) commit f9c5799c82c7f683f699e2f08302683bcef99641 Author: Matthias Clasen Date: Thu Dec 11 22:52:59 2014 -0500 GtkFileChooser: Don't crash if invisible files are deleted This is a crash that has been around for a long time, as can be seen here: https://bugzilla.redhat.com/show_bug.cgi?id=1048388 https://bugzilla.redhat.com/show_bug.cgi?id=984375 https://bugzilla.redhat.com/show_bug.cgi?id=1159015 https://bugzilla.redhat.com/show_bug.cgi?id=1059187 https://bugzilla.redhat.com/show_bug.cgi?id=1122172 https://bugzilla.redhat.com/show_bug.cgi?id=1016895 https://bugzilla.redhat.com/show_bug.cgi?id=1133235 https://bugzilla.redhat.com/show_bug.cgi?id=1077500 https://bugzilla.redhat.com/show_bug.cgi?id=1054378 https://bugzilla.redhat.com/show_bug.cgi?id=1173212 Fix suggested by Benjamin Otte. gtk/gtkfilesystemmodel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 661da5558c14520070174b0fd65f1a9c508f4ca4 Author: Christian Hergert Date: Thu Dec 11 15:25:41 2014 -0800 widget: add helpers to resolve GActionGroups available to GtkWidget These functions, while added for use by the GTK inspector, are generally useful to applications that need to resolve what action groups are available to a particular GtkWidget. https://bugzilla.gnome.org/show_bug.cgi?id=741386 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkactionmuxer.c | 4 ++-- gtk/gtkactionmuxer.h | 2 +- gtk/gtkwidget.c | 43 +++++++++++++++++++++++++++++++----- gtk/gtkwidget.h | 7 ++++++ gtk/gtkwidgetprivate.h | 3 --- gtk/inspector/actions.c | 4 ++-- gtk/inspector/prop-editor.c | 2 +- 8 files changed, 52 insertions(+), 15 deletions(-) commit ab5b0d098365c5fb156959d16edecfccf2cc61c2 Author: Matthias Clasen Date: Thu Dec 11 14:49:20 2014 -0500 Make the undershoot area larger As requested by the artists, double the size from 20 to 40. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf0aba14e7b19baf394213057251e80c1cfaf647 Author: Lapo Calamandrei Date: Thu Dec 11 15:35:38 2014 +0100 Adwaita: tweak treeview dnd drop target gtk/theme/Adwaita/_common.scss | 4 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) commit 6420f0516a062a03a2df62ae46cacc78c0a3b7dc Author: Lapo Calamandrei Date: Thu Dec 11 13:43:41 2014 +0100 Adwaita: undershoot tweaks, more work needed. gtk/theme/Adwaita/_common.scss | 23 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 217 +++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 217 +++++++++++++++++++++---------- 3 files changed, 312 insertions(+), 145 deletions(-) commit 17be8c3eb15bf1449e46142c19f21ce95cf70854 Author: Matthias Clasen Date: Thu Dec 11 00:18:32 2014 -0500 Adwaita: Draw drag highlight around treeview rows This got lost somewhere. https://bugzilla.gnome.org/show_bug.cgi?id=741314 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 3e9067ce1c602dfff0d1450be52e9cabef869f79 Author: Benjamin Otte Date: Thu Dec 11 12:45:20 2014 +0100 cssselector: Reserve more bits for enum Apparently some compilers make enums an int and then we get negative values. https://bugzilla.gnome.org/show_bug.cgi?id=741375 gtk/gtkcssselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 23c5f1139109f2385ad2e393de59375c3ed7ca16 Author: Matthias Clasen Date: Wed Dec 10 22:47:16 2014 -0500 inspector: Make header buttons as !focus-on-click Moving the focus to the header bar is unexpected and disruptive, so don't do it. gtk/inspector/window.c | 1 + gtk/inspector/window.ui | 6 ++++++ 2 files changed, 7 insertions(+) commit c5b7f9f11c4e23cc6717500127a475ff591a1197 Author: Matthias Clasen Date: Wed Dec 10 22:41:45 2014 -0500 inspector: Make sure something is focusable on the stats page Without this, the focus will not be inside the top_stack when we switch to the statistics page and it shows the excuse. This in turn will make the next page not take focus as expected when switching away from the statistics page again. gtk/inspector/statistics.ui | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 18799d22cf152ebd23c4331bd820a9ea85fb08c6 Author: Matthias Clasen Date: Wed Dec 10 22:39:50 2014 -0500 inspector: Fix focus in css editor Give the text view initial focus, so things work as expected when switching to the css editor for the first time. gtk/inspector/css-editor.ui | 1 + 1 file changed, 1 insertion(+) commit 123c6dc5586dd19d04055cc329e6507d602c869a Author: Matthias Clasen Date: Wed Dec 10 22:32:45 2014 -0500 GtkStack: Improve focus handling Add notebook-like focus handling: Keep track of the last focused descendent of each page, and focus it again when switching back to the page. If there is no last focused child, we move the focus into the page as if the user had hit Tab. gtk/gtkstack.c | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) commit 5dd6ad0057a38b6257d40903ec5a3e26f1068f11 Author: Matthias Clasen Date: Wed Dec 10 21:08:08 2014 -0500 Typo fix gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f50d1b2584b2d925d2e0f5dc7dba4460c058bd68 Author: Matt Watson Date: Wed Dec 3 00:24:43 2014 -0800 GtkEntryCompletion: fix sizing bug with multiple cells When using a completion with some custom cells in the cell layout, if would often size wrong when first presented on screen. The entry completion is the only place in the entire gtk code base that calls gtk_tree_view_column_cell_get_size outside of gtktreeview itself. It calls into the function before the tree view has done some important validation on its cell state, the net result of which is only the first element in the gtkcellareabox the entry completion uses well actually have its size respected. We now call gtk_widget_get_preferred_size on the tree view before calling into the individual cell size routines, to guarantee that the tree view has run its validate_rows routine and cell state is valid. https://bugzilla.gnome.org/show_bug.cgi?id=741130 gtk/gtkentrycompletion.c | 6 ++++++ 1 file changed, 6 insertions(+) commit a083809b937e6714ff9259e53ff28d659fb427e2 Author: Matthias Clasen Date: Fri Nov 28 17:20:23 2014 -0500 GtkScrolledWindow: Take border into account Use the new scrollable API for getting non-scrollable borders and draw over/undershoot at the right place. In practice, this means that they now appear below treeview headers. gtk/gtkscrolledwindow.c | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) commit 94310506182cf7acf0738f76fe8e96aa322114b2 Author: Matthias Clasen Date: Wed Dec 10 06:48:56 2014 -0500 GtkTreeView: Implement get_border Add an implementation for the new scrollable vfunc that returns the header height as top border. gtk/gtktreeview.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 6f2fff56fbb44f064d25ee65fb12f602b0fef965 Author: Matthias Clasen Date: Wed Dec 10 06:45:21 2014 -0500 Add a gtk_scrollable_get_border Add a vfunc to return a non-scrollable border around scrollables. This would be nicer as a property, but we can't add properties to an interface without breaking 3rd party implementations, so make this an optional vfunc, and handle it not being set. docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkscrollable.c | 28 ++++++++++++++++++++++++++++ gtk/gtkscrollable.h | 8 ++++++++ 3 files changed, 37 insertions(+), 1 deletion(-) commit 691c96db2a0041ef1f3eecb5d0bf00b6c67c6cdf Author: Matthias Clasen Date: Wed Dec 10 10:00:45 2014 -0500 Adwaita: Initial theming for scrollable indication This just uses a narrow shadow for now. gtk/theme/Adwaita/_common.scss | 19 ++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 61 +++++++++++++++++++------------- gtk/theme/Adwaita/gtk-contained.css | 61 +++++++++++++++++++------------- 3 files changed, 93 insertions(+), 48 deletions(-) commit b73578f95dbaf2a730ff7241e8a03d14ce6a0ff3 Author: Matthias Clasen Date: Wed Dec 10 10:00:21 2014 -0500 Add a scrollable indication Draw a themable indication when an edge of a scrolled window is hiding some content that can be scrolled in. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkscrolledwindow.c | 68 +++++++++++++++++++++++++++++++++++- gtk/gtkstylecontext.h | 10 ++++++ 3 files changed, 78 insertions(+), 1 deletion(-) commit 45d0a5cc4be85e9e2a62f165feb30ad3da7bb67c Author: Matthias Clasen Date: Tue Dec 9 23:41:28 2014 -0500 Trivial formatting fix && goes at the end of the line in GTK+ coding style. gtk/gtkbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8463d0ee62b4b22fa1eefd905a91850b10504229 Author: Matthias Clasen Date: Tue Dec 9 22:56:19 2014 -0500 GtkMenuPositionFunc: Correct annotations x and y are inout, not just out. https://bugzilla.gnome.org/show_bug.cgi?id=674537 README.in | 5 +++++ gtk/gtkmenu.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit b49c7c34214da2d8d5e6dae2e8d0b0fe1b23f68e Author: Benjamin Otte Date: Tue Dec 9 19:31:17 2014 +0100 styleprovider: Fold get_change() vfunc into lookup() gtk/deprecated/gtkstyleproperties.c | 12 +++------ gtk/gtkcssprovider.c | 26 +++++++----------- gtk/gtkmodifierstyle.c | 17 +++--------- gtk/gtksettings.c | 9 ------- gtk/gtkstylecascade.c | 37 +++++-------------------- gtk/gtkstylecontext.c | 54 +++++++++++++------------------------ gtk/gtkstyleproviderprivate.c | 25 +++++------------ gtk/gtkstyleproviderprivate.h | 10 +++---- 8 files changed, 53 insertions(+), 137 deletions(-) commit 14f5ce710856708dc80fcc98cb5eb2ba257f34ad Author: Benjamin Otte Date: Tue Dec 9 05:26:52 2014 +0100 cssselector: Rewrite change computation We know that non-simple selectors cause a transition to the all matcher, so just assume the all matcher from that point on. gtk/gtkcssselector.c | 256 +++++++++------------------------------------------ 1 file changed, 41 insertions(+), 215 deletions(-) commit e2dddd62cf28edefddb5d2d2585d16a75e392c56 Author: Benjamin Otte Date: Tue Dec 9 03:21:13 2014 +0100 cssselector: Redo change verification Instead of walking the selector tree, we walk the selectors. gtk/gtkcssprovider.c | 2 +- gtk/gtkcssselector.c | 25 ++++++++----------------- gtk/gtkcssselectorprivate.h | 2 +- 3 files changed, 10 insertions(+), 19 deletions(-) commit 5885950018f7e2035fbb895ef456f8bd375eb27f Author: Benjamin Otte Date: Tue Dec 9 02:59:14 2014 +0100 cssselector: Implement tree_match() using foreach_matcher() gtk/gtkcssselector.c | 163 +++++++-------------------------------------------- 1 file changed, 22 insertions(+), 141 deletions(-) commit ad74fd9d7f66ddf1bee129a1f3d76010de8edfde Author: Benjamin Otte Date: Tue Dec 9 00:35:55 2014 +0100 cssselector: Introduce a foreach_matcher vfunc This vfunc iterates over all matchers of a selector and allows to write functions like the match function in a generic way using foreach. gtk/gtkcssselector.c | 140 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 100 insertions(+), 40 deletions(-) commit 8a8f34b2db77942e60ed80351a17059e9ff02027 Author: Benjamin Otte Date: Mon Dec 8 18:48:24 2014 +0100 cssselector: Add a match_one vfunc It allows a default implementation of the match() and tree_match() functions. gtk/gtkcssselector.c | 119 ++++++++++++++++++++++----------------------------- 1 file changed, 52 insertions(+), 67 deletions(-) commit cab05f2b63307dcb23a5be09a56fd0c9b2d41ee8 Author: Benjamin Otte Date: Mon Dec 8 06:56:26 2014 +0100 cssselector: Introduce a few more default functions gtk/gtkcssselector.c | 116 ++++++++++++--------------------------------------- 1 file changed, 26 insertions(+), 90 deletions(-) commit 06b0b47d04a5fd91ba25aaabc85795bbdeaa4b0b Author: Benjamin Otte Date: Mon Dec 8 06:46:38 2014 +0100 cssselector: Make specificity handling a vfunc The new region selector tracks more than just one soimple selector, so it requires some more advanced specificity tracking. Technically, this is still not correct, because it will report the same specificity for tab:sorted and tab:sorted:sorted (and the second selector will be printed as the first) but this is regions, so meh. gtk/gtkcssselector.c | 85 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 66 insertions(+), 19 deletions(-) commit 371a60185860e6c285f28b786b2b987119dd700b Author: Benjamin Otte Date: Mon Dec 8 06:22:33 2014 +0100 cssselector: Remove unused variable The variable is FALSE for every class now. gtk/gtkcssselector.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit 73823181d3a2b7d6657e5e6ea5bf962fb9eb4451 Author: Benjamin Otte Date: Mon Dec 8 06:17:56 2014 +0100 cssselector: Handle region selector like any selector Instead of doing the previous match magic itself, use the DESCENDANT_FOR_REGION hack and let that one do the magic. gtk/gtkcssselector.c | 58 +++++++++++----------------------------------------- 1 file changed, 12 insertions(+), 46 deletions(-) commit 284ccdac452be3234bbf8628a456c667bba8cdf1 Author: Benjamin Otte Date: Mon Dec 8 06:08:30 2014 +0100 cssselector: Use simple class macro for * selector As a side effect, the :not(*) selector needs to be renamed because the macro chooses a different name for it. gtk/gtkcssselector.c | 130 ++++++--------------------------------------------- 1 file changed, 13 insertions(+), 117 deletions(-) commit 528691f5b323c342c7075c335b1b2a7cfc410b63 Author: Benjamin Otte Date: Mon Dec 8 05:55:36 2014 +0100 cssselector: Introduce descendant matcher for regions This is just a way to handle regions more conveniently. What this does is to change the descendant matcher into a maybe-descendant matcher whenever the current object we're parsing might be a region. Because "*" might also refer to a region and not just a new element. See testsuite/reftests/css-match-region-matches-star.ui for a testcase. gtk/gtkcssselector.c | 165 +++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 127 insertions(+), 38 deletions(-) commit 8b3f25ab963c8b3b4af3dacea0a54455bbb07865 Author: Benjamin Otte Date: Mon Dec 8 05:42:11 2014 +0100 cssselector: Support :not() for position pseudoclasses This is simple now that the latest commit used the macro and autogenerates the SelectorClass to use. gtk/gtkcssselector.c | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) commit 88f28aee4f9ba6befa10e99136719549443b455b Author: Benjamin Otte Date: Mon Dec 8 05:39:01 2014 +0100 cssselector: Use simple macro for position pseudoclass This is possible now that the region-specific code is gone. gtk/gtkcssselector.c | 82 ++++++++-------------------------------------------- 1 file changed, 12 insertions(+), 70 deletions(-) commit 28e80aa40b473cf9c875da8810c6c2218947b5b7 Author: Benjamin Otte Date: Mon Dec 8 03:06:21 2014 +0100 cssselector: Handle region flags during parse When parsing a selector like tab:active We used to create 2 selector objects, one for the region, and one for the pseudoclass. Now, for convenience, we special-case region pseudoclass parsing so that the active flag is added to the region selector. A side effect is that ":nth-child(1)" no longer works for regions. Hopefully people didn't use this but used the saner ":first-child" instead. gtk/gtkcssselector.c | 248 +++++++++++++++++---------------------------------- 1 file changed, 81 insertions(+), 167 deletions(-) commit 272a0083a38b826ee69703a77a10b32650d67a6a Author: Benjamin Otte Date: Sat Dec 6 14:01:02 2014 +0100 cssselector: Turn into a union Instead of just keeping a gpointer data, make GtkCssSelector a union that has actual proper members. gtk/gtkcssselector.c | 332 ++++++++++++++++++++------------------------ gtk/gtkcssselectorprivate.h | 2 +- 2 files changed, 155 insertions(+), 179 deletions(-) commit 03aabcff149054e1d47ae1cadcdb0c1c8c175e0b Author: Benjamin Otte Date: Sat Dec 6 01:00:10 2014 +0100 cssselector: Introduce a hash func per selector This is unnecessary itself, but useful in preparation for further commits. gtk/gtkcssselector.c | 113 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 100 insertions(+), 13 deletions(-) commit 80a8b793e010bd4dff03c5de7dbc320c4801c0d1 Author: Benjamin Otte Date: Thu Dec 4 03:42:50 2014 +0100 cssselector: Inline a function gtk/gtkcssselector.c | 54 ++++++++++++++++++++++++---------------------------- 1 file changed, 25 insertions(+), 29 deletions(-) commit 972ea14ef62fe69a1ec9723fdaf4a87bdd77c4e9 Author: Matthias Clasen Date: Tue Dec 9 20:36:03 2014 -0500 GtkStackSwitcher: Don't take focus on click Moving the focus to the stack switcher buttons is never what is wanted here. gtk/gtkstackswitcher.c | 1 + 1 file changed, 1 insertion(+) commit cf4afd0e934e19798c8e29b150ac0f583c46527c Author: Matthias Clasen Date: Tue Dec 9 18:27:57 2014 -0500 inspector: Don't force-switch to the objects tab We used to switch to the objects tab when an object is picked, but now may have two places with picker buttons: the objects tab and the interactive tab. So, just don't do that anymore. gtk/inspector/inspect-button.c | 2 -- 1 file changed, 2 deletions(-) commit 702b647d4e18b20b1b8056f584a80f9c37bddb83 Author: Matthias Clasen Date: Tue Dec 9 18:22:12 2014 -0500 inspector: Allow extensions to request a picker Look for a 'use-picker' property on the extension page and add a picker button to the header bar if says so. gtk/inspector/window.c | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) commit 44bf61baac4954af95149fb14e70016c0f24e708 Author: Matthias Clasen Date: Tue Dec 9 18:17:01 2014 -0500 inspector: Another indentation fix gtk/inspector/inspect-button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 536b10800f8e2463905c20f4d7f2bd39bf301e1d Author: Matthias Clasen Date: Tue Dec 9 17:49:23 2014 -0500 inspector: Reindent ui file gtk/inspector/window.ui | 208 ++++++++++++++++++++++++------------------------ 1 file changed, 104 insertions(+), 104 deletions(-) commit 1ed5bd07bbe61f8cff5ca122e94d90c8ec97075c Author: Matthias Clasen Date: Tue Dec 9 00:41:11 2014 -0500 Make gtk_tree_model_foreach robust Make gtk_tree_model_foreach safe for callbacks that modify the model, even if the model does not have persistent iters. https://bugzilla.gnome.org/show_bug.cgi?id=722781 gtk/gtktreemodel.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 54e3711c390716e7df96c16ef6b0a81858fe99f5 Author: Matthias Clasen Date: Tue Dec 9 00:22:56 2014 -0500 Don't compare booleans Just use negation. gtk/gtktreemodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb8791cd16bf604641e204f009fc258dd8ecc7b5 Author: Christian Hergert Date: Mon Dec 8 20:19:23 2014 -0800 window: fallback to window muxer if no widget has focus This ensures that we can still match accelerators for the window even if no widget currently has focus. gtk/gtkwindow.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 235837ad4932e60f46db97934be1dfb5200e185e Author: Carlos Soriano Date: Wed Dec 3 15:53:59 2014 +0100 gtkwindow: Use actions from focused widget to activate accel Currently we only take into account the window GActionGroup for activating the accels. However, the application could have some custom GActionGroup in the chain of focused widgets that could want to activate some action if some accel is activated while that widget is focused. To allow applications to set accels on widgets that use custom GActionGroups, simply use the muxer of the focused widget, which already contains the actions of the parents. https://bugzilla.gnome.org/show_bug.cgi?id=740682 gtk/gtkactionhelper.c | 2 +- gtk/gtkmenusectionbox.c | 2 +- gtk/gtkmenushell.c | 2 +- gtk/gtkwidget.c | 59 ++++++++++++++++++++++++++++--------------------- gtk/gtkwidgetprivate.h | 3 ++- gtk/gtkwindow.c | 7 +++++- 6 files changed, 45 insertions(+), 30 deletions(-) commit 17fec70022c30695ca9a1cbaab4494f92668a317 Author: Matthias Clasen Date: Mon Dec 8 19:34:23 2014 -0500 Fix another header guard oversight Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741252 tests/variable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f96353964a2012f03a7b736c0c84967c8310394 Author: Matthias Clasen Date: Mon Dec 8 19:31:56 2014 -0500 Fix some oversights with header guards Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741254 gdk/broadway/gdkeventsource.h | 6 +++--- gdk/gdkenumtypes.h.template | 6 +++--- gdk/gdkframeclock.h | 6 +++--- gdk/gdkframetimings.h | 6 +++--- gdk/x11/gdkeventsource.h | 6 +++--- gtk/gtkplacessidebar.h | 7 ++++--- gtk/gtktypebuiltins.h.template | 6 +++--- 7 files changed, 22 insertions(+), 21 deletions(-) commit 2d6ae59d7f0d1bf396e7544d7f211f26bebba074 Author: Alexander Larsson Date: Mon Dec 1 15:37:05 2014 +0100 Inspector: Support extending the inspector using GIOModules This allows external modules to add a page to the Gtk Inspector. https://bugzilla.gnome.org/show_bug.cgi?id=740983 gtk/inspector/init.c | 24 +++++++++++++++++++++++- gtk/inspector/window.c | 40 ++++++++++++++++++++++++++++++++++++++++ gtk/inspector/window.h | 3 +++ 3 files changed, 66 insertions(+), 1 deletion(-) commit eed1831caf93b790b9366b40e0dc4337c7f5abfd Author: Matthias Clasen Date: Mon Dec 8 15:39:15 2014 -0500 Trivial off-by-one fix We have a tenth example. examples/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c7e5039c784a43e884b3ae3a7ce7e5d59111a56 Author: Matthias Clasen Date: Mon Dec 8 15:38:41 2014 -0500 Drop a few unneeded ifs It does not hurt to pass NULL to g_list_free(). gtk/gtkappchooserwidget.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) commit 5047d503f38346cd6eb2506aaa78953893656b03 Author: Muhammet Kara Date: Mon Dec 8 19:38:02 2014 +0000 Updated Turkish translation po/tr.po | 9740 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 6256 insertions(+), 3484 deletions(-) commit 2a138692369905f3d5bfe99211612910e028c4ee Author: Muhammet Kara Date: Mon Dec 8 19:20:34 2014 +0000 Updated Turkish translation po-properties/tr.po | 8827 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 5583 insertions(+), 3244 deletions(-) commit 64fd964703b95dc7d46f7a08eb7753cb914f4c83 Author: Matthias Clasen Date: Mon Dec 8 09:16:24 2014 -0500 GtkWidget: Don't return FALSE as a pointer Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741251 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3e37abb3873ae880b4075be202bfad58cb2bbf5 Author: Matthias Clasen Date: Mon Dec 8 09:15:07 2014 -0500 GtkPlacesSidebar: Don't return FALSE as a pointer Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741250 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3fbf29f174ff43988f5dee358d4cc08589e6c17 Author: Matthias Clasen Date: Mon Dec 8 09:13:57 2014 -0500 GtkMenuTracker: Don't return FALSE as a pointer Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=741249 gtk/gtkmenutracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8c3f04e75448b9d5f5fa3decfe66d811306142cf Author: Matthias Clasen Date: Mon Dec 8 06:39:19 2014 -0500 GtkEntry: Refresh when activity ends We need to queue a redraw when pulse mode is ended by setting a fraction. Noticed in gtk3-demo's search entry demo. gtk/gtkentry.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 5d3aa54a8ada0aa142eaddbf0e28586482db3f97 Author: Kjell Ahlstedt Date: Fri Apr 11 18:52:39 2014 +0200 docs: Explain 'icon theme context' better in gtkicontheme.c Add links from gtk_icon_theme_list_contexts() to gtk_icon_theme_list_icons(), and from there to the Icon Theme Specification and the Icon Naming Specification. https://bugzilla.gnome.org/show_bug.cgi?id=461249 gtk/gtkicontheme.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit f74a75ae7e256b6cadf38b9aff863176f4de5e79 Author: Matthias Clasen Date: Sun Dec 7 23:28:52 2014 -0500 Handle KP keys in copy/paste keybindings We currently handle KP variants of some keys, but not consistenly. https://bugzilla.gnome.org/show_bug.cgi?id=364566 gtk/gtkentry.c | 7 +++++++ gtk/gtktextview.c | 7 +++++++ 2 files changed, 14 insertions(+) commit 6b26464fbb334ef723c1783c8a62b0c091f592b4 Author: Phillip Wood Date: Sun Dec 22 18:17:32 2013 +0000 Editable cells demo: Add new row at cursor Adding rows to the bottom of the list is confusing as you cannot see them if the window is small so it is not apparent that anything has happened. Fix this by adding the new row immediately below the current row and set the cursor on the new row so it is ready to be edited. https://bugzilla.gnome.org/show_bug.cgi?id=721939 demos/gtk-demo/editable_cells.c | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) commit 06745bc0aadf04a17d9433e0c150eb5f91d1adb5 Author: Matthias Clasen Date: Sun Dec 7 18:12:46 2014 -0500 Add a note to the ::destroy docs Clarify that ::destroy is not suitable for saving widget state. https://bugzilla.gnome.org/show_bug.cgi?id=710793 gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 3276bae057d13b33e193a46b51d5539633f72b01 Author: Trần Ngọc Quân Date: Sun Dec 7 15:06:11 2014 +0700 Updated Vietnamese translation Signed-off-by: Trần Ngọc Quân po/vi.po | 9024 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 4579 insertions(+), 4445 deletions(-) commit c55c18c23e58885003039484fd3d4d22b783bc3e Author: Emmanuele Bassi Date: Sat Dec 6 13:30:24 2014 +0000 examples: Fix clean rule in stand alone Makefiles Remove all the built files, including the exampleapp binary. examples/application1/Makefile.example | 2 +- examples/application10/Makefile.example | 3 ++- examples/application2/Makefile.example | 1 + examples/application3/Makefile.example | 1 + examples/application4/Makefile.example | 1 + examples/application5/Makefile.example | 3 ++- examples/application6/Makefile.example | 3 ++- examples/application7/Makefile.example | 3 ++- examples/application8/Makefile.example | 3 ++- examples/application9/Makefile.example | 3 ++- 10 files changed, 16 insertions(+), 7 deletions(-) commit f718bc9bc92c2d0a87a320e333766fa4f67767e5 Author: Emmanuele Bassi Date: Sat Dec 6 13:25:01 2014 +0000 examples: Add stand alone Makefile for application10 Missed out on the last application examples. examples/application10/Makefile.example | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit a4e827e4bfba11dd34bababc78c013566b605aa0 Author: Ankita Patil Date: Thu Nov 6 17:46:02 2014 +0530 GtkEntry: Added gtk_entry_grab_focus_without_selection() Providing a way to focus an entry without selecting its contents. https://bugzilla.gnome.org/show_bug.cgi?id=735838 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkentry.c | 22 ++++++++++++++++++++++ gtk/gtkentry.h | 3 +++ 3 files changed, 26 insertions(+) commit 45bed11272d5a3cdbc7e5be314271bd921338ae3 Author: Matthias Clasen Date: Fri Dec 5 21:24:43 2014 -0500 GtkTextTag: Add two missing property set cases These were overlooked when adding ::fallback and ::letter-spacing recently. gtk/gtktexttag.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit e1716611bd6affa0b5cedbf5174f707bb2e39dce Author: Matthias Clasen Date: Fri Dec 5 20:05:46 2014 -0500 Update docs Document new fields in GtkTextAttributes, remove redundant comments. gtk/gtktextattributes.h | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) commit 888304b172a74cfd6be7be527b540c839c5e1336 Author: Matthias Clasen Date: Fri Dec 5 19:58:23 2014 -0500 Minor documentation fixes gtk/gtktextiter.c | 50 +++++++++++++++++++++++++------------------------- gtk/gtktextview.c | 2 +- 2 files changed, 26 insertions(+), 26 deletions(-) commit 28497075c79147e63482cd812155d04f4ec23c86 Author: Matthias Clasen Date: Fri Dec 5 19:29:39 2014 -0500 Raleigh: Fix css for active notebook tabs This was not kept up-to-date when we changed notebootk tab rendering. https://bugzilla.gnome.org/show_bug.cgi?id=741185 gtk/theme/Raleigh/gtk-default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0504328bd85cc674c011516e1442b3f50118e932 Author: Carlos Soriano Date: Thu Dec 4 16:21:46 2014 +0100 gtkscale: Draw smaller marks As a design request, use smaller marks. https://bugzilla.gnome.org/show_bug.cgi?id=741117 gtk/gtkscale.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit eec9a743041cbecd33bdacfdf01e148600091189 Author: Carlos Soriano Date: Fri Dec 5 11:09:56 2014 +0100 widget-factory: Add a discontinuous GtkScale with marks So designers can tweak the marks and developers can see how a discontinuos scale is implemented. https://bugzilla.gnome.org/show_bug.cgi?id=741117 demos/widget-factory/widget-factory.ui | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) commit 042117b7bfaad63fad44a1b37506b55e9b79c8ce Author: Matthias Clasen Date: Thu Dec 4 23:28:33 2014 -0500 Add epoxy to GTK_PRIVATE_PACKAGES We are using epoxy api in GtkGLArea, so we need to link against it. https://bugzilla.gnome.org/show_bug.cgi?id=740162 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 39c0ba59bc82ff6763bd1d76490816fd0c9c2d7d Author: Matthias Clasen Date: Thu Dec 4 22:26:14 2014 -0500 places sidebar: Fix the sort function When returning 1 for a pair (a,b), a sort function must return -1 for the pair (b,a), otherwise things can go badly. https://bugzilla.gnome.org/show_bug.cgi?id=739729 gtk/gtkplacessidebar.c | 4 ++++ 1 file changed, 4 insertions(+) commit 8718e9296e381f7f4a894f0430c07c27dd02d98e Author: Debarshi Ray Date: Tue Nov 11 19:02:22 2014 +0100 file-chooser: Don't wait for ENTER to initiate search Most of the core GNOME applications (eg., gnome-control-center, gnome-documents, and nautilus) start searching as soon as the text changes, and don't wait for the user to hit ENTER. It would be nice to follow the same pattern. https://bugzilla.gnome.org/show_bug.cgi?id=739977 gtk/ui/gtkfilechooserwidget.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d4bcf55a520bd77fda4de4ef824eb9485b24d58 Author: Matthias Clasen Date: Thu Dec 4 00:08:30 2014 -0500 Allow inserting Pango markup in text buffers This has been a very long-standing feature request. https://bugzilla.gnome.org/show_bug.cgi?id=59390 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtktextbuffer.c | 179 +++++++++++++++++++++++++++++++++++ gtk/gtktextbuffer.h | 6 ++ 3 files changed, 186 insertions(+) commit d184088cae96e0d05f96c923167b260e7832d82e Author: Matthias Clasen Date: Wed Dec 3 23:13:13 2014 -0500 GtkTextView: Add fallback and letter-spacing support Add support for the Pango attributes controlling font fallback and letter spacing to GtkTextTag. https://bugzilla.gnome.org/show_bug.cgi?id=740954 gtk/gtktextattributes.c | 12 +++++++-- gtk/gtktextattributes.h | 6 ++++- gtk/gtktextlayout.c | 18 +++++++++++++ gtk/gtktexttag.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtktexttagprivate.h | 2 ++ 5 files changed, 107 insertions(+), 3 deletions(-) commit d0b7ccc2c532baec1eb0ef2b3e882a2e0ce1a79e Author: Piotr Drąg Date: Wed Dec 3 15:31:23 2014 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 80 ++++++++++++++++++++++----------------------- 1 file changed, 40 insertions(+), 40 deletions(-) commit 66dfdc3cc297fb6148b48781e3b8a876d040fa4b Author: Jakub Steiner Date: Wed Dec 3 11:42:06 2014 +0100 HC: use child istead of descendant selectors for linking Since widgets subelements are now both widget childs and widget classes, say .spinbutton.button and .spinbutton .button, the linking logic needs to be adapted to be stricter with child selectors. This fixes vertically linked spinbuttons. gtk/theme/HighContrast/_common.scss | 22 +++++++++++----------- gtk/theme/HighContrast/gtk.css | 20 ++++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) commit 88a12fe777ba3cc0ff8c8c13bf0c3b990408c6be Author: Jakub Steiner Date: Tue Dec 2 15:00:30 2014 +0100 HC: sidebars and vertical toolbars with borders - the assumption for vertical toolbar being on the left is perhaps a little daring, but... https://bugzilla.gnome.org/show_bug.cgi?id=740859 gtk/theme/HighContrast/_common.scss | 20 ++++++++++++++++---- gtk/theme/HighContrast/gtk.css | 16 +++++++++++----- 2 files changed, 27 insertions(+), 9 deletions(-) commit 825ef99e17a74bb323d0af4af59bc2bcd078a3e0 Author: Lapo Calamandrei Date: Wed Dec 3 11:29:12 2014 +0100 Adwaita: use child istead of descendant selectors for linking Since widgets subelements are now both widget childs and widget classes, say .spinbutton.button and .spinbutton .button, the linking logic needs to be adapted to be stricter with child selectors. This fixes vertically linked spinbuttons. gtk/theme/Adwaita/_common.scss | 26 +++++++++++++------------- gtk/theme/Adwaita/gtk-contained-dark.css | 23 +++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 23 +++++++++++------------ 3 files changed, 35 insertions(+), 37 deletions(-) commit fbe4f94519e6aedfcb296ddfa7d9c5564791e4b1 Author: Chun-wei Fan Date: Tue Dec 2 15:57:17 2014 +0800 test/gtkgears.c: Fix Builds on Systems Without M_PI Use G_PI in place of M_PI to fix the build on compilers that do not have M_PI defined. https://bugzilla.gnome.org/show_bug.cgi?id=740795 tests/gtkgears.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 7717b0d556e623256cabfa0e83b41511bb21cb3b Author: Trinh Anh Ngoc Date: Tue Dec 2 22:09:21 2014 +0700 Add separator https://bugzilla.gnome.org/show_bug.cgi?id=741027 demos/icon-browser/window.ui | 5 +++++ 1 file changed, 5 insertions(+) commit 01c941b046f53c7e57128548661b9174c88fa8fa Author: Trinh Anh Ngoc Date: Tue Dec 2 21:27:23 2014 +0700 Remove icon view window shadow https://bugzilla.gnome.org/show_bug.cgi?id=741027 demos/icon-browser/window.ui | 1 - 1 file changed, 1 deletion(-) commit b6383f1507ca33c1d1f75ded12c08b71a9ba58d1 Author: Matthias Clasen Date: Tue Dec 2 20:06:33 2014 -0500 Reshuffle some docs docs/reference/gdk/gdk3-sections.txt | 6 +++--- docs/reference/gtk/gtk3-sections.txt | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) commit 5438e53f5cbd2775e01660c31cb36c6f0a1f070e Author: Matthias Clasen Date: Tue Dec 2 19:54:33 2014 -0500 Use resources for icons This fixes icons after the recent directory reshuffling, and is just the right thing to do, since these icons are in resources anyway. examples/bp/bloatpad.c | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 6f10ed2711646b103c2994fef4677337f47a0298 Author: Matthias Clasen Date: Tue Dec 2 19:13:24 2014 -0500 Improve action-namespace example This needs to have some space around the button for the popover to show up. examples/action-namespace.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 37a1e6cacb46bb7156da4a4ac90780ed2a986b20 Author: Emmanuele Bassi Date: Tue Dec 2 19:27:52 2014 +0000 docs: Mention the standalone Makefile for examples And point to the README file. https://bugzilla.gnome.org/show_bug.cgi?id=741041 docs/reference/gtk/getting_started.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 92f67715641efa115fd228bea6e1e47ce1944c77 Author: Emmanuele Bassi Date: Tue Dec 2 19:21:18 2014 +0000 docs: Add a README to the examples directory https://bugzilla.gnome.org/show_bug.cgi?id=741041 examples/README | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 3b2cf140a22d7779e9ccf9e88fc61e775004710f Author: Emmanuele Bassi Date: Tue Dec 2 19:15:03 2014 +0000 Add standalone Makefile for the examples We want to allow people to build the examples easily, without necessarily requiring them to build the whole of GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=741041 examples/application1/Makefile.example | 20 ++++++++++++++++++++ examples/application2/Makefile.example | 24 ++++++++++++++++++++++++ examples/application3/Makefile.example | 24 ++++++++++++++++++++++++ examples/application4/Makefile.example | 24 ++++++++++++++++++++++++ examples/application5/Makefile.example | 33 +++++++++++++++++++++++++++++++++ examples/application6/Makefile.example | 33 +++++++++++++++++++++++++++++++++ examples/application7/Makefile.example | 33 +++++++++++++++++++++++++++++++++ examples/application8/Makefile.example | 33 +++++++++++++++++++++++++++++++++ examples/application9/Makefile.example | 33 +++++++++++++++++++++++++++++++++ 9 files changed, 257 insertions(+) commit ccdcff94561802adc0e9633ddf59133a90621608 Author: Carlos Garnacho Date: Tue Dec 2 15:44:04 2014 +0100 popover: make smarter wrt previous focus widget lifetime If the previous focus widget is unmapped (eg. hidden, scheduled for destruction, etc), make the popover forget about it and grant focus back to the window itself. gtk/gtkpopover.c | 57 +++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 42 insertions(+), 15 deletions(-) commit af2ac29faf371f2eacbecaba534107eb6127d124 Author: Marco Trevisan (Treviño) Date: Tue Dec 2 14:59:47 2014 +0100 gdkgl: pass the correct number of quads to gdk_gl_texture_quads And call it only if that's the case gdk/gdkgl.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit cb3393f001b432cf863dc3d2e8eba63b5a8a6647 Author: Matthias Clasen Date: Tue Dec 2 08:29:24 2014 -0500 css: Avoid excessive shadow rendering The shadow rendering code had code to exit early if we determine that the shadow is entirely clipped away. Unfortunately, the check based on cairo clip extents fails for any clip regions that are more complicated than axis-aligned rectangles, and we are using a hollow rounded rectangle here. So, instead, do the check manually, using the just-introduced API in GtkRoundedBox. gtk/gtkcssshadowvalue.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 73e6a05e386b58fd6e38b0f14a7b4fb83c436d34 Author: Matthias Clasen Date: Tue Dec 2 08:26:36 2014 -0500 Add clipping apis to GtkRoundedBox This adds two functions for checking whether an axis-aligned rectangle is completely outside or inside of a rounded box. These are not trying to be exact, but fast. gtk/gtkroundedbox.c | 47 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkroundedboxprivate.h | 10 ++++++++++ 2 files changed, 57 insertions(+) commit 579c7f80a019ee7f8c672355be55c836b7ad7fa4 Author: Jasper St. Pierre Date: Mon Dec 1 18:01:18 2014 -0800 gtkwidget: Fix a typo preventing the CSD input shape from applying We were setting "csd-shade" but reading from "csd-region". gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8ec72dd2b121406cc627a3dc94e533f503985580 Author: Chun-wei Fan Date: Tue Dec 2 09:26:35 2014 +0800 Visual Studio Build: Update GTK DLL Build Flags As the print preview command is moved into the sources, don't define it in the preprocessor definitions. However, define the GTK_PRINT_BACKEND_ENABLE_UNSUPPORTED in the preprocessor definitions, to make the build in-line with the autotools builds. build/win32/vs10/gtk-build-defines.props | 2 +- build/win32/vs9/gtk-build-defines.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit bd71849e26bd6d72fe142f8ea74eeafaf0168431 Author: Matias De Lellis Date: Mon Dec 1 14:56:05 2014 -0600 GtkPlacesSidebar: Fix Home and Desktop on Windows. We were concatenating "file://" to the result of g_get_user_special_dir() to build a URI, but this is not enough on Windows. Use g_filename_to_uri() instead. See https://bugzilla.gnome.org/show_bug.cgi?id=739453 gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c1c68b409c31d4584362d44d68d24654eea482cf Author: Jakub Steiner Date: Mon Dec 1 19:06:02 2014 +0100 HC: clean up borders for buttons & entries https://bugzilla.gnome.org/show_bug.cgi?id=740860 gtk/theme/HighContrast/_common.scss | 215 ++++++++++++++++++++++------------- gtk/theme/HighContrast/_drawing.scss | 55 +++------ gtk/theme/HighContrast/gtk.css | 139 ++++++++++++---------- 3 files changed, 237 insertions(+), 172 deletions(-) commit 3eaaf12c049cc3b2d3ec2bd5dac787ca1f199906 Author: Jakub Steiner Date: Mon Dec 1 17:45:26 2014 +0100 HC: vertical linked buttons,entries & combos https://bugzilla.gnome.org/show_bug.cgi?id=740860 gtk/theme/HighContrast/_common.scss | 104 +++++++++++++++++++++++++- gtk/theme/HighContrast/gtk.css | 143 +++++++++++++++++++++++++++++++++++- 2 files changed, 242 insertions(+), 5 deletions(-) commit cf7851b94818d5369870a0c91dae71a8260d37ce Author: Jakub Steiner Date: Mon Dec 1 17:26:11 2014 +0100 HC: wide separator styling https://bugzilla.gnome.org/show_bug.cgi?id=740862 gtk/theme/HighContrast/_common.scss | 13 +++++++++++++ gtk/theme/HighContrast/gtk.css | 13 +++++++++++++ 2 files changed, 26 insertions(+) commit 5e71a49d5af995a571e5a24223a3c5b52486394f Author: Jakub Steiner Date: Mon Dec 1 15:39:19 2014 +0100 HC theme: more contrasty separators https://bugzilla.gnome.org/show_bug.cgi?id=740863 gtk/theme/HighContrast/_common.scss | 22 ++++------------------ gtk/theme/HighContrast/gtk.css | 15 ++++----------- 2 files changed, 8 insertions(+), 29 deletions(-) commit fb4073a60aae5cb58d9a86c86263a8c91615a1aa Author: Jakub Steiner Date: Mon Dec 1 12:33:23 2014 +0100 HC theme: implement scroll overshoot https://bugzilla.gnome.org/show_bug.cgi?id=740876 gtk/theme/HighContrast/_common.scss | 20 +++++++++ gtk/theme/HighContrast/_drawing.scss | 79 ++++++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 65 +++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+) commit e629aba1a2086506af4b17c24efa0d9ab7208f52 Author: Rui Matos Date: Mon Dec 1 18:24:27 2014 +0100 Drop remaining traces of GTK_UPDATE_ICON_CACHE build variable Commit 655c75cab791ea965e705e1b8518e6008d3a755f removed the need for this variable but left a couple of uses in. Drop them. demos/gtk-demo/Makefile.am | 2 +- demos/widget-factory/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit cf64f8a76ad0de7453de4fef8e31c435f1ddd9ea Author: Marco Trevisan (Treviño) Date: Mon Dec 1 18:05:30 2014 +0100 mir: don't initialize the display if the required pixel formats aren't available gdk/mir/gdkmirdisplay.c | 74 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 48 insertions(+), 26 deletions(-) commit 83d8f9b92931933e981893dff956bd87ab80a2b1 Author: Matthias Clasen Date: Mon Dec 1 10:03:33 2014 -0500 Update release notes Mention that --enable-gtk2-dependency is gone. README.in | 3 +++ docs/reference/gtk/building.sgml | 18 ------------------ 2 files changed, 3 insertions(+), 18 deletions(-) commit 4d7369d1a82f6d09a80f38f54bc36a49699557b2 Author: Benjamin Otte Date: Mon Dec 1 15:38:26 2014 +0100 inspector: Properly update flashing hilight Previously, the inspector would not change the hilight while the previous hilight was still flashing. This is inconvenient while arrowing through the object selection treeview though where you want the currently selected row to hilight when arrowing quickly. gtk/inspector/inspect-button.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 0b2bded110aab9c1282d2219768086155a92fae4 Author: Marek Kasik Date: Fri Nov 28 15:25:42 2014 +0100 printing: Don't crop dimensions of layout preview Enlarge area for drawing of layout preview in the print dialog so that it can embody landscape preview with dimensions. https://bugzilla.gnome.org/show_bug.cgi?id=730232 gtk/ui/gtkprintunixdialog.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e355eff2bcdcf6d04e74642df9bcf0121a235e52 Author: Lapo Calamandrei Date: Mon Dec 1 10:14:47 2014 +0100 Adwaita: scss cosmetic fixes gtk/theme/Adwaita/_common.scss | 79 +++++++++++++++++++++++------------------- 1 file changed, 43 insertions(+), 36 deletions(-) commit 5e503c54c2042c1c31c98968e454e021e5665aac Author: Lapo Calamandrei Date: Mon Dec 1 10:05:42 2014 +0100 Adwaita: GtkTreeView tree lines fix See https://bugzilla.gnome.org/show_bug.cgi?id=740904 for details. gtk/theme/Adwaita/_common.scss | 6 +++--- gtk/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) commit 32e8c39ffdba2b5c106aaeaefc4a71816ad20f4f Author: Matthias Clasen Date: Sun Nov 30 23:43:07 2014 -0500 Move print preview command to gtksettings.c Having this in the source seems more appropriate. configure.ac | 1 - gtk/Makefile.am | 9 +-------- gtk/gtksettings.c | 8 +++++++- 3 files changed, 8 insertions(+), 10 deletions(-) commit 9e1187135ec61c5f035663fa50620592214abffe Author: Matthias Clasen Date: Sun Nov 30 23:23:31 2014 -0500 Move print backend list to configure.ac We already juggle the print backends here, might as well produce the list. configure.ac | 22 ++++++++++++++++++---- gtk/Makefile.am | 30 ------------------------------ 2 files changed, 18 insertions(+), 34 deletions(-) commit eee5947365d863b34d8dc2ab014b0b5fa144d6c1 Author: Matthias Clasen Date: Sun Nov 30 23:01:13 2014 -0500 Rearrange Makefile some more Move the introspection parts all together, drop several unused variables and targets. gtk/Makefile.am | 166 +++++++++++++++++++++++++------------------------------- 1 file changed, 74 insertions(+), 92 deletions(-) commit 908bb6955e854437af7f79e6ad285767e561ee9f Author: Matthias Clasen Date: Sun Nov 30 22:16:42 2014 -0500 Drop a few more leftovers The GTK_FILE_SYSTEM_ENABLE_UNSUPPORTED define is not used anymore, and we don't install a gtk.css file for Raleigh, so no need to uninstall one either. gtk/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 655c75cab791ea965e705e1b8518e6008d3a755f Author: Matthias Clasen Date: Sun Nov 30 21:49:36 2014 -0500 Drop gtk-update-icon-cache complications gtk-update-icon-cache is no longer used at build time, so a lot of the complicated machinery we have around that (conditional build, cross build, etc) are no longer required. configure.ac | 46 ---------------------------------------------- gtk/Makefile.am | 11 ++--------- gtk/native/Makefile.am | 22 ---------------------- 3 files changed, 2 insertions(+), 77 deletions(-) commit 79e916f6af37bc678900ae3e4402f34f1b9d7276 Author: Chun-wei Fan Date: Mon Dec 1 12:06:28 2014 +0800 MSVC Builds: Finish Removal of the gtk-inspector Projects The files for build of GtkInspector have been intergrated into the build of the main GTK+ DLL, and the Visual Studio project templates for those have been removed as well. Make that removal complete by removing from the solution files references to it and make the 'gtk' project not to depend on the gtk-inspector project. build/win32/vs10/gtk+.sln | 18 ------------------ build/win32/vs10/gtk.vcxprojin | 4 ---- build/win32/vs9/gtk+.sln | 22 ---------------------- 3 files changed, 44 deletions(-) commit 7b6c68adc68389e7295f2fc9cf5b9799ee242a56 Author: Benjamin Otte Date: Mon Dec 1 04:04:08 2014 +0100 testsuite: Fix test that was committed in a broken state 1) Use font-size instead of color This makes it easier to compare reference and test because the values don't change. 2) Actually sort the reference properly This unbreaks the test. testsuite/css/parser/not.css | 40 +++++++++++----------- testsuite/css/parser/not.ref.css | 71 ++++++++++++++++++++-------------------- 2 files changed, 55 insertions(+), 56 deletions(-) commit de2e3c2c2ec60184ace25737e4944d366bd77928 Author: Matthias Clasen Date: Sun Nov 30 20:53:07 2014 -0500 Fix distcheck Using an absolute path with subdir-objects failed in distcheck. docs/tools/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 60dc4787396a0701a7845b67ebd3ab2bc799ea33 Author: Matthias Clasen Date: Sun Nov 30 19:59:10 2014 -0500 Fix ChangeLog generation missing is no longer in the toplevel directory. Also, clean up some file lists. Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 0438df6d14bfbf4afae50b430736c38acbec7286 Author: Matthias Clasen Date: Sun Nov 30 19:58:34 2014 -0500 Quiet a rule testsuite/gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c5f2f86ff9d365048970f479f89b7f00fb0c4bb1 Author: Matthias Clasen Date: Sun Nov 30 19:58:08 2014 -0500 Drop an unused function testsuite/reftests/gtk-reftest.c | 8 -------- 1 file changed, 8 deletions(-) commit 603b49814fb0a4d5e4d23606c365c2949442047e Author: Matthias Clasen Date: Sun Nov 30 19:24:07 2014 -0500 Generate README and INSTALL from configure Makefile.am | 18 ++++++------------ configure.ac | 2 ++ 2 files changed, 8 insertions(+), 12 deletions(-) commit 09e6fab1c9e3978b1c2f83bd593372f25a14f343 Author: Matthias Clasen Date: Sun Nov 30 19:23:24 2014 -0500 Cosmetic formatting fixes INSTALL.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 75dab1662cf7af7265f29fb99da952f8a8633d19 Author: Matthias Clasen Date: Sun Nov 30 19:22:51 2014 -0500 Add missing docs Document GtkSwitch::state_set. gtk/gtkswitch.h | 1 + 1 file changed, 1 insertion(+) commit 645664f20dea3e4ee2dff11c08e1b3a083a5bd8f Author: Matthias Clasen Date: Sun Nov 30 19:22:00 2014 -0500 Use subdir-objects for docs/tools docs/tools/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 4b9029c4cc239ea4f60c9cf667c46acc9e278823 Author: Matthias Clasen Date: Sun Nov 30 19:07:52 2014 -0500 Cosmetic fixes gtk/Makefile.am | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 13b5e0b6e60a5d8bbc5f8a19fe4e25bf9ba83f9c Author: Matthias Clasen Date: Sun Nov 30 19:05:09 2014 -0500 Drop vs build stuff for inspector Now that the inspector sources are built as part of gtk/, this should no longer be needed. build/win32/vs10/Makefile.am | 4 - build/win32/vs10/gtk-inspector.vcxproj.filtersin | 20 ---- build/win32/vs10/gtk-inspector.vcxprojin | 131 ----------------------- build/win32/vs11/Makefile.am | 2 - build/win32/vs12/Makefile.am | 2 - build/win32/vs9/Makefile.am | 2 - build/win32/vs9/gtk-inspector.vcprojin | 130 ---------------------- 7 files changed, 291 deletions(-) commit f97780c574f756d591d3a51e53688bff5000916a Author: Matthias Clasen Date: Sun Nov 30 17:25:43 2014 -0500 Don't use escapes in echo strings This forces us to fight with echo non-portability. Instead, just use ' instead of \". gtk/Makefile.am | 41 ++++++++++++++++++----------------------- 1 file changed, 18 insertions(+), 23 deletions(-) commit bbb3f6a2db9633a16f1b7ed996d2dff2c549cbbb Author: Matthias Clasen Date: Sun Nov 30 16:57:22 2014 -0500 quartz: Copy annotations Better than juggling introspection sources in the Makefile. gtk/Makefile.am | 35 ++++-------- gtk/gtkclipboard-quartz.c | 132 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkdnd-quartz.c | 30 +++++++++-- 3 files changed, 168 insertions(+), 29 deletions(-) commit bae4450698e49f0ddbe80e967d332d66584e9eec Author: Matthias Clasen Date: Sun Nov 30 17:18:31 2014 -0500 Quiet some make rules gdk/Makefile.am | 4 ++-- gdk/broadway/Makefile.am | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 09f83fff5256391fe90c0421dd86148048adbac6 Author: Matthias Clasen Date: Sun Nov 30 15:33:19 2014 -0500 Use subdir-objects in gtk/ gtk/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 383d5b137b0bbf9cd4091e9afa7c0b32339d1652 Author: Matthias Clasen Date: Sun Nov 30 15:59:53 2014 -0500 inspector: Build nonrecursively configure.ac | 1 - gtk/Makefile.am | 16 +++- gtk/inspector/Makefile.am | 171 ---------------------------------- gtk/inspector/Makefile.inc | 73 +++++++++++++++ gtk/inspector/actions.c | 2 +- gtk/inspector/classes-list.c | 2 +- gtk/inspector/css-editor.c | 2 +- gtk/inspector/data-list.c | 2 +- gtk/inspector/general.c | 2 +- gtk/inspector/init.c | 3 - gtk/inspector/inspector.gresource.xml | 23 ----- gtk/inspector/menu.c | 2 +- gtk/inspector/misc-info.c | 2 +- gtk/inspector/object-hierarchy.c | 2 +- gtk/inspector/object-tree.c | 2 +- gtk/inspector/prop-list.c | 2 +- gtk/inspector/resource-list.c | 2 +- gtk/inspector/selector.c | 2 +- gtk/inspector/signals-list.c | 2 +- gtk/inspector/statistics.c | 2 +- gtk/inspector/style-prop-list.c | 2 +- gtk/inspector/visual.c | 2 +- gtk/inspector/window.c | 2 +- gtk/inspector/window.ui | 2 +- 24 files changed, 103 insertions(+), 220 deletions(-) commit 25d9412c7e4eef9b3fed6177d1741a1cbfbea0cb Author: Matthias Clasen Date: Sun Nov 30 15:30:48 2014 -0500 Split subdirectory file lists off This moves a little closer to a proper nonrecursive setup, and makes the gtk Makefile.am less monstrous. gtk/Makefile.am | 219 +------------------------------------------- gtk/a11y/Makefile.inc | 123 +++++++++++++++++++++++++ gtk/deprecated/Makefile.inc | 89 ++++++++++++++++++ 3 files changed, 217 insertions(+), 214 deletions(-) commit 93776ef88d368ffa963a50e6f77cf24b3485133e Author: Matthias Clasen Date: Sun Nov 30 15:15:59 2014 -0500 List formatting cleanup Always put sublists first. gtk/Makefile.am | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 11cf6763a35289f46ded2ce0ad77759c82e24c78 Author: Matthias Clasen Date: Sun Nov 30 15:13:45 2014 -0500 Drop a nonexisting variable gtk/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 188424cb7c04b507eb1e9d896c6b0db408861f0f Author: Matthias Clasen Date: Sun Nov 30 15:13:13 2014 -0500 Drop redundant include gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e65f4235d5c6ac8cae79863a1374d00aebc1592 Author: Matthias Clasen Date: Sun Nov 30 14:59:18 2014 -0500 Drop an unused variable This is another leftover from when we were doing export checks. gtk/Makefile.am | 5 ----- 1 file changed, 5 deletions(-) commit e4335c62a1be4c76614a6db5223a1708879ea5ca Author: Matthias Clasen Date: Sun Nov 30 14:50:05 2014 -0500 Drop the extra resources/ subdirectory This subdirectory gets in the way when integrating the inspector build more fully with GTK+, and does not really add anything. Just move everything one level up. gtk/Makefile.am | 132 ++++++++++----------- gtk/{resources => }/cursor/dnd-ask.png | Bin gtk/{resources => }/cursor/dnd-copy.png | Bin gtk/{resources => }/cursor/dnd-link.png | Bin gtk/{resources => }/cursor/dnd-move.png | Bin gtk/{resources => }/cursor/dnd-none.png | Bin .../icons/16x16/actions/gtk-caps-lock-warning.png | Bin .../icons/16x16/actions/gtk-color-picker.png | Bin .../icons/16x16/actions/gtk-connect.png | Bin .../icons/16x16/actions/gtk-convert.png | Bin .../icons/16x16/actions/gtk-disconnect.png | Bin .../icons/16x16/actions/gtk-edit.png | Bin .../icons/16x16/actions/gtk-index.png | Bin .../16x16/actions/gtk-orientation-landscape.png | Bin .../16x16/actions/gtk-orientation-portrait.png | Bin .../actions/gtk-orientation-reverse-landscape.png | Bin .../actions/gtk-orientation-reverse-portrait.png | Bin .../icons/16x16/actions/gtk-page-setup.png | Bin .../icons/16x16/actions/gtk-preferences.png | Bin .../icons/16x16/actions/gtk-select-color.png | Bin .../icons/16x16/actions/gtk-select-font.png | Bin .../icons/16x16/actions/gtk-undelete-rtl.png | Bin .../icons/16x16/actions/gtk-undelete.png | Bin .../icons/16x16/status/image-missing.png | Bin .../icons/22x22/actions/gtk-apply.png | Bin .../icons/22x22/actions/gtk-cancel.png | Bin gtk/{resources => }/icons/22x22/actions/gtk-no.png | Bin gtk/{resources => }/icons/22x22/actions/gtk-ok.png | Bin .../icons/22x22/actions/gtk-yes.png | Bin .../icons/24x24/actions/gtk-caps-lock-warning.png | Bin .../icons/24x24/actions/gtk-color-picker.png | Bin .../icons/24x24/actions/gtk-connect.png | Bin .../icons/24x24/actions/gtk-convert.png | Bin .../icons/24x24/actions/gtk-disconnect.png | Bin .../icons/24x24/actions/gtk-edit.png | Bin .../icons/24x24/actions/gtk-index.png | Bin .../24x24/actions/gtk-orientation-landscape.png | Bin .../24x24/actions/gtk-orientation-portrait.png | Bin .../actions/gtk-orientation-reverse-landscape.png | Bin .../actions/gtk-orientation-reverse-portrait.png | Bin .../icons/24x24/actions/gtk-page-setup.png | Bin .../icons/24x24/actions/gtk-preferences.png | Bin .../icons/24x24/actions/gtk-select-color.png | Bin .../icons/24x24/actions/gtk-select-font.png | Bin .../icons/24x24/actions/gtk-undelete-rtl.png | Bin .../icons/24x24/actions/gtk-undelete.png | Bin .../icons/24x24/status/image-missing.png | Bin .../icons/32x32/actions/gtk-dnd-multiple.png | Bin .../icons/32x32/actions/gtk-dnd.png | Bin .../icons/32x32/status/image-missing.png | Bin .../icons/48x48/status/image-missing.png | Bin gtk/{resources => }/theme/Adwaita/Gemfile | 0 gtk/{resources => }/theme/Adwaita/README | 0 .../theme/Adwaita/_colors-public.scss | 0 gtk/{resources => }/theme/Adwaita/_colors.scss | 0 gtk/{resources => }/theme/Adwaita/_common.scss | 0 gtk/{resources => }/theme/Adwaita/_drawing.scss | 0 gtk/{resources => }/theme/Adwaita/assets.svg | 0 gtk/{resources => }/theme/Adwaita/assets.txt | 0 .../assets/checkbox-active-selectionmode.png | Bin .../assets/checkbox-active-selectionmode@2.png | Bin .../assets/checkbox-backdrop-selectionmode.png | Bin .../assets/checkbox-backdrop-selectionmode@2.png | Bin .../assets/checkbox-checked-active-dark.png | Bin .../assets/checkbox-checked-active-dark@2.png | Bin .../checkbox-checked-active-selectionmode.png | Bin .../checkbox-checked-active-selectionmode@2.png | Bin .../Adwaita/assets/checkbox-checked-active.png | Bin .../Adwaita/assets/checkbox-checked-active@2.png | Bin .../assets/checkbox-checked-backdrop-dark.png | Bin .../assets/checkbox-checked-backdrop-dark@2.png | Bin .../checkbox-checked-backdrop-insensitive-dark.png | Bin ...heckbox-checked-backdrop-insensitive-dark@2.png | Bin .../checkbox-checked-backdrop-insensitive.png | Bin .../checkbox-checked-backdrop-insensitive@2.png | Bin .../checkbox-checked-backdrop-selectionmode.png | Bin .../checkbox-checked-backdrop-selectionmode@2.png | Bin .../Adwaita/assets/checkbox-checked-backdrop.png | Bin .../Adwaita/assets/checkbox-checked-backdrop@2.png | Bin .../theme/Adwaita/assets/checkbox-checked-dark.png | Bin .../Adwaita/assets/checkbox-checked-dark@2.png | Bin .../Adwaita/assets/checkbox-checked-hover-dark.png | Bin .../assets/checkbox-checked-hover-dark@2.png | Bin .../checkbox-checked-hover-selectionmode.png | Bin .../checkbox-checked-hover-selectionmode@2.png | Bin .../Adwaita/assets/checkbox-checked-hover.png | Bin .../Adwaita/assets/checkbox-checked-hover@2.png | Bin .../assets/checkbox-checked-insensitive-dark.png | Bin .../assets/checkbox-checked-insensitive-dark@2.png | Bin .../assets/checkbox-checked-insensitive.png | Bin .../assets/checkbox-checked-insensitive@2.png | Bin .../assets/checkbox-checked-selectionmode.png | Bin .../assets/checkbox-checked-selectionmode@2.png | Bin .../theme/Adwaita/assets/checkbox-checked.png | Bin .../theme/Adwaita/assets/checkbox-checked@2.png | Bin .../assets/checkbox-hover-selectionmode.png | Bin .../assets/checkbox-hover-selectionmode@2.png | Bin .../Adwaita/assets/checkbox-mixed-active-dark.png | Bin .../assets/checkbox-mixed-active-dark@2.png | Bin .../theme/Adwaita/assets/checkbox-mixed-active.png | Bin .../Adwaita/assets/checkbox-mixed-active@2.png | Bin .../assets/checkbox-mixed-backdrop-dark.png | Bin .../assets/checkbox-mixed-backdrop-dark@2.png | Bin .../checkbox-mixed-backdrop-insensitive-dark.png | Bin .../checkbox-mixed-backdrop-insensitive-dark@2.png | Bin .../assets/checkbox-mixed-backdrop-insensitive.png | Bin .../checkbox-mixed-backdrop-insensitive@2.png | Bin .../Adwaita/assets/checkbox-mixed-backdrop.png | Bin .../Adwaita/assets/checkbox-mixed-backdrop@2.png | Bin .../theme/Adwaita/assets/checkbox-mixed-dark.png | Bin .../theme/Adwaita/assets/checkbox-mixed-dark@2.png | Bin .../Adwaita/assets/checkbox-mixed-hover-dark.png | Bin .../Adwaita/assets/checkbox-mixed-hover-dark@2.png | Bin .../theme/Adwaita/assets/checkbox-mixed-hover.png | Bin .../Adwaita/assets/checkbox-mixed-hover@2.png | Bin .../assets/checkbox-mixed-insensitive-dark.png | Bin .../assets/checkbox-mixed-insensitive-dark@2.png | Bin .../Adwaita/assets/checkbox-mixed-insensitive.png | Bin .../assets/checkbox-mixed-insensitive@2.png | Bin .../theme/Adwaita/assets/checkbox-mixed.png | Bin .../theme/Adwaita/assets/checkbox-mixed@2.png | Bin .../Adwaita/assets/checkbox-selectionmode.png | Bin .../Adwaita/assets/checkbox-selectionmode@2.png | Bin .../assets/checkbox-unchecked-active-dark.png | Bin .../assets/checkbox-unchecked-active-dark@2.png | Bin .../Adwaita/assets/checkbox-unchecked-active.png | Bin .../Adwaita/assets/checkbox-unchecked-active@2.png | Bin .../assets/checkbox-unchecked-backdrop-dark.png | Bin .../assets/checkbox-unchecked-backdrop-dark@2.png | Bin ...heckbox-unchecked-backdrop-insensitive-dark.png | Bin ...ckbox-unchecked-backdrop-insensitive-dark@2.png | Bin .../checkbox-unchecked-backdrop-insensitive.png | Bin .../checkbox-unchecked-backdrop-insensitive@2.png | Bin .../Adwaita/assets/checkbox-unchecked-backdrop.png | Bin .../assets/checkbox-unchecked-backdrop@2.png | Bin .../Adwaita/assets/checkbox-unchecked-dark.png | Bin .../Adwaita/assets/checkbox-unchecked-dark@2.png | Bin .../assets/checkbox-unchecked-hover-dark.png | Bin .../assets/checkbox-unchecked-hover-dark@2.png | Bin .../Adwaita/assets/checkbox-unchecked-hover.png | Bin .../Adwaita/assets/checkbox-unchecked-hover@2.png | Bin .../assets/checkbox-unchecked-insensitive-dark.png | Bin .../checkbox-unchecked-insensitive-dark@2.png | Bin .../assets/checkbox-unchecked-insensitive.png | Bin .../assets/checkbox-unchecked-insensitive@2.png | Bin .../theme/Adwaita/assets/checkbox-unchecked.png | Bin .../theme/Adwaita/assets/checkbox-unchecked@2.png | Bin .../Adwaita/assets/radio-checked-active-dark.png | Bin .../Adwaita/assets/radio-checked-active-dark@2.png | Bin .../theme/Adwaita/assets/radio-checked-active.png | Bin .../Adwaita/assets/radio-checked-active@2.png | Bin .../Adwaita/assets/radio-checked-backdrop-dark.png | Bin .../assets/radio-checked-backdrop-dark@2.png | Bin .../radio-checked-backdrop-insensitive-dark.png | Bin .../radio-checked-backdrop-insensitive-dark@2.png | Bin .../assets/radio-checked-backdrop-insensitive.png | Bin .../radio-checked-backdrop-insensitive@2.png | Bin .../Adwaita/assets/radio-checked-backdrop.png | Bin .../Adwaita/assets/radio-checked-backdrop@2.png | Bin .../theme/Adwaita/assets/radio-checked-dark.png | Bin .../theme/Adwaita/assets/radio-checked-dark@2.png | Bin .../Adwaita/assets/radio-checked-hover-dark.png | Bin .../Adwaita/assets/radio-checked-hover-dark@2.png | Bin .../theme/Adwaita/assets/radio-checked-hover.png | Bin .../theme/Adwaita/assets/radio-checked-hover@2.png | Bin .../assets/radio-checked-insensitive-dark.png | Bin .../assets/radio-checked-insensitive-dark@2.png | Bin .../Adwaita/assets/radio-checked-insensitive.png | Bin .../Adwaita/assets/radio-checked-insensitive@2.png | Bin .../theme/Adwaita/assets/radio-checked.png | Bin .../theme/Adwaita/assets/radio-checked@2.png | Bin .../Adwaita/assets/radio-mixed-active-dark.png | Bin .../Adwaita/assets/radio-mixed-active-dark@2.png | Bin .../theme/Adwaita/assets/radio-mixed-active.png | Bin .../theme/Adwaita/assets/radio-mixed-active@2.png | Bin .../Adwaita/assets/radio-mixed-backdrop-dark.png | Bin .../Adwaita/assets/radio-mixed-backdrop-dark@2.png | Bin .../radio-mixed-backdrop-insensitive-dark.png | Bin .../radio-mixed-backdrop-insensitive-dark@2.png | Bin .../assets/radio-mixed-backdrop-insensitive.png | Bin .../assets/radio-mixed-backdrop-insensitive@2.png | Bin .../theme/Adwaita/assets/radio-mixed-backdrop.png | Bin .../Adwaita/assets/radio-mixed-backdrop@2.png | Bin .../theme/Adwaita/assets/radio-mixed-dark.png | Bin .../theme/Adwaita/assets/radio-mixed-dark@2.png | Bin .../Adwaita/assets/radio-mixed-hover-dark.png | Bin .../Adwaita/assets/radio-mixed-hover-dark@2.png | Bin .../theme/Adwaita/assets/radio-mixed-hover.png | Bin .../theme/Adwaita/assets/radio-mixed-hover@2.png | Bin .../assets/radio-mixed-insensitive-dark.png | Bin .../assets/radio-mixed-insensitive-dark@2.png | Bin .../Adwaita/assets/radio-mixed-insensitive.png | Bin .../Adwaita/assets/radio-mixed-insensitive@2.png | Bin .../theme/Adwaita/assets/radio-mixed.png | Bin .../theme/Adwaita/assets/radio-mixed@2.png | Bin .../Adwaita/assets/radio-unchecked-active-dark.png | Bin .../assets/radio-unchecked-active-dark@2.png | Bin .../Adwaita/assets/radio-unchecked-active.png | Bin .../Adwaita/assets/radio-unchecked-active@2.png | Bin .../assets/radio-unchecked-backdrop-dark.png | Bin .../assets/radio-unchecked-backdrop-dark@2.png | Bin .../radio-unchecked-backdrop-insensitive-dark.png | Bin ...radio-unchecked-backdrop-insensitive-dark@2.png | Bin .../radio-unchecked-backdrop-insensitive.png | Bin .../radio-unchecked-backdrop-insensitive@2.png | Bin .../Adwaita/assets/radio-unchecked-backdrop.png | Bin .../Adwaita/assets/radio-unchecked-backdrop@2.png | Bin .../theme/Adwaita/assets/radio-unchecked-dark.png | Bin .../Adwaita/assets/radio-unchecked-dark@2.png | Bin .../Adwaita/assets/radio-unchecked-hover-dark.png | Bin .../assets/radio-unchecked-hover-dark@2.png | Bin .../theme/Adwaita/assets/radio-unchecked-hover.png | Bin .../Adwaita/assets/radio-unchecked-hover@2.png | Bin .../assets/radio-unchecked-insensitive-dark.png | Bin .../assets/radio-unchecked-insensitive-dark@2.png | Bin .../Adwaita/assets/radio-unchecked-insensitive.png | Bin .../assets/radio-unchecked-insensitive@2.png | Bin .../theme/Adwaita/assets/radio-unchecked.png | Bin .../theme/Adwaita/assets/radio-unchecked@2.png | Bin .../assets/selected-checkbox-checked-active.png | Bin .../assets/selected-checkbox-checked-active@2.png | Bin ...ected-checkbox-checked-backdrop-insensitive.png | Bin ...ted-checkbox-checked-backdrop-insensitive@2.png | Bin .../assets/selected-checkbox-checked-backdrop.png | Bin .../selected-checkbox-checked-backdrop@2.png | Bin .../assets/selected-checkbox-checked-hover.png | Bin .../assets/selected-checkbox-checked-hover@2.png | Bin .../selected-checkbox-checked-insensitive.png | Bin .../selected-checkbox-checked-insensitive@2.png | Bin .../Adwaita/assets/selected-checkbox-checked.png | Bin .../Adwaita/assets/selected-checkbox-checked@2.png | Bin .../assets/selected-checkbox-mixed-active.png | Bin .../assets/selected-checkbox-mixed-active@2.png | Bin ...elected-checkbox-mixed-backdrop-insensitive.png | Bin ...ected-checkbox-mixed-backdrop-insensitive@2.png | Bin .../assets/selected-checkbox-mixed-backdrop.png | Bin .../assets/selected-checkbox-mixed-backdrop@2.png | Bin .../assets/selected-checkbox-mixed-hover.png | Bin .../assets/selected-checkbox-mixed-hover@2.png | Bin .../assets/selected-checkbox-mixed-insensitive.png | Bin .../selected-checkbox-mixed-insensitive@2.png | Bin .../Adwaita/assets/selected-checkbox-mixed.png | Bin .../Adwaita/assets/selected-checkbox-mixed@2.png | Bin .../assets/selected-checkbox-unchecked-active.png | Bin .../selected-checkbox-unchecked-active@2.png | Bin ...ted-checkbox-unchecked-backdrop-insensitive.png | Bin ...d-checkbox-unchecked-backdrop-insensitive@2.png | Bin .../selected-checkbox-unchecked-backdrop.png | Bin .../selected-checkbox-unchecked-backdrop@2.png | Bin .../assets/selected-checkbox-unchecked-hover.png | Bin .../assets/selected-checkbox-unchecked-hover@2.png | Bin .../selected-checkbox-unchecked-insensitive.png | Bin .../selected-checkbox-unchecked-insensitive@2.png | Bin .../Adwaita/assets/selected-checkbox-unchecked.png | Bin .../assets/selected-checkbox-unchecked@2.png | Bin .../assets/selected-radio-checked-active.png | Bin .../assets/selected-radio-checked-active@2.png | Bin ...selected-radio-checked-backdrop-insensitive.png | Bin ...lected-radio-checked-backdrop-insensitive@2.png | Bin .../assets/selected-radio-checked-backdrop.png | Bin .../assets/selected-radio-checked-backdrop@2.png | Bin .../assets/selected-radio-checked-hover.png | Bin .../assets/selected-radio-checked-hover@2.png | Bin .../assets/selected-radio-checked-insensitive.png | Bin .../selected-radio-checked-insensitive@2.png | Bin .../Adwaita/assets/selected-radio-checked.png | Bin .../Adwaita/assets/selected-radio-checked@2.png | Bin .../Adwaita/assets/selected-radio-mixed-active.png | Bin .../assets/selected-radio-mixed-active@2.png | Bin .../selected-radio-mixed-backdrop-insensitive.png | Bin ...selected-radio-mixed-backdrop-insensitive@2.png | Bin .../assets/selected-radio-mixed-backdrop.png | Bin .../assets/selected-radio-mixed-backdrop@2.png | Bin .../Adwaita/assets/selected-radio-mixed-hover.png | Bin .../assets/selected-radio-mixed-hover@2.png | Bin .../assets/selected-radio-mixed-insensitive.png | Bin .../assets/selected-radio-mixed-insensitive@2.png | Bin .../theme/Adwaita/assets/selected-radio-mixed.png | Bin .../Adwaita/assets/selected-radio-mixed@2.png | Bin .../assets/selected-radio-unchecked-active.png | Bin .../assets/selected-radio-unchecked-active@2.png | Bin ...lected-radio-unchecked-backdrop-insensitive.png | Bin ...cted-radio-unchecked-backdrop-insensitive@2.png | Bin .../assets/selected-radio-unchecked-backdrop.png | Bin .../assets/selected-radio-unchecked-backdrop@2.png | Bin .../assets/selected-radio-unchecked-hover.png | Bin .../assets/selected-radio-unchecked-hover@2.png | Bin .../selected-radio-unchecked-insensitive.png | Bin .../selected-radio-unchecked-insensitive@2.png | Bin .../Adwaita/assets/selected-radio-unchecked.png | Bin .../Adwaita/assets/selected-radio-unchecked@2.png | Bin ...ider-horz-scale-has-marks-above-active-dark.png | Bin ...er-horz-scale-has-marks-above-active-dark@2.png | Bin .../slider-horz-scale-has-marks-above-active.png | Bin .../slider-horz-scale-has-marks-above-active@2.png | Bin ...er-horz-scale-has-marks-above-backdrop-dark.png | Bin ...-horz-scale-has-marks-above-backdrop-dark@2.png | Bin ...e-has-marks-above-backdrop-insensitive-dark.png | Bin ...has-marks-above-backdrop-insensitive-dark@2.png | Bin ...-scale-has-marks-above-backdrop-insensitive.png | Bin ...cale-has-marks-above-backdrop-insensitive@2.png | Bin .../slider-horz-scale-has-marks-above-backdrop.png | Bin ...lider-horz-scale-has-marks-above-backdrop@2.png | Bin .../slider-horz-scale-has-marks-above-dark.png | Bin .../slider-horz-scale-has-marks-above-dark@2.png | Bin ...lider-horz-scale-has-marks-above-hover-dark.png | Bin ...der-horz-scale-has-marks-above-hover-dark@2.png | Bin .../slider-horz-scale-has-marks-above-hover.png | Bin .../slider-horz-scale-has-marks-above-hover@2.png | Bin ...horz-scale-has-marks-above-insensitive-dark.png | Bin ...rz-scale-has-marks-above-insensitive-dark@2.png | Bin ...ider-horz-scale-has-marks-above-insensitive.png | Bin ...er-horz-scale-has-marks-above-insensitive@2.png | Bin .../assets/slider-horz-scale-has-marks-above.png | Bin .../assets/slider-horz-scale-has-marks-above@2.png | Bin ...ider-horz-scale-has-marks-below-active-dark.png | Bin ...er-horz-scale-has-marks-below-active-dark@2.png | Bin .../slider-horz-scale-has-marks-below-active.png | Bin .../slider-horz-scale-has-marks-below-active@2.png | Bin ...er-horz-scale-has-marks-below-backdrop-dark.png | Bin ...-horz-scale-has-marks-below-backdrop-dark@2.png | Bin ...e-has-marks-below-backdrop-insensitive-dark.png | Bin ...has-marks-below-backdrop-insensitive-dark@2.png | Bin ...-scale-has-marks-below-backdrop-insensitive.png | Bin ...cale-has-marks-below-backdrop-insensitive@2.png | Bin .../slider-horz-scale-has-marks-below-backdrop.png | Bin ...lider-horz-scale-has-marks-below-backdrop@2.png | Bin .../slider-horz-scale-has-marks-below-dark.png | Bin .../slider-horz-scale-has-marks-below-dark@2.png | Bin ...lider-horz-scale-has-marks-below-hover-dark.png | Bin ...der-horz-scale-has-marks-below-hover-dark@2.png | Bin .../slider-horz-scale-has-marks-below-hover.png | Bin .../slider-horz-scale-has-marks-below-hover@2.png | Bin ...horz-scale-has-marks-below-insensitive-dark.png | Bin ...rz-scale-has-marks-below-insensitive-dark@2.png | Bin ...ider-horz-scale-has-marks-below-insensitive.png | Bin ...er-horz-scale-has-marks-below-insensitive@2.png | Bin .../assets/slider-horz-scale-has-marks-below.png | Bin .../assets/slider-horz-scale-has-marks-below@2.png | Bin ...ider-vert-scale-has-marks-above-active-dark.png | Bin ...er-vert-scale-has-marks-above-active-dark@2.png | Bin .../slider-vert-scale-has-marks-above-active.png | Bin .../slider-vert-scale-has-marks-above-active@2.png | Bin ...er-vert-scale-has-marks-above-backdrop-dark.png | Bin ...-vert-scale-has-marks-above-backdrop-dark@2.png | Bin ...e-has-marks-above-backdrop-insensitive-dark.png | Bin ...has-marks-above-backdrop-insensitive-dark@2.png | Bin ...-scale-has-marks-above-backdrop-insensitive.png | Bin ...cale-has-marks-above-backdrop-insensitive@2.png | Bin .../slider-vert-scale-has-marks-above-backdrop.png | Bin ...lider-vert-scale-has-marks-above-backdrop@2.png | Bin .../slider-vert-scale-has-marks-above-dark.png | Bin .../slider-vert-scale-has-marks-above-dark@2.png | Bin ...lider-vert-scale-has-marks-above-hover-dark.png | Bin ...der-vert-scale-has-marks-above-hover-dark@2.png | Bin .../slider-vert-scale-has-marks-above-hover.png | Bin .../slider-vert-scale-has-marks-above-hover@2.png | Bin ...vert-scale-has-marks-above-insensitive-dark.png | Bin ...rt-scale-has-marks-above-insensitive-dark@2.png | Bin ...ider-vert-scale-has-marks-above-insensitive.png | Bin ...er-vert-scale-has-marks-above-insensitive@2.png | Bin .../assets/slider-vert-scale-has-marks-above.png | Bin .../assets/slider-vert-scale-has-marks-above@2.png | Bin ...ider-vert-scale-has-marks-below-active-dark.png | Bin ...er-vert-scale-has-marks-below-active-dark@2.png | Bin .../slider-vert-scale-has-marks-below-active.png | Bin .../slider-vert-scale-has-marks-below-active@2.png | Bin ...er-vert-scale-has-marks-below-backdrop-dark.png | Bin ...-vert-scale-has-marks-below-backdrop-dark@2.png | Bin ...e-has-marks-below-backdrop-insensitive-dark.png | Bin ...has-marks-below-backdrop-insensitive-dark@2.png | Bin ...-scale-has-marks-below-backdrop-insensitive.png | Bin ...cale-has-marks-below-backdrop-insensitive@2.png | Bin .../slider-vert-scale-has-marks-below-backdrop.png | Bin ...lider-vert-scale-has-marks-below-backdrop@2.png | Bin .../slider-vert-scale-has-marks-below-dark.png | Bin .../slider-vert-scale-has-marks-below-dark@2.png | Bin ...lider-vert-scale-has-marks-below-hover-dark.png | Bin ...der-vert-scale-has-marks-below-hover-dark@2.png | Bin .../slider-vert-scale-has-marks-below-hover.png | Bin .../slider-vert-scale-has-marks-below-hover@2.png | Bin ...vert-scale-has-marks-below-insensitive-dark.png | Bin ...rt-scale-has-marks-below-insensitive-dark@2.png | Bin ...ider-vert-scale-has-marks-below-insensitive.png | Bin ...er-vert-scale-has-marks-below-insensitive@2.png | Bin .../assets/slider-vert-scale-has-marks-below.png | Bin .../assets/slider-vert-scale-has-marks-below@2.png | Bin .../theme/Adwaita/gtk-contained-dark.css | 0 .../theme/Adwaita/gtk-contained-dark.scss | 0 .../theme/Adwaita/gtk-contained.css | 0 .../theme/Adwaita/gtk-contained.scss | 0 gtk/{resources => }/theme/Adwaita/gtk-dark.css | 0 gtk/{resources => }/theme/Adwaita/gtk.css | 0 gtk/{resources => }/theme/Adwaita/parse-sass.sh | 0 gtk/{resources => }/theme/Adwaita/render-assets.sh | 0 gtk/{resources => }/theme/HighContrast/Gemfile | 0 .../theme/HighContrast/_colors.scss | 0 .../theme/HighContrast/_common.scss | 0 .../theme/HighContrast/_drawing.scss | 0 gtk/{resources => }/theme/HighContrast/gtk.css | 0 gtk/{resources => }/theme/HighContrast/gtk.scss | 0 .../theme/HighContrast/parse-sass.sh | 0 gtk/{resources => }/theme/Raleigh/gtk-default.css | 0 gtk/{resources => }/theme/win32/gtk-win32-base.css | 0 .../theme/win32/gtk-win32-classic.css | 0 gtk/{resources => }/theme/win32/gtk-win32-xp.css | 0 gtk/{resources => }/theme/win32/gtk-win32.css | 0 gtk/{resources => }/ui/gtkaboutdialog.ui | 0 gtk/{resources => }/ui/gtkaboutdialog.ui.h | 0 gtk/{resources => }/ui/gtkactionbar.ui | 0 gtk/{resources => }/ui/gtkactionbar.ui.h | 0 gtk/{resources => }/ui/gtkappchooserdialog.ui | 0 gtk/{resources => }/ui/gtkappchooserdialog.ui.h | 0 gtk/{resources => }/ui/gtkappchooserwidget.ui | 0 gtk/{resources => }/ui/gtkappchooserwidget.ui.h | 0 gtk/{resources => }/ui/gtkapplication-quartz.ui | 0 gtk/{resources => }/ui/gtkapplication-quartz.ui.h | 0 gtk/{resources => }/ui/gtkassistant.ui | 0 gtk/{resources => }/ui/gtkassistant.ui.h | 0 gtk/{resources => }/ui/gtkcolorchooserdialog.ui | 0 gtk/{resources => }/ui/gtkcolorchooserdialog.ui.h | 0 gtk/{resources => }/ui/gtkcoloreditor.ui | 0 gtk/{resources => }/ui/gtkcoloreditor.ui.h | 0 gtk/{resources => }/ui/gtkdialog.ui | 0 gtk/{resources => }/ui/gtkdialog.ui.h | 0 gtk/{resources => }/ui/gtkfilechooserbutton.ui | 0 gtk/{resources => }/ui/gtkfilechooserbutton.ui.h | 0 gtk/{resources => }/ui/gtkfilechooserdialog.ui | 0 gtk/{resources => }/ui/gtkfilechooserdialog.ui.h | 0 gtk/{resources => }/ui/gtkfilechooserwidget.ui | 0 gtk/{resources => }/ui/gtkfilechooserwidget.ui.h | 0 gtk/{resources => }/ui/gtkfontbutton.ui | 0 gtk/{resources => }/ui/gtkfontbutton.ui.h | 0 gtk/{resources => }/ui/gtkfontchooserdialog.ui | 0 gtk/{resources => }/ui/gtkfontchooserdialog.ui.h | 0 gtk/{resources => }/ui/gtkfontchooserwidget.ui | 0 gtk/{resources => }/ui/gtkfontchooserwidget.ui.h | 0 gtk/{resources => }/ui/gtkinfobar.ui | 0 gtk/{resources => }/ui/gtkinfobar.ui.h | 0 gtk/{resources => }/ui/gtklockbutton.ui | 0 gtk/{resources => }/ui/gtklockbutton.ui.h | 0 gtk/{resources => }/ui/gtkmessagedialog.ui | 0 gtk/{resources => }/ui/gtkmessagedialog.ui.h | 0 gtk/{resources => }/ui/gtkpagesetupunixdialog.ui | 0 gtk/{resources => }/ui/gtkpagesetupunixdialog.ui.h | 0 gtk/{resources => }/ui/gtkpathbar.ui | 0 gtk/{resources => }/ui/gtkpathbar.ui.h | 0 gtk/{resources => }/ui/gtkprintunixdialog.ui | 0 gtk/{resources => }/ui/gtkprintunixdialog.ui.h | 0 gtk/{resources => }/ui/gtkrecentchooserdefault.ui | 0 .../ui/gtkrecentchooserdefault.ui.h | 0 gtk/{resources => }/ui/gtkscalebutton.ui | 0 gtk/{resources => }/ui/gtkscalebutton.ui.h | 0 gtk/{resources => }/ui/gtksearchbar.ui | 0 gtk/{resources => }/ui/gtksearchbar.ui.h | 0 gtk/{resources => }/ui/gtkstatusbar.ui | 0 gtk/{resources => }/ui/gtkstatusbar.ui.h | 0 gtk/{resources => }/ui/gtkvolumebutton.ui | 0 gtk/{resources => }/ui/gtkvolumebutton.ui.h | 0 po/POTFILES.in | 48 ++++---- po/POTFILES.skip | 48 ++++---- 461 files changed, 114 insertions(+), 114 deletions(-) commit 94f412622e3171021305376bbd6201ef81c7d934 Author: Cosimo Cecchi Date: Sat Nov 29 10:33:02 2014 -0800 GtkPlacesSidebar: add support for unmount notifications Now that we can use GNotification from here, send a notification when umounting from GtkPlacesSidebar. https://bugzilla.gnome.org/show_bug.cgi?id=740896 gtk/gtkplacessidebar.c | 90 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 71 insertions(+), 19 deletions(-) commit 5bf640d34448e013d7f3cebfe662141c951fceab Author: Matthias Clasen Date: Sat Nov 29 18:49:46 2014 -0500 widget-factory: Add a treeview separator row Suggested in https://bugzilla.gnome.org/show_bug.cgi?id=740851 demos/widget-factory/widget-factory.c | 19 +++++++++++++++++++ demos/widget-factory/widget-factory.ui | 1 + 2 files changed, 20 insertions(+) commit afe0d5ff0045ea143ae57f96df1695575b45584d Author: Matthias Clasen Date: Sat Nov 29 17:06:04 2014 -0500 HighContrast: in app notification padding Copied the Adwaita treatment from e5d34372c4f163e49fb1e0a95f53445f6fa13f2c https://bugzilla.gnome.org/show_bug.cgi?id=740857 gtk/resources/theme/HighContrast/_common.scss | 5 +++-- gtk/resources/theme/HighContrast/gtk.css | 10 ++++++---- 2 files changed, 9 insertions(+), 6 deletions(-) commit d314625754d59eb7aac4c47d7deba022d1fd82a5 Author: Lapo Calamandrei Date: Sat Nov 29 18:46:06 2014 +0100 HighContrast: scale slider fix and cleanup Set GtkScale margins on the .trough component so the .slider doesn't inherit them vanishing. Remove a bunch trailing white spaces in the process. gtk/resources/theme/HighContrast/_common.scss | 59 ++++++++++++++------------- gtk/resources/theme/HighContrast/gtk.css | 10 ++--- 2 files changed, 35 insertions(+), 34 deletions(-) commit 57171ad7e67a746510fe32e677734896835e6153 Author: Lapo Calamandrei Date: Sat Nov 29 18:21:12 2014 +0100 Adwaita: set scale with marks trough margin where it belongs to gtk/resources/theme/Adwaita/_common.scss | 16 +++++++-------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +++++++++++----------- 3 files changed, 32 insertions(+), 32 deletions(-) commit f85093a13695f21ade5e3a6c1bc2d71eee4629c3 Author: Matthias Clasen Date: Sat Nov 29 00:26:52 2014 -0500 Beautify example Makefiles a bit examples/application1/Makefile.am | 21 +++++++++--------- examples/application10/Makefile.am | 45 +++++++++++++++++++------------------- examples/application2/Makefile.am | 27 +++++++++++------------ examples/application3/Makefile.am | 27 +++++++++++------------ examples/application4/Makefile.am | 29 ++++++++++++------------ examples/application5/Makefile.am | 39 ++++++++++++++++----------------- examples/application6/Makefile.am | 43 ++++++++++++++++++------------------ examples/application7/Makefile.am | 43 ++++++++++++++++++------------------ examples/application8/Makefile.am | 45 +++++++++++++++++++------------------- examples/application9/Makefile.am | 45 +++++++++++++++++++------------------- 10 files changed, 177 insertions(+), 187 deletions(-) commit 6bf9d130419a446cd716e5bc1f4a214c489e3475 Author: Matthias Clasen Date: Sat Nov 29 00:01:49 2014 -0500 GtkModelMenuItem: put some space between icon and label This makes the bloatpad icons menu look slightly less odd. gtk/gtkmodelmenuitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 380ca9bc56ce69c41019dfd93dc9677d15a9d1e2 Author: Matthias Clasen Date: Fri Nov 28 23:55:03 2014 -0500 Make include order consistent in example applications Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=740537 examples/application1/exampleappwin.c | 3 ++- examples/application1/main.c | 3 ++- examples/application10/exampleappwin.c | 3 ++- examples/application10/main.c | 3 ++- examples/application2/exampleappwin.c | 3 ++- examples/application2/main.c | 3 ++- examples/application3/exampleappwin.c | 3 ++- examples/application3/main.c | 3 ++- examples/application4/exampleappwin.c | 3 ++- examples/application4/main.c | 3 ++- examples/application5/exampleappwin.c | 3 ++- examples/application5/main.c | 3 ++- examples/application6/exampleappwin.c | 3 ++- examples/application6/main.c | 3 ++- examples/application7/exampleappwin.c | 3 ++- examples/application7/main.c | 3 ++- examples/application8/exampleappwin.c | 3 ++- examples/application8/main.c | 3 ++- examples/application9/exampleappwin.c | 3 ++- examples/application9/main.c | 3 ++- 20 files changed, 40 insertions(+), 20 deletions(-) commit 4c33645a7aeb98cde0140202a1a2a18a0f25564a Author: Benjamin Otte Date: Sat Nov 29 03:33:47 2014 +0100 range: Implement :hover for the whole widget gtk/gtkrange.c | 5 +++++ 1 file changed, 5 insertions(+) commit 116cc5310531622236c61149513b6f4f1695b388 Author: Benjamin Otte Date: Sat Nov 29 03:27:36 2014 +0100 range: Handle redraws inside update_mouse_location This way, we can do finer-grained invalidation. Plus, we get to not duplicate all the queue_draw() calls. gtk/gtkrange.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 95dc96901eb099d0edf4fd75eb30fa5fa8ad74e3 Author: Benjamin Otte Date: Sat Nov 29 03:23:58 2014 +0100 range: Properly queue draws when doing a drag The dragged area needs to be marked as :active during the drag. gtk/gtkrange.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit b8c0cfb66355b2a231e1fde3ac2006bcce9f4705 Author: Benjamin Otte Date: Sat Nov 29 03:20:18 2014 +0100 range: Remove unused variable The variable was TRUE from the beginning and only ever set to TRUE. gtk/gtkrange.c | 19 ------------------- 1 file changed, 19 deletions(-) commit 4b92654b292c09c8dd2b0b71b24dbd28cd446c80 Author: Benjamin Otte Date: Sat Nov 29 03:18:50 2014 +0100 range: No need to update mouse location when starting a drag The mouse position doesn't change here. Plus, all callers have just updated it anyway. gtk/gtkrange.c | 3 --- 1 file changed, 3 deletions(-) commit 87c564ecf3ebc5b065b13c997ec4347f86bf885a Author: Benjamin Otte Date: Sat Nov 29 02:39:47 2014 +0100 range: Only call needed functions from adjustment changes No need to recalc the whole range when all that changed was the slider. gtk/gtkrange.c | 45 +++++---------------------------------------- 1 file changed, 5 insertions(+), 40 deletions(-) commit f3b40ff55fb12cec3387d891790dd851ada4182a Author: Benjamin Otte Date: Sat Nov 29 02:17:27 2014 +0100 range: Implement gtk_range_calc_stepper_sensitivity() properly gtk/gtkrange.c | 85 ++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 50 insertions(+), 35 deletions(-) commit f63fe9b7608a3bfe6134f0ca581af0bcb5591092 Author: Benjamin Otte Date: Sat Nov 29 01:47:31 2014 +0100 range: Implement gtk_range_calc_slider() properly gtk/gtkrange.c | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) commit 040c31a32ca6fa9ea2506ccc46aa55c9d2871004 Author: Benjamin Otte Date: Sat Nov 29 01:39:09 2014 +0100 range: Refactor a function This is in preparation for more places that want to queue_draw_location(). gtk/gtkrange.c | 56 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 23 deletions(-) commit 909d0caa6bf8a5f212340e4e7ae848140eebbb5d Author: Benjamin Otte Date: Sat Nov 29 01:23:54 2014 +0100 range: Introduce finer-grained invalidation The invalidation doesn't do anything yet, it just clears up what actually needs recalculation. gtk/gtkrange.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit 1c9fdc1f1ffbd4b2c50e2f6f9152a6b7940d00da Author: Benjamin Otte Date: Sat Nov 29 01:15:36 2014 +0100 range: Changing the min slider size requires a resize gtk/gtkrange.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit c80c7f7792f4529da94b3808e1befc441480267e Author: Benjamin Otte Date: Fri Nov 28 00:24:06 2014 +0100 range: No need to frce a recalc A resize will already trigger a recalc, so no need to explicitly trigger it. gtk/gtkrange.c | 1 - 1 file changed, 1 deletion(-) commit 7ecdaaacb2d8a4454ef44517adb296b31746d99f Author: Benjamin Otte Date: Sat Nov 29 01:55:06 2014 +0100 widget: Clarify some corner cases I checked Cairo source code (actually pixman, as Cairo just passes through) to make sure that the behavior stays identical: negative values cause an error message from pixman, zero is allowed. Both return an empty region which gtk_widget_queue_draw_region() would then proceed to ignore. gtk/gtkwidget.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 641d4c4e3d75de46a1914fa80473ff436f8f9b6e Author: Jasper St. Pierre Date: Fri Nov 28 14:03:50 2014 -0800 Fix build demos/gtk-demo/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 53e07d3c0f36c8575dc8ddd5d835153710ae07b5 Author: Jakub Steiner Date: Fri Nov 28 15:47:58 2014 +0100 Provide symbolic variants of app icons Install symbolic variants of the app icons for gtk3-demo and gtk3-widget-factory. These are necessary for the HighContrast theme. https://bugzilla.gnome.org/show_bug.cgi?id=740447 demos/gtk-demo/Makefile.am | 91 +++++++++++---------- .../data/16x16/gtk3-demo-symbolic.symbolic.png | Bin 0 -> 324 bytes .../data/22x22/gtk3-demo-symbolic.symbolic.png | Bin 0 -> 437 bytes .../data/24x24/gtk3-demo-symbolic.symbolic.png | Bin 0 -> 465 bytes .../data/256x256/gtk3-demo-symbolic.symbolic.png | Bin 0 -> 3937 bytes .../data/32x32/gtk3-demo-symbolic.symbolic.png | Bin 0 -> 581 bytes .../data/48x48/gtk3-demo-symbolic.symbolic.png | Bin 0 -> 854 bytes .../data/512x512/gtk3-demo-symbolic.symbolic.png | Bin 0 -> 7594 bytes demos/gtk-demo/data/symbolic-source.svg | 29 +++++++ demos/widget-factory/Makefile.am | 34 ++++---- .../gtk3-widget-factory-symbolic.symbolic.png | Bin 0 -> 237 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 0 -> 332 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 0 -> 336 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 0 -> 2950 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 0 -> 369 bytes .../gtk3-widget-factory-symbolic.symbolic.png | Bin 0 -> 495 bytes demos/widget-factory/data/symbolic-source.svg | 32 ++++++++ 17 files changed, 126 insertions(+), 60 deletions(-) commit c304f2ea68dc5943ab44f647bf2333ac3de3b901 Author: Matthias Clasen Date: Fri Nov 28 12:34:56 2014 -0500 docs: Add a missing word gdk/gdkdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2679f889a504a28cde1b9cb1d66b305df2b5195d Author: Matthias Clasen Date: Fri Nov 28 12:32:26 2014 -0500 Drop an unused variable gtk/inspector/prop-editor.c | 1 - 1 file changed, 1 deletion(-) commit 6962dcffac869a74a9ad9eb856947843b3f09c85 Author: Lapo Calamandrei Date: Fri Nov 28 17:03:53 2014 +0100 Adwaita: GtkTreeView insensitive state style. See https://bugzilla.gnome.org/show_bug.cgi?id=740770. gtk/resources/theme/Adwaita/_common.scss | 11 +++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 27 insertions(+) commit d3c96f9f17940132482b0d204caa116b1511a84a Author: Matthias Clasen Date: Thu Nov 27 22:56:46 2014 -0500 inspector: Simplify some code gtk/inspector/prop-editor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit bb5574c0bd1cc639303de28f7ba91c2f0849d42f Author: Yosef Or Boczko Date: Mon Nov 24 19:09:02 2014 +0200 GtkStackSwitcher: Make the buttons fill vertically It fix some cases with different height for the buttons, like with Hebrew character. https://bugzilla.gnome.org/show_bug.cgi?id=740642 gtk/gtkstackswitcher.c | 2 -- 1 file changed, 2 deletions(-) commit e26fddc544c76bcc175a8b553525dcfb0daa8f67 Author: Matthias Clasen Date: Thu Nov 27 18:22:52 2014 -0500 Avoid a critical gtk_window_get_focus can return NULL, deal with it. https://bugzilla.gnome.org/show_bug.cgi?id=740812 gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8753ef612940d5977bc8af2cca3ceb6cc669d1e4 Author: Matthias Clasen Date: Thu Nov 27 09:42:58 2014 -0500 Render shadows for half-tiled windows Without this, side-by-side half-tiled windows are hard to discern. https://bugzilla.gnome.org/show_bug.cgi?id=708857 gtk/gtkwindow.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit f875daeb6d4097c79a5504fed71850b44479385d Author: Josef Andersson Date: Thu Nov 27 22:01:44 2014 +0000 Updated Swedish translation po-properties/sv.po | 1032 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 604 insertions(+), 428 deletions(-) commit b8925253b66a63594f5d373dc10c564f0d184eb4 Author: Marco Trevisan (Treviño) Date: Thu Nov 27 19:25:55 2014 +0100 mir: clear screen, keymap and event source when disposing dpy gdk/mir/gdkmirdisplay.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 059fc5d3d909a4a8590de903cd5e86f6c2d9d481 Author: Marek Kasik Date: Thu Nov 27 17:04:47 2014 +0100 printing: Fix build with CUPS older than 1.6 Define missing functions ippFirstAttribute(), ippNextAttribute() and macro ippGetCollection(). These were added in CUPS 1.6. https://bugzilla.gnome.org/show_bug.cgi?id=740358 modules/printbackends/cups/gtkprintbackendcups.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit c85c3510e70ea8396dde56606ac0380825c3732f Author: Leo Wolf Date: Wed Nov 26 20:18:36 2014 +0000 printing: Fix origin for scaled, rotated pages The calls to cairo_translate in _gtk_print_context_rotate_according_to_orientation, _gtk_print_context_reverse_according_to_orientation and _gtk_print_context_translate_into_margin assume an unscaled context. These functions should therefore be called before scaling the context, otherwise the origin does not always end up in the top left corner. https://bugzilla.gnome.org/show_bug.cgi?id=740742 gtk/gtkprintoperation.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 732af31424b8f382d869258dea1936616ab2748d Author: Matthias Clasen Date: Wed Nov 26 22:25:36 2014 -0500 x11: Handle obsolete selection requests without crashing The ICCCM says: If the specified property is None , the requestor is an obsolete client. Owners are encouraged to support these clients by using the specified target atom as the property name to be used for the reply. Lets do that, instead of crashing. https://bugzilla.gnome.org/show_bug.cgi?id=740613 gdk/x11/gdkdisplay-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3bf31886a7a6a67807a02ad2e87b7a03ff47822 Author: Jasper St. Pierre Date: Wed Nov 26 18:10:43 2014 -0800 gtkentry: Optimize GtkStyleContext usage gtk/gtkentry.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 59629fa9e2aef1b03c60d8ec5e6467129c187bfa Author: Jasper St. Pierre Date: Wed Nov 26 18:10:36 2014 -0800 gtklabel: Optimize GtkStyleContext usage gtk/gtklabel.c | 5 +++++ 1 file changed, 5 insertions(+) commit 9c7a5f5efafaa01ccc57a82cc4619f433cbda699 Author: Jasper St. Pierre Date: Wed Nov 26 18:10:29 2014 -0800 gtkstylecontext: Optimize GtkStyleContext usage gtk/gtkstylecontext.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 50c4fdbacd20a48e39a6b633eaad6822566411c2 Author: Jasper St. Pierre Date: Wed Nov 26 18:10:21 2014 -0800 gtktextdisplay: Optimize GtkStyleContext usage gtk/gtktextdisplay.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fe8f6f60dcb70178b68315dab232a6cfe7aa0b0e Author: Jasper St. Pierre Date: Wed Nov 26 17:07:56 2014 -0800 gdkdisplay-x11: Don't do extra work when simply moving the window We shouldn't bother recalculating all the visible regions and wiping away the old updating areas if we're simply dragging the window around. gdk/x11/gdkdisplay-x11.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 80dbb4186a6fb7f950b6bd37b7788f168450ce8d Author: Matthias Clasen Date: Wed Nov 26 18:38:43 2014 -0500 GtkSpinButton: Use the proper state Use the style contexts current state when querying it. gtk/gtkspinbutton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 50076ed95b2f9bd1bb2e8fbdd3ba0bffe4490804 Author: Carlos Garnacho Date: Wed Nov 26 15:30:52 2014 +0100 popover: Send key events only to the focus widget gtk_window_propagate_key_event() will run unstopped from the focus widget up to the popover if GDK_EVENT_PROPAGATE was returned along the chain, resulting in infinite recursion. This could be just triggered by pressing some modifier key on an entry... gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 05893dd5a95a4255488ab5757711eb6fcfc105c0 Author: Sebastien Lafargue Date: Wed Nov 26 13:53:30 2014 +0100 textbtree: Remove unneeded check gtk/gtktextbtree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 11233678d90860802d74fa1f1e7af6ceec6a2c18 Author: Benjamin Otte Date: Tue Nov 25 23:21:48 2014 +0100 range: Remove unnecessary argument It's always the same value passed in, so just use that value directly. gtk/gtkrange.c | 36 +++++++++++++++++++----------------- 1 file changed, 19 insertions(+), 17 deletions(-) commit 230aa999679459ab0bdef3dd1f37bd5a58a1838b Author: Benjamin Otte Date: Tue Nov 25 23:13:21 2014 +0100 range: Query slider position instead of updating it We're updating it later in the function, there's no need to do it here. gtk/gtkrange.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 7193043f7dbe5cf8bdccec2e50b4d845e633d6c3 Author: Benjamin Otte Date: Tue Nov 25 23:12:08 2014 +0100 gtkrange: Fix copy/paste error When factoring out a function in b88584e7bae9bacbda8bd0d9868cbe50eb8e218d I forgot to adapt these values. gtk/gtkrange.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 98da1ddfe2d45e799932c799c9d9d0fa767685d6 Author: Benjamin Otte Date: Tue Nov 25 22:00:11 2014 +0100 range: Setting stepper visibility requires a restyle gtk/gtkrange.c | 3 +++ 1 file changed, 3 insertions(+) commit 9b970d5f22dfa7e917ff5253630331f6eb536d98 Author: Benjamin Otte Date: Tue Nov 25 21:57:58 2014 +0100 entry: Use correct state when computing icon padding gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cbb2938587dc335de898d9b2347d072a51c408ee Author: Emmanuele Bassi Date: Wed Nov 19 14:43:10 2014 +0000 Freeze file system model during editing If a file system event arrives while GtkFileChooserWidget is asking the user to edit the name of a newly created folder, the file system model will drop the row with the editable cell, and the user will have to start from scratch. This makes creating new directories impossible inside a directory with a file currently being downloaded, for instance, and it's really unhelpful to the user because the editable row simply disappears. We already have a mechanism in place to freeze the file system model, so we can reuse it between the add_editable() and the remove_editable() calls. https://bugzilla.gnome.org/show_bug.cgi?id=729927 gtk/gtkfilesystemmodel.c | 81 ++++++++++++++++++++++++++---------------------- 1 file changed, 44 insertions(+), 37 deletions(-) commit d9786d74db9238d480d65adcc030586b710b6043 Author: Andre Heinecke Date: Mon Nov 24 10:59:32 2014 +0100 Remove overzealous validity check for secrets We directly get the length of the secret from the g_variant and use it in a following g_strndup which ensures that the resulting string is terminated. This fixes reading secrets which were stored by system-config-printer. https://bugzilla.gnome.org/show_bug.cgi?id=740612 modules/printbackends/cups/gtkcupssecretsutils.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 246c172e1e9eb9e815c262a83fefed0ed4d89c05 Author: Joanmarie Diggs Date: Thu Nov 20 10:19:52 2014 -0500 GtkButtonAccessible: Stop emitting state-change signals for ATK_STATE_ARMED ATK_STATE_ARMED is now deprecated. There is no replacement. https://bugzilla.gnome.org/show_bug.cgi?id=740438 gtk/a11y/gtkbuttonaccessible.c | 22 ---------------------- 1 file changed, 22 deletions(-) commit 605f2efa734cdbb1ef2ebb94209ea064b0509110 Author: Emmanuele Bassi Date: Wed Nov 19 15:50:55 2014 +0000 docs: Fix annotation for GtkCssProviderError https://bugzilla.gnome.org/show_bug.cgi?id=740374 gtk/gtkcssprovider.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit a78b18c565526b1c792ccb185ff2c385f517595e Author: Jasper St. Pierre Date: Tue Nov 25 11:21:21 2014 -0800 Revert part of "gtknotebook: Optimize GtkStyleContext usage" This reverts part of commit c71e2131345c929753a0128c780d679ce0c4ce6a. This part was unfinished and was pushed simply to avoid the warnings. gtk/gtknotebook.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit eba317228fd36c67513e2a46f5d1b57328db7033 Author: Jasper St. Pierre Date: Tue Nov 25 11:07:31 2014 -0800 gtkstylecontext: Add an optional warning when misusing GtkStyleContext This allows someone to quickly debug more performance issues with G_DEBUG=fatal-warnings. gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+) commit d21dc0d91c1b5004affbb8e468f604b64ff80666 Author: Jasper St. Pierre Date: Tue Nov 25 11:05:57 2014 -0800 gtkcellarea: Optimize GtkStyleContext usage This is a bit bizarre, but the cell renderer can apply different flags from the actual style context, and we should use those instead of the widget flags. gtk/gtkcellarea.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c71e2131345c929753a0128c780d679ce0c4ce6a Author: Jasper St. Pierre Date: Tue Nov 25 11:05:49 2014 -0800 gtknotebook: Optimize GtkStyleContext usage gtk/gtknotebook.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) commit 2cd835c0765e80ac1981a60f4641747a5e32177d Author: Jasper St. Pierre Date: Tue Nov 25 11:05:36 2014 -0800 gtkwindow: Optimize GtkStyleContext usage gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 90f94de6158873733e0c369f97e55361ecaad301 Author: Jasper St. Pierre Date: Tue Nov 25 11:05:04 2014 -0800 deprecated/gtkstyle: Optimize GtkStyleContext usage Even though this is deprecated, it's still initialized for every screen at startup, so let's minimize the cost. gtk/deprecated/gtkstyle.c | 57 ++++++++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 25 deletions(-) commit 442fd63ea617aea2ed8aaa6b34eed61775557c46 Author: Jasper St. Pierre Date: Mon Nov 24 17:07:01 2014 -0800 gtkentry: Pass the correct set of state flags to gtk_style_context_get* This eliminates a lot of overhead in the CSS engine recalculating cached CSS rules, and is overall the correct thing to do. gtk/gtkentry.c | 41 +++++++++++++++++++++++++---------------- 1 file changed, 25 insertions(+), 16 deletions(-) commit 0c09d445091b2d16f92b3b3374d6b594015fac81 Author: Jasper St. Pierre Date: Mon Nov 24 16:56:23 2014 -0800 gtkwidget: Remove unnecessary code in get_state_flags Any time has_focus is called, we will call gtk_widget_update_state_flags which will assign the state flags properly. gtk/gtkwidget.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 06952d807a0980c6d4de0275fc53c7236db8cb20 Author: Benjamin Otte Date: Tue Nov 25 19:33:18 2014 +0100 testsuite: Add a bunch of parsing tests for :not() testsuite/css/parser/Makefile.am | 2 + testsuite/css/parser/not.css | 80 ++++++++++++++++++++++++++++++++++++++++ testsuite/css/parser/not.ref.css | 80 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 162 insertions(+) commit 965da578c47f5acc3ff16b553b4deec1c1b3738f Author: Benjamin Otte Date: Tue Nov 25 19:31:23 2014 +0100 cssselector: Add none selector We apparently didn't yet parse :not(*), so write a selector for this. gtk/gtkcssselector.c | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) commit 8a3a617475cbccbd3da934a2861d1400a8597076 Author: Benjamin Otte Date: Tue Nov 25 19:15:36 2014 +0100 cssselector: Add initial support for :not() :not() works for names, ids, classes and pseudoclasses based on states. It does not yet work for positional pseudoclasses (like :last-child or :even) as there is region madness going on with those. gtk/gtkcssselector.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 123 insertions(+), 12 deletions(-) commit fd1eb92508c7d48b1ca150bfbbaa91fcf22b3d87 Author: Benjamin Otte Date: Tue Nov 25 18:51:13 2014 +0100 cssselector: Macroify simple selectors This is in preparation for the next commits. gtk/gtkcssselector.c | 363 ++++++++++++++++----------------------------------- 1 file changed, 114 insertions(+), 249 deletions(-) commit c0123ae20e684797372c5a703f89c535e5b7ac08 Author: Benjamin Otte Date: Fri Nov 21 08:50:38 2014 +0100 range: Don't duplicate work The adjustment value being equal is checked by gtk_adjustment_set_value() and the necessity of calc_layout() is handled by the value_changed signal handler. gtk/gtkrange.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) commit 06150aa51737751f0beff31eb446bb2a00b2b06e Author: Benjamin Otte Date: Fri Nov 21 08:29:37 2014 +0100 range: Don't invalidate layout when computing marks We now have a function to compute a slider position. Use that one instead. gtk/gtkrange.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit b88584e7bae9bacbda8bd0d9868cbe50eb8e218d Author: Benjamin Otte Date: Fri Nov 21 08:24:51 2014 +0100 range: Split out a function The position of a slider for a given value is something we care a lot about and jump through hoops to get. See next commit for example. gtk/gtkrange.c | 214 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 116 insertions(+), 98 deletions(-) commit daabd0436f766701a8da41dd27cf8cf20ebf44c4 Author: Benjamin Otte Date: Fri Nov 21 08:15:54 2014 +0100 range: Remove 2 variables Instead, compute their value on-demand. gtk/gtkrange.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) commit 447a4391457d592f7ed70311e8b60ca470c4860f Author: Benjamin Otte Date: Fri Nov 21 08:00:52 2014 +0100 range: Remove unused variable gtk/gtkrange.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) commit 79712f843cfe337a32ecb2bf7974ef16bb70bb7e Author: Benjamin Otte Date: Fri Nov 21 07:26:19 2014 +0100 scale: Always be flippable GtkRange only flips horizontal ranges, so there's no need to unset it for vertical scales. Also, set_flippable() is a cute name. gtk/gtkscale.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit addcb7137ea663f676be514af27331472be82735 Author: Benjamin Otte Date: Fri Nov 21 07:16:12 2014 +0100 range: Simplify defines - Delete unused defines - Don't have 2 defines that are multiplied later gtk/gtkrange.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 51f543317002652cd772ef159c9925299e96644a Author: Benjamin Otte Date: Tue Nov 18 18:49:17 2014 +0100 range: Deprecate detail strings in class struct ... and stop setting them. gtk/gtkrange.c | 3 --- gtk/gtkrange.h | 4 ++-- gtk/gtkscale.c | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) commit 0d1395d07fc0ef42cdf31d9a38655ead1acf3127 Author: Benjamin Otte Date: Tue Nov 18 18:21:49 2014 +0100 range: Remove unused detail quarks gtk/gtkrange.c | 9 --------- 1 file changed, 9 deletions(-) commit e7f2239cbb57040784a5214d51f367f322e39009 Author: Benjamin Otte Date: Tue Nov 18 17:48:07 2014 +0100 range: Remove unused variable gtk/gtkrange.c | 4 ---- 1 file changed, 4 deletions(-) commit 4634fd81baf77fc56cfde2ca1e32d36d6372fbbe Author: Matthias Clasen Date: Tue Nov 25 08:42:26 2014 -0500 inspector: Make close buttons in search bars have no relief Make our home-grown searchbar lookalike look more alike. gtk/inspector/prop-list.ui | 1 + gtk/inspector/style-prop-list.ui | 1 + 2 files changed, 2 insertions(+) commit dde77704ed85dfc404ecf7275af77ee4ec3cd7d8 Author: Carlos Garnacho Date: Tue Nov 25 13:54:25 2014 +0100 popover: Forward key events to focus widget while visible/modal This is the expected behavior while the popover keeps the grab, leaving this up to the toplevel implementation gives place to key handlers connected there to handle the event otherwise, and maybe redirect key events somewhere else. gtk/gtkpopover.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit f71831c7809b8def726373ec0a7d36bb3f82ab5e Author: Matthias Clasen Date: Tue Nov 25 00:14:47 2014 -0500 GtkStack: silently ignore visible-child-name set to NULL This can happen when loading empty stacks in glade. gtk/gtkstack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bef9d05812e66c8bc70eccc3378e28919abaee0c Author: Matthias Clasen Date: Mon Nov 24 20:36:00 2014 -0500 inspector: minor cleanup gtk/inspector/prop-list.c | 3 +-- gtk/inspector/prop-list.ui | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) commit 3a5d15358e4675a8b8c3e459b874d9b5719c66a4 Author: Ray Strode Date: Fri Nov 21 14:17:06 2014 -0500 testsuite: add hide-titlebar-when-maximized test for GtkWindow This commit adds a test that checks whether or not hide-titlebar-when-maximized can be set before the window is realized. https://bugzilla.gnome.org/show_bug.cgi?id=740287 testsuite/gtk/window.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) commit c1ca7986ee273d771f21d8693aa0f46b204bb81b Author: Matthias Clasen Date: Mon Nov 24 10:01:54 2014 -0500 Make scale=2 work again There was a leftover HAVE_CAIRO_SURFACE_SET_DEVICE_SCALE ifdef that broke things, now that we don't use this define anymore. gdk/x11/gdkwindow-x11.c | 2 -- 1 file changed, 2 deletions(-) commit 16e863ce6575edb8be7907341ce443b1cb601221 Author: Chun-wei Fan Date: Mon Nov 24 11:05:18 2014 +0800 gdkgl.c: Avoid GCCism in Pointer Arithmetic NULL-plus-something could be seen by the compiler to attempt to do arithmetic with void *, which is a GCCism. Instead, do the math normally and cast the results as a void *. https://bugzilla.gnome.org/show_bug.cgi?id=740605 gdk/gdkgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c7f3b93d99f22ed066dbcce4d7bc5e6bd097ad67 Author: Matthias Clasen Date: Mon Nov 24 06:49:19 2014 -0500 Keep gtk_window_set_hide_titlebar_when_maximized working This broke in 510c2cdfb6362568f4384790dc06e0b1b4aba0e5. https://bugzilla.gnome.org/show_bug.cgi?id=740287 gtk/gtkwindow.c | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) commit 8d6d73e8d9cb3a0863a5298630cbe885845297a7 Author: Matthias Clasen Date: Sun Nov 23 20:34:26 2014 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c64bfa5751ea48af91b77270dc8a3c05e43e28b2 Author: Matthias Clasen Date: Fri Nov 21 21:42:52 2014 -0500 3.15.2 NEWS | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) commit 464536b460196b4ee9261bbc22bc5433c276f2ea Author: Matthias Clasen Date: Sun Nov 23 19:30:14 2014 -0500 Add missing api to the docs docs/reference/gtk/gtk3-sections.txt | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit d0d41dfebaf4f381f0d6deffafecfe254b680983 Author: Matthias Clasen Date: Sun Nov 23 19:16:49 2014 -0500 GtkModelButton: Add docs gtk/gtkmodelbutton.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 7d35351c7a29c2946ab72980ac960c2ffcbe21a1 Author: Matthias Clasen Date: Sun Nov 23 18:52:45 2014 -0500 Update expected results testsuite/a11y/actionbar.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit a09ff50a1d0c205c38327c0b67dad0234c3e903a Author: Matthias Clasen Date: Sun Nov 23 18:29:04 2014 -0500 notify test: Exclude a few new properties The button properties don't make sense on GtkModelButton (indicating that GtkModelButton should really not be a GtkButton subclass). testsuite/gtk/notify.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit f95fb6f893db0af64efd002037a28dc6d8701d41 Author: Matthias Clasen Date: Sun Nov 23 18:25:35 2014 -0500 GtkGLArea: avoid extraneous property notifications gtk/gtkglarea.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit ff4f918a69888a546ff9ea707412d165fcb3d226 Author: Matthias Clasen Date: Sun Nov 23 15:05:01 2014 -0500 GtkModelButton: specify the proper default values Caught by the defaultvalue test: ::text starts out as "", and ::iconic should be FALSE by default. gtk/gtkmodelbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 44c412ecc7f9b4051a4f883d5a62fda8139f47a8 Author: Carlos Garnacho Date: Tue Nov 11 12:07:24 2014 +0100 wayland: Pass shadow width to the compositor Use xdg_surface_set_window_geometry() to tell the compositor about the shadow widths, this makes some gnome-shell/mutter features (edge resistance, frames around windows in the overview, side maximization, ...) work alright with GTK+. In order to add this, some other places in gdkwindow-wayland had to gain some knowledge about margins: - xdg_surface_configure() now syncs the shadow after applying the state, and gdk_wayland_window_set_shadow_width() possibly reconfigures the window in order to preserve window geometry. This is necessary to keep shadows in sync with state/geometry changes, as this does not happen all at once. - xdg_popups relative to an xdg_surface are shown relative to buffer coordinates, so the left/top margins must be added there. https://bugzilla.gnome.org/show_bug.cgi?id=736742 gdk/wayland/gdkwindow-wayland.c | 43 +++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 15 deletions(-) commit 6b95810aaefa73308f2effe43bb53cddac6f117b Author: Matthias Clasen Date: Sat Nov 22 21:37:39 2014 -0500 inspector: Show object title in menu tab gtk/inspector/menu.c | 11 +++++++++++ gtk/inspector/menu.ui | 10 +++++++++- 2 files changed, 20 insertions(+), 1 deletion(-) commit a7ba57f7515c2efabf401be5727875debc7fca0e Author: Matthias Clasen Date: Sat Nov 22 21:33:57 2014 -0500 inspector: Add menu models to the tree Add both the appmenu and the menubar models as children of the application, if they exist. gtk/inspector/object-tree.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 0a37493384d126ba1826282b8ead97fdd0adc681 Author: Matthias Clasen Date: Sat Nov 22 20:56:49 2014 -0500 inspector: Show object title in size groups tab gtk/inspector/size-groups.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit d09f66579b89792395febd0608d3d5a8ca31d362 Author: Matthias Clasen Date: Sat Nov 22 20:13:26 2014 -0500 inspector: Show object title in data tab gtk/inspector/data-list.c | 17 +++++++++++++---- gtk/inspector/data-list.ui | 28 ++++++++++++++++++++++++---- 2 files changed, 37 insertions(+), 8 deletions(-) commit af12993c4bc2e56b2de92353c53052247d064ce7 Author: Matthias Clasen Date: Sat Nov 22 16:21:39 2014 -0500 inspector: Show object title on the style property list As with the property list, this replaces the search bar by a stack containing a search entry. gtk/inspector/style-prop-list.c | 151 ++++++++++++++++++++++++++++++++------- gtk/inspector/style-prop-list.ui | 51 +++++++++++-- 2 files changed, 171 insertions(+), 31 deletions(-) commit f38081a4a54ed30f0a7cf44f1864ee33c7fa2b25 Author: Matthias Clasen Date: Sat Nov 22 16:21:17 2014 -0500 inspector: Show object title on selector tab gtk/inspector/selector.c | 7 +++++++ gtk/inspector/selector.ui | 11 ++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) commit 38c3600d8bd0d93447058b9663a1d269a8f4840a Author: Matthias Clasen Date: Sat Nov 22 15:40:24 2014 -0500 inspector: Show object title in actions tab gtk/inspector/actions.c | 10 ++++++++++ gtk/inspector/actions.ui | 9 +++++++++ 2 files changed, 19 insertions(+) commit d2aad065130e5ab389c45ef030ab3b80691ce056 Author: Matthias Clasen Date: Sat Nov 22 13:54:16 2014 -0500 inspector: Show object title in hierarchy tab gtk/inspector/object-hierarchy.c | 9 ++++++++- gtk/inspector/object-hierarchy.ui | 11 ++++++++++- 2 files changed, 18 insertions(+), 2 deletions(-) commit 85380f22f34f28a85b20054e691c5fc1c60f9f09 Author: Matthias Clasen Date: Sat Nov 22 13:41:21 2014 -0500 inspector: Show object title in the classes tab gtk/inspector/classes-list.c | 7 +++++++ gtk/inspector/classes-list.ui | 45 +++++++++++++++++++++++++++++++++++++------ 2 files changed, 46 insertions(+), 6 deletions(-) commit fe5f9c560b1a20f28ba71cde2a5f7d17c226b81b Author: Matthias Clasen Date: Sat Nov 22 13:26:53 2014 -0500 inspector: Show object title in the css tab gtk/inspector/css-editor.c | 19 ++++++++++++------- gtk/inspector/css-editor.ui | 39 +++++++++++++++++++++++++++++++++------ 2 files changed, 45 insertions(+), 13 deletions(-) commit c2326aa5cf7ed6826a0942e684c51f2a924851f5 Author: Matthias Clasen Date: Sat Nov 22 13:12:41 2014 -0500 inspector: Show object title in the gestures tab gtk/inspector/gestures.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 9e3d0651e14c64ec16b767bbd098bfefa9da665c Author: Matthias Clasen Date: Sat Nov 22 13:03:20 2014 -0500 inspector: Show object title in the signals tab gtk/inspector/signals-list.c | 26 ++++++++++++++++--------- gtk/inspector/signals-list.ui | 44 ++++++++++++++++++++++++++++++++++++++----- 2 files changed, 56 insertions(+), 14 deletions(-) commit 7a1c5845ef6f579763d3493106ce4b17bfd5d103 Author: Matthias Clasen Date: Sat Nov 22 11:41:24 2014 -0500 inspector: Show object title in the properties tab Replace the search bar with a search entry in a stack to make this work without unseemly height changes. gtk/inspector/prop-list.c | 152 ++++++++++++++++++++++++++++++++++++--------- gtk/inspector/prop-list.ui | 51 +++++++++++++-- 2 files changed, 171 insertions(+), 32 deletions(-) commit 2ea3171ff97609c8f6409136ffee9ac1e153ba5b Author: Matthias Clasen Date: Sat Nov 22 09:53:40 2014 -0500 inspector: Show object title in the misc tab gtk/inspector/misc-info.c | 7 +++++++ gtk/inspector/misc-info.ui | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) commit 5b7233f136c097cfda6fc24cefb5cafb58f12868 Author: Matthias Clasen Date: Sat Nov 22 15:40:46 2014 -0500 inspector: Store object title on object gtk/inspector/object-tree.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 84463b78e543800a242b55c085d30886034284c0 Author: Matthias Clasen Date: Sat Nov 22 06:46:28 2014 -0500 inspector: Drop an unused argument gtk/inspector/misc-info.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 9fb2d6a6b93708215e0476d55faff23d715e33d9 Author: Matthias Clasen Date: Sat Nov 22 13:02:56 2014 -0500 inspector: Trivial typo fix gtk/inspector/misc-info.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 72a501fe155d31d6b3a4c181014a66444a3810bb Author: Matthias Clasen Date: Fri Nov 21 20:58:25 2014 -0500 GtkGLArea: Formatting fixes gtk/gtkglarea.c | 147 +++++++++++++++++++++++++++++--------------------------- 1 file changed, 75 insertions(+), 72 deletions(-) commit 10a7a89311ba0edf93c70470ddac23ecf2d8c3e7 Author: Jasper St. Pierre Date: Sat Nov 22 09:07:51 2014 -0800 gdkinternals: Document our drawing and painting process better gdk/gdkinternals.h | 77 ++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 72 insertions(+), 5 deletions(-) commit c01e37a9a5db5957d08fcb4b8f11ea86c344f6d1 Author: Jasper St. Pierre Date: Sat Nov 22 10:17:22 2014 -0800 gdkgl: Texture quads in one giant draw call This requires us to use GL_TRIANGLES and six verts per quad instead of four, which makes me think it might not be worth it on well-optimized GL drivers. However, from talking to some driver developers about it, the GL_TRIANGLES should be faster, since this means that there's one giant contiguous buffer instead of many small buffers. If we were really rendering a lot of quads, I'd use an element buffer and GL_PRIMITIVE_RESTART, but we're really not ever rendering that many quads, and the setup cost for that would just be too annoying. gdk/gdkgl.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) commit 6ffba866a61dfcd854711c97e93dce641cb055b1 Author: Jasper St. Pierre Date: Sat Nov 22 10:12:58 2014 -0800 gdkgl: Use one VBO for both position and uv attributes gdk/gdkgl.c | 28 +++++++--------------------- gdk/gdkglcontextprivate.h | 1 - 2 files changed, 7 insertions(+), 22 deletions(-) commit 37ad6e11477060c74c2818210583b6fa37b1b027 Author: Jasper St. Pierre Date: Sat Nov 22 09:47:35 2014 -0800 gdkgl: Texture many quads at once for performance reasons This isn't fully performant yet. To be fully performant, we'd need to do everything in one giant buffer. gdk/gdkgl.c | 83 ++++++++++++++++++++++++++++++---------------- gdk/gdkinternals.h | 7 ++-- gdk/x11/gdkglcontext-x11.c | 22 ++++++++---- 3 files changed, 75 insertions(+), 37 deletions(-) commit 7312c01f62b701d01ed29fca33e9a05041bf5b2a Author: Jasper St. Pierre Date: Sat Nov 22 10:01:51 2014 -0800 gdkglcontext-x11: Make sure to enable the scissor test gdk/x11/gdkglcontext-x11.c | 4 ++++ 1 file changed, 4 insertions(+) commit 37697f18179273c96204ebd9b53eee84cbf5204e Author: Jasper St. Pierre Date: Sat Nov 22 09:39:18 2014 -0800 gdkgl: Use a GdkTexturedQuad struct to paint quads We'll soon have a new function that paints multiple quads. gdk/gdkgl.c | 50 ++++++++++++++++++++++++---------------------- gdk/gdkinternals.h | 12 +++++++---- gdk/x11/gdkglcontext-x11.c | 14 ++++++++----- 3 files changed, 43 insertions(+), 33 deletions(-) commit 28846536cbe01090844cdb35001fbc2834a1118b Author: Jasper St. Pierre Date: Sat Nov 22 09:29:27 2014 -0800 gdkgl: Clean up program-manipulating code Abstract the program ID and locations into a "program struct" which we then use. gdk/gdkgl.c | 96 +++++++++++++++++++---------------------------- gdk/gdkglcontextprivate.h | 21 ++++++----- 2 files changed, 50 insertions(+), 67 deletions(-) commit 3f0c84f7adef8432a65c856d0d5f7ab5270117cc Author: Jasper St. Pierre Date: Sat Nov 22 08:12:22 2014 -0800 gdkwindow: Clean up whitespace slightly This has been bothering me for a while. gdk/gdkwindow.c | 1 - 1 file changed, 1 deletion(-) commit 8976e84ded5d162c10c74e82edf04cf3c068114d Author: Jasper St. Pierre Date: Sat Nov 22 08:08:34 2014 -0800 gdkwindow: Don't pass the region to the impl when beginning a paint It's unused. At the same time, rename "begin_paint_region" to "begin_paint". This will help us clean up how GDK painting works in the future to allow more creative use of double-buffering. gdk/gdkwindow.c | 4 ++-- gdk/gdkwindowimpl.h | 3 +-- gdk/mir/gdkmirwindowimpl.c | 7 +++---- gdk/quartz/gdkwindow-quartz.c | 5 ++--- gdk/wayland/gdkwindow-wayland.c | 5 ++--- 5 files changed, 10 insertions(+), 14 deletions(-) commit ec2925a5bf67fc4aed45cd42d68fd00735ae90a5 Author: Jasper St. Pierre Date: Sat Nov 22 08:06:09 2014 -0800 quartz: Don't bother storing the paint_clip_region It's unused. gdk/quartz/gdkwindow-quartz.c | 55 ------------------------------------------- gdk/quartz/gdkwindow-quartz.h | 1 - 2 files changed, 56 deletions(-) commit 1730bb0e81c7b7673f30575774a76a1626936f45 Author: Marco Trevisan (Treviño) Date: Fri Nov 21 04:44:44 2014 +0100 mir: initialize surface name with program name gdk/mir/gdkmirwindowimpl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a0d1a79c5f9a709c22d740afd9334085529546a Author: Josef Andersson Date: Thu Nov 20 20:55:11 2014 +0000 Updated Swedish translation po/sv.po | 1807 +++++++++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 1188 insertions(+), 619 deletions(-) commit 6fa4aef8119ead0434f67e45fdf5b6589080bfdb Author: Piotr Drąg Date: Thu Nov 20 16:46:38 2014 +0100 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 442adf6359867746f0d96887507a1cf87bdeba06 Author: Alexander Larsson Date: Thu Nov 20 15:36:21 2014 +0100 GL: Fix typo in gdk_gl_texture_from_surface Got a sign wrong in commit 800c712738f5666937e32d9f8cb32353513b9423 gdk/gdkgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 47440588327d324ab61e4c0956f48c60927a7847 Author: Chun-wei Fan Date: Thu Nov 20 22:35:05 2014 +0800 Visual Studio Builds: Fix gdkconfig.h Generation ...for Broadway builds, as it was producing a wrongly-named check file for that configuration, so that a clean would not be correctly performed and subsequently affected rebuilds. build/win32/vs10/gtk-gen-srcs.props | 4 ++-- build/win32/vs9/gtk-gen-srcs.vsprops | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit cf94da2ca1880340f146293916efffda679ca7a6 Author: Alexander Larsson Date: Thu Nov 20 12:22:06 2014 +0100 GdkGLContext: Remove unused update vfunc The update virtual function for GdkGLContext is unused and is a leftover from a previous GL approach. Just remove it. https://bugzilla.gnome.org/show_bug.cgi?id=739750 gdk/gdkglcontextprivate.h | 1 - gdk/mir/gdkmirglcontext.c | 19 ------------------- gdk/wayland/gdkglcontext-wayland.c | 19 ------------------- gdk/x11/gdkglcontext-x11.c | 20 -------------------- 4 files changed, 59 deletions(-) commit 800c712738f5666937e32d9f8cb32353513b9423 Author: Alexander Larsson Date: Thu Nov 20 11:53:09 2014 +0100 GL: Fix GL Y coordinate flipping to use unscaled window height This is needed in the edge case where the X11 backend rounded the actual size, and the GL flipping really needs the correct window height to do proper Y coordinate flipping. https://bugzilla.gnome.org/show_bug.cgi?id=739750 gdk/gdkgl.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 1eb3b34bcebc11a7a46346f2f35d845e4194cb45 Author: Alexander Larsson Date: Thu Nov 20 11:50:11 2014 +0100 Add gdk_window_get_unscaled_size This is required for the X backend GL integration. If the window has a height that is not a multiple of the window scale we can't properly do the y coordinate flipping that GL needs. Other backends can ignore this and use the default implementation. https://bugzilla.gnome.org/show_bug.cgi?id=739750 gdk/gdkinternals.h | 4 +++- gdk/gdkwindow.c | 31 +++++++++++++++++++++++++++++++ gdk/gdkwindowimpl.h | 3 +++ gdk/x11/gdkwindow-x11.c | 15 +++++++++++++++ 4 files changed, 52 insertions(+), 1 deletion(-) commit 788478dff9466b6606d61aa977847b7d78077d0f Author: Alexander Larsson Date: Thu Nov 20 10:42:55 2014 +0100 x11: Return the exact pixel coverage in get_frame_extents Rather than just rounding down the position *and* the size separately we correctly calculate a rectangle in scaled window coords that fully covers the real window size. This really only makes a difference when the window size/position isn't a multiple of the window scale. https://bugzilla.gnome.org/show_bug.cgi?id=739750 gdk/x11/gdkwindow-x11.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit bd643e0e1afff720db2f2f512818f0b2633a6213 Author: Owen W. Taylor Date: Thu Nov 6 17:17:45 2014 -0500 x11: Keep track of the exact size in X pixels of windows Keep track of the exact size of X windows in underlying pixels; we generally use the scaled size instead, but to properly handle the GL viewport for windows that aren't a multiple of window_scale, we need to know the real size. https://bugzilla.gnome.org/show_bug.cgi?id=739750 gdk/x11/gdkdisplay-x11.c | 8 ++++++-- gdk/x11/gdkgeometry-x11.c | 2 ++ gdk/x11/gdkwindow-x11.c | 51 ++++++++++++++++++++++++++++++++++------------- gdk/x11/gdkwindow-x11.h | 8 ++++++++ 4 files changed, 53 insertions(+), 16 deletions(-) commit 608c25453b0e95a7fcc0ce9e81b3aa73e9bb39d6 Author: Owen W. Taylor Date: Thu Nov 6 16:17:33 2014 -0500 x11: round the scaled size *up* when we get a ConfigureNotify Although we specify a resize increment to try and get a size that is a multiple of the window scale, maximization typically wins over the resize increment, so the window might be odd sized. Round *up* in this case, rather than down, since it's better to truncate a line or two at the bottom and right of the window rather than have a line or two that we don't know what to do with. https://bugzilla.gnome.org/show_bug.cgi?id=739750 gdk/x11/gdkdisplay-x11.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f5d96f711058551f500f33b911ce814b74430ab6 Author: Marco Trevisan (Treviño) Date: Thu Nov 20 05:51:12 2014 +0100 mir: use proper naming for mir window type checking macro gdk/mir/gdkmir.h | 2 +- gdk/mir/gdkmirwindowimpl.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 99d849412baf14e6cecde7268e1609a411de733d Author: Marco Trevisan (Treviño) Date: Thu Nov 20 04:41:45 2014 +0100 mir: add public getter for the internal MirSurface gdk/mir/gdkmir.h | 3 +++ gdk/mir/gdkmirwindowimpl.c | 12 ++++++++++++ 2 files changed, 15 insertions(+) commit 60e185e496180dad0be322a970e4aa17be1c8809 Author: Marco Trevisan (Treviño) Date: Thu Nov 20 04:41:06 2014 +0100 mir: don't use struct MirConnection*, just the latter gdk/mir/gdkmir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6e9db05601e33ccfc71bd55c17f114caffd6f93b Author: Marco Trevisan (Treviño) Date: Tue Nov 18 22:23:52 2014 +0100 mir: add OpenGL support Implement GdkGLContext using EGL and use hardware mir surfaces when a GdkWindow uses gl rendering. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=740346 gdk/mir/Makefile.am | 1 + gdk/mir/gdkmir-private.h | 42 +++++ gdk/mir/gdkmir.h | 10 +- gdk/mir/gdkmirdisplay.c | 187 +++++++++++++++++++++ gdk/mir/gdkmirglcontext.c | 125 ++++++++++++++ gdk/mir/gdkmirwindowimpl.c | 408 +++++++++++++++++++++++++++++++++++++-------- 6 files changed, 705 insertions(+), 68 deletions(-) commit 45cfb405c0e34c69ccc483455d31febca60abb33 Author: Matthias Clasen Date: Wed Nov 19 14:40:10 2014 +0100 GtkModelButton: Don't show both text and icon The intention was that ::iconic indicates which representation is preferred (text or icon). We fall back to the other representation if one is missing. gtk/gtkmodelbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d51c9e033740901742eb522a1b1113f4cee8e877 Author: Matthias Clasen Date: Wed Nov 19 09:26:25 2014 +0100 GtkPopoverMenu: be more careful about change notification Only emit notify for ::visible-submenu when the visible page in the stack actually changed. gtk/gtkpopovermenu.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 46b6c2f024a539da70baa78377b9d0d5dd39eac1 Author: Kjartan Maraas Date: Wed Nov 19 19:42:51 2014 +0100 Updated Norwegian bokmål translation. po/nb.po | 220 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 108 insertions(+), 112 deletions(-) commit 048bbb0e6d8876927649f01214db39c54296fcc5 Author: Kjartan Maraas Date: Wed Nov 19 19:30:46 2014 +0100 Updated Norwegian bokmål translation. po-properties/nb.po | 5699 +++++++++++++++++++++++++++++---------------------- 1 file changed, 3253 insertions(+), 2446 deletions(-) commit 17fce05123b842f9518ad497c35119cf986834af Author: Daniel Mustieles Date: Wed Nov 19 13:48:15 2014 +0100 Updated Spanish translation po-properties/es.po | 58 +++++++++++++++++++++++------------------------------ 1 file changed, 25 insertions(+), 33 deletions(-) commit 719775860082fbeebdd2ef4bb02dcc19eecba952 Author: Lapo Calamandrei Date: Tue Nov 18 15:16:43 2014 +0100 Adwaita: typo fix gtk/resources/theme/Adwaita/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 955c798ab1ef799d2778ebbc878c1d9613a3b08a Author: Matthias Clasen Date: Tue Nov 18 13:39:15 2014 +0100 GtkPopoverMenu: expose more properties Expose the position as a child property and the visible page as a property. These are useful in glade. gtk/gtkpopovermenu.c | 89 ++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 87 insertions(+), 2 deletions(-) commit cd8576ec1920f73098c33df75d4e037305cc3e11 Author: Matthias Clasen Date: Tue Nov 18 13:36:16 2014 +0100 GtkStack: Fix an oversight in child renaming We currently emit a warning if you rename a child to the name it already has. We shouldn't do that. gtk/gtkstack.c | 2 ++ 1 file changed, 2 insertions(+) commit d31896bdba9db6883a4ccb120cf73f143a9a98bc Author: Tom Tryfonidis Date: Tue Nov 18 08:36:28 2014 +0000 Updated Greek translation po/el.po | 496 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 228 insertions(+), 268 deletions(-) commit 0fac1390578ad9f8e3c21de1b408bb706234dc8b Author: Timm Bäder Date: Mon Nov 17 18:39:15 2014 +0100 Revert "GtkMenuSectionBox: Add tooltip to iconic buttons" This reverts commit 7543e7b279200ed0aad80574c0a3fa2672f297ce. gtk/gtkmenusectionbox.c | 1 - 1 file changed, 1 deletion(-) commit 9b83858d9a6d31a85641283fffcc7cf5bd7e7e86 Author: Timm Bäder Date: Mon Nov 17 18:39:00 2014 +0100 Revert "popover: Add show/hide transition" This reverts commit 17f48e3a9e3623df2feb76dd209fe80b94b8b5c1. gtk/gtkpopover.c | 119 ++++--------------------------------------------------- 1 file changed, 8 insertions(+), 111 deletions(-) commit 56133a1feb162ad891eca58d8c6169d83b74448d Author: Timm Bäder Date: Sun Nov 16 10:29:15 2014 +0100 GtkDialog: Connect to activate signals only once If the widget is an action widget, it's been previously added with gtk_dialog_add_action_widget, which calls add_response_data on it, which in turn connects to the clicked/activate signal of that widget, so we don't need to connect to that signal a second time in gtk_buildable_custom_finished. gtk/gtkdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17f48e3a9e3623df2feb76dd209fe80b94b8b5c1 Author: Timm Bäder Date: Fri Oct 24 16:58:32 2014 +0200 popover: Add show/hide transition gtk/gtkpopover.c | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 111 insertions(+), 8 deletions(-) commit 7543e7b279200ed0aad80574c0a3fa2672f297ce Author: Timm Bäder Date: Tue Sep 23 18:26:53 2014 +0200 GtkMenuSectionBox: Add tooltip to iconic buttons gtk/gtkmenusectionbox.c | 1 + 1 file changed, 1 insertion(+) commit e0e46a4f6bf852d5ead8b8c015aa8eaf4e80599e Author: Marco Trevisan (Treviño) Date: Mon Nov 17 17:22:01 2014 +0100 mir: update surface type based on events gdk/mir/gdkmir-private.h | 2 ++ gdk/mir/gdkmireventsource.c | 1 + gdk/mir/gdkmirwindowimpl.c | 17 +++++++++++++---- 3 files changed, 16 insertions(+), 4 deletions(-) commit 76510619206ae8233ed49b379343b689a8028920 Author: Carlos Garnacho Date: Mon Nov 17 16:55:08 2014 +0100 scrolledwindow: Avoid too frequent redraws of scrollbars When overshooting through touchpad kinetic scrolling, the scrollbar remains mostly static as it already hit a boundary. However, the fade in/out checks are constantly run during scroll events, causing needless redraws in this specific case. gtk/gtkscrolledwindow.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 6d5f2ff87ebdf9abcbf70c7fb26348fca2a612ae Author: Carlos Garnacho Date: Mon Nov 17 14:47:57 2014 +0100 scrolledwindow: Only render background/frame on the widget window Otherwise it is rendered too on each indicator window, possibly bringing in an unintended opaque background there. Better seen with git show -b. gtk/gtkscrolledwindow.c | 71 ++++++++++++++++++++++++++----------------------- 1 file changed, 37 insertions(+), 34 deletions(-) commit da8fdab87b4cc96b9614ccb6abb0682def324f30 Author: Marco Trevisan (Treviño) Date: Mon Nov 17 13:38:27 2014 +0100 mir: fix typo in GDK_IS_WINDOW_MIR definition gdk/mir/gdkmir.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit acfc4f891030d7339c221bdb57df9af8994fd6e0 Author: Marco Trevisan (Treviño) Date: Sat Nov 15 17:35:07 2014 +0100 mir: invert scrolling delta gdk/mir/gdkmireventsource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5ff39b207b373754007a99be6286bb7b93ecb49d Author: Robert Ancell Date: Mon Nov 17 10:49:13 2014 +1300 mir: Require mirclient >= 0.9.0 Recent changes to the Mir backend require an unreleased version. configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ecfcb3e2cc09297c48622a5aa293bd5fac2979cf Author: Matthias Clasen Date: Sun Nov 16 02:27:20 2014 -0500 Make gtk_container_remove work on popover menus Extend the hack we have in place for composite containers to GtkPopoverMenu. gtk/gtkcontainer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1e39790c49e0249ffb8b432e813e98fe76a8aee6 Author: Matthias Clasen Date: Sat Nov 15 17:44:39 2014 -0500 GtkPopoverMenu: Implement forall This is required to make glade work. gtk/gtkpopovermenu.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 4f7abe37621ed32f33032327c56bf5402379ad28 Author: Lapo Calamandrei Date: Sat Nov 15 19:08:13 2014 +0100 Adwaita: no border radius for GtkTreeView:selected gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 268efd14754c6fec67b6f8ffe4af0f0d4b4d64b1 Author: Lapo Calamandrei Date: Sat Nov 15 16:09:39 2014 +0100 textview: remove osd style class from touch selection popover The touch-selection class is sufficient since that needs special casing whatever. gtk/gtktextview.c | 2 -- 1 file changed, 2 deletions(-) commit df7b275de8f7cfaa3beffd45b7c8819bf6f8e738 Author: Lapo Calamandrei Date: Sat Nov 15 16:08:15 2014 +0100 entry: remove osd style class from touch selection popover The touch-selection class is sufficient since that needs special casing whatever. gtk/gtkentry.c | 2 -- 1 file changed, 2 deletions(-) commit beb28dd3e997182e08f43b99b356544ab15f9dc8 Author: Lapo Calamandrei Date: Sat Nov 15 15:54:20 2014 +0100 Adwaita: :selected cleanup and rationalization gtk/resources/theme/Adwaita/_colors.scss | 1 + gtk/resources/theme/Adwaita/_common.scss | 54 ++-------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 59 ++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 119 ++++++++------------- 4 files changed, 66 insertions(+), 167 deletions(-) commit f5c5e9385e960a74ce38bc58a30fa36474d0cd6a Author: Marco Trevisan (Treviño) Date: Fri Nov 14 23:18:53 2014 +0100 mir: handle more surface types gdk/mir/gdkmirwindowimpl.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 8bc523ef5915d4ab7ced843929c8e3f1bf754016 Author: Marco Trevisan (Treviño) Date: Fri Nov 14 23:18:10 2014 +0100 mir: fix compilation in mirscreen gdk/mir/gdkmirscreen.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 32aa33e8d10ad08ffb2df746e56cba7fa2994b0e Author: Lapo Calamandrei Date: Fri Nov 14 19:34:09 2014 +0100 Adwaita: popover scss cleanup gtk/resources/theme/Adwaita/_common.scss | 11 +++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 ++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 8 ++++++-- 3 files changed, 19 insertions(+), 8 deletions(-) commit ebc379287fef797b682a6aafe61aad791d39de17 Author: Lapo Calamandrei Date: Fri Nov 14 18:58:22 2014 +0100 Adwaita: more overshoot tweakings and typo fix gtk/resources/theme/Adwaita/_drawing.scss | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +++++++++++----------- 3 files changed, 27 insertions(+), 27 deletions(-) commit a7173d097f4fc7a01141f16c4087d88af8f44559 Author: Matthias Clasen Date: Fri Nov 14 11:49:33 2014 -0500 Make overlay scrollbar fading interruptible When the pointer starts hovering the scrollbar after it already started fading out, interrupt the fade and keep the scrollbar around. gtk/gtkscrolledwindow.c | 1 + 1 file changed, 1 insertion(+) commit 95b075b8ebd7c7854b92e23fc16cad369bff2ecb Author: Matthias Clasen Date: Fri Nov 14 11:47:24 2014 -0500 Drop unused variables Keeps the compiler happy. gtk/gtkstack.c | 2 -- 1 file changed, 2 deletions(-) commit a30a54a52185977d948707329126264ccfd9575f Author: Lapo Calamandrei Date: Fri Nov 14 15:37:02 2014 +0100 Adwaita: overshoot style tweaks Trying to make it visible on the dark variant. gtk/resources/theme/Adwaita/_drawing.scss | 52 ++++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 32 ++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 32 ++++++------- 3 files changed, 60 insertions(+), 56 deletions(-) commit 2d1c7b8937705fdc117d991e154f0a15eddca964 Author: Matthias Clasen Date: Thu Nov 13 23:10:34 2014 -0500 Trivial formatting fix gtk/gtkpopover.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 49cf85509aa679439a42866318c7ce6a9b1a2588 Author: Matthias Clasen Date: Thu Nov 13 23:09:21 2014 -0500 GtkPopover: Survive attach_widget == NULL We can't render a tail, but otherwise things should just work. This will be useful in glade. gtk/gtkpopover.c | 48 ++++++++++++++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 18 deletions(-) commit 61286d592738d69b46f0437808133757c853a1b1 Author: Chun-wei Fan Date: Fri Nov 14 17:26:29 2014 +0800 gdk/gdkgl.c: Fix Typo The extra ';' actually broke builds on C89 compilers... gdk/gdkgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ef6d5ddf276691a3a23fc3580a50a1e50ef8041f Author: Josef Andersson Date: Thu Nov 13 22:01:55 2014 +0000 Updated Swedish translation po-properties/sv.po | 1699 +++++++++++++++++++++++++++------------------------ 1 file changed, 902 insertions(+), 797 deletions(-) commit 632accd9cc121c9c65b1f7be099dfb96ee5133f6 Author: Carlos Garnacho Date: Thu Nov 13 21:21:39 2014 +0100 scrolledwindow: Use a fully transparent background for the overlay window The background will be already given and updated in the GtkScrollbar widget, plus the background remained static on the window since it is realized. gtk/gtkscrolledwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ed9202bf67913b2900121342141b97492948ef22 Author: Kjartan Maraas Date: Thu Nov 13 21:13:02 2014 +0100 Updated Norwegian bokmål translation. po/nb.po | 2709 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 1685 insertions(+), 1024 deletions(-) commit b591cacc3983d9bcb42f523a59de64109eee93af Author: Carlos Garnacho Date: Thu Nov 13 20:30:52 2014 +0100 scrolledwindow: Don't doubly draw overlay-indicator scrollbars The scrollbars are still internal children of the GtkScrolledWindow and handled in ::forall(), no need to propagate draw here again after chaining up in ::draw(). gtk/gtkscrolledwindow.c | 8 -------- 1 file changed, 8 deletions(-) commit 733f70ea8482074f74620d4d1f7843a18bc878fb Author: Carlos Garnacho Date: Thu Nov 13 20:20:37 2014 +0100 gtkpopover: Fix allocation of child widget wrt margins During size request, all sides' margins are ensured to be as big as TAIL_HEIGHT, just to avoid possible relocation loops if the popover doesn't fit in its original position. This must be accounted for in size_allocate() as well. gtk/gtkpopover.c | 25 ++++--------------------- 1 file changed, 4 insertions(+), 21 deletions(-) commit e0353b37a83d1c6aeb22b6880079df74e322b3c1 Author: Carlos Garnacho Date: Thu Nov 13 20:18:54 2014 +0100 scrolledwindow: Only render overshoot on the widget window Without any check, it was being rendered also on the indicator GdkWindows, which resulted on an over-exposed effect there. gtk/gtkscrolledwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 69c30fda5c2034af58d0ebbbbfea729687813b6f Author: Lapo Calamandrei Date: Thu Nov 13 18:47:42 2014 +0100 Adwaita: reset some properties in the overshoot mixin Otherwise we may inherit them see: https://bugzilla.gnome.org/show_bug.cgi?id=740011 gtk/resources/theme/Adwaita/_drawing.scss | 4 +++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 40 +++++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 40 +++++++++++++++++----- 3 files changed, 68 insertions(+), 16 deletions(-) commit 360b516ef4efda1c3a9bb46f35b9c1dcaf9cff80 Author: Lapo Calamandrei Date: Thu Nov 13 18:31:18 2014 +0100 Adwaita: overshoot styling gtk/resources/theme/Adwaita/_common.scss | 20 +++--- gtk/resources/theme/Adwaita/_drawing.scss | 71 ++++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 48 +++++++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 48 +++++++++++---- 4 files changed, 151 insertions(+), 36 deletions(-) commit 8a5092d1d9fb002cde3c85083fe00c6a8cfbb21e Author: Daniel Mustieles Date: Thu Nov 13 13:57:46 2014 +0100 Updated Spanish translation po-properties/es.po | 70 ++++++++++++++++------------------------------------- 1 file changed, 21 insertions(+), 49 deletions(-) commit 7887badaa17af4295c30ba1e4a1a20d2c9feee59 Author: Daniel Mustieles Date: Thu Nov 13 13:54:12 2014 +0100 Updated Spanish translation po/es.po | 62 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 30 insertions(+), 32 deletions(-) commit c9d0bd8a7244c8cc5a13e96193ebd1f0f62d07b9 Author: Lapo Calamandrei Date: Thu Nov 13 11:26:40 2014 +0100 Adwaita: simplify scrollbar styling By the use of slider margins. In the process darken the overlay scrollbar trough in fine-tune mode to make it noticiable. gtk/resources/theme/Adwaita/_common.scss | 68 ++++++++-------------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 60 ++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 60 ++++++++----------- 3 files changed, 69 insertions(+), 119 deletions(-) commit 85a539ce6d42cea52970c7c22d35538443e54937 Author: Matthias Clasen Date: Wed Nov 12 22:50:52 2014 -0500 inspector: Add frame clock info Add the frame clocks of toplevel widgets to the object tree, and show their frame count and frame rate in the misc tab. gtk/inspector/misc-info.c | 57 +++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui | 68 ++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui.h | 2 ++ gtk/inspector/object-tree.c | 9 ++++++ 4 files changed, 136 insertions(+) commit c42146d88c324189a3a70189f1a60156697ad9ab Author: Marco Trevisan (Treviño) Date: Thu Nov 13 04:42:48 2014 +0100 mir: get/set window surface type gdk/mir/gdkmirwindowimpl.c | 72 +++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 68 insertions(+), 4 deletions(-) commit c7e7e350839b19732a2eea7a2151c0c3a76c2544 Author: Marco Trevisan (Treviño) Date: Thu Nov 13 03:58:32 2014 +0100 mir: don't request more surface formats than the supported ones gdk/mir/gdkmirwindowimpl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 45528440e6dbc85018f20582e26f13de8ebd396a Author: Matthias Clasen Date: Wed Nov 12 21:58:08 2014 -0500 inspector: Show the refcount on the misc tab gtk/inspector/misc-info.c | 98 +++++++++++++++++++++++++------------------- gtk/inspector/misc-info.ui | 34 +++++++++++++++ gtk/inspector/misc-info.ui.h | 1 + 3 files changed, 91 insertions(+), 42 deletions(-) commit 72b9d2861c240bc3079d799a7da6d09d6e57f42f Author: Matthias Clasen Date: Wed Nov 12 20:44:22 2014 -0500 inspector: Update misc-info while the tab is shown Update the values on the page once per second, while the tab is shown. gtk/inspector/misc-info.c | 118 ++++++++++++++++++++++++++++++---------------- 1 file changed, 78 insertions(+), 40 deletions(-) commit 4e4ccb76cd8b5b7dc4342f35fcf64ace30019641 Author: Marco Trevisan (Treviño) Date: Thu Nov 13 02:26:38 2014 +0100 mir: implement screen get_plug_name gdk/mir/gdkmirscreen.c | 41 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 40 insertions(+), 1 deletion(-) commit a77571c42e6c5c65ae760f16a4f40b7d09aa67d1 Author: Marco Trevisan (Treviño) Date: Thu Nov 13 02:19:29 2014 +0100 mir: clear screen objects correctly gdk/mir/gdkmirscreen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0d024c2df87c636c419577c0b9046815a16792b5 Author: Marco Trevisan (Treviño) Date: Thu Nov 13 02:07:46 2014 +0100 mir: don't crash when querying infos for an invalid monitor gdk/mir/gdkmirscreen.c | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) commit c8826ba8c77b25ab9bd59027e0b87fadb49f5a3b Author: Marco Trevisan (Treviño) Date: Thu Nov 13 01:59:21 2014 +0100 mir: clear screen data gdk/mir/gdkmirscreen.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 98a8c66970872c600a3122c53c4a7680276f069d Author: Marco Trevisan (Treviño) Date: Thu Nov 13 01:47:56 2014 +0100 mir: correctly get screen mm sizes gdk/mir/gdkmirscreen.c | 33 +++++++++++++++++++++++++++++---- 1 file changed, 29 insertions(+), 4 deletions(-) commit c6de20496c4075a0f1daf8be450d8522aaaea82f Author: Marco Trevisan (Treviño) Date: Thu Nov 13 01:34:10 2014 +0100 mir: unset config change callback on finalize gdk/mir/gdkmirscreen.c | 2 ++ 1 file changed, 2 insertions(+) commit 92c2e99ddac668d729f42bff501f70fb56fbb76c Author: Marco Trevisan (Treviño) Date: Thu Nov 13 01:27:05 2014 +0100 mir: actually pass the GdkMirScreen to display config change cb gdk/mir/gdkmirscreen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e2ce0700a6fb31456c5de10c896f39691c248f5e Author: Matthias Clasen Date: Wed Nov 12 19:22:55 2014 -0500 GtkCssProvider: Load themes from versioned directories Look for themes in $prefix/themes/$name/gtk-$version/ (for version = 3.16, 3.14, ...), before using the old location $prefix/themes/$name/gtk-3.0/. This gives theme authors a way to support multiple versions of GTK+ 3 with separate css files. gtk/gtkcssprovider.c | 106 ++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 76 insertions(+), 30 deletions(-) commit 55fd3a762c4e4addc3716b6e9e1c1a6622ed7842 Author: Matthias Clasen Date: Wed Nov 12 18:20:35 2014 -0500 GtkCssProvider: Factor out a function Move finding the gtk.css file into its own function. We will make this more complicated in the near future. gtk/gtkcssprovider.c | 84 ++++++++++++++++++++++++++++------------------------ 1 file changed, 46 insertions(+), 38 deletions(-) commit 6a618bf48c025aef7cd49248f4a2080247b2648b Author: Matthias Clasen Date: Wed Nov 12 17:23:45 2014 -0500 widget-factory: Add some margins to text views demos/widget-factory/widget-factory.ui | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit d50dd1d33c1b2ee8c68b8fbd82d0043886972a47 Author: Matthias Clasen Date: Wed Nov 12 16:05:49 2014 -0500 gtk3-demo: Use better text margins We really want margins around the scrollable content, not around the viewport. Make it so by using textview-specific properties. This is unfortunately a little complicated for top/bottom. demos/gtk-demo/main.c | 47 ++++++++++++++++++++++++++++++++++++++++++----- demos/gtk-demo/main.ui | 12 ++++-------- 2 files changed, 46 insertions(+), 13 deletions(-) commit bac7408be4f5479c3e6d67cc1d7b75f8a9a12328 Author: Lapo Calamandrei Date: Wed Nov 12 17:30:59 2014 +0100 Adwaita: set scale trough margins where they belong. gtk/resources/theme/Adwaita/_common.scss | 11 ++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 14 insertions(+), 9 deletions(-) commit 5108a27e6c4d77bb92b1f80d548b8f6994a68b89 Author: Lapo Calamandrei Date: Wed Nov 12 17:20:53 2014 +0100 gtkrange: consider css margin on the slider Css margin now works on the slider as they do on the trough. The margin is not considered in the space allocation as it is for the trough, so the slider width will be the set slider-width - margins. Spefifying margins on the main widget in the css will clearly affect both the trough and the slider, so theme changes are needed. gtk/gtkrange.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit e14cf55b314331fe90388f1941373ffc8cd7093f Author: Matthias Clasen Date: Wed Nov 12 07:17:59 2014 -0500 Forgotten files gtk/resources/ui/gtkactionbar.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 00631af967cc3fe9eb36bb56adce3266c68a44f5 Author: Daniel Mustieles Date: Wed Nov 12 13:31:27 2014 +0100 Updated Spanish translation po-properties/es.po | 997 ++++++++++++++++++++++++++++++---------------------- 1 file changed, 572 insertions(+), 425 deletions(-) commit 79ac0caa98c2962ca6095fc140cec75642ef08bb Author: Daniel Mustieles Date: Wed Nov 12 13:27:56 2014 +0100 Updated Spanish translation po/es.po | 462 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 276 insertions(+), 186 deletions(-) commit 3f4bed4d8ffd7a0a66c61d1ad5c26deb920de5b4 Author: Debarshi Ray Date: Tue Nov 11 16:17:13 2014 +0100 query, searchengine: Drop unused and undefined function declarations https://bugzilla.gnome.org/show_bug.cgi?id=739977 gtk/gtkquery.h | 1 - gtk/gtksearchengine.h | 1 - 2 files changed, 2 deletions(-) commit fc855eea7a293f317fef701149a3c433f4270472 Author: Matthias Clasen Date: Tue Nov 11 23:02:11 2014 -0500 GtkActionBar: Make ::position writable gtk/gtkactionbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 047bb15cd7ccd6c9304050c2f992cfe46d1a085a Author: Matthias Clasen Date: Tue Nov 11 23:01:16 2014 -0500 GtkActionBar: Rename center_box to box gtk/gtkactionbar.c | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit 21e3d4f2f7b533966f12b35d4e2b9326884b7cde Author: Matthias Clasen Date: Tue Nov 11 22:42:51 2014 -0500 inspector: Turn off search where we don't have a search bar yet Avoid the builtin treeview search popup everywhere. gtk/inspector/actions.ui | 1 + gtk/inspector/classes-list.ui | 1 + gtk/inspector/object-hierarchy.ui | 1 + gtk/inspector/selector.ui | 1 + gtk/inspector/signals-list.ui | 1 + gtk/inspector/style-prop-list.ui | 2 +- 6 files changed, 6 insertions(+), 1 deletion(-) commit 4aca13e39e2b1cd2ccfd8aa9dc5c11b5d9e36baf Author: Lapo Calamandrei Date: Tue Nov 11 17:23:04 2014 +0100 Statusbar: add 'statusbar' style class docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstatusbar.c | 4 ++++ gtk/gtkstylecontext.h | 11 +++++++++++ 3 files changed, 16 insertions(+) commit 95aa4769f692b2144c80a62eefeb5c63273ba81a Author: Lapo Calamandrei Date: Tue Nov 11 16:11:20 2014 +0100 Adwaita: add a missing comma... gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 18 +----------------- gtk/resources/theme/Adwaita/gtk-contained.css | 18 +----------------- 3 files changed, 3 insertions(+), 35 deletions(-) commit c8d9e5b5643cff3c6170901efde686342832c266 Author: Matthias Clasen Date: Mon Nov 10 18:45:58 2014 -0500 GtkStack: Remove some clumsy use of GList API No need for g_list_next(), and don't open-code g_list_index(). gtk/gtkstack.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) commit 8b95515c0c17126a4400d41bb114fdc84b85121c Author: Matthias Clasen Date: Mon Nov 10 15:24:08 2014 -0500 inspector: Only set debug-updates for the default display Use the new private API to isolate the inspector itself from this setting. gtk/inspector/visual.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit d9b02ea4a3e3201cc7c98b01164536eac5f55532 Author: Matthias Clasen Date: Mon Nov 10 15:23:14 2014 -0500 gdk: Make debug-updates a per-display setting Add private API to set this per-display, and make the existing gdk_window_set_debug_update function set a global default. gdk/gdk-private.c | 4 +++- gdk/gdk-private.h | 8 ++++++++ gdk/gdkdisplay.c | 17 +++++++++++++++++ gdk/gdkdisplayprivate.h | 3 +++ gdk/gdkinternals.h | 1 + gdk/gdkwindow.c | 12 ++++++++---- 6 files changed, 40 insertions(+), 5 deletions(-) commit 5c5c8bdd812abf1e6b4ed6285b0d30451b30f413 Author: Matthias Clasen Date: Mon Nov 10 15:07:52 2014 -0500 inspector: Add a rendering mode control gtk/inspector/visual.c | 23 +++++++++++++++++++++++ gtk/inspector/visual.ui | 41 +++++++++++++++++++++++++++++++++++++++++ gtk/inspector/visual.ui.h | 4 ++++ 3 files changed, 68 insertions(+) commit 5536d9bcde711045393db7f94d4de309020b0f09 Author: Matthias Clasen Date: Mon Nov 10 14:39:57 2014 -0500 gdk: Add private API for rendering mode This will be used to expose rendering mode in the inspector. gdk/gdk-private.c | 2 ++ gdk/gdk-private.h | 12 +++++++++++- gdk/gdkdisplay.c | 13 +++++++++++++ 3 files changed, 26 insertions(+), 1 deletion(-) commit 8338b7e4cdc5702f74bfdc239e584f23cb1223ef Author: Matthias Clasen Date: Mon Nov 10 14:28:43 2014 -0500 Move rendering mode into GdkDisplay This is in preparation for making it runtime-settable in the inspector. gdk/gdkdisplay.c | 2 ++ gdk/gdkdisplayprivate.h | 3 +++ gdk/gdkwindow.c | 4 +++- 3 files changed, 8 insertions(+), 1 deletion(-) commit 710f3320827b437bbcf4292203439a16e5117813 Author: Javier Jardón Date: Sat Oct 25 20:23:16 2014 +0100 configure.ac: Depend on cairo 1.14.0 This is needed for cairo_set_device_scale() config.h.win32.in | 3 --- configure.ac | 13 +------------ gdk/gdkcursor.c | 2 -- gdk/gdkgl.c | 4 ---- gdk/gdkwindow.c | 10 ---------- gdk/wayland/gdkcursor-wayland.c | 10 +++------- gdk/wayland/gdkdisplay-wayland.c | 2 -- gdk/wayland/gdkwindow-wayland.c | 7 ------- gdk/x11/gdkcursor-x11.c | 4 ---- gdk/x11/gdkdisplay-x11.c | 5 ----- gdk/x11/gdkglcontext-x11.c | 2 -- gdk/x11/gdkscreen-x11.c | 4 ---- gdk/x11/gdkwindow-x11.c | 4 ---- gtk/gtkcssshadowvalue.c | 4 +--- gtk/gtkdnd.c | 2 -- gtk/gtkiconhelper.c | 2 -- gtk/inspector/visual.c | 4 ++-- 17 files changed, 7 insertions(+), 75 deletions(-) commit 36fedb0c4b373272afc2d76a7c790d696ed48034 Author: Emmanuele Bassi Date: Mon Nov 10 14:08:20 2014 +0000 window: GtkPlug is conditionally supported on X11 only We cannot do a type check on it if we don't have the X11 backend compiled in. https://bugzilla.gnome.org/show_bug.cgi?id=739885 gtk/gtkwindow.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 90555e06beb929c4491a58b6136aa9f0f8ae1fae Author: Alexander Larsson Date: Mon Nov 10 15:24:14 2014 +0100 gdk_window_end_paint: Flush destination surface after paint It seems in cairo 1.14 we need this after having painted an image surface to a X11 window surface (i.e. with GDK_RENDERING=image). gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit a353e77db4460549f6fa01d2b483d66228934400 Author: Baurzhan Muftakhidinov Date: Mon Nov 10 02:23:15 2014 +0000 Updated Kazakh translation po/kk.po | 499 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 291 insertions(+), 208 deletions(-) commit 8a8c6c0722fb1dd0e9ac55a70fea904408a15d3a Author: Matthias Clasen Date: Sat Nov 8 21:43:26 2014 -0500 Inspector: hide the selector tab for non-widgets gtk/inspector/selector.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 9a84d8a26184557801ab8d1b1276798f02af6f6f Author: Matthias Clasen Date: Sat Nov 8 21:30:12 2014 -0500 inspector: Hide the size-groups tab when empty gtk/inspector/size-groups.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0c20ba7dcb09cd4ea6d22fc7334987663d3e423a Author: Matthias Clasen Date: Sat Nov 8 21:29:51 2014 -0500 inspector: Hide the inspector tab when empty gtk/inspector/gestures.c | 58 ++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 29 deletions(-) commit 7dd466ad7428c55c7b422f02c0aecbc0eea2505c Author: Matthias Clasen Date: Sat Nov 8 12:55:03 2014 -0500 Set the clip on range widgets This will allow better scrollbar theming. gtk/gtkrange.c | 3 +++ 1 file changed, 3 insertions(+) commit c0c777077aafd2bbd47c5a0055fda3f6a77f8af2 Author: Lapo Calamandrei Date: Sat Nov 8 17:35:52 2014 +0100 Adwaita: increase scrollbar slider contrast gtk/resources/theme/Adwaita/_common.scss | 8 ++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) commit ae4aaf73549d05ce82885cc3b4bc64c5a522e8f4 Author: Matthias Clasen Date: Sat Nov 8 09:57:48 2014 -0500 inspector: Set statistics button sensitivity After moving the button the header, it is now visible when statistics are not available. Disable it in this case. gtk/inspector/statistics.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 592a0d46b43d70d8e67cc57e8670e97feb9f6a66 Author: Matthias Clasen Date: Sat Nov 8 02:16:35 2014 -0500 inspector: Add more GL information Add version and extension information to the general tab. gtk/inspector/general.c | 198 +++++++++++++++- gtk/inspector/general.h | 6 +- gtk/inspector/general.ui | 568 ++++++++++++++++++++++++++------------------- gtk/inspector/general.ui.h | 2 + 4 files changed, 530 insertions(+), 244 deletions(-) commit cdcd3ca359920d875480c6021d2fcb6b2ed65258 Author: Emmanuele Bassi Date: Fri Nov 7 14:33:53 2014 +0000 Hide GdkWindow libgtk_only API in the private vtable These are the last two global GDK symbols that have a libgtk_only suffix. https://bugzilla.gnome.org/show_bug.cgi?id=739781 gdk/gdk-private.c | 2 ++ gdk/gdk-private.h | 5 +++++ gdk/gdkwindow.c | 20 ++++++++++++++++++-- gdk/gdkwindow.h | 4 ++-- gdk/x11/gdkdisplay-x11.c | 5 +++-- gdk/x11/gdkwindow-x11.c | 3 ++- gtk/gtkwindow.c | 8 ++++++-- 7 files changed, 38 insertions(+), 9 deletions(-) commit 585af218a3250d9aef669fcb843f9db298141060 Author: Emmanuele Bassi Date: Fri Nov 7 14:27:56 2014 +0000 Move GDK GL flags accessors to the private vtable This allows us to use the GDK_PRIVATE_CALL macro inside gtk. https://bugzilla.gnome.org/show_bug.cgi?id=739781 gdk/gdk-private.c | 2 ++ gdk/gdk-private.h | 6 ++++++ gdk/gdkglcontext.c | 1 + gdk/gdkinternals.h | 6 ------ gdk/gdkwindow.c | 1 + gtk/inspector/visual.c | 8 ++++---- 6 files changed, 14 insertions(+), 10 deletions(-) commit eedbec2066588697f276d087fe8ec575d4e008eb Author: Emmanuele Bassi Date: Fri Nov 7 13:40:22 2014 +0000 Make global GDK libgtk_only functions more private The current way of exposing GDK API that should be considered internal to GTK+ is to append a 'libgtk_only' suffix to the function name; this is not really safe. GLib has been using a slightly different approach: a private table of function pointers, and a macro that allows accessing the desired symbol inside that vtable. We can copy the approach, and deprecate the 'libgtk_only' symbols in lieu of outright removal. https://bugzilla.gnome.org/show_bug.cgi?id=739781 gdk/Makefile.am | 2 ++ gdk/gdk-private.c | 15 ++++++++++++++ gdk/gdk-private.h | 35 +++++++++++++++++++++++++++++++ gdk/gdk.c | 62 ++++++++++++++++++++++++++++++++++++++++++++++++------- gdk/gdkdevice.h | 2 +- gdk/gdkdisplay.c | 43 +++++++++++++++++++++++++++++++------- gdk/gdkdisplay.h | 2 +- gdk/gdkmain.h | 4 ++-- gtk/gtkmain.c | 19 +++++++---------- 9 files changed, 153 insertions(+), 31 deletions(-) commit 713d3834f6617bce5916ecaf07962be678d52805 Author: Matthias Clasen Date: Sat Nov 8 00:06:54 2014 -0500 inspector: Reserve space for buttons Make the button area in the top left a stack that is parallel to the main page stack. This avoids size changes as we switch between pages. gtk/inspector/resource-list.c | 27 +----------- gtk/inspector/statistics.c | 23 ---------- gtk/inspector/window.c | 18 -------- gtk/inspector/window.ui | 99 ++++++++++++++++++++++++++++++------------- 4 files changed, 71 insertions(+), 96 deletions(-) commit e2949e7bf76ad85d9ccbef3d4c82e0a4641ac02b Author: Matthias Clasen Date: Sat Nov 8 00:08:40 2014 -0500 extract-strings: Handle property binding attributes These attributes are now used in at least one place in the GtkInspector ui files. util/extract-strings.c | 3 +++ 1 file changed, 3 insertions(+) commit d0973fdb78522b4c76b03b544e713a95760df69c Author: Matthias Clasen Date: Fri Nov 7 23:40:31 2014 -0500 inspector: Improve search on the statistics page Use a search bar here as well, instead of the builtin treeview popup. gtk/inspector/statistics.c | 94 +++++++++++++++++++++++++++++++++++++++++++-- gtk/inspector/statistics.ui | 14 +++++++ 2 files changed, 104 insertions(+), 4 deletions(-) commit 5f701cf4c953b1d3c076a38eb99ae38c00113763 Author: Matthias Clasen Date: Fri Nov 7 23:19:28 2014 -0500 inspector: Move the record button up Give all the page space to the content. gtk/inspector/statistics.c | 98 ++++++++++++++++++++++++++++++++++++++++--- gtk/inspector/statistics.ui | 15 ------- gtk/inspector/statistics.ui.h | 3 -- gtk/inspector/window.ui | 21 ++++++++++ gtk/inspector/window.ui.h | 1 + 5 files changed, 115 insertions(+), 23 deletions(-) commit 1ddace0a5f11a6cb8ad66c044d4e946e4b188132 Author: Matthias Clasen Date: Fri Nov 7 22:57:14 2014 -0500 inspector: Shorten some labels gtk/inspector/window.ui | 6 +++--- gtk/inspector/window.ui.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 818d2e238b5e4d4c275da9384bf1420cba6802a7 Author: Matthias Clasen Date: Fri Nov 7 20:38:42 2014 -0500 inspector: Improve search in the resource tree Make search in the resource tree work the same way as the new search in the object tree. gtk/inspector/resource-list.c | 245 +++++++++++++++++++++++++++++++++++++++++ gtk/inspector/resource-list.ui | 142 +++++++++++++++++------- 2 files changed, 347 insertions(+), 40 deletions(-) commit 48415955f0a3187009ddac8ee295697a9161ebd0 Author: Matthias Clasen Date: Fri Nov 7 20:10:12 2014 -0500 inspector: Correct a tooltip gtk/inspector/visual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 433120ae5edbe4d8b8b2c78e42cb0504b93f3c36 Author: Jasper St. Pierre Date: Fri Nov 7 17:39:43 2014 -0800 gdkwindow-x11: Fix indentation gdk/x11/gdkwindow-x11.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit a91c88768eb1047631ac0d5caf04b65b813adfe1 Author: Jasper St. Pierre Date: Fri Nov 7 16:33:43 2014 -0800 inspector: Remove unused variable gtk/inspector/visual.c | 1 - 1 file changed, 1 deletion(-) commit ee01ee249f34d0f2124944a95bc623d5edc4b327 Author: Matthias Clasen Date: Fri Nov 7 14:17:41 2014 -0500 inspector: Look for themes in the right places Match the places that GtkCssProvider looks in, so we show all the themes that GTK+ would actually find. gtk/inspector/visual.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit af6eab850ebea0394d35402f4ac9eb286e9eb835 Author: Carlos Garnacho Date: Tue Nov 4 19:26:25 2014 +0100 wayland: Schedule a clock tick instead of wl_surface_commit()ting directly Instead of possibly calling wl_surface_commit() out of GdkFrameClock::after-paint, tick the transient parent clock so ::after-paint can be eventually run. This ensures that the subsurface coordinates (considered part of the state of the parent) aren't committed untimely, and guaranteed to be orderly with the wl_subsurface-relative state. This is a gtk-side fix for https://bugzilla.gnome.org/show_bug.cgi?id=738887 gdk/wayland/gdkwindow-wayland.c | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) commit 964abf74235caa5cbeab64e845c4b35ac340b860 Author: Carlos Garnacho Date: Fri Nov 7 17:16:59 2014 +0100 wayland: Don't translate a NULL region into an empty one cairo_region_copy(NULL) will effectively return an empty region, as this function is always meant to return valid memory. This however inverts the meaning of the NULL region and results in entirely non-clickable windows. gdk/wayland/gdkwindow-wayland.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 52a90758f961d39fe92c12546136849991b28ddd Author: Carlos Garnacho Date: Fri Nov 7 12:55:52 2014 +0100 gtkwindow: claim the press sequence when clicking on the titlebar This event might not have an action yet, but certainly accounts, and should be triggering recognition. This fixes a crash when attempting to drag CSD windows through touch. As since cfaec2d2f542, gtk_gesture_single_get_current_sequence() would rightfully return NULL if the gesture didn't enter recognition, making event lookup fail. gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 4df13b7262e3533d93a5c9d6d9fdc7e82a242447 Author: Carlos Garnacho Date: Thu Nov 6 13:07:05 2014 +0100 treeview: remove single-click activation from GtkGestureMultiPress::pressed This is already handled in GtkGestureMultiPress::release, and more in concordance with how it was done pre-gestures. https://bugzilla.gnome.org/show_bug.cgi?id=737891 gtk/gtktreeview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 1e3e544bfd815419d3858c036cc3201b9c86eda4 Author: Matthias Clasen Date: Fri Nov 7 07:12:22 2014 -0500 Revert "Add new API to docs" This reverts commit 41e9eaf64fdabf49679db193778b15c44e3d0b52. docs/reference/gdk/gdk3-sections.txt | 5 ----- 1 file changed, 5 deletions(-) commit 5442293ce740a8d0a48d8112cbd7d17c9a134084 Author: Matthias Clasen Date: Fri Nov 7 07:11:38 2014 -0500 inspector: include private gdk headers ...the advantages of living in the same tree. gtk/inspector/visual.c | 2 ++ 1 file changed, 2 insertions(+) commit 7e405c286f348182c0e376ea2d9bf63033346ce6 Author: Matthias Clasen Date: Fri Nov 7 07:10:49 2014 -0500 Don't make the gl flags API We need to export the symbols so they can be used in the inspector, but we don't really want to make this supported public API, so keep them out of installed headers. gdk/gdkglcontext.h | 28 ---------------------------- gdk/gdkinternals.h | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 28 deletions(-) commit 41e9eaf64fdabf49679db193778b15c44e3d0b52 Author: Matthias Clasen Date: Thu Nov 6 23:37:00 2014 -0500 Add new API to docs docs/reference/gdk/gdk3-sections.txt | 5 +++++ 1 file changed, 5 insertions(+) commit 0ecd08ed0425bff2c257dccd2e74570656272312 Author: Matthias Clasen Date: Thu Nov 6 23:29:49 2014 -0500 inspector: Add GL flags gtk/inspector/visual.c | 91 ++++++++++++++++++++++++++ gtk/inspector/visual.ui | 158 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/visual.ui.h | 7 ++ 3 files changed, 256 insertions(+) commit 5d0d1e524e6b6a6e190cbbf48d467ed80ee9118f Author: Matthias Clasen Date: Thu Nov 6 23:29:16 2014 -0500 Export API to set GL flags This will be used in the inspector. gdk/gdk.c | 12 ++++++------ gdk/gdkgl.c | 6 +++--- gdk/gdkglcontext.c | 33 +++++++++++++++++++++++++++++++-- gdk/gdkglcontext.h | 28 ++++++++++++++++++++++++++++ gdk/gdkinternals.h | 9 --------- gdk/gdkwindow.c | 4 ++-- 6 files changed, 70 insertions(+), 22 deletions(-) commit d859cf19f67d33ee4a730c53e8d5de4b34da4987 Author: Lapo Calamandrei Date: Thu Nov 6 23:57:40 2014 +0100 Adwaita: scrollbar styling overhaul - finally added the missing border; - proper backdrop state styling; - tweaked overlay indicator; - sidebar special casing gone for now. gtk/resources/theme/Adwaita/_colors.scss | 4 + gtk/resources/theme/Adwaita/_common.scss | 140 +++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 142 ++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 142 ++++++++++++++------- 4 files changed, 295 insertions(+), 133 deletions(-) commit 22ad7b7782a889b04f9f14b4165f0ab61fcc2fc9 Author: Jasper St. Pierre Date: Thu Nov 6 13:47:59 2014 -0800 gdkgl: Make some helper functions static gdk/gdkgl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ec729d06491a2a5bb9ba3f287fbc102b5036bc8f Author: Ryan Lortie Date: Thu Nov 6 15:28:51 2014 -0500 mir: rework cursors a bit Store the cursor name on the cursor (rather than always using its type). Use this when setting a cursor on a surface. The mir server will fallback to using standard cursors from the cursor theme if the name used is not one of those defined by mir, which is more or less what we want to happen here in case of creating a cursor by name. gdk/mir/gdkmir-private.h | 6 ++- gdk/mir/gdkmircursor.c | 108 ++++++++++++++++++++++++++++++++++++++++++++- gdk/mir/gdkmirdisplay.c | 9 +--- gdk/mir/gdkmirwindowimpl.c | 67 +--------------------------- 4 files changed, 114 insertions(+), 76 deletions(-) commit 063f79b5946198eb5efec0133627a12a75d154a7 Author: William Hua Date: Mon Nov 3 16:31:07 2014 -0500 mir: enable csd gtk/gtkwindow.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 2fdb266c0d0f038a74decda7440ebbb7bdb02e68 Author: William Hua Date: Mon Nov 3 11:46:45 2014 -0500 mir: set cursor gdk/mir/gdkmirdisplay.c | 4 +-- gdk/mir/gdkmirwindowimpl.c | 86 ++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 85 insertions(+), 5 deletions(-) commit f60b2a11c5d77af9f59fb079c9695d44b9d9c3de Author: Matthias Clasen Date: Thu Nov 6 15:17:09 2014 -0500 Drop an unneeded include gtk/gtkpopovermenu.c | 1 - 1 file changed, 1 deletion(-) commit f229f96d697641f508d68bf2f584bd072719cb5b Author: Matthias Clasen Date: Thu Nov 6 15:01:03 2014 -0500 GtkModelButton: protect against show_all We don't want the labels to be shown when there's already an icon. gtk/gtkmodelbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 41bf293efdbeb5777ef52ae32fd1125556cdc36c Author: Alexander Larsson Date: Thu Nov 6 20:37:24 2014 +0100 GdkWindow: Drop gl matrix setup which is not needed anymore. gdk/gdkwindow.c | 7 ------- 1 file changed, 7 deletions(-) commit 61eabc4778971e17ef34cf5774762da11d0ff450 Author: Alexander Larsson Date: Thu Nov 6 20:37:10 2014 +0100 gdk_gl_texture_from_surface: Enable scissor test gdk/gdkgl.c | 2 ++ 1 file changed, 2 insertions(+) commit 56631d02bd47898b96795483a80f7aaa6ee628f5 Author: Alexander Larsson Date: Thu Nov 6 19:33:24 2014 +0100 gdk_gl_texture_quad: Fix handling of window scales gdk/gdkgl.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c756cef80a661de0bf33818eb551a04c7fb96b29 Author: Lapo Calamandrei Date: Thu Nov 6 17:21:50 2014 +0100 Adwaita: remove last child border on backdrop column headers gtk/resources/theme/Adwaita/_common.scss | 4 +++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) commit d781599b0db3a5ca412041184a9fc687f63979e9 Author: Lapo Calamandrei Date: Thu Nov 6 12:39:34 2014 +0100 Adwaita: initial overlay indicator styling gtk/resources/theme/Adwaita/_common.scss | 84 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 61 ++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 61 ++++++++-------- 3 files changed, 113 insertions(+), 93 deletions(-) commit 1f3f933edf06ddc7dcb8e474fd845c99d8be01f9 Author: Alexander Larsson Date: Thu Nov 6 12:21:28 2014 +0100 GdkX11GLContext: Use bitblit for swap if no buffer age support If buffer age is undefined and the updated area is not the whole window then we use bit-blits instead of swap-buffers to end the frame. This allows us to not repaint the entire window unnecessarily if buffer_age is not supported, like e.g. with DRI2. gdk/gdkglcontext.c | 10 ++++++++++ gdk/gdkglcontextprivate.h | 1 + gdk/gdkwindow.c | 3 --- gdk/x11/gdkglcontext-x11.c | 48 ++++++++++++++++++++++++++++++++++++++++++++-- gdk/x11/gdkglcontext-x11.h | 1 + 5 files changed, 58 insertions(+), 5 deletions(-) commit 21189b9f7e158fe629b0924bf9ca74d66a5a8d76 Author: Alexander Larsson Date: Thu Nov 6 12:13:08 2014 +0100 Add gdk_gl_context_has_framebuffer_blit() This checks if the context supports GL_EXT_framebuffer_blit gdk/gdkglcontext.c | 11 +++++++++++ gdk/gdkglcontextprivate.h | 15 ++++++--------- 2 files changed, 17 insertions(+), 9 deletions(-) commit 5f9e6ec2dc2e5ae4442d5cdb64684cd4a51d20d4 Author: Alexander Larsson Date: Thu Nov 6 11:31:01 2014 +0100 GdkGL: Fix up GL_ARB_texture_rectangle support This broke when gdk_gl_texture_quad moved to shaders. We need a specialized shader for the rectangle case. gdk/gdkgl.c | 80 +++++++++++++++++++++++++++++++++++++++------- gdk/gdkglcontextprivate.h | 5 +++ gdk/gdkinternals.h | 1 + gdk/x11/gdkglcontext-x11.c | 47 ++++++++++++++++----------- 4 files changed, 103 insertions(+), 30 deletions(-) commit 650c9f3b7eaade447aa341d7c8dd7d9a9aa10188 Author: Alexander Larsson Date: Thu Nov 6 11:29:51 2014 +0100 Add support for GDK_GL=texture-rectangles This allows us to test our support for GL_ARB_texture_rectangle gdk/gdk.c | 1 + gdk/gdkglcontext.c | 4 +++- gdk/gdkinternals.h | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) commit 90a5fa80af4e826b1b89175f499d9e6b05b7c32e Author: Alexander Larsson Date: Thu Nov 6 10:21:48 2014 +0100 Add GDK_GL env var and GdkGLFlags This moves the GDK_ALWAYS_USE_GL env var to GDK_GL=always. It also changes GDK_DEBUG=nogl to GDK_GL=disable, as GDK_DEBUG is really only about debug loggin. It also adds some completely new flags: software-draw-gl: Always use software fallback for drawing gl content to a cairo_t. This disables the fastpaths that exist for drawing directly to a window and instead reads back the pixels into a cairo image surface. software-draw-surface: Always use software fallback for drawing cairo surfaces onto a gl-using window. This disables e.g. texture-from-pixmap on X11. software-draw: Enables both the above. gdk/gdk.c | 16 +++++++++++++++- gdk/gdkgl.c | 9 ++++++--- gdk/gdkglobals.c | 1 + gdk/gdkinternals.h | 12 ++++++++++-- gdk/gdkwindow.c | 9 ++------- 5 files changed, 34 insertions(+), 13 deletions(-) commit 7fde5213b011782c692d2d18f52649a463307166 Author: Alexander Larsson Date: Thu Nov 6 09:21:35 2014 +0100 gdk_cairo_draw_from_gl: Remove useless call The glFramebufferTexture2DEXT call makes no sense here, we're not using the texture as a framebuffer, just as a normal texture source. gdk/gdkgl.c | 2 -- 1 file changed, 2 deletions(-) commit 9372cbdbf851f0570a4dbae0183b756ba8e477ca Author: Alexander Larsson Date: Thu Nov 6 09:15:03 2014 +0100 GdkWindow: Try to use a Core 3.2 GL profile for the paint context If this is supported we avoid a lot of legacy baggage which we don't need. gdk/gdkwindow.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit e417b18373bfcbf0c4f1bd933450a2ed3203017e Author: Alexander Larsson Date: Thu Nov 6 09:13:36 2014 +0100 gdk_gl_texture_quad: Use shaders to texture things This is the modern way OpenGL works, and using it will let us switch to a core context for the paint context, and work on OpenGL ES 2.0. gdk/gdkgl.c | 202 +++++++++++++++++++++++++++++++++++++++++---- gdk/gdkglcontextprivate.h | 7 ++ gdk/gdkinternals.h | 3 +- gdk/x11/gdkglcontext-x11.c | 3 +- 4 files changed, 197 insertions(+), 18 deletions(-) commit c78e7e7f17ec7e68b33e2d7559241d1985968e68 Author: Alexander Larsson Date: Thu Nov 6 09:12:40 2014 +0100 GdkGL: Rename "context" to "paint_context" to clarify things a bit gdk/gdkgl.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit aaa335b9e8dc98a79a029a44c62a9f536a520fb3 Author: Alexander Larsson Date: Thu Nov 6 09:11:17 2014 +0100 gdk_cairo_draw_from_gl: Document that this changes the current context gdk/gdkgl.c | 2 ++ 1 file changed, 2 insertions(+) commit 8c6395d8a17454b34b3162b38bcfb0f3cd9fff89 Author: Alexander Larsson Date: Thu Nov 6 09:10:34 2014 +0100 GdkGLContextX11: Use passed in context, not get_current() gdk/x11/gdkglcontext-x11.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 10a44e8f7ad4dd4fd4dd1ba3ef1e5f08ffcc6f87 Author: Alexander Larsson Date: Wed Nov 5 15:42:06 2014 +0100 Add gdk_gl_texture_quad() helper Right now this just centralizes the glBegin/glEnd code, but this will be replaced with buffer objects later. gdk/gdkgl.c | 57 ++++++++++++++++++++++++---------------------- gdk/gdkinternals.h | 4 ++++ gdk/x11/gdkglcontext-x11.c | 17 ++++---------- 3 files changed, 38 insertions(+), 40 deletions(-) commit 3c34ca3405f852b554bc05e07e460dbe9b9eae59 Author: Alexander Larsson Date: Wed Nov 5 15:19:00 2014 +0100 gdkgl: Don't constantly re-create the tmp framebuffer gdk/gdkgl.c | 15 +++++++++------ gdk/gdkglcontext.c | 23 +++++++++++++++++++++++ gdk/gdkglcontextprivate.h | 9 +++++++++ 3 files changed, 41 insertions(+), 6 deletions(-) commit 0ac24904bda11b3f05c95a8499c5201f8c9e53ee Author: Dimitris Spingos Date: Thu Nov 6 13:49:23 2014 +0200 Updated Greek translation po-properties/el.po | 1501 ++++++++++++++++++++++++++++----------------------- 1 file changed, 831 insertions(+), 670 deletions(-) commit 5a01208f55f382cd1baa80af118faff21ac6b07e Author: Matthias Clasen Date: Thu Nov 6 01:04:13 2014 -0500 GtkHeaderBar: Queue a resize when pack-type is changed Otherwise, buttons appear to stick to the wrong side in glade. gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit 053b65a21af312b8b9361367939a221aa7f474a7 Author: Robert Ancell Date: Thu Nov 6 11:12:18 2014 +1300 mir: Handle pointer up/down events without a button mask set (i.e. touch events) The Mir backend was checking for button mask changes to generate the appropriate GDK event. When Mir generates a touch event it has no button mask. In this case we'll just generate a primary button event. gdk/mir/gdkmireventsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fdc01f80afcc1b1b13f9be2eb25847c0887117c0 Author: Lapo Calamandrei Date: Wed Nov 5 16:01:28 2014 +0100 Adwaita: dim GtkPlacesSidebar icons color gtk/resources/theme/Adwaita/_common.scss | 23 ++++++++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 ++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 8 ++++++++ 3 files changed, 35 insertions(+), 4 deletions(-) commit 0e44722fd8de9850af6f720036f736f8943e617c Author: Benjamin Otte Date: Wed Nov 5 13:05:56 2014 +0100 tests: Add deprecation guards It's the last test still spewing these and I'm too lazy to do a proper fix. tests/testoverlay.c | 6 ++++++ 1 file changed, 6 insertions(+) commit dd7a851f69f56c69fd6a70518367dec375694fe3 Author: Matthias Clasen Date: Wed Nov 5 06:29:47 2014 -0500 widget-factory: Fill up page 2 properly The collapsed expander leaves and odd empty corner, so expand it initially. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 45c0461f9b16be0f998088d8ebbaddf875557bea Author: Matthias Clasen Date: Wed Nov 5 00:27:13 2014 -0500 widget-factory: Add another osd This is modeled after the totem osd. demos/widget-factory/widget-factory.c | 18 ++++ demos/widget-factory/widget-factory.ui | 153 ++++++++++++++++++++++++++------- 2 files changed, 142 insertions(+), 29 deletions(-) commit dd721acb84ee0965abd37f816fe502f12be05e89 Author: Alexander Larsson Date: Wed Nov 5 12:02:18 2014 +0100 GdkGLContextX11: Only set swap interval when it changed gdk/x11/gdkglcontext-x11.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit e4bf60224b190638f6a88af897ef7ecdf817dc0e Author: Alexander Larsson Date: Wed Nov 5 09:52:51 2014 +0100 GdkGL: Fix and clean up gdk_cairo_draw_from_gl() This was unnecessarily creating a framebuffer in the texture case, and it was not properly setting up a framebuffer with the texture as source in the software fallback w/ texture source case. gdk/gdkgl.c | 47 +++++++++++++++++++++++++++++++---------------- 1 file changed, 31 insertions(+), 16 deletions(-) commit c41231cc0fdc791a7a69cdd77af51c8162f44aa4 Author: Robert Ancell Date: Wed Nov 5 15:50:15 2014 +1300 mir: Don't assert on unknown Mir events. If we get a Mir event we don't understand generate a warning instead of an assert. gdk/mir/gdkmireventsource.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit e2882e48455e72c7471856aca3a3e1344cca2f21 Author: Matthias Clasen Date: Tue Nov 4 16:56:25 2014 -0500 GtkHeaderBar: Make the position child property writable Glade asssumes that it is, and without this, rearranging children in glade is very cumbersome. gtk/gtkheaderbar.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 49 insertions(+), 7 deletions(-) commit d9a433daf74852c0e9eabf8a12c4890c32b5890b Author: Carlos Garnacho Date: Tue Nov 4 17:08:49 2014 +0100 gtkwindow: Resort to regular event bubbling by all means on non-toplevels If the multipress gesture is not created (ie. not a toplevel GtkWindow), also avoid possibly calling gtk_widget_event() on the events gotten here. gtk/gtkwindow.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 03a30e462ea719f1029387724392f45e0230c602 Author: Carlos Garnacho Date: Tue Nov 4 17:07:29 2014 +0100 gtkwindow: Do not create the multipress gesture for plugs GtkPlugs may "qualify" as toplevels, even though they're not meant to be WM manipulated, so refuse to create the multipress gesture for these too. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5f26876acbb58b1d6a26db4fce381b26ceb7344e Author: Yosef Or Boczko Date: Tue Nov 4 19:23:13 2014 +0200 Updated Hebrew properties translation po-properties/he.po | 2379 +++++++++++++++++++++++++++------------------------ 1 file changed, 1281 insertions(+), 1098 deletions(-) commit 2eb874a8b0ce7e376a5e8d62bf2ba13a6190d92b Author: Yosef Or Boczko Date: Tue Nov 4 19:22:40 2014 +0200 Updated Hebrew translation po/he.po | 676 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 396 insertions(+), 280 deletions(-) commit c160340e6c7383f1dbe71421fc8016aff0e3efd0 Author: Lapo Calamandrei Date: Tue Nov 4 14:59:24 2014 +0100 Adwaita: brighter dark variant header-bar bottom shade gtk/resources/theme/Adwaita/_drawing.scss | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit 113e1d1dc004afcb2fc4220a85291f27ece6fb3c Author: Matthias Clasen Date: Mon Nov 3 22:35:11 2014 -0500 Make window scale changes work again Commit afd9709afff151e04b84b91c6d90b7 made us keep impl window cairo surfaces around across changes of window scale. But the window scale setter forgot to update the size and scale of the surface. The effect of this was that toggling the window scale from 1 to 2 in the inspector was not causing the window to draw at twice the size, although the X window was made twice as big, and input was scaled too. Fix this by updating the surface when the window scale changes. gdk/x11/gdkwindow-x11.c | 5 +++++ 1 file changed, 5 insertions(+) commit 824fa0314d76ce29292b0c2f99f91d2dd2c57b0b Author: Matthias Clasen Date: Mon Nov 3 19:01:57 2014 -0500 Add some more builder tests testsuite/gtk/Makefile.am | 15 +++++++-------- testsuite/gtk/ui/test5.expected | 1 + testsuite/gtk/ui/test5.ui | 7 +++++++ testsuite/gtk/ui/test6.expected | 2 ++ testsuite/gtk/ui/test6.ui | 6 ++++++ testsuite/gtk/ui/test7.expected | 2 ++ testsuite/gtk/ui/test7.ui | 6 ++++++ 7 files changed, 31 insertions(+), 8 deletions(-) commit ef9ac24e95ea61b2bd43a41e533fdc426ae8e1bd Author: Alexander Larsson Date: Mon Nov 3 13:35:00 2014 +0100 GtkGLArea: Correctly position/size input window on realize gtk/gtkglarea.c | 2 ++ 1 file changed, 2 insertions(+) commit 6fbc439fd79949fac2733107972785cef285ea71 Author: Alexander Larsson Date: Mon Nov 3 13:20:55 2014 +0100 GdkGLContext: Add display property We need to use this in the code path where we make the context non-current during destroy, because at that point the window could be destroyed and gdk_window_get_display() would return NULL. gdk/gdkglcontext.c | 61 ++++++++++++++++++++++++++++++++++++-- gdk/gdkglcontext.h | 2 ++ gdk/wayland/gdkglcontext-wayland.c | 1 + gdk/x11/gdkglcontext-x11.c | 6 ++-- 4 files changed, 65 insertions(+), 5 deletions(-) commit 3656c21030eb26c2556dcaaf972903575c9de0ae Author: Alexander Larsson Date: Mon Nov 3 13:19:40 2014 +0100 GtkGLArea: Don't dispose gl context on unrealize This was done to ensure the context is not current, but this is pretty broken for shared contexts. We now just make it non-current. gtk/gtkglarea.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9930e6dcaaa334b92f1cfc7e798a0064ed9d0666 Author: Alexander Larsson Date: Mon Nov 3 10:43:31 2014 +0100 GtkGLArea: Add create-context signal This lets you hook into the GL context creation which is useful if you want to share one GL context between GtkGLArea widgets. gtk/gtkglarea.c | 113 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkglarea.h | 6 +++ 2 files changed, 116 insertions(+), 3 deletions(-) commit 4aa0d168652a629c3596015b6a9faaeb589ba4d1 Author: Matthias Clasen Date: Mon Nov 3 00:48:42 2014 -0500 Only warn once if inhibit-related dbus calls fail No need to spam about it. https://bugzilla.gnome.org/show_bug.cgi?id=734140 gtk/gtkapplication-dbus.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit 95e8ae6e756364690fc22625a53b9cc98c0c5c02 Author: Matthias Clasen Date: Mon Nov 3 00:25:14 2014 -0500 GtkIconTheme: Improve an error message Mention the name of the theme when an icon lookup fails. https://bugzilla.gnome.org/show_bug.cgi?id=687963 gtk/gtkicontheme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2aa3eea781ed21a02ecdf1e3c753a1ec5694d6c8 Author: Matthias Clasen Date: Mon Nov 3 00:02:13 2014 -0500 GtkFileChooser: Add a menuitem for 'sort directories first' This has been requested repeatedly. gtk/gtkfilechooserwidget.c | 36 +++++++++++++++++++++++++++++++++++- 1 file changed, 35 insertions(+), 1 deletion(-) commit bdaef1f88d44ca26a522314514d29d52e40fea87 Author: Alberts Muktupāvels Date: Fri Oct 31 03:10:13 2014 +0200 gtkmenu: fix unnecessary scroll buttons Don't change menu height if menu is out of monitor only by shadow width. https://bugzilla.gnome.org/show_bug.cgi?id=738321 gtk/gtkmenu.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 264cab2b5279fc5dcc7ae7be868366f76031c7b9 Author: Lapo Calamandrei Date: Wed Oct 22 20:46:54 2014 +0200 Adwaita: add borders to menus in a non composited env https://bugzilla.gnome.org/show_bug.cgi?id=738800 gtk/resources/theme/Adwaita/_common.scss | 9 ++++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 +++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 9 +++++++-- 3 files changed, 22 insertions(+), 5 deletions(-) commit 287319564450211a88e313d99eb3381016ae8074 Author: Matthias Clasen Date: Sun Nov 2 17:46:35 2014 -0500 GtkHeaderBar: Fix a corner-case in child properties The child property setting must be prepared to deal with any child property for any child, even if it doesn't make sense, like the pack-type for the custom title. This is happening in glade when undoing a change in the custom-title property. gtk/gtkheaderbar.c | 3 +++ 1 file changed, 3 insertions(+) commit cc22325612f201e7dca2c38d3603e3bf5d75b064 Author: Dimitris Spingos Date: Sun Nov 2 10:52:52 2014 +0200 Updated Greek translation po/el.po | 1821 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1156 insertions(+), 665 deletions(-) commit 120abd9a6ec14d1764623060b068c86dd7b295c0 Author: Matthias Clasen Date: Sat Nov 1 14:49:02 2014 -0400 csd: Improve appearance inside glade glade turns windows into non-toplevels, so we can easily recognize that situation and avoid adding a humongous shadow area. gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 1a3bdefb00dd9a79e370fedeed7232a66771fc65 Author: Matthias Clasen Date: Sat Nov 1 14:44:03 2014 -0400 Fix an ordering issue in event destruction gdk_event_get_display accesses event->any.window, so don't free that window first thing. gdk/gdkevents.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 18a2a6a90ea0de5f4ef8eba42b61095e64a4c722 Author: Matthias Clasen Date: Sat Nov 1 13:18:33 2014 -0400 GtkVolumeButton: Fix annoying double formatting We meant to specify 0.2, and it came out as 0.2000000001. gtk/resources/ui/gtkvolumebutton.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d8cc9d9a51e700fe4cc9d0a733f253a62a9f165f Author: Matthias Clasen Date: Sat Nov 1 13:18:17 2014 -0400 glade: Add GtkColorEditor to private widgets gtk/glade/gtk-private-widgets.xml | 2 ++ 1 file changed, 2 insertions(+) commit ffa49723a26366d3050346d72639bd6e65369cef Author: Matthias Clasen Date: Sat Nov 1 13:15:20 2014 -0400 glade: Drop a no-longer existing private widget GtkScaleButtonScale fell by the wayside when the scale button was ported to a popover. gtk/glade/gtk-private-widgets.xml | 2 -- 1 file changed, 2 deletions(-) commit 276a510b4b539b1bc83a07e9400fc44631cddf91 Author: Cosimo Cecchi Date: Thu Oct 30 17:02:45 2014 -0700 radiobutton: don't consider hidden buttons in the group for focus When a GtkRadioButton has no focus, it will accept it when there is no other active button in its group. If the active button in the group is hidden, for example because the UI desires not to have a default option pre-selected, currently the focus will not be accepted, which is not desired behavior. This commit changes the code to only consider visible buttons in the group when checking whether another button is active. https://bugzilla.gnome.org/show_bug.cgi?id=739474 gtk/gtkradiobutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e6e511eb460d8fcd241f202f9c3e26b0ef288927 Author: Matthias Clasen Date: Fri Oct 31 22:34:09 2014 -0400 GtkListBox: Fix a bug in unselection Ensure that gtk_list_box_get_selected_row returns NULL after gtk_list_box_unselect_all. Add a testcase that detects this problem. gtk/gtklistbox.c | 2 ++ testsuite/gtk/listbox.c | 12 +++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) commit fcdec5ac414095e7143ea9721882baa82c52445e Author: Matthias Clasen Date: Fri Oct 31 22:28:17 2014 -0400 icon-browser: Add search Most of the code was already in place, just some loose ends to fix up. demos/icon-browser/iconbrowserwin.c | 49 ++++++++++++++++++++++++++----------- demos/icon-browser/window.ui | 6 +++-- 2 files changed, 39 insertions(+), 16 deletions(-) commit 3c997239e95d999b9c742553ee7995ff32d78591 Author: Matthias Clasen Date: Fri Oct 31 21:14:09 2014 -0400 inspector: Search refinements Show close buttons on all search bars. gtk/inspector/object-tree.ui | 1 + gtk/inspector/prop-list.ui | 1 + gtk/inspector/style-prop-list.ui | 1 + 3 files changed, 3 insertions(+) commit 3f3725d97b0b5dc5bdd33916ff685a6b9b5923eb Author: Matthias Clasen Date: Fri Oct 31 21:13:18 2014 -0400 inspector: Refine object tree search Behave similar to traditional treeview search, and center the row when moving between matches. gtk/inspector/object-tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 992c5f0dd68413ccab04f7f5d5863b13402ab3ca Author: Matthias Clasen Date: Fri Oct 31 14:16:39 2014 -0400 inspector: Add search to the object tree This is also an attempt to figure out a better story for search in treeviews. gtk/inspector/Makefile.am | 2 + gtk/inspector/object-tree.c | 237 +++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/object-tree.ui | 59 ++++++++++- gtk/inspector/treewalk.c | 223 ++++++++++++++++++++++++++++++++++++++++ gtk/inspector/treewalk.h | 41 ++++++++ 5 files changed, 559 insertions(+), 3 deletions(-) commit 69a0b31d2d7772e38821e782d45fad474dfcf7bb Author: Matthias Clasen Date: Fri Oct 31 14:16:02 2014 -0400 Trivial: sort file list alphabetically gtk/inspector/Makefile.am | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 00f618ea1abf124c5be7582889173159fdcaefd2 Author: Lapo Calamandrei Date: Fri Oct 31 16:53:23 2014 +0100 Adwaita: special case .default-decoration Titlebars which are just window handles can be smaller. gtk/resources/theme/Adwaita/_common.scss | 79 +++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 6 ++ 3 files changed, 65 insertions(+), 26 deletions(-) commit 5a5e74bbe222d2d4de222b11dcbc44ba32b6be63 Author: Lapo Calamandrei Date: Fri Oct 31 16:44:21 2014 +0100 Adwaita: simpler gtkcalendar style (once again) gtk/resources/theme/Adwaita/_common.scss | 30 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 757 ++++++--------------- gtk/resources/theme/Adwaita/gtk-contained.css | 757 ++++++--------------- 3 files changed, 470 insertions(+), 1074 deletions(-) commit 89e12495b619f837b934134490605aaf61ee5415 Author: Matthias Clasen Date: Thu Oct 30 20:54:54 2014 -0400 inspector: Improve search in style property list Use a search bar with a search entry instead of the builtin treeview search popup. gtk/inspector/style-prop-list.c | 63 +++++++++++++++++++++++++++++++++++++++- gtk/inspector/style-prop-list.ui | 16 ++++++++-- 2 files changed, 76 insertions(+), 3 deletions(-) commit 574c774e4e7c2022719921cf01d4480885669f41 Author: Matthias Clasen Date: Thu Oct 30 20:54:04 2014 -0400 inspector: Improve search in property list Use a search bar with a search entry instead of the builtin treeview search popup. gtk/inspector/prop-list.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/prop-list.ui | 13 +++++++++++ 2 files changed, 71 insertions(+) commit 42e1fad1385e2f1263bf05d29460af159c766290 Author: Matthias Clasen Date: Thu Oct 30 18:47:46 2014 -0400 inspector: Stop overeager activation Stop using activate-on-single click for the property list - it is a little annoying to have the popover come up when you just click in the list to get the focus there. gtk/inspector/prop-list.ui | 1 - 1 file changed, 1 deletion(-) commit f66060c422decddb13f623ed0f4716e6b0925796 Author: Alexander Larsson Date: Thu Oct 30 20:00:45 2014 +0100 GdkGLArea: fix has_alpha changes at runtime We need to completely reallocate the buffers if we switch has_alpha, because we may switch from render buffers to texture. gtk/gtkglarea.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 37d0159a8497d229852a865ecc92a330dddd311e Author: Alexander Larsson Date: Thu Oct 30 19:49:43 2014 +0100 GtkGLArea: Add resize signal This is very useful, as almost all GL code wants to recalculate the cameras each time the window size changes. gtk/gtkglarea.c | 68 ++++++++++++++++++++++++++++++++++++++++++++++++--------- gtk/gtkglarea.h | 3 +++ 2 files changed, 61 insertions(+), 10 deletions(-) commit 969b9c65520d388ea9e5c4a9eb42cf928a7debd5 Author: Alexander Larsson Date: Thu Oct 30 19:18:05 2014 +0100 GtkGLArea: Add profile property This lets you force a core 3.2 context if you want gtk/gtkglarea.c | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkglarea.h | 5 ++++ 2 files changed, 82 insertions(+), 1 deletion(-) commit b519b642bd053e669b4925a9da0dfeaaa8504c35 Author: Alexander Larsson Date: Thu Oct 30 18:51:40 2014 +0100 GtkGLArea: Add INPUT_ONLY window so that we can get events gtk/gtkglarea.c | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 62 insertions(+), 5 deletions(-) commit 5ea3a1028d7ce19b0411aeb9d72e4aab07fe8c31 Author: Alexander Larsson Date: Thu Oct 30 18:22:44 2014 +0100 GtkGLArea: Major reworking This restructures the way buffers are allocated and bound in a way that is more flexible. Buffer operation happens in three phases: create_buffer() - Creates the gl objects allocate_buffers() - Allocates space for the buffers at a given size attach_buffers() - Attaches the buffers to the framebuffer and makes the framebuffer the default drawing target And destroy via delete_buffers() We call all these the first draw, and after that we allocate buffers each time the widget changes size until the buffers are deleted. We delete the buffers at unrealize. However, anyone that wants to manually control buffer allocation strategies can manually call allocate/delete_buffers(). There are also some other changes: * Support for stencil buffers. * A manual render mode where ::draw doesn't render unless you manually invalidated the previous rendering. gtk/gtkglarea.c | 531 +++++++++++++++++++++++++++++++++++++++++++++++--------- gtk/gtkglarea.h | 19 ++ 2 files changed, 466 insertions(+), 84 deletions(-) commit 869f300f0aefcff3b0302a9e4b7297e54f08c1dd Author: Alexander Larsson Date: Thu Oct 30 16:04:28 2014 +0100 gdk_x11_display_make_gl_context_current: move some code This moves the code related to the frame sync code into the is_attached check, which means we don't have to ever run this when making non-window-paint contexts current. This is a minior speed thing, but the main advantage is that it makes making a non-paint context current threadsafe. gdk/x11/gdkglcontext-x11.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 7a73ec1bb2ce41fe136523fa46aec5e809ddceb2 Author: Lapo Calamandrei Date: Thu Oct 30 18:41:45 2014 +0100 Adwaita: darken a bit OSD background color To not make it vanish on dark variant background color. gtk/resources/theme/Adwaita/_colors.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 64 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 64 +++++++++++----------- 3 files changed, 65 insertions(+), 65 deletions(-) commit bb41cfe9d945082ea1db704684c40d78edf46eb0 Author: Matthias Clasen Date: Thu Oct 30 13:41:13 2014 -0400 Improve warning Mention the file that we're failing to load. That makes it obvious what is wrong. demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cacda8086e851a8009d19ee7a59fb8d139de0ac5 Author: Matthias Clasen Date: Thu Oct 30 12:50:09 2014 -0400 inspector: Add HighContrast to built-in themes list gtk/inspector/visual.c | 2 ++ 1 file changed, 2 insertions(+) commit d8ba193e9ac67bb7a8fc0073d698fc69c8bd2e1e Author: Matthias Clasen Date: Thu Oct 30 12:48:56 2014 -0400 HighContrast: integrate in build machinery gtk/Makefile.am | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit fce256567365776851341fdfa5604189b83cc697 Author: Matthias Clasen Date: Thu Oct 30 12:47:53 2014 -0400 Drop gtk.gresource.xml Theme resources are controlled from the (generated) .gresource.xml file two stories up. gtk/resources/theme/HighContrast/gtk.gresource.xml | 8 -------- 1 file changed, 8 deletions(-) commit 76b3fee09339f3c756f8423dfbed465156fe897b Author: Matthias Clasen Date: Thu Oct 30 11:34:32 2014 -0400 HighContrast: Add sass parsing script Just a copy of what we have next door in Adwaita. gtk/resources/theme/HighContrast/parse-sass.sh | 3 +++ 1 file changed, 3 insertions(+) commit 16d79e88838fcdf991fe46e1bf230035d032d433 Author: Matthias Clasen Date: Thu Oct 30 11:32:23 2014 -0400 HighContrast: Drop settings.ini The only setting in there is already the default behavior, and the setting is deprecated and ignored anyway. gtk/resources/theme/HighContrast/settings.ini | 2 -- 1 file changed, 2 deletions(-) commit efaabdad0a8ba01e33f78ff0530638b75199aa8a Author: Lapo Calamandrei Date: Thu Oct 30 13:21:13 2014 +0100 Adwaita: slightly contrasting popover background gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit fdbb93d78c354b5ee8dd89a629c00e3bea079627 Author: Lapo Calamandrei Date: Thu Oct 30 13:18:48 2014 +0100 Adwaita: border radiusses rationalization gtk/resources/theme/Adwaita/_common.scss | 9 ++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 12 insertions(+), 13 deletions(-) commit 75d37acb258eaac1fe7380e097a49da75030fbb0 Author: Piotr Drąg Date: Thu Oct 30 17:21:40 2014 +0100 Updated POTFILES.in po-properties/POTFILES.in | 2 ++ po/POTFILES.in | 2 ++ 2 files changed, 4 insertions(+) commit 495f764b3df452974aea107231e321fe97f29c4d Author: Jakub Steiner Date: Thu Oct 30 16:14:37 2014 +0100 theme: move HC theme from gnome-themes-standard - HC is part of the toolkit the same way as Adwaita is - No automake foo included gtk/resources/theme/HighContrast/Gemfile | 1 + gtk/resources/theme/HighContrast/_colors.scss | 86 + gtk/resources/theme/HighContrast/_common.scss | 2076 +++++++++++++++++++ gtk/resources/theme/HighContrast/_drawing.scss | 282 +++ gtk/resources/theme/HighContrast/gtk.css | 2185 ++++++++++++++++++++ gtk/resources/theme/HighContrast/gtk.gresource.xml | 8 + gtk/resources/theme/HighContrast/gtk.scss | 9 + gtk/resources/theme/HighContrast/settings.ini | 2 + 8 files changed, 4649 insertions(+) commit 0eb2fb01fd7a5c92e00daaca4222d1acfa6c49f2 Author: Alexander Larsson Date: Thu Oct 30 12:42:37 2014 +0100 Add GdkGLContext::profile gdk/gdkglcontext.c | 47 ++++++++++++++++++++++++++++++++++++++ gdk/gdkglcontext.h | 2 ++ gdk/wayland/gdkglcontext-wayland.c | 4 ++++ gdk/x11/gdkglcontext-x11.c | 2 ++ 4 files changed, 55 insertions(+) commit 398697eb2fcd25246b6d20bc78a678b1ab1bff3c Author: Alexander Larsson Date: Thu Oct 30 12:22:08 2014 +0100 Clarify docs for gdk_cairo_draw_from_gl gdk/gdkgl.c | 2 ++ 1 file changed, 2 insertions(+) commit f0ae8da99378adcd89587b5ce702de0a179753f2 Author: Alexander Larsson Date: Thu Oct 30 12:15:51 2014 +0100 Remove GdkGLContext::visual This is not really needed. The gl context is totally tied to the window it is created from by virtue of sharing the context with the paint context of that window and that context always has the visual of the window (which we already can get). Also, all user visible contexts are essentially offscreen contexts, so a visual doesn't make sense for them. They only use FBOs which have whatever format that the users sets up. docs/reference/gdk/gdk3-sections.txt | 1 - gdk/gdkglcontext.c | 53 ------------------------------------ gdk/gdkglcontext.h | 2 -- gdk/wayland/gdkglcontext-wayland.c | 1 - gdk/x11/gdkglcontext-x11.c | 5 ---- 5 files changed, 62 deletions(-) commit ad30262fef6b1977b08b4f84749183c6fbbe7fa8 Author: Alexander Larsson Date: Thu Oct 30 12:08:31 2014 +0100 GtkGLArea: Always destroy context on unrealize We had some code that tried to reuse the context over realize, but that doesn't work as we need to share with the possibly new paint context of the re-realized window. gtk/gtkglarea.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit 5f14630b76f31c9f6c146100cb3a843ffa28db6d Author: Alexander Larsson Date: Thu Oct 30 12:07:39 2014 +0100 GdkWindow: destroy paint gl context on destroy gdk/gdkwindow.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit dbbab0791d7bd08dcd44cd2d34071748786f8b12 Author: Alexander Larsson Date: Thu Oct 30 12:04:23 2014 +0100 GdkGLContext: Track shared context This allows us to read it back, but primarily it ensures the shared context wrapper stays alive as long as the context. gdk/gdkglcontext.c | 52 ++++++++++++++++++++++++++++++++++++++ gdk/wayland/gdkglcontext-wayland.c | 1 + gdk/x11/gdkglcontext-x11.c | 1 + 3 files changed, 54 insertions(+) commit fb50015519bee516f7a83c64034d11cd9a606246 Author: Alexander Larsson Date: Thu Oct 30 11:46:09 2014 +0100 GdkGLContext: Change the way we track the current context To properly support multithreaded use we use a global GPrivate to track the current context. Since we also don't need to track the current context on the display we move gdk_display_destroy_gl_context to GdkGLContext::discard. gdk/gdkdisplay.c | 52 ++------------------------------- gdk/gdkdisplayprivate.h | 11 ++----- gdk/gdkglcontext.c | 37 ++++++++++++++++++------ gdk/gdkglcontextprivate.h | 2 +- gdk/wayland/gdkdisplay-wayland.c | 1 - gdk/wayland/gdkglcontext-wayland.c | 33 ++++++++++++++------- gdk/wayland/gdkglcontext-wayland.h | 4 +-- gdk/x11/gdkdisplay-x11.c | 1 - gdk/x11/gdkglcontext-x11.c | 59 ++++++++++++++++++++++++-------------- gdk/x11/gdkglcontext-x11.h | 4 +-- 10 files changed, 97 insertions(+), 107 deletions(-) commit eb8f60f141ac50900ddc5b4df8c72ecb31625a89 Author: Lapo Calamandrei Date: Thu Oct 30 11:50:27 2014 +0100 Adwaita: osd rationalization and tweakings Removed bright translucent outer border for "top level" osd widgets, insensitive osd entry styled, more meaningfull color variables and some code rationalization. gtk/resources/theme/Adwaita/_colors.scss | 9 +- gtk/resources/theme/Adwaita/_common.scss | 47 ++++--- gtk/resources/theme/Adwaita/_drawing.scss | 44 ++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 153 +++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 153 +++++++++++++-------- 5 files changed, 250 insertions(+), 156 deletions(-) commit afd9709afff151e04b84b91c6d90b7cff48d6630 Author: Alexander Larsson Date: Thu Oct 30 10:30:33 2014 +0100 GdkWindowX11: Keep the impl window cairo surface around until destroy We used to have a weak ref to the cairo surface and it was keep alive by the references in the normal windows, but that reference was removed by d48adf9cee7e340acd7f8b9a5f9716695352b848, causing us to constantly create and destroy the surface. https://bugzilla.gnome.org/show_bug.cgi?id=738648 gdk/x11/gdkwindow-x11.c | 22 ++++------------------ 1 file changed, 4 insertions(+), 18 deletions(-) commit 47191ce17363e6c6a0df2b490f60f2840a1383e8 Author: Matthias Clasen Date: Mon Oct 27 23:51:17 2014 -0400 Make the inspector window translucent instead of lowering Make the inspector window click-through and see-through when we can, instead of lowering it. This is useful, since Wayland has no lowering. gtk/inspector/inspect-button.c | 51 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 47 insertions(+), 4 deletions(-) commit 7a1eabaf627c837247761498da6ee6ce153356ed Author: Lapo Calamandrei Date: Wed Oct 29 19:54:43 2014 +0100 Adwaita: fix for the previous colorswatch fix... Make the selected colorswatch inhert on backdrop. gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit 43a2676c3ffd8647c8fed1b499c453d41500bf6f Author: Lapo Calamandrei Date: Wed Oct 29 19:50:58 2014 +0100 Adwaita: fix selected colorswatch white border gtk/resources/theme/Adwaita/_common.scss | 30 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 16 +++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 16 +++++++----- 3 files changed, 36 insertions(+), 26 deletions(-) commit bfd4933aa360657d66a4eee904b663edbe05dad1 Author: Lapo Calamandrei Date: Wed Oct 29 18:10:39 2014 +0100 Adwaita: first round of OSD style converage Some code refactoring, entry and spinbuttons and flat buttons styled, more to come... gtk/resources/theme/Adwaita/_colors.scss | 3 + gtk/resources/theme/Adwaita/_common.scss | 93 ++++++-- gtk/resources/theme/Adwaita/_drawing.scss | 38 +++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 253 +++++++++++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 253 +++++++++++++++------ 5 files changed, 475 insertions(+), 165 deletions(-) commit b0313c7bcf7bf95bad050f2528a5586eb1a48480 Author: Carlos Garnacho Date: Wed Oct 29 17:31:15 2014 +0100 wayland: Emit GDK_OWNER_CHANGE events around wl_data_offer changes This way the upper GtkClipboard code emits correctly ::owner-change when receiving these events. gdk/wayland/gdkdevice-wayland.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit c7451bbf3b572c4ed4edd2d6568efd139ed37028 Author: Alexander Larsson Date: Wed Oct 29 13:52:04 2014 +0100 GdkX11GLContext: Fix leak gdk/x11/gdkglcontext-x11.c | 2 ++ 1 file changed, 2 insertions(+) commit 8c7623de84d13437e951d37ded04dbefdea5c88c Author: Alexander Larsson Date: Wed Oct 29 13:33:08 2014 +0100 Cache default gdk visuals in the GDK_VISUALS property on the root window This means we don't have to try to initialize opengl in every gtk instance that is stated. It will only happen for the first one. https://bugzilla.gnome.org/show_bug.cgi?id=738670 gdk/x11/gdkdisplay-x11.c | 3 +- gdk/x11/gdkglcontext-x11.c | 88 ++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 88 insertions(+), 3 deletions(-) commit dae447728db32a5a7162d9216f2e2343837cbae4 Author: Alexander Larsson Date: Wed Oct 29 12:35:07 2014 +0100 X11: Pick better system and rgba visuals for GL We want to create windows with the default visuals such that we then have the right visual for GLX when we want to create the paint GL context for the window. For instance, (in bug 738670) the default rgba visual we picked for the NVidia driver had an alpha size of 0 which gave us a BadMatch when later trying to initialize a gl context on it with a alpha FBConfig. Instead of just picking what the Xserver likes for the default, and just picking the first rgba visual we now actually call into GLX to pick an appropriate visual. gdk/x11/gdkdisplay-x11.h | 2 + gdk/x11/gdkglcontext-x11.c | 183 +++++++++++++++++++++++++++++++++++++++++++-- gdk/x11/gdkglcontext-x11.h | 2 +- gdk/x11/gdkscreen-x11.h | 1 + gdk/x11/gdkvisual-x11.c | 5 ++ 5 files changed, 187 insertions(+), 6 deletions(-) commit 8765970ba141ef47af7e1dab856188361c2e6c0b Author: Matthias Clasen Date: Wed Oct 29 06:42:08 2014 -0400 Remove a redundant call No need to set shapes twice in a row. gtk/gtkwidget.c | 1 - 1 file changed, 1 deletion(-) commit 0b4c37624a970ab9b1c806014336dfee311fe11f Author: Matthias Clasen Date: Sun Oct 26 19:14:01 2014 -0400 GtkPopoverMenu: Add API to open a submenu This allows alternative menu switching to be implemented, besides the builtin GtkModelButton support. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkpopovermenu.c | 42 ++++++++++++++++++++++++++---------- gtk/gtkpopovermenu.h | 5 +++++ 3 files changed, 37 insertions(+), 11 deletions(-) commit f83c903ed8551b0c8ca5517c7b52a24d40a82965 Author: Matthias Clasen Date: Sun Oct 26 19:11:33 2014 -0400 Add a scale to the popover menu example Demonsttrate that this is flexible enough for the intended uses. tests/popover2.ui | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 6e001acbf9de644b4b653e5170accac32746cc8e Author: Matthias Clasen Date: Sun Oct 26 19:04:28 2014 -0400 Add documentation Document GtkModelButton and GtkPopoverMenu. docs/reference/gtk/gtk-docs.sgml | 2 + docs/reference/gtk/gtk3-sections.txt | 15 +++ docs/reference/gtk/gtk3.types.in | 2 + gtk/gtkmodelbutton.c | 201 +++++++++++++++++++++++++++++++---- gtk/gtkmodelbutton.h | 8 ++ gtk/gtkpopovermenu.c | 94 ++++++++++++++++ 6 files changed, 299 insertions(+), 23 deletions(-) commit 228e51b31975445c4b157b561807517c85cd07b8 Author: Matthias Clasen Date: Sun Oct 26 09:08:37 2014 -0400 Adapt the testpopover example Add the required boxes for each submenu. We now need to specify the submenu name only once per submenu. tests/popover2.ui | 875 ++++++++++++++++++++++++++---------------------------- 1 file changed, 420 insertions(+), 455 deletions(-) commit 55b7838b4f04ada94fb8457b62b32ebe72c76872 Author: Matthias Clasen Date: Sun Oct 26 18:58:55 2014 -0400 GtkPopoverMenu: Simplify Change things so each submenu is a single child, and users are required to create the box themselves. gtk/gtkpopovermenu.c | 153 +++++++++++++++------------------------------------ 1 file changed, 43 insertions(+), 110 deletions(-) commit 2b5a49c285da91f105b47544bfffe52827c90883 Author: Matthias Clasen Date: Sun Oct 26 18:13:29 2014 -0400 Adapt the testpopover example Drop all all explicit role setting from the testpopover example. tests/popover2.ui | 10 ---------- 1 file changed, 10 deletions(-) commit 689363a782dd4f6e0e721aa5eb1e427b60f7622a Author: Matthias Clasen Date: Sun Oct 26 18:13:02 2014 -0400 GtkModelButton: Don't require an explicit role When we have an action-name, we can deduce the role from the action that is looked up by the action helper. gtk/gtkactionhelper.c | 41 ++++++++++++++++++++++++++++++++++++++--- gtk/gtkmodelbutton.c | 43 +++++++++++++++++++++++-------------------- 2 files changed, 61 insertions(+), 23 deletions(-) commit 2401a6cb8eadcbf8a57e721c4b74f0d5b401a99d Author: Matthias Clasen Date: Sun Oct 26 18:10:23 2014 -0400 Adapt the testpopover example tests/popover2.ui | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 14e394d3d76744c1e55ad4728e02be44f5ea9858 Author: Matthias Clasen Date: Sun Oct 26 18:08:26 2014 -0400 GtkModelButton: Rename action-role to role Rename action-role to role, and make all properties readable. gtk/gtkmenusectionbox.c | 2 +- gtk/gtkmodelbutton.c | 144 +++++++++++++++++++++++++++++++++--------------- gtk/gtkmodelbutton.h | 22 +++++--- 3 files changed, 116 insertions(+), 52 deletions(-) commit e776c665b0316ed43cc6640d723680c723f5c63f Author: Matthias Clasen Date: Sat Oct 25 23:30:12 2014 -0400 GtkModelButton: Drop unused :accel property gtk/gtkmenusectionbox.c | 2 -- gtk/gtkmodelbutton.c | 15 --------------- 2 files changed, 17 deletions(-) commit 1fee63d0970bac8b804f737bf997c815a50c2961 Author: Matthias Clasen Date: Sun Oct 26 16:23:50 2014 -0400 Adapt the testpopover example Drop all uses of has-submenu. tests/popover2.ui | 6 ------ 1 file changed, 6 deletions(-) commit ef22be9bb7bd50f177218ea9bb5f94d3a9298738 Author: Matthias Clasen Date: Sun Oct 26 16:23:31 2014 -0400 Drop GtkModelButton:has-submenu Replace the has-submenu property with checking menu-name != NULL. gtk/gtkmenusectionbox.c | 51 ++++++++++++++++++++++++++----------------------- gtk/gtkmodelbutton.c | 24 +++-------------------- 2 files changed, 30 insertions(+), 45 deletions(-) commit 4da281d20b7a6086ee353d176566e2fa0967280a Author: Matthias Clasen Date: Thu Oct 23 23:39:39 2014 -0400 Adapt the testpopover example We now use GtkPopoverMenu, and just add the model buttons directly to it. tests/Makefile.am | 6 +- tests/popover2.ui | 1106 ++++++++++++++++++++++++++------------------------- tests/testpopover.c | 34 -- 3 files changed, 559 insertions(+), 587 deletions(-) commit e0959181286810c855d4a0c239a57281267d120a Author: Matthias Clasen Date: Thu Oct 23 23:38:46 2014 -0400 GtkModelButton: Add a menu-name property Add a menu-name property and use it in a default implementation of ::clicked to switch menus if we are inside a stack. This means GtkModelButton is no longer entirely generic, but rather expects to be used inside a GtkPopoverMenu. It still works in other contexts too, of course. gtk/gtkmodelbutton.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit 1f81c83fd8a5690a8961d278f9d117ddb4be9d4e Author: Matthias Clasen Date: Thu Oct 23 23:38:09 2014 -0400 Add GtkPopoverMenu GtkPopoverMenu is a GtkPopover subclass that has a menu-like stack built-in. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkcontainer.c | 6 +- gtk/gtkpopovermenu.c | 266 +++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkpopovermenu.h | 57 +++++++++++ 5 files changed, 331 insertions(+), 1 deletion(-) commit a8cc4787d29c51823f0e07dbb46e7ba6400b04e4 Author: Matthias Clasen Date: Thu Oct 23 21:55:20 2014 -0400 Add a manual popover menu example Reproduce the testpopover popover manually, by packing model buttons into a stack in a popover. tests/Makefile.am | 7 +- tests/popover2.ui | 598 ++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/testpopover.c | 81 +++++-- 3 files changed, 664 insertions(+), 22 deletions(-) commit 83976c47f80f61c49bfa3dd6d3a16cad384053c6 Author: Matthias Clasen Date: Thu Oct 23 21:43:28 2014 -0400 Make GtkModelButton a better GtkActionable Rename the "toggled" property to "active", since that is what GtkActionHelper expects to update for check and radio actions. Also make the property readable, since GtkActionHelper wants to read it. gtk/gtkmenusectionbox.c | 2 +- gtk/gtkmodelbutton.c | 45 ++++++++++++++++++++++++++++++++++----------- 2 files changed, 35 insertions(+), 12 deletions(-) commit fd945be50b5683f79234b039bc33409e3f67cc83 Author: Matthias Clasen Date: Thu Oct 23 21:31:17 2014 -0400 Make GtkModelButton public gtk/Makefile.am | 2 +- gtk/gtk.h | 1 + gtk/gtkmodelbutton.h | 6 ++++++ 3 files changed, 8 insertions(+), 1 deletion(-) commit c9ad936011a2d7369db1240d533d6cc6774b4709 Author: Matthias Clasen Date: Tue Oct 28 22:36:50 2014 -0400 Drop an unused variable gtk/gtkwidget.c | 2 -- 1 file changed, 2 deletions(-) commit d5cd05a0f49464993f583ce15e54ceaae5c1988d Author: Alexander Larsson Date: Wed Oct 29 11:25:21 2014 +0100 GdkGLContextX11: Don't free NULL visual info gdk/x11/gdkglcontext-x11.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 778865f316956b8ea3382168d4fe1e9d92749af1 Author: Matthias Clasen Date: Tue Oct 28 20:23:47 2014 -0400 Fix toplevel input shape for csd windows We need to maintain the application-set and the the csd input shape separately, and intersect them to pass them down. gtk/gtkwidget.c | 90 ++++++++++++++++++++++++++++++++++++-------------- gtk/gtkwidgetprivate.h | 3 ++ gtk/gtkwindow.c | 2 +- 3 files changed, 69 insertions(+), 26 deletions(-) commit 3f1dc87188eb2e5156930494d8d6f415655b2f19 Author: Matthias Clasen Date: Tue Oct 28 16:07:25 2014 -0400 Plug another memory leak Also found by valgrind. gdk/gdkwindow.c | 1 + 1 file changed, 1 insertion(+) commit c8d4eefa719108c9ead491f93c557fa0c8f14c98 Author: Matthias Clasen Date: Tue Oct 28 16:06:42 2014 -0400 Plug some memory leaks in GL support valgrind pointed these out. gdk/x11/gdkglcontext-x11.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 0814cd9f8b07ada390749da9e918f7100a0e24a7 Author: Alexander Larsson Date: Tue Oct 28 18:29:02 2014 +0100 GdkGlContextWayland: Don't require specific bit depths This just means we may fail to get a gl context, we just require *some* color depth. gdk/wayland/gdkglcontext-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3406bbd1281260013e86f45e03e1dc0c3b1e97cb Author: Alexander Larsson Date: Tue Oct 28 18:27:41 2014 +0100 Pick the first rgba visual, not the last The visuals are typically sorted by some sort of "most useful first" order. And picking the last one is likely to give us the weirdest matching glx visual. gdk/x11/gdkvisual-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8d6d6dcca3bc30ed071232944c49443f3a45119e Author: Alexander Larsson Date: Tue Oct 28 16:43:38 2014 +0100 GdkGLContextX11: Ensure we get the fbconfig with the exact same visual We really want a gl context with exactly the same visual, or we will get a badmatch later, which hits us on nvidia as per: https://bugzilla.gnome.org/show_bug.cgi?id=738670 gdk/x11/gdkglcontext-x11.c | 50 +++++++++++++++++----------------------------- 1 file changed, 18 insertions(+), 32 deletions(-) commit b673490a1b492308462b97569941c3834a06214f Author: Matthias Clasen Date: Tue Oct 28 10:48:49 2014 -0400 Document Wayland opacity handling gdk/gdkwindow.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 4cf6edda55edb57228e9a1b545dd72c90c3d22af Author: Matthias Clasen Date: Tue Oct 28 10:28:23 2014 -0400 wayland: Make window opacity work Under wayland, the compositor doesn't have a 'overall window alpha' knob, we just need to add the alpha to the buffers we send. Client-side alpha, if you want to call it that. Implement this by reusing the existing alpha support for non-toplevel widgets. As a side-effect of the implementation, windows with RGBA visual under X will now also use per-pixel alpha, instead of overall alpha. gtk/gtkwidget.c | 8 +++++--- gtk/gtkwindow.c | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) commit d58c750db5085a6e7ffe3490acc938a0694743d4 Author: Matthias Clasen Date: Tue Oct 28 08:08:49 2014 -0400 Bump atk dep Needed for ATK_STATE_HAS_TOOLTIP. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 850143b7a09383aa3c47a5ea89d4066ee832a8b3 Author: Matthias Clasen Date: Tue Oct 28 07:04:23 2014 -0400 Inspector: Make picking work without a grab Turns out Weston takes an X grab while delivering button events. Thus, trying to take a grab in response to a button press is futile. gtk/inspector/inspect-button.c | 12 +++++------- gtk/inspector/window.h | 2 ++ 2 files changed, 7 insertions(+), 7 deletions(-) commit c40ba85ace2869f770d1b48552c9f134065f4e03 Author: Jasper St. Pierre Date: Mon Oct 27 21:44:48 2014 -0700 wayland: Don't use the default display Pass a display in so that multi-display technology works. gdk/wayland/gdkdevice-wayland.c | 13 ++++++++----- gdk/wayland/gdkdnd-wayland.c | 25 ++++++++++++++----------- gdk/wayland/gdkprivate-wayland.h | 9 +++++---- gdk/wayland/gdkselection-wayland.c | 34 ++++++++++++++++------------------ gdk/wayland/gdkwaylandselection.h | 2 +- gtk/gtkselection.c | 2 +- 6 files changed, 45 insertions(+), 40 deletions(-) commit bbe9ef20daff534b09eaf8c179343eb1b08041ce Author: Jasper St. Pierre Date: Mon Oct 27 22:29:29 2014 -0700 gdkevents: Use the correct display to copy event data gdk/gdkevents.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 887b7356c369e58a959b99d88246df8303e34531 Author: Jasper St. Pierre Date: Mon Oct 27 21:47:58 2014 -0700 gdkdisplay: Provide a default event_data_copy / event_data_free Every single implementation but Quartz is a no-op for this, so just provide it once rather than in every backend. gdk/broadway/gdkdisplay-broadway.c | 15 --------------- gdk/gdkdisplay.c | 15 +++++++++++++++ gdk/mir/gdkmirdisplay.c | 17 ----------------- gdk/wayland/gdkdisplay-wayland.c | 15 --------------- gdk/win32/gdkdisplay-win32.c | 15 --------------- gdk/x11/gdkdisplay-x11.c | 15 --------------- 6 files changed, 15 insertions(+), 77 deletions(-) commit e36b57e7f9d636a8181e8faf1b281a0db0c6c199 Author: Matthias Clasen Date: Tue Oct 28 00:56:46 2014 -0400 gtk-demo: Drop uses of gdk_cursor_new() Use gdk_cursor_new_for_display() instead. demos/gtk-demo/hypertext.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit abe7187cfb2c19a177a28b9adc236060bf17665e Author: Matthias Clasen Date: Tue Oct 28 00:54:39 2014 -0400 Add another multi-device invariant The device and window passed to gdk_device_grab() must be on the same display, or things are unlikely to work. Document and assert this. gdk/gdkdevice.c | 3 +++ 1 file changed, 3 insertions(+) commit 86f66d26fe154db10d13c405414ba9dc90b0baca Author: Matthias Clasen Date: Tue Oct 28 00:53:59 2014 -0400 Drop an unused variable gtk/gtkmenusectionbox.c | 1 - 1 file changed, 1 deletion(-) commit 4c69dabb6e86410868b61409bc2f549618d52fc4 Author: Matthias Clasen Date: Tue Oct 28 00:51:32 2014 -0400 Don't return GDK_GRAB_SUCCESS on failure That seems ... counterproductive. gdk/gdkdevice.c | 4 ++-- gdk/gdktypes.h | 4 +++- gdk/gdkwindow.c | 8 ++++---- 3 files changed, 9 insertions(+), 7 deletions(-) commit d1dcac85f3b8d2050d2893606b98807c82ce9c4f Author: Matthias Clasen Date: Tue Oct 28 00:44:33 2014 -0400 Mention the 'same display' requirement in the docs too gdk/gdkwindow.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit eedff394136013f31f9391e3c9d5b1ec5abc2c6f Author: Matthias Clasen Date: Tue Oct 28 00:38:59 2014 -0400 Deprecate gdk_cursor_new() Too easy to introduce an unintended assumption about the display being the default this way. gdk/gdkcursor.c | 4 +++- gdk/gdkcursor.h | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) commit 8aecf2c06a2191d48af36549c104a151afe85411 Author: Matthias Clasen Date: Tue Oct 28 00:36:17 2014 -0400 GtkAboutDialog: Don't use gdk_cursor_new gdk_cursor_new returns cursors for the default display, and thus is not safe to use in code that may run on non-default displays. gtk/gtkaboutdialog.c | 37 +++++++++++++++++++++++++++++++------ 1 file changed, 31 insertions(+), 6 deletions(-) commit 5f980cd8ded9cc36148862cb39c636e6a0d2f0c6 Author: Jasper St. Pierre Date: Mon Oct 27 21:21:00 2014 -0700 gtkwindow: Use gdk_cursor_new_for_display Otherwise, this crashes the inspector, since it now uses multi-display technology, and on Wayland, resources like the cursor are client-private. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52e3b8838240c01b416783372703bf4ad9045c1d Author: Jasper St. Pierre Date: Mon Oct 27 21:18:15 2014 -0700 gdkwindow: Specify some invariants for cursors Cursors should not be on a different display than their window / device, as that would break Wayland. gdk/gdkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 168a49426e35aa029495ce84f2b35af92a9b5c84 Author: Matthias Clasen Date: Mon Oct 27 19:12:03 2014 -0400 Update for 3.15.1 NEWS | 32 ++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 33 insertions(+), 1 deletion(-) commit 60a11333aff57a0d890011d7ef619cde75e469e6 Author: Matthias Clasen Date: Mon Oct 27 19:31:04 2014 -0400 Update expected results of a11y tests The new has-tooltip state is showing up in a number of places, as expected. testsuite/a11y/label.txt | 6 +++--- testsuite/a11y/link.txt | 2 +- testsuite/a11y/lockbutton.txt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) commit 0f79cb3d11fbf7dd1d0056b6ba74cf5210b1aa7e Author: Jasper St. Pierre Date: Mon Oct 27 16:54:33 2014 -0700 x11: Scale the frame extents as well gdk/x11/gdkwindow-x11.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit a680631345f32a39fd518dd554ff3f7eac404dd8 Author: Matthias Clasen Date: Mon Oct 27 17:13:36 2014 -0400 gtk3-demo: Add a frame to the sidebar With overlay scrollbars, there's no visible separation between the sidebar and the content otherwise. demos/gtk-demo/main.ui | 53 +++++++++++++++++++++++++++----------------------- 1 file changed, 29 insertions(+), 24 deletions(-) commit f7b1ba09430f07a02c5c29b0eba59516bf92aa9a Author: Alexander Larsson Date: Mon Oct 27 21:15:37 2014 +0100 opengl: Use GL_TEXTURE_2D rather than GL_TEXTURE_RECTANGLE_ARB when possible This is more standard, and most driver support non-power-of-2 TEXTURE_2D these days. We fall back for ancient drivers. gdk/gdkgl.c | 73 ++++++++++++++++++++++--------- gdk/x11/gdkglcontext-x11.c | 105 ++++++++++++++++++++++++++++++++++----------- 2 files changed, 132 insertions(+), 46 deletions(-) commit 08d44648ea9378d62f0fa95995bbcc33d4cc338e Author: Alexander Larsson Date: Mon Oct 27 21:13:28 2014 +0100 opengl: Use proper blend function for premultiplied alpha gdk/gdkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 72a6459d73ed2af6cc032a7fc0c1704c9ed6faba Author: Alexander Larsson Date: Mon Oct 27 21:12:40 2014 +0100 gdkglcontext: Track whether to use GL_TEXTURE_2D or GL_TEXTURE_RECTANGL_ARB gdk/gdkdisplayprivate.h | 3 +++ gdk/gdkglcontext.c | 36 ++++++++++++++++++++++++++++++++++++ gdk/gdkglcontextprivate.h | 1 + 3 files changed, 40 insertions(+) commit 5f40f58c36478fda78d9718c66981ef6c35ba3bd Author: Jasper St. Pierre Date: Mon Oct 27 10:18:37 2014 -0700 cairoblur: Fix the blur again once more The differences between the mutter and GTK+ code are subtle, but it turns out that _gtk_cairo_blur_compute_pixels actually returns the shadow *spread*. Since we use a triple box blur, the constant was multiplied by 1.5 to approximate three chained box blurs. Split this out and use the correct value for the lobe width. gtk/gtkcairoblur.c | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) commit ac9ac555551be0a607ad7b76531c2f80ea76d349 Author: Jasper St. Pierre Date: Mon Oct 27 10:05:35 2014 -0700 cairoblur: Fix the blur code We weren't passing in the right "d" value, which was causing the blur to behave incorrectly, especially in the case of 1px blurs, which would cause no blurs at all. The blur should now match the web. gtk/gtkcairoblur.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 3013997e234d86dcdaa212c50d4b263c44a7c416 Author: Alexander Larsson Date: Mon Oct 27 16:33:37 2014 +0100 Rename gdk_gl_context_flush_buffer to gdk_gl_context_end_frame This makes a lot more sense. gdk/gdkglcontext.c | 10 +++++----- gdk/gdkglcontextprivate.h | 16 ++++++++-------- gdk/gdkwindow.c | 6 +++--- gdk/wayland/gdkglcontext-wayland.c | 8 ++++---- gdk/x11/gdkglcontext-x11.c | 8 ++++---- 5 files changed, 24 insertions(+), 24 deletions(-) commit f1fe70e4adfa468c081bfb9d1d57364ef02496d8 Author: Matthias Clasen Date: Mon Oct 27 07:19:50 2014 -0400 Indentation fix gtk/gtkmenusectionbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 17f9eed14e6aa36cc10fd56b221fb544ad809b1f Author: Sebastien Lafargue Date: Sat Oct 18 11:19:26 2014 +0200 popover menus: Take iconic into account We don't want separators in both side of an iconic section and use a 10px margin to separate two iconic sections. Separators are also updated in case of dynamic insertion ( often used with menu items for plugins ) https://bugzilla.gnome.org/show_bug.cgi?id=738650 gtk/gtkmenusectionbox.c | 75 ++++++++++++++++++++++++++++++++----------------- 1 file changed, 50 insertions(+), 25 deletions(-) commit fc6f22c3ce0e628d955e23c131d0b16b2939b2eb Author: Matthias Clasen Date: Mon Oct 27 07:05:22 2014 -0400 Ignore gdk-pixbuf deprecations gtk/gtkiconcache.c | 2 ++ gtk/gtktextbufferserialize.c | 4 ++++ 2 files changed, 6 insertions(+) commit 96a3b2373669d07fd03f1cce0dbcf38dad1a3a02 Author: Cosimo Cecchi Date: Fri Oct 24 15:26:31 2014 -0700 testlevelbar: fix CSS to be aligned with documentation https://bugzilla.gnome.org/show_bug.cgi?id=707695 tests/testlevelbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 631e2f4c9bc127bc631b75864b6f62516a88b23b Author: Cosimo Cecchi Date: Fri Oct 24 15:25:36 2014 -0700 levelbar: don't use the current value style class for empty blocks We want to be able to style the empty blocks independently of all the offset styles, so remove the current style class when painting an empty block. https://bugzilla.gnome.org/show_bug.cgi?id=707695 gtk/gtklevelbar.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 0555ef20a45e15c83f2698f276d105d686ea5c9f Author: Cosimo Cecchi Date: Fri Oct 24 14:53:26 2014 -0700 testlevelbar: don't segfault when quitting testlevelbar Quit the mainloop when the window is closed. https://bugzilla.gnome.org/show_bug.cgi?id=707695 tests/testlevelbar.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 3a2bf9d8788e0bb44c27dfb7b9f7628973aab3c1 Author: Matthias Clasen Date: Mon Oct 27 06:49:46 2014 -0400 quartz: Move the FullscreenSavedGeometry definition earlier Move the FullscreenSavedGeometry before the first (conditional) use, to fix the build on OS X 10.6. https://bugzilla.gnome.org/show_bug.cgi?id=737561 gdk/quartz/gdkwindow-quartz.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit a703437796fefb44d4058cd36d6ba13abaab4725 Author: Marcus Karlsson Date: Sun Oct 26 12:26:48 2014 +0100 quartz: fix build on 10.6 and below It is not possible to successfully build GTK+ on OS X 10.6 and below since NSFullScreenWindowMask is only available starting with 10.7. Add ifdef guards around setStyleMask: in order to allow it to build on earlier OS X releases. https://bugzilla.gnome.org/show_bug.cgi?id=737561 gdk/quartz/GdkQuartzNSWindow.c | 4 ++++ gdk/quartz/GdkQuartzNSWindow.h | 3 +++ 2 files changed, 7 insertions(+) commit 506d59f52666bd0f43ff950e46dd0b196e07f729 Author: Christophe Fergeau Date: Thu Oct 23 21:13:29 2014 +0200 Return correct font from gtk_font_chooser_widget_find_font Commit 30a1c4ab fixed several memleaks including one in gtk_font_chooser_widget_find_font. However, the fix causes one extra call to gtk_tree_model_iter_next() after finding the font we look for (ie pango_font_description_equal returns TRUE): the 'increment' part of the for loop (gtk_tree_model_iter_next) is run before the 'exit condition' of the for loop is evaluated. This commit reverts this part of commit 30a1c4ab and adds an extra call to pango_font_description_free in order to fix the leak. https://bugzilla.gnome.org/show_bug.cgi?id=739111 gtk/gtkfontchooserwidget.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 77487fef2f14d199611264d28c14eba081b31b36 Author: Christophe Fergeau Date: Thu Oct 23 23:30:35 2014 +0200 fontchooserwidget: Don't invalidate priv->font_iter in load_fonts When using GtkFontChooserButton, the same GtkFontChooserWidget can be hidden and shown multiple times. When doing that, the font that was chosen the previous time should be the selected one in the GtkFontChooserWidget, however this does not work as expected and a somehow 'random' font gets selected (or none) instead. Every time the font chooser widget is shown, its style will be updated, causing gtk_font_chooser_widget_style_updated and then gtk_font_chooser_widget_load_fonts to be called. gtk_font_chooser_widget_load_fonts starts by clearing the GtkListStore listing the available fonts, repopulates it, and then makes sure the current font is selected. However, this does not work as expected, as during the call to gtk_list_store_clear, the cursor_changed_cb will be invoked multiple times when the GtkTreeView cursor gets moved when the line where the cursor currently is gets removed. This will cause the 'current font' state (priv->font_desc) to be unexpectedly modified, and when gtk_font_chooser_widget_load_fonts tries to reposition the cursor to the 'current font', we won't get the expect result. This commit avoids that by making sure cursor_changed_cb does not get called when we call gtk_list_store_clear in gtk_font_chooser_widget_load_fonts. https://bugzilla.gnome.org/show_bug.cgi?id=739111 gtk/gtkfontchooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit e75310a445f019cd4ef27a87c3da57b6891d7c69 Author: Matthias Clasen Date: Sun Oct 26 21:48:59 2014 -0400 Fix an out-of-bounds access in MyEnhancedXkbTranslateKeyCode Commits 314b6abbe8d8daae and eb9223c008ccf1c2faab were ignoring the fact that the code where found is set to 1 was modifying col - which was an ok thing to do when that part of the code was still breaking out of the loop, but it is no longer doing that (since 2003 !). Fix things up by storing the final col value in a separate variable and using that after the loop. https://bugzilla.gnome.org/show_bug.cgi?id=738886 gdk/x11/gdkkeys-x11.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit f7813deb266c46495b67940771662a6fabea3d29 Author: Matthias Clasen Date: Sun Oct 26 15:07:26 2014 -0400 Test h/vhomogenenous in teststack Add separate checkboxes for hhomogeneous and vhomogeneous. tests/teststack.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit e41a8cf6fc5452df23e7df451dc752fa3030b12d Author: Matthias Clasen Date: Sun Oct 26 15:03:58 2014 -0400 Use GtkStack:vhomogeneous for popover menus This allows us to get rid of a size group. gtk/gtkmenusectionbox.c | 12 ------------ gtk/gtkpopover.c | 2 +- 2 files changed, 1 insertion(+), 13 deletions(-) commit b86356bc1caa165ac4d4840724cc28fb9292fc5d Author: Matthias Clasen Date: Sun Oct 26 14:59:21 2014 -0400 GtkStack: split homogeneous Split homogeneous into separate hhomogeneous and vhomogeneous properties. vhomogeneous is what we want for popover menus. docs/reference/gtk/gtk3-sections.txt | 4 + gtk/gtkstack.c | 199 +++++++++++++++++++++++++++++++---- gtk/gtkstack.h | 10 ++ 3 files changed, 195 insertions(+), 18 deletions(-) commit 4d075cf202ae428652b98748ca28c06c6bfc6244 Author: Timm Bäder Date: Sun Oct 26 15:21:06 2014 +0100 popover: Use the right area for drawing the background The border shouldn't be subtracted. gtk/gtkpopover.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8b6457732f2c7723b2415bf3dddc734219eeca2e Author: Matthias Clasen Date: Sat Oct 25 20:27:18 2014 -0400 GtkBox: Fix self-assignment for center widget This is happening when glade is loading ui files containing center widgets. gtk/gtkbox.c | 5 +++++ 1 file changed, 5 insertions(+) commit 1376c6b1b70f186e8523b2776af954b765d124de Author: Marek Černocký Date: Sun Oct 26 00:35:56 2014 +0200 Updated Czech translation po-properties/cs.po | 1047 ++++++++++++++++++++++++++++----------------------- 1 file changed, 571 insertions(+), 476 deletions(-) commit eec161ab3f7f33b35f9ed306f0322728742b9e7b Author: Marek Černocký Date: Sun Oct 26 00:35:50 2014 +0200 Updated Czech translation po/cs.po | 1155 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 731 insertions(+), 424 deletions(-) commit 041ccd7f878f6412c3a47eec4665ea86123ea048 Author: Matthias Clasen Date: Sat Oct 25 15:55:54 2014 -0400 GtkPlacesSidebar: Don't crash on dnd gtk_get_current_event() can return NULL. Don't crash if it does. https://bugzilla.gnome.org/show_bug.cgi?id=739150 gtk/gtkplacessidebar.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit e35d91d18f2deab7238dfcd2ad96451acce73f51 Author: Matthias Clasen Date: Sat Oct 25 13:58:29 2014 -0400 Revert "Inspector backend hack" This reverts commit f88a5dc8c78e6530baeebb6cba75fe3061926052. Didn't mean to push this. gtk/inspector/window.c | 6 ------ 1 file changed, 6 deletions(-) commit 9ca9fccacea34ab93e05ab72c203a2ee89245c3d Author: Matthias Clasen Date: Sat Oct 25 13:31:57 2014 -0400 GtkSpinButton: Set the screen on the panel contexts Failure to do so results in custom styling leaking through in the inspector. This is pretty obvious, now that the inspector is using a separate display connection and is generally isolated from style changes. gtk/gtkspinbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f88a5dc8c78e6530baeebb6cba75fe3061926052 Author: Matthias Clasen Date: Fri Oct 24 18:00:19 2014 -0400 Inspector backend hack gtk/inspector/window.c | 6 ++++++ 1 file changed, 6 insertions(+) commit f733fa88f585693a12137210c02aa93451b293c9 Author: Matthias Clasen Date: Sat Oct 25 10:31:31 2014 -0400 Broadway: Remove display assumptions In various places, the broadway backend was just using the default display and assumed that it is the broadway display. That may not be the case in a multi-backend world, so instead iterate over all displays and use the first broadway display - still not perfect, but enough to survive for now. gdk/broadway/gdkdevice-broadway.c | 2 +- gdk/broadway/gdkeventsource.c | 21 +++++++++++++++++++-- gdk/broadway/gdkwindow-broadway.c | 29 +++++++++++++++++++++++++++-- 3 files changed, 47 insertions(+), 5 deletions(-) commit 23641e3103a9d2883634e496a34e96d407b3d63b Author: Matthias Clasen Date: Sat Oct 25 10:00:57 2014 -0400 inspector: Plug a memory leak gtk/inspector/selector.c | 3 +++ 1 file changed, 3 insertions(+) commit bd031b89c154a4fc7cb9c11bdf17f1df226c1b97 Author: Matthias Clasen Date: Sat Oct 25 10:00:04 2014 -0400 inspector: Add style classes to the object list We have a lot of space here now, so show some useful information. gtk/inspector/object-tree.c | 35 ++++++++++++++++++++++++++--------- gtk/inspector/object-tree.ui | 3 +-- gtk/inspector/object-tree.ui.h | 2 +- 3 files changed, 28 insertions(+), 12 deletions(-) commit 182dd3c1ea61319217a7b89099a8324bb387ed19 Author: Matthias Clasen Date: Fri Oct 24 23:36:35 2014 -0400 Fix a mixup in popover realization When the window is on a non-default screen, popover_realize ended up passing a visual and a parent_window from different screens into gdk_window_new, which doesn't work. Fix it by using the visual of the parent window. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a46d4e51f783ef23f92728daf3a3c29c2e3c4805 Author: Matthias Clasen Date: Fri Oct 24 21:52:23 2014 -0400 inspector: Improve details buttons Ensure that the details buttons are only sensitive when we actually have details to show. gtk/inspector/object-tree.c | 3 +-- gtk/inspector/resource-list.c | 35 +++++++++++++++++++++++++++++++++++ gtk/inspector/resource-list.ui | 1 + gtk/inspector/window.c | 2 ++ gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 2 +- 6 files changed, 41 insertions(+), 3 deletions(-) commit 70c3241bd3a4fe15c7cf9bd86a21d753f4ef1b35 Author: Matthias Clasen Date: Fri Oct 24 21:14:16 2014 -0400 inspector: Improve tab switching Switch the object and resource trees away from activate-on-single-click and add a 'view details' button. gtk/inspector/object-tree.c | 18 +++++-- gtk/inspector/object-tree.h | 2 + gtk/inspector/object-tree.ui | 1 - gtk/inspector/prop-list.c | 5 +- gtk/inspector/resource-list.c | 56 +++++++++++++++++----- gtk/inspector/resource-list.ui | 3 +- gtk/inspector/window.c | 54 +++++++++++++++------ gtk/inspector/window.h | 2 +- gtk/inspector/window.ui | 105 ++++++++++++++++++++++++++++++++--------- gtk/inspector/window.ui.h | 2 + 10 files changed, 188 insertions(+), 60 deletions(-) commit 32326f826ffacd525d62a8a11d66f017a7d8ebe2 Author: Matthias Clasen Date: Fri Oct 24 18:38:15 2014 -0400 X11: Don't assume all displays are X11 displays When iterating over the list of displays gotten from the display manager, we have to check if what we got is actually an X11 display. gdk/x11/gdkdisplay-x11.c | 8 ++++++-- gdk/x11/gdkmain-x11.c | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) commit 4590501854fa41a6aba4307de8808fa956305b19 Author: Matthias Clasen Date: Fri Oct 24 16:23:07 2014 -0400 Properly update the style cascade on screen change GtkStyleContext was not properly handling the style cascade when setting a screen, causing the inspector global CSS to affect the inspector window, even though the inspector is using a different screen now. gtk/gtkstylecontext.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 385e6beafe7e53911c1f3c1f84e167e5b218244a Author: Matthias Clasen Date: Fri Oct 24 16:12:33 2014 -0400 Fix the build Some forgotten include path adjustments. gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkcssshorthandpropertyimpl.c | 2 +- gtk/gtkcssstyleproperty.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit c16fa45bfe3b68bbfe8b4ffc8851d37eb1985f9f Author: Matthias Clasen Date: Fri Oct 24 15:55:31 2014 -0400 inspector: Use a separate display connection This helps isolate the inspector from some of the changes that it can trigger. To specify a different display, set GTK_INSPECTOR_DISPLAY to the name of the display to use for the inspector window. If no display is specified, GTK+ will use a separate connection to the default display. gtk/inspector/general.c | 2 +- gtk/inspector/inspect-button.c | 39 +++++++++++++++++++++++++++++---------- gtk/inspector/object-tree.c | 4 ++++ gtk/inspector/visual.c | 4 ++-- gtk/inspector/window.c | 37 ++++++++++++++++++++++++++++++++++++- gtk/inspector/window.h | 1 + 6 files changed, 73 insertions(+), 14 deletions(-) commit fea13fcfc1a7d9e286d5bb12bdbb8b5acd774001 Author: Matthias Clasen Date: Fri Oct 24 13:30:19 2014 -0400 Fix a problem with screen changes and csd When a new screen is set on a window, we unrealize it, to recreate all the resources. But we don't reset the client_decorated flag, so realize() doesn't call create_decoration() - which makes sense, since the decoration already exists. But the side-effect of create_decoration() is to select the rgba visual, and visuals are per-screen. Fix this by looking for the rgba visual in set_screen(), and replacing it with the rgba visual for the new screen, if necessary. gtk/gtkwindow.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 2002613012f521d04cf51596a52db074cedfb14d Author: Benjamin Otte Date: Fri Oct 24 21:31:15 2014 +0200 styleproperties: Move into deprecated directory gtk/Makefile.am | 6 +++--- gtk/deprecated/gtkgradient.h | 2 +- gtk/{ => deprecated}/gtkstyleproperties.c | 0 gtk/{ => deprecated}/gtkstyleproperties.h | 0 gtk/{ => deprecated}/gtkstylepropertiesprivate.h | 0 gtk/deprecated/gtksymboliccolor.h | 2 +- gtk/deprecated/gtkthemingengine.h | 2 +- gtk/gtk.h | 2 +- gtk/gtkstyleprovider.h | 2 +- 9 files changed, 8 insertions(+), 8 deletions(-) commit a51378dda882115449b185aaa33b921d397568c9 Author: Benjamin Otte Date: Fri Oct 24 21:22:43 2014 +0200 styleproperties: Deprecate gtk/gtkmodifierstyle.c | 12 ++++-------- gtk/gtkstyleproperties.c | 38 ++++++++++++++++++++++++++++---------- gtk/gtkstyleproperties.h | 22 +++++++++++----------- gtk/gtkstyleproperty.c | 2 ++ 4 files changed, 45 insertions(+), 29 deletions(-) commit 433c20e59d84045438a91f2703c76b50b10116ed Author: Benjamin Otte Date: Fri Oct 24 21:12:44 2014 +0200 styleproperties: Remove header where it's not used gtk/gtkborderimage.c | 1 - gtk/gtkcsscomputedvalues.c | 1 - gtk/gtkcsslookup.c | 1 - gtk/gtkcssprovider.c | 1 - gtk/gtkcssstylepropertyimpl.c | 1 - gtk/gtkstylecontext.c | 2 +- gtk/gtkstyleproperty.c | 1 - 7 files changed, 1 insertion(+), 7 deletions(-) commit e2a07805433a085541e20c24a53a9521ed028481 Author: Benjamin Otte Date: Fri Oct 24 21:03:36 2014 +0200 styleproperties: Remove unused function gtk/gtkstyleproperties.c | 29 +++++++---------------------- gtk/gtkstylepropertiesprivate.h | 3 --- 2 files changed, 7 insertions(+), 25 deletions(-) commit a1f7c459b75fe47e2abb7e856e6d4a4ad5208cb9 Author: Benjamin Otte Date: Fri Oct 24 20:17:11 2014 +0200 css: Disallow bypassing value computation This special code was added back in the days when computation wasn't idemptotent. These days it is. Also, the bypass code path is only used in fallback code that is pretty much unused. gtk/gtkcsscomputedvalues.c | 56 +++++++++++++++------------------------ gtk/gtkcsscomputedvaluesprivate.h | 5 ---- gtk/gtkcsslookup.c | 44 ++---------------------------- gtk/gtkcsslookupprivate.h | 5 ---- gtk/gtkstyleproperties.c | 2 +- 5 files changed, 25 insertions(+), 87 deletions(-) commit ec8a29b0c20af204eab7ef3ec5f79dfdeaca35ea Author: Benjamin Otte Date: Fri Oct 24 19:58:54 2014 +0200 css: Remove unneeded header gtk/gtkcsscolorvalue.c | 1 - 1 file changed, 1 deletion(-) commit 40c129f9065a2a454903a390685ec1cb0061e61c Author: Daniel Mustieles Date: Fri Oct 24 19:18:54 2014 +0200 Updated Spanish translation po/es.po | 174 ++++++++++++++++----------------------------------------------- 1 file changed, 43 insertions(+), 131 deletions(-) commit f32ec2e4be9e16552e8ffdf967291004859a2a2a Author: Matthias Clasen Date: Fri Oct 24 08:30:10 2014 -0400 widget-factory: Add mnemonics in the prefs dialog This helps testing the mmemonic label display in the inspector, and is just good practice. demos/widget-factory/widget-factory.ui | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 1aa3000ae6bb0ebd1eff42c8c9af21b0ef5e9c57 Author: Matthias Clasen Date: Fri Oct 24 07:49:37 2014 -0400 Inspector: Show more misc info about widgets This adds clip area, accessible role, mapped, realize, is-toplevel, child-visible, mnemonic labels and tick callbacks to the displayed information. gtk/inspector/misc-info.c | 119 +++++++++++++++++- gtk/inspector/misc-info.ui | 284 +++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.ui.h | 8 ++ 3 files changed, 408 insertions(+), 3 deletions(-) commit a55000613a3840e52781ad9a096989fd2c8786ce Author: Matthias Clasen Date: Fri Oct 24 08:00:41 2014 -0400 Add private API to query tick callbacks This information can be useful for debugging purposes. gtk/gtkwidget.c | 6 ++++++ gtk/gtkwidgetprivate.h | 1 + 2 files changed, 7 insertions(+) commit 21536775d7dd20584ae7c8433f7e98d8a33e1885 Author: Lapo Calamandrei Date: Fri Oct 24 13:08:06 2014 +0200 widget-factory: set show-border to false on page 3 notebooks demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit 1c3475d58a2c82201d39a5086241da6da398a642 Author: Lapo Calamandrei Date: Fri Oct 24 13:01:41 2014 +0200 Revert "Adwaita: axes borders of notebooks inside frame" This reverts commit 01e6811776cf6ad8738f182972edbb84626d7fae. This assumption doesn't work latelly gtk/resources/theme/Adwaita/_common.scss | 5 +---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/resources/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 1 insertion(+), 8 deletions(-) commit 6ae1dc73c7eeaf751050af78812fc9d94c4c1e51 Author: Мирослав Николић Date: Fri Oct 24 10:38:56 2014 +0200 Updated Serbian translation po-properties/sr.po | 487 ++++++++++++++++++++++++---------------------- po-properties/sr@latin.po | 487 ++++++++++++++++++++++++---------------------- 2 files changed, 506 insertions(+), 468 deletions(-) commit 579c56ffd7e5bbc06cbcec478e25468a2fa805c6 Author: Chun-wei Fan Date: Fri Oct 24 15:59:18 2014 +0800 Visual Studio Builds: Update "Installation" Add the newly-added public headers for GDK and GTK into the list of files to "install". build/win32/vs10/gtk-install.props | 4 ++++ build/win32/vs9/gtk-install.vsprops | 4 ++++ 2 files changed, 8 insertions(+) commit 8b1648fe5be6b8c92d830b373f929c28c59b0a5e Author: Chun-wei Fan Date: Fri Oct 24 15:58:20 2014 +0800 Visual Studio Builds: Update the gtk3-demo Projects The gtkglarea and sidebar demos have been added, so build them in the projects. Note that the gtkglarea code is not usable under Windows at this point as implementation is needed for the GDK-Win32 backend. build/win32/vs10/gtk3-demo.vcxproj | 2 ++ build/win32/vs10/gtk3-demo.vcxproj.filters | 2 ++ build/win32/vs9/gtk3-demo.vcproj | 2 ++ 3 files changed, 6 insertions(+) commit aa47269273f0ea397bcb169506498a6174857592 Author: Chun-wei Fan Date: Fri Oct 24 15:56:46 2014 +0800 Visual Studio Builds: Link to libepoxy Patches have been submitted to the libepoxy project so that it can be built under Visual Studio. This will allow the GDK, GTK and gtk3-demo projects to build, but the gtkglarea code is not usable at this time as implementation needs to be added to the GDK-Win32 backend for it. build/win32/vs10/gtk-build-defines.props | 2 +- build/win32/vs9/gtk-build-defines.vsprops | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a8c79c2da161091e804e002336f2f2370c31c3a2 Author: Chun-wei Fan Date: Fri Oct 24 12:53:15 2014 +0800 Fix Up Visual Studio Property Sheets "Install" gdkbroadwaydisplay.h, as it is a public header of GDK Broadway, also fix the MSVC 2010+ gtk-copy-gdk-broadway.props property sheet as a '>' is missing. Sorry for not noting these issues earlier, as MSVC Broadway builds were recently restored. My bad :| build/win32/vs10/gtk-copy-gdk-broadway.props | 2 +- build/win32/vs10/gtk-install.props | 3 ++- build/win32/vs9/gtk-install.vsprops | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) commit 1c099ec78489ac29a74cfcbdb953f7282652d72b Author: Chun-wei Fan Date: Fri Oct 24 12:23:31 2014 +0800 gtk/deprecated/gtkstatusicon.c: Fix Build on C89 Compilers Declare variable at the top of the block, which is needed from the change in commit 1bad7865. gtk/deprecated/gtkstatusicon.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 183257f9e1442d6053eac0a98396d8407f129667 Author: Emmanuele Bassi Date: Thu Oct 23 17:42:19 2014 +0100 docs: Add replacement example for ImageMenuItem Otherwise we will be doomed to answer the question of how to replace GtkImageMenuItem for all eternity. gtk/deprecated/gtkimagemenuitem.c | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) commit 0144861dca17439ccb241a5c136e2bd885f490d2 Author: Rico Tzschichholz Date: Wed Oct 22 20:37:58 2014 +0200 gdkglcontext-x11: Use epoxy/glx.h rather then GL/glx.h gdk/x11/gdkglcontext-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 86ff51b8427ff43ef681cd4a53b06a0557560064 Author: Rico Tzschichholz Date: Wed Oct 22 20:35:35 2014 +0200 configure: wayland-egl drop version since it is part of mesa not wayland configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 98452efea23cf0cbbbc7670926ce5c68c4d9880c Author: Gábor Kelemen Date: Thu Oct 23 10:50:50 2014 +0000 Updated Hungarian translation po-properties/hu.po | 479 +++++++++++++++++++++++++++------------------------- 1 file changed, 247 insertions(+), 232 deletions(-) commit 1bad7865d306f3bac5a8bb15a74e8961defeba91 Author: Brion Vibber Date: Wed Oct 22 05:36:23 2014 -0700 Fix to gtkstatusicon.c to allow building both X11 and Quartz backends https://bugzilla.gnome.org/show_bug.cgi?id=739005 gtk/deprecated/gtkstatusicon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2893a71a3e4d19c2cb2cc0bcd2a7d4020f00dbe3 Author: Joanmarie Diggs Date: Tue Oct 21 23:15:17 2014 -0400 Implement support for ATK_STATE_HAS_TOOLTIP https://bugzilla.gnome.org/show_bug.cgi?id=738982 gtk/a11y/gtkwidgetaccessible.c | 8 +++++ testsuite/a11y/Makefile.am | 1 + testsuite/a11y/tooltips.txt | 78 ++++++++++++++++++++++++++++++++++++++++++ testsuite/a11y/tooltips.ui | 33 ++++++++++++++++++ 4 files changed, 120 insertions(+) commit 318c97c959335307a2bf213db718c2b50f0f5f61 Author: Matthias Clasen Date: Wed Oct 22 22:49:31 2014 -0400 Fix mispositioned window menu in hi-dpi We always want to send the position in device pixels, so apply the window scale before sending them out. https://bugzilla.gnome.org/show_bug.cgi?id=738955 gdk/x11/gdkwindow-x11.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 35486e7990178a44939a36f882a66c09bcf0ce6a Author: Chun-wei Fan Date: Wed Oct 22 20:03:34 2014 +0800 gdk/broadway/toarray.pl: Fix Code Generation for MSVC The current implementation of this script generate headers with \x-escaped strings that can become too long (> 65535 characters) for Visual Studio to consume, hence the build of broadwayd would break on Visual Studio. This changes the script to instead format the string as an array of hex characters, not unlike what GResource does, so that builds can continue as normal on Visual Studio builds as well. https://bugzilla.gnome.org/show_bug.cgi?id=739001 gdk/broadway/toarray.pl | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 7b6a6c9421b6e4e8aa974f28eaf54a63f3f9c90b Author: Emmanuele Bassi Date: Wed Oct 22 21:20:52 2014 +0100 tests/gtk: Add GdkX11GLContext to the whitelist We cannot create them directly anyway. testsuite/gtk/defaultvalue.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 94644151215ecee76a03f9914851a10fb5a291b1 Author: Emmanuele Bassi Date: Wed Oct 22 21:17:37 2014 +0100 tests/a11y/about: Fix expected text We recently changed the uppercase licensing text to lower case. The reference test that checks the contents of the about dialog has to be fixed to reflect that change. testsuite/a11y/about.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0f26b26f1d93f002ccd5fe6b6fd636172bfbb24b Author: Robert Ancell Date: Tue May 20 10:03:30 2014 +1200 Gdk: add an experimental backend for mir This is disabled by default. Enable with --enable-mir-backend. This backend is a combined work of Robert Ancell and Ryan Lortie. Makefile.am | 6 +- configure.ac | 34 +- docs/reference/gtk/Makefile.am | 1 + docs/reference/gtk/building.sgml | 11 +- docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/mir.xml | 35 ++ docs/reference/gtk/running.sgml | 5 + gdk/Makefile.am | 6 +- gdk/gdkdisplaymanager.c | 7 + gdk/mir/Makefile.am | 39 ++ gdk/mir/gdkmir-debug.c | 293 +++++++++ gdk/mir/gdkmir-private.h | 86 +++ gdk/mir/gdkmir.h | 39 ++ gdk/mir/gdkmircursor.c | 73 +++ gdk/mir/gdkmirdevicemanager.c | 120 ++++ gdk/mir/gdkmirdisplay.c | 572 ++++++++++++++++++ gdk/mir/gdkmireventsource.c | 624 +++++++++++++++++++ gdk/mir/gdkmirkeyboard.c | 173 ++++++ gdk/mir/gdkmirkeymap.c | 466 ++++++++++++++ gdk/mir/gdkmirpointer.c | 250 ++++++++ gdk/mir/gdkmirscreen.c | 720 ++++++++++++++++++++++ gdk/mir/gdkmirwindow.c | 52 ++ gdk/mir/gdkmirwindowimpl.c | 1239 ++++++++++++++++++++++++++++++++++++++ gtk/gtktooltip.c | 16 + 24 files changed, 4861 insertions(+), 7 deletions(-) commit 4e66cca58d3610e08a5309afba243ccdf0f78007 Author: Chun-wei Fan Date: Wed Oct 22 19:40:48 2014 +0800 Visual Studio Builds: Fix broadwayd Build There is now a broadway-buffer.c source that needs to be built for this, so add it into the projects. Since crypt() is no longer used, don't include crypt.c in the builds, and so clean up the projects a bit. build/win32/vs10/broadwayd.vcxproj | 10 +++++----- build/win32/vs10/broadwayd.vcxproj.filters | 2 +- build/win32/vs9/broadwayd.vcproj | 10 +++++----- 3 files changed, 11 insertions(+), 11 deletions(-) commit 911f3fb6d29f1570a2d30db6f2085d0202e7ad2a Author: Matthias Clasen Date: Wed Oct 22 01:18:54 2014 -0400 Drop a reference to gtkthemingengineprivate.h That file does not exist. gtk/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 15845b53cd2cd803333ef367d4f0afc25ebc23ae Author: Matthias Clasen Date: Tue Oct 21 23:05:17 2014 -0400 3.15.0 NEWS | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 106 insertions(+) commit 5ee7445048548e34c88b5237891fe46b057794a9 Author: Matthias Clasen Date: Wed Oct 22 01:11:34 2014 -0400 Add GtkSidebar to the widget gallery docs/reference/gtk/Makefile.am | 1 + docs/reference/gtk/images/sidebar.png | Bin 8465 -> 4140 bytes docs/tools/widgets.c | 36 ++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) commit 247f2c91926e6d090554aac1d0092f044aece790 Author: Matthias Clasen Date: Wed Oct 22 00:55:39 2014 -0400 Add GtkGLArea to the widget gallery docs/reference/gtk/Makefile.am | 1 + docs/reference/gtk/images/glarea.png | Bin 0 -> 5338 bytes docs/reference/gtk/visual_index.xml | 3 +++ docs/tools/Makefile.am | 5 ++++- docs/tools/widgets.c | 20 ++++++++++++++++++++ 5 files changed, 28 insertions(+), 1 deletion(-) commit fc13ff501d7bd02031fcb26562572b8a31b0764d Author: Matthias Clasen Date: Wed Oct 22 00:45:22 2014 -0400 GtkSidebar: Make docs show up gtk/gtksidebar.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit e14c0bb394473f8bbdb7c14f5065c58b9c0d2630 Author: Matthias Clasen Date: Wed Oct 22 00:36:16 2014 -0400 Document gtk_sidebar_get_stack gtk/gtksidebar.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 33851dbe24e4419640a7c1d18264d92d6f9ed9f4 Author: Matthias Clasen Date: Wed Oct 22 00:34:41 2014 -0400 Document gtk_printer_option_set_get_groups gtk/gtkprinteroptionset.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 10f3d330be682e5c58e371305224b68a62a561d6 Author: Matthias Clasen Date: Wed Oct 22 00:10:49 2014 -0400 Fix docs for gtk_settings_set_property_value gtk/gtksettings.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit f73db86a639be50afa456f6e98dfb7156eb73774 Author: Matthias Clasen Date: Wed Oct 22 00:06:53 2014 -0400 Fix docs for gtk_css_provider_load_from_resource gtk/gtkcssprovider.c | 1 - gtk/gtkcssprovider.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) commit 9fb44a3c6751b069b65bf9985922b2485aab5eea Author: Matthias Clasen Date: Wed Oct 22 00:05:09 2014 -0400 Add all sidebar API to the docs docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 3b3a623520dadbdc0b15cb2ba6172a787a9ca65c Author: Matthias Clasen Date: Wed Oct 22 00:03:52 2014 -0400 Add new papersize api to the docs docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkpapersize.c | 2 +- gtk/gtkpapersize.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) commit cc31235d2e5f0e9c090b0cf033772f1168949167 Author: Matthias Clasen Date: Tue Oct 21 23:56:17 2014 -0400 Add a 3.16 index We have new GDK api already. docs/reference/gdk/gdk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 0f309c9dcf36062d82242e98c2ec09fa1dc0330e Author: Matthias Clasen Date: Tue Oct 21 23:46:11 2014 -0400 Skip GdkX11GLContext in some object tests Since it can't be constructed without specifying a GdkWindow, which we don't have here. testsuite/gtk/notify.c | 3 ++- testsuite/gtk/objects-finalize.c | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 6440263ef304877d3d78b24df7d290e06c7d979e Author: Matthias Clasen Date: Tue Oct 21 23:39:05 2014 -0400 GL: Follow naming conventions All the GDK type defines are GDK_TYPE_..., so follow this pattern for the GLContext subclasses as well. gdk/wayland/gdkglcontext-wayland.c | 2 +- gdk/wayland/gdkwaylandglcontext.h | 6 +++--- gdk/x11/gdkglcontext-x11.c | 2 +- gdk/x11/gdkx11glcontext.h | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) commit 7d9677045336ddfdf321cb725ea5ddeda872cf67 Author: Benjamin Otte Date: Wed Oct 22 03:38:20 2014 +0200 cssnodedeclaration: Fix src/dest swap in memmove() The main cause here were the wrong style classes being removed, such as "message-dialog" instead of "csd" for GtkMessageDialog. gtk/gtkcssnodedeclaration.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cf5f6759f0e6b5dfa62dc4c89c72800f0b414e9d Author: Lapo Calamandrei Date: Tue Oct 21 20:35:02 2014 +0200 Adwaita: use -gtk-icon-source: none on paned... ...to get rid of the handle decoration istead of setting a transparent background and abuse a background image for the background color. gtk/resources/theme/Adwaita/_common.scss | 10 ++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 12 insertions(+), 14 deletions(-) commit c2864a81a42b02c3c0aadc91d24680c39178413e Author: Benjamin Otte Date: Tue Oct 21 20:30:20 2014 +0200 modelbutton: Fix up for style context changes - Don't do work anymore that's done in GtkButton - Don't do a save/restore just to set the state, instead set the state in the right places. gtk/gtkmodelbutton.c | 103 ++++++++++++++------------------------------------- 1 file changed, 28 insertions(+), 75 deletions(-) commit 727bdd1929a55e6758f9ad97cd9ce3d96bd57c30 Author: Benjamin Otte Date: Tue Oct 21 20:30:07 2014 +0200 inspector: Add missing directory when scanning for themes gtk/inspector/visual.c | 4 ++++ 1 file changed, 4 insertions(+) commit 298974b9dada0791ef5506120fa0536736e9ceb8 Author: Lapo Calamandrei Date: Tue Oct 21 16:34:42 2014 +0200 Adwaita: colorswatch on selected elements style fix gtk/resources/theme/Adwaita/_common.scss | 10 +++++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 17 insertions(+), 1 deletion(-) commit 01e6811776cf6ad8738f182972edbb84626d7fae Author: Lapo Calamandrei Date: Tue Oct 21 15:36:22 2014 +0200 Adwaita: axes borders of notebooks inside frame This is what the old adwaita did, not having a better solution for removing double borders, better to have this back even if it can be problematic in certain cases. gtk/resources/theme/Adwaita/_common.scss | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) commit 51bfa10eed5dee6a44d24f35506522600deab804 Author: Lapo Calamandrei Date: Tue Oct 21 13:51:22 2014 +0200 Adwaita: properly fix places sidebar Forgot to treat treeview background... Some code refactoring in the process. gtk/resources/theme/Adwaita/_colors.scss | 3 +++ gtk/resources/theme/Adwaita/_common.scss | 24 ++++++++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 ++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 9 ++++++-- 4 files changed, 37 insertions(+), 8 deletions(-) commit d58317728ee023b318204ce999d74a06fcf74e40 Author: Andika Triwidada Date: Tue Oct 21 12:46:13 2014 +0000 Updated Indonesian translation po/id.po | 1367 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 784 insertions(+), 583 deletions(-) commit 6d7f5d443187760798fbb8dc5a50b77ce256c53e Author: Ryan Lortie Date: Mon Oct 20 17:16:22 2014 -0400 wayland: don't init if XDG_RUNTIME_DIR missing wayland doesn't strictly follow the XDG_RUNTIME_DIR spec by falling back to another directory in case the runtime dir is not properly set. When this variable is unset, wayland will log an error to us, which we treat as fatal, aborting the entire program. Skip ourselves all the trouble and don't try to bring up the wayland backend when we know it will fail in this way. https://bugzilla.gnome.org/show_bug.cgi?id=738873 gdk/wayland/gdkdisplay-wayland.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 45288ec40c3705df7ef5332af6066c9b4065a025 Author: Adel Gadllah Date: Tue Oct 21 13:58:28 2014 +0200 gdkglcontext-x11: Fix pixmap creation Always use NPOT textures https://bugzilla.gnome.org/show_bug.cgi?id=738670 gdk/x11/gdkglcontext-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 82753bc72b84dedcb9075c5f9ec404145090f593 Author: Alexander Larsson Date: Tue Oct 21 13:51:24 2014 +0200 x11 glcontext: Always use RGBA texture format, as we use alphas gdk/x11/gdkglcontext-x11.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 01b4720ec825dca96e55a3a61e45f07f54fcd38e Author: Lapo Calamandrei Date: Tue Oct 21 13:25:17 2014 +0200 Adwaita: wide paned separator style ...paned separator decoration fixed in the process. gtk/resources/theme/Adwaita/_common.scss | 35 +++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 25 ++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 25 ++++++++++++---- 3 files changed, 63 insertions(+), 22 deletions(-) commit 4af0379aae15b034719f4ab781fca59341b28ac9 Author: Bastien Nocera Date: Wed Sep 17 18:42:57 2014 +0200 wayland: Don't try to create a subsurface again We already did that inside gdk_wayland_window_create_surface() that's called 2 lines above. https://bugzilla.gnome.org/show_bug.cgi?id=738912 gdk/wayland/gdkwindow-wayland.c | 3 --- 1 file changed, 3 deletions(-) commit d0f4e739999d56778a5bbdce0fd2e88e39e623f8 Author: Bastien Nocera Date: Tue Oct 14 16:47:11 2014 +0200 gtkwidget: Fix typo in comment gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8abc6e06b2c551fe60382b45ba413d5f0d49b9ae Author: Benjamin Otte Date: Tue Oct 21 05:52:05 2014 +0200 css: Add "-gtk-icon-source: builtin" ... and make it the default. This takes over the meaning from "none" for this property in that it draws the fallback builtin image. "none" now literally means no image will be drawn. gtk/Makefile.am | 2 + gtk/gtkcssimagebuiltin.c | 127 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssimagebuiltinprivate.h | 54 +++++++++++++++++ gtk/gtkcssimageprivate.h | 2 +- gtk/gtkcssstylepropertyimpl.c | 15 ++++- gtk/gtkrender.c | 4 ++ gtk/gtkstylecontext.c | 12 +++- 7 files changed, 210 insertions(+), 6 deletions(-) commit 7eb3b6c71f9a79c77ac630e5a25bf07d4ecf8a98 Author: Benjamin Otte Date: Tue Oct 21 05:47:15 2014 +0200 stylecontext: fix icon-source extents computation for the builtin image or invalid matrix case. We used to return invalid memory in those cases. And that was not good. gtk/gtkstylecontext.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 57d24f173a4447788b052b76150b85cb8072a521 Author: Benjamin Otte Date: Tue Oct 21 05:15:37 2014 +0200 render: We use CHECKED now, not ACTIVE Update docs and custom rendering of checkmarks and radio buttons gtk/gtkrender.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 4ed98878c648859d4872f1091f5169ff2f980229 Author: Matthias Clasen Date: Mon Oct 20 22:13:51 2014 -0400 GtkScrolledWindow: Add documentation Document the new overlay scrolling APIs, and add some more documentation for the other touch support: kinetic scrolling and overshoot. docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkscrolledwindow.c | 52 +++++++++++++++++++++++++++++++++--- 2 files changed, 51 insertions(+), 3 deletions(-) commit 5ec56d2e6e450631755e9d283a94194b823e6acf Author: Matthias Clasen Date: Thu Oct 9 17:03:52 2014 -0400 Port the overlayscroll example Make the overlayscroll example use the overlay scrolling that is now built into GtkScrolledWindow, instead of the manual prototype. tests/overlayscroll.c | 304 +++----------------------------------------------- 1 file changed, 13 insertions(+), 291 deletions(-) commit 47ce01116b81bfa81a503d3b7cf24881d2b134f7 Author: Matthias Clasen Date: Wed Oct 8 23:37:29 2014 -0400 Add some overlay scrollbar theming to Adwaita gtk/resources/theme/Adwaita/_common.scss | 22 ++++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 17 +++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 17 +++++++++++++++++ 3 files changed, 56 insertions(+) commit 4455266c5b23be8173b9c93a4cb576f768fb732d Author: Matthias Clasen Date: Wed Oct 8 23:34:32 2014 -0400 GtkScrolledWindow: Add overlay scrollbars This commit adds a mode to GtkScrolledWindow in which it puts narrow, auto-hiding scrollbars over the content, instead of allocating room for the scrollbars outside of the content. We use traditional scrollbars if we find a mouse or if overlay scrolling has explicitly turned off. For test purposes, GTK_TEST_TOUCHSCREEN can be used to get overlay scrolling even in the presence of a mouse. The environment variable GTK_OVERLAY_SCROLLING can also be used to force overlay scrolling on or off. gtk/gtkscrolledwindow.c | 614 ++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkscrolledwindow.h | 18 +- 2 files changed, 603 insertions(+), 29 deletions(-) commit 05ab0f222701d71fc3a96a724d5d9ad34c7c7efe Author: Matthias Clasen Date: Sat Oct 4 23:37:11 2014 -0400 Add an experiment for overlay scrollbars This is just meant as a prototype for how we can show a scroll position indicator for touch. This uses GTK_POLICY_EXTERNAL to hide the scrolled windows scrollbar while still allowing scrolling. tests/Makefile.am | 1 + tests/overlayscroll.c | 376 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 377 insertions(+) commit 1fad6b049bddc2d8dab537f5f61204281232d9d9 Author: Matthias Clasen Date: Sun Oct 5 17:29:32 2014 -0400 GtkRange: Add a style class during dragging This will be used to identify a scrollbar is being dragged - we don't actually need the style class; another way to keep track of the dragging status would be ok too. gtk/gtkrange.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit a3995d8c86e80d39d6044f3f976c9f6deef1fa05 Author: Benjamin Otte Date: Tue Oct 21 02:06:46 2014 +0200 stylecontext: Handle querying the wrong state better When a getter function (like get_color()) is called and the passed in state doesn't match the current state returned via get_state(), we used to do a trick: We called save()/set_state() on the context before getting the values. Unfortunately, since 3a337156d11a86c7a88f1f30a09276fdf6f63008 this has the unfortunate side effect that it also creates a child element. This breaks various old codebases (spinbutton has been fixed in 998feeb2bc3e37275cfe915e128179d2704ca9c8, Webkit is fixed in https://bugs.webkit.org/show_bug.cgi?id=137803 ) unfortunately. So instead, look up the values manually ensuring that no child element is created but the correct state is used. gtk/gtkstylecontext.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit caf709bb81b6e838b6f3a0d28608d2bab6d05669 Author: Benjamin Otte Date: Mon Sep 29 03:15:44 2014 +0200 stylecontext: Return a ref in lookup_values_for_state This will be necessary when we stop caching values for lookups with the "wrong" state. gtk/gtkstylecontext.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) commit cc2f2dd9b8a13c8f8d7c883b72055768ebba512f Author: Benjamin Otte Date: Tue Oct 21 02:29:03 2014 +0200 computedvalues: Add to_string() and print() functions The functions are unused. But they are very convenient to use from a debugger, if you know what I mean... gtk/gtkcsscomputedvalues.c | 41 +++++++++++++++++++++++++++++++++++++++ gtk/gtkcsscomputedvaluesprivate.h | 4 ++++ 2 files changed, 45 insertions(+) commit 4cc4e18d567159c784eb8c668bbbd7d725aeb816 Author: Benjamin Otte Date: Sun Oct 19 21:04:48 2014 +0200 stylecontext: Don't copy CSS values on context_save() Keeping them is a bad idea now where the widget paths are actually changed by a save(). And almost all of the time, state or style classes will be changed anyway. Looking them up again is just a hash table lookup anyway. gtk/gtkstylecontext.c | 6 ------ 1 file changed, 6 deletions(-) commit 57cafc277b5bcc1b5f6a3d4dd62cca8f5f660073 Author: Benjamin Otte Date: Sat Oct 18 06:06:28 2014 +0200 stylecontext: Use node declaration in hash Don't use the StyleInfo anymore. gtk/gtkstylecontext.c | 58 +++++++++++++++++---------------------------------- 1 file changed, 19 insertions(+), 39 deletions(-) commit 5c2c65912200789c3edd9c574d619b65e398ccb2 Author: Benjamin Otte Date: Sat Oct 18 05:45:21 2014 +0200 stylecontext: Split out functionality into custom object GtkCssNodeDeclaration is a new struct with copy-on-write semantics. It encapsulated the properties used to define a node in the CSS tree. The idea is to use it in various places for caching, in particular as key in hash tables. gtk/Makefile.am | 2 + gtk/gtkcssnodedeclaration.c | 528 +++++++++++++++++++++++++++++++++++++ gtk/gtkcssnodedeclarationprivate.h | 67 +++++ gtk/gtkstylecontext.c | 357 ++++--------------------- 4 files changed, 648 insertions(+), 306 deletions(-) commit 4cbc0191cbf9412eb96e25f5e75dfe6516c8ceea Author: Matthias Clasen Date: Mon Oct 20 20:54:31 2014 -0400 widget-factory: Example for edge-overshot For extra fun, make some noise. configure.ac | 10 +++++ demos/widget-factory/Makefile.am | 6 ++- demos/widget-factory/widget-factory.c | 84 +++++++++++++++++++++++++++++++++++ 3 files changed, 98 insertions(+), 2 deletions(-) commit 7b28b1c9ba42d62a65c14934cd3d691a0fb91726 Author: Matthias Clasen Date: Mon Oct 20 18:44:56 2014 -0400 widget-factory: Add a wide-handle example demos/widget-factory/widget-factory.ui | 58 ++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) commit aebb38fad8f0f0e8536301c267bc691a4d090efa Author: Andika Triwidada Date: Mon Oct 20 18:44:26 2014 +0000 Updated Indonesian translation po-properties/id.po | 1163 +++++++++++++++++++++++++++------------------------ 1 file changed, 614 insertions(+), 549 deletions(-) commit ca9d15df92027ebc034dd9053ad2917e0ead20d5 Author: Carlos Garnacho Date: Sun Oct 12 14:29:24 2014 +0200 scrolledwindow: Add ::edge-overshot signal This signal is emitted whenever user scrolling hits the overshoot edge in the given direction. May be useful to add "reload" or "load more" behaviors in apps. https://bugzilla.gnome.org/show_bug.cgi?id=738534 gtk/gtkscrolledwindow.c | 59 ++++++++++++++++++++-- tests/Makefile.am | 2 + tests/testscrolledge.c | 129 ++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 187 insertions(+), 3 deletions(-) commit c84f544fc382c8b806633c9a272329e6dbc7d88d Author: Lapo Calamandrei Date: Mon Oct 20 15:22:42 2014 +0200 Adwaita: GtkPlacesSidebar treeview text color fix With my latest changes we have a darker text color for views and entries (which I assume are content), the places sidebar is totally chrome though so it needs the chrome text color back. gtk/resources/theme/Adwaita/_common.scss | 16 ++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 62 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 62 +++++++++++----------- 3 files changed, 77 insertions(+), 63 deletions(-) commit 84776a95f72293a2531555682020a2d519f8da51 Author: Daniel Mustieles Date: Mon Oct 20 15:08:33 2014 +0200 Updated Spanish translation po-properties/es.po | 924 ++++++++++++++++++++++++++++------------------------ 1 file changed, 493 insertions(+), 431 deletions(-) commit 173a3a9eb8e52774933d68733fe712d21806369b Author: Daniel Mustieles Date: Mon Oct 20 15:01:35 2014 +0200 Updated Spanish translation po/es.po | 1570 ++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1006 insertions(+), 564 deletions(-) commit cf0c9eb15893b354e40e1e5f9cf31fb926e98b9b Author: Matthias Clasen Date: Mon Oct 20 07:32:42 2014 -0400 GtkPaned: Add a "wide-handle" property This can be used by applications to indicate that a paned is expected to be actively used by the users for configuring the UI, and needs a prominent handle. https://bugzilla.gnome.org/show_bug.cgi?id=738860 docs/reference/gtk/gtk3-sections.txt | 3 ++ gtk/gtkpaned.c | 82 +++++++++++++++++++++++++++++++++++- gtk/gtkpaned.h | 6 +++ gtk/gtkstylecontext.h | 10 +++++ 4 files changed, 100 insertions(+), 1 deletion(-) commit 23f6ff3cec19473146c2682bd0b358b2f340c7ff Author: Matthias Clasen Date: Sun Oct 19 23:30:49 2014 -0400 Add GtkGLArea fully to docs It was missing from the type list. docs/reference/gtk/gtk3.types.in | 1 + 1 file changed, 1 insertion(+) commit d7b64c63e0d4205b122eae5086cac71b77756ace Author: Matthias Clasen Date: Sun Oct 19 23:28:34 2014 -0400 Improve tooltip-text/markup docs Clarify priorities between the two, https://bugzilla.gnome.org/show_bug.cgi?id=681185 gtk/gtkwidget.c | 6 ++++++ 1 file changed, 6 insertions(+) commit a8f42691574342a277eb645b69c0dbb9b01f2d69 Author: Matthias Clasen Date: Sun Oct 19 23:16:06 2014 -0400 GtkAboutDialog: Don't shout Don't use all-caps in the UI - it looks scary. https://bugzilla.gnome.org/show_bug.cgi?id=671138 gtk/gtkaboutdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3ef5d6fd2df64614ca9e4ce7183bcfb48e4e0eb Author: Matthias Clasen Date: Sun Oct 19 22:51:21 2014 -0400 GtkTooltip: Move nonexported API to a private header This is our standard practice nowadays. gtk/Makefile.am | 1 + gtk/gtkdnd.c | 2 +- gtk/gtkmain.c | 2 +- gtk/gtktooltip.c | 1 + gtk/gtktooltip.h | 12 ------------ gtk/gtktooltipprivate.h | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwidget.c | 2 +- 7 files changed, 54 insertions(+), 15 deletions(-) commit 3f5d4623051e8c499730880ab6c80d120aec9f44 Author: Matthias Clasen Date: Sun Oct 19 22:42:49 2014 -0400 GtkToggleButton: Move nonexported API to a private header This is our standard practice nowadays. gtk/Makefile.am | 1 + gtk/gtkradiobutton.c | 1 + gtk/gtktogglebutton.c | 1 + gtk/gtktogglebutton.h | 3 --- gtk/gtktogglebuttonprivate.h | 40 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 43 insertions(+), 3 deletions(-) commit ce915dc6f0bed10035c6537c1fe2f61519af028c Author: Matthias Clasen Date: Sun Oct 19 22:33:24 2014 -0400 Deprecate gtk_settings_install_property APIs These are not useful outside GTK+. gtk/gtksettings.c | 8 ++++++++ gtk/gtksettings.h | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) commit 88895657358a9ae9d5cd67551f566bd754187920 Author: Matthias Clasen Date: Sun Oct 19 22:07:19 2014 -0400 GtkSpinButton: Simplify code No need to explicitly specify a parser function, it will be correctly guessed from the property type. gtk/gtkspinbutton.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit f5d96445919d659ec0c88aea541b6b79c76f4971 Author: Matthias Clasen Date: Sun Oct 19 22:06:37 2014 -0400 GtkMenuItem: Simplify code No need to explicitly specify a parser function, it will be correctly guessed from the property type. gtk/gtkmenuitem.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 4f5db65a064bb4ba7bb0f57e8f4c953411d0b1b3 Author: Matthias Clasen Date: Sun Oct 19 21:22:02 2014 -0400 Deprecate some GtkSettings api The gtk_settings_set_...property functions don't really add anything over g_object_set(), and we never documented them. gtk/gtksettings.c | 44 +++++++++++++++++++++++++++++++++++++++++--- gtk/gtksettings.h | 8 ++++---- 2 files changed, 45 insertions(+), 7 deletions(-) commit c8a6b8786abedb5e16fdd978f982c876e8074e6e Author: Matthias Clasen Date: Sun Oct 19 20:47:05 2014 -0400 Clarify GtkSettings documentation Just recommend g_object_set to override settings. The gtk_settings_set_..._property functions don't really add any value. gtk/gtksettings.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 0b0c6a6477bae9c3125aeb682e2d16395f539e5a Author: Matthias Clasen Date: Sun Oct 19 20:03:58 2014 -0400 testfilechooser: Test the preview again There is code in there to show a preview, use it. tests/testfilechooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d3aa9df87694a9d655da676329cb56444af10e32 Author: Matthias Clasen Date: Sun Oct 19 20:03:42 2014 -0400 Forgotten file gtk/resources/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit f678e48a08a376cbed060b52cd9746febf44c6cc Author: Matthias Clasen Date: Sun Oct 19 17:54:28 2014 -0400 GtkFileChooser: Make preview update more understandable Implement Federico's suggestion: In single-selection mode, just use the selected row, In multi-selection mode, use the cursor row as long as it is in the selection. https://bugzilla.gnome.org/show_bug.cgi?id=154709 gtk/gtkfilechooserwidget.c | 45 ++++++++++++++++++++++++++++++++++++++------- 1 file changed, 38 insertions(+), 7 deletions(-) commit 38b315d0be0e2d4424cf590780478dc2ed32944c Author: Matthias Clasen Date: Sat Oct 18 22:12:54 2014 -0400 Add a a drop-in test for the GtkBuilder parser testsuite/gtk/Makefile.am | 15 ++++- testsuite/gtk/builderparser.c | 143 ++++++++++++++++++++++++++++++++++++++++ testsuite/gtk/ui/test1.expected | 2 + testsuite/gtk/ui/test1.ui | 5 ++ testsuite/gtk/ui/test2.expected | 2 + testsuite/gtk/ui/test2.ui | 5 ++ testsuite/gtk/ui/test3.expected | 2 + testsuite/gtk/ui/test3.ui | 5 ++ testsuite/gtk/ui/test4.expected | 2 + testsuite/gtk/ui/test4.ui | 5 ++ 10 files changed, 185 insertions(+), 1 deletion(-) commit 74ba42a026a4ebdf9d6e088794f6a4f0afbf2ca4 Author: Piotr Drąg Date: Sat Oct 18 23:45:21 2014 +0200 Updated Polish translation po-properties/pl.po | 117 ++++++++++++++------------- po/pl.po | 223 ++++++++++++++++++++++++++-------------------------- 2 files changed, 176 insertions(+), 164 deletions(-) commit a6ae8f6d96385eeedd654718d6cb634ae584a16b Author: Thomas Lange Date: Sat Oct 18 22:53:03 2014 +0200 aboutdialog: Mark strings as translatable https://bugzilla.gnome.org/show_bug.cgi?id=730893 gtk/gtkaboutdialog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 55dddbc54a5f7f712334f2d6ba69c8d1938386f5 Author: Sébastien Wilmet Date: Sat Oct 18 18:51:56 2014 +0200 docs: add missing symbol in GtkTextView docs/reference/gtk/Makefile.am | 1 + docs/reference/gtk/gtk3-sections.txt | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) commit 2e68e4fc09213801d1d43ecfadbe9475816b3889 Author: Sébastien Wilmet Date: Sat Oct 18 14:47:10 2014 +0200 docs: documentation for GtkTextBufferClass It'll most probably be more useful in the near future. docs/reference/gtk/gtk3-sections.txt | 3 +- gtk/gtktextbuffer.h | 94 +++++++++++++++++++++--------------- 2 files changed, 58 insertions(+), 39 deletions(-) commit 0f4bf3d8a0f2c5b10a8517a1c3695a03b984f3a4 Author: Matthias Clasen Date: Sat Oct 18 13:19:21 2014 -0400 Fix the build docs/reference/gtk/building.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f7ede4edca19fe112712aeb2551b88b672fbecc7 Author: Matthias Clasen Date: Sat Oct 18 12:53:30 2014 -0400 Fix a few typos gtk/resources/theme/Adwaita/_colors-public.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c5c21bb1cfa27c6058f68360a761caab62b7e0fc Author: Matthias Clasen Date: Sat Oct 18 12:42:29 2014 -0400 GtkWindow: Add a getter for the custom titlebar This is needed for the glade integration of CSD windows. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkwindow.c | 25 +++++++++++++++++++++++++ gtk/gtkwindow.h | 2 ++ 3 files changed, 28 insertions(+) commit 57751fa391fce8b9f208c41260e8968dd4cdc800 Author: Matthias Clasen Date: Sat Oct 18 12:40:18 2014 -0400 Work around a pkg-config bug It doesn't report -I${prefix}/include in cflags, even if .pc files explicitly put it there. This was breaking the build outside of a jhbuild shell when libepoxy is in the jhbuild tree but not in /usr. configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 50e73dc6c7d36df0cb16f806daef2646e43b7bfc Author: Matthias Clasen Date: Sat Oct 18 12:28:42 2014 -0400 Some documentation updates Mention libepoxy in various places as a new dependency, and also mention Wayland in the build documentation. INSTALL.in | 6 +++++- README.in | 6 ++++++ docs/reference/gtk/building.sgml | 15 ++++++++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) commit 213274c128bfa8b040c8b07f09aed60584d0f975 Author: Lapo Calamandrei Date: Sat Oct 18 18:02:20 2014 +0200 Adwaita: darken a tiny bit more bright variant background color gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 062f450709c4b365fc76d82bbed7fec6048ea134 Author: Lapo Calamandrei Date: Sat Oct 18 16:57:39 2014 +0200 Adwaita: add back text color. See https://bugzilla.gnome.org/show_bug.cgi?id=726316 for details. gtk/resources/theme/Adwaita/_colors-public.scss | 43 ++++++----- gtk/resources/theme/Adwaita/_colors.scss | 31 ++++---- gtk/resources/theme/Adwaita/_common.scss | 20 +++-- gtk/resources/theme/Adwaita/_drawing.scss | 3 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 32 ++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 88 +++++++++++++--------- 6 files changed, 133 insertions(+), 84 deletions(-) commit 9ea894a56dba6039a3740867a3ab68f441470ab8 Author: Lapo Calamandrei Date: Sat Oct 18 16:29:19 2014 +0200 Adwaita: comment exported colors gtk/resources/theme/Adwaita/_colors-public.scss | 52 +++++++++++++++++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 39 +++++++++++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 39 +++++++++++++++- 3 files changed, 127 insertions(+), 3 deletions(-) commit e9a0e243f547879e6ea9e9a2349bc3fd0eb53d6e Author: Baurzhan Muftakhidinov Date: Sat Oct 18 00:36:19 2014 +0000 Updated Kazakh translation po/kk.po | 2886 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1802 insertions(+), 1084 deletions(-) commit cfaec2d2f542fc55947241765ac1f27e0c7b25e1 Author: Carlos Garnacho Date: Fri Oct 17 21:12:44 2014 +0200 gtkgesturesingle: Unset button/sequence if parent handle_event failed There are legit reasons for GtkGesture::handle_event to return FALSE, GtkGestureSingle objects should be unsetting the current button/sequence if that happens, in order to avoid inconsistent states. https://bugzilla.gnome.org/show_bug.cgi?id=738591 gtk/gtkgesturesingle.c | 7 +++++++ 1 file changed, 7 insertions(+) commit e46d23d8193ddbf15482a2ed3fccbed762ba66ce Author: Lapo Calamandrei Date: Fri Oct 17 20:36:25 2014 +0200 Adwaita: darkened a tiny bit bright variant background Trying to differentiate a bit more the focused window from the backdrop ones. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9dab00310d1d9552c94f34a666cb1a593ec98ae8 Author: Lapo Calamandrei Date: Fri Oct 17 20:09:17 2014 +0200 Adwaita: use $backdrop_fg_color where it should .background:backdrop was not using that one so some labels didn't look right in backdrop. gtk/resources/theme/Adwaita/_common.scss | 11 +++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 +++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 11 +++++------ 3 files changed, 15 insertions(+), 18 deletions(-) commit c044220f6236a7b2b7c8edf28e7e97d47a52ba4f Author: Lapo Calamandrei Date: Fri Oct 17 20:03:17 2014 +0200 Adwaita: dimmed backdrop foreground color To make focused window more evident. gtk/resources/theme/Adwaita/_colors.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 76 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 70 ++++++++++---------- 3 files changed, 74 insertions(+), 74 deletions(-) commit 8821d488c52ca0d571fc76c8160f181c6aa43f41 Author: Matthias Clasen Date: Fri Oct 17 13:59:39 2014 -0400 GtkWindow: Avoid an early exit When gtk_window_set_titlebar (win, NULL) is called, we were taking an early exit and forgot to re-map the window. This does not normally happen in practice, but glade is about to get a 'csd' switch which lets one toggle back and forth between titlebar and no titlebar. gtk/gtkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1a1c30adfa55f145c0a96d81cd19fb1bb8e009ca Author: Matthias Clasen Date: Thu Oct 16 21:48:11 2014 -0400 GtkEntry: plug a small memleak GtkEntry was leaking a pango attribute list, if one was set. gtk/gtkentry.c | 3 +++ 1 file changed, 3 insertions(+) commit ed25153f2dfc4e406b0da98c21ceeb451e96f66d Author: Lapo Calamandrei Date: Thu Oct 16 20:04:04 2014 +0200 Adwaita: fix stack-switcher button outline offset See https://bugzilla.gnome.org/show_bug.cgi?id=738636 gtk/resources/theme/Adwaita/_common.scss | 3 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 42 ++++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 42 ++++++++++++---------- 3 files changed, 49 insertions(+), 38 deletions(-) commit 998feeb2bc3e37275cfe915e128179d2704ca9c8 Author: Benjamin Otte Date: Thu Oct 16 17:00:20 2014 +0200 spinbutton: Set the correct state on the button contexts With the recent save-is-child changes, using gtk_style_context_get_padding (context, different_state) will now open a subelement. This is not what we want, so we check the state whenever we get the button contexts. gtk/gtkspinbutton.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit a4a38dff0d9439ba190741112b99877be4a32207 Author: Marek Kasik Date: Thu Oct 16 14:55:30 2014 +0200 Get media-col-default attribute correctly Fix a typo which caused that "number-up-supported" and "media-col-default" IPP attributes were not requested correctly. https://bugzilla.gnome.org/show_bug.cgi?id=725441 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d644b2260f83d079e1b98cfb71d5189d2e866618 Author: Lapo Calamandrei Date: Thu Oct 16 14:36:23 2014 +0200 Adwaita: ease-out-quad in place of ease-out Generally changed the transition timing function to ease-out-quad which is described by cubic-bezier(0.25, 0.46, 0.45, 0.94), feels better to me. gtk/resources/theme/Adwaita/_common.scss | 10 ++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 +++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 10 +++++----- 3 files changed, 16 insertions(+), 14 deletions(-) commit 111f72e891a0132d4a864f66d9cd343e92f9a12e Author: Lapo Calamandrei Date: Thu Oct 16 14:22:20 2014 +0200 Adwaita: list row hover color Now it's based of fg color, so the list row gets darker on the bright variant and brighter on the dark variant, similarly to what we do for spinbutton buttons. gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 52e91f1f74ecb943d5068b4f884af1d1c8dc945e Author: Lapo Calamandrei Date: Thu Oct 16 14:12:13 2014 +0200 Adwaita: tweak list row transition Thanks to Carlos Soriano expertise. gtk/resources/theme/Adwaita/_common.scss | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 +++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 9 +++++++++ 3 files changed, 25 insertions(+) commit 142368f0954e01f60aadb4ba620488fe83ccb68a Author: Alexander Larsson Date: Thu Oct 16 12:58:43 2014 +0200 X11: Fix crash in gdk_x11_gl_context_texture_from_surface We need to look at the impl_window for the gl rendering, not the subwindow we're rendering into. gdk/x11/gdkglcontext-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e961001afbf0dd46b10d85f74736c8b7e5ae9a3 Author: Lapo Calamandrei Date: Thu Oct 16 12:46:58 2014 +0200 Adwaita: avoid border clash on transitioning adiacent flat buttons Flat buttons gets the button decoration on hover, while transitioning the decorations of adiacent flat buttons are both shown (one fading in and the other fading out) so the borders clashes, since normally there's no spacing between them, to avoid it the transition on the normal state is set to none and added back to the hover state, so the decoration won't fade out. To make the transition more evident the duration is increased. gtk/resources/theme/Adwaita/_common.scss | 19 +++++++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 20 +++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 20 +++++++++++++++----- 3 files changed, 47 insertions(+), 12 deletions(-) commit f3f0fc6bb2790247ff066d4b3cee822d4774a27f Author: Matthias Clasen Date: Wed Oct 15 21:53:53 2014 -0400 widget-factory: Add a missing scrolled window demos/widget-factory/widget-factory.ui | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 2e093eafbfe80d0559575f6f5e0414ae61ee1bbf Author: Matthias Clasen Date: Wed Oct 15 21:42:12 2014 -0400 widget-factory: Add some vertical examples This adds both a vertical toolbar and vertically linked buttons. demos/widget-factory/widget-factory.c | 100 +++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 142 ++++++++++++++++++++++++++++++++- 2 files changed, 238 insertions(+), 4 deletions(-) commit 44c8df62f2ca1c0aadc5f969b2236971a9c33962 Author: Benjamin Otte Date: Thu Oct 16 03:31:30 2014 +0200 glarea: Display the error message when an error occurred Simply center a PangoLayout with the message text. gtk/gtkglarea.c | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) commit 672a67d0af850623bb154ef32d40b0b28531b5aa Author: Benjamin Otte Date: Thu Oct 16 03:13:45 2014 +0200 gdk: Add GDK_DEBUG=nogl This is mostly useful for fallback testing. I suppose if people want finer grained GL ability testing, they can use Mesa environment variables to tune things. docs/reference/gtk/running.sgml | 4 ++++ gdk/gdk.c | 1 + gdk/gdkinternals.h | 3 ++- gdk/gdkwindow.c | 8 ++++++++ 4 files changed, 15 insertions(+), 1 deletion(-) commit 8a7bd5cc001e86c45d4b187c6ebbd26c1bdef406 Author: Lapo Calamandrei Date: Wed Oct 15 20:41:19 2014 +0200 Adwaita: color treeview tree/grid lines Tree lines are visible now, unfortunatelly grid lines do not react to selected state so they are way too bright. gtk/resources/theme/Adwaita/_common.scss | 16 +++++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 +++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 9 +++++++-- 3 files changed, 25 insertions(+), 9 deletions(-) commit 4f2feb97c29a6dc436f305497992b1e5a48ec584 Author: Matthias Clasen Date: Wed Oct 15 14:41:42 2014 -0400 Avoid deprecation warnings We don't really care if we use deprecated API inside deprecated code, so just ignore the warning. gtk/deprecated/gtktrayicon-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit 15af0e789be3ee7fb9729ec3aff45681002d7341 Author: Matthias Clasen Date: Wed Oct 15 14:37:25 2014 -0400 Revert "gtktrayicon-x11: Stop using set_double_buffered" This reverts commit 4a72563c7b801052f4291a4757bd1011946677b9. It turns out that this commit broke statusicons under Xfce when not using a compositor. https://bugzilla.gnome.org/show_bug.cgi?id=737986 gtk/deprecated/gtktrayicon-x11.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit bcbec384da5c0974680b665b2c503c83d6454677 Author: Lapo Calamandrei Date: Wed Oct 15 19:49:13 2014 +0200 Adwaita: fix colorchooser styling after latest gtk changes ...commenting stuff pretty accuratelly in the process, since the widget is quite unobvious to figure out. gtk/resources/theme/Adwaita/_common.scss | 15 ++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 15 ++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 15 ++++++++++++--- 3 files changed, 36 insertions(+), 9 deletions(-) commit 2c04c5f08baa1d8594d4567599d7f191a99c29b0 Author: Benjamin Otte Date: Wed Oct 15 17:18:26 2014 +0200 scrolledwindow: Don't set .frame on overshoot boxes gtk/gtkscrolledwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 3a337156d11a86c7a88f1f30a09276fdf6f63008 Author: Benjamin Otte Date: Sun Oct 12 23:43:48 2014 +0200 stylecontext: Make save/restore create a child CSS node This is a change for how CSS is applied. Previously, subelements (I'll take GtkEntry icons as an example) were treated as having the same parent as the regular elements. So a selector such as .entry would match an entry inside a window. But it'd also match the icon image inside the entry. So CSS like .entry { padding: 10px; } would add 10px of padding to both the entry itself and to the icon image inside the entry, so the icon would effective have 20px padding. To get around that, one would have to unset it again like so: .entry { padding: 10px; } .entry.image { padding: unset; } This is getting more and more of a problem as we make subelements respect more properties that aren't inherited by default anyway, like backgrounds and padding/margin/border. This patch has one caveat though: It makes calling gtk_style_context_save() the first time have an important side effect. It's important to audit code to make sure it is only used for subelements. And last but not least, this patch is only useful if code unsets parent's style classes that it doesn't want to apply any longer. Because style classes are inherited by default (and I don't think we want to change that), the example will still apply until the subelements no longer contain the .entry style class. gtk/gtkstylecontext.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 98438375934a0e73a6b5c2116696e8ca53b56a58 Author: Benjamin Otte Date: Sun Oct 12 23:38:04 2014 +0200 stylecontext: Move next pointer out of GtkStyleInfo Instead, keep a GSList in the style context. gtk/gtkstylecontext.c | 45 +++++++++++++++++++++++---------------------- 1 file changed, 23 insertions(+), 22 deletions(-) commit c38095faed24bd168916a720ade9071a629e5b34 Author: Benjamin Otte Date: Sat Oct 11 20:02:27 2014 +0200 stylecontext: Don't cache the root values Those are the ones that are special and get animated. Caching them only causes confusion. gtk/gtkstylecontext.c | 40 +++++++++++++++++++++------------------- 1 file changed, 21 insertions(+), 19 deletions(-) commit 0d380f43d62a22e788827310e7db6990deba51dc Author: Benjamin Otte Date: Sat Oct 11 02:41:15 2014 +0200 stylecontext: Factor out a function gtk/gtkstylecontext.c | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) commit 103e11c9372c1fbdb6bd8311b7b7f2ee9981ccf8 Author: Carlos Garnacho Date: Sun Oct 12 13:22:43 2014 +0200 scrolledwindow: Allow overshooting on scroll events The overshoot visual notification is probably also nice to have in this context. https://bugzilla.gnome.org/show_bug.cgi?id=738533 gtk/gtkscrolledwindow.c | 62 ++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 48 insertions(+), 14 deletions(-) commit 582adcab1ad0b03a39c1da423a27e7d1b903d7ec Author: Lars Uebernickel Date: Wed Oct 15 16:15:35 2014 +0200 Add GDK_DEP_LIBS to demos and tests Some of them depend on libepoxy now. demos/gtk-demo/Makefile.am | 1 + tests/Makefile.am | 1 + 2 files changed, 2 insertions(+) commit c26b2c920935d59cc72e562821eabe0cd22c4921 Author: Matthias Clasen Date: Tue Oct 14 23:59:51 2014 -0400 GtkPlacesSidebar: Don't leak an icon Found in valgrind. gtk/gtkplacessidebar.c | 1 + 1 file changed, 1 insertion(+) commit 2eacaf2dd2e2ea23f5a842684b26a5446aece527 Author: Matthias Clasen Date: Tue Oct 14 23:59:25 2014 -0400 GtkFontChooserWidget: Plug several memleaks These were showing up in valgrind. gtk/gtkfontchooserwidget.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit ef62a872f5f80e179f328f049ed4c9b023784eec Author: Matthias Clasen Date: Tue Oct 14 23:58:37 2014 -0400 GtkContainerAccessible: avoid resurrecting accessibles When removing a child, we don't want to resurrect its accessible needlessly. gtk/a11y/gtkcontaineraccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f99cbdf49f9f3277e44aba6ea83bd9262a132ebf Author: Matthias Clasen Date: Tue Oct 14 22:46:26 2014 -0400 Plug a memory leak We were leaking cairo regions every time we draw. gdk/gdkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit ccf6507f6a1380ef1902dfbc4da3836580aea83f Author: Benjamin Otte Date: Wed Oct 15 02:08:02 2014 +0200 render: Fix uninitialized variables Refactoring for performance in 39097ea2da79fa1ce79fb291dc5588260e992a5f caused border_width to be uninitialized when rendering border images. https://bugzilla.gnome.org/show_bug.cgi?id=738483 gtk/gtkrender.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit c184bd46758a49f1a6453966cd4428a00a55f785 Author: Carlos Garnacho Date: Sun Oct 12 14:01:03 2014 +0200 scrolledwindow: Simplify _gtk_scrolled_window_set_adjustment_value() The two boolean arguments always received the same values, so wipe these out. Likewise, the boolean return value is unused and sort of meaningless. gtk/gtkscrolledwindow.c | 44 ++++++++++++-------------------------------- 1 file changed, 12 insertions(+), 32 deletions(-) commit 1ae5c2a138546d12d2782b4175c1e4e69296defa Author: Carlos Garnacho Date: Tue Oct 14 15:30:34 2014 +0200 window: unset menubar before unsetting focus on dispose() If the menubar has an app-menu popover, and it is shown at the time of disposing the window, it will attempt to transfer focus back to the previous focus widget when undoing modality, even though the dispose() code already did set_focus(NULL) previously. At the time the popover is removed, there aren't many hints as to whether the toplevel or the focus widget are being destroyed (ie. not still under in_destruction), so just swap the order of these two calls. For every other popover, this would all happen within dispose/destroy, which is handled better. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0040acefc2f5b7a8f781192654b28b021467e88 Author: Benjamin Otte Date: Tue Oct 14 14:33:08 2014 +0200 tests: Make gtkgears compile without complaints tests/gtkgears.c | 2 +- tests/gtkgears.h | 14 +++++++++----- 2 files changed, 10 insertions(+), 6 deletions(-) commit f5da87dde8829b37db8ca7298168515da4809e66 Author: Benjamin Otte Date: Tue Oct 14 14:32:57 2014 +0200 inspector: Add missing files gtk/inspector/cellrenderergraph.c | 283 ++++++++++++++++++++++++++++++++++++++ gtk/inspector/cellrenderergraph.h | 62 +++++++++ gtk/inspector/graphdata.c | 173 +++++++++++++++++++++++ gtk/inspector/graphdata.h | 71 ++++++++++ 4 files changed, 589 insertions(+) commit eaa872f6c303ad9a997b376eb99804f4b1af1b67 Author: Benjamin Otte Date: Tue Oct 14 14:01:42 2014 +0200 inspector: Replace reload with record and when pressed, record instance counts at 1fps. gtk/inspector/statistics.c | 32 +++++++++++++++++++++++++++----- gtk/inspector/statistics.ui | 8 ++++---- gtk/inspector/statistics.ui.h | 4 +++- 3 files changed, 34 insertions(+), 10 deletions(-) commit 43ad7c9714b1be81d74289845dddbfdaf6242ba2 Author: Benjamin Otte Date: Tue Oct 14 13:51:09 2014 +0200 inspector: Add a graph cell renderer ... and use it to display graphs for how object counts changed. gtk/inspector/Makefile.am | 2 ++ gtk/inspector/init.c | 2 ++ gtk/inspector/statistics.ui | 34 ++++++++++++++++++++++++++++++++++ gtk/inspector/statistics.ui.h | 2 ++ 4 files changed, 40 insertions(+) commit 0a6755b57c29266472bcc0774adca0c8970e55bd Author: Benjamin Otte Date: Tue Oct 14 12:59:18 2014 +0200 inspector: Add a GraphData object for recording data This way we can keep more data than just the 2 last values. gtk/inspector/Makefile.am | 2 ++ gtk/inspector/init.c | 2 ++ gtk/inspector/statistics.c | 42 ++++++++++++++++++++++++++++-------------- gtk/inspector/statistics.ui | 2 ++ 4 files changed, 34 insertions(+), 14 deletions(-) commit 14e028341385cfe10bb445a7f3a1d4d7a11e143c Author: Benjamin Otte Date: Mon Oct 13 10:20:29 2014 +0200 inspector: Kepp tree iter in type data This way we don't have to clear/refill the model every time but can keep the existing model and only update the values. A nice side benefit is that running an update keeps the current selection. gtk/inspector/statistics.c | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) commit e36bfb45cdcb65b32cafc856d13f1cb12c79a05f Author: Benjamin Otte Date: Mon Oct 13 10:19:34 2014 +0200 inspector: Make all statistics columns visible always gtk/inspector/statistics.c | 14 -------------- gtk/inspector/statistics.ui | 8 ++++---- 2 files changed, 4 insertions(+), 18 deletions(-) commit 8d06b84670705d7ee0301e73c3185f6299af6e48 Author: Benjamin Otte Date: Mon Oct 13 10:09:48 2014 +0200 inspector: Update all statistics in same place gtk/inspector/statistics.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit d123ea579f6c27b2155f1979e7c0a2da84a2423a Author: Benjamin Otte Date: Mon Oct 13 06:09:35 2014 +0200 inspector: increase type by right amount It's a shift, so we better shift it! gtk/inspector/statistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 525676435d7f9cdec59224edef1a4040304ed477 Author: Benjamin Otte Date: Mon Oct 13 06:01:51 2014 +0200 inspector: Add type column to statistics Rename old type column to "type name" gtk/inspector/statistics.c | 4 +++- gtk/inspector/statistics.ui | 13 +++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) commit db8cdd639295b2bb24287df702b4ae6dbe7c976f Author: Benjamin Otte Date: Mon Oct 13 05:30:33 2014 +0200 inspector: Split out a function gtk/inspector/statistics.c | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) commit 44539d98e96ffc131e618d73dd9b420040b018d1 Author: Piotr Drąg Date: Mon Oct 13 20:21:09 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 4 ++++ po/POTFILES.in | 4 ++++ 2 files changed, 8 insertions(+) commit b4a288a5927bf4fc1f1647399d218a577b0ecd09 Author: Matthias Clasen Date: Mon Oct 13 12:44:02 2014 -0400 GtkBox: Ensure we only allow one center child Glade was happily adding multiple center widgets. Oops. gtk/gtkbox.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 0939857e70fa2c72f1e6599cd274c197596487fa Author: Matthias Clasen Date: Sun Oct 12 00:14:56 2014 -0400 Add GdkGLProfile and GdkGLError to the docs docs/reference/gdk/gdk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 7de9995f7de29ab6a6624e248f1564db313f3308 Author: Matthias Clasen Date: Sun Oct 12 00:12:48 2014 -0400 Pedantic formatting fix gdk/gdkwindow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e7c16a5e82293c3487eb5a2de62812b3b45065f4 Author: Matthias Clasen Date: Sat Oct 11 23:55:53 2014 -0400 Drop a reference to GtkGLArea::create-context The signal no longer exists. gtk/gtkglarea.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 98904b8910500b397f84516a0f06a41562253eb7 Author: Matthias Clasen Date: Sat Oct 11 23:35:52 2014 -0400 Nitpicky documentation changes gdk/gdkglcontext.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit e5e9d871710a10b6584e07c9225386e33c00d482 Author: Matthias Clasen Date: Sat Oct 11 23:32:19 2014 -0400 Nitpicky documentation fixes gtk/gtkglarea.c | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) commit 417e0894e7157c33e60350f5e53550af60f634ec Author: Matthias Clasen Date: Sat Oct 11 23:20:53 2014 -0400 Correct another Since tag gdk/wayland/gdkwaylandglcontext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 706a7064a04d087cc57f10db7edfb90ecb836b13 Author: Matthias Clasen Date: Sat Oct 11 23:17:34 2014 -0400 Trivial formatting fixes gdk/gdkgl.c | 11 +++++++---- gdk/gdkglcontext.c | 18 ++++++++++-------- gdk/x11/gdkglcontext-x11.c | 6 +++--- gdk/x11/gdkx11glcontext.h | 4 ++-- 4 files changed, 22 insertions(+), 17 deletions(-) commit a74c5a1f394a7d40f8bed9bb777e85dd02e91aa8 Author: Matthias Clasen Date: Sat Oct 11 23:04:40 2014 -0400 Correct copyright year gdk/gdkgl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a80c3b0045230773de9bfa825fe989929a7ca14 Author: Matthias Clasen Date: Sat Oct 11 22:54:49 2014 -0400 Correct Since tags gdk/gdkwindow.c | 22 ++++++++++++---------- gdk/gdkwindow.h | 2 +- 2 files changed, 13 insertions(+), 11 deletions(-) commit fdeb4f8c164bcdc1b54ed46f9e5b7185694ff623 Author: Alexander Larsson Date: Thu Oct 9 17:24:21 2014 +0200 gl: Make gdk_gl_context_make_current() return void Its not really reasonable to handle failures to make_current, it basically only happens if you pass invalid arguments to it, and thats not something we trap on similar things on the X drawing side. If GL is not supported that should be handled by the context creation failing, and anything going wrong after that is essentially a critical (or an async X error). gdk/gdkdisplay.c | 8 +++----- gdk/gdkdisplayprivate.h | 4 ++-- gdk/gdkgl.c | 3 +-- gdk/gdkglcontext.c | 8 +++----- gdk/gdkglcontext.h | 2 +- gdk/gdkwindow.c | 6 +++--- gdk/wayland/gdkglcontext-wayland.c | 28 +++++++++++++--------------- gdk/wayland/gdkglcontext-wayland.h | 2 +- gdk/x11/gdkglcontext-x11.c | 30 +++++++++--------------------- gdk/x11/gdkglcontext-x11.h | 2 +- gtk/gtkglarea.c | 35 ++++++++++++----------------------- gtk/gtkglarea.h | 2 +- tests/gtkgears.c | 13 ++----------- 13 files changed, 52 insertions(+), 91 deletions(-) commit 017775f28863f233e6683dae723a01f502a8b554 Author: Alexander Larsson Date: Thu Oct 9 16:22:56 2014 +0200 X11 GdkGLContext: Remove spurious XSync This XSync doesn't seem to be necessary. Remove it until otherwise proven. gdk/x11/gdkglcontext-x11.c | 3 --- 1 file changed, 3 deletions(-) commit 3d43a9b08410fc172635042288daedb522887367 Author: Alexander Larsson Date: Thu Oct 9 16:22:47 2014 +0200 Fix warning gdk/wayland/gdkwindow-wayland.c | 1 - 1 file changed, 1 deletion(-) commit 236d08c3c59a33e1ec4004af0aa4f6095402809a Author: Alexander Larsson Date: Thu Oct 9 16:09:05 2014 +0200 gl: Make all user GdkGLContexts not attached to any window We make user facing gl contexts not attached to a surface if possible, or attached to dummy surfaces. This means nothing can accidentally read/write to the toplevel back buffer. gdk/gdkglcontext.c | 18 ++--- gdk/gdkwindow.c | 7 +- gdk/gdkwindowimpl.h | 1 + gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkglcontext-wayland.c | 19 +++++- gdk/wayland/gdkglcontext-wayland.h | 2 + gdk/wayland/gdkprivate-wayland.h | 2 + gdk/wayland/gdkwindow-wayland.c | 41 ++++++++++++ gdk/x11/gdkglcontext-x11.c | 131 +++++++++++++++++++++++-------------- gdk/x11/gdkglcontext-x11.h | 3 + 10 files changed, 164 insertions(+), 61 deletions(-) commit 62a26eb3c8627c31d823e37141fa31b1280c5184 Author: Alexander Larsson Date: Thu Oct 9 11:25:50 2014 +0200 Add glarea demo to gtk3-demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/glarea.c | 184 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 186 insertions(+) commit 5d7e268aac476c76b924e6290469dc1ba6ee718b Author: Alexander Larsson Date: Thu Oct 9 11:16:51 2014 +0200 Add tests/testglblending This test stacks GL and cairo rendering in various orders to test the layer handling. tests/Makefile.am | 6 ++++ tests/testglblending.c | 94 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) commit 8f3e9d1b05a635c078e1224f03139135da3aaa2b Author: Alexander Larsson Date: Thu Oct 9 11:16:11 2014 +0200 Add tests/gdkgears A more complex test modeled on the traditional glxgears. tests/Makefile.am | 6 + tests/gdkgears.c | 238 +++++++++++++++++++++++++++++ tests/gtkgears.c | 448 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/gtkgears.h | 44 ++++++ 4 files changed, 736 insertions(+) commit 3b3726ae5790a82a1e918da589bc6f724f6bd726 Author: Alexander Larsson Date: Thu Oct 9 11:14:09 2014 +0200 Add tests/testglarea This is a very simple test of GtkGLArea. tests/Makefile.am | 1 + tests/testglarea.c | 159 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 160 insertions(+) commit 535723ce867d96c3ca0ee6b3d77cb5f5d8173432 Author: Alexander Larsson Date: Thu Oct 9 11:11:32 2014 +0200 Add GtkGLArea widget docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-sections.txt | 23 +- gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkglarea.c | 636 +++++++++++++++++++++++++++++++++++ gtk/gtkglarea.h | 105 ++++++ 6 files changed, 767 insertions(+), 1 deletion(-) commit 7eae4985e8f8099c2cc8b0e3d625b2dd3d5ae4b3 Author: Alexander Larsson Date: Thu Oct 9 11:06:48 2014 +0200 wayland: Add OpenGL support This uses EGL to implement GdkGLContext for wayland. configure.ac | 2 +- gdk/wayland/Makefile.am | 5 +- gdk/wayland/gdkdisplay-wayland.c | 4 + gdk/wayland/gdkdisplay-wayland.h | 13 ++ gdk/wayland/gdkglcontext-wayland.c | 414 +++++++++++++++++++++++++++++++++++++ gdk/wayland/gdkglcontext-wayland.h | 63 ++++++ gdk/wayland/gdkprivate-wayland.h | 2 + gdk/wayland/gdkwayland.h | 1 + gdk/wayland/gdkwaylandglcontext.h | 45 ++++ gdk/wayland/gdkwindow-wayland.c | 85 +++++++- 10 files changed, 624 insertions(+), 10 deletions(-) commit 6717242d2606657af0d14e36102314e196a2d59e Author: Alexander Larsson Date: Thu Oct 9 11:04:51 2014 +0200 wayland: Set GdkVisual::bits_per_rgb to 8 This was 0 before. gdk/wayland/gdkscreen-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 87970ea2d0eff3eaa148676d7726043e99794c26 Author: Alexander Larsson Date: Thu Oct 9 11:03:47 2014 +0200 Add GDK_ALWAYS_USE_GL debug hack If this is set we always use GL to render each window, even if there are no GL widgets in the window. gdk/gdkwindow.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 038aac6275f829c1e92e634ba4a310a03c0871e6 Author: Alexander Larsson Date: Thu Oct 9 10:45:44 2014 +0200 gdk: Add support for OpenGL This adds the new type GdkGLContext that wraps an OpenGL context for a particular native window. It also adds support for the gdk paint machinery to use OpenGL to draw everything. As soon as anyone creates a GL context for a native window we create a "paint context" for that GdkWindow and switch to using GL for painting it. This commit contains only an implementation for X11 (using GLX). The way painting works is that all client gl contexts draw into offscreen buffers rather than directly to the back buffer, and the way something gets onto the window is by using gdk_cairo_draw_from_gl() to draw part of that buffer onto the draw cairo context. As a fallback (if we're doing redirected drawing or some effect like a cairo_push_group()) we read back the gl buffer into memory and composite using cairo. This means that GL rendering works in all cases, including rendering to a PDF. However, this is not particularly fast. In the *typical* case, where we're drawing directly to the window in the regular paint loop we hit the fast path. The fast path uses opengl to draw the buffer to the window back buffer, either by blitting or texturing. Then we track the region that was drawn, and when the draw ends we paint the normal cairo surface to the window (using texture-from-pixmap in the X11 case, or texture from cairo image otherwise) in the regions where there is no gl painted. There are some complexities wrt layering of gl and cairo areas though: * We track via gdk_window_mark_paint_from_clip() whenever gtk is painting over a region we previously rendered with opengl (flushed_region). This area (needs_blend_region) is blended rather than copied at the end of the frame. * If we're drawing a gl texture with alpha we first copy the current cairo_surface inside the target region to the back buffer before we blend over it. These two operations allow us full stacking of transparent gl and cairo regions. docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 31 ++ docs/reference/gdk/gdk3.types | 1 + gdk/Makefile.am | 4 + gdk/gdk.c | 3 +- gdk/gdk.h | 1 + gdk/gdkcairo.h | 11 + gdk/gdkdisplay.c | 65 +++ gdk/gdkdisplayprivate.h | 11 + gdk/gdkgl.c | 459 ++++++++++++++++++ gdk/gdkglcontext.c | 340 ++++++++++++++ gdk/gdkglcontext.h | 59 +++ gdk/gdkglcontextprivate.h | 58 +++ gdk/gdkinternals.h | 20 +- gdk/gdktypes.h | 22 +- gdk/gdkwindow.c | 244 ++++++++-- gdk/gdkwindow.h | 6 + gdk/gdkwindowimpl.h | 6 + gdk/x11/Makefile.am | 3 + gdk/x11/gdkdisplay-x11.c | 4 + gdk/x11/gdkdisplay-x11.h | 15 + gdk/x11/gdkglcontext-x11.c | 886 +++++++++++++++++++++++++++++++++++ gdk/x11/gdkglcontext-x11.h | 71 +++ gdk/x11/gdkwindow-x11.c | 3 + gdk/x11/gdkx.h | 1 + gdk/x11/gdkx11glcontext.h | 49 ++ 26 files changed, 2342 insertions(+), 32 deletions(-) commit d0147a6f2cbc4903bc6969bde29de7bb068eae71 Author: Alexander Larsson Date: Thu Oct 9 10:18:02 2014 +0200 Add gdk_window_mark_paint_from_clip and call from widget drawing This is a new function that gets called every time we're drawing some area in the Gtk paint machinery. It is a no-op right now, but it will be required later to keep track of what areas which we previously rendered with GL was overwritten with cairo contents. docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkwindow.c | 20 ++++++++++++++++++++ gdk/gdkwindow.h | 3 +++ gtk/gtkwidget.c | 2 ++ 4 files changed, 26 insertions(+) commit a8f11835c5c59755c0477b289019a4cfab761628 Author: Alexander Larsson Date: Thu Oct 9 10:09:51 2014 +0200 Change the way the update area is tracked during paint First of all we track the current update area during an update in window->active_update_area. This will be used later in end_paint to know the damaged area. Secondly we keep track of old update areas for the last 2 frames. This will later allow us to reuse old framebuffer contents in double or tripple buffer setups, only painting what has changed since then. gdk/gdkinternals.h | 6 ++++++ gdk/gdkwindow.c | 47 ++++++++++++++++++++++++++++++++++++++++------- 2 files changed, 46 insertions(+), 7 deletions(-) commit ceeed1c48db28bdf04e5d36dbb0fc24e3c702dd5 Author: Alexander Larsson Date: Thu Oct 9 09:58:36 2014 +0200 Add internal gdk_cairo_region_from_clip helper This extract the current cairo clip region if possible and returns it as a cairo_region_T. It will be needed by later code. gdk/gdkcairo.c | 35 +++++++++++++++++++++++++++++++++++ gdk/gdkinternals.h | 6 ++++-- 2 files changed, 39 insertions(+), 2 deletions(-) commit 892c6bd6f9644014fab0fe9c90b69f58258da232 Author: Emmanuele Bassi Date: Wed Jul 2 13:15:01 2014 +0100 build: Require libepoxy If we want to use OpenGL in GDK then we have two choices; either: - find the GL headers on each platform - do extension discovery - implement all the crazy dlopen()/dlsym() dispatch tables *or* use libepoxy, which shields us from all this madness and provides a decent layer for GL clients to use, without creating its own namespace. Epoxy is also used by other projects, like Xorg and piglit, and it's portable to all the platforms GDK cares about. https://bugzilla.gnome.org/show_bug.cgi?id=119189 configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 493aa4e9b3b7ef673a3f0a7b49a6416e9ad8c5c2 Author: Marek Kasik Date: Fri Oct 10 13:36:30 2014 +0200 Get duplex option via IPP Request "sides-supported" and "sides-default" attributes through IPP if there is no PPD for selected printer. Pass "sides" option with other options in printer_get_options(). Add function setup_ipp_option() for creating of IPP option of given name with passed choices and default value. Mark such an option as "is-ipp-option" so we can distinguish it later. https://bugzilla.gnome.org/show_bug.cgi?id=725441 modules/printbackends/cups/gtkprintbackendcups.c | 290 +++++++++++++++++++++-- modules/printbackends/cups/gtkprintercups.c | 5 + modules/printbackends/cups/gtkprintercups.h | 2 + 3 files changed, 276 insertions(+), 21 deletions(-) commit ea21c4563b8b9d977722436a9b43657435e6c5e8 Author: Jasper St. Pierre Date: Mon Oct 13 02:15:41 2014 -0700 gdkwindow-x11: Fix graphical regression from 5e325c4 Before 5e325c4, the default BitGravity was NorthWestGravity. When static gravities were removed in 5e325c4, the BitGravity regressed to the X11 default, Forget. Forget causes giant graphical glitches and black flashes when resizing, especially in some environments that aren't synchronized to a paint clock yet, like XWayland. I'm assuming that the author assumed that the default of BitGravity was NorthWestGravity, which is the default of WinGravity. Just go ahead and fix this regression to make resizing look smooth again. gdk/x11/gdkwindow-x11.c | 3 +++ 1 file changed, 3 insertions(+) commit abfc9cd4eb44c1435156572cd431a75fb5711d46 Author: Benjamin Otte Date: Mon Oct 13 04:35:24 2014 +0200 switch: Use trough style class by default This allows animating the trough, and saves a save/restore pair. gtk/gtkswitch.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit d1118071ddc28d88f9c128cbe0426851a5b2180e Author: Benjamin Otte Date: Mon Oct 13 04:23:02 2014 +0200 switch: Set PRELIGHT state on widget gtk/gtkswitch.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 3534225c7686e2be7256966a385f89577b9bfd6c Author: Benjamin Otte Date: Mon Oct 13 04:10:07 2014 +0200 progressbar: Make the trough the default element Gets rid of a bunch of save/restore calls and allows animating the background (but not the slider, booo!) gtk/gtkprogressbar.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) commit b09fbadddf644c238c51eadf47a3c2e96124b552 Author: Benjamin Otte Date: Mon Oct 13 04:00:44 2014 +0200 viewport: Remove wrong save/restore gtk/gtkviewport.c | 4 ---- 1 file changed, 4 deletions(-) commit 291e4e107d7a1d5bc7b846ecae7284121b067a64 Author: Matthias Clasen Date: Sun Oct 12 18:54:44 2014 -0400 GtkListBox: Support placeholders in ui files This makes the gtk_list_box_set_placeholder functionality available from GtkBuilder https://bugzilla.gnome.org/show_bug.cgi?id=738111 gtk/gtklistbox.c | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) commit 8fcf3a8e882844023b0118b7d47cb2bd556623fd Author: Matthias Clasen Date: Sun Oct 12 18:18:04 2014 -0400 GtkSearchBar: don't peek out When the searchbar is hidden, a 1-pixel-high piece of it is still peeking out, because visible widgets are always allocated at least 1x1. Work around this by setting child-visible to FALSE in this situation. https://bugzilla.gnome.org/show_bug.cgi?id=724096 gtk/gtksearchbar.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit e1ff15549b52f47b42fb128011f9493eb8a71f43 Author: Matthias Clasen Date: Sun Oct 12 18:15:23 2014 -0400 GtkColorSwatch: Avoid style context underflow The last change accidentally removed the later restore, and left the earlier, so we ended up with a restore-save sequence. Thankfully, GtkStyleContext warns about this. gtk/gtkcolorswatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9f3dfa203132a5d05b412cfd27ee9833ddfef665 Author: Dušan Kazik Date: Sun Oct 12 21:06:29 2014 +0000 Updated Slovak translation po/sk.po | 4329 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 2637 insertions(+), 1692 deletions(-) commit 5f5fc1d5306c9066d04679b232709d369e5d9130 Author: Piotr Drąg Date: Sun Oct 12 15:06:38 2014 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.skip | 4 ++++ po/POTFILES.in | 1 + po/POTFILES.skip | 2 ++ 3 files changed, 7 insertions(+) commit 3a19c760178a7f3d12170983affe9bc9111b3621 Author: Matthias Clasen Date: Sat Oct 11 22:04:57 2014 -0400 inspector: Bring the selector back Make it a separate page instead of the old button path. gtk/inspector/Makefile.am | 3 ++ gtk/inspector/init.c | 2 + gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/selector.c | 91 +++++++++++++++++++++++++++++++++++ gtk/inspector/selector.h | 59 +++++++++++++++++++++++ gtk/inspector/selector.ui | 38 +++++++++++++++ gtk/inspector/selector.ui.h | 1 + gtk/inspector/window.c | 3 ++ gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 19 ++++++-- gtk/inspector/window.ui.h | 3 +- 11 files changed, 215 insertions(+), 6 deletions(-) commit 5018c7f7cb26d56d4cb30159f782a8790f4a2a6f Author: Benjamin Otte Date: Sun Oct 12 05:51:11 2014 +0200 examples: Add deprecation guards Apparently it's not possible in GtkTextView to say "this style should apply to all text, including newly inserted text. Or I'm just too stupid to use its API. So instead, keep using override_color(). examples/plugman.c | 2 ++ 1 file changed, 2 insertions(+) commit 75ed941ef19292e77706765aa6f8630f0d460825 Author: Benjamin Otte Date: Sun Oct 12 05:27:27 2014 +0200 tests: Update testexpand example for deprecations tests/testexpand.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit c96945b3909f64c24aac6192fc3b27e4ee10d06b Author: Benjamin Otte Date: Sun Oct 12 05:21:01 2014 +0200 tests: Update testtooltips for deprecations tests/testtooltips.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 3d45d53714f48fe0af62157fffcbdcf6eb745194 Author: Benjamin Otte Date: Sun Oct 12 05:15:23 2014 +0200 tests: Don't force black background in testwindows tests/testwindows.c | 2 -- 1 file changed, 2 deletions(-) commit 81fe943472d2fb0b6670af2d3b4a62fa5aee3906 Author: Benjamin Otte Date: Sun Oct 12 05:08:54 2014 +0200 tests: Update testoverlaystyleclass test Make it not use deprecations anymore and use CSS to show things work by changing border-radius when a style class exists. tests/testoverlaystyleclass.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit 0a6443ebafb4fd0a1644434ce13b3c24db0c4c4f Author: Benjamin Otte Date: Sun Oct 12 04:54:40 2014 +0200 testgtk: Don't trigger deprecation warnings .. and various other assorted fixes, mostly related to drawing code that assumed stuff wasn't transparent by default. tests/testgtk.c | 56 +++++++++++++++++++++++++++++++++----------------------- 1 file changed, 33 insertions(+), 23 deletions(-) commit 508d31fe704cb7c64ba8b047a02fd2c495089fe8 Author: Benjamin Otte Date: Sun Oct 12 04:50:40 2014 +0200 gdk: Deprecate compositing support We might want to remove support for it completely and always return FALSE. gdk/gdkdisplay.c | 3 +++ gdk/gdkdisplay.h | 2 +- gdk/gdkwindow.c | 8 ++++++++ gdk/gdkwindow.h | 4 ++-- 4 files changed, 14 insertions(+), 3 deletions(-) commit 975d9d43147b8d6ef2d6c05b46d8cbbe216828a6 Author: Carlos Soriano Date: Sun Oct 12 03:55:39 2014 +0200 gtkplacessidebar: Fix commit f6870e5b79fd9ab Commit f6870e5b79fd9ab introduced a some memory leaks and could be improved in some areas. Fix the memory leaks and apply the improvements. https://bugzilla.gnome.org/show_bug.cgi?id=737983 gtk/gtkplacessidebar.c | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) commit e991e4333d9f8a590eeaedf32a7241104746d115 Author: Benjamin Otte Date: Sun Oct 12 01:40:41 2014 +0200 configure: Require glib 2.43 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0a31609201cf3d637f05a22c69f2510a5cfcd058 Author: Benjamin Otte Date: Sat Oct 11 03:32:28 2014 +0200 colorswatch: Remove unneeded save/restore for both style context and cairo context. gtk/gtkcolorswatch.c | 7 ------- 1 file changed, 7 deletions(-) commit f4e44e9e6e92c9fddc92970f7b1d36c308508096 Author: Benjamin Otte Date: Sat Oct 11 02:40:48 2014 +0200 menu: Respect borders properly for scroll arrows gtk/gtkmenu.c | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) commit 7b58ca4623e5f0b070ef8e993ce0aa12e9e6458d Author: Yosef Or Boczko Date: Sun Oct 12 01:11:36 2014 +0300 Updated Hebrew translation po/he.po | 857 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 495 insertions(+), 362 deletions(-) commit 2f2edbd620fc9556363b75704679569429237ef2 Author: Yosef Or Boczko Date: Sun Oct 12 01:11:26 2014 +0300 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 5624da20e3016d19ccf54123add27a5c027b9d95 Author: Matthias Clasen Date: Sat Oct 11 17:58:31 2014 -0400 inspector: Some improvements for statistics Show the last two snapshots, plus a delta. gtk/inspector/statistics.c | 203 ++++++++++++++++++++++++++++++++---------- gtk/inspector/statistics.ui | 42 +++++++-- gtk/inspector/statistics.ui.h | 6 +- 3 files changed, 195 insertions(+), 56 deletions(-) commit 9f1d651e0b1cdff8069af24f7b5d3d7636eda9aa Author: Matthias Clasen Date: Thu Oct 9 23:34:59 2014 -0400 inspector: Add a tab for object counts This can be useful in finding leaks. https://bugzilla.gnome.org/show_bug.cgi?id=738272 gtk/inspector/Makefile.am | 3 + gtk/inspector/init.c | 4 +- gtk/inspector/inspector.gresource.xml | 3 +- gtk/inspector/statistics.c | 175 ++++++++++++++++++++++++++++++++++ gtk/inspector/statistics.h | 52 ++++++++++ gtk/inspector/statistics.ui | 107 +++++++++++++++++++++ gtk/inspector/statistics.ui.h | 5 + gtk/inspector/window.ui | 9 ++ gtk/inspector/window.ui.h | 1 + 9 files changed, 357 insertions(+), 2 deletions(-) commit ff9532db27a81790437da1377dab4dcf031a09a3 Author: Piotr Drąg Date: Sat Oct 11 17:57:42 2014 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.skip | 6 ++---- po/POTFILES.in | 3 +-- po/POTFILES.skip | 3 +-- 3 files changed, 4 insertions(+), 8 deletions(-) commit 74531123aef8705b45d7ea7520136d4ef3523b71 Author: Lapo Calamandrei Date: Sat Oct 11 14:37:16 2014 +0200 Adwaita: fix the special cased sidebar scrollbar... ...which I broke with the latest commit. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 5f11eaa16824cf82716625c465fd19a42c299539 Author: Lapo Calamandrei Date: Sat Oct 11 14:31:08 2014 +0200 Adwaita: finally kill the scrollbar junction frame... See https://bugzilla.gnome.org/show_bug.cgi?id=737981 gtk/resources/theme/Adwaita/_common.scss | 6 ++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 +++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 10 +++++++--- 3 files changed, 18 insertions(+), 8 deletions(-) commit 30738fbfdd1987bb20adaf09be04c1685f29afdb Author: Matthias Clasen Date: Sat Oct 11 08:28:55 2014 -0400 GtkToolButton: Apply expected button style classes Add .image-button or .text-button to the button within, so our css works as expected for toolbar buttons too. gtk/gtktoolbutton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9a6aa8db6840c1747cb41311120f99da0edfae27 Author: Matthias Clasen Date: Sat Oct 11 08:15:07 2014 -0400 inspector: Cosmetics Add .image-button to the tool buttons in the CSS editor - still not square. gtk/inspector/css-editor.ui | 6 ++++++ 1 file changed, 6 insertions(+) commit 735cf98af1c12947788edfabe8fb7485a8655686 Author: Matthias Clasen Date: Sat Oct 11 08:07:04 2014 -0400 inspector: Remove a stray separator gtk/inspector/window.ui | 6 ------ 1 file changed, 6 deletions(-) commit 3715fec02d916f4a75aea1b03eb5e791d469035a Author: Matthias Clasen Date: Sat Oct 11 08:01:57 2014 -0400 inspector: Make the window smaller No need for 1000 pixels of with anymore, after the reorg. gtk/inspector/window.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 615e4332eff99a54a27f83ec06c96c4a62adc5c1 Author: Matthias Clasen Date: Sat Oct 11 07:55:25 2014 -0400 inspector: Make resource list columns resizable This tree has the potential to be deep, and contain long names, so it forces the window to be wide, unless we allow the columns to shrink. gtk/inspector/resource-list.ui | 6 ++++++ 1 file changed, 6 insertions(+) commit 7b20bb917fffc2e48312c0463ac4251c75c36211 Author: Matthias Clasen Date: Sat Oct 11 00:58:47 2014 -0400 inspector: Small improvements to the resource tab Move the close button to the header bar and center the info grid. gtk/inspector/resource-list.c | 101 ++++++++++++++++++++++++++++++++++++++++- gtk/inspector/resource-list.ui | 24 +--------- gtk/inspector/window.c | 4 +- gtk/inspector/window.h | 2 +- gtk/inspector/window.ui | 24 +++++++++- gtk/inspector/window.ui.h | 1 + 6 files changed, 127 insertions(+), 29 deletions(-) commit a5846645d18814fd6603f16296e39733c981f863 Author: Matthias Clasen Date: Sat Oct 11 00:23:21 2014 -0400 inspector: Cosmetic fixes Set scrollbars and shadows consistently. gtk/inspector/actions.ui | 5 +- gtk/inspector/classes-list.ui | 2 + gtk/inspector/css-editor.ui | 3 +- gtk/inspector/misc-info.ui | 2 - gtk/inspector/object-hierarchy.ui | 2 + gtk/inspector/object-tree.ui | 6 +-- gtk/inspector/prop-list.ui | 6 +-- gtk/inspector/resource-list.ui | 5 +- gtk/inspector/signals-list.ui | 5 +- gtk/inspector/style-prop-list.ui | 6 +-- gtk/inspector/window.c | 29 ++++++++--- gtk/inspector/window.h | 2 + gtk/inspector/window.ui | 100 ++++++++++++++++---------------------- gtk/inspector/window.ui.h | 1 + 14 files changed, 86 insertions(+), 88 deletions(-) commit d2c0f37a6992d06f3be4022ced0c72825117de19 Author: Matthias Clasen Date: Fri Oct 10 23:25:29 2014 -0400 inspector: Cosmetic fixes Add a missing shadow in the css editor. gtk/inspector/css-editor.ui | 1 + 1 file changed, 1 insertion(+) commit 326f0aad5d0bd1c6591d07d3a84bf1521e880a44 Author: Matthias Clasen Date: Fri Oct 10 23:25:07 2014 -0400 inspector: Cosmetic fixes Expand the resource list initially. gtk/inspector/resource-list.c | 3 +++ gtk/inspector/resource-list.ui | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit dffceb1a17cf2c131b48913d1df7744547f6be12 Author: Matthias Clasen Date: Fri Oct 10 22:34:32 2014 -0400 inspector: Avoid a split pane for objects Like for the resources page, use a separate page for details to gain more room for both the tree and the details. gtk/inspector/object-tree.c | 65 +++++++-- gtk/inspector/object-tree.h | 6 +- gtk/inspector/object-tree.ui | 5 +- gtk/inspector/window.c | 59 +++++--- gtk/inspector/window.h | 3 + gtk/inspector/window.ui | 339 ++++++++++++++++++++----------------------- 6 files changed, 257 insertions(+), 220 deletions(-) commit a8dc098699ee524c27b7b8e7266b9d4e4ef7142b Author: Matthias Clasen Date: Fri Oct 10 21:40:53 2014 -0400 inspector: More refactoring Rename widget tree to object tree. It contains plenty of non-widgets nowadays, after all. gtk/inspector/Makefile.am | 6 +- gtk/inspector/gestures.c | 20 ++-- gtk/inspector/init.c | 4 +- gtk/inspector/inspect-button.c | 10 +- gtk/inspector/inspector.gresource.xml | 2 +- gtk/inspector/misc-info.c | 30 +++--- gtk/inspector/{widget-tree.c => object-tree.c} | 106 ++++++++++----------- gtk/inspector/{widget-tree.h => object-tree.h} | 40 ++++---- gtk/inspector/{widget-tree.ui => object-tree.ui} | 2 +- .../{widget-tree.ui.h => object-tree.ui.h} | 0 gtk/inspector/object-tree.ui.u | 4 + gtk/inspector/prop-editor.c | 2 +- gtk/inspector/prop-list.c | 30 +++--- gtk/inspector/window.c | 10 +- gtk/inspector/window.h | 2 +- gtk/inspector/window.ui | 12 +-- 16 files changed, 142 insertions(+), 138 deletions(-) commit 6194c90f74764dd03886a13ff6f95614c9bca5d9 Author: Matthias Clasen Date: Fri Oct 10 21:13:34 2014 -0400 inspector: More refactoring Get rid of gtk_inspector_widget_tree_get_selected_object, we can just pass the selected object along with the changed signal. gtk/inspector/widget-tree.c | 44 +++++++++++++++++--------------------------- gtk/inspector/widget-tree.h | 5 ++--- gtk/inspector/window.c | 2 +- 3 files changed, 20 insertions(+), 31 deletions(-) commit e8f9e7d4724a12ac0bd370197a62d73deec280f1 Author: Matthias Clasen Date: Fri Oct 10 20:51:54 2014 -0400 inspector: Small reshuffling Move the scrolled window into GtkInspectorWidgetTree. gtk/inspector/prop-list.c | 1 + gtk/inspector/widget-tree.c | 43 ++--- gtk/inspector/widget-tree.h | 7 +- gtk/inspector/widget-tree.ui | 145 +++++++++------- gtk/inspector/window.ui | 398 +++++++++++++++++++++---------------------- 5 files changed, 300 insertions(+), 294 deletions(-) commit bee90aa8c85ae0fcc7b3f3e40f2ed50ccf2615fd Author: Matthias Clasen Date: Fri Oct 10 20:33:08 2014 -0400 inspector: Drop unused python shell code This is getting in the way; if somebody comes by who wants to add scripting support back, we can resurrect this. gtk/inspector/Makefile.am | 4 - gtk/inspector/init.c | 7 - gtk/inspector/python-hooks.c | 237 ------------------------- gtk/inspector/python-hooks.h | 38 ---- gtk/inspector/python-shell.c | 409 ------------------------------------------- gtk/inspector/python-shell.h | 68 ------- gtk/inspector/window.c | 45 ----- gtk/inspector/window.h | 3 - gtk/inspector/window.ui | 45 +---- gtk/inspector/window.ui.h | 1 - 10 files changed, 8 insertions(+), 849 deletions(-) commit ee99ca661015dc455a5892eff7b43d6d8136c572 Author: Matthias Clasen Date: Fri Oct 10 20:20:02 2014 -0400 inspector: Avoid a split pane for resources There is not much room in the inspector window; squeezing a tree and a detailed view in the same page is not great. Instead, make the details a separate page. gtk/inspector/resource-list.c | 191 +++++++++++----------- gtk/inspector/resource-list.ui | 334 ++++++++++++++++++++++----------------- gtk/inspector/resource-list.ui.h | 2 +- 3 files changed, 285 insertions(+), 242 deletions(-) commit 0c77879bd00cfc30f90d57946ddbdce9bdc712b9 Author: Matthias Clasen Date: Fri Oct 10 19:15:02 2014 -0400 inspector: Add more data to resource list gtk/inspector/resource-list.c | 59 ++++++++++++++++++++++++++++++++++++++-- gtk/inspector/resource-list.ui | 23 ++++++++++++++++ gtk/inspector/resource-list.ui.h | 2 ++ 3 files changed, 81 insertions(+), 3 deletions(-) commit 6bbedfe5f3b1f600f7608c81262fa03ef3ae8d9a Author: Matthias Clasen Date: Fri Oct 10 16:15:01 2014 -0400 inspector: Fix up resource tab appearance Now that it is not in a notebook anymore, we lost the view class in the background. Add it back. gtk/inspector/resource-list.ui | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 6128082f20f88594b6a6d225b95ca874dbb612de Author: Matthias Clasen Date: Fri Oct 10 16:06:37 2014 -0400 inspector: Save some more space Instead of nesting two notebooks, use a stack switcher in the headerbar for the outer notebook. This saves valuable vertical space. gtk/inspector/inspect-button.c | 4 +-- gtk/inspector/window.c | 8 +----- gtk/inspector/window.h | 2 +- gtk/inspector/window.ui | 59 ++++++++++++------------------------------ 4 files changed, 21 insertions(+), 52 deletions(-) commit 4222e8d71377adbb6b81f08d12e22d158dc17906 Author: Matthias Clasen Date: Fri Oct 10 15:52:48 2014 -0400 inspector: Drop the button path The button path takes up quite a bit of room, and is not _that_ useful. If this information is useful, it can find a new home on the misc tab. gtk/inspector/Makefile.am | 3 -- gtk/inspector/button-path.c | 86 ----------------------------------- gtk/inspector/button-path.h | 61 ------------------------- gtk/inspector/button-path.ui | 55 ---------------------- gtk/inspector/button-path.ui.h | 1 - gtk/inspector/init.c | 2 - gtk/inspector/inspector.gresource.xml | 1 - gtk/inspector/window.c | 3 -- gtk/inspector/window.h | 1 - gtk/inspector/window.ui | 5 -- 10 files changed, 218 deletions(-) commit 2f833d4f44eef47e1cee41c28878c81a30b2db82 Author: Arash Mousavi Date: Sat Oct 11 00:55:22 2014 +0330 Updates Persian Translations po/fa.po | 3759 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2125 insertions(+), 1634 deletions(-) commit 69d9746708ef36f1bfdc855acc073fc7aa6e1045 Author: Carlos Garnacho Date: Fri Oct 10 20:38:46 2014 +0200 wayland: write wl_data_offer data asynchronously Currently writing wl_data_offer data into the fd is 1) synchronous, which is noticeable when transferring large amounts of data, and 2) buggy, write() error checking is done on the accumulator, breaking both the written data accounting and error checking itself. Fix both by making writes asynchonous through GOutputStream, the operation is spun off and either finished, or cancelled if new data is stored in the selection while the transfer is active. gdk/wayland/gdkselection-wayland.c | 114 +++++++++++++++++++++++++++++++------ 1 file changed, 97 insertions(+), 17 deletions(-) commit f6870e5b79fd9abe573b01d37d7c52476b5c6052 Author: Carlos Soriano Date: Tue Oct 7 12:22:38 2014 +0200 gtkplacessidebar: Open $HOME after unmounting or ejecting When a drive is ejected or a volume unmounted the current directory doesn't change most of the times being empty or being a directory that user shouldn't take care about, like /run/media Seems more useful to change to $HOME directory in that case so the user can see something useful and familiar just after unmounting. https://bugzilla.gnome.org/show_bug.cgi?id=737983 gtk/gtkplacessidebar.c | 128 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 126 insertions(+), 2 deletions(-) commit 3c29212ce31683f5a572088bd825f60706eb222c Author: Carlos Soriano Date: Thu Oct 9 20:31:42 2014 +0200 gtkplacessidebar: Don't change location if clicked on eject button Currently we change the current location if we click the eject button of a mount. Check whether the user actually clicked the eject button and don't change location in that case. https://bugzilla.gnome.org/show_bug.cgi?id=737983 gtk/gtkplacessidebar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 025b80166326a8880b1d8eed4eefc962a6552cfc Author: Lapo Calamandrei Date: Fri Oct 10 14:01:38 2014 +0200 Adwaita: dim menu overflow button border color gtk/resources/theme/Adwaita/_common.scss | 5 ++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 ++--- gtk/resources/theme/Adwaita/gtk-contained.css | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) commit 940415b2eb5a222193295297953f3581707cb53f Author: Lapo Calamandrei Date: Fri Oct 10 13:53:42 2014 +0200 Adwaita: style menu overflow button See bug https://bugzilla.gnome.org/show_bug.cgi?id=738158 gtk/resources/theme/Adwaita/_common.scss | 14 ++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 20 +++++++++++++++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 20 +++++++++++++++++++- 3 files changed, 52 insertions(+), 2 deletions(-) commit d5a21e47e32c8dc4e30e3088e4a9dc176ad3c847 Author: Milo Casagrande Date: Fri Oct 10 11:51:06 2014 +0000 Updated Italian translation po-properties/it.po | 3793 ++++++++++++++++++++++++++------------------------- 1 file changed, 1944 insertions(+), 1849 deletions(-) commit dcf80f3df555e1026a37cf7108e411584080d033 Author: Matthias Clasen Date: Fri Oct 10 07:43:36 2014 -0400 Add top/bottom style classes to scroll arrows gtk/gtkmenu.c | 2 ++ 1 file changed, 2 insertions(+) commit e78c3e2c8c0a5c48516d02d7b084c7bc15e9d112 Author: Marek Kasik Date: Thu Oct 2 13:50:47 2014 +0200 Get paper sizes from IPP query Query printer via IPP for paper sizes if there is no or empty PPD file. Parse "media-supported" and "media-size-supported" attributes for list of paper sizes. Parse "media-default" and "media-col-default" attributes for default settings. https://bugzilla.gnome.org/show_bug.cgi?id=725441 modules/printbackends/cups/gtkprintbackendcups.c | 404 +++++++++++++++++++---- modules/printbackends/cups/gtkprintercups.c | 12 + modules/printbackends/cups/gtkprintercups.h | 9 + 3 files changed, 360 insertions(+), 65 deletions(-) commit a73c858f4ba31d800e63f6ef5e6eaeebc716488b Author: Marek Kasik Date: Wed Oct 1 15:17:39 2014 +0200 Remove dead code from CUPS backend https://bugzilla.gnome.org/show_bug.cgi?id=725441 modules/printbackends/cups/gtkprintbackendcups.c | 133 ----------------------- 1 file changed, 133 deletions(-) commit 6bdaa95164119182dac0ef710aeb1dc13d9d11dc Author: Marek Kasik Date: Mon Oct 6 12:37:56 2014 +0200 Create paper size from IPP media name Add function gtk_paper_size_new_from_ipp() which looks for given name in standard paper size names list and create appropriate GtkPaperSize. https://bugzilla.gnome.org/show_bug.cgi?id=725441 gtk/gtkpapersize.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkpapersize.h | 6 +++ 2 files changed, 116 insertions(+) commit ccbb51dff1209ac3d5134c242b13b19fd08b4cc5 Author: Marek Kasik Date: Thu Oct 2 15:41:45 2014 +0200 Update paper size names Update list of standardized paper size names from PWG Media Standardized Names 2.0 (MSN2) and from CUPS' cups/pwg-media.c. https://bugzilla.gnome.org/show_bug.cgi?id=725441 gtk/paper_names.c | 61 ++++++--- gtk/paper_names_offsets.c | 329 +++++++++++++++++++++++++++++----------------- 2 files changed, 246 insertions(+), 144 deletions(-) commit 42280f6c4ed07011b6c609d202f96c4b656f4c1f Author: Matthias Clasen Date: Thu Oct 9 23:00:22 2014 -0400 inspector: Add a way to disable the warning dialog gtk/gtkwindow.c | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) commit 4e974edde854b40f6f10ef8e3f423eb50ecb2ade Author: Matthias Clasen Date: Tue Oct 7 22:59:07 2014 -0400 GtkScrolledWindow: Introduce a helper function Instead of making assumptions about enum value ordering, introduce a helper function to determine policy values for which the scrollbar may be visible. gtk/gtkscrolledwindow.c | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) commit 9dcb33ad344d00c5548cb2bc1479dcda9e4580aa Author: Matthias Clasen Date: Thu Oct 9 20:17:10 2014 -0400 Add an example for synchronized scrolling This example uses GTK_POLICY_EXTERNAL to share a scrollbar among multiple scrolled windows. tests/Makefile.am | 1 + tests/syncscroll.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) commit 94b680c2cd3c4573067322082860dde26cf5bffa Author: Matthias Clasen Date: Sat Oct 4 23:15:04 2014 -0400 GtkScrolledWindow: Allow scrolling without bars Add a new policy, GTK_POLICY_EXTERNAL, which hides the scrollbar, but does not force the scrolled windows size to be determined by its child. This can be used to keep two scrolled windows in sync, while sharing a single scrollbar. https://bugzilla.gnome.org/show_bug.cgi?id=730730 gtk/gtkscrolledwindow.c | 95 ++++++++++++++++++++++++++++++------------------- gtk/gtkscrolledwindow.h | 6 +++- 2 files changed, 63 insertions(+), 38 deletions(-) commit 3f4bd447f837696b44902ea6c8980cc7fa43782c Author: Benjamin Otte Date: Fri Oct 10 01:02:34 2014 +0200 shadows: Respect scaled factors for cached surface gtk/gtkcssshadowvalue.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 39097ea2da79fa1ce79fb291dc5588260e992a5f Author: Benjamin Otte Date: Fri Oct 10 00:09:03 2014 +0200 render: Optimize the no-borders case to exit early gtk/gtkrender.c | 35 ++++++++++++++++++++++------------- 1 file changed, 22 insertions(+), 13 deletions(-) commit f46c31f2fbe80ad210b81b8540df80aaa7a2319d Author: Benjamin Otte Date: Fri Oct 10 00:08:02 2014 +0200 tests: Exit test when main window is closed tests/animated-revealing.c | 1 + 1 file changed, 1 insertion(+) commit 629189968180cb59a5dbcc5f6f91b0ba1c8af2ef Author: Matthias Clasen Date: Thu Oct 9 18:11:18 2014 -0400 Add a note about text view issues Mention text view background problems and the draw_layer vfunc in the release notes. README.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 41b53ca603c157ba101a89b0828c79e7ec42bebf Author: Matthias Clasen Date: Thu Oct 9 15:30:52 2014 -0400 GtkMenuButton: Submit to action As an actionable (inherited from GtkButton), a GtkMenuButton should not set its own sensitivity when it has an action-name set, but just follow the enabled state of the associated action. https://bugzilla.gnome.org/show_bug.cgi?id=738083 gtk/gtkmenubutton.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 1331740dd65bc1c05d93c9461115dcaac5ee6fa7 Author: Matthias Clasen Date: Thu Oct 9 00:22:13 2014 -0400 Remove an unused internal export _gtk_scrolled_window_get_scrollbar_spacing is only used in gtkscrolledwindow.c, so keep it there. gtk/gtkscrolledwindow.c | 3 ++- gtk/gtkscrolledwindow.h | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) commit c9420aa1a330091ffa012e66b4ad8fa766d5d2cb Author: Matthias Clasen Date: Thu Oct 9 00:12:46 2014 -0400 ColorChooser: Fix an off-by-one error We were not filling the last free space in the custom color row. gtk/gtkcolorchooserwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cc16a6ca6cb2654adb66e7808368c0b1dedcc989 Author: Lapo Calamandrei Date: Wed Oct 8 17:47:15 2014 +0200 Adwaita: color button changes Dimmed inner colorswatch shadow to make brighter colors looks nice, increased the padding to make button states more evident, 0 border radius to match the padding change and no colorswatch shadows when the button is insensitive. gtk/resources/theme/Adwaita/_common.scss | 7 ++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++---- 3 files changed, 16 insertions(+), 11 deletions(-) commit 0a200e29ca57da4956efeacb1e551103a4f0ca9c Author: Lars Uebernickel Date: Wed Oct 8 17:24:30 2014 +0200 Distribute gtk/resources/ui/*.ui.h POTFILES references them. gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit e34bb3d483ff81a3f6410361e56ba89b6b7fb3c0 Author: Lapo Calamandrei Date: Wed Oct 8 17:23:45 2014 +0200 Adwaita: colorchooser style rewrite To reflect latest Benjamin changes. As a bonus the colorchooser looks better to me, same for the scss code. gtk/resources/theme/Adwaita/_common.scss | 110 +++++++++------------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 95 +++++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 95 +++++++++--------- 3 files changed, 144 insertions(+), 156 deletions(-) commit 140a64eea4b4612ba7da38d7f915f366a15ceca0 Author: Lapo Calamandrei Date: Wed Oct 8 14:08:04 2014 +0200 Adwaita: don't round scrolled window frame corners See https://bugzilla.gnome.org/show_bug.cgi?id=737985 gtk/resources/theme/Adwaita/_common.scss | 1 - gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 -- gtk/resources/theme/Adwaita/gtk-contained.css | 2 -- 3 files changed, 5 deletions(-) commit e82093fc1477624c5334472f43f74839a2a74dc5 Author: Benjamin Otte Date: Wed Oct 8 13:18:35 2014 +0200 colorswatch: Use a better name for the overlay Name it .overlay and not .image gtk/gtkcolorswatch.c | 2 +- gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 +++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 9 +++++---- 4 files changed, 12 insertions(+), 10 deletions(-) commit 6b0d389bfd8f99857911c22b515de17fa99e68f8 Author: Benjamin Otte Date: Wed Oct 8 13:17:55 2014 +0200 colorswatch: Draw the image overlay over the whole widget gtk/gtkcolorswatch.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 395db3afb685a7a7845aa9829dc978209c515d30 Author: Benjamin Otte Date: Wed Oct 8 05:23:11 2014 +0200 themingbackground: Use fill() instead of clip() + paint() It's simpler code and I believe it's faster, too. gtk/gtkthemingbackground.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit a3d68af95053ca8072e27a5b7258018e7635788f Author: Benjamin Otte Date: Wed Oct 8 05:19:07 2014 +0200 themingbackground: Add a quick exit for default case In the case where the background is completely transparent, exit the rendering functions before doing any expensive calculations. gtk/gtkcsstypesprivate.h | 3 +++ gtk/gtkthemingbackground.c | 16 +++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) commit 14d166145a724bcffce4432fe72135e5d9212248 Author: Benjamin Otte Date: Wed Oct 8 05:10:42 2014 +0200 themingbackground: Call shadow function directly ... instead of having a custom function for it. gtk/gtkthemingbackground.c | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) commit 5cdb9752a74faee55214b4c537d948b04a415b44 Author: Benjamin Otte Date: Wed Oct 8 05:06:32 2014 +0200 themingbackground: Don't store (almost) unused variables Instead, parse them directly to the one function that uses them. gtk/gtkthemingbackground.c | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) commit 6e68237191355e36c8e821e2d0acc56ed9f7f3eb Author: Benjamin Otte Date: Wed Oct 8 05:03:35 2014 +0200 themingbackground: Don't store bg_color in struct Instead, keep it as a separate variable. gtk/gtkthemingbackground.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 8abf82fcf4d646a85a1d0d911cbafa054edeabd4 Author: Benjamin Otte Date: Wed Oct 8 04:59:58 2014 +0200 themingbackground: Use an array instead of 3 separate members Simplifies code gtk/gtkthemingbackground.c | 49 ++++++++++++++-------------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) commit 05460f49827c7f362c58aafb3ba844d5ba334da0 Author: Benjamin Otte Date: Wed Oct 8 03:26:01 2014 +0200 render: Make rendering the background a single function gtk/gtkrender.c | 24 +++++------- gtk/gtkthemingbackground.c | 79 ++++++++++++++++++--------------------- gtk/gtkthemingbackgroundprivate.h | 33 ++++------------ 3 files changed, 54 insertions(+), 82 deletions(-) commit 3c50c0988ae8b2713f86d0533b64527dae6c2168 Author: Benjamin Otte Date: Tue Oct 7 23:50:33 2014 +0200 render: Overhaul gtk_render_handle() The code did weird things with drawing backgrounds sometimes but not really. Now it does this: (1) render a background (2) render a frame (3) render an icon - if no icon exists, draw the generic handle icon gtk/gtkrender.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) commit c39bd623f648dab0da290fbe9b3a3bafde20fd21 Author: Benjamin Otte Date: Tue Oct 7 23:24:51 2014 +0200 colorswatch: Render background properly We want to render a background *and* the current color (if there is one). This also adds a custom function gtk_render_add_content_path() which adds the path of the current content area to a cairo_t. gtk/gtkcolorswatch.c | 23 ++++++++++------------- gtk/gtkrender.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkrenderprivate.h | 6 ++++++ 3 files changed, 60 insertions(+), 13 deletions(-) commit 7295c8f12bddc081a4736eb45d9bad1e45d8cdd3 Author: Benjamin Otte Date: Tue Oct 7 17:01:31 2014 +0200 colorswatch: Remove an unused variable gtk/gtkcolorswatch.c | 5 ----- 1 file changed, 5 deletions(-) commit 100623e4553eeced147a0f799ad5a8e9f63d025e Author: Benjamin Otte Date: Tue Oct 7 16:52:42 2014 +0200 colorswatch: Render focus with gtk_render_focus() gtk/gtkcolorswatch.c | 17 +++++------------ gtk/resources/theme/Adwaita/_common.scss | 2 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 20 ++++++++++++-------- 4 files changed, 31 insertions(+), 28 deletions(-) commit be19ee29c28d3c692d95b18d415bb554bd806b99 Author: Benjamin Otte Date: Tue Oct 7 05:58:09 2014 +0200 colorswatch: Simplify drawing code This adds a CSS box (complete with padding and border) for the icon. The box is even drawn when no icon is present. Use the ".image" as the style class here instead of -active-color-badge. Use this box to draw the circle around the selection icon in Adwaita. gtk/gtkcolorswatch.c | 72 +++++++++------------- gtk/resources/theme/Adwaita/_common.scss | 26 +++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 +++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +++++--- 4 files changed, 73 insertions(+), 73 deletions(-) commit 3897041f4a6707372da64bc9c6ef52449cb2d14c Author: Matthias Clasen Date: Tue Oct 7 22:04:26 2014 -0400 More removal of deprecated API tests/testadjustsize.c | 22 +++++++++++++++------- tests/testbaseline.c | 51 +++++++++++++++++++++++++------------------------- tests/testcalendar.c | 16 ++++++++++++---- tests/testgrid.c | 13 ++++++++++--- 4 files changed, 63 insertions(+), 39 deletions(-) commit 15dbadf38992aa09364f0dd06a71a51b99b6e800 Author: Dariusz Gadomski Date: Thu Oct 2 14:10:39 2014 +0200 printing: Properly initialize auth_info in gtkprintbackend.c auth_info should be a NULL-terminated array as it is used in e.g. g_strdupv invocations iterating over its elements until a NULL element is encountered. https://bugzilla.gnome.org/show_bug.cgi?id=737777 gtk/gtkprintbackend.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0bf474e32447cc46aa5204c23a5341e294b5ecbf Author: Matthias Clasen Date: Tue Oct 7 13:28:54 2014 -0400 Make touch-selection popovers font-inert Just like context menus, these should not inherit font settings from the text view they are attached to. gtk/resources/theme/Adwaita/_common.scss | 1 + 1 file changed, 1 insertion(+) commit f93795d272e29d34efc0b8f446efab59ec72e2f2 Author: Matthias Clasen Date: Tue Oct 7 13:25:53 2014 -0400 Add a style class for touch selection popovers gtk/gtkentry.c | 2 ++ gtk/gtkstylecontext.h | 10 ++++++++++ gtk/gtktextview.c | 2 ++ 3 files changed, 14 insertions(+) commit 93e61c1f24c7eadc288bc5020a7ec3649b08f82c Author: Lapo Calamandrei Date: Tue Oct 7 12:22:38 2014 +0200 Adwaita: change spinbutton button color on backdrop Contextually dim the spinbutton button color a little bit. gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) commit d120346992ca7d7cf1a775935e15a85614671541 Author: Matthias Clasen Date: Tue Oct 7 00:45:59 2014 -0400 gtk3-demo: Don't use deprecated API Replace various override calls. demos/gtk-demo/main.c | 18 +++++------------- demos/gtk-demo/offscreen_window.c | 3 --- demos/gtk-demo/rotated_text.c | 9 ++------- 3 files changed, 7 insertions(+), 23 deletions(-) commit 5a0dc74dedc0dcb495492eee12f9588a7b152f8d Author: Matthias Clasen Date: Tue Oct 7 00:42:46 2014 -0400 Inspector: Use text attributes for monospace labels gtk/inspector/general.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 0c02bc423949c97cf361b8e340a2d1c9662ae66a Author: Matthias Clasen Date: Tue Oct 7 00:42:21 2014 -0400 Inspector: Use the new monospace support gtk/inspector/css-editor.c | 15 --------------- gtk/inspector/css-editor.ui | 1 + gtk/inspector/python-shell.c | 8 +------- 3 files changed, 2 insertions(+), 22 deletions(-) commit a3dfffa8b82363f3e90697c94c018107d17f32ed Author: Matthias Clasen Date: Tue Oct 7 00:40:55 2014 -0400 Adwaita: Add .monospace style gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit 0004e667abdab749b991d320ed4f735778385766 Author: Matthias Clasen Date: Tue Oct 7 00:39:42 2014 -0400 GtkTextView: Add a monospace property This is a convenient shortcut for a common case. It is implemented by adding a .monospace style class to the text view, and letting the theme decide about the monospace font to use. docs/reference/gtk/gtk3-sections.txt | 3 ++ gtk/gtkstylecontext.h | 10 +++++ gtk/gtktextview.c | 82 +++++++++++++++++++++++++++++++++++- gtk/gtktextview.h | 5 +++ 4 files changed, 99 insertions(+), 1 deletion(-) commit 2dfc03bdb532c14187aa14bf51adc1aec3b71b62 Author: Matthias Clasen Date: Mon Oct 6 23:06:54 2014 -0400 GtkSidebar: Pick up the visible child from the stack Same here: We need to synchronize the visible child with the selected row when setting a stack on the sidebar. I've noticed this problem in the sidebar example in gtk3-widget-factory. gtk/gtksidebar.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit c53f4bb3421f7b3ec06bf12c1fcdd95f75321aab Author: Matthias Clasen Date: Mon Oct 6 23:06:09 2014 -0400 GtkStackSwitcher: Pick up the visible child from the stack We forgot to synchronize the visible child when setting a stack on the switcher. Oops. gtk/gtkstackswitcher.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit ba63f95a4a8e87b3bccee8c4d6ae88b8d890c2e3 Author: Matthias Clasen Date: Mon Oct 6 22:33:19 2014 -0400 Add GtkTextViewClass to the docs So that the existing information about draw_layer actually ends up in the docs. While we are at it, document the other vfuncs. https://bugzilla.gnome.org/show_bug.cgi?id=737952 docs/reference/gtk/gtk3-sections.txt | 4 +- gtk/gtktextview.h | 90 ++++++++++++++++++++++-------------- 2 files changed, 58 insertions(+), 36 deletions(-) commit 62da080bd0efe5894b66e38fc55221a5c2f0ea9f Author: Michael Catanzaro Date: Sun Oct 5 09:07:58 2014 -0500 tooltip: fix line wrapping We enable line wrap on the internal GtkLabel, but nowadays this does nothing unless we also set a max number of characters. https://bugzilla.gnome.org/show_bug.cgi?id=737929 gtk/gtktooltip.c | 1 + 1 file changed, 1 insertion(+) commit ba6522d3f26da92a0ef4173afe35d73a7286ab43 Author: Vasiliy Nuzha Date: Tue Oct 7 02:29:20 2014 +0400 Fix monitors enumeration bug Fix monitors enumeration bug. By default used MONITORINFOEXW (UTF-16 Build) with wrong structure size gdk/win32/gdkdisplay-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1914e65591258c47fdd0845279199f65932f220e Author: Jasper St. Pierre Date: Mon Oct 6 13:36:52 2014 -0700 gdkwindow: Fix small typo gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3bd78a3cfff64cd0a043091e07bf46cd178cf0c Author: Benjamin Otte Date: Mon Oct 6 22:18:20 2014 +0200 gdk: Fix gdk_cairo_create() without begin_paint() We were translating the clip region twice in that case. https://bugzilla.gnome.org/show_bug.cgi?id=737825 gdk/gdkwindow.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 916d9e4a52a6c1fc63d364448d5ee0d488903ecd Author: Changwoo Ryu Date: Tue Oct 7 01:35:12 2014 +0900 Updated Korean translation po-properties/ko.po | 652 +++++++++++++++++++++++++++------------------------- po/ko.po | 238 ++++++++++--------- 2 files changed, 466 insertions(+), 424 deletions(-) commit 112e74ed6412290f38cc1cbeede65e8e99607c75 Author: Kalev Lember Date: Mon Oct 6 14:19:21 2014 +0200 gdk: Allow calling gdk_cairo_surface_create_from_pixbuf with scale 0 The documentation explicitly states that 0 is an allowed value for using the same scale as the window. This 0 value is also explicitly checked down in the call chain and handled. gdk/gdkcairo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5e4672092a31320041b51c3ad69f0a40adec59bf Author: Benjamin Otte Date: Mon Oct 6 02:38:40 2014 +0200 gdk: Deprecate static gravities ... and remove all implementations. The API allows to not work "if the server doesn't support it. So from now on, no server does! gdk/broadway/gdkwindow-broadway.c | 8 ---- gdk/gdkinternals.h | 1 - gdk/gdkoffscreenwindow.c | 8 ---- gdk/gdkwindow.c | 21 ++++------- gdk/gdkwindow.h | 2 +- gdk/gdkwindowimpl.h | 3 -- gdk/quartz/gdkwindow-quartz.c | 13 ------- gdk/wayland/gdkwindow-wayland.c | 8 ---- gdk/win32/gdkwindow-win32.c | 10 ----- gdk/x11/gdkwindow-x11.c | 78 --------------------------------------- 10 files changed, 9 insertions(+), 143 deletions(-) commit dadc37e64db443425712ab960064ee32d42d2cad Author: Jasper St. Pierre Date: Fri Aug 29 13:51:30 2014 -0700 cssshadowvalue: Add a cache for blurred Pango layouts Drawing text with Pango is quite expensive, and drawing text and also blurring it is *really* expensive. To prevent us from drawing a lot of text and then blurring it a lot is *really* expensive. We now cache the blurred pixels for the last layout and shadow we made, which means we can repeatedly draw labels with a blurred text-shadow extremely fast. To detect whether the shadow is up-to-date, we track the serial of the PangoLayout alongside the radius of the box shadow. We don't support inset shadows nor spread on text-shadow, so we don't need to track these. gtk/gtkcssshadowvalue.c | 122 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 110 insertions(+), 12 deletions(-) commit 919bdff7ac09dc7ce8c8401684cfae743cc2691a Author: Matthias Clasen Date: Sun Oct 5 18:21:46 2014 -0400 GdkDevice: Avoid unnecessary critical There is no need for a critical warning just because somebody asked for a property that is not meaningful for the device. Just document it as not useful for keyboard devices. gdk/gdkdevice.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d1fd8267efffc6660c11d6fa49128b81d9fdb671 Author: Matthias Clasen Date: Sun Oct 5 13:39:15 2014 -0400 Cosmetic formatting fix gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b858d45e3c46936dc293461237face0f653f53c8 Author: Matthias Clasen Date: Sun Oct 5 13:34:28 2014 -0400 GtkPlacesSidebar: Don't pile up duplicate bookmarks We get multiple notifications from the bookmark manager when something changes. Every time, we reconstruct the sidebar contents completely, by clearing the store. The bookmarks are added with async calls though, and the code was forgetting to cancel outstanding async requests, leading to multiple instances of the same bookmark getting added. Use the cancellable we already have to prevent that. This could be made much more efficient by not recreating the entire sidebar quite so often (3-5 times for a single bookmark rename). https://bugzilla.gnome.org/show_bug.cgi?id=737679 gtk/gtkplacessidebar.c | 5 +++++ 1 file changed, 5 insertions(+) commit fbad4f6c037d87aa4339f8ed7bf47d15ec5736eb Author: Wolfgang Stöggl Date: Sun Oct 5 14:25:27 2014 +0000 Updated German translation po-properties/de.po | 1068 ++++++++++++++++++++++++++------------------------- 1 file changed, 550 insertions(+), 518 deletions(-) commit e3fa5592beb89f35d7b0078bf5593dc844897dfc Author: Lapo Calamandrei Date: Sun Oct 5 12:27:55 2014 +0200 Adwaita: fix last vertically linked focused entry gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) commit cff37ce26e4aed3bbdf24e15ae2ab11552ff9b31 Author: Benjamin Otte Date: Sun Oct 5 11:24:09 2014 +0200 x11: Remove overeager check window->parent must exist, it's dereferenced a few lines below. Avoids clang complaints. gdk/x11/gdkwindow-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 66be6a018c95e876b26b82e0648bb034c9307e79 Author: Benjamin Otte Date: Sun Oct 5 11:18:15 2014 +0200 gdk: Remove overeager checks Parent is guaranteed to not be NULL. It can only ever be NULL for root windows and root windows cannot be created with gdk_window_new() and gdk_window_ensure_native() will exit early because they already are native. Also, both functions would crash a few lines below where parent gets dereferenced. gdk/gdkwindow.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 3526f2081bc9fb8b2ca9c693215a73a0afd2f717 Author: Benjamin Otte Date: Sun Oct 5 11:15:02 2014 +0200 x11: Remove unneeded and wrong return_if_fail() It triggers coverity warnings. gdk/x11/gdkwindow-x11.c | 2 -- 1 file changed, 2 deletions(-) commit dd8db0f5cb3137be2825fd4ef14d34efb22c852a Author: Matthias Clasen Date: Sun Oct 5 00:19:51 2014 -0400 GtkScrolledWindow: code cleanup Remove return-if-fail parameter checks from static functions, where we don't normally do these. gtk/gtkscrolledwindow.c | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) commit bcfa41cec6b2bb90fb8abf21295f49a48fdf413c Author: Matthias Clasen Date: Sun Oct 5 00:13:09 2014 -0400 Cosmetic documentation improvements gtk/gtkscrolledwindow.c | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 9a2327a35eab6f9a07c5666582f0a725170aca3f Author: Matthias Clasen Date: Sat Oct 4 21:40:45 2014 -0400 Use .label in the theme css gtk/resources/theme/Adwaita/_common.scss | 36 +-- gtk/resources/theme/Adwaita/_drawing.scss | 8 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 266 ++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 266 ++++++++++----------- 4 files changed, 282 insertions(+), 294 deletions(-) commit 75bcecb363ee9c01f717f7dfc6d89db77cb8ae0d Author: Matthias Clasen Date: Sat Oct 4 21:35:36 2014 -0400 Add a label style class docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtklabel.c | 4 ++++ gtk/gtkstylecontext.h | 11 +++++++++++ 3 files changed, 16 insertions(+) commit f2cd7f151e52cd28fbd99d39439d527e341564e5 Author: Lapo Calamandrei Date: Sun Oct 5 00:56:48 2014 +0200 Adwaita: add vertically linked combos gtk/resources/theme/Adwaita/_common.scss | 19 +++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 26 +++++++++++++--------- 3 files changed, 48 insertions(+), 23 deletions(-) commit cfdbd599633857da2e81a9265ab9c5cfae69b431 Author: Matthias Clasen Date: Sat Oct 4 16:09:21 2014 -0400 docs: Add an index for 3.16 additions docs/reference/gtk/gtk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 978afce04a765c5faa9d6e60b1bfedbc88925572 Author: Matthias Clasen Date: Sat Oct 4 16:06:30 2014 -0400 Fix a thinko in the previous commit GTK+ relies on this function silently failing for invalid data. gtk/gtkcssprovider.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit a00842fa9981a9fab90f435f81b71cdea1aa08f4 Author: Matthias Clasen Date: Sat Oct 4 15:52:02 2014 -0400 Add a function to load css from a resource This is common enough that we should just provide an API for it - we already had a function for this purpose anyway. https://bugzilla.gnome.org/show_bug.cgi?id=672946 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkcssprovider.c | 25 ++++++++++++++++++++----- gtk/gtkcssprovider.h | 4 ++++ 3 files changed, 25 insertions(+), 5 deletions(-) commit 40049581bc514bcac5e01ff7709370757e051a10 Author: Matthias Clasen Date: Sat Oct 4 15:45:16 2014 -0400 Trivial documentation tweaks gtk/gtkbuilder.c | 42 ++++++++++++++++++++---------------------- 1 file changed, 20 insertions(+), 22 deletions(-) commit c79ccfd6f14733cc870629e7bbbb0e10ed4dfd05 Author: Matthias Clasen Date: Sat Oct 4 15:14:26 2014 -0400 widget-factory: Cosmetic improvement demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit 79afd7c8d70464a648a1c0d713e24277b9827137 Author: Matthias Clasen Date: Sat Oct 4 15:00:10 2014 -0400 widget-factory: More vertical linking examples demos/widget-factory/widget-factory.c | 74 ++++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 62 ++++++++++++++++++++++++++++ 2 files changed, 136 insertions(+) commit 1f8b0852a45ae59e193806885e3dd37e063f1923 Author: Lapo Calamandrei Date: Sat Oct 4 20:23:10 2014 +0200 Adwaita: added style for vertically linked entries gtk/resources/theme/Adwaita/_common.scss | 92 +++++++++++++- gtk/resources/theme/Adwaita/_drawing.scss | 29 +++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 138 ++++++++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 138 ++++++++++++++++++--- 4 files changed, 342 insertions(+), 55 deletions(-) commit a03583d14f433a1c716faf2b1da183267bb28e7d Author: Matthias Clasen Date: Sat Oct 4 12:10:04 2014 -0400 printing: Avoid missing icons I've noticed a missing image show up in my print dialog, where the printer reported "printer-paused" as icon. Rearrange things so we always fall back to "printer" for printer icons. gtk/gtkprintunixdialog.c | 12 ++++++++++-- gtk/resources/ui/gtkprintunixdialog.ui | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) commit c0573272f3457fa1bf9def4ace5f5a502cd409d4 Author: Matthias Clasen Date: Sat Oct 4 12:19:15 2014 -0400 printing: Make GtkPrinter have a useful icon by default It causes complication elsewhere if gtk_printer_get_icon_name() returns NULL initially. So make the icon name default to "printer". gtk/gtkprinter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f634684eeb094216acbc4c2bcb84862574db60e5 Author: Matthias Clasen Date: Sat Oct 4 11:56:44 2014 -0400 printing: Another tweak to sheet drawing After consultation, revisit the vertical centering to center the first 'stack', and put the second one behind it. gtk/gtkprintunixdialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 72a809be0acba0c20df9be08fad9ed931203fcc1 Author: Matthias Clasen Date: Sat Oct 4 11:53:14 2014 -0400 inspector: Down the model tree Show nested tree models, inside filter or sort models. Without this, you can't get at the data. gtk/inspector/widget-tree.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 051eedcea19521cfd0ef8e6a3225d30872028538 Author: Matthias Clasen Date: Sat Oct 4 11:43:50 2014 -0400 Small code rearrangement gtk/inspector/widget-tree.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit 9752ab17118907b72a5ed6359be285cc0b496b5c Author: Benjamin Otte Date: Sat Oct 4 17:18:18 2014 +0200 docs: Fix some copy/paste errors docs/reference/gtk/gtk3-demo-application.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 82b7d21f6e24c81160e035899e1d95f5e4487ac3 Author: Benjamin Otte Date: Fri Oct 3 16:19:34 2014 +0200 print: Add a .paper style class ... and use it in the print preview. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkprintunixdialog.c | 2 ++ gtk/gtkstylecontext.h | 11 +++++++++++ 3 files changed, 14 insertions(+) commit f7d7d345dab0b8e28971842fb46eea8f01374ce7 Author: Benjamin Otte Date: Fri Oct 3 16:15:10 2014 +0200 docs: Add a man page fro gtk3-demo-application It is an installed binary, so it needs a man page! docs/reference/gtk/Makefile.am | 2 ++ docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-demo-application.xml | 44 ++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) commit 4bc09a6a17cc0a5f888c4ed309c4318fb27e380b Author: Matthias Clasen Date: Sat Oct 4 11:00:10 2014 -0400 printing: Simplify sheet drawing We don't need the scaling support anymore - icon sizes are no longer settable. gtk/gtkprintunixdialog.c | 39 +++++++++++++++------------------------ 1 file changed, 15 insertions(+), 24 deletions(-) commit 10d0dad2cfd70b860c514398261658285fd6e137 Author: Matthias Clasen Date: Sat Oct 4 10:53:57 2014 -0400 print: Center sheet drawing horizontally Center the page ordering indicator horizontally, relative to the spinbutton above it. gtk/gtkprintunixdialog.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 99c65b158797ac463624203ae0ddf00dad66aae5 Author: Matthias Clasen Date: Sat Oct 4 10:38:59 2014 -0400 print: Center sheet drawing vertically Center the page ordering indicator vertically, relative to the checkboxes next to it. gtk/gtkprintunixdialog.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit 7866d4ba21186bb602afd0a716c774fd86f7b2ef Author: Matthias Clasen Date: Fri Oct 3 23:20:18 2014 -0400 Remove an unused variable gtk/gtkfilesystem.c | 2 -- 1 file changed, 2 deletions(-) commit fee46bda00a7e01e8cf22a8972bfac003feda6d6 Author: Matthias Clasen Date: Fri Oct 3 22:12:54 2014 -0400 inspector: Fix a thinko We still need to possibly scan the toplevel after selecting a widget, since we don't monitor the list of toplevels, so the window may not be in our tree yet. This was broken in commit e7bd73f2b0db50c00ef390b756c6597674d7b473. gtk/inspector/inspect-button.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit af7e73f9df9b57d4dc43add31e381b55db762ae2 Author: Piotr Drąg Date: Fri Oct 3 17:38:20 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 3 +++ po/POTFILES.skip | 3 +++ 2 files changed, 6 insertions(+) commit 3b83e4ee5cec3200703bada549f9c51d32915644 Author: Benjamin Otte Date: Fri Oct 3 15:48:29 2014 +0200 libgail: Add deprecation guards libgail-util/gailmisc.c | 2 ++ 1 file changed, 2 insertions(+) commit c750cea4e57ed3bcb5ba7eada95d0be380aa2fe5 Author: Benjamin Otte Date: Fri Oct 3 15:47:51 2014 +0200 imcontextxim: Remove broken custom drawing code Just use regular GtkWindow styling instead. modules/input/gtkimcontextxim.c | 32 -------------------------------- 1 file changed, 32 deletions(-) commit 2e83e7d335e925b6c834e88f0a0b7e077eeee43a Author: Matthias Clasen Date: Fri Oct 3 09:33:35 2014 -0400 GtkBuilder: Don't use deprecated types in examples gtk/gtkbuilder.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 80226ca926c9986dc91686f5682d98f6fc84c748 Author: Matthias Clasen Date: Fri Oct 3 09:29:45 2014 -0400 GtkBuilder: Undo the type name heuristic changes These turned out to break existing ui files, concretely GWeatherLocationEntry was no longer guessed correctly. Update the testcases to reflect this, and add a testcase for GWeather. gtk/gtkbuilder.c | 17 +++++++++-------- testsuite/gtk/typename.c | 25 +++++++++---------------- 2 files changed, 18 insertions(+), 24 deletions(-) commit b22919220b9183bdd00ec58768a82fb28d1ea716 Author: Matthias Clasen Date: Fri Oct 3 01:13:02 2014 -0400 widget-factory: Make the record button more interesting demos/widget-factory/widget-factory.c | 14 ++++++++++++++ demos/widget-factory/widget-factory.ui | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) commit 3b18ea71c329d921ca9e32ec3c28791b9e0493bb Author: Matthias Clasen Date: Fri Oct 3 01:03:52 2014 -0400 widget-factory: Add a sidebar example demos/widget-factory/widget-factory.c | 8 ++ demos/widget-factory/widget-factory.ui | 189 +++++++++++++++++++++++++++++++++ 2 files changed, 197 insertions(+) commit c9d9c9158f117e07e359108649f4601b584b7612 Author: Benjamin Otte Date: Fri Oct 3 06:59:14 2014 +0200 gtk-demo: Replace old code "Hey I know, let's do an easter egg!" "What kind of easter egg?" "We can nest lots of textviews!" "Sounds cool!" ... "But how does one see a textview inside a textview?" "What do you mean?" "Well, it just looks like black text on a white background." "You mean it's the same as if we just duplicated the text?" "Yeah!" "Hrm, maybe we can put a frame around it." "Sounds good. I'll stuff the textviews in a GtkFrame." "What? Why? Let's use a GtkEventBox and override its background" "Why is that a good idea when we have GtkFrame?" "Because I said so!" "Okay." demos/gtk-demo/textview.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) commit 2b6a4ba8907c82ba1844711606a3cf6292fe25e2 Author: Benjamin Otte Date: Fri Oct 3 06:48:18 2014 +0200 gtk-demo: Remove useless code in colorsel example We have the color stored in a global variable already. There is absolutely no need to also force it into the CSS machinery. demos/gtk-demo/colorsel.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) commit 23a4affb6f158275cdd5e8e824240f6a5c4190a9 Author: Benjamin Otte Date: Fri Oct 3 06:45:38 2014 +0200 gtk-demo: Improve flowbox demo code Overriding the background color for a color swatch is wrong. The color is not the background, it's the foreground, so it should be painted in a draw signal handler. demos/gtk-demo/flowbox.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 40e09737090b1437474bb479709b95c79c45d4ac Author: Benjamin Otte Date: Fri Oct 3 06:40:13 2014 +0200 gtk-demo: Remove unneeded code Overlays are transparent by default, no need to override them to be. demos/gtk-demo/transparent.c | 3 --- 1 file changed, 3 deletions(-) commit 2fbc77fce11079beebfc9d5f1992980b34328984 Author: Benjamin Otte Date: Fri Oct 3 06:38:21 2014 +0200 gtk-demo: Properly override font color in combobox example demos/gtk-demo/combobox.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit a2f550d91ba4e4ee8ab5232694858b81c1e7aa3e Author: Benjamin Otte Date: Fri Oct 3 06:27:49 2014 +0200 stylecontext: Add missing docs for deprecations gtk/gtkstylecontext.c | 4 ++++ 1 file changed, 4 insertions(+) commit 0e34c87211b987d3ece2d49f59d3f5f401a12c05 Author: Benjamin Otte Date: Fri Oct 3 06:17:12 2014 +0200 fontchooserwidget: Use text attributes for the preview ... instead of adding a custom CSS provider. gtk/gtkfontchooserwidget.c | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) commit 54c6c7ae879475fd1403682da36685842550f0e7 Author: Benjamin Otte Date: Fri Oct 3 06:14:05 2014 +0200 cellrendereraccel: Remove unused variables gtk/gtkcellrendereraccel.c | 2 -- 1 file changed, 2 deletions(-) commit 91467a45fc57d429b6d3eb91b6f8c2f3fa6c9654 Author: Benjamin Otte Date: Fri Oct 3 05:52:49 2014 +0200 stylecontext: Deprecate functions - gtk_style_context_get_background_color() - gtk_style_context_get_border_color() Those functions shouldn't be used anymore, because they don't represent anything from the CSS styling we support. The background color often isn't used due to background images and there are actually 4 different border colors (1 for each side) - if there isn't also a border image in use. gtk/gtkcolorswatch.c | 2 ++ gtk/gtkentry.c | 4 ++++ gtk/gtkflowbox.c | 2 ++ gtk/gtkpopover.c | 2 ++ gtk/gtkstylecontext.c | 4 ++++ gtk/gtkstylecontext.h | 4 ++-- gtk/gtktextdisplay.c | 4 ++++ gtk/gtktextutil.c | 2 ++ gtk/gtktextview.c | 2 ++ 9 files changed, 24 insertions(+), 2 deletions(-) commit 39453478abc5aafe3801471d8efe5b800fa7f5cf Author: Benjamin Otte Date: Fri Oct 3 05:46:49 2014 +0200 print: Improve sheet drawing a bit This is only one step in the right direction. Long term this code should probably be replaced by real widgets. gtk/gtkprintunixdialog.c | 24 ++++++------------------ 1 file changed, 6 insertions(+), 18 deletions(-) commit c543ddab3afa58cd6545da31d9c91d89ffafe504 Author: Benjamin Otte Date: Thu Oct 2 15:56:50 2014 +0200 theming: Use gtk_style_context_peek_property() instead of outdated accessors. gtk/gtkrender.c | 59 ++++++++++++++++++++++------------------------ gtk/gtkthemingbackground.c | 3 ++- 2 files changed, 30 insertions(+), 32 deletions(-) commit dd7c65a95a37050e84546259fb08ea16974fc5c5 Author: Benjamin Otte Date: Thu Oct 2 15:38:32 2014 +0200 scrolledwindow: Rewrite overshoot code with regular styling Instead of drawing a gradient in the background color, draw a CSS box. And change the theme so instead of setting just a background color it draws a gradient. The resulting visuals are the same. gtk/gtkscrolledwindow.c | 83 ++++++++-------------- gtk/resources/theme/Adwaita/_common.scss | 26 +++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 22 +++++- gtk/resources/theme/Adwaita/gtk-contained.css | 22 +++++- 4 files changed, 90 insertions(+), 63 deletions(-) commit a6f935bb7782f18c7d2c60dd7cb49909357b466c Author: Benjamin Otte Date: Thu Oct 2 14:07:27 2014 +0200 scrolledwindow: Don't use LIGHTEN operator For the overshoot gradient, using OVER is fine. Simplifies the code and increases performance. gtk/gtkscrolledwindow.c | 6 ------ 1 file changed, 6 deletions(-) commit d941e5f0c08fad7cf145c6dbe015287b88a7b14d Author: Benjamin Otte Date: Thu Oct 2 14:05:19 2014 +0200 scrolledwindow: Remove unused variable gtk/gtkscrolledwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8d1227a97c2097edb5634ac16684a818d517968f Author: Benjamin Otte Date: Thu Oct 2 05:17:29 2014 +0200 label: Simplify rendering code Instead of drawing text for selections and links manually, use the gtk_render_background() and gtk_render_layout() functions. As a side effect, this allows shadows on selected text and links and real backgrounds (like gradients or images), too. gtk/gtklabel.c | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) commit 9744e86e0427937519d8e63f7ff3afed74de1aa0 Author: Benjamin Otte Date: Thu Oct 2 04:17:14 2014 +0200 combobox: Don't set cell view background This can be done with CSS these days. Also, these days the background of cell views is transparent, so it doesn't even have to be done. gtk/gtkcombobox.c | 53 ----------------------------------------------------- 1 file changed, 53 deletions(-) commit b547c0319a8fbce21a383c8fe1af1f4a2aca72ac Author: Benjamin Otte Date: Thu Oct 2 04:15:57 2014 +0200 entrycompletion: Remove outdated code I tried asking but nobody knew why it is necessary to set the background color of the first cell. It seems with CSS styling this is completely unnecessary. gtk/gtkentrycompletion.c | 15 --------------- 1 file changed, 15 deletions(-) commit 93aeb63f0c1d45405b5aea1d3dfe2d5d339a183b Author: Benjamin Otte Date: Thu Oct 2 03:00:39 2014 +0200 sidebar: Fix gcc warning gtk/gtksidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a0bf0a0f70b3763905dab838986851b774c02b4a Author: Benjamin Otte Date: Mon Jun 16 16:23:11 2014 +0200 themingengine: Call real API render functions No need to call the private versions anymore now that the real ones don't call into the theming engine. gtk/deprecated/gtkthemingengine.c | 50 +++++--------- gtk/deprecated/gtkthemingengineprivate.h | 32 --------- gtk/gtkrender.c | 34 +++++----- gtk/gtkrenderprivate.h | 109 +------------------------------ gtk/gtkstylecontext.c | 1 - 5 files changed, 36 insertions(+), 190 deletions(-) commit 4d9d655b4efe9fd23ad18449d3e45fb8cd4d9cf0 Author: Benjamin Otte Date: Mon Jun 16 16:17:45 2014 +0200 themingengine: Stop using it Instead, call the default theme engine's code directly. gtk/gtkrender.c | 163 +++++++------------------------------------------------- 1 file changed, 19 insertions(+), 144 deletions(-) commit 23948d6a3a40557616d32d477fa9fcf96cf603b0 Author: Benjamin Otte Date: Mon Jun 16 04:18:51 2014 +0200 themingengine: Move actual render functions to gtkrender.c GtkThemingEngine just always calls gtk_do_render_foo(engine->priv->context, ...) now. Other than that, the code is unchanged. gtk/Makefile.am | 1 + gtk/deprecated/gtkthemingengine.c | 1635 +-------------------------- gtk/deprecated/gtkthemingengineprivate.h | 3 - gtk/gtkborderimage.c | 1 + gtk/gtkcssshadowvalue.c | 5 +- gtk/gtkrender.c | 1771 +++++++++++++++++++++++++++++- gtk/gtkrenderprivate.h | 134 +++ gtk/gtkroundedboxprivate.h | 6 +- 8 files changed, 1929 insertions(+), 1627 deletions(-) commit d3c147a62da873c9460c62a475905c7216bc71b2 Author: Benjamin Otte Date: Sun Jun 15 17:57:59 2014 +0200 stylecontext: Split render functions out into gtkrender.[ch] gtk/Makefile.am | 2 + gtk/deprecated/gtkhandlebox.c | 1 + gtk/deprecated/gtkhsv.c | 1 + gtk/deprecated/gtkiconfactory.c | 1 + gtk/deprecated/gtkstyle.c | 2 +- gtk/deprecated/gtktearoffmenuitem.c | 1 + gtk/deprecated/gtktrayicon-x11.c | 1 + gtk/gtk.h | 1 + gtk/gtkaccellabel.c | 5 +- gtk/gtkcalendar.c | 1 + gtk/gtkcellarea.c | 1 + gtk/gtkcellrendererprogress.c | 3 +- gtk/gtkcheckbutton.c | 1 + gtk/gtkcoloreditor.c | 3 +- gtk/gtkeventbox.c | 6 +- gtk/gtkgrid.c | 1 + gtk/gtkinfobar.c | 1 + gtk/gtkmenubar.c | 1 + gtk/gtkmodelbutton.c | 1 + gtk/gtkrender.c | 809 ++++++++++++++++++++++++++++++++++++ gtk/gtkrender.h | 155 +++++++ gtk/gtksearchbar.c | 2 +- gtk/gtkseparator.c | 6 +- gtk/gtkstylecontext.c | 786 ----------------------------------- gtk/gtkstylecontext.h | 119 ------ gtk/gtktoolbar.c | 7 +- gtk/gtkviewport.c | 1 + 27 files changed, 1000 insertions(+), 919 deletions(-) commit 763aa4db948fd80736a26aa40819c189951d4203 Author: Jasper St. Pierre Date: Fri Aug 29 14:48:29 2014 -0700 cssshadowvalue: Move the check for blurring into its own function This makes it easier to update the check later. gtk/gtkcssshadowvalue.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit 6556e7e08de0cc9e66e83a22b4250f9d14ec4cdc Author: Jasper St. Pierre Date: Fri Aug 29 17:33:27 2014 -0700 cssshadowvalue: Rename shadow_key to original_cr_key shadow_key is a poor name for this, and we're going to add more user data keys, so rename it to something more indicative of what it's used for. gtk/gtkcssshadowvalue.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit e683e915b80e70574a9e21de087522a6c1e45f24 Author: Benjamin Otte Date: Thu Oct 2 02:23:34 2014 +0200 css: Queue resize for properties that affect clip This fixes shadows that are animated not updating the clip of the widget they are drawn on. An example of this are the buttons in the CSS shadows example in gtk-demo. Reftest included gtk/gtkcssstylepropertyimpl.c | 2 +- testsuite/reftests/Makefile.am | 4 + .../label-text-shadow-changes-modify-clip.c | 90 ++++++++++++++++++++++ .../label-text-shadow-changes-modify-clip.css | 19 +++++ .../label-text-shadow-changes-modify-clip.ref.ui | 21 +++++ .../label-text-shadow-changes-modify-clip.ui | 33 ++++++++ 6 files changed, 168 insertions(+), 1 deletion(-) commit f7ee61c8331465d418fc4914555d04401497236d Author: Benjamin Otte Date: Wed Oct 1 06:49:01 2014 +0200 css: Have finer-grained definitions for effects of CSS props This adds the GtkCssAffects enum and implements it for all style properties. So far, this is not exposed outside of the implementation file. gtk/gtkcssstylepropertyimpl.c | 194 +++++++++++++++++++++++++++++------------- gtk/gtkcsstypesprivate.h | 38 +++++++++ 2 files changed, 171 insertions(+), 61 deletions(-) commit 7afac9670bc5c0295070edc7f357ccafc2e7beec Author: Benjamin Otte Date: Wed Oct 1 06:04:19 2014 +0200 image: Implement clipping support for icon-shadow Testcase is attached. gtk/gtkimage.c | 26 ++++++++++++++++++ testsuite/reftests/Makefile.am | 3 ++ testsuite/reftests/image-icon-shadow-clipping.css | 5 ++++ .../reftests/image-icon-shadow-clipping.ref.ui | 18 ++++++++++++ testsuite/reftests/image-icon-shadow-clipping.ui | 32 ++++++++++++++++++++++ 5 files changed, 84 insertions(+) commit 7d1e79ef4b2adc31fd910ffc0e1deedefcfdd565 Author: Benjamin Otte Date: Mon Sep 29 23:10:41 2014 +0200 tests: Add a test for a performance optimisation text-shadow is too slow. Running this testcase reveals that. tests/Makefile.am | 9 ++++++ tests/animated-revealing.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) commit 202116c60c67bab7ede6cfd5627f8a6a33184301 Author: Matthias Clasen Date: Fri Oct 3 00:07:28 2014 -0400 Printing: Make the print dialog look better with bottom buttons With buttons at the bottom, things were not looking good here: no spacing, and a gray background. Add spacing, and put the buttons on the white background. gtk/resources/ui/gtkprintunixdialog.ui | 8 ++++++++ 1 file changed, 8 insertions(+) commit 5c46db1d77365e4a8574934301a1cdea4732de3c Author: Matthias Clasen Date: Thu Oct 2 23:38:58 2014 -0400 widget-factory: Add more buttons Some more button variations, found in the wild. demos/widget-factory/widget-factory.ui | 127 +++++++++++++++++++++++++++++++-- 1 file changed, 123 insertions(+), 4 deletions(-) commit cc529c242354475e2aee5a6176922ec7f989bdfc Author: Matthias Clasen Date: Thu Oct 2 23:37:38 2014 -0400 GtkRadioButton: Allow setting group more than once It turns out that GtkBuilder will sometimes set a property twice. Normally, this is harmless, but for GtkRadioButton:group, it triggered a critical. Remove that. gtk/gtkradiobutton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d5531da7f8ab13823a5d63aa7b75bc4e0c2d2371 Author: Matthias Clasen Date: Thu Oct 2 22:37:37 2014 -0400 Trivial typography improvement Use an em dash instead of -- in documentation. gtk/gtkbuilder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8495c0c7adcc3b38f6d4b43929c42ba0c4eaf13f Author: Matthias Clasen Date: Thu Oct 2 22:01:14 2014 -0400 GtkSidebar: Don't use internal API This makes it possible to copy the gtksidebar.c source into other projects, for early adopters. gtk/gtksidebar.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit db5cbce4d56450784ab43d680b5823db28139481 Author: Matthias Clasen Date: Thu Oct 2 21:59:55 2014 -0400 GtkSidebar: Fix a property type The GtkSidebar:stack was meant to be an object property of type GTK_TYPE_STACK. Make it so. gtk/gtksidebar.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 5b36bd704b79f0674018d01c5e5c461600d420fe Author: Matthias Clasen Date: Thu Oct 2 21:42:08 2014 -0400 widget-factory: Add a scale button Instead of two volume buttons, make the second one a scale button and use microphones. demos/widget-factory/widget-factory.c | 56 ++++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 10 ++++-- 2 files changed, 64 insertions(+), 2 deletions(-) commit 59637c95a6e8e51ee61334ba387062a2ce5ed49c Author: Matthias Clasen Date: Thu Oct 2 21:29:54 2014 -0400 Properly extract strings from gtkprintunixdialog.ui Since 972136803aa4f83e7, gtkprintunixdialog.ui contains non-ASCII in translatable strings. These were not properly extracted. gtk/resources/ui/gtkprintunixdialog.ui.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit b3d90fe51bb83b61b39e75ed513683ca00483d8b Author: Matthias Clasen Date: Thu Oct 2 21:28:43 2014 -0400 Make non-ASCII strings in ui files work Our extractor tool was not calling setlocale(), thus it only produced output in the C locale, ie ASCII. Oops. util/extract-strings.c | 3 +++ 1 file changed, 3 insertions(+) commit 6a214c9bcd78be3814a125d52e4d1eb3ac7d2256 Author: Matthias Clasen Date: Thu Oct 2 18:02:11 2014 -0400 GtkExpander: Fix a problem with resize-toplevel The toplevel resizing was not working properly when the content had non-trivial height-for-width behavior (such as a wrapping label). gtk/gtkexpander.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit eb88ce429c4123cd339eae91873e9d58132aa332 Author: Matthias Clasen Date: Thu Oct 2 17:57:59 2014 -0400 gtk-demo: Make the sidebar demo scroll demos/gtk-demo/sidebar.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) commit 2a615e2e458944285578e61fca3f3053a5b2f730 Author: Matthias Clasen Date: Thu Oct 2 06:50:33 2014 -0400 GtkSidebar: Scroll when needed gtk/gtksidebar.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit 7eac2bc4c346ce4401f512fdd8187d0eb9eb3e71 Author: Piotr Drąg Date: Fri Oct 3 00:00:15 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 64fea1be044ac78fcc31db282882d9234da26ade Author: Lapo Calamandrei Date: Thu Oct 2 21:16:30 2014 +0200 Adwaita: needs-attention on sidebar-item Unfortunatelly it doesn't animate (not my fault) and it just work on GtkLabel (my fault). gtk/resources/theme/Adwaita/_common.scss | 61 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 28 ++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 28 ++++++---- 3 files changed, 70 insertions(+), 47 deletions(-) commit d2838a2408e440f92410bea1f7a9c78ae055c393 Author: Lapo Calamandrei Date: Thu Oct 2 20:40:18 2014 +0200 Adwaita: selectors cleanup and some refactoring gtk/resources/theme/Adwaita/README | 2 +- gtk/resources/theme/Adwaita/_common.scss | 70 +++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 177 +++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 249 ++++++++++----------- 4 files changed, 239 insertions(+), 259 deletions(-) commit 8b5d30d4396ba0e3e0b2ff2e515d8eddb5c26849 Author: Marek Kasik Date: Mon Jul 14 17:02:13 2014 +0200 Remove redundant checks for NULL Remove checks for NULL before g_free() and g_clear_object(). Merge check for NULL, freeing of pointer and its setting to NULL by g_clear_pointer(). https://bugzilla.gnome.org/show_bug.cgi?id=733157 gdk/broadway/broadway-server.c | 6 ++---- gdk/broadway/gdkwindow-broadway.c | 7 +------ gdk/gdkdevice.c | 6 ++---- gdk/quartz/GdkQuartzView.c | 15 +++------------ gdk/quartz/gdkeventloop-quartz.c | 3 +-- gdk/quartz/gdkscreen-quartz.c | 7 +------ gdk/x11/gdkwindow-x11.c | 10 ++-------- gtk/deprecated/gtknumerableicon.c | 6 +----- gtk/deprecated/gtkthemingengine.c | 3 +-- gtk/gtkaccellabel.c | 12 ++---------- gtk/gtkbutton.c | 6 +----- gtk/gtkentry.c | 6 ++---- gtk/gtkmenu.c | 18 ++++-------------- gtk/gtkpagesetupunixdialog.c | 6 +----- modules/printbackends/cups/gtkprintbackendcups.c | 3 +-- testsuite/a11y/value.c | 3 +-- testsuite/gtk/filechooser.c | 3 +-- testsuite/gtk/filtermodel.c | 3 +-- 18 files changed, 28 insertions(+), 95 deletions(-) commit 07722ae2ddf81edb2f4623bb2aa5ea7bf0301232 Author: Matthias Clasen Date: Thu Oct 2 00:37:52 2014 -0400 GtkCellRendererAccel: Stop using deprecated API gtk/gtkcellrendereraccel.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit af4031d9fe467428e64b62032defca5721aa028f Author: Matthias Clasen Date: Thu Oct 2 00:30:52 2014 -0400 GtkFontChooserWidget: Stop using deprecated API gtk/gtkfontchooserwidget.c | 39 +++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) commit 11015a49aee52946b1c65c58fc1fd0ce64a47cc5 Author: Matthias Clasen Date: Thu Oct 2 00:19:08 2014 -0400 GtkColorEditor: Fix missing background in popups gtk/resources/ui/gtkcoloreditor.ui | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit d26c8e0536686af3b056b23eb504e28900cc5744 Author: Matthias Clasen Date: Thu Oct 2 00:11:02 2014 -0400 GtkColorEditor: Stop using deprecated API This call was not needed at all. gtk/gtkcoloreditor.c | 4 ---- 1 file changed, 4 deletions(-) commit d6a467d48ef43c299f337c0ce3dc413b3bd1b6d9 Author: Matthias Clasen Date: Thu Oct 2 00:05:43 2014 -0400 GtkFontButton: Stop using deprecated API gtk/gtkfontbutton.c | 61 ++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 44 insertions(+), 17 deletions(-) commit a2da26de04cefa871b5ab1a81fb4b946bfa42749 Author: Matthias Clasen Date: Wed Oct 1 22:45:30 2014 -0400 GtkSidebar: not a listbox anymore Applications are not expected to call GtkListBox API on a sidebar, so don't make it one. Instead, make it have a listbox. gtk/gtksidebar.c | 36 +++++++++++++++++++++++------------- gtk/gtksidebar.h | 7 +++---- 2 files changed, 26 insertions(+), 17 deletions(-) commit 7b2e526c3ab727bf8ef4c99b227a1cbd15a1368e Author: Matthias Clasen Date: Wed Oct 1 20:09:10 2014 -0400 GtkCalendar: deal better with a large allocation When allocated more than the requested height, GtkCalendar was 'falling apart'. Not only was the main part rendered at the far end of the allocation, clicking on days was broken in this scenario. Fix this by always placing the main part directly under the header and day names. https://bugzilla.gnome.org/show_bug.cgi?id=737670 gtk/gtkcalendar.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit b46cef18097c92d2999fa374121cc9ded8cfa1f5 Author: Matthias Clasen Date: Wed Oct 1 19:52:04 2014 -0400 Trivial formatting fix gtk/gtkcalendar.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 09551bf37a31c1f679cd39e4ea892aafe5bc5baf Author: Matthias Clasen Date: Wed Oct 1 19:30:12 2014 -0400 Fix a typo gtk/gtkcalendar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 52c913156fcb6d717fa7acc48ce5e9718dbc027f Author: Matthias Clasen Date: Wed Oct 1 13:17:14 2014 -0400 Don't emit a useless warning The warning may have had some value at some point, but if people uninstall large icons just to make the warning go away, it does more harm than good. So just remove it. gdk/x11/gdkwindow-x11.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 7e9372bafaeeb37dd4d8d78fff3a914731784f81 Author: Matthias Clasen Date: Wed Oct 1 07:11:43 2014 -0400 Fix fonts in context menus Context menus inherit their style from the widget they are attached to. This can have unexpected effects in particular for font, as can be seen in gedit or gnome-calculator. Prevent this by resetting the font of context-menus to the initial value. gtk/resources/theme/Adwaita/_common.scss | 4 ++++ 1 file changed, 4 insertions(+) commit d0fb80d31b2d308145d6854cb88ddba0c0a5438e Author: Matthias Clasen Date: Wed Oct 1 00:50:25 2014 -0400 Avoid compiler warnings gtk/gtkassistant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 95d76d0132c22d9ef2b21c713c3a15d9e3a9e54c Author: Matthias Clasen Date: Wed Oct 1 00:49:59 2014 -0400 Add a few missing include guards gtk/gtkapplicationwindow.h | 4 ++++ gtk/gtkstack.h | 4 ++++ gtk/gtkstackswitcher.h | 4 ++++ 3 files changed, 12 insertions(+) commit 619aeb643ff7bb9cf2d62e3b27151516ef8eb519 Author: Matthias Clasen Date: Wed Oct 1 00:45:23 2014 -0400 Provisional sidebar theming needs-attention is not handled yet, here. gtk/resources/theme/Adwaita/_common.scss | 9 +++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 23 insertions(+) commit cdd2651db054ecd6cd92c9d1ad728fff7cd7ff33 Author: Ikey Doherty Date: Sat Aug 23 17:38:42 2014 +0100 Add GtkSidebar GtkSidebar behaves internally much like GtkStackSwitcher, providing a vertical sidebar like widget. It is virtually identical in appearance to the widget currently used in GNOME Tweak Tool. This widget is connected to a GtkStack, and builds its own contents as a GtkListBox subclass, using the "title" child property to provide a consistent navigatable widget. Being a subclass of GtkListBox it benefits immediately from strong keyboard navigation, and minimal changes are required for theming. https://bugzilla.gnome.org/show_bug.cgi?id=735293 Signed-off-by: Ikey Doherty demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/sidebar.c | 77 ++++++ docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-sections.txt | 20 ++ docs/reference/gtk/gtk3.types.in | 1 + docs/reference/gtk/images/sidebar.png | Bin 0 -> 8465 bytes docs/reference/gtk/visual_index.xml | 3 + gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtksidebar.c | 499 ++++++++++++++++++++++++++++++++++ gtk/gtksidebar.h | 74 +++++ gtk/makefile.msc.in | 2 + tests/teststack.c | 13 +- 14 files changed, 693 insertions(+), 2 deletions(-) commit 3b08ba24b31702bd85901c8141d43d90fc6a2df4 Author: Jasper St. Pierre Date: Tue Sep 30 12:37:26 2014 -0600 reftests: Actually add a text-shadow to the text-shadow reftest The reftest still passes, since the code still works, but we might as well test what we claim to test. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/label-text-shadow-clipping.css | 6 ++++++ 2 files changed, 7 insertions(+) commit 91d9ae1cc4634c880ccaf825497bb14d2dc800af Author: Jasper St. Pierre Date: Tue Sep 30 12:32:47 2014 -0600 label: Don't add in the allocation to our clip again _gtk_widget_set_simple_clip already takes the allocation into account, so we don't need to do it here. gtk/gtklabel.c | 1 - 1 file changed, 1 deletion(-) commit 3829554f3afe6518b9e79f805ffe9cdec056cf00 Author: Alexandre Franke Date: Tue Sep 30 17:50:27 2014 +0000 Updated French translation po-properties/fr.po | 760 +++++++++++++++++++++++++++------------------------- 1 file changed, 392 insertions(+), 368 deletions(-) commit c1ae4a2bafaaa9fe35a0f4309435b23288abc375 Author: GNOME Translation Robot Date: Tue Sep 30 13:01:46 2014 +0000 Updated Scottish Gaelic translation po/gd.po | 599 +++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 372 insertions(+), 227 deletions(-) commit da3cb153bc3e5ea138eec5d0898b9bf458590a41 Author: Marek Černocký Date: Tue Sep 30 13:27:20 2014 +0200 Updated Czech translation po/cs.po | 277 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 148 insertions(+), 129 deletions(-) commit 563230b89d07146e127805cc8cff426722edeede Author: Marek Černocký Date: Tue Sep 30 13:27:14 2014 +0200 Updated Czech translation po-properties/cs.po | 590 +++++++++++++++++++++++++--------------------------- 1 file changed, 281 insertions(+), 309 deletions(-) commit 4bbcc4a397264a0ed22f45649ed874fc3e350e08 Author: Yosef Or Boczko Date: Tue Sep 30 13:58:17 2014 +0300 Updated Hebrew translation po/he.po | 476 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 301 insertions(+), 175 deletions(-) commit 64fb9a6eb2a8ed575648dce91f938716aa4b0cdd Author: Chun-wei Fan Date: Tue Sep 30 13:00:32 2014 +0800 Update README.txt for MSVC Builds Tell people that they need to download and install the Adwaita icon theme, by following the instructions given on https://live.gnome.org/GTK%2B/Win32/MSVCCompilationOfGTKStack. Also tell people they can either use IJG JPEG or libjpeg-turbo for non-GDI+ builds of GDK-Pixbuf. build/win32/vs10/README.txt | 9 +++++++-- build/win32/vs9/README.txt | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) commit 558c6ea6b5a0711eecc3dda3bc1141ba2f896613 Author: Matthias Clasen Date: Tue Sep 30 00:55:03 2014 -0400 Better typography for ppd paper names These often contain a x string, which we can display nicer by rendering it as ×. gtk/gtkpapersize.c | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) commit 63efdca223812936683b9d3c3ed7ef3edb2edf9a Author: Matthias Clasen Date: Tue Sep 30 00:07:22 2014 -0400 Deprecate GtkWidget override APIs This is better done with css and style classes nowadays. gtk/gtkwidget.c | 10 ++++++++++ gtk/gtkwidget.h | 10 +++++----- 2 files changed, 15 insertions(+), 5 deletions(-) commit 61b636b8a43ae08e3c4bf0572a99a91bea466ac9 Author: Matthias Clasen Date: Tue Sep 30 00:03:25 2014 -0400 Add 3.16 deprecation macros too gdk/gdkversionmacros.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit aa3020a39ec2428b6a44e309d64246aa9b8342f9 Author: Matthias Clasen Date: Sat Sep 27 00:20:50 2014 -0400 GtkContainer: Support focus chain in GtkBuilder This adds support for a element which can be used to specify a custom focus order for the children of a container. https://bugzilla.gnome.org/show_bug.cgi?id=582799 gtk/gtkcontainer.c | 127 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 119 insertions(+), 8 deletions(-) commit 6d3c61856b9897cf2435512fc92a6adc510a3577 Author: Matthias Clasen Date: Mon Sep 29 23:55:13 2014 -0400 GtkButton: Use GtkLabel:xalign gtk/gtkbutton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 811c4c699fefc0110907d2cf2d905bc0f1a0b772 Author: Matthias Clasen Date: Mon Sep 29 23:44:46 2014 -0400 GtkAssistant: Use GtkLabel:xalign gtk/gtkassistant.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit 059e33eceae38725151174dc39665706e2dd6862 Author: Matthias Clasen Date: Mon Sep 29 23:54:13 2014 -0400 Keep GtkMisc:xalign working for labels Set the new label properties when gtk_misc_set_alignment is used, to keep things working. gtk/deprecated/gtkmisc.c | 7 +++++++ 1 file changed, 7 insertions(+) commit a43e0177cfbbdeb80de70e96972965fe7425498d Author: Matthias Clasen Date: Mon Sep 29 23:27:38 2014 -0400 Revert "Undreprecate GtkMisc::x/yalign for now" This reverts commit 29eae57be4d864de6868cc229b18d801dd67ee8e. We have GtkLabel:xalign now, so deprecate the GtkMisc property again. gtk/deprecated/gtkmisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d39424fc1c0f7d876ccd9632f3b16d7a67aed290 Author: Matthias Clasen Date: Mon Sep 15 23:17:11 2014 -0400 GtkLabel: add x/yalign properties Since it turns out that x/yalign can't be quite equivalently replaced by h/valign, bring them back as label properties, so we can eventually get rid of GtkMisc. https://bugzilla.gnome.org/show_bug.cgi?id=735841 docs/reference/gtk/gtk3-sections.txt | 4 + gtk/gtklabel.c | 151 ++++++++++++++++++++++++++++++++++- gtk/gtklabel.h | 13 +++ 3 files changed, 165 insertions(+), 3 deletions(-) commit c2330e7fd167618e9ec2c7f8137e545e328805f1 Author: Matthias Clasen Date: Mon Sep 29 23:33:33 2014 -0400 Add 3.16 version macros gdk/gdkversionmacros.h.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 7182ae4f45a7a1f378dbd3c462a5a018d8a5656d Author: Matthias Clasen Date: Fri Aug 22 11:10:39 2014 -0400 printing: Better typography Use U+201C/U+201D for quoting. https://bugzilla.gnome.org/show_bug.cgi?id=735192 modules/printbackends/cups/gtkprintbackendcups.c | 32 ++++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) commit 0192f3fe2d390c16d8c6c842930fec1babf94e1e Author: Matthias Clasen Date: Fri Aug 22 11:10:03 2014 -0400 printing: Better typography Use U+2013 for ranges. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/resources/ui/gtkprintunixdialog.ui | 6 +++--- gtk/resources/ui/gtkprintunixdialog.ui.h | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) commit 05a90067158402855b6fa9f5c1ebec11a99700cb Author: Matthias Clasen Date: Fri Aug 22 11:09:21 2014 -0400 inspector: Better typography Use U+201C/U+201D for quoting. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/inspector/css-editor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0403d94d43edadc3776d19c9f74a3e0ab6d4e227 Author: Matthias Clasen Date: Fri Aug 22 11:08:52 2014 -0400 GtkRecentChooserMenu: Better typography Avoid `' quoting. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/gtkrecentchoosermenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4866f0cec44e105532b854ef131cdff7f676fd47 Author: Matthias Clasen Date: Fri Aug 22 11:07:41 2014 -0400 GtkPlacesSidebar: Be consistent in messages Always quote drive/volume names. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/gtkplacessidebar.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit faa19094748f7a7bbae183fc82fd7c0c4f899a3c Author: Matthias Clasen Date: Fri Aug 22 11:07:13 2014 -0400 GtkFileChooserWidget: Better typography No double space after . https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3fc0c2a8eadf4473264bdef987790899566c9f92 Author: Matthias Clasen Date: Fri Aug 22 11:06:47 2014 -0400 GtkVolumeButton: Better typography Use a small space before %. This matches what we do for percentages elsewhere. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/gtkvolumebutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 67b4f8ea75e5b0a281099239e12f64b42c1cf2fb Author: Matthias Clasen Date: Fri Aug 22 11:06:08 2014 -0400 GtkProgressBar: Mark the default text for translation At the same time, use a small space before %. This matches what is done in GtkCellRendererProgress. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/gtkprogressbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b3e1bb165457b90573aab6b635599de6ffcb4682 Author: Matthias Clasen Date: Fri Aug 22 11:05:20 2014 -0400 Progress widgets: Better typography Use a small space before %. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/gtkcellrendererprogress.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e3568419579af7a8682dd7e4065a47be6e6a370e Author: Matthias Clasen Date: Fri Aug 22 11:04:07 2014 -0400 GtkBuilder: Improve error messages No `' looks just terrible. For quoting in non-UI contexts, we prefer either '' or "". https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/gtkbuilder-menus.c | 2 +- gtk/gtkbuilderparser.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) commit c7930417b4d7912753a64f4e61186599f22610ad Author: Matthias Clasen Date: Fri Aug 22 11:03:07 2014 -0400 GtkColorSelection: Better typography Use U+201C/U+201D for quoting, and use U+2019 instead of apostrophe. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/deprecated/gtkcolorsel.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 9b5e70c9c29be42243437f395da574180efd428a Author: Matthias Clasen Date: Fri Aug 22 11:02:31 2014 -0400 Broadway: Improve formatting of an error message https://bugzilla.gnome.org/show_bug.cgi?id=735192 gdk/broadway/gdkbroadway-server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 60f0445233631c0d3428ec6dca4b38e3a8fcf8f6 Author: Matthias Clasen Date: Fri Aug 22 10:15:44 2014 -0400 Printing: Better typography Use U+007D MULTPLICATION SIGN for dimensions. https://bugzilla.gnome.org/show_bug.cgi?id=735192 modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 972136803aa4f83e7297b47855b1d5b2c7735f4b Author: Matthias Clasen Date: Fri Aug 22 10:06:49 2014 -0400 GtkPrintUnixDialog: Better typography Use U+2236 RATIO instead of ':' for times. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/resources/ui/gtkprintunixdialog.ui | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 60c7f223101456f2e750f91461054fa1ac2b847d Author: Matthias Clasen Date: Thu Aug 21 17:03:00 2014 -0400 Use better typography for paper names Use U+00D7 MULTIPLICATION SIGN instead of a plain old x in paper names, following https://wiki.gnome.org/Design/OS/Typography. This is a string change. https://bugzilla.gnome.org/show_bug.cgi?id=735192 gtk/paper_names.c | 86 ++++----- gtk/paper_names_offsets.c | 480 +++++++++++++++++++++++----------------------- 2 files changed, 287 insertions(+), 279 deletions(-) commit 5cd7a5282e762579b74891d34931a9c526cc5249 Author: Matthias Clasen Date: Mon Sep 29 22:14:49 2014 -0400 Bump version configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 09da977dc92ad63ded1a2323a41612302c7d19cf Author: Matthias Clasen Date: Mon Sep 29 21:37:36 2014 -0400 3.14.1 NEWS | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit 5720cf8144077a797cbc357c633ac9ddf040a267 Author: Matthias Clasen Date: Mon Sep 29 21:28:25 2014 -0400 Update file lists We were forgetting to include some theme files. gtk/Makefile.am | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) commit de96cea7329fb0a9877ba9339207bd414d6e9331 Author: Jesse van den Kieboom Date: Sat Aug 23 10:59:29 2014 +0200 quartz: Add availability check for >= 10.7 API This adds both a compile time check for the SDK version being compiled against, as well as a runtime check in the case the resulting binary is run against an older SDK. https://bugzilla.gnome.org/show_bug.cgi?id=735054 gtk/gtkapplication-quartz-menu.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 74e71495c2f69d197cfa3e3c594852c2e5051bd3 Author: Lapo Calamandrei Date: Mon Sep 29 20:11:49 2014 +0200 Adwaita: draw the trough on progressbars in treeviews See https://bugzilla.gnome.org/show_bug.cgi?id=737517 gtk/resources/theme/Adwaita/_common.scss | 81 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 36 +++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 43 +++++++----- 3 files changed, 93 insertions(+), 67 deletions(-) commit 7e1673d0b757db8e7329f858f5b25301ed10d3ba Author: Lapo Calamandrei Date: Fri Sep 26 17:05:17 2014 +0200 Adwaita: make links readable in the dark variant And fix the messy style we have for *:link in the process. https://bugzilla.gnome.org/show_bug.cgi?id=737386 gtk/resources/theme/Adwaita/_colors.scss | 5 ++++- gtk/resources/theme/Adwaita/_common.scss | 25 +++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 ++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 22 +++++++++++++------ 4 files changed, 52 insertions(+), 24 deletions(-) commit 695862797c607819da7c3aeba0424f98c089fc08 Author: Daniel Mustieles Date: Mon Sep 29 19:22:20 2014 +0200 Updated Spanish translation po-properties/es.po | 1835 ++++++++++++++++++++++++++------------------------- 1 file changed, 932 insertions(+), 903 deletions(-) commit 3985d69735d74c66522054e1ded1fd3473d862f8 Author: Carlos Garnacho Date: Mon Sep 29 15:35:20 2014 +0200 gesture: Document pitfalls on foreign gesture state changes Add some docs/example about the possible event handling ordering issues that may appear on GtkGesture::begin between multiple gesture groups. Mostly relevant for state changes. gtk/gtkgesture.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit 30149dabcf21693c2a29c5c3d669b4a006062e1e Author: Jakub Steiner Date: Mon Sep 29 14:07:10 2014 +0200 Adwaita: provide simple guidelines for theming - Some simple instructions for future SASS/ruby lovers gtk/resources/theme/Adwaita/README | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit 088206b26738a928e75924ed750e75dc6816275a Author: Jakub Steiner Date: Fri Sep 26 16:33:20 2014 +0200 depend on particular version of sass gtk/resources/theme/Adwaita/Gemfile | 1 + gtk/resources/theme/Adwaita/parse-sass.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit d05730db490641156ed46046dbd7099edd830004 Author: Rui Matos Date: Thu Dec 5 21:35:36 2013 +0100 GtkFontButton: Make sure the dialog isn't destroyed on delete-event The remaining code assumes that the dialog doesn't get destroyed, but it actually does on delete-event. In particular, the filter function and the preview text are lost as soon as the dialog is created and thus when we create a new dialog we don't have those properties to set on it anymore. https://bugzilla.gnome.org/show_bug.cgi?id=719936 gtk/gtkfontbutton.c | 3 +++ 1 file changed, 3 insertions(+) commit dce69904d8451f2f8f3c827bdf676d2eb08d898a Author: Pierre-Yves Luyten Date: Wed Aug 27 23:14:15 2014 +0200 gdk_rgba_parse : do not segfault on null string gdk/gdkrgba.c | 3 +++ 1 file changed, 3 insertions(+) commit 459bdbb143d86ccf7cb4a20386f6e51c7f2b20ff Author: Matthias Clasen Date: Sun Sep 28 11:42:28 2014 -0400 Revert "Make Ctrl-u and Ctrl-k work in GtkTextView too" This reverts commit 5744bb3cf16cabfe4ee4677c7250ee8f90550a37. This causes conflicts with already existing shortcuts e.g. in gedit. gtk/gtktextview.c | 9 --------- 1 file changed, 9 deletions(-) commit 153ec7be566e8b03b3766be16fbfe98d50fce1e6 Author: Rūdolfs Mazurs Date: Sun Sep 28 12:35:00 2014 +0300 Updated Latvian translation po-properties/lv.po | 594 ++++++++++++++++++++++++++-------------------------- po/lv.po | 265 ++++++++++------------- 2 files changed, 412 insertions(+), 447 deletions(-) commit 89c0522c458f9002156cea76f324f799f18ffd21 Author: Tom Tryfonidis Date: Sat Sep 27 13:24:52 2014 +0300 Updated Greek translation po-properties/el.po | 986 +++++++++++++++++++++++++++------------------------- 1 file changed, 505 insertions(+), 481 deletions(-) commit 4a38330a9096118a0877dba39359f6bf2f8d6e1d Author: Matthias Clasen Date: Fri Sep 26 23:29:38 2014 -0400 Add a test for GtkBuilder typename-mangling This test makes sure that out heuristic for finding get_type functions works as expected. https://bugzilla.gnome.org/show_bug.cgi?id=635258 testsuite/gtk/Makefile.am | 1 + testsuite/gtk/typename.c | 83 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) commit f35dff334fc9e52582fd49d47440f4b1f0e7e91b Author: Matthias Clasen Date: Fri Sep 26 23:28:55 2014 -0400 Factor out a function Factor out the typename-to-get-type mangling as a separate function, for easier testing. Also fix some cases where it doesn't, currently, like GString -> g_string_get_type and GdkRGB -> gdk_rgb_get_type gtk/gtkbuilder.c | 41 ++++++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 17 deletions(-) commit 0c2f3402c3214ae8daa37a3aa350db31ed5e5ddc Author: Matthias Clasen Date: Fri Sep 26 22:37:21 2014 -0400 GtkBuilder: Mention more error domains This has been requested in https://bugzilla.gnome.org/show_bug.cgi?id=708206 gtk/gtkbuilder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit cfd2d6d2e77c930f3d13d3eeba4425b271e506df Author: Matthias Clasen Date: Fri Sep 26 22:30:20 2014 -0400 Typo fix gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e586dd2571a0ba6b97cd5667b9fbcd2ef0deb68e Author: Matthias Clasen Date: Fri Sep 26 22:21:11 2014 -0400 GtkRange: Fix an event propagation issue The scale in the selectable listbox in page 2 of gtk3-widget-factory has the flaw that the row is getting selected even when one only interacts with the scale - unlike e.g. the checkbutton and button further down in the listbox. The problem is that GtkRange is trying to claim the sequence for the drag gesture from the ::pressed handler of a multipress gesture. Since the drag gesture hasn't seen the sequence at this point, that is ineffective. The fix here is to rearrange the gestures so that the multipress gesture sees the sequence before the drag gesture, and then claim the sequence from the ::drag-begin handler. gtk/gtkrange.c | 38 ++++++++++++++++++++++++++++++-------- 1 file changed, 30 insertions(+), 8 deletions(-) commit fd49340edb2f3930c311edc41744c031373a57f3 Author: Matthias Clasen Date: Fri Sep 26 19:24:00 2014 -0400 Trivial: reword docs a bit gtk/gtkgesture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b333d5ea4e029d150ac1db169e53e87d2dda8dbb Author: Matthias Clasen Date: Fri Sep 26 19:18:57 2014 -0400 GtkRange: claim sequence when popping up menu This was clearly an oversight - the function claims the sequence at the end, and for the popup menu case, we have an early exit that misses this. gtk/gtkrange.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 92e52fd18883190ba4b6bf712471172658629f8f Author: Matthias Clasen Date: Fri Sep 26 18:08:46 2014 -0400 Add a style class to fullscreened windows This will let us tweak stuff that gets shown in fullscreen windows, https://bugzilla.gnome.org/show_bug.cgi?id=654051 gtk/gtkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 8e1878bc320cecffedaa8747db18ca042461002e Author: Matthias Clasen Date: Fri Sep 26 18:00:19 2014 -0400 Fix a memory leak in gtk_test_find_label Pointed out by Garrett Regier in https://bugzilla.gnome.org/show_bug.cgi?id=737439 gtk/gtktestutils.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 5744bb3cf16cabfe4ee4677c7250ee8f90550a37 Author: Matthias Clasen Date: Fri Sep 26 17:53:07 2014 -0400 Make Ctrl-u and Ctrl-k work in GtkTextView too It doesn't make sense to have them work in entries, but not here. gtk/gtktextview.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 5da91504da39fa13ee1937cc82ec6d3faa7a8522 Author: Matthias Clasen Date: Fri Sep 26 11:15:25 2014 -0400 inspector: Drop an unused variable gtk/inspector/prop-editor.c | 1 - 1 file changed, 1 deletion(-) commit 423868b408e0997af9e9af6a3ae5bb1ff50a0965 Author: Matthias Clasen Date: Fri Sep 26 11:14:28 2014 -0400 entry: Revisit Ctrl-u one more time Add a Ctrl-k binding too, and make them match their traditional commandline meaning or 'erase line to the beginning/end'. gtk/gtkentry.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 414bc202e78d7bbf976303ff81eae1fc6a09f659 Author: Matthias Clasen Date: Fri Sep 26 10:29:10 2014 -0400 GtkEntry: Add a key binding for clearing the entry Ctrl-u is a fine, well-established keybinding for this purpose, lets just use it. gtk/gtkentry.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit e7bd73f2b0db50c00ef390b756c6597674d7b473 Author: Matthias Clasen Date: Fri Sep 26 09:49:47 2014 -0400 inspector: Simplify populating the tree No need to loop toplevels in two places. gtk/inspector/inspect-button.c | 3 --- gtk/inspector/widget-tree.c | 5 +++-- gtk/inspector/window.c | 28 +++------------------------- 3 files changed, 6 insertions(+), 30 deletions(-) commit 2cb31edf6fdb81850ebed9fb755e7c336f4708c9 Author: Matthias Clasen Date: Fri Sep 26 09:43:21 2014 -0400 inspector: Show the warning dialog without delay The delay was a mistaken attempt to work around a problem that is now better understood, see https://bugzilla.gnome.org/show_bug.cgi?id=735338 gtk/gtkwindow.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 3214122fbde38c3e026f4461ea8fd2cdaa4a4402 Author: Matthias Clasen Date: Fri Sep 26 09:40:30 2014 -0400 Remove some redundant code No need to check the same widget twice in a row for being a window. gtk/gtkmain.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit 3b62f2f01da84d78905f134cd0547a898eb236ee Author: Matthias Clasen Date: Fri Sep 26 09:37:28 2014 -0400 GtkWindow: improve the inspector keybinding Binding signals can return a boolean indicating whether they handled the event. Use that here and return FALSE if the inspector keybinding is disabled. gtk/gtkwindow.c | 14 +++++++++----- gtk/gtkwindow.h | 2 +- 2 files changed, 10 insertions(+), 6 deletions(-) commit eea2e1c6319d79bbfc53c6f5c38aaf99a9501009 Author: Piotr Drąg Date: Fri Sep 26 12:18:29 2014 +0200 Updated Polish translation po-properties/pl.po | 782 +++++++++++++++++++++++++++------------------------- 1 file changed, 403 insertions(+), 379 deletions(-) commit 6ce24d82d6040e762d46f0f5409fa36e99ff303b Author: Matthias Clasen Date: Thu Sep 25 23:57:34 2014 -0400 gtk-demo: Don't create 2 main windows Loading a builder file with a window leaves a ghost behind, since windows need to be explicitly destroyed. Avoid that by using gtk_builder_add_objects_from_resource. demos/gtk-demo/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 513ce6135a0459abac3a6920f6b0bf4fe355f13f Author: Andika Triwidada Date: Fri Sep 26 03:12:08 2014 +0000 Updated Indonesian translation po-properties/id.po | 782 +++++++++++++++++++++++++++------------------------- 1 file changed, 403 insertions(+), 379 deletions(-) commit 1041f93f7ff95f603260d4edf41bc372697d4206 Author: Matthias Clasen Date: Thu Sep 25 23:05:15 2014 -0400 inspector: life-cycle fixes When closing the inspector before the main window, we must take care to sever all signal connections and weak refs, otherwise things will go bad when the window is closed later. gtk/inspector/classes-list.c | 28 ++++++++++++++++++++++------ gtk/inspector/css-editor.c | 43 ++++++++++++++++++++++++++++++++++++++++--- gtk/inspector/prop-list.c | 10 +++++----- gtk/inspector/widget-tree.c | 6 +++--- 4 files changed, 70 insertions(+), 17 deletions(-) commit ed5f6d4333bf152072c1e6c7826185f973dba2cd Author: Eric Le Bihan Date: Thu Sep 25 10:11:38 2014 +0200 Fix testgtk.c when building for Wayland. Fix wrong usage of GDK_WINDOWING_WAYLAND instead of GDK_WINDOWING_X11 in test/testgtk.c. Signed-off-by: Eric Le Bihan https://bugzilla.gnome.org/show_bug.cgi?id=737363 tests/testgtk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d17fd81d9b631acf76273b9dca2700250cbbe096 Author: Carlos Garnacho Date: Thu Sep 25 15:24:46 2014 +0200 button: Fix ::clicked emission on touchscreens sending pointer events When GtkGestureMultiPress::released happens, in_button should be unset after emitting GtkButton::released, whose default implementation uses it. Moreover, in_button should only be unset there for real touch events, not guaranteed to trigger crossing events, as opposed to every pointer/touch events from touchscreens. https://bugzilla.gnome.org/show_bug.cgi?id=737297 gtk/gtkbutton.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit fcec9b98127cf7dcb63be475490f095db1bc6faa Author: Matthias Clasen Date: Thu Sep 25 01:26:06 2014 -0400 Use titlebar action settings for CSD windows Instead of hardcoding these actions, consult the settings. Note that not all of the actions supported by gnome-shell are implemented here, only maximize, minimize, lower, and menu. https://bugzilla.gnome.org/show_bug.cgi?id=729782 gtk/gtkwindow.c | 45 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 34 insertions(+), 11 deletions(-) commit d20fdd18eb334ed8aea607dfc91746c4660cd4ca Author: Matthias Clasen Date: Thu Sep 25 00:47:33 2014 -0400 Factor out titlebar click actions So they can be made configurable. https://bugzilla.gnome.org/show_bug.cgi?id=729782 gtk/gtkwindow.c | 43 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 34 insertions(+), 9 deletions(-) commit 6604f002366eba2d659afa2e1b72c4ff0d5148c6 Author: Matthias Clasen Date: Thu Sep 25 01:25:49 2014 -0400 Implement titlebar action settings for Wayland https://bugzilla.gnome.org/show_bug.cgi?id=729782 gdk/wayland/gdkscreen-wayland.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 69a44ee9efc6ab7323cc42a89217b90790a0f197 Author: Matthias Clasen Date: Thu Sep 25 01:25:25 2014 -0400 Implement titlebar action settings for X11 https://bugzilla.gnome.org/show_bug.cgi?id=729782 gdk/x11/gdksettings.c | 3 +++ 1 file changed, 3 insertions(+) commit 1d8a1a04f6c422a5668fee0d9069e973b921bd38 Author: Matthias Clasen Date: Thu Sep 25 01:24:44 2014 -0400 Add settings for titlebar actions These match the GSettings that mutter/metacity/gnome-shell have for this. We change the default for the middle-click action to none, since lower is just a terrible default. We're slightly bending the rules here, since we're adding new settings after .0, but a) it is just barely after .0, and b) settings are not really application API. https://bugzilla.gnome.org/show_bug.cgi?id=729782 gtk/gtksettings.c | 63 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) commit 26f4c05db33ad49d05af9446a32695141e39c368 Author: Balázs Úr Date: Thu Sep 25 16:00:08 2014 +0000 Updated Hungarian translation po/hu.po | 237 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 99 insertions(+), 138 deletions(-) commit c35d1ed0bd5b74c0c51721d6bafa2f8747b2a896 Author: Stas Solovey Date: Thu Sep 25 11:55:56 2014 +0000 Updated Russian translation po/ru.po | 93 +++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 54 insertions(+), 39 deletions(-) commit daa22adf8a72113542c744520d9c5c90b16ff2c7 Author: Мирослав Николић Date: Thu Sep 25 09:46:30 2014 +0200 Updated Serbian translation po/sr.po | 1972 ++++++++++++++++++++++++++++++++++---------------------- po/sr@latin.po | 1972 ++++++++++++++++++++++++++++++++++---------------------- 2 files changed, 2402 insertions(+), 1542 deletions(-) commit 96fd15454b9bf95524ab6b61c64e6e257b10e9e9 Author: Matthias Clasen Date: Wed Sep 24 23:33:23 2014 -0400 Make GtkModelButton work with touch Some recent refactoring changed things so that in_button is no longer TRUE when released() is called for touch events. As a minimal fix, let GtkButton do more of the work by chaining up to its pressed and released handlers, which know how to handle touch events. This could be further improved by leaving more of the state handling to GtkButton, like it was done for GtkToggleButton. gtk/gtkmodelbutton.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) commit 4f76f18b9f74bbeb997d49d2ae2396b7762e9bf1 Author: Matthias Clasen Date: Wed Sep 24 20:34:16 2014 -0400 Improve workarea documentation Worth mentioning that workarea may not exist, and that we return the full monitor geometry in that case. gdk/gdkscreen.c | 4 ++++ 1 file changed, 4 insertions(+) commit 46ff5ef6ce71322b85f05655617280c0b25ec7f6 Author: Matthias Clasen Date: Wed Sep 24 20:20:00 2014 -0400 x11: Neuter workarea in fullscreen scenarios If we have a fullscreen window that covers a monitor, desktop chrome is not relevant for placing of menus and other popups. Therefore, return the full monitor geometry instead of the workarea in this case. https://bugzilla.gnome.org/show_bug.cgi?id=737251 gdk/x11/gdkscreen-x11.c | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) commit c0685c0f58639849d11d69d3501270a4c9e27f48 Author: Matthias Clasen Date: Wed Sep 24 19:50:28 2014 -0400 Fix comment typo gtk/gtkmenu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d7b3fe7d33618d2d8c9de393e1a5215814948810 Author: Мирослав Николић Date: Wed Sep 24 22:08:31 2014 +0200 Updated Serbian translation po-properties/sr.po | 3789 +++++++++++++++++++++++---------------------- po-properties/sr@latin.po | 3787 ++++++++++++++++++++++---------------------- 2 files changed, 3841 insertions(+), 3735 deletions(-) commit 8c498b86e6945f39a932f1a4ad6fb8202224d8e0 Author: Alexandre Franke Date: Wed Sep 24 13:56:58 2014 +0000 Updated French translation po/fr.po | 72 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 28 deletions(-) commit d48f53b938595c06a1f1a25ba40a826950ecf3b6 Author: Krishnababu Krothapalli Date: Tue Sep 23 23:19:49 2014 +0000 Updated Telugu translation po/te.po | 280 ++++++++++++--------------------------------------------------- 1 file changed, 54 insertions(+), 226 deletions(-) commit c5934f537a937115c96ac6247de5b2b24e453fce Author: Daniel Mustieles Date: Tue Sep 23 19:45:10 2014 +0200 Updated Spanish translation po/es.po | 172 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 96 insertions(+), 76 deletions(-) commit 0a1dae816e3e8bca643717cb57d37e98cc4b9e96 Author: Andika Triwidada Date: Tue Sep 23 17:22:35 2014 +0000 Updated Indonesian translation po/id.po | 174 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 95 insertions(+), 79 deletions(-) commit b89217dd52dd1e7da6b0a86081b4433b6c7c5b24 Author: Krishnababu Krothapalli Date: Tue Sep 23 16:39:03 2014 +0000 Updated Telugu translation po/te.po | 7396 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 4343 insertions(+), 3053 deletions(-) commit 385f1b7eb8694bc5dbaf47f0fcc8220cf0ea55c1 Author: Praveen Illa Date: Tue Sep 23 16:37:33 2014 +0000 Updated Telugu translation po/te.po | 644 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 281 insertions(+), 363 deletions(-) commit 7a81aaf3c88a7c0cc4a7eaf8b863dfbc3f76a3b0 Author: Matthias Clasen Date: Tue Sep 23 11:22:12 2014 -0400 GtkSwitch: Use gtk_widget_add_tick_callback This api automatically takes care of dealing with disappearing frame clocks, which we currently forget to and pay with crashes. gtk/gtkswitch.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 51ef798251a341c135038c903b8b49e5aafcba38 Author: Yosef Or Boczko Date: Tue Sep 23 17:22:25 2014 +0300 Updated Hebrew translation po/he.po | 74 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 29 deletions(-) commit 5350d2bd82de2cb57b3e37643eb982cac55e7b0b Author: Wolfgang Stöggl Date: Tue Sep 23 12:13:42 2014 +0000 Updated German translation po/de.po | 85 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 51 insertions(+), 34 deletions(-) commit ef217deda2018d1f4e8492907fa5413b5c2edaab Author: Shantha kumar Date: Tue Sep 23 12:04:41 2014 +0000 Updated Tamil translation po-properties/ta.po | 6124 +++++++++++++++++++++++++++++---------------------- 1 file changed, 3443 insertions(+), 2681 deletions(-) commit 341b171ee8d78ce23e9f002ca01fd4d403c9e383 Author: Shantha kumar Date: Tue Sep 23 11:10:03 2014 +0000 Updated Tamil translation po/ta.po | 177 ++++++++++++++++++++------------------------------------------- 1 file changed, 55 insertions(+), 122 deletions(-) commit d7a17459dbf476f340e6b84a178bffcdd5d059b3 Author: Rajesh Ranjan Date: Tue Sep 23 11:06:51 2014 +0000 Updated Hindi translation po/hi.po | 264 +++++++++++++-------------------------------------------------- 1 file changed, 55 insertions(+), 209 deletions(-) commit b969a463ef62fee8a518c7ad7233ef6b77c2450e Author: GNOME Translation Robot Date: Tue Sep 23 11:06:15 2014 +0000 Updated Scottish Gaelic translation po/gd.po | 1620 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1033 insertions(+), 587 deletions(-) commit 569a19c20978a5c4c3f73ad601d8309e194d1297 Author: Rajesh Ranjan Date: Tue Sep 23 11:04:41 2014 +0000 Updated Hindi translation po/hi.po | 32 ++++++++++++++++++-------------- 1 file changed, 18 insertions(+), 14 deletions(-) commit 96065db38db95695b507a262f1a4f1f69be91647 Author: Chun-wei Fan Date: Tue Sep 23 19:02:51 2014 +0800 Fix MSVC 2010+ Build for Icon Browser A needed include path was missed, make up for that. build/win32/vs10/gtk3-icon-browser.vcxproj | 4 ++++ 1 file changed, 4 insertions(+) commit 8e508f8bd98184e03c2b754f3e1d9debd8c4b9e5 Author: Chun-wei Fan Date: Tue Sep 23 18:54:34 2014 +0800 MSVC Builds: Build and Install gtk3-icon-browser Add the icon browser demo to the Visual Studio projects, and "install" it as well. build/win32/vs10/Makefile.am | 2 + build/win32/vs10/gtk+.sln | 18 +++ build/win32/vs10/gtk-install.props | 2 +- build/win32/vs10/gtk3-icon-browser.vcxproj | 176 ++++++++++++++++++++ build/win32/vs10/gtk3-icon-browser.vcxproj.filters | 23 +++ build/win32/vs10/install.vcxproj | 4 + build/win32/vs11/Makefile.am | 2 + build/win32/vs12/Makefile.am | 2 + build/win32/vs9/Makefile.am | 1 + build/win32/vs9/gtk+.sln | 23 +++ build/win32/vs9/gtk3-icon-browser.vcproj | 179 +++++++++++++++++++++ 11 files changed, 431 insertions(+), 1 deletion(-) commit e7f4bae072973ee21ad2ca4d20ee98fe29af2ce1 Author: GNOME Translation Robot Date: Tue Sep 23 10:36:05 2014 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 1992 ++++++++++++++++++++++++--------------------------- 1 file changed, 956 insertions(+), 1036 deletions(-) commit 9a5afff6e619a6653055d619be5f8bd3bf99d8ad Author: Tom Tryfonidis Date: Tue Sep 23 10:16:15 2014 +0300 Updated Greek translation po/el.po | 74 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 45 insertions(+), 29 deletions(-) commit 0aea638785834a625666fbfb841418ce18dd647c Author: Marek Černocký Date: Tue Sep 23 07:12:10 2014 +0200 Updated Czech translation po/cs.po | 127 ++++++++++++++++++++++----------------------------------------- 1 file changed, 45 insertions(+), 82 deletions(-) commit 30de13d70e13dcfad1680d8b8752da2ba13078a3 Author: Shankar Prasad Date: Tue Sep 23 04:49:19 2014 +0000 Updated Kannada translation po-properties/kn.po | 7046 +++++++++++++++++++++++++++++---------------------- 1 file changed, 3984 insertions(+), 3062 deletions(-) commit 62c1fc82a2cc03f28a84e4e28c91d8f198a6f961 Author: Shankar Prasad Date: Tue Sep 23 04:46:17 2014 +0000 Updated Kannada translation po/kn.po | 305 ++++++++++----------------------------------------------------- 1 file changed, 48 insertions(+), 257 deletions(-) commit c87c5cd0ba79ec652617dfe282b46fe94e5854c9 Author: Jehan Date: Fri Aug 15 19:58:11 2014 +0000 win32: provide an implementation for gdk_test_simulate_key(). https://bugzilla.gnome.org/show_bug.cgi?id=734879 gdk/win32/gdktestutils-win32.c | 79 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 78 insertions(+), 1 deletion(-) commit 0285a255bc6692a2869f95776846a2c6f461fcea Author: Carlos Garnacho Date: Mon Sep 15 14:05:43 2014 +0200 popover: Don't run full dispose() when unmanaging the widget A popover can go unmanaged for 2 reasons, when the widget it points to gets destroyed, or transitionally in gtk_popover_set_relative_to(). In both of these cases it makes sense to only unset popover information about the previous widget managing it, if the popover is meant to survive the unmanaging through extra refs. Also, the focus widget prior to a modal popover being shown is considered information about the relative_to widget, unset it on gtk_popover_update_relative_to() with the rest. https://bugzilla.gnome.org/show_bug.cgi?id=736193 gtk/gtkpopover.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6b7b55f9b2b9eb7e05f68e932f9c804cb7ada412 Author: Carlos Garnacho Date: Tue Sep 16 21:19:40 2014 +0200 gtkwindow: run ::event and specific handlers for EWMH action triggering events This gives an opportunity for implementations to handle these events differently, instead of hardcoding the WM-triggering behavior. gtk_window_event() only forwards events for WM management if the event widget is not the window (ie. caught when bubbling), so is safe to be called here without triggering gtk_window_handle_wm_event() twice. This commit is an adaption to master of https://bugzilla.gnome.org/show_bug.cgi?id=736702#c1 by Cosimo Cecchi. gtk/gtkwindow.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit f96437317b0d3ae4d9b7ede29b239d3bbead6580 Author: Carlos Garnacho Date: Tue Sep 16 17:14:09 2014 +0200 gdkwindow: check grab window and children on get_pointer_window() If !owner_events, the pointer window has been usually set to NULL if the pointer fell outside the grabbing widget, but it was not being checked that the pointer_window is actually a child of the grab window, in which case it should be obtained as if ungrabbed. https://bugzilla.gnome.org/show_bug.cgi?id=735749 gdk/gdkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f8f74b59e38b402bf78ac8b454a8f26e839f8349 Author: Carlos Garnacho Date: Thu Sep 18 13:48:35 2014 +0200 scalebutton: Invert smooth scroll dy when adding to the current value On regular scrolling (ie. not natural scrolling), positive deltas in the Y axis (downwards) should actually move the value towards the adjustment minimum value to be more intuitive. This also makes the scrolling directions match between the button and the popped up scale. https://bugzilla.gnome.org/show_bug.cgi?id=736830 gtk/gtkscalebutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc879ab2ddd119399e77b94b46472ddad3a686d8 Author: Rafael Ferreira Date: Tue Sep 23 00:16:37 2014 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 168 +++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 92 insertions(+), 76 deletions(-) commit 9f1f56f2c09813b0649318aa7cb2db7057565415 Author: Fran Diéguez Date: Tue Sep 23 02:01:15 2014 +0200 Updated Galician translations po/gl.po | 168 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 92 insertions(+), 76 deletions(-) commit 9413ab3b1d024aaf5da0b224bdb91248f6b3e5e7 Author: Piotr Drąg Date: Tue Sep 23 01:45:25 2014 +0200 Updated Polish translation po/pl.po | 168 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 92 insertions(+), 76 deletions(-) commit eb96a7f832de014f570d31bd076ee939d9b28b0d Author: Matthias Clasen Date: Fri Sep 19 08:44:21 2014 -0400 inspector: Show the source of settings This can be useful at times to see if a setting is coming from an XSetting, or overridden by the application. https://bugzilla.gnome.org/show_bug.cgi?id=736971 gtk/inspector/prop-editor.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit 18931cf0dbd52f1c96d6f89011aaf7b613e66267 Author: Matthias Clasen Date: Fri Sep 19 08:41:06 2014 -0400 GtkSettings: Add a private getter for the source Settings have a little more metadata than plain properties. They can come from different sources. Make this information available so we can show it in the inspector. https://bugzilla.gnome.org/show_bug.cgi?id=736971 gtk/gtksettings.c | 37 +++++++++++++++++++++++++++++-------- gtk/gtksettingsprivate.h | 10 ++++++++++ 2 files changed, 39 insertions(+), 8 deletions(-) commit 5c95a2fc12db6a67192f5e4679cb1719cbb64e93 Author: Petr Kovar Date: Mon Sep 22 17:43:26 2014 +0200 Update Czech po-properties translation po-properties/cs.po | 3683 ++++++++++++++++++++++++++------------------------- 1 file changed, 1884 insertions(+), 1799 deletions(-) commit 8ff7d39df7e96aefa377e116227e1454b9f6677c Author: Petr Kovar Date: Mon Sep 22 16:42:20 2014 +0200 Update Czech translation po/cs.po | 363 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 163 insertions(+), 200 deletions(-) commit 2ebe813c98da2518cb4fcc289fc75f75bca3a888 Author: Sébastien Wilmet Date: Thu Sep 18 19:18:58 2014 +0200 inspector: remove g_message() It was probably added for debugging purposes. https://bugzilla.gnome.org/show_bug.cgi?id=736557 gtk/inspector/widget-tree.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 9d0ec409ff8579d5ac33bd522c40f6e3a945d152 Author: Benjamin Otte Date: Mon Sep 22 15:41:35 2014 +0200 reftest: Build a shared lib on win32 Windows needs a shared library to link the modules against, otherwise the undefined symbols make it not work. So build a shared library on Windows. We don't want a library elsewhere, as that just complicates things, so we only make the library shared on Windows and keep it as a noinst library otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=736338 testsuite/reftests/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) commit aa08b87ab67ec05c5547e7dda2dbefbf6c8fca4e Author: Rico Tzschichholz Date: Mon Sep 22 15:19:51 2014 +0200 reftest: Add missing include of reftest-snapshot.h testsuite/reftests/gtk-reftest.c | 1 + 1 file changed, 1 insertion(+) commit 1c366aac685e36483cb62c3adfddc47a8107ebbc Author: Matthias Clasen Date: Mon Sep 22 09:04:19 2014 -0400 Trivial formatting fix NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 10d4a2a43e9fbbb75622de090939c59ae2a840ed Author: Matthias Clasen Date: Mon Sep 22 06:59:29 2014 -0400 Fix a typo docs/RELEASE-HOWTO | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b65e30e7ec79b8a4a7d81ba0e86bc1baa03952d7 Author: Matthias Clasen Date: Mon Sep 22 06:50:15 2014 -0400 Bump version configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d2f0b8ec71e1f969357d011dc3afe10c902793c9 Author: Matthias Clasen Date: Mon Sep 22 06:35:02 2014 -0400 3.14.0 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 214bd065d0551ea242252215b181e875e24140dc Author: Matthias Clasen Date: Sun Sep 21 23:17:29 2014 -0400 Drop another old, unused script Makefile.am | 1 - makecopyright | 120 ---------------------------------------------------------- 2 files changed, 121 deletions(-) commit 7ead9d45dedc5d9d4064bd9ec8388af07ea16c38 Author: Matthias Clasen Date: Sun Sep 21 23:14:56 2014 -0400 check-icon-names: Check for legacy names again Keep checking the legacy icon names as long as we support them (this caught gtk-undelete not working quite as expected). testsuite/gtk/check-icon-names.c | 50 ++++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 25 deletions(-) commit 61de42a7315ef46b1403700f7f032f16972504a1 Author: Matthias Clasen Date: Sun Sep 21 23:13:29 2014 -0400 Make gtk-undelete work again as icon name The convention we use now is to not append any suffix for ltr icons, and append -rtl for rtl. Make gtk-undelete follow this pattern. .../actions/{gtk-undelete-ltr.png => gtk-undelete.png} | Bin .../actions/{gtk-undelete-ltr.png => gtk-undelete.png} | Bin 2 files changed, 0 insertions(+), 0 deletions(-) commit 0145db0dbb26c928c24c954ad4d9291eb3a55d96 Author: Matthias Clasen Date: Sun Sep 21 22:52:37 2014 -0400 Drop them from EXTRA_DIST too docs/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit ab76493700976b9d9dab60a1b5804458452f98ca Author: Matthias Clasen Date: Sun Sep 21 22:52:01 2014 -0400 Drop outdated scripts These scripts haven't been used in many years. docs/gtkdocs_fix | 11 -- docs/make-todo | 350 ------------------------------------------------------- 2 files changed, 361 deletions(-) commit cc141329edd14f001f42da7cd4a025077c72ccca Author: Matthias Clasen Date: Sun Sep 21 22:48:26 2014 -0400 Drop outdated files These files stem from the time when the documentation was in a separate module - long, long ago. docs/reference/AUTHORS | 7 ----- docs/reference/COPYING | 30 ------------------- docs/reference/README | 62 --------------------------------------- docs/reference/README.cvs-commits | 39 ------------------------ 4 files changed, 138 deletions(-) commit 5cfb8b9680a128876c56804d2c883b3778300071 Author: Matthias Clasen Date: Sun Sep 21 18:00:36 2014 -0400 Updates for 3.14.0 NEWS | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit e307c51a942e0e3e6b208d4a94a7db1ef8091b61 Author: Shankar Prasad Date: Mon Sep 22 00:46:00 2014 +0000 Updated Kannada translation po/kn.po | 7220 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 4176 insertions(+), 3044 deletions(-) commit 891c4edcc0025e81993bcabee3c520f1cf7c739f Author: Bernd Homuth Date: Sun Sep 21 22:02:50 2014 +0000 Updated German translation po-properties/de.po | 3821 ++++++++++++++++++++++++++------------------------- 1 file changed, 1951 insertions(+), 1870 deletions(-) commit b5a390058834a2100eb48d55be7b5828f3da9b6b Author: Matthias Clasen Date: Sun Sep 21 16:29:48 2014 -0400 check-icon-theme: Print the name of the icon-theme testsuite/gtk/check-icon-names.c | 5 +++++ 1 file changed, 5 insertions(+) commit df8a68865695a4bd8b8a261d2998e2041c9ea872 Author: Matthias Clasen Date: Sun Sep 21 16:28:15 2014 -0400 icon-theme: Test inheritance vs. generic fallback Add a few tests that check the behavior of icon theme inheritance vs generic fallback vs symbolic icons. testsuite/gtk/Makefile.am | 6 +++++ testsuite/gtk/icons/index.theme | 1 + testsuite/gtk/icons/scalable/one-two-rtl.svg | 5 ++++ testsuite/gtk/icons/scalable/one-two.svg | 5 ++++ testsuite/gtk/icons2/index.theme | 12 +++++++++ .../gtk/icons2/scalable/one-two-symbolic-rtl.svg | 5 ++++ testsuite/gtk/icons2/scalable/one-two-symbolic.svg | 5 ++++ .../gtk/icons2/scalable/one-two-three-symbolic.svg | 5 ++++ testsuite/gtk/icontheme.c | 30 ++++++++++++++++++++++ 9 files changed, 74 insertions(+) commit 964c202c389abd264b8dd7f5858cd827f3540a00 Author: Matthias Clasen Date: Sun Sep 21 14:46:09 2014 -0400 GtkIconTheme: Repair symbolic fallback with rtl/ltr For symbolic icons, we prefer symbolics in inherited themes over generic icons in the theme itself. So far this was implemented by looking at icon_name[0] and looking that up in inherited themes if it is symbolic. But with automatic rtl/ltr handling, the first icon name will always have an -rtl or -ltr suffix, and an icon with that suffix is not going to exist in most cases. To fix this, look for shorter icon names too, as long as they are still symbolic. https://bugzilla.gnome.org/show_bug.cgi?id=737000 gtk/gtkicontheme.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 1b858e4212f45e214d5d253dd0dba57845254a06 Author: Matthias Clasen Date: Sun Sep 21 14:29:36 2014 -0400 Trivial: clarify a comment Using 'highcolor' here seems confusing, since there is a theme by that name. Just say full-color. gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 39349cdea37c052906c3a76eceebfdc1c8d66c55 Author: Matthias Clasen Date: Sun Sep 21 14:09:16 2014 -0400 testicontheme: Use rtl/ltr lookup flags This should help with diagnosing https://bugzilla.gnome.org/show_bug.cgi?id=737000 tests/testicontheme.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit ee9e708cf6ea3f4ac780e0f7f3fc744a73918da0 Author: Benjamin Otte Date: Sun Sep 21 18:56:32 2014 +0200 reftest: Build a private library for gtk-reftest This is a noinst library for now, but the idea is to turn it into a proper DLL on Windows, so that we can install it and properly link the modules to it. Windows doesn't allow undefined symbols in modules. https://bugzilla.gnome.org/show_bug.cgi?id=736338 testsuite/reftests/Makefile.am | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 2e6dd4082f1fcbc5acf39354944b13ee921cc8df Author: Benjamin Otte Date: Sun Sep 21 18:33:42 2014 +0200 reftest: Split our more functionality Split actually taking the snapshot into its own file. testsuite/reftests/Makefile.am | 2 + testsuite/reftests/gtk-reftest.c | 239 +---------------------------- testsuite/reftests/gtk-reftest.h | 1 + testsuite/reftests/reftest-snapshot.c | 275 ++++++++++++++++++++++++++++++++++ testsuite/reftests/reftest-snapshot.h | 29 ++++ 5 files changed, 309 insertions(+), 237 deletions(-) commit 0182d1ed381f489d4fcde851212bc836174b2ef5 Author: Benjamin Otte Date: Sun Sep 21 18:18:38 2014 +0200 reftest: Split out some functionality into own file Comparing two surfaces is something that can be nicely factored out. testsuite/reftests/Makefile.am | 2 + testsuite/reftests/gtk-reftest.c | 151 +----------------------------- testsuite/reftests/reftest-compare.c | 172 +++++++++++++++++++++++++++++++++++ testsuite/reftests/reftest-compare.h | 30 ++++++ 4 files changed, 206 insertions(+), 149 deletions(-) commit 394a7627c5ef99c221495145791dc3e6e4096f80 Author: Tom Tryfonidis Date: Sun Sep 21 13:38:58 2014 +0000 Updated Greek translation po/el.po | 227 ++++++++++++++++++++++++--------------------------------------- 1 file changed, 87 insertions(+), 140 deletions(-) commit a1b719040a03ed0e6fabb1689cccf44c4f5f4c35 Author: Carles Ferrando Date: Sun Sep 21 15:01:58 2014 +0200 [l10n] Updated Catalan (Valencian) translation po/ca@valencia.po | 9523 ++++++++++++++++++++++++----------------------------- 1 file changed, 4267 insertions(+), 5256 deletions(-) commit 4e758000573a187886cc7e63485cdf195f7cf300 Author: Gil Forcada Date: Sun Sep 21 15:01:52 2014 +0200 [l10n] Update Catalan translation po/ca.po | 1841 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 1066 insertions(+), 775 deletions(-) commit fa3abde64440ff5a56177625ee52e2933d4500c6 Author: Sandeep Sheshrao Shedmake Date: Sun Sep 21 07:32:06 2014 +0530 Updated Marathi Translations po-properties/mr.po | 5821 ++++++++++++++++++++++------------------- po/mr.po | 7103 ++++++++++++++++++++++++++++++--------------------- 2 files changed, 7413 insertions(+), 5511 deletions(-) commit 3c96ea0ae7af68bcd47dae6737fd5ea200d4a97e Author: Matthias Clasen Date: Sat Sep 20 19:52:23 2014 -0400 inspector: Look up the schema recursively This is the recommended way to use this function. It should also fix problems with the inspector when GSETTINGS_SCHEMA_DIR is set. https://bugzilla.gnome.org/show_bug.cgi?id=737027 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fb126586ed911cfbd17112baaad3ec1c5b0f8def Author: Matthias Clasen Date: Sat Sep 20 19:28:56 2014 -0400 inspector: Avoid a crash We were forgetting to free the hash table, which then gave us weak ref notifies at an unexpected time. https://bugzilla.gnome.org/show_bug.cgi?id=737026 gtk/inspector/widget-tree.c | 2 ++ 1 file changed, 2 insertions(+) commit 416bcd0b6aef1971f2e2e7c611ee620bf89d19d8 Author: Carles Ferrando Date: Sun Sep 21 00:02:43 2014 +0200 [l10n] Updated Catalan (Valencian) translation po-properties/ca@valencia.po | 4570 ++++++++++++++++++++++-------------------- 1 file changed, 2387 insertions(+), 2183 deletions(-) commit c7bd54c58d3eefe2af7e0359e987a5cc7766bfba Author: Gil Forcada Date: Sun Sep 21 00:02:35 2014 +0200 [l10n] Update Catalan translation po-properties/ca.po | 3755 ++++++++++++++++++++++++++------------------------- 1 file changed, 1910 insertions(+), 1845 deletions(-) commit 854ebc535ca100f4c4e047b586b2ff738bf8c65e Author: Ask H. Larsen Date: Sat Sep 20 10:05:55 2014 +0200 Updated Danish translation po/da.po | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 01958e20adc2da20f38160962ed40705d293e645 Author: Rajesh Ranjan Date: Sat Sep 20 05:36:08 2014 +0000 Updated Hindi translation po/hi.po | 7019 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 4022 insertions(+), 2997 deletions(-) commit d8239887b7d2d0cdad6d4f5746312447c9ddd8d5 Author: Gábor Kelemen Date: Sat Sep 20 00:28:13 2014 +0000 Updated Hungarian translation po-properties/hu.po | 3729 ++++++++++++++++++++++++++------------------------- 1 file changed, 1894 insertions(+), 1835 deletions(-) commit df236fba581e1b14ebf86562d5869b68761f4bf5 Author: Jasper St. Pierre Date: Wed Sep 17 16:16:45 2014 -0600 gtkwindow: Make sure to update the shadow width, opaque region and border windows when realizing Otherwise, they might not be properly set before the window is mapped. For the opaque region and border window, it means that they won't get set before the next size allocation, which tends to not be a bit deal. For the shadow width, though, _GTK_FRAME_EXTENTS has a different meaning when it's set before the window is mapped, so we need to make sure that it's properly set when the window is mapped. gtk/gtkwindow.c | 1385 ++++++++++++++++++++++++++++--------------------------- 1 file changed, 700 insertions(+), 685 deletions(-) commit e14f8362009830e637e70c718e08818fe68e520e Author: Gábor Kelemen Date: Fri Sep 19 09:33:03 2014 +0000 Updated Hungarian translation po/hu.po | 1955 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1182 insertions(+), 773 deletions(-) commit 9603754f7dd32a9ce9a796445c23f7f11b688265 Author: Matthias Clasen Date: Thu Sep 18 21:57:20 2014 -0400 Fix warning grammar gtk/gtkrecentmanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c75793ee17d0379d671463be1c5db60f359ca292 Author: Matthias Clasen Date: Thu Sep 18 21:53:20 2014 -0400 Fix parse-sass.sh script The script runs into this error here: OptionParser::NeedlessArgument: needless argument: --sourcemap=none gtk/resources/theme/Adwaita/parse-sass.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 318de7cd444a951e0fb5bc65eefa389829beebeb Author: Ekaterina Gerasimova Date: Thu Sep 18 21:39:07 2014 +0100 Remove reference to GTK+ 2 in reference docs The reference applies to both GTK+ 2 and GTK+ 3, so remove mention of the version number from the reference docs. https://bugzilla.gnome.org/show_bug.cgi?id=736927 docs/reference/gtk/tree_widget.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8de58ee38e03f6cfdfc579816b8243e3333dea40 Author: Christian Kirbach Date: Thu Sep 18 21:20:06 2014 +0000 Updated German translation po/de.po | 1915 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1132 insertions(+), 783 deletions(-) commit 83e4c889b846e6651231312c6db5a3f1a4915c48 Author: Ask H. Larsen Date: Thu Sep 18 19:44:30 2014 +0200 Updated Danish translation po/da.po | 1905 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1139 insertions(+), 766 deletions(-) commit 153a7c87a41f34cb259143fbdc05b4b9d085693b Author: Yuri Myasoedov Date: Thu Sep 18 16:33:22 2014 +0400 Updated Russian translation po-properties/ru.po | 2144 +++++++++++++++++++++++++-------------------------- 1 file changed, 1061 insertions(+), 1083 deletions(-) commit 1f4626650938e96160c9ff7cff47769016c6ec18 Author: Yuri Myasoedov Date: Thu Sep 18 16:03:11 2014 +0400 Updated Russian translation po/ru.po | 254 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 106 insertions(+), 148 deletions(-) commit c73a1e03bbff0bd50d0c08fee8ee8f33e0ac1dbf Author: Yosef Or Boczko Date: Thu Sep 18 05:42:50 2014 +0300 Updated Hebrew translation po/he.po | 148 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 76 insertions(+), 72 deletions(-) commit eb6fb7326d781fe778f464f4a740528b2ad976e0 Author: Matthias Clasen Date: Wed Sep 17 15:09:46 2014 -0400 Raleigh: Drop decoration-layout style property This is not used anymore. gtk/resources/theme/Raleigh/gtk-default.css | 1 - 1 file changed, 1 deletion(-) commit 0a1825d21db0522a14bfe5709630f4caf7ca330b Author: Ask H. Larsen Date: Wed Sep 17 18:44:54 2014 +0200 Update Danish translation of properties po-properties/da.po | 3785 ++++++++++++++++++++++++++------------------------- 1 file changed, 1945 insertions(+), 1840 deletions(-) commit 4d835f61a54aa471b1949ee6b78e6868673d0b50 Author: Matthias Clasen Date: Wed Sep 17 12:42:32 2014 -0400 Make subsurface test use a stack Just to show that it works. tests/subsurface.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 6e0960197fcdb69f8c522437b2a5df51ecd75588 Author: Matthias Clasen Date: Wed Sep 17 11:09:52 2014 -0400 Add a quick subsurface tests Just to have some code that uses subsurfaces inside a widget tree, and not like a 'pseudo-toplevel'. tests/Makefile.am | 1 + tests/subsurface.c | 110 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) commit c104c6443624f2064e0fcef5ab33548c29f4bac5 Author: Sébastien Wilmet Date: Sat Sep 13 17:16:04 2014 +0200 Better mark GtkAlignment as deprecated - Move the class to the Deprecated section. - Warning at the bottom of the class description. - A missing property was not marked as deprecated. - Update doc of gtk_container_set_border_width() to not mention GtkAlignment. https://bugzilla.gnome.org/show_bug.cgi?id=736622 docs/reference/gtk/gtk-docs.sgml | 2 +- gtk/deprecated/gtkalignment.c | 9 +++++---- gtk/gtkcontainer.c | 7 +++---- 3 files changed, 9 insertions(+), 9 deletions(-) commit 21e0a114e090f7ed645598dff705e94868347637 Author: Sébastien Wilmet Date: Wed Sep 17 15:01:39 2014 +0200 docs: GtkStatusIcon is deprecated since 3.14, not 3.16 gtk/deprecated/gtkstatusicon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 284856b69246691293c689985fa939f84f4d3800 Author: Saibal Ray Date: Wed Sep 17 06:14:11 2014 +0000 Updated Bengali (India) translation po/bn_IN.po | 2180 ++++++++++++++++++----------------------------------------- 1 file changed, 665 insertions(+), 1515 deletions(-) commit 7cf96dcaa8ae32c67285661dc82bef3cbea14335 Author: Pavol Klačanský Date: Tue Sep 16 21:07:13 2014 +0000 Updated Slovak translation po-properties/sk.po | 2121 ++++++++++++++++++++++++--------------------------- 1 file changed, 988 insertions(+), 1133 deletions(-) commit e08b680a6b9a1ee241ca155f55c9d28b7867812e Author: Josef Andersson Date: Tue Sep 16 19:01:00 2014 +0000 Updated Swedish translation po/sv.po | 1529 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 951 insertions(+), 578 deletions(-) commit 29eae57be4d864de6868cc229b18d801dd67ee8e Author: Matthias Clasen Date: Mon Sep 15 23:21:15 2014 -0400 Undreprecate GtkMisc::x/yalign for now These can't quite be replaced by h/valign, so keep the properties undeprecated for 3.14. gtk/deprecated/gtkmisc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6b16c795babec299ed8f0ff31fb758ddaac1eafa Author: Benjamin Otte Date: Tue Sep 16 04:17:01 2014 +0200 iconview: Unset prelit item in leave-notify We don't want to keep a prelit item when the mouse cursor is elsewhere. gtk/gtkiconview.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 072c417416006d041f2cc17701c2b557c9d16152 Author: Benjamin Otte Date: Tue Sep 16 02:58:21 2014 +0200 iconview: Remove iterm->prelight item->prelight is always equal to iconview->priv->last_prelight == item so there is no need to track it separately. gtk/gtkiconview.c | 4 +--- gtk/gtkiconviewprivate.h | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) commit 48d56c4077243a06b6d99b16dc647f3271e43208 Author: Benjamin Otte Date: Tue Sep 16 02:55:24 2014 +0200 iconview: always draw a cell background Don't just draw it for selected cells. gtk/gtkiconview.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) commit fdb13b6ef5bd30e4621f091a0a1766eb499ef931 Author: Matthias Clasen Date: Mon Sep 15 21:05:08 2014 -0400 Revert "GtkAssistant: Drop use of GtkMisc" This reverts commit 687eae4b513b367aaff2ad89457e874b935ce3d0. Still not a solved problem. gtk/gtkassistant.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 0a3162be4559fb9a24c0d9e43a8920c1ad547874 Author: Matthias Clasen Date: Mon Sep 15 18:00:24 2014 -0400 3.13.9 NEWS | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) commit 86607c0f210cffee8b9484fb1ea38a54cf58d61a Author: Benjamin Otte Date: Mon Sep 15 16:06:41 2014 +0200 iconview: Don't queue redraws when nothing changes We were queueing redraws for the old and the new prelit item, even when they were the same item. gtk/gtkiconview.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit 45ab4ae09bade6f63bc71d4df0aa250c72afe1b2 Author: Руслан Ижбулатов Date: Tue Sep 9 14:48:17 2014 +0000 build: Set no_undefined in Makefile.decl This simplifies the code and - more importantly - fixes the cases like in testsuite/reftests where the no_undefined definition was missing. https://bugzilla.gnome.org/show_bug.cgi?id=736382 Makefile.decl | 4 ++++ gdk/Makefile.am | 4 ---- gtk/Makefile.am | 4 ---- libgail-util/Makefile.am | 3 --- modules/input/Makefile.am | 4 ---- modules/printbackends/cloudprint/Makefile.am | 4 ---- modules/printbackends/cups/Makefile.am | 4 ---- modules/printbackends/file/Makefile.am | 4 ---- modules/printbackends/lpr/Makefile.am | 4 ---- modules/printbackends/papi/Makefile.am | 4 +--- modules/printbackends/test/Makefile.am | 4 ---- 11 files changed, 5 insertions(+), 38 deletions(-) commit 1741de47dbd4ddb909012fb977f19bd1417fddea Author: Benjamin Otte Date: Wed Sep 10 16:47:16 2014 +0200 treeview: Apply column-header region always ... so that invisible columns get it, too. Works around weird effects seen when buttons are animated and columns get hidden/shown. gtk/gtktreeview.c | 5 +++++ 1 file changed, 5 insertions(+) commit e9ce9a814ba15b7e089f38ab132fee51259291ac Author: Benjamin Otte Date: Mon Sep 8 22:45:31 2014 +0200 label: Clear layout after setting GtkLabel::lines property Otherwise the label will not pick up the property. gtk/gtklabel.c | 1 + 1 file changed, 1 insertion(+) commit a14c7cbfa134c598958c353cd0bd0785b989c6b6 Author: Chun-wei Fan Date: Mon Sep 15 12:51:52 2014 +0800 MSVC Builds: Update "Installation" Process This updates the property sheets that are used to "install" builds of GTK+ after the libraries and the gtk3-demo programs are built. Note that these are generated with scripts in regards to the headers part, so that we can move the header installation part to use autocompletion by the autotools build files in the next dev cycle or so, like the "gdk" and "gtk" project files. build/win32/vs10/gtk-install.props | 1104 +++++++++++------------------------ build/win32/vs9/gtk-install.vsprops | 731 +++++++++++------------ 2 files changed, 702 insertions(+), 1133 deletions(-) commit 15a9f1bdf5799d7c47df5cee86b95931578401e7 Author: Chun-wei Fan Date: Mon Sep 15 12:26:32 2014 +0800 gtk/gtkgladecatalog.c: Fix Visual Studio Builds The _GDK_EXTERN decoration needs to be with the function prototype, if one exists, so move the _GDK_EXTERN decoration up. gtk/gtkgladecatalog.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 779aa87ba5d08ae8fa6b812490a621b330dabc39 Author: Shantha kumar Date: Sun Sep 14 19:17:06 2014 +0000 Updated Tamil translation po/ta.po | 2735 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1634 insertions(+), 1101 deletions(-) commit 355afc8f56c318ca8832987c905475de8375531d Author: Bastien Nocera Date: Fri Sep 12 13:46:05 2014 +0200 inspector: Show hidden windows in the inspector This allows us to access otherwise hidden windows, which can be useful to provide better debug information than would be available through other means. https://bugzilla.gnome.org/show_bug.cgi?id=736557 gtk/inspector/widget-tree.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit 3ad8bae1c450df0e4a43c78fc07d659dec08f4cc Author: Matthias Clasen Date: Sun Sep 14 08:36:41 2014 -0400 inspector: Fix initial state of dark switch Noticed while debugging a totem problem. gtk/inspector/visual.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ba086f978bf1755c790ddddd1b86c2f377e28617 Author: Chao-Hsiung Liao Date: Sun Sep 14 06:34:28 2014 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po/zh_HK.po | 1535 +++++++++++++++++++++++++++++++++++----------------------- po/zh_TW.po | 1537 ++++++++++++++++++++++++++++++++++++----------------------- 2 files changed, 1898 insertions(+), 1174 deletions(-) commit 76019fad0e760d4a804754d949c89864bc5781d5 Author: Lapo Calamandrei Date: Sat Sep 13 16:20:44 2014 +0200 Adwaita: osd progressbar fixes See https://bugzilla.gnome.org/show_bug.cgi?id=735959 gtk/resources/theme/Adwaita/_common.scss | 28 ++++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 +++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 11 +++++---- 3 files changed, 30 insertions(+), 20 deletions(-) commit dcffe0e2e36fcacbfefe8013d9b566234a1e4ba8 Author: Lapo Calamandrei Date: Sat Sep 13 12:25:46 2014 +0200 Adwaita: uneven paddings on .text-button.image-button We want buttons with an icon and text to have the padding of the text-button on the label side and on the image-button on the icon side. gtk/resources/theme/Adwaita/_common.scss | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 14 ++++++++++++-- gtk/resources/theme/Adwaita/parse-sass.sh | 2 +- 4 files changed, 35 insertions(+), 5 deletions(-) commit 6064fc343eedd34ecc4d8cba5ed6b3a03517deaf Author: Matthias Clasen Date: Fri Sep 12 22:31:25 2014 -0400 Drop unused code Not worth keeping this around. gtk/gtkdnd.c | 78 ------------------------------------------------------------ 1 file changed, 78 deletions(-) commit 76b1361902702cc6c53d9ce94721401f1d1e147e Author: Matthias Clasen Date: Fri Sep 12 22:21:43 2014 -0400 Drop two pointless lines These return statements weren't making any difference. gtk/gtkdnd.c | 2 -- 1 file changed, 2 deletions(-) commit 45369d506bae2880379aa2866f6bcc0bc8f6d38d Author: Matthias Clasen Date: Fri Sep 12 22:12:26 2014 -0400 GtkDnd: Move X11-specific code out of generic code path There was some X11-specific code before an early exit in the functions that grab and ungrab keys during DND. It seems to not cause a problem under Wayland, but moving it out of the way seems right anyway. gtk/gtkdnd.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit ca27bf37bc0fe8755ebca9ef65cb0ac308b2f752 Author: Aurimas Černius Date: Fri Sep 12 22:26:29 2014 +0300 Updated Lithuanian translation po/lt.po | 1556 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 975 insertions(+), 581 deletions(-) commit 8c6b2fb94b4095818fb075990f81daaf4e2fd39a Author: Lapo Calamandrei Date: Fri Sep 12 19:09:53 2014 +0200 Revert "Adwaita: theme active-menu buttons" This is app specific, doesn't belongs here. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- gtk/resources/theme/Adwaita/parse-sass.sh | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit 34580deaaa55a4bb100bd98aaa625f2213d85f35 Author: Alexandre Franke Date: Fri Sep 12 16:05:02 2014 +0000 Updated French translation po/fr.po | 170 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 87 insertions(+), 83 deletions(-) commit 961b7a9210ddee7765888c2b96b06b90876266d5 Author: Lapo Calamandrei Date: Fri Sep 12 18:01:58 2014 +0200 Adwaita: theme active-menu buttons gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- gtk/resources/theme/Adwaita/parse-sass.sh | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit eb9dcc1636ddab8fc26aeabe51f3da6f865a2e1a Author: Jakub Steiner Date: Fri Sep 12 14:02:05 2014 +0200 Adwaita: keep pathbar the same height as imagebuttons - the previous patch introduced uneven height on the toolbar gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 3d2e8ed1d808f86adb26f0d8b5e2c4a854745dff Author: Lapo Calamandrei Date: Fri Sep 12 13:46:17 2014 +0200 Adwaita: better stack switcher logic Now the stack switcher buttons look right even when not in the header-bar. gtk/resources/theme/Adwaita/_common.scss | 34 +++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 68 ++++++++++------------ gtk/resources/theme/Adwaita/gtk-contained.css | 68 ++++++++++------------ 3 files changed, 75 insertions(+), 95 deletions(-) commit 0060f8447739442d8accc16890193c7570037c3a Author: Jakub Steiner Date: Fri Sep 12 12:57:52 2014 +0200 Adwaita: space pathbar better https://bugzilla.gnome.org/show_bug.cgi?id=736535 gtk/resources/theme/Adwaita/_common.scss | 15 ++++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 27 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 27 +++++++++++++--------- 3 files changed, 39 insertions(+), 30 deletions(-) commit 08e1c8e30a98a7a4c9c62c22160c98da59e630e0 Author: Ross Lagerwall Date: Thu Sep 11 23:27:33 2014 +0100 GtkPlacesSidebar: Fix a memory leak https://bugzilla.gnome.org/show_bug.cgi?id=736512 gtk/gtkplacessidebar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 0c12d3afcc571fcbee0d257e888985399b36b48b Author: Ross Lagerwall Date: Thu Sep 11 23:25:24 2014 +0100 GtkPlacesSidebar: Don't update bookmark if cancelled If the query fails because it has been cancelled, it means that dispose() has been called, so don't try and update anything. This fixes a segfault with Nautilus in certain situations. https://bugzilla.gnome.org/show_bug.cgi?id=736512 gtk/gtkplacessidebar.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 94ed54f8add5819be59ff96a0c76a480055b62f5 Author: Ross Lagerwall Date: Thu Sep 11 23:23:55 2014 +0100 GtkPlacesSidebar: Only add shortcut if query succeeds https://bugzilla.gnome.org/show_bug.cgi?id=736512 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca1e98a4b253dfd22f7afdcca08b6689da5b6a56 Author: Changwoo Ryu Date: Fri Sep 12 13:55:01 2014 +0900 Updated Korean translation po/ko.po | 61 +++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 26 deletions(-) commit 3d7f0590870d76b61d1645fef6eb099445b11073 Author: Matthias Clasen Date: Thu Sep 11 20:42:12 2014 -0400 GtkStackSwitcher: More disconnect fixes When resetting the stack, don't forget to disconnect signals. https://bugzilla.gnome.org/show_bug.cgi?id=736307 gtk/gtkstackswitcher.c | 54 ++++++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 26 deletions(-) commit 6573cebe7184d1866fbf95d9b9cbb8ef6717abaa Author: Matthias Clasen Date: Thu Sep 11 15:48:44 2014 -0400 GtkMessageDialog: Minor documentatation update The message area is no longer a vbox. gtk/gtkmessagedialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0db6fa0705d5e5c9c544311265802c23fe6f94e Author: Ville-Pekka Vainio Date: Thu Sep 11 22:27:22 2014 +0300 Finnish translation update by Jiri Grönroos po/fi.po | 1617 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1024 insertions(+), 593 deletions(-) commit 9f1724b3556bb09cc39b4e4a708620f02413f9a4 Author: Takao Fujiwara Date: Mon Sep 8 12:41:48 2014 +0900 Update gtk_compose_seqs_compact[] table for French layout bepo variant. fr(bepo) XKB keymap sends dead_stroke with AltGr+l keys and gtk-im-simple-context should send '/' with dead_stroke+dead_stroke keys but gtkimcontextsimpleseqs.h was not sorted in the descending order and failed to get dead_stroke. Also need to add dead_currency for Shift+AltGr+e and dead_belowcomma for Shift+AltGr+Cedilla. https://bugzilla.gnome.org/show_bug.cgi?id=736250 gtk/compose-parse.py | 29 ++-- gtk/gtkimcontextsimple.c | 4 +- gtk/gtkimcontextsimpleseqs.h | 311 +++++++++++++++++++++++++------------------ 3 files changed, 194 insertions(+), 150 deletions(-) commit a13c41137e454cf7a7a2a572e9483fa4a827e542 Author: Lapo Calamandrei Date: Wed Sep 10 20:03:26 2014 +0200 Adwaita: blue selection mode checks ...to make them visible in the dark variant, e.g. Boxes. gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/assets.svg | 361 +-------------------- .../checkbox-checked-active-selectionmode.png | Bin 1349 -> 1289 bytes .../checkbox-checked-active-selectionmode@2.png | Bin 2757 -> 2575 bytes .../checkbox-checked-backdrop-selectionmode.png | Bin 1279 -> 1281 bytes .../checkbox-checked-backdrop-selectionmode@2.png | Bin 2423 -> 2423 bytes .../checkbox-checked-hover-selectionmode.png | Bin 1368 -> 1346 bytes .../checkbox-checked-hover-selectionmode@2.png | Bin 2798 -> 2693 bytes .../assets/checkbox-checked-selectionmode.png | Bin 1398 -> 1383 bytes .../assets/checkbox-checked-selectionmode@2.png | Bin 2880 -> 2755 bytes gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 +- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +- 12 files changed, 40 insertions(+), 370 deletions(-) commit 285db065a38a44cd9c5708b81c7060ef1a03e67f Author: Daniel Mustieles Date: Wed Sep 10 12:19:04 2014 +0200 Updated Spanish translation po/es.po | 78 +++++++++++++++++++++++++++++----------------------------------- 1 file changed, 35 insertions(+), 43 deletions(-) commit 9ba4d97008f3da308132a11bb8ac192ab3e7b271 Author: Lapo Calamandrei Date: Tue Sep 9 21:34:05 2014 +0200 Adwaita: remove borders from insensitive flat buttons gtk/resources/theme/Adwaita/_common.scss | 6 ++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 30 ++++++++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 30 ++++++++++++++++++---- 3 files changed, 53 insertions(+), 13 deletions(-) commit 2e88ae8ad99a07e5adf1264dead14f71d978b461 Author: Matthias Clasen Date: Tue Sep 9 14:48:59 2014 -0400 GtkStackSwitcher: Disconnect signals when a child is removed This is quite an oversight, and causes bad things to happen if the child is later changed. https://bugzilla.gnome.org/show_bug.cgi?id=736307 gtk/gtkstackswitcher.c | 5 +++++ 1 file changed, 5 insertions(+) commit 250eb1e889eb568286cf3fbe5374aa736127b4a5 Author: Руслан Ижбулатов Date: Tue Sep 9 10:28:48 2014 +0000 Add app-menu.ui to EXTRA_DIST demos/icon-browser/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 1fc7f4593f47d038974634aee4d5bf2b8fdbbb97 Author: A S Alam Date: Mon Sep 8 22:24:10 2014 -0500 update Punjabi Translation - back for 3.14 po-properties/pa.po | 3803 ++++++++++++++++++++++++++------------------------- po/pa.po | 1968 +++++++++++++++----------- 2 files changed, 3113 insertions(+), 2658 deletions(-) commit 115eb5ed4cc75a81e5e9a13e941c532d8e8c2eb9 Author: Colin Walters Date: Mon Sep 8 17:12:45 2014 -0400 Fix stray dash addition in previous commit gtk/gtktreemodel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 700e78d847c493e09a969a657a29a4ef040c07ba Author: Matthias Clasen Date: Mon Sep 8 16:48:53 2014 -0400 Remove more leftover —es These were leftover at various places in the documentation. gtk/gtkfilechooser.c | 6 +++--- gtk/gtkfilechooserdialog.c | 2 +- gtk/gtktextchild.c | 2 +- gtk/gtktreemodel.c | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) commit 57b353de33a383a606d216f2aee661debb290ee9 Author: Fran Diéguez Date: Mon Sep 8 22:09:04 2014 +0200 Updated Galician translations po/gl.po | 171 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 87 insertions(+), 84 deletions(-) commit 656deeb48942b9a09e352c0f5e4d1dfcc2f75fe2 Author: Matthias Clasen Date: Mon Sep 8 15:23:52 2014 -0400 Fix a missing id in the docs label-text-layout was missing, causing two broken links further down in the page. gtk/gtklabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a8915b89d76c3dd39b828f781c7044e92f792a0d Author: Руслан Ижбулатов Date: Mon Sep 8 15:21:00 2014 +0000 Initialize impl_window for foreign W32 windows https://bugzilla.gnome.org/show_bug.cgi?id=736269 gdk/win32/gdkwindow-win32.c | 1 + 1 file changed, 1 insertion(+) commit e4b89854a2cbb6b39c8405a47941427f7fcebc90 Author: Nilamdyuti Goswami Date: Mon Sep 8 13:52:22 2014 +0000 Updated Assamese translation po/as.po | 230 +++++++++++++++++++++++++-------------------------------------- 1 file changed, 90 insertions(+), 140 deletions(-) commit 14bec58bf1bf307ba974788ae253692852105635 Author: Marek Černocký Date: Mon Sep 8 13:39:35 2014 +0200 Updated Czech translation po/cs.po | 1918 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1157 insertions(+), 761 deletions(-) commit b2858a29e15a4d80a4ce78d3c94d5d8293bef34a Author: Sweta Kothari Date: Mon Sep 8 16:13:31 2014 +0530 Updated gujarati translations po/gu.po | 320 +++++++++++++++------------------------------------------------ 1 file changed, 77 insertions(+), 243 deletions(-) commit 74ea504288560580b7418d26fdeab51edca2a748 Author: Sweta Kothari Date: Mon Sep 8 16:01:40 2014 +0530 Updated gujarati translations po-properties/gu.po | 5804 ++++++++++++++++++++++++++++----------------------- 1 file changed, 3225 insertions(+), 2579 deletions(-) commit ffe0ec6883d41241c4966584efa95688ae7ace85 Author: Matthias Clasen Date: Mon Sep 8 00:08:01 2014 -0400 GtkAssistant: Make Escape cancel the assistant This is an expected keybinding, and it is not hard to support. Note that we use a private ::escape signal instead of using ::cancel directly, since we want to be able to suppress the cancellation when we are on a progress page. https://bugzilla.gnome.org/show_bug.cgi?id=579625 gtk/gtkassistant.c | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) commit 145c3e609d6c42545c57fca950c857e48c87c51a Author: Rafael Ferreira Date: Mon Sep 8 02:57:57 2014 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 1693 +++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 1065 insertions(+), 628 deletions(-) commit 169ca5ad21ef91330896dbd3845a36fa4f6de6ce Author: Matthias Clasen Date: Sun Sep 7 22:45:08 2014 -0400 Fix a thinko in adjustment animation The target value is only relevant if we're actually animating. Don't look at it otherwise. https://bugzilla.gnome.org/show_bug.cgi?id=736178 gtk/gtkadjustment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e2c54098da5b42d37e71d3e9c6889aa065860cba Author: Matthias Clasen Date: Sun Sep 7 22:25:23 2014 -0400 tree view: Fix column drag highlight This is a bandaid fix that makes the origin case work again by switching RGBA window. The arrow case is still unreliable. https://bugzilla.gnome.org/show_bug.cgi?id=732916 gtk/gtktreeview.c | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) commit e1aca0e8c663b269319b372e98d12fabf79a5127 Author: Matthias Clasen Date: Sun Sep 7 21:30:01 2014 -0400 Link broadway backend against librt This is needed for shm_open, according to its man page. https://bugzilla.gnome.org//show_bug.cgi?id=698031 gdk/broadway/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be97bad3a0149b1b833b417258f8024314632516 Author: Matthias Clasen Date: Sun Sep 7 21:24:01 2014 -0400 Avoid criticals when drags end Its seems that gtk_gesture_get_last_event may return NULL, protect against that to avoid critical warnings. gtk/gtkbutton.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 719e2157f24db629cd4fc1804fc5462db404a70e Author: Matthias Clasen Date: Sat Sep 6 22:13:46 2014 -0400 Small doc improvement gdk/gdkvisual.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit df6e6342916421d71369c3c8ed3166bc71a36038 Author: Rūdolfs Mazurs Date: Sun Sep 7 17:57:01 2014 +0300 Updated Latvian translation po-properties/lv.po | 3817 ++++++++++++++++++++++++++------------------------- po/lv.po | 1961 +++++++++++++++----------- 2 files changed, 3117 insertions(+), 2661 deletions(-) commit 8aa9a4c3854b448dbad09215e0cfd05e523c343f Author: Matthias Clasen Date: Sat Sep 6 21:59:23 2014 -0400 Better thumbnail for GtkTreeView This one makes it more obvious that it is a tree with multiple columns and not just multiline text. https://bugzilla.gnome.org/show_bug.cgi?id=528800 docs/reference/gtk/images/list-and-tree.png | Bin 4175 -> 6134 bytes docs/tools/widgets.c | 32 ++++++++++++++++++---------- 2 files changed, 21 insertions(+), 11 deletions(-) commit 53014d01322a24349cf1f7d54cf95c0fccddf2d0 Author: Timm Bäder Date: Sat Sep 6 19:46:27 2014 +0200 inspector: Don't unref NULL objects When closing the application window before closing the inspector window, the selected widget will be set to NULL once and all the property pages will try to g_object_weak_unref that NULL widget, so bail out in gtk_inspector_prop_list_set_object if it's NULL. https://bugzilla.gnome.org/show_bug.cgi?id=736201 gtk/inspector/prop-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1af365566161067c4eb246a1c66e7914f119537 Author: Matthias Clasen Date: Sat Sep 6 21:32:53 2014 -0400 Don't forget to allocate popovers When GtkApplicationWindow has a menubar, we don't chain up to the GtkWindow size_allocate, which used to position the popovers. Move that to _gtk_window_set_allocation() which is always called by GtkApplicationWindow. https://bugzilla.gnome.org/show_bug.cgi?id=736205 gtk/gtkwindow.c | 73 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 36 insertions(+), 37 deletions(-) commit e9df5edc11de508cfb4acfccecdbd8fc6a63eac2 Author: Matthias Clasen Date: Sat Sep 6 21:28:31 2014 -0400 Avoid compiler warnings The previous commit was sloppy with parameter types. gtk/gtkcellrendereraccel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 794230e7086e1b829e5806fbf70159ac6c541ecd Author: Matthias Clasen Date: Sat Sep 6 20:56:03 2014 -0400 GtkCellRendererAccel: Try harder to capture bound keys Add a grab on the editable widget, so that we can capture also shortcuts which are bound in the application itself. https://bugzilla.gnome.org/736203 gtk/gtkcellrendereraccel.c | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) commit bbf9b95354e98081e023b2bfaa9711422efba5bf Author: Andika Triwidada Date: Sun Sep 7 00:14:08 2014 +0000 Updated Indonesian translation po/id.po | 162 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 83 insertions(+), 79 deletions(-) commit 00759e774b2ce6a2b7162f5b3205ed80f6aceb89 Author: Piotr Drąg Date: Sun Sep 7 02:08:51 2014 +0200 Updated Polish translation po/pl.po | 168 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 86 insertions(+), 82 deletions(-) commit 439d6513d29d03bcf5b189efe849e2d56bb1d899 Author: Piotr Drąg Date: Sun Sep 7 02:05:35 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 3 +++ po/POTFILES.skip | 3 +++ 2 files changed, 6 insertions(+) commit 9a8a4a8b1479d004d1fb65a9ac6714318129bdad Author: Benjamin Otte Date: Sat Sep 6 06:41:05 2014 +0200 widget: Don't assume opacity is 100% ... just because there is no style context instantiated yet. Instead, instantiate a style context during realize() and ask it. Fixes problems with dim labels not being dimmed on first show. Testcase included. https://bugzilla.gnome.org/show_bug.cgi?id=735240 gtk/gtkwidget.c | 21 +++++++++------------ testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/opacity-initial.css | 3 +++ testsuite/reftests/opacity-initial.ref.ui | 11 +++++++++++ testsuite/reftests/opacity-initial.ui | 29 +++++++++++++++++++++++++++++ 5 files changed, 55 insertions(+), 12 deletions(-) commit 95959ef470e00e0f0c2f6a3684c3693cd0fb3df3 Author: Benjamin Otte Date: Sun Sep 7 01:52:45 2014 +0200 overlay: Handle overlays when no main widget exists Just pretend that the main widget is an empty widget the size of the overlay. Makes it possible to write testcases where no size requests are run on overlay widgets before size_allocate() is called. Testcase included. gtk/gtkoverlay.c | 10 +++---- testsuite/reftests/Makefile.am | 2 ++ testsuite/reftests/overlay-no-main-widget.ref.ui | 33 ++++++++++++++++++++++++ testsuite/reftests/overlay-no-main-widget.ui | 26 +++++++++++++++++++ 4 files changed, 65 insertions(+), 6 deletions(-) commit c849b8edd664b7e84b42a61e95dad9f8e0b287f7 Author: Bastien Nocera Date: Fri Sep 5 15:22:47 2014 +0200 tooltip: Fix warning with GtkCellRendererAccel (gnome-shell-extension-prefs:22382): GLib-GObject-WARNING **: invalid cast from 'GtkInvisible' to 'GtkWindow' (gnome-shell-extension-prefs:22382): Gtk-CRITICAL **: gtk_window_set_transient_for: assertion 'parent == NULL || GTK_IS_WINDOW (parent)' failed #1 0x00007fffeeb81a12 in g_log (log_domain=log_domain@entry=0x7fffeeea3464 "GLib-GObject", log_level=log_level@entry=G_LOG_LEVEL_WARNING, format=format@entry=0x7fffeeeaa878 "invalid cast from '%s' to '%s'") at gmessages.c:1079 #2 0x00007fffeee9c2a9 in g_type_check_instance_cast (type_instance=0xb314c0, iface_type=iface_type@entry=9020048) at gtype.c:4021 #3 0x00007ffff0a06e25 in gtk_tooltip_set_last_window (tooltip=tooltip@entry=0xbb8c10, window=) at gtktooltip.c:910 #4 0x00007ffff0a08dfd in _gtk_tooltip_handle_event (event=event@entry=0xbf72c0) at gtktooltip.c:1538 #5 0x00007ffff090d7a9 in gtk_main_do_event (event=0xbf72c0) at gtkmain.c:1785 #6 0x00007ffff0496ab2 in gdk_event_source_dispatch (source=, callback=, user_data=) at gdkeventsource.c:364 #7 0x00007fffeeb7a8c3 in g_main_dispatch (context=0x807300) at gmain.c:3067 https://bugzilla.gnome.org/show_bug.cgi?id=736131 gtk/gtktooltip.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit fa0e43471c14cc02843af4438fde39b7fdabdec4 Author: Matthias Clasen Date: Sat Sep 6 19:01:14 2014 -0400 GtkCellRendererAccel: Stop editing on focus out This is not automatic, and with grabs in place, it is awkward to have focus moved elsewhere, so stop editing whenever the cell editable loses focus. gtk/gtkcellrendereraccel.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) commit bdd1871cbaf3dc4b78374e2992156137e11773b2 Author: Matthias Clasen Date: Sat Sep 6 18:23:37 2014 -0400 GtkCellRendererAccel: rework the grabbing Grab keyboard/mouse on the toplevel, and grab the focus to the cell editable, so we actually see the key events. gtk/gtkcellrendereraccel.c | 463 ++++++++++++++++++++++++--------------------- 1 file changed, 248 insertions(+), 215 deletions(-) commit fcb69e110b9ad9d7913677666b2e27302e93d885 Author: Matthias Clasen Date: Sat Sep 6 17:12:13 2014 -0400 Remove an unneeded include gtk/gtkdnd.c | 1 - 1 file changed, 1 deletion(-) commit 56bbf12fcd07ecc585d05034ce3e18306c56ccb5 Author: Matthias Clasen Date: Sat Sep 6 16:30:59 2014 -0400 testaccel: Add another focus location It turns out GtkCellRendererAccel does not deal well with focus being elsewhere. Adding an entry here makes this much easier to reproduce. tests/testaccel.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 7b950941ce6eeea6a655d69d5769c739d26e0819 Author: Matthias Clasen Date: Sat Sep 6 16:28:15 2014 -0400 testaccel: Handle accel-cleared tests/testaccel.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit fe11f8f875dc2e689070a903af49bb340bb2acb2 Author: Matthias Clasen Date: Sat Sep 6 16:04:41 2014 -0400 Revert "gtkcellrendereraccel: Use a GtkInvisible to grab on" This reverts commit fe5402d32ebf7f332a2c5f71b9ae50dcf68892fd. gtk/gtkcellrendereraccel.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit 4cec291ab084984a9c544f897e2eac91225cb85c Author: Josef Andersson Date: Sat Sep 6 21:10:23 2014 +0000 Updated Swedish translation po/sv.po | 6971 +++++++++++++++++++++++++++----------------------------------- 1 file changed, 3028 insertions(+), 3943 deletions(-) commit a60bee9fff04e9255ecc9d93054f2e74cbc29ada Author: Josef Andersson Date: Sat Sep 6 21:07:47 2014 +0000 Updated Swedish translation po-properties/sv.po | 7720 +++++++++++++++++++++++++++------------------------ 1 file changed, 4091 insertions(+), 3629 deletions(-) commit 84ff0c201a52c06184602b3629423b5ff0ddf1bd Author: Matthias Clasen Date: Sat Sep 6 15:43:11 2014 -0400 Don't set an input shape unless client-decorated We were actually setting an input shape larger than the window in !csd, and this was confusing at least openbox. https://bugzilla.gnome.org/736064 gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 98c87dc6ed04f6fe399d6720f6fa95232a686125 Author: Matthias Clasen Date: Sat Sep 6 12:47:41 2014 -0400 inspector: Fix fallout from function renaming gtk/inspector/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a4d9eccbc6d9258d680b4d299c260dea5854ce33 Author: Timm Bäder Date: Sat Sep 6 16:36:05 2014 +0200 inspector: Show widget allocation https://bugzilla.gnome.org/show_bug.cgi?id=736191 gtk/inspector/misc-info.c | 25 +++- gtk/inspector/misc-info.h | 6 +- gtk/inspector/misc-info.ui | 288 +++++++++++++++++++++++++------------------ gtk/inspector/misc-info.ui.h | 1 + 4 files changed, 192 insertions(+), 128 deletions(-) commit 7633118e7dbdefaabb473ed43d63d1b062e42030 Author: Lapo Calamandrei Date: Sat Sep 6 17:14:09 2014 +0200 Adwaita: inhert backdrop selected list rows gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 5 insertions(+) commit 66accf2b37270fac79b8a57b3107eb22854fac2c Author: Lapo Calamandrei Date: Sat Sep 6 17:09:08 2014 +0200 Adwaita: set color on flat buttons in selected list-rows gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 6 ++++-- 3 files changed, 18 insertions(+), 11 deletions(-) commit c6f5ad885515ec91b3a15010e218b9097a9b620e Author: Lapo Calamandrei Date: Sat Sep 6 17:02:20 2014 +0200 Adwaita: better switch on selected list-rows gtk/resources/theme/Adwaita/_common.scss | 21 ++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 23 +++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 34 +++++++++++++--------- 3 files changed, 45 insertions(+), 33 deletions(-) commit e5eb59a2f863dbcd98f7ef0870495c7799049533 Author: Hiroyuki Ito Date: Sat Sep 6 01:02:00 2014 +0000 Fix a crash in recent chooser DND Reported in https://bugzilla.gnome.org/show_bug.cgi?id=736173 gtk/gtkrecentchooserdefault.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 532a8afeb1d0e0d1a8dd06f0d6ef8d6019d07c31 Author: Lapo Calamandrei Date: Sat Sep 6 16:02:34 2014 +0200 Adwaita: really fix tooltips background See https://bugzilla.gnome.org/show_bug.cgi?id=736155 for details. gtk/resources/theme/Adwaita/_colors.scss | 2 + gtk/resources/theme/Adwaita/_common.scss | 13 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 64 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 110 +++++++++++---------- 4 files changed, 107 insertions(+), 82 deletions(-) commit 3c1702b804d0318ba49d30eacba62822205d7e6d Author: Changwoo Ryu Date: Sat Sep 6 18:09:19 2014 +0900 Updated Korean translation po-properties/ko.po | 3732 ++++++++++++++++++++++++++------------------------- po/ko.po | 1855 +++++++++++++++---------- 2 files changed, 3024 insertions(+), 2563 deletions(-) commit d55e3b25a7a6f0363f833b543905eea3a89ea5f6 Author: Matthias Clasen Date: Fri Sep 5 21:21:49 2014 -0400 Fix various compiler warnings Mostly missing declarations and missing statics. gtk/gtkadjustment.c | 1 + gtk/gtkapplication-dbus.c | 2 + gtk/gtkapplication.c | 16 +---- gtk/gtkcssimageicontheme.c | 2 +- gtk/gtkcsstransformvalue.c | 1 + gtk/gtkdialog.c | 1 + gtk/gtkfilesystem.c | 2 +- gtk/gtkgladecatalog.c | 2 + gtk/gtkmenusectionbox.h | 1 + gtk/gtkmodelmenuitem.c | 5 +- gtk/gtkpixelcache.c | 154 ++++++++++++++++++++++----------------------- gtk/gtkstylecontext.c | 2 +- gtk/gtkwidget.c | 2 +- 13 files changed, 92 insertions(+), 99 deletions(-) commit c88c16d1f481fcd98297920250415a1116fbc490 Author: Matthias Clasen Date: Fri Sep 5 20:52:03 2014 -0400 inspector: Fix various compiler warnings Mostly missing declarations and missing statics. gtk/inspector/action-editor.c | 2 +- gtk/inspector/init.c | 2 ++ gtk/inspector/inspect-button.c | 4 ++-- gtk/inspector/prop-editor.c | 4 ++-- gtk/inspector/size-groups.c | 2 ++ gtk/inspector/visual.c | 2 +- gtk/inspector/window.c | 4 +--- gtk/inspector/window.h | 3 +++ 8 files changed, 14 insertions(+), 9 deletions(-) commit d52d813c7d7dd0abb643be5affef155124135996 Author: Matthias Clasen Date: Fri Sep 5 20:44:22 2014 -0400 GdkFrameClockIdle: Add a missing declaration gdk/gdkframeclockidle.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 52578945bdf5f13eba30e78b6b16a62798c55c9b Author: Matthias Clasen Date: Fri Sep 5 20:41:06 2014 -0400 Wayland: Fix various compiler warnings Mostly missing declarations, missing statics and unused functions. gdk/wayland/gdkapplaunchcontext-wayland.c | 2 + gdk/wayland/gdkcursor-wayland.c | 2 + gdk/wayland/gdkdevice-wayland.c | 2 + gdk/wayland/gdkdisplay-wayland.c | 67 +------------------------------ gdk/wayland/gdkdnd-wayland.c | 2 + gdk/wayland/gdkkeys-wayland.c | 2 + gdk/wayland/gdkscreen-wayland.c | 4 ++ gdk/wayland/gdkselection-wayland.c | 4 +- gdk/wayland/gdkwindow-wayland.c | 4 +- 9 files changed, 21 insertions(+), 68 deletions(-) commit 24b84998339140feef0fdde786c7f366cd87f7f9 Author: Matthias Clasen Date: Fri Sep 5 19:39:05 2014 -0400 Broadway: Fix various compiler warnings Mostly missing declarations and unused functions. gdk/broadway/broadway-buffer.c | 2 +- gdk/broadway/broadway-server.c | 13 +++++-------- gdk/broadway/broadwayd.c | 4 ++-- gdk/broadway/gdkbroadway-server.c | 2 ++ gdk/broadway/gdkdisplay-broadway.c | 5 ----- gdk/broadway/gdkkeys-broadway.c | 2 ++ gdk/broadway/gdktestutils-broadway.c | 1 + gdk/broadway/gdkwindow-broadway.c | 12 ------------ 8 files changed, 13 insertions(+), 28 deletions(-) commit e066e3b9aa6292be053bd2cc5df010bbb512a61a Author: Christian Kirbach Date: Fri Sep 5 23:02:03 2014 +0000 Updated German translation po-properties/de.po | 186 +++++++++++++++++++++++++--------------------------- 1 file changed, 90 insertions(+), 96 deletions(-) commit 4764ba4b0eb0b64f10d5be9bba4b736e8cdd105f Author: Jasper St. Pierre Date: Fri Sep 5 14:31:44 2014 -0700 wayland: Don't leak the tmp_keymap This is a static variable, so setting it every time will leak the previous one. gdk/wayland/gdkdisplay-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b692d779b211f431abe7dc9139efb81317c043d7 Author: Jasper St. Pierre Date: Fri Sep 5 15:04:21 2014 -0700 wayland: Correctly find the keyboard for the keymap The list of devices was being scanned over incorrectly, causing us to never actually fetch the keymap from the keyboard, as the keyboard was the second device in the list, not the first. This causes us to create a new temporary keymap every time, which is quite expensive, because it involves parsing the entire XKB file. Scanning the list correctly will cause us to use the XKB rules file that was passed to us. gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f401c85ee37fbe67371ae97bbfa62f4500278291 Author: Matthias Clasen Date: Fri Sep 5 14:57:04 2014 -0400 Adwaita: Avoid double backgrounds in tooltips gtk/resources/theme/Adwaita/_common.scss | 3 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 61 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 107 ++++++++++----------- 3 files changed, 84 insertions(+), 87 deletions(-) commit b156d5bfee256d6c0bbd3dc64540bb8254d72d35 Author: Matthias Clasen Date: Fri Sep 5 13:43:17 2014 -0400 Make a warning more informative Since we know what size was too large here, why not say it. gdk/x11/gdkwindow-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 162990394387e744122273cc6d473b45b133e158 Author: Matthias Clasen Date: Fri Sep 5 13:15:14 2014 -0400 GtkIconTheme: Make suffix_from_name NULL-safe This can happen sometimes with GFileIcons that are not representable as a local path. Better not to crash in this case. gtk/gtkicontheme.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit f66d84deecd59d4f2d393bb450dd360fad2cf140 Author: Lapo Calamandrei Date: Fri Sep 5 16:17:00 2014 +0200 Adwaita: tooltip fixes The "too dark" background was caused by box-shadow inherited by window-frame.csd, so box-shadow: none and the right background color on tooltip selector. gtk/resources/theme/Adwaita/_common.scss | 2 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 4 insertions(+) commit 7f4105bcaf3a8f9a89e19a46e5bd6e6588b9ff7f Author: Lapo Calamandrei Date: Fri Sep 5 15:05:25 2014 +0200 Adwaita: tranlucent shadows inside entries So evo background changing entry doesn't look broken. gtk/resources/theme/Adwaita/_common.scss | 13 +++-- gtk/resources/theme/Adwaita/_drawing.scss | 14 +++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 61 ++++++---------------- gtk/resources/theme/Adwaita/gtk-contained.css | 61 ++++++---------------- 4 files changed, 44 insertions(+), 105 deletions(-) commit c492d773b1eaf60ea464407c55ede51eecbefb09 Author: Shankar Prasad Date: Fri Sep 5 12:59:55 2014 +0000 Updated Kannada translation po-properties/kn.po | 1914 ++++++++++++++------------------------------------- 1 file changed, 502 insertions(+), 1412 deletions(-) commit 3fa425bb9cc3114559de09f25e57ff759bc5b531 Author: Jesse van den Kieboom Date: Fri Sep 5 13:38:30 2014 +0200 scrolling: interpret smooth deltas as pixels on quartz This is a temporary workaround for scrolling units being amplified on quartz, due to the assumption that smooth scrolling deltas are always in some abstract unit similar to the one from xi2. A proper solution for the situation is described in bug #736121, but since we are close to release, this patch solves the issue temporarily. https://bugzilla.gnome.org/show_bug.cgi?id=736121 gtk/gtkrange.c | 4 ++++ gtk/gtkscrolledwindow.c | 10 ++++++++++ 2 files changed, 14 insertions(+) commit fb3019a946fedd091ae89b604caeb1a5c7159643 Author: Sweta Kothari Date: Fri Sep 5 16:27:57 2014 +0530 Updated gujarati translations po/gu.po | 7229 ++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 4223 insertions(+), 3006 deletions(-) commit 7a555c42b69ba642ae9c7300b530369f8d1d983f Author: Tom Tryfonidis Date: Fri Sep 5 09:30:43 2014 +0000 Updated Greek translation po/el.po | 1590 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1003 insertions(+), 587 deletions(-) commit 53dab9240d48f7c39aab6204d759b28d45133d26 Author: Alexander Larsson Date: Thu Sep 4 21:58:20 2014 +0200 GdkWindow: Remove unused fields clip_region_with_children and layered_region is not used any more, remove them. gdk/gdkinternals.h | 6 ------ 1 file changed, 6 deletions(-) commit 9e2f91e006136c09f7adc58d0dfff93c08aa938d Author: Yuri Myasoedov Date: Fri Sep 5 11:37:04 2014 +0400 Updated Russian translation po-properties/ru.po | 111 +++++++++++++++------------------------------------- 1 file changed, 32 insertions(+), 79 deletions(-) commit 4dd941b201cccc87f6fb0ada5e049adc3f7a0a43 Author: Yuri Myasoedov Date: Fri Sep 5 11:05:38 2014 +0400 Updated Russian translation po/ru.po | 1598 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1010 insertions(+), 588 deletions(-) commit a1133336654861edf6507fbdfb0b454cc4268c38 Author: Claude Paroz Date: Fri Sep 5 08:39:51 2014 +0200 Updated French translation (properties) po-properties/fr.po | 3674 ++++++++++++++++++++++++++------------------------- 1 file changed, 1879 insertions(+), 1795 deletions(-) commit 70f57fb4c06046a8ef637ecc671f845d6efcf3ba Author: Claude Paroz Date: Thu Sep 4 23:07:37 2014 +0000 Updated French translation po/fr.po | 1799 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1065 insertions(+), 734 deletions(-) commit aaf249837429a5fb70d0da5e1f4a65737f1e3596 Author: Cosimo Cecchi Date: Thu Sep 4 15:07:54 2014 -0700 Adwaita: fix inline-toolbar backgrounds This was lost in a recent cleanup. gtk/resources/theme/Adwaita/_common.scss | 21 +++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 102 +++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 102 +++++++++++++++++++++ 3 files changed, 225 insertions(+) commit 0ed03363e43b1031b02d2e7cd696f2ac14ac9ad6 Author: Timm Bäder Date: Thu Sep 4 15:29:56 2014 +0200 Fontchooserbutton: baseline-align icon and label https://bugzilla.gnome.org/show_bug.cgi?id=736056 gtk/resources/ui/gtkfilechooserbutton.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 0b441629851248140e92a1504efbec352a494345 Author: Yosef Or Boczko Date: Thu Sep 4 23:42:43 2014 +0300 Updated Hebrew translation po/he.po | 486 +++++++++++++++++++++++++++------------------------------------ 1 file changed, 206 insertions(+), 280 deletions(-) commit 541511c89ad71729096ceed4ca72d80f15b36457 Author: Lapo Calamandrei Date: Thu Sep 4 20:18:31 2014 +0200 widget-factory: remove margin from app-notification demos/widget-factory/widget-factory.ui | 1 - 1 file changed, 1 deletion(-) commit 94da331c6a66eca22724882b0bcb57b343f5b4aa Author: Lapo Calamandrei Date: Thu Sep 4 20:02:43 2014 +0200 Adwaita: more translucent tooltips gtk/resources/theme/Adwaita/_common.scss | 4 +++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) commit bbac2900e614a5d1cfc27eac3a3d171bcfb390e2 Author: Lapo Calamandrei Date: Thu Sep 4 19:41:47 2014 +0200 Adwaita: bottom edge hilight for selection mode buttons gtk/resources/theme/Adwaita/_common.scss | 33 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 32 ++++++++++----------- 3 files changed, 49 insertions(+), 48 deletions(-) commit e5d34372c4f163e49fb1e0a95f53445f6fa13f2c Author: Lapo Calamandrei Date: Thu Sep 4 19:18:13 2014 +0200 Adwaita: in app-notification padding Adwaita now adds the `right` padding to the app notification, so it shouldn't be set in the code via margins or whatever. gtk/resources/theme/Adwaita/_common.scss | 5 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 89 ++++++++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 89 ++++++++++++++++++---- 3 files changed, 151 insertions(+), 32 deletions(-) commit fa415d58a24b620512fc0c60218552ccb39b1950 Author: Lapo Calamandrei Date: Thu Sep 4 19:13:29 2014 +0200 Adwaita: flat colored buttons gtk/resources/theme/Adwaita/_common.scss | 10 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 100 ++++++++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 100 ++++++++++++++++++--- 3 files changed, 185 insertions(+), 25 deletions(-) commit 5420e48fbf8e5d360503110a9862fbad66cc45f2 Author: Lapo Calamandrei Date: Thu Sep 4 19:02:13 2014 +0200 Adwaita: don't color insensitive `colored` buttons. Insensitive suggested or destructive action buttons make no sense, so Adwaita doesn't color them. gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +++++++++++----------- 3 files changed, 26 insertions(+), 26 deletions(-) commit 4bc437db1554726ad0d794a5c017eef61d957a79 Author: Lapo Calamandrei Date: Thu Sep 4 18:59:43 2014 +0200 Adwaita: set color on osd backdrop buttons gtk/resources/theme/Adwaita/_drawing.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 6 ++++++ 3 files changed, 16 insertions(+) commit 9629fd07e3bf34974d45c7c2d3b7f2f74aca0969 Author: Carlos Garnacho Date: Thu Sep 4 15:24:32 2014 +0200 entry: Handle touch events on entry icons Those used to work indirectly due to GtkEntry not setting GDK_TOUCH_MASK, so pointer emulation would happen on those, but the event handlers on icons and its icon-pressed/released signals have never been explicitly touch aware, and this broke since the GDK_TOUCH_MASK can be set indirectly by GtkGestures. So make the icon event handler handle touch events, each icon can get hold of one GdkEventSequence, reacting exclusively to it. This is still not ported to GtkGesture due to GdkEvent exposure in these icon signals, as users might expect GDK_2/3BUTTON_PRESS while GtkGesture ignores those. Also, unset all icon pressed/sequence state on grab-notify, this used to happen ad-hoc when initiating icon DnD, but that doesn't cut it for user-defined reasons to initiate a grab (eg. popovers). https://bugzilla.gnome.org/show_bug.cgi?id=736004 gtk/gtkentry.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 67 insertions(+), 8 deletions(-) commit 0a9d60cdde3d12413f2cccdfa3184ef63b5ecafa Author: Lapo Calamandrei Date: Thu Sep 4 15:03:09 2014 +0200 Adwaita: big buttons surgey - cover missing statusses in selection-mode and the like - button drawing functions cleanup and extension - remove inline toolbar (ugly) special case not needed anymore - button selector structure simplification and rationalization - add back shadow to window control buttons gtk/resources/theme/Adwaita/_common.scss | 183 ++- gtk/resources/theme/Adwaita/_drawing.scss | 74 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1188 ++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 1192 +++++++++++++------- 4 files changed, 1653 insertions(+), 984 deletions(-) commit bf8f8247606d1de38f33f0f9523af56904200455 Author: Carlos Garnacho Date: Thu Sep 4 13:55:39 2014 +0200 treeview: Run the row dragging gesture on the bubble phase This is so signal handlers have an opportunity to undo its effect by returning GDK_EVENT_STOP on ::button-press-event, just like they used to do pre-gestures. https://bugzilla.gnome.org/show_bug.cgi?id=735965 gtk/gtktreeview.c | 2 -- 1 file changed, 2 deletions(-) commit 6f538950d41e2b97437afccde613d15fb931b712 Author: Carlos Garnacho Date: Thu Sep 4 13:23:26 2014 +0200 dnd: Make the drag gesture obey the button mask specified This was forgotten when making DnD use a GtkGesture in the handlers attached to the widget in gtk_drag_source_set(). The gesture must obey the specified button mask, and switch to denied state if the pressed button isn't part of the given mask. https://bugzilla.gnome.org/show_bug.cgi?id=735965 gtk/gtkdnd.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 20f3bb2a0b51a1c1aa380879131b86a2238ac021 Author: Daniel Mustieles Date: Thu Sep 4 12:54:05 2014 +0200 Updated Spanish Translation po/es.po | 252 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 103 insertions(+), 149 deletions(-) commit 665f489bfdb7951521e665714377c630c59dc5d0 Author: Andika Triwidada Date: Thu Sep 4 09:47:53 2014 +0000 Updated Indonesian translation po-properties/id.po | 3632 ++++++++++++++++++++++++++------------------------- 1 file changed, 1849 insertions(+), 1783 deletions(-) commit 7f728f4d60cd6b23c6aaea3a33cccbe523ec4463 Author: Rico Tzschichholz Date: Thu Sep 4 09:03:18 2014 +0200 build: Bump pango dependency to 1.36.7 Needed for PANGO_ANALYSIS_FLAG_IS_ELLIPSIS configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2d46db1b8308f7a60c94e94864576642cbe897ed Author: Matthias Clasen Date: Thu Sep 4 00:24:00 2014 -0400 Drop another unused script The check engine abi script was never used in our build, and with engines being on the way out, lets drop this. gtk-engine-check-abi.sh | 30 ------------------------------ 1 file changed, 30 deletions(-) commit 5b7db8c40140173c1679a98836e99bee1478a561 Author: Matthias Clasen Date: Thu Sep 4 00:21:25 2014 -0400 Drop a few rules that aren't used anymore These rules haven't been exercised in ages, time to drop them. Makefile.am | 24 +----------------------- sanity_check | 56 -------------------------------------------------------- 2 files changed, 1 insertion(+), 79 deletions(-) commit fd904c69f86d57484f25b4fe3c3a3e5d9cf7ce21 Author: Matthias Clasen Date: Thu Sep 4 00:17:30 2014 -0400 Fix cross references in docs in tarballs This approach is copied from Pango. Makefile.am | 1 + configure.ac | 10 ++++++++++ docs/reference/gdk/Makefile.am | 3 ++- docs/reference/gtk/Makefile.am | 2 ++ 4 files changed, 15 insertions(+), 1 deletion(-) commit 768c0c21b5b28a8a5776054eb03638e8a157dc2a Author: Matthias Clasen Date: Wed Sep 3 23:29:51 2014 -0400 GtkPlacesSidebar: Cancel async ops when finalized This is the common practice for objects that start async operations. https://bugzilla.gnome.org/show_bug.cgi?id=735953 gtk/gtkplacessidebar.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit c68fc2771917376b939e5a6639d369438dbb04ce Author: Emmanuele Bassi Date: Wed Sep 3 12:52:52 2014 +0100 places-sidebar: Use asynchronous API for querying bookmarks Removes two FIXMEs, and ensures that the places sidebar does not block while enumerating bookmarks or application shortcuts to remote volumes. https://bugzilla.gnome.org/show_bug.cgi?id=735953 gtk/gtkplacessidebar.c | 201 ++++++++++++++++++++++++++++++------------------- 1 file changed, 124 insertions(+), 77 deletions(-) commit 6efbe745b1c5ebc65973f20b535381be7a38eeef Author: Matthias Clasen Date: Wed Sep 3 23:29:04 2014 -0400 Stop using the deprecated GtkTreeView:rules-hint This was still used in the file chooser and the font chooser. gtk/resources/ui/gtkfilechooserwidget.ui | 1 - gtk/resources/ui/gtkfontchooserwidget.ui | 1 - 2 files changed, 2 deletions(-) commit 10703a02750826d7038cb5d172fcc18b4c46c587 Author: Matthias Clasen Date: Wed Sep 3 22:41:56 2014 -0400 notification tests: Skip GtkEntryCompletion::text-column This one is special. testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit bbc7cd2351eac679148a2e0f0bb645db924687be Author: Matthias Clasen Date: Wed Sep 3 22:44:31 2014 -0400 GtkEntryCompletion: Treat ::text-column specially Using the setting for this property conflicts with the documentation for gtk_entry_completion_set_text_column() which explicitly states that setting the property directly behaves differently. Concretely, this caused the file chooser entry completion popup to have two columns (with identical content). This partially reverts 331c28b369edae9aa3df2a24833ccb02ef8d7152. gtk/gtkentrycompletion.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1cc5cf3797b36500bd1e7b3e316161a5dc7df7b5 Author: Matthias Clasen Date: Wed Sep 3 22:18:49 2014 -0400 GtkLabel: better treatment for selection with ellipsis This commit arranges things so that we treat an ellipsized region like a single character for the purpose of selection and cursor navigation. https://bugzilla.gnome.org/show_bug.cgi?id=328449 gtk/gtklabel.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit fc5f7cc1383f869c3e82c9e327801d6b03bc854b Author: Matthias Clasen Date: Wed Sep 3 21:39:34 2014 -0400 GtkLabel: Make it possible to get the ellipsis range This will be used in the next commit to expand the selection. gtk/gtklabel.c | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) commit 1cddd14ab4f9d420b92ea091f247561697f67458 Author: Matthias Clasen Date: Wed Sep 3 20:49:44 2014 -0400 GtkLabel: better treatment for ellipsized links When links are entirely hidden in an ellipsis, don't let them be activated by clicking and skip them when moving the focus around. This commit depends on enhancements in pango 1.36.7 which make it possible to find the ellipsed runs in a PangoLayout. With older pango, things will work the same way as before. https://bugzilla.gnome.org/show_bug.cgi?id=668258 gtk/gtklabel.c | 111 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 95 insertions(+), 16 deletions(-) commit 0ff5cf7dafbbfda06ccdb60a57804b1823cbc6e0 Author: Lapo Calamandrei Date: Thu Sep 4 00:51:10 2014 +0200 Adwaita: fix path-bar buttons padding The padding there previously made the pathbar 1px taller then buttons, not good in general and specifically not good for Nautilus. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/resources/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) commit db372382e93c58f942180b858b1c271967f066d1 Author: Cosimo Cecchi Date: Wed Sep 3 14:45:51 2014 -0700 toolitem: set clip on allocation So that widgets that are children of tool items can render their shadows too. gtk/gtktoolitem.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 356e02fc78385680887ba7d1a971e3836985b362 Author: Lapo Calamandrei Date: Wed Sep 3 20:40:43 2014 +0200 Adwaita: more sass functions remixing gtk/resources/theme/Adwaita/_colors.scss | 8 ++++---- gtk/resources/theme/Adwaita/_drawing.scss | 20 ++++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +++++++++++----------- 4 files changed, 36 insertions(+), 24 deletions(-) commit 4570806ad6a3ec7d501058000bac179a6d06ce05 Author: Lapo Calamandrei Date: Wed Sep 3 19:41:50 2014 +0200 Adwaita: more usefull headerbar related functions gtk/resources/theme/Adwaita/_drawing.scss | 36 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 24 insertions(+), 16 deletions(-) commit aa85282bb637b129b347774a250654f525f3f76f Author: Lapo Calamandrei Date: Wed Sep 3 17:01:43 2014 +0200 Adwaita: change `font-size: 82%` to `font-size: smaller` gtk/resources/theme/Adwaita/_common.scss | 8 +++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 9 insertions(+), 11 deletions(-) commit 34de8da7d435c445e1f13fc9f9caa9cfa7a311cd Author: Lapo Calamandrei Date: Wed Sep 3 16:01:47 2014 +0200 Adwaita: .app-notification istead of .app-notification.frame gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 46 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 46 +++++++++++----------- 3 files changed, 47 insertions(+), 47 deletions(-) commit 3984b651a8292b4ab4921775e34ca68d19b2eaa1 Author: Andika Triwidada Date: Wed Sep 3 13:45:59 2014 +0000 Updated Indonesian translation po/id.po | 1794 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1062 insertions(+), 732 deletions(-) commit f8ee954a10ce8a3c9558f5363bef313648661162 Author: Lapo Calamandrei Date: Wed Sep 3 14:27:07 2014 +0200 Adwaita: change widget_edge() to _widget_edge() For consistence with other "private" functions. gtk/resources/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/resources/theme/Adwaita/_drawing.scss | 8 ++++---- 2 files changed, 14 insertions(+), 14 deletions(-) commit 58bef3a4640c4ff5ee26df2ecf95d2d9c03591e2 Author: Lapo Calamandrei Date: Wed Sep 3 14:22:10 2014 +0200 Adwaita: parametric bottom edge color for buttons gtk/resources/theme/Adwaita/_common.scss | 148 +++++++++++---------- gtk/resources/theme/Adwaita/_drawing.scss | 43 +++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 86 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 64 ++++----- 4 files changed, 174 insertions(+), 167 deletions(-) commit 6adaf4b74fa5fe1b1aef4a0eddd848a8aad7405e Author: Lapo Calamandrei Date: Wed Sep 3 13:18:39 2014 +0200 Adwaita: parametric bottom edge color for entries The entry mixin now allows to specify the color of the widget bottom edge hilight, istead then just enable/disable it, so `$noegde: true` now is `$egde: none` or `$edge: $somecolor`, not setting it draws the edge with the default theme color. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/_drawing.scss | 9 +++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- 3 files changed, 9 insertions(+), 8 deletions(-) commit ae81e4ee1b7720223c37d08b475e300e52c40829 Author: Daniel Mustieles Date: Wed Sep 3 14:19:28 2014 +0200 Updated Spanish translation po/es.po | 1597 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1005 insertions(+), 592 deletions(-) commit a251a4139f911bc57162dfa25c7e6b2a1681d3d1 Author: Fran Diéguez Date: Wed Sep 3 10:32:45 2014 +0200 Updated Galician translations po-properties/gl.po | 3530 ++++++++++++++++++++++++++------------------------- 1 file changed, 1807 insertions(+), 1723 deletions(-) commit 957ab2546f5c760014e333bbdd5b7253cb4d8f5c Author: Nilamdyuti Goswami Date: Wed Sep 3 08:15:37 2014 +0000 Updated Assamese translation po/as.po | 1615 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 1002 insertions(+), 613 deletions(-) commit 0c0964b05633f1f362b9f855fd8b3b50a033db4e Author: Fran Diéguez Date: Wed Sep 3 10:07:31 2014 +0200 Updated Galician translations po/gl.po | 1865 +++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 1118 insertions(+), 747 deletions(-) commit 266416c1f5fcc7142df5e7e63efce6bf56619416 Author: Piotr Drąg Date: Wed Sep 3 04:27:15 2014 +0200 Updated Polish translation po-properties/pl.po | 3512 ++++++++++++++++++++++++++------------------------- po/pl.po | 1797 +++++++++++++++----------- 2 files changed, 2852 insertions(+), 2457 deletions(-) commit 2b643a6fd1c3a117d2f3c99c78df8757f0e7d8cc Author: Matthias Clasen Date: Tue Sep 2 22:25:29 2014 -0400 widget-factory: More variety in listbox content Add rows with buttons and checkboxes to the listbox example on page 2, and make the switch in row 1 toggle selection mode, to test various cases of widgets in 'selected context'. demos/widget-factory/widget-factory.c | 20 ++++++++ demos/widget-factory/widget-factory.ui | 93 ++++++++++++++++++++++++++++++++-- 2 files changed, 110 insertions(+), 3 deletions(-) commit b4282be76b949de3483d87672282395c0051665b Author: Lapo Calamandrei Date: Tue Sep 2 23:32:50 2014 +0200 Adwaita: fix message dialog button linking logic gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 9e8582e371cbe093ae7c64fb1e9a6a689318d3a1 Author: Lapo Calamandrei Date: Tue Sep 2 23:28:21 2014 +0200 Adwaita: move %selected_items at the end of the file To be able to use that all over the place avoiding duplication. gtk/resources/theme/Adwaita/_common.scss | 34 +++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 145 ++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 153 ++++++++++----------- 3 files changed, 160 insertions(+), 172 deletions(-) commit d4250eecf716d92700fb37251d9d954a5a3476e7 Author: Lapo Calamandrei Date: Tue Sep 2 21:25:53 2014 +0200 Adwaita: special case button in selected list rows Buttons on blue bg needs to have no shadow and, for the light variant, darker borders. gtk/resources/theme/Adwaita/_common.scss | 39 +++++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 80 +++++++++++++++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 88 +++++++++++++++++++++- 3 files changed, 204 insertions(+), 3 deletions(-) commit c1e831e595154f5fb42d5848317d3575bd334296 Author: Lapo Calamandrei Date: Tue Sep 2 20:39:25 2014 +0200 Adwaita: parametric headerbar_fill highlight gtk/resources/theme/Adwaita/_drawing.scss | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit c90d8dafd8fc61f8ba63eb32741876c831a4abad Author: Lapo Calamandrei Date: Tue Sep 2 20:35:28 2014 +0200 Adwaita: turn $widget_edge into a function gtk/resources/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/resources/theme/Adwaita/_drawing.scss | 18 ++++++++++-------- 2 files changed, 20 insertions(+), 18 deletions(-) commit 1073ae57ce18e80b1e3f4c3e33dfd487ef369836 Author: Jasper St. Pierre Date: Tue Sep 2 11:24:34 2014 -0700 testgtk: Fix enabling of the cursor demo Make this a lot less hacky. tests/testgtk.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit e6a0378289909a5ac6f7824560147565eb01737e Author: Jasper St. Pierre Date: Tue Sep 2 11:21:02 2014 -0700 gtkcssshadowvalue: Use cairo_surface_create_similar_image Calling this on an Xlib surface allows us to keep this in SHM memory, giving it a potential speedup so we don't have to copy it to SHM memory for the Composite when we mask later. gtk/gtkcssshadowvalue.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 0acad8436693faed46d2357d707ff01f103cb57a Author: Jasper St. Pierre Date: Tue Sep 2 08:29:47 2014 -0700 gdkcairo: Add a missing flush Noticed by ickle on IRC. We need to flush here to make sure that the image data we fetch is up to date. gdk/gdkcairo.c | 3 +++ 1 file changed, 3 insertions(+) commit 6243c7122cf1a315c9b3b9ab71fad4d93f2d5275 Author: Alexander Larsson Date: Tue Sep 2 16:22:12 2014 +0200 gdkwindow: Fix update area calculations for native subwindows When recursing the update area down into native subwindows we forgot to apply the native window position. This caused us to repaint the wrong thing in certain cases. I noticed this when playing with the wip/gdk-gl branch, because it was triggering unnecessary repaints of the (native window) gl widgets. gdk/gdkwindow.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 41fe530795a875f9c0d6321e6e9c2a3bc03b1acd Author: Matthias Clasen Date: Tue Sep 2 09:53:15 2014 -0400 testgtk: Make cursor demo work with wayland We have the wayland apis to do this. tests/testgtk.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit e742c0447e8e5c0f2ff00162a9b8d96499524e83 Author: Matthias Clasen Date: Tue Sep 2 09:50:08 2014 -0400 inspector: Add .ui.h files to git Tools like damn-lies rely on being able to generate .pot files from pristine checkouts, so everything that goes into the .pot file has to be in git. This is not ideal, but we already do the same for other .ui.h files in GTK+. gtk/inspector/actions.ui.h | 5 +++++ gtk/inspector/button-path.ui.h | 1 + gtk/inspector/classes-list.ui.h | 3 +++ gtk/inspector/css-editor.ui.h | 2 ++ gtk/inspector/data-list.ui.h | 1 + gtk/inspector/general.ui.h | 3 +++ gtk/inspector/menu.ui.h | 4 ++++ gtk/inspector/misc-info.ui.h | 6 ++++++ gtk/inspector/object-hierarchy.ui.h | 1 + gtk/inspector/prop-list.ui.h | 4 ++++ gtk/inspector/resource-list.ui.h | 4 ++++ gtk/inspector/signals-list.ui.h | 6 ++++++ gtk/inspector/style-prop-list.ui.h | 3 +++ gtk/inspector/visual.ui.h | 13 +++++++++++++ gtk/inspector/widget-tree.ui.h | 4 ++++ gtk/inspector/window.ui.h | 20 ++++++++++++++++++++ 16 files changed, 80 insertions(+) commit 29826d5489667bec2dfd34fb85b890be2956160a Author: Matthias Clasen Date: Tue Sep 2 09:48:58 2014 -0400 Keep .ui.h files out of BUILT_SOURCES AND MAINTAINERCLEANFILES Otherwise, git.mk will add them to .gitignore, and we want to add them to source control for the benefit of tools like damn-lies which rely on being able to generate a .pot file from a pristine checkout., gtk/inspector/Makefile.am | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit fef85f72ee52f904ef09973567615dbc5fbe11fb Author: Lapo Calamandrei Date: Tue Sep 2 15:21:42 2014 +0200 Adwaita: make entry and headerbar gradients sass functions gtk/resources/theme/Adwaita/_drawing.scss | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit d40ea0ff5b2a1e495e1dc5c8a305c32e53e45351 Author: Rafael Ferreira Date: Tue Sep 2 06:24:30 2014 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 3763 ++++++++++++++++++++++++------------------------ 1 file changed, 1920 insertions(+), 1843 deletions(-) commit eb164101ac4cd9d1a705adc0842fa0ec295ce8b6 Author: Matthias Clasen Date: Mon Sep 1 20:52:46 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d41227012682ba58e612c7621877db947c931b52 Author: Matthias Clasen Date: Mon Sep 1 18:05:24 2014 -0400 3.13.8 NEWS | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 60 insertions(+), 1 deletion(-) commit 7fbac5771222fe8ab0eb2b61cf567b63b13b3712 Author: Carlos Garnacho Date: Mon Sep 1 20:20:49 2014 +0200 wayland: Unset window_impl->commit_pending when hiding the surface A surface may be hidden when a frame is already scheduled, which may cause crashes on on_frame_clock_after_paint() when calling commit() on a NULL surface. To fix this, ensure commit_pending is also set to FALSE when the surface is gone. https://bugzilla.gnome.org/show_bug.cgi?id=735226 gdk/wayland/gdkwindow-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 382d68ff8e5701a10aa8d4f879c46c63c21e075f Author: Andre Heinecke Date: Tue Aug 19 17:55:47 2014 +0200 Use secrets service for cups auth_info When a printer requires auth_info (e.g. a printer connected over the samba protocol) it is now possible to save the credentials necessary for printing if a secrets service is available over dbus. The auth_info is then stored / loaded from the default collection of that secrets service. If no such service is available the user is not shown the option to remember the password and the behavior remains the same as before. https://bugzilla.gnome.org/show_bug.cgi?id=674264 gtk/gtkmarshalers.list | 1 - gtk/gtkprintbackend.c | 46 +- gtk/gtkprintbackend.h | 9 +- modules/printbackends/cups/Makefile.am | 6 +- modules/printbackends/cups/gtkcupssecretsutils.c | 1044 ++++++++++++++++++++++ modules/printbackends/cups/gtkcupssecretsutils.h | 41 + modules/printbackends/cups/gtkprintbackendcups.c | 169 +++- 7 files changed, 1292 insertions(+), 24 deletions(-) commit d5dae5b5dfef5d49cc8dd4e79afce31d832c7991 Author: Carlos Garnacho Date: Mon Sep 1 19:11:02 2014 +0200 wayland: Store and use the current grab cursor, if any Only static cursors are supported in gdk_device_grab() so far. Obey the cursor that gdk_device_grab() specifies, which may be different to the pointer window one. As soon as the grab is gone, the pointer window cursor will be restored as usual. https://bugzilla.gnome.org/show_bug.cgi?id=735831 gdk/wayland/gdkdevice-wayland.c | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) commit 2c71b8f5991c98d3beb2df2f19ea2edad52e858c Author: Carlos Garnacho Date: Mon Sep 1 18:53:00 2014 +0200 wayland: Keep the last cursor on leave, try to restore it on enter On DnD, pointer_handle_leave may be triggered without the pointer actually leaving the window, and pointer_handle_enter() happening after intra-window DnD won't actually manage to update the cursor (it does nothing directly, and to the upper layers the cursor is still the same and consistent, so no attempt will happen). To fix this, keep the pointer cursor on leave, and ensure it is updated on enter. The pointer cursor will be updated to any current new one through the enter/motion events generated if it needs be. https://bugzilla.gnome.org/show_bug.cgi?id=735831 gdk/wayland/gdkdevice-wayland.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit a0abdbbdd6a83db2a51fcd390472f177436b35ca Author: Carlos Garnacho Date: Mon Sep 1 18:44:48 2014 +0200 wayland: Reference pixmap-based cursors' surface before handing the wl_buffer cairo_surface_destroy() is called after the buffer is released, for every wl_buffer. Windows usually reference their cairo surface before rendering, so that extra reference is consumed after the buffer is released, so do the same with cursor surfaces and add an extra reference whenever a cursor surface change is about to be scheduled. Otherwise, the GdkWaylandCursor is left with an invalid cairo_surface_t, which causes crashes the next time it is used. https://bugzilla.gnome.org/show_bug.cgi?id=735830 gdk/wayland/gdkcursor-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit b2b948514e2bfd41f516401960ec23f74383a827 Author: Piotr Drąg Date: Mon Sep 1 20:06:19 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 - po/POTFILES.in | 1 - 2 files changed, 2 deletions(-) commit 14b4e4d35acd3b04beac1aad27973a6f332dff7b Author: Carlos Garnacho Date: Thu Aug 28 14:44:44 2014 +0200 gtkdnd: Hardcode the DnD window onto the drag widget window on Wayland This makes the drag widget use the same window surface that was passed when starting the drag operation. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gtk/gtkdnd.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit ee93db16592b1450765ef400acb8747c10f6addf Author: Carlos Garnacho Date: Thu Aug 28 14:40:42 2014 +0200 window: Add private API to hardcode the main GdkWindow for a GtkWindow This must be called while the window is not realized yet, and sets the GdkWindow that will be used for the next GtkWindow's realize/unrealize cycle. The GtkWindow takes ownership on the GdkWindow, and as such it will be destroyed when the widget is unrealized. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gtk/gtkwindow.c | 116 +++++++++++++++++++++++++++++++------------------ gtk/gtkwindowprivate.h | 2 + 2 files changed, 76 insertions(+), 42 deletions(-) commit 8504890867b70c9638a07c62f478374ad93961e0 Author: Carlos Garnacho Date: Thu Aug 28 14:12:51 2014 +0200 wayland: Add private API to retrieve the drag window for a drag context On wayland the DnD surface must be created early when starting the drag operation, so offer API for GTK+ to get the GdkWindow used as a DnD surface on the drag operation. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdnd-wayland.c | 9 +++++++++ gdk/wayland/gdkwaylandselection.h | 4 ++++ 2 files changed, 13 insertions(+) commit 6ba7d347c7e6cbf6d17f1011f6e7b72e012a4613 Author: Carlos Garnacho Date: Thu Aug 28 14:10:00 2014 +0200 wayland: Return properly type hints from GdkWindows This was hardcoded to GDK_WINDOW_TYPE_HINT_NORMAL, even though wayland windows store the type hint themselves. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkwindow-wayland.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 867302e2c78f7867980fadc4a8293aeb01e614e2 Author: Carlos Garnacho Date: Fri Aug 22 16:33:47 2014 +0200 wayland: Don't set an xdg surface to DnD windows https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7b85a3417a86916753e973da2c8f622bf610f94b Author: Carlos Garnacho Date: Thu Aug 21 21:30:22 2014 +0200 wayland: Implement drag sources The wl_data_source is retrieved from the selection object for the DnD selection, and used to initiate a drag. When the drag is finished, a button release or touch end event is synthesized to finish the DnD operation after the compositor grab is gone. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdevice-wayland.c | 19 ++++- gdk/wayland/gdkdnd-wayland.c | 147 ++++++++++++++++++++++++++++++++++++- gdk/wayland/gdkprivate-wayland.h | 6 ++ gdk/wayland/gdkselection-wayland.c | 37 +++++++++- 4 files changed, 203 insertions(+), 6 deletions(-) commit 9b0b88d16b5fa16b0265e5bbbea97a79a1dd7cf5 Author: Carlos Garnacho Date: Thu Aug 21 20:20:37 2014 +0200 wayland: Implement the dropping part of DnD All destination-side events are emitted, and updates to the drop context are notified through the currently handled wl_data_offer. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdevice-wayland.c | 58 +++++++++++- gdk/wayland/gdkdnd-wayland.c | 184 ++++++++++++++++++++++++++++++++++++++- gdk/wayland/gdkprivate-wayland.h | 18 ++++ 3 files changed, 255 insertions(+), 5 deletions(-) commit f48b3cce024b04df08ef5fa3d8360688e1f910b7 Author: Carlos Garnacho Date: Thu Aug 21 19:41:48 2014 +0200 wayland: Replace clipboard implementation The wayland specific clipboard functions have been replaced by something more similar to the hooking the win32 backend does, which allows for just using the default GtkClipboard code in GTK+. As a consequence, the wayland-specific GtkClipboard implementation is now gone. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdevice-wayland.c | 375 +------------------------------------ gdk/wayland/gdkselection-wayland.c | 38 ++++ gdk/wayland/gdkwaylandselection.h | 36 +--- gtk/Makefile.am | 2 - gtk/gtkclipboard-wayland.c | 365 ------------------------------------ gtk/gtkclipboard-waylandprivate.h | 60 ------ gtk/gtkclipboard.c | 10 +- gtk/gtkselection.c | 27 +++ 8 files changed, 77 insertions(+), 836 deletions(-) commit 77447990728d171c53cf228acf9b99c2d8d132f0 Author: Carlos Garnacho Date: Thu Aug 21 18:49:44 2014 +0200 wayland: Implement drag/source side of selections This has been made to work similarly to X11, requests for the data device contents are notified through GDK_SELECTION_REQUEST events, the data stored in the GDK_SELECTION property as a reaction to that event is then stored into the wayland selection implementation, and written to the fd when requested/available. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdevice-wayland.c | 26 +++ gdk/wayland/gdkprivate-wayland.h | 13 ++ gdk/wayland/gdkselection-wayland.c | 322 ++++++++++++++++++++++++++++++++++++- gdk/wayland/gdkwindow-wayland.c | 2 + 4 files changed, 362 insertions(+), 1 deletion(-) commit 3b953041a9043d12238d8ca1b2d06a2ade702b1e Author: Carlos Garnacho Date: Thu Aug 21 18:34:01 2014 +0200 wayland: Implement drop/destination side of selections This implementation makes the destination side of selections work similarly to X11's, gdk_selection_convert() triggers data fetching, which is notified through GDK_SELECTION_NOTIFY events on arrival, the buffered data is then available through gdk_selection_property_get(). https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdisplay-wayland.c | 16 ++ gdk/wayland/gdkdisplay-wayland.h | 4 + gdk/wayland/gdkprivate-wayland.h | 8 + gdk/wayland/gdkselection-wayland.c | 452 ++++++++++++++++++++++++++++++++++++- 4 files changed, 479 insertions(+), 1 deletion(-) commit 32bf03c0539cc909a2d0b29034db9a7903125f83 Author: Carlos Garnacho Date: Thu Aug 21 19:50:21 2014 +0200 wayland: implement text_property_to_utf8_list() Of some sort, this is enough to get text transfers on wayland, anything but utf8 as plain/text should be pretty rare. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkselection-wayland.c | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) commit bd410421d8f97bc8c3c984aa69b693d8415b3052 Author: Carlos Garnacho Date: Wed Aug 20 21:35:02 2014 +0200 gtkselection: Ensure the X11 specific message length only applies to X11 Other backends are compilable together with the X11 one, so the message lenght limit was applying to them all. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gtk/gtkselection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5fcf2de61755e9c1563ac2ad8ac0442467f1117c Author: Carlos Garnacho Date: Wed Aug 20 21:31:15 2014 +0200 gdk: Remove check for source window This is backend dependent, on wayland there is no such source window, not even on local DnD situations. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/gdkdnd.c | 1 - 1 file changed, 1 deletion(-) commit 9c16d8bb50fc80ec3a9125f2320c7417065a29a5 Author: Carlos Garnacho Date: Wed Aug 20 21:03:38 2014 +0200 gdk: Add GDK_DRAG_PROTO_WAYLAND To be used on the wayland windowing backend as the DnD protocol. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/gdkdnd.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7d1d9e26d79bf470c0c87cc30f04feae831b8224 Author: Lapo Calamandrei Date: Mon Sep 1 19:10:50 2014 +0200 Adwaita: make links on selected bg visible... gtk/resources/theme/Adwaita/_common.scss | 9 +++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 16 +++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 16 +++++++++------- 3 files changed, 23 insertions(+), 18 deletions(-) commit 31a26ef8a98c4cb3f2ab1b1ac6a206bfb2c42497 Author: Lapo Calamandrei Date: Mon Sep 1 17:42:46 2014 +0200 Adwaita: GtkFlowBox selected child styling gtk/resources/theme/Adwaita/_common.scss | 9 +++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++-- 3 files changed, 25 insertions(+), 4 deletions(-) commit 0c417dfc3013bea609507f15352699afd59d0969 Author: Matthias Clasen Date: Sat Aug 30 10:33:28 2014 -0400 inspector: Prevent looping when picking widgets What was happening that the button press event that we use to select a widget caused another clicked signal emission of the inspect button, starting another pick action. gtk/inspector/inspect-button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 87e2b37875d28cb14802429537025e09667c247d Author: Lapo Calamandrei Date: Mon Sep 1 17:31:36 2014 +0200 Adwaita: move the header-bar fill in a mixin. gtk/resources/theme/Adwaita/_common.scss | 10 +++------- gtk/resources/theme/Adwaita/_drawing.scss | 8 ++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 4 files changed, 15 insertions(+), 11 deletions(-) commit 3053d0d5e9c3688afed6afd119a28745a716522b Author: Jiro Matsuzawa Date: Mon Sep 1 23:29:05 2014 +0900 l10n: Update Japanese translation po/ja.po | 2516 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1374 insertions(+), 1142 deletions(-) commit 85593b2f2bb2198747da7ffa45c4a4e5e298ee5f Author: Lapo Calamandrei Date: Mon Sep 1 16:27:34 2014 +0200 Adwaita: set padding to 0 for tab buttons gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit d8b8048faf24e697d957727f3e34f4aa70485c32 Author: Chun-wei Fan Date: Mon Sep 1 13:14:11 2014 +0800 GTK MSVC Projects: Fix Include Directories Somehow the project files looked for includes in gdk/ before gtk/, which is wrong. Fix that. build/win32/vs10/gtk.vcxprojin | 8 ++++---- build/win32/vs9/gtk.vcprojin | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 08f6dceef544ba489b45d4cdb289e7936669f65c Author: Jasper St. Pierre Date: Sun Aug 31 19:46:15 2014 -0700 gtkcairoblur: Relicense under LGPL Both Owen Taylor and I, the originators of this code, allow the code herein be relicensed to the LGPL, which is what GTK+ ships with. This prevents GTK+ from being GPL-only. gtk/gtkcairoblur.c | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) commit f33eb7a37352ed529248ae0fda6d909d51c378d5 Author: Jasper St. Pierre Date: Fri Aug 29 12:54:01 2014 -0700 cssshadowvalue: Fix whitespace gtk/gtkcssshadowvalue.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b547d57d40d0069420b44b23a32f947c19d9ac8b Author: Maria Mavridou Date: Sat Aug 30 21:55:24 2014 +0000 Updated Greek translation po-properties/el.po | 836 ++++++++++++++++++++++++++-------------------------- 1 file changed, 419 insertions(+), 417 deletions(-) commit db6f7296e621e26ebe8dbfcee09f9e309e5b3f81 Author: Lapo Calamandrei Date: Sat Aug 30 14:27:10 2014 +0200 Adwaita: special case checks/radios on selected bg Add yet another set of checks and radios assets used in selected treeview cells and selected list-rows, the standard dark variant assets work well in those cases so no need for special casing there. gtk/resources/theme/Adwaita/_common.scss | 10 + gtk/resources/theme/Adwaita/assets.svg | 8021 ++++++++++++-------- gtk/resources/theme/Adwaita/assets.txt | 36 + .../assets/selected-checkbox-checked-active.png | Bin 0 -> 676 bytes .../assets/selected-checkbox-checked-active@2.png | Bin 0 -> 1336 bytes ...ected-checkbox-checked-backdrop-insensitive.png | Bin 0 -> 586 bytes ...ted-checkbox-checked-backdrop-insensitive@2.png | Bin 0 -> 964 bytes .../assets/selected-checkbox-checked-backdrop.png | Bin 0 -> 626 bytes .../selected-checkbox-checked-backdrop@2.png | Bin 0 -> 1071 bytes .../assets/selected-checkbox-checked-hover.png | Bin 0 -> 676 bytes .../assets/selected-checkbox-checked-hover@2.png | Bin 0 -> 1310 bytes .../selected-checkbox-checked-insensitive.png | Bin 0 -> 626 bytes .../selected-checkbox-checked-insensitive@2.png | Bin 0 -> 1044 bytes .../Adwaita/assets/selected-checkbox-checked.png | Bin 0 -> 683 bytes .../Adwaita/assets/selected-checkbox-checked@2.png | Bin 0 -> 1387 bytes .../assets/selected-checkbox-mixed-active.png | Bin 0 -> 567 bytes .../assets/selected-checkbox-mixed-active@2.png | Bin 0 -> 1024 bytes ...elected-checkbox-mixed-backdrop-insensitive.png | Bin 0 -> 486 bytes ...ected-checkbox-mixed-backdrop-insensitive@2.png | Bin 0 -> 805 bytes .../assets/selected-checkbox-mixed-backdrop.png | Bin 0 -> 492 bytes .../assets/selected-checkbox-mixed-backdrop@2.png | Bin 0 -> 816 bytes .../assets/selected-checkbox-mixed-hover.png | Bin 0 -> 518 bytes .../assets/selected-checkbox-mixed-hover@2.png | Bin 0 -> 952 bytes .../assets/selected-checkbox-mixed-insensitive.png | Bin 0 -> 494 bytes .../selected-checkbox-mixed-insensitive@2.png | Bin 0 -> 814 bytes .../Adwaita/assets/selected-checkbox-mixed.png | Bin 0 -> 567 bytes .../Adwaita/assets/selected-checkbox-mixed@2.png | Bin 0 -> 1048 bytes .../assets/selected-checkbox-unchecked-active.png | Bin 0 -> 491 bytes .../selected-checkbox-unchecked-active@2.png | Bin 0 -> 808 bytes ...ted-checkbox-unchecked-backdrop-insensitive.png | Bin 0 -> 427 bytes ...d-checkbox-unchecked-backdrop-insensitive@2.png | Bin 0 -> 667 bytes .../selected-checkbox-unchecked-backdrop.png | Bin 0 -> 429 bytes .../selected-checkbox-unchecked-backdrop@2.png | Bin 0 -> 669 bytes .../assets/selected-checkbox-unchecked-hover.png | Bin 0 -> 438 bytes .../assets/selected-checkbox-unchecked-hover@2.png | Bin 0 -> 782 bytes .../selected-checkbox-unchecked-insensitive.png | Bin 0 -> 427 bytes .../selected-checkbox-unchecked-insensitive@2.png | Bin 0 -> 667 bytes .../Adwaita/assets/selected-checkbox-unchecked.png | Bin 0 -> 464 bytes .../assets/selected-checkbox-unchecked@2.png | Bin 0 -> 851 bytes .../assets/selected-radio-checked-active.png | Bin 0 -> 818 bytes .../assets/selected-radio-checked-active@2.png | Bin 0 -> 1535 bytes ...selected-radio-checked-backdrop-insensitive.png | Bin 0 -> 663 bytes ...lected-radio-checked-backdrop-insensitive@2.png | Bin 0 -> 1179 bytes .../assets/selected-radio-checked-backdrop.png | Bin 0 -> 694 bytes .../assets/selected-radio-checked-backdrop@2.png | Bin 0 -> 1230 bytes .../assets/selected-radio-checked-hover.png | Bin 0 -> 759 bytes .../assets/selected-radio-checked-hover@2.png | Bin 0 -> 1548 bytes .../assets/selected-radio-checked-insensitive.png | Bin 0 -> 680 bytes .../selected-radio-checked-insensitive@2.png | Bin 0 -> 1214 bytes .../Adwaita/assets/selected-radio-checked.png | Bin 0 -> 813 bytes .../Adwaita/assets/selected-radio-checked@2.png | Bin 0 -> 1655 bytes .../Adwaita/assets/selected-radio-mixed-active.png | Bin 0 -> 751 bytes .../assets/selected-radio-mixed-active@2.png | Bin 0 -> 1411 bytes .../selected-radio-mixed-backdrop-insensitive.png | Bin 0 -> 635 bytes ...selected-radio-mixed-backdrop-insensitive@2.png | Bin 0 -> 1114 bytes .../assets/selected-radio-mixed-backdrop.png | Bin 0 -> 652 bytes .../assets/selected-radio-mixed-backdrop@2.png | Bin 0 -> 1128 bytes .../Adwaita/assets/selected-radio-mixed-hover.png | Bin 0 -> 726 bytes .../assets/selected-radio-mixed-hover@2.png | Bin 0 -> 1436 bytes .../assets/selected-radio-mixed-insensitive.png | Bin 0 -> 644 bytes .../assets/selected-radio-mixed-insensitive@2.png | Bin 0 -> 1130 bytes .../theme/Adwaita/assets/selected-radio-mixed.png | Bin 0 -> 778 bytes .../Adwaita/assets/selected-radio-mixed@2.png | Bin 0 -> 1514 bytes .../assets/selected-radio-unchecked-active.png | Bin 0 -> 673 bytes .../assets/selected-radio-unchecked-active@2.png | Bin 0 -> 1229 bytes ...lected-radio-unchecked-backdrop-insensitive.png | Bin 0 -> 578 bytes ...cted-radio-unchecked-backdrop-insensitive@2.png | Bin 0 -> 992 bytes .../assets/selected-radio-unchecked-backdrop.png | Bin 0 -> 581 bytes .../assets/selected-radio-unchecked-backdrop@2.png | Bin 0 -> 993 bytes .../assets/selected-radio-unchecked-hover.png | Bin 0 -> 664 bytes .../assets/selected-radio-unchecked-hover@2.png | Bin 0 -> 1290 bytes .../selected-radio-unchecked-insensitive.png | Bin 0 -> 578 bytes .../selected-radio-unchecked-insensitive@2.png | Bin 0 -> 992 bytes .../Adwaita/assets/selected-radio-unchecked.png | Bin 0 -> 701 bytes .../Adwaita/assets/selected-radio-unchecked@2.png | Bin 0 -> 1371 bytes gtk/resources/theme/Adwaita/gtk-contained.css | 144 + 76 files changed, 5085 insertions(+), 3126 deletions(-) commit a822abd3085ff328e050a9b77c2d4294532ed957 Author: Matthias Clasen Date: Sat Aug 30 02:12:41 2014 -0400 GtkTreeView: Don't hardcode black for tree lines Use the left border color for tree lines. This is similar to our use of top border color for grid lines. As a side-effect, tree lines now get recolored when they are in a selected row. https://bugzilla.gnome.org/show_bug.cgi?id=415415 gtk/gtktreeview.c | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) commit 8c5eb9a0d62341a7f24da160806a6833cd972615 Author: Matthias Clasen Date: Sat Aug 30 01:59:05 2014 -0400 GtkTreeModelFilter: Documentation improvement Clarify in the docs that some functions can only be called once for a given filter model. https://bugzilla.gnome.org/show_bug.cgi?id=346886 gtk/gtktreemodelfilter.c | 57 ++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 28 deletions(-) commit 6fbb1c782b0191ca7f8cbc4a70ea4b576cb363e0 Author: Matthias Clasen Date: Sat Aug 30 01:44:20 2014 -0400 Add a testcase for counting selection in treeviews https://bugzilla.gnome.org/show_bug.cgi?id=702957 testsuite/gtk/treeview.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit c71d1b9664289d302294bcec0b8a4b3a76d22c65 Author: Matthias Clasen Date: Sat Aug 30 01:46:06 2014 -0400 treeview tests: Clean up after each test It is not good form to leak in testcases. testsuite/gtk/treeview.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 00866d1c0af51693e2c8ad0f8c93aba7c291a3b0 Author: Matthias Clasen Date: Sat Aug 30 01:34:10 2014 -0400 treeview tests: Add bug references testsuite/gtk/treeview.c | 5 +++++ 1 file changed, 5 insertions(+) commit 1c1b51d52d8ade1598b3c6043ef4dbfc0a563f4b Author: Matthias Clasen Date: Sat Aug 30 00:53:35 2014 -0400 Don't return from a void function And don't return the value of void functions, either. gtk/gtklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0fed16d1b0f1df735d765b4c15f12671ca6fcbd4 Author: Matthias Clasen Date: Sat Aug 30 00:53:21 2014 -0400 Trivial formatting fix gdk/gdkproperty.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit f505fc5cb455914c7d16399492d48bc51e4410ad Author: Piotr Drąg Date: Sat Aug 30 02:43:13 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 2 +- po/POTFILES.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit e014b8931036e5e1f09108520c0ac0c4efe250e6 Author: Matthias Clasen Date: Fri Aug 29 16:33:37 2014 -0400 Move gtkthemingengine to deprecated directory This is the place for wholly-deprecated sources. gtk/Makefile.am | 6 +++--- gtk/{ => deprecated}/gtkthemingengine.c | 0 gtk/{ => deprecated}/gtkthemingengine.h | 0 gtk/{ => deprecated}/gtkthemingengineprivate.h | 2 +- gtk/gtk.h | 2 +- gtk/gtkborderimage.c | 1 - gtk/gtkcsscustomproperty.c | 3 ++- gtk/gtkcssenginevalueprivate.h | 2 +- gtk/gtkcssshadowvalue.c | 3 ++- gtk/gtkcssstylefuncs.c | 2 +- gtk/gtkcssstylepropertyimpl.c | 3 ++- gtk/gtkstylecontext.c | 2 +- gtk/gtkstyleproperties.c | 2 +- testsuite/css/parser/test-css-parser.c | 2 ++ 14 files changed, 17 insertions(+), 13 deletions(-) commit bdf35e034a749f03fd704889479b37ac9e82a1b0 Author: Matthias Clasen Date: Fri Aug 29 15:11:11 2014 -0400 GtkAboutDialog: Add formatting examples to the docs We were not very explicit about the expected format for links and email addresses in the strings, so give some explicit examples. gtk/gtkaboutdialog.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 4d608ad7226fe0e8a7ab1366a95d616e4b464c3a Author: Lapo Calamandrei Date: Fri Aug 29 19:47:38 2014 +0200 Adwaita: no edge hilight for checks and radios in list-rows gtk/resources/theme/Adwaita/_common.scss | 17 +++++++++-------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 +++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 7 +++++-- 3 files changed, 19 insertions(+), 12 deletions(-) commit c69d578bb803deb9fb24acde192e908f81ad8cab Author: Matthias Clasen Date: Fri Aug 29 11:35:21 2014 -0400 Bump wayland dep to 1.5.91 This release has the new key repeat listener that we are using. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2de06993d56107fa6ebcee764929c20dc4d44cc6 Author: Lapo Calamandrei Date: Fri Aug 29 16:52:21 2014 +0200 Adwaita: titlebutton are flat image-buttons Hence treat them like those, a bunch of special case styling removed, which also doesn't override selection mode buttons styling. gtk/resources/theme/Adwaita/_common.scss | 17 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 370 +++++++++++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 370 +++++++++++++++------ 3 files changed, 535 insertions(+), 222 deletions(-) commit c5893e5dc1091c83f6ef44f0b4f926e42a1d73f7 Author: Lapo Calamandrei Date: Fri Aug 29 15:32:45 2014 +0200 Adwaita: style GtkLabel.separator Fixes gnome-document search popup titles. gtk/resources/theme/Adwaita/_common.scss | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 ++++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 9 ++++++++- 3 files changed, 21 insertions(+), 2 deletions(-) commit 3407a83c23583916081ccf8651c2d77bb448b293 Author: Lapo Calamandrei Date: Fri Aug 29 14:49:54 2014 +0200 Adwaita: avoid text in buttons being overridden by GtkLabel style gtk/resources/theme/Adwaita/_drawing.scss | 7 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 82 ++++++++++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 82 ++++++++++++++++++++-- 3 files changed, 161 insertions(+), 10 deletions(-) commit 992af6c4fe886992658438ff9217c569cf0aae9f Author: Matthias Clasen Date: Fri Aug 29 00:51:39 2014 -0400 GtkAboutDialog: Support https in links https://bugzilla.gnome.org/show_bug.cgi?id=680067 gtk/gtkaboutdialog.c | 6 ++++++ 1 file changed, 6 insertions(+) commit c5d4485a6377507fda401ddfa7431ece07c35640 Author: Jakub Steiner Date: Fri Aug 29 02:41:33 2014 +0200 Adwaita: pathbar whitespace - optically center icons + labels vertically. It isn't actually centered, but feels more balanced - add some left/right padding https://bugzilla.gnome.org/show_bug.cgi?id=734753 gtk/resources/theme/Adwaita/_common.scss | 3 +-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +-- gtk/resources/theme/Adwaita/gtk-contained.css | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) commit 1feeb6bb4dd1a9d319074b90213bc9d6fe9b71ad Author: Matthias Clasen Date: Thu Aug 28 23:01:18 2014 -0400 Add a release note about X without render This reflects the findings in https://bugzilla.gnome.org/show_bug.cgi?id=735294 README.in | 4 ++++ 1 file changed, 4 insertions(+) commit 3404e92312d1305415ba92c6d4a892c5d11b1de6 Author: Matthias Clasen Date: Thu Aug 28 22:54:18 2014 -0400 GtkHeaderBar: Update separator visibility when needed We need to be a little more forthcoming with showing and hiding the separators - their visibility now depends on the the visibility and pack type of the regular headerbar children. This was observed in gnome-contacts, where headerbar buttons are shown and hidden. gtk/gtkheaderbar.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 7b3c81f688276f25d1e8132fe56938aacbf228d5 Author: Matthias Clasen Date: Thu Aug 28 20:58:27 2014 -0400 GtkDialog: Keep special-casing help buttons We used to move help buttons to the secondary position regardless how they were added to the action area. Keep doing that, to avoid breaking existing dialogs that rely on this behavior. https://bugzilla.gnome.org/show_bug.cgi?id=735119 gtk/gtkdialog.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit ef0280aeda07aecb600c7f1512b46a44bf0d731f Author: Jakub Steiner Date: Fri Aug 29 02:14:16 2014 +0200 Adwaita: bring the separator back for dialog buttons - separators got nuked during lapo's border cleanup gtk/resources/theme/Adwaita/_common.scss | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) commit d94379183a2fae089dcdffbead5744374edbacb1 Author: Paolo Borelli Date: Wed Aug 27 21:36:08 2014 +0200 menubutton: dismiss menu/popover when toggling programmatically https://bugzilla.gnome.org/show_bug.cgi?id=735545 gtk/gtkmenubutton.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit 0144cb92edcac4aaaf4abee8c9ed30da0b66536f Author: Lapo Calamandrei Date: Thu Aug 28 20:33:37 2014 +0200 Adwaita: dim menu checks/radios a bit gtk/resources/theme/Adwaita/_common.scss | 3 +++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++++ 3 files changed, 23 insertions(+) commit b107c9f02cb717ff0714663c8e7ad6703cf09b24 Author: Jesse van den Kieboom Date: Sun Aug 24 14:08:57 2014 +0200 quartz: Get default font size from user font https://bugzilla.gnome.org/show_bug.cgi?id=735321 gdk/quartz/gdkevents-quartz.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 70e2a1bb220dad4b820f45f92f3736299db5bcf5 Author: Lapo Calamandrei Date: Thu Aug 28 18:38:46 2014 +0200 Adwaita: nicer transition for flat buttons. gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit a3e9671b02dcd48194a5898c1f69dd17bafe184e Author: Yosef Or Boczko Date: Thu Aug 28 17:57:51 2014 +0300 Updated Hebrew properties translation po-properties/he.po | 2705 ++++++++++++++++++++++++++------------------------- 1 file changed, 1357 insertions(+), 1348 deletions(-) commit 42c41d7bbdd604ef33baf1eb40780c06da93d0d4 Author: Carlos Garnacho Date: Sun Jul 27 13:39:51 2014 +0200 scrolledwindow: Be smarter at invalidating overshoot areas The previous way to invalidate was meant to work on the overshoot window so it wouldn't be as taxing. Since the overshoot window is gone, this would invalidate way more than intended. So constrain invalidated areas to the sides where overshoot is happenning at that moment. https://bugzilla.gnome.org/show_bug.cgi?id=735223 gtk/gtkscrolledwindow.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 53 insertions(+), 3 deletions(-) commit 3df8b95e0efd024588786aff7229a855b7ba693e Author: Carlos Garnacho Date: Fri Aug 22 13:13:50 2014 +0200 tooltip: Use subsurfaces on wayland This places tooltips in the right place, and avoids having those attempt to steal the focus. https://bugzilla.gnome.org/show_bug.cgi?id=735531 gtk/gtktooltip.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 68d6968955e8e744f21e286385b0b8cfde79833b Author: Lapo Calamandrei Date: Thu Aug 28 15:42:17 2014 +0200 Adwaita: border rationalization and cleanup Rely only on border-style for border, take out border-width and border-style from drawing functions. gtk/resources/theme/Adwaita/_common.scss | 71 +++---- gtk/resources/theme/Adwaita/_drawing.scss | 4 - gtk/resources/theme/Adwaita/gtk-contained-dark.css | 221 +++------------------ gtk/resources/theme/Adwaita/gtk-contained.css | 221 +++------------------ 4 files changed, 76 insertions(+), 441 deletions(-) commit 5ad60caa3c35f86c11545b53052acdb6b9f7a76f Author: Emmanuele Bassi Date: Thu Aug 28 12:50:49 2014 +0100 css: Implement font-stretch The font-stretch CSS property is defined in the Level 3 CSS Fonts module, available at: http://dev.w3.org/csswg/css-fonts/#propdef-font-stretch It allows defining a normal, condensed, or expanded face to the font description. Pango already supports it, so this is literally just the CSS parser machinery needed to bridge our CSS to the FontDescription API. https://bugzilla.gnome.org/show_bug.cgi?id=735593 gtk/gtkcssenumvalue.c | 54 ++++++++++++++++++++++ gtk/gtkcssenumvalueprivate.h | 4 ++ gtk/gtkcssprovider.c | 18 +++++++- gtk/gtkcssshorthandpropertyimpl.c | 22 ++++++++- gtk/gtkcssstylepropertyimpl.c | 36 +++++++++++++++ gtk/gtkcsstypesprivate.h | 1 + testsuite/css/parser/declarations-valid-02.ref.css | 1 + testsuite/css/parser/declarations-valid-03.ref.css | 1 + testsuite/css/parser/declarations-valid-04.ref.css | 1 + testsuite/css/parser/declarations-valid-08.ref.css | 1 + .../css/parser/value-inherit-shorthand.ref.css | 1 + testsuite/css/parser/value-inherit.css | 1 + .../css/parser/value-initial-shorthand.ref.css | 1 + 13 files changed, 139 insertions(+), 3 deletions(-) commit f05e9d26120824fac8f952fd6fb34aecfe7b96e4 Author: Lapo Calamandrei Date: Thu Aug 28 13:21:14 2014 +0200 Adwaita: take named colors out of _colors.scss To be able to use sass for shipped css, importing _colors.scss and _drawings.scss. gtk/Makefile.am | 1 + gtk/resources/theme/Adwaita/_colors-public.scss | 53 +++++++++++++++++ gtk/resources/theme/Adwaita/_colors.scss | 54 ----------------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 67 +++++++++++----------- .../theme/Adwaita/gtk-contained-dark.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 67 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.scss | 1 + 7 files changed, 124 insertions(+), 120 deletions(-) commit c0ed8e954e4052b5a4e323e00a7308f4c2bde758 Author: Lapo Calamandrei Date: Thu Aug 28 12:48:32 2014 +0200 Adwaita: rationalize font sizes. ...making GtkSwitch font-size relative in the process. gtk/resources/theme/Adwaita/_common.scss | 7 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 68 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 114 +++++++++++---------- 3 files changed, 103 insertions(+), 86 deletions(-) commit 80f4dffa76041060a10270751ad96c78b57e2b68 Author: Emmanuele Bassi Date: Thu Aug 28 11:17:10 2014 +0100 theme: Specify the weight, not the font, for header bar titles Using `font: Bold` will override the font with whatever the system resolves a `Bold` font name to, including the font's own default size. We want the font weight to be bold, but we want the default font name and size to come from the GtkSettings:font-name property, like we do for the rest of the system. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 974807fae9ec9ea33626fb0378b00dfe75e18470 Author: Matthias Clasen Date: Wed Aug 27 22:17:29 2014 -0400 Adwaita: Make expanders turn again The theme needed some small adjustments for the recent expander state changes ACTIVE to CHECKED. gtk/resources/theme/Adwaita/_common.scss | 4 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 63 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 109 ++++++++++----------- 3 files changed, 83 insertions(+), 93 deletions(-) commit 75ac49c475444cb69cac08dade70feac22eca1e6 Author: Benjamin Otte Date: Wed Aug 27 21:25:53 2014 +0200 Use CHECKED instead of ACTIVE for expanded expanders https://bugzilla.gnome.org/show_bug.cgi?id=733967 gtk/gtkexpander.c | 4 ++-- gtk/gtkthemingengine.c | 2 +- gtk/gtktoolitemgroup.c | 2 +- gtk/gtktreeview.c | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) commit f1b14a33b56d49470dbb736fe9cca20c52948a1b Author: Benjamin Otte Date: Wed Aug 27 21:24:27 2014 +0200 configure: Move AC_USE_SYSTEM_EXTENSIONS up We don't want to get warnings from autoconf about AC_USE_SYSTEM_EXTENSIONS coming after AC_COMPILE_IFELSE. configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit b57bef989a7aa75e1434ac2291c9c0e121e15b00 Author: Jesse van den Kieboom Date: Wed Aug 27 14:08:49 2014 +0200 quartz-dnd: make sure to set source window https://bugzilla.gnome.org/show_bug.cgi?id=658722 gdk/quartz/gdkdnd-quartz.c | 3 +++ 1 file changed, 3 insertions(+) commit 6b0e4ba789a5bb9e66f23deac160ed6cbb15a976 Author: Lapo Calamandrei Date: Wed Aug 27 18:29:32 2014 +0200 Adwaita: no edge hilight for popover checks/radios gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 72 ++++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 72 ++++++++++++++++++++++ 3 files changed, 145 insertions(+) commit 21d3701291821f750d1c2304f6d87c8f9de32142 Author: Benjamin Otte Date: Wed Aug 27 17:51:09 2014 +0200 reftests: Fix Makefile with non-installed tests the build would get an empty $(reftestdir) which would screw up the LDFLAGS. An rpath seems to be required to make libtool build a shared object. Without an rpath line, it only builds a static object. https://bugzilla.gnome.org/show_bug.cgi?id=735401 testsuite/reftests/Makefile.am | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 4a6ecf33fccdd05084701115cb0b067b6a725ef9 Author: Benjamin Otte Date: Tue Aug 26 04:18:52 2014 +0200 gtk-demo: Don't use mad mime type guessing ... for displaying resources. Instead use the proven and way more reliable method of trial and error. It's less code and more portable for a start. But most of all it displays PNM files as text if you fail to compile the gdk-pixbuf loader for it. demos/gtk-demo/main.c | 69 ++++++++++++++++++++++++--------------------------- 1 file changed, 32 insertions(+), 37 deletions(-) commit de061a83a4fe89a6912de0fcdb918e83a9fe824b Author: Benjamin Otte Date: Mon Aug 25 16:35:11 2014 +0200 modifierstyle: Remove the changed signal It's been unused since last commit gtk/gtkmodifierstyle.c | 19 ------------------- 1 file changed, 19 deletions(-) commit 01d644b7eeb2f407f244443399b28052eadd4d5a Author: Benjamin Otte Date: Mon Aug 25 16:33:33 2014 +0200 widget: Don't connect to GtkModifierStyle::changed Changes to the modifier style will be picked up by the GtkStyleProviderPrivate::changed signal. And that signal will actually invalidate properly. gtk/gtkwidget.c | 10 ---------- 1 file changed, 10 deletions(-) commit d34f2526c42b3c1915f01155acf16042dafa4bf3 Author: Carlos Garnacho Date: Wed Aug 27 12:03:28 2014 +0200 wayland: Ensure the parent is committed after repositioning subsurfaces Subsurface position is deemed part of the state of the parent surface, so ensure wl_surface_commit() happens on the parent surface if none is scheduled, so the repositioning takes place. gdk/wayland/gdkwindow-wayland.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit e6199af60d4f1be2aa538840674ed6a7932c704f Author: Carlos Garnacho Date: Wed Aug 27 14:36:53 2014 +0200 treeview: Reset multipress controller after 2nd click The pre-gestures code used to compare the current button press with the previous one on !activate_on_single_click, and unset the previous event data so ::row-activated would be emitted every 2 clicks. So do the same with the multipress gesture and reset it after every 2nd click to have ::row-activated emitted multiple times while manic clicking. https://bugzilla.gnome.org/show_bug.cgi?id=735353 gtk/gtktreeview.c | 3 +++ 1 file changed, 3 insertions(+) commit 79c3ff3c4ed74bbcc820dac2d5180fa4d48d55ec Author: Emmanuele Bassi Date: Tue Aug 26 12:15:06 2014 +0100 threads: Do not release the GDK lock if it hasn't been acquired yet Since GLib ≥ 2.41, attempting to release an unlocked mutex will abort(), as it happens on most systems already. Given the lack of proper documentation on how to use GDK with threads, there is code in the wild that does: gdk_threads_init (); gdk_init (); ... gtk_main (); instead of the idiomatically correct: gdk_threads_init (); gdk_threads_enter (); gtk_init (); ... gtk_main (); ... gdk_threads_leave (); Which means that gtk_main() will try to release the GDK lock, and thus trigger an error from GLib. we cannot really fix all the wrong code everywhere, and since it does not cost us anything, we can work around the issue inside GDK itself, by trying to acquire the GDK lock inside gdk_threads_leave() with trylock(). https://bugzilla.gnome.org/show_bug.cgi?id=735428 gdk/gdk.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 0f0fc59fbda5d037d50c599c018bca9befef6ad1 Author: Benjamin Otte Date: Mon Aug 25 20:39:10 2014 +0200 build: make reftests work without installed tests The libreftest.so module needs to be built in all cases. Without installed tests, it needs to not be installed though. https://bugzilla.gnome.org/show_bug.cgi?id=735401 testsuite/reftests/Makefile.am | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit 6e1ef764802ac93abee3504949e08da1559a18ea Author: Ikey Doherty Date: Sun Aug 24 01:26:36 2014 +0100 Cleanup invalid comments (duplication of words) https://bugzilla.gnome.org/show_bug.cgi?id=735301 Signed-off-by: Ikey Doherty docs/reference/gtk/building.sgml | 2 +- gdk/broadway/broadway.js | 2 +- gdk/gdkwindow.c | 2 +- gtk/gtkgesturesingle.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) commit ea830aee5d21c6a5992381c0aea7fce608b9518f Author: Carlos Garnacho Date: Wed Aug 20 20:12:35 2014 +0200 button: Track gesture point to maintain priv->in_button This makes the active state work invariably with both mouse/touch, and regardless of X11 pointer emulation being friendly and sending crossing events for the emulated pointer events in the latter. This makes GtkButtons' active state look correct when pressing on touchscreens on wayland. https://bugzilla.gnome.org/show_bug.cgi?id=731380 gtk/gtkbutton.c | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) commit d04d29f26c294874eea547bd6e1817291b4cf26a Author: Carlos Garnacho Date: Thu Aug 21 17:36:45 2014 +0200 entrycompletion: Mark popup window as subsurface on wayland This will make the completion window use GDK_WINDOW_SUBSURFACE and be shown relative to the parent window without involving compositor grabs. https://bugzilla.gnome.org/show_bug.cgi?id=695504 gtk/gtkentrycompletion.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit c38651cac468f92c8dfdbc3ed1c9eb3d67a93828 Author: Carlos Garnacho Date: Thu Aug 21 17:34:09 2014 +0200 gtkwindow: Add private API to mark as subsurface This is a rather hackish way to let GTK+ widgets declare popup windows as subsurfaces, so they may work on wayland without the need of xdg_popup, and without many changes yet on the GTK+ side. https://bugzilla.gnome.org/show_bug.cgi?id=695504 gtk/gtkwindow.c | 20 ++++++++++++++++++++ gtk/gtkwindowprivate.h | 3 +++ 2 files changed, 23 insertions(+) commit 6574d99adf68b44586384367206d39f6b051f333 Author: Lapo Calamandrei Date: Tue Aug 26 20:32:36 2014 +0200 Adwaita: menu checks and radios making sense gtk/resources/theme/Adwaita/_common.scss | 26 +---------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 52 ++-------------------- gtk/resources/theme/Adwaita/gtk-contained.css | 52 ++-------------------- 3 files changed, 9 insertions(+), 121 deletions(-) commit a02b8e06a4d96802326581d8d8d462be2aefc19a Author: Lapo Calamandrei Date: Tue Aug 26 19:54:41 2014 +0200 Adwaita: set a background for GtkTextView Needed for gedit line numbers, overridden by .view {} normally gtk/resources/theme/Adwaita/_common.scss | 6 ++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 16 insertions(+) commit a65acc7e8d19bc0c46aa06b65e947dbf1cec3eb6 Author: Lapo Calamandrei Date: Tue Aug 26 19:24:44 2014 +0200 Adwaita: minor fixes to GtkLabel gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/resources/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) commit e9a3d424731879ef41bfb3af8a96489cc78ac448 Author: Lapo Calamandrei Date: Tue Aug 26 18:02:28 2014 +0200 Adwaita: take rtl into consideration for GtkAssistant gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained.css | 5 ++++- 3 files changed, 10 insertions(+), 3 deletions(-) commit a677205dcab72a187a9c581980443ea84f0c754d Author: Lapo Calamandrei Date: Tue Aug 26 17:51:45 2014 +0200 Adwaita: GtkAssistant tweakings gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 13 ++++++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 13 ++++++++++--- 3 files changed, 32 insertions(+), 11 deletions(-) commit c942389adb08a02a0af870bf1751eb9c8963dde1 Author: Lapo Calamandrei Date: Tue Aug 26 16:56:22 2014 +0200 Adwaita: treeview checks/radios minor fix Superfluous icon shadow in checked hover state removed. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 9585de7832bcca2010ea37f2a865dbe2935d7fed Author: Lapo Calamandrei Date: Tue Aug 26 16:54:19 2014 +0200 Adwaita: in app notification fixes gtk/resources/theme/Adwaita/_common.scss | 27 +++++---- gtk/resources/theme/Adwaita/_drawing.scss | 7 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 66 +++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 66 +++++++++++++++------- 4 files changed, 113 insertions(+), 53 deletions(-) commit bb3a8edb9f21e486f1972c72c4a4090af790e7d7 Author: Carlos Garnacho Date: Fri Aug 22 19:15:57 2014 +0200 scalebutton: Handle smooth scroll events This has the double effect to make scale button truly smooth, and make scrolling work on wayland, since all scrolling is "smooth" there. https://bugzilla.gnome.org/show_bug.cgi?id=720269 gtk/gtkscalebutton.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 2e7d5b22a1170304701168bed80d569d9adec935 Author: Carlos Garnacho Date: Thu Aug 21 19:01:32 2014 +0200 wayland: Fix x/y coordinate arguments on wl_data_device events Those are wl_fixed_t, not int. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdevice-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 001327d999ac6527f026d3875fa7a84371fe16bf Author: Carlos Garnacho Date: Wed Aug 13 21:16:39 2014 +0200 wayland: ensure gdk_device_manager_get_client_pointer() returns a master pointer The internal ordering of devices isn't quite guaranteed, so ensure we're returning the right one. https://bugzilla.gnome.org/show_bug.cgi?id=697855 gdk/wayland/gdkdevice-wayland.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit dd464513a354b0a86486c57257e3ef3d1bc42686 Author: Jakub Steiner Date: Tue Aug 26 13:46:54 2014 +0200 Revert "Adwaita: notebook background" Not a good solution to the problem at hand (gedit line numbering) This reverts commit fde03c1f8174a16120264eb689415b6f7535fc81. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 29d9b2f7cfec936b3a923797acaf1e6e23a2d908 Author: Carlos Garnacho Date: Wed Aug 20 20:23:58 2014 +0200 wayland: unset sequence if the xdg surface is moved/resized through touch The latest implicit grab serial is used in order to start the compositor grab, If it belongs to a touch event, remove that touch sequence, as the rest of the sequence will be gone for good. This avoids stale sequences (and implicit grab info) after a window is moved/resized. https://bugzilla.gnome.org/show_bug.cgi?id=731380 gdk/wayland/gdkwindow-wayland.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit 2c36dc759290436fea5b59f079287df96806a308 Author: Carlos Garnacho Date: Wed Aug 20 20:22:42 2014 +0200 wayland: Add internal API to unset a touch implicit grab This removes both the wayland specific accounting, and the Gdk implicit grab tracking. https://bugzilla.gnome.org/show_bug.cgi?id=731380 gdk/wayland/gdkdevice-wayland.c | 14 ++++++++++++++ gdk/wayland/gdkprivate-wayland.h | 3 +++ 2 files changed, 17 insertions(+) commit 6f789d5a7806624a0f38e53776c6c674c4f114d1 Author: Carlos Garnacho Date: Wed Aug 20 20:52:39 2014 +0200 wayland: Update the display serial on touch down/up events https://bugzilla.gnome.org/show_bug.cgi?id=734374 gdk/wayland/gdkdevice-wayland.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 537ff9fcad30cbd838f7edcf4cd943bd32d0a218 Author: Carlos Garnacho Date: Wed Aug 13 21:05:58 2014 +0200 wayland: Improve implicit grab serial retrieval _gdk_wayland_device_get_button_press_serial() has been replaced by _gdk_wayland_device_get_implicit_grab_serial(), which takes a touch/pointer event and figures out the relevant serial, and _gdk_wayland_device_get_last_implicit_grab_serial() which returns the most recent serial. The button press serial was currently used when operating popping up xdg_shell/surface popups and window menus, so this is now touch aware, of some sort. https://bugzilla.gnome.org/show_bug.cgi?id=734374 gdk/wayland/gdkdevice-wayland.c | 46 ++++++++++++++++++++++++++++++++++++++-- gdk/wayland/gdkprivate-wayland.h | 5 ++++- gdk/wayland/gdkwindow-wayland.c | 20 +++++++++-------- 3 files changed, 59 insertions(+), 12 deletions(-) commit 5b8641740bf43ca621d15ce15c0660eb2534221d Author: Carlos Garnacho Date: Wed Aug 13 21:05:12 2014 +0200 wayland: Store per-touch touch_down serial https://bugzilla.gnome.org/show_bug.cgi?id=734374 gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 12398c5d74664446992ca2be3191e293f6ae084b Author: Carlos Garnacho Date: Wed Aug 13 20:59:20 2014 +0200 wayland: rename internal touch management functions These functions arent quite related to the device manager, so rename these more conveniently. https://bugzilla.gnome.org/show_bug.cgi?id=734374 gdk/wayland/gdkdevice-wayland.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit 8f2d8dfa3b3069c48b1c7cc82700e607d5c84e4e Author: Carlos Garnacho Date: Mon Aug 25 15:55:22 2014 +0200 wayland: Protect against invalid keymaps gotten from the compositor If the compositor sends a keymap that fails on "compilation", xkb_keymap_new_from_string() returns NULL, which makes xkb_state_new() crash when assuming there is a keymap. In these cases, gdk must remain with a xkb_state to handle modifiers/keys properly, so warn about the invalid keymap string, and keep the previous keymap (currently initialized to "us") https://bugzilla.gnome.org/show_bug.cgi?id=735389 gdk/wayland/gdkkeys-wayland.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit ab6f771413bb5a69c9be3365f0f899d5d318f73e Author: Carlos Garnacho Date: Thu Aug 21 17:31:50 2014 +0200 wayland: create a wl_subsurface interface for GDK_WINDOW_SUBSURFACE windows This subsurface is currently dependent on the transient_for parent, so the subsurface is repositioned relative to it. https://bugzilla.gnome.org/show_bug.cgi?id=729215 gdk/wayland/gdkwindow-wayland.c | 70 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 68 insertions(+), 2 deletions(-) commit ad9da99d86af6dd9d0be696ac5173aba12600527 Author: Carlos Garnacho Date: Thu Aug 21 17:27:26 2014 +0200 wayland: Acquire wl_subcompositor interface This will be needed for GDK_WINDOW_SUBSURFACE windows. https://bugzilla.gnome.org/show_bug.cgi?id=729215 gdk/wayland/gdkdisplay-wayland.c | 4 ++++ gdk/wayland/gdkdisplay-wayland.h | 1 + 2 files changed, 5 insertions(+) commit 84414f038123c437c25bb762ae087e5450a31366 Author: Carlos Garnacho Date: Thu Aug 21 17:26:18 2014 +0200 gdk: Add GDK_WINDOW_SUBSURFACE window type This window type can only be used on wayland so far, so NULL is returned if it's attempted to be used on any other windowing backend. https://bugzilla.gnome.org/show_bug.cgi?id=729215 gdk/gdkwindow.c | 13 +++++++++++++ gdk/gdkwindow.h | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) commit e206b726355d019f8ec8527e15d4fdef48408b7f Author: Carlos Garnacho Date: Thu Aug 21 17:39:09 2014 +0200 wayland: Make toplevels' X/Y coordinates be 0 To all effects each window has its own "root" coordinates system, so set toplevels at 0,0 in that coordinate system, so root coordinate calculations are locally right. https://bugzilla.gnome.org/show_bug.cgi?id=729215 gdk/wayland/gdkwindow-wayland.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit fde03c1f8174a16120264eb689415b6f7535fc81 Author: Jakub Steiner Date: Tue Aug 26 12:32:05 2014 +0200 Adwaita: notebook background gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 290a19e93d87be9b02c6c076483a7e433a138ed5 Author: Paolo Borelli Date: Sun Aug 24 17:58:36 2014 +0200 TextView: clear the background using the default bg color Try to tidy up how the background is set on the textview: *) the .view class should be applied only to the text window, not to the margins *) when setting the background on the margins we must use .left etc *) use context_set_bg instead of manually setting the color https://bugzilla.gnome.org/show_bug.cgi?id=735368 gtk/gtktextview.c | 72 +++++++++++++++++++++++++++---------------------------- 1 file changed, 35 insertions(+), 37 deletions(-) commit d5876e99f59f8ef7404778aee7bdad4e0cb89fd5 Author: Matthias Clasen Date: Tue Aug 26 00:05:14 2014 -0400 GtkTreeView: Avoid a crash with empty trees The gesture code was assuming that the rb tree exists, which will not be the case if the treeview is empty. https://bugzilla.gnome.org/show_bug.cgi?id=735300 gtk/gtktreeview.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 318555ca268104640a75d6740704ea33172f491d Author: Jakub Steiner Date: Mon Aug 25 19:20:49 2014 +0200 Adwaita: define styling for location-bar toolbars - same inset style as searchbars gtk/resources/theme/Adwaita/_common.scss | 4 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 49 ++++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 49 ++++++++++++++-------- 3 files changed, 64 insertions(+), 38 deletions(-) commit 3bad6d1367545486b2599afb7f347c32c9e606e5 Author: Jakub Steiner Date: Mon Aug 25 15:24:44 2014 +0200 Adwaita: legible labels in headerbars in selection mode gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 514a3c62d7b8c70be9e48d7bd4da45b5219441f8 Author: Jakub Steiner Date: Mon Aug 25 15:18:58 2014 +0200 Adwaita: selection-mode checked togglebuttons - exposed in gnome-contacts for example. gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/resources/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) commit 61d0ea054fa182c23607e500395ef6bc2c6996d5 Author: Jakub Steiner Date: Mon Aug 25 14:15:32 2014 +0200 Adwaita: selected text in GtkLabel https://bugzilla.gnome.org/show_bug.cgi?id=735310 gtk/resources/theme/Adwaita/_common.scss | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) commit 6525a11b8d1fa6385a307f12df2eb321e7046564 Author: Sébastien Wilmet Date: Sun Aug 24 20:27:13 2014 +0200 inspector: fix a crash in the CSS editor gtk_css_section_get_end_position() can return a position one byte beyond the end of the last line. gtk_text_buffer_get_iter_at_line_index() accepts only valid line_number/byte_index pairs. Another solution is to make the GtkTextBuffer function less strict, by returning a boolean if the exact position was found. The CSS parser should also be fixed to always return valid positions. But it's better to have a safety net in the CSS editor, just in case (a warning could be print). https://bugzilla.gnome.org/show_bug.cgi?id=735337 gtk/inspector/css-editor.c | 37 +++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) commit ec17a649aed65fb0a27d6cf10ab097a5f310dfc6 Author: Jesse van den Kieboom Date: Sat Aug 23 16:04:46 2014 +0200 gdkwindow-quartz: Support native fullscreen mode This implements native fullscreen mode on OS X >= 10.7. This patch adds tracking of the fullscreen mode if externally modified, as well as toggling the native fullscreen mode of the window as needed. gdk/quartz/GdkQuartzNSWindow.c | 15 +++++++++ gdk/quartz/GdkQuartzNSWindow.h | 1 + gdk/quartz/gdkprivate-quartz.h | 2 +- gdk/quartz/gdkwindow-quartz.c | 71 ++++++++++++++++++++++++++++++++++++++++-- 4 files changed, 86 insertions(+), 3 deletions(-) commit 907dae414a733f0beccb121d751365fd9128dd8e Author: Garrett Regier Date: Sat Aug 23 06:55:07 2014 -0700 Ref the popover before activating the item Otherwise the item could cause the popover to be destroyed, for example a Quit item, and cause a warning to be printed. gtk/gtkmenusectionbox.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 08066b100957ff6ce9beaf5c6f5bfcad59928d7f Author: Matthias Clasen Date: Sat Aug 23 01:25:35 2014 -0400 GtkAboutDialog: Drop visibility-notify-event handler The signal is deprecated, and the handler is only helping for a really tiny corner case anyway. https://bugzilla.gnome.org/show_bug.cgi?id=734961 gtk/gtkaboutdialog.c | 41 -------------------------------------- gtk/resources/ui/gtkaboutdialog.ui | 1 - 2 files changed, 42 deletions(-) commit 4526e6f3071ed13ebdac750720ab3bddf599a0dd Author: Ikey Doherty Date: Fri Aug 22 23:31:17 2014 +0100 Change gdk-pixbuf minimum required version to 2.30.0 https://bugzilla.gnome.org/show_bug.cgi?id=735253 Signed-off-by: Ikey Doherty configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2c65e259448a9ec261f0dcf420662300786204c2 Author: Matthias Clasen Date: Fri Aug 22 23:11:11 2014 -0400 Some release notes for 3.14 README.in | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 96dae4b86e517902def3da2c9d3b8a2479fdb6ef Author: Jakub Steiner Date: Fri Aug 22 18:16:23 2014 +0200 Adwaita: use osd style for in-app notifications gtk/resources/theme/Adwaita/_common.scss | 26 +++++++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 51 ++++++++++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 51 ++++++++++++++++++++-- 3 files changed, 116 insertions(+), 12 deletions(-) commit cd173a1b19dcbc7d1e96dcb89a3d3e1ca428cd56 Author: Jasper St. Pierre Date: Fri Aug 22 12:05:21 2014 -0400 xdg-shell: Bump version gdk/wayland/protocol/xdg-shell.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d0eb69a56cda03b3b5ded90b0e7934bd4f20967c Author: Lapo Calamandrei Date: Fri Aug 22 17:25:25 2014 +0200 Adwaita: added a workaround to make sass behave gtk/resources/theme/Adwaita/_common.scss | 27 +++++++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 31 ++++++++++++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 31 ++++++++++++++++------ 3 files changed, 71 insertions(+), 18 deletions(-) commit 00543f178154791ea1edceb6407af9458991d743 Author: Matthias Clasen Date: Fri Aug 22 11:21:52 2014 -0400 GtkColorChooser: Make color plane react to mouse again Fallout from changing the defaults for gesture properties. gtk/gtkcolorplane.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6ece90301e06f86171fef1a699408ee44c584a95 Author: Lapo Calamandrei Date: Fri Aug 22 16:55:23 2014 +0200 Adwaita: dark active buttons for osd gtk/resources/theme/Adwaita/_drawing.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++------ 3 files changed, 9 insertions(+), 13 deletions(-) commit 2ad15d1713b7721459c6a2f859947827fac17872 Author: Lapo Calamandrei Date: Fri Aug 22 14:53:39 2014 +0200 Adwaita: @define-color "compatible" with sass 3.4.0 gtk/resources/theme/Adwaita/_colors.scss | 71 +++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 63 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 109 +++++++++++---------- 3 files changed, 130 insertions(+), 113 deletions(-) commit ba83a2757e0372f387beecd3e4989057233f11c7 Author: Carlos Garnacho Date: Fri Aug 22 13:33:14 2014 +0200 wayland: Add defines to convert between event sequences and touch slots This makes it clearer in code what's going on there. GDK_SLOT_TO_EVENT_SEQUENCE isn't used yet, but will be useful in the future. gdk/wayland/gdkdevice-wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5bc437d2bc2e70f58962407c73839cfe4ae07f68 Author: Carlos Garnacho Date: Thu Aug 21 17:43:10 2014 +0200 textview: Unset bubble timeout ID right after requesting the clipboard The timeout ID used to be unset after we got the targets from the clipboard, but there's still a moment between the clipboard request and the GDK_SELECTION_NOTIFY event that the ID points to an already gone timeout. gtk/gtktextview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 88bf4a7a2d442c4c86a59488851225db5c05e001 Author: Carlos Garnacho Date: Wed Aug 20 20:53:22 2014 +0200 x11: Fix possible leak of GdkEvents If the filter didn't return GDK_EVENT_TRANSLATE, the event struct would be left unused and leaked. gdk/x11/gdkdnd-x11.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit d9ea7cda80e12afbe2abf85be38cfb3a01b550ca Author: Lapo Calamandrei Date: Fri Aug 22 13:07:44 2014 +0200 Adwaita: kill a bogus background-color gtk/resources/theme/Adwaita/_common.scss | 1 - gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/resources/theme/Adwaita/gtk-contained.css | 1 - 3 files changed, 3 deletions(-) commit 565d65c9077857f42e58ffdd80d86d9e7321ff96 Author: Lapo Calamandrei Date: Fri Aug 22 12:55:30 2014 +0200 Adwaita: first round at osd revamp ...buttons, gtkscale and toolbars, more to follow... gtk/resources/theme/Adwaita/_colors.scss | 7 +- gtk/resources/theme/Adwaita/_common.scss | 134 ++++++--- gtk/resources/theme/Adwaita/_drawing.scss | 44 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 317 ++++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 317 ++++++++++++++++----- 5 files changed, 624 insertions(+), 195 deletions(-) commit 683a7f14294d5b2e09fb69a5070df4ba1bb24683 Author: Matthias Clasen Date: Fri Aug 22 01:47:21 2014 -0400 GtkFileChooserWidget: Use ratio in formatted times This matches what we do in other places now. gtk/gtkfilechooserwidget.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 23fdc45b952e3419d8fe8b34f82411f67d7e4b0f Author: Matthias Clasen Date: Fri Aug 22 01:18:53 2014 -0400 Avoid picking up long description as translator comment Rearrange a few lines to help xgettext avoid picking up the long description of GtkFileChooserButton as translator comment. gtk/gtkfilechooserbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22db3e57cb400bfafe007188b72c120906279a15 Author: Matthias Clasen Date: Fri Aug 22 01:10:24 2014 -0400 Avoid picking up long description as translator comment Rearrange a few lines to help xgettext avoid picking up the long description of GtkAboutDialog as translator comment. gtk/gtkaboutdialog.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 792ffb26bc326f7e26cbb62e183268445c858b57 Author: Matthias Clasen Date: Fri Aug 22 01:01:19 2014 -0400 Remove an extraneous translatable string gtk/resources/ui/gtkappchooserdialog.ui | 2 +- gtk/resources/ui/gtkappchooserdialog.ui.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) commit 806116578924e702ec281fa450ec313d7fda645c Author: Matthias Clasen Date: Fri Aug 22 00:42:52 2014 -0400 Adwaita: Insensitive labels There is an insensitive label in widget-factory which was not getting any different from the sensitive label next to it. With this patch, it does, again. gtk/resources/theme/Adwaita/_common.scss | 3 +++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 9 insertions(+) commit 975f29f17fdc14a70a3eb92daf5d47761be3993e Author: Matthias Clasen Date: Thu Aug 21 23:07:57 2014 -0400 Adwaita: Add assistant sidebar theming This is just enough to draw the sidebar background and markt he current page as active. gtk/resources/theme/Adwaita/_common.scss | 13 +++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 27 insertions(+) commit c3755d995f87e2a57a48f4725cd86fbdf70e758f Author: Matthias Clasen Date: Thu Aug 21 23:07:04 2014 -0400 GtkAssistant: Don't use a draw cb for the sidebar We can do this with css nowadays. gtk/gtkassistant.c | 21 --------------------- gtk/resources/ui/gtkassistant.ui | 1 - 2 files changed, 22 deletions(-) commit a3a6ce1b42b3c3f6710b360bbafebf2bad061707 Author: Rico Tzschichholz Date: Thu Aug 21 23:10:32 2014 +0200 gtk: Fix return-annotation of gtk_get_default_language to "transfer none" gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 209d2a83c42fa3fec270311a352bbb5775c6fbd2 Author: Matthias Clasen Date: Thu Aug 21 17:01:54 2014 -0400 GtkPageSetup: Improve formatting of size Use U+00D7 MULTIPLICATION SIGN and U+200A HAIR SPACE instead of plain old 'x' and ' ', following https://wiki.gnome.org/Design/OS/Typography. Sadly, many fonts don't have space variations, so Pango/harfbuzz fall back to using the regular space glyph anyway. gtk/gtkpagesetupunixdialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bcb9eabf11b45480972070d0fc866de11b1667f0 Author: Matthias Clasen Date: Thu Aug 21 14:21:34 2014 -0400 Add tests for parsing int64/uin64 in GtkBuilder This tests the fix in the previous commit. testsuite/gtk/builder.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 23fcc5e373e87008aaf67cdf062fb4669193c1ba Author: Matthias Clasen Date: Thu Aug 21 14:20:28 2014 -0400 GtkBuilder: Support parsing int64/uin64 values This was missing; the code to parse these numbers was there, but the switch didn't have cases for these types. https://bugzilla.gnome.org/show_bug.cgi?id=602443 gtk/gtkbuilder.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit beae42c49b7316edb2456a128a405bce3c01302e Author: Matthias Clasen Date: Thu Aug 21 13:19:26 2014 -0400 Include config.h first Otherwise, we miss the _GNU_SOURCE #define that configure puts there. gdk/wayland/gdkdevice-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 706c8e9c8d29a93fabc1d787894827b709139b6e Author: Sébastien Wilmet Date: Wed Aug 20 19:06:05 2014 +0200 Simplify _gtk_text_buffer_get_line_log_attrs() NULL was returned in case of an empty last line. Every users needed to special-case this. Now it will return the expected result: char_len of 0 with one PangoLogAttr. In compute_log_attrs(), 'paragraph' will be the empty string "" with 'char_len' == 0. pango_get_log_attrs() works fine with an empty string, it will return one correct PangoLogAttr (because there is one text position for the empty string). It fixes the unit tests for gtk_text_iter_is_cursor_position(). https://bugzilla.gnome.org/show_bug.cgi?id=156164 gtk/gtktextbuffer.c | 26 ++++---------------------- gtk/gtktextiter.c | 26 +++++++------------------- testsuite/gtk/textiter.c | 4 ++-- 3 files changed, 13 insertions(+), 43 deletions(-) commit 83bc0c4bb19ac0a61553aba6e9a370aba0ab6e13 Author: Sébastien Wilmet Date: Wed Aug 20 16:57:05 2014 +0200 textbuffer: unit tests for the empty last line For functions using _gtk_text_buffer_get_line_log_attrs(): - gtk_text_buffer_backspace() - some gtk_text_iter functions (word/sentence/cursor boundaries) As the FIXME comments show, there is a bug with gtk_text_iter_is_cursor_position() for an empty last line. https://bugzilla.gnome.org/show_bug.cgi?id=156164 testsuite/gtk/textbuffer.c | 22 ++++++++++++++++++++++ testsuite/gtk/textiter.c | 28 ++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) commit 7645d201d408964f8ade769e59517e6a98a02364 Author: Matthias Clasen Date: Thu Aug 21 11:57:19 2014 -0400 GtkPopover: Fix rtl positioning There was some confusion between unflipped and flipped positions. Both final_position and current_position are meant to be unflipped, and get_effective_position() needs to be applied to them to get a flipped position. _gtk_window_set_popover_position() also expects an unflipped position. https://bugzilla.gnome.org/show_bug.cgi?id=735014 gtk/gtkpopover.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 09286cf96876a61f42dcef98385aeb277b2db7d2 Author: Lapo Calamandrei Date: Thu Aug 21 14:41:29 2014 +0200 Adwaita: try to be nicer on performances with entry shadows gtk/resources/theme/Adwaita/_drawing.scss | 41 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 26 +++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 26 +++++++------- 3 files changed, 47 insertions(+), 46 deletions(-) commit 35661081608b3bc2eec8dd90b02178d64c008b63 Author: Piotr Drąg Date: Thu Aug 21 15:33:36 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 6 ++++++ po/POTFILES.skip | 6 ++++++ 2 files changed, 12 insertions(+) commit 5344f99cdbe17d1eadebb6ffdadd410366ae2246 Author: Jakub Steiner Date: Thu Aug 21 15:03:32 2014 +0200 Adwaita: no edge highlight for backdrop check/radios gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +++++++++++----------- 3 files changed, 25 insertions(+), 25 deletions(-) commit d72fa9aaa8f6b251d3cebd803e4f5a50f44f5087 Author: Jakub Steiner Date: Thu Aug 21 14:32:41 2014 +0200 Adwaita: remove edge highlight form the assets - using icon-shadow now, allows to treat special cases without introducing assets gtk/resources/theme/Adwaita/_common.scss | 9 ++ gtk/resources/theme/Adwaita/assets.svg | 160 ++------------------- .../assets/checkbox-checked-active-dark.png | Bin 693 -> 636 bytes .../assets/checkbox-checked-active-dark@2.png | Bin 1339 -> 1240 bytes .../Adwaita/assets/checkbox-checked-active.png | Bin 694 -> 658 bytes .../Adwaita/assets/checkbox-checked-active@2.png | Bin 1354 -> 1332 bytes .../theme/Adwaita/assets/checkbox-checked-dark.png | Bin 744 -> 692 bytes .../Adwaita/assets/checkbox-checked-dark@2.png | Bin 1435 -> 1325 bytes .../Adwaita/assets/checkbox-checked-hover-dark.png | Bin 748 -> 697 bytes .../assets/checkbox-checked-hover-dark@2.png | Bin 1482 -> 1365 bytes .../Adwaita/assets/checkbox-checked-hover.png | Bin 696 -> 660 bytes .../Adwaita/assets/checkbox-checked-hover@2.png | Bin 1279 -> 1276 bytes .../assets/checkbox-checked-insensitive-dark.png | Bin 613 -> 552 bytes .../assets/checkbox-checked-insensitive-dark@2.png | Bin 1056 -> 971 bytes .../assets/checkbox-checked-insensitive.png | Bin 603 -> 582 bytes .../assets/checkbox-checked-insensitive@2.png | Bin 1077 -> 1037 bytes .../theme/Adwaita/assets/checkbox-checked.png | Bin 689 -> 663 bytes .../theme/Adwaita/assets/checkbox-checked@2.png | Bin 1343 -> 1331 bytes .../Adwaita/assets/checkbox-mixed-active-dark.png | Bin 538 -> 470 bytes .../assets/checkbox-mixed-active-dark@2.png | Bin 971 -> 852 bytes .../theme/Adwaita/assets/checkbox-mixed-active.png | Bin 571 -> 520 bytes .../Adwaita/assets/checkbox-mixed-active@2.png | Bin 1022 -> 992 bytes .../theme/Adwaita/assets/checkbox-mixed-dark.png | Bin 597 -> 542 bytes .../theme/Adwaita/assets/checkbox-mixed-dark@2.png | Bin 1122 -> 1014 bytes .../Adwaita/assets/checkbox-mixed-hover-dark.png | Bin 618 -> 568 bytes .../Adwaita/assets/checkbox-mixed-hover-dark@2.png | Bin 1157 -> 1033 bytes .../theme/Adwaita/assets/checkbox-mixed-hover.png | Bin 537 -> 494 bytes .../Adwaita/assets/checkbox-mixed-hover@2.png | Bin 964 -> 920 bytes .../assets/checkbox-mixed-insensitive-dark.png | Bin 488 -> 427 bytes .../assets/checkbox-mixed-insensitive-dark@2.png | Bin 802 -> 706 bytes .../Adwaita/assets/checkbox-mixed-insensitive.png | Bin 494 -> 448 bytes .../assets/checkbox-mixed-insensitive@2.png | Bin 809 -> 783 bytes .../theme/Adwaita/assets/checkbox-mixed.png | Bin 567 -> 516 bytes .../theme/Adwaita/assets/checkbox-mixed@2.png | Bin 1010 -> 997 bytes .../assets/checkbox-unchecked-active-dark.png | Bin 414 -> 356 bytes .../assets/checkbox-unchecked-active-dark@2.png | Bin 735 -> 633 bytes .../Adwaita/assets/checkbox-unchecked-active.png | Bin 479 -> 433 bytes .../Adwaita/assets/checkbox-unchecked-active@2.png | Bin 808 -> 774 bytes .../Adwaita/assets/checkbox-unchecked-dark.png | Bin 486 -> 426 bytes .../Adwaita/assets/checkbox-unchecked-dark@2.png | Bin 895 -> 778 bytes .../assets/checkbox-unchecked-hover-dark.png | Bin 516 -> 448 bytes .../assets/checkbox-unchecked-hover-dark@2.png | Bin 925 -> 808 bytes .../Adwaita/assets/checkbox-unchecked-hover.png | Bin 449 -> 406 bytes .../Adwaita/assets/checkbox-unchecked-hover@2.png | Bin 797 -> 750 bytes .../assets/checkbox-unchecked-insensitive-dark.png | Bin 414 -> 347 bytes .../checkbox-unchecked-insensitive-dark@2.png | Bin 678 -> 574 bytes .../assets/checkbox-unchecked-insensitive.png | Bin 421 -> 377 bytes .../assets/checkbox-unchecked-insensitive@2.png | Bin 673 -> 633 bytes .../theme/Adwaita/assets/checkbox-unchecked.png | Bin 458 -> 418 bytes .../theme/Adwaita/assets/checkbox-unchecked@2.png | Bin 817 -> 798 bytes .../Adwaita/assets/radio-checked-active-dark.png | Bin 743 -> 638 bytes .../Adwaita/assets/radio-checked-active-dark@2.png | Bin 1593 -> 1207 bytes .../theme/Adwaita/assets/radio-checked-active.png | Bin 827 -> 774 bytes .../Adwaita/assets/radio-checked-active@2.png | Bin 1677 -> 1455 bytes .../theme/Adwaita/assets/radio-checked-dark.png | Bin 854 -> 758 bytes .../theme/Adwaita/assets/radio-checked-dark@2.png | Bin 1911 -> 1516 bytes .../Adwaita/assets/radio-checked-hover-dark.png | Bin 875 -> 786 bytes .../Adwaita/assets/radio-checked-hover-dark@2.png | Bin 1939 -> 1555 bytes .../theme/Adwaita/assets/radio-checked-hover.png | Bin 799 -> 752 bytes .../theme/Adwaita/assets/radio-checked-hover@2.png | Bin 1716 -> 1475 bytes .../assets/radio-checked-insensitive-dark.png | Bin 715 -> 564 bytes .../assets/radio-checked-insensitive-dark@2.png | Bin 1415 -> 1029 bytes .../Adwaita/assets/radio-checked-insensitive.png | Bin 748 -> 651 bytes .../Adwaita/assets/radio-checked-insensitive@2.png | Bin 1388 -> 1155 bytes .../theme/Adwaita/assets/radio-checked.png | Bin 853 -> 782 bytes .../theme/Adwaita/assets/radio-checked@2.png | Bin 1815 -> 1568 bytes .../Adwaita/assets/radio-mixed-active-dark.png | Bin 708 -> 619 bytes .../Adwaita/assets/radio-mixed-active-dark@2.png | Bin 1495 -> 1134 bytes .../theme/Adwaita/assets/radio-mixed-active.png | Bin 771 -> 713 bytes .../theme/Adwaita/assets/radio-mixed-active@2.png | Bin 1582 -> 1362 bytes .../theme/Adwaita/assets/radio-mixed-dark.png | Bin 811 -> 720 bytes .../theme/Adwaita/assets/radio-mixed-dark@2.png | Bin 1801 -> 1431 bytes .../Adwaita/assets/radio-mixed-hover-dark.png | Bin 830 -> 734 bytes .../Adwaita/assets/radio-mixed-hover-dark@2.png | Bin 1847 -> 1468 bytes .../theme/Adwaita/assets/radio-mixed-hover.png | Bin 739 -> 698 bytes .../theme/Adwaita/assets/radio-mixed-hover@2.png | Bin 1605 -> 1371 bytes .../assets/radio-mixed-insensitive-dark.png | Bin 685 -> 539 bytes .../assets/radio-mixed-insensitive-dark@2.png | Bin 1361 -> 964 bytes .../Adwaita/assets/radio-mixed-insensitive.png | Bin 693 -> 605 bytes .../Adwaita/assets/radio-mixed-insensitive@2.png | Bin 1314 -> 1066 bytes gtk/resources/theme/Adwaita/assets/radio-mixed.png | Bin 804 -> 741 bytes .../theme/Adwaita/assets/radio-mixed@2.png | Bin 1687 -> 1438 bytes .../Adwaita/assets/radio-unchecked-active-dark.png | Bin 616 -> 510 bytes .../assets/radio-unchecked-active-dark@2.png | Bin 1291 -> 923 bytes .../Adwaita/assets/radio-unchecked-active.png | Bin 676 -> 631 bytes .../Adwaita/assets/radio-unchecked-active@2.png | Bin 1385 -> 1165 bytes .../theme/Adwaita/assets/radio-unchecked-dark.png | Bin 734 -> 635 bytes .../Adwaita/assets/radio-unchecked-dark@2.png | Bin 1599 -> 1229 bytes .../Adwaita/assets/radio-unchecked-hover-dark.png | Bin 743 -> 646 bytes .../assets/radio-unchecked-hover-dark@2.png | Bin 1651 -> 1262 bytes .../theme/Adwaita/assets/radio-unchecked-hover.png | Bin 677 -> 627 bytes .../Adwaita/assets/radio-unchecked-hover@2.png | Bin 1423 -> 1206 bytes .../assets/radio-unchecked-insensitive-dark.png | Bin 626 -> 513 bytes .../assets/radio-unchecked-insensitive-dark@2.png | Bin 1246 -> 902 bytes .../Adwaita/assets/radio-unchecked-insensitive.png | Bin 631 -> 536 bytes .../assets/radio-unchecked-insensitive@2.png | Bin 1166 -> 924 bytes .../theme/Adwaita/assets/radio-unchecked.png | Bin 723 -> 656 bytes .../theme/Adwaita/assets/radio-unchecked@2.png | Bin 1532 -> 1285 bytes gtk/resources/theme/Adwaita/gtk-contained-dark.css | 123 +++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 123 +++++++++++----- 100 files changed, 191 insertions(+), 224 deletions(-) commit fe2b00a2d608ca94cb8586ba12a9b413207bf344 Author: Chao-Hsiung Liao Date: Thu Aug 21 18:50:35 2014 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po-properties/zh_HK.po | 3601 ++++++++++++++++++++++++----------------------- po-properties/zh_TW.po | 3609 +++++++++++++++++++++++++----------------------- po/zh_HK.po | 786 +++++------ po/zh_TW.po | 786 +++++------ 4 files changed, 4502 insertions(+), 4280 deletions(-) commit 9a0b9f6378c97550859e01965fb5209c9e15391e Author: Lapo Calamandrei Date: Thu Aug 21 12:24:01 2014 +0200 Adwaita: some separators simplification Accidentally fixing the backdrop separators in sidebars turning black gtk/resources/theme/Adwaita/_common.scss | 23 ++++++++--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 29 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 29 +++++++++++----------- 3 files changed, 38 insertions(+), 43 deletions(-) commit cdf5ecada9518bdd97c25fcb58e475bb58b37d31 Author: Lapo Calamandrei Date: Thu Aug 21 11:52:20 2014 +0200 Adwaita: inline toolbar buttons fixes Properly styled single buttons in inline toolbars and fixed a superflous border chiming in in backdrop. gtk/resources/theme/Adwaita/_common.scss | 9 ++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 26 +++++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 26 +++++++++++++++++----- 3 files changed, 45 insertions(+), 16 deletions(-) commit d975cd5baa119bd72c8cadd11c589d076c753fa1 Author: Simon McVittie Date: Wed Aug 6 11:23:53 2014 +0100 Deprecate GTK_CHECK_BACKEND in favour of PKG_CHECK_MODULES This is easy to do with pkg-config too. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen m4macros/gtk-3.0.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 169f064c1fa847830186ea14fe0e53b7178f1c07 Author: Simon McVittie Date: Wed Aug 6 11:23:23 2014 +0100 Deprecate AM_PATH_GTK_3_0 in favour of PKG_CHECK_MODULES That's what GNOME applications use. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen m4macros/gtk-3.0.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d329544e703f3dd95be961e1d3778ee1b0dce81b Author: Simon McVittie Date: Sun Aug 17 15:00:54 2014 +0100 Use AC_USE_SYSTEM_EXTENSIONS to get _GNU_SOURCE, _XOPEN_SOURCE etc. Similar to Bug #684123 in GLib. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen configure.ac | 2 ++ gdk/wayland/gdkdevice-wayland.c | 1 - gtk/fnmatch.c | 7 ------- gtk/gtkscalebutton.c | 3 --- gtk/gtksearchenginesimple.c | 8 -------- modules/printbackends/cups/gtkprintbackendcups.c | 4 ---- 6 files changed, 2 insertions(+), 23 deletions(-) commit 2737c67ccefeade89af596700fdfc41d7fcf3588 Author: Benjamin Otte Date: Wed Aug 20 23:19:59 2014 +0200 css: Round shadow extents properly Otherwise drawing will be clipped. Testcase included gtk/gtkcssshadowsvalue.c | 10 ++++++---- testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/shadow-clip-rounding.css | 9 +++++++++ testsuite/reftests/shadow-clip-rounding.ref.ui | 23 +++++++++++++++++++++++ testsuite/reftests/shadow-clip-rounding.ui | 23 +++++++++++++++++++++++ 5 files changed, 64 insertions(+), 4 deletions(-) commit 67456304d43bc455a068c9e2755ef3af4da78426 Author: Benjamin Otte Date: Thu Aug 21 00:10:43 2014 +0200 roundedbox: Only grow border-radius if there is one This is relevant for shadow spread and goes in line with the web. Testcase included. gtk/gtkroundedbox.c | 6 ++++-- testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/box-shadow-spread.css | 9 +++++++++ testsuite/reftests/box-shadow-spread.ref.ui | 24 ++++++++++++++++++++++++ testsuite/reftests/box-shadow-spread.ui | 24 ++++++++++++++++++++++++ 5 files changed, 64 insertions(+), 2 deletions(-) commit 1126a34353877a5d0bcf06067e6bf129b48632e8 Author: Benjamin Otte Date: Thu Aug 21 00:02:29 2014 +0200 label: Respect box-shadow when computing clip Testclase included. Also reorder headers to be alphabetic. gtk/gtklabel.c | 24 ++++++++++++------------ testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/label-box-shadow-clip.css | 9 +++++++++ testsuite/reftests/label-box-shadow-clip.ref.ui | 23 +++++++++++++++++++++++ testsuite/reftests/label-box-shadow-clip.ui | 23 +++++++++++++++++++++++ 5 files changed, 70 insertions(+), 12 deletions(-) commit b5a8b7ef3b15c2bc264118294895202a16641168 Author: Benjamin Otte Date: Wed Aug 20 23:49:00 2014 +0200 widget: Make _gtk_set_simple_clip() take an optional content clip gtk/gtkbox.c | 4 ++-- gtk/gtkbutton.c | 2 +- gtk/gtkcolorswatch.c | 2 +- gtk/gtkcombobox.c | 2 +- gtk/gtkentry.c | 2 +- gtk/gtkgrid.c | 2 +- gtk/gtklevelbar.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtkpathbar.c | 4 ++-- gtk/gtkprogressbar.c | 2 +- gtk/gtkswitch.c | 2 +- gtk/gtktoolbar.c | 2 +- gtk/gtkwidget.c | 8 +++++++- gtk/gtkwidgetprivate.h | 3 ++- 14 files changed, 23 insertions(+), 16 deletions(-) commit e643ddfd168f81d80400cf67a0ff4b8808ea043c Author: Benjamin Otte Date: Wed Aug 20 04:39:54 2014 +0200 stylecontext: Remove GTK_CSS_CHANGE_FORCE_INVALIDATE This was introduced as a hackish way in 3.6 to make font updates propagate properly. But since then, font handling has been changed and this flag is no longer necessary. gtk/gtkcsstypesprivate.h | 1 - gtk/gtkstylecontext.c | 15 ++------------- 2 files changed, 2 insertions(+), 14 deletions(-) commit 665ad8c6f9dda7284f19353849beed7d7a5b1a68 Author: Benjamin Otte Date: Tue Aug 19 16:31:06 2014 +0200 stylecontext: Use right invalidation func gtk_style_context_invalidate_internal() will respect only the current saved state of the style context, which is wrong when updating the scale. In that case, the whole style context needs updating. gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f39d211021de7ebe4c0066b1a54272a4880e17be Author: Sébastien Wilmet Date: Fri Aug 15 20:54:01 2014 +0200 GtkTextView: various code clean-ups - only one blank line is enough to separate code sections. - the 'signals' variable was in the middle of function prototypes. - compare pointers to NULL in some conditions ("if(blah) should be used only if blah is a boolean variable). It makes the code clearer. - various other things. gtk/gtktextbuffer.c | 51 ++++++++++++++++++++++----------------------------- gtk/gtktextiter.c | 52 +++++++++++++++++++++++++--------------------------- 2 files changed, 47 insertions(+), 56 deletions(-) commit 7bc819e88d8880487653740f55e9bf072d5de36e Author: Sébastien Wilmet Date: Wed Aug 20 17:13:46 2014 +0200 tests textbuffer: don't use GdkColor (deprecated) testsuite/gtk/textbuffer.c | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) commit 55bd34c62ae563aff25d381df36f569756ba143b Author: Sébastien Wilmet Date: Wed Aug 20 17:16:52 2014 +0200 Mark the GdkColor struct as deprecated gdk/deprecated/gdkcolor.h | 2 ++ 1 file changed, 2 insertions(+) commit 0c1cbfed536caa5ecba2a00e117ae58d067f4666 Author: Rico Tzschichholz Date: Wed Aug 20 16:18:45 2014 +0200 gtk: Fix transfer annotations gtk_binding_set_new and *_by_class Those instances are exclusively handled internally and can not be freed. gtk/gtkbindings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 045380601aa612cdcc6c89f5c17f4ee7d880b351 Author: Jakub Steiner Date: Wed Aug 20 09:29:17 2014 +0200 Adwaita: selection mode checks - add missing hover asset - have enough contrast for the outline - :active state isn't supported in libgd/apps yet gtk/resources/theme/Adwaita/assets.svg | 25 +++++++++++---------- .../assets/checkbox-active-selectionmode.png | Bin 873 -> 870 bytes .../assets/checkbox-active-selectionmode@2.png | Bin 1724 -> 1724 bytes .../assets/checkbox-backdrop-selectionmode.png | Bin 801 -> 801 bytes .../assets/checkbox-backdrop-selectionmode@2.png | Bin 1581 -> 1579 bytes .../checkbox-checked-active-selectionmode.png | Bin 1340 -> 1349 bytes .../checkbox-checked-active-selectionmode@2.png | Bin 2746 -> 2757 bytes .../checkbox-checked-backdrop-selectionmode.png | Bin 1271 -> 1279 bytes .../checkbox-checked-backdrop-selectionmode@2.png | Bin 2419 -> 2423 bytes .../checkbox-checked-hover-selectionmode.png | Bin 1354 -> 1368 bytes .../checkbox-checked-hover-selectionmode@2.png | Bin 2777 -> 2798 bytes .../assets/checkbox-checked-selectionmode.png | Bin 1387 -> 1398 bytes .../assets/checkbox-checked-selectionmode@2.png | Bin 2838 -> 2880 bytes .../assets/checkbox-hover-selectionmode.png | Bin 0 -> 902 bytes .../assets/checkbox-hover-selectionmode@2.png | Bin 0 -> 1809 bytes .../Adwaita/assets/checkbox-selectionmode.png | Bin 920 -> 929 bytes .../Adwaita/assets/checkbox-selectionmode@2.png | Bin 1867 -> 1883 bytes 17 files changed, 13 insertions(+), 12 deletions(-) commit 35f6738509cba5048434768356fa3fbee8a0d50e Author: Jakub Steiner Date: Wed Aug 20 09:08:57 2014 +0200 Adwaita: keep selectmode checks square - keep the existing 40x40px nominal size gtk/resources/theme/Adwaita/assets.svg | 667 ++++++++++----------- .../assets/checkbox-active-selectionmode.png | Bin 949 -> 873 bytes .../assets/checkbox-active-selectionmode@2.png | Bin 1845 -> 1724 bytes .../assets/checkbox-backdrop-selectionmode.png | Bin 762 -> 801 bytes .../assets/checkbox-backdrop-selectionmode@2.png | Bin 1615 -> 1581 bytes .../checkbox-checked-active-selectionmode.png | Bin 1577 -> 1340 bytes .../checkbox-checked-active-selectionmode@2.png | Bin 3212 -> 2746 bytes .../checkbox-checked-backdrop-selectionmode.png | Bin 1304 -> 1271 bytes .../checkbox-checked-backdrop-selectionmode@2.png | Bin 2677 -> 2419 bytes .../checkbox-checked-hover-selectionmode.png | Bin 1469 -> 1354 bytes .../checkbox-checked-hover-selectionmode@2.png | Bin 3115 -> 2777 bytes .../assets/checkbox-checked-selectionmode.png | Bin 1547 -> 1387 bytes .../assets/checkbox-checked-selectionmode@2.png | Bin 3317 -> 2838 bytes .../assets/checkbox-hover-selectionmode.png | Bin 903 -> 0 bytes .../assets/checkbox-hover-selectionmode@2.png | Bin 1934 -> 0 bytes .../Adwaita/assets/checkbox-selectionmode.png | Bin 971 -> 920 bytes .../Adwaita/assets/checkbox-selectionmode@2.png | Bin 2061 -> 1867 bytes 17 files changed, 322 insertions(+), 345 deletions(-) commit 4665b95687d0ab8ace61261a1acfc756c33e9f82 Author: Rico Tzschichholz Date: Wed Aug 20 08:55:53 2014 +0200 gtk: Fix out-param annotation of gtk_theming_engine_get_style_property gtk/gtkthemingengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e317117f030858c86c39ff968eb2d8ad2459755b Author: Rico Tzschichholz Date: Wed Aug 20 08:54:12 2014 +0200 gtk: Fix return annotation of gtk_selection_data_get_text gtk/gtkselection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bdaf5c8f8b1a9b2ce1bfb1559d9d112186ab4010 Author: Jakub Steiner Date: Tue Aug 19 19:06:42 2014 +0200 Adwaita: allow window drag on menubars and toolbars - reported as regression gtk/resources/theme/Adwaita/_common.scss | 2 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit f9724d1d3498c6f1a8df2fb242b2b0258d7bbcaf Author: Jakub Steiner Date: Tue Aug 19 18:45:15 2014 +0200 Adwaita: selection mode checkboxes gtk/resources/theme/Adwaita/_common.scss | 16 + gtk/resources/theme/Adwaita/assets.svg | 497 ++++++++++++++++++++- gtk/resources/theme/Adwaita/assets.txt | 8 + .../assets/checkbox-active-selectionmode.png | Bin 0 -> 949 bytes .../assets/checkbox-active-selectionmode@2.png | Bin 0 -> 1845 bytes .../assets/checkbox-backdrop-selectionmode.png | Bin 0 -> 762 bytes .../assets/checkbox-backdrop-selectionmode@2.png | Bin 0 -> 1615 bytes .../checkbox-checked-active-selectionmode.png | Bin 0 -> 1577 bytes .../checkbox-checked-active-selectionmode@2.png | Bin 0 -> 3212 bytes .../checkbox-checked-backdrop-selectionmode.png | Bin 0 -> 1304 bytes .../checkbox-checked-backdrop-selectionmode@2.png | Bin 0 -> 2677 bytes .../checkbox-checked-hover-selectionmode.png | Bin 0 -> 1469 bytes .../checkbox-checked-hover-selectionmode@2.png | Bin 0 -> 3115 bytes .../assets/checkbox-checked-selectionmode.png | Bin 0 -> 1547 bytes .../assets/checkbox-checked-selectionmode@2.png | Bin 0 -> 3317 bytes .../assets/checkbox-hover-selectionmode.png | Bin 0 -> 903 bytes .../assets/checkbox-hover-selectionmode@2.png | Bin 0 -> 1934 bytes .../Adwaita/assets/checkbox-selectionmode.png | Bin 0 -> 971 bytes .../Adwaita/assets/checkbox-selectionmode@2.png | Bin 0 -> 2061 bytes gtk/resources/theme/Adwaita/gtk-contained-dark.css | 32 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 32 ++ 21 files changed, 575 insertions(+), 10 deletions(-) commit db3a01b5895652f0521fff98935df2fb77430915 Author: Paolo Borelli Date: Tue Aug 19 18:12:51 2014 +0200 GtkApplication: fix annotation of get_menu_by_id https://bugzilla.gnome.org/show_bug.cgi?id=735034 gtk/gtkapplication.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bbf4c7020a4c6eef0b383d8b07acfc21f2029e34 Author: ngoswami Date: Tue Aug 19 16:25:39 2014 +0000 Updated Assamese translation po/as.po | 2984 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1575 insertions(+), 1409 deletions(-) commit 763f5d51ed3d44f33de8d198836db1f75e0b3fb7 Author: Jakub Steiner Date: Tue Aug 19 12:51:49 2014 +0200 Adwaita: don't increase toolbar padding. https://bugzilla.gnome.org/show_bug.cgi?id=735012 gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit abae22769f0d177707c43dc3a4ea9cff02083a0d Author: ngoswami Date: Tue Aug 19 15:07:02 2014 +0000 Updated Assamese translation po-properties/as.po | 5041 +++++++++++++++++++++++++++------------------------ 1 file changed, 2687 insertions(+), 2354 deletions(-) commit 0ef0b9872e6b60c3137316201042a96a638986fd Author: Rico Tzschichholz Date: Mon Aug 18 14:38:04 2014 +0200 gtk: Fix broken docs of GtkTranslateFunc gtk/deprecated/gtkstock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aec4829d74aa2bc79b9271d84c4a4d71f6965f9f Author: Jakub Steiner Date: Mon Aug 18 14:18:53 2014 +0200 Adwaita: have an unchecked state for radio/checks in menus more background in https://bugzilla.gnome.org/show_bug.cgi?id=734290 gtk/resources/theme/Adwaita/_common.scss | 9 ++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 30 ++++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 30 ++++++++++++---------- 3 files changed, 37 insertions(+), 32 deletions(-) commit c9da8bf2b3417c3e48aeb07efdcb874071a7887e Author: Matthias Clasen Date: Mon Aug 18 08:17:49 2014 -0400 Revert "docs: Fix broken gtk-doc formatting" This reverts commit a7562dd38fe86cfa26674f22d46fdfe24865ee13. I prefer to not confuse gtk-doc with doc comments for private functions. gdk/gdkcairo.c | 2 +- gdk/wayland/gdkwindow-wayland.c | 2 +- gdk/x11/gdkmain-x11.c | 4 ++-- gtk/deprecated/gtkstock.h | 2 +- gtk/gtkwidget.c | 10 +++++----- 5 files changed, 10 insertions(+), 10 deletions(-) commit a7562dd38fe86cfa26674f22d46fdfe24865ee13 Author: Rico Tzschichholz Date: Mon Aug 18 13:27:05 2014 +0200 docs: Fix broken gtk-doc formatting Fixes broken introspection of GtkTranslateFunc gdk/gdkcairo.c | 2 +- gdk/wayland/gdkwindow-wayland.c | 2 +- gdk/x11/gdkmain-x11.c | 4 ++-- gtk/deprecated/gtkstock.h | 2 +- gtk/gtkwidget.c | 10 +++++----- 5 files changed, 10 insertions(+), 10 deletions(-) commit 9c4af41a59f6bcfd8969e8f597e5e7ed0dec597b Author: Jakub Steiner Date: Mon Aug 18 10:52:52 2014 +0200 Adwaita: update the last cases for :checked - treeviews can now have the same default checkboxes and radios - only menus are special (but needed :active -> :checked) https://bugzilla.gnome.org/show_bug.cgi?id=733967 https://bugzilla.gnome.org/show_bug.cgi?id=734290 gtk/resources/theme/Adwaita/_common.scss | 58 +--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 128 ++++----------------- gtk/resources/theme/Adwaita/gtk-contained.css | 128 ++++----------------- 3 files changed, 46 insertions(+), 268 deletions(-) commit 9907d22f5358461d4c8588fa654fec8fee05e84a Author: Lasse Liehu Date: Sun Aug 17 14:40:56 2014 +0300 Finnish translation update po-properties/fi.po | 5167 +++++++++++++++++++++++++-------------------------- 1 file changed, 2499 insertions(+), 2668 deletions(-) commit 6acfd46d98bc94862e47ed6379ebdf2456461053 Author: Lasse Liehu Date: Sun Aug 17 14:35:08 2014 +0300 Finnish translation update po/fi.po | 1848 +++++++++++++------------------------------------------------- 1 file changed, 392 insertions(+), 1456 deletions(-) commit b520d3b7fb68ae905f545ea410fe3c600b91250c Author: Benjamin Otte Date: Sun Aug 17 06:47:17 2014 +0200 button: Remove unnecessary queue_redraw() calls Setting a state automatically triggers redraws via the CSS machinery. gtk/gtkbutton.c | 4 ---- 1 file changed, 4 deletions(-) commit 442353fa9d78d6ada6991d4dcf8ba81c2dc52e0d Author: Benjamin Otte Date: Sun Aug 17 06:24:41 2014 +0200 checkbutton: Fix redraw issues This is a hack to get around the optimizations done by the CSS engine. The CSS engine will notice that no CSS properties changed on the widget itself when going from one state to another and not queue a redraw. And the reason for no properties changing will be that only the checkmark itself changes, but that is hidden behind a gtk_style_context_save()/_restore() pair, so it won't be caught. gtk/gtkcheckbutton.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit c4c9b20a056b115c83454d553d4e73aa65ffbf07 Author: Matthias Clasen Date: Sat Aug 16 13:48:50 2014 -0400 3.13.7 NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 76a4eeabfd98f28a5c901d7c8982c4d5eb310fd1 Author: Matthias Clasen Date: Sat Aug 16 21:20:09 2014 -0400 Fix distcheck configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d83e684b1fb91259582dcc9bab3ba2a1cc479fcf Author: Matthias Clasen Date: Sat Aug 16 18:13:31 2014 -0400 Silence compiler warnings gtk/gtkcssenginevalue.c | 1 + 1 file changed, 1 insertion(+) commit c2bf86673333da0645c9a681a3b541024b47d4eb Author: Matthias Clasen Date: Sat Aug 16 16:52:28 2014 -0400 Move GtkThemingEngine to the deprecated docs section docs/reference/gtk/gtk-docs.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d206d694fd1e9fe762ca721ae0ae6a08db56f6e8 Author: Matthias Clasen Date: Sat Aug 16 16:50:07 2014 -0400 GtkWidget: fix up docs minimally gtk/gtkwidget.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 87ad4ec2c267e51a0da27a016c2c9e429b42e815 Author: Matthias Clasen Date: Sat Aug 16 16:39:51 2014 -0400 GtkListBox: fix up docs gtk/gtklistbox.c | 2 +- gtk/gtklistbox.h | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) commit 7bec0939a8e2e2d8918b3cc85eac068e54680b0f Author: Matthias Clasen Date: Sat Aug 16 16:39:21 2014 -0400 Clean up and unify docs and formatting gtk/gtkdnd.c | 2065 ++++++++++++++++++++++++++++------------------------------ 1 file changed, 990 insertions(+), 1075 deletions(-) commit d36bba293d9a169b87ff07d059db7b3897f400a2 Author: Benjamin Otte Date: Sun Aug 17 03:19:59 2014 +0200 checkbutton: Don't redundantly update states States are set properly by GtkButton, there is no need to set them manually. gtk/gtkcheckbutton.c | 12 ------------ gtk/gtkradiobutton.c | 13 ------------- 2 files changed, 25 deletions(-) commit c1a063e1a43b20fe516b044e3a6a43812d7dd18b Author: Benjamin Otte Date: Sun Aug 17 00:58:04 2014 +0200 checkbutton: Draw background unconditionally We want to draw backgrounds always, not just on prelight. Themes can decide to only set a background during prelight themselves. gtk/gtkcheckbutton.c | 9 ++++----- gtk/gtkradiobutton.c | 9 ++++----- 2 files changed, 8 insertions(+), 10 deletions(-) commit b1ac4f91d39f1863f54ba2269ed03e45f90f7a3d Author: Benjamin Otte Date: Sat Aug 16 20:41:09 2014 +0200 reftests: Update for :active => :checked change testsuite/reftests/css-multi-state.css | 6 +++--- testsuite/reftests/pseudoclass-on-box.css | 4 ++-- testsuite/reftests/pseudoclass-on-parent.css | 4 ++-- testsuite/reftests/sibling-pseudoclasses.css | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) commit 1d9c183156d8b416c81a0c7b042d1c638ac0cd7e Author: Yosef Or Boczko Date: Sat Aug 16 21:28:01 2014 +0300 Updated Hebrew translation po/he.po | 586 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 310 insertions(+), 276 deletions(-) commit 9adf0bf323a09ba9a07972310a4f554982b85e58 Author: Benjamin Otte Date: Mon Jun 16 16:37:01 2014 +0200 stylecontext: Update docs to reflect theming engines being gone gtk/gtkstylecontext.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit b59e6f1948bda1245840cecfc2df115cd582cdcd Author: Benjamin Otte Date: Sun Jun 15 16:05:16 2014 +0200 themingengine: Deprecate gtk/gtkcsscustomproperty.c | 5 ++-- gtk/gtkcssstylefuncs.c | 10 +++++++ gtk/gtkcssstylepropertyimpl.c | 4 +++ gtk/gtkthemingengine.c | 63 ++++++++++++++++++++++++++++++++++--------- gtk/gtkthemingengine.h | 40 +++++++++++++-------------- 5 files changed, 88 insertions(+), 34 deletions(-) commit 9ca04c0f9d22d38183cf4384ea8774e3f6daf9ea Author: Benjamin Otte Date: Mon Jun 16 04:53:14 2014 +0200 themingengine: Remove now unused private API gtk/gtkthemingengine.c | 17 ----------------- gtk/gtkthemingengineprivate.h | 4 ---- 2 files changed, 21 deletions(-) commit 9e4fc66e9a1b2a00d8825cc735a958e1858c1862 Author: Benjamin Otte Date: Sat Aug 16 19:22:15 2014 +0200 themingengine: Transition code towards StyleContext We want to get rid of theming engines, so stop using them as much as possible. gtk/gtkthemingengine.c | 95 +++++++++++++++++++++++++++----------------------- 1 file changed, 52 insertions(+), 43 deletions(-) commit 1a143cd272c12b08caa8bee1f76c5e9628d2af1c Author: Benjamin Otte Date: Sat Aug 16 19:00:03 2014 +0200 borderimage: Use style context as argument ... not the theming engine. gtk/gtkborderimage.c | 10 +++++----- gtk/gtkborderimageprivate.h | 3 +-- gtk/gtkthemingengine.c | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) commit 04bf3d1e1fc231275d876b4f472b804f66712618 Author: Benjamin Otte Date: Mon Jun 16 04:28:06 2014 +0200 roundedbox: Remove functions that take a GtkThemingEngine Instead, make the functions use a GtkStyleContext argument. gtk/gtkroundedbox.c | 23 +++++++---------------- gtk/gtkroundedboxprivate.h | 15 ++++++--------- gtk/gtkthemingengine.c | 4 ++-- 3 files changed, 15 insertions(+), 27 deletions(-) commit 5e8d3d533fc9e33d902fbef5c7e4560bb38d7dcf Author: Benjamin Otte Date: Mon Jun 16 04:22:50 2014 +0200 themingbackground: Remove initializer that takes a GtkThemingEngine With the unification to use style contexts everywhere, make that initializer the only one to use. Also rename it appropriately. gtk/gtkcolorswatch.c | 14 +++++++------- gtk/gtkthemingbackground.c | 23 ++--------------------- gtk/gtkthemingbackgroundprivate.h | 12 ++---------- gtk/gtkthemingengine.c | 11 ++++++----- 4 files changed, 17 insertions(+), 43 deletions(-) commit 7e5b58c72739c23533a18f47da771640340eecc2 Author: Benjamin Otte Date: Sun Jun 15 18:03:59 2014 +0200 stylecontext: Move private a11y function to private header gtk/a11y/gtkentryaccessible.c | 1 + gtk/a11y/gtklabelaccessible.c | 1 + gtk/a11y/gtktextcellaccessible.c | 1 + gtk/gtkstylecontext.h | 5 ----- gtk/gtkstylecontextprivate.h | 5 +++++ 5 files changed, 8 insertions(+), 5 deletions(-) commit 04c90d44cc40bb64fcc5d8715d56b25c2034ec8e Author: Matthias Clasen Date: Sat Aug 16 13:38:47 2014 -0400 More updates NEWS | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit aefe86d632c7d24cd819caee0e0a112cbd30d60f Author: Matthias Clasen Date: Sat Aug 16 13:02:47 2014 -0400 Update expected output for the font picker a11y test This change is a consequence of the recent font chooser changes. testsuite/a11y/pickers.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d3dc05174e5107d2289743a33aa342a38d3b70bd Author: Matthias Clasen Date: Sat Aug 16 13:01:50 2014 -0400 Update expected output in a11y tests for buttons This is an expected change from the recent button state cleanups. testsuite/a11y/about.txt | 2 +- testsuite/a11y/buttons.txt | 4 ++-- testsuite/a11y/stack.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 7762f94be6e614e655ae907803a9a0598fd91da4 Author: Matthias Clasen Date: Sat Aug 16 12:13:07 2014 -0400 Fix make install The path to gtk-update-icon-cache was set incorrectly in one case. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eecbe5416e8881f9e26e9c1013b361f6fb3dd81f Author: Benjamin Otte Date: Sat Aug 16 00:45:00 2014 +0200 togglebutton: Remove unneeded code The state is completely handled by gtkbutton.c so no need to do anything in the togglebutton. gtk/gtktogglebutton.c | 31 ------------------------------- 1 file changed, 31 deletions(-) commit 1febbdb499757ac01c2cc505e8bcaa455133006a Author: Benjamin Otte Date: Sat Aug 16 00:43:18 2014 +0200 togglebutton: Don't duplicate button code It's the same code, so no need to write the same vfunc twice. gtk/gtktogglebutton.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit 0f7c90ac6294566e06e08bb54ff18b80ea0de31c Author: Benjamin Otte Date: Fri Aug 15 18:30:19 2014 +0200 radiobutton: :hover on hover No special cases, those go in the theme. gtk/gtkradiobutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit db1ab7ddf8ff86240b49e4c17ab56691bada77eb Author: Benjamin Otte Date: Fri Aug 15 18:26:35 2014 +0200 button: Handle :inconsistent in GtkToggleButton gtk/gtkcheckbutton.c | 8 +------- gtk/gtkradiobutton.c | 8 +------- gtk/gtktogglebutton.c | 13 +++++-------- 3 files changed, 7 insertions(+), 22 deletions(-) commit cd349dcd48c9e71d81e56a0810d0f4f5cf5e9cd7 Author: Benjamin Otte Date: Fri Aug 15 16:58:39 2014 +0200 button: Handle :checked in gtktogglebutton.c Don't try to handle it elsewhere. gtk/gtkcheckbutton.c | 4 ---- gtk/gtkradiobutton.c | 11 ----------- gtk/gtktogglebutton.c | 12 +++++++----- 3 files changed, 7 insertions(+), 20 deletions(-) commit 65cc3630c883ef2945d5067d39b440763a379822 Author: Benjamin Otte Date: Fri Aug 15 16:51:42 2014 +0200 widget: Add checks for setting state flags This is more for GTK developers to catch when they forgot to change GTK_STATE_FLAGS_BITS after adding a new state flag than to prevent widget developers from using the wrong flags. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit e5d0d5f9e6f61491441b734775506f6c6428551e Author: Benjamin Otte Date: Thu Aug 7 15:36:09 2014 +0200 themingengine: Remove hack to draw backgrounds instead of checks This was a hack we added in early 3.x to allow themes to customize their checkmarks. Now that we want to properly support real backgrounds everywhere, supporting this feature would cause double draws of backgrounds. gtk/gtkthemingengine.c | 39 +-------------------------------------- 1 file changed, 1 insertion(+), 38 deletions(-) commit 97a6e692ceea6bc2cd222b6af0307182f34f39ac Author: Benjamin Otte Date: Fri Aug 15 03:55:53 2014 +0200 stylecontext: Update docs for gtk_render_activity() gtk/gtkstylecontext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6c06bd55dae61ce6066555c7d4794ed9ca3911de Author: Benjamin Otte Date: Fri Aug 15 01:58:49 2014 +0200 gtk: Don't use gtk_render_activity() ... in places where we draw a background. This was changed for GTK 3.0.0 to allow animations, but these days it doesn't make sense anymore to use gtk_render_activity() for backgrounds. gtk/deprecated/gtkstyle.c | 11 +++-------- gtk/gtkcellrendererprogress.c | 15 ++++++++------- gtk/gtkentry.c | 4 ++-- gtk/gtkprogressbar.c | 6 ++++-- gtk/gtkrange.c | 5 ++--- 5 files changed, 19 insertions(+), 22 deletions(-) commit b675a13233c890a188d99b6f1b66b428a7078f6a Author: Benjamin Otte Date: Thu Aug 14 15:44:35 2014 +0200 button: Remove depressed_on_activate All buttons should always be marked as :active when they are pressed. That includes checkboxes (which are never activated in real code anyway, so this change pretty much doesn't matter). gtk/gtkbutton.c | 3 +-- gtk/gtkbuttonprivate.h | 1 - gtk/gtkradiobutton.c | 2 -- gtk/gtktogglebutton.c | 3 --- 4 files changed, 1 insertion(+), 8 deletions(-) commit 1abe9237408e9ae65db91cc0b9593207d548adf6 Author: Benjamin Otte Date: Thu Aug 14 05:14:36 2014 +0200 css: Do inconsistent checked states right In HTML5, both pseudoclasses apply. So we do the same thing in our widgets. https://bugzilla.gnome.org/show_bug.cgi?id=733967 gtk/gtkcellrenderertoggle.c | 3 ++- gtk/gtkcheckbutton.c | 3 ++- gtk/gtkcheckmenuitem.c | 2 +- gtk/gtkradiobutton.c | 3 ++- gtk/gtktogglebutton.c | 3 ++- 5 files changed, 9 insertions(+), 5 deletions(-) commit bb069b781b22cae0101a7a466bb03b460fb5c651 Author: Benjamin Otte Date: Thu Aug 14 05:13:29 2014 +0200 button: Remove depressed variable It is not used anymore. gtk/gtkbutton.c | 28 ---------------------------- gtk/gtkbuttonprivate.h | 4 ---- gtk/gtkradiobutton.c | 11 ----------- gtk/gtktogglebutton.c | 9 --------- 4 files changed, 52 deletions(-) commit e9f1d6d85c2aecab101788f020f57316f1d1f815 Author: Benjamin Otte Date: Thu Aug 14 04:43:45 2014 +0200 button: Don't honor child-displacement anymore It doesn't make sense to support child displacement in a world where pseudoclasses behave different from the actual displacement states. Nobody would ever understand why a widget is displaced. It is easily possible to simulate child displacement by using padding CSS properties. gtk/gtkbutton.c | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) commit 4e077d4638b4ecfaf67afbab5082b9d47499af4f Author: Benjamin Otte Date: Thu Aug 14 04:34:30 2014 +0200 gtk: Use new :checked state on: - GtkToggleButton - GtkCheckButton - GtkRadioButton - GtkModelButton - GtkCellRendererToggle - GtkCheckMenuItem also update themes: - Adwaita - Raleigh but not the win32 theme. The new :checked state replaces :active for the actual checkedness of the widgets and :active is now used exclusively while the button is being pressed. https://bugzilla.gnome.org/show_bug.cgi?id=733967 gtk/gtkcellrenderertoggle.c | 4 +- gtk/gtkcheckbutton.c | 9 ++- gtk/gtkcheckmenuitem.c | 2 +- gtk/gtkmodelbutton.c | 12 ++-- gtk/gtkradiobutton.c | 38 +++------- gtk/gtktogglebutton.c | 15 ++-- gtk/resources/theme/Adwaita/_common.scss | 42 ++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 82 +++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 82 +++++++++++++++------- gtk/resources/theme/Raleigh/gtk-default.css | 8 +-- 10 files changed, 170 insertions(+), 124 deletions(-) commit 36a2e7ca8e2f4b41670532b70b1733d9a3e7b670 Author: Benjamin Otte Date: Thu Aug 14 03:00:02 2014 +0200 css: Add a :checked pseudoclass https://bugzilla.gnome.org/show_bug.cgi?id=733967 gtk/gtkcssselector.c | 6 ++++-- gtk/gtkenums.h | 4 +++- gtk/gtkwidget.c | 2 +- gtk/gtkwidgetpath.c | 6 +----- testsuite/css/parser/pseudo-classes-known.css | 4 ++++ testsuite/css/parser/pseudo-classes-known.ref.css | 4 ++++ 6 files changed, 17 insertions(+), 9 deletions(-) commit 3f4b9d8164b33311ea4d51e5ce84677a913fb823 Author: Sébastien Wilmet Date: Fri Aug 15 21:22:07 2014 +0200 Replace uses of g_memmove() by memmove() g_memmove() is deprecated, it is a simple macro that just calls memmove() with the same parameters. Reviewed by Paolo Borelli on IRC. gtk/gtkaccelgroup.c | 8 ++++---- gtk/gtkentrybuffer.c | 4 ++-- gtk/gtktextbuffer.c | 6 +++--- gtk/gtktextiter.c | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) commit e79348eafefc86ce7c8f812e8f1c3d0118b6f9e8 Author: Matthias Clasen Date: Fri Aug 15 23:22:00 2014 -0400 Add an example for a hig-style toolbar tests/Makefile.am | 1 + tests/testtoolbar2.c | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) commit 0f9fc277c2a8175fe1e8fc9b0884b43d08bc4b79 Author: Matthias Clasen Date: Fri Aug 15 17:29:34 2014 -0400 GtkFontChooser: Prevent font fallback in the preview We don't want to preview the fallback fonts, after all. https://bugzilla.gnome.org/show_bug.cgi?id=570414 gtk/gtkfontchooserwidget.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 69246f5828aeeee23f0f097577a6b280e93ea88f Author: Piotr Drąg Date: Fri Aug 15 21:25:38 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 4 ++-- po/POTFILES.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit 59fc2f0ac107c9affe63c9e5c26b9dee049ad424 Author: Matthias Clasen Date: Fri Aug 15 15:15:45 2014 -0400 GtkFontButton: Avoid criticals The font_family and font_face members may be NULL, and we shouldn't cause critical warnings in that case. gtk/gtkfontbutton.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 1815790bd3c9d4c275976b3fae4da1bff6308dc0 Author: Matthias Clasen Date: Fri Aug 15 15:09:45 2014 -0400 GtkFontButton: Limit the decimals shown for size It doesn't make sense to show a font size with 6 digits. Use the same formatting we use in the font chooser widget now. https://bugzilla.gnome.org/show_bug.cgi?id=724996 gtk/gtkfontbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a8ed0dd4eef87dfeaa0263c115c35d74ed8019bc Author: Matthias Clasen Date: Fri Aug 15 14:57:31 2014 -0400 GtkFontChooserWidget: Allow fractional font sizes With this change, we let users enter up to 2 decimals in the entry, to specify font sizes exactly. The slider still rounds to whole numbers. https://bugzilla.gnome.org/show_bug.cgi?id=665711 gtk/gtkfontchooserwidget.c | 18 ++++++++++++++++++ gtk/resources/ui/gtkfontchooserwidget.ui | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) commit e23f7c13b0fd951b89cf545b450ed50889b241dc Author: Matthias Clasen Date: Fri Aug 15 14:10:55 2014 -0400 GtkFontButton: Use the same font name as the font chooser The font chooser constructs the display name for the font from the family and face names. Do the same in the font button, so we don't end up calling the same font by different names, which would be confusing. gtk/gtkfontbutton.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit dd6c2391d2a1c63a7e0f91a7034043ea248ac991 Author: Behdad Esfahbod Date: Fri Aug 15 17:27:00 2014 +0000 GtkFontChooserWidget: Use a better display name for the font Instead of reconstructing a display name from the PangoFontDescription, use the font family and face objects, which have the original font. This lets us get the names of fonts like Noto Sans CJK DemiLight right, which would be shown as Noto Sans CJK SemiLight when mangled via PangoFontDescription, since Pango treats 'DemiLight' as an alias for the SemiLight weight. https://bugzilla.gnome.org/show_bug.cgi?id=733832 gtk/gtkfontchooserwidget.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit e0af2ba7c7f911bd618d6fba2b40e97398f0df2a Author: Matthias Clasen Date: Fri Aug 15 13:12:15 2014 -0400 GtkGestureSingle: Update declared defaults of properties These should match the initial values, which were changed a few commits ago. The defaultvalue test fails if there is a mismatch, like here. gtk/gtkgesturesingle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1dfe28fa5655b98df4481d92b6540d4e1790ea3b Author: Matthias Clasen Date: Fri Aug 15 13:04:57 2014 -0400 win32: Set the right source device https://bugzilla.gnome.org/show_bug.cgi?id=734738 gdk/win32/gdkevents-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cab7dcde1bef1ea589a9f3c4d8512e59ade8a4a2 Author: Matthias Clasen Date: Thu Aug 14 14:34:53 2014 -0400 Deprecate GtkStatusIcon GtkStatusIcon is using a problematic, XEmbed-based protocol under X, and we want to get rid of it eventually. Document our intentions by marking GtkStatusIcon as deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=734826 docs/reference/gtk/gtk-docs.sgml | 2 +- gtk/Makefile.am | 12 ++--- gtk/{ => deprecated}/gtkstatusicon-quartz.c | 0 gtk/{ => deprecated}/gtkstatusicon.c | 72 +++++++++++++++++++++++++++-- gtk/{ => deprecated}/gtkstatusicon.h | 62 ++++++++++++------------- gtk/{ => deprecated}/gtktrayicon-x11.c | 0 gtk/{ => deprecated}/gtktrayicon.h | 0 gtk/gtk.h | 2 +- tests/teststatusicon.c | 1 + 9 files changed, 107 insertions(+), 44 deletions(-) commit 62254ca3061a1309e836939df242140b53c79603 Author: Rico Tzschichholz Date: Fri Aug 15 17:56:39 2014 +0200 util/extract-strings: Use autotools syntax for building Always refer to it as "extract-strings$(EXEEXT)" where needed to take cross-compilation into account. https://bugzilla.gnome.org/show_bug.cgi?id=731013 gtk/Makefile.am | 3 +-- gtk/inspector/Makefile.am | 4 +--- util/Makefile.am | 12 ++++-------- 3 files changed, 6 insertions(+), 13 deletions(-) commit f4a29fbfc28b1c9918de939b616f61738d27a17a Author: Rico Tzschichholz Date: Fri Aug 15 17:40:55 2014 +0200 Revert "Bug 731013 - cross-compilation broken when building extract-strings" This reverts commit 651d9e90e715ba0f4e246d03102cfb5353c19dc6. The commit broke 'make dist' - the extract-strings sources are no longer included in the tarball. gtk/Makefile.am | 2 +- gtk/inspector/Makefile.am | 2 +- util/Makefile.am | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) commit e0f354f5248404a1f3d00fc8beceab7764ebf2e4 Author: Matthias Clasen Date: Fri Aug 15 09:14:20 2014 -0400 Updates for 3.13.7 NEWS | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 49ccb23743c3d147ea14a47dd134c86d924fe655 Author: Ryan Lortie Date: Thu May 3 17:12:32 2012 -0700 GtkMenuItemAccessible: use "insert" signal Use the "insert" rather than the "add" signal to reliably detect additions of menu items. https://bugzilla.gnome.org/show_bug.cgi?id=372545 gtk/a11y/gtkmenuitemaccessible.c | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) commit 91afc0ea4faf39e2b9d564b750f9c9204ee68126 Author: Carlos Garnacho Date: Tue Aug 12 14:06:04 2014 +0200 treeview: Make multipress gesture accept all buttons That gesture is meant to handle clicks on multiple buttons, so unset the GDK_BUTTON_PRIMARY default. Also, remove unnecessary boilerplate with the new GtkGestureSingle/GtkEventController defaults. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtktreeview.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit c5839708ccc9641ea31768779b4c0e2e8c90f503 Author: Carlos Garnacho Date: Tue Aug 12 14:04:35 2014 +0200 textview: Make multipress gesture accept all buttons That gesture is meant to handle clicks on multiple buttons, so unset the GDK_BUTTON_PRIMARY default. Also, remove unnecessary boilerplate with the new GtkGestureSingle/GtkEventController defaults. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtktextview.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit af5a03c841b65cbc52daf63ddaa8e3db833ace1e Author: Carlos Garnacho Date: Tue Aug 12 14:02:24 2014 +0200 range: Make multipress gesture accept all buttons That gesture is meant to handle clicks from several buttons, so unset the new GDK_BUTTON_PRIMARY default. Also, remove unnecessary boilerplate with the new default values. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkrange.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) commit c17d3ee8feba9e2f847670ed02e4367c4fb3794f Author: Carlos Garnacho Date: Mon Aug 11 21:57:04 2014 +0200 window: Set GtkGestureSingle::button to 0 on multipress gesture This gesture handles events from multiple buttons, so ensure the gesture still does so after the default value change. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3a281be135337924f50c829bf418895f64e97f8 Author: Carlos Garnacho Date: Mon Aug 11 21:56:12 2014 +0200 scrolledwindow: Make kinetic scrolling only work on touch devices This code was relying on the previous GtkGestureSingle::touch-only default value, so restore the behavior back. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b7412a1d9b6956edfdc976b63e1126ff58a5cef2 Author: Carlos Garnacho Date: Mon Aug 11 21:54:39 2014 +0200 spinbutton: Make the swipe gesture only work on touch devices This code was relying on the previous GtkGestureSingle::touch-only default value. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkspinbutton.c | 1 + 1 file changed, 1 insertion(+) commit 261bbd8d8eedafd3b4d807d76eda09812bc33b80 Author: Carlos Garnacho Date: Mon Aug 11 21:52:59 2014 +0200 label: Update to new GtkGestureSingle/GtkEventController defaults GtkGestureSingle::button is set to 0 on the multipress gesture, as several buttons are managed by that gesture. Also avoid some extra lines of code setting what nowadays are default values. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtklabel.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 0c2da16c0e1ad32447e3c5fc872646f8d3e8dc39 Author: Carlos Garnacho Date: Mon Aug 11 21:51:50 2014 +0200 entry: Update to new GtkGestureSingle/GtkEventController defaults GtkGestureSingle::button is set to 0 on the drag/multipress gestures, as several buttons are managed by these gestures. Also, avoid some extra lines of code setting what nowadays are default values. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkentry.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 8ca205af5d74850da8cfee6f5a371923b187dbf8 Author: Carlos Garnacho Date: Mon Aug 11 21:50:15 2014 +0200 dnd: Set explicitly GtkGestureSingle::button to 0 on the drag gesture This gesture handles drags done with any button, so unset the current button=1 default. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkdnd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 1c23ab5a7e98a10b53811cf5c452e64a07ce7dc9 Author: Carlos Garnacho Date: Mon Aug 11 21:48:43 2014 +0200 colorswatch: Update to new GtkGestureSingle/GtkEventController defaults GtkGestureSingle::button is set to 0 on the multipress gesture, as several buttons are managed by that gesture. Also avoid some extra lines of code setting what nowadays are default values. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkcolorswatch.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 9e89640b0b950706a653c8df30fb7cd970d6d043 Author: Carlos Garnacho Date: Mon Aug 11 21:45:51 2014 +0200 colorplane: Update to new GtkGestureSingle/GtkEventController defaults GtkGestureSingle::button is set to 0, as multiple buttons are managed by the same gesture. Also avoid some extra lines of code setting what nowadays are default values. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkcolorplane.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 9ad4f1e62cff769e8eb4c67810c2ea718457ad5d Author: Carlos Garnacho Date: Mon Aug 11 21:43:58 2014 +0200 gesturesingle: Change default values of button and touch-only properties This now defaults to sane values on mice, so touch-only is set to FALSE, and button is set to GDK_BUTTON_PRIMARY; https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkgesturesingle.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit 131123c71aae5bc788c9b6741c1dd95e8a8d3329 Author: Carlos Garnacho Date: Mon Aug 11 20:43:17 2014 +0200 window: Set multipress gesture phase to be GTK_PHASE_NONE explicitly This used to rely on the default value, which has changed to a saner default. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit dd9166c4359f6b28c60846e9becbd1f03bf36ac9 Author: Carlos Garnacho Date: Mon Aug 11 20:41:44 2014 +0200 dnd: Set drag gesture propagation phase to GTK_PHASE_NONE explicitly This used to rely on the default phase value. https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkdnd.c | 2 ++ 1 file changed, 2 insertions(+) commit a050b017ed548172e8c088fefcda4912b3d00adc Author: Carlos Garnacho Date: Mon Aug 11 20:38:51 2014 +0200 eventcontroller: Default to GTK_PHASE_BUBBLE This is in practice the most common value, so make that the default https://bugzilla.gnome.org/show_bug.cgi?id=734285 gtk/gtkeventcontroller.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 270d7a41ce92bafaee5d9d25a46591b29f614760 Author: Matthias Clasen Date: Thu Aug 14 21:33:21 2014 -0400 Drop another unused bit of configury pwd.h is not used anywhere in GTK+, so no need to check for it. configure.ac | 3 --- 1 file changed, 3 deletions(-) commit 50035b613cb12997d90d4c4143b3111bb005765a Author: Matthias Clasen Date: Thu Aug 14 21:21:32 2014 -0400 Drop unused variable Nothing is using gdk-pixbuf-csource anymore, so no need to set up the GDK_PIXBUF_CSOURCE variable. configure.ac | 2 -- 1 file changed, 2 deletions(-) commit 76da8a5f208f8be67b460714a9186bb3a01d63bb Author: Domenico Tortorella Date: Thu Aug 14 13:08:10 2014 +0200 Fixed some object leaks in broadway_server_new() constructor. https://bugzilla.gnome.org/show_bug.cgi?id=734778 gdk/broadway/broadway-server.c | 3 +++ 1 file changed, 3 insertions(+) commit bd84bae5d93639d1135866f268f0b514610f7cf5 Author: Matthias Clasen Date: Thu Aug 14 20:29:54 2014 -0400 Broadway: Make unix socket support conditional We need to use gio/gunixsocketaddress.h and do so only if HAVE_GIO_UNIX is defined. gdk/broadway/broadway-server.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 43bddd205bf82915d6fa5f6166a4e58023778354 Author: Domenico Tortorella Date: Thu Aug 14 13:30:00 2014 +0200 BroadwayServer support for unix socket listening At the present time broadway listens only for TCP/IP incoming display connections. This patch implements the support for listening on unix domain sockets too, adding the broadway_server_on_unix_socket_new() constructor and the commandline option --unixsocket [path] to broadwayd. https://bugzilla.gnome.org/show_bug.cgi?id=734420 docs/reference/gtk/broadwayd.xml | 8 +++++++ gdk/broadway/broadway-server.c | 46 ++++++++++++++++++++++++++++++++++++++++ gdk/broadway/broadway-server.h | 2 ++ gdk/broadway/broadwayd.c | 10 ++++++++- 4 files changed, 65 insertions(+), 1 deletion(-) commit 269d277afe129e93b16faf81d52cce8b9f1e67f5 Author: Matthias Clasen Date: Thu Aug 14 19:38:14 2014 -0400 Adapt to spinbutton changes testsuite/a11y/entries.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e7ffa16094099fe40d6631f6134df16bca7d2771 Author: Benjamin Otte Date: Fri Aug 15 00:11:35 2014 +0200 tests: Sanitize gcc was unhappy again. tests/testtextview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit badfc66ceb1574395b0ab81c370f66821777f708 Author: Piotr Drąg Date: Thu Aug 14 20:41:54 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 9d2c3f5e68208576eea82fa313a38689bf16ba56 Author: Benjamin Otte Date: Thu Aug 14 19:52:33 2014 +0200 reftests: Add reftest for statusbar fix https://bugzilla.gnome.org/show_bug.cgi?id=724281 testsuite/reftests/Makefile.am | 5 ++++- testsuite/reftests/statusbar-remove-all.c | 27 ++++++++++++++++++++++++++ testsuite/reftests/statusbar-remove-all.ref.ui | 22 +++++++++++++++++++++ testsuite/reftests/statusbar-remove-all.ui | 23 ++++++++++++++++++++++ 4 files changed, 76 insertions(+), 1 deletion(-) commit e853007cd0186e141559b967af852156477092b3 Author: Phillip Wood Date: Wed Feb 12 15:56:11 2014 +0000 Statusbar: Remove matching messages before popping gtk_statusbar_remove_all() was popping the top message if its context_id matched before removing other matching messages from the stack. This meant that if the context_id of the second top message matched it was still displayed when the top message was popped and then removed from the list of messages without updating the display. Fix this by removing all the matching messages below the top one before popping it if it matches. https://bugzilla.gnome.org/show_bug.cgi?id=724281 gtk/gtkstatusbar.c | 42 ++++++++++++++++-------------------------- 1 file changed, 16 insertions(+), 26 deletions(-) commit 2120ccfd5e87dd7a86bf8736616b75454ef02f6e Author: Benjamin Otte Date: Thu Aug 14 19:08:37 2014 +0200 reftests: Make gcc happy testsuite/reftests/gtk-reftest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f09573757df07700b0510945c8bcd83171bd3a79 Author: Timm Bäder Date: Wed Aug 13 11:32:47 2014 +0200 GtkListBoxRow: Set clip https://bugzilla.gnome.org/show_bug.cgi?id=734709 gtk/gtklistbox.c | 3 +++ 1 file changed, 3 insertions(+) commit 491cab3f7f4a14a7ac9254a047fb95859730dc66 Author: Matthias Clasen Date: Thu Aug 14 00:10:23 2014 -0400 Fix a thinko in creating event masks &-ing together all the device event types yields zero, which is clearly not the intention here. Use | instead, to create the intended mask. https://bugzilla.gnome.org/show_bug.cgi?id=734641 gdk/x11/gdkdevice-core-x11.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit ec2bc3faceb17412704d6d04a21ae60c3eed2063 Author: Matthias Clasen Date: Thu Aug 14 00:04:10 2014 -0400 Add some spinbutton tests These tests check some of the changes from the previous commits. testsuite/gtk/Makefile.am | 1 + testsuite/gtk/spinbutton.c | 100 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 101 insertions(+) commit 137abd6f7083bcdb4c6df1102303f0e3ab905940 Author: Debarshi Ray Date: Tue Aug 12 17:45:53 2014 +0200 GtkSpinButton: Prevent public API from unsetting the adjustment A spin button really needs an adjustment to work. So don't let the user unset the adjustment by passing NULL to gtk_spin_button_set_adjustment. https://bugzilla.gnome.org/show_bug.cgi?id=734660 gtk/gtkspinbutton.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 1e304e6debd9045fbe2c7ba01865e7ea2dbff22b Author: Debarshi Ray Date: Tue Aug 12 13:44:34 2014 +0200 GtkSpinButton: Always emit value-changed when the adjustment is changed Changing adjustment via the property setter would not emit value-changed, however changing it via gtk_spin_button_configure would. This inconsistency had the following side-effects: - Setting an adjustment with a different value would not update the value shown by the spin button. - Creating a spin button like this (common in GtkBuilder XML) will not show the initial value: g_object_new (GTK_TYPE_SPIN_BUTTON, "adjustment", adj, NULL); Let's use the same code path (ie. gtk_spin_button_configure) for all public facing API for setting adjustment. The code that handled the details of swapping out the old adjustment with the new has been split into an unset_adjustment method and the rest has been folded into gtk_spin_button_configure. A spin button really needs an adjustment to work, so we don't need most of the NULL checks. However we do need to check in unset_adjustment because setting a new adjustment during object creation might try to unset a non-existent one. https://bugzilla.gnome.org/show_bug.cgi?id=734660 gtk/gtkspinbutton.c | 102 ++++++++++++++++++++++++++++------------------------ 1 file changed, 56 insertions(+), 46 deletions(-) commit a0faf5a51ced242985e993abc2bc6684863564e0 Author: Руслан Ижбулатов Date: Wed Aug 13 18:43:51 2014 +0000 Fix various warnings https://bugzilla.gnome.org/show_bug.cgi?id=734737 gdk/win32/gdkkeys-win32.c | 24 +++++++++++++----------- gdk/win32/gdkproperty-win32.c | 2 +- gdk/win32/gdkselection-win32.c | 6 +++--- gtk/gtkprint-win32.c | 4 ++++ gtk/gtkprintoperation-win32.c | 10 +++++++--- gtk/gtkwin32embedwidget.c | 4 ++-- gtk/inspector/visual.c | 2 +- 7 files changed, 31 insertions(+), 21 deletions(-) commit 1b9fa975af45b1723fe21a65503859609dc0e7ad Author: Руслан Ижбулатов Date: Wed Aug 13 18:17:23 2014 +0000 Fix some print format warnings https://bugzilla.gnome.org/show_bug.cgi?id=734736 gdk/win32/gdkdisplay-win32.c | 2 +- gdk/win32/gdkevents-win32.c | 4 ++-- gtk/gtkmountoperation-stub.c | 2 +- gtk/gtkmountoperation.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) commit 694c8d32d5fab4ef8d0139a910cee95200c34d8a Author: Руслан Ижбулатов Date: Wed Aug 13 15:51:43 2014 +0000 Fix various warnings about unused things https://bugzilla.gnome.org/show_bug.cgi?id=734735 gdk/Makefile.am | 1 - gdk/win32/gdkcursor-win32.c | 1 - gdk/win32/gdkdevice-virtual.c | 4 ---- gdk/win32/gdkdevice-wintab.c | 3 --- gdk/win32/gdkdevicemanager-win32.c | 2 -- gdk/win32/gdkdnd-win32.c | 3 --- gdk/win32/gdkevents-win32.c | 3 +-- gdk/win32/gdkgeometry-win32.c | 4 ---- gtk/gtksearchenginesimple.c | 6 ++---- gtk/gtksettings.c | 2 ++ gtk/gtkstatusicon.c | 9 ++++++--- gtk/gtkwin32embedwidget.c | 4 ---- modules/input/gtkimcontextime.c | 8 ++------ tests/testgtk.c | 2 ++ testsuite/gdk/encoding.c | 2 +- 15 files changed, 16 insertions(+), 38 deletions(-) commit 966b191e132fb8cfef039fb02a971e4e92c01dc1 Author: Jasper St. Pierre Date: Wed Aug 13 19:01:52 2014 -0400 gdkwayland-window: Don't map the grab transfer menu for GtkMenu This is a bad idea in general, but it also means that the focus for a window drops when we pop up a menu, since the grab transfer menu exists. gdk/wayland/gdkwindow-wayland.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit f5d1d310437e40d47879b48e708870c0a9d7c669 Author: Tom Tryfonidis Date: Wed Aug 13 21:45:34 2014 +0000 Updated Greek translation po-properties/el.po | 680 ++++++++++++++++++++++++++-------------------------- 1 file changed, 335 insertions(+), 345 deletions(-) commit 4376b4f705baec38e79449525e506bf4d28de4d2 Author: Jehan Date: Wed Aug 13 07:11:23 2014 +0000 Fix the build of the native gtk-update-icon-cache when cross-compiling. As a noinst_PROGRAMS, the libtool generated for cross-compiling will be used, which will mess up the linking. Create a all-local target instead. Also ensure that building uses always a native version of the tool by specifying a GTK_UPDATE_ICON_CACHE automake variable. Finally "config.h" has been created to work for the target platform and causes problem when cross-compiling. So we temporarily generate a basic config.h which contains only the strict minimum. configure.ac | 23 +++++++++++++---------- demos/gtk-demo/Makefile.am | 2 +- demos/widget-factory/Makefile.am | 2 +- gtk/Makefile.am | 10 ---------- gtk/native/Makefile.am | 8 +++++++- 5 files changed, 22 insertions(+), 23 deletions(-) commit 651d9e90e715ba0f4e246d03102cfb5353c19dc6 Author: Jehan Date: Wed Aug 13 05:08:08 2014 +0000 Bug 731013 - cross-compilation broken when building extract-strings It is actually a bad idea to use noinst_PROGRAMS for build tools, because it adds a $(EXEEXT). It is best to override the all target with all-local to trigger the tool build. gtk/Makefile.am | 2 +- gtk/inspector/Makefile.am | 2 +- util/Makefile.am | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) commit 40b50083ee29b3a72882cd0d8a746dc1a091b4a9 Author: Yosef Or Boczko Date: Wed Aug 13 15:24:44 2014 +0300 places-sidebar: Refine the spacing Based on a patch by Yosef Or Boczko, https://bugzilla.gnome.org/show_bug.cgi?id=731443 gtk/gtkplacessidebar.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit f561ee34d22096694c6ec41d580b2bb9821aca9a Author: Lapo Calamandrei Date: Wed Aug 13 18:44:17 2014 +0200 Adwaita: check/radio icon source override fix gtk/resources/theme/Adwaita/_common.scss | 15 +++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 12 ++++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-) commit c7d8edd4ca0ce4d09937abfaaa3134684d7bcec9 Author: Lapo Calamandrei Date: Wed Aug 13 17:28:55 2014 +0200 Adwaita: app-notification revert erroneusly committed changes gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/resources/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 8 insertions(+), 4 deletions(-) commit ce2f6213021b0a7ee1a5fdfc91f2a8305db5524b Author: Benjamin Otte Date: Thu Aug 7 15:42:42 2014 +0200 Adwaita: Use -gtk-icon-source for checkmarks instead of using background-image gtk/resources/theme/Adwaita/_common.scss | 4 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 144 ++++++--------------- gtk/resources/theme/Adwaita/gtk-contained.css | 144 ++++++--------------- 3 files changed, 73 insertions(+), 219 deletions(-) commit dff52f7a040c2271ed93307f32a545bd662f9dbc Author: Benjamin Otte Date: Wed Aug 13 16:18:39 2014 +0200 css: Match state in siblings properly Previously, we always returned the state flags of the original widget and did not consider the siblings' pseudoclasses. Testcase is attached. gtk/gtkcssmatcher.c | 8 ++++- testsuite/reftests/Makefile.am | 3 ++ testsuite/reftests/sibling-pseudoclasses.css | 3 ++ testsuite/reftests/sibling-pseudoclasses.ref.ui | 46 +++++++++++++++++++++++++ testsuite/reftests/sibling-pseudoclasses.ui | 43 +++++++++++++++++++++++ 5 files changed, 102 insertions(+), 1 deletion(-) commit b276b6198f6937700f0cfc39dfbfe7cd156747e7 Author: Benjamin Otte Date: Wed Aug 13 16:18:04 2014 +0200 widgetpath: Use CSS-like syntax in to_string() Print pseudo-classes using ':' sign. gtk/gtkwidgetpath.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit de19fa4bb3353ef7ca1aaf86cf78f16845f58f26 Author: Lapo Calamandrei Date: Wed Aug 13 16:41:36 2014 +0200 Adwaita: path-bar home button spacing gtk/resources/theme/Adwaita/_common.scss | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++++ 3 files changed, 27 insertions(+) commit cf7a5401b23f9b0020bb86aafacbd5c487e4cfbe Author: Lapo Calamandrei Date: Wed Aug 13 16:36:15 2014 +0200 Adwaita: saner backdrop switch for the dark variant gtk/resources/theme/Adwaita/_common.scss | 19 ++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 13 ++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 22 insertions(+), 18 deletions(-) commit 913d6c8061cb566027313534f1649ac574c1283b Author: Lapo Calamandrei Date: Wed Aug 13 16:19:14 2014 +0200 Adwaita: saner menubar gtk/resources/theme/Adwaita/_common.scss | 9 +++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 +++----- gtk/resources/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 10 insertions(+), 13 deletions(-) commit f72bcc5c01b202fc57c973b472d54cce4fdd6ea6 Author: Matthias Clasen Date: Wed Aug 13 09:31:34 2014 -0400 GtkPathBar: Don't hardcode spacing in buttons The theme will be changed to provide padding. gtk/gtkpathbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ce968ffb248bc389f683867b996acd707decb83 Author: Matthias Clasen Date: Wed Aug 13 09:29:40 2014 -0400 GtkPathBar: Make recoloring symbolics work We were only recreating the icons the very first time the theme changed, and not every time as was intended. gtk/gtkpathbar.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit d47192179b1c445cc8a3a973ff322759a8de3b16 Author: Matthias Clasen Date: Wed Aug 13 09:19:09 2014 -0400 widget-factory: Avoid a compiler warning This is adjusting to the draw_layer signature change. demos/widget-factory/widget-factory.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 7af9dc9e216ac463c525a523db2e5aef4015ebaa Author: Matthias Clasen Date: Wed Aug 13 09:16:09 2014 -0400 widget-factory: Add a missing style class Unfortunately, constructing image-only buttons by just adding the image as a child does not give us the image-button style class. Add it manually. demos/widget-factory/widget-factory.ui | 3 +++ 1 file changed, 3 insertions(+) commit 7d55355d4d4dc17b6db6c5bb225a253dec83c14c Author: Matthias Clasen Date: Wed Aug 13 09:14:22 2014 -0400 GtkTextView: Preserve the cairo context around draw_layer Otherwise, draw_layer might unintentionally wreak havoc on the regular drawing that happens between the two draw_layer calls. gtk/gtktextview.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 7450277708e23a54ae97959a4fda675edf902f49 Author: Matthias Clasen Date: Wed Aug 13 09:09:22 2014 -0400 GtkTextView: Change draw_layer signature Vfuncs should really take 'this' of the right type - the type that the vfunc is added in. gtk/gtktextview.c | 4 ++-- gtk/gtktextview.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) commit fc09560d13674310d5c6dc4080a3c830ee66013d Author: Lapo Calamandrei Date: Wed Aug 13 14:27:31 2014 +0200 Adwaita: widget edge for inline toolbars gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) commit e654fe512419e7cb49cec150bc5217798c0adbae Author: Matthias Clasen Date: Tue Aug 12 22:21:08 2014 -0400 widget-factory: Don't say 'Etched out' twice There's no difference between these shadow types anymore, but it is irritating to see the same label twice. demos/widget-factory/widget-factory.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 79f4d5d61032b330484fca67f103a5a72340818a Author: Matthias Clasen Date: Tue Aug 12 22:14:21 2014 -0400 widget-factory: Improve the flow box example Make the selection actually do something. This is also an opportunity to test the new draw-layer vfunc in GtkTextView. demos/widget-factory/widget-factory.c | 143 +++++++++++++++++++++++++++++++-- demos/widget-factory/widget-factory.ui | 23 ++---- 2 files changed, 146 insertions(+), 20 deletions(-) commit 9fab7a684b8548da00d6fea30f535526193890c8 Author: Matthias Clasen Date: Tue Aug 12 20:22:14 2014 -0400 widget-factory: Add a flowbox example This is now really polished yet, but will let us work towards 'responsive grid'. demos/widget-factory/widget-factory.c | 77 ++++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 59 +++++++++++++++++++++++++- 2 files changed, 135 insertions(+), 1 deletion(-) commit c46ca9b25be0fbb469b07294bf274a23b186bf0c Author: Matthias Clasen Date: Tue Aug 12 19:10:47 2014 -0400 widget-factory: Make dialogs non-resizable They have no reason to be. demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit 7b5e8dff9d175c8b4ee0302ad6641a099bae4390 Author: Matthias Clasen Date: Tue Aug 12 19:06:43 2014 -0400 widget-factory: Don't use rules-hint demos/widget-factory/widget-factory.ui | 1 - 1 file changed, 1 deletion(-) commit be5300f68efeb77fa1566fb7e3f772f66c090d81 Author: Matthias Clasen Date: Tue Aug 12 13:41:56 2014 -0400 wayland: Initialize cursor cache earlier Without this, I was getting a crash because the theme change function was trying to iterate over the hash table before it was created. gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f3b56261cb09342d039fa94813990789a85ff4e9 Author: Alexander Larsson Date: Tue Aug 12 15:43:48 2014 +0200 Fix symbolic-icon-translucent-color reftest When using the pre-rendered png symbolics it seems that we're off a tiny bit in a few of the pixels on the antialiased borders of a stroke. To fix this we switch the icon to media-playback-stop-symbolic which has no such antialiased borders. I don't quite understand why the pixels are off, this needs more research. https://bugzilla.gnome.org/show_bug.cgi?id=734668 testsuite/reftests/symbolic-icon-translucent-color.ref.ui | 2 +- testsuite/reftests/symbolic-icon-translucent-color.ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit afeb50009dc6268a94d88f18340bd192897a0fbb Author: Alexander Larsson Date: Tue Aug 12 09:17:59 2014 +0200 Change way alpha is used when recoloring symbolics If the foreground color has an alpha != 1 we used to just pass that into the svg. This is useful to e.g. render an insensitive icon. However, that is not an ideal model for symbolics. For instance, if the icon uses overlapping areas when drawing, expecting these to be opaque then the transparent color will result in a different alpha value for the overlapping area. Also, non-foreground symbolic colors are still rendered opaque, and the recoloring of pngs can't handle transparent colors. So, instead we extract any alpha from the foreground, render using the opaque colors and then apply the foreground alpha to the entire result. This means we get an even transparency, even for other colors, and we can apply alpha for the pngs too. https://bugzilla.gnome.org/show_bug.cgi?id=734668 gtk/gtkicontheme.c | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) commit 928822f1a5f2e5302c9bc5cfe98f5960e97d61de Author: Alexander Larsson Date: Tue Aug 12 12:34:12 2014 +0200 GtkIconHelper: Short circuit _gtk_icon_helper_get_size in some cases _gtk_icon_helper_get_size() is often used during size request and may not necessary mean that the icon will be displayed immediately. In many common cases we know the size without having to ensure a surface. In many cases this means we can avoid loading an icon until needed, and in the case of stateless IconHelpers such as GtkCellRendererPixbuf this is very important as otherwise it will constantly be reloading icons if the displayed set is larger than the in-memory icon cache. https://bugzilla.gnome.org/show_bug.cgi?id=734651 gtk/gtkiconhelper.c | 123 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 93 insertions(+), 30 deletions(-) commit 8ff47570af18c42800c629e6c0ec6e98f2302f18 Author: Carlos Garnacho Date: Mon Aug 11 16:49:46 2014 +0200 stack: Ensure the bin window has an evmask suitable to windowless children If a child has set_has_window == FALSE, it purely relies on the events set on the parent window, for which the bin window used to just ensure the exposure mask, eating all input events. https://bugzilla.gnome.org/show_bug.cgi?id=734357 gtk/gtkstack.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 62507776fe54adf27c2113da741009b9931ce0ef Author: Carlos Garnacho Date: Mon Aug 11 16:44:51 2014 +0200 widget: Include event controllers' event mask on gtk_widget_get_events() gtk_widget_get_events() must indeed tell about events enabled purely through a GtkEventController, those events will most surely trigger event handlers. https://bugzilla.gnome.org/show_bug.cgi?id=734357 gtk/gtkwidget.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 225bb95795034da40c325412deb8e0336a125f0a Author: Debarshi Ray Date: Tue Aug 12 11:54:29 2014 +0200 GtkSpinButton: Only notify 'adjustment' if the property changed https://bugzilla.gnome.org/show_bug.cgi?id=734649 gtk/gtkspinbutton.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a397824e9b38acc9dfb7a81c8872ae6dfa89a42b Author: Debarshi Ray Date: Mon Aug 11 23:14:34 2014 +0200 widget-factory: Add a reset button to the notification Change the initial value to something that is not a multiple of 3, so that dismissing the notification on reset makes sense. Let's use 50 because that is already being used elsewhere. https://bugzilla.gnome.org/show_bug.cgi?id=734614 demos/widget-factory/widget-factory.c | 11 +++++++++++ demos/widget-factory/widget-factory.ui | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) commit 5d8efb43bc46d8ff371db9a28e02ba3bc4b17447 Author: Debarshi Ray Date: Mon Aug 11 22:44:37 2014 +0200 widget-factory: Turn off focus-on-click for notification close button ... because that is what most applications are doing. So lets do the same thing for the sake of consistency and setting a good example. https://bugzilla.gnome.org/show_bug.cgi?id=734614 demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 8b2fb4a99177b4a92fcd8bcc00f54b25bdfbb090 Author: Matthias Clasen Date: Mon Aug 11 16:23:41 2014 -0400 Reconstruct a missing file Sadly I had forgotten to add selectionmode.ui to git. Here is a reconstructed version that seems to work. tests/Makefile.am | 3 +- tests/selectionmode.ui | 128 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 130 insertions(+), 1 deletion(-) commit b56f5cec3e2c6b421b57919b25457f452a2192b0 Author: Carlos Garnacho Date: Mon Aug 11 18:02:12 2014 +0200 treeview: Check the selected node active flag before maybe starting rubberband This check used to be present in the pre-gestures code, but was unintentionally removed when splitting code into drag/multiclick gestures. The policy used to be that if clicking happened on an already selected node, DnD would happen instead of rubberband selection, so this behavior is resuscitated. https://bugzilla.gnome.org/show_bug.cgi?id=734143 gtk/gtktreeview.c | 5 +++++ 1 file changed, 5 insertions(+) commit 13b8c2ec289394083f03ea94d70cc4830874fdfb Author: Matthias Clasen Date: Sun Aug 10 19:16:33 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7148f329d8c87ae3eebbde76740f0693612560d9 Author: Matthias Clasen Date: Sun Aug 10 08:00:42 2014 -0400 3.13.6 NEWS | 2 ++ 1 file changed, 2 insertions(+) commit 80a8257302f00b11613d635284c4d03ef71b430c Author: Matthias Clasen Date: Sun Aug 10 19:05:50 2014 -0400 Fix reftests for builddir != srcdir Make gtk-reftest consult the REFTEST_MODULE_DIR environment variable to find out where to look for modules, and fix the libtool hack to construct the .libs subdirectory correctly. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/gtk-reftest.c | 5 ++++- testsuite/reftests/reftest-module.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) commit 7f1d88f7401c50c1f7f3b3821cb4d493c198fd50 Author: Matthias Clasen Date: Sun Aug 10 15:20:51 2014 -0400 Update DISTCHECK_CONFIGURE_ARGS The --disable-rebuilds option does not exist anymore, so remove it. At the same time, add --enable-installed-tests. Makefile.am | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1185b9b29cfcb0700a0ead34e595d8f1bb4f4a88 Author: Matthias Clasen Date: Sun Aug 10 10:55:03 2014 -0400 Fix animation-direction reftest This was another victim of clipping changes - the labels were overdrawing each other, leading to test failure. Prevent this by separating the grid columns. testsuite/reftests/animation-direction.ref.ui | 1 + testsuite/reftests/animation-direction.ui | 1 + 2 files changed, 2 insertions(+) commit a07fc2f85d276aa2c9a8ff05fe50e788bb948f2c Author: Jasper St. Pierre Date: Sun Aug 10 12:15:40 2014 -0400 wayland: Remove overly complex cursor cache gdk/wayland/gdkcursor-wayland.c | 80 ++++++++-------------------------------- gdk/wayland/gdkdisplay-wayland.c | 1 + gdk/wayland/gdkdisplay-wayland.h | 2 +- gdk/wayland/gdkprivate-wayland.h | 1 + 4 files changed, 19 insertions(+), 65 deletions(-) commit cb60da5f6bf310d9ac8875e439cfe8e19327b801 Author: Matthias Clasen Date: Sun Aug 10 07:53:59 2014 -0400 GtkToolbar: Set clip This allows outset box shadows to work on toolbars. https://bugzilla.gnome.org/show_bug.cgi?id=734526 gtk/gtktoolbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 2d15c25d93d38c7101eb66f08214aac30c7b366b Author: Matthias Clasen Date: Sun Aug 10 07:41:53 2014 -0400 reftests: Make textview-margins pass in make check I found that setting margins to zero makes the textview clip away some overshooting pixels. So, instead of a 0/10 split, do this test with a 2/8 split of margins, to avoid the clipping issue. testsuite/reftests/textview-margins.ref.ui | 8 ++++---- testsuite/reftests/textview-margins.ui | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) commit 0b669dffa973d9e58cba594c97aa222e26bd76ce Author: Matthias Clasen Date: Sun Aug 10 07:08:39 2014 -0400 Skip focus tests in make check These require a window manager to work, and we currently don't run one when we run make check tests under Xvfb. testsuite/a11y/state/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 82cf89deb997fd2633cbdeaa659a91f51d6e4cae Author: Simon McVittie Date: Sat Aug 9 15:17:44 2014 +0100 Avoid "pkg-config --atleast-version" AM_PATH_GTK_3_0([3.4], [], [], [gthread]) results in calling "pkg-config --atleast-version 3.4 gtk+-3.0 gthread-2.0". With pkg-config 0.28, that test fails, because the version of gthread-2.0 is smaller than 3.4. This appears to be a behaviour change since 0.26, but matches what the documentation said in 0.26. Bug: https://bugzilla.gnome.org/show_bug.cgi?id=641638 Bug-Debian: https://bugs.debian.org/756476 Reviewed-by: Matthias Clasen m4macros/gtk-3.0.m4 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit b535dd0671dfff044e3c5e797ede3d76aa20e368 Author: Matthias Clasen Date: Sat Aug 9 13:13:27 2014 +0200 Updates for 3.13.6 NEWS | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) commit 327b097725d133369d42313d0172a3b1f0f7d2d0 Author: Matthias Clasen Date: Sat Aug 9 10:13:55 2014 +0200 Trivial: Use g_clear_object more It no longer has atomic overhead, so we can use it everywhere. gtk/gtkcontainer.c | 6 +----- gtk/gtkwidget.c | 3 +-- 2 files changed, 2 insertions(+), 7 deletions(-) commit 9c7e31fc1cdb18a92fe2c48b148c09e859c7d1a7 Author: Lapo Calamandrei Date: Fri Aug 8 23:31:33 2014 +0200 Adwaita: GtkSwitch size reduction and tweaks See https://bugzilla.gnome.org/show_bug.cgi?id=734485 gtk/resources/theme/Adwaita/_common.scss | 10 +++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 17 insertions(+), 9 deletions(-) commit 684b981fb5a45edd20abc8a040a8ad69901b4a2d Author: Nikita Churaev Date: Tue May 6 14:44:33 2014 +0400 Only show title button separator when there is something to separate https://bugzilla.gnome.org/show_bug.cgi?id=729636 gtk/gtkheaderbar.c | 47 +++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 45 insertions(+), 2 deletions(-) commit 1a11515118d628f502d663a45694f18b0bf02bc1 Author: Matthias Clasen Date: Fri Aug 8 22:35:48 2014 +0200 Revert "Adwaita: comment out the header-bar separator" This reverts commit b4e7ada6ac52b9930ba8d14a5f4d5d3a009cf163. gtk/resources/theme/Adwaita/_common.scss | 4 ---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 21 +++++---------------- gtk/resources/theme/Adwaita/gtk-contained.css | 21 +++++---------------- 3 files changed, 10 insertions(+), 36 deletions(-) commit b7365c52c4399850b6b6fcf56f12adaae9037f34 Author: Matthias Clasen Date: Fri Aug 8 22:15:02 2014 +0200 Make focus tests session-exclusive Otherwise, tests running in parallel will steal the focus that we are trying to test. testsuite/a11y/state/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ecf5c43e0786969eb1b392a9ee4f80e1e521bf1 Author: Matthias Clasen Date: Fri Aug 8 13:28:27 2014 +0200 Add a selection mode testcase This shows what one currently has to do manually to get the typical selection mode with blue headerbar and checkboxes in list rows. The goal is to make this easier. tests/Makefile.am | 1 + tests/testselectionmode.c | 214 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 215 insertions(+) commit f1a92738441c125cc9a1885d21a4110db7ae7888 Author: Lapo Calamandrei Date: Fri Aug 8 10:11:11 2014 +0200 Adwaita: pushed button shadows tweakings gtk/resources/theme/Adwaita/_drawing.scss | 4 +++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 28 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 28 +++++++++++----------- 3 files changed, 31 insertions(+), 29 deletions(-) commit 3b916e4405de2e9414a3d2b811858566aca92534 Author: Руслан Ижбулатов Date: Wed Aug 6 10:33:47 2014 +0000 Handle ERROR_SXS_PROCESS_DEFAULT_ALREADY_SET https://bugzilla.gnome.org/show_bug.cgi?id=733773 gtk/gtkwin32.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 8a2a5adc8f2fda05edb0484891536c3eb4b0d326 Author: Chun-wei Fan Date: Thu Aug 7 23:11:34 2014 +0800 MSVC Build Files: Use Real GTK+ Version Make the Visual C++-related build files contain the actual GTK+ version, by generating them during the configure stage and dist'ing them in the release tarballs. This is especially important for builds of introspection files, as one may need to look at the release version of GTK+ in those files. build/Makefile.am | 1 + build/{gtk-introspection-msvc.mak => gtk-introspection-msvc.mak.in} | 2 +- build/win32/vs10/Makefile.am | 1 + .../vs10/{gtk-version-paths.props => gtk-version-paths.props.in} | 4 ++++ build/win32/vs9/Makefile.am | 1 + .../vs9/{gtk-version-paths.vsprops => gtk-version-paths.vsprops.in} | 4 ++++ configure.ac | 3 +++ 7 files changed, 15 insertions(+), 1 deletion(-) commit 37321f6fb82ab21a21f4c14ce76df24b059bdc54 Author: Chun-wei Fan Date: Thu Aug 7 23:02:13 2014 +0800 MSVC Builds: Apply Visual Style for Win32 Print Dialog Define ISOLATION_AWARE_ENABLED for the build of the GTK DLL so that visual style can be applied to the Windows print dialog for all applications using gtkprintoperation. Update the script for the generation of gtk-win32.rc for MSVC to not try to embed the manifest from it (but embed libgtk3.manifest by including it in the project files, as we are now doing), and embedding the manifest file is really not supported in MSVC 2010 and later. Also fix up formatting in the GTK DLL projects. https://bugzilla.gnome.org/show_bug.cgi?id=733773 build/win32/process-in-win32.py | 12 +++++++++++- build/win32/vs10/gtk-build-defines.props | 4 ++-- build/win32/vs10/gtk.vcxprojin | 14 +++++++------- build/win32/vs9/gtk-build-defines.vsprops | 4 ++-- build/win32/vs9/gtk.vcprojin | 2 +- 5 files changed, 23 insertions(+), 13 deletions(-) commit a13761ceb460347ea89ddd2963041ad6134cfb64 Author: Lapo Calamandrei Date: Thu Aug 7 14:17:50 2014 +0200 Adwaita: progressbar background in scale highlight gtk/resources/theme/Adwaita/_common.scss | 13 ++++++------- gtk/resources/theme/Adwaita/_drawing.scss | 6 ++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 18 +++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 18 +++++++++++------- 4 files changed, 34 insertions(+), 21 deletions(-) commit 7a2330502f52cae2597313e03d3bbe1691484277 Author: Inaki Larranaga Murgoitio Date: Thu Aug 7 13:46:40 2014 +0200 Updated Basque language po-properties/eu.po | 3353 ++++++++++++++++++++++++++------------------------- 1 file changed, 1715 insertions(+), 1638 deletions(-) commit d48cc06c4c056c92de91d2635dc021d3eef22e55 Author: Inaki Larranaga Murgoitio Date: Thu Aug 7 13:43:15 2014 +0200 Updated Basque language po/eu.po | 771 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 393 insertions(+), 378 deletions(-) commit ae149285ea692bf6e3621ea7565e087a3f95438d Author: Руслан Ижбулатов Date: Wed Aug 6 08:27:42 2014 +0000 Add missing include to gtk-win32.rc Otherwise ISOLATIONAWARE_MANIFEST_RESOURCE_ID and RT_MANIFEST constants can't be expanded. https://bugzilla.gnome.org/show_bug.cgi?id=733773 gtk/gtk-win32.rc.in | 1 + 1 file changed, 1 insertion(+) commit 08b17ab344ad875117efb3a71833ba84df46a9fc Author: Ray Strode Date: Tue Aug 5 10:22:03 2014 -0400 drag: add missing introspection annotations gtk_gesture_drag_get_start_point and gtk_gesture_drag_get_offset have out args that need to be annotated. This commit adds the (out) and (nullable) annotations as appropriate. https://bugzilla.gnome.org/show_bug.cgi?id=734292 gtk/gtkgesturedrag.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e03b6bdfeccb2ba2ffcde1168d681331e91f4a53 Author: Matej Urbančič Date: Wed Aug 6 14:17:10 2014 +0200 Updated Slovenian translation po-properties/sl.po | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit b4e7ada6ac52b9930ba8d14a5f4d5d3a009cf163 Author: Lapo Calamandrei Date: Wed Aug 6 13:33:17 2014 +0200 Adwaita: comment out the header-bar separator gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 21 ++++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 21 ++++++++++++++++----- 3 files changed, 36 insertions(+), 10 deletions(-) commit f8c1a4fed8450fc03958bb466e51791c2751b4ae Author: Lapo Calamandrei Date: Wed Aug 6 13:20:45 2014 +0200 Adwaita: linked logic surgery gtk/resources/theme/Adwaita/_common.scss | 104 +++++++++------------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 65 +++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 65 +++---------- 3 files changed, 64 insertions(+), 170 deletions(-) commit cfff5620692024cb4a9a99e37ba4eac6893e4f41 Author: Lapo Calamandrei Date: Wed Aug 6 12:23:47 2014 +0200 Adwaita: linked combos gtk/resources/theme/Adwaita/_common.scss | 30 ++++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 20 +++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 20 +++++++++++++++ 3 files changed, 70 insertions(+) commit 285f1cc30fc03f385d1a48d86ec13f2f450981bd Author: Chun-wei Fan Date: Wed Aug 6 15:42:23 2014 +0800 MSVC Builds: Create libgtk3.manifest Use the Python script that was used to create gtk-win32.rc from gtk-win32.rc.in to similarly create libgtk3.manifest. As the wildcard character can be used for all architectures, use that. The libgtk3.manifest file needs to be specified explicitly in the projects, so that it will be recognized and built into the GTK dll, so update the project files as well on this part. https://bugzilla.gnome.org/show_bug.cgi?id=733773 build/win32/process-in-win32.py | 13 ++++++------- build/win32/vs10/gtk-gen-srcs.props | 2 +- build/win32/vs10/gtk.vcxproj.filtersin | 5 ++++- build/win32/vs10/gtk.vcxprojin | 3 +++ build/win32/vs9/gtk-gen-srcs.vsprops | 2 +- build/win32/vs9/gtk.vcprojin | 9 +++++---- 6 files changed, 20 insertions(+), 14 deletions(-) commit 781846e5645cad1726718ad3527829c8451a724a Author: Chun-wei Fan Date: Wed Aug 6 13:06:35 2014 +0800 gdkwindow-win32.c: Fix build on Visual C++ Since MSVC is more strict about the types that we try to do a compare, cast old_ptr as HWND, as we know that it is a pointer... https://bugzilla.gnome.org/show_bug.cgi?id=733768 gdk/win32/gdkwindow-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7a3bc9a5ff3620254b4be67ca18bc7ca8ce21e74 Author: Chun-wei Fan Date: Wed Aug 6 12:55:09 2014 +0800 gtk/gtkprintoperation-win32.c: Fix Missed Include We need to include gtkprivate.h for _gtk_load_dll_with_libgtk3_manifest(). gtk/gtkprintoperation-win32.c | 1 + 1 file changed, 1 insertion(+) commit 8d5e40451cc65d9183579a0adfc91d2b3dc61587 Author: Matej Urbančič Date: Tue Aug 5 21:13:43 2014 +0200 Updated Slovenian translation po-properties/sl.po | 61 ++++++++++++++++++++++++----------------------------- 1 file changed, 27 insertions(+), 34 deletions(-) commit 0d02cc8203e1a43506c0e81f392492aedadb6fa3 Author: Руслан Ижбулатов Date: Tue Jul 29 08:18:32 2014 +0000 Make sure native W32 print dialog uses visual styles For that to happen the libgtk3 is embedded with a manifest that requests common controls library 6.x, and GTK lazily calls InitCommonControlsEx() to initialize those. Then this manifest is used to temporarily override the process activation contest when loading comdlg32 (which contains the code for the print dialog), ensuring that it too depends on common controls 6.x, even if the application that uses GTK does not. https://bugzilla.gnome.org/show_bug.cgi?id=733773 configure.ac | 1 + gtk/Makefile.am | 3 +- gtk/gtk-win32.rc.in | 1 + gtk/gtkprintoperation-win32.c | 19 +++++++++ gtk/gtkprivate.h | 4 ++ gtk/gtkwin32.c | 90 +++++++++++++++++++++++++++++++++++++++++++ gtk/libgtk3.manifest.in | 21 ++++++++++ 7 files changed, 138 insertions(+), 1 deletion(-) commit 31d08bd85e312ba05b7890b403c8a50cfdf52c4f Author: Руслан Ижбулатов Date: Fri Jul 25 23:12:24 2014 +0000 When wrapping a foreign W32 window, don't forget to store its HWND When that window is later used as a parent for a GDK child, the call to CreateWindow*() will fail, because its HWND is 0. https://bugzilla.gnome.org/show_bug.cgi?id=733768 gdk/win32/gdkwindow-win32.c | 1 + 1 file changed, 1 insertion(+) commit f0632d5ced92cec5eb9b799687f5d90cc1886ec8 Author: Matthias Clasen Date: Tue Aug 5 00:03:37 2014 +0200 inspector: Add a switch to turn off animations This may be useful in some places to check that application-specific animations respect this setting. gtk/inspector/visual.c | 11 +++++++++++ gtk/inspector/visual.ui | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) commit d43fb29c5abd53391816a4473affbb3afb53a2a0 Author: Руслан Ижбулатов Date: Sat Aug 2 15:48:03 2014 +0000 Suppress a warning from SetWindowLongPtr() https://bugzilla.gnome.org/show_bug.cgi?id=726224 gdk/win32/gdkwindow-win32.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 5131472984761484c71510d8c588414fa814cc60 Author: Matthias Clasen Date: Mon Aug 4 14:35:15 2014 +0200 GtkSwitch: Initialize offset when beginning animation handle_x always corresponds to the visible position of the handle, which is where we want to start the animation. Without this, repeated keyboard activation will not always animate. gtk/gtkswitch.c | 1 + 1 file changed, 1 insertion(+) commit 1569952d0e97448edffdf60266272ff4a4a08bd8 Author: Matthias Clasen Date: Mon Aug 4 14:32:40 2014 +0200 GtkSwitch: Update handle_x in size-allocate Since we are storing positions here that depend on the allocation, we need to update them in size-allocate. This fixes incorrect positioning of the handle if the switch is active initially. https://bugzilla.gnome.org/show_bug.cgi?id=734213 gtk/gtkswitch.c | 5 +++++ 1 file changed, 5 insertions(+) commit 2e85046b8f96f4f751d6afa13ab220b4dab5c7f6 Author: Matthias Clasen Date: Mon Aug 4 14:30:23 2014 +0200 GtkSwitch: Don't store dest_offset Instead, calculate it on the spot in the tick callback, and update handle_x in gtk_switch_set_active, based on the new active property. gtk/gtkswitch.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit d4bd9e9c46bc1230ea697efe887b1d77f66ba535 Author: Matthias Clasen Date: Mon Aug 4 14:25:10 2014 +0200 GtkSwitch: End animations on finalize Handle the unlikely case that a switch gets finalized while its toggle animation is running. gtk/gtkswitch.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 007ba3bc14b690f32f269770ec6a52c7c6a561a5 Author: Matthias Clasen Date: Mon Aug 4 14:21:59 2014 +0200 GtkSwitch: End animation in set_active End any running toggle animation before setting the set, otherwise things get confused. gtk/gtkswitch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8820c46ff029b1355e8de777116e26e9b492e862 Author: Matthias Clasen Date: Mon Aug 4 13:56:39 2014 +0200 GtkSwitch: Also animate for keyboard activation gtk/gtkswitch.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 45145c8c10fd6a568476e15808239a1af3a083f4 Author: Rico Tzschichholz Date: Mon Aug 4 13:31:34 2014 +0200 gtk-encode-symbolic-svg: Fix build with -Werror=format-security gtk/encodesymbolic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 199bb441bd3944adacfedec3914528253f42e857 Author: MarMav Date: Mon Aug 4 10:53:36 2014 +0000 Updated Greek translation po-properties/el.po | 4416 ++++++++++++++++++++++++++------------------------- 1 file changed, 2259 insertions(+), 2157 deletions(-) commit 0a44be21afa6cf17d0b2e79ec2bc772dd1437239 Author: Matthias Clasen Date: Mon Aug 4 10:12:19 2014 +0200 widget-factory: Make one switch start out active This nicely shows off https://bugzilla.gnome.org/show_bug.cgi?id=734213 demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 9e3626ee24de7cde2051f23b857b9fa303e39b00 Author: Matthias Clasen Date: Mon Aug 4 10:11:50 2014 +0200 tests: Drop use of deprecated api Don't use gtk_tree_view_set_rules_hint anymore. tests/testtreeedit.c | 1 - tests/testtreeflow.c | 1 - tests/testtreefocus.c | 2 -- tests/testtreesort.c | 5 ----- tests/testtreeview.c | 5 ----- tests/treestoretest.c | 1 - 6 files changed, 15 deletions(-) commit 5f7485f647b7dcd66b432358fca4cfff592d7c08 Author: Matthias Clasen Date: Mon Aug 4 10:08:38 2014 +0200 gtk-demo: Drop use of deprecated api There were several uses of gtk_tree_view_set_rules_hint here. Just drop them, the theme was ignoring them anyway. demos/gtk-demo/editable_cells.c | 1 - demos/gtk-demo/list_store.c | 1 - demos/gtk-demo/tree_store.c | 1 - 3 files changed, 3 deletions(-) commit 944e30d940d5832df506a272828f356f8534b723 Author: Matthias Clasen Date: Wed Jul 30 21:25:04 2014 +0200 Add a11y state tests This adds a new test which can be scripted to trigger various event and action sequences, and record state changes in the accessibility layer. So far, there are a few tests verifying state changes when focus changes. Related to https://bugzilla.gnome.org/show_bug.cgi?id=715176 configure.ac | 1 + testsuite/a11y/Makefile.am | 7 +- testsuite/a11y/focus.c | 126 ------------ testsuite/a11y/state/Makefile.am | 56 ++++++ testsuite/a11y/state/focus1.in | 8 + testsuite/a11y/state/focus1.out | 4 + testsuite/a11y/state/focus1.ui | 22 +++ testsuite/a11y/state/focus2.in | 9 + testsuite/a11y/state/focus2.out | 7 + testsuite/a11y/state/focus2.ui | 20 ++ testsuite/a11y/state/state-record.c | 382 ++++++++++++++++++++++++++++++++++++ 11 files changed, 511 insertions(+), 131 deletions(-) commit 45ca4bd0b2eb0ce90ec9e9c44fac4915b0e4bd70 Author: Chun-wei Fan Date: Mon Aug 4 15:07:39 2014 +0800 MSVC Builds: Build gtk-encode-symbolic-svg This utility would likely be useful for Windows builds of GTK+, given the reasons Alex cited for coming up with this utility[1], and MSVC build support for librsvg is not available at this time (possible, but not implemented yet). [1]: https://bugzilla.gnome.org/show_bug.cgi?id=730450 build/win32/vs10/Makefile.am | 2 + build/win32/vs10/gtk+.sln | 18 +++ build/win32/vs10/gtk-encode-symbolic-svg.vcxproj | 177 +++++++++++++++++++++ .../vs10/gtk-encode-symbolic-svg.vcxproj.filters | 20 +++ build/win32/vs10/gtk-install.props | 2 +- build/win32/vs10/install.vcxproj | 4 + build/win32/vs11/Makefile.am | 2 + build/win32/vs12/Makefile.am | 2 + build/win32/vs9/Makefile.am | 1 + build/win32/vs9/gtk+.sln | 22 +++ build/win32/vs9/gtk-encode-symbolic-svg.vcproj | 176 ++++++++++++++++++++ 11 files changed, 425 insertions(+), 1 deletion(-) commit d62bd12b861742ba5aa6549aebb33d541b0cad1e Author: Chun-wei Fan Date: Mon Aug 4 13:34:15 2014 +0800 MSVC Builds: Add Script to Generate gtk-win32.rc In bug 733773, gtk-win32.rc was removed from the dist in the attempt to make the print dialog on Windows themed, so this script was added so that the gtk-win32.rc file can be generated during the Visual Studio builds of GTK+ from the autotools scripts. This is also intended for filling in the arch of the build for MSVC builds for the manifest that is also required for fixing bug 733773. Python is used as it is already needed for This is done as a custom build rule in the Visual Studio projects so that it is easy to clean and rebuild gtk-win32.rc upon an update. https://bugzilla.gnome.org/show_bug.cgi?id=733773 build/win32/Makefile.am | 2 + build/win32/process-in-win32.py | 100 +++++++++++++++++++++++++++++++++ build/win32/vs10/gtk-gen-srcs.props | 10 ++-- build/win32/vs10/gtk.vcxproj.filtersin | 1 + build/win32/vs10/gtk.vcxprojin | 14 +++++ build/win32/vs9/gtk-gen-srcs.vsprops | 10 ++-- build/win32/vs9/gtk.vcprojin | 30 ++++++++++ 7 files changed, 159 insertions(+), 8 deletions(-) commit 4b2dc1e38bded387aa6a5cef0a6065a582ac1f51 Author: Matthias Clasen Date: Mon Aug 4 00:20:40 2014 +0200 Fix the build Quoting accident. "echo -e" is not a command that the shell knows, echo -e is. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6ea36f3a187a0f8776a29bb96d9a7ec0bebf8af5 Author: TingPing Date: Mon Jun 23 19:04:56 2014 -0400 Fix building quartz backend These were some api changes introduced in: d930716 48db841 f6ee007 https://bugzilla.gnome.org/show_bug.cgi?id=732137 gtk/gtkapplication-quartz-menu.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 6f857f87dcd98c3c6f002c143267cfb5cbe9f7fd Author: Florian Müllner Date: Thu May 8 11:42:56 2014 +0200 listbox: Add missing ::row-selected emissions Rows are not necessarily selected via select_row_internal(), add the missing signal emissions there. Also the signal should be emitted when removing the selection altogether. https://bugzilla.gnome.org/show_bug.cgi?id=729809 gtk/gtklistbox.c | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) commit 30ba9c1316db40f2a6305d32b5f1249a377aecde Author: John Ralls Date: Sun Aug 3 13:25:21 2014 -0700 Add missing paramter to gtk-menu-tracker-new. gtk/gtkapplication-quartz-menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af3572f36a17477d43c72e361db8ad7a49be1927 Author: John Ralls Date: Sun Aug 3 13:24:16 2014 -0700 Replace deprecated gtk_application_add_accelerator With new gtk_application_set_accels_for_action. gtk/gtkapplication-quartz.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit b9771ab1ff4a3c19e8ead3914cd80569cb778ddb Author: John Ralls Date: Sat Aug 2 17:55:41 2014 -0700 Fix build of resource files on OS-X OS-X's 'echo' command does not have a -e option, so it was included in the files. configure.ac | 4 ++++ gtk/Makefile.am | 45 +++++++++++++++++++++++---------------------- 2 files changed, 27 insertions(+), 22 deletions(-) commit 7d81d0a3bb3ad8c26d9ca664b3aaafd0b4f3052e Author: Ryan Lortie Date: Sun Aug 3 20:27:51 2014 +0200 Add gtk_application_get_actions_for_accel() This counterpart to gtk_application_get_accels_for_action() lets you find out if a particular accelerator has one or more actions associated with it. This might be useful from an accelerator editor or plugin system to prevent the the installation of conflicting accelerators. https://bugzilla.gnome.org/show_bug.cgi?id=721367 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkapplication.c | 75 ++++++++++++++++++++++++++++++++++++ gtk/gtkapplication.h | 4 ++ 3 files changed, 80 insertions(+) commit 9746419ccefb27f5da29067186ef40670152d028 Author: Matthias Clasen Date: Sun Aug 3 20:10:13 2014 +0200 GtkTreeView: Avoid deprecation warnings gtk/gtktreeview.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f9d118ed8a59b27d8d4ded293b31e070c17364ff Author: Pietro Gagliardi Date: Sun Aug 3 12:14:28 2014 -0400 gtk/Makefile.am: fix gtk-encode-symbolic-svg build for jhbuild Currently, jhbuild-ing GTK+ on Ubuntu 14.04 LTS and gcc 4.8.2 errors out with /usr/bin/ld: encodesymbolic.o: undefined reference to symbol 'g_file_new_for_path' /opt/gnome/lib/libgio-2.0.so.0: error adding symbols: DSO missing from command line when trying to build gtk-encode-symbolic-svg. This is because $(GTK_DEP_LIBS) isn't defined in $(gtk_encode_symbolic_svg_LDADD) in gtk/Makefile.am. This patch should fix that. Thanks to b4n and gregier in irc.gimp.net/#gtk+ for help. https://bugzilla.gnome.org/show_bug.cgi?id=734201 gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9d7f1caca7073cdf4af3bd85b24dbe0209abdde2 Author: Carlos Garnacho Date: Mon Jul 21 21:16:32 2014 +0200 textview: Avoid relocating adjustments on ::size-allocate while these are animating An animation may be scheduled while the textview content changed in size, so the resize queued would just unset the animation and set the adjusments with a current value, defeating gtk_text_view_scroll_to_iter(). In this case, just avoid the adjustment change, as there is a target value on the way. https://bugzilla.gnome.org/show_bug.cgi?id=733406 gtk/gtkadjustment.c | 6 ++++++ gtk/gtkadjustmentprivate.h | 2 ++ gtk/gtktextview.c | 6 ++++-- 3 files changed, 12 insertions(+), 2 deletions(-) commit 2bf368c9e329d4f0ae5cfa64afe91c7a27fe37c7 Author: Piotr Drąg Date: Sun Aug 3 20:11:09 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 5b8267028d89e665eb1ab03165b1309903ea3f9a Author: Carlos Garnacho Date: Fri Aug 1 17:38:42 2014 +0200 window: Update popover positions on ::size-allocate Popovers may get relocations optimized away if only x/y changed in the GtkAllocation. So make sure the toplevel updates popover positions on all situations. https://bugzilla.gnome.org/show_bug.cgi?id=729140 gtk/Makefile.am | 1 + gtk/gtkpopover.c | 4 ++-- gtk/gtkpopoverprivate.h | 29 +++++++++++++++++++++++++++++ gtk/gtkwindow.c | 4 ++++ 4 files changed, 36 insertions(+), 2 deletions(-) commit bd07845c3127bac662ed019677be8f6fbe50a663 Author: Paolo Borelli Date: Sun Aug 3 11:53:56 2014 +0200 Add missing include for setlocale gtk/encodesymbolic.c | 1 + 1 file changed, 1 insertion(+) commit e3b8c4efeb225517f4d71f1acc2ffe7b6121a7c1 Author: John Ralls Date: Sun May 25 17:01:24 2014 -0700 Bug 729924 - Crash trying to print in OSX We should only use the PageSize option from the ppd if it actually exists. modules/printbackends/cups/gtkprintbackendcups.c | 49 ++++++++++++++---------- 1 file changed, 28 insertions(+), 21 deletions(-) commit 97237fc54c394c8cf6617f9ab6948e57f1c81ef6 Author: Matthias Clasen Date: Sun Aug 3 11:06:18 2014 +0200 widget-factory: Add a linked combobox example This came up in https://bugzilla.gnome.org/show_bug.cgi?id=733979 demos/widget-factory/widget-factory.ui | 84 +++++++++++++++++++++++++++++++++- 1 file changed, 82 insertions(+), 2 deletions(-) commit a0c89af8012d3236e82394515ce4fccef18a7c7b Author: Paolo Borelli Date: Sun Aug 3 10:20:38 2014 +0200 GtkSwitch: implement animation gtk/gtkswitch.c | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 96 insertions(+), 7 deletions(-) commit 22bd23adf3f7d1a50998b60385e30578989e8cda Author: Paolo Borelli Date: Sun Aug 3 10:17:49 2014 +0200 GtkSwitch: remove unused assignment gtk/gtkswitch.c | 3 --- 1 file changed, 3 deletions(-) commit b52214faebc98014a7593ed50c16e17b7c964297 Author: Matthias Clasen Date: Sun Aug 3 10:02:52 2014 +0200 Ensure an image-missing icon is available It is bad if the image that is used as a fallback for missing images goes missing itself, so include it as a resource. This way, it will always be available. gtk/Makefile.am | 12 ++++++++---- gtk/resources/icons/16x16/status/image-missing.png | Bin 0 -> 576 bytes gtk/resources/icons/24x24/status/image-missing.png | Bin 0 -> 877 bytes gtk/resources/icons/32x32/status/image-missing.png | Bin 0 -> 1039 bytes gtk/resources/icons/48x48/status/image-missing.png | Bin 0 -> 1728 bytes 5 files changed, 8 insertions(+), 4 deletions(-) commit 7fd90804fb346cd9818bdea949c033dc04fa3e79 Author: Руслан Ижбулатов Date: Thu Jul 31 10:05:29 2014 +0000 Embed manifest into gtk-update-icon-cache.exe This way it doesn't need to be installed alongside it. https://bugzilla.gnome.org/show_bug.cgi?id=705054 gtk/Makefile.am | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 0ed766ec866a2da7e3db05b1db2fc2519d6b1cdc Author: Emmanuele Bassi Date: Thu Jul 17 12:53:01 2014 +0100 treeview: Deprecated rules-hint The rules-hint property has always been a fairly bad application API, as it set some wrong expectations for the developers; deferring to the theme makes it impossible to design application reliably, and if this is a usability setting we should either impose this setting on every theme, or simply drop it. Our own default theme does not honour the zebra striping, which makes this function even more questionable. In practice, usability studies on zebra striping have demonstrated that alternating colors on a list it improves readability just as much as clear ruling between rows, or by visually differentiating the selected row. Zebra striping improves readability (or, at least, it does not hinder it) on static displays, like a table on paper or a document; on a dynamic display, like an application's UI, there are different strategies that yield similar, if not better, results. https://bugzilla.gnome.org/show_bug.cgi?id=733312 gtk/gtktreeview.c | 41 +++++++++++++++++++++++++++-------------- gtk/gtktreeview.h | 4 ++-- 2 files changed, 29 insertions(+), 16 deletions(-) commit fb7d7109317d75745b3496efee834bec2c943131 Author: Timm Bäder Date: Sat Jul 26 13:38:55 2014 +0200 listboxrowaccessible: Avoid assertion failure The next call to gtk_list_box_get_selection_mode just expected the GtkListBoxRow's parent to be a GtkListBox and failed when the row was added to something other than a GtkListBox. https://bugzilla.gnome.org/show_bug.cgi?id=733782 gtk/a11y/gtklistboxrowaccessible.c | 1 + 1 file changed, 1 insertion(+) commit 36b36822c3f649e211eae191b3bf0e1d1b038e1a Author: Matthias Clasen Date: Sun Aug 3 02:45:16 2014 +0200 Add a man page for gtk-encode-symbolic-svg docs/reference/gtk/Makefile.am | 2 + docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk-encode-symbolic-svg.xml | 67 ++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) commit 1d68801ade1f7c7d9f5d3319b62fa8f474daf9f0 Author: Alexander Larsson Date: Wed Jul 30 18:05:48 2014 +0200 icon-theme: Support recolorable .symbolic.png files If an icon theme has a file called "foo-symbolic.symbolic.png" which was converted from svg using gtk-encode-symbolic-svg we will read it in an recolor, allowing symbolic icons without using librsvg. https://bugzilla.gnome.org/show_bug.cgi?id=730450 gtk/gtkicontheme.c | 230 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 203 insertions(+), 27 deletions(-) commit 50ba3c72bb58e280809c2eb9523f89992b2cd320 Author: Alexander Larsson Date: Tue May 20 16:03:16 2014 +0200 Add gtk-encode-symbolic-svg This utility loads a symbolic svg at a specified size and renders a png file in a special format that can be recolored later. https://bugzilla.gnome.org/show_bug.cgi?id=730450 gtk/Makefile.am | 7 +- gtk/encodesymbolic.c | 326 +++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 332 insertions(+), 1 deletion(-) commit d7850e8be00f39fbc690bc2efb85633698296ee0 Author: Matthias Clasen Date: Sun Aug 3 01:28:23 2014 +0200 inspector: Add GtkTreeSelection to the object tree It is not accessible, otherwise. gtk/inspector/widget-tree.c | 4 ++++ 1 file changed, 4 insertions(+) commit 25721ae3e7c679270351037ca4d02fb096579baf Author: Carlos Garnacho Date: Fri Aug 1 16:50:59 2014 +0200 window: Only avoid queueing resizes if the popover position didn't change If the same position is requested on a popover, it should at least ensure the window is realized and raised, even if no resizes are queued on the content. Otherwise other widgets being mapped might raise the windows over the popover's if its original position is unchanged. https://bugzilla.gnome.org/show_bug.cgi?id=734129 gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 9f2e0902f63f6af6c8d2b96dd4efcb52b70b451e Author: Jasper St. Pierre Date: Thu Jul 31 18:27:46 2014 +0200 gtkcssshadowvalue: Don't double-apply the alpha to shadows It turns out that when we were painting the shadows, we painted the them with the base color once, which contained the alpha, and then blurred it and used it as a mask for the fill, which has the fill again. To fix this, always paint the base surface with full alpha. The existing code applies the blur conditionally sometimes in weird ways, so the code shuffling fix may not look correct, but be assured it is. If the blur happens, the new cr we return has the *default* color applied, which is fully opaque black, which works perfectly against the A8 surface. The fallback spinner code needs some modification, since it is intentionally using the alpha to paint the lobes which are "in the past". Since we shouldn't be hitting this fallback path very often, we use a temporary group and paint it with paint_with_alpha, even though it is slow. gtk/gtkcssshadowvalue.c | 12 +++++------- gtk/gtkthemingengine.c | 18 +++++++----------- gtk/gtkthemingengineprivate.h | 3 +-- 3 files changed, 13 insertions(+), 20 deletions(-) commit 1c34ad26680d8bb9e45ff0d28c8d5763b15dea86 Author: Matthias Clasen Date: Sun Aug 3 00:42:48 2014 +0200 Small comment fixups One factual pointed out in the review in https://bugzilla.gnome.org/show_bug.cgi?id=734053, plus some formatting nit picks. gtk/gtkcairoblur.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit f5d8f75c0fcc73420393ee3ebe401d8b8a03298b Author: Jasper St. Pierre Date: Wed Jul 30 12:26:08 2014 +0200 gtkcairoblur: Replace our exponential blur with the box blur from mutter https://bugzilla.gnome.org/show_bug.cgi?id=734053 gtk/gtkcairoblur.c | 299 ++++++++++++++++++++++++++--------------------------- 1 file changed, 149 insertions(+), 150 deletions(-) commit 1148c96dc44ec40ee6978e785b7c2943653e319d Author: Matthias Clasen Date: Sun Aug 3 00:23:58 2014 +0200 Add the new debug option to the docs All debug options are supposed to be listed in the "Running and Debugging" section of the docs. docs/reference/gtk/running.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit edeb1a0161ab9a8c9827e5798b3bef5b7cfd0f6d Author: Ryan Lortie Date: Wed Jul 30 12:28:21 2014 +0200 GtkMenuTrackerItem: introduce action debugging Add some action debugging output for GtkMenuTrackerItem as well... https://bugzilla.gnome.org/show_bug.cgi?id=733965 gtk/gtkmenutrackeritem.c | 34 ++++++++++++++++++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) commit 16e02850c10d2edc71ceccac32ce62211a89be60 Author: Ryan Lortie Date: Wed Jul 30 12:00:55 2014 +0200 GtkActionHelper: add some debugging output Introduce a new debug category "actions" and write some messages from GtkActionHelper about if we can find the actions or not. We will probably soon want to add some similar messages to GtkMenuTrackerItem. https://bugzilla.gnome.org/show_bug.cgi?id=733965 gtk/gtkactionhelper.c | 34 ++++++++++++++++++++++++++++++++-- gtk/gtkdebug.h | 3 ++- gtk/gtkmain.c | 3 ++- 3 files changed, 36 insertions(+), 4 deletions(-) commit 785c9f5e2c6a84425745c254c73a2c596a94b312 Author: Matthias Clasen Date: Sat Aug 2 22:04:14 2014 +0200 Remove a reference to a non-existing function gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6dede1a0b7b718efd7d8a019064d58ffe637b495 Author: Руслан Ижбулатов Date: Fri Jul 25 23:28:31 2014 +0000 W32: Don't crash when opacity is set for non-toplevel X11 backend doesn't, and for good reason - main code body does not check that the window it sets opacity for is, in fact, toplevel. Just silently fail to do anything for non-toplevel windows. https://bugzilla.gnome.org/show_bug.cgi?id=733769 gdk/win32/gdkwindow-win32.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit bbe475fd971c0677776a5bc3d0ea35c9546a0f50 Author: Руслан Ижбулатов Date: Sat Aug 2 05:16:09 2014 +0000 Use g_clear_object() shorthand for unref-and-set-to-null https://bugzilla.gnome.org/show_bug.cgi?id=733766 gtk/gtkwin32embedwidget.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit e1acb934157c8b6865615946762fde015f0bc02b Author: Руслан Ижбулатов Date: Fri Jul 25 23:30:20 2014 +0000 W32: Don't unregister parent window of an embedded widget This leads to an assertion failure, because parent window is never registered in the first place, widget's own GdkWindow is. But that window is unregistered in a generic fashion by GtkWidget code, so there's nothing for us to do here. https://bugzilla.gnome.org/show_bug.cgi?id=733766 gtk/gtkwin32embedwidget.c | 1 - 1 file changed, 1 deletion(-) commit 3fea9ff24c114c74376c9dd215374115d4816bfe Author: Руслан Ижбулатов Date: Fri Aug 1 14:02:13 2014 +0000 Remove generated gtk-win32.rc from EXTRA_DIST https://bugzilla.gnome.org/show_bug.cgi?id=733773 gtk/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 5e3d6ab06bb77f1c41afebb019d52b9105976bbb Author: Matthias Clasen Date: Sat Aug 2 13:53:04 2014 +0200 icon-browser: Redo the icon categorization Instead of slavishly following the naming spec, group the icons into categories that are more likely to be useful for application developers. Based on input from Allan Day and Jakup Steiner. demos/icon-browser/iconbrowserwin.c | 925 ++++++++++++++++++------------------ 1 file changed, 469 insertions(+), 456 deletions(-) commit ea1f9bff2d697ec4b87e9cf5fa2e6995bd9863c0 Author: Matthias Clasen Date: Sat Aug 2 13:55:44 2014 +0200 icon-browser: Show category descriptions as tooltips No better place for them right now. demos/icon-browser/iconbrowserwin.c | 4 ++++ 1 file changed, 4 insertions(+) commit 29d756909d8f4d94a32a58e2777163e522f85a6d Author: Matthias Clasen Date: Sat Aug 2 01:18:57 2014 +0200 Set initial focus in some dialog tests Use the new element here to confirm that it is parsed properly and works as expected. tests/dialog.ui | 1 + 1 file changed, 1 insertion(+) commit 14eccae6037f9848096bbc59b62a7cec7640ad08 Author: Matthias Clasen Date: Sat Aug 2 11:35:34 2014 +0200 GtkWindow: Add a way to declare initial focus in ui files With this commit, it is possible to use to declare the initial focus widget for a window. This is related to https://bugzilla.gnome.org/show_bug.cgi?id=734033 gtk/gtkwindow.c | 95 ++++++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 80 insertions(+), 15 deletions(-) commit 52ab9a36fa273a889c09ea0a7122ab20a94d8543 Author: Matthias Clasen Date: Sat Aug 2 11:17:18 2014 +0200 Add a test for window focus handling This is a small test that checks that gtk_window_set/get_focus behave as expected, regardless of the window being shown or hidden. testsuite/gtk/Makefile.am | 1 + testsuite/gtk/focus.c | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+) commit f15ebc2dd21aba1c8b0ac9526258c556c0052a71 Author: Matthias Clasen Date: Sat Aug 2 11:28:03 2014 +0200 GtkWindow: Make set_focus work before show So far, gtk_window_set_focus just did not work when called on a hidden window. Change it to record the desired focus widget for hidden windows, and apply it when the window gets shown. This is similar to how we tread other window properties that can't be set before the window is realized, like maximized or fullscreen. This is related to https://bugzilla.gnome.org/show_bug.cgi?id=734033 gtk/gtkwindow.c | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit e934ddd4988e093cb2485b2dbfa2c22551639b0c Author: Руслан Ижбулатов Date: Fri Jul 25 23:33:06 2014 +0000 Ensure that print operation is alive until we're done https://bugzilla.gnome.org/show_bug.cgi?id=733767 gtk/gtkprintoperation.c | 4 ++++ 1 file changed, 4 insertions(+) commit 1752ccaa1999dae55013e3db830286df1b121b8d Author: Khaled Hosny Date: Fri Aug 1 03:01:12 2014 +0300 Update Arabic translation po/ar.po | 2858 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1557 insertions(+), 1301 deletions(-) commit 6e4e7c22a028171c9c2df7041b036878b5bcbf42 Author: Sébastien Wilmet Date: Thu Jul 31 14:11:49 2014 +0200 textiter: don't call g_utf8_prev_char() on start of string Changes also the "goto finally" with a break. A break is more common. Another way is to use g_utf8_find_prev_char(). https://bugzilla.gnome.org/show_bug.cgi?id=638709 gtk/gtktextiter.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 5041d4507f463ae2306ceec070ef69f479c7d291 Author: Piotr Drąg Date: Thu Jul 31 17:52:35 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit a3d1db608b1978a00862bdf4a785839fcf72dae4 Author: Benjamin Otte Date: Thu Jul 31 16:10:17 2014 +0200 label: Don't clip text shadows The previous code for computing the clip rectangle forgot to respect the text-shadow CSS property. This is usually not very visible because text shadows usually don't extend the ink rectangle by very much. See attached testcase for an example. gtk/gtklabel.c | 14 +++++++--- testsuite/reftests/Makefile.am | 2 ++ .../reftests/label-text-shadow-clipping.ref.ui | 18 ++++++++++++ testsuite/reftests/label-text-shadow-clipping.ui | 32 ++++++++++++++++++++++ 4 files changed, 62 insertions(+), 4 deletions(-) commit a235dd6a6cd36be27b12078340e2334037fb300b Author: Руслан Ижбулатов Date: Thu Jul 31 14:03:00 2014 +0000 GDK W32: add environment variable to override system font scaling Support environment variable GDK_WIN32_FONT_RESOLUTION that can be set to a desired dpi (72, 96, 130, etc) to override system settings. Useful for debugging, since changing system font scaling requires the user to log off and log on again. https://bugzilla.gnome.org/show_bug.cgi?id=734038 gdk/win32/gdkscreen-win32.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit f38498ed841f6e63b1904e92be48c9f5f429bd31 Author: Руслан Ижбулатов Date: Thu Jul 31 14:01:56 2014 +0000 GDK W32: support font scaling Respect system font scaling (Control Panel -> Display -> Font Size) and convey that information to GDK (which then passes it to Pango). https://bugzilla.gnome.org/show_bug.cgi?id=734038 gdk/win32/gdkscreen-win32.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit d6e9997619fb6bfe082360f1702d6d29250dc3ce Author: Benjamin Otte Date: Wed Jul 30 18:45:15 2014 +0200 css: Fail animation shorthand parsing properly When a number is not a nubmer, don't just crash, exit properly with an error code. See attached testcase for an example. gtk/gtkcssshorthandpropertyimpl.c | 3 +++ testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/animation-crash-3.12.css | 3 +++ testsuite/css/parser/animation-crash-3.12.errors | 1 + testsuite/css/parser/animation-crash-3.12.ref.css | 0 5 files changed, 10 insertions(+) commit 5f5d3a9d820004e88b43ff20884d604b4620e47e Author: Benjamin Otte Date: Wed Jul 30 18:23:20 2014 +0200 css: Don't infloop when parsing broken borders There was an infinite loop when parsing invalid text after having parsed a color in the border shorthand. See attached testcase for an example. gtk/gtkcssshorthandpropertyimpl.c | 7 +++++++ testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/border-infloop-3.12.css | 3 +++ testsuite/css/parser/border-infloop-3.12.errors | 1 + testsuite/css/parser/border-infloop-3.12.ref.css | 0 5 files changed, 14 insertions(+) commit 83c9fe109ea705fc6beabb561658aa08432ae0cf Author: Matthias Clasen Date: Thu Jul 31 00:12:30 2014 +0200 GtkImage: Always close the loader This was causing some tests to fail with a critical. gtk/gtkimage.c | 1 + 1 file changed, 1 insertion(+) commit bd7e7d1dd60aa2351d62bb096cd0db423aa9256f Author: Matthias Clasen Date: Wed Jul 30 23:46:13 2014 +0200 inspector: Make the action editor more useful We were not finding the action owner for menuitems, we have to try harder to walk all the way up to the window. gtk/inspector/prop-editor.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit a6b8800531a2aec419fdc693abeb422ce08153a7 Author: Matthias Clasen Date: Wed Jul 30 23:11:17 2014 +0200 Add a test for popover accessible parents This tests the fix in the previous commit. testsuite/a11y/Makefile.am | 3 +++ testsuite/a11y/a11ymisc.test.in | 4 +++ testsuite/a11y/misc.c | 59 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) commit 2b0ae4bad358a467da05cf0e16acb2adf3e6a1c1 Author: Matthias Clasen Date: Wed Jul 30 23:09:51 2014 +0200 GtkPopover: Properly update a11y parent When the relative-to widget changes, update the accessible parent of the popovers accessible. https://bugzilla.gnome.org/show_bug.cgi?id=733923 gtk/a11y/gtkpopoveraccessible.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit f2e806a36ea318c791f5bd50e8fc27e2dc72b3d1 Author: Olav Vitters Date: Wed Jul 30 15:53:33 2014 +0200 doap category core gtk+.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ffbfee073866608db665f24aeabcb1c3365240b7 Author: Ryan Lortie Date: Tue Jul 29 17:29:09 2014 +0200 GtkApplication: load gtk/menus-common.ui resource Allow the app to install a resource called gtk/menus-common.ui which will always be loaded, regardless of which type of menus we are using. https://bugzilla.gnome.org/show_bug.cgi?id=733925 gtk/gtkapplication.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 8ad9cf8b8c0ad0106e8cdd83f17e2627bf9226cf Author: Sébastien Wilmet Date: Sun Jul 20 15:44:12 2014 +0200 textbuffer: emit notify signal for the "text" property Although there is the "changed" signal, it is more correct to notify the "text" property too. It can be useful for a small text view, where the text is saved e.g. to gsettings with a binding to the text property. The "text" property includes only the text, not child widgets or images, so the notify signal is sent too many times (also for child widgets and images), but it's not a big problem. https://bugzilla.gnome.org/show_bug.cgi?id=624791 gtk/gtktextbuffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 86d9628a94157a9541250551e826bfc272587184 Author: Matthias Clasen Date: Tue Jul 29 14:57:28 2014 +0200 icon-browser: Hide the description label when empty demos/icon-browser/iconbrowserwin.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 10412dd34133e7424ec3b124d5138fe01d1d8ff1 Author: Matthias Clasen Date: Tue Jul 29 14:50:10 2014 +0200 icon-browser: Don't crash on exit demos/icon-browser/iconbrowserwin.c | 3 +++ 1 file changed, 3 insertions(+) commit 73f54716ad2156e0574305eed8393501d66e9202 Author: Matthias Clasen Date: Tue Jul 29 14:07:54 2014 +0200 icon-browser: Don't show empty categories We don't have any icons in International, so don't show the category. And process-working is really just a theme asset, so don't show that either. demos/icon-browser/iconbrowserwin.c | 5 ----- 1 file changed, 5 deletions(-) commit 1a99905055172a1fd66ab2da4c80038f31f6ac44 Author: Matthias Clasen Date: Tue Jul 29 14:03:48 2014 +0200 icon-browser: Make the cell renderer follow state This is very useful for symbolic icons. demos/icon-browser/window.ui | 1 + 1 file changed, 1 insertion(+) commit 944448be1a75b5d5231612fa26581cb0e948aea5 Author: Matthias Clasen Date: Tue Jul 29 14:01:15 2014 +0200 icon-browser: Hide the search icon until it works demos/icon-browser/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f47ffb6f55dd5121a296f3f456d897a1cd0e360 Author: Matthias Clasen Date: Tue Jul 29 13:38:54 2014 +0200 inspector: Set a filename for saving css This is good practice when using save dialogs. gtk/inspector/css-editor.c | 1 + 1 file changed, 1 insertion(+) commit 05d5fa43f354781873e3791acb3e71b4ae0be836 Author: Matthias Clasen Date: Sun Jul 27 13:44:41 2014 +0200 wip: more icon browser rework demos/icon-browser/iconbrowserwin.c | 162 +++++-------------------- demos/icon-browser/window.ui | 229 ++++++++++++++++-------------------- 2 files changed, 132 insertions(+), 259 deletions(-) commit 737d15ac53cfb675de465c1e30ddaf7e3e8eaa6f Author: Matthias Clasen Date: Sun Jul 27 09:32:10 2014 +0200 wip: rework icon browser demos/icon-browser/iconbrowserwin.c | 286 +++++++++++++++++++++++++----------- demos/icon-browser/window.ui | 106 ++++++++----- 2 files changed, 270 insertions(+), 122 deletions(-) commit 45bdec84f56b32fcef165231502e373aebc7d5a4 Author: Jasper St. Pierre Date: Mon Jul 28 22:04:05 2014 +0200 gtkcairoblur: Blur a CAIRO_A8 surface instead of a full CAIRO_ARGB32 This is considerably faster to draw and paint. gtk/gtkcairoblur.c | 67 +++++++------------------------------------------ gtk/gtkcssshadowvalue.c | 2 +- 2 files changed, 10 insertions(+), 59 deletions(-) commit 227b4a862085e233baa5de8ba143309954bae541 Author: Jasper St. Pierre Date: Mon Jul 28 22:04:09 2014 +0200 gtkcssshadowvalue: Use the blur surface as a mask, instead of painting it This will make it easier to use an A8 for our blurred surface instead of a ARGB32, which makes things a lot easier and faster. gtk/gtkcssshadowvalue.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 09a36b1e9fde589ecdf22c11b055f7b4aff8dfd4 Author: Cosimo Cecchi Date: Tue Jul 22 21:27:59 2014 -0700 iconhelper: reset original pixbuf scale on clear Avoids a previously set value for a different image to accidentally stick around. https://bugzilla.gnome.org/show_bug.cgi?id=733416 gtk/gtkiconhelper.c | 1 + 1 file changed, 1 insertion(+) commit 7e425f301950a35fbba031a6ba548209e2ec2c1e Author: Cosimo Cecchi Date: Sat Jul 19 13:03:58 2014 -0700 image: support scale factor when loading from GResource and file Currently, when loading an image from a GResource or file we don't take the scale factor of the display into consideration, and let GtkIconHelper scale it accordingly. While this in general works for non-scalable images, we can take advantage of the native loader's scaling for e.g. SVG images, and load them at the right scale factor automatically. This is achieved by switching to a pixbuf loader instead of using the native function. https://bugzilla.gnome.org/show_bug.cgi?id=733416 gtk/gtkimage.c | 99 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 97 insertions(+), 2 deletions(-) commit a23c29c0fb7c9f5064fd16f42c66a79f8f386352 Author: Руслан Ижбулатов Date: Thu Jul 24 16:27:09 2014 +0000 W32: Implement rudimentary WM_NCHITTEST handling Use (cairo) input shape of the window to check whether a point is inside or not inside the window. If it is, let the default window procedure do its thing (which seems to be working all right in all known cases). If it isn't, override the default window procedure and tell WM what we think. Don't do any of the above if the window has CSD-incompatible styles (WS_BORDER or WS_THICKFRAME). This is a crude kind of substitute for window input shape support (which W32 does not seem to have). Still probably enough to be positive about input shapes support. https://bugzilla.gnome.org/show_bug.cgi?id=733679 gdk/win32/gdkdisplay-win32.c | 7 ++----- gdk/win32/gdkevents-win32.c | 45 ++++++++++++++++++++++++++++++++++++++++++++ gdk/win32/gdkwindow-win32.c | 5 ++--- 3 files changed, 49 insertions(+), 8 deletions(-) commit 341108d4fc93217c0aa3cf634e8d84bf79604c30 Author: Alexander Larsson Date: Mon Jul 28 21:19:31 2014 +0200 Update testtextview.c to use draw_layer This fixes a regression in the test from the revert in commit 4fe051bb4a017d2840f2b0f4299512971f17a837. tests/testtextview.c | 39 +++++++++++++++++++++++++++++++++++---- 1 file changed, 35 insertions(+), 4 deletions(-) commit 5b53eb287c170d21de149b088be5a3608349139b Author: Alexander Larsson Date: Mon Jul 28 15:20:52 2014 +0200 textview: Add draw_layer vfunc This allows subclasses to render things below and above the text in the text view. This allows e.g. GtkSourceView to highlight the cursor row and to render overlays for colum 80. This used to be done by rendering before/after chaining up to the parent, but that doesn't work anymore since the view now renders a background, and due to the use of the pixel cache. gtk/gtktextview.c | 7 +++++++ gtk/gtktextview.h | 23 ++++++++++++++++++++++- 2 files changed, 29 insertions(+), 1 deletion(-) commit 4fe051bb4a017d2840f2b0f4299512971f17a837 Author: Alexander Larsson Date: Sun Jul 27 15:41:01 2014 +0200 Revert "GtkTextView: Fix regression in GtkSourceView drawing" This reverts commit 1ac13435b7c14dd9b97ad7a9d292acd51337d66e. We want to instead replace this with special vfunc for drawing below/above the main text so that gtksourceview can use it. gtk/gtktextview.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit b584970b955297caed3074aa3874563eb7364ba7 Author: Lapo Calamandrei Date: Mon Jul 28 15:34:03 2014 +0200 Adwaita: fix a typo gtk/resources/theme/Adwaita/_drawing.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) commit c97480caab0c2e7c3dc77dda22009602b96c4744 Author: Lapo Calamandrei Date: Mon Jul 28 12:42:23 2014 +0200 Adwaita: button drawing function rework... ...to take colored buttons into considerations, so buttons on colored background works better now (infobars and the like). gtk/resources/theme/Adwaita/_colors.scss | 2 +- gtk/resources/theme/Adwaita/_common.scss | 21 +++- gtk/resources/theme/Adwaita/_drawing.scss | 48 ++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 140 +++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 86 +++++++++---- 5 files changed, 195 insertions(+), 102 deletions(-) commit 86ed2701636dcc951c393a6654afa0fdb5f02e53 Author: Paolo Borelli Date: Mon Jul 28 12:20:48 2014 +0200 textview: document text mark properties gtk/gtktextmark.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 46a13d158200b422aa0ca8c682a062e289d9e6e3 Author: Georges Neto Date: Mon Jul 28 04:27:57 2014 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 934 ++++++++++++++++++++++++++++-------------------------------- 1 file changed, 440 insertions(+), 494 deletions(-) commit 1c97a5f4c60a72710120d6631998a3a0c6334691 Author: Jakub Steiner Date: Sun Jul 27 13:39:02 2014 +0200 Adwaita: remove shadows from progressbars gtk/resources/theme/Adwaita/_common.scss | 8 +------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 ++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 11 ++++------- 3 files changed, 9 insertions(+), 21 deletions(-) commit d12cca61f66d824e02b015412eeab2c2345da7e4 Author: Aurimas Černius Date: Sun Jul 27 00:48:53 2014 +0300 Updated Lithuanian properties translation po-properties/lt.po | 977 ++++++++++++++++++++++++++-------------------------- 1 file changed, 485 insertions(+), 492 deletions(-) commit 47d0be535b953bd15f603024e033bb98c496313b Author: Jasper St. Pierre Date: Sat Jul 26 09:46:56 2014 -0400 gdkdevice-wayland: Fix compile warnings These are signed, not unsigned. gdk/wayland/gdkdevice-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 33327d6904a9bc387c3b0a4ab650cad9446748bd Author: Matthias Clasen Date: Fri Jul 25 14:41:55 2014 -0400 icon-browser: Add open-menu to the list demos/icon-browser/iconbrowserwin.c | 1 + 1 file changed, 1 insertion(+) commit 61f0ed80a1fb91bb356e8083672044b851ffdb3e Author: Jasper St. Pierre Date: Fri Jul 25 09:37:06 2014 -0400 wayland-device: Upgrade to v4 of seat Get our keyboard repeat info from the server. gdk/wayland/gdkdevice-wayland.c | 51 +++++++++++++++++++++++++++++++++------- gdk/wayland/gdkdisplay-wayland.c | 2 +- 2 files changed, 43 insertions(+), 10 deletions(-) commit 6c35ae199e918bad4c74a15677bf857663687c6f Author: Jasper St. Pierre Date: Fri Jul 25 09:41:48 2014 -0400 wayland-device: Upgrade to v3 of seat To prevent memory leaks. gdk/wayland/gdkdevice-wayland.c | 6 +++--- gdk/wayland/gdkdisplay-wayland.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) commit 407a778bc5b9639ae15eb298a3978549b9c116c3 Author: Jasper St. Pierre Date: Fri Jul 25 09:38:22 2014 -0400 wayland-device: Handle v2 of seat gdk/wayland/gdkdevice-wayland.c | 9 +++++++++ gdk/wayland/gdkdisplay-wayland.c | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) commit 4eb2a74fb83d5287e645c91d30899dbc9525b603 Author: Jasper St. Pierre Date: Fri Jul 25 09:32:55 2014 -0400 wayland-device: Refactor a bit Delay the keyboard settings creation until we're delivering the key press. This means we don't have to create the settings for a server that sends us repeat information. gdk/wayland/gdkdevice-wayland.c | 46 +++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 20 deletions(-) commit ded609a7351a092346d11a5dcf663fb4dadd21e0 Author: Jasper St. Pierre Date: Fri Jul 25 09:27:22 2014 -0400 wayland-device: Reindent gdk/wayland/gdkdevice-wayland.c | 79 +++++++++++++++++++++-------------------- 1 file changed, 41 insertions(+), 38 deletions(-) commit 2be4474a19d16a1a4862d730f5114169b1ccf5ed Author: Alejandro Piñeiro Date: Wed Jul 23 17:56:59 2014 +0200 a11y: unref selected item only if it is not NULL https://bugzilla.gnome.org/show_bug.cgi?id=733610 gtk/a11y/gtknotebookpageaccessible.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 9e11bb33356d627a1ef723d77a981144520e52cd Author: Руслан Ижбулатов Date: Thu Jul 24 13:41:51 2014 +0000 Remove gdk_win32_input_shape_combine_region() This function currently calls gdk_win32_window_shape_combine_region(), which is wrong, because it leads to SetWindowRgn() being called with non-NULL region, which makes W32 disable theming (particularly - decoration theming), which makes decorations revert back to old GDI-drawn Windows 2000 variant, which looks out of place and interacts *badly* with alpha channel (because GDI). https://bugzilla.gnome.org/show_bug.cgi?id=733671 gdk/win32/gdkwindow-win32.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d97fd540acd80fd553933a5450b71b1a42626c39 Author: Matthias Clasen Date: Thu Jul 24 08:29:12 2014 -0400 inspector: Show the buildable ID in the misc tab This is useful, since you sometimes want to use it as #id in css. gtk/inspector/misc-info.c | 18 +++++++++++++++++- gtk/inspector/misc-info.ui | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+), 1 deletion(-) commit 3e82b77d7d7074b74c7edfae31ca43c26f05d577 Author: Matthias Clasen Date: Thu Jul 24 08:14:54 2014 -0400 inspector: Prepare misc tab for showing non-widgets This will happen in the near future. gtk/inspector/misc-info.c | 63 +++++++++++++++++++++++++++------------------- gtk/inspector/misc-info.ui | 2 +- 2 files changed, 38 insertions(+), 27 deletions(-) commit 09ecba9a53961c362044a04e40910ea2d6f34cd3 Author: Ignacio Casal Quinteiro Date: Thu Jul 24 08:34:02 2014 +0200 testtreemodel: fix unused variable on windows tests/testtreemodel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit b553ce2b2f8f4dedb395d9003fa69dce80f906d0 Author: Ignacio Casal Quinteiro Date: Wed Jul 23 23:27:46 2014 +0200 win32: remove set but not used variables gdk/win32/gdkwindow-win32.c | 17 ----------------- 1 file changed, 17 deletions(-) commit 155c45eba5a92e8b2b4cc131817f58badf7d6826 Author: Matthias Clasen Date: Wed Jul 23 14:11:22 2014 -0400 GtkPlacesSidebar: Fix editing of bookmarks This was silently broken - the code was just assuming that the text cell renderer is item no. 6 on the list of all cells. That doesn't work so well if the cell renderers are set up elsewhere and get rearranged. Fix this by keeping an explicit pointer to the the text cell. gtk/gtkplacessidebar.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit d576069cecbc7de2dbb53c9a218f3125bef27ed7 Author: Matthias Clasen Date: Wed Jul 23 13:39:38 2014 -0400 GtkPathBar: Use symbolic icons This fits better with the symbolic icons we use in the places sidebar now. gtk/gtkpathbar.c | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) commit d26a84889b54ec9654c023304d8151cc03d79ed3 Author: Matthias Clasen Date: Wed Jul 23 13:39:23 2014 -0400 GktFileSystem: Support rendering symbolic icons gtk/gtkfilesystem.c | 86 +++++++++++++++++++++++++++++++++++++++++++++-------- gtk/gtkfilesystem.h | 7 +++++ 2 files changed, 80 insertions(+), 13 deletions(-) commit 386e59683a40de6a90b40466b77ace90bd5b3f80 Author: Benjamin Otte Date: Wed Jul 23 18:50:28 2014 +0200 reftest: Add reftest for CSS sizing fix The test uses a GtkBox for rendering the background, but it could use any other widget that is not used in the reference. testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/gtk-icontheme-sizing.css | 3 +++ testsuite/reftests/gtk-icontheme-sizing.ref.ui | 18 ++++++++++++++++++ testsuite/reftests/gtk-icontheme-sizing.ui | 21 +++++++++++++++++++++ 4 files changed, 45 insertions(+) commit 27b9efbea2e6befc1071ce07658604172bbdca99 Author: Benjamin Otte Date: Wed Jul 23 18:40:55 2014 +0200 cssimage: Fix size computation for -gtk-icontheme() For images without a concrete size but with an aspect ratio, we took the wrong code path. (I even copied the documentation that said "Otherwise" but didn't put an else clause there, go me!) gtk/gtkcssimage.c | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) commit 0d1d17107f69d4377a7d18be466ae3fa2816335b Author: Matthias Clasen Date: Wed Jul 23 12:42:27 2014 -0400 GtkPathBar: Set style classes on buttons Set text-button/image-button on these, just like we do for buttons everywhere else. gtk/gtkpathbar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d758e9ddd9606121254cfbc01462f841c3d0e2ee Author: Matthias Clasen Date: Wed Jul 23 12:42:08 2014 -0400 GtkPathBar: Don't use GtkArrow Instead, use an image button. gtk/resources/ui/gtkpathbar.ui | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit db2133bad4c2aabd57980e7d2dc5e8ebb414dbd9 Author: Lapo Calamandrei Date: Wed Jul 23 17:53:31 2014 +0200 Adwaita: spinbutton button hover visible on the dark variant gtk/resources/theme/Adwaita/_common.scss | 8 +++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 +++++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 10 +++++++++- 3 files changed, 25 insertions(+), 3 deletions(-) commit 2b1cad0289b17183b6c5f10e64c5a8ddb92709c3 Author: Lapo Calamandrei Date: Wed Jul 23 15:25:22 2014 +0200 Adwaita: entry icons position fix gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 12 insertions(+) commit 4718c165ad09f2a597f8352214dd20a58dc25639 Author: Lapo Calamandrei Date: Wed Jul 23 13:31:05 2014 +0200 Adwaita: backdrop check/radio fix Set the correct color wrt the dark variant for checks/radios on selected treeview rows. gtk/resources/theme/Adwaita/_common.scss | 6 ++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) commit 11245bc5497c8d27aa97ee4aecfb3f99397eee24 Author: Lapo Calamandrei Date: Wed Jul 23 13:26:36 2014 +0200 Adwaita: GtkCalendar style simplification gtk/resources/theme/Adwaita/_common.scss | 38 +++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 97 ++++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 97 ++++++++++++---------- 3 files changed, 129 insertions(+), 103 deletions(-) commit d3d675511c1aea346412f45268d8583ba49808fd Author: Lapo Calamandrei Date: Wed Jul 23 12:33:20 2014 +0200 Adwaita: accelerators gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 7 insertions(+) commit 1e10bbef260250f0167495766dedee4c5af6694a Author: Ignacio Casal Quinteiro Date: Wed Jul 23 10:43:41 2014 +0200 gtk-demo: include missing file on EXTRA_DIST demos/gtk-demo/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 52ec7bf54e15a7365225ff4630533dff2443c064 Author: Matthias Clasen Date: Tue Jul 22 18:50:31 2014 -0400 Add a test for matching with states testsuite/gtk/stylecontext.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit c3bfaaa5d11004837c0935872448f35a330feb0f Author: Matthias Clasen Date: Tue Jul 22 18:32:02 2014 -0400 Add some tests for GtkAdjustment testsuite/gtk/Makefile.am | 1 + testsuite/gtk/adjustment.c | 164 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 165 insertions(+) commit 228fe00eccb43226a1808e0e543d50158d35b28a Author: Matthias Clasen Date: Tue Jul 22 15:32:45 2014 -0400 widget-factory: Avoid a runtime warning Don't set accelerators too early. GTK+ has not yet been initialized at that point in main. demos/widget-factory/widget-factory.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit 99f72ac4740c26d038b848cc14489dab22b0cc11 Author: Lapo Calamandrei Date: Tue Jul 22 20:26:43 2014 +0200 Adwaita: vertical spinbutton rtl fix gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 30 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 30 +++++++++++----------- 3 files changed, 31 insertions(+), 31 deletions(-) commit 8a01e90608f1985e241688bf92702e67293bbb12 Author: Lapo Calamandrei Date: Tue Jul 22 20:21:30 2014 +0200 Adwaita: position needs-attention dot in rtl gtk/resources/theme/Adwaita/_common.scss | 6 ++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) commit f0c0be896f899169b476e04f9ed3571190302ad4 Author: Lapo Calamandrei Date: Tue Jul 22 20:09:18 2014 +0200 Adwaita: correct color on insensitive check/radio labels gtk/resources/theme/Adwaita/_common.scss | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 15 insertions(+) commit 590c32ede151f17255462a6586c65eab47bcd5fa Author: Lapo Calamandrei Date: Tue Jul 22 20:02:06 2014 +0200 Adwaita: some more assets refresh gtk/resources/theme/Adwaita/assets.svg | 30 ++++++++++----------- .../checkbox-checked-backdrop-insensitive-dark.png | Bin 470 -> 488 bytes ...heckbox-checked-backdrop-insensitive-dark@2.png | Bin 811 -> 827 bytes .../assets/checkbox-checked-insensitive-dark.png | Bin 540 -> 613 bytes .../assets/checkbox-checked-insensitive-dark@2.png | Bin 910 -> 1056 bytes .../assets/checkbox-checked-insensitive.png | Bin 564 -> 603 bytes .../assets/checkbox-checked-insensitive@2.png | Bin 994 -> 1077 bytes .../checkbox-mixed-backdrop-insensitive-dark.png | Bin 415 -> 405 bytes .../checkbox-mixed-backdrop-insensitive-dark@2.png | Bin 681 -> 677 bytes .../assets/checkbox-mixed-insensitive-dark.png | Bin 485 -> 488 bytes .../assets/checkbox-mixed-insensitive-dark@2.png | Bin 773 -> 802 bytes .../Adwaita/assets/checkbox-mixed-insensitive.png | Bin 480 -> 494 bytes .../assets/checkbox-mixed-insensitive@2.png | Bin 800 -> 809 bytes ...heckbox-unchecked-backdrop-insensitive-dark.png | Bin 355 -> 347 bytes ...ckbox-unchecked-backdrop-insensitive-dark@2.png | Bin 588 -> 574 bytes .../assets/checkbox-unchecked-insensitive-dark.png | Bin 425 -> 414 bytes .../checkbox-unchecked-insensitive-dark@2.png | Bin 686 -> 678 bytes .../assets/radio-checked-insensitive-dark.png | Bin 697 -> 715 bytes .../assets/radio-checked-insensitive-dark@2.png | Bin 1367 -> 1415 bytes .../Adwaita/assets/radio-checked-insensitive.png | Bin 733 -> 748 bytes .../Adwaita/assets/radio-checked-insensitive@2.png | Bin 1366 -> 1388 bytes .../assets/radio-mixed-insensitive-dark.png | Bin 670 -> 685 bytes .../assets/radio-mixed-insensitive-dark@2.png | Bin 1323 -> 1361 bytes .../Adwaita/assets/radio-mixed-insensitive.png | Bin 689 -> 693 bytes .../Adwaita/assets/radio-mixed-insensitive@2.png | Bin 1293 -> 1314 bytes 25 files changed, 15 insertions(+), 15 deletions(-) commit 80a109706033c6b07664b14850801a79bc7c0d69 Author: Lapo Calamandrei Date: Tue Jul 22 19:50:15 2014 +0200 Adwaita: .needs-attention dark variant style gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++---- gtk/resources/theme/Adwaita/_drawing.scss | 27 ++++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++--- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 4 files changed, 34 insertions(+), 18 deletions(-) commit 542e0db6158cb1e7ed9a701cfe59d36f1883c419 Author: Lapo Calamandrei Date: Tue Jul 22 19:13:34 2014 +0200 Adwaita: graphic assets refresh gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/assets.svg | 30 ++++++++++----------- .../checkbox-checked-backdrop-insensitive-dark.png | Bin 473 -> 470 bytes ...heckbox-checked-backdrop-insensitive-dark@2.png | Bin 792 -> 811 bytes .../checkbox-checked-backdrop-insensitive.png | Bin 496 -> 534 bytes .../checkbox-checked-backdrop-insensitive@2.png | Bin 883 -> 939 bytes .../assets/checkbox-checked-insensitive.png | Bin 567 -> 564 bytes .../assets/checkbox-checked-insensitive@2.png | Bin 1019 -> 994 bytes .../Adwaita/assets/checkbox-mixed-active-dark.png | Bin 532 -> 538 bytes .../assets/checkbox-mixed-active-dark@2.png | Bin 973 -> 971 bytes .../checkbox-mixed-backdrop-insensitive-dark.png | Bin 411 -> 415 bytes .../checkbox-mixed-backdrop-insensitive-dark@2.png | Bin 680 -> 681 bytes .../assets/checkbox-mixed-backdrop-insensitive.png | Bin 414 -> 444 bytes .../checkbox-mixed-backdrop-insensitive@2.png | Bin 710 -> 759 bytes .../theme/Adwaita/assets/checkbox-mixed.png | Bin 563 -> 567 bytes .../theme/Adwaita/assets/checkbox-mixed@2.png | Bin 1010 -> 1010 bytes ...heckbox-unchecked-backdrop-insensitive-dark.png | Bin 358 -> 355 bytes ...ckbox-unchecked-backdrop-insensitive-dark@2.png | Bin 583 -> 588 bytes .../checkbox-unchecked-backdrop-insensitive.png | Bin 350 -> 377 bytes .../checkbox-unchecked-backdrop-insensitive@2.png | Bin 601 -> 633 bytes .../assets/radio-checked-backdrop-insensitive.png | Bin 572 -> 614 bytes .../radio-checked-backdrop-insensitive@2.png | Bin 1021 -> 1098 bytes .../assets/radio-mixed-backdrop-insensitive.png | Bin 552 -> 592 bytes .../assets/radio-mixed-backdrop-insensitive@2.png | Bin 966 -> 1040 bytes .../radio-unchecked-backdrop-insensitive.png | Bin 494 -> 536 bytes .../radio-unchecked-backdrop-insensitive@2.png | Bin 851 -> 924 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 677 -> 691 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1381 -> 1367 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 724 -> 753 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1396 -> 1414 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 727 -> 728 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1365 -> 1373 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 762 -> 799 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1403 -> 1461 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 582 -> 602 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 1145 -> 1179 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 608 -> 671 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 1208 -> 1263 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 583 -> 592 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 1171 -> 1203 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 601 -> 679 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 1220 -> 1314 bytes 42 files changed, 16 insertions(+), 16 deletions(-) commit 15a080bfd3a9de65b94678cf6aa62a21c0580a5d Author: Piotr Drąg Date: Tue Jul 22 17:45:54 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 8f873f3aa31a5b33795f6ade90c515fd879d6cb5 Author: Ignacio Casal Quinteiro Date: Tue Jul 22 17:21:37 2014 +0200 gtkselection: fix warnings of unused vars on win32 gtk/gtkselection.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c4c383fa39f6f3b3a2d60eab4b150379b0299f8d Author: Benjamin Otte Date: Tue Jul 22 15:03:26 2014 +0200 scrolledwindow: Remove unused variable gtk/gtkscrolledwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit fc8b7156a30f7c45b995b292dacb9b4f3c64db87 Author: Ignacio Casal Quinteiro Date: Tue Jul 22 14:53:16 2014 +0200 win32: add css files to EXTRA_DIST gtk/Makefile.am | 7 +++++++ 1 file changed, 7 insertions(+) commit 5ff1c9a6efbe80e96e9152d64f2c4c4d19ef8980 Author: Lapo Calamandrei Date: Tue Jul 22 14:33:44 2014 +0200 Adwaita: reduce padding on path bars gtk/resources/theme/Adwaita/_common.scss | 15 +++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 14 ++++++++++++++ 3 files changed, 43 insertions(+) commit 0bb955b30ea3d46f8c7de6b0f2dd1f3b13efa9ba Author: Carlos Garnacho Date: Tue Jul 22 13:03:22 2014 +0200 treeview: Add back a check to ignore buttons > 3 The removal was not intentional, and still needed as the GtkGestureMultiPress will work for any button unless told to lock on a single specific one. gtk/gtktreeview.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 4f27e8c4df99d0d80a32a6d2b44a8fa063f73b18 Author: Daniel Mustieles Date: Tue Jul 22 12:33:12 2014 +0200 Updated Spanish translation po-properties/es.po | 2160 +++++++++++++++++++++++++-------------------------- 1 file changed, 1079 insertions(+), 1081 deletions(-) commit 3d5e9c9556a6abdebf0d816387d42e7bc018f959 Author: Lapo Calamandrei Date: Tue Jul 22 10:29:01 2014 +0200 Adwaita: GtkSwitch in selected list rows gtk/resources/theme/Adwaita/_common.scss | 7 ++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 18 +++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 18 +++++++++++------- 3 files changed, 28 insertions(+), 15 deletions(-) commit 35e4421bb8455ba9b1ad881ba80dad1dc4b8c696 Author: Lapo Calamandrei Date: Tue Jul 22 10:27:49 2014 +0200 Adwaita: less distracting active list-rows gtk/resources/theme/Adwaita/_common.scss | 5 +---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 +++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 11 +++++------ 3 files changed, 11 insertions(+), 16 deletions(-) commit 7fe1bd70cf961ab4f0de0b4cde12d02c9659992b Author: Lapo Calamandrei Date: Tue Jul 22 09:58:58 2014 +0200 Adwaita: decrease column headers paddings gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit a67baa51ae0222296ae0046e0ee4a95663e109c9 Author: Lapo Calamandrei Date: Tue Jul 22 09:42:22 2014 +0200 Adwaita: stack switcher button needs-attention fix. Don't draw the dot when the stack switcher button is active. gtk/resources/theme/Adwaita/_common.scss | 7 ++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained.css | 5 ++++- 3 files changed, 14 insertions(+), 3 deletions(-) commit 11dd823510532fad9a24f710dd4b7bc1b096c800 Author: Matthias Clasen Date: Mon Jul 21 23:03:24 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 78ad055d32ddaeea711bd478d06f83a4a74974ac Author: Matthias Clasen Date: Mon Jul 21 21:23:49 2014 -0400 3.13.5 NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit c10ddf8ec8db4e2992da827a353ceb9f9e3e0d34 Author: Matthias Clasen Date: Mon Jul 21 22:04:39 2014 -0400 Install a missing file This was causing the css parser tests to fail in continuous. testsuite/css/parser/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit d66db441e35d0d2d97d47dad152301530ad85f22 Author: Benjamin Otte Date: Tue Jul 22 03:04:01 2014 +0200 reftests: Add a reftest for recent widget path fix The widget path code copies elements only in gtk_widget_path_copy() - which is essentially unused - and in gtk_widget_path_append_with_siblings() - which is used by GtkBox. So stuff the widget we are testing in a GtkBox to reroduce the problem. testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/pseudoclass-on-box.css | 7 +++++ testsuite/reftests/pseudoclass-on-box.ref.ui | 39 ++++++++++++++++++++++++++++ testsuite/reftests/pseudoclass-on-box.ui | 36 +++++++++++++++++++++++++ 4 files changed, 85 insertions(+) commit 5a3ebb486062ab4550a7233d147050e720f99069 Author: Benjamin Otte Date: Tue Jul 22 02:53:06 2014 +0200 stylecontext: Query style properties with correct state Now that widget paths are allowed to have a state, use that state when querying style properties. This uses a fast path in gtkcssprovider.c and that is great. gtk/gtkstylecontext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit a0566770da6eead8a559b2377231d95ee280954a Author: Matthias Clasen Date: Mon Jul 21 20:35:59 2014 -0400 GtkWidgetPath: Don't forget to copy the state gtk_widget_path_copy was not copying the state of each element. This was showing in "GtkRadioButton:active GtkLabel" not matching in stack switchers. gtk/gtkwidgetpath.c | 1 + 1 file changed, 1 insertion(+) commit 2df06d3490c3e0b6acbce25d16ef61e693fc2d8c Author: Matthias Clasen Date: Mon Jul 21 19:49:11 2014 -0400 GtkWidgetPath: Show states in the path string This shows clearly that some widgets don't set the state on their path currently. gtk/gtkwidgetpath.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 452f92c644ab4d384249d5e28c2155b376044e86 Author: Matthias Clasen Date: Mon Jul 21 18:35:42 2014 -0400 Update expected output for a11y tests testsuite/a11y/colorchooser.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 153a7e71ceaea8684ea6330faed70f743c3dde8c Author: Benjamin Otte Date: Tue Jul 22 01:06:32 2014 +0200 stylecontext: Don't do anything with empty widget path It's a corner case, but empty widget paths don't allow setting state/regions/classes, so exit early Fixes gtk/stylecontext test. gtk/gtkstylecontext.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 49448290c3da7a94160f8e0b9d5b7638ebb01349 Author: Carlos Garnacho Date: Mon Jul 21 21:25:39 2014 +0200 gdk: Document the behavior of device grabs on slave devices This may be useful for certain applications, so document it explicitly. gdk/gdkdevicemanager.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 7995cd59d0ee4a5a9a8e3d1a8756da0f42e4b22d Author: Carlos Garnacho Date: Mon Jul 21 21:17:31 2014 +0200 gdk: Explain the relation between device type and mode GdkInputMode doesn't apply to all device types, explain why and how do these interact. gdk/gdkdevice.c | 4 ++++ 1 file changed, 4 insertions(+) commit 0d71478237e1201b081bec8e86ef65fee191de50 Author: Matthias Clasen Date: Mon Jul 21 14:01:46 2014 -0400 inspector: Offer Raleigh as a theme As long as it is included, might as well offer it. gtk/inspector/visual.c | 1 + 1 file changed, 1 insertion(+) commit 821955a998c848d114db18f016d81d82baff65dc Author: Matthias Clasen Date: Mon Jul 21 14:00:36 2014 -0400 Avoid a compiler warning gtk/gtktooltip.c | 3 --- 1 file changed, 3 deletions(-) commit 3747e0fc4e4f46ebad5bddd0d698769888c0941b Author: Benjamin Otte Date: Mon Jul 21 19:53:12 2014 +0200 css: Make commented out debug code work again gtk/gtkcssselector.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 3661756070049b82cdc10f8da4a3bdc9b5ccf1a7 Author: Benjamin Otte Date: Mon Jul 21 19:48:01 2014 +0200 testsuite: Add test for pseudoclasses They should all be printable. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/pseudo-classes-known.css | 51 +++++++++++++++++++++++ testsuite/css/parser/pseudo-classes-known.ref.css | 51 +++++++++++++++++++++++ 3 files changed, 103 insertions(+) commit 09a1d983d45f404b5605910ec338c8741a168deb Author: Benjamin Otte Date: Mon Jul 21 19:48:35 2014 +0200 css: Add printing code for :visited and :link Don't just crash when those states are encountered gtk/gtkcssselector.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6b8dd7beefee676b7df3638965de17b7d7586eca Author: Lapo Calamandrei Date: Mon Jul 21 19:26:41 2014 +0200 Adwaita: stack switcher button fixes Paddings and outline offset are ok now. gtk/resources/theme/Adwaita/_common.scss | 10 ++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 ++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 7 ++++--- 3 files changed, 14 insertions(+), 10 deletions(-) commit c4b583ed47b604902fac066056bc0880d2e3de51 Author: Lapo Calamandrei Date: Mon Jul 21 19:22:24 2014 +0200 Adwaita: bright outline on suggested/destructive action buttons gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 6 ++++-- 3 files changed, 9 insertions(+), 4 deletions(-) commit 306890ef9d84316a5c269df5480870785bb6d799 Author: Lapo Calamandrei Date: Mon Jul 21 18:49:15 2014 +0200 Adwaita: bit padding overhaul Header-bar and action-bar buttons used to be bigger then others now everything is as big as those, maintaining two different sizes for default widgets depending on the placement is a maintainance nightmare and having controls the same size is good from a usability point of view. gtk/resources/theme/Adwaita/_common.scss | 32 +-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 254 +++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 246 ++++++++++---------- 3 files changed, 277 insertions(+), 255 deletions(-) commit c8c6da4ca45812a2cd2dcdb63f8df33e01e878e8 Author: Matthias Clasen Date: Mon Jul 21 12:39:10 2014 -0400 GtkTooltip: Drop an unused variable The toplevel_window was never set, and the only place where it was used was causing us to hide tooltips needlessly. So removing it is a double win. https://bugzilla.gnome.org/show_bug.cgi?id=733321 gtk/gtktooltip.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit bb93e6349c9252ae03eb405fbe753312ef949627 Author: Piotr Drąg Date: Mon Jul 21 17:26:12 2014 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 1 + 3 files changed, 4 insertions(+) commit 2a7577d23a1d3db73cb413056129c209f087fc47 Author: Matthias Clasen Date: Sat Jul 19 02:47:36 2014 -0400 inspector: Show misc info Add yet another tab for showing information about a widget that does not quite fit into any of the other tabs (not a property, not style information, etc...). For now, we show the widget state, as well as the default and focus widget for windows. gtk/inspector/Makefile.am | 3 + gtk/inspector/init.c | 2 + gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/misc-info.c | 317 ++++++++++++++++++++++++++++++++++ gtk/inspector/misc-info.h | 54 ++++++ gtk/inspector/misc-info.ui | 147 ++++++++++++++++ gtk/inspector/window.c | 3 + gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 16 ++ po/POTFILES.in | 2 + 10 files changed, 546 insertions(+) commit eed5efec24cb24bfa385070bf985679c530e5948 Author: Matthias Clasen Date: Mon Jul 21 06:40:12 2014 -0400 gtk-demo: Improve text scroll example Add numbers, so the lines can be differentiated, even if they don't move on screen. demos/gtk-demo/textscroll.c | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) commit 167f200a0cd5977c40df1729130a366a3a5224a8 Author: Paolo Borelli Date: Sun Jul 20 10:29:09 2014 +0200 GtkMenuButton: do not mention GtkArrow in the docs GtkArrow is deprecated and is not used internally anymore by the menu button. Document also the fact that if no direction is specified then the view-context-menu icon is shown. https://bugzilla.gnome.org/show_bug.cgi?id=733441 gtk/gtkmenubutton.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 8b6bf3a5eaa2d03a05ee6c311e84e4cfe3fb6755 Author: Paolo Borelli Date: Sun Jul 20 14:12:30 2014 +0200 GtkMenuButton: do not use gpointer for the arrow widget Just a small cleanup, we can use a proper type. gtk/gtkmenubutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 81b22883fd4db3202d7d01016fdeb2699cfaa6da Author: Lapo Calamandrei Date: Mon Jul 21 15:24:08 2014 +0200 Adwaita: header bar buttons padding fix gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 20 ++++++++++++-------- 3 files changed, 34 insertions(+), 23 deletions(-) commit 6456272b1f7b5a4cbb48c6ce1502105bc59d872f Author: MarMav Date: Mon Jul 21 09:01:26 2014 +0000 Updated Greek translation po/el.po | 892 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 451 insertions(+), 441 deletions(-) commit 0b7beb612bef6c206a9e1f03d611359d5a5c645d Author: Piotr Drąg Date: Mon Jul 21 01:28:15 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit bed70f2bcfa3125c489a2373881968a26e702bdf Author: Benjamin Otte Date: Mon Jul 21 01:00:40 2014 +0200 reftests: Add reftest for new pseudoclass support testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/pseudoclass-on-parent.css | 7 +++++++ testsuite/reftests/pseudoclass-on-parent.ref.ui | 27 +++++++++++++++++++++++++ testsuite/reftests/pseudoclass-on-parent.ui | 24 ++++++++++++++++++++++ 4 files changed, 61 insertions(+) commit 41a16b475b8f4f7d7f63c54d1f4d89b3fd507051 Author: Piotr Drąg Date: Sun Jul 20 16:21:07 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 9527205291d170c4d5c857daf63ef51e7981c32f Author: Sébastien Wilmet Date: Sat Jul 19 14:34:53 2014 +0200 GtkTextView: use GSlice GSlice is better for allocating structs. https://bugzilla.gnome.org/show_bug.cgi?id=733407 gtk/gtktextbtree.c | 16 ++++++++-------- gtk/gtktextbuffer.c | 26 ++++++++++++++++---------- gtk/gtktextbufferrichtext.c | 4 ++-- gtk/gtktextbufferserialize.c | 30 ++++++++++++++++++++++-------- gtk/gtktextlayout.c | 2 +- gtk/gtktextview.c | 22 +++++++++++----------- 6 files changed, 60 insertions(+), 40 deletions(-) commit b441d3a736e0efc916172cfeea538d063b507611 Author: Michał Górny Date: Thu Jun 12 17:27:53 2014 +0200 Use AC_PATH_TOOL to find build tools. This improves support for cross-compilation & multilib on Gentoo, where tools proper for target arch/ABI are prefixed with CHOST. https://bugzilla.gnome.org/show_bug.cgi?id=731582 configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 85297367dc5b4c10d2298566c203c2812b64b12c Author: Matthias Clasen Date: Sun Jul 20 01:05:41 2014 -0400 GtkDialog: Manage action area visibility more carefully People expect to be able to call gtk_widget_show_all on the dialog to make action widgets visible, as seen e.g. in https://bugzilla.gnome.org/show_bug.cgi?id=733431 To keep this working, we can't always set no-show-all on the action_box. Only set it when the action_area is not used and empty. gtk/gtkdialog.c | 4 +++- gtk/resources/ui/gtkdialog.ui | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) commit 2cb1052987621c596ebfa55475ca38e66a6d346e Author: Matthias Clasen Date: Sun Jul 20 00:40:11 2014 -0400 widget-factory: Show accelerators We set this up manually here. This could be automated by constructing the menubar from a menu model. demos/widget-factory/widget-factory.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 144083d4028f125a7d349acb1d9eda26f62c621a Author: Matthias Clasen Date: Sun Jul 20 00:42:23 2014 -0400 widget-factory: Rename some widgets demos/widget-factory/widget-factory.ui | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 48b9b4520b9bee794c712d3846142f6b86aa9284 Author: Matthias Clasen Date: Sun Jul 20 00:15:03 2014 -0400 widget-factory: Add accelerators for some actions With this, Ctrl-Q will close the window, and Ctrl-D will toggle the dark theme. The accelerators are currently not shown in the (manually constructed) menus. demos/widget-factory/widget-factory.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit caa47b2ef4d44e7e36398324035cabb1471a389e Author: Matthias Clasen Date: Sun Jul 20 00:12:40 2014 -0400 GtkMenuItem: fix display of accelerators The accel label in menus was getting a small allocation that caused its draw code to always omit the accelerator string. Fix that by setting halign to fill. To keep the menu label left-aligned, set xalign to 0 to compensate. gtk/gtkmenuitem.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d6d424f920db338be426e18e2991419f5e5944f3 Author: Matthias Clasen Date: Sat Jul 19 23:40:27 2014 -0400 GtkModelMenuItem: Make properties readable This makes the inspector much more useful when dealing with model menu items. gtk/gtkmodelmenuitem.c | 162 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 151 insertions(+), 11 deletions(-) commit 73267102fd4ec44541bd4b4fe21f624757e1ca0c Author: Matthias Clasen Date: Sat Jul 19 23:37:43 2014 -0400 GtkAccelLabel: unconditionally chain up in draw No need to check, we know for sure that GtkLabel has a draw function. gtk/gtkaccellabel.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 2ddbca7ba503860911092f46633035da2345938d Author: Matthias Clasen Date: Sat Jul 19 19:42:56 2014 -0400 bloatpad: Add a close button to the accel dialog examples/bp/bloatpad.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 70e898bc90d52326578707cf0d9e1f01b65f7729 Author: Matthias Clasen Date: Sat Jul 19 19:15:58 2014 -0400 inspector: Add a font button to the visual tab The font was already settable via the gtk-font-name property of the settings object, but this this much more convenient. gtk/inspector/visual.c | 11 +++++++++++ gtk/inspector/visual.ui | 43 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) commit 7f7084f7f50761a93fbd959e05123a9993801cde Author: Gergely POLONKAI Date: Thu Jul 17 06:41:00 2014 +0000 GtkSpinButton: Document some signals Based on a patch by Gergely Polonkai, https://bugzilla.gnome.org/show_bug.cgi?id=733174 gtk/gtkspinbutton.c | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) commit f7c838ce5f3d7fe093cbbd507034b15a9bc2ce5d Author: Matthias Clasen Date: Sat Jul 19 18:27:27 2014 -0400 Trivial: Use the canonical signal name gtk/gtkspinbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bbb324688f5c3ab270baccf0369a536869e07aff Author: Matthias Clasen Date: Sat Jul 19 17:37:15 2014 -0400 Trivial: Move resources into the same prefix demos/widget-factory/widget-factory.c | 2 +- demos/widget-factory/widget-factory.gresource.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit cde81e169b72ce7700acd4923559d0a48f64ff72 Author: Benjamin Otte Date: Sat Jul 19 23:48:06 2014 +0200 notebook: Don't unset state flags on child removal We don't set any state flags, so we shouldn't unset any either. gtk/gtknotebook.c | 1 - 1 file changed, 1 deletion(-) commit 52dd0f501459f1d1bf20969e1f88f4aee2a79a9d Author: Benjamin Otte Date: Sat Jul 19 23:41:42 2014 +0200 widget: Add widget state when appending to widget path Make gtk_widget_path_append_for_widget() add the state flags of the widget, too. This enables the ability to select pseudoclasses on all elements in a selector. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 19eb1614de30042ae39ca95c854803e03f3a6bae Author: Benjamin Otte Date: Sat Jul 19 23:26:12 2014 +0200 cssmatcher: Use widget path's state Don't take a state when constructing the CSS matcher. Instead, rely on the newly introduced state in the widget path. This way, the state can be queried not only on the first element, but on all elements of the widget path. gtk/gtkcssmatcher.c | 8 ++------ gtk/gtkcssmatcherprivate.h | 4 +--- gtk/gtkcssprovider.c | 19 +++++++++++++++++-- gtk/gtkstylecontext.c | 7 +++---- 4 files changed, 23 insertions(+), 15 deletions(-) commit be09e0ed4ac3c98d2973f98e10d96f86832fb49f Author: Benjamin Otte Date: Fri Jul 18 20:12:39 2014 +0200 stylecontext: Set state flags on widget paths Set the widget path state flags with the state flags of the style context. We do not update the state flags but replace the previous one because we want to be able to have save()/restore() unset state flags. gtk/gtkstylecontext.c | 4 ++++ 1 file changed, 4 insertions(+) commit 09dd0ffcd0db95c657f125aa5efbba1d95efd26d Author: Benjamin Otte Date: Fri Jul 18 20:07:27 2014 +0200 API: Add gtk_widget_path_iter_set_state() And the corresponding gtk_widget_path_iter_get_state(). docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkwidgetpath.c | 75 ++++++++++++++++++++++++++++++++++++ gtk/gtkwidgetpath.h | 7 ++++ 3 files changed, 84 insertions(+) commit 71d47ef60713d5f274fdb13ee6cf9939a0b35984 Author: Lapo Calamandrei Date: Sat Jul 19 15:42:17 2014 +0200 Adwaita: suble gradient on progressbars gtk/resources/theme/Adwaita/_common.scss | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 11 insertions(+) commit 3fb249e376d56f7142002762f38f32482e7515ab Author: Lapo Calamandrei Date: Sat Jul 19 14:03:28 2014 +0200 Adwaita: progressbar tweaks gtk/resources/theme/Adwaita/_common.scss | 30 +++++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 +++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 19 ++++++++++---- 3 files changed, 48 insertions(+), 12 deletions(-) commit 58777d60844f3d5d4a485cac76758bac980dfaab Author: Lapo Calamandrei Date: Sat Jul 19 11:11:44 2014 +0200 Adwaita: insensitive backdrop state restyle Make backdrop insensitive state more similar to the focused windows one, mostly to make dark variant more usable and focused -> backdrop transition less distracting. gtk/resources/theme/Adwaita/_common.scss | 23 ++++------ gtk/resources/theme/Adwaita/_drawing.scss | 8 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 53 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 43 ++++++++++-------- 4 files changed, 65 insertions(+), 62 deletions(-) commit f5c2c81645af55c4e0c9799a638284c35758ef17 Author: Lapo Calamandrei Date: Sat Jul 19 10:50:01 2014 +0200 Adwaita: some code refactoring gtk/resources/theme/Adwaita/_colors.scss | 1 + gtk/resources/theme/Adwaita/_common.scss | 61 +++++++++++----------- gtk/resources/theme/Adwaita/_drawing.scss | 13 +++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +- gtk/resources/theme/Adwaita/gtk-contained.css | 5 +- 5 files changed, 44 insertions(+), 41 deletions(-) commit 61edf4093642e8be851595b42585c9b517422677 Author: Lapo Calamandrei Date: Sat Jul 19 09:59:10 2014 +0200 Adwaita: more progressbar shadows gtk/resources/theme/Adwaita/_common.scss | 26 +++++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 23 ++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 20 +++++++++++++---- 3 files changed, 54 insertions(+), 15 deletions(-) commit 27f24a1732710c48a1376d34d2e4b26c5b82db66 Author: Lapo Calamandrei Date: Sat Jul 19 09:02:07 2014 +0200 Adwaita: widget edge for level bars gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit ea9026e3a0ed91810c1b93d4f4e8dfe1925e0478 Author: Matthias Clasen Date: Sat Jul 19 01:20:28 2014 -0400 Inspector: Show directory sizes in the resource tab This is makes it easy to answer the question: how much do resources cost. It turns out that all the resources in GTK+ currently weigh around 1MB. gtk/inspector/resource-list.c | 62 +++++++++++++++++++++++++++++++++++++++--- gtk/inspector/resource-list.ui | 31 +++++++++++++++++++-- 2 files changed, 86 insertions(+), 7 deletions(-) commit a9201b8379673e8e338166e43df50d1d5d12d14b Author: Matthias Clasen Date: Sat Jul 19 00:40:09 2014 -0400 GtkProgressBar: Add style classes for edges Add left/right/top/bottom style classes according to which edge(s) of the progressbar the progress is adjacent to. Only for a fraction of 1.0 will we set more than one edge. gtk/gtkcolorswatch.c | 3 +-- gtk/gtkprogressbar.c | 32 +++++++++++++++++++++++++------- 2 files changed, 26 insertions(+), 9 deletions(-) commit 04c4e1963f3ec8230dff3197f10e42b40aea6ec0 Author: Matthias Clasen Date: Fri Jul 18 23:00:54 2014 -0400 GtkFlowBox: Add a missing #include gtk/gtkflowbox.c | 1 + 1 file changed, 1 insertion(+) commit f4db36ef49c3d6e96572e5bb5f5ef2aea1bbafae Author: Matthias Clasen Date: Fri Jul 18 19:40:12 2014 -0400 GtkToolbar: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtktoolbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 87b7103db1650c29a869303ee082033edf4fd561 Author: Matthias Clasen Date: Fri Jul 18 19:39:56 2014 -0400 GtkSpinButton: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkspinbutton.c | 1 + 1 file changed, 1 insertion(+) commit b5ee9da9249e54213d86b5af0f5aac6501d210f4 Author: Matthias Clasen Date: Fri Jul 18 19:39:44 2014 -0400 GtkSeparator: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkseparator.c | 1 + 1 file changed, 1 insertion(+) commit f1d1f139af32f3fe59018e7fe30f8b7a0a1b6118 Author: Matthias Clasen Date: Fri Jul 18 19:39:32 2014 -0400 GtkRange: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkrange.c | 2 ++ 1 file changed, 2 insertions(+) commit 18a92992a0b2129635e13c3315423af546c4b6e3 Author: Matthias Clasen Date: Fri Jul 18 19:39:11 2014 -0400 GtkProgressBar: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkprogressbar.c | 1 + 1 file changed, 1 insertion(+) commit 9b4001ed002b9e641ba49a1af1a261ef4d4a5471 Author: Matthias Clasen Date: Fri Jul 18 19:38:56 2014 -0400 GtkPaned: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkpaned.c | 2 ++ 1 file changed, 2 insertions(+) commit cd6c88079009f691ab2dfe88c739d4fdb53bc56a Author: Matthias Clasen Date: Fri Jul 18 19:38:37 2014 -0400 GtkGrid: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkgrid.c | 2 ++ 1 file changed, 2 insertions(+) commit 7ed133397ac648bd775b3f3f997ba14636506c22 Author: Matthias Clasen Date: Fri Jul 18 19:38:16 2014 -0400 GtkFlowBox: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkflowbox.c | 3 +++ 1 file changed, 3 insertions(+) commit b4ab29d4d5e3cd6776b93886ceb0c783dbeeb518 Author: Matthias Clasen Date: Fri Jul 18 19:37:33 2014 -0400 GtkBox: Set orientable style classes initially This was an omission, horizontal/vertical would only be set when the orientation is changed. gtk/gtkbox.c | 2 ++ 1 file changed, 2 insertions(+) commit 663a50dd4eb061f6895e3f0b25cba9f6ea896229 Author: Lapo Calamandrei Date: Fri Jul 18 23:48:33 2014 +0200 Adwaita: better colorswatches for the dark theme ...which reveals a "nice" border/fill border radius issue. gtk/resources/theme/Adwaita/_common.scss | 34 ++++++++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 15 +++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 9 +++++- 3 files changed, 47 insertions(+), 11 deletions(-) commit e2cf8d21251d67a11f7605cd974e2f511ae26d87 Author: Matthias Clasen Date: Fri Jul 18 17:47:20 2014 -0400 GtkLevelBar: implement clipping So level bars can have shadows, too. gtk/gtklevelbar.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit cf62f661016416de7437166abe4b3ca2c24a8def Author: Lapo Calamandrei Date: Fri Jul 18 23:30:16 2014 +0200 Adwaita: widget edge for switch and progressbars gtk/resources/theme/Adwaita/_common.scss | 18 ++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 15 ++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 15 ++++++--------- 3 files changed, 22 insertions(+), 26 deletions(-) commit 51a5cfc7836dab545a4a5772a35371dbc19f537b Author: Matthias Clasen Date: Fri Jul 18 16:37:18 2014 -0400 GtkSwitch: implement clipping So switches can have shadows, too. https://bugzilla.gnome.org/show_bug.cgi?id=733360 gtk/gtkswitch.c | 3 +++ 1 file changed, 3 insertions(+) commit c2907b8532698d8a60bcecb80c6084b9711a55a9 Author: Matthias Clasen Date: Fri Jul 18 16:31:17 2014 -0400 GtkProgressBar: implement clipping This allows progress bars to have shadows. https://bugzilla.gnome.org/show_bug.cgi?id=733361 gtk/gtkprogressbar.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 17ad36bf8b7037eb28a97cf6b477c3aa6762cbe9 Author: Matthias Clasen Date: Fri Jul 18 14:33:09 2014 -0400 Trivial cleanup tests/dialog.ui | 2 -- 1 file changed, 2 deletions(-) commit cb91e89de3ae8d28d6301e3871bc0ff92443c694 Author: Jasper St. Pierre Date: Thu Jul 17 17:28:04 2014 -0400 wayland: Update xdg-shell gdk/wayland/protocol/xdg-shell.xml | 53 ++++++++++++++++++-------------------- 1 file changed, 25 insertions(+), 28 deletions(-) commit 46bcfa0098132d7dbbc3cdc4e4091efa8a02e558 Author: Jasper St. Pierre Date: Thu Jul 17 16:48:34 2014 -0400 gdkwindow-wayland: Take out the margins for now xdg-shell has moved on and replaced set_margin with set_window_geometry. To properly support set_window_geometry requires a full rewrite of how we've been dealing with toplevel windows for now, so just don't set any margin until we can have a proper toplevel window abstraction in GTK+. gdk/wayland/gdkwindow-wayland.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit a3c12ffccbab48fd56dde217ca0ee480d467132b Author: Jasper St. Pierre Date: Thu Jul 17 11:46:21 2014 -0400 gtkwindow: Clean up gtk_window_move_resize a bit more Don't shadow existing variables. Instead of sharing the allocation and then overwriting the width/height when convenient, declare it in the block we use it in, as, really, the three different paths are all extremely different, and there's no sense in sharing the variable. gtk/gtkwindow.c | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) commit 927b5a592f47b0128ffd9b10d3f924132eabe422 Author: Jasper St. Pierre Date: Thu Jul 17 11:03:27 2014 -0400 gtkwindow: Remove a bogus comment gtk_window_configure_event certainly doesn't fill the new allocation in. We're filling it in right here! gtk/gtkwindow.c | 1 - 1 file changed, 1 deletion(-) commit 488ca4ab30c454016b65426948fd71a52466ca2a Author: Jasper St. Pierre Date: Thu Jul 17 13:09:48 2014 -0400 icon-browser: Improve the look a tiny bit Add some padding and a border around the scrolled window. demos/icon-browser/window.ui | 2 ++ 1 file changed, 2 insertions(+) commit 24e707315f36ff872b99e9a68cc73ff78e46598a Author: Matthias Clasen Date: Thu Jul 17 12:53:54 2014 -0400 GtkDialog: Be more careful in handling the headerbar Just because an action widget has a parent thats a headerbar, it is not guaranteed that it is 'our' headerbar. Add some assertions to enforce this. gtk/gtkdialog.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 7b407145412aa236e0a5efe5a9be4f6d4ce1fd0d Author: Matthias Clasen Date: Thu Jul 17 12:49:57 2014 -0400 GtkDialog: rejigger headerbar handling We can't avoid calling set_titlebar in buildable_add_child, since GtkBuilder assumes that it can e.g. call grab_default at the end, which only works if the widget is inside a toplevel at that point. Instead, drop the titlebar and clean up priv->headerbar in constructed if we find that we don't want a headerbar. gtk/gtkdialog.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit df007fb982f7e8928770d64b57b3b14986799518 Author: Matthias Clasen Date: Thu Jul 17 12:11:35 2014 -0400 Add another dialog to test This one is taken from polari, and currently doesn't work as expected. tests/dialog.ui | 261 +++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/testdialog.c | 21 +++++ 2 files changed, 282 insertions(+) commit dc1317a521f956cc1e42f442b43a87a48aa28337 Author: Sébastien Wilmet Date: Tue Jul 15 19:02:54 2014 +0200 textiter: fix bug in find_visible_by_log_attrs() find_by_log_attrs() can return true only in this case: return moved && !gtk_text_iter_is_end (arg_iter); So if the iter moved (i.e. something has been found), but is the end iter, find_by_log_attrs() returns false. Now the same checks are made in find_visible_by_log_attrs(). The public functions using find_visible_by_log_attrs() say in their documentation that false is returned for the end iter, hence the check with gtk_text_iter_is_end(). https://bugzilla.gnome.org/show_bug.cgi?id=618852 gtk/gtktextiter.c | 11 +++++++++-- testsuite/gtk/textiter.c | 4 ++-- 2 files changed, 11 insertions(+), 4 deletions(-) commit 69d20f53e237806a64d2ffbe0a859b696667a76f Author: Sébastien Wilmet Date: Tue Jul 15 17:07:14 2014 +0200 textiter: fix bug in FindLogAttrFunc functions attrs[len] is the last PangoLogAttr available, at the iter position after the last character of the line. For a line in the middle or the start of the buffer, the '\n' is taken into account by 'len'. For example the is_word_end is generally reached before the '\n', not after. But for the last line in the buffer, where there is no trailing '\n', it is important to test until attrs[len]. The bug didn't occur before because find_by_log_attrs() worked directly on the iter passed as the function argument. But now it is no longer the case. https://bugzilla.gnome.org/show_bug.cgi?id=618852 gtk/gtktextiter.c | 6 +++--- testsuite/gtk/textiter.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) commit 76f3866bd35b29edec770e107d8e2bb44fbd5ec9 Author: Sébastien Wilmet Date: Tue Jul 15 15:24:36 2014 +0200 textiter: make the FindLogAttrFunc functions clearer - Return true (found) and false (not found) explicitly. - Set found_offset only when something has been found. find_backward_cursor_pos_func() was a bit different, the while loop had the condition "offset > 0" but the return was "offset >= 0". Probably a micro-optimization, since offset == 0 is always a cursor position. Anyway now the code is the same as the other functions. https://bugzilla.gnome.org/show_bug.cgi?id=618852 gtk/gtktextiter.c | 84 +++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 60 insertions(+), 24 deletions(-) commit 37f5f78f810bccda3ff6442686a02ca48ee4b5b4 Author: Sébastien Wilmet Date: Tue Jul 15 14:51:02 2014 +0200 textiter: simplify FindLogAttrFunc The min_offset parameter was always 0. Since there are some bugs in this code, it'll be clearer if there are fewer parameters. https://bugzilla.gnome.org/show_bug.cgi?id=618852 gtk/gtktextiter.c | 99 ++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 56 deletions(-) commit 5d666344820bc23330f128109c011848ec744736 Author: Sébastien Wilmet Date: Sun Jul 13 22:20:25 2014 +0200 textiter: fix bug in find_by_log_attrs() Do not work with the iter passed as the function argument. Work with another iter, and set it back to the function argument only if something has been found. This fixes a few unit tests. But there are regressions for a few others. https://bugzilla.gnome.org/show_bug.cgi?id=618852 gtk/gtktextiter.c | 33 +++++++++++++++++---------------- testsuite/gtk/textiter.c | 11 ++++++----- 2 files changed, 23 insertions(+), 21 deletions(-) commit 79c835a151a054c3d12782a15951159fc860c465 Author: Sébastien Wilmet Date: Sun Jul 13 22:04:04 2014 +0200 tests textiter: unit tests for sentence boundaries As the FIXME comment shows, there is a bug. It is the same bug as for the word boundaries. https://bugzilla.gnome.org/show_bug.cgi?id=618852 testsuite/gtk/textiter.c | 85 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) commit 96de203ee02de42f211ee27d0197e632fdc284d3 Author: Sébastien Wilmet Date: Sun Jul 13 19:33:29 2014 +0200 tests textiter: unit tests for visible word boundaries As the FIXME comments show, there are several problems. https://bugzilla.gnome.org/show_bug.cgi?id=618852 testsuite/gtk/textiter.c | 84 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 84 insertions(+) commit f7e94a73892bd6473f99f887340f35cd25b62596 Author: Matthias Clasen Date: Thu Jul 17 06:48:36 2014 -0400 GtkPathBar: Add a style class This will allow nautilus to reuse the style on its own pathbar widget. gtk/gtkpathbar.c | 1 + 1 file changed, 1 insertion(+) commit f3ef3165df34ab509a7165165360680bf30dd0cb Author: Matthias Clasen Date: Thu Jul 17 00:59:34 2014 -0400 GtkIconTheme: Make spinners scale in hi-dpi The Adwaita icon theme ships spinners in a scalable directory with MaxSize=32 and Scale=1. One way to make them scale up in hi-dpi would be to add an @2 directory with MaxSize=32 and Scale=2, but that directory would also be consulted in non hi-dpi situations and give us an effective spinner max size of 64. Instead, treat svg icons implicitly as hi-dpi, and scale them up to MaxSize * 2 when in hi-dpi. gtk/gtkicontheme.c | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) commit a80e77ff95b6c87d54f4e63be9f802b1d5474def Author: Volker Sobek Date: Wed Jul 16 01:09:05 2014 +0200 GtkMenu: Don't subtract shadow from requisition This was causing menus to show up in the wrong position in case the menu popped up towards the top and/or left. The change to the requisition was in error; it is the allocated size of the menu, not the toplevel, and doesn't include the shadow. https://bugzilla.gnome.org/show_bug.cgi?id=591258 gtk/gtkmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bb6057bfb709786bcc7c8dea71ee37f6fa53ec5e Author: Matthias Clasen Date: Wed Jul 16 21:08:27 2014 -0400 GtkStackSwitcher: Simplify setting of .needs-attention Always add the .needs-attention style class, even if the button is active. Themes can already avoid showing anything in this case. gtk/gtkstackswitcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e084e5c67e9241b479ef5fc7fff857445a7d9956 Author: Lapo Calamandrei Date: Wed Jul 16 19:47:54 2014 +0200 Adwaita: increase padding on header-bar and action-bar text buttons gtk/resources/theme/Adwaita/_common.scss | 7 ++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained.css | 5 ++++- 3 files changed, 14 insertions(+), 3 deletions(-) commit 0d1b036e587c35f7b89aba942979e3d53abf4b47 Author: Lapo Calamandrei Date: Wed Jul 16 19:42:17 2014 +0200 Adwaita: stack switcher needs-attention class style gtk/resources/theme/Adwaita/_common.scss | 56 ++++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 24 ++++++++++ 3 files changed, 104 insertions(+) commit 4053ee0cca04502280df24554292d43a205c9f67 Author: Lapo Calamandrei Date: Wed Jul 16 19:35:29 2014 +0200 GtkStackSwitcher: center the button child Set button child halign to GTK_ALIGN_CENTER since I need it to style the needs-attention class, see: https://bugzilla.gnome.org/show_bug.cgi?id=707153 gtk/gtkstackswitcher.c | 1 + 1 file changed, 1 insertion(+) commit 4af59dbd98372d1b6634831804838780344b1c76 Author: Volker Sobek Date: Wed Jul 16 13:25:22 2014 +0200 Adwaita: Add back a margin of 4px to .menu This had originally been added to Adwaita in the gnome-themes-standard commit 7bf01517bc2 but was lost during 3.13 theme changes, causing bug 591258 to reappear. gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 283a274d32d5c07c157b660cd69d7be29b1d9014 Author: Chun-wei Fan Date: Wed Jul 16 18:04:38 2014 +0800 MSVC Introspection Builds: Filter Out gtkx.h Like the autotools builds of the introspection files, don't include gtkx.h in the introspection prepropcessing as it should not be included by other GTK+ headers. build/gen-file-list-gtk.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 64e5d6ee3aa57d0a03b7126710f81100b90faa4e Author: Chun-wei Fan Date: Wed Jul 16 17:58:20 2014 +0800 gtk-inspector: size-groups.c: Fix build on pre-C99 Declare variables at the top of the block. gtk/inspector/size-groups.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fffd58fca80d8b1cd65d7322cca07dd101a5eb20 Author: Matthias Clasen Date: Tue Jul 15 23:45:27 2014 -0400 GtkListBox: Mention activatable and selectable in the docs gtk/gtklistbox.c | 5 +++++ 1 file changed, 5 insertions(+) commit 6557a5182731bbd46e08b9e12bcf41badf8ef96d Author: Matthias Clasen Date: Tue Jul 15 23:53:37 2014 -0400 widget-factory: Mark selectable listbox rows non-activatable Having them selectable is sufficient to get the hover effect. demos/widget-factory/widget-factory.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 0bfad993ac888382d028afe28d8bc74305bcc45d Author: Matthias Clasen Date: Tue Jul 15 23:14:28 2014 -0400 GtkListBox: Implement non-selectable rows This commit changes things so that we never mark non-selectable rows as selected. gtk/gtklistbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 7932370ef85c22142ba1e0073fd276fb65326eb2 Author: Matthias Clasen Date: Tue Jul 15 23:13:43 2014 -0400 GtkListBox: Style selectable rows differently We now apply the .button style class to rows that are either activatable or selectable. Selectable rows only get the .button if the listbox allows selection. This implies that we need to update row styles when the selection mode changes, or when the row gets added to a listbox. gtk/gtklistbox.c | 37 +++++++++++++++++++++++++++++++++---- 1 file changed, 33 insertions(+), 4 deletions(-) commit 71f589c0b0c0f824f2c1101fb4142e23e794bbf9 Author: Matthias Clasen Date: Tue Jul 15 23:10:51 2014 -0400 GtkListBox: Add a GtkListBoxRow:selectable property Having an explicit property for this will make it easier to have a hover style only for rows which are activatable or selectable. Rows are selectable by default, to preserve compatibility. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtklistbox.c | 71 ++++++++++++++++++++++++++++++++++++ gtk/gtklistbox.h | 7 ++++ 3 files changed, 80 insertions(+) commit 880c6678eb54f4ccfe80306542a165fc1e3b8c44 Author: Matthias Clasen Date: Tue Jul 15 23:18:27 2014 -0400 Fix documentation typos gtk/gtklistbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 83e9e0bd8ffdfca31e6dd5c37dbe6474ce7854e6 Author: Matthias Clasen Date: Tue Jul 15 22:42:29 2014 -0400 GtkListBox: Refactor ::activatable implementation Store the value in the row struct, and split the style updating out into a separate function. gtk/gtklistbox.c | 43 ++++++++++++++++++++++++------------------- 1 file changed, 24 insertions(+), 19 deletions(-) commit dc87027af9c048d76b11a4a3b55162a2ea7ef7af Author: Matthias Clasen Date: Tue Jul 15 21:29:59 2014 -0400 Try harder to fix dialog titles https://bugzilla.gnome.org/show_bug.cgi?id=733099 gtk/gtkdialog.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit db189a892bf296ddb7f673196f21e1ad88b2911f Author: Matthias Clasen Date: Tue Jul 15 21:29:20 2014 -0400 Update examples for new open-menu icon examples/application10/window.ui | 8 +------- examples/application8/window.ui | 8 +------- examples/application9/window.ui | 8 +------- 3 files changed, 3 insertions(+), 21 deletions(-) commit e3d725ed8c72db5e1b2edb1d6bc4ffa8945c4a22 Author: Руслан Ижбулатов Date: Tue Jul 15 16:42:39 2014 +0000 GktIconTheme: Be even more careful with paths This is a followup for 5a252f13a863c00ccd9901afa110e85836a6af4c https://bugzilla.gnome.org/show_bug.cgi?id=733189 gtk/gtkicontheme.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 2e4018c3867f089f305d3b4f19d9f60486cb9ebb Author: Jasper St. Pierre Date: Tue Jul 15 14:42:36 2014 -0400 gtkwindow: Clean up the code for an optimization It's hard to figure out what the "expected_reply" means except under close examination -- it's actually talking about whether this was a reply to a ConfigureRequest or not. The inversion in the check doesn't help either. Make the code cleaner by moving it above the freeze/thaw case, and making the check more explicit and without a confusing variable. If we haven't sent any ConfigureRequests out, then it must be a gratuitous ConfigureNotify. gtk/gtkwindow.c | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) commit b7a8bde89581fa1d9aa800828c1347fdb4507aa7 Author: Jasper St. Pierre Date: Tue Jul 15 14:41:04 2014 -0400 gtkwindow: Fix the comment for an optimization The optimization was incorrect, and so it was changed in commit 2bf6824, but the comment to go along with it was never updated. gtk/gtkwindow.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit e201e6b230bd9d868c83c9ea4981464265f04e41 Author: Lapo Calamandrei Date: Tue Jul 15 19:09:58 2014 +0200 Adwaita: white search bar for the file chooser gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 7 +++++++ 3 files changed, 28 insertions(+), 3 deletions(-) commit 8c57dcec282e55e0c4a6cba2b546347ad4f059b1 Author: Lapo Calamandrei Date: Tue Jul 15 17:58:13 2014 +0200 Adwaita: correct background color for backdrop treeview column headers gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit 64ee268d7128c9feac335ca5f93547e0c55f624f Author: Lapo Calamandrei Date: Tue Jul 15 17:52:11 2014 +0200 Adwaita: brighter depressed buttons gtk/resources/theme/Adwaita/_drawing.scss | 16 ++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 56 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 56 +++++++++++----------- 3 files changed, 60 insertions(+), 68 deletions(-) commit a43b90e49f83d159a7a799e8792e0b800d40a03e Author: Benjamin Otte Date: Tue Jul 15 14:35:32 2014 +0200 pathbar: Implement clipping .. so the path bar's buttons can have shadows. gtk/gtkpathbar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit df0d3caa9a4085732884f8e33be1e2bf666db769 Author: Lapo Calamandrei Date: Tue Jul 15 13:28:40 2014 +0200 Adwaita: reorderable tabs inhert in backdrop gtk/resources/theme/Adwaita/_common.scss | 3 +++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 7 insertions(+) commit 3bb6b36c749e0ff1531d606dd4d2a84dd525b081 Author: Lapo Calamandrei Date: Tue Jul 15 13:01:48 2014 +0200 Adwaita: fix backdrop insensitie flat button gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) commit 9e770d5aad7d8ca431d22e036e4830f2bb572445 Author: Lapo Calamandrei Date: Tue Jul 15 10:24:08 2014 +0200 Adwaita: selected list rows inhert in backdrop gtk/resources/theme/Adwaita/_common.scss | 7 +++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 12 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 12 ++++++------ 3 files changed, 17 insertions(+), 14 deletions(-) commit f34e7ebc63e60394ef2f3863d6e0deb41919b42b Author: Lapo Calamandrei Date: Tue Jul 15 09:11:56 2014 +0200 Adwaita: darker hover state again for spinbuttons button in the dark variant. And for hovered list rows, since it works better and it's less distracting. gtk/resources/theme/Adwaita/_common.scss | 8 ++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) commit 3878519449d3ca81c42feff6f58a6fdcd34bbb6b Author: Jasper St. Pierre Date: Mon Jul 14 18:58:27 2014 -0400 window: Use CAIRO_OPERATOR_SOURCE to clear to background Some windows, like GtkWindow and some other apps, set a transparent background. The guarantee for begin_paint_region is that there should be a full clear to the specified background color, not a composite against what was there before. This fixes repaint artifacts in Wayland and Weston in a better way than 76922c169f0699d9b85ef3eff2170f2cede1782c. gdk/gdkwindow.c | 1 + 1 file changed, 1 insertion(+) commit b0bd9d82a30079f9fd747426e4c769c514810e81 Author: Jasper St. Pierre Date: Mon Jul 14 19:12:19 2014 -0400 Revert "wayland: Prevent stale paints and weird artifacts when using Weston" This reverts commit 76922c169f0699d9b85ef3eff2170f2cede1782c. This is too local a fix, and is broken if the user paints to a small region, as the entire buffer will be wiped. gdk/wayland/gdkdisplay-wayland.c | 7 ------- gdk/wayland/gdkprivate-wayland.h | 1 - gdk/wayland/gdkwindow-wayland.c | 18 +----------------- 3 files changed, 1 insertion(+), 25 deletions(-) commit 5a252f13a863c00ccd9901afa110e85836a6af4c Author: Matthias Clasen Date: Mon Jul 14 18:44:00 2014 -0400 GktIconTheme: Be more careful with paths Slapping file:// in front of a path does not guarantee a working uri (e.g. if you are on windows and the path looks like F:\\...). Therefore, go back to using g_file_new_for_path if we don't have to deal with a resource. gtk/gtkicontheme.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 64c2bafafcf15f93a6417267878adcdd43b21e74 Author: Matthias Clasen Date: Mon Jul 14 18:26:33 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3011facf2f3bdf6221e52e73750522c85d37f0bc Author: Matthias Clasen Date: Mon Jul 14 14:11:25 2014 -0400 3.13.4 NEWS | 105 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 104 insertions(+), 1 deletion(-) commit 085fada849d8a87f89c1bdb9a7e2e9fa01f4e84b Author: Matthias Clasen Date: Mon Jul 14 18:21:50 2014 -0400 Force the simple im module for reftests I've seen reftests fail with IBus warnings. We should avoid that. testsuite/reftests/Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 69b25a77aa54ecc82cd304e62a29c9ba2b9fc3fc Author: Matthias Clasen Date: Mon Jul 14 14:36:41 2014 -0400 Update expected output for a11y test testsuite/a11y/colorchooser.txt | 1 + 1 file changed, 1 insertion(+) commit 3a1645fea5d15d977fbf26071e7a98dd567507b1 Author: Lapo Calamandrei Date: Mon Jul 14 18:42:37 2014 +0200 Adwaita: brighter spinbutton button active state for the dark variant. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 1345735caba089fb7285a6c7ede53de20f00e874 Author: Lapo Calamandrei Date: Mon Jul 14 18:37:31 2014 +0200 Adwaita: bright spinbutton button hover effect in the dark variant. In line with what we do for hovered list rows. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit b4519ac0cd29bbb9a31b763df490b0fb249d775f Author: Lapo Calamandrei Date: Mon Jul 14 18:29:08 2014 +0200 Adwaita: list-row style gtk/resources/theme/Adwaita/_common.scss | 41 +++++++++++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 37 ++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 37 ++++++++++++------- 3 files changed, 80 insertions(+), 35 deletions(-) commit 04b5c5f14adf6ec35498d10b5a57ccf15b36b26c Author: Matthias Clasen Date: Mon Jul 14 09:17:47 2014 -0400 widget-factory: Fix multi-selection example It turns out that activate-on-single-click interferes with the expected multi-selection behavior. Turn it off, since there's nothing to activate in this list, anyway. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 0431ee2b5746a3d66c7a53880705a0a72f6e2e5a Author: Matthias Clasen Date: Mon Jul 14 08:49:54 2014 -0400 widget-factory: Use multi-selection for the listbox example demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27244fb9d72d325075bde9340aaf45bb61c10e81 Author: Matthias Clasen Date: Mon Jul 14 08:48:33 2014 -0400 listbox: Update docs Multiple selection is supported now. gtk/gtklistbox.c | 2 -- 1 file changed, 2 deletions(-) commit 0e1a424829937abc27780da97a8bf60e81233d6c Author: Matthias Clasen Date: Sun Jul 13 23:33:26 2014 -0400 Don't use guint32 with XChangeProperty As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=710449, XChangeProperty expects data to be a long array for format 32. gdk/x11/gdkwindow-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit daf05ad987f05966556ef59e7fa3b4f69571d9bf Author: Matthias Clasen Date: Sun Jul 13 22:00:59 2014 -0400 GtkTreeView: Avoid interference with animation The animated scrolling interferes with incremental validation. As short-term solution, disable scrolling animation during incremental validation. This is not a proper solution, but it avoids broken behavior like scrollbars that are not reacting to clicks. The problem was visible, e.g. in the list view example in gtk3-demo. gtk/gtktreeview.c | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) commit aa5afb38e83937aff9d9a14800c633960dde2d67 Author: Matthias Clasen Date: Sun Jul 13 23:04:08 2014 -0400 Fix a typo A getter shouldn't return void. gtk/gtkadjustment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 332fa9b8483a783709e314f1445456dbd546d29e Author: Matthias Clasen Date: Sun Jul 13 22:54:19 2014 -0400 Revert "GtkTreeView: Avoid interference with animation" This reverts commit faa676ffa73060538a4a456531ad1810f3ff7b95. It fixed the problematic list view example in gtk3-demo, but broke all others :-( gtk/gtktreeview.c | 29 ++--------------------------- 1 file changed, 2 insertions(+), 27 deletions(-) commit faa676ffa73060538a4a456531ad1810f3ff7b95 Author: Matthias Clasen Date: Sun Jul 13 22:00:59 2014 -0400 GtkTreeView: Avoid interference with animation The animated scrolling interferes with incremental validation. As short-term solution, disable scrolling animation during incremental validation. This is not a proper solution, but it avoids broken behavior like scrollbars that are not reacting to clicks. The problem was visible, e.g. in the list view example in gtk3-demo. gtk/gtktreeview.c | 29 +++++++++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) commit 7086080b03a2b300ed152c974e94ceae7182611c Author: Matthias Clasen Date: Sun Jul 13 22:00:30 2014 -0400 Add a getter for the adjustment animation duration gtk/gtkadjustment.c | 6 ++++++ gtk/gtkadjustmentprivate.h | 1 + 2 files changed, 7 insertions(+) commit d35f664b1a98f18b19f01667a6a191f6c59bef89 Author: Matthias Clasen Date: Sun Jul 13 16:08:44 2014 -0400 inspector: Make values in general tab selectable gtk/inspector/general.ui | 55 ++++++++++++++++++++++++++++++------------------ 1 file changed, 35 insertions(+), 20 deletions(-) commit 639180790fd1bf3ff254de77ffbdd4d3b5886e5a Author: Matthias Clasen Date: Sun Jul 13 16:03:32 2014 -0400 inspector: Make listbox rows non-activatable gtk/inspector/general.ui | 364 +++++++++++++++++++-------------- gtk/inspector/visual.ui | 521 ++++++++++++++++++++++++++--------------------- 2 files changed, 493 insertions(+), 392 deletions(-) commit a67570b9e039dc0cf4c697d4dc19325c7331dd4d Author: Matthias Clasen Date: Sun Jul 13 15:51:03 2014 -0400 listbox: Avoid a warning Don't try to set an adjustment value if we don't have an adjustment. gtk/gtklistbox.c | 3 +++ 1 file changed, 3 insertions(+) commit fc6e2cc4b27403707bf2a9f4717442842914e626 Author: Owen W. Taylor Date: Fri Jul 11 16:42:38 2014 -0400 Handle resolution changes in the GDK backend code gdk_x11_display_set_window_scale() affects the interpretation of the Xft/DPI XSETTING - it is substituted inside GDK with the value of Gdk/UnscaledDPI xsetting. However, this change is not propagated to GTK+ and from GTK+ back to gdk_screen_set_resolution() until the main loop is run. Fix this by handling the screen resolution directly in gdk/x11. This requires duplication of code between GDK and GTK+ since we still have to handle DPI in GTK+ in the case that GdkSettings:gtk-xft-dpi is set by the application. https://bugzilla.gnome.org/show_bug.cgi?id=733076 gdk/gdkinternals.h | 2 ++ gdk/gdkscreen.c | 25 +++++++++++++++++++++++++ gdk/gdkscreenprivate.h | 1 + gdk/quartz/gdkscreen-quartz.c | 4 ++-- gdk/wayland/gdkscreen-wayland.c | 15 +++++++++++++++ gdk/x11/xsettings-client.c | 37 +++++++++++++++++++++++++++++++++++++ gtk/gtksettings.c | 37 ++++++++++++++++++++++--------------- 7 files changed, 104 insertions(+), 17 deletions(-) commit cef6f34fb7585fc423ec999822d515d6da0e6d6f Author: Stefano Facchini Date: Sat Jul 12 14:59:59 2014 +0200 inspector: Do not accidentally change tab in the object notebook The "hide-and-show" dance makes the notebook select the next tab. https://bugzilla.gnome.org/show_bug.cgi?id=733092 gtk/inspector/classes-list.c | 7 +++++-- gtk/inspector/size-groups.c | 24 +++++++++++++----------- gtk/inspector/style-prop-list.c | 12 ++++++++---- 3 files changed, 26 insertions(+), 17 deletions(-) commit 66428bdd70d277ad50b9928e8071498c21767715 Author: Matthias Clasen Date: Sun Jul 13 14:38:43 2014 -0400 Adwaita: Work towards working touch selection popups This fixes some of the confusion around toolbars inside .osd. The look is not perfect, but less broken than before. gtk/resources/theme/Adwaita/_common.scss | 8 +++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 14 ++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 14 ++++++++++++-- 3 files changed, 29 insertions(+), 7 deletions(-) commit d4e8a501a0f30d64db523729dd82fa92f846c1aa Author: Matthias Clasen Date: Sun Jul 13 13:57:23 2014 -0400 GtkTextHandle: Better draw() implementation Conceptually, text handles are boxes, whose content is a 'handle', so draw background, frame and handle. With this, and the previous commit, the cursor-handle theming in Adwaita now works as intended. gtk/gtktexthandle.c | 2 ++ 1 file changed, 2 insertions(+) commit f8950bf8780423a65607b6a6983b39d90f7232d4 Author: Matthias Clasen Date: Sun Jul 13 13:56:14 2014 -0400 Allow to use -gtk-icon-source for handles This will let us use icons for touch selection handles, once they use gtk_render_handle. gtk/gtkthemingengine.c | 3 +++ 1 file changed, 3 insertions(+) commit 5641fba7c690cc9c87eed00d3e7c1bf560a4d8c6 Author: Matthias Clasen Date: Sun Jul 13 13:34:59 2014 -0400 Adwaita: Try to fix up selection touch handles The text handles reuse the style context from their parent widget, and just add .cursor-handle. That means that the more specific entry selectors override the .cursor-handle theming unless we select for .entry.cursor-handle. We also need to work harder to keep the .entry styling from drawing decorations around the outlines. gtk/resources/theme/Adwaita/_common.scss | 3 +++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 ++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 7 ++++++- 3 files changed, 15 insertions(+), 2 deletions(-) commit a2ac9e1baa85fbbf5c80bd5388a31301072d5f61 Author: Matthias Clasen Date: Sun Jul 13 12:31:28 2014 -0400 listbox: Scroll headers on screen The listbox code relies on the container focus adjustment handling to scroll the cursor row on screen. But GtkContainer has no idea about row headers, so ensure that we scroll the header on screen too. gtk/gtklistbox.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit f955548f470db40262e423427a5859c172424488 Author: Matthias Clasen Date: Sun Jul 13 12:31:14 2014 -0400 widget-factory: Fix a typo demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 923642454f8610070573df3516f8627459735756 Author: Sébastien Wilmet Date: Tue Apr 15 22:11:29 2014 +0200 tests textiter: unit tests for cursor positions See the FIXME comment. https://bugzilla.gnome.org/show_bug.cgi?id=618852 testsuite/gtk/textiter.c | 100 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) commit 472fd9a75fcaa445e2a7edd63a0d2d412c190417 Author: Sébastien Wilmet Date: Fri Apr 11 13:41:50 2014 +0200 textiter: small optimization for find_by_log_attrs() Use gtk_text_iter_set_line_offset (&tmp_iter, 0) instead of gtk_text_iter_get_line(). The difference should not be big. In the first case the line doesn't need to be traversed thanks to the offset 0. For get_line(), the btree must be traversed. A temporary iter is needed to not break the behavior. But the behavior is quite strange, the function works directly on the iter passed as an argument to the function, even if the function returns FALSE (not found). So maybe a later commit will fix this strange behavior. https://bugzilla.gnome.org/show_bug.cgi?id=629129 gtk/gtktextiter.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 7f6ae622d374f2a6c5fccaa14e981c1d26cf7b35 Author: Sébastien Wilmet Date: Thu Apr 10 23:53:41 2014 +0200 textiter: remove recursivity of find_by_log_attrs() find_by_log_attrs() was a recursive function. It is replaced by an iteration. The already_moved_initially parameter was TRUE only for the recursive call, so the paramater is removed. There is also a small cleanup of the find_visible_by_log_attrs() (remove trailing spaces, fix indentation). There is still a part to optimize for a later commit. https://bugzilla.gnome.org/show_bug.cgi?id=629129 gtk/gtktextiter.c | 97 +++++++++++++++++++++++++++---------------------------- 1 file changed, 48 insertions(+), 49 deletions(-) commit 97b9d8e4aea19e414c96e13149b9d1e93b1c1bc5 Author: Matthias Clasen Date: Sun Jul 13 09:56:06 2014 -0400 GtkDialog: Set window titles in header bars This is fallout from the recent dialog changes. We don't set the headerbar as titlebar early enough anymore, so when the window title gets set, it does not get passed on to the headerbar. So, re-set it manually when the titlebar is put in place. https://bugzilla.gnome.org/show_bug.cgi?id=733099 gtk/gtkdialog.c | 1 + 1 file changed, 1 insertion(+) commit 808705327db9957026ea7ca9500cd960cfbab231 Author: Paolo Borelli Date: Sun Jul 13 15:45:21 2014 +0200 list-box: fix typo in natural size computation gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e48fc8878e5118fc5eade62059c5eb1898f03d5 Author: Matthias Clasen Date: Sun Jul 13 09:01:11 2014 -0400 Adwaita: Some theming for activatable list rows gtk/resources/theme/Adwaita/_common.scss | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++++ 3 files changed, 30 insertions(+) commit 42d97c380e50aded08b1248789bf2706c789d894 Author: Matthias Clasen Date: Sat Jul 12 21:04:54 2014 -0400 widget-factory: Use the new ::activatable property demos/widget-factory/widget-factory.c | 4 +- demos/widget-factory/widget-factory.ui | 210 ++++++++++++++++++--------------- 2 files changed, 119 insertions(+), 95 deletions(-) commit 2b9285e52e08dabed39ee4305cd82449fdba337f Author: Matthias Clasen Date: Sat Jul 12 20:37:41 2014 -0400 GtkListBox: Add an activatable property for rows This will let us theme activatable rows differently. We also avoid emitting the ::row-activated signal for rows that are not activatable. For compatibility reasons, rows are activatable by default. https://bugzilla.gnome.org/show_bug.cgi?id=733112 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtklistbox.c | 136 ++++++++++++++++++++++++++++++++++- gtk/gtklistbox.h | 6 ++ 3 files changed, 141 insertions(+), 3 deletions(-) commit 8d70b4692ff4b3d9d3e93545aa593852b513f539 Author: Matthias Clasen Date: Sat Jul 12 19:48:06 2014 -0400 widget-factory: Improve listbox example spacing demos/widget-factory/widget-factory.c | 2 ++ demos/widget-factory/widget-factory.ui | 26 ++++++++++++++++++++++---- 2 files changed, 24 insertions(+), 4 deletions(-) commit f2c6b31e679d54ebc9175536b55e90f5b29ed402 Author: Matthias Clasen Date: Sat Jul 12 17:30:25 2014 -0400 widget-factory: Fix the row activation example Turns out ::activate on listbox rows is only for key bindings, so use ::row-activated. demos/widget-factory/widget-factory.c | 36 +++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) commit 6f6cedcc66bda6f1639322d3e02bce7dda4893a6 Author: Matthias Clasen Date: Sat Jul 12 14:46:00 2014 -0400 Trivial typo fix gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3cbdbdd3e661988d4f00ca41a717dac063d7cbbf Author: Matthias Clasen Date: Sat Jul 12 14:45:16 2014 -0400 widget-factory: Demonstrate listbox headers Add a less trivial examples of headers in the colors listbox. demos/widget-factory/widget-factory.c | 118 ++++++++++++++++++++++------------ 1 file changed, 77 insertions(+), 41 deletions(-) commit 9b6563dcdccf0aa561f1e490365fcf06c5123bca Author: Matthias Clasen Date: Sat Jul 12 12:54:21 2014 -0400 widget-factory: Add some row activation to the listbox example This shows some fallout from the gesture conversion. demos/widget-factory/widget-factory.c | 24 +++++ demos/widget-factory/widget-factory.ui | 169 +++++++++++++++++++++------------ 2 files changed, 130 insertions(+), 63 deletions(-) commit 5051dc5a90aab2fd9cb721faadc99a81a0735c13 Author: Piotr Drąg Date: Sat Jul 12 15:15:44 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 1aa54bb9461f75047714500bab3329ca95a5df89 Author: Stefano Facchini Date: Sat Jul 12 11:35:42 2014 +0200 widget-factory: Do no crash on variadic arguments demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e54dad135c6cc68c9e7d4e10452018568559c090 Author: Matthias Clasen Date: Sat Jul 12 03:31:29 2014 -0400 widget-factory: Add another listbox example This one is long enough to scroll, and has selection. demos/widget-factory/widget-factory.c | 79 ++++++++++++++++++ demos/widget-factory/widget-factory.ui | 147 +++++++++++++++++++++------------ 2 files changed, 172 insertions(+), 54 deletions(-) commit 9d26ea42acd3d7a0b023c2093bb0229efb5ee222 Author: Matthias Clasen Date: Sat Jul 12 01:56:55 2014 -0400 Fix the build gtkx.h can no longer be included internally, so skip it when generating the gir. We include the individual headers anyway. gtk/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 91133fc14c19f139c4e242064482c5636ce27e27 Author: Matthias Clasen Date: Sat Jul 12 01:43:03 2014 -0400 inspector: Reshuffle Visual and General tabs Move the touchscreen switch to the other debug switches, and move the hidpi spin to the other graphical controls. Since the Visual tab is getting large, make it scroll. The General tab is purely informational again. gtk/inspector/general.c | 74 ---------------------- gtk/inspector/general.ui | 76 ----------------------- gtk/inspector/visual.c | 157 +++++++++++++++++++++++++++++++++++++++++++++-- gtk/inspector/visual.h | 6 +- gtk/inspector/visual.ui | 80 +++++++++++++++++++++++- 5 files changed, 232 insertions(+), 161 deletions(-) commit 02ccfb5d62430590b11b2d3e34b6100e4a6ddcda Author: Benjamin Otte Date: Sat Jul 12 07:16:33 2014 +0200 GtkStack: Render a background https://bugzilla.gnome.org/show_bug.cgi?id=733027 gtk/gtkstack.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit e29d0a0a383df076585685baaffefc7b8c21a7cb Author: Benjamin Otte Date: Sat Jul 12 07:12:49 2014 +0200 gtk-demo: This is not a unique app When running gtk-demo a 2nd time, it's usually to compare its output with a different version of gtk-demo. demos/gtk-demo/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 62971dd9996e675879a5596005018e643e52ee6b Author: Benjamin Otte Date: Sat Jul 12 07:11:30 2014 +0200 widget-factory: This is not a unique app When running widget-factory a 2nd time, it's usually to compare its output with a different version of widget-factory. demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9ae0b8ed272013bf8744b4e2dc35573f8ac531a2 Author: Benjamin Otte Date: Sat Jul 12 05:33:33 2014 +0200 reftests: Add test for latest fix Ensure we draw the full backgorund on labels, not just where test appears. testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/label-background.css | 11 +++++++++ testsuite/reftests/label-background.ref.ui | 16 ++++++++++++ testsuite/reftests/label-background.ui | 39 ++++++++++++++++++++++++++++++ 4 files changed, 69 insertions(+) commit f35ec11578afb6175447d838d8fcbdb25ac15fb4 Author: Benjamin Otte Date: Sat Jul 12 05:32:12 2014 +0200 label: Include all of the allocation in the clip Otherwise, the CSS background we draw would be clipped if the ink rect was smaller than the allocation (a very common thing). Broken since 37030a771059f43ad701700380719d19cbc7c966 where we clipped to the ink rect. gtk/gtklabel.c | 1 + 1 file changed, 1 insertion(+) commit 0be93f8e860bbaa7216de8e5ebe25529f099dd39 Author: Benjamin Otte Date: Sat Jul 12 05:29:54 2014 +0200 gtkx: Warn if we include gtkx.h during GTK compilation gtk/Makefile.am | 2 +- gtk/gtktestutils.c | 9 ++++++++- gtk/gtkx.h | 4 ++++ 3 files changed, 13 insertions(+), 2 deletions(-) commit fcbbe54936f0b0519836388e5827e55ef742625e Author: Benjamin Otte Date: Sat Jul 12 05:27:49 2014 +0200 a11y: Do not include gtkx.h directly gtk/a11y/gtkaccessibility.c | 4 ++-- gtk/a11y/gtktoplevelaccessible.c | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) commit 33324922814a3e550d3210b11726bc719043501d Author: Benjamin Otte Date: Sat Jul 12 04:46:20 2014 +0200 socket: Don't include gtk.h And fix remaining headers to not emit warnings gtk/gtkplug.c | 1 + gtk/gtkplug.h | 2 +- gtk/gtksocket.h | 4 ++-- gtk/gtkx.h | 2 ++ 4 files changed, 6 insertions(+), 3 deletions(-) commit c1867761caf2132a546903faf47c205655cae505 Author: Matthias Clasen Date: Sat Jul 12 00:33:19 2014 -0400 Revert "GtkStack: Render background and chain up gtk_widget_draw ()." This reverts commit f6695b962ff6462cfc8250f949505a17d0d9df6d. gtk/gtkstack.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 4ef2f24c75db05364b9608cc95f9641acb9bc667 Author: Matthias Clasen Date: Sat Jul 12 00:17:43 2014 -0400 inspector: Reshuffle visual tab gtk/inspector/visual.ui | 72 ++++++++++++++++++++++++------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) commit dfb2b6328eee318145a29653282ac81d6471ddd2 Author: Matthias Clasen Date: Sat Jul 12 00:10:59 2014 -0400 inspector: Reorder tabs Move Resources next to Objects, and Visual next to General. gtk/inspector/window.ui | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c526634fdb45b6726c0f33b94a05cbeb88d1ccca Author: Matthias Clasen Date: Fri Jul 11 23:45:18 2014 -0400 inspector: Fix the build I forgot to test the previous commit with -Wimplicit-function-delcaration, and it promptly broke. gtk/inspector/general.c | 3 +++ gtk/inspector/object-hierarchy.c | 3 ++- gtk/inspector/resource-list.c | 2 ++ gtk/inspector/widget-tree.c | 1 + gtk/inspector/window.c | 2 ++ 5 files changed, 10 insertions(+), 1 deletion(-) commit f8986d9aa7c07bfd7f7c729db7f58a5baa63dd93 Author: Matthias Clasen Date: Fri Jul 11 23:14:04 2014 -0400 inspector: Clean up includes Don't include gtk.h, instead include individual headers. And include config.h and gi18n-lib.h everywhere. gtk/inspector/action-editor.c | 7 +++++++ gtk/inspector/action-editor.h | 2 +- gtk/inspector/actions.c | 7 +++++++ gtk/inspector/actions.h | 2 +- gtk/inspector/button-path.c | 6 ++++++ gtk/inspector/button-path.h | 2 +- gtk/inspector/classes-list.c | 8 ++++++++ gtk/inspector/classes-list.h | 2 +- gtk/inspector/css-editor.c | 11 ++++++++++- gtk/inspector/css-editor.h | 2 +- gtk/inspector/data-list.c | 5 +++++ gtk/inspector/data-list.h | 2 +- gtk/inspector/general.c | 3 +++ gtk/inspector/general.h | 2 +- gtk/inspector/gestures.c | 9 ++++++++- gtk/inspector/gestures.h | 2 +- gtk/inspector/inspect-button.c | 4 ++++ gtk/inspector/menu.c | 3 +++ gtk/inspector/menu.h | 2 +- gtk/inspector/object-hierarchy.c | 7 +++++++ gtk/inspector/object-hierarchy.h | 2 +- gtk/inspector/prop-editor.c | 20 ++++++++++++++++++++ gtk/inspector/prop-editor.h | 2 +- gtk/inspector/prop-list.c | 6 ++++++ gtk/inspector/prop-list.h | 2 +- gtk/inspector/python-shell.c | 6 ++++++ gtk/inspector/python-shell.h | 2 +- gtk/inspector/resource-list.c | 5 +++++ gtk/inspector/resource-list.h | 2 +- gtk/inspector/signals-list.c | 7 +++++++ gtk/inspector/signals-list.h | 2 +- gtk/inspector/size-groups.c | 8 ++++++++ gtk/inspector/size-groups.h | 2 +- gtk/inspector/style-prop-list.c | 6 ++++++ gtk/inspector/style-prop-list.h | 3 +-- gtk/inspector/visual.c | 6 ++++++ gtk/inspector/visual.h | 2 +- gtk/inspector/widget-tree.c | 20 +++++++++++++++++--- gtk/inspector/widget-tree.h | 4 +--- gtk/inspector/window.c | 2 ++ gtk/inspector/window.h | 2 +- 41 files changed, 171 insertions(+), 28 deletions(-) commit 28998425d9bbe711187f67b104675f8273bc148c Author: Matthias Clasen Date: Fri Jul 11 22:29:58 2014 -0400 inspector: Don't mark environment variables for translations These names don't change with the locale, after all. gtk/inspector/general.ui | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0331dc984b6d7af048a92cd09fa94525fe3abaef Author: Matthias Clasen Date: Fri Jul 11 22:23:07 2014 -0400 widget-factory: Add a selectable label We already have selectable labels in some of the dialogs, but this is more direct, and also shows links in labels. demos/widget-factory/widget-factory.ui | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 0840f13c15b9ff8e1073b80cde50d2d2a13bf9f8 Author: Timm Bäder Date: Thu Jul 10 00:25:49 2014 +0200 gtklabel: Set the correct initial cursor Use GDK_XTERM only if the label is really selectable. https://bugzilla.gnome.org/show_bug.cgi?id=732970 gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3780fc787c8c958f9aa6f66bbcddb6c0605dc271 Author: Matthias Clasen Date: Fri Jul 11 21:15:03 2014 -0400 widget-factory: Adapt to label clipping change The paned examples on page 2 were implicitly relying on labels drawing unclipped. Instead of setting the view class only on the labels, set it on the paned's instead. demos/widget-factory/widget-factory.ui | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) commit f6695b962ff6462cfc8250f949505a17d0d9df6d Author: William Hua Date: Thu Jul 10 10:39:48 2014 -0400 GtkStack: Render background and chain up gtk_widget_draw (). https://bugzilla.gnome.org/show_bug.cgi?id=733027 gtk/gtkstack.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit cfec3ba7949a2f0625e2ea01d9e0da76803ed54d Author: Matthias Clasen Date: Fri Jul 11 18:09:47 2014 -0400 Document that the drag icon window will be modified This is in response to the complaint in https://bugzilla.gnome.org/show_bug.cgi?id=732991 gtk/gtkdnd.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 609f4c05ae0804e37a43bfeec60e0a75912a20a5 Author: Руслан Ижбулатов Date: Fri Aug 23 14:15:29 2013 +0000 Correctly generate def files again gdk/Makefile.am | 10 +++++++--- gtk/Makefile.am | 11 ++++++++--- libgail-util/Makefile.am | 7 +++++-- 3 files changed, 20 insertions(+), 8 deletions(-) commit 4cc613d517020f97d21d645b83d2d0d7aa5caafa Author: Ignacio Casal Quinteiro Date: Fri Jul 11 18:20:53 2014 +0200 Revert "win32: Drop remnants of def files" This reverts commit d76785a993aa71f880d5805d1c010d4d12000bc1. gdk/Makefile.am | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) commit deefe3cd6a4dc61a6fb3a7a3ff6cd57288366865 Author: Matthias Clasen Date: Fri Jul 11 10:27:00 2014 -0400 inspector: Add comments The binding support pokes some not-quite-official (or entirely private) implementation details. Add comment to warn about this. gtk/inspector/prop-editor.c | 7 +++++++ 1 file changed, 7 insertions(+) commit b86ddc940c0f49d64718cc0a3c3e9cb0a26ed75e Author: GunChleoc Date: Fri Jul 11 10:55:19 2014 +0000 Updated Scottish Gaelic translation po/gd.po | 782 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 397 insertions(+), 385 deletions(-) commit f8d696f0ed65e91c10166c9fdb44efdd3509f96c Author: GunChleoc Date: Fri Jul 11 10:51:53 2014 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 7189 +++++++++++++++++++++++++++++---------------------- 1 file changed, 4137 insertions(+), 3052 deletions(-) commit b2b3a24f1963d31397bf0690418ba57585c5e28d Author: Yosef Or Boczko Date: Fri Jul 11 12:00:04 2014 +0300 Updated Hebrew translation po/he.po | 121 +++++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 80 insertions(+), 41 deletions(-) commit f4b961c6ac1cb9194b1e4a9abd42f7171f1c8d8e Author: Matthias Clasen Date: Fri Jul 11 00:48:51 2014 -0400 inspector: Show settings bindings Similar to the previous commit, show settings bindings for properties in the property editor. gtk/inspector/prop-editor.c | 104 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) commit d8880bf7ab1ff5cc8fd4db9edd28080593a5f95c Author: Matthias Clasen Date: Thu Jul 10 23:57:37 2014 -0400 inspector: Show property bindings This commit add information about existing bindings to the property editor. gtk/inspector/prop-editor.c | 110 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 109 insertions(+), 1 deletion(-) commit c3b20e3d11481d5b9c7cc32ba323d1b543c47513 Author: Matthias Clasen Date: Thu Jul 10 19:36:26 2014 -0400 Adwaita: Set background color of header buttons Without a background, one can see titles shine through when resizable columns are squeezed. gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 425d785de55c64fe1adf3001e706c848e538c7bd Author: Matthias Clasen Date: Thu Jul 10 18:36:16 2014 -0400 inspector: Allow setting hidpi scale gtk/inspector/general.c | 43 +++++++++++++++++++++++++++++++++++++++++-- gtk/inspector/general.ui | 39 +++++++++++++++++++++++++++++++++++++-- 2 files changed, 78 insertions(+), 4 deletions(-) commit c46b954dd048a54efbc231b87521326e7b93e11e Author: Matthias Clasen Date: Thu Jul 10 18:35:54 2014 -0400 Cosmetic formatting fixes gdk/x11/gdkdisplay-x11.c | 5 +++-- gdk/x11/gdkscreen-x11.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) commit 614412e913e2bdfbb1f227f2b856e38d064c5c71 Author: Matthias Clasen Date: Thu Jul 10 17:37:26 2014 -0400 inspector: Show GSETTINGS_SCHEMA_DIR when set gtk/inspector/general.c | 3 +++ gtk/inspector/general.ui | 29 +++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) commit bce5a0f1a15235f4a70fd0d91e005301a97da99a Author: Matthias Clasen Date: Thu Jul 10 15:20:01 2014 -0400 GtkTreeViewColumn: a better way to avoid overlap The overlap was caused by using pack-end for the arrow, which causes it to be allocated from the other end. Avoid the problem by using pack-start for both the title and the arrow, and reordering them according to xalign. gtk/gtktreeviewcolumn.c | 56 +++++++++---------------------------------------- 1 file changed, 10 insertions(+), 46 deletions(-) commit 5a9c690d6a093dc6049e1d5c13a467b71c01d880 Author: Piotr Drąg Date: Thu Jul 10 20:49:37 2014 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 2 ++ po-properties/POTFILES.skip | 3 +++ po/POTFILES.in | 2 ++ po/POTFILES.skip | 3 +++ 4 files changed, 10 insertions(+) commit cb6ef5c222161215e3e63d83bd4507e96f887302 Author: Carlos Garnacho Date: Thu Jul 10 16:55:00 2014 +0200 Adwaita: Add comment around the .overshoot style class And document the oddities around it, as requested by Lapo gtk/resources/theme/Adwaita/_common.scss | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 15 insertions(+) commit b3ab5088df8d98031ea56898e5bfb29eea069653 Author: Carlos Garnacho Date: Wed Jul 9 16:21:41 2014 +0200 treeview: remove needless duplicate gtk_widget_set_parent_window() call This same call happens a few lines above. gtk/gtktreeview.c | 1 - 1 file changed, 1 deletion(-) commit 4aa649e9cd9db0ae145a1ad25f63517f9baea5db Author: Matthias Clasen Date: Thu Jul 10 14:13:35 2014 -0400 GtkTreeView: Avoid overlapping sort indicator Hide the sort indicator when it would overlap the column title. gtk/gtktreeviewcolumn.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit e1112dce6d624561f8a87f47e1eff38a982ac38d Author: Benjamin Otte Date: Thu Jul 10 18:55:37 2014 +0200 reftests: Add test for the recent label changes testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/label-clipping.css | 6 ++++++ testsuite/reftests/label-clipping.ref.ui | 17 +++++++++++++++++ testsuite/reftests/label-clipping.ui | 31 +++++++++++++++++++++++++++++++ 4 files changed, 57 insertions(+) commit 3e82d12abd136d2b674bdf727688710221a974c1 Author: Benjamin Otte Date: Thu Jul 10 18:31:58 2014 +0200 widget: Remove special case for clipping Labels now call gtk_widget_set_clip() so there is no longer a need to exclude them from clipping. gtk/gtkwidget.c | 16 ---------------- 1 file changed, 16 deletions(-) commit 37030a771059f43ad701700380719d19cbc7c966 Author: Benjamin Otte Date: Thu Jul 10 18:31:15 2014 +0200 label: Add ink rect support to GtkLabel gtk/gtklabel.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit a97901b1f7a3b46629dffd8899d3687454ad920b Author: Benjamin Otte Date: Thu Jul 10 18:30:21 2014 +0200 label: Move function This just moves the function, no actual code changes. gtk/gtklabel.c | 162 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 81 insertions(+), 81 deletions(-) commit 46462ee7c4b82dab7662eb14d55aa318ac6eba31 Author: Benjamin Otte Date: Thu Jul 10 14:23:54 2014 +0200 tests: Add deprecation guards ... for newly deprecated gtk_icon_info_get_builtin_pixbuf() tests/testicontheme.c | 2 ++ 1 file changed, 2 insertions(+) commit 6a2ae1bb9058086acfc1e2a9da6f4163b876af1e Author: Benjamin Otte Date: Thu Jul 10 14:16:06 2014 +0200 reftests: Improve workaround for GtkGrid bug ... so that it works with wide separators. Or rather: with separators that don't request 1px size but any other number. Do that by making the placeholder request the same size by indeed stuffing (hidden) separators in it. testsuite/reftests/separator-size.ui | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) commit c5b0ae5574814ad62079b899bf181da4860caf84 Author: Javier Jardón Date: Thu Jul 10 16:52:44 2014 +0100 docs: Change documentation to consistenly use "Returns:" Instead "Return value:" or "Return:" gtk/gtkgesturepan.c | 2 +- gtk/gtkoverlay.c | 2 +- modules/printbackends/cloudprint/gtkcloudprintaccount.c | 2 +- modules/printbackends/cloudprint/gtkprintbackendcloudprint.c | 2 +- modules/printbackends/cloudprint/gtkprintercloudprint.c | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) commit 88830744978e9f3fdeacc76028b59855743e47c6 Author: Matthias Clasen Date: Thu Jul 10 10:33:27 2014 -0400 inspector: Disable non-functional controls Some of the features we expose can be hardcoded via environment variables. In that case, don't confuse the user by letting them change settings that have no effect. gtk/inspector/general.c | 11 +++++++++++ gtk/inspector/visual.c | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) commit 7fa4d60bf3408d7c773fe8e84f6e610324e15bf9 Author: Matthias Clasen Date: Thu Jul 10 10:11:10 2014 -0400 inspector: Add a switch for simulating touch This makes it easy to test test touchscreen features with a plain old mouse. gtk/inspector/general.c | 26 ++++++++++++++++++++++++++ gtk/inspector/general.ui | 41 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) commit 34245515e532017653b5b84132654734b4d977de Author: Matthias Clasen Date: Thu Jul 10 10:10:11 2014 -0400 Add a 'touchscreen' debug flag This has the same effect as the GTK_TEST_TOUCHSCREEN environment variable, but can be toggled at runtime. docs/reference/gtk/running.sgml | 4 ++++ gtk/gtkdebug.h | 3 ++- gtk/gtkentry.c | 7 ++++++- gtk/gtkgesturesingle.c | 4 +++- gtk/gtkmain.c | 3 ++- gtk/gtktextview.c | 4 ++++ 6 files changed, 21 insertions(+), 4 deletions(-) commit 562a942f9964e95d036e0e148301d3c7e81f3095 Author: Lapo Calamandrei Date: Thu Jul 10 15:47:57 2014 +0200 Adwaita: treeview progressbar fix gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 294e82a7532ebe88d6d0709be57f25c4e0529130 Author: Lapo Calamandrei Date: Thu Jul 10 14:59:08 2014 +0200 Adwaita: saner treeview lines style plus treeview expander style gtk/resources/theme/Adwaita/_common.scss | 35 ++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 36 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 36 +++++++++++++--------- 3 files changed, 65 insertions(+), 42 deletions(-) commit 63c88d501360832a006b5538926f5c311491b94e Author: Lapo Calamandrei Date: Thu Jul 10 13:53:37 2014 +0200 Adwaita: initial and hopefully temporary treeview separation lines style gtk/resources/theme/Adwaita/_common.scss | 22 ++++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 19 +++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 19 +++++++++++++++++++ 3 files changed, 60 insertions(+) commit 797e7968f3221a575b73e0d3ef5412a423c8fa69 Author: Matthias Clasen Date: Thu Jul 10 07:15:33 2014 -0400 widget-factory: Enable even/odd rows More treeview testing. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit f78a224e9629ac7b304306c0eb51e8fdf1f1728f Author: Matthias Clasen Date: Thu Jul 10 06:31:45 2014 -0400 widget-factory: More treeview examples The new treeview on page 3 sports expanders, grid and tree lines, alternating row colors, etc. demos/widget-factory/widget-factory.c | 104 +++++++++++++ demos/widget-factory/widget-factory.ui | 260 +++++++++++++++++++++++++++------ 2 files changed, 316 insertions(+), 48 deletions(-) commit 378c2901501a29b50f75a40bde301b79e0b70241 Author: Lapo Calamandrei Date: Thu Jul 10 12:22:41 2014 +0200 Adwaita: drawing functions housekeeping gtk/resources/theme/Adwaita/_drawing.scss | 50 +++++++++++++++---------------- 1 file changed, 24 insertions(+), 26 deletions(-) commit 17b679c86670d22229b851fc2ce3def6e0b6dea0 Author: Lapo Calamandrei Date: Thu Jul 10 11:55:51 2014 +0200 Adwaita: simplify buttons drawing function gtk/resources/theme/Adwaita/_drawing.scss | 60 ++++++++-------------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 32 ++++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 32 ++++++------ 3 files changed, 53 insertions(+), 71 deletions(-) commit 5f549fa7cb3c1cd4ea288386c4d6fbe41f42c614 Author: Matthias Clasen Date: Thu Jul 10 00:16:04 2014 -0400 Docs: Mention that shadow type is a lie As requested here: https://bugzilla.gnome.org/show_bug.cgi?id=659926#c2 gtk/gtkenums.h | 4 ++++ 1 file changed, 4 insertions(+) commit d3b481ac192637844133498f24abe01fdd50d5c3 Author: Carlos Garnacho Date: Mon Jun 30 20:46:59 2014 +0200 Adwaita: Set a background color for the overshoot class https://bugzilla.gnome.org/show_bug.cgi?id=731297 gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit 7bdc219464f786ef067554bb7c059f84ccbdacb8 Author: Carlos Garnacho Date: Wed May 28 19:17:02 2014 +0200 scrolledwindow: Remove overshoot window and displacement animation The displacement animation has been replaced by edge gradients, that have a stronger color the harder overshooting is hit. This makes it possible to remove the internal overshoot window, which was merely used to have contents displaced when overshooting to top/left. Overshooting to bottom/right used to cause queue_resize() to be called on the scrolled window, this isn't necessary anymore either. https://bugzilla.gnome.org/show_bug.cgi?id=731297 gtk/gtkscrolledwindow.c | 267 ++++++++++++++++++------------------------------ 1 file changed, 99 insertions(+), 168 deletions(-) commit 18c113cde1b65b947b57a7a80f4b5bf23787d5bb Author: Carlos Garnacho Date: Mon Jun 30 20:45:32 2014 +0200 stylecontext: Add GTK_STYLE_CLASS_OVERSHOOT This class is meant to render the hint on scrolledwindow corners when scrolling past-limits. https://bugzilla.gnome.org/show_bug.cgi?id=731297 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstylecontext.h | 10 ++++++++++ 2 files changed, 11 insertions(+) commit 7178e342b15143db8f86cc560fe8e1e217d582a6 Author: Carlos Garnacho Date: Tue Jul 8 16:06:00 2014 +0200 textview: Call gtk_widget_size_allocate() on children widgets invariably There was this hack, taken verbatim from GtkCList according to the comment, that would recursively translate the allocation during scrolling, and set it on children widgets through the direct gtk_widget_set_allocation() setter. Since commit 4f89eb05cf8a, this has caused the wrong clipping areas to children widgets of a textview. The reasons for this seem lost in time, and the approach seems indeed wrong for windowed widgets as the repositioning of those windows couldn't happen. So replace all of this with just a gtk_widget_size_allocate() call, which does work ok for the children widgets embedded in the "multiple views" gtk demo, and ought to work for every other widget. https://bugzilla.gnome.org/show_bug.cgi?id=732900 gtk/gtktextview.c | 80 +++++++------------------------------------------------ 1 file changed, 9 insertions(+), 71 deletions(-) commit edc5cb4e473c8036e56eb86f4d16cf1c36ecb43e Author: Carlos Garnacho Date: Wed Jul 9 16:20:01 2014 +0200 treeview: Add back the Gdk pointer grab during column dragging The reparenting happening on the column header so it gets a movable window breaks the implicit grab, so this is one situation were we want a pointer grab, if just to replace it. https://bugzilla.gnome.org/show_bug.cgi?id=732933 gtk/gtktreeview.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 5fb9c4441eb8e1b2db0ea321d38278f122effd5b Author: Carlos Garnacho Date: Wed Jul 9 16:18:05 2014 +0200 treeview: Fix horizontal position during column dragging Code was expecting view coordinates, not widget ones, as we're only dealing with horizontal displacements, just adding the horizontal adjustment value suffices. https://bugzilla.gnome.org/show_bug.cgi?id=732933 gtk/gtktreeview.c | 4 ++++ 1 file changed, 4 insertions(+) commit f547466029ea66c91868dea2ee990029c1e310c5 Author: Matthias Clasen Date: Wed Jul 9 21:19:09 2014 -0400 Make Adwaita the default theme across platforms This ensures that we have a polished out-of-the-box appearance on all platforms. gtk/gtksettings.c | 4 ---- 1 file changed, 4 deletions(-) commit 6abcda8391b6d49791f763f3a7d623bc152cd912 Author: Matthias Clasen Date: Wed Jul 9 21:18:18 2014 -0400 Use a define for the default icon theme name We're using this name in two places, so match what we are doing for the default theme name, and use a macro. gtk/gtkicontheme.c | 4 ++-- gtk/gtksettings.c | 2 +- gtk/gtksettingsprivate.h | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) commit eee705742138005f4e715f61630a9c25fd44e623 Author: Matthias Clasen Date: Wed Jul 9 21:12:08 2014 -0400 GtkIconTheme: Rename a macro We use DEFAULT_THEME_NAME in gtksettings.c as well, and this can be a confusing when grepping, so rename this to FALLBACK_ICON_THEME. gtk/gtkicontheme.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 18ba0dee87f7c8b3a693a4a1d9a514ff3cb7cb23 Author: Matthias Clasen Date: Wed Jul 9 21:08:18 2014 -0400 GtkColorButton: Some formatting cleanups gtk/gtkcolorbutton.c | 159 +++++++++++++++++++++++++++------------------------ 1 file changed, 83 insertions(+), 76 deletions(-) commit afe8bd6db9ae11ce1ff1cb2dd5aafb4560094b8b Author: Matthias Clasen Date: Wed Jul 9 20:50:47 2014 -0400 GtkColorButton: Use a color swatch This saves some code and lets us reuse the color swatch styling. Among other things, this fixes a lack of discernible border when the selected color is very similar to the background. https://bugzilla.gnome.org/show_bug.cgi?id=680885 gtk/gtkcolorbutton.c | 99 ++++++++++------------------------------------------ 1 file changed, 19 insertions(+), 80 deletions(-) commit b68a28fbb02adc716eb6c00ad1338fc514fd39b5 Author: Matthias Clasen Date: Wed Jul 9 20:44:06 2014 -0400 GtkColorSwatch: Respect an explicitly set size This will let us use a suitably sized color swatch in the color button. gtk/gtkcolorswatch.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit 86cceab75d0a7366223c9787f8b0aed43279ead9 Author: Matthias Clasen Date: Wed Jul 9 19:52:55 2014 -0400 builder test: Adjust expections Dialogs no longer set a headerbar as titlebar unless use-header-bar is set to 1. Update the test to do that. testsuite/gtk/builder.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit da699bcabad9b5f9c3f5847318640ee37cf60a81 Author: Matthias Clasen Date: Wed Jul 9 19:46:16 2014 -0400 app chooser: Move buttons to template Use the new builder dialog action support. gtk/gtkappchooserdialog.c | 5 ----- gtk/resources/ui/gtkappchooserdialog.ui | 19 +++++++++++++++++++ gtk/resources/ui/gtkappchooserdialog.ui.h | 2 ++ 3 files changed, 21 insertions(+), 5 deletions(-) commit 9aad874fadd2486ed96a8b69038ac5b6ddfc15c1 Author: Matthias Clasen Date: Wed Jul 9 19:43:20 2014 -0400 font chooser: Move buttons to template Use the new builder dialog action support. gtk/gtkfontchooserdialog.c | 6 +----- gtk/resources/ui/gtkfontchooserdialog.ui | 19 +++++++++++++++++++ gtk/resources/ui/gtkfontchooserdialog.ui.h | 2 ++ 3 files changed, 22 insertions(+), 5 deletions(-) commit 54364385209cb89b29c9513347794c39098e3d8c Author: Matthias Clasen Date: Wed Jul 9 19:38:29 2014 -0400 a11y: Update expected output for color chooser testsuite/a11y/colorchooser.txt | 173 ++++++++++++++++++++-------------------- 1 file changed, 86 insertions(+), 87 deletions(-) commit ee06083c6bde9e9b73054d98838feed6b9a244fc Author: Matthias Clasen Date: Wed Jul 9 19:39:19 2014 -0400 color chooser: Move buttons to template We can now use the new builder action support. gtk/gtkcolorchooserdialog.c | 8 ++------ gtk/resources/ui/gtkcolorchooserdialog.ui | 19 +++++++++++++++++++ gtk/resources/ui/gtkcolorchooserdialog.ui.h | 2 ++ 3 files changed, 23 insertions(+), 6 deletions(-) commit 8afd4b71e97ab5d307ef079cb8add914e1041dc9 Author: Matthias Clasen Date: Wed Jul 9 19:40:11 2014 -0400 GtkDialog: Fix setting of default action The recent reshuffling caused an ordering problem where we would hide the action area before relocating the buttons to the header bar. But hiding makes the default button loose its defaultness. Rearrange things so that we move the buttons before hiding the action area, and thus preserve the default. gtk/gtkdialog.c | 75 ++++++++++++++++++++++----------------------------------- 1 file changed, 29 insertions(+), 46 deletions(-) commit ef3b5ca73593e5078f1456ca438845d3fe08dd99 Author: Lapo Calamandrei Date: Wed Jul 9 19:37:41 2014 +0200 Adwaita: vertically linked buttons gtk/resources/theme/Adwaita/_common.scss | 26 +++++++++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 12 ++++++++++ 3 files changed, 47 insertions(+), 3 deletions(-) commit 2f12fd559952c2f3c7d89417d28baa29082a5037 Author: Matthias Clasen Date: Wed Jul 9 13:18:41 2014 -0400 gtk-demo: Fix expand button box demo Set the spacing to 0, so the buttons are actually linked. demos/gtk-demo/button_box.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit cd71a23ee2827dc246bf399d7b5274e67e1c33d4 Author: Stefano Facchini Date: Tue Jul 8 14:12:39 2014 +0200 icontheme: Use correct URI for icons in resource paths Fix based on a patch by Stefano Faccini, https://bugzilla.gnome.org/show_bug.cgi?id=732894 gtk/gtkicontheme.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit b31a310d7d9785d48d9d7711d8bf197e04a80f9d Author: Matthias Clasen Date: Wed Jul 9 10:13:38 2014 -0400 widget-factory: Use the new application resource support demos/widget-factory/Makefile.am | 1 + demos/widget-factory/menus.ui | 19 +++++++++++++++++++ demos/widget-factory/widget-factory.c | 17 ----------------- demos/widget-factory/widget-factory.gresource.xml | 3 +++ demos/widget-factory/widget-factory.ui | 15 --------------- 5 files changed, 23 insertions(+), 32 deletions(-) commit 0abb2f57fdc6725336b73363e35c3c17fd324895 Author: Matthias Clasen Date: Wed Jul 9 08:03:57 2014 -0400 Update more places for the changed icon name gtk/gtkmenubutton.c | 2 +- testsuite/gtk/check-icon-names.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit a673553abac7c9b48bc869a11223c6463a6e9466 Author: Jakub Steiner Date: Wed Jul 9 13:35:25 2014 +0200 widget-factory: the menu icon name changed demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 86e4283ae21f25f3b501dc6451ec16f96f73a239 Author: Adam Dingle Date: Wed Jul 9 06:37:59 2014 -0400 Require GLib 2.41.2 (for g_application_get_resource_base_path) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit add36eb48863505d8668c5d880b06ada57e57dd4 Author: Allan Day Date: Tue Jul 8 10:19:47 2014 +0100 message dialogs - remove extraneous padding Removes unnecessary padding above message dialog headings. This makes the dialogs look much more balanced. https://bugzilla.gnome.org/show_bug.cgi?id=732857 https://bugzilla.gnome.org/show_bug.cgi?id=732882 gtk/resources/ui/gtkmessagedialog.ui | 1 - 1 file changed, 1 deletion(-) commit d5b96b95a08c4491797bea470835278f74b907c5 Author: Carlos Garnacho Date: Tue Jul 8 15:35:18 2014 +0200 range: Avoid animations during slider drag If the drag gesture gets a GtkGesture::updated signal, the user is directly interacting through pointer/touch with the range slider, animating the adjustment value change in this situation can produce perceived lag, so set the value immediately when this is happening. gtk/gtkrange.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit ea19e595a170cfdfbaaaa1d7ca784a1fb80b8a9c Author: Carlos Garnacho Date: Tue Jul 8 15:27:06 2014 +0200 textview: Fix cursor positioning oddities when scrolling through Pg Up/Down Use the adjustment target value when repositioning the cursor, and remove the checks that ensured the cursor was made onscreen immediately, as there will be definitely a delay on animated adjustment changes. gtk/gtktextview.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 6aa851149598961f7e80d204d92f1b4c74783b87 Author: Carlos Garnacho Date: Tue Jul 8 15:22:24 2014 +0200 textview: Use adjustment animations in gtk_text_view_scroll_to_iter() This makes keyboard-triggered scrolling animated, as this function is used underneath in order to make the cursor onscreen after it is displaced. gtk/gtktextview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit f7e983a4c98bca80f3a1fb62cb3a57ff5e5123a3 Author: Carlos Garnacho Date: Tue Jul 8 15:17:23 2014 +0200 textview: Use the adjustment target value to figure out if keynav failed When moving the cursor, compare current adjustment value with the post-animation target value, in order to avoid false "keynav failed" positives as the animation hasn't started yet, so dx/dy are still 0 at that time. gtk/gtktextview.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit ee0982ffe31cd342382402658aadb0d03a5c8b27 Author: Carlos Garnacho Date: Tue Jul 8 15:13:31 2014 +0200 adjustment: Add private gtk_adjustment_get_target_value() method This call returns either the target value if there is an ongoing animation, or the current value if there is no animation. gtk/gtkadjustment.c | 11 +++++++++++ gtk/gtkadjustmentprivate.h | 1 + 2 files changed, 12 insertions(+) commit 75b71869ae546f2a5d64af9084cb17b220a5345a Author: Lapo Calamandrei Date: Tue Jul 8 21:33:48 2014 +0200 Adwaita: minor fixes gtk/resources/theme/Adwaita/_common.scss | 7 +++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 13 insertions(+), 2 deletions(-) commit 51316a96892412203f316122bbbf603c8d285323 Author: Lapo Calamandrei Date: Tue Jul 8 18:28:02 2014 +0200 Adwaita: update comments in drawings gtk/resources/theme/Adwaita/_drawing.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2619e40715eaffd48d9c5fc77316279101b716f9 Author: Lapo Calamandrei Date: Tue Jul 8 18:24:28 2014 +0200 Adwaita: buttons on gtkvolume popup gtk/resources/theme/Adwaita/_common.scss | 130 ++++++++++++--------- gtk/resources/theme/Adwaita/_drawing.scss | 13 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 +- gtk/resources/theme/Adwaita/gtk-contained.css | 11 +- 4 files changed, 104 insertions(+), 61 deletions(-) commit 05ec121f3e837d0f48f4b45a75a179fc6ae31ed0 Author: Lapo Calamandrei Date: Tue Jul 8 16:54:00 2014 +0200 Adwaita: spinbutton button inhert in backdrop gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit 88a86fa044d50491d51274d8baa462ef1f4b89be Author: Matthias Clasen Date: Tue Jul 8 10:44:30 2014 -0400 GtkScaleButton: Add a style class to the scale button popover Set the .scale-popup style class on the popover of scale buttons. This lets us select the +/- buttons and style them appropriately. gtk/resources/ui/gtkscalebutton.ui | 3 +++ 1 file changed, 3 insertions(+) commit 71f328e8c230c54cac8b450a05a302389461d1a5 Author: Lapo Calamandrei Date: Tue Jul 8 16:42:10 2014 +0200 Adwaita: remove the image effect for buttons icons in backdrop gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit e399e68392c96e77aa7092505d2f085565020f3e Author: Lapo Calamandrei Date: Tue Jul 8 16:36:02 2014 +0200 Adwaita: inhert scrollbars in backdrop gtk/resources/theme/Adwaita/_common.scss | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) commit 0a3463391406ca95b5c5538c7b777ae7e82effe5 Author: Matthias Clasen Date: Tue Jul 8 10:27:30 2014 -0400 GtkScaleButton: Set +/- sensitivity The buttons should go insensitive when we are at their end of the scale. gtk/gtkscalebutton.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 73bc9b59dd295dff1c8e3c7fb5ce6ba7e020153e Author: Matthias Clasen Date: Tue Jul 8 09:29:28 2014 -0400 Add view-context-menu-symbolic to checked icon names testsuite/gtk/check-icon-names.c | 1 + 1 file changed, 1 insertion(+) commit 89ada1699843e86858cbcb89a8cc7a943e17d1b7 Author: Matthias Clasen Date: Tue Jul 8 08:35:33 2014 -0400 GtkMenuButton: Use view-context-menu-symbolic when direction is NONE This makes it easier to construct gear menus: just set the direction to 'none', no need to manually construct an image. gtk/gtkmenubutton.c | 2 ++ 1 file changed, 2 insertions(+) commit abb72efe8b99c53e92efc80f6d37724561565ca7 Author: Lapo Calamandrei Date: Tue Jul 8 14:35:06 2014 +0200 Adwaita: column header dnd style. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731663 gtk/resources/theme/Adwaita/_common.scss | 16 ++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 +++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 11 +++++++++-- 3 files changed, 34 insertions(+), 4 deletions(-) commit 46bc2841651e41ff4d10c03ac6c47fd0901cbdb5 Author: Matthias Clasen Date: Tue Jul 8 08:30:42 2014 -0400 Use view-content-menu-symbolic in example apps examples/application10/window.ui | 2 +- examples/application8/window.ui | 2 +- examples/application9/window.ui | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 092c26871e5f0863256ee059f3930dc4814c89ed Author: Matthias Clasen Date: Tue Jul 8 06:53:02 2014 -0400 widget-factory: Use view-context-menu-symbolic demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f15b61421afec49bc1e451f4e4d862484c5a655e Author: Lapo Calamandrei Date: Tue Jul 8 12:52:25 2014 +0200 Adwaita: selection mode and selection menu tweaks gtk/resources/theme/Adwaita/_common.scss | 23 ++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 27 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 27 +++++++++++++--------- 3 files changed, 45 insertions(+), 32 deletions(-) commit 04f94453021e7e78675c3354bf8fec42355e36dc Author: Matthias Clasen Date: Tue Jul 8 06:24:34 2014 -0400 widget-factory: Content for the action dialog Dialogs look better with some actual content. demos/widget-factory/widget-factory.ui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 79b730d2095c469f1116011ee55fb0c78f25871a Author: Yosef Or Boczko Date: Tue Jul 8 12:55:14 2014 +0300 Updated Hebrew translation po/he.po | 534 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 278 insertions(+), 256 deletions(-) commit 3478156fb46915d52bea3765cec3efac71e357d4 Author: Lapo Calamandrei Date: Tue Jul 8 11:22:59 2014 +0200 Adwaita: generalize inline and search bars So the style get applied not only to say .toolbar.search-bar, but .search-bar. Need to figure out something for possible missing borders. gtk/resources/theme/Adwaita/_common.scss | 27 ++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 38 ++++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 38 ++++++++++++---------- 3 files changed, 55 insertions(+), 48 deletions(-) commit 117b719816f7c3bcd6bf8c4342f16698b3bab059 Author: Lapo Calamandrei Date: Tue Jul 8 10:46:39 2014 +0200 Adwaita: selection menu button style fixes gtk/resources/theme/Adwaita/_common.scss | 14 +++++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 15 +++++++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 15 +++++++++++---- 3 files changed, 31 insertions(+), 13 deletions(-) commit a3b98eab9259b4dd94c20b7aa2ddc1005b43e239 Author: Lapo Calamandrei Date: Tue Jul 8 10:17:02 2014 +0200 Adwaita: fix reorderable tab label color once again gtk/resources/theme/Adwaita/_common.scss | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 ++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 9 ++++----- 3 files changed, 11 insertions(+), 13 deletions(-) commit eec6deba90d8cd771e83559f6996a1ce547d4c8a Author: Rico Tzschichholz Date: Tue Jul 8 10:12:52 2014 +0200 build: Fix make dist examples/bp/Makefile.am | 2 ++ gtk/inspector/Makefile.am | 1 + 2 files changed, 3 insertions(+) commit 461acd6e428694c89002d5bb1e4d616e7390cdf0 Author: Lapo Calamandrei Date: Tue Jul 8 10:06:57 2014 +0200 Adwaita: style notebook tab overflow arrow gtk/resources/theme/Adwaita/_common.scss | 14 ++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 12 ++++++++++++ 3 files changed, 38 insertions(+) commit d49d592316edb6ebec0972664003a11fd28fedd0 Author: Matthias Clasen Date: Mon Jul 7 22:36:56 2014 -0400 GtkImage: Add cairo surface api to the docs https://bugzilla.gnome.org/show_bug.cgi?id=732861 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkimage.c | 2 ++ 2 files changed, 4 insertions(+) commit d1099b1759cac4efd8f76201467e5d5a30e71e1f Author: Matthias Clasen Date: Mon Jul 7 19:44:39 2014 -0400 Document gtk_application_get_menu_by_id docs/reference/gtk/gtk3-overrides.txt | 0 docs/reference/gtk/gtk3-sections.txt | 1 + .../libgail-util/gail-libgail-util3-overrides.txt | 0 gtk/gtkapplication.c | 16 ++++++++++++++++ 4 files changed, 17 insertions(+) commit 1fb2756b99c55263226158a098683e8518d3c055 Author: Jasper St. Pierre Date: Mon Jul 7 16:20:50 2014 -0400 gtkwindow: Remove the unused GTK_WINDOW_REGION_EDGE gtk/gtkwindow.c | 3 --- 1 file changed, 3 deletions(-) commit 6818388b325cf949f56b5ba095bd4cc90484caf4 Author: Matthias Clasen Date: Mon Jul 7 16:27:38 2014 -0400 Bloatpad: fix up icons The references to png files were doubly broken: first, by the icon theme changes, and more recently, by the move of bloatpad. Fix them up. examples/bp/bloatpad.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit a54905dab47829fadd333e0cdb52fbbe8c0184de Author: Piotr Drąg Date: Mon Jul 7 20:50:41 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 +- po/POTFILES.skip | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 4948516100abfbc0af8c8f16086f38c3b4c04715 Author: Ryan Lortie Date: Mon Jul 7 14:36:57 2014 -0400 GtkApplication: document icon path setup https://bugzilla.gnome.org/show_bug.cgi?id=722092 gtk/gtkapplication.c | 6 ++++++ 1 file changed, 6 insertions(+) commit cc1af0f71c1f9f6799a2992239f90293d6c37ac8 Author: Ryan Lortie Date: Fri Jul 4 09:46:57 2014 -0400 bloatpad: use Gtk's automated menu loading We move our menus.ui file into Gtk's namespace so that it will get picked up. Accordingly, we no longer have to do any of the work for ourselves... https://bugzilla.gnome.org/show_bug.cgi?id=722092 examples/bp/Makefile.am | 2 +- examples/bp/bloatpad.c | 9 ++------- examples/bp/bloatpad.gresources.xml | 2 +- examples/bp/{ => gtk}/menus.ui | 0 4 files changed, 4 insertions(+), 9 deletions(-) commit 687a84692393cd26db85dbda7d78a2d3bc325ed7 Author: Ryan Lortie Date: Mon Jul 7 14:32:10 2014 -0400 GtkAppliation: setup icon theme resource path If we have a resource base path for the application, set up an icon theme search path based on it (within the default icon theme). https://bugzilla.gnome.org/show_bug.cgi?id=722092 gtk/gtkapplication.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 868ee07f492d60e87bcf4b4aa67b27de9e5ad4ea Author: Ryan Lortie Date: Fri Jul 4 09:44:12 2014 -0400 GtkApplication: use resources for loading menus Use the new ::resource-base-path property on #GApplication to attempt to load the menu layout of the application. We look first at gtk/menus-appmenu.ui or gtk/menus-traditional.ui depending on the setting of gtk_application_prefers_app_menu(). Failing that, we fall back to the common case of gtk/menus.ui (which should always be given). This provides a convenient way for application authors to provide a different set of menus, depending on the desktop environment they find themselves in. As is the intention with other resources, if the resource base path is unset, nothing will be loaded. Additionally, if the expected files are not found, it is not an error -- just nothing happens. https://bugzilla.gnome.org/show_bug.cgi?id=722092 gtk/gtkapplication.c | 98 ++++++++++++++++++++++++++++++++++++++++++++++------ gtk/gtkapplication.h | 4 +++ 2 files changed, 91 insertions(+), 11 deletions(-) commit 59f3211b618bb55b3f0cb5cf4e22ad084248551d Author: Matthias Clasen Date: Mon Jul 7 14:33:25 2014 -0400 widget-factory: Add reorderable treeview columns demos/widget-factory/widget-factory.ui | 3 +++ 1 file changed, 3 insertions(+) commit a6410c65f9879bb1dd8638116fcb63062eecf41e Author: Lapo Calamandrei Date: Mon Jul 7 20:32:16 2014 +0200 Adwaita: fix selection mode toolbar Selection menu button still needs fixing gtk/resources/theme/Adwaita/_colors.scss | 5 +- gtk/resources/theme/Adwaita/_common.scss | 62 ++++++++++++++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 29 ++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 29 ++++++---- 4 files changed, 88 insertions(+), 37 deletions(-) commit 3c04313e698a72e381caf0dfa61ef53bba76dc9d Author: Piotr Drąg Date: Mon Jul 7 20:10:10 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 5725119a109b6f3cba8c11ca9332121632d6d731 Author: Piotr Drąg Date: Mon Jul 7 20:08:04 2014 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.skip | 5 ++++- po/POTFILES.in | 1 + po/POTFILES.skip | 4 +++- 3 files changed, 8 insertions(+), 2 deletions(-) commit a1bae4b389d09bc8c42576729dc160cf73199a74 Author: Benjamin Otte Date: Mon Jul 7 20:05:56 2014 +0200 reftests: Add a reftest for 'animation-direction' It tests the latest two commits. testsuite/reftests/Makefile.am | 3 + testsuite/reftests/animation-direction.css | 58 +++ testsuite/reftests/animation-direction.ref.ui | 463 ++++++++++++++++++++++++ testsuite/reftests/animation-direction.ui | 495 ++++++++++++++++++++++++++ 4 files changed, 1019 insertions(+) commit 80db4f9ce7678a7211e72fb3ed32d55a6e1d8f95 Author: Benjamin Otte Date: Mon Jul 7 20:04:34 2014 +0200 cssanimation: Fix animation-direction handling "alternate" was behaving as "alternate-reverse" and vice versa. gtk/gtkcssanimation.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b6aecca71c8493b8068024863b8a8fabfb89216a Author: Benjamin Otte Date: Mon Jul 7 19:44:59 2014 +0200 css: Fix animation-direction parsing We were parsig "alternate-reverse" as "alternate" and then complaining about the "-reverse" junk at the end of the value. gtk/gtkcssenumvalue.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit cb1ac0c056dfc5b84d84c049f48d0b55cb019a8b Author: Benjamin Otte Date: Mon Jul 7 19:42:59 2014 +0200 clipboard: Fix compiler warning Cast the type. gtk/gtkclipboard-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2fde5e95eef4222492d47f1378df003094491494 Author: Benjamin Otte Date: Mon Jul 7 19:41:21 2014 +0200 textview: Fix compiler warning No need to use braces anymore. gtk/gtktextview.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit e2af4853fc23424c6de4048c44f708f3f6fb7685 Author: Lapo Calamandrei Date: Mon Jul 7 19:51:27 2014 +0200 Adwaita: non csd message dialog and entry shadow fix Made the non csd message dialog more similar to the csd one (to match the csd one we need mutter theme changes), little shadow fix for entry. gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/_drawing.scss | 5 +++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 17 ++++++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 17 ++++++++++------- 4 files changed, 27 insertions(+), 16 deletions(-) commit b40672f145278963fb4218fc9e0a7b320d08716e Author: Ryan Lortie Date: Wed Jul 2 20:35:49 2014 -0400 bloatpad: use resources https://bugzilla.gnome.org/show_bug.cgi?id=722092 examples/bp/Makefile.am | 13 ++++++ examples/bp/bloatpad.c | 86 +------------------------------------ examples/bp/bloatpad.gresources.xml | 7 +++ examples/bp/menus.ui | 83 +++++++++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+), 84 deletions(-) commit 4d8b2af13ab914f0679a8b03d18e6023f8814b61 Author: Ryan Lortie Date: Mon Jun 30 17:13:05 2014 -0400 bloatpad: move into private subdir Move bloatpad to ./examples/bp/ so that we can start treating it as more of a "normal" app instead of just jamming everything into a single .c file. We don't use the name "bloatpad" for the directory in order not to create 'git pull' pain with the probably-already-existing executable of the same name. https://bugzilla.gnome.org/show_bug.cgi?id=722092 configure.ac | 1 + examples/Makefile.am | 3 +-- examples/bp/Makefile.am | 16 ++++++++++++++++ examples/{ => bp}/bloatpad.c | 0 4 files changed, 18 insertions(+), 2 deletions(-) commit e86f409f32ea133b07d19712ddcf6178e2873702 Author: Lapo Calamandrei Date: Mon Jul 7 17:56:29 2014 +0200 Adwaita: csd message dialog fixes. Lighter shadow like popovers and bigger radius then buttons on the background to avoid antialiasing artifacts. gtk/resources/theme/Adwaita/_common.scss | 9 ++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 +++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 9 +++++---- 3 files changed, 16 insertions(+), 11 deletions(-) commit 4422e276622bce3a8b5fd653c62fe92a59e16125 Author: Lapo Calamandrei Date: Mon Jul 7 17:44:01 2014 +0200 Adwaita: .grid-child 2px padding gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) commit 607bac7c69d430ea45c0a35760e98ca8bad2a821 Author: Lapo Calamandrei Date: Mon Jul 7 17:21:52 2014 +0200 Adwaita: entry shadows work. For the transition to work the box-shadows types in the shadow list needs to be matched in various states so I'm using transparent shadows istead of resetting them when not needed. gtk/resources/theme/Adwaita/_drawing.scss | 17 ++++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/resources/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 28 insertions(+), 17 deletions(-) commit 7c1f43f124c4cbf433dcc9a677d0ce1769b17a0c Author: Yuri Myasoedov Date: Mon Jul 7 17:05:15 2014 +0400 Updated Russian translation po-properties/ru.po | 3461 ++++++++++++++++++++++++++------------------------- 1 file changed, 1772 insertions(+), 1689 deletions(-) commit f12edc2d896444735d45b034175e5a6bfef1b497 Author: Lapo Calamandrei Date: Mon Jul 7 14:26:58 2014 +0200 Adwaita: minor sass changes. Made _button_border_color($c) mixin in _button_border($c) fuction. gtk/resources/theme/Adwaita/_drawing.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 0b2198a26b4d75be3b375d1d5681a0b21ccf3a4b Author: Benjamin Otte Date: Mon Jul 7 14:25:08 2014 +0200 testsuite: Add parser test for recent fix The test doesn't crash without the fix, but it parses the CSS incorrectly and fails. testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/animation-shorthand-crash.css | 3 +++ testsuite/css/parser/animation-shorthand-crash.ref.css | 9 +++++++++ 3 files changed, 14 insertions(+) commit 871d782e74578d0db1e2da26e22a24f899600d00 Author: Benjamin Otte Date: Mon Jul 7 13:09:30 2014 +0200 css: Don't special-case fill-mode in 'animation' I have no idea why it was special cased when parsing the 'animation' shorthand, but it caused crashes. So remove the special case. gtk/gtkcssshorthandpropertyimpl.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit b02837b2c27ad45055b8175a82984a8964e21e0e Author: Lapo Calamandrei Date: Mon Jul 7 14:17:51 2014 +0200 Adwaita: style .subtitle like .dim-label gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit fdd347a85a1f40e539931016232f5dfa04b616f7 Author: Lapo Calamandrei Date: Mon Jul 7 14:04:37 2014 +0200 Adwaita: use opacity on dim-labels istead of a hack gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) commit 869d0f3d2ffb3de25083a048c1555b66eb5b553e Author: Lapo Calamandrei Date: Mon Jul 7 13:30:24 2014 +0200 Adwaita: .dim-label gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit 0a0ae97d3c5f9aa95dc11be97ec934efefd3a1d2 Author: Jakub Steiner Date: Mon Jul 7 13:26:09 2014 +0200 Adwaita: flat OSD style gtk/resources/theme/Adwaita/_colors.scss | 4 +- gtk/resources/theme/Adwaita/_common.scss | 56 ++++-- gtk/resources/theme/Adwaita/_drawing.scss | 20 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 204 +++++++++------------ gtk/resources/theme/Adwaita/gtk-contained.css | 204 +++++++++------------ 5 files changed, 216 insertions(+), 272 deletions(-) commit d96bdc357c3a4d0afac2213e4877255e9b26ef6d Author: Lapo Calamandrei Date: Mon Jul 7 11:45:13 2014 +0200 Adwaita: fix combos and buttons padding issues. For some strage reason (bug?) combobox buttons needs -2px vertical padding wrt buttons to have the same size as buttons. gtk/resources/theme/Adwaita/_common.scss | 13 +++++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 17 insertions(+), 12 deletions(-) commit 3939e3ffcc306da83eb4d734f5a8b535e753a9c1 Author: Matthias Clasen Date: Sun Jul 6 23:10:44 2014 -0400 widget-factory: Fill out settings dialog This gives an opportunity to use the dim-label style class. demos/widget-factory/widget-factory.ui | 130 ++++++++++++++++++++++++++++++++- 1 file changed, 127 insertions(+), 3 deletions(-) commit a19bc50f646a30b5b47d3d479652d42cac759826 Author: Matthias Clasen Date: Sun Jul 6 16:53:37 2014 -0400 GtkWindow: Elaborate the keybindings Keep Ctrol-Shift-D as a straight toggle-the-inspector keybinding, but make Ctrl-Shift-I always bring up the inspector, and point it at the widget under the pointer. gtk/gtkwindow.c | 60 ++++++++++++++++++++++++++++++++++++--------------------- gtk/gtkwindow.h | 3 ++- 2 files changed, 40 insertions(+), 23 deletions(-) commit b0390a334914c1239c37e5d3eb52019ae875331f Author: Matthias Clasen Date: Sun Jul 6 17:03:53 2014 -0400 GtkInspector: Add a function to select the widget under the pointer gtk/inspector/inspect-button.c | 47 +++++++++++++++++++++++++++++++----------- gtk/inspector/window.h | 3 +++ 2 files changed, 38 insertions(+), 12 deletions(-) commit 2a053cc6c3152b7845b54947d7a5853eef08c9f5 Author: Matthias Clasen Date: Sun Jul 6 12:18:09 2014 -0400 GtkInspector: Add a style tab This tab shows css properties of a widget, and their origin. gtk/inspector/Makefile.am | 2 + gtk/inspector/init.c | 2 + gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/style-prop-list.c | 333 ++++++++++++++++++++++++++++++++++ gtk/inspector/style-prop-list.h | 60 ++++++ gtk/inspector/style-prop-list.ui | 81 +++++++++ gtk/inspector/window.c | 3 + gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 14 ++ 9 files changed, 497 insertions(+) commit 295273959359245063c8bb2476da2ed87540b832 Author: Matthias Clasen Date: Sun Jul 6 12:16:26 2014 -0400 GtkCssProvider: Allow to enable debug at runtime Add a private function that lets us decide at runtime whether to keep css section information around - this will be useful in the GtkInspector. gtk/gtkcssprovider.c | 11 ++++++++++- gtk/gtkcssproviderprivate.h | 2 ++ 2 files changed, 12 insertions(+), 1 deletion(-) commit b25b33f79faf35619f9c87663a65895864eb2692 Author: Matthias Clasen Date: Sun Jul 6 16:51:29 2014 -0400 Drop a leftover declaration This was left behind when resize grips were removed. gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit a56a61d9cc78ffac7eb8017fd6adfbdb31d0721f Author: Matthias Clasen Date: Sun Jul 6 12:16:06 2014 -0400 Trivial rearrangement gtk/gtkstylecontext.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2a7bd3a2da6f664da7cdad2bbcd63e4824c6b375 Author: Matthias Clasen Date: Sun Jul 6 18:37:29 2014 -0400 widget-factory: Avoid a crash on exit demos/widget-factory/widget-factory.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 80bd35c268331c4cf9f245f37248a479481dcc09 Author: Aurimas Černius Date: Sat Jul 5 22:47:04 2014 +0300 Updated Lithuanian translation po-properties/lt.po | 3333 ++++++++++++++++++++++++++------------------------- po/lt.po | 761 ++++++------ 2 files changed, 2077 insertions(+), 2017 deletions(-) commit f99f52ff4a3860a2dc973f9862d0aa0ae9fb54c2 Author: Lapo Calamandrei Date: Sat Jul 5 18:18:44 2014 +0200 Adwaita: message dialog, destructive and suggested action buttons. ...and generic linked destructive and suggested action button fix. gtk/resources/theme/Adwaita/_common.scss | 32 +++++- gtk/resources/theme/Adwaita/_drawing.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 108 ++++++++++++++++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 108 ++++++++++++++++++++- 4 files changed, 244 insertions(+), 6 deletions(-) commit d648a2c7acb1d992346bfe9cba158df14a41f462 Author: Lapo Calamandrei Date: Sat Jul 5 16:30:43 2014 +0200 Adwaita: proper message dialog style. Rounded bottom border added, custom style for csd versione only [read: non csd version looks right now]. gtk/resources/theme/Adwaita/_common.scss | 80 ++++++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 123 +++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 119 ++++++++++---------- 3 files changed, 173 insertions(+), 149 deletions(-) commit 8846f340944fddbd5db399b4b8bec9e32829a92b Author: Yuri Myasoedov Date: Sat Jul 5 11:10:02 2014 +0400 Updated Russian translation po/ru.po | 776 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 398 insertions(+), 378 deletions(-) commit 9d527c83aaf30f0f2cb2f210aa713c3bb542d427 Author: Matthias Clasen Date: Fri Jul 4 19:06:08 2014 -0400 GtkHeaderBar: Use defines for style classes gtk/gtkheaderbar.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 8328cfac92bea640db5dc5a2c5791ad604e15678 Author: Matthias Clasen Date: Fri Jul 4 18:13:56 2014 -0400 Add defines for title style classes docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkstylecontext.h | 20 ++++++++++++++++++++ 2 files changed, 22 insertions(+) commit 079e08f92d8fbe8cbc4bc6a7cd1c292f6c61eb04 Author: Matthias Clasen Date: Fri Jul 4 16:49:55 2014 -0400 widget-factory: Add some mnemonics demos/widget-factory/widget-factory.ui | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) commit 58f27de9274bb523ee3d318ca19f8442aef6aaf5 Author: Matthias Clasen Date: Fri Jul 4 16:27:11 2014 -0400 widget-factory: Unset needs-attention too This is not done automatically, so unset needs-attention when the page becomes current. demos/widget-factory/widget-factory.c | 36 ++++++++++++++++++++++++++++------ demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 31 insertions(+), 7 deletions(-) commit 5e5ecbbf811bde57d7bacad4f0f0d50bfe51fbae Author: Matthias Clasen Date: Fri Jul 4 15:46:47 2014 -0400 widget-factory: show off needs-attention stack pages When clicking 'Action' in the 'Act' dialog, we mark the third page as needing attention a second later. This unveils that we currently don't have any theming for needs-attention in Adwaita. demos/widget-factory/widget-factory.c | 26 +++++++++++++++++++++++++- demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 26 insertions(+), 2 deletions(-) commit a1596350209cc0b89bbc6c7f92dc5be604ac4e8f Author: Matthias Clasen Date: Fri Jul 4 02:01:53 2014 -0400 GdkScreen: Set reasonable limis for ::resolution Otherwise, the spinbutton in the inspectors property editor explodes in order to make room for MAXDOUBLE. gdk/gdkscreen.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d9e475ed6a2ceac38b565123a3091508944eec37 Author: Matthias Clasen Date: Fri Jul 4 01:06:31 2014 -0400 GtkScaleButton: Try harder not to pop over When the popover does fit in the window, change the orientation to make it fit. gtk/gtkscalebutton.c | 54 +++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 41 insertions(+), 13 deletions(-) commit 689a364ec56a175988621561563b6e6f296e647d Author: Matthias Clasen Date: Thu Jul 3 15:24:58 2014 -0400 Drop has-resize-grip from the notify test The setter is not doing anything, so we won't get notification. testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit b5958d677fd4a1643d089cc80aa9024243c86c3d Author: Matthias Clasen Date: Thu Jul 3 15:23:34 2014 -0400 GtkWindow: Update default for has-default-grip It is now FALSE. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6feab4f2575584b97118c438e435a24efadb706a Author: Matthias Clasen Date: Thu Jul 3 15:22:39 2014 -0400 disable runtime warnings in the defaultvalue test This test operates generically on all properties, so warning about deprecated properties does not make sense here. testsuite/gtk/defaultvalue.c | 1 + 1 file changed, 1 insertion(+) commit f4b212abd47435d97c464afa001fa812d4897015 Author: Jasper St. Pierre Date: Thu Jul 3 13:20:38 2014 -0400 wayland: Add some dumb support for the TARGETS selection The way that GtkTextView et al pop up their context menu is to first query to see if the clipboard has some text, and if so, enable the Paste menu item. But since the Wayland backend hasn't had the greatest selection and clipboard code, the callback for the clipboard got dropped on the floor. Add some simple code to respond to the TARGETS selection. This makes right-clicking on a GtkTextView work fine. gdk/wayland/gdkdevice-wayland.c | 17 ++++++++++------- gtk/gtkclipboard-wayland.c | 18 ++++++++++++++++++ 2 files changed, 28 insertions(+), 7 deletions(-) commit ece9ae4bc507a2f2e0d6660a0058c0f79735736b Author: Jasper St. Pierre Date: Wed Jul 2 11:00:02 2014 -0400 gtkwindow: Remove resize grips Resize grips were introduced for GNOME 3.0, before we had any of the "new GNOME app" features like invisible borders and CSD. With OS X 10.6 and 10.7, Apple has replaced the classic grips in their applications with invisible borders as well. New GNOME app designs don't use resize grips anymore and the new default theme for GTK+, Adwaita, disables them entirely by forcing their width and height to 0. They're past their time. Remove the code to support them. This can always be reverted if some app relies on them. docs/tools/widgets.c | 1 - gtk/gtkrange.c | 105 ----- gtk/gtkstatusbar.c | 183 --------- gtk/gtkwindow.c | 451 +-------------------- gtk/gtkwindow.h | 8 +- gtk/resources/theme/Adwaita/_common.scss | 2 - gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 - gtk/resources/theme/Adwaita/gtk-contained.css | 2 - gtk/resources/theme/Raleigh/gtk-default.css | 2 - tests/styleexamples.c | 1 - testsuite/gtk/testing.c | 2 - testsuite/reftests/toplevel-vs-popup.ui | 1 - 12 files changed, 26 insertions(+), 734 deletions(-) commit b5eddb0aa1110e68224d5d17d0602c0fd50d5de4 Author: Jasper St. Pierre Date: Thu Jul 3 11:48:28 2014 -0400 gdkwindow: Don't queue a redraw when calling gdk_window_raise with no effect The resize grip code in GTK+ likes to call gdk_window_raise a lot. The unfortunate side effect of gdk_window_raise is that it queues an invalidation on the entire window, even if it's already the topmost child. Add a return value to gdk_window_raise_internal, and only queue the invalidation if the raise had an effect. gdk/gdkwindow.c | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) commit ec140a8f07e7b494c3354ee4f1015b6531949098 Author: Jasper St. Pierre Date: Thu Jul 3 11:48:24 2014 -0400 gdkwindow: Apply the 0x0 size bump to 1x1 before checking for the bail Otherwise, a user that calls gdk_window_resize (window, 0, 0); over and over won't properly fizzle out, and will queue a redraw. Clipped, but still. These redraws can be chatty on some platforms like Wayland, and there's no good reason to not avoid them. This was the case for resize grips. gdk/gdkwindow.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit ed273e7518d0ed079dd736b762d83666645fdd9a Author: Jasper St. Pierre Date: Thu Jul 3 10:55:31 2014 -0400 gtkwindow: Fix compile warnings gtk/gtkwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 03b4c82f77bc8fd6fee6062fc13093d3eb7e8cd5 Author: Sébastien Wilmet Date: Thu Jul 3 14:08:14 2014 +0200 docs: make GtkWidget:margin-start and margin-end clearer margin-start and margin-end have been added for RTL support, see: https://bugzilla.gnome.org/show_bug.cgi?id=710238 So those properties are used only for the horizontal direction: left or right, not top or bottom. https://bugzilla.gnome.org/show_bug.cgi?id=732681 gtk/gtkwidget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 196b9f8eea3f61be7635866b9d44118c5e30349f Author: Matthias Clasen Date: Thu Jul 3 08:34:02 2014 -0400 GtkSettings: fully undeprecate blink settings We decided in f8412eca34be6e2e655ad3e09bd97fa2bdcbdae0 that we still need to react to these for a11y reasons, but left the (then) harmless property deprecation in place. Now, the deprecation causes runtime warnings for merely reading the property, so drop it. https://bugzilla.gnome.org/show_bug.cgi?id=732667 gtk/gtksettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 52efbb11ec0082ae31a8939979205594339a42e8 Author: Sébastien Wilmet Date: Fri May 16 21:14:53 2014 +0200 doc: trivial fix gtk/gtkshow.c | 1 + 1 file changed, 1 insertion(+) commit 1e205dcb051983e1411bf1a4b7411b737499ddc0 Author: Matthias Clasen Date: Thu Jul 3 08:12:56 2014 -0400 win32: fix the build A recent cleanup gone wrong, https://bugzilla.gnome.org/show_bug.cgi?id=732454 gdk/win32/gdkevents-win32.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 7fa294038b8c37bbe41bd5bbd91d543b46db992f Author: Lapo Calamandrei Date: Thu Jul 3 13:19:11 2014 +0200 Adwaita: some more notebook work... ...to try to make tab with close buttons to look better. gtk/resources/theme/Adwaita/_common.scss | 10 ++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/resources/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 10 insertions(+), 12 deletions(-) commit 8665f197d643501cf70535bb17fa09da7b5ce1df Author: Jakub Steiner Date: Thu Jul 3 12:37:48 2014 +0200 Adwaita: selection-mode selection-menu flat by default gtk/resources/theme/Adwaita/_common.scss | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 15 insertions(+) commit 9044bf532811e1a7abf1b39db8e24c5eda0ede76 Author: Lapo Calamandrei Date: Thu Jul 3 12:29:25 2014 +0200 Adwaita: style entry.warning and entry.error Fixes https://bugzilla.gnome.org/show_bug.cgi?id=724084 gtk/resources/theme/Adwaita/_common.scss | 24 ++++++++++++++++ gtk/resources/theme/Adwaita/_drawing.scss | 13 +++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 32 ++++++++++++++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 24 ++++++++++++++++ 4 files changed, 88 insertions(+), 5 deletions(-) commit d04312580089ec3629e131618a1e68943c982030 Author: Lapo Calamandrei Date: Thu Jul 3 11:01:31 2014 +0200 Adwaita: sidebar scrollbar fix. .scrollbars-junction borders were removed by setting border-stylei: none, it interacted (why?) with the scrollbars on sidebar, making the border transparent seems not to have side effects there. gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit c541e47c5e1a15b80e8db0007f98e4c0d149552f Author: Lapo Calamandrei Date: Thu Jul 3 10:30:14 2014 +0200 Adwaita: style progressbars in treeview cells. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=732298 gtk/resources/theme/Adwaita/_common.scss | 34 ++++++++++++++++++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 19 ++++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 15 ++++++++++ 3 files changed, 63 insertions(+), 5 deletions(-) commit e7a3dceb5755d8efa3382eb2c282d61c7735c392 Author: Lapo Calamandrei Date: Thu Jul 3 09:31:51 2014 +0200 Adwaita: add transition to non flat popover buttons. gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit f64b6b3479ef9a465cf51f0cd9fb0b5bf90ccb56 Author: Matthias Clasen Date: Wed Jul 2 23:55:20 2014 -0400 widget-factory: Expand the treeview example a bit Show resizable, sortable and ellipsizable columns. demos/widget-factory/widget-factory.ui | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit b369719bcd8317f57da45f5188c13c6cc36471c8 Author: Matthias Clasen Date: Wed Jul 2 22:52:10 2014 -0400 inspector: Handle the dialog more carefully When showing and hiding the inspector window repeatedly without dismissing the dialog, we were hiding the inspector, but not the dialog, leading to a confusing user experience. https://bugzilla.gnome.org/show_bug.cgi?id=732443 gtk/gtkwindow.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit b0a7a6b042ba35c5364cb1be02a9733f6bc5bba2 Author: Matthias Clasen Date: Wed Jul 2 20:37:55 2014 -0400 GtkRange: Animate scrollbar jumps gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e31056f9b3e511efe583ab5d80d056b99363c8d1 Author: Matthias Clasen Date: Wed Jul 2 20:36:41 2014 -0400 GtkListBox: Animate keybindings gtk/gtklistbox.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit d331c949d6d0e9bdca8bd4e3e57fcb02309f68c2 Author: Matthias Clasen Date: Wed Jul 2 20:36:23 2014 -0400 GtkIconView: Animate keybindings gtk/gtkiconview.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit ef40f54e31e178f7b3dde3fca5fb0314822407c8 Author: Matthias Clasen Date: Wed Jul 2 20:35:14 2014 -0400 GtkTreeView: Animate keybindings gtk/gtktreeview.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit b04e3835cbead2a901b9b701f1806b4a8ff98ba0 Author: Matthias Clasen Date: Wed Jul 2 20:31:42 2014 -0400 GtkTextView: Animate keybindings gtk/gtktextview.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 939fbc43e10b60dfb0406cf317d3266ff2f41e02 Author: Matthias Clasen Date: Wed Jul 2 20:26:43 2014 -0400 GtkScrolledWindow: Animate the scroll-child keybinding gtk/gtkscrolledwindow.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) commit 36453a8a6bad2c814a4e554182c51793969e24be Author: Matthias Clasen Date: Wed Jul 2 17:55:20 2014 -0400 GktAdjustment: Add explicit api for animated setting Making all set_value calls animated has side-effects, so we need to be more selective. gtk/gtkadjustment.c | 110 ++++++++++++++++++++++++++------------------- gtk/gtkadjustmentprivate.h | 2 + 2 files changed, 65 insertions(+), 47 deletions(-) commit d3b34d3cf2caa19dc67e99df67c4b8cc1d4455df Author: Ryan Lortie Date: Mon Jun 30 12:16:19 2014 -0400 Add gtk_application_prefers_app_menu() Applications can call this to determine if they should an app menu. This will be %FALSE on desktop environments that do not have an application menu like the one in gnome-shell. It is %FALSE on Windows and Mac OS. Applications are completely free to totally ignore this API -- it is only provided as a hint to help applications that may be interested in supporting non-GNOME platforms with a more native 'look and feel'. https://bugzilla.gnome.org/show_bug.cgi?id=722092 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkapplication-dbus.c | 34 ++++++++++++++++++++++++ gtk/gtkapplication.c | 51 ++++++++++++++++++++++++++++++++++++ gtk/gtkapplication.h | 3 +++ gtk/gtkapplicationimpl.c | 8 ++++++ gtk/gtkapplicationprivate.h | 4 +++ 6 files changed, 101 insertions(+) commit d8934ea23325ffb01e74529112b793b1f9939729 Author: Matthias Clasen Date: Wed Jul 2 17:17:48 2014 -0400 testsuite: Adapt to changed builtin icon paths testsuite/gtk/icontheme.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 8060ac6dddaf39475f0f4cb1c8b2635c175d2381 Author: Matthias Clasen Date: Wed Jul 2 15:12:46 2014 -0400 GtkModelButton: Update widget state We were only setting the state transiently in ::draw, leading to various drawing anomalies, such as labels not picking up the appropriate color from BUTTON styles. gtk/gtkmodelbutton.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 43788ba936f0f1af4c169bc2c4817e7895efa753 Author: Benjamin Otte Date: Wed Jul 2 19:47:48 2014 +0200 cssimageicontheme: Handle scale factors correctly Code didn't account for the pixbuf returned being scaled. gtk/gtkcssimageicontheme.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 5fe9ebfe11002c870ebf6a12d3936990ed1aedfa Author: Carlos Garnacho Date: Wed Jul 2 15:35:07 2014 +0200 entry: Do not unset selection if failing to update the primary selection This is expected to happen on wayland and other platforms with no primary selection, and just leads to the selected text being cleared after any attempt to change the text selection itself through either mouse/keyboard. gtk/gtkentry.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 67efefde499d683707050d456846c98527df0ac4 Author: Carlos Garnacho Date: Wed Jul 2 15:28:45 2014 +0200 textbuffer: Do not unset selection if failing to update the primary selection This is expected to happen on wayland and other platforms with no primary selection, and just leads to the selected text being cleared after any attempt to change the text selection itself through either mouse/keyboard. gtk/gtktextbuffer.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 8116e3e7b9de16481ad86c695a33578a7c0393aa Author: Lapo Calamandrei Date: Wed Jul 2 17:52:36 2014 +0200 Adwaita: fix Gedit style tabs color. I also introduced a gab between tabs as in the mockups. gtk/resources/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 16 ++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 16 ++++++++-------- 3 files changed, 26 insertions(+), 26 deletions(-) commit 6e89856cc0c237d1be3e66adcb3a866b79b77c6e Author: Lapo Calamandrei Date: Wed Jul 2 17:27:12 2014 +0200 Adwaita: fix popover buttons. Unfortunatelly labels doesn't change color wrt states. See https://bugzilla.gnome.org/show_bug.cgi?id=732494 gtk/resources/theme/Adwaita/_common.scss | 42 +++++++--------------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 37 ++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 37 ++++++++----------- 3 files changed, 40 insertions(+), 76 deletions(-) commit f2972f13ddf58312714d3eca6d54f4f4c85ac879 Author: Lapo Calamandrei Date: Wed Jul 2 15:45:43 2014 +0200 Adwaita: proper backdrop state for gtkcalendar header gtk/resources/theme/Adwaita/_common.scss | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 10 insertions(+) commit 10892863d5dcfabbcb0578d23e6d4334f672f630 Author: Matthias Clasen Date: Wed Jul 2 00:33:46 2014 -0400 GtkDialog: fix invisible action area When there area explicitly added buttons in the action area, we were trying to ensure that the action area is visible, but failed, since we are now hiding the action_box. Fix it by showing the action_box when things are left in the action area. gtk/gtkdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cd591a03e7195846cd4788b4a8800e0ae14cc64a Author: Jasper St. Pierre Date: Tue Jul 1 15:16:12 2014 -0400 wayland: Make sure to notify the capability settings when we get capabilities Otherwise, we won't notice when we get capabilities, and we'll show app menus, etc. gdk/wayland/gdkscreen-wayland.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 6a1aec336aa4ac52a641e5e563b6df928e130463 Author: Matej Urbančič Date: Tue Jul 1 19:55:47 2014 +0200 Updated Slovenian translation po-properties/sl.po | 179 +++++++++++++++++++++------------------------------- 1 file changed, 71 insertions(+), 108 deletions(-) commit c9152d2a71b5154154fd0eef09e846b7b814d3e2 Author: Jakub Steiner Date: Tue Jul 1 17:46:24 2014 +0200 Adwaita: transition :active buttons faster than the other states https://bugzilla.gnome.org/show_bug.cgi?id=732134 gtk/resources/theme/Adwaita/_common.scss | 3 ++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/resources/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 8 insertions(+), 3 deletions(-) commit 5e25bbb2aebba5d3e05f4f45fa1bdf3f47df11ae Author: Jakub Steiner Date: Tue Jul 1 15:42:32 2014 +0200 Adwaita: no border-right on treeview-derived widgets I fear to be opening a can of worms, but it does seem like something the system theme should deal with. https://bugzilla.gnome.org/show_bug.cgi?id=731463 gtk/resources/theme/Adwaita/_common.scss | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) commit dfb4757f544a3d4150755969f1917f339030112e Author: Jakub Steiner Date: Tue Jul 1 14:22:54 2014 +0200 improve Calendar styling slightly https://bugzilla.gnome.org/show_bug.cgi?id=729620 gtk/resources/theme/Adwaita/_common.scss | 15 +++++++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 21 insertions(+), 4 deletions(-) commit fa90b41fe4bc015edf95dd8aed0c92d77b0b7639 Author: Nikita Churaev Date: Mon Jun 23 22:42:21 2014 +0400 Remove separators from GtkFileChooserButton and GtkFontButton https://bugzilla.gnome.org/show_bug.cgi?id=722633 gtk/resources/theme/Adwaita/_common.scss | 9 +++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 17 insertions(+) commit b238d55645244bd49a9d203f88c3d7d202c12e99 Author: Chun-wei Fan Date: Tue Jul 1 16:41:41 2014 +0800 Fix "Installation" for Visual Studio 2010+ We need to enclose paths containing $(BinDir) with double quotes as it points to something like c:\foo\gtk+-x.yy.zz, which the copy command on Windows does not like "+" in paths unless enclosed in quotes. build/win32/vs10/gtk-install.props | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e3f8b8774150ed2125ac8783a08ecb3a285fa322 Author: Chun-wei Fan Date: Tue Jul 1 16:17:43 2014 +0800 Build: Provide Simple Support for MSVC 2012/2013 As the Visual Studio 2012/2013 are only slightly different from the Visual Studio 2010 projects, we can provide support for them by using scripts to copy the Visual Studio 2010 projects, and update the specific parts as necessary. Thus, there would be little maintenance overhead for these as only the 2010 projects need to be kept up-to-date as a result. This might change when we do get the stack working with WinRT/Metro, but that's going to be another totally different issue. build/Makefile-newvs.am | 37 +++++++++++++++++++++++++++++++++++++ build/win32/Makefile.am | 10 ++++++---- build/win32/vs11/Makefile.am | 43 +++++++++++++++++++++++++++++++++++++++++++ build/win32/vs12/Makefile.am | 43 +++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 ++ 5 files changed, 131 insertions(+), 4 deletions(-) commit dd9b34d7538965ec71f694b7364edea1b5158551 Author: Chun-wei Fan Date: Tue Jul 1 15:52:34 2014 +0800 Revert "Visual Studio Builds: "Install" the Stock Icons" The stock icons are now built into the GTK+ DLL via resources, so don't try to install the stock icons, and the icons don't reside in their former positions anymore, causing messages indicating that the files cannot be found. This reverts commit 2e0ce67f8aa7da0cfbcf31e02e60012927fb4193. build/win32/vs10/gtk-install.props | 25 ------------------------- build/win32/vs9/gtk-install.vsprops | 15 --------------- 2 files changed, 40 deletions(-) commit ee9a6d0acef9ac3be7605ce560e1d16965b941c7 Author: Chun-wei Fan Date: Tue Jul 1 13:26:18 2014 +0800 MSVC Builds: Fix Introspection Builds Commit e26bdbda only partially made the necessary changes due to the use of the deprecated headers in GDK. Fix that. build/gen-file-list-gtk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9822891e483afb50ab76f6c1c7c813b84626b7aa Author: Chun-wei Fan Date: Tue Jul 1 13:15:51 2014 +0800 MSVC Builds: Clean up Introspection Builds Since g-i 1.40.0 we are using the .lib file(s) to determine the DLL(s) that the introspection files should look for, instead of directly using the DLL(s) directly, so it is no longer necessary to make copies of the GDK .lib file to match the - convention when we are building the introspection files for GdkWin32. Remove that from the introspection build process as a result. build/gtk-introspection-msvc.mak | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 0d4dca5ecbe4c8522f9c6c438d086d9858c54aeb Author: Gergely POLONKAI Date: Sun Jun 29 16:36:00 2014 +0000 Typo fix in GTK+ common questions https://bugzilla.gnome.org/show_bug.cgi?id=732433 docs/reference/gtk/question_index.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2f5dbc655c285b9253a7d2dee6f67b4519ead623 Author: Matthias Clasen Date: Mon Jun 30 21:51:19 2014 -0400 GtkMessageDialog: Add back the empty csd title We don't set use-header-bar for message dialogs, since we want the buttons in the action area, but we do want a nice rounded csd titlebar. Add back the box that was used before to achieve this, when appropriate. gtk/gtkmessagedialog.c | 55 ++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 49 insertions(+), 6 deletions(-) commit 120d1f898300b86ff0aacfd8aefdcb0a78560bf0 Author: Matthias Clasen Date: Mon Jun 30 19:26:44 2014 -0400 GtkDialog: Don't use csd when use-header-bar is FALSE https://bugzilla.gnome.org/show_bug.cgi?id=730893 gtk/gtkdialog.c | 52 ++++++++++++++++------------------------------------ 1 file changed, 16 insertions(+), 36 deletions(-) commit b6c4865ff813023d338fab93cd94b432a590a180 Author: Lars Uebernickel Date: Wed May 28 17:32:21 2014 +0200 gtkaboutdialog: support showing buttons in action area Give GtkAboutDialog buttons in the action area instead of hard-coding use-header-bar to TRUE. This is for environments which don't have the Gtk/DialogsUseHeader xsetting turned on. https://bugzilla.gnome.org/show_bug.cgi?id=730893 gtk/gtkaboutdialog.c | 119 +++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 87 insertions(+), 32 deletions(-) commit bb6f406f137b6a054127d204125793f027f30730 Author: Matthias Clasen Date: Mon Jun 30 18:51:39 2014 -0400 inspector: Use a better icon on the css classes tab gtk/inspector/classes-list.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3dcd0a24b1871c71e667df180334b4b861fbbc52 Author: Matthias Clasen Date: Mon Jun 30 18:12:39 2014 -0400 GtkScrolledWindow: Enable animated scrolling We use gtk_adjustment_enable_animation to enable animated updates of the adjustments. Currently, this is enabled unconditionally, and with a duration that is hardcoded. https://bugzilla.gnome.org/show_bug.cgi?id=732376 gtk/gtkscrolledwindow.c | 65 +++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 57 insertions(+), 8 deletions(-) commit a090f5892248612089d3d655dcb746c755ba962b Author: Matthias Clasen Date: Mon Jun 30 18:09:50 2014 -0400 GtkAdjustment: Animated updates Add a private API that lets widget opt-in to animated updates of the adjustment value. When enabled, all calls to gtk_adjustment_set_value will smoothly transition from the old value to the new value, using a fixed easing function and a configurable duration. The animation is tied to the frame clock of the widget. By implementing this in GtkAdjustment, we can enable animation for both scrollbars and keybindings, which are often implemented in the child widget of the scrolled window. https://bugzilla.gnome.org/show_bug.cgi?id=732376 gtk/Makefile.am | 1 + gtk/gtkadjustment.c | 149 +++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkadjustmentprivate.h | 34 +++++++++++ 3 files changed, 178 insertions(+), 6 deletions(-) commit 5a548106b0b724530f8ea4f236c9b543d432db01 Author: Matthias Clasen Date: Fri Jun 20 00:49:25 2014 -0400 Deprecate gtk_icon_theme_add_builtin_icon Builtin icons are deprecated in favor of loading icons from resource paths. gtk/gtkicontheme.c | 6 ++++++ gtk/gtkicontheme.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit e9ac1bb4767b7139658fc2f5548c65a7baabb46b Author: Matthias Clasen Date: Fri Jun 20 00:46:09 2014 -0400 Make gtk_icon_theme_add_resource_path public API This makes it possible to look up icons in resources using the icon theme api, and should be used as a replacement for installing icons below $pkgdatadir/icons and adding that location to the search path. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkicontheme.c | 19 +++++++++++++++++++ gtk/gtkicontheme.h | 4 ++++ 3 files changed, 24 insertions(+) commit f6da4efd47064f68de068328edee86ff730713a0 Author: Matthias Clasen Date: Mon Jun 30 17:02:41 2014 -0400 GtkIconTheme: Allow unthemed icons from resource paths This makes it pretty straightforward to add individual icons that don't need to be present in multiple sizes. gtk/gtkicontheme.c | 135 ++++++++++++++++++++++++++++++++--------------------- 1 file changed, 83 insertions(+), 52 deletions(-) commit c2a22feb2736252d95648761e16d0eb3a841bbfb Author: Matthias Clasen Date: Mon Jun 30 16:23:28 2014 -0400 Drop an extra dir from builtin icons Make icon lookup from resources work without the extra hicolor component in the path. It is redundant, since we always treat builtin icons as part of hicolor anyway. gtk/Makefile.am | 7 +++---- gtk/gtkicontheme.c | 2 +- .../{hicolor => }/16x16/actions/gtk-caps-lock-warning.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-color-picker.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-connect.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-convert.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-disconnect.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-edit.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-index.png | Bin .../16x16/actions/gtk-orientation-landscape.png | Bin .../16x16/actions/gtk-orientation-portrait.png | Bin .../16x16/actions/gtk-orientation-reverse-landscape.png | Bin .../16x16/actions/gtk-orientation-reverse-portrait.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-page-setup.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-preferences.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-select-color.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-select-font.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-undelete-ltr.png | Bin .../icons/{hicolor => }/16x16/actions/gtk-undelete-rtl.png | Bin .../icons/{hicolor => }/22x22/actions/gtk-apply.png | Bin .../icons/{hicolor => }/22x22/actions/gtk-cancel.png | Bin gtk/resources/icons/{hicolor => }/22x22/actions/gtk-no.png | Bin gtk/resources/icons/{hicolor => }/22x22/actions/gtk-ok.png | Bin gtk/resources/icons/{hicolor => }/22x22/actions/gtk-yes.png | Bin .../{hicolor => }/24x24/actions/gtk-caps-lock-warning.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-color-picker.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-connect.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-convert.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-disconnect.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-edit.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-index.png | Bin .../24x24/actions/gtk-orientation-landscape.png | Bin .../24x24/actions/gtk-orientation-portrait.png | Bin .../24x24/actions/gtk-orientation-reverse-landscape.png | Bin .../24x24/actions/gtk-orientation-reverse-portrait.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-page-setup.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-preferences.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-select-color.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-select-font.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-undelete-ltr.png | Bin .../icons/{hicolor => }/24x24/actions/gtk-undelete-rtl.png | Bin .../icons/{hicolor => }/32x32/actions/gtk-dnd-multiple.png | Bin gtk/resources/icons/{hicolor => }/32x32/actions/gtk-dnd.png | Bin 43 files changed, 4 insertions(+), 5 deletions(-) commit c28d938a242849354fc354468db25460c60dd849 Author: Matthias Clasen Date: Mon Jun 30 16:03:03 2014 -0400 GtkIconTheme: Only look at resources for hicolor We want to treat icons coming from resources as builtins that are looked at as part of Hicolor. gtk/gtkicontheme.c | 45 ++++++++++++++++++++++++--------------------- 1 file changed, 24 insertions(+), 21 deletions(-) commit f7fbeb40c7c527349d8622507efe4c0293e022ca Author: Matthias Clasen Date: Mon Jun 30 15:50:05 2014 -0400 GtkIconTheme: Drop an unused parameter We're always passing FALSE for scale_only, so why bother. gtk/gtkicontheme.c | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) commit bec3aa54e44bf7041b4c604b7760b671ef85031f Author: Matthias Clasen Date: Mon Jun 30 15:45:17 2014 -0400 Treat unthemed icons the same as force_size for scaling This is closer to what we were doing in the past. gtk/gtkicontheme.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d800203b883a9cdf0eb340d96d7cfa3c964e963e Author: Matthias Clasen Date: Mon Jun 30 13:28:46 2014 -0400 gtk-demo: Only show non-symbolic icons in toolpalette Otherwise, we get every icon twice. To switch between symbolic and non-symbolic icons, this css fragment comes in handy: * { -gtk-icon-style: symbolic; } demos/gtk-demo/toolpalette.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit eaa3329cde54ede48fc55b4d59c4663ede2333c9 Author: Matthias Clasen Date: Mon Jun 30 13:24:28 2014 -0400 widget-factory: Use a standard icon name Using edit-find instead of search has the advantage that there is a symbolic variant of the icon. demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bd2cf65cb9dbc5a68a539e2f5bf9acbe8e7f77a2 Author: Matthias Clasen Date: Mon Jun 30 11:35:38 2014 -0400 Adwaita: Make selectable labels work This brings back white-on-blue selection in selectable labels. https://bugzilla.gnome.org/show_bug.cgi?id=732441 gtk/resources/theme/Adwaita/_common.scss | 9 +++++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 13 insertions(+), 4 deletions(-) commit abc1a0a65d27e8a7e593de672be037f7d16c5830 Author: Chun-wei Fan Date: Mon Jun 30 18:00:26 2014 +0800 build/win32/vs10/gtk.vcxprojin: Remove References to gtka11y ...so that Visual Studio will not warn about a reference that no longer exists. build/win32/vs10/gtk.vcxprojin | 4 ---- 1 file changed, 4 deletions(-) commit fe5402d32ebf7f332a2c5f71b9ae50dcf68892fd Author: Jasper St. Pierre Date: Sun Jun 29 20:54:39 2014 -0400 gtkcellrendereraccel: Use a GtkInvisible to grab on Grabbing on a non-toplevel might not do what we want it to do, since it will go on the focused widget, not the grabbed widget. Since we don't focus the widget before clicking on it, that means that putting the focus somewhere else and then clicking on the accelerator editor will freeze the app. Additionally, since it's a global system grab that can't be exited except by a key press that we won't ever get, it effectively locks up your system as well unless you know how to break the grab or kill the app. Ouch. Since doing a device grab on a non-toplevel is generally considered a bad idea, just don't do it. Use a GtkInvisible and take a grab on that instead. gtk/gtkcellrendereraccel.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit 57404341376280281bbc3ef80e7613c18e611d5c Author: Jasper St. Pierre Date: Sun Jun 29 19:49:49 2014 -0400 gdkwindow: Fix an accidental code out-of-ordering There's no semantics change, it just makes things clearer. gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f008e347788da4799c5c12729a94c25cb6f07fb Author: Matthias Clasen Date: Sun Jun 29 19:33:46 2014 -0400 GtkStyleContext: Avoid over-eager animation cancellation When validating the style context, we are copying the animations from one StyleValues instance to another, and cancel the old ones. It turns out that sometimes the old and the new StyleValues are the same, and in this case, we end up cancelling the animations for good. One case where breakage from this was observed is that the spinners in gtk3-widget-factory stop spinning when you open and close a modal dialog on page 2. This depends a bit on the window manager; the problem can only be seen if opening the dialog causes a transition to backdrop. gtk/gtkstylecontext.c | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) commit 3d53e5d9c7859d2d2df5dc4b68513864b80716c2 Author: Jasper St. Pierre Date: Sun Jun 29 18:53:25 2014 -0400 gtkmain: One more combine gtk/gtkmain.c | 5 ----- 1 file changed, 5 deletions(-) commit e95efbfc42223e4c5be0929322003f20cd352423 Author: Jasper St. Pierre Date: Sun Jun 29 18:52:50 2014 -0400 gtkmain: Combine two switch cases that are the same gtk/gtkmain.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit fc75f459b03179d6a57f6764ed3f631b4e44a51f Author: Jasper St. Pierre Date: Sun Jun 29 18:35:31 2014 -0400 gtkswitch: Fix docs gtk/gtkswitch.c | 1 + 1 file changed, 1 insertion(+) commit c84b49e33292e9c199555278a3218781f21267ce Author: Jasper St. Pierre Date: Sun Jun 29 18:05:49 2014 -0400 gtkcellarea: Fix docs gtk/gtkcellarea.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8fb2bdb2fb46e452051f816469db21e54ce9d0b2 Author: Jasper St. Pierre Date: Sun Jun 29 17:59:38 2014 -0400 gdkdevicemanager-xi2: Add debug output for key events gdk/x11/gdkdevicemanager-xi2.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit de5cba4fc99d8293def12436983ac1c7e2fddc9c Author: Jasper St. Pierre Date: Sun Jun 29 17:58:56 2014 -0400 gdkdevicemanager-xi2: Fix debug outputs for button events We had the arguments in the wrong order here. gdk/x11/gdkdevicemanager-xi2.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 62c6ef5a294b2cf473bc9768f6bdabbcead72234 Author: Benjamin Otte Date: Sun Jun 29 19:52:37 2014 +0200 tests: Remove tests for icontheme properties These properties have been removed and always return %NULL, so no need to keep them. tests/testicontheme.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit 297abd6e54948418e5dff471f066eb6fb338220f Author: Matthias Clasen Date: Sun Jun 29 14:03:14 2014 -0400 testdialog: Add a spinner Trying to track down a problem where animation stops when a modal dialog is opened and closed. tests/testdialog.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b3b861c9d652f35ef865ef642a435291993adca0 Author: Matthias Clasen Date: Sat Jun 28 23:27:36 2014 -0400 widget-factory: Plug a memory leak demos/widget-factory/widget-factory.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit c304a84f2c0e41825fb1fac6730e2abe874c253c Author: Matthias Clasen Date: Sat Jun 28 23:19:09 2014 -0400 GtkBuilder: Fix more GMenu leaks in the parser gtk/gtkbuilder-menus.c | 3 +++ 1 file changed, 3 insertions(+) commit 6f0951845f819a082d7428f2c2b4fa12d2ef7788 Author: Matthias Clasen Date: Sat Jun 28 22:39:43 2014 -0400 GtkMenuTrackerItem: Plug a memory leak gtk_menu_tracker_get_[verb_]icon both return a reference, so don't use g_value_set_object, which adds another one. gtk/gtkmenutrackeritem.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit d1439195279b1bcf193e9abe44e033c0c3ea66b2 Author: Matthias Clasen Date: Sat Jun 28 22:39:02 2014 -0400 GtkCssImageIconName: Plug a memory leak valgrind was complaining that we're not freeing the icon_name. gtk/gtkcssimageicontheme.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 8e0ba5bb3eacfdfe60dd089ed0e6bbe9350414f3 Author: Matthias Clasen Date: Sat Jun 28 22:38:13 2014 -0400 GtkColorEditor: Initialize the allocation x/y gtk/gtkcoloreditor.c | 2 ++ 1 file changed, 2 insertions(+) commit 0b88b869e624df9153d49c23ae0e24d3e899abf1 Author: Matthias Clasen Date: Sat Jun 28 22:37:14 2014 -0400 GtkActionMuxer: Plug a memory leak valgrind complained that we leak the primary_accels table. gtk/gtkactionmuxer.c | 2 ++ 1 file changed, 2 insertions(+) commit 4067d0623fa4ea550c99ab790c1239620bad5fda Author: Matthias Clasen Date: Sat Jun 28 22:29:57 2014 -0400 Revert "scrolledwindow: fix scrolling with shared adjustment" This reverts commit f0478c3dfdb14c7ad474ed1d2ac989f8e4ecf3c8. Didn't mean to push this. gtk/gtkscrolledwindow.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 31e4ec46328cd2c6ace66df0fb07652a5744e806 Author: Matthias Clasen Date: Sat Jun 28 21:38:47 2014 -0400 GtkFileChooserWidget: Remove an errant line This was leaking a schema object, and looks like a bad merge. gtk/gtkfilechooserwidget.c | 4 ---- 1 file changed, 4 deletions(-) commit 7d672067349c3894b05a93060c24ecfd2891f39a Author: Matthias Clasen Date: Sat Jun 28 20:21:32 2014 -0400 GtkBuilder: Don't leak a reference to constructed GMenus _gtk_builder_add_object adds a reference, so we need to drop our initial one. gtk/gtkbuilder-menus.c | 1 + 1 file changed, 1 insertion(+) commit 70bfb02fde2a9c4a021431a4d467cf26a869d999 Author: Matthias Clasen Date: Sat Jun 28 20:15:12 2014 -0400 GtkGesture: Don't leak the group link Found in a valgrind log. gtk/gtkgesture.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 18126121a453c211b8ec79cf98336be61ec02475 Author: Matthias Clasen Date: Sat Jun 28 16:22:43 2014 -0400 widget-factory: Small cleanup Use gtk_builder_new_from_resource and get rid of an unneeded GError. demos/widget-factory/widget-factory.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 7074776a04c54162eae16b1b001b2797f80f4ca5 Author: Matthias Clasen Date: Sat Jun 28 16:19:33 2014 -0400 widget-factory: Make the entry progress stop as well demos/widget-factory/widget-factory.c | 79 +++++++++++++++++++++-------------- 1 file changed, 47 insertions(+), 32 deletions(-) commit ef0e164a4c9acf68dc12ea1493c7468dd5da7e0f Author: Matthias Clasen Date: Sat Jun 28 15:51:33 2014 -0400 GtkEntry: Make progress pulsing smooth This changes the calculation of activity mode progress in the same way as was done in GtkProgressBar a while ago, and make it smooth, using a tick callback. gtk/gtkentry.c | 155 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 114 insertions(+), 41 deletions(-) commit 3c400823167799b167b621549e776688c8624953 Author: Matthias Clasen Date: Sat Jun 28 15:23:29 2014 -0400 widget-factory: Make the entry progress variable too Make the scale that currently controls the speed of the progressbar control the progress speed in the entry as well. demos/widget-factory/widget-factory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f0478c3dfdb14c7ad474ed1d2ac989f8e4ecf3c8 Author: Stefan Sauer Date: Sun May 25 21:35:14 2014 +0200 scrolledwindow: fix scrolling with shared adjustment The GtkPolicyType set on the scrollbar is just about the presentation. What matters for scrolling is the adjustment. https://bugzilla.gnome.org/show_bug.cgi?id=730730 gtk/gtkscrolledwindow.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit c389fc64f7aa7bcb007efaa8269a24512cb4d56e Author: Matthias Clasen Date: Sat Jun 28 11:37:29 2014 -0400 widget-factory: Add an icon view We didn't have one before, and this gives us a chance to show off rubberbanding and symbolic icon rendering. demos/widget-factory/widget-factory.ui | 82 ++++++++++++++++++++++++---------- 1 file changed, 58 insertions(+), 24 deletions(-) commit 3da76c1e14b51d21ebbc560df000da74dd0080de Author: Matthias Clasen Date: Sat Jun 28 11:13:17 2014 -0400 Disable deprecation warnings for installed reftests Otherwise, these fail in continuous. testsuite/reftests/reftests-dark.test.in | 2 +- testsuite/reftests/reftests-hc.test.in | 2 +- testsuite/reftests/reftests.test.in | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 76eed98b36f960c9daf92acf37225948d1f8d4b6 Author: Matthias Clasen Date: Sat Jun 28 11:12:23 2014 -0400 widget-factory: Enable alpha in the color button This lets us verify that the theme treats the alpha scale fairly. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 6119f664015693a8c5c88a90b7836dc4f16eb354 Author: Matthias Clasen Date: Sat Jun 28 10:59:41 2014 -0400 notification test: Always disable runtime deprecation warnings These are just not useful in a test that generically deals with all properties. testsuite/gtk/notify.c | 1 + 1 file changed, 1 insertion(+) commit f1c1192e7183a2209ba85cbb5b279d18ee795342 Author: Matthias Clasen Date: Sat Jun 28 10:58:24 2014 -0400 Exclude GtkToggleButton::draw-indicator from the notification test We reverted to emitting redundant notifications for this, so don't assert that we don't. testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit 733a590fbedb57f67dca1c8a690077f315e5fe6c Author: Matthias Clasen Date: Sat Jun 28 10:56:54 2014 -0400 GtkButton: warn slightly less Use gtk_misc_set_alignment when setting x/align on button children where possible, to avoid the runtime warning that g_object_set incurs nowadays. gtk/gtkbutton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 4287e44a9aaf39024fb6c25809cf04ed0ee1f2f1 Author: Lapo Calamandrei Date: Sat Jun 28 15:22:23 2014 +0200 Adwaita: minor code refactoring gtk/resources/theme/Adwaita/_common.scss | 40 +++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 42 ++++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 40 +++++++++++---------- 3 files changed, 67 insertions(+), 55 deletions(-) commit 0fd3ec80db23f7d9c228494eb6647551b1784408 Author: Lapo Calamandrei Date: Sat Jun 28 15:05:06 2014 +0200 Adwaita: button work - finally fixed +|- buttons on inline toolbars - commented out :focus and :selected for normal buttons since it makes flat buttons background blue... gtk/resources/theme/Adwaita/_common.scss | 56 +++++++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 103 ++++++++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 103 ++++++++++++++++++--- 3 files changed, 226 insertions(+), 36 deletions(-) commit d454d986d994b45e70318639e8333256851af5cf Author: Bastien Nocera Date: Fri Jun 27 12:52:34 2014 +0200 docs: Sort GDK_DEBUG values alphabetically https://bugzilla.gnome.org/show_bug.cgi?id=732330 docs/reference/gtk/running.sgml | 32 ++++++++++++++------------------ 1 file changed, 14 insertions(+), 18 deletions(-) commit 7c88f19c749db6fc2e037b112746bc72e68f2a65 Author: Bastien Nocera Date: Fri Jun 27 12:46:34 2014 +0200 docs: Sort GDK_DEBUG values alphabetically https://bugzilla.gnome.org/show_bug.cgi?id=732330 docs/reference/gtk/running.sgml | 64 ++++++++++++++++++++--------------------- 1 file changed, 32 insertions(+), 32 deletions(-) commit cc8ee01ff67b3eaf1c4df97e9a45b2bdfde77dac Author: Matthias Clasen Date: Sat Jun 28 01:51:24 2014 -0400 Avoid a redundant strlen The GString knows perfectly well how long it is. Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=731158 gtk/gtkbookmarksmanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fda53e55298be2a26dffd3472d38fa71f810a4b8 Author: Matthias Clasen Date: Sat Jun 28 01:34:25 2014 -0400 Adwaita: Neuter frames in statusbars Too much. gtk/resources/theme/Adwaita/_common.scss | 2 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 4 insertions(+) commit c4e533ecd6659a26a2a05d49d6f2941007b4217d Author: Matthias Clasen Date: Sat Jun 28 00:41:26 2014 -0400 Fight deprecation warnings in test This time, in installed tests. testsuite/a11y/a11ychildren.test.in | 2 +- testsuite/a11y/a11yderive.test.in | 2 +- testsuite/a11y/a11ytests.test.in | 2 +- testsuite/a11y/a11ytext.test.in | 2 +- testsuite/a11y/a11ytree.test.in | 2 +- testsuite/a11y/a11yutil.test.in | 2 +- testsuite/a11y/a11yvalue.test.in | 2 +- testsuite/gtk/Makefile.am | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) commit 931958f9f48d0791b65073ed02047904aedaa10f Author: Saurabh Date: Fri Jun 27 22:11:09 2014 +0530 Adding 'no-matches' signal support to gtkentrycompletion Add a new 'no-matches' signal and add a function pointer to gtkentrycompletionclass and remove one from the padding at the end. https://bugzilla.gnome.org/show_bug.cgi?id=726566 gtk/gtkentrycompletion.c | 26 ++++++++++++++++++++++++++ gtk/gtkentrycompletion.h | 2 +- 2 files changed, 27 insertions(+), 1 deletion(-) commit aa30278e6b69bfe109d6a930c19078f8ff35d53b Author: William Jon McCann Date: Fri Jan 18 16:50:47 2013 -0500 Allow activating an item after single click on a different item We were ignoring double click events when a different item was previously selected. https://bugzilla.gnome.org/show_bug.cgi?id=484640 gtk/gtkiconview.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 3f7318432cecc33b02432f77623c850d4c692fc5 Author: Matthias Clasen Date: Sat Jun 28 00:20:19 2014 -0400 GtkPrintUnixDialog: Set a higher limit for the number of copies As requested in bug 672676. gtk/resources/ui/gtkprintunixdialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6de2c7fa0e1738e180e47c6687aa31c98bf1891d Author: Emilio Pozuelo Monfort Date: Mon Jun 23 18:21:08 2014 +0200 wayland: don't change the cursor if there is no pointer https://bugzilla.gnome.org/show_bug.cgi?id=732206 gdk/wayland/gdkdevice-wayland.c | 4 ++++ 1 file changed, 4 insertions(+) commit 2651b99a131fd7633bb9ce4fbb02aaff75c6dff0 Author: Jasper St. Pierre Date: Thu Jun 26 14:16:26 2014 -0400 colorplane: Don't connect to the configure-event signal We want to stop people from using configure events entirely. GtkDrawingArea synthesizes a configure event, but we can just make the only user of this functionality stop it, and correct the documentation to not mention it. gtk/gtkcolorplane.c | 11 ++++++----- gtk/gtkdrawingarea.c | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) commit 691dd83580d2fa21f11b63bfb8671cd20eae9c9b Author: Matthias Clasen Date: Sat Jun 28 00:00:16 2014 -0400 Improve popover menu spacing Make iconic buttons have a more reasonable height, and add some space above an iconic row. https://bugzilla.gnome.org/show_bug.cgi?id=732229 gtk/gtkmenusectionbox.c | 8 ++++++++ gtk/gtkmodelbutton.c | 13 +++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) commit b9941d0dde2a044b191189162b67d378beb938bd Author: Matthias Clasen Date: Fri Jun 27 23:53:03 2014 -0400 Fix a documentation copy-paste error The color chooser doesn't deal with fonts. gtk/gtkcolorchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 38e4fbc90ceca56cceb4ccf3d2d9e46a19ca8e4a Author: Matthias Clasen Date: Fri Jun 27 22:03:11 2014 -0400 Revert "colorplane: Don't connect to the configure-event signal" This reverts commit 886f58e1cf2b4918ae33dc2b6279fd7e61c56827. This made the color plane go missing. gtk/gtkcolorplane.c | 9 +++++---- gtk/gtkdrawingarea.c | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) commit 96b6b44e4e0d5731d31375e59ce7312bf2f1e109 Author: Matthias Clasen Date: Fri Jun 27 21:57:25 2014 -0400 GtkMessageDialog: Don't set x/yalign explicitly The h/valign work fine to give us what we need here, so we can avoid the runtime deprecation warnings for deprecated properties. gtk/resources/ui/gtkmessagedialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit ad09fbbac063b6908838a5c5e01fea9c8258eb0b Author: Matthias Clasen Date: Fri Jun 27 21:44:40 2014 -0400 widget-factory: Stop using GtkImageMenuItem A plain GtkMenuItem works just fine here. demos/widget-factory/widget-factory.ui | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit d7bccbe53b67b1b35b2a3ebe8b55ee863354f92d Author: Matthias Clasen Date: Fri Jun 27 21:43:04 2014 -0400 widget-factory: Stop using the deprecated GtkAlignment::left-padding These alignments can just be dropped without loss. demos/widget-factory/widget-factory.ui | 36 ++++------------------------------ 1 file changed, 4 insertions(+), 32 deletions(-) commit e73aa234e9d6d6b435b794d2f564fcc52412b5bd Author: Matthias Clasen Date: Fri Jun 27 21:40:50 2014 -0400 widget-factory: Don't use deprecated GtkColorButton::color Instead, simply set the rgba property, which accepts the same value. demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cac4050240a749403dfa350332586fac0531ce89 Author: Matthias Clasen Date: Fri Jun 27 21:35:49 2014 -0400 widget-factory: Drop redundant defaults from the .ui file In particular, we drop xalign, since it is deprecated. demos/widget-factory/widget-factory.ui | 36 ---------------------------------- 1 file changed, 36 deletions(-) commit 1cd9ba187e418bbc90b5724142f299b0be0f5425 Author: Matthias Clasen Date: Fri Jun 27 21:29:18 2014 -0400 GtkSettings: defensive defaults Change the default value of the gtk-decoration-layout setting to menu:minimize,maximize,close. The masses want it that way. gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 08e5efd60584098d0bd509fcb343cf68077a80ec Author: Matthias Clasen Date: Fri Jun 27 21:22:40 2014 -0400 Bring back redundant notifications for GtkToggleButton::draw-indicator GtkCheckButton sets a different initial value for this property without actually changing the declared default, and then relies on change notification to update other properties (such as xalign). This, combined with glades insistance on putting default values into ui files creates a situation where we can't remove the redundant notification for ::draw-indicator without causing lots of checkboxes to suddenly have centered labels. This was seen in gnome-terminal, evolution, and other applications. Therefore, keep the extra notification for now. This can be revisited when we clean up the button hierarchy. gtk/gtktogglebutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit af507be99b7f6d440ccecaac126a3eb8b7c0c4eb Author: Matthias Clasen Date: Fri Jun 27 18:43:59 2014 -0400 inspector: Chain up in constructed Its the right thing to do. gtk/inspector/window.c | 2 ++ 1 file changed, 2 insertions(+) commit 8231a3c7b9b8b727946335ed590f767cb463a19b Author: Lapo Calamandrei Date: Fri Jun 27 16:23:12 2014 +0200 Adwaita: export the right color for the wm hilight dark var gtk/resources/theme/Adwaita/_colors.scss | 7 ++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) commit 796dc682bcc60e8756009b59466e176c71099f75 Author: Jasper St. Pierre Date: Thu Jun 26 19:47:39 2014 -0400 gtkwindow: Refactor out some similar code for grips gtk/gtkwindow.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 1210b693a014abadc2be32dc3912a34c1aac6721 Author: Jasper St. Pierre Date: Thu Jun 26 19:45:55 2014 -0400 gtkwindow: Merge some similar code gtk/gtkwindow.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit 95cb816666c6200c0390e5a3c916a38c37ac3e38 Author: Jasper St. Pierre Date: Thu Jun 26 19:43:28 2014 -0400 gtkwindow: Remove a dead chain-up GtkWidget / GtkBin don't have configure-event handlers, so we don't need to attempt to chain up to them. gtk/gtkwindow.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 651328b0e4452d3fc40418b7470200e07e8d1038 Author: Lapo Calamandrei Date: Fri Jun 27 14:53:31 2014 +0200 Adwaita: remove borders from flat frames gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 5 insertions(+) commit 89f2a48bb1107d9f628e7c0d00342f2e89d84672 Author: Lapo Calamandrei Date: Fri Jun 27 14:47:29 2014 +0200 Adwaita: remove borders from scrollbars junction gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 8b1e52cbd6546161baeb286d6f1a7ce09f14b79e Author: Lapo Calamandrei Date: Fri Jun 27 14:24:53 2014 +0200 Adwaita: initial flat entry styling. gtk/resources/theme/Adwaita/_common.scss | 17 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 250 +++++++++++---------- gtk/resources/theme/Adwaita/gtk-contained.css | 242 +++++++++++--------- 3 files changed, 285 insertions(+), 224 deletions(-) commit 6e7e1ebf46ff24681ee4e0050f3da1a2becd861a Author: Lapo Calamandrei Date: Fri Jun 27 13:15:54 2014 +0200 Adwaita: .flat button styling gtk/resources/theme/Adwaita/_common.scss | 17 ++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 22 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 22 +++++++++++----------- 3 files changed, 32 insertions(+), 29 deletions(-) commit ec7200797edd93bbb5d397f82206dbaf4126025f Author: Matthias Clasen Date: Wed Jun 25 23:17:26 2014 -0400 GtkFrame: Use style classes for shadow Use the FLAT style class when shadow is set to none, and let the theme render the appropriate border. https://bugzilla.gnome.org/show_bug.cgi?id=732256 gtk/gtkframe.c | 68 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) commit 17679c168a2360ad600d7c24e8631487cb759e78 Author: Matthias Clasen Date: Wed Jun 25 22:08:27 2014 -0400 GtkEntry: Make has-frame use style classes Instead of code that internally does weird things, use the FLAT style class if has-frame is FALSE and remove it otherwise. Based on a patch by Benjamin Otte. https://bugzilla.gnome.org/show_bug.cgi?id=732256 fixup entry gtk/gtkentry.c | 58 +++++++++++++++++++++++++++------------------------------- 1 file changed, 27 insertions(+), 31 deletions(-) commit 598777166fc6d86fedbe1fa0df6b2afed73378e3 Author: Matthias Clasen Date: Thu Jun 26 21:59:06 2014 -0400 GtkButton: Use FLAT style class This commit makes button always draw background and frame. Buttons with relief none get a new style class, FLAT, which allows themes to style these buttons as they like. We also (finally) mark GTK_RELIEF_HALF as deprecated. It has never done anything different from GTK_RELIEF_NORMAL. https://bugzilla.gnome.org/show_bug.cgi?id=732256 gtk/gtkbutton.c | 69 +++++++++++++++++++++++++------------------------- gtk/gtkbutton.h | 2 +- gtk/gtkbuttonprivate.h | 1 - gtk/gtkenums.h | 2 +- 4 files changed, 37 insertions(+), 37 deletions(-) commit e6341a0b630635438982b9abe9c02d48041a1bc0 Author: Matthias Clasen Date: Thu Jun 26 22:00:29 2014 -0400 Add a FLAT style class This will be used for frame-less buttons and frames in the future. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstylecontext.h | 11 +++++++++++ 2 files changed, 12 insertions(+) commit 3bd2705b7acad4a5fefc19a34a087b6335b1ec92 Author: Matthias Clasen Date: Wed Jun 25 23:43:35 2014 -0400 GtkScrolledWindow: Use style classes for shadow Translate shadow != None into the FRAME style class. This doesn't change the style classes used for drawing, it only sets the style class permanently instead of saving and restoring in draw(). https://bugzilla.gnome.org/show_bug.cgi?id=732256 gtk/gtkscrolledwindow.c | 74 +++++++++++++++++++++++-------------------------- 1 file changed, 35 insertions(+), 39 deletions(-) commit dbeb0c9ca864a61615ed2dae66110d29d42113c5 Author: Matthias Clasen Date: Wed Jun 25 23:42:47 2014 -0400 GtkViewport: Use style classes for shadow Translate shadow != None into the FRAME style class. This doesn't change the style classes used for drawing, it only sets the style class permanently instead of saving and restoring in draw(). https://bugzilla.gnome.org/show_bug.cgi?id=732256 gtk/gtkviewport.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 9c37b3de7466a22d4c784657a86c522e2a4f118a Author: Jasper St. Pierre Date: Thu Jun 26 18:22:42 2014 -0400 gtk: Don't use GObjectClass.constructor Use the newer constructed instead, which has a fast path in GObject. gtk/gtkassistant.c | 22 ++++++---------------- gtk/gtkbutton.c | 26 +++++++------------------- gtk/gtkcellview.c | 27 ++++++++------------------- gtk/gtkcombobox.c | 25 +++++++------------------ gtk/gtkcomboboxtext.c | 14 ++++---------- gtk/gtkcustompaperunixdialog.c | 17 +++++------------ gtk/gtkdialog.c | 22 ++++++---------------- gtk/gtkentrycompletion.c | 25 +++++++------------------ gtk/gtkfilechooserbutton.c | 25 +++++++------------------ gtk/gtkfilechooserwidget.c | 25 +++++++------------------ gtk/gtkiconview.c | 23 +++++++---------------- gtk/gtkinvisible.c | 21 +++++---------------- gtk/gtkprintjob.c | 27 +++++++-------------------- gtk/gtkprintunixdialog.c | 17 +++++------------ gtk/gtkrecentchooserdialog.c | 21 ++++++--------------- gtk/gtkrecentchoosermenu.c | 27 ++++++++------------------- gtk/gtkscalebutton.c | 25 +++++++------------------ gtk/gtkstatusicon.c | 34 +++++++++++----------------------- gtk/gtktreemenu.c | 25 +++++++------------------ gtk/gtktreeviewcolumn.c | 22 ++++++---------------- gtk/gtkwindow.c | 21 +++++++-------------- 21 files changed, 140 insertions(+), 351 deletions(-) commit 66492678b5a3043f4acd77a6a41405bc4f8097b3 Author: Matthias Clasen Date: Thu Jun 26 17:58:43 2014 -0400 Flip GTK_STOCK_CLEAR icon in rtl locales Adwaita now includes an edit-clear-rtl variant, so lets use it. gtk/deprecated/gtkiconfactory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 75e770bc5003f2b421f15367eb614314ff5d0a15 Author: Jasper St. Pierre Date: Thu Jun 26 15:05:41 2014 -0400 gtkwindow: Remove a dumb invalidate_rect from our configure_event We shouldn't invalidate the entire window when we receive a ConfigureNotify. That's just broken. gtk/gtkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 46e7f7f4567ef56102703f725d993cd151cec070 Author: Jasper St. Pierre Date: Thu Jun 26 15:00:59 2014 -0400 gtkwindow: Remove a vestigal line of painting for OR windows Since we have a paint clock, we shouldn't be sending out EXPOSE events for OR windows inside the ALLOCATE cycle. The idea here was that we would have to wait for a map to get an OR window to paint to, but since then this has been abstracted away inside GDK and the paint clock. gtk/gtkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 35f618e71dccc02a2226b9f8115d29ec878caf62 Author: Jasper St. Pierre Date: Thu Jun 26 14:41:02 2014 -0400 gtkwindow: Remove an unnecessary set of grip setting We already update the grip position in _gtk_window_set_allocation, which is done through the size_allocate above. Receiving a ConfigureNotify also won't ever change a grip's visibility, so there's no point in refreshing it. gtk/gtkwindow.c | 3 --- 1 file changed, 3 deletions(-) commit 6926821ae12b3a856f208abc884e0076e37cf602 Author: Jasper St. Pierre Date: Thu Jun 26 14:17:56 2014 -0400 treeview: Remove configure-event handler as well gtk/gtktreeview.c | 20 -------------------- 1 file changed, 20 deletions(-) commit 886f58e1cf2b4918ae33dc2b6279fd7e61c56827 Author: Jasper St. Pierre Date: Thu Jun 26 14:16:26 2014 -0400 colorplane: Don't connect to the configure-event signal We want to stop people from using configure events entirely. GtkDrawingArea synthesizes a configure event, but we can just make the only user of this functionality stop it, and correct the documentation to not mention it. gtk/gtkcolorplane.c | 9 ++++----- gtk/gtkdrawingarea.c | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) commit 5b571ff4b6eff43d187f288974b4c8de67f33aa1 Author: Emmanuele Bassi Date: Thu Jun 26 19:23:52 2014 +0100 docs: Show examples of how to use templates API The template documentation is lacking inlined examples on how to use the templates API, like binding children and callbacks. This makes looking for best practices a bit harder than it ought to be, for a feature this useful. gtk/gtkwidget.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) commit 6325e4a037d10074442043287223eb639479fc78 Author: Jasper St. Pierre Date: Thu Jun 26 10:30:29 2014 -0400 gtkwindow: Force CSD on Wayland We rely on CSD here on the Wayland platform and giving the opportunity to turn it off doesn't make too much sense. gtk/gtkwindow.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit aab74adbcedea7523998a91938d98cc7f77f9bc4 Author: Rico Tzschichholz Date: Thu Jun 26 14:04:42 2014 +0200 icon-browser: Add iconbrowser.gresource.xml to EXTRA_DIST demos/icon-browser/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit b9bd7159c0b2ed6a6df4e2e01a91c4848b181414 Author: Matthias Clasen Date: Wed Jun 25 16:23:57 2014 -0400 Disable deprecation warnings in tests We want to test deprecated properties, so failing the tests with warnings is not productive. testsuite/a11y/Makefile.am | 5 ++++- testsuite/gtk/Makefile.am | 2 ++ testsuite/reftests/Makefile.am | 4 +++- 3 files changed, 9 insertions(+), 2 deletions(-) commit 3708758fee7e700efedfbf2eaf56fc64e1f52494 Author: Piotr Drąg Date: Wed Jun 25 20:05:56 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 86d2315b27405da833b8c077b2a0c83e16342b5d Author: Matthias Clasen Date: Wed Jun 25 13:52:18 2014 -0400 icon-theme: Add another lookup order test This tests rtl lookup order for non-symbolic icons. testsuite/gtk/icontheme.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit c1d8ba930ba492ec37a9f00b3ad1b1af836e269f Author: Matthias Clasen Date: Wed Jun 25 12:36:20 2014 -0400 icon-browser: drop icons that were removed from Adwaita These non-standard icons were dropped from Adwaita. Eventually, the icon-browser code should be changed to show all standard icons + whatever is actually in the icon theme, instead of hardcoding a list of non-standard names. demos/icon-browser/iconbrowserwin.c | 6 ------ 1 file changed, 6 deletions(-) commit 80d6735ffc328137fdc366b777fe65b0bf09ab02 Author: Carlos Garnacho Date: Tue Jun 24 19:08:51 2014 +0200 gesture: Consume the event triggering ::begin if reset within the handler If the event triggers GtkGesture::begin, and the handler ends up resetting the gesture (say, due to taking a grab somewhere else within the handler), still take the event as "managed", as it actually triggered recognition, even if just to end abruptly. https://bugzilla.gnome.org/show_bug.cgi?id=731711 gtk/gtkgesture.c | 57 +++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 40 insertions(+), 17 deletions(-) commit fa4301c63e05c3a6859c43b41df4d79e2f80af1b Author: Matthias Clasen Date: Wed Jun 25 06:50:39 2014 -0400 icon-browser: fix a typo demos/icon-browser/iconbrowserwin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d46f165636dab3f71a12ae9b24ae59646c8fab80 Author: Matthias Clasen Date: Tue Jun 24 22:24:46 2014 -0400 icon browser: drop an misnamed icon small-progress was just my local test icon for scaling of spinners. demos/icon-browser/iconbrowserwin.c | 1 - 1 file changed, 1 deletion(-) commit a5f474bc667b100b029a56f81d3a39e01bf34c4b Author: Matthias Clasen Date: Tue Jun 24 18:36:29 2014 -0400 Add an icon browser This is meant to help app authors choose the right icons. configure.ac | 1 + demos/Makefile.am | 2 +- demos/icon-browser/Makefile.am | 35 ++ demos/icon-browser/app-menu.ui | 12 + demos/icon-browser/gtk3-icon-browser.desktop | 10 + demos/icon-browser/iconbrowser.gresource.xml | 7 + demos/icon-browser/iconbrowserapp.c | 80 +++ demos/icon-browser/iconbrowserapp.h | 19 + demos/icon-browser/iconbrowserwin.c | 760 +++++++++++++++++++++++++++ demos/icon-browser/iconbrowserwin.h | 20 + demos/icon-browser/main.c | 8 + demos/icon-browser/window.ui | 308 +++++++++++ docs/reference/gtk/Makefile.am | 2 + docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-icon-browser.xml | 55 ++ 15 files changed, 1319 insertions(+), 1 deletion(-) commit 12e389dd3ce48f58208d42ac0369c7303190adb0 Author: Richard Hughes Date: Tue Jun 24 21:17:39 2014 +0100 Makefile: Actually dist the high-contrast and dark test files testsuite/reftests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 2aed2cddd599f8d2f3e76d4362de4a8eb05ca80f Author: Lapo Calamandrei Date: Tue Jun 24 20:17:38 2014 +0200 Adwaita: add inconsistent hover check/radios gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++++ 3 files changed, 21 insertions(+) commit 64b3884e9840c1e922336c8a55abe7957bb9b83b Author: Matthias Clasen Date: Tue Jun 24 13:30:33 2014 -0400 Another forgotten file configure.ac | 1 - 1 file changed, 1 deletion(-) commit 18aa240267fbe627093dedc55236271aa33fed7e Author: Matthias Clasen Date: Tue Jun 24 13:23:29 2014 -0400 Forgotten file demos/pixbuf-demo/background.jpg | Bin 22219 -> 0 bytes 1 file changed, 0 insertions(+), 0 deletions(-) commit d09c458cedc1dc55599de6abb8978308c1b47dcc Author: Matthias Clasen Date: Tue Jun 24 13:21:05 2014 -0400 GtkButton: Queue a redraw on enter/leave We currently getting a redraw for buttons, but that is just luck. Better to make it explicit. gtk/gtkbutton.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 545704401ed6d17b4145d54e97b45a11b32a42aa Author: Matthias Clasen Date: Tue Jun 24 13:12:56 2014 -0400 Drop standalone pixbuf-demo The same demo is included in gtk3-demo. One copy is enough. demos/Makefile.am | 2 +- demos/pixbuf-demo/Makefile.am | 41 ------- demos/pixbuf-demo/apple-red.png | Bin 3545 -> 0 bytes demos/pixbuf-demo/gnome-applets.png | Bin 3090 -> 0 bytes demos/pixbuf-demo/gnome-calendar.png | Bin 2755 -> 0 bytes demos/pixbuf-demo/gnome-foot.png | Bin 2916 -> 0 bytes demos/pixbuf-demo/gnome-gimp.png | Bin 3410 -> 0 bytes demos/pixbuf-demo/gnome-gmush.png | Bin 3244 -> 0 bytes demos/pixbuf-demo/gnome-gsame.png | Bin 4263 -> 0 bytes demos/pixbuf-demo/gnu-keys.png | Bin 3852 -> 0 bytes demos/pixbuf-demo/pixbuf-demo.c | 215 ----------------------------------- 11 files changed, 1 insertion(+), 257 deletions(-) commit 1b3542419c0878277169e764a7d9ebb57ad55634 Author: Matthias Clasen Date: Tue Jun 24 13:03:47 2014 -0400 GtkToggleButton: Queue a redraw on enter/leave Without this, we don't redraw consistently for prelight state changes. gtk/gtktogglebutton.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 5cce44c0e1acaba05fcecd95fa6351deee2fd585 Author: Matthias Clasen Date: Tue Jun 24 11:45:57 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4048803dea67b4521a2b9a0ba299f77ebed05dba Author: Matthias Clasen Date: Tue Jun 24 07:54:10 2014 -0400 3.13.3 NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) commit ecffe569551b2d91e5fa39936db9b50d5e2aab86 Author: Matthias Clasen Date: Tue Jun 24 08:21:29 2014 -0400 Avoid deprecation warnings We know regions are deprecated, no need to warn about it here. gtk/gtkcssmatcher.c | 6 +++++- tests/styleexamples.c | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) commit 739dacf12acb90acda8c107a2e9c1ab92b34bd46 Author: Lapo Calamandrei Date: Tue Jun 24 14:04:26 2014 +0200 Adwaita: set the correct indicator color for reorderable hover tabs gtk/resources/theme/Adwaita/_common.scss | 51 ++++++++++------------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 16 +++---- gtk/resources/theme/Adwaita/gtk-contained.css | 16 +++---- 3 files changed, 40 insertions(+), 43 deletions(-) commit 7903c1d2a4d317694dc57050d2cab880aaa52e3f Author: Lapo Calamandrei Date: Tue Jun 24 13:42:13 2014 +0200 Adwaita: only side borders for reorderable tabs gtk/resources/theme/Adwaita/_common.scss | 14 ++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 51 ++++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 51 ++++++++++++++-------- 3 files changed, 80 insertions(+), 36 deletions(-) commit 67c3044f81dd89f0dfc37ba9a9a8ce98e616b4a1 Author: Adam Dingle Date: Tue Jun 24 06:48:47 2014 -0400 Require GLib 2.41.1 (for G_PARAM_EXPLICIT_NOTIFY) configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit abe36dc9cd03e631564721c6f3e9bc6484b2dfe9 Author: Lapo Calamandrei Date: Tue Jun 24 10:38:03 2014 +0200 Adwaita: added active state to the switch slider gtk/resources/theme/Adwaita/_common.scss | 7 +++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++++ gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++++ 3 files changed, 27 insertions(+) commit 3cb2bf8b8a339083384f57b0a803540b89c95608 Author: Lapo Calamandrei Date: Tue Jun 24 10:28:19 2014 +0200 Adwaita: comment out button separators removal ...after reading #gnome-design scrollbark, since a consensus on how to achieve this has not been reached yet. gtk/resources/theme/Adwaita/_common.scss | 8 ++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 --- gtk/resources/theme/Adwaita/gtk-contained.css | 3 --- 3 files changed, 4 insertions(+), 10 deletions(-) commit 793a3eab8296be8761a70964845c4c77c3625773 Author: Lapo Calamandrei Date: Tue Jun 24 10:25:49 2014 +0200 Adwaita: fix view check/radio selected state. gtk/resources/theme/Adwaita/_common.scss | 13 ++++++++---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++++--------- gtk/resources/theme/Adwaita/gtk-contained.css | 24 +++++++++++++--------- 3 files changed, 37 insertions(+), 24 deletions(-) commit 58b2d2cd0cc2283070c0fcf202e83ff9cc13d55e Author: Lapo Calamandrei Date: Tue Jun 24 09:28:29 2014 +0200 Adwaita: disable separators in buttons gtk/resources/theme/Adwaita/_common.scss | 6 +++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 11 insertions(+), 7 deletions(-) commit de071768ae11e6f68d8f2375fd87858064ada538 Author: Colomban Wendling Date: Tue Jun 24 03:37:59 2014 +0200 gdkwindow: Don't leak the surface in gdk_cairo_create() gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit 7119037743b38cedb29d5a5611341df78517a828 Author: Matthias Clasen Date: Mon Jun 23 21:24:41 2014 -0400 Add a test for async icon loading testsuite/gtk/icontheme.c | 96 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 91 insertions(+), 5 deletions(-) commit e76f41b788ef242eab8d63605969c878bcfd7139 Author: Jasper St. Pierre Date: Mon Jun 23 17:55:55 2014 -0400 gtkmain: Rearrange code Prevent a segfault in unknown circumstances, and break the ignore deprecations wrapper out from the if statement so that we don't cover too much ground by accident. gtk/gtkmain.c | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) commit f4c2c4c6671b783ae47187ef69765ae81367da0d Author: Jasper St. Pierre Date: Mon Jun 23 17:36:43 2014 -0400 gtkwidget: Actually mark set_double_buffered as deprecated gtk/gtkmain.c | 2 ++ gtk/gtkwidget.c | 4 ++++ gtk/gtkwidget.h | 4 ++-- 3 files changed, 8 insertions(+), 2 deletions(-) commit 24b9e91f470d2f355c6e19013f302295151baacf Author: Jasper St. Pierre Date: Mon Jun 23 17:36:16 2014 -0400 Revert "gtkwidget: Widgets are now always double-buffered" This reverts commit b875572f2af532b0e8f2dc368f8dc824b5f92724. Apps like Abiword, gnumeric and gnome-chess, and toolkits like ClutterGTK were all using this for various purposes, and this made them break. Bring back this feature for now. It still won't work under Wayland. gdk/gdkwindow.c | 4 +++- gtk/gtkmain.c | 23 +++++++++++++++-------- gtk/gtkwidget.c | 50 ++++++++++++++++++++++++++++++++++++++++++-------- 3 files changed, 60 insertions(+), 17 deletions(-) commit 984e811c16891cb4945a090bea8ec9e81ce3dba6 Author: Jasper St. Pierre Date: Mon Jun 23 17:33:14 2014 -0400 gdkwindow: Allow calling gdk_cairo_create outside of a "paint" Apps had quite a bit of difficulty getting used to the new rules. While we weren't expecting anything too deadly, it seemed that gnumeric and Abiword both used gdk_cairo_create like this. gdk/gdkwindow.c | 26 +++++++------------------- 1 file changed, 7 insertions(+), 19 deletions(-) commit e67e8ebb301368449b417ec11a6a6323257e09cd Author: Jasper St. Pierre Date: Mon Jun 23 16:15:48 2014 -0400 gdkwindow: Remove extra arguments from process_updates_recurse_helper These can easily be calculated inside the function. gdk/gdkwindow.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 70fe57703bcd733e3f2811a0a236ff7796d6a38d Author: Jasper St. Pierre Date: Mon Jun 23 16:12:45 2014 -0400 gdkwindow: Don't do some extra work We can do an early return in some specific cases before we need to create and clip a cairo region. gdk/gdkwindow.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit a9759c7756c719a89546f3287e16d230d0d87646 Author: Jasper St. Pierre Date: Mon Jun 23 16:11:56 2014 -0400 gdkwindow: Remove an unused variable gdk/gdkwindow.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit 8eb092ea14b2ba4929784e8316a30e61b7fae4ab Author: Jasper St. Pierre Date: Mon Jun 23 12:29:55 2014 -0400 gdkwindow: Make the precondition of gdk_window_add_damage clearer gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 06cfaea5535a5f7c1dff47990338b03513f870e6 Author: Jasper St. Pierre Date: Mon Jun 23 12:23:48 2014 -0400 gdkwindow: Simplify check for damaging offscreen windows If a window both has an impl and its impl_window is of type offscreen, that must mean that it is the offscreen window, and the impl window is itself. We can reduce the indirection here and make it more clear. gdk/gdkwindow.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit b99dc9eede80166cf40b7d9c951c5c3f459eccd6 Author: Jasper St. Pierre Date: Mon Jun 23 12:22:33 2014 -0400 gdkwindow: Make gdk_window_add_damage more private gdk/gdkinternals.h | 3 --- gdk/gdkwindow.c | 32 ++++++++++++++++---------------- 2 files changed, 16 insertions(+), 19 deletions(-) commit 3d0dac0aefb17bf8ac8b77acb56cbc7c016f5a58 Author: Matthias Clasen Date: Mon Jun 23 12:20:59 2014 -0400 GtkIconTheme: Copy all fields in icon_info_dup This functionality is only exercised by gnome-shell, currently. Therefore, forgetting to copy a field here means an instant gnome-shell crash :-(. More tests needed. gtk/gtkicontheme.c | 5 +++++ 1 file changed, 5 insertions(+) commit 30982b6d4e29a8798c9942151f30c2b90500e355 Author: Matthias Clasen Date: Mon Jun 23 12:13:22 2014 -0400 GtkIconTheme: Be more careful when warning It sucks when printing a warning causes gnome-shell to crash, so be more careful about icon names being NULL here. gtk/gtkicontheme.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 12a40cf8a616924f15a8020c2af4e986012f41c9 Author: Matthias Clasen Date: Mon Jun 23 07:05:29 2014 -0400 GtkIconTheme: keep misplaced symbolics working Recent changes made it a breaking mistake to install symbolic icons of the wrong size into a theme directory, or into the legacy unthemed icon location. Since this change affects many apps, do the extra work to keep these icons working, but emit warnings, in the hope that this will lead to cleaning up the mess over time. gtk/gtkicontheme.c | 27 ++++++++++++++++++++++++++- 1 file changed, 26 insertions(+), 1 deletion(-) commit fe92c4478e8d62b623690a07a4328b43edb1d62b Author: Matthias Clasen Date: Sun Jun 22 22:04:00 2014 -0400 Move some comments around gtk/gtkicontheme.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit a44f01c573790e41d46550de088db8ef46ff2ebd Author: Matthias Clasen Date: Sun Jun 22 16:46:11 2014 -0400 Some documentation rewording gtk/gtkicontheme.c | 32 +++++++++++++++----------------- 1 file changed, 15 insertions(+), 17 deletions(-) commit fe6cd7f2a56d19b43269d8734f67d1ba315f488a Author: Matthias Clasen Date: Sun Jun 22 14:12:29 2014 -0400 Adwaita: Use rtl variants of pan-end when needed The -gtk-icontheme() function not have any automatism for symbolic or rtl variants built-in, instead, we expect the theme to use selectors to provide the right icon for each situation. gtk/resources/theme/Adwaita/_common.scss | 2 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 10 insertions(+) commit 11e394b7b506d866385dd3bc22ef22e2a5cf62c7 Author: Matthias Clasen Date: Sun Jun 22 13:32:50 2014 -0400 widget-factory: Fix another icon size problem 0 is still not a valid icon size. demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d76785a993aa71f880d5805d1c010d4d12000bc1 Author: Matthias Clasen Date: Sun Jun 22 13:22:43 2014 -0400 win32: Drop remnants of def files We no longer have .def files, so don't refer to them from the win32 build machinery. Patch by Cilyan Olowen gdk/Makefile.am | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) commit 9d69ff697cb8a2cec05e6d5a08bac4bb9f7998bb Author: Bastien Nocera Date: Thu Jun 19 14:11:22 2014 +0200 placessidebar: Use symbolic name for symbolic icon https://bugzilla.gnome.org/show_bug.cgi?id=731908 gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4617fa75681be065b6071e86ae6aa49e31226234 Author: Matthias Clasen Date: Sun Jun 22 12:10:46 2014 -0400 Docs: Reword deprecation notes Mainly, make sure that deprecated properties are documented as such. In this case: double-buffered. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f00a1f9aaee65fb11d5569e8fb559321ce6a7ec2 Author: Matthias Clasen Date: Sun Jun 22 12:09:52 2014 -0400 notify test: Skip GtkWidget::double-buffered This property is now deprecated, and ignored, thus: no notification. testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit a5543beced2a5174a08b89c56137e0b829378a17 Author: Matthias Clasen Date: Fri Jun 20 17:17:07 2014 -0400 widget-factory: Fix an icon size problem 0 is not a valid icon size, and setting it has unpredictable results. Replace it by 1, which is the right icon size to use in buttons. demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f5d7e54d33ce72ba1cdcb2d4cd75ef61e946504a Author: Matthias Clasen Date: Fri Jun 20 18:34:06 2014 -0400 GtkCellRendererPixbuf: Set force_scale_pixbuf The recent icon theme scaling changes make the code more sensitive to mis-sized icons (e.g. application icons in the app chooser). A single row whose size gets blown out of proportion by a big icon is never wanted in a list. We can avoid this situation by telling GtkIconHelper to force-scale the pixbuf to the requested size. gtk/gtkcellrendererpixbuf.c | 1 + 1 file changed, 1 insertion(+) commit 6d83b173df5f7de3a0498e98076da9359d506809 Author: Matthias Clasen Date: Sun Jun 22 11:14:41 2014 -0400 GtkIconHelper: use FORCE_SCALE when force_scale_pixbuf is set When force_scale_pixbuf is set, the icon helper will scale the icon to the requested size (either the pixel size, or the resolved icon size), so we can just as well instruct the icon theme code to do the scaling for us. gtk/gtkiconhelper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6cc32c24be5db07d9a26b953401d955e2e62025c Author: Matthias Clasen Date: Fri Jun 20 15:52:48 2014 -0400 GtkIconTheme: Drop an unused variable We no longer need a separate field for symbolic icon size, now that we are using the directory size. gtk/gtkicontheme.c | 3 --- 1 file changed, 3 deletions(-) commit b96058c3b70bd0f59b588bed68bea8901ace83ec Author: Matthias Clasen Date: Fri Jun 20 15:47:00 2014 -0400 GtkIconTheme: Load symbolic icons at the same size Reuse the scale information that we have from loading icons normally, when loading a symbolic icon, so that we apply the same size constraints. This commit assumes that svgs have the nominal size of the directory they are in, which will be true for all current symbolic icons. gtk/gtkicontheme.c | 36 +++++++++++------------------------- 1 file changed, 11 insertions(+), 25 deletions(-) commit 769fc520552a9efe32af2ab615135fa6f3b0e009 Author: Matthias Clasen Date: Fri Jun 20 14:30:36 2014 -0400 Adapt icontheme tests With our new, improved icon theme spec compliance, some of the tests need updates to their expected outcomes. testsuite/gtk/icontheme.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) commit acb276c644f2cf7c6a025ce1fa8243194d6143dc Author: Matthias Clasen Date: Sun Jun 22 11:01:43 2014 -0400 GtkIconInfo: Small struct packing improvement This makes the GtkIconInfo struct a bit smaller. gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f2b98f45db21bed27c70e9f40fca1f79466a9e4b Author: Matthias Clasen Date: Fri Jun 20 14:58:44 2014 -0400 GtkIconInfo: Drop an unused field The GtkIconInfo threshold field was never used, so lets not carry it around. gtk/gtkicontheme.c | 5 ----- 1 file changed, 5 deletions(-) commit a10412f49eb9b2068b2101c291f873da98c51326 Author: Matthias Clasen Date: Fri Jun 20 14:17:47 2014 -0400 GtkIconTheme: Respect limits in theme dirs Previously, we were taking thresholds and min/max sizes into account when choosing the best theme dir, but when it came to loading the icon, we always scaled icons from scalable directories all the way, ignoring the min/max size limits. This commit changes things around so that we now load icons in Threshold directories at their nominal size, and scale icons in Scalable directories only up to the specified limits. To override this and keep the previous behaviour of scaling all the way to the desired size, use the GTK_ICON_THEME_FORCE_SIZE flag. gtk/gtkicontheme.c | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) commit 58715796d2e917dd4b3896f8a49b6712327710a7 Author: Jasper St. Pierre Date: Sun Jun 22 09:28:13 2014 -0400 gdkwindow: Provide a default implementation of process_updates_recurse As a quick code cleanup. gdk/broadway/gdkwindow-broadway.c | 8 -------- gdk/gdkoffscreenwindow.c | 8 -------- gdk/gdkwindowimpl.c | 8 ++++++++ gdk/wayland/gdkwindow-wayland.c | 8 -------- gdk/win32/gdkwindow-win32.c | 8 -------- gdk/x11/gdkwindow-x11.c | 8 -------- 6 files changed, 8 insertions(+), 40 deletions(-) commit a1fb252ebaa79f1ad0365459091998618cd90e5e Author: Jasper St. Pierre Date: Sun Jun 22 09:26:01 2014 -0400 gdkwindow-broadway: Move the dirty flag setting to end_paint This is where it belongs -- process_updates_recurse is the wrong place for it. gdk/broadway/gdkwindow-broadway.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit b59d2d1afac8b6a99eb63372d5a5de1acb25017c Author: Jasper St. Pierre Date: Sun Jun 22 09:21:35 2014 -0400 gdkwindow: Move a variable closer to where it's used To make the code clearer. gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b2be9c0a9b7e0250099069f4e0804ac38de0913b Author: Jasper St. Pierre Date: Sun Jun 22 09:21:19 2014 -0400 gdkwindow: Remove an unused variable gdk/gdkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 1c57abb02b7b1c235b0b8f3c241246447b7b196c Author: Matthias Clasen Date: Sat Jun 21 21:34:50 2014 -0400 GtkSwitch: Implement hover for GtkSwitch This makes switches more similar to other activatable widgets like buttons or scales. gtk/gtkswitch.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 0dfd506b3c2e5c0c746929cebcc849238a5c9c32 Author: Jasper St. Pierre Date: Sat Jun 21 18:43:28 2014 -0400 gdkwidow: Make queue_antiexpose optional gdk/broadway/gdkwindow-broadway.c | 7 ------- gdk/gdkwindow.c | 5 ++++- gdk/quartz/gdkwindow-quartz.c | 7 ------- gdk/wayland/gdkwindow-wayland.c | 7 ------- gdk/win32/gdkwindow-win32.c | 7 ------- 5 files changed, 4 insertions(+), 29 deletions(-) commit 8ae546857c5749ec8e59887910eab0328b1dc84e Author: Jasper St. Pierre Date: Sat Jun 21 18:36:51 2014 -0400 gdkwindow-win32: Remove queue_antiexpose implementation Since the Win32 code never actually called InvalidateRgn or used the Win32 update area at all, that meant the only thing that could possibly invalidate the window was the Win32 window manager as part of scrolling or resizing, which would also send it a WM_PAINT message. But the WM_PAINT handling called BeginPaint / EndPaint, which clears the update area completely! We also draw out-of-band, not directly when handling WM_PAINT, so there's no way that the update area inside the Win32 WM would match our local one. There is no possible way that this queue_antiexpose implementation could do anything. Remove it. gdk/win32/gdkwindow-win32.c | 9 --------- 1 file changed, 9 deletions(-) commit 4d8cd2f7cf143fbee57c5c7e6aed76755e792bb5 Author: Jasper St. Pierre Date: Sat Jun 21 18:26:41 2014 -0400 gdkevents-win32: Remove dead code gdk/win32/gdkevents-win32.c | 43 ++----------------------------------------- 1 file changed, 2 insertions(+), 41 deletions(-) commit c767d504c5823ab580b93a5542a29121221db75a Author: Jasper St. Pierre Date: Sat Jun 21 18:03:56 2014 -0400 gdkwindow: Don't bother with a return parameter for queue_antiexpose Standard refcounting works perfectly well. Don't give us the opportunity for more memory leaks. gdk/broadway/gdkwindow-broadway.c | 3 +-- gdk/gdkoffscreenwindow.c | 3 +-- gdk/gdkwindow.c | 7 +++---- gdk/gdkwindowimpl.h | 8 +++----- gdk/quartz/gdkwindow-quartz.c | 3 +-- gdk/wayland/gdkwindow-wayland.c | 3 +-- gdk/win32/gdkwindow-win32.c | 6 ++---- gdk/x11/gdkgeometry-x11.c | 6 ++---- gdk/x11/gdkprivate-x11.h | 2 +- 9 files changed, 15 insertions(+), 26 deletions(-) commit dcef61ac44c99cefb85364bc953a78bbdfda2c5f Author: Jasper St. Pierre Date: Sat Jun 21 18:01:40 2014 -0400 gdkwindow-broadway: Squash memory leak We don't need to hang on to the update_area. gdk/broadway/gdkwindow-broadway.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb7bf07af63bbce548f1c0460198dddf5427fdda Author: Jasper St. Pierre Date: Sat Jun 21 17:59:48 2014 -0400 gdkwindow-broadway: Make queue_antiexpose implementation private gdk/broadway/gdkprivate-broadway.h | 2 -- gdk/broadway/gdkwindow-broadway.c | 8 ++++---- 2 files changed, 4 insertions(+), 6 deletions(-) commit 0bad7d8f5c42553ad755cb98b65b145ad5da8c0e Author: Jasper St. Pierre Date: Sat Jun 21 17:29:08 2014 -0400 gdkwindow-wayland: Attach new buffers and submit damage in end_paint process_updates_recurse is simply the wrong place for it to be. gdk/wayland/gdkwindow-wayland.c | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) commit afbadd663950878fe43aca7444ddfef2a3ce5b5b Author: Jasper St. Pierre Date: Sat Jun 21 17:33:09 2014 -0400 gdkwindow-wayland: Rename listener -> frame_listener Don't pollute the static namespace here. gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d9d0ba83acddba6976f9c985c59aee1dd88b497d Author: Michael Catanzaro Date: Sat Jun 21 12:15:42 2014 -0500 docs: add missing apostrophe gtk/deprecated/gtkmisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9036ed0d67ae88a0fe2e0403dcdf52ef7d2db942 Author: Jasper St. Pierre Date: Sat Jun 21 11:25:16 2014 -0400 gdkwindow: Correct a signature We removed the parameter from callers and from the implementation, but not from the signature up top. I didn't notice because the branch I was working on removed the signature entirely. gdk/gdkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 47d6677e92bb364b6a58fad624d89ebb4a0fc6dd Author: Jasper St. Pierre Date: Sat Jun 21 10:33:40 2014 -0400 gdkwindow: Remove an extra region copy This code is only called with the current paint region as its argument. Instead of having to copy it and do a no-op intersect against itself, just use the current paint directly. gdk/gdkwindow.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit 7fefd211b87017f0860117c2fc70a36b90708311 Author: Jasper St. Pierre Date: Sat Jun 21 10:16:14 2014 -0400 gdkwindow: Clean up code Introduce a temporary to make the code a bit more clear under these cases. gdk/gdkwindow.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit e7003052793c79fd1d5ebfd594e0e24252a445c3 Author: Jasper St. Pierre Date: Sat Jun 21 10:16:58 2014 -0400 gdkwindow: Clean up formatting Tabs to spaces, add some whitespace. gdk/gdkwindow.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit ec5e913a9b525f04541b9d06e7c49dfa8f6a0ce0 Author: Jasper St. Pierre Date: Sat Jun 21 09:58:20 2014 -0400 gdkwindow: Add some extra documentation to gdk_cairo_create Mention the need to wrap the function inside gdk_window_begin_paint_region and gdk_window_end_paint. gdk/gdkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 93b31790424cbc2face0a885b5dd49889c2f297e Author: Benjamin Otte Date: Sat Jun 21 15:38:38 2014 +0200 widgetpath: Deprecate regions This is a foolowup to d80bf0790d0903ba2825f306b6f7435529f922e2 gtk/gtknotebook.c | 4 ++++ gtk/gtkstylecontext.c | 2 ++ gtk/gtktreeview.c | 2 ++ gtk/gtkwidgetpath.c | 14 ++++++++++++++ gtk/gtkwidgetpath.h | 12 ++++++------ testsuite/gtk/stylecontext.c | 3 +++ 6 files changed, 31 insertions(+), 6 deletions(-) commit 6bc251692a202c6ec54572cdab0dd68df16c77df Author: Jasper St. Pierre Date: Sat Jun 21 00:31:17 2014 -0400 gtkwidget: Add a warning about set_double_buffered As requested on the mailing list. gtk/gtkwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 28f381e936d00397676ad372205b41e6ff1fa212 Author: Jasper St. Pierre Date: Sat Jun 21 00:30:59 2014 -0400 testwindows: Remove another reference to set_double_buffered tests/testwindows.c | 1 - 1 file changed, 1 deletion(-) commit 4a72563c7b801052f4291a4757bd1011946677b9 Author: Jasper St. Pierre Date: Sat Jun 21 00:30:07 2014 -0400 gtktrayicon-x11: Stop using set_double_buffered There's nothing better we can do for this case, now that we always redirect drawing to a temporary pixmap. Maybe since this is already X11-specific code, we should just do everything with Xlib directly. gtk/gtktrayicon-x11.c | 26 -------------------------- 1 file changed, 26 deletions(-) commit 0ec00ffbb04796546785fcd4fa8df092b8564e43 Author: Matthias Clasen Date: Fri Jun 20 23:17:53 2014 -0400 Adwaita: Fix highlight on check buttons The .button style class does not apply to check and radio buttons, and .check only applies to menuitems. gtk/resources/theme/Adwaita/_common.scss | 2 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/resources/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 8 insertions(+) commit 60d39e973a60baaae210be36135cc478dc2c0a96 Author: Jasper St. Pierre Date: Fri Jun 20 20:47:59 2014 -0400 gdkwindow: Squash a leak in the subsurface case cairo_surface_create_for_rectangle takes a ref on the parent surface, so we need to drop ours. Rename get_window_surface to ref_window_surface to make the code more clear and to stop this error from happening again. gdk/gdkwindow.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) commit d619a78aeb5198af30001bc715fc5d8b732d6420 Author: Jasper St. Pierre Date: Fri Jun 20 20:46:49 2014 -0400 gdkwindow: Don't create a subsurface if we don't need to In the case we have a native window, we don't need to crop it to a non-native subrectangle, as abs_x / abs_y / width / height are all 0. gdk/gdkwindow.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit be30e440c350f0f3e0f2572f7f3eab54ef96af0e Author: Jasper St. Pierre Date: Fri Jun 20 20:20:14 2014 -0400 gdkwindow: Remove the ability to call begin_paint_region more than once Previously, each begin_paint_region added to a stack of current paints, and when end_paint was called, the paint was popped off of the stack and the surface was composited into the parent paint surface. However, the code was broken in the case of a backend like Wayland which didn't keep track of nested calls and simply wiped and returned the native impl backing surface every time. Since this feature is flat out unused by GTK+ and we don't want to really support tricksy things like these for other clients, just remove the feature. If somebody does call begin_paint_region more than once, warn and return without doing anything. gdk/gdkinternals.h | 6 +- gdk/gdkwindow.c | 180 ++++++++++++++---------------------------- gdk/quartz/gdkwindow-quartz.c | 47 +---------- gdk/quartz/gdkwindow-quartz.h | 1 - 4 files changed, 68 insertions(+), 166 deletions(-) commit d48adf9cee7e340acd7f8b9a5f9716695352b848 Author: Jasper St. Pierre Date: Fri Jun 20 11:55:09 2014 -0400 gdkwindow: Remove the internal cairo_surface used for out-of-band painting Traditionally, the way painting was done in GTK+ was with the "expose-event" handler, where you'd use GDK methods to do drawing on your surface. In GTK+ 2.24, we added cairo support with gdk_cairo_create, so you could paint your graphics with cairo. Since then, we've added client-side windows, double buffering, the paint clock, and various other enhancements, and the modern way to do drawing is to connect to the "draw" signal on GtkWidget, which hands you a cairo_t. To do double-buffering, the cairo_t we hand you is actually on a secret surface, not the actual backing store of the window, and when the draw handler completes we blit it into the main backing store atomically. The code to do this is with the APIs gdk_window_begin_paint_region, which creates the temporary surface, and gdk_window_end_paint which blits it back into the backing store. GTK+'s implementation of the "draw" signal uses these APIs. We've always sort-of supported people calling gdk_cairo_create "outside" of a begin_paint / end_paint like old times, but then you're not getting the benefit of double-buffering, and it's harder for GDK to optimize. Additionally, newer backends like Mir and Wayland can't actually support this model, since they're based on double-buffering and swapping buffers at various points in time. If we hand you a random cairo_t, we have no idea when is a good time to swap. Remove support for this. This is technically a GDK API break: a warning is added in cases where gdk_cairo_create is called outside of a paint cycle, and the returned surface is a dummy that won't ever be composited back onto the main surface. Testing with complex applications like Ardour didn't produce any warnings. gdk/broadway/gdkwindow-broadway.c | 11 --- gdk/gdkinternals.h | 2 - gdk/gdkoffscreenwindow.c | 13 --- gdk/gdkwindow.c | 185 +++++++++++++------------------------- gdk/gdkwindowimpl.h | 9 -- gdk/quartz/gdkwindow-quartz.c | 11 --- gdk/wayland/gdkwindow-wayland.c | 11 --- gdk/win32/gdkwindow-win32.c | 11 --- gdk/x11/gdkwindow-x11.c | 12 --- 9 files changed, 63 insertions(+), 202 deletions(-) commit b875572f2af532b0e8f2dc368f8dc824b5f92724 Author: Jasper St. Pierre Date: Fri Jun 20 11:11:24 2014 -0400 gtkwidget: Widgets are now always double-buffered gtk_widget_set_double_buffered is now deprecated, and we don't support non-double-buffered widgets. This means that under normal circumstances, paints are never outside of a begin_paint / end_paint sequence, which natively-double-buffered backends like Wayland can't possibly support. gdk/gdkwindow.c | 4 +--- gtk/gtkmain.c | 23 ++++++++--------------- gtk/gtkwidget.c | 49 +++++++++---------------------------------------- 3 files changed, 18 insertions(+), 58 deletions(-) commit a85f7028d47a39b18eb477601943b39c08147dc7 Author: Jasper St. Pierre Date: Fri Jun 20 11:09:42 2014 -0400 gdkwindow: Deprecate gdk_window_flush The function does nothing. gdk/gdkwindow.c | 16 +++------------- gdk/gdkwindow.h | 2 +- gtk/gtkmain.c | 7 ------- 3 files changed, 4 insertions(+), 21 deletions(-) commit 240daf55a193efd5cc83bb838a14e57ad4ce90ab Author: Matthias Clasen Date: Fri Jun 20 15:46:25 2014 -0400 GtkIconTheme: Drop an unused function gtk/gtkicontheme.c | 9 --------- 1 file changed, 9 deletions(-) commit 2472cf22db6e7fb9b1fe4c376bd660f3081c5c76 Author: Matthias Clasen Date: Fri Jun 20 15:26:15 2014 -0400 GtkIconTheme: Small cleanup Make the default symbolic colors a little more readable in the code. gtk/gtkicontheme.c | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) commit 669bc909d8310668334d3f2ad4870ac5d78a4017 Author: Matthias Clasen Date: Fri Jun 20 15:17:18 2014 -0400 GtkIconTheme: Trivial cleanup Drop the _-prefix from a static function. We've agreed to no stop using those prefixes. gtk/gtkicontheme.c | 59 +++++++++++++++++++++++++++--------------------------- 1 file changed, 29 insertions(+), 30 deletions(-) commit d1918bbb69e9ec11cb7472eef79cef6619c8cc73 Author: Matthias Clasen Date: Fri Jun 20 14:17:24 2014 -0400 Avoid a compiler warning The name_offset variable is indeed unused. gtk/gtkiconcache.c | 2 -- 1 file changed, 2 deletions(-) commit a24ef62f4db9149e3fb1d8030d9750ba1b2d054d Author: Matthias Clasen Date: Wed Jun 18 13:36:23 2014 -0400 Big spinner demos/widget-factory/widget-factory.ui | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 5ddacf094e1d0eeb318b2611bca91a804285f55b Author: Matthias Clasen Date: Fri Jun 20 12:11:55 2014 -0400 GtkIconTheme: Don't create empty IconThemeDir structs Starting gtk3-demo currently creates ~1200 of these, most of them for nonexisting directories. Lets try to avoid that. gtk/gtkicontheme.c | 83 +++++++++++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 39 deletions(-) commit b4d12fff4e5f6206e9ba33f25cb00cb31d7c7ee3 Author: Matthias Clasen Date: Fri Jun 20 12:11:22 2014 -0400 GtkIconCache: Add api to find if directories are empty This will help in not creating structs for tons of empty directories. gtk/gtkiconcache.c | 42 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkiconcache.h | 2 ++ 2 files changed, 44 insertions(+) commit 5925f9eeb4b35227f268af34307f137ad6725380 Author: Matthias Clasen Date: Fri Jun 20 11:44:51 2014 -0400 GtkStatusbar: Add some space between the frame and the label Looks better this way. gtk/resources/ui/gtkstatusbar.ui | 1 + 1 file changed, 1 insertion(+) commit 401bf15c9acffca6db2521a6ac9ab1ea89ce3b95 Author: Lapo Calamandrei Date: Fri Jun 20 17:25:19 2014 +0200 Adwaita: check/radio selector simplification gtk/resources/theme/Adwaita/_common.scss | 4 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 72 ++++++++-------------- gtk/resources/theme/Adwaita/gtk-contained.css | 72 ++++++++-------------- 3 files changed, 50 insertions(+), 98 deletions(-) commit f56345bbad359953fbd514aff8a339d55e099804 Author: Matthias Clasen Date: Fri Jun 20 11:13:33 2014 -0400 widget factory: Use a property action for the toolbar toggle This is slightly more elegant than doing it manually. demos/widget-factory/widget-factory.c | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) commit e7af95a40ce3ed1890e0d70235df16d92ee63126 Author: Matthias Clasen Date: Fri Jun 20 11:10:22 2014 -0400 widget factory: Add a statusbar A widget that is not represented in the widget factory is likely to not get proper attention from theme authors. demos/widget-factory/widget-factory.c | 6 ++++++ demos/widget-factory/widget-factory.ui | 17 +++++++++++++++++ 2 files changed, 23 insertions(+) commit ef30b8c05165930231404ce424c1a3b98c8d3c41 Author: Matthias Clasen Date: Fri Jun 20 10:53:36 2014 -0400 docs: Drop image references for stock items Most of those images are no longer in our tree, so just say which ones have icons and rtl variants, instead of showing it. docs/reference/gtk/Makefile.am | 119 --------------- gtk/deprecated/gtkstock.h | 319 ++++++++++++----------------------------- 2 files changed, 92 insertions(+), 346 deletions(-) commit 76922c169f0699d9b85ef3eff2170f2cede1782c Author: Jasper St. Pierre Date: Fri Jun 20 08:55:19 2014 -0400 wayland: Prevent stale paints and weird artifacts when using Weston Weston releases buffers almost immediately after they're done, which means that GTK+ doesn't use a temporary surface and instead paints directly onto the SHM backing store that Weston will use. Normally, after painting to the temporary surface, GTK+ *replaces* the existing backing surface with CAIRO_OPERATOR_SOURCE. However, if we immediately paint to the backing surface, it might have junk from the last paint in it. So clear out the backing surface whenever somebody calls begin_paint_region(). Maybe we should just always use the temporary surface like the X11 codepath, since that prevents us from having to do weird things like this, but oh well. gdk/wayland/gdkdisplay-wayland.c | 7 +++++++ gdk/wayland/gdkprivate-wayland.h | 1 + gdk/wayland/gdkwindow-wayland.c | 18 +++++++++++++++++- 3 files changed, 25 insertions(+), 1 deletion(-) commit 2672837a1471ba6f3f6afe1ab7017f3c10b21d76 Author: Matthias Clasen Date: Fri Jun 20 08:50:31 2014 -0400 GtkIconTheme: Keep gtk_icon_theme_add_resource_path private for now We need to discuss some details of the semantics before we can make this public. gtk/gtkicontheme.h | 4 ---- 1 file changed, 4 deletions(-) commit 4f1ff179bb7810160f6aad1f756adaa7e3d6e119 Author: Matthias Clasen Date: Fri Jun 20 08:46:42 2014 -0400 Revert "Document gtk_icon_theme_add_resource_path" This reverts commit 988b6b483dc9c21d050161d26652bb1006b9c686. docs/reference/gtk/gtk3-sections.txt | 1 - gtk/gtkicontheme.c | 16 ---------------- 2 files changed, 17 deletions(-) commit a31e8369f8deca6cb753be6d81e59caababcb043 Author: Matthias Clasen Date: Fri Jun 20 08:46:24 2014 -0400 Revert "Deprecate gtk_icon_theme_add_builtin_icon" This reverts commit 923eeda2d3cae13d02b0a9d2e5774b12eed999e0. gtk/gtkicontheme.c | 5 ----- gtk/gtkicontheme.h | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) commit 923eeda2d3cae13d02b0a9d2e5774b12eed999e0 Author: Matthias Clasen Date: Fri Jun 20 00:49:25 2014 -0400 Deprecate gtk_icon_theme_add_builtin_icon gtk/gtkicontheme.c | 5 +++++ gtk/gtkicontheme.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) commit 988b6b483dc9c21d050161d26652bb1006b9c686 Author: Matthias Clasen Date: Fri Jun 20 00:46:09 2014 -0400 Document gtk_icon_theme_add_resource_path docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkicontheme.c | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) commit 99c0b3db061346feca36ca052bb99b9738344b17 Author: Matthias Clasen Date: Fri Jun 20 00:39:59 2014 -0400 Adapt the icontheme tests With the new way of dealing with the legacy stock icons, the builtin test needed some small updates. testsuite/gtk/icontheme.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 49bcaf844c315f88f5853c1f082ec0801e197090 Author: Matthias Clasen Date: Fri Jun 20 01:04:16 2014 -0400 GtkIconTheme: Include legacy stock icons from resources Add /org/gtk/libgtk/icons as a resource path, and ensure that we always parse an index.theme file for hicolor which makes the builtin icons available as part of the hicolor theme. gtk/gtkicontheme.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 968ea4186d880dc21b2bd72876186738d39313dd Author: Matthias Clasen Date: Fri Jun 20 00:35:57 2014 -0400 GtkIconTheme: Allow loading icons from resources We add a new API, gtk_icon_theme_add_resource_path, which can be used to add resource path as a base location for icon theme content, similar to gtk_icon_theme_append_search_path. gtk/gtkicontheme.c | 125 +++++++++++++++++++++++++++++++++++++++++++++-------- gtk/gtkicontheme.h | 4 ++ 2 files changed, 112 insertions(+), 17 deletions(-) commit 13c354db8d1c77f3eb5eda1071bc91d27d61c36e Author: Matthias Clasen Date: Thu Jun 19 21:39:45 2014 -0400 GtkIconTheme: Drop the all_icons hash table It is not used anywhere anymore. gtk/gtkicontheme.c | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) commit 11ec8f7285e2640e86e0570c60ca47763e138f0b Author: Matthias Clasen Date: Thu Jun 19 21:37:01 2014 -0400 GtkIconTheme: Stop using the all_icons hash table This hash table was used in gtk_icon_theme_has_icon; we can implement that function just as well without it and save some memory. gtk/gtkicontheme.c | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) commit a8939e7cffd85b73f8b4b635d4229cb2afe92a9a Author: Matthias Clasen Date: Thu Jun 19 20:56:06 2014 -0400 icontheme: Add some more tests This test checks that gtk_icon_theme_list_icons and gtk_icon_theme_has_icon work as expected. testsuite/gtk/icontheme.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 6549031030e885c62b84b9c3a9a577268bebec64 Author: Matthias Clasen Date: Thu Jun 19 19:42:53 2014 -0400 Formatting fixes gtk/gtkicontheme.c | 1682 ++++++++++++++++++++++++++-------------------------- 1 file changed, 831 insertions(+), 851 deletions(-) commit aa44c0ca53b8d32c9bf3114b53ce4983ec05e86e Author: Matthias Clasen Date: Tue Jun 17 22:36:44 2014 -0400 GtkIconTheme: Drop the code for parsing .icon files Modern icon themes don't ship .icon files anyway. gtk/gtkicontheme.c | 316 ++--------------------------------------------------- 1 file changed, 9 insertions(+), 307 deletions(-) commit 84bc9bba4214ac4dc05cb029b45bffbb84fa1393 Author: Matthias Clasen Date: Tue Jun 17 22:23:19 2014 -0400 GtkIconTheme: Deprecate functionality related to .icon files This functionality is not used at all in modern icon themes. gtk/gtkicontheme.c | 8 ++++++++ gtk/gtkicontheme.h | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) commit 36be12578ca252d3f48ead0d2bfaba6b09b8dd60 Author: Matthias Clasen Date: Tue Jun 17 22:06:08 2014 -0400 Drop the builtin icon cache We don't need it anymore, now that the non-standard stock icons are using resources. gtk/Makefile.am | 60 - gtk/deprecated/gtkiconfactory.c | 19 +- gtk/gtkicontheme.c | 72 +- gtk/gtkicontheme.h | 3 - gtk/stock-icons/16/gtk-caps-lock-warning.png | Bin 275 -> 0 bytes gtk/stock-icons/16/gtk-color-picker.png | Bin 606 -> 0 bytes gtk/stock-icons/16/gtk-color-picker.svg | 233 --- gtk/stock-icons/16/gtk-connect.png | Bin 692 -> 0 bytes gtk/stock-icons/16/gtk-connect.svg | 378 ----- gtk/stock-icons/16/gtk-convert.png | Bin 677 -> 0 bytes gtk/stock-icons/16/gtk-convert.svg | 133 -- gtk/stock-icons/16/gtk-disconnect.png | Bin 715 -> 0 bytes gtk/stock-icons/16/gtk-disconnect.svg | 512 ------ gtk/stock-icons/16/gtk-edit.png | Bin 755 -> 0 bytes gtk/stock-icons/16/gtk-edit.svg | 295 ---- gtk/stock-icons/16/gtk-font.png | Bin 706 -> 0 bytes gtk/stock-icons/16/gtk-font.svg | 125 -- gtk/stock-icons/16/gtk-index.png | Bin 753 -> 0 bytes gtk/stock-icons/16/gtk-index.svg | 365 ----- gtk/stock-icons/16/gtk-orientation-landscape.png | Bin 756 -> 0 bytes gtk/stock-icons/16/gtk-orientation-landscape.svg | 282 ---- gtk/stock-icons/16/gtk-orientation-portrait.png | Bin 543 -> 0 bytes gtk/stock-icons/16/gtk-orientation-portrait.svg | 211 --- .../16/gtk-orientation-reverse-landscape.png | Bin 751 -> 0 bytes .../16/gtk-orientation-reverse-landscape.svg | 282 ---- .../16/gtk-orientation-reverse-portrait.png | Bin 557 -> 0 bytes .../16/gtk-orientation-reverse-portrait.svg | 211 --- gtk/stock-icons/16/gtk-page-setup.png | Bin 622 -> 0 bytes gtk/stock-icons/16/gtk-preferences.png | Bin 1014 -> 0 bytes gtk/stock-icons/16/gtk-preferences.svg | 288 ---- gtk/stock-icons/16/gtk-select-color.png | Bin 735 -> 0 bytes gtk/stock-icons/16/gtk-select-color.svg | 1275 --------------- gtk/stock-icons/16/gtk-select-font.png | Bin 706 -> 0 bytes gtk/stock-icons/16/gtk-undelete-ltr.png | Bin 962 -> 0 bytes gtk/stock-icons/16/gtk-undelete-ltr.svg | 665 -------- gtk/stock-icons/16/gtk-undelete-rtl.png | Bin 952 -> 0 bytes gtk/stock-icons/16/gtk-undelete-rtl.svg | 558 ------- gtk/stock-icons/20/gtk-apply.png | Bin 1002 -> 0 bytes gtk/stock-icons/20/gtk-apply.svg | 1444 ----------------- gtk/stock-icons/20/gtk-cancel.png | Bin 1067 -> 0 bytes gtk/stock-icons/20/gtk-cancel.svg | 1431 ----------------- gtk/stock-icons/20/gtk-no.png | Bin 952 -> 0 bytes gtk/stock-icons/20/gtk-ok.png | Bin 963 -> 0 bytes gtk/stock-icons/20/gtk-ok.svg | 1676 -------------------- gtk/stock-icons/20/gtk-yes.png | Bin 1044 -> 0 bytes gtk/stock-icons/24/gtk-caps-lock-warning.png | Bin 360 -> 0 bytes gtk/stock-icons/24/gtk-color-picker.png | Bin 891 -> 0 bytes gtk/stock-icons/24/gtk-color-picker.svg | 243 --- gtk/stock-icons/24/gtk-connect.png | Bin 946 -> 0 bytes gtk/stock-icons/24/gtk-connect.svg | 331 ---- gtk/stock-icons/24/gtk-convert.png | Bin 1413 -> 0 bytes gtk/stock-icons/24/gtk-convert.svg | 172 -- gtk/stock-icons/24/gtk-copy.xcf.bz2 | Bin 4275 -> 0 bytes gtk/stock-icons/24/gtk-cut.xcf.bz2 | Bin 2928 -> 0 bytes gtk/stock-icons/24/gtk-disconnect.png | Bin 852 -> 0 bytes gtk/stock-icons/24/gtk-disconnect.svg | 396 ----- gtk/stock-icons/24/gtk-edit.png | Bin 1120 -> 0 bytes gtk/stock-icons/24/gtk-edit.svg | 466 ------ gtk/stock-icons/24/gtk-font.png | Bin 1109 -> 0 bytes gtk/stock-icons/24/gtk-font.svg | 158 -- gtk/stock-icons/24/gtk-index.png | Bin 960 -> 0 bytes gtk/stock-icons/24/gtk-index.svg | 724 --------- gtk/stock-icons/24/gtk-orientation-landscape.png | Bin 1097 -> 0 bytes gtk/stock-icons/24/gtk-orientation-landscape.svg | 304 ---- gtk/stock-icons/24/gtk-orientation-portrait.png | Bin 931 -> 0 bytes gtk/stock-icons/24/gtk-orientation-portrait.svg | 232 --- .../24/gtk-orientation-reverse-landscape.png | Bin 1059 -> 0 bytes .../24/gtk-orientation-reverse-landscape.svg | 304 ---- .../24/gtk-orientation-reverse-portrait.png | Bin 940 -> 0 bytes .../24/gtk-orientation-reverse-portrait.svg | 232 --- gtk/stock-icons/24/gtk-page-setup.png | Bin 1081 -> 0 bytes gtk/stock-icons/24/gtk-paste.xcf.bz2 | Bin 2590 -> 0 bytes gtk/stock-icons/24/gtk-preferences.png | Bin 1691 -> 0 bytes gtk/stock-icons/24/gtk-preferences.svg | 323 ---- gtk/stock-icons/24/gtk-select-color.png | Bin 993 -> 0 bytes gtk/stock-icons/24/gtk-select-color.svg | 420 ----- gtk/stock-icons/24/gtk-select-font.png | Bin 1109 -> 0 bytes gtk/stock-icons/24/gtk-undelete-ltr.png | Bin 1692 -> 0 bytes gtk/stock-icons/24/gtk-undelete-ltr.svg | 791 --------- gtk/stock-icons/24/gtk-undelete-rtl.png | Bin 1722 -> 0 bytes gtk/stock-icons/24/gtk-undelete-rtl.svg | 791 --------- gtk/stock-icons/32/gtk-dnd-multiple.png | Bin 1215 -> 0 bytes gtk/stock-icons/32/gtk-dnd-multiple.svg | 559 ------- gtk/stock-icons/32/gtk-dnd.png | Bin 1349 -> 0 bytes gtk/stock-icons/32/gtk-dnd.svg | 407 ----- 85 files changed, 6 insertions(+), 17365 deletions(-) commit ea8afd29376ce63c3b18637c813be962c61fbe1c Author: Matthias Clasen Date: Tue Jun 17 21:32:50 2014 -0400 Add non-standard stock icons as resources This will allow us to remove the builtin icon cache in the future while keeping the deprecated stock icons working. gtk/Makefile.am | 6 ++++++ .../hicolor/16x16/actions/gtk-caps-lock-warning.png | Bin 0 -> 275 bytes .../icons/hicolor/16x16/actions/gtk-color-picker.png | Bin 0 -> 606 bytes .../icons/hicolor/16x16/actions/gtk-connect.png | Bin 0 -> 692 bytes .../icons/hicolor/16x16/actions/gtk-convert.png | Bin 0 -> 677 bytes .../icons/hicolor/16x16/actions/gtk-disconnect.png | Bin 0 -> 715 bytes gtk/resources/icons/hicolor/16x16/actions/gtk-edit.png | Bin 0 -> 755 bytes gtk/resources/icons/hicolor/16x16/actions/gtk-index.png | Bin 0 -> 753 bytes .../hicolor/16x16/actions/gtk-orientation-landscape.png | Bin 0 -> 756 bytes .../hicolor/16x16/actions/gtk-orientation-portrait.png | Bin 0 -> 543 bytes .../16x16/actions/gtk-orientation-reverse-landscape.png | Bin 0 -> 751 bytes .../16x16/actions/gtk-orientation-reverse-portrait.png | Bin 0 -> 557 bytes .../icons/hicolor/16x16/actions/gtk-page-setup.png | Bin 0 -> 622 bytes .../icons/hicolor/16x16/actions/gtk-preferences.png | Bin 0 -> 1014 bytes .../icons/hicolor/16x16/actions/gtk-select-color.png | Bin 0 -> 735 bytes .../icons/hicolor/16x16/actions/gtk-select-font.png | Bin 0 -> 706 bytes .../icons/hicolor/16x16/actions/gtk-undelete-ltr.png | Bin 0 -> 962 bytes .../icons/hicolor/16x16/actions/gtk-undelete-rtl.png | Bin 0 -> 952 bytes gtk/resources/icons/hicolor/22x22/actions/gtk-apply.png | Bin 0 -> 1002 bytes gtk/resources/icons/hicolor/22x22/actions/gtk-cancel.png | Bin 0 -> 1067 bytes gtk/resources/icons/hicolor/22x22/actions/gtk-no.png | Bin 0 -> 952 bytes gtk/resources/icons/hicolor/22x22/actions/gtk-ok.png | Bin 0 -> 963 bytes gtk/resources/icons/hicolor/22x22/actions/gtk-yes.png | Bin 0 -> 1044 bytes .../hicolor/24x24/actions/gtk-caps-lock-warning.png | Bin 0 -> 360 bytes .../icons/hicolor/24x24/actions/gtk-color-picker.png | Bin 0 -> 891 bytes .../icons/hicolor/24x24/actions/gtk-connect.png | Bin 0 -> 946 bytes .../icons/hicolor/24x24/actions/gtk-convert.png | Bin 0 -> 1413 bytes .../icons/hicolor/24x24/actions/gtk-disconnect.png | Bin 0 -> 852 bytes gtk/resources/icons/hicolor/24x24/actions/gtk-edit.png | Bin 0 -> 1120 bytes gtk/resources/icons/hicolor/24x24/actions/gtk-index.png | Bin 0 -> 960 bytes .../hicolor/24x24/actions/gtk-orientation-landscape.png | Bin 0 -> 1097 bytes .../hicolor/24x24/actions/gtk-orientation-portrait.png | Bin 0 -> 931 bytes .../24x24/actions/gtk-orientation-reverse-landscape.png | Bin 0 -> 1059 bytes .../24x24/actions/gtk-orientation-reverse-portrait.png | Bin 0 -> 940 bytes .../icons/hicolor/24x24/actions/gtk-page-setup.png | Bin 0 -> 1081 bytes .../icons/hicolor/24x24/actions/gtk-preferences.png | Bin 0 -> 1691 bytes .../icons/hicolor/24x24/actions/gtk-select-color.png | Bin 0 -> 993 bytes .../icons/hicolor/24x24/actions/gtk-select-font.png | Bin 0 -> 1109 bytes .../icons/hicolor/24x24/actions/gtk-undelete-ltr.png | Bin 0 -> 1692 bytes .../icons/hicolor/24x24/actions/gtk-undelete-rtl.png | Bin 0 -> 1722 bytes .../icons/hicolor/32x32/actions/gtk-dnd-multiple.png | Bin 0 -> 1215 bytes gtk/resources/icons/hicolor/32x32/actions/gtk-dnd.png | Bin 0 -> 1349 bytes 42 files changed, 6 insertions(+) commit 548a804653c368af9d30b0cbb52ef68325ec31ce Author: Matthias Clasen Date: Tue Jun 17 19:17:36 2014 -0400 Drop all standard icons from the builtin icontheme We're going to require a complete icon theme, and we have a test that checks for all the icons we use, so there is no need to include all these fallback icons. gtk/Makefile.am | 259 +-- gtk/stock-icons/16/application-exit.png | Bin 665 -> 0 bytes gtk/stock-icons/16/application-exit.svg | 299 ---- gtk/stock-icons/16/dialog-information.png | Bin 879 -> 0 bytes gtk/stock-icons/16/dialog-information.svg | 176 -- gtk/stock-icons/16/document-new.png | Bin 569 -> 0 bytes gtk/stock-icons/16/document-new.svg | 192 -- gtk/stock-icons/16/document-open-recent.png | Bin 892 -> 0 bytes gtk/stock-icons/16/document-open-recent.svg | 334 ---- gtk/stock-icons/16/document-open.png | Bin 492 -> 0 bytes gtk/stock-icons/16/document-open.svg | 173 -- gtk/stock-icons/16/document-print-preview.png | Bin 733 -> 0 bytes gtk/stock-icons/16/document-print-preview.svg | 239 --- gtk/stock-icons/16/document-print.png | Bin 525 -> 0 bytes gtk/stock-icons/16/document-print.svg | 171 -- gtk/stock-icons/16/document-properties.png | Bin 794 -> 0 bytes gtk/stock-icons/16/document-properties.svg | 2059 ---------------------- gtk/stock-icons/16/document-revert-ltr.png | Bin 800 -> 0 bytes gtk/stock-icons/16/document-revert-ltr.svg | 1508 ---------------- gtk/stock-icons/16/document-revert-rtl.png | Bin 794 -> 0 bytes gtk/stock-icons/16/document-revert-rtl.svg | 1341 -------------- gtk/stock-icons/16/document-save-as.png | Bin 770 -> 0 bytes gtk/stock-icons/16/document-save-as.svg | 1184 ------------- gtk/stock-icons/16/drive-harddisk.png | Bin 832 -> 0 bytes gtk/stock-icons/16/drive-harddisk.svg | 655 ------- gtk/stock-icons/16/edit-clear.png | Bin 695 -> 0 bytes gtk/stock-icons/16/edit-clear.svg | 437 ----- gtk/stock-icons/16/edit-copy.png | Bin 498 -> 0 bytes gtk/stock-icons/16/edit-cut.png | Bin 876 -> 0 bytes gtk/stock-icons/16/edit-cut.svg | 109 -- gtk/stock-icons/16/edit-delete.png | Bin 866 -> 0 bytes gtk/stock-icons/16/edit-delete.svg | 521 ------ gtk/stock-icons/16/edit-find-replace.png | Bin 875 -> 0 bytes gtk/stock-icons/16/edit-find-replace.svg | 859 --------- gtk/stock-icons/16/edit-find.png | Bin 788 -> 0 bytes gtk/stock-icons/16/edit-find.svg | 233 --- gtk/stock-icons/16/edit-paste.png | Bin 561 -> 0 bytes gtk/stock-icons/16/edit-redo-ltr.png | Bin 790 -> 0 bytes gtk/stock-icons/16/edit-redo-ltr.svg | 157 -- gtk/stock-icons/16/edit-redo-rtl.png | Bin 808 -> 0 bytes gtk/stock-icons/16/edit-redo-rtl.svg | 192 -- gtk/stock-icons/16/edit-select-all.png | Bin 547 -> 0 bytes gtk/stock-icons/16/edit-select-all.svg | 792 --------- gtk/stock-icons/16/edit-undo-ltr.png | Bin 784 -> 0 bytes gtk/stock-icons/16/edit-undo-ltr.svg | 157 -- gtk/stock-icons/16/edit-undo-rtl.png | Bin 764 -> 0 bytes gtk/stock-icons/16/edit-undo-rtl.svg | 157 -- gtk/stock-icons/16/folder.png | Bin 548 -> 0 bytes gtk/stock-icons/16/folder.svg | 160 -- gtk/stock-icons/16/format-indent-less-ltr.png | Bin 594 -> 0 bytes gtk/stock-icons/16/format-indent-less-ltr.svg | 163 -- gtk/stock-icons/16/format-indent-less-rtl.png | Bin 596 -> 0 bytes gtk/stock-icons/16/format-indent-less-rtl.svg | 169 -- gtk/stock-icons/16/format-indent-more-ltr.png | Bin 611 -> 0 bytes gtk/stock-icons/16/format-indent-more-ltr.svg | 151 -- gtk/stock-icons/16/format-indent-more-rtl.png | Bin 604 -> 0 bytes gtk/stock-icons/16/format-indent-more-rtl.svg | 155 -- gtk/stock-icons/16/format-justify-center.png | Bin 393 -> 0 bytes gtk/stock-icons/16/format-justify-center.svg | 248 --- gtk/stock-icons/16/format-justify-fill.png | Bin 358 -> 0 bytes gtk/stock-icons/16/format-justify-fill.svg | 248 --- gtk/stock-icons/16/format-justify-left.png | Bin 378 -> 0 bytes gtk/stock-icons/16/format-justify-left.svg | 248 --- gtk/stock-icons/16/format-justify-right.png | Bin 400 -> 0 bytes gtk/stock-icons/16/format-justify-right.svg | 248 --- gtk/stock-icons/16/format-text-bold.png | Bin 649 -> 0 bytes gtk/stock-icons/16/format-text-bold.svg | 116 -- gtk/stock-icons/16/format-text-italic.png | Bin 665 -> 0 bytes gtk/stock-icons/16/format-text-italic.svg | 116 -- gtk/stock-icons/16/format-text-strikethrough.png | Bin 656 -> 0 bytes gtk/stock-icons/16/format-text-strikethrough.svg | 116 -- gtk/stock-icons/16/format-text-underline.png | Bin 645 -> 0 bytes gtk/stock-icons/16/format-text-underline.svg | 116 -- gtk/stock-icons/16/go-back-rtl.svg | 168 -- gtk/stock-icons/16/go-bottom.png | Bin 647 -> 0 bytes gtk/stock-icons/16/go-bottom.svg | 296 ---- gtk/stock-icons/16/go-down.png | Bin 598 -> 0 bytes gtk/stock-icons/16/go-down.svg | 150 -- gtk/stock-icons/16/go-first-ltr.png | Bin 632 -> 0 bytes gtk/stock-icons/16/go-first-ltr.svg | 325 ---- gtk/stock-icons/16/go-home.png | Bin 735 -> 0 bytes gtk/stock-icons/16/go-home.svg | 343 ---- gtk/stock-icons/16/go-jump-ltr.png | Bin 811 -> 0 bytes gtk/stock-icons/16/go-jump-ltr.svg | 244 --- gtk/stock-icons/16/go-jump-rtl.png | Bin 806 -> 0 bytes gtk/stock-icons/16/go-jump-rtl.svg | 244 --- gtk/stock-icons/16/go-last-ltr.png | Bin 653 -> 0 bytes gtk/stock-icons/16/go-last-ltr.svg | 186 -- gtk/stock-icons/16/go-next-ltr.png | Bin 580 -> 0 bytes gtk/stock-icons/16/go-next-ltr.svg | 168 -- gtk/stock-icons/16/go-previous-ltr.png | Bin 579 -> 0 bytes gtk/stock-icons/16/go-previous-ltr.svg | 141 -- gtk/stock-icons/16/go-top.png | Bin 630 -> 0 bytes gtk/stock-icons/16/go-top.svg | 296 ---- gtk/stock-icons/16/go-up.png | Bin 551 -> 0 bytes gtk/stock-icons/16/go-up.svg | 222 --- gtk/stock-icons/16/help-about.png | Bin 704 -> 0 bytes gtk/stock-icons/16/help-about.svg | 123 -- gtk/stock-icons/16/help-contents.png | Bin 1002 -> 0 bytes gtk/stock-icons/16/help-contents.svg | 842 --------- gtk/stock-icons/16/image-missing.png | Bin 654 -> 0 bytes gtk/stock-icons/16/image-missing.svg | 214 --- gtk/stock-icons/16/list-add.png | Bin 260 -> 0 bytes gtk/stock-icons/16/list-add.svg | 111 -- gtk/stock-icons/16/list-remove.png | Bin 210 -> 0 bytes gtk/stock-icons/16/list-remove.svg | 100 -- gtk/stock-icons/16/media-floppy.png | Bin 652 -> 0 bytes gtk/stock-icons/16/media-floppy.svg | 509 ------ gtk/stock-icons/16/media-optical.png | Bin 894 -> 0 bytes gtk/stock-icons/16/media-optical.svg | 202 --- gtk/stock-icons/16/media-playback-pause.png | Bin 247 -> 0 bytes gtk/stock-icons/16/media-playback-pause.svg | 177 -- gtk/stock-icons/16/media-playback-start-ltr.png | Bin 542 -> 0 bytes gtk/stock-icons/16/media-playback-start-ltr.svg | 145 -- gtk/stock-icons/16/media-playback-start-rtl.png | Bin 532 -> 0 bytes gtk/stock-icons/16/media-playback-start-rtl.svg | 145 -- gtk/stock-icons/16/media-playback-stop.png | Bin 295 -> 0 bytes gtk/stock-icons/16/media-playback-stop.svg | 171 -- gtk/stock-icons/16/media-record.png | Bin 565 -> 0 bytes gtk/stock-icons/16/media-record.svg | 198 --- gtk/stock-icons/16/media-seek-backward-ltr.png | Bin 502 -> 0 bytes gtk/stock-icons/16/media-seek-backward-ltr.svg | 300 ---- gtk/stock-icons/16/media-seek-forward-ltr.png | Bin 523 -> 0 bytes gtk/stock-icons/16/media-seek-forward-ltr.svg | 168 -- gtk/stock-icons/16/media-skip-backward-ltr.png | Bin 462 -> 0 bytes gtk/stock-icons/16/media-skip-backward-ltr.svg | 120 -- gtk/stock-icons/16/media-skip-forward-ltr.png | Bin 455 -> 0 bytes gtk/stock-icons/16/media-skip-forward-ltr.svg | 121 -- gtk/stock-icons/16/network-idle.png | Bin 623 -> 0 bytes gtk/stock-icons/16/network-idle.svg | 458 ----- gtk/stock-icons/16/printer-error.png | Bin 721 -> 0 bytes gtk/stock-icons/16/printer-error.svg | 648 ------- gtk/stock-icons/16/printer-info.png | Bin 749 -> 0 bytes gtk/stock-icons/16/printer-info.svg | 347 ---- gtk/stock-icons/16/printer-paused.png | Bin 784 -> 0 bytes gtk/stock-icons/16/printer-paused.svg | 531 ------ gtk/stock-icons/16/printer-warning.png | Bin 761 -> 0 bytes gtk/stock-icons/16/printer-warning.svg | 525 ------ gtk/stock-icons/16/process-stop.png | Bin 769 -> 0 bytes gtk/stock-icons/16/process-stop.svg | 148 -- gtk/stock-icons/16/system-run.png | Bin 902 -> 0 bytes gtk/stock-icons/16/system-run.svg | 175 -- gtk/stock-icons/16/text-x-generic.png | Bin 569 -> 0 bytes gtk/stock-icons/16/text-x-generic.svg | 246 --- gtk/stock-icons/16/tools-check-spelling.png | Bin 641 -> 0 bytes gtk/stock-icons/16/tools-check-spelling.svg | 89 - gtk/stock-icons/16/view-fullscreen.png | Bin 432 -> 0 bytes gtk/stock-icons/16/view-fullscreen.svg | 110 -- gtk/stock-icons/16/view-refresh.png | Bin 926 -> 0 bytes gtk/stock-icons/16/view-refresh.svg | 189 -- gtk/stock-icons/16/view-restore.png | Bin 473 -> 0 bytes gtk/stock-icons/16/view-restore.svg | 107 -- gtk/stock-icons/16/view-sort-ascending.png | Bin 333 -> 0 bytes gtk/stock-icons/16/view-sort-descending.png | Bin 331 -> 0 bytes gtk/stock-icons/16/window-close.png | Bin 889 -> 0 bytes gtk/stock-icons/16/window-close.svg | 249 --- gtk/stock-icons/16/window-delete.png | Bin 220 -> 0 bytes gtk/stock-icons/16/window-maximize.png | Bin 166 -> 0 bytes gtk/stock-icons/16/window-minimize.png | Bin 145 -> 0 bytes gtk/stock-icons/16/window-restore.png | Bin 340 -> 0 bytes gtk/stock-icons/16/zoom-fit-best.png | Bin 750 -> 0 bytes gtk/stock-icons/16/zoom-fit-best.svg | 385 ---- gtk/stock-icons/16/zoom-in.png | Bin 785 -> 0 bytes gtk/stock-icons/16/zoom-in.svg | 355 ---- gtk/stock-icons/16/zoom-original.png | Bin 784 -> 0 bytes gtk/stock-icons/16/zoom-original.svg | 546 ------ gtk/stock-icons/16/zoom-out.png | Bin 772 -> 0 bytes gtk/stock-icons/16/zoom-out.svg | 345 ---- gtk/stock-icons/20/window-close.png | Bin 1224 -> 0 bytes gtk/stock-icons/20/window-close.svg | 249 --- gtk/stock-icons/24/application-exit.png | Bin 967 -> 0 bytes gtk/stock-icons/24/application-exit.svg | 264 --- gtk/stock-icons/24/audio-volume-high.png | Bin 1217 -> 0 bytes gtk/stock-icons/24/audio-volume-low.png | Bin 857 -> 0 bytes gtk/stock-icons/24/audio-volume-medium.png | Bin 1021 -> 0 bytes gtk/stock-icons/24/audio-volume-muted.png | Bin 910 -> 0 bytes gtk/stock-icons/24/dialog-information.png | Bin 1420 -> 0 bytes gtk/stock-icons/24/dialog-information.svg | 186 -- gtk/stock-icons/24/document-new.png | Bin 736 -> 0 bytes gtk/stock-icons/24/document-new.svg | 213 --- gtk/stock-icons/24/document-open-recent.png | Bin 1561 -> 0 bytes gtk/stock-icons/24/document-open-recent.svg | 328 ---- gtk/stock-icons/24/document-open.png | Bin 612 -> 0 bytes gtk/stock-icons/24/document-open.svg | 181 -- gtk/stock-icons/24/document-print-preview.png | Bin 1244 -> 0 bytes gtk/stock-icons/24/document-print-preview.svg | 331 ---- gtk/stock-icons/24/document-print.png | Bin 818 -> 0 bytes gtk/stock-icons/24/document-print.svg | 262 --- gtk/stock-icons/24/document-properties.png | Bin 1146 -> 0 bytes gtk/stock-icons/24/document-properties.svg | 933 ---------- gtk/stock-icons/24/document-revert-ltr.png | Bin 1404 -> 0 bytes gtk/stock-icons/24/document-revert-ltr.svg | 588 ------ gtk/stock-icons/24/document-revert-rtl.png | Bin 1411 -> 0 bytes gtk/stock-icons/24/document-revert-rtl.svg | 534 ------ gtk/stock-icons/24/document-save-as.png | Bin 1206 -> 0 bytes gtk/stock-icons/24/document-save-as.svg | 721 -------- gtk/stock-icons/24/drive-harddisk.png | Bin 1360 -> 0 bytes gtk/stock-icons/24/drive-harddisk.svg | 659 ------- gtk/stock-icons/24/edit-clear.png | Bin 1163 -> 0 bytes gtk/stock-icons/24/edit-clear.svg | 421 ----- gtk/stock-icons/24/edit-copy.png | Bin 697 -> 0 bytes gtk/stock-icons/24/edit-cut.png | Bin 1032 -> 0 bytes gtk/stock-icons/24/edit-delete.png | Bin 1449 -> 0 bytes gtk/stock-icons/24/edit-delete.svg | 561 ------ gtk/stock-icons/24/edit-find-replace.png | Bin 1379 -> 0 bytes gtk/stock-icons/24/edit-find-replace.svg | 510 ------ gtk/stock-icons/24/edit-find.png | Bin 1238 -> 0 bytes gtk/stock-icons/24/edit-find.svg | 353 ---- gtk/stock-icons/24/edit-paste.png | Bin 893 -> 0 bytes gtk/stock-icons/24/edit-redo-ltr.png | Bin 1070 -> 0 bytes gtk/stock-icons/24/edit-redo-ltr.svg | 202 --- gtk/stock-icons/24/edit-redo-rtl.png | Bin 1085 -> 0 bytes gtk/stock-icons/24/edit-redo-rtl.svg | 200 --- gtk/stock-icons/24/edit-select-all.png | Bin 717 -> 0 bytes gtk/stock-icons/24/edit-select-all.svg | 751 -------- gtk/stock-icons/24/edit-undo-ltr.png | Bin 1052 -> 0 bytes gtk/stock-icons/24/edit-undo-ltr.svg | 200 --- gtk/stock-icons/24/edit-undo-rtl.png | Bin 1035 -> 0 bytes gtk/stock-icons/24/edit-undo-rtl.svg | 202 --- gtk/stock-icons/24/folder.png | Bin 662 -> 0 bytes gtk/stock-icons/24/folder.svg | 180 -- gtk/stock-icons/24/format-indent-less-ltr.png | Bin 843 -> 0 bytes gtk/stock-icons/24/format-indent-less-ltr.svg | 178 -- gtk/stock-icons/24/format-indent-less-rtl.png | Bin 876 -> 0 bytes gtk/stock-icons/24/format-indent-less-rtl.svg | 185 -- gtk/stock-icons/24/format-indent-more-ltr.png | Bin 852 -> 0 bytes gtk/stock-icons/24/format-indent-more-ltr.svg | 178 -- gtk/stock-icons/24/format-indent-more-rtl.png | Bin 870 -> 0 bytes gtk/stock-icons/24/format-indent-more-rtl.svg | 185 -- gtk/stock-icons/24/format-justify-center.png | Bin 490 -> 0 bytes gtk/stock-icons/24/format-justify-center.svg | 258 --- gtk/stock-icons/24/format-justify-fill.png | Bin 447 -> 0 bytes gtk/stock-icons/24/format-justify-fill.svg | 399 ----- gtk/stock-icons/24/format-justify-left.png | Bin 489 -> 0 bytes gtk/stock-icons/24/format-justify-left.svg | 258 --- gtk/stock-icons/24/format-justify-right.png | Bin 503 -> 0 bytes gtk/stock-icons/24/format-justify-right.svg | 258 --- gtk/stock-icons/24/format-text-bold.png | Bin 947 -> 0 bytes gtk/stock-icons/24/format-text-bold.svg | 129 -- gtk/stock-icons/24/format-text-italic.png | Bin 971 -> 0 bytes gtk/stock-icons/24/format-text-italic.svg | 136 -- gtk/stock-icons/24/format-text-strikethrough.png | Bin 966 -> 0 bytes gtk/stock-icons/24/format-text-strikethrough.svg | 137 -- gtk/stock-icons/24/format-text-underline.png | Bin 969 -> 0 bytes gtk/stock-icons/24/format-text-underline.svg | 137 -- gtk/stock-icons/24/go-bottom.png | Bin 1037 -> 0 bytes gtk/stock-icons/24/go-bottom.svg | 305 ---- gtk/stock-icons/24/go-down.png | Bin 973 -> 0 bytes gtk/stock-icons/24/go-down.svg | 148 -- gtk/stock-icons/24/go-first-ltr.png | Bin 1028 -> 0 bytes gtk/stock-icons/24/go-first-ltr.svg | 339 ---- gtk/stock-icons/24/go-home.png | Bin 1050 -> 0 bytes gtk/stock-icons/24/go-home.svg | 372 ---- gtk/stock-icons/24/go-jump-ltr.png | Bin 1229 -> 0 bytes gtk/stock-icons/24/go-jump-ltr.svg | 291 --- gtk/stock-icons/24/go-jump-rtl.png | Bin 1226 -> 0 bytes gtk/stock-icons/24/go-jump-rtl.svg | 345 ---- gtk/stock-icons/24/go-last-ltr.png | Bin 1061 -> 0 bytes gtk/stock-icons/24/go-last-ltr.svg | 339 ---- gtk/stock-icons/24/go-next-ltr.png | Bin 906 -> 0 bytes gtk/stock-icons/24/go-next-ltr.svg | 168 -- gtk/stock-icons/24/go-previous-ltr.png | Bin 915 -> 0 bytes gtk/stock-icons/24/go-previous-ltr.svg | 149 -- gtk/stock-icons/24/go-previous-rtl.svg | 173 -- gtk/stock-icons/24/go-top.png | Bin 1037 -> 0 bytes gtk/stock-icons/24/go-top.svg | 339 ---- gtk/stock-icons/24/go-up.png | Bin 946 -> 0 bytes gtk/stock-icons/24/go-up.svg | 153 -- gtk/stock-icons/24/help-about.png | Bin 982 -> 0 bytes gtk/stock-icons/24/help-about.svg | 171 -- gtk/stock-icons/24/help-contents.png | Bin 1728 -> 0 bytes gtk/stock-icons/24/help-contents.svg | 900 ---------- gtk/stock-icons/24/image-missing.png | Bin 894 -> 0 bytes gtk/stock-icons/24/image-missing.svg | 239 --- gtk/stock-icons/24/list-add.png | Bin 571 -> 0 bytes gtk/stock-icons/24/list-add.svg | 166 -- gtk/stock-icons/24/list-remove.png | Bin 369 -> 0 bytes gtk/stock-icons/24/list-remove.svg | 181 -- gtk/stock-icons/24/media-floppy.png | Bin 951 -> 0 bytes gtk/stock-icons/24/media-floppy.svg | 294 --- gtk/stock-icons/24/media-optical.png | Bin 1372 -> 0 bytes gtk/stock-icons/24/media-optical.svg | 212 --- gtk/stock-icons/24/media-playback-pause.png | Bin 383 -> 0 bytes gtk/stock-icons/24/media-playback-pause.svg | 237 --- gtk/stock-icons/24/media-playback-start-ltr.png | Bin 863 -> 0 bytes gtk/stock-icons/24/media-playback-start-ltr.svg | 227 --- gtk/stock-icons/24/media-playback-start-rtl.png | Bin 895 -> 0 bytes gtk/stock-icons/24/media-playback-start-rtl.svg | 207 --- gtk/stock-icons/24/media-playback-stop.png | Bin 400 -> 0 bytes gtk/stock-icons/24/media-playback-stop.svg | 308 ---- gtk/stock-icons/24/media-record.png | Bin 1063 -> 0 bytes gtk/stock-icons/24/media-record.svg | 180 -- gtk/stock-icons/24/media-seek-backward-ltr.png | Bin 902 -> 0 bytes gtk/stock-icons/24/media-seek-backward-ltr.svg | 281 --- gtk/stock-icons/24/media-seek-forward-ltr.png | Bin 776 -> 0 bytes gtk/stock-icons/24/media-seek-forward-ltr.svg | 281 --- gtk/stock-icons/24/media-skip-backward-ltr.png | Bin 806 -> 0 bytes gtk/stock-icons/24/media-skip-backward-ltr.svg | 199 --- gtk/stock-icons/24/media-skip-forward-ltr.png | Bin 848 -> 0 bytes gtk/stock-icons/24/media-skip-forward-ltr.svg | 217 --- gtk/stock-icons/24/network-idle.png | Bin 1015 -> 0 bytes gtk/stock-icons/24/network-idle.svg | 411 ----- gtk/stock-icons/24/printer-error.png | Bin 1089 -> 0 bytes gtk/stock-icons/24/printer-error.svg | 853 --------- gtk/stock-icons/24/printer-info.png | Bin 1171 -> 0 bytes gtk/stock-icons/24/printer-info.svg | 1510 ---------------- gtk/stock-icons/24/printer-paused.png | Bin 1170 -> 0 bytes gtk/stock-icons/24/printer-paused.svg | 539 ------ gtk/stock-icons/24/printer-warning.png | Bin 1211 -> 0 bytes gtk/stock-icons/24/printer-warning.svg | 1614 ----------------- gtk/stock-icons/24/process-stop.png | Bin 1043 -> 0 bytes gtk/stock-icons/24/process-stop.svg | 169 -- gtk/stock-icons/24/system-run.png | Bin 1592 -> 0 bytes gtk/stock-icons/24/system-run.svg | 194 -- gtk/stock-icons/24/text-x-generic.png | Bin 736 -> 0 bytes gtk/stock-icons/24/text-x-generic.svg | 213 --- gtk/stock-icons/24/tools-check-spelling.png | Bin 950 -> 0 bytes gtk/stock-icons/24/tools-check-spelling.svg | 89 - gtk/stock-icons/24/view-fullscreen.png | Bin 606 -> 0 bytes gtk/stock-icons/24/view-fullscreen.svg | 110 -- gtk/stock-icons/24/view-refresh.png | Bin 1466 -> 0 bytes gtk/stock-icons/24/view-refresh.svg | 169 -- gtk/stock-icons/24/view-restore.png | Bin 677 -> 0 bytes gtk/stock-icons/24/view-restore.svg | 107 -- gtk/stock-icons/24/view-sort-ascending.png | Bin 413 -> 0 bytes gtk/stock-icons/24/view-sort-descending.png | Bin 379 -> 0 bytes gtk/stock-icons/24/window-close.png | Bin 1453 -> 0 bytes gtk/stock-icons/24/window-close.svg | 249 --- gtk/stock-icons/24/zoom-fit-best.png | Bin 937 -> 0 bytes gtk/stock-icons/24/zoom-fit-best.svg | 161 -- gtk/stock-icons/24/zoom-in.png | Bin 993 -> 0 bytes gtk/stock-icons/24/zoom-in.svg | 355 ---- gtk/stock-icons/24/zoom-original.png | Bin 962 -> 0 bytes gtk/stock-icons/24/zoom-original.svg | 221 --- gtk/stock-icons/24/zoom-out.png | Bin 941 -> 0 bytes gtk/stock-icons/24/zoom-out.svg | 345 ---- gtk/stock-icons/48/dialog-error.png | Bin 2828 -> 0 bytes gtk/stock-icons/48/dialog-error.svg | 431 ----- gtk/stock-icons/48/dialog-information.png | Bin 3259 -> 0 bytes gtk/stock-icons/48/dialog-information.svg | 978 ---------- gtk/stock-icons/48/dialog-password.png | Bin 2358 -> 0 bytes gtk/stock-icons/48/dialog-password.svg | 498 ------ gtk/stock-icons/48/dialog-question.png | Bin 2809 -> 0 bytes gtk/stock-icons/48/dialog-question.svg | 495 ------ gtk/stock-icons/48/dialog-warning.png | Bin 2358 -> 0 bytes gtk/stock-icons/48/dialog-warning.svg | 413 ----- 346 files changed, 4 insertions(+), 55348 deletions(-) commit d80bf0790d0903ba2825f306b6f7435529f922e2 Author: Benjamin Otte Date: Thu Jun 19 20:00:16 2014 +0200 stylecontext: Deprecate regions Regions are done in a very non-css way. They don't fit the DOM in that they don't integrate into the CSS tree and they have very weird matching behavior in selectors. So I'm deprecating them now. GtkNotebook and GtkTreeview will continue to use them and as long as they do, we can't remove the code for it. But once those are ported it might be safe to remove the code as it will clean up lots of places in the code by quite a bit. gtk/gtknotebook.c | 2 ++ gtk/gtkstylecontext.c | 16 ++++++++++++++-- gtk/gtkstylecontext.h | 8 ++++---- gtk/gtkthemingengine.c | 4 ++++ gtk/gtkthemingengine.h | 2 +- gtk/gtktreeview.c | 6 ++++++ 6 files changed, 31 insertions(+), 7 deletions(-) commit 8451b15d6ec9f181ccc716c87c1fee66a402db21 Author: Benjamin Otte Date: Thu Jun 19 19:46:52 2014 +0200 stylecontext: Remove long outdated docs The part about transition animations doesn't apply since 3.8. gtk/gtkstylecontext.c | 97 --------------------------------------------------- 1 file changed, 97 deletions(-) commit 87e2a7d4b23e633d0f2263d6ebd205c113eede0f Author: Jasper St. Pierre Date: Thu Jun 19 15:04:09 2014 -0400 gdkwindow-wayland: Destroy the wl_surface too when hiding a window wl_surfaces can't switch roles, so destroying the xdg_surface but not the wl_surface means that we could get an error when trying to re-map the surface. We could fix this by not destroying the xdg resource and only do it at finalization time, but it's just as easy to just create a new wl_surface. gdk/wayland/gdkwindow-wayland.c | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) commit 6926c6d9f803fcdf1dedbac7433508438e7c1c60 Author: Jasper St. Pierre Date: Thu Jun 19 15:10:01 2014 -0400 gdkwindow-wayland: Destroy the xdg roles before the wl_surface Since the xdg roles are a special case of the surface, some compositors like Weston destroy them automatically when the wl_surface is destroyed. Thus, we need to destroy these first. gdk/wayland/gdkwindow-wayland.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) commit b35820fa3ceae8da1c05888f6a0bba9f392c904c Author: Jasper St. Pierre Date: Thu Jun 19 14:55:04 2014 -0400 gdkwindow-wayland: Add a forgotten ref gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0bbe2589f60a5df076f4f95993a1c330f09c5439 Author: Jasper St. Pierre Date: Thu Jun 19 14:34:22 2014 -0400 gdkwindow-wayland: Another slight rearrange gdk/wayland/gdkwindow-wayland.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit ec7504fd57a77071c85d622de0ac47bd08b319d3 Author: Jasper St. Pierre Date: Thu Jun 19 14:33:35 2014 -0400 gdkwindow-wayland: Pair a ref with its owner gdk/wayland/gdkwindow-wayland.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 12fc77ad98651b0d83ca2c59cc82981f22c8eb2a Author: Jasper St. Pierre Date: Thu Jun 19 14:31:23 2014 -0400 gdkwindow-wayland: Don't post CONFIGURE events for the same size The Wayland compositor is completely allowed to send us configure events for the same size, and this validly happens if we're changing states. Fizzle these out. gdk/wayland/gdkwindow-wayland.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 0056d3a6ad8771f98afb61bf603f60ce1b61d10b Author: Matthias Clasen Date: Thu Jun 19 13:51:25 2014 -0400 GtkTreeView: Remove a no-longer-valid optimization The rubberband rendering code was assuming that we just have a 1-pixel border and the rest of the rubberband is uniform. That is not a safe assumption to make with css-styled rubberbands, so remove it. gtk/gtktreeview.c | 18 ------------------ 1 file changed, 18 deletions(-) commit 72ece5a62cca537e6925219ab5f23ff3c6c6e1b3 Author: Matthias Clasen Date: Thu Jun 19 13:50:28 2014 -0400 GtkIconView: Remove a no-longer-valid optimization The rubberband rendering code was assuming that we just have a 1-pixel border and the rest of the rubberband is uniform. That is not a safe assumption to make with css-styled rubberbands, so remove it. gtk/gtkiconview.c | 18 ------------------ 1 file changed, 18 deletions(-) commit 640f9d110e5526bba64fd4ab85f9a3dfbb5c6ba8 Author: Matthias Clasen Date: Thu Jun 19 12:54:31 2014 -0400 Install the new icontheme test files testsuite/gtk/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) commit b7c51de62b4c0864312cbca484e7c06cdcf73ffd Author: Lapo Calamandrei Date: Thu Jun 19 19:11:02 2014 +0200 Adwaita: fix rubberband selection gtk/resources/theme/Adwaita/_common.scss | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 13 insertions(+) commit a0337f97556002c9b9bad122ea6ef48d9ef10e67 Author: Jasper St. Pierre Date: Thu Jun 19 11:13:17 2014 -0400 Update Makefile.am for one more gitignore rule Makefile.am | 1 + 1 file changed, 1 insertion(+) commit c8547414c13497874647bf266f3ae776468819eb Author: Jasper St. Pierre Date: Thu Jun 19 10:16:22 2014 -0400 Update git.mk git.mk | 48 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 12 deletions(-) commit c9e848b659e591c001b87eb8effa845c2bce7ffd Author: Matthias Clasen Date: Wed Jun 18 18:21:51 2014 -0400 GtkIconTheme: Fix svg loading with FORCE_SIZE Paradoxically, we were loading svgs at the nominal size when FORCE_SIZE is specified, while scaling them exactly when it isn't. ../build/win32/vs10/gtk.vcxproj gtk/gtkicontheme.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit a6f1f8dacfa831d7940a276a576b53472f67a6f9 Author: Matthias Clasen Date: Wed Jun 18 18:19:39 2014 -0400 Add more icon theme tests This test checks various directory size behaviours, with and without the FORCE_SIZE flag. testsuite/gtk/icons/15/size-test.png | Bin 0 -> 296 bytes testsuite/gtk/icons/16-22/size-test.png | Bin 0 -> 437 bytes testsuite/gtk/icons/25+/size-test.svg | 87 ++++++++++++++++++++++++++++++++ testsuite/gtk/icons/35+/size-test.svg | 87 ++++++++++++++++++++++++++++++++ testsuite/gtk/icons/index.theme | 27 +++++++++- testsuite/gtk/icontheme.c | 47 +++++++++++++++++ 6 files changed, 247 insertions(+), 1 deletion(-) commit 51417f98d1487115bfecfc8869098555ca2cc318 Author: Jakub Steiner Date: Wed Jun 18 19:40:11 2014 +0200 Adwaita: hover state for horizontal spinbuttons gtk/resources/theme/Adwaita/_common.scss | 6 ++++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 7 ++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 7 ++++++- 3 files changed, 18 insertions(+), 2 deletions(-) commit 462f86d301c898830b3744e8b4b12cca8369ed56 Author: Nikita Churaev Date: Wed Jun 18 20:09:43 2014 +0400 New window shadows https://bugzilla.gnome.org/show_bug.cgi?id=731866 gtk/resources/theme/Adwaita/_common.scss | 12 +++++++----- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 +++--- gtk/resources/theme/Adwaita/gtk-contained.css | 6 +++--- 3 files changed, 13 insertions(+), 11 deletions(-) commit 6eedc62af921aa2446491447156dddbe3db67a70 Author: Lapo Calamandrei Date: Wed Jun 18 19:38:14 2014 +0200 Adwaita: highligh not hilight... gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit a595dccf0eb731d8f36a72c54c4ec2611f4b51f9 Author: Lapo Calamandrei Date: Wed Jun 18 19:29:33 2014 +0200 Adwaita: remove wildcard for image effect -gtk-image-effect: hilight now is set for .button:hover gtk/resources/theme/Adwaita/_common.scss | 5 +---- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++---- gtk/resources/theme/Adwaita/gtk-contained.css | 6 ++---- 3 files changed, 5 insertions(+), 12 deletions(-) commit 060f7b7428637df5b8178e7e6577ece3e70af71b Author: Lapo Calamandrei Date: Wed Jun 18 18:13:38 2014 +0200 Adwaita: calendar fixes gtk/resources/theme/Adwaita/_common.scss | 32 ++++++++++------------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++----- gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++----- 3 files changed, 21 insertions(+), 31 deletions(-) commit baea175628f1e64d62db538150b5028c49bb7a42 Author: Matthias Clasen Date: Wed Jun 18 11:49:00 2014 -0400 GtkHeaderBar: Don't forget to show the subtitle https://bugzilla.gnome.org/show_bug.cgi?id=731790 gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit e3a40065cc9754bb7e1da47f8bc62c2eecfc60d1 Author: Jakub Steiner Date: Wed Jun 18 16:36:00 2014 +0200 Adwaita: flatten buttons slightly. - gets rid of the specialcase for dark too. gtk/resources/theme/Adwaita/_drawing.scss | 11 +---------- gtk/resources/theme/Adwaita/gtk-contained.css | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 23 deletions(-) commit c975b9ef9b686ef482a5334984e38c69dafca012 Author: Lapo Calamandrei Date: Wed Jun 18 16:07:59 2014 +0200 Adwaita: more links styling gtk/resources/theme/Adwaita/_common.scss | 16 +++++++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 15 +++++++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 15 +++++++++++---- 3 files changed, 35 insertions(+), 11 deletions(-) commit af0496dc68a01eb578dc3a0e5922ae4d19e5fec7 Author: Lars Uebernickel Date: Wed Jun 18 13:25:02 2014 +0200 themes: use .popover class instead of GtkPopover https://bugzilla.gnome.org/show_bug.cgi?id=731834 gtk/resources/theme/Adwaita/_common.scss | 4 +-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 38 +++++++++++----------- gtk/resources/theme/Adwaita/gtk-contained.css | 38 +++++++++++----------- gtk/resources/theme/Raleigh/gtk-default.css | 5 ++- gtk/resources/theme/win32/gtk-win32-base.css | 8 ++--- 5 files changed, 46 insertions(+), 47 deletions(-) commit d0a3c8bd6f28f4deb57dc0b273473bafac84b172 Author: Lars Uebernickel Date: Wed Jun 18 13:13:30 2014 +0200 gtkpopover: set background and popover css classes https://bugzilla.gnome.org/show_bug.cgi?id=731834 gtk/gtkpopover.c | 5 +++++ gtk/gtkstylecontext.h | 9 +++++++++ 2 files changed, 14 insertions(+) commit c2b7ebff117263bf750b3b778140312c67862977 Author: Lapo Calamandrei Date: Wed Jun 18 13:26:35 2014 +0200 Adwaita: remove bg from insensitive backdrop spinbutton buttons gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/resources/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit f39a12e0c62beae3b607094924f95e0a28c5b231 Author: Lapo Calamandrei Date: Wed Jun 18 13:16:21 2014 +0200 Adwaita: vertical spinbuttons inhert in backdrop state gtk/resources/theme/Adwaita/_common.scss | 11 +++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 31 ++++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 31 ++++++++++++++-------- 3 files changed, 48 insertions(+), 25 deletions(-) commit 0ff5c417187dfba75d6b4e7a4645ffef86d908af Author: Jakub Steiner Date: Wed Jun 18 12:16:55 2014 +0200 Adwaita: actionbars' padding gtk/resources/theme/Adwaita/_common.scss | 23 ++++++++-------------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 12 +++++------ gtk/resources/theme/Adwaita/gtk-contained.css | 12 +++++------ 3 files changed, 20 insertions(+), 27 deletions(-) commit 630b5b9797e909005fd1618776f2af109209f007 Author: Lapo Calamandrei Date: Wed Jun 18 12:08:04 2014 +0200 Adwaita: reorderable tabs correctly styled for every notebook layout gtk/resources/theme/Adwaita/_common.scss | 48 +++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 100 +++++++++++++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 100 +++++++++++++++++---- 3 files changed, 208 insertions(+), 40 deletions(-) commit e1ae22465b11f647357290d6e0b0c428f4ed2431 Author: Lapo Calamandrei Date: Wed Jun 18 10:21:13 2014 +0200 Adwaita: set outline-color on selected items gtk/resources/theme/Adwaita/_common.scss | 1 + gtk/resources/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/resources/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) commit 6cebdf80ac8d6a0b671e34b7a731e8df60ef4cc0 Author: Lapo Calamandrei Date: Wed Jun 18 10:11:11 2014 +0200 Adwaita: checks and radios text focus ring fix. gtk/resources/theme/Adwaita/_common.scss | 8 +++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/resources/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 11 insertions(+), 7 deletions(-) commit 0011c5c5e3024bbc970806618f3db79dec7015c4 Author: Lapo Calamandrei Date: Wed Jun 18 10:01:24 2014 +0200 Adwaita: minor fixes. gtk/resources/theme/Adwaita/_common.scss | 7 ++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++---- 3 files changed, 16 insertions(+), 11 deletions(-) commit 1566a5d9dd9102d2a41af30a70f9fe5db1d885b4 Author: Lapo Calamandrei Date: Wed Jun 18 09:52:29 2014 +0200 Adwaita: .scrollbars-junction gtk/resources/theme/Adwaita/_common.scss | 13 +++++++------ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 +++++---- gtk/resources/theme/Adwaita/gtk-contained.css | 9 +++++---- 3 files changed, 17 insertions(+), 14 deletions(-) commit 6432dd02344ea64a0ff93f7a82d4b6e2b38f2cbf Author: Yosef Or Boczko Date: Wed Jun 18 03:12:40 2014 +0300 Updated Hebrew properties translation po-properties/he.po | 2819 ++++++++++++++++++++++++++------------------------- 1 file changed, 1437 insertions(+), 1382 deletions(-) commit d57793adb4be10154b7ac5e97e63a7d4ea15eb1d Author: Matthias Clasen Date: Tue Jun 17 16:26:42 2014 -0400 Include image data in the builtin icon theme cache When we switched the default for gtk-update-icon-cache to not include image data, we should have thought about the builtin icons. For them, we rely on image data being included. This made the notify test fail in gnome-continuous, where we build from git and always regenerate the builtin cache. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8253b76bf667896b4276ae065707988b954d3317 Author: Matthias Clasen Date: Tue Jun 17 14:38:18 2014 -0400 Add a test for builtin icons We want to get rid of these, but as long as we still have them, make sure they work. testsuite/gtk/icontheme.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit 3574a809fa66a125cd148a5adc29e047bada7414 Author: Alexander Larsson Date: Tue Jun 17 18:05:22 2014 +0200 icon theme: Fix crash for builtin icons This pushes the initialization of is_svg to an earlier point when the GtkIconInfo is created. This is needed because an icon info doesn't necessarily always have a filename that we can later extract the suffix from. For instance, builtin icons have NULL filename. https://bugzilla.gnome.org/show_bug.cgi?id=721895 gtk/gtkicontheme.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d87d62fe73639973de697aabc9a41e58d9c9d771 Author: Jakub Steiner Date: Tue Jun 17 15:55:58 2014 +0200 Adwaita: selection mode buttons to have borders and fill gtk/resources/theme/Adwaita/_common.scss | 7 +++++-- gtk/resources/theme/Adwaita/_drawing.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 11 ++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 11 ++++++----- 4 files changed, 18 insertions(+), 13 deletions(-) commit e591c8ab41e4e676c090116ef7a56a579a956bf1 Author: Jakub Steiner Date: Tue Jun 17 15:41:59 2014 +0200 Adwaita: symbolic checkboxes for selection mode. gtk/resources/theme/Adwaita/_common.scss | 5 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 72 ++++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 72 ++++++++++++++-------- 3 files changed, 99 insertions(+), 50 deletions(-) commit 0ce17d4aca9bf86ee9e95b070d6afb8e91ad843c Author: Jakub Steiner Date: Tue Jun 17 15:39:45 2014 +0200 Adwaita: make bash actually call sass gtk/resources/theme/Adwaita/parse-sass.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2e0ce67f8aa7da0cfbcf31e02e60012927fb4193 Author: Chun-wei Fan Date: Tue Jun 17 17:53:36 2014 +0800 Visual Studio Builds: "Install" the Stock Icons Copy the icons in stock_icons accordingly, so that the built-in icons can be found by GTK, as it seems that not all of them are built into gtkbuiltincache.h. build/win32/vs10/gtk-install.props | 25 +++++++++++++++++++++++++ build/win32/vs9/gtk-install.vsprops | 15 +++++++++++++++ 2 files changed, 40 insertions(+) commit aeac92a49745d0a89f825d2bddc72be26f7afc57 Author: Benjamin Otte Date: Mon Jun 16 22:20:08 2014 +0200 testsuite: Add test for latest commit testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/property-name-errors.css | 4 ++++ testsuite/css/parser/property-name-errors.errors | 2 ++ testsuite/css/parser/property-name-errors.ref.css | 0 4 files changed, 9 insertions(+) commit aa6652aac7f6bcf61df111f5ce81c656086e3249 Author: Benjamin Otte Date: Mon Jun 16 22:13:07 2014 +0200 cssprovider: Names starting with -gtk- aren't style props We want to have the "-gtk-" prefix for our custom CSS properties. But we also want to parse names starting with a "-" as style properties. So make sure that "-gtk-" is treated like a normal property and we emit errors when somebody uses it wrong. This is to catch errors with people typing -gtk-iconsource: none; instead of the correct -gtk-icon-source: none; gtk/gtkcssprovider.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit f0f9c2aa37893cf5d3f09ce9c8ac36a88d661e37 Author: Matthias Clasen Date: Mon Jun 16 17:31:56 2014 -0400 Revert "gtkbin: replace internal api" This reverts commit 0f4751c08e22a4f45d58e2368e4ae82df407d330. This causes warnings from the notebook and combobox code. gtk/gtkassistant.c | 3 ++- gtk/gtkbin.c | 6 ++++++ gtk/gtkbin.h | 3 +++ gtk/gtkcombobox.c | 18 +++++++++++++----- gtk/gtknotebook.c | 7 +++---- gtk/gtkscrolledwindow.c | 12 +++++++++--- 6 files changed, 36 insertions(+), 13 deletions(-) commit b57c04de5c8d2cd2305f6561309af335428685a4 Author: Piotr Drąg Date: Mon Jun 16 22:12:39 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 4 ++++ po/POTFILES.skip | 4 ++++ 2 files changed, 8 insertions(+) commit b532e1ff0ab25303c838565220e8d41fb3044a05 Author: Ryan Lortie Date: Mon Jun 16 14:26:21 2014 -0400 menu binding: emit submenu close after activate We want to make sure that the submenu action is changed back to FALSE _after_ the menu item has been activated. This prevents the menu teardown handler from deleting the menu item before it can be activated. Unfortunately, GtkMenuShell emits "hide" before the item activation. This is probably done to prevent the application from doing things like showing dialogs when the menu is still holding the grab. In the case where we are doing an activate, set a boolean flag on each of the open menus (following the parent stack) indicating that we'll be emitting another signal soon (selection done). If that flag is set, we defer the setting of the submenu action until we receive the second signal. https://bugzilla.gnome.org/show_bug.cgi?id=729820 gtk/gtkmenushell.c | 21 +++++++++++++++++++-- gtk/gtkmenushellprivate.h | 5 +++++ 2 files changed, 24 insertions(+), 2 deletions(-) commit 38a6a72a7fe3442445a0e204977c42a196e2402a Author: Jasper St. Pierre Date: Mon Jun 16 13:08:48 2014 -0400 Makefile: Add a few more cleanfile / ignore rules tests/Makefile.am | 4 ++++ testsuite/reftests/Makefile.am | 10 ++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) commit 0855d55668c386cb4d1955b1e17cb17e048bf007 Author: Jasper St. Pierre Date: Mon Jun 16 13:04:30 2014 -0400 Makefile: Add gtk.gresource.xml to gitignore gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 085de60305613ba89fc6216d6662ad729e92a32c Author: Lapo Calamandrei Date: Mon Jun 16 19:57:56 2014 +0200 Adwaita: list-row styling gtk/resources/theme/Adwaita/_common.scss | 7 ++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++-- gtk/resources/theme/Adwaita/gtk-contained.css | 10 ++++++++-- 3 files changed, 22 insertions(+), 5 deletions(-) commit 0e64019df3e8c129d6319a6526a3203c1abe92fa Author: Benjamin Otte Date: Fri Jun 13 21:19:35 2014 +0200 testsuite: Remove a test That test is not working anymore by design since commit 57c4f01e. It was introduced pre-3.0.0 in commit 12d6b588 and the feature was never utilized. So it seems safe to just remove the test. testsuite/gtk/stylecontext.c | 57 -------------------------------------------- 1 file changed, 57 deletions(-) commit fba90d4c65a03a17b3c833992fc2672bd98f6f16 Author: Benjamin Otte Date: Thu Jun 12 14:39:12 2014 +0200 colorswatch: handle clip for box-shadow gtk/gtkcolorswatch.c | 3 +++ 1 file changed, 3 insertions(+) commit b1cca3aa11a853b55357786fb8157081a341c498 Author: Lapo Calamandrei Date: Mon Jun 16 17:14:20 2014 +0200 Adwaita: fix a typo gtk/resources/theme/Adwaita/_common.scss | 2 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/resources/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 490cb30c789840eeabab9f15dd550f676a0e6936 Author: Lapo Calamandrei Date: Mon Jun 16 17:12:03 2014 +0200 Adwaita: GtkPaned separator invisible border shrinking gtk/resources/theme/Adwaita/_common.scss | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/resources/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 67b4749be04c3e0827d02884ced1b715f373f71f Author: Lapo Calamandrei Date: Mon Jun 16 17:07:27 2014 +0200 Adwaita: fix column-header backdrop state gtk/resources/theme/Adwaita/_common.scss | 2 ++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/resources/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit c2bf7a887c1f455aceb51c2fc042165d3b5e4005 Author: Jasper St. Pierre Date: Mon Jun 16 10:41:35 2014 -0400 gtkicontheme: Fix a missing case where we forget to set is_svg When duplicating the icon_info, we forgot to set is_svg. This meant that any application that used gtk_icon_info_load_icon_async wouldn't have is_svg set properly. This fixes blurry icons in the gnome-shell app picker. gtk/gtkicontheme.c | 2 ++ 1 file changed, 2 insertions(+) commit c4fc71058ad3f88628742c7abcca94392cdf9fb6 Author: Jasper St. Pierre Date: Mon Jun 16 10:42:22 2014 -0400 util: Add missing git.mk include util/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit aa339ee30ca1420217e772ce3a5eedb507bf9d67 Author: Lapo Calamandrei Date: Mon Jun 16 16:45:24 2014 +0200 Adwaita: column headers visual simplification gtk/resources/theme/Adwaita/_common.scss | 53 +++++++++++++++------- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 36 ++++++++++----- gtk/resources/theme/Adwaita/gtk-contained.css | 36 ++++++++++----- 3 files changed, 86 insertions(+), 39 deletions(-) commit cf8eaebc072c3b0bf399d082212e3a81d07b6d08 Author: Chun-wei Fan Date: Mon Jun 16 12:07:04 2014 +0800 GtkInspector: Use Adwaita by Default on Windows Too As we are using Adwaita by default on all platforms, do the same for GtkInspector, to be consistent with the rest of GTK+. gtk/inspector/visual.c | 4 ---- 1 file changed, 4 deletions(-) commit 715b8744f58fe10b77da03b14422447f2ae61163 Author: Paolo Borelli Date: Sun Jun 15 18:27:52 2014 +0200 TextView: render the background of border windows Set the .top, .left, etc css classes and render the background of the border windows. Change the reftest implementation accordingly. gtk/gtktextview.c | 37 +++++++++++++++++++++ testsuite/reftests/textview-border-windows.c | 47 --------------------------- testsuite/reftests/textview-border-windows.ui | 1 - 3 files changed, 37 insertions(+), 48 deletions(-) commit 2eeff1eed6bd0bebcf8f1ade535317147a0e9ca9 Author: Paolo Borelli Date: Sun Jun 15 18:11:15 2014 +0200 Add a TextView reftests checking border-windows TextView border windows are internal windows used to draw on the gutter of the textview (e.g. line numbers). The test uses the gmodule hook to programmatically draw on the border-windows at each side of the textview and compares the result with 3x3 grid of labels. testsuite/reftests/Makefile.am | 4 ++ testsuite/reftests/textview-border-windows.c | 75 +++++++++++++++++++++++ testsuite/reftests/textview-border-windows.css | 21 +++++++ testsuite/reftests/textview-border-windows.ref.ui | 74 ++++++++++++++++++++++ testsuite/reftests/textview-border-windows.ui | 20 ++++++ 5 files changed, 194 insertions(+) commit 2c5be3b2316d848e178c6add6e3e67717e147ea0 Author: Paolo Borelli Date: Sat Jun 14 22:51:13 2014 +0200 TextView margin reftest add a reftest that checks GtkTextView text margin property comparing with the normal margin added to the widget (they are the same when there is nothing drawn in the gutter like line numbers etc). testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/textview-margins.css | 1 + testsuite/reftests/textview-margins.ref.ui | 25 +++++++++++++++++++++++++ testsuite/reftests/textview-margins.ui | 25 +++++++++++++++++++++++++ 4 files changed, 54 insertions(+) commit 570653354a6668e5d684cc07b7e17153dbba09b0 Author: Paolo Borelli Date: Sun Jun 15 12:05:40 2014 +0200 Dist recently added reftests testsuite/reftests/Makefile.am | 3 +++ 1 file changed, 3 insertions(+) commit 71ac15ec2fdaf55dae5508a4e9ac317188ad0d0d Author: Kalev Lember Date: Sun Jun 15 11:24:39 2014 +0200 Fix another typo testsuite/gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d58a3439e4531932b936cc2e876177d19e443f67 Author: Matthias Clasen Date: Sun Jun 15 04:15:32 2014 -0400 Fix a typo testsuite/gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0cb7031d1d92d50239fcbe4b5b55eee2fcaa8a4b Author: Matthias Clasen Date: Sat Jun 14 22:52:57 2014 -0400 Install all icons for installed tests Otherwise the icontheme test fails in continuous. testsuite/gtk/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit c1476bf1d7402e7a7547d8debd5cd6b08592e282 Author: Matthias Clasen Date: Sat Jun 14 21:43:14 2014 -0400 Revert "Fixes GtkMenuTrackerItem visible flag reference" This reverts commit ceed0ee7032810476e1563884a7cb04c8fad8ce8. gtk/gtkmenutracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ceed0ee7032810476e1563884a7cb04c8fad8ce8 Author: Will Greenberg Date: Mon Jun 9 15:22:24 2014 -0700 Fixes GtkMenuTrackerItem visible flag reference Previously GtkMenuTracker tried to access "gtk_menu_tracker_item_get_is_visible", but the correct getter is "_gtk_menu_tracker_item_is_visible". This commit corrects this reference https://bugzilla.gnome.org/show_bug.cgi?id=731430 gtk/gtkmenutracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a666827d3a113de55b7a539d37f6764eb94a91a2 Author: Matthias Clasen Date: Sat Jun 14 19:30:17 2014 -0400 gtk-update-icon-cache: Add an --include-image-data option Now that we don't include the image data by default anymore, lets add an option that does it. docs/reference/gtk/gtk-update-icon-cache.xml | 11 ++++++++++- gtk/updateiconcache.c | 1 + 2 files changed, 11 insertions(+), 1 deletion(-) commit 62f8dae7a8fe35a1dd31c10b96474cf6c2b7496c Author: Matthias Clasen Date: Sat Jun 14 18:54:24 2014 -0400 gtkicontheme: Don't query CONTENT_TYPE to determine svg We already know based on the suffix of the filename. https://bugzilla.gnome.org/show_bug.cgi?id=721895 gtk/gtkicontheme.c | 45 ++++++++++----------------------------------- 1 file changed, 10 insertions(+), 35 deletions(-) commit 6f92c7942eeffa2cb042f9918a83997fd7bb9a0e Author: Jasper St. Pierre Date: Fri Jan 10 12:14:41 2014 -0500 updateiconcache: Don't include image data by default anymore Since large images are in the icon cache, and apps don't tend to use that many icons anymore, simply don't include image data and instead make apps load files from disk. Additionally, since they're stored in GdkPixbuf data, that means that we have to first convert them either to a cairo_surface_t, which requires converting pixel data to be premulitplied, or an OpenGL texture, which requires a whole GPU upload anyway. So, even with the icon cache, the goal of icons through zero-copy, mmap()'d data from disk just isn't doable with the icon cache format we have. The icon cache on my disk is nearing 100MB, since we include a bunch of high-resolution application icons, that I doubt would be used by apps at all. Removing this inefficient pixel data makes memory usage for all applications go down, with no speed loss. The icon cache also, however, has an index of what icons are in each folder, which prevents a readdir() and allows GTK+ to know what icon is where without having to do a bunch of stat(); calls. Keeping this data is good for GTK+, so we should still keep the index. It doesn't make sense to remove any code for mapping pixel data from the icon cache. There's a plan in the works to have a symbolic icon cache that does pixel math on 16x16 icons to prevent slow SVG rendering. 16x16 pixels are fairly small, and such images are flat colors, which should compress easily, so the icon cache would be worthwhile here. So let's keep the code around in preparation for that case. https://bugzilla.gnome.org/show_bug.cgi?id=721895 gtk/updateiconcache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c184458ab3b583ab2fa6e0a6da5934941b3cbe7d Author: Paolo Borelli Date: Thu Jun 12 21:12:18 2014 +0200 notebook: set tab position style class on the main frame We want to have .top etc also on the notebook frame, not only on the header frame. The patch includes a reftest by Benjamin. gtk/gtknotebook.c | 50 ++++++++++++++----------- testsuite/reftests/notebook-tab-position.css | 28 ++++++++++++++ testsuite/reftests/notebook-tab-position.ref.ui | 38 +++++++++++++++++++ testsuite/reftests/notebook-tab-position.ui | 37 ++++++++++++++++++ 4 files changed, 131 insertions(+), 22 deletions(-) commit fea939b3d75a97ded2e631235644500fcc2301cf Author: Matthias Clasen Date: Sat Jun 14 11:19:12 2014 -0400 GtkIconTheme: Don't treat svg icons specially This changes makes svg icons go through the same scale calculation code as png icons. As a consequence, an svg that is put into the 32x32 directory will actually be loaded at size 32, even if it gets requested at a bigger size. This will let us avoid giant spinners. https://bugzilla.gnome.org/show_bug.cgi?id=731658 gtk/gtkicontheme.c | 63 +++++++++++++++++++++--------------------------------- 1 file changed, 24 insertions(+), 39 deletions(-) commit 84cf748eae1f21e2b78b8e330a53ee12a308e32f Author: Matthias Clasen Date: Sat Jun 14 15:06:57 2014 -0400 Add more icontheme tests This test is focused on svgs, and how we scale them when loading. testsuite/gtk/icons/16x16/twosize-fixed.svg | 56 +++++++++++++++++++++++++++++ testsuite/gtk/icons/16x16s/twosize.svg | 56 +++++++++++++++++++++++++++++ testsuite/gtk/icons/32x32/twosize-fixed.svg | 4 +++ testsuite/gtk/icons/32x32s/twosize.svg | 4 +++ testsuite/gtk/icons/index.theme | 20 +++++++++-- testsuite/gtk/icontheme.c | 53 ++++++++++++++++++++++++--- 6 files changed, 186 insertions(+), 7 deletions(-) commit fd53732035f4633d4c4e81e1be1a76b4dd40a8b5 Author: Lapo Calamandrei Date: Sat Jun 14 19:06:26 2014 +0200 Adwaita: try to make scrollbars near paned separator usable. gtk/resources/theme/Adwaita/_common.scss | 6 +++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained.css | 5 ++++- 3 files changed, 13 insertions(+), 3 deletions(-) commit 4406386ad9ed575efd280cc332c4b29f5517bdf1 Author: Piotr Drąg Date: Sat Jun 14 16:46:06 2014 +0200 Remove duplicate lines in Azerbaijani translation headers po-properties/az.po | 24 ------------------------ 1 file changed, 24 deletions(-) commit b939b17f5105e16df70e079aa4e7d5181ab55bf2 Author: Lapo Calamandrei Date: Sat Jun 14 15:37:36 2014 +0200 Adwaita: comment added gtk/resources/theme/Adwaita/_common.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 40775415cc93a6abf25ce6281bfbc5125cde2e22 Author: Lapo Calamandrei Date: Sat Jun 14 15:31:05 2014 +0200 Adwaita: fix GtkScale outline offset and radius gtk/resources/theme/Adwaita/_common.scss | 3 +++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained.css | 5 ++++- 3 files changed, 11 insertions(+), 2 deletions(-) commit 77a4b253dfb1dab9bf3e68d345cb9737bfd680c8 Author: Lapo Calamandrei Date: Sat Jun 14 14:49:20 2014 +0200 Adwaita: Gtkscale - added slider assets for scales with marks - experimental touch friendly fine-tune mode, grow the trough istead of shrinking the slider gtk/resources/theme/Adwaita/_common.scss | 69 +- gtk/resources/theme/Adwaita/assets.svg | 6148 ++++++++++++-------- gtk/resources/theme/Adwaita/assets.txt | 49 +- ...ider-horz-scale-has-marks-above-active-dark.png | Bin 0 -> 924 bytes ...er-horz-scale-has-marks-above-active-dark@2.png | Bin 0 -> 2003 bytes .../slider-horz-scale-has-marks-above-active.png | Bin 0 -> 933 bytes .../slider-horz-scale-has-marks-above-active@2.png | Bin 0 -> 1964 bytes ...er-horz-scale-has-marks-above-backdrop-dark.png | Bin 0 -> 691 bytes ...-horz-scale-has-marks-above-backdrop-dark@2.png | Bin 0 -> 1367 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 0 -> 677 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 0 -> 1381 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 0 -> 724 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 0 -> 1396 bytes .../slider-horz-scale-has-marks-above-backdrop.png | Bin 0 -> 781 bytes ...lider-horz-scale-has-marks-above-backdrop@2.png | Bin 0 -> 1408 bytes .../slider-horz-scale-has-marks-above-dark.png | Bin 0 -> 844 bytes .../slider-horz-scale-has-marks-above-dark@2.png | Bin 0 -> 1842 bytes ...lider-horz-scale-has-marks-above-hover-dark.png | Bin 0 -> 896 bytes ...der-horz-scale-has-marks-above-hover-dark@2.png | Bin 0 -> 1968 bytes .../slider-horz-scale-has-marks-above-hover.png | Bin 0 -> 844 bytes .../slider-horz-scale-has-marks-above-hover@2.png | Bin 0 -> 1821 bytes ...horz-scale-has-marks-above-insensitive-dark.png | Bin 0 -> 691 bytes ...rz-scale-has-marks-above-insensitive-dark@2.png | Bin 0 -> 1367 bytes ...ider-horz-scale-has-marks-above-insensitive.png | Bin 0 -> 753 bytes ...er-horz-scale-has-marks-above-insensitive@2.png | Bin 0 -> 1414 bytes .../assets/slider-horz-scale-has-marks-above.png | Bin 0 -> 911 bytes .../assets/slider-horz-scale-has-marks-above@2.png | Bin 0 -> 1909 bytes ...ider-horz-scale-has-marks-below-active-dark.png | Bin 0 -> 914 bytes ...er-horz-scale-has-marks-below-active-dark@2.png | Bin 0 -> 1968 bytes .../slider-horz-scale-has-marks-below-active.png | Bin 0 -> 915 bytes .../slider-horz-scale-has-marks-below-active@2.png | Bin 0 -> 1915 bytes ...er-horz-scale-has-marks-below-backdrop-dark.png | Bin 0 -> 728 bytes ...-horz-scale-has-marks-below-backdrop-dark@2.png | Bin 0 -> 1373 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 0 -> 727 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 0 -> 1365 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 0 -> 762 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 0 -> 1403 bytes .../slider-horz-scale-has-marks-below-backdrop.png | Bin 0 -> 816 bytes ...lider-horz-scale-has-marks-below-backdrop@2.png | Bin 0 -> 1447 bytes .../slider-horz-scale-has-marks-below-dark.png | Bin 0 -> 855 bytes .../slider-horz-scale-has-marks-below-dark@2.png | Bin 0 -> 1848 bytes ...lider-horz-scale-has-marks-below-hover-dark.png | Bin 0 -> 900 bytes ...der-horz-scale-has-marks-below-hover-dark@2.png | Bin 0 -> 1922 bytes .../slider-horz-scale-has-marks-below-hover.png | Bin 0 -> 870 bytes .../slider-horz-scale-has-marks-below-hover@2.png | Bin 0 -> 1723 bytes ...horz-scale-has-marks-below-insensitive-dark.png | Bin 0 -> 728 bytes ...rz-scale-has-marks-below-insensitive-dark@2.png | Bin 0 -> 1373 bytes ...ider-horz-scale-has-marks-below-insensitive.png | Bin 0 -> 799 bytes ...er-horz-scale-has-marks-below-insensitive@2.png | Bin 0 -> 1461 bytes .../assets/slider-horz-scale-has-marks-below.png | Bin 0 -> 917 bytes .../assets/slider-horz-scale-has-marks-below@2.png | Bin 0 -> 1891 bytes ...ider-vert-scale-has-marks-above-active-dark.png | Bin 0 -> 913 bytes ...er-vert-scale-has-marks-above-active-dark@2.png | Bin 0 -> 1905 bytes .../slider-vert-scale-has-marks-above-active.png | Bin 0 -> 935 bytes .../slider-vert-scale-has-marks-above-active@2.png | Bin 0 -> 1823 bytes ...er-vert-scale-has-marks-above-backdrop-dark.png | Bin 0 -> 602 bytes ...-vert-scale-has-marks-above-backdrop-dark@2.png | Bin 0 -> 1179 bytes ...e-has-marks-above-backdrop-insensitive-dark.png | Bin 0 -> 582 bytes ...has-marks-above-backdrop-insensitive-dark@2.png | Bin 0 -> 1145 bytes ...-scale-has-marks-above-backdrop-insensitive.png | Bin 0 -> 608 bytes ...cale-has-marks-above-backdrop-insensitive@2.png | Bin 0 -> 1208 bytes .../slider-vert-scale-has-marks-above-backdrop.png | Bin 0 -> 689 bytes ...lider-vert-scale-has-marks-above-backdrop@2.png | Bin 0 -> 1253 bytes .../slider-vert-scale-has-marks-above-dark.png | Bin 0 -> 867 bytes .../slider-vert-scale-has-marks-above-dark@2.png | Bin 0 -> 1782 bytes ...lider-vert-scale-has-marks-above-hover-dark.png | Bin 0 -> 918 bytes ...der-vert-scale-has-marks-above-hover-dark@2.png | Bin 0 -> 1878 bytes .../slider-vert-scale-has-marks-above-hover.png | Bin 0 -> 848 bytes .../slider-vert-scale-has-marks-above-hover@2.png | Bin 0 -> 1685 bytes ...vert-scale-has-marks-above-insensitive-dark.png | Bin 0 -> 602 bytes ...rt-scale-has-marks-above-insensitive-dark@2.png | Bin 0 -> 1179 bytes ...ider-vert-scale-has-marks-above-insensitive.png | Bin 0 -> 671 bytes ...er-vert-scale-has-marks-above-insensitive@2.png | Bin 0 -> 1263 bytes .../assets/slider-vert-scale-has-marks-above.png | Bin 0 -> 912 bytes .../assets/slider-vert-scale-has-marks-above@2.png | Bin 0 -> 1826 bytes ...ider-vert-scale-has-marks-below-active-dark.png | Bin 0 -> 929 bytes ...er-vert-scale-has-marks-below-active-dark@2.png | Bin 0 -> 1924 bytes .../slider-vert-scale-has-marks-below-active.png | Bin 0 -> 955 bytes .../slider-vert-scale-has-marks-below-active@2.png | Bin 0 -> 1832 bytes ...er-vert-scale-has-marks-below-backdrop-dark.png | Bin 0 -> 592 bytes ...-vert-scale-has-marks-below-backdrop-dark@2.png | Bin 0 -> 1203 bytes ...e-has-marks-below-backdrop-insensitive-dark.png | Bin 0 -> 583 bytes ...has-marks-below-backdrop-insensitive-dark@2.png | Bin 0 -> 1171 bytes ...-scale-has-marks-below-backdrop-insensitive.png | Bin 0 -> 601 bytes ...cale-has-marks-below-backdrop-insensitive@2.png | Bin 0 -> 1220 bytes .../slider-vert-scale-has-marks-below-backdrop.png | Bin 0 -> 697 bytes ...lider-vert-scale-has-marks-below-backdrop@2.png | Bin 0 -> 1297 bytes .../slider-vert-scale-has-marks-below-dark.png | Bin 0 -> 872 bytes .../slider-vert-scale-has-marks-below-dark@2.png | Bin 0 -> 1784 bytes ...lider-vert-scale-has-marks-below-hover-dark.png | Bin 0 -> 911 bytes ...der-vert-scale-has-marks-below-hover-dark@2.png | Bin 0 -> 1883 bytes .../slider-vert-scale-has-marks-below-hover.png | Bin 0 -> 886 bytes .../slider-vert-scale-has-marks-below-hover@2.png | Bin 0 -> 1729 bytes ...vert-scale-has-marks-below-insensitive-dark.png | Bin 0 -> 592 bytes ...rt-scale-has-marks-below-insensitive-dark@2.png | Bin 0 -> 1203 bytes ...ider-vert-scale-has-marks-below-insensitive.png | Bin 0 -> 679 bytes ...er-vert-scale-has-marks-below-insensitive@2.png | Bin 0 -> 1314 bytes .../assets/slider-vert-scale-has-marks-below.png | Bin 0 -> 932 bytes .../assets/slider-vert-scale-has-marks-below@2.png | Bin 0 -> 1865 bytes gtk/resources/theme/Adwaita/gtk-contained-dark.css | 304 +- gtk/resources/theme/Adwaita/gtk-contained.css | 304 +- 101 files changed, 4441 insertions(+), 2433 deletions(-) commit e3443c9cf5b75101ced38f5ca0d6f8ad00c969ac Author: Rico Tzschichholz Date: Sat Jun 14 13:13:29 2014 +0200 Adwaita: drop references to render-borders.sh/borders.txt They were dropped with 82b12328987425a2c7342e259c9147df3787bdb9 gtk/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 83bc345b5037b4a917729281707fe3b1dcaa91eb Author: Lapo Calamandrei Date: Sat Jun 14 11:30:22 2014 +0200 Adwaita: noticiable scale slider active state for the dark variant gtk/resources/theme/Adwaita/_common.scss | 5 ++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) commit b10e358f5edd57970b8bcd9fe3f3fb9bb6a1e907 Author: Lapo Calamandrei Date: Sat Jun 14 11:01:31 2014 +0200 Adwaita: include missing assets .../theme/Adwaita/assets/checkbox-mixed-hover-dark.png | Bin 0 -> 618 bytes .../theme/Adwaita/assets/checkbox-mixed-hover-dark@2.png | Bin 0 -> 1157 bytes .../theme/Adwaita/assets/checkbox-mixed-hover.png | Bin 0 -> 537 bytes .../theme/Adwaita/assets/checkbox-mixed-hover@2.png | Bin 0 -> 964 bytes .../theme/Adwaita/assets/radio-mixed-hover-dark.png | Bin 0 -> 830 bytes .../theme/Adwaita/assets/radio-mixed-hover-dark@2.png | Bin 0 -> 1847 bytes gtk/resources/theme/Adwaita/assets/radio-mixed-hover.png | Bin 0 -> 739 bytes .../theme/Adwaita/assets/radio-mixed-hover@2.png | Bin 0 -> 1605 bytes 8 files changed, 0 insertions(+), 0 deletions(-) commit a1991df8d31825da2d7e91a83f2281086a41813f Author: Lapo Calamandrei Date: Sat Jun 14 11:00:33 2014 +0200 Adwaita: darker base color for the dark variant gtk/resources/theme/Adwaita/_colors.scss | 4 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 98 +++++++++++----------- 2 files changed, 51 insertions(+), 51 deletions(-) commit a6de44ac69af19dad6936ebca200ea776121bf20 Author: Lapo Calamandrei Date: Sat Jun 14 10:48:28 2014 +0200 Adwaita: dark var backdrop insensitive fixes Consistent backdrop insensitive state for dark variant GtkScale and GtkSwitch gtk/resources/theme/Adwaita/_common.scss | 14 +++++++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 6 ++++-- 2 files changed, 15 insertions(+), 5 deletions(-) commit 54e4c11ed1a69ab6ad8105f044e5fa2702a2a644 Author: Lapo Calamandrei Date: Sat Jun 14 10:19:15 2014 +0200 Adwaita: GtkScale slider :hover state added gtk/resources/theme/Adwaita/_common.scss | 12 +++++++++++- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 13 ++++++++++++- gtk/resources/theme/Adwaita/gtk-contained.css | 13 ++++++++++++- 3 files changed, 35 insertions(+), 3 deletions(-) commit 3d70add7f64aec965e8bba093b5ae1a5b75923f1 Author: Lapo Calamandrei Date: Sat Jun 14 09:00:21 2014 +0200 Adwaita: sidebar separator and selected item backdrop fix gtk/resources/theme/Adwaita/_common.scss | 7 +++++-- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 9 ++++++--- gtk/resources/theme/Adwaita/gtk-contained.css | 9 ++++++--- 3 files changed, 17 insertions(+), 8 deletions(-) commit 04a1a15e88fce807e7976af3cbfe130e845fb9ce Author: Lapo Calamandrei Date: Sat Jun 14 08:45:55 2014 +0200 Adwaita: added a missing border to GtkFileChooser gtk/resources/theme/Adwaita/_common.scss | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/resources/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 15 insertions(+) commit 7fd675e4f669fa3a34be9c7f5694ba460c4b27b0 Author: Lapo Calamandrei Date: Sat Jun 14 08:42:12 2014 +0200 Adwaita: better tab close button gtk/resources/theme/Adwaita/_common.scss | 14 ++++++--- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 33 ++++++++++++++-------- gtk/resources/theme/Adwaita/gtk-contained.css | 25 ++++++++++++++-- 3 files changed, 54 insertions(+), 18 deletions(-) commit 82b12328987425a2c7342e259c9147df3787bdb9 Author: Lapo Calamandrei Date: Sat Jun 14 08:31:36 2014 +0200 Adwaita: remove old cruft not used anymore gtk/resources/theme/Adwaita/borders.txt | 34 --------------------------- gtk/resources/theme/Adwaita/render-borders.sh | 34 --------------------------- 2 files changed, 68 deletions(-) commit a1bf6718f5c51eb28456e659f873a535fada6041 Author: Lapo Calamandrei Date: Sat Jun 14 08:29:11 2014 +0200 check and radio assets refresh gtk/resources/theme/Adwaita/assets.svg | 7658 +++----------------- .../assets/checkbox-checked-active-dark.png | Bin 636 -> 693 bytes .../assets/checkbox-checked-active-dark@2.png | Bin 1213 -> 1339 bytes .../assets/checkbox-checked-backdrop-dark.png | Bin 513 -> 592 bytes .../assets/checkbox-checked-backdrop-dark@2.png | Bin 859 -> 1033 bytes .../checkbox-checked-backdrop-insensitive-dark.png | Bin 469 -> 473 bytes ...heckbox-checked-backdrop-insensitive-dark@2.png | Bin 769 -> 792 bytes .../theme/Adwaita/assets/checkbox-checked-dark.png | Bin 638 -> 744 bytes .../Adwaita/assets/checkbox-checked-dark@2.png | Bin 1219 -> 1435 bytes .../Adwaita/assets/checkbox-checked-hover-dark.png | Bin 669 -> 748 bytes .../assets/checkbox-checked-hover-dark@2.png | Bin 1238 -> 1482 bytes .../assets/checkbox-checked-insensitive-dark.png | Bin 604 -> 540 bytes .../assets/checkbox-checked-insensitive-dark@2.png | Bin 1084 -> 910 bytes .../Adwaita/assets/checkbox-mixed-active-dark.png | Bin 558 -> 532 bytes .../assets/checkbox-mixed-active-dark@2.png | Bin 956 -> 973 bytes .../assets/checkbox-mixed-backdrop-dark.png | Bin 456 -> 439 bytes .../assets/checkbox-mixed-backdrop-dark@2.png | Bin 757 -> 727 bytes .../checkbox-mixed-backdrop-insensitive-dark.png | Bin 421 -> 411 bytes .../checkbox-mixed-backdrop-insensitive-dark@2.png | Bin 714 -> 680 bytes .../theme/Adwaita/assets/checkbox-mixed-dark.png | Bin 556 -> 597 bytes .../theme/Adwaita/assets/checkbox-mixed-dark@2.png | Bin 1007 -> 1122 bytes .../assets/checkbox-mixed-insensitive-dark.png | Bin 514 -> 485 bytes .../assets/checkbox-mixed-insensitive-dark@2.png | Bin 885 -> 773 bytes .../assets/checkbox-unchecked-active-dark.png | Bin 434 -> 414 bytes .../assets/checkbox-unchecked-active-dark@2.png | Bin 739 -> 735 bytes .../assets/checkbox-unchecked-backdrop-dark.png | Bin 388 -> 358 bytes .../assets/checkbox-unchecked-backdrop-dark@2.png | Bin 630 -> 583 bytes ...heckbox-unchecked-backdrop-insensitive-dark.png | Bin 377 -> 358 bytes ...ckbox-unchecked-backdrop-insensitive-dark@2.png | Bin 619 -> 583 bytes .../Adwaita/assets/checkbox-unchecked-dark.png | Bin 441 -> 486 bytes .../Adwaita/assets/checkbox-unchecked-dark@2.png | Bin 789 -> 895 bytes .../assets/checkbox-unchecked-hover-dark.png | Bin 462 -> 516 bytes .../assets/checkbox-unchecked-hover-dark@2.png | Bin 807 -> 925 bytes .../assets/checkbox-unchecked-insensitive-dark.png | Bin 432 -> 425 bytes .../checkbox-unchecked-insensitive-dark@2.png | Bin 724 -> 686 bytes .../Adwaita/assets/radio-checked-active-dark.png | Bin 706 -> 743 bytes .../Adwaita/assets/radio-checked-active-dark@2.png | Bin 1458 -> 1593 bytes .../Adwaita/assets/radio-checked-backdrop-dark.png | Bin 630 -> 589 bytes .../assets/radio-checked-backdrop-dark@2.png | Bin 1239 -> 1054 bytes .../radio-checked-backdrop-insensitive-dark.png | Bin 593 -> 539 bytes .../radio-checked-backdrop-insensitive-dark@2.png | Bin 1190 -> 942 bytes .../assets/radio-checked-backdrop-insensitive.png | Bin 693 -> 572 bytes .../radio-checked-backdrop-insensitive@2.png | Bin 1397 -> 1021 bytes .../Adwaita/assets/radio-checked-backdrop.png | Bin 672 -> 646 bytes .../Adwaita/assets/radio-checked-backdrop@2.png | Bin 1376 -> 1178 bytes .../theme/Adwaita/assets/radio-checked-dark.png | Bin 741 -> 854 bytes .../theme/Adwaita/assets/radio-checked-dark@2.png | Bin 1579 -> 1911 bytes .../Adwaita/assets/radio-checked-hover-dark.png | Bin 780 -> 875 bytes .../Adwaita/assets/radio-checked-hover-dark@2.png | Bin 1666 -> 1939 bytes .../theme/Adwaita/assets/radio-checked-hover.png | Bin 813 -> 799 bytes .../theme/Adwaita/assets/radio-checked-hover@2.png | Bin 1713 -> 1716 bytes .../assets/radio-checked-insensitive-dark.png | Bin 719 -> 697 bytes .../assets/radio-checked-insensitive-dark@2.png | Bin 1450 -> 1367 bytes .../theme/Adwaita/assets/radio-checked.png | Bin 806 -> 853 bytes .../theme/Adwaita/assets/radio-checked@2.png | Bin 1714 -> 1815 bytes .../Adwaita/assets/radio-mixed-active-dark.png | Bin 698 -> 708 bytes .../Adwaita/assets/radio-mixed-active-dark@2.png | Bin 1413 -> 1495 bytes .../Adwaita/assets/radio-mixed-backdrop-dark.png | Bin 618 -> 545 bytes .../Adwaita/assets/radio-mixed-backdrop-dark@2.png | Bin 1187 -> 976 bytes .../radio-mixed-backdrop-insensitive-dark.png | Bin 598 -> 517 bytes .../radio-mixed-backdrop-insensitive-dark@2.png | Bin 1175 -> 920 bytes .../assets/radio-mixed-backdrop-insensitive.png | Bin 667 -> 552 bytes .../assets/radio-mixed-backdrop-insensitive@2.png | Bin 1193 -> 966 bytes .../theme/Adwaita/assets/radio-mixed-backdrop.png | Bin 634 -> 612 bytes .../Adwaita/assets/radio-mixed-backdrop@2.png | Bin 1158 -> 1074 bytes .../theme/Adwaita/assets/radio-mixed-dark.png | Bin 719 -> 811 bytes .../theme/Adwaita/assets/radio-mixed-dark@2.png | Bin 1513 -> 1801 bytes .../assets/radio-mixed-insensitive-dark.png | Bin 687 -> 670 bytes .../assets/radio-mixed-insensitive-dark@2.png | Bin 1345 -> 1323 bytes gtk/resources/theme/Adwaita/assets/radio-mixed.png | Bin 798 -> 804 bytes .../theme/Adwaita/assets/radio-mixed@2.png | Bin 1679 -> 1687 bytes .../Adwaita/assets/radio-unchecked-active-dark.png | Bin 607 -> 616 bytes .../assets/radio-unchecked-active-dark@2.png | Bin 1239 -> 1291 bytes .../assets/radio-unchecked-backdrop-dark.png | Bin 561 -> 513 bytes .../assets/radio-unchecked-backdrop-dark@2.png | Bin 1068 -> 902 bytes .../radio-unchecked-backdrop-insensitive-dark.png | Bin 557 -> 513 bytes ...radio-unchecked-backdrop-insensitive-dark@2.png | Bin 1077 -> 902 bytes .../radio-unchecked-backdrop-insensitive.png | Bin 566 -> 494 bytes .../radio-unchecked-backdrop-insensitive@2.png | Bin 1185 -> 851 bytes .../Adwaita/assets/radio-unchecked-backdrop.png | Bin 558 -> 532 bytes .../Adwaita/assets/radio-unchecked-backdrop@2.png | Bin 1112 -> 919 bytes .../theme/Adwaita/assets/radio-unchecked-dark.png | Bin 636 -> 734 bytes .../Adwaita/assets/radio-unchecked-dark@2.png | Bin 1351 -> 1599 bytes .../Adwaita/assets/radio-unchecked-hover-dark.png | Bin 671 -> 743 bytes .../assets/radio-unchecked-hover-dark@2.png | Bin 1462 -> 1651 bytes .../theme/Adwaita/assets/radio-unchecked-hover.png | Bin 683 -> 677 bytes .../Adwaita/assets/radio-unchecked-hover@2.png | Bin 1434 -> 1423 bytes .../assets/radio-unchecked-insensitive-dark.png | Bin 620 -> 626 bytes .../assets/radio-unchecked-insensitive-dark@2.png | Bin 1234 -> 1246 bytes .../theme/Adwaita/assets/radio-unchecked.png | Bin 698 -> 723 bytes .../theme/Adwaita/assets/radio-unchecked@2.png | Bin 1511 -> 1532 bytes 91 files changed, 1036 insertions(+), 6622 deletions(-) commit 406974fdb16abefe6f25f390a7b80fcfbc43c928 Author: Stefan Sauer Date: Fri Jun 13 19:04:39 2014 +0200 scrolledwindow: update GtkPolicyType docs The policy is not determining the visibility of the scrollbars anymore, but the how the size is to be computed to achive the selected visibility. gtk/gtkscrolledwindow.h | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 0f4751c08e22a4f45d58e2368e4ae82df407d330 Author: Stefan Sauer Date: Wed Jun 4 21:23:01 2014 +0200 gtkbin: replace internal api gtk/gtkassistant.c | 3 +-- gtk/gtkbin.c | 6 ------ gtk/gtkbin.h | 3 --- gtk/gtkcombobox.c | 18 +++++------------- gtk/gtknotebook.c | 7 ++++--- gtk/gtkscrolledwindow.c | 12 +++--------- 6 files changed, 13 insertions(+), 36 deletions(-) commit aba6871dbacaaa77b4c6c2634c84716dad5ea2d4 Author: Matthias Clasen Date: Sat Jun 14 00:15:09 2014 -0400 inspector: Use Adwaita as default theme gtk/inspector/visual.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d7c79574bb32e097e212d5618a1ff83cb5d098f Author: Matthias Clasen Date: Fri Jun 13 16:49:59 2014 -0400 Use Adwaita on Windows too Having the same, usable, default appearance acroll platforms trumps having a more-or-less working native theme. The default will be Adwaita on all platforms. The native ms-windows theme is of course still available. gdk/win32/gdkproperty-win32.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 3ae4c8f125b2abaedc03c71f3296aad256fbdb47 Author: Matthias Clasen Date: Fri Jun 13 14:42:38 2014 -0400 Adwaita: bring back the extra indirection Without this, we are missing the 'Adwaita' component in the path when resolving relative resources, and none of the assets are found. gtk/Makefile.am | 6 +- gtk/resources/theme/Adwaita/gtk-contained-dark.css | 2086 +++++++++++++++++++ .../{gtk-dark.scss => gtk-contained-dark.scss} | 0 gtk/resources/theme/Adwaita/gtk-contained.css | 2078 +++++++++++++++++++ .../theme/Adwaita/{gtk.scss => gtk-contained.scss} | 0 gtk/resources/theme/Adwaita/gtk-dark.css | 2087 +------------------- gtk/resources/theme/Adwaita/gtk.css | 2079 +------------------ 7 files changed, 4170 insertions(+), 4166 deletions(-) commit 6cc5908d88c712ee5faa2618320256af2c23f61f Author: Matthias Clasen Date: Fri Jun 13 14:16:37 2014 -0400 Try to fix the continuous build Making gtk.gresource.xml generated was causing a problem for srcdir!=builddir builds from git. Builds from tarballs are not affected, because the tarball contains the generated file. gtk/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4225a8eaf36ccb5814c5079073aadd53de7281e8 Author: Matthias Clasen Date: Fri Jun 13 14:03:52 2014 -0400 Add some EXEEXT decorations back Might fix https://bugzilla.gnome.org/show_bug.cgi?id=731602 util/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cefa19d30ca3aa7f2bf8a2eccd7d63ebb34af053 Author: Matthias Clasen Date: Fri Jun 13 10:37:29 2014 -0400 Use Adwaita as the default theme This ensures that GTK+ applications have a high-quality theme on all platforms, and look consistent. gtk/gtksettingsprivate.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4e1e01accb353c9b83b2a96ae0140173e14ec1c Author: Matthias Clasen Date: Fri Jun 13 10:32:44 2014 -0400 Include the Adwaita theme This adds the resources for the Adwaita theme, and includes them in libgtk, on all platforms. gtk/Makefile.am | 23 +- gtk/resources/theme/Adwaita/_colors.scss | 82 + gtk/resources/theme/Adwaita/_common.scss | 1756 ++++ gtk/resources/theme/Adwaita/_drawing.scss | 356 + gtk/resources/theme/Adwaita/assets.svg | 8943 ++++++++++++++++++++ gtk/resources/theme/Adwaita/assets.txt | 73 + .../assets/checkbox-checked-active-dark.png | Bin 0 -> 636 bytes .../assets/checkbox-checked-active-dark@2.png | Bin 0 -> 1213 bytes .../Adwaita/assets/checkbox-checked-active.png | Bin 0 -> 694 bytes .../Adwaita/assets/checkbox-checked-active@2.png | Bin 0 -> 1354 bytes .../assets/checkbox-checked-backdrop-dark.png | Bin 0 -> 513 bytes .../assets/checkbox-checked-backdrop-dark@2.png | Bin 0 -> 859 bytes .../checkbox-checked-backdrop-insensitive-dark.png | Bin 0 -> 469 bytes ...heckbox-checked-backdrop-insensitive-dark@2.png | Bin 0 -> 769 bytes .../checkbox-checked-backdrop-insensitive.png | Bin 0 -> 496 bytes .../checkbox-checked-backdrop-insensitive@2.png | Bin 0 -> 883 bytes .../Adwaita/assets/checkbox-checked-backdrop.png | Bin 0 -> 605 bytes .../Adwaita/assets/checkbox-checked-backdrop@2.png | Bin 0 -> 1068 bytes .../theme/Adwaita/assets/checkbox-checked-dark.png | Bin 0 -> 638 bytes .../Adwaita/assets/checkbox-checked-dark@2.png | Bin 0 -> 1219 bytes .../Adwaita/assets/checkbox-checked-hover-dark.png | Bin 0 -> 669 bytes .../assets/checkbox-checked-hover-dark@2.png | Bin 0 -> 1238 bytes .../Adwaita/assets/checkbox-checked-hover.png | Bin 0 -> 696 bytes .../Adwaita/assets/checkbox-checked-hover@2.png | Bin 0 -> 1279 bytes .../assets/checkbox-checked-insensitive-dark.png | Bin 0 -> 604 bytes .../assets/checkbox-checked-insensitive-dark@2.png | Bin 0 -> 1084 bytes .../assets/checkbox-checked-insensitive.png | Bin 0 -> 567 bytes .../assets/checkbox-checked-insensitive@2.png | Bin 0 -> 1019 bytes .../theme/Adwaita/assets/checkbox-checked.png | Bin 0 -> 689 bytes .../theme/Adwaita/assets/checkbox-checked@2.png | Bin 0 -> 1343 bytes .../Adwaita/assets/checkbox-mixed-active-dark.png | Bin 0 -> 558 bytes .../assets/checkbox-mixed-active-dark@2.png | Bin 0 -> 956 bytes .../theme/Adwaita/assets/checkbox-mixed-active.png | Bin 0 -> 571 bytes .../Adwaita/assets/checkbox-mixed-active@2.png | Bin 0 -> 1022 bytes .../assets/checkbox-mixed-backdrop-dark.png | Bin 0 -> 456 bytes .../assets/checkbox-mixed-backdrop-dark@2.png | Bin 0 -> 757 bytes .../checkbox-mixed-backdrop-insensitive-dark.png | Bin 0 -> 421 bytes .../checkbox-mixed-backdrop-insensitive-dark@2.png | Bin 0 -> 714 bytes .../assets/checkbox-mixed-backdrop-insensitive.png | Bin 0 -> 414 bytes .../checkbox-mixed-backdrop-insensitive@2.png | Bin 0 -> 710 bytes .../Adwaita/assets/checkbox-mixed-backdrop.png | Bin 0 -> 460 bytes .../Adwaita/assets/checkbox-mixed-backdrop@2.png | Bin 0 -> 786 bytes .../theme/Adwaita/assets/checkbox-mixed-dark.png | Bin 0 -> 556 bytes .../theme/Adwaita/assets/checkbox-mixed-dark@2.png | Bin 0 -> 1007 bytes .../assets/checkbox-mixed-insensitive-dark.png | Bin 0 -> 514 bytes .../assets/checkbox-mixed-insensitive-dark@2.png | Bin 0 -> 885 bytes .../Adwaita/assets/checkbox-mixed-insensitive.png | Bin 0 -> 480 bytes .../assets/checkbox-mixed-insensitive@2.png | Bin 0 -> 800 bytes .../theme/Adwaita/assets/checkbox-mixed.png | Bin 0 -> 563 bytes .../theme/Adwaita/assets/checkbox-mixed@2.png | Bin 0 -> 1010 bytes .../assets/checkbox-unchecked-active-dark.png | Bin 0 -> 434 bytes .../assets/checkbox-unchecked-active-dark@2.png | Bin 0 -> 739 bytes .../Adwaita/assets/checkbox-unchecked-active.png | Bin 0 -> 479 bytes .../Adwaita/assets/checkbox-unchecked-active@2.png | Bin 0 -> 808 bytes .../assets/checkbox-unchecked-backdrop-dark.png | Bin 0 -> 388 bytes .../assets/checkbox-unchecked-backdrop-dark@2.png | Bin 0 -> 630 bytes ...heckbox-unchecked-backdrop-insensitive-dark.png | Bin 0 -> 377 bytes ...ckbox-unchecked-backdrop-insensitive-dark@2.png | Bin 0 -> 619 bytes .../checkbox-unchecked-backdrop-insensitive.png | Bin 0 -> 350 bytes .../checkbox-unchecked-backdrop-insensitive@2.png | Bin 0 -> 601 bytes .../Adwaita/assets/checkbox-unchecked-backdrop.png | Bin 0 -> 384 bytes .../assets/checkbox-unchecked-backdrop@2.png | Bin 0 -> 622 bytes .../Adwaita/assets/checkbox-unchecked-dark.png | Bin 0 -> 441 bytes .../Adwaita/assets/checkbox-unchecked-dark@2.png | Bin 0 -> 789 bytes .../assets/checkbox-unchecked-hover-dark.png | Bin 0 -> 462 bytes .../assets/checkbox-unchecked-hover-dark@2.png | Bin 0 -> 807 bytes .../Adwaita/assets/checkbox-unchecked-hover.png | Bin 0 -> 449 bytes .../Adwaita/assets/checkbox-unchecked-hover@2.png | Bin 0 -> 797 bytes .../assets/checkbox-unchecked-insensitive-dark.png | Bin 0 -> 432 bytes .../checkbox-unchecked-insensitive-dark@2.png | Bin 0 -> 724 bytes .../assets/checkbox-unchecked-insensitive.png | Bin 0 -> 421 bytes .../assets/checkbox-unchecked-insensitive@2.png | Bin 0 -> 673 bytes .../theme/Adwaita/assets/checkbox-unchecked.png | Bin 0 -> 458 bytes .../theme/Adwaita/assets/checkbox-unchecked@2.png | Bin 0 -> 817 bytes .../Adwaita/assets/radio-checked-active-dark.png | Bin 0 -> 706 bytes .../Adwaita/assets/radio-checked-active-dark@2.png | Bin 0 -> 1458 bytes .../theme/Adwaita/assets/radio-checked-active.png | Bin 0 -> 827 bytes .../Adwaita/assets/radio-checked-active@2.png | Bin 0 -> 1677 bytes .../Adwaita/assets/radio-checked-backdrop-dark.png | Bin 0 -> 630 bytes .../assets/radio-checked-backdrop-dark@2.png | Bin 0 -> 1239 bytes .../radio-checked-backdrop-insensitive-dark.png | Bin 0 -> 593 bytes .../radio-checked-backdrop-insensitive-dark@2.png | Bin 0 -> 1190 bytes .../assets/radio-checked-backdrop-insensitive.png | Bin 0 -> 693 bytes .../radio-checked-backdrop-insensitive@2.png | Bin 0 -> 1397 bytes .../Adwaita/assets/radio-checked-backdrop.png | Bin 0 -> 672 bytes .../Adwaita/assets/radio-checked-backdrop@2.png | Bin 0 -> 1376 bytes .../theme/Adwaita/assets/radio-checked-dark.png | Bin 0 -> 741 bytes .../theme/Adwaita/assets/radio-checked-dark@2.png | Bin 0 -> 1579 bytes .../Adwaita/assets/radio-checked-hover-dark.png | Bin 0 -> 780 bytes .../Adwaita/assets/radio-checked-hover-dark@2.png | Bin 0 -> 1666 bytes .../theme/Adwaita/assets/radio-checked-hover.png | Bin 0 -> 813 bytes .../theme/Adwaita/assets/radio-checked-hover@2.png | Bin 0 -> 1713 bytes .../assets/radio-checked-insensitive-dark.png | Bin 0 -> 719 bytes .../assets/radio-checked-insensitive-dark@2.png | Bin 0 -> 1450 bytes .../Adwaita/assets/radio-checked-insensitive.png | Bin 0 -> 733 bytes .../Adwaita/assets/radio-checked-insensitive@2.png | Bin 0 -> 1366 bytes .../theme/Adwaita/assets/radio-checked.png | Bin 0 -> 806 bytes .../theme/Adwaita/assets/radio-checked@2.png | Bin 0 -> 1714 bytes .../Adwaita/assets/radio-mixed-active-dark.png | Bin 0 -> 698 bytes .../Adwaita/assets/radio-mixed-active-dark@2.png | Bin 0 -> 1413 bytes .../theme/Adwaita/assets/radio-mixed-active.png | Bin 0 -> 771 bytes .../theme/Adwaita/assets/radio-mixed-active@2.png | Bin 0 -> 1582 bytes .../Adwaita/assets/radio-mixed-backdrop-dark.png | Bin 0 -> 618 bytes .../Adwaita/assets/radio-mixed-backdrop-dark@2.png | Bin 0 -> 1187 bytes .../radio-mixed-backdrop-insensitive-dark.png | Bin 0 -> 598 bytes .../radio-mixed-backdrop-insensitive-dark@2.png | Bin 0 -> 1175 bytes .../assets/radio-mixed-backdrop-insensitive.png | Bin 0 -> 667 bytes .../assets/radio-mixed-backdrop-insensitive@2.png | Bin 0 -> 1193 bytes .../theme/Adwaita/assets/radio-mixed-backdrop.png | Bin 0 -> 634 bytes .../Adwaita/assets/radio-mixed-backdrop@2.png | Bin 0 -> 1158 bytes .../theme/Adwaita/assets/radio-mixed-dark.png | Bin 0 -> 719 bytes .../theme/Adwaita/assets/radio-mixed-dark@2.png | Bin 0 -> 1513 bytes .../assets/radio-mixed-insensitive-dark.png | Bin 0 -> 687 bytes .../assets/radio-mixed-insensitive-dark@2.png | Bin 0 -> 1345 bytes .../Adwaita/assets/radio-mixed-insensitive.png | Bin 0 -> 689 bytes .../Adwaita/assets/radio-mixed-insensitive@2.png | Bin 0 -> 1293 bytes gtk/resources/theme/Adwaita/assets/radio-mixed.png | Bin 0 -> 798 bytes .../theme/Adwaita/assets/radio-mixed@2.png | Bin 0 -> 1679 bytes .../Adwaita/assets/radio-unchecked-active-dark.png | Bin 0 -> 607 bytes .../assets/radio-unchecked-active-dark@2.png | Bin 0 -> 1239 bytes .../Adwaita/assets/radio-unchecked-active.png | Bin 0 -> 676 bytes .../Adwaita/assets/radio-unchecked-active@2.png | Bin 0 -> 1385 bytes .../assets/radio-unchecked-backdrop-dark.png | Bin 0 -> 561 bytes .../assets/radio-unchecked-backdrop-dark@2.png | Bin 0 -> 1068 bytes .../radio-unchecked-backdrop-insensitive-dark.png | Bin 0 -> 557 bytes ...radio-unchecked-backdrop-insensitive-dark@2.png | Bin 0 -> 1077 bytes .../radio-unchecked-backdrop-insensitive.png | Bin 0 -> 566 bytes .../radio-unchecked-backdrop-insensitive@2.png | Bin 0 -> 1185 bytes .../Adwaita/assets/radio-unchecked-backdrop.png | Bin 0 -> 558 bytes .../Adwaita/assets/radio-unchecked-backdrop@2.png | Bin 0 -> 1112 bytes .../theme/Adwaita/assets/radio-unchecked-dark.png | Bin 0 -> 636 bytes .../Adwaita/assets/radio-unchecked-dark@2.png | Bin 0 -> 1351 bytes .../Adwaita/assets/radio-unchecked-hover-dark.png | Bin 0 -> 671 bytes .../assets/radio-unchecked-hover-dark@2.png | Bin 0 -> 1462 bytes .../theme/Adwaita/assets/radio-unchecked-hover.png | Bin 0 -> 683 bytes .../Adwaita/assets/radio-unchecked-hover@2.png | Bin 0 -> 1434 bytes .../assets/radio-unchecked-insensitive-dark.png | Bin 0 -> 620 bytes .../assets/radio-unchecked-insensitive-dark@2.png | Bin 0 -> 1234 bytes .../Adwaita/assets/radio-unchecked-insensitive.png | Bin 0 -> 631 bytes .../assets/radio-unchecked-insensitive@2.png | Bin 0 -> 1166 bytes .../theme/Adwaita/assets/radio-unchecked.png | Bin 0 -> 698 bytes .../theme/Adwaita/assets/radio-unchecked@2.png | Bin 0 -> 1511 bytes gtk/resources/theme/Adwaita/borders.txt | 34 + gtk/resources/theme/Adwaita/gtk-dark.css | 2086 +++++ gtk/resources/theme/Adwaita/gtk-dark.scss | 5 + gtk/resources/theme/Adwaita/gtk.css | 2078 +++++ gtk/resources/theme/Adwaita/gtk.scss | 11 + gtk/resources/theme/Adwaita/parse-sass.sh | 3 + gtk/resources/theme/Adwaita/render-assets.sh | 34 + gtk/resources/theme/Adwaita/render-borders.sh | 34 + 150 files changed, 15517 insertions(+), 1 deletion(-) commit 4c95dbb05b754e14d26b561dce414e8461c999d2 Author: Matthias Clasen Date: Fri Jun 13 10:30:36 2014 -0400 Don't include the win32 theme on Linux No need to carry around these resources when we are not going to use them. gtk/Makefile.am | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit f1cf10fe8623c17ea941eb82f0e5dbeb50f7792d Author: Matthias Clasen Date: Fri Jun 13 10:24:30 2014 -0400 Generate gtk.gresource.xml This will help when including Adwaita. It will also let us drop the win32 theme on Linux, hopefully. gtk/Makefile.am | 23 +++++++++++++++++++++++ gtk/gtk.gresource.xml | 41 ----------------------------------------- 2 files changed, 23 insertions(+), 41 deletions(-) commit 6fc65d5b0fd61f6a5e371a501c63eeb0a4997f14 Author: Matthias Clasen Date: Fri Jun 13 09:28:27 2014 -0400 Rename cursor pngs to their resource name This allows us to get rid of some aliases in the .gresource.xml. gtk/gtk.gresource.xml | 10 +++++----- gtk/resources/cursor/{cursor_dnd_ask.png => dnd-ask.png} | Bin gtk/resources/cursor/{cursor_dnd_copy.png => dnd-copy.png} | Bin gtk/resources/cursor/{cursor_dnd_link.png => dnd-link.png} | Bin gtk/resources/cursor/{cursor_dnd_move.png => dnd-move.png} | Bin gtk/resources/cursor/{cursor_dnd_none.png => dnd-none.png} | Bin 6 files changed, 5 insertions(+), 5 deletions(-) commit 6de3741f18cd513fc3d6b453fa4852c81f40dbcd Author: Matthias Clasen Date: Fri Jun 13 08:40:56 2014 -0400 Move theme resources into subdirectories Preparing for Adwaita to come in here. gtk/gtk.gresource.xml | 10 +++++----- gtk/resources/theme/{ => Raleigh}/gtk-default.css | 0 gtk/resources/theme/{ => win32}/gtk-win32-base.css | 0 gtk/resources/theme/{ => win32}/gtk-win32-classic.css | 0 gtk/resources/theme/{ => win32}/gtk-win32-xp.css | 0 gtk/resources/theme/{ => win32}/gtk-win32.css | 0 6 files changed, 5 insertions(+), 5 deletions(-) commit 2e5cda99f87fa2133b5ddc4d545eb2acea727437 Author: Matthias Clasen Date: Thu Jun 12 22:29:31 2014 -0400 inspector: Allow Escape to cancel picking gtk/inspector/inspect-button.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 404149b2bf5488eef2b97be84acab77cd85bdea8 Author: Matthias Clasen Date: Thu Jun 12 22:00:14 2014 -0400 inspector: Use a better icon for the picker Recommended by Allan Day. gtk/inspector/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1270a19c354f5b22565349b8193f23dead84b1d Author: Matthias Clasen Date: Thu Jun 12 18:46:50 2014 -0400 Trivial formatting fix gtk/gtkfilechooserbutton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 6d8842ca9611862a9730ce3370ccba36946bbe04 Author: Carlos Garnacho Date: Fri Jun 13 01:08:16 2014 +0200 gesturesingle: Implement GtkGesture::cancel better than GtkEventController:reset The former can be called individually on each sequence, and the latter will always call the former on all currently active sequences, so only implementing resetting on cancel() works for both cases. Also, chain up on subclasses implementing cancel. This fixes clicking on nautilus' file list after popping up a menu, as broken grabs are one of those situations where sequences get cancelled individually, the "current button" wasn't properly reset, and further clicks with button != 3 were ignored. gtk/gtkgesturelongpress.c | 10 +++++++++- gtk/gtkgesturemultipress.c | 1 + gtk/gtkgesturesingle.c | 13 ++++++++----- 3 files changed, 18 insertions(+), 6 deletions(-) commit 05810f80a4d482ccb3078b5f52eadd0f427fd088 Author: Carlos Garnacho Date: Thu Jun 12 23:18:54 2014 +0200 textview: Unobscure the mouse cursor on motion events This used to be done before the gestures port, and was removed accidentally, so keep the motion_notify_event handler just for this, and fallback to having those events handled by gestures too. gtk/gtktextview.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit daa8b48a331ba7b9a27bbb9b6aab3f75e28c3d04 Author: Dieter Verfaillie Date: Wed Jun 11 22:16:36 2014 +0200 Fix gtk_selection_data_get_data annotations The annotations were intended for the return value, not the instance argument. https://bugzilla.gnome.org/show_bug.cgi?id=731299 gtk/gtkselection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0c5b5fc053ef554e43d6504ed0223f4caba5f59a Author: Dieter Verfaillie Date: Sun Jun 8 23:39:50 2014 +0200 docs: remove mention of old GtkList and GtkCList Reported by andlabs in irc://irc.gnome.org/gtk+ https://bugzilla.gnome.org/show_bug.cgi?id=731382 gtk/gtkscrolledwindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e3af863bcbd97e1d569910e0b3a29e852f384389 Author: Daniel Mustieles Date: Thu Jun 12 17:53:57 2014 +0200 Updated Spanish translation po-properties/es.po | 2998 ++++++++++++++++++++++++++------------------------- 1 file changed, 1529 insertions(+), 1469 deletions(-) commit 9bc07a263474cd2092ec54c00b8a5d93244cf0a0 Author: Matthias Clasen Date: Thu Jun 12 09:14:03 2014 -0400 Add a message-dialog style class This helps in separating message dialogs from other dialogs, theming-wise. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstylecontext.h | 9 +++++++++ gtk/resources/ui/gtkmessagedialog.ui | 3 +++ 3 files changed, 13 insertions(+) commit e97cf2fd0b090503c64aeeecd6ff14d76ecc02b1 Author: Matthias Clasen Date: Thu Jun 12 09:09:30 2014 -0400 Add GTK_STYLE_CLASS_POPUP to the docs docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkmenu.c | 3 ++- gtk/gtkstylecontext.h | 9 +++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) commit 3b636cbeb99f23214aec8e26c194d2998ebb9da2 Author: Carlos Garnacho Date: Thu Jun 12 15:17:47 2014 +0200 scrolledwindow: Deny scrolling sequences if pressed on the scrollbars Scrollbars might be a bit too narrow for touch (and generally less useful besides kinetic scrolling), but those should be functional nevertheless. gtk/gtkscrolledwindow.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 3ef1b387bcee52a2d85be1a9ef2cbc6a3a813293 Author: Carlos Garnacho Date: Thu Jun 12 14:15:26 2014 +0200 window: Only claim a button=1 press sequence when dragging is about to happen This way plain clicks can be handled in gtkmain through the usual delivery mechanism, and get possibly handled too by widgets holding a GTK+ grab. If window dragging is to be started, the sequence will be claimed (and a grab will happen afterwards), notifying properly the grabbing widget that event delivery was interrupted. This makes it possible to dismiss popovers by clicking on window headerbars, while still making it possible to drag the window with the popover opened. gtk/gtkwindow.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 5b118a9fd768f752f3e770d7734596e239de942d Author: Sjoerd Simons Date: Sun Jun 8 17:21:14 2014 +0200 wayland: Ensure the touch sequence pointer value is non-null Weston numbers its touch sequences ids starting from 0, thus simply setting the GtkEvents touch.sequence to the touch id value typically causes gdk_event_get_event_sequence to return NULL. Unfortunately this confuses other parts of GDK. As both weston & mutter keep the sequence id between 0..max_dev_touches -1 simply use + 1 to keep the id > 0. While this isn't entirely correct (compositor could send -1 as the touch id), this keeps the touch id in gtk tied to the touch id from weston which is useful for debugging. A more thorough solution could be done when it turns out this is an issue in practise https://bugzilla.gnome.org/show_bug.cgi?id=731371 gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 45a64cd7d47fcc5a54f3f83c73eb1d88b9351160 Author: Benjamin Otte Date: Thu Jun 12 12:28:07 2014 +0200 testsuite: Add a test for symbolic icons in specific sizes Check that loading symbolics works, even if the symbolic is only available in a fixed size. testsuite/gtk/Makefile.am | 1 + testsuite/gtk/icons/32x32/only32-symbolic.svg | 4 ++++ testsuite/gtk/icons/index.theme | 7 ++++++- testsuite/gtk/icontheme.c | 20 ++++++++++++++++++++ 4 files changed, 31 insertions(+), 1 deletion(-) commit 5ef4d71b150a673866b0174fe8fa26f508bbf314 Author: Matthias Clasen Date: Thu Jun 12 05:53:31 2014 -0400 widget-factory: Add some tooltips demos/widget-factory/widget-factory.ui | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 072e215ff34a8085d98487f06b3070002ab0c6b7 Author: Dieter Verfaillie Date: Thu Sep 19 11:03:52 2013 +0200 docs: fix link to language bindings page Reported on irc://irc.gnome.org/gtk+ by Rena. https://bugzilla.gnome.org/show_bug.cgi?id=731377 docs/reference/gtk/question_index.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5334fb8921b21813fe33c7124f75659ff705243b Author: Matthias Clasen Date: Wed Jun 11 21:55:15 2014 -0400 Drop GDK_MULTIHEAD_SAFE We don't support multiple screens anymore, so there is no need for marking API as multihead safe any longer. docs/reference/gtk/compiling.sgml | 7 ------- docs/reference/gtk/running.sgml | 8 -------- gdk/gdkcursor.h | 2 -- gdk/gdkevents.c | 6 +----- gdk/gdkevents.h | 4 ---- gdk/gdkkeys.h | 2 -- gdk/gdkmain.h | 4 ---- gdk/gdkpango.h | 2 -- gdk/gdkselection.h | 3 --- gdk/gdkvisual.h | 2 -- gdk/gdkwindow.c | 10 +--------- gdk/x11/gdkproperty-x11.c | 7 ------- gdk/x11/gdkx11property.h | 2 -- gdk/x11/gdkx11screen.h | 2 -- gdk/x11/gdkx11utils.h | 6 ------ gtk/gtkclipboard.h | 2 -- gtk/gtkplug.h | 2 -- gtk/gtksettings.h | 2 -- 18 files changed, 2 insertions(+), 71 deletions(-) commit 41fd2ae8985339323873990597eef296afa5a3da Author: Matthias Clasen Date: Wed Jun 11 19:38:22 2014 -0400 Deprecate outside-border style properties These should just be replaced by CSS margins, etc. gtk/gtkbutton.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 48db936b7079d92237ccf33d89e753711a3a5b32 Author: Matthias Clasen Date: Wed Jun 11 19:06:36 2014 -0400 GtkButton: Don't use a non-zero border by default The non-zero default default-border was causing buttons to shrink as the focus moves around them. Themes which want a default-border should define it explicitly. gtk/gtkbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3e65655424544a4a650ca4d65d5610b60f2ee56e Author: Carlos Garnacho Date: Wed Jun 11 23:18:34 2014 +0200 treeview: Check that :row-activated is only emitted on GDK_BUTTON_PRIMARY It turned out not all code was fully prepared to handle multiple buttons, this avoids respawning https://bugzilla.gnome.org/show_bug.cgi?id=731020. gtk/gtktreeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f321d3a50a5c0f9eb6d0f415572086c74b4f8642 Author: Carlos Garnacho Date: Wed Jun 11 23:01:31 2014 +0200 treeview: Make row area multipress gesture react to all buttons The code is actually prepared for that, the gesture was initially limited to only handling GDK_BUTTON_PRIMARY because it only used to handle row activation. gtk/gtktreeview.c | 2 -- 1 file changed, 2 deletions(-) commit e11471709730247b2cbd5a51d58b93deafbc458a Author: Carlos Garnacho Date: Wed Jun 11 16:39:19 2014 +0200 treeview: Remove unused variables from priv struct These variables were last used before moving row activation to being managed by a gesture. gtk/gtktreeview.c | 9 --------- 1 file changed, 9 deletions(-) commit 89f38b5fc6dd42a4727ced032438e2f6577b68a1 Author: Carlos Garnacho Date: Wed Jun 11 16:29:52 2014 +0200 treeview: Move all button press/release management to the multipress gesture The multipress gesture on the bin window now also does all the business related to row selection. As row selection and activation can't be easily decoupled, this fixes certain problems around ::row-activated being emitted on NULL paths. Fixes https://bugzilla.gnome.org/show_bug.cgi?id=731455 and https://bugzilla.gnome.org/show_bug.cgi?id=731018 gtk/gtktreeview.c | 654 ++++++++++++++++++++++++++---------------------------- 1 file changed, 312 insertions(+), 342 deletions(-) commit 3f084e3ab546d896a2711af8b942d4b8a89ac58e Author: Carlos Garnacho Date: Wed Jun 11 16:16:16 2014 +0200 treeview: Use drag gesture for rubberband selection/DnD This gesture acts only on events from the bin window, and checks that either the pressed row is draggable, or the conditions for rubberband selection apply. gtk/gtktreeview.c | 390 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 222 insertions(+), 168 deletions(-) commit 50491f15ae636ff143c21af72450cb4bdf6dfdcd Author: Carlos Garnacho Date: Wed Jun 11 15:52:28 2014 +0200 treeview: Use gestures for column dragging/resizing A multipress gesture takes care of autosizing on double click, and a drag gesture is used for both column dragging/resizing (only one can happen at a time). gtk/gtktreeview.c | 455 +++++++++++++++++++++++++++--------------------------- 1 file changed, 231 insertions(+), 224 deletions(-) commit b8886436b32fd2bc55dd46067770dc0c43f3b437 Author: Carlos Garnacho Date: Wed Jun 11 14:37:18 2014 +0200 treeviewcolumn: Avoid a device position query This happens in an event handler, and the button event should be expected to have the right coordinates on the event window already. gtk/gtktreeviewcolumn.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 20a59985fe365a703fdf270e15608b5debda20e2 Author: Carlos Garnacho Date: Wed Jun 11 17:34:23 2014 +0200 gesturesingle: Ensure the current button stays set until after the touch/button release This makes gtk_gesture_get_current_button() work properly on GtkGesture::end, and signals spawn from there on subclasses. gtk/gtkgesturesingle.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit e7b3d8b41412ce4a6eaa4ace48f9f6f591042332 Author: Matthias Clasen Date: Wed Jun 11 09:33:30 2014 -0400 GtkPaned: Make sure the raise the handle window above children We need to show child windows and handle in the right order, otherwise the input-only handle window ends up under the children where it is useless. gtk/gtkpaned.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 77cb6d8b4ad32afefef84156c86e061e7ecaa9f5 Author: Matthias Clasen Date: Wed Jun 11 00:01:50 2014 -0400 GtkTooltip: Ignore shadow when finding widgets When placing tooltips, the csd shadow will get 'pushed up' and may end up underneath the pointer. We don't want this to cause the tooltip to be hidden, because that leads to flickering, so ignore the shadow when finding the widget under the pointer. gtk/gtktooltip.c | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) commit 2d05bf1492c6448df98ecf04c913a33df665ca34 Author: Matthias Clasen Date: Tue Jun 10 23:58:27 2014 -0400 csd: Fix non-resizable windows For csd override-redirect windows, we don't set up resize handles, but we were not ignoring the margin in all places, causing some size calculations to go wrong. gtk/gtkwindow.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit a4b0d35649d249427f7deb801dd49f3fdc0ff83f Author: Matthias Clasen Date: Tue Jun 10 23:51:48 2014 -0400 Don't mention no longer existing widgets in the docs GtkText, GtkList and GtkCList don't exist anymore. gtk/deprecated/gtkrc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 200bdf1aec00d16a15bdda5ae8dbdee66e0c0dd6 Author: Benjamin Otte Date: Wed Jun 11 01:16:48 2014 +0200 stylecontext: Get rid of StyleData struct It's now just a GtkCssComputedValues + refcount. And GtkCssComputedValues has its own refcount, so use that one instead. gtk/gtkstylecontext.c | 218 ++++++++++++++++++++------------------------------ 1 file changed, 86 insertions(+), 132 deletions(-) commit 57c4f01e0d847393de702ee63d82f28a46ae8863 Author: Benjamin Otte Date: Wed Jun 11 00:30:30 2014 +0200 stylecontext: Move property cache ... from per style data to only existing once per style context. This is technically an API break because it no longer allows getting different style properties between save()/restore() pairs, but I don't think this was ever intended to work that way, as the style property API was to be used and is used via gtk_widget_get_style(). And it simplifies code a lot. gtk/gtkstylecontext.c | 51 ++++++++++++++++++++++++--------------------------- 1 file changed, 24 insertions(+), 27 deletions(-) commit 6f2eb1d62706e419518219726245065e8873ecd0 Author: Benjamin Otte Date: Wed Jun 11 00:30:02 2014 +0200 docs: Remove unused variable docs/tools/widgets.c | 1 - 1 file changed, 1 deletion(-) commit 6affe29c9aaeb4ebf9e2b1ace2e13fc8bb170e5d Author: Benjamin Otte Date: Wed Jun 11 00:29:00 2014 +0200 testsuite: Add missing errors file The file was forgotten in 98954bd1d1e27e2e8b5181af1752a9e8e107c74c and caused test failure. Oops. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/text-shadow-invalid-but-worked-in-3.12.errors | 2 ++ 2 files changed, 3 insertions(+) commit 4a6957f50df96d9493c4a3058c5631a8894eea66 Author: Benjamin Otte Date: Tue Jun 10 20:18:37 2014 +0200 stylecontext: Remove state from _peek_style_property() It evaluates to "current state" in all cases, so no need to special case it. gtk/deprecated/gtkstyle.c | 4 ++-- gtk/gtkstylecontext.c | 21 ++++----------------- gtk/gtkstylecontextprivate.h | 1 - gtk/gtkwidget.c | 8 ++------ 4 files changed, 8 insertions(+), 26 deletions(-) commit e51e8a28dd2b62f4c7e6327313500ece928db591 Author: Matthias Clasen Date: Tue Jun 10 18:47:49 2014 -0400 gtk3-demo: Use monospace font for source code demos/gtk-demo/main.c | 6 ++++++ 1 file changed, 6 insertions(+) commit b95a6c7c6241b341272286375d19241f1b05d1bf Author: Robert Ancell Date: Mon Jun 9 14:17:39 2014 +1200 GdkDisplay: Remove unused GdkKeyboardGrabInfo struct I can't find anything that uses this struct and it seems to be replaced by GdkDeviceGrabInfo gdk/gdkdisplayprivate.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) commit d1dd33d8857a8b2599fb3926000c9ba894568407 Author: Benjamin Otte Date: Tue Jun 10 15:57:57 2014 +0200 css: Fix uninitializaed variable gtk/gtkcssshadowvalue.c | 2 ++ 1 file changed, 2 insertions(+) commit b0c6263f6c8b4f79b80be56fc8bc8c41d375c267 Author: Matthias Clasen Date: Tue Jun 10 08:53:31 2014 -0400 inspector: Add combobox popups to the tree gtk/inspector/widget-tree.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit ec9cf6d7c3626ce78e2dfe0fac77549308be68c2 Author: Matthias Clasen Date: Tue Jun 10 08:47:27 2014 -0400 GtkComboBox: Add private api to get the popup This will be used to make the popup appear in the inspector. gtk/Makefile.am | 1 + gtk/gtkcombobox.c | 10 ++++++++++ gtk/gtkcomboboxprivate.h | 29 +++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) commit 634972e063194d532a654fdca9e730242b82f712 Author: Matthias Clasen Date: Tue Jun 10 08:32:44 2014 -0400 inspector: Add submenus to the tree gtk/inspector/widget-tree.c | 64 ++++++++++++++++++++++++++------------------- 1 file changed, 37 insertions(+), 27 deletions(-) commit c906aa7e08afce9021ba54adf4c20b174ec8c7e3 Author: Benjamin Otte Date: Tue Jun 10 13:45:15 2014 +0200 menuitem: Use .arrow style class for submenu indicators As requested by the Adwaita guys. gtk/gtkmenuitem.c | 5 +++++ 1 file changed, 5 insertions(+) commit b21c86f49adbacc47635ad3f0bdf21980bd285d6 Author: Benjamin Otte Date: Tue Jun 10 13:45:06 2014 +0200 treeview: Remove unused variable gtk/gtktreeview.c | 2 -- 1 file changed, 2 deletions(-) commit cdd341ed7d704a56774081a2c6799915d0b6dbdb Author: Benjamin Otte Date: Tue Jun 10 13:44:25 2014 +0200 viewport: Remove unused variable gtk/gtkviewport.c | 1 - 1 file changed, 1 deletion(-) commit 8ea013290b7824c191753fe37c894cdf38ee56d7 Author: Benjamin Otte Date: Tue Jun 10 13:43:35 2014 +0200 cellrenderertoggle: Remove copy/paste leftovers Introduced in 2d88a3ae300d6e1c8faa7391bbab9746f2131092 gtk/gtkcellrenderertoggle.c | 14 -------------- 1 file changed, 14 deletions(-) commit b355493d120289c4e4e002b0f88f6d385ee379bb Author: Matthias Clasen Date: Mon Jun 9 21:27:26 2014 -0400 docs: Add GtkActionBar to the type list Without this, we don't get object hierarchy, among other things. docs/reference/gtk/gtk3.types.in | 1 + 1 file changed, 1 insertion(+) commit 5b5cf89a633db1cd80683712bf27cc7ee5ca3581 Author: Matthias Clasen Date: Mon Jun 9 21:09:40 2014 -0400 Add GtkActionBar and GtkSearchBar to visual index These were missing. docs/reference/gtk/Makefile.am | 2 + docs/reference/gtk/images/action-bar.png | Bin 0 -> 1905 bytes docs/reference/gtk/images/search-bar.png | Bin 0 -> 3699 bytes docs/reference/gtk/visual_index.xml | 6 +++ docs/tools/widgets.c | 70 +++++++++++++++++++++++++++++++ 5 files changed, 78 insertions(+) commit 4b793dd50885f18791664eb53e4469c6c91193da Author: Benjamin Otte Date: Tue Jun 10 01:17:00 2014 +0200 a11y: Remove an outdated comment gtk/a11y/gtkentryaccessible.c | 5 ----- 1 file changed, 5 deletions(-) commit 98954bd1d1e27e2e8b5181af1752a9e8e107c74c Author: Benjamin Otte Date: Tue Jun 10 01:06:57 2014 +0200 testsuite: Add a test for recent fix testsuite/css/parser/Makefile.am | 2 ++ testsuite/css/parser/text-shadow-invalid-but-worked-in-3.12.css | 7 +++++++ .../css/parser/text-shadow-invalid-but-worked-in-3.12.ref.css | 0 3 files changed, 9 insertions(+) commit 3759190c2674aebd6b40ff5f337b155073ed5b78 Author: Benjamin Otte Date: Tue Jun 10 01:04:55 2014 +0200 css: Parse text-shadow values properly We used to accept the same syntax for text-shadow and icon-shadow as we accept for box-shadow. However, box-shadow does accept a spread and the inset keyword while the others should not. gtk/gtkcssshadowsvalue.c | 5 +++-- gtk/gtkcssshadowsvalueprivate.h | 3 ++- gtk/gtkcssshadowvalue.c | 10 ++++++---- gtk/gtkcssshadowvalueprivate.h | 3 ++- gtk/gtkcssstylepropertyimpl.c | 11 +++++++++-- 5 files changed, 22 insertions(+), 10 deletions(-) commit fc00381d306400977c7c83e564a7eb552cc8250d Author: Joanmarie Diggs Date: Mon Jun 9 18:31:19 2014 -0400 GtkEntryAccessible: Emit signal after insertion The signal needs to be emitted after the text insertion as at-spi gets the text to compute the inserted text due to the AtkText::insert-text signal not containing it. Also adjust position to reflect changes to the offsets. https://bugzilla.gnome.org/show_bug.cgi?id=731429 gtk/a11y/gtkentryaccessible.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit fbc6a0c400462e00675388a227a24f21444e27eb Author: Matthias Clasen Date: Fri Jun 6 18:00:57 2014 -0400 Add some theming for csd popups Not attempt to make this look good, just to demonstrate that themes can in fact do it. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/resources/theme/gtk-default.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit a39985a43e260cefc539747e6a366b1043e08bac Author: Matthias Clasen Date: Fri Jun 6 21:33:36 2014 -0400 Request csd for tooltips Use the new private GtkWindow api to request client-side decorations for tooltips. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/gtktooltip.c | 1 + 1 file changed, 1 insertion(+) commit 179d6a4c7b09721cdb885c7a0b8518504da1c9f8 Author: Matthias Clasen Date: Fri Jun 6 17:15:18 2014 -0400 GtkTooltip: take csd shadows into account for placement When placing tooltips, we don't want the shadow to influence our choice. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/gtktooltip.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 49bb39ecf523b7bdaa7af441e54d9f6078cca3bc Author: Matthias Clasen Date: Fri Jun 6 17:05:21 2014 -0400 GtkTooltip: remove hardcoded tooltip drawing This is old code from dating back many years. Nowadays, we can just use css drawing and csd windows to achieve much the same effect. Themes will need some adjustment for this change. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/gtktooltip.c | 105 ------------------------------------------------------- 1 file changed, 105 deletions(-) commit dae252e3d21c60e07076d2ab3ef81f9f99e19fe0 Author: Matthias Clasen Date: Fri Jun 6 21:30:55 2014 -0400 Request csd for menus Use the new private GtkWindow api to request client-side decorations for menus. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/gtkmenu.c | 1 + 1 file changed, 1 insertion(+) commit 3cf916be8af009b54e661c70c0d26c9c09c920dd Author: Matthias Clasen Date: Fri Jun 6 19:06:15 2014 -0400 GtkMenu: Add a separate style class to the toplevel of menus This is necessary in order to use .window-frame.csd.popup for styling csd menus. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/gtkmenu.c | 2 ++ 1 file changed, 2 insertions(+) commit e9ed210b0be283676f54bcb232aebc66b9741825 Author: Matthias Clasen Date: Fri Jun 6 18:00:36 2014 -0400 GtkMenu: take csd shadows into account for placement When placing menus, we don't want the shadow to influence our choice. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/gtkmenu.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit bde4e863579f05368661347bfaf55e0480e4555c Author: Matthias Clasen Date: Fri Jun 6 17:59:38 2014 -0400 Allow csd for override-redirect windows This commit makes it possible to use client-side decorations for override-redirect windows by calling _gtk_window_request_csd() before realizing the window. Since the wm won't do interactive resizing for us in this case anyway, don't bother creating the border windows we use for this purpose on regular toplevels. To make this accessible to themes, we set a "csd" style class on client-side decorated windows. With this, .window-frame.csd.menu can be used to define the shadow for csd menus, and .menu can be used to define a border for menus under non-composited wms. https://bugzilla.gnome.org/show_bug.cgi?id=731187 gtk/gtkwindow.c | 19 ++++++++++++++++++- gtk/gtkwindowprivate.h | 2 ++ 2 files changed, 20 insertions(+), 1 deletion(-) commit 60cd7076cf885cbc421babfba44c9081ded3ad78 Author: Matthias Clasen Date: Fri Jun 6 17:53:50 2014 -0400 Add a csd style class This will be used for client-side decorated windows. https://bugzilla.gnome.org/show_bug.cgi?id=731187 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkstylecontext.h | 10 ++++++++++ 2 files changed, 11 insertions(+) commit b22b2298be235722bc68190ba3234a813540cb84 Author: Matthias Clasen Date: Mon Jun 9 13:51:58 2014 -0400 GtkViewport: Don't do silly things in a setter Just queue a resize instead of fiddling with the size allocation. gtk/gtkviewport.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit ee8a3a4192d64dfb8751d75296bcf0f9a25fef3c Author: Matthias Clasen Date: Mon Jun 9 13:42:07 2014 -0400 Mark GtkStyleContext::direction as deprecated The setter was deprecated a while ago, do the same for the property. gtk/gtkstylecontext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ac2329b842303819fe5e674b07276f3feeaa6399 Author: Matthias Clasen Date: Mon Jun 9 13:39:38 2014 -0400 Mark GtkContainer::resize-mode as deprecated The setter was deprecated a while ago, do the same for the property. gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f870a50f1fc6e62836ee4b1138da4fb7db1b352c Author: Matthias Clasen Date: Mon Jun 9 12:47:45 2014 -0400 Add a test for property notification This tests just a few basic things for now. Mainly, that we don't emit redundant notifications for enum, flags, int and boolean properties. It also checks that we do emit the expected notifications when the value actually changes. This is checked for string, double and float properties as well. There is a large number of exceptions in the test, and a lot more checks that could be done. One class of exceptions is all the places where we have -set booleans to go along with another property. We should have a dedicated test for these pairs. Another class of exceptions is where naked objects created by g_object_new () just don't have the full functionality - e.g. a tree selection without a tree view does not work very well. We set up the instance object better for these situations. testsuite/gtk/Makefile.am | 1 + testsuite/gtk/notify.c | 671 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 672 insertions(+) commit 46803aae111f63589c65ac867c1b6b82b4c4934c Author: Matthias Clasen Date: Mon Jun 9 11:51:12 2014 -0400 GtkVolumeButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkvolumebutton.c | 46 +++++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 17 deletions(-) commit bcd804613f2c8e59db97579630463b7051a3189c Author: Matthias Clasen Date: Mon Jun 9 11:50:55 2014 -0400 GtkViewport: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkviewport.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit 785e4d376e5c1a7641f3e24a597f42fbbbf5336d Author: Matthias Clasen Date: Mon Jun 9 11:50:22 2014 -0400 GtkTreeViewColumn: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktreeviewcolumn.c | 75 ++++++++++++++++++++++--------------------------- 1 file changed, 34 insertions(+), 41 deletions(-) commit fe31f87bf0fd88be90e68b563efe4fd0e8de676a Author: Matthias Clasen Date: Mon Jun 9 11:50:05 2014 -0400 GtkTreeView: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktreeview.c | 395 +++++++++++++++++++++++++++++------------------------- 1 file changed, 210 insertions(+), 185 deletions(-) commit d169f409b0c4b88ea21ec893155d8fb416521cb9 Author: Matthias Clasen Date: Mon Jun 9 11:49:45 2014 -0400 GtkTreeSelection: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktreeselection.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 71ac4d626ea3cca9fa455a5a54d3409978463465 Author: Matthias Clasen Date: Mon Jun 9 11:49:22 2014 -0400 GtkToolPalette: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktoolpalette.c | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit cf6274c979b35ac899d7f7090a7d97ebdfbd95ef Author: Matthias Clasen Date: Mon Jun 9 11:49:01 2014 -0400 GtkToolItemGroup: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktoolitemgroup.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 40c3804ecd177ea782fdbc30a27005b286c6b978 Author: Matthias Clasen Date: Mon Jun 9 11:48:40 2014 -0400 GtkToolbar: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktoolbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6e64bc13de8ef859bc06b5f1109a71b0085bdfc3 Author: Matthias Clasen Date: Mon Jun 9 11:48:24 2014 -0400 GtkTextView: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktextview.c | 147 ++++++++++++++++++++++++++++-------------------------- 1 file changed, 75 insertions(+), 72 deletions(-) commit eed1ae682b90bad4e7f9bd51ced638aa2a8ba7d0 Author: Matthias Clasen Date: Mon Jun 9 11:48:09 2014 -0400 GtkSwitch: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkswitch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 17059f9c17d69c0d1e69c976162302e9908f9076 Author: Matthias Clasen Date: Mon Jun 9 09:44:22 2014 -0400 GtkToolItem: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktoolitem.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3074fcf31d1966e3351c06d14f6b7cd25531e9fa Author: Matthias Clasen Date: Mon Jun 9 09:44:09 2014 -0400 GtkToolButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktoolbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit db8101c99810df820fc5b665f698c5b4829b131a Author: Matthias Clasen Date: Mon Jun 9 09:43:49 2014 -0400 GtkToggleToolButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktoggletoolbutton.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit b73e8106137564ed95cc5f8aa96d72f01722e8ee Author: Matthias Clasen Date: Mon Jun 9 09:42:05 2014 -0400 GtkStyleContext: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkstylecontext.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1208539eff65a381bd064d5f38a3bf1e57b83754 Author: Matthias Clasen Date: Mon Jun 9 09:41:48 2014 -0400 GtkStatusIcon: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkstatusicon.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 9321b30b0b9786a5801210aca3cc45d2ac5c8a4a Author: Matthias Clasen Date: Mon Jun 9 09:41:26 2014 -0400 GtkSpinner: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkspinner.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit d03752cdcc835241053fad416f41073783d027ac Author: Matthias Clasen Date: Mon Jun 9 09:41:09 2014 -0400 GtkSpinButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkspinbutton.c | 28 +++++++++++----------------- 1 file changed, 11 insertions(+), 17 deletions(-) commit 83669856b28b5ea56a3af2ca21f962eafb73c345 Author: Matthias Clasen Date: Mon Jun 9 09:40:55 2014 -0400 GtkSizeGroup: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtksizegroup.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) commit 4867e9529148f2ebe30b66ee57c69fe6d3274607 Author: Matthias Clasen Date: Mon Jun 9 09:40:06 2014 -0400 GtkSeparatorToolItem: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkseparatortoolitem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 710a5b3a90fd093036f4b99c1e80fa59af2c797a Author: Matthias Clasen Date: Mon Jun 9 09:39:53 2014 -0400 GtkSearchBar: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtksearchbar.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 115faae37187d13a9e022aad47f692ee87a4de59 Author: Matthias Clasen Date: Mon Jun 9 09:36:47 2014 -0400 GtkSearchBar: Handle lack of an entry We were not dealing with the possibility of priv->entry being NULL in all places. gtk/gtksearchbar.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 0dd1102cc4c6c2c42a709a6e6d262933ad3eb6d6 Author: Matthias Clasen Date: Mon Jun 9 09:28:39 2014 -0400 GtkSeparator: Explicitly notify orientation gtk/gtkseparator.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit ed6f9c1ee907369040aac615279383a327d2fa6b Author: Matthias Clasen Date: Mon Jun 9 09:27:07 2014 -0400 GtkScrolledWindow: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkscrolledwindow.c | 56 ++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 26 deletions(-) commit 570194640e637a7786047d4909016897209f94ba Author: Matthias Clasen Date: Mon Jun 9 09:25:19 2014 -0400 GtkScrollable: Use G_PARAM_EXPLICIT_NOTIFY Implementors will have to be adjusted. gtk/gtkscrollable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0505a189d3c409de5c8d5141a2ef46ac29bd7ea6 Author: Matthias Clasen Date: Mon Jun 9 09:22:05 2014 -0400 GtkScaleButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkscalebutton.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) commit 17406635841e51bd813231bef79ff796aea7a8c2 Author: Matthias Clasen Date: Mon Jun 9 09:21:50 2014 -0400 GtkScale: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkscale.c | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) commit f80ff857457a0be7470b545a60a9549acfadb7e8 Author: Matthias Clasen Date: Mon Jun 9 09:21:28 2014 -0400 GtkRecentChooserMenu: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkrecentchoosermenu.c | 59 +++++++++++++++++++++++++++++----------------- 1 file changed, 37 insertions(+), 22 deletions(-) commit e6f413c6a7241be9931e494153f07111ac622dff Author: Matthias Clasen Date: Mon Jun 9 09:21:11 2014 -0400 GtkRange: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkrange.c | 46 +++++++++++++++++++++++++--------------------- 1 file changed, 25 insertions(+), 21 deletions(-) commit f446ffdd5d4875aa59b5a337da3021b13c5ec947 Author: Matthias Clasen Date: Mon Jun 9 09:20:55 2014 -0400 GtkProgressbar: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkprogressbar.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit e1d1ed863eecfedec11cef864c7e9b58ae24ce3e Author: Matthias Clasen Date: Mon Jun 9 09:19:41 2014 -0400 GtkPrintOperation: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkprintoperation.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit 8915e9cf42ea88c522ba2d17918b22986cd3a4d8 Author: Matthias Clasen Date: Mon Jun 9 09:17:43 2014 -0400 GtkPopover: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkpopover.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 22cc9749c93af989408eb3761f8ec6b8ab0869f2 Author: Matthias Clasen Date: Mon Jun 9 09:16:06 2014 -0400 GtkPaned: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkpaned.c | 127 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 66 insertions(+), 61 deletions(-) commit c93355616f1dc04c2b76e07a91d9eb93e0333313 Author: Matthias Clasen Date: Mon Jun 9 09:15:39 2014 -0400 GtkNotebook: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtknotebook.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 47615f32bf399fb124b50b693eb757b8dea296ee Author: Matthias Clasen Date: Mon Jun 9 09:07:18 2014 -0400 GtkMessageDialog: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkmessagedialog.c | 32 ++++++++++++++++++++++---------- 1 file changed, 22 insertions(+), 10 deletions(-) commit c1540464b7753f0c217152913b44c814823e0c22 Author: Matthias Clasen Date: Mon Jun 9 09:07:04 2014 -0400 GtkMenuShell: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkmenushell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cfbfeb1b3c1b2b5bc79f6094b1a7b64a57f8efde Author: Matthias Clasen Date: Mon Jun 9 09:06:49 2014 -0400 GtkMenuButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkmenubutton.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 0d528ab391c5d455558dddd552a09baf4c36844c Author: Matthias Clasen Date: Mon Jun 9 09:06:32 2014 -0400 GtkMenuBar: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkmenubar.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) commit 60fbb2bb8923afd3c6cf28d5b19692e0a5fab7c2 Author: Matthias Clasen Date: Mon Jun 9 09:04:53 2014 -0400 GtkMenu: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkmenu.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 3f3f26d8a1a7afca892913b7b637ba1751b72253 Author: Matthias Clasen Date: Mon Jun 9 09:04:33 2014 -0400 GtkLinkButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtklinkbutton.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) commit 45c84a63a3cf0c306b25c2310f0a96e8398562a5 Author: Matthias Clasen Date: Mon Jun 9 09:01:23 2014 -0400 GtkLevelBar: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtklevelbar.c | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 46828a41b020d59eb764b53df47c81423f8bdc24 Author: Matthias Clasen Date: Mon Jun 9 09:00:27 2014 -0400 GtkLayout: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtklayout.c | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit 6ac00a7ff758327c86a3758439c2ba3cf14e1d2a Author: Matthias Clasen Date: Mon Jun 9 09:00:05 2014 -0400 GtkInfoBar: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkinfobar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 726d603f617993c962d9c432c068b0d4d1958101 Author: Matthias Clasen Date: Mon Jun 9 08:59:47 2014 -0400 GtkIMContext: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkimcontext.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 720561475dae18460e2775aafb5a923f5b79d589 Author: Matthias Clasen Date: Mon Jun 9 08:59:33 2014 -0400 GtkIconView: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkiconview.c | 46 +++++++++++++++++++++++++++------------------- 1 file changed, 27 insertions(+), 19 deletions(-) commit 68673963fc18818ba260e72c87d6d8c2e8438fd0 Author: Matthias Clasen Date: Mon Jun 9 08:58:57 2014 -0400 GtkImage: Use G_PARAM_EXPLICIT_NOTIFY And make use of the new icon helper API to avoid redundant notification. gtk/gtkimage.c | 44 +++++++++++++++----------------------------- 1 file changed, 15 insertions(+), 29 deletions(-) commit 7e40d74b0bbf581eb23cf95633b5003b78b57e6e Author: Matthias Clasen Date: Mon Jun 9 08:58:05 2014 -0400 GtkIconHelper: Change setters to return success This makes it easier to avoid redundant notifications in users. gtk/gtkiconhelper.c | 18 ++++++++++++------ gtk/gtkiconhelperprivate.h | 12 ++++++------ 2 files changed, 18 insertions(+), 12 deletions(-) commit d1f6858b363ff0972b278364d89a446956103e88 Author: Matthias Clasen Date: Mon Jun 9 08:57:46 2014 -0400 GtkHeaderBar: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkheaderbar.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit efc2166c259bc1bd552684a8d2eb92fb232a7c9d Author: Matthias Clasen Date: Mon Jun 9 08:57:30 2014 -0400 GtkGrid: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkgrid.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f19532225466a8273f650144d2af680cc5ef4f4d Author: Matthias Clasen Date: Mon Jun 9 08:57:10 2014 -0400 GtkGestureSingle: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkgesturesingle.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 11224f521dd21dd93ae89715ee5910d3db6b90fc Author: Matthias Clasen Date: Mon Jun 9 08:56:55 2014 -0400 GtkGesturePan: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkgesturepan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 372223ac942be19ae163662971605fdf06efc29f Author: Matthias Clasen Date: Mon Jun 9 08:56:10 2014 -0400 GtkRecentChooserDefault: Adapt to explicit notify gtk/gtkrecentchooserdefault.c | 79 ++++++++++++++++++++++++++++--------------- 1 file changed, 52 insertions(+), 27 deletions(-) commit f6e5f884547469e917f491355af25d3974416178 Author: Matthias Clasen Date: Mon Jun 9 08:53:12 2014 -0400 GtkRecentChooser: Use G_PARAM_EXPLICIT_NOTIFY gtk/deprecated/gtkrecentaction.c | 50 ++++++++++++++--- gtk/gtkrecentchooser.c | 115 +++++++++++++++++++++------------------ 2 files changed, 102 insertions(+), 63 deletions(-) commit 92e30dadc2cfe28749cc9392cd4c5a1f9e4980ec Author: Matthias Clasen Date: Mon Jun 9 08:48:17 2014 -0400 GdkOffscreenWindow: Fill in a few more vfuncs Mostly to avoid special cases in testcases. gdk/gdkoffscreenwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 110f859899bdb35fe2a30b27bda042d016d88e5a Author: Matthias Clasen Date: Sun Jun 8 12:02:17 2014 -0400 GtkEventController: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkeventcontroller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eebb73032aee75b4321b775fba4ffcdbebfe34f2 Author: Matthias Clasen Date: Mon Jun 9 08:56:30 2014 -0400 GtkFontButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkfontbutton.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2a7bed685845f2446f59c7aafab286e3b3e5676e Author: Matthias Clasen Date: Sun Jun 8 11:59:55 2014 -0400 GtkFontButton Trivial cleanup Replace GTK_PARAM_READABLE|GTK_PARAM_WRITABLE by GTK_PARAM_READWRITE. gtk/gtkfontbutton.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit eb34ff5b489e28bca79e4c8107ea4a58cf3994b1 Author: Matthias Clasen Date: Sun Jun 8 11:57:47 2014 -0400 GtkFontButton: Fix the handling of show-preview-button We were not storing the value at all, and not notifying. gtk/gtkfontbutton.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 595a44680a9a4f34f5da161d915385e85949dcdc Author: Matthias Clasen Date: Sun Jun 8 11:58:19 2014 -0400 GtkFontChooser: Use G_PARAM_EXPLICIT_NOTIFY for show-preview-entry Implementors will have to be adjusted. gtk/gtkfontchooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6877253e14b71f1e8f473e60ff4d2931146c7339 Author: Matthias Clasen Date: Sun Jun 8 11:57:27 2014 -0400 GtkFlowBox: Explicitly notify orientation gtk/gtkflowbox.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit 43ba93971cf60ccbd9fa9922294fc8bbd9caba6d Author: Matthias Clasen Date: Sun Jun 8 11:57:13 2014 -0400 GtkExpander: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkexpander.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 544b5b0fe671d515ccb0b9c1bce64abce38f95e5 Author: Matthias Clasen Date: Sun Jun 8 11:56:57 2014 -0400 GtkEventBox: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkeventbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e3dc90dc9bc0fce5a51f5b006f1f10a0cd5e5786 Author: Matthias Clasen Date: Sun Jun 8 11:37:00 2014 -0400 GtkToggleButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtktogglebutton.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit bce70ca75e509d1a61bc1c4d5cd6152816a645d7 Author: Matthias Clasen Date: Sun Jun 8 11:35:32 2014 -0400 GtkMenuItem: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkmenuitem.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 3ae562aca26ba27a4e5f414e12de17d4f6aaec6a Author: Matthias Clasen Date: Sun Jun 8 11:35:00 2014 -0400 GtkFrame: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkframe.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) commit 331c28b369edae9aa3df2a24833ccb02ef8d7152 Author: Matthias Clasen Date: Sun Jun 8 11:34:28 2014 -0400 GtkEntryCompletion: Use G_PARAM_EXPLICIT_NOTIFY Also, use the setter for text-column, internally. gtk/gtkentrycompletion.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit 07af47ce3e74a1efd4537cedc5ffbd0345295d8f Author: Matthias Clasen Date: Sun Jun 8 11:33:52 2014 -0400 GtkEntryBuffer: Use G_PARAM_EXPLICIT_NOTIFY Also avoid redundant notification for max-length. gtk/gtkentrybuffer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit ec6056a574c86db8b857c033894f71abd43d13cb Author: Matthias Clasen Date: Sun Jun 8 11:33:29 2014 -0400 GtkEntry: Explicitly notify for populate-all gtk/gtkentry.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 056acf92ec8bf3dec7c2608d5b2013d392b5a82f Author: Matthias Clasen Date: Sun Jun 8 11:33:03 2014 -0400 GtkEntry: Don't forget to notify for the tooltip markup props gtk/gtkentry.c | 3 +++ 1 file changed, 3 insertions(+) commit c411de437ac7d255d414e286115a112df00bb3c3 Author: Matthias Clasen Date: Sun Jun 8 11:31:54 2014 -0400 GtkColorChooserWidget: Explicitly notify for use-alpha gtk/gtkcolorchooserwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit a215a4c762b4bfb5d47cf8462dbf02a0b7fed1b9 Author: Matthias Clasen Date: Sun Jun 8 11:31:37 2014 -0400 GtkColorChooserDialog: Explicitly notify for use-alpha gtk/gtkcolorchooserdialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d5a119ae9bf6a6f03bb65241849c73e21dffce28 Author: Matthias Clasen Date: Sun Jun 8 11:30:58 2014 -0400 GtkColorChooser: Use G_PARAM_EXPLICIT_NOTIFY for use-alpha Implementors will need to adjust. gtk/gtkcolorchooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b28123dd3ce0b9901a5a4a0306b1d3f7644d41df Author: Matthias Clasen Date: Sun Jun 8 11:30:37 2014 -0400 GtkColorButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcolorbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f82250cc1473e956721f0f6cdf5e6fe4b750633 Author: Matthias Clasen Date: Sun Jun 8 11:30:12 2014 -0400 GtkCheckMenuItem: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcheckmenuitem.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit bfc1a2118ffe846337fd7abc922216ddddba2b6a Author: Matthias Clasen Date: Sun Jun 8 11:29:58 2014 -0400 GtkCellView: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcellview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d33b14bfbe4d2a3be05b04824d4a16edaf4ad23c Author: Matthias Clasen Date: Sun Jun 8 11:29:32 2014 -0400 GtkCellView: Explicitly notify for orientation gtk/gtkcellview.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit 2d88a3ae300d6e1c8faa7391bbab9746f2131092 Author: Matthias Clasen Date: Sun Jun 8 11:28:28 2014 -0400 GtkCellRendererToggle: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcellrenderertoggle.c | 52 +++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 9 deletions(-) commit c96f5b953ae2d9a93879d6401e39fb6a9112bca5 Author: Matthias Clasen Date: Sun Jun 8 11:28:12 2014 -0400 GtkCellRendererText: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcellrenderertext.c | 42 +++++++++++++++++++++++++++++++----------- 1 file changed, 31 insertions(+), 11 deletions(-) commit ce76a47d680a41f393282d55fb47dbfb4b2b89ec Author: Matthias Clasen Date: Sun Jun 8 11:27:41 2014 -0400 GtkCellRendererSpin: Use G_PARAM_EXPLICIT_NOTIFY Also avoid redundant notification for ::digits. gtk/gtkcellrendererspin.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 31654f4515b7c8601de6f4fb507b109653561beb Author: Matthias Clasen Date: Sun Jun 8 11:27:00 2014 -0400 GtkCellRendererProgress: Use G_PARAM_EXPLICIT_NOTIFY Also add explicit notification and avoid redundant notification for some properties. gtk/gtkcellrendererprogress.c | 61 +++++++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 25 deletions(-) commit af4d142df5b54a7f3a22995ae657f089b54c7591 Author: Matthias Clasen Date: Sun Jun 8 11:26:04 2014 -0400 GtkCellRendererCombo: Use G_PARAM_EXPLICIT_NOTIFY And add explicit notification for some properties. gtk/gtkcellrenderercombo.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit da4a1e1594123ee18ca19d894616d4c02f6409c9 Author: Matthias Clasen Date: Sun Jun 8 11:25:40 2014 -0400 GtkCellRenderer: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcellrenderer.c | 105 ++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 76 insertions(+), 29 deletions(-) commit be25e4ebcb59b7d9a2e9c2528cec77284a6179e8 Author: Matthias Clasen Date: Sun Jun 8 11:24:12 2014 -0400 GtkCellAreaBox: Explicitly notify orientation gtk/gtkcellareabox.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 510c2cdfb6362568f4384790dc06e0b1b4aba0e5 Author: Matthias Clasen Date: Sat Jun 7 16:40:57 2014 -0400 GtkWindow: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkwindow.c | 76 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 33 deletions(-) commit 05cabd3557638d2ac7b8d35b03f17ad3237d12af Author: Matthias Clasen Date: Mon Jun 9 09:45:14 2014 -0400 GtkWindow: Trivial cleanup gtk/gtkwindow.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 8677446fe010bde91611c00868761e6bf14a3824 Author: Matthias Clasen Date: Sat Jun 7 16:40:31 2014 -0400 GtkLabel: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtklabel.c | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) commit 1720eb471347acec40154e873c3b6e08fe0385a9 Author: Matthias Clasen Date: Sat Jun 7 16:40:09 2014 -0400 GtkComboBox: Notify for has-frame and editing-canceled gtk/gtkcombobox.c | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) commit 9722ae0458d9c0612e9406fe396e6b65bae7928e Author: Matthias Clasen Date: Sat Jun 7 16:39:02 2014 -0400 GtkCellEditable: Use G_PARAM_EXPLICIT_NOTIFY This is an interface property, so all implementors will have to adjust to this. gtk/gtkcelleditable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5ce3d8e74fa8ebe06806be26499e5ea548f21d53 Author: Matthias Clasen Date: Sat Jun 7 16:38:34 2014 -0400 GtkAppChooserButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkappchooserbutton.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit d6cae074a6f9ef2c938686f10401f67bc553f242 Author: Matthias Clasen Date: Sat Jun 7 14:29:09 2014 -0400 GtkContainer: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit acad03f77bb54fe0be050dc7db66423e96950c82 Author: Matthias Clasen Date: Sat Jun 7 14:24:16 2014 -0400 GtkWidget: Use G_PARAM_EXPLICIT_NOTIFY A few properties here are special, and can't benefit from it: those which are just shorthands, like ::margin and ::expand, and those that have explicit -set properties, like::hexpand and ::vexpand. gtk/gtkwidget.c | 84 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 46 insertions(+), 38 deletions(-) commit 2e04899ee59a17b41f3b1accd4a874242d4a03d3 Author: Matthias Clasen Date: Sat Jun 7 14:08:46 2014 -0400 GtkOrientable use G_PARAM_EXPLICIT_NOTIFY This one is a little tricky, since we override this property in many places, and you cannot add flags when overriding. So, all places where this is overridden will have to make sure to notify explicitly. gtk/gtkorientable.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 126942f04c44ad4fa7447d4a9773b69ba04afa87 Author: Matthias Clasen Date: Sat Jun 7 14:08:28 2014 -0400 GtkEntry: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkentry.c | 119 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 68 insertions(+), 51 deletions(-) commit 1139b219970f27d74979d362fc294f67258473fb Author: Matthias Clasen Date: Sat Jun 7 14:07:55 2014 -0400 GtkCellRendererText: Use G_PARAM_EXPLICIT_NOTIFY for 'alignment' gtk/gtkcellrenderertext.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 8b1757b6e044d9a17ed16eed24052a96291fe843 Author: Matthias Clasen Date: Sat Jun 7 14:07:32 2014 -0400 GtkCellAreaBox: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcellareabox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d5c56ea780d0645c1640ea19e97341527c6c69e2 Author: Matthias Clasen Date: Sat Jun 7 14:07:07 2014 -0400 GtkCalendar: Use G_PARAM_EXPLICIT_NOTIFY And make sure we correctly notify for all properties. gtk/gtkcalendar.c | 123 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 69 insertions(+), 54 deletions(-) commit c5c3c335a6277382f449b56a23aaf7ff34bfb894 Author: Matthias Clasen Date: Sat Jun 7 14:06:09 2014 -0400 GtkAspectFrame: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkaspectframe.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b9e7d1e8a64fe9cad428e0765870e76ce7bcb305 Author: Matthias Clasen Date: Sat Jun 7 14:05:51 2014 -0400 GtkApplicationWindow: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkapplicationwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1bb880af36d4dfbda743a6fa3c68815963549a49 Author: Matthias Clasen Date: Sat Jun 7 14:04:57 2014 -0400 GtkApplicationWindow: Avoid a crash In several places, we were not correctly dealing with the possibility of application not being set. gtk/gtkapplicationwindow.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 81c35b5b6efe1175b839a7fdeebcd371ef7010a9 Author: Matthias Clasen Date: Sat Jun 7 14:04:16 2014 -0400 GtkAppChooserWidget: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkappchooserwidget.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit ed28a71bf287165a3c48e331876a22876c5f59d9 Author: Matthias Clasen Date: Sat Jun 7 14:03:45 2014 -0400 GtkAppChooserButton: Fix a possible crash We were not correctly dealing with content_type being NULL in one place. gtk/gtkappchooserbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5727a8676009532567aebc7d9b9fd617772996a8 Author: Matthias Clasen Date: Sat Jun 7 14:02:17 2014 -0400 GdkDevice: Use G_PARAM_EXPLICIT_NOTIFY gdk/gdkdevice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a27ba44331a0709f44d23ba8c981ab1de6a99bfa Author: Matthias Clasen Date: Sat Jun 7 11:47:53 2014 -0400 GtkComboBox: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcombobox.c | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) commit 5e04bd04c8586dc3ea96c964700080ef0ff099a3 Author: Matthias Clasen Date: Sat Jun 7 11:47:30 2014 -0400 GtkCellRendererSpinner: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcellrendererspinner.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) commit f4e60bc36dbc9126e56b7ea876b645a7f61be483 Author: Matthias Clasen Date: Sat Jun 7 11:46:22 2014 -0400 GtkCellRendererAccel: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkcellrendereraccel.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit e423c045d5f9e50db0da8b3a7bdc86f6c0b458f9 Author: Matthias Clasen Date: Sat Jun 7 11:46:00 2014 -0400 GtkButtonBox: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkbbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f531b0757cd60600af6f95145c4d05621bd34595 Author: Matthias Clasen Date: Sat Jun 7 11:00:36 2014 -0400 GtkBox: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkbox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 06564f5df66fd4cd02a68b5d1417b07076d46dea Author: Matthias Clasen Date: Sat Jun 7 10:59:14 2014 -0400 GtkBox: Convert to g_object_install_properties gtk/gtkbox.c | 85 +++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 38 deletions(-) commit e54525729e9e37ad791111173cefadada27f7030 Author: Matthias Clasen Date: Sat Jun 7 10:49:38 2014 -0400 GtkBox: Move overridden property ids to the end This will make it easier to convert to g_object_install_properties in the next commit. gtk/gtkbox.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d218e17a2a8b67c1cb62cc687342dcae6e12b473 Author: Matthias Clasen Date: Sat Jun 7 10:48:49 2014 -0400 GtkButton: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkbutton.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 62d591a550e161f8ab05e246c12f9991e8044620 Author: Matthias Clasen Date: Sat Jun 7 09:40:55 2014 -0400 GtkButton: Convert to g_object_class_install_properties gtk/gtkbutton.c | 168 +++++++++++++++++++++++++++----------------------------- 1 file changed, 80 insertions(+), 88 deletions(-) commit fba83da3ee2e45e922fa5afdde9bbfe14658fbe6 Author: Matthias Clasen Date: Sat Jun 7 06:45:57 2014 -0400 GtkAccelLabel: use G_PARAM_EXPLICIT_NOTIFY gtk/gtkaccellabel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 10f8ea27bf5c0e8f639f5af2da90b994bc72ec3b Author: Matthias Clasen Date: Sat Jun 7 06:45:00 2014 -0400 GtkAccelLabel: Convert to g_object_class_install_properties gtk/gtkaccellabel.c | 40 ++++++++++++++++++++++------------------ 1 file changed, 22 insertions(+), 18 deletions(-) commit bc46df34fc1292bf9e57f2528e513fe8d2343ec6 Author: Matthias Clasen Date: Sat Jun 7 11:45:14 2014 -0400 GtkAboutDialog: Use a setter for wrap-license This avoids redundant notification. gtk/gtkaboutdialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 09a589b716c5b1e11a907cdd6652c7e9c64b465c Author: Matthias Clasen Date: Sat Jun 7 10:47:33 2014 -0400 GtkAboutDialog: Fix a parameter check When we expanded the GtkLicense enumeration in 3.12, we forgot to update the limit check in gtk_about_dialog_set_license_type. Caught by testing property notification for enum properties. gtk/gtkaboutdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 06ab3e74770abf1237972c777d8ba9924fb0338c Author: Matthias Clasen Date: Sat Jun 7 01:08:52 2014 -0400 GtkAboutDialog: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkaboutdialog.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit c8acad2816f4cf953e1b408a0f2ab98cf3bdcedd Author: Matthias Clasen Date: Sat Jun 7 01:06:51 2014 -0400 GtkAboutDialog: Convert to g_object_class_install_properties gtk/gtkaboutdialog.c | 248 ++++++++++++++++++++++++--------------------------- 1 file changed, 118 insertions(+), 130 deletions(-) commit fae5302eae0ec5d643aea938c9ebab10d546c81a Author: Matthias Clasen Date: Sat Jun 7 00:51:21 2014 -0400 GtkRevealer: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkrevealer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 07e180fef0a5cf1e4dcc7ad67951e5faf83e7bd2 Author: Matthias Clasen Date: Sat Jun 7 00:50:23 2014 -0400 GtkRevealer: Convert to g_object_class_install_properties gtk/gtkrevealer.c | 80 ++++++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 37 deletions(-) commit 51d17910a1c20b9114919d5aaaf7452d23a0dcee Author: Matthias Clasen Date: Sat Jun 7 00:42:34 2014 -0400 GtkFlowBox: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkflowbox.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit b549e52c2cfbbc1dee4177d24c8af8bd2d17b03e Author: Matthias Clasen Date: Sat Jun 7 00:39:00 2014 -0400 GtkFlowBox: Convert to g_object_class_install_properties gtk/gtkflowbox.c | 138 +++++++++++++++++++++++++++---------------------------- 1 file changed, 67 insertions(+), 71 deletions(-) commit 45801c8f2cfccd63f506a642710999c0225fc9bc Author: Matthias Clasen Date: Sat Jun 7 09:51:48 2014 -0400 GtkFlowBox: Move overridden prop ids to the end This makes it easier to convert to g_object_class_install_properties in the next commit. gtk/gtkflowbox.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit ac08d6a42167e8e6d4377ae257459cbcbbdaaba5 Author: Matthias Clasen Date: Sat Jun 7 09:49:50 2014 -0400 GtkFlowBox: Drop unused prop ids No h/valign properties here. gtk/gtkflowbox.c | 2 -- 1 file changed, 2 deletions(-) commit 6e03ac99580efe22dd36b7c1620d0d3247da0760 Author: Matthias Clasen Date: Fri Jun 6 23:46:32 2014 -0400 GtkListBox: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtklistbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d591341bd13109cfe717c190c9d364362bc0f24f Author: Matthias Clasen Date: Fri Jun 6 23:35:53 2014 -0400 GtkStack: Avoid a few redundant notify emissions A few of the property setters were missing the standard checks. gtk/gtkstack.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 0a681f92240550ca3d64a9f300c09a4428c84be5 Author: Matthias Clasen Date: Fri Jun 6 23:30:44 2014 -0400 GtkStack: Use G_PARAM_EXPLICIT_NOTIFY gtk/gtkstack.c | 56 ++++++++++++++++++++++++-------------------------------- 1 file changed, 24 insertions(+), 32 deletions(-) commit 1edfc8c3724cbf86e861a4ec06aee463cc5dc116 Author: Matthias Clasen Date: Fri Jun 6 23:39:56 2014 -0400 Bump required GLib version For G_PARAM_EXPLICIT_NOTIFY. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bb3174c913059514bf1e99295544844594e3267e Author: Benjamin Otte Date: Mon Jun 9 19:18:48 2014 +0200 reftests: Fix random failures of reftest The reftest is testing "transparent" works as expected by drawing a purple background once with purple and once with transparent and expecting the same result. This works fine unless anti-aliasing happens at rounded corners. The overdraw of the 2nd background changes the antialiased pixels. Fix this by explicitly setting the border radius to 0. Also reindent the file to make it more readable. testsuite/reftests/background-color-transparent.css | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) commit 37fbffaa1cae3f468720263ab3de150890c8f2b0 Author: Chun-wei Fan Date: Mon Jun 9 14:39:35 2014 +0800 Fix MSVC 2008 Projects ...Make up for a missed required for a new line in commands... build/win32/vs9/gtk-install.vsprops | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e26bdbda9b23d95fe6fbcceb54dee2140dd78cef Author: Chun-wei Fan Date: Mon Jun 9 12:44:46 2014 +0800 MSVC Builds: Update Introspection Build The a11y headers are now listed with the main Makefile.am of GTK, and GDK introduced deprecated headers, so we need to account for them for the build of the introspection files. build/gen-file-list-gtk.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bdc9d17edcaaef979a15748948c9b65c9105c328 Author: Chun-wei Fan Date: Mon Jun 9 12:42:56 2014 +0800 Visual Studio Builds: Update Headers "Installation" build/win32/vs10/gtk-install.props | 42 ++++++++++++++++++++++++++++++------- build/win32/vs9/gtk-install.vsprops | 22 ++++++++++++++----- 2 files changed, 51 insertions(+), 13 deletions(-) commit 8e88a2e1360d7a74bf300bb5b855d9daf3f19691 Author: Chun-wei Fan Date: Mon Jun 9 11:48:54 2014 +0800 MSVC 2010+ Projects: Update "Installation" Process Currently, due to the way that Visual Studio 2010+ projects are handled, the "install" project does not re-build upon changes to the sources, as it does not believe that its dependencies have changed, although the changed sources are automatically recompiled. This means that if a part or more of the solution does not build, or if the sources need some other fixes or enhancements, the up-to-date build is not copied automatically, which can be misleading. Improve on the situation by forcing the "install" project to trigger its rebuild, so that the updated binaries can be copied. This does trigger an MSBuild warning, but having that warning is way better than not having an up-to-date build, especially during testing and development. build/win32/vs10/gtk-install.props | 28 +++++++++++++++----- build/win32/vs10/install.vcxproj | 52 ++++++++++++++++++++------------------ 2 files changed, 50 insertions(+), 30 deletions(-) commit 15c34b22d2874d71505e93899083a355b8a8302c Author: Juan R. Garcia Blanco Date: Sat Jun 7 10:50:27 2014 +0200 inspector: Fix build with quartz backend Add -xobjective-c to libgtkinspector_la_CFLAGS to handle objc headers. gtk/inspector/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) commit 111b3bca0bc8e36e41737528dea8cf5e7aa894e2 Author: Matthias Clasen Date: Fri Jun 6 17:50:53 2014 -0400 docs: Sort style classes alphabetically Otherwise, it is pretty hard to keep track of what classes are missing from the list. As a consequence, several of the existing classes were missing. Add those at the same time. docs/reference/gtk/gtk3-sections.txt | 80 ++++++++++++++++++++---------------- 1 file changed, 44 insertions(+), 36 deletions(-) commit 3aa1350bd0f5e2439b9def24599d3a41a4df7de4 Author: Matthias Clasen Date: Fri Jun 6 18:31:27 2014 -0400 GtkWindow: always input-shape csd windows Even if we don't have border windows, we need to set the input shape so we ignore clicks in the shadow region. gtk/gtkwindow.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 3266b4dd9bde09e9a8191530615d759c9159687d Author: Matthias Clasen Date: Fri Jun 6 13:35:40 2014 -0400 inspector: Make picking more robust Apparently ClutterOffscreen returns NULL as a window. While that is not cool, we shouldn't crash. gtk/inspector/inspect-button.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 02a44c454c7ed85e9ef1c4c379cb13e9a74cde1d Author: Matthias Clasen Date: Fri Jun 6 13:00:06 2014 -0400 GtkDialog: Be a little more careful about button placement We were applying response based heuristics, even if the button is explicitly put in the headerbar. That broke button placement in some epiphany dialogs, such as the Cookies one. Therefore, restrict the heuristics to action widgets that are added through gtk_widget_add_action_widget() or , where it is not possible to specify placement explicitly. gtk/gtkdialog.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit 9c6c4fdeb844310ed77104d8f4640c619c46326c Author: Matthias Clasen Date: Fri Jun 6 12:19:24 2014 -0400 GtkDialog: avoid a crash Just because use-header-bar is set, it is not safe to assume every action widget is in the headerbar, so be careful when setting child properties. gtk/gtkdialog.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit add67b516cb6cbd9b36454d880dd2d7156eced19 Author: Florian Müllner Date: Thu Jun 5 16:34:43 2014 +0200 wayland: Explicitly handle classic mode for now There are plans to add session-dependent defaults to GSettings (based on the newly standardized XDG_CURRENT_DESKTOP); until then, the WM uses a different schema for its button-layout setting in classic mode. So for the time being, do the same and pick the alternative schema when XDG_CURRENT_DESKTOP indicates that we are in a classic session. (It's not pretty, but hopefully won't be with us for too long ...) https://bugzilla.gnome.org/show_bug.cgi?id=731273 gdk/wayland/gdkscreen-wayland.c | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit f4c963ef749e8476414f29a128ff2028eece571f Author: Florian Müllner Date: Thu Jun 5 15:30:16 2014 +0200 wayland: Set gtk-decoration-layout Pick up the setting from the org.gnome.desktop.wm.preferences schema if available. It is slightly more involved than other settings, as the actual button names used in the schema differ from the ones we use, so we need an additional translation step. https://bugzilla.gnome.org/show_bug.cgi?id=731273 gdk/wayland/Makefile.am | 4 +- gdk/wayland/gdkscreen-wayland.c | 33 ++++++++++- gdk/wayland/wm-button-layout-translation.c | 88 ++++++++++++++++++++++++++++++ gdk/wayland/wm-button-layout-translation.h | 26 +++++++++ 4 files changed, 149 insertions(+), 2 deletions(-) commit d8de23bef6d6ab17b3f31b99bb6e38f66c3a71de Author: Chun-wei Fan Date: Fri Jun 6 14:47:19 2014 +0800 gtk/gtkkineticscrolling.c: Include fallback-c89.c ... as round() is being used, which is for C99 and later. fallback-c89.c includes math.h as well. gtk/gtkkineticscrolling.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 763f0a37c1c5e22fb068a482dee3773f1157ded7 Author: Matthias Clasen Date: Thu Jun 5 21:08:56 2014 -0400 inspector: Avoid a crash An unset action-name should not cause us to crash. gtk/inspector/prop-editor.c | 3 +++ 1 file changed, 3 insertions(+) commit 1e63d94a06bb9887cb78696c2cf544c50912f8ee Author: Matthias Clasen Date: Thu Jun 5 18:46:50 2014 -0400 widget-factory: Avoid a crash We want to be able to show the dialogs more than once, so just hide them on delete. demos/widget-factory/widget-factory.ui | 3 +++ 1 file changed, 3 insertions(+) commit 7aadd6fd2e798e70f0e87948673a71d43075530e Author: Matthias Clasen Date: Thu Jun 5 18:12:42 2014 -0400 Remove unintentional addition Debugging leftovers. gtk/gtkdialog.c | 2 -- 1 file changed, 2 deletions(-) commit fbc3c1494f1c2aee28784727ec6d0c57ae1d7806 Author: Matthias Clasen Date: Thu Jun 5 18:07:32 2014 -0400 widget-factory: Show some 'standard' dialog types Add examples for the types of dialog that are mentioned in the GNOME HIG: information dialogs, action dialogs and preference dialogs. demos/widget-factory/widget-factory.c | 33 +++++++++++- demos/widget-factory/widget-factory.ui | 93 ++++++++++++++++++++++++++++++++++ 2 files changed, 125 insertions(+), 1 deletion(-) commit d724175e49ad8fcae6a4f5e5b5144bc250ccdea5 Author: Matthias Clasen Date: Thu Jun 5 18:04:52 2014 -0400 GtkDialog: Improve the buildable implementation When combining action child type with to assign response ids, we were not properly updating buttons that ended up getting added to the headerbar before they have a response id. Fix this by reapplying the headerbar button setup after parsing , and make sure to also update the suggested-action style class. gtk/gtkdialog.c | 63 ++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 44 insertions(+), 19 deletions(-) commit 85a4b65f11efdad33fc531e7cf78f6106fbf6770 Author: Matthias Clasen Date: Thu Jun 5 14:49:13 2014 -0400 Trivial string change Capitalize 'Expander' in the widget-factory UI. demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 246e6cd0b9693cc9d3c7655ee42b288dab0db0b2 Author: Carlos Garnacho Date: Thu Jun 5 21:09:46 2014 +0200 combobox: Fix reentrancy in gtk_combo_box_popdown() If called when already popped down, warnings would be issued due to priv->grab_pointer being unexpectedly NULL, this would happen in regular operation when selecting items in appears-as-list mode. So both add a NULL check for priv->grab_pointer, and bail out early if the popup window is already hidden. gtk/gtkcombobox.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 0e8e5501870a9b9a9b95b1796d749b6f0e974870 Author: Piotr Drąg Date: Thu Jun 5 17:27:15 2014 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 2 ++ po-properties/POTFILES.skip | 2 ++ po/POTFILES.in | 2 ++ po/POTFILES.skip | 1 + 4 files changed, 7 insertions(+) commit 828594d5bde702a898c80fbad5a02ed3c77fba6d Author: Lieven van der Heide Date: Mon May 26 18:19:24 2014 +0200 scrolledwindow: Replace kinetic scrolling with GtkKineticScrolling Two GtkKineticScrolling helpers are used, one per axis direction. https://bugzilla.gnome.org/show_bug.cgi?id=729608 gtk/gtkscrolledwindow.c | 180 +++++++++++++++++++++++------------------------- 1 file changed, 85 insertions(+), 95 deletions(-) commit c7262268254bca8518197ec82ac9855571ff6d88 Author: Lieven van der Heide Date: Mon May 26 18:13:29 2014 +0200 gtk: Add kinetic scrolling helper GtkKineticScrolling implements the actual physics laws for friction and springs. When created, position/velocity/boundaries/constants are given, so at every gtk_kinetic_scrolling_tick() it returns the current position, and whether the system is in rest. https://bugzilla.gnome.org/show_bug.cgi?id=729608 gtk/Makefile.am | 2 + gtk/gtkkineticscrolling.c | 215 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkkineticscrolling.h | 43 ++++++++++ 3 files changed, 260 insertions(+) commit 3ffb4fa6993c461a591a250ab96d09ddae6de8d0 Author: Carlos Garnacho Date: Thu Jun 5 15:45:21 2014 +0200 flowbox: Use gestures for event management A multipress gesture takes care of item selection/activation, and a drag gesture is used to manage events when rubberbanding selection is performed. gtk/gtkflowbox.c | 283 +++++++++++++++++++++++++++++++++---------------------- 1 file changed, 168 insertions(+), 115 deletions(-) commit 933ff62f66c01627b195ea9ef104e8d8d710c555 Author: Carlos Garnacho Date: Thu Jun 5 15:40:02 2014 +0200 listbox: Use multipress gesture for row selection/activation This gesture replaces the button_press/release_event handlers. gtk/gtklistbox.c | 165 +++++++++++++++++++++++++++---------------------------- 1 file changed, 82 insertions(+), 83 deletions(-) commit 8dcdec58ebf149b295d03226dca5103d668d30dd Author: Carlos Garnacho Date: Thu Jun 5 15:36:15 2014 +0200 label: Use gestures for event management A multipress gesture takes care of link handling, and char/word/all selection mode on selectable labels. A drag gesture is used for both text selection and DnD checks on selectable labels. gtk/gtklabel.c | 403 ++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 239 insertions(+), 164 deletions(-) commit 26dff0d7830b45b61fb4266664e4a5c1f98c4091 Author: Carlos Garnacho Date: Thu Jun 5 15:29:14 2014 +0200 range: Use GtkGesture for event management A multipress gesture takes care of clicks, and where those happened. If the click is meant to move the slider while pressed, the drag gesture takes over, dragging the slider while active. gtk/gtkrange.c | 413 +++++++++++++++++++++++---------------------------------- 1 file changed, 169 insertions(+), 244 deletions(-) commit fbb3fdda8c9d1d9face89d7b80e9a0555a4dbeef Author: Carlos Garnacho Date: Thu Jun 5 15:27:25 2014 +0200 expander: Use multipress gesture for event management This actually acts regardless of the value n_press, alternatively expanding and collapsing the GtkExpander. gtk/gtkexpander.c | 88 +++++++++++++++++++------------------------------------ 1 file changed, 30 insertions(+), 58 deletions(-) commit 90424289fb8dbe1f0ef948f71a919082e4b9627d Author: Carlos Garnacho Date: Thu Jun 5 15:31:35 2014 +0200 widget: reset all controllers when the widget becomes insensitive Widgets becoming insensitive won't receive further events, but there could be chances the controllers don't get properly notified and reset in those situations. gtk/gtkwidget.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 14d1a5cba4b24078a51a48c1cbc8e6dbd4d67085 Author: Matthias Clasen Date: Thu Jun 5 09:29:18 2014 -0400 inspector: Make GMenu content show up My problem was that all the content is usually hidden away in sections, so without recursion, nothing shows up. So, implement the recursion then. gtk/inspector/menu.c | 23 +++++++++++++++++++++++ gtk/inspector/menu.ui | 1 - 2 files changed, 23 insertions(+), 1 deletion(-) commit af8bd96e6e8d9b725e0c11bed75520f1b3b49072 Author: Matthias Clasen Date: Thu Jun 5 08:35:07 2014 -0400 Forgotten file gtk/inspector/menu.h | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) commit 2346ccde436b752061d0376b84dcbb663fc50ce8 Author: Matthias Clasen Date: Thu Jun 5 08:31:06 2014 -0400 inspector: show GMenus This does not quite work yet, and I have no idea why. gtk/inspector/Makefile.am | 3 + gtk/inspector/init.c | 2 + gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/menu.c | 118 ++++++++++++++++++++++++++++++++++ gtk/inspector/menu.ui | 83 ++++++++++++++++++++++++ gtk/inspector/window.c | 5 +- gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 14 ++++ po/POTFILES.in | 1 + 9 files changed, 227 insertions(+), 1 deletion(-) commit 8011d853e195bd783db8ec2110a7ecd93e65e237 Author: Ryan Lortie Date: Thu Jun 5 08:28:48 2014 -0400 GtkMenuTracker: fix signal handler argument list The signal handler for the visibility of menu items changing had the wrong signature, resulting in the GParamSpec from the notify signal being treated as a boolean (which was always true). This resulted in items being added over and over and never being removed. Fix that... gtk/gtkmenutracker.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 797a45bcf989d6e2e4c3a6fb2a5a85129986634d Author: Yosef Or Boczko Date: Thu Jun 5 14:07:46 2014 +0300 Updated Hebrew translation po/he.po | 598 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 318 insertions(+), 280 deletions(-) commit 582504cc335a9805816b463a4038031b4024073f Author: Matthias Clasen Date: Thu Jun 5 05:56:47 2014 -0400 inspector: Actually destroy the property editors We were never finalizing any of the popovers used for editing properties. Fix that. gtk/inspector/prop-list.c | 2 ++ 1 file changed, 2 insertions(+) commit 7a8092998aa3f1cd7e203fccb0eb786805636531 Author: Matthias Clasen Date: Thu Jun 5 05:49:34 2014 -0400 inspector: Fix a memory leak gtk/inspector/prop-editor.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit 27f692da2daa9a86a707c4e8da81cc683169e113 Author: Matthias Clasen Date: Thu Jun 5 05:48:26 2014 -0400 inspector: Add an initial action editor Use a popup, like we do for properties. For now, it allows activating the action (with parameter, if necessary) and setting the state. gtk/inspector/Makefile.am | 2 + gtk/inspector/action-editor.c | 419 ++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/action-editor.h | 59 ++++++ gtk/inspector/actions.c | 47 +++-- gtk/inspector/actions.ui | 4 +- 5 files changed, 512 insertions(+), 19 deletions(-) commit bbed8243209f6a8d55b7868ff4ab21261bf18a89 Author: Chun-wei Fan Date: Thu Jun 5 14:45:35 2014 +0800 gtk/deprecated/gtkcolorsel.c: Include gtkwindowgroup.h Since commit 872fbfac the GtkWindowGroup was split out from the GtkWindow sources, so include gtkwindowgroup.h to avoid C4013 warnings/errors (implicit declaration of ...) on gtk_window_group_add_window(). gtk/deprecated/gtkcolorsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2bbea2bc93203b8585e11d29143defdbe8accc0c Author: Matthias Clasen Date: Wed Jun 4 21:25:05 2014 -0400 Expand GtkWindowGroup docs gtk/gtkwindowgroup.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 23aeb955ced620bae40f38e64b412173a5e8c805 Author: Matthias Clasen Date: Wed Jun 4 20:29:10 2014 -0400 inspector: Lower the inspector window when picking This avoids the problem of the inspector window covering the widget you want to pick. gtk/inspector/inspect-button.c | 4 ++++ 1 file changed, 4 insertions(+) commit 205e8f7e58b711626409778518e93fc9ce7fab10 Author: Matthias Clasen Date: Wed Jun 4 20:12:42 2014 -0400 inspector: Show the widget tree when picking Makes more sense that way. gtk/inspector/inspect-button.c | 2 ++ gtk/inspector/window.c | 1 + gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 2 +- 4 files changed, 5 insertions(+), 1 deletion(-) commit 1c232066b87b8a60fd488b0a3a9ac08491b9fac6 Author: Matthias Clasen Date: Wed Jun 4 19:28:24 2014 -0400 inspector: Go to the desired tab We were setting the next-tab properly, but were trying to read it off the wrong object. Now, going from a cell renderer attribute mapping to the model, or from an action-name to the action actually works. gtk/inspector/window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 524e28a13c54d33261a9febdf2a6c0b080407f4e Author: Carlos Garnacho Date: Wed Jun 4 13:35:16 2014 +0200 tests: Add multitouch gesture tests So far, gesture behavior on lack/excess of touchpoints is tested, as well as sequence hand-in between gestures in these situations. testsuite/gtk/gestures.c | 282 ++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 279 insertions(+), 3 deletions(-) commit cb059bfc1b5cdcdf41e9b908e70d0b71c25e65c8 Author: Carlos Garnacho Date: Wed Jun 4 12:56:57 2014 +0200 widget: Set GDK_BUTTON1_MASK on emulated pointer events The touch_event handler was missing those when emulating pointer events for the widgets that get GDK_TOUCH_MASK set, but have no specialized touch handlers. gtk/gtkwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 7a0642743d20ef5fc6cf3b58d104b3fbd2c532a4 Author: Matthias Clasen Date: Wed Jun 4 06:38:20 2014 -0400 Fix up internal function naming Even if you believe this functionality belongs into gdk, it is not ok to name internal functions in gtkwindow.c gdk_window... gtk/gtkwindow.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 872fbfacd3315f4e28849b8852bc5678f63a791e Author: Matthias Clasen Date: Wed Jun 4 06:18:03 2014 -0400 Split GtkWindowGroup into its own file gtkwindow.c is too big and too messy. This is a small step towards making it better. gtk/Makefile.am | 4 +- gtk/gtk.h | 1 + gtk/gtkentrycompletion.c | 1 + gtk/gtkfilechooserwidget.c | 1 + gtk/gtkmain.c | 1 + gtk/gtkprintoperation.c | 1 + gtk/gtkrecentchooserdefault.c | 1 + gtk/gtkwindow.c | 369 +-------------------------------------- gtk/gtkwindow.h | 47 ----- gtk/gtkwindowgroup.c | 396 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwindowgroup.h | 89 ++++++++++ gtk/gtkwindowprivate.h | 7 + 12 files changed, 507 insertions(+), 411 deletions(-) commit d467850af069cdbc7f0659399deed609c373b31b Author: Matthias Clasen Date: Tue Jun 3 14:22:55 2014 -0400 Shorten test paths testsuite/gtk/gestures.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit c11b7e44a0263fa24efe328fdb8b78a371e023f2 Author: Matthias Clasen Date: Tue Jun 3 12:26:16 2014 -0400 label-sizing reftest: Hardcode ltr This reftest doesn't work in rtl. testsuite/reftests/label-sizing.ref.ui | 1 + testsuite/reftests/label-sizing.ui | 1 + 2 files changed, 2 insertions(+) commit ac59f0ac08fbcab3b6f9fa1603e52eb1bcff2cb2 Author: Matthias Clasen Date: Tue Jun 3 12:25:23 2014 -0400 reftests: Add a way to hardcode text direction Some tests don't work in rtl, so add a way to hardcode the expected text direction. This is in preparation for running reftests in an rtl locale. testsuite/reftests/set-default-direction.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) commit 94f573d8a48c9d3b092d69838350abb0cdfeaea0 Author: Carlos Garnacho Date: Tue Jun 3 15:09:16 2014 +0200 tests: Add tests for grab interaction with gestures The behavior of gestures that are kept outside/inside a grab is tested, to ensure the former are cancelled and the latter remain unchanged. testsuite/gtk/gestures.c | 118 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) commit 25f5da5018e80c835d47be791e5132661808c5bc Author: Carlos Garnacho Date: Tue Jun 3 15:04:25 2014 +0200 widget: Ensure all gestures outside a grab scope are cancelled This code is a product of early stages in the gestures branch, where capturing would have an effect outside grab boundaries. But this isn't really the case, so every gesture outside the grab scope must be reset to avoid keeping stale data. gtk/gtkwidget.c | 35 +++++------------------------------ 1 file changed, 5 insertions(+), 30 deletions(-) commit 93f72985bf58c2d849699dceb146ab7909c54d45 Author: Carlos Garnacho Date: Tue Jun 3 14:15:14 2014 +0200 tests: Add gesture tests for early/late sequence claiming This tests both a sequence being claimed early to be then denied (and handled deeper in propagation chain), and a sequence being claimed late in the capture phase (and thus being cancelled deeper in the propagation chain) testsuite/gtk/gestures.c | 114 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) commit fd1a566d46a6f4d6d95f99300efe1909977cd1eb Author: Carlos Garnacho Date: Tue Jun 3 16:11:24 2014 +0200 tests: Inform of gesture updates during recognition May be useful to find out which gestures are still being triggered by a sequence. testsuite/gtk/gestures.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit fe7215e36905993ab1924f3b6777cd40cff7d9d7 Author: Carlos Garnacho Date: Tue Jun 3 13:17:13 2014 +0200 testsuite: Prepare gestures testsuite for mouse/touch events state is preserved for mouse emulation, and up to 10 touchpoints for touch emulation. testsuite/gtk/gestures.c | 190 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 168 insertions(+), 22 deletions(-) commit 26ced6abad9fab0dbfd932a00d1ca5f32f479e0e Author: Carlos Garnacho Date: Mon Jun 2 17:38:46 2014 +0200 widget: Only deny a sequence if it was previously claimed Before this change, a sequence being claimed deep in the event propagation chain would make the sequence go denied on every ancestor, regardless of previous state. To make things more consistent, only deny the sequence if it was previously claimed, so the behavior is the same for gesture groups within the widget than for those outside the widget. The gestures testsuite has been updated to reflect this new behavior. gtk/gtkwidget.c | 3 +++ testsuite/gtk/gestures.c | 8 -------- 2 files changed, 3 insertions(+), 8 deletions(-) commit c773859c997bd89dafa1a57d3ba9d819ae0d5ca5 Author: Carlos Garnacho Date: Sun Jun 1 21:44:55 2014 +0200 gesture: Ensure late gestures handling the sequence get the group state It might happen that a gesture claims a sequence before any other gesture in its group even handled a single event from that sequence. In that case, ensure the state is set accordingly right when the sequence is handled in those. The "group" gesture testcase has been updated to observe this behavior. gtk/gtkgesture.c | 30 ++++++++++++++++++++++++++++++ testsuite/gtk/gestures.c | 2 +- 2 files changed, 31 insertions(+), 1 deletion(-) commit f6cf7fee73a18892bf59e52dc440fa16abbea22d Author: Matthias Clasen Date: Tue Jun 3 09:44:28 2014 -0400 inspector: Parse custom css with a delay The CSS editor was feeling a little sluggish, because it was reparsing and reapplying the CSS on every keystroke. Add a small delay, to make this feel smoother. gtk/inspector/css-editor.c | 40 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 37 insertions(+), 3 deletions(-) commit 45dbd84ff325f45121afdf4c81af332b14fa7e45 Author: Benjamin Otte Date: Tue Jun 3 14:35:00 2014 +0200 reftests: Use "all" property in inherit-and-inital test testsuite/reftests/inherit-and-initial.css | 82 +----------------------------- 1 file changed, 2 insertions(+), 80 deletions(-) commit 61b9bcf1d528bc02af62fb8336d5dfa7016dc591 Author: Chun-wei Fan Date: Tue Jun 3 17:03:40 2014 +0800 MSVC Projects: "Generate" the gtk-inspector Projects Like the GDK and GTK portions, use autotools scripts to generate the complete projects for gtk-inspector as sources there seem to change from time to time. It might be so that this, like the a11y sources, will be referenced from the main Makefile.am of GTK directly, but just do this so that the projects can build properly. build/win32/vs10/Makefile.am | 2 ++ build/win32/vs10/gtk-inspector.vcxproj.filters | 38 ---------------------- build/win32/vs10/gtk-inspector.vcxproj.filtersin | 20 ++++++++++++ ...k-inspector.vcxproj => gtk-inspector.vcxprojin} | 20 +----------- build/win32/vs9/Makefile.am | 1 + ...gtk-inspector.vcproj => gtk-inspector.vcprojin} | 20 +----------- gtk/inspector/Makefile.am | 32 ++++++++++++++++++ 7 files changed, 57 insertions(+), 76 deletions(-) commit dd4bc9fd09dd2578cdf35746429b80af9b8a88cb Author: Chun-wei Fan Date: Tue Jun 3 17:00:02 2014 +0800 gdk/Makefile.am: Fix MSVC Project Generation We need to account for the sources that moved to gdk/deprecated/, so the slashes must be converted here. gdk/Makefile.am | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ddc3f8eae7872f8a0aa02c04ad1f915f33fa01c8 Author: Chun-wei Fan Date: Tue Jun 3 16:55:46 2014 +0800 MSVC Builds: Update the gtk-demo Projects Add the gestures demo sources into the build, so that the build will complete properly. build/win32/vs10/gtk3-demo.vcxproj | 1 + build/win32/vs10/gtk3-demo.vcxproj.filters | 1 + build/win32/vs9/gtk3-demo.vcproj | 1 + 3 files changed, 3 insertions(+) commit 48533b7b6025e1079a8873357a9f70441cb14f7b Author: Chun-wei Fan Date: Tue Jun 3 16:46:53 2014 +0800 Update Visual Studio Solution Files Remove all references to the gtka11y projects as they are all built together with the GTK DLL. https://bugzilla.gnome.org/show_bug.cgi?id=730615 build/win32/vs10/gtk+.sln | 18 ------------------ build/win32/vs9/gtk+.sln | 22 ---------------------- 2 files changed, 40 deletions(-) commit 42945f0d74e5920da07d60a13f9011980c80a6c9 Author: Matthias Clasen Date: Mon Jun 2 22:46:23 2014 -0400 Run reftests repeatedly Install test files that run the reftests in the Adwaita:dark and HighConstrast themes. It works, so why not. testsuite/reftests/Makefile.am | 7 +++++-- testsuite/reftests/reftests-dark.test.in | 3 +++ testsuite/reftests/reftests-hc.test.in | 3 +++ 3 files changed, 11 insertions(+), 2 deletions(-) commit 7f8d0552f07f0d49b6fa880218cdc8d2d6d3118f Author: Matthias Clasen Date: Mon Jun 2 22:37:29 2014 -0400 Drop debug spew from installed tests This is no longer needed, we found the problem. testsuite/reftests/reftests.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5bebbb06fa56b83a2bc5309a53ecc32737f36045 Author: Matthias Clasen Date: Mon Jun 2 22:33:20 2014 -0400 Add an expander reftest This test check that resizing the window when expanding the expander yields the same end result as having the expander expanded to begin with. The test uses the inhibit mechanism introduced in the previous commit. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/expand-expander.c | 40 ++++++++++++++++++++++++++++++++++++ testsuite/reftests/expander.ref.ui | 21 +++++++++++++++++++ testsuite/reftests/expander.ui | 22 ++++++++++++++++++++ 4 files changed, 84 insertions(+) commit b86f5a4086bfcf17bcb352b411fd7409c7e0d51b Author: Matthias Clasen Date: Mon Jun 2 22:31:49 2014 -0400 Add a way to delay snapshots in reftests This adds an inhibit api that code from the reftest module can use to delay the taking of the snapshot. Also refactor the code in gtk-reftest to use the inhibit mechanism for its own delaying of the snapshot until after the first expose. testsuite/reftests/Makefile.am | 3 ++- testsuite/reftests/gtk-reftest.c | 34 +++++++++++++++++++++++++++++----- testsuite/reftests/gtk-reftest.h | 28 ++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+), 6 deletions(-) commit 16c89eb5f756ff986570210a8b05d413356ef483 Author: Matthias Clasen Date: Mon Jun 2 21:43:04 2014 -0400 Forgotten file testsuite/reftests/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 94c065d64779992e8c3e89f42eee2fc5ec281dc2 Author: Matthias Clasen Date: Mon Jun 2 21:41:32 2014 -0400 Add a reftest for flipping icons Taking advantage of our new direction flipping ability. testsuite/reftests/flipping-icons.ref.ui | 63 +++++++++++++++++++++++++++++++ testsuite/reftests/flipping-icons.ui | 65 ++++++++++++++++++++++++++++++++ 2 files changed, 128 insertions(+) commit 3c0ebf65cf89140825a3f8c4c4e65170f8df4e8a Author: Carlos Garnacho Date: Mon Jun 2 18:04:36 2014 +0200 window: Only check for the event widget if clicked on the "content" region Every button press/release event reaching the the multipress gesture in GtkWindow and happening in the "title" region must be handled, regardless of the event widget. Children there wanting the event(s) for themselves are (and were always) expected to stop event propagation. So the only place to check for the event widget's "window-dragging" style property is the "content" region, which matches the pre-gestures behavior. This fixes some issues with sequences being mistakenly claimed (and events not propagated further) on situations it shouldn't. gtk/gtkwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 00656ed10bc108734a6bf677bb897d3de98bf891 Author: Carlos Garnacho Date: Mon Jun 2 17:55:26 2014 +0200 window: Handle manually bubbled events The multipress gesture must react to either direct events on the GtkWindow (special cased through _gtk_widget_check_handle_wm_event), or bubbled events from child widgets. Ensure bubbled events go through the gesture, those are fed manually to make sure events are only handled once, in either one or other place. The implicit grab will ensure that doesn't change mid-action. gtk/gtkwindow.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 7f33706c1282dde431c9b01c020f4315c730ad1c Author: Carlos Garnacho Date: Mon Jun 2 17:53:53 2014 +0200 window: Refactor _gtk_window_check_handle_wm_event() Separate the event widget check from event handling gtk/gtkwindow.c | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) commit e1c425a24dedc05d65a6ea3405285fd8388c8656 Author: Carlos Garnacho Date: Mon Jun 2 17:47:10 2014 +0200 treeview: Ensure the event is consumed on ::row-activate Otherwise the event is possibly handled, but still propagated further anyway. Ensure the event is consumed by claiming the current sequence on the GtkGestureMultiPress::pressed handler. gtk/gtktreeview.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 541ed65a51ce4b389f19cdd942d117d90fe0a0b2 Author: Carlos Garnacho Date: Sun Jun 1 20:20:08 2014 +0200 treeview: restrict the multipress gesture to GDK_BUTTON_PRIMARY ::row-activated only used to be triggered by GDK_BUTTON_PRIMARY, so make the multipress gesture handling this now to be only triggered by that same button. https://bugzilla.gnome.org/show_bug.cgi?id=731020 gtk/gtktreeview.c | 2 ++ 1 file changed, 2 insertions(+) commit a3cd0ee7d8a610feff39984254306cec4a6c9c73 Author: Matthias Clasen Date: Sun Jun 1 10:16:01 2014 -0400 Revert "Use minimum/natural size semantics" This reverts commit 6d53c2339f79baa0b295ecc614f41f9daab2e132. https://bugzilla.gnome.org/show_bug.cgi?id=731054 showed some major regressions caused by this commit. gtk/gtktreeprivate.h | 4 +- gtk/gtktreeview.c | 170 +++++++++++++++++++++++++++++------------------- gtk/gtktreeviewcolumn.c | 62 +++++++++--------- 3 files changed, 135 insertions(+), 101 deletions(-) commit 73ff6a8e0ff307b8d14986c64918022364ff10e7 Author: Matthias Clasen Date: Sun Jun 1 10:15:41 2014 -0400 Revert "Better resize of expandable columns" This reverts commit 0050d469b592ec571a5940f1ab1d842a76905e17. Conflicts: gtk/gtktreeview.c gtk/gtktreeview.c | 79 +++++++------------------------------------------------ 1 file changed, 9 insertions(+), 70 deletions(-) commit fd62353e2519e2d222f155f24264c0aebc7e2e6c Author: Matthias Clasen Date: Sun Jun 1 10:11:14 2014 -0400 Avoid another revert conflict Moving this bit up a few lines lets the following revert apply cleanly. gtk/gtktreeview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 210453b79ec84beb212249592a403a0332e81caf Author: Matthias Clasen Date: Sun Jun 1 10:09:52 2014 -0400 Revert "treeview: Remove unneeded checks" This reverts commit a158a2aa48c8023f99963642cc2657bff207b82d. The commit conflicts with a later revert, so move it out of the way. gtk/gtktreeview.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 97930a774bfe298d14b223f1748c4abf72cd3814 Author: Matthias Clasen Date: Sat May 31 18:46:43 2014 -0400 Add more gestures tests Some of these sequences look wrong/questionable to me. testsuite/gtk/gestures.c | 108 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 102 insertions(+), 6 deletions(-) commit bdf81a7c701f6fec52cb69a544f7ed9d3204ca43 Author: Matthias Clasen Date: Sat May 31 12:54:36 2014 -0400 gestures test: make more readable testsuite/gtk/gestures.c | 44 +++++++++++++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 5 deletions(-) commit 4298e88f48eecf3333565101dd696c1ab0864148 Author: Matthias Clasen Date: Sat May 31 12:48:00 2014 -0400 gestures: Add a test for grouping I'm not entirely convinced the test produces the expected outcome, here. testsuite/gtk/gestures.c | 153 ++++++++++++++++++++++++++++++----------------- 1 file changed, 99 insertions(+), 54 deletions(-) commit 1c24b288b097a654716be6a99788f9271d840562 Author: Matthias Clasen Date: Sat May 31 12:12:10 2014 -0400 Expand gesture tests a big more Print out sequence state changes, and cancellation, and verify that claiming a gestures causes the expected state changes. testsuite/gtk/gestures.c | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) commit 995b6d1fd4350f845b002b0929db549a8f1f4499 Author: Carlos Garnacho Date: Sat May 31 14:54:32 2014 +0200 textview: Only trigger drag gesture on GDK_BUTTON_PRIMARY This gesture was only meant to react on GDK_BUTTON_PRIMARY (either through real pointer events, or implicitly assumed from touch events), as it used to behave before gestures. Otherwise the gtk_drag_begin*() call assumes being triggered by button 1, and the drag misbehaves because that button isn't really in the state mask. https://bugzilla.gnome.org/show_bug.cgi?id=731016 gtk/gtktextview.c | 2 ++ 1 file changed, 2 insertions(+) commit fc1e274b897fe719dbec4e0c0f98d2753fa350ac Author: Piotr Drąg Date: Sat May 31 15:08:21 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 86267fd9bd4dc54cd70f44e70d3d4c8456b88708 Author: Benjamin Otte Date: Sat May 31 14:39:27 2014 +0200 gtk-reftest: Add GMODULE_CFLAGS/LIBS They aren't included in GTK_DEP_CFLAGS/LIBS so they need to be added manually. testsuite/reftests/Makefile.am | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit 98cf67ddba167039b3bd2fe9d3c47e4a6e0f3982 Author: Matthias Clasen Date: Sat May 31 00:16:07 2014 -0400 testsuite: put installed tests in the right place Follow the prevailing practice and put the installed tests into $libdir/installed-tests/$PACKAGE instead of $pkglibdir/installed-tests. testsuite/a11y/Makefile.am | 4 ++-- testsuite/a11y/a11ychildren.test.in | 2 +- testsuite/a11y/a11yderive.test.in | 2 +- testsuite/a11y/a11ytests.test.in | 2 +- testsuite/a11y/a11ytext.test.in | 2 +- testsuite/a11y/a11ytree.test.in | 2 +- testsuite/a11y/a11yutil.test.in | 2 +- testsuite/a11y/a11yvalue.test.in | 2 +- testsuite/css/Makefile.am | 4 ++-- testsuite/css/api.test.in | 2 +- testsuite/css/parser/Makefile.am | 4 ++-- testsuite/css/parser/test-css-parser.test.in | 2 +- testsuite/gdk/Makefile.am | 2 +- testsuite/gtk/Makefile.am | 2 +- testsuite/reftests/Makefile.am | 4 ++-- testsuite/reftests/reftests.test.in | 2 +- 16 files changed, 20 insertions(+), 20 deletions(-) commit 921b6519f1c1394bea02a2a4bde6859fd162f125 Author: Matthias Clasen Date: Fri May 30 23:45:11 2014 -0400 inspector: better type detection for resources Pass the name to g_content_type_guess. With this, most CSS gets sniffed as C source code. gtk/inspector/resource-list.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 5880c9e365949f846317d22824f853fcb384aea5 Author: Matthias Clasen Date: Fri May 30 23:30:56 2014 -0400 gtk-reftest: Don't warn needlessly Only warn about the --direction argument if the option was actually specified. testsuite/reftests/gtk-reftest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e4ba5b6ab6ce9fa742fcb34d9510e14ddbaff5b1 Author: Matthias Clasen Date: Fri May 30 23:21:13 2014 -0400 inspector: Go to the right tab when changing objects When going from attribute mapping to model, it makes most sense to go directly to the data tab, and when going from an action name to the owner, we want to show the actions tab. Make it so. gtk/inspector/prop-editor.c | 8 ++++---- gtk/inspector/prop-editor.h | 5 ++++- gtk/inspector/prop-list.c | 2 ++ gtk/inspector/window.c | 21 +++++++++++++++++++++ 4 files changed, 31 insertions(+), 5 deletions(-) commit 5ed6653859f6782ef4a62f0b06f9e35a2360a748 Author: Matthias Clasen Date: Fri May 30 22:56:12 2014 -0400 inspector: Allow jumping to actions The property editor for action-name properties now offers to go to the object where the action is defined. gtk/inspector/prop-editor.c | 105 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 105 insertions(+) commit d33ff810cc6ea09003020c33a4adb167397f282f Author: Matthias Clasen Date: Fri May 30 22:20:31 2014 -0400 inspector: Trivial string change 'Size Groups' looks better than 'Sizegroups'. gtk/inspector/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a18ec83b3b5c0ceb3e9e757411b9b2e5e7e74af6 Author: Benjamin Otte Date: Sat May 31 05:17:51 2014 +0200 reftests: Add reftest for direction change This reftest makes use of the new feature to add signal handlers. It adds a libreftest.so module containing all the code for the reftests. When adding a test named reftest.ui, please keep code contained in a source file names reftest.c and add that file to Makefile.am. https://bugzilla.gnome.org/show_bug.cgi?id=730833 testsuite/reftests/Makefile.am | 12 ++++ testsuite/reftests/set-default-direction.c | 74 +++++++++++++++++++++++++ testsuite/reftests/set-default-direction.ref.ui | 19 +++++++ testsuite/reftests/set-default-direction.ui | 18 ++++++ 4 files changed, 123 insertions(+) commit 047d2b5f6d63cce2321e3ce5f7436aea0c629c9b Author: Debarshi Ray Date: Tue May 27 20:41:50 2014 +0200 Update GtkImage icons when the direction is changed Don't call gtk_widget_set_state_flags(), it filters the direction flags. Instead, call gtk_widget_update_state_flags() directly. https://bugzilla.gnome.org/show_bug.cgi?id=730833 gtk/gtkwidget.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 690fb31fb4b526c27c5ef4dd144b8802e3dc37c8 Author: Benjamin Otte Date: Sat May 31 04:52:53 2014 +0200 gtk-reftest: Clarify --direction argument parameters ... and print a proper error message when the parameter is not recognized. testsuite/reftests/gtk-reftest.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 8bba9b6a4a10441fdc897550160b7fc36fb95ddf Author: Benjamin Otte Date: Fri May 30 22:36:10 2014 +0200 gtk-reftest: Allow loading code for reftests When connecting signal names, gtk-reftest now allows you to use a colon in the signal handler name like so: module:function_name where module is a module loaded from the same directory (or the .libs subdirectory for compatibility with uninstalled libtool) as the running test and the function is resolved in that module. Of course, normal function names work as before. testsuite/reftests/Makefile.am | 2 + testsuite/reftests/gtk-reftest.c | 135 +++++++++++++++++++++++++--- testsuite/reftests/reftest-module.c | 172 ++++++++++++++++++++++++++++++++++++ testsuite/reftests/reftest-module.h | 39 ++++++++ 4 files changed, 336 insertions(+), 12 deletions(-) commit 030140ccc4f1eeacc3782509f78108db0dd66b80 Author: Benjamin Otte Date: Fri May 30 04:33:06 2014 +0200 reftests: Add a reftest with signals testsuite/reftests/Makefile.am | 2 ++ .../reftests/window-show-contents-on-map.ref.ui | 21 +++++++++++++++++++++ testsuite/reftests/window-show-contents-on-map.ui | 18 ++++++++++++++++++ 3 files changed, 41 insertions(+) commit 1e4fea7ca97cf3cb02f553ced58542763769c034 Author: Benjamin Otte Date: Fri May 30 04:31:40 2014 +0200 reftests: Automatically connect signals testsuite/reftests/gtk-reftest.c | 1 + 1 file changed, 1 insertion(+) commit 3df52ae6d56fc4c47db1b72b9441c43f3ff665c2 Author: Benjamin Otte Date: Fri May 30 00:21:18 2014 +0200 builder: Cleanup Use the usual way of providing user data to vfuncs: - Don't allocate it, use the stack - Use CamelCase for naming the struct gtk/gtkbuilder.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit bb9bf4b40888da66129801313144ac3ad2129b04 Author: Matthias Clasen Date: Fri May 30 21:47:40 2014 -0400 inspector: Handle attribute mapping changes better When the mapping is changed, notify the property and queue a draw on the widget. This makes both the inspector and the app update their display. gtk/inspector/prop-editor.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 2e4c87038e99b98082d364dded65369cf9a1fb8d Author: Matthias Clasen Date: Fri May 30 21:35:39 2014 -0400 inspector: some code reshuffling gtk/inspector/prop-editor.c | 167 +++++++++++++++++++++++--------------------- 1 file changed, 89 insertions(+), 78 deletions(-) commit 6a9ea3487ec0f99ced4cdb05464089336a30f262 Author: Matthias Clasen Date: Fri May 30 20:35:43 2014 -0400 inspector: Support saving CSS We have a file chooser, lets use it. gtk/inspector/css-editor.c | 91 +++++++++++++++++++++++++++++++++++++++------ gtk/inspector/css-editor.ui | 8 ++++ 2 files changed, 87 insertions(+), 12 deletions(-) commit eec1bc7ed1ed6bd4d8e950ab9aae2b9a11419770 Author: Matthias Clasen Date: Fri May 30 18:50:07 2014 -0400 GtkPrintUnixDialog: Remove some dead code Automatic template children get cleaned up and NULLed out in destroy, the g_clear_pointer() calls in finalize never do anything. gtk/gtkprintunixdialog.c | 3 --- 1 file changed, 3 deletions(-) commit 54ec42f035d7b3d47968eecce30659a23e7b3e48 Author: Evan Nemerson Date: Mon May 26 09:13:02 2014 -0700 gtk: port many nullability annotation fixes from Vala bindings https://bugzilla.gnome.org/show_bug.cgi?id=730745 gtk/deprecated/gtkactiongroup.c | 4 ++-- gtk/deprecated/gtkhscale.c | 3 ++- gtk/deprecated/gtkrc.c | 11 +++++---- gtk/deprecated/gtkstyle.c | 12 +++++----- gtk/gtkbuilder.c | 2 +- gtk/gtkclipboard.c | 21 ++++++++--------- gtk/gtkclipboard.h | 11 +++++---- gtk/gtkcombobox.c | 2 +- gtk/gtkcontainer.c | 5 ++-- gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkcsssection.c | 2 +- gtk/gtkentry.c | 13 ++++++----- gtk/gtkfilechooser.c | 12 +++++----- gtk/gtkframe.c | 5 ++-- gtk/gtkicontheme.c | 51 ++++++++++++++++++++++------------------- gtk/gtklistbox.c | 2 +- gtk/gtkmenuitem.c | 2 +- gtk/gtkrecentfilter.h | 15 ++++++------ gtk/gtkselection.c | 9 ++++---- gtk/gtktreestore.c | 2 +- gtk/gtktreeview.c | 3 ++- gtk/gtkwidget.c | 4 ++-- 22 files changed, 103 insertions(+), 90 deletions(-) commit 4d1930cf74e99e346ec1b2bd31421e863e271358 Author: Matthias Clasen Date: Fri May 30 13:38:26 2014 -0400 Make notebook content redraw during drag The extra condition here that caused the current child to not redraw during reordering was introduced in f383e1f1 during the port to ::draw, but was not explained in the commit message, and removing it has no obvious negative effect. https://bugzilla.gnome.org/show_bug.cgi?id=730767 gtk/gtknotebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6de6656d1f8d762093fe9d73f2713380573b9e39 Author: Matthias Clasen Date: Fri May 30 12:39:07 2014 -0400 GtkBuilder: Ensure types are fully initialized Just calling get_type() does not ensure that the signals, properties and everything else gets set up properly. Ensure it is, by calling g_type_class_ref() before using the type. This fixes the testcase added in the previous commit. gtk/gtkbuilder.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 1153ea86edc978423aa8b2fadfaef6a5e0c742ea Author: Matthias Clasen Date: Fri May 30 12:09:43 2014 -0400 Add a failing builder testcase This shows failing because class_init hasn't been run yet. testsuite/gtk/builder.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) commit 1af5f6d5071693ed6db956cc7e1863c624f50326 Author: Matthias Clasen Date: Fri May 30 07:05:50 2014 -0400 GtkActionable: Update the docs Actionable is no longer restricted to "app" and "win" actions. gtk/gtkactionable.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit 8817fa9e3dd7fcc08ef64eb6c2b74a04fa3aa192 Author: Matthias Clasen Date: Thu May 29 21:52:40 2014 -0400 GtkScrolledWindow: Add some NULL checks back Turns out these were not quite redundant, gtk_container_forall may be called very early during construction. https://bugzilla.gnome.org/show_bug.cgi?id=730924 gtk/gtkscrolledwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 489b59867ce752a19d01fa43a86bbcefe6e7d8cf Author: Matthias Clasen Date: Thu May 29 10:30:57 2014 -0400 Revert "GtkMisc: Keep gtk_misc_set_alignment working" This reverts commit aabc356b80fab025d460f61b6c08743b2c10e20d. Labels are back to looking at x/yalign (for now). gtk/deprecated/gtkmisc.c | 24 ------------------------ 1 file changed, 24 deletions(-) commit 618e3d31570fca577cf374d7b318bc7ca44cadb1 Author: Carlos Garnacho Date: Wed May 28 19:39:07 2014 +0200 eventcontroller: Ensure controllers stay alive during event emission Those might trigger the destruction of some widget that would dispose the event controller while the event is still being handled, so keep an extra ref on the controller during event processing. gtk/gtkeventcontroller.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 8c21b0bee5a551870bc22268273dd2b436260d56 Author: Carlos Garnacho Date: Wed May 28 15:50:06 2014 +0200 docs: Add some more information in the "input handling model" chapter Grabs/Touch/Gestures are now fairly well covered. Only keyboard handling is left. docs/reference/gtk/input-handling.xml | 167 ++++++++++++++++++++++++++++++++-- 1 file changed, 158 insertions(+), 9 deletions(-) commit 9db729f5a6b992168400f818e3fde6ffafc7cc04 Author: Evan Nemerson Date: Mon May 26 09:37:13 2014 -0700 gtk: fix several out argument annotations These mostly just switch from allow-none to optional, nullable, or both, as necessary. https://bugzilla.gnome.org/show_bug.cgi?id=730745 gtk/deprecated/gtkstyle.c | 8 ++++---- gtk/gtktreeview.c | 36 ++++++++++++++++++++++-------------- gtk/gtktreeviewcolumn.c | 8 ++++---- 3 files changed, 30 insertions(+), 22 deletions(-) commit a77765f17229ee1d0ab93134b426bb2838179bac Author: Evan Nemerson Date: Mon May 26 09:42:23 2014 -0700 gtk: add missing ownership annotations ported from Vala https://bugzilla.gnome.org/show_bug.cgi?id=730745 gtk/gtkfilechooser.c | 2 +- gtk/gtkicontheme.c | 9 +++++---- gtk/gtkmain.c | 4 ++-- gtk/gtkpagesetup.c | 2 +- gtk/gtktextiter.c | 11 ++++++----- 5 files changed, 15 insertions(+), 13 deletions(-) commit 07d825574f62ee9575d10a3fa3c60001c7ffddfb Author: Evan Nemerson Date: Mon May 26 09:41:21 2014 -0700 gtk: add missing type annotations ported from Vala bindings https://bugzilla.gnome.org/show_bug.cgi?id=730745 gtk/gtkdialog.c | 2 +- gtk/gtkfilechooserbutton.c | 2 +- gtk/gtkinfobar.c | 3 ++- gtk/gtkmenushell.c | 2 +- gtk/gtkoverlay.c | 3 ++- gtk/gtkplacessidebar.c | 20 +++++++++++--------- gtk/gtksettings.c | 2 +- gtk/gtkstatusbar.c | 2 +- gtk/gtkwidget.c | 3 ++- 9 files changed, 22 insertions(+), 17 deletions(-) commit bda145b19f57bb2b8906fb8f1470b5a0fcd2b86e Author: Evan Nemerson Date: Mon May 26 09:32:32 2014 -0700 gtk: fix annotation syntax and missing some missing annotations These changes clean up various errors and omissions resulting from either slightly incorrect G-I/gtk-doc syntax or missing documentation blocks. https://bugzilla.gnome.org/show_bug.cgi?id=730745 gtk/a11y/gtkcontainercellaccessible.c | 8 ++++++++ gtk/a11y/gtktoplevelaccessible.c | 6 ++++++ gtk/deprecated/gtkcolorsel.h | 2 +- gtk/deprecated/gtkstyle.c | 4 ++-- gtk/gtkclipboard.h | 29 +++++++++++++++++++++++++++++ gtk/gtkwidget.c | 12 ++++++------ 6 files changed, 52 insertions(+), 9 deletions(-) commit e596e58c51a2f25c8ff4d35dea2bb77751b2f105 Author: Evan Nemerson Date: Mon May 26 09:29:56 2014 -0700 gtk: port missing array annotations from Vala bindings https://bugzilla.gnome.org/show_bug.cgi?id=730745 gtk/deprecated/gtkcolorsel.h | 12 ++++++++++-- gtk/gtkbindings.h | 2 +- gtk/gtkimcontextsimple.c | 2 +- gtk/gtkrecentmanager.h | 3 ++- gtk/gtkselection.c | 3 ++- gtk/gtktextbufferrichtext.h | 2 +- gtk/gtktreemodel.c | 2 +- 7 files changed, 18 insertions(+), 8 deletions(-) commit e568903360be156973c5767cda2f3248e722d507 Author: Evan Nemerson Date: Mon May 26 09:24:00 2014 -0700 gtk: fix many callback annotations to include closure information Without this information introspection-based consumers don't realize they can include context information, but instead think that they receive an extra gpointer argument (which they don't know how to handle). https://bugzilla.gnome.org/show_bug.cgi?id=730745 gtk/deprecated/gtkstock.h | 3 ++- gtk/gtkcelllayout.c | 2 +- gtk/gtkcelllayout.h | 2 +- gtk/gtkclipboard.h | 9 ++++++--- gtk/gtkiconview.h | 2 +- gtk/gtkmain.c | 2 +- gtk/gtkmain.h | 2 +- gtk/gtktexttagtable.h | 5 +++++ gtk/gtktreemodel.h | 2 +- gtk/gtktreeviewcolumn.c | 2 +- gtk/gtktreeviewcolumn.h | 2 +- 11 files changed, 21 insertions(+), 12 deletions(-) commit 2388c69f0ca8f6eb773267b582d6fdd88f3240cc Author: Matthias Clasen Date: Tue May 27 19:15:40 2014 -0400 Add some gesture tests This test starts to assemble tests related to event propagation, interaction with traditional event signal handlers, claiming of events, etc. testsuite/gtk/Makefile.am | 1 + testsuite/gtk/gestures.c | 303 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 304 insertions(+) commit 4841f8f77326a66ccbaeb58ecda3a6950dfdac18 Author: Matthias Clasen Date: Tue May 27 17:56:39 2014 -0400 Forgotten file Oops. Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 255b877915c9a718c96ebf4da73eb3a0ecf91300 Author: Matthias Clasen Date: Tue May 27 17:49:22 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a28d2cb9233eff0983b7b3517a9dbb00b62fd357 Author: Matthias Clasen Date: Tue May 27 15:54:38 2014 -0400 Move extract-strings to its own directory This will hopefully help resolve the circular dependency between libgtk linking against inspector/libgtkinspector and inspector/ needing extract-strings from gtk/. I didn't preserve the EXEEXT decorations in this operation - automake gave me stern warnings about it, so I just dropped them all. Somebody who cross-builds GTK+ will have to reconstruct this. configure.ac | 1 + gtk/Makefile.am | 15 ++------------- gtk/inspector/Makefile.am | 13 ++++++------- util/Makefile.am | 11 +++++++++++ {gtk => util}/extract-strings.c | 0 5 files changed, 20 insertions(+), 20 deletions(-) commit ea2d20e3133dec009ea9e59a65ec85ffbce445a1 Author: Matthias Clasen Date: Tue May 27 15:14:02 2014 -0400 Fix distcheck gtk/inspector/Makefile.am | 10 ++++++++++ 1 file changed, 10 insertions(+) commit d51c6af247e4b57a8de76cce85c8fe7228beccde Author: Matthias Clasen Date: Tue May 27 13:23:07 2014 -0400 3.13.2 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3bb404f40c97f757988551f23fa1434d01000f54 Author: Matthias Clasen Date: Tue May 27 14:30:47 2014 -0400 Don't assert in gtk_event_controller_constructed This prevents some of our generic object implementation tests from working with gesture objects. Instead, add g_return_if_fail checks in all the gesture constructors. gtk/gtkeventcontroller.c | 7 ++++--- gtk/gtkgesturedrag.c | 2 ++ gtk/gtkgesturelongpress.c | 2 ++ gtk/gtkgesturemultipress.c | 2 ++ gtk/gtkgesturerotate.c | 2 ++ gtk/gtkgestureswipe.c | 2 ++ gtk/gtkgesturezoom.c | 2 ++ 7 files changed, 16 insertions(+), 3 deletions(-) commit e4680d64a0864651557fbf8e04db409c827641a7 Author: Matthias Clasen Date: Tue May 27 13:40:57 2014 -0400 Documentation fixes Add a few missing symbols, and match up parameters in headers and doc comments. docs/reference/gdk/gdk3-sections.txt | 1 + docs/reference/gtk/gtk3-sections.txt | 8 ++++++++ gtk/gtkwidget.h | 4 ++-- 3 files changed, 11 insertions(+), 2 deletions(-) commit 6cd26e09392d9ea68d21daa9c68b0c03d3664cbc Author: Kristian Høgsberg Date: Mon May 26 14:45:21 2014 -0700 wayland: Use event->key.time for setting key event time We were using event->button.time before. That works because it's part of the common event header, but it's wrong. gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 544e1ac1d18c6479acba4ceede084bb24b3a9aa6 Author: Kristian Høgsberg Date: Mon May 26 13:43:48 2014 -0700 wayland: Remove unused XSERVER_TIME_IS_LATER macro gdk/wayland/gdkwindow-wayland.c | 8 -------- 1 file changed, 8 deletions(-) commit 4ce2f3e7696f5a36c456ecd196b2d0a2ed0c4b3c Author: Matthias Clasen Date: Tue May 27 12:45:04 2014 -0400 Silence gtk-doc warnings docs/reference/gtk/gtk3-sections.txt | 1 - gtk/gtkgesturerotate.c | 7 ++++--- gtk/gtkgesturezoom.c | 7 +++---- 3 files changed, 7 insertions(+), 8 deletions(-) commit 7fa02287556131aa66a5062fb091bdd3f15c360b Author: Matthias Clasen Date: Tue May 27 13:08:25 2014 -0400 Revert "GtkImage: Drop use of GtkMisc::x/yalign" This reverts commit 54d5b426fca71dcda22ea5467054fa801556c20a. Conflicts: gtk/gtkimage.c gtk/gtkimage.c | 75 +++++++++------------------------------------------------- 1 file changed, 11 insertions(+), 64 deletions(-) commit 24863a0b6a40eee8e2b675abeba629ed7edd3d83 Author: Matthias Clasen Date: Tue May 27 13:07:03 2014 -0400 Revert "GtkLabel: Drop use of GtkMisc::x/yalign" This reverts commit b320c198b6d325c35e6f6d32f4f841a913efa956. gtk/gtklabel.c | 91 ++++++++++++---------------------------------------------- 1 file changed, 18 insertions(+), 73 deletions(-) commit 6ce2a8fb138fd73ecd1a87c5c5506dd07496e032 Author: Matthias Clasen Date: Tue May 27 13:04:43 2014 -0400 Revert "Fix up GtkLabel and GtkImage sizing" This reverts commit 3b30cfa344ebc035ae7318dda5cfa11b8ab3aee7. gtk/gtkimage.c | 23 +++-------------------- gtk/gtklabel.c | 22 +++++++--------------- 2 files changed, 10 insertions(+), 35 deletions(-) commit 7c83a71239a46451b2cbab12618827509a5fbc85 Author: Matthias Clasen Date: Tue May 27 13:04:34 2014 -0400 Revert "More label and image sizing fixes" This reverts commit 68c1e83cf0fd7432dbb151ff351ce225708e3ffb. gtk/gtkimage.c | 16 ++++------------ gtk/gtklabel.c | 11 ----------- 2 files changed, 4 insertions(+), 23 deletions(-) commit d9bdb9a1379864d3971b2658a70f02fe5b6f9dd7 Author: Carlos Garnacho Date: Tue May 27 11:44:45 2014 +0200 window: Do not raise border windows on each size allocation This prevents these windows from being raised above popovers, which is about the only child widget that may overlap with those anyway. https://bugzilla.gnome.org/show_bug.cgi?id=730589 gtk/gtkwindow.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 4cf111aab3f93f6831150b39d76d2907e5dbe433 Author: Carlos Garnacho Date: Tue May 27 17:37:07 2014 +0200 treeview: Make the multipress gesture listen only to bin_window This gesture is meant to handle row-activated signaling, so make the gesture ignore events from any other window. gtk/gtktreeview.c | 5 +++++ 1 file changed, 5 insertions(+) commit 2012b67c5bfe8291dd77f6726b4f2c26f694b4ba Author: Carlos Garnacho Date: Tue May 27 17:35:36 2014 +0200 button: Claim the sequence on multipress::pressed In order to avoid the event from bubbling, as it used to (not) do. gtk/gtkbutton.c | 1 + 1 file changed, 1 insertion(+) commit e0fd9017220f4f490063a37c30b667a6921f74b7 Author: Carlos Garnacho Date: Tue May 27 17:33:31 2014 +0200 gesture: Fix wrong assert in gtk_gesture_set_window The window must be part of the event controller widget, so fix the inverted logic. gtk/gtkgesture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 49a6626884924abf165bc55e4c27d27d6b9547ff Author: Carlos Garnacho Date: Tue May 27 12:41:30 2014 +0200 eventcontroller: Hide more details Signals are left hidden, so the only entry point to handle_event/reset is API. gtk/gtkeventcontroller.c | 57 ++++++++++-------------------------------------- 1 file changed, 11 insertions(+), 46 deletions(-) commit 907e9f19462fd1dee31a32fafa6826832a958f7c Author: Carlos Garnacho Date: Tue May 27 12:38:49 2014 +0200 gtk: Update GtkGesture users to the GtkPropagationPhase semantics change Mainly doing s/TARGET/BUBBLE/ on the fully ported widgets, but GtkTreeView where the double click handler has moved to GTK_PHASE_TARGET so it runs parallelly to the still existing event handlers. gtk/gtkbutton.c | 2 +- gtk/gtkcolorplane.c | 4 ++-- gtk/gtkcolorscale.c | 2 +- gtk/gtkcolorswatch.c | 4 ++-- gtk/gtkentry.c | 4 ++-- gtk/gtkswitch.c | 4 ++-- gtk/gtktextview.c | 4 ++-- gtk/gtktreeview.c | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) commit 505efbb3f3ae76ffdd4f7e9871cedd84c41cb673 Author: Carlos Garnacho Date: Tue May 27 12:14:52 2014 +0200 widget: Change GtkCapturePhase behavior in event controllers' handling Previously, there would be globally just a capture and a bubble phase, with the event just going down the hierarchy once, and the up once. GTK_PHASE_TARGET actually meaning "run within event handlers", so in a hierarchy of 3 widgets, emission would be: Capture(C) Capture(B) Capture(A) Target(A) (if event handlers allow) Bubble(A) Target(B) (if event handlers allow) Bubble(B) Target(C) (if event handlers allow) Bubble(C) This commit changes this behavior and uses GTK_PHASE_TARGET in a less misleading way, running only on the widget that was meant to receive the event. And GTK_PHASE_BUBBLE has taken over the execution place of GTK_PHASE_TARGET, so the emission remains: Capture(C) Capture(B) Capture(A) Target(A) Bubble(A) (if event handlers allow) Bubble(B) (...) Bubble(C) (...) As it was, GTK_PHASE_BUBBLE was useful for running event controllers paralelly to event handlers, without modifying a single line in those. For those mixed scenarios, Any of the other phases will have to be used at discretion, or the event handlers eventually changed to chain up and let the default event handlers in GtkWidget to be run. gtk/gtkwidget.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit a8e833dc5ce32b46dd4d109aaaaf8f6c2837248f Author: Carlos Garnacho Date: Tue May 27 12:14:17 2014 +0200 window: Avoid double event processing in the multipress event controller The events to those are fed outside the regular event propagation scheme, through _gtk_window_check_handle_wm_event(), so set the controller to GTK_PHASE_NONE so events aren't processed first manually, and then automatically. gtk/gtkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 9f8bd7a2bc54e850af0428006cc36d3e22ae2a2c Author: Carlos Garnacho Date: Mon May 26 14:32:59 2014 +0200 gesturezoom: Just return a double in get_scale_delta() Checking whether the gesture is active is a responsibility of the caller. demos/gtk-demo/gestures.c | 4 ++-- gtk/gtkgesturezoom.c | 18 +++++++----------- gtk/gtkgesturezoom.h | 3 +-- 3 files changed, 10 insertions(+), 15 deletions(-) commit 8f7d5fb2c0858f3928c5bff39879a54bf91409cc Author: Carlos Garnacho Date: Mon May 26 14:29:17 2014 +0200 gesturerotate: Just return a double in get_angle_delta() Whether the gesture is active or recognized should be checked before in callers, or just not used naively. demos/gtk-demo/gestures.c | 4 ++-- gtk/gtkgesturerotate.c | 20 +++++++------------- gtk/gtkgesturerotate.h | 3 +-- 3 files changed, 10 insertions(+), 17 deletions(-) commit d05a9f9a7b2371b13bf9ec766482f1bb15a3853e Author: Carlos Garnacho Date: Mon May 26 14:02:30 2014 +0200 gesture: Replace gtk_gesture_attach/detach with event controller API Event controllers now auto-attach, and the GtkCapturePhase only determines when are events dispatched, but all controllers are managed by the widget wrt grabs. All callers have been updated. demos/gtk-demo/gestures.c | 20 ++++--- docs/reference/gtk/gtk3-sections.txt | 6 +- gtk/gtkbutton.c | 9 +-- gtk/gtkcolorplane.c | 9 ++- gtk/gtkcolorscale.c | 4 +- gtk/gtkcolorswatch.c | 9 ++- gtk/gtkdnd.c | 2 - gtk/gtkentry.c | 9 ++- gtk/gtkeventcontroller.c | 106 ++++++++++++++++++++++++++++++++++- gtk/gtkeventcontroller.h | 7 +++ gtk/gtkgesture.c | 60 ++------------------ gtk/gtkgesture.h | 6 -- gtk/gtkpaned.c | 4 +- gtk/gtkrange.c | 12 +--- gtk/gtkscrolledwindow.c | 26 ++++----- gtk/gtkspinbutton.c | 4 +- gtk/gtkswitch.c | 9 ++- gtk/gtktextview.c | 9 ++- gtk/gtktreeview.c | 9 +-- gtk/gtkwidget.c | 41 ++++++++------ gtk/gtkwidgetprivate.h | 3 +- gtk/gtkwindow.c | 8 +-- 22 files changed, 209 insertions(+), 163 deletions(-) commit ad6606e8af05875e60260903c071b6cc7e135194 Author: Carlos Garnacho Date: Mon May 26 12:38:06 2014 +0200 gtk: Update callers of GtkGesturePan orientation gtk/gtkpaned.c | 6 +++--- gtk/gtkscrolledwindow.c | 6 +++--- gtk/gtkswitch.c | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) commit 2e903243c69a5c9c6b6498a77a10d49b7e78846f Author: Carlos Garnacho Date: Mon May 26 12:08:55 2014 +0200 eventcontroller: Make the event-mask property and methods private. This will rarely have any use if no subclassing is allowed, so just make it private for our own. docs/reference/gtk/gtk3-sections.txt | 2 -- gtk/gtkeventcontroller.c | 45 +----------------------------------- gtk/gtkeventcontroller.h | 6 ----- gtk/gtkeventcontrollerprivate.h | 4 ++++ gtk/gtkgesture.c | 1 + gtk/inspector/gestures.c | 2 +- 6 files changed, 7 insertions(+), 53 deletions(-) commit ef61c9c58b6e4c6c364d4df72f10d877aee24e33 Author: Carlos Garnacho Date: Mon May 26 11:58:18 2014 +0200 gtk: Replace GtkPanOrientation with GtkOrientation And document GtkOrientation to be more generic. There's little added value in a separate enum for this. gtk/gtkenums.h | 24 +++++------------------- gtk/gtkgesturepan.c | 42 +++++++++++++++++++++--------------------- gtk/gtkgesturepan.h | 10 +++++----- gtk/gtkscrolledwindow.c | 2 +- 4 files changed, 32 insertions(+), 46 deletions(-) commit 68c1e83cf0fd7432dbb151ff351ce225708e3ffb Author: Matthias Clasen Date: Tue May 27 06:00:21 2014 -0400 More label and image sizing fixes Go back to respecting GtkMisc::xpad/ypad. Not doing so breaks the misc-alignment reftest. As long as we still derive from GtkMisc, we may as well do this. gtk/gtkimage.c | 16 ++++++++++++---- gtk/gtklabel.c | 11 +++++++++++ 2 files changed, 23 insertions(+), 4 deletions(-) commit 3b30cfa344ebc035ae7318dda5cfa11b8ab3aee7 Author: Matthias Clasen Date: Tue May 27 00:21:46 2014 -0400 Fix up GtkLabel and GtkImage sizing When GtkMisc was removed, I forgot to apply the style context padding. This caused the info-bar-message-types reftest to fail. gtk/gtkimage.c | 23 ++++++++++++++++++++--- gtk/gtklabel.c | 22 +++++++++++++++------- 2 files changed, 35 insertions(+), 10 deletions(-) commit 2488b954f24c01f99995ff22898628c57b4aedc1 Author: Matthias Clasen Date: Mon May 26 23:15:53 2014 -0400 Don't use hicolor as the default icon-theme The icontheme lookup code has a special-case that prefers builtin icons if the theme name is "hicolor". This is problematic for our reftests, which run in a barebones environment with not settings. gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 38daabd8380b4eedd910966ff4c72fcc8847cf73 Author: Matthias Clasen Date: Mon May 26 10:37:34 2014 -0400 docs: enum cleanup Move GtkIMPreeditStyle nad GtkIMStatusStyle to the settings where they are solely used. docs/reference/gtk/gtk3-sections.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0bd0f39576edb5805bdc4ae907ed15e1fc827231 Author: Matthias Clasen Date: Mon May 26 10:24:02 2014 -0400 docs: enum cleanup Move GtkStateType to the GtkWidget apis where it is used, and mark the enum as deprecated. docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkenums.h | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) commit 4ae95157ae328fd625802624961e91f7dde281c7 Author: Matthias Clasen Date: Mon May 26 10:17:07 2014 -0400 docs: remove markup The overview chapters don't go through shorthand processing, so don't use them there. docs/reference/gtk/input-handling.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 750f6b9913c092fbadec5e2421c153536ef83004 Author: Kalev Lember Date: Mon May 19 13:19:11 2014 +0200 GtkApplication: Fix two muxer-related memory leaks Drop the ref on the action muxer in finalize, and also make sure shutdown() tears down the muxer setup done in startup(). When GtkApplication adds itself to a muxer, it causes the muxer to take a ref on the GtkApplication. This has to be undone in shutdown() to make sure the GtkApplication doesn't end up holding a ref on itself. https://bugzilla.gnome.org/show_bug.cgi?id=730383 gtk/gtkapplication.c | 3 +++ 1 file changed, 3 insertions(+) commit 8230299748c5948ad64a95fa473128bca61efaf8 Author: Matthias Clasen Date: Sat May 24 23:30:01 2014 -0400 inspector: Allow changing attribute mappings gtk/inspector/prop-editor.c | 110 +++++++++++++++++++++++++++++++++----------- 1 file changed, 84 insertions(+), 26 deletions(-) commit 83f9649c9c377b2fc01d41ad741dfdd384fbf2b0 Author: Matthias Clasen Date: Sat May 24 20:46:30 2014 -0400 docs: Move GdkColor off into a deprecated section docs/reference/gdk/gdk-docs.sgml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit edb4c65c5b0ed4b47843f25ef4af284228bc51f0 Author: Kalev Lember Date: Sun May 25 00:17:55 2014 +0200 Bump ATK dependency to 2.12 ... for the new AtkValue interface that we implement. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit df0f14fe2a99d567f3c0c795043608463b830267 Author: Matthias Clasen Date: Sat May 24 18:41:16 2014 -0400 Some more updates NEWS | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 8a6aca31a846138f819ae72245697da5b7a298d2 Author: Matthias Clasen Date: Sat May 24 18:18:36 2014 -0400 Typo fixes gtk/gtkwidget.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 44d76fbcdc0b6dbf616aea5a5986ee328d9c22dd Author: Matthias Clasen Date: Sat May 24 11:16:35 2014 -0400 Organize the icons Sort the icon list in check-icon-theme.c, and add comments so we have a chance of keeping the order. testsuite/gtk/check-icon-names.c | 43 ++++++++++++++++++++-------------------- 1 file changed, 22 insertions(+), 21 deletions(-) commit e916391e6ccf71c8f3a358ffecc5e743c9167096 Author: Matthias Clasen Date: Sat May 24 11:06:10 2014 -0400 Drop an unused object A downside of using templates is that we can have 'parasitic' objects in there that don't get used for anything. gtk/resources/ui/gtkfilechooserwidget.ui | 5 ----- 1 file changed, 5 deletions(-) commit 72c79deb3b705218750464d91fd2fd51f3ceea97 Author: Matthias Clasen Date: Sat May 24 11:01:27 2014 -0400 GtkIconTheme: Add more debug spew Still trying to track down test problems in gnome-continuous. gtk/gtkicontheme.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 0d402601b2b857a04c0d049d1c80457267b5bf6e Author: Jasper St. Pierre Date: Fri May 23 23:01:27 2014 -0400 wayland: Add support for show_window_menu gdk/wayland/gdkwindow-wayland.c | 35 +++++++++++++++++++++++++++++++++++ gdk/wayland/protocol/xdg-shell.xml | 20 ++++++++++++++++++++ 2 files changed, 55 insertions(+) commit 0430ae0ca5096cbe936bf780e9eaa1c9f623d652 Author: Benjamin Otte Date: Sat May 24 19:38:56 2014 +0200 image: Draw the image again An important line of code was removed in 54d5b426fca71dcda22ea5467054fa801556c20a that lead to an undefined variable. Add that line back. gtk/gtkimage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 1cbace5f68602575b24627e0e40a1792fb87a97d Author: Benjamin Otte Date: Sat May 24 16:21:02 2014 +0200 combobox: Implement clip gtk/gtkcombobox.c | 2 ++ 1 file changed, 2 insertions(+) commit 750178e1ed92fc10414b00de36297cf021f7e54f Author: Benjamin Otte Date: Sat May 24 16:20:48 2014 +0200 entry: Implement clip gtk/gtkentry.c | 2 ++ 1 file changed, 2 insertions(+) commit 4bbca4451290a0ae7029f1886698800228321982 Author: Benjamin Otte Date: Sat May 24 16:16:41 2014 +0200 gestureswipe: Fix return value gtk/gtkgestureswipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b03d54b75f28b38fa1efbb79005970c4d9df9d26 Author: Benjamin Otte Date: Sat May 24 16:16:32 2014 +0200 image: Remove unused variable gtk/gtkimage.c | 2 -- 1 file changed, 2 deletions(-) commit a9bcea51182f43d7779473db988b79d2992d2a79 Author: Benjamin Otte Date: Fri May 23 16:01:45 2014 +0200 button: Implement clip gtk/gtkbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit f5b1e75d93b3586b0d9ad47070a1a43e29cb35cf Author: Benjamin Otte Date: Fri May 23 15:52:16 2014 +0200 widget: Include box-shadow in the clip This allows all widgets that implement clip to use box shadows. gtk/gtkcssstylepropertyimpl.c | 2 +- gtk/gtkwidget.c | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) commit 0cd63faee25417d27385171dfa4b77618c20350f Author: Benjamin Otte Date: Wed May 21 23:13:52 2014 +0200 widget: Add _gtk_widget_set_css_clip() ... and use it in GtkBox and GtkGrid. gtk/gtkbox.c | 4 ++++ gtk/gtkgrid.c | 3 +++ gtk/gtkwidget.c | 43 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwidgetprivate.h | 3 ++- 4 files changed, 52 insertions(+), 1 deletion(-) commit 434f91feff8e59d78d4b9bdb5b17d520a6236fe1 Author: Benjamin Otte Date: Mon May 19 15:33:28 2014 +0200 spinner: Implement clip We now allow you to gtk-icon-transform() the spinner outside of the spinners allocation. gtk/gtkcssstylepropertyimpl.c | 2 +- gtk/gtkspinner.c | 27 +++++++++++++++ gtk/gtkstylecontext.c | 79 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkstylecontextprivate.h | 6 ++++ 4 files changed, 113 insertions(+), 1 deletion(-) commit 4f89eb05cf8a09a1ce1de4870fdc4395645a0bdf Author: Benjamin Otte Date: Sun May 18 16:02:04 2014 +0200 API: widget: Add gtk_widget_set_clip() API And handle the fact that drawing bounds are now handled by this API and the corresponding gtk_widget_get_clip(). Also add _gtk_widget_supports_clip() function to check if a widget has been ported to the new world. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkwidget.c | 143 ++++++++++++++++++++++++++++++----- gtk/gtkwidget.h | 6 ++ gtk/gtkwidgetprivate.h | 1 + 4 files changed, 134 insertions(+), 18 deletions(-) commit 1d897a9bf2fe2079c669973e9a6e02e4c939f974 Author: Matthias Clasen Date: Sat May 24 10:07:46 2014 -0400 docs: Flesh out the inspector section a bit docs/reference/gtk/running.sgml | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit a13d12a44564612f8b76fa8bc221e910146839f2 Author: Matthias Clasen Date: Sat May 24 09:54:06 2014 -0400 inspector: Make picking widgets work again This broke when I accidentally removed the line that adds each object to the hash table. Bring it back. gtk/inspector/widget-tree.c | 2 ++ 1 file changed, 2 insertions(+) commit 3f140d5391ba76ead938f4bab88911e1ba7080c9 Author: Rico Tzschichholz Date: Sat May 24 12:16:56 2014 +0200 docs: Fix make dist docs/reference/gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 0b586e52c2785bd859bdfd455d3a6a68f8990011 Author: Rico Tzschichholz Date: Sat May 24 09:52:41 2014 +0200 build: Fix typo gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 86d4c26420dfaba355d4993b2e0dc2fbea36a409 Author: Rico Tzschichholz Date: Sat May 24 09:24:46 2014 +0200 gtk: Fix make dist gtk/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit eab39253ec763a609dea55353012d6141adc87f2 Author: Rico Tzschichholz Date: Sat May 24 09:23:52 2014 +0200 build/win32: Drop a11y library references In addition to 4a4b23bfad8b30372f78b75e1eb5e68279ff5b09 build/win32/vs10/Makefile.am | 4 - build/win32/vs10/gtka11y.vcxproj.filtersin | 20 ----- build/win32/vs10/gtka11y.vcxprojin | 134 ---------------------------- build/win32/vs9/Makefile.am | 2 - build/win32/vs9/gtka11y.vcprojin | 135 ----------------------------- 5 files changed, 295 deletions(-) commit 7eaea2a849d810fc2901659de4ebc0c9e5bbd353 Author: Rico Tzschichholz Date: Sat May 24 09:22:53 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 2 +- po/POTFILES.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9037f7b64ece6a5e35ffcd7d3559e66412810d12 Author: Matthias Clasen Date: Sat May 24 01:56:44 2014 -0400 docs: more input handling docs docs/reference/gtk/input-handling.xml | 37 ++++++++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) commit f52dd9fc04cf600bdfa179a0967fc5ee66974d95 Author: Matthias Clasen Date: Sat May 24 00:47:16 2014 -0400 Fix a start/end mixup The headerbar example in gtk3-demo was showing two start buttons after the arrow removal. demos/gtk-demo/headerbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aabc356b80fab025d460f61b6c08743b2c10e20d Author: Matthias Clasen Date: Fri May 23 05:56:52 2014 -0400 GtkMisc: Keep gtk_misc_set_alignment working Now that labels and images no longer use x/yalign in their code, we need to make gtk_misc_set_alignment set the h/valign for these widgets, to keep it stumbling along until its final demise. https://bugzilla.gnome.org/show_bug.cgi?id=730613 gtk/deprecated/gtkmisc.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 1008e1541450a17d3a140cd50f086c4df167ec49 Author: Matthias Clasen Date: Thu May 22 22:54:18 2014 -0400 GtkToolButton: Drop use of GtkMisc Use h/valign instead of x/yalign. https://bugzilla.gnome.org/show_bug.cgi?id=730613 gtk/gtktoolbutton.c | 64 +++++++++++++++++++++++++++++++++++------------------ 1 file changed, 43 insertions(+), 21 deletions(-) commit 687eae4b513b367aaff2ad89457e874b935ce3d0 Author: Matthias Clasen Date: Thu May 22 22:53:52 2014 -0400 GtkAssistant: Drop use of GtkMisc Use halign instead of xalign. https://bugzilla.gnome.org/show_bug.cgi?id=730613 gtk/gtkassistant.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) commit 4d002d5e6a818080c5f3f1b14d034aa97c9de238 Author: Matthias Clasen Date: Thu May 22 22:53:17 2014 -0400 GtkAccelLabel: Drop use of GtkMisc Just use 0 instead of xpad. https://bugzilla.gnome.org/show_bug.cgi?id=730613 gtk/gtkaccellabel.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 54d5b426fca71dcda22ea5467054fa801556c20a Author: Matthias Clasen Date: Thu May 22 22:51:00 2014 -0400 GtkImage: Drop use of GtkMisc::x/yalign Instead, use GtkWidget::h/valign to position the image inside the allocation. And just stop using GtkMisc::x/ypad. https://bugzilla.gnome.org/show_bug.cgi?id=730613 gtk/gtkimage.c | 72 ++++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 62 insertions(+), 10 deletions(-) commit b320c198b6d325c35e6f6d32f4f841a913efa956 Author: Matthias Clasen Date: Thu May 22 21:19:49 2014 -0400 GtkLabel: Drop use of GtkMisc::x/yalign Instead, use GtkWidget::h/valign to position the text inside the allocation. And just stop using GtkMisc::x/ypad. https://bugzilla.gnome.org/show_bug.cgi?id=730613 gtk/gtklabel.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 73 insertions(+), 18 deletions(-) commit 0011c9dae4d7c1bf11da525c35dd9530842bdc31 Author: Matthias Clasen Date: Sat May 24 00:00:00 2014 -0400 Fix filechooser actionbar visibility The actionbar was always visible, even when there is no filter and no extra widget to show. Now we only show it when there is something to show. gtk/gtkfilechooserwidget.c | 14 ++++++++++++++ gtk/resources/ui/gtkfilechooserwidget.ui | 4 +++- 2 files changed, 17 insertions(+), 1 deletion(-) commit 51a09af076d4084e0f7f11c2cfcf1565baf2b70c Author: Matthias Clasen Date: Fri May 23 23:00:43 2014 -0400 inspector: Treat resources the same as in gtk/ gtk/inspector/inspector.gresource.xml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) commit ef38d6e397270d4f513d54e129186e4878ac4353 Author: Matthias Clasen Date: Fri May 23 22:59:22 2014 -0400 Add two more icon names to check These were found in the trash monitor. testsuite/gtk/check-icon-names.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 00d02491d8fda490e5578c44cf83e934c331ea35 Author: Matthias Clasen Date: Fri May 23 22:00:51 2014 -0400 Drop no-longer-used gtkrc files These were replaced by css files long ago. gtk/gtkrc.default | 3 - gtk/gtkrc.key.default | 3 - gtk/gtkrc.key.emacs | 111 ------------------------------------ gtk/gtkrc.key.mac | 155 -------------------------------------------------- 4 files changed, 272 deletions(-) commit 45e1128472ca7683046a9c2c25d9de64d8c0e896 Author: Matthias Clasen Date: Fri May 23 21:56:44 2014 -0400 Drop a pointless function No need to have a finalize function if it just chains up to the parent class. gtk/gtksearchengine.c | 11 ----------- 1 file changed, 11 deletions(-) commit 716ecff28d13f3fca0ea2dde1114f6d54d9c297c Author: Matthias Clasen Date: Fri May 23 21:41:58 2014 -0400 Trivial: slight code rearrangement gtk/gtkseparator.c | 91 +++++++++++++++++++++--------------------------------- 1 file changed, 36 insertions(+), 55 deletions(-) commit 38cbd87cac0db2f61bfe056f9296ba036f522283 Author: Matthias Clasen Date: Fri May 23 20:42:47 2014 -0400 tests: Stop using GtkAlignment Fix up all other tests to not use GtkAlignment anymore. tests/testanimation.c | 20 ++++--------- tests/testassistant.c | 19 ++++++------ tests/testcalendar.c | 52 +++++++++++++++++++------------- tests/testellipsise.c | 8 ++--- tests/testexpand.c | 70 +++++++++++++++---------------------------- tests/testfilechooserbutton.c | 10 +++---- tests/testpixbuf-scale.c | 6 ++-- tests/testpopover.c | 15 +++++++--- 8 files changed, 92 insertions(+), 108 deletions(-) commit 1af417a82d9df10c58921569c428112457ae7ad6 Author: Matthias Clasen Date: Fri May 23 20:42:01 2014 -0400 testadjustsize: Keep using an alignment We are explicitly comparing GtkAlignment with its replacements here. tests/testadjustsize.c | 2 ++ 1 file changed, 2 insertions(+) commit e74bb3db2a5600d2150a68f2260afcbaf2095e59 Author: Matthias Clasen Date: Tue May 13 23:18:17 2014 -0400 gtk-demo: Drop use of GtkAlignment demos/gtk-demo/transparent.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit 04703689b8d220c6f470ee6b4a4083cf2c6d5b82 Author: Matthias Clasen Date: Fri May 23 20:09:08 2014 -0400 Deprecate GtkAligment This has been dangling ever since 3.0. https://bugzilla.gnome.org/show_bug.cgi?id=645781 gtk/Makefile.am | 4 ++-- gtk/a11y/gtkbuttonaccessible.c | 2 ++ gtk/a11y/gtkwidgetaccessible.c | 3 ++- gtk/{ => deprecated}/gtkalignment.c | 27 +++++++++++++++++++-------- gtk/{ => deprecated}/gtkalignment.h | 10 +++++----- gtk/gtk.h | 2 +- gtk/gtkbutton.c | 2 +- gtk/gtktoolitemgroup.c | 4 ++++ gtk/gtktreeviewcolumn.c | 9 ++++++--- 9 files changed, 42 insertions(+), 21 deletions(-) commit 4928d5e4012ba6cfd2697d5bf084d2e8d93dfa32 Author: Matthias Clasen Date: Fri May 23 20:04:36 2014 -0400 Drop an unneeded include There's no GtkGesture in gtkwidget.h anymore. We do need an include in gtkwidgetprivate.h though. gtk/gtkwidget.h | 1 - gtk/gtkwidgetprivate.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) commit 4a4b23bfad8b30372f78b75e1eb5e68279ff5b09 Author: Evan Nemerson Date: Thu May 22 21:09:59 2014 -0700 a11y: build directly into libgtk instead of an internal library https://bugzilla.gnome.org/show_bug.cgi?id=730615 configure.ac | 1 - gtk/Makefile.am | 145 ++++++++++++++++++++++++++++++++++++--- gtk/a11y/Makefile.am | 190 --------------------------------------------------- 3 files changed, 136 insertions(+), 200 deletions(-) commit d4771d4a95dcf2ed7b2e00f65dd4c6d69af9fd5a Author: Matthias Clasen Date: Fri May 23 17:32:14 2014 -0400 More updates NEWS | 4 ++++ 1 file changed, 4 insertions(+) commit cd1cd40e9a9d7f6e26b33af7f993a365955e4aae Author: Matthias Clasen Date: Fri May 23 16:11:48 2014 -0400 Some updates NEWS | 100 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) commit 83c1869250db8c4de5cdf9384349e2ae6e168238 Author: Piotr Drąg Date: Fri May 23 20:48:12 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 6 +++++- po/POTFILES.in | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) commit bd35df05a55135d26601c86eba2df2eeef692ad4 Merge: 6c49ffe916 60e15deb83 Author: Carlos Garnacho Date: Fri May 23 19:58:46 2014 +0200 Merge branch 'gestures' commit 60e15deb83f054ad6cd257fc493e4da9eb52aa5d Author: Carlos Garnacho Date: Thu May 22 16:04:03 2014 +0200 spinbutton: Avoid touch text handles to pop up Those get in the middle more than help on these widgets, the widget is already packed with clickable areas and having handles (and their invisible clickable area around) hovering above don't help, plus the purpose in most likely numeric values is a bit doubtful. All touch events are either consumed by the up/down panels, or the swipe gesture, all GtkEntry handling of touch events on the text window is avoided, so handles to not appear anymore. gtk/gtkspinbutton.c | 45 ++++++++++++++++----------------------------- 1 file changed, 16 insertions(+), 29 deletions(-) commit a4a122c8e8d48761558bb7627f206f1cec377dd9 Author: Carlos Garnacho Date: Thu May 22 15:39:31 2014 +0200 colorswatch: Set gestures in GTK_PHASE_TARGET That's the right phase for gestures replacing entirely event handlers. gtk/gtkcolorswatch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d59c90966398eca6bbcfcd061bc8ef87e6f81cba Author: Carlos Garnacho Date: Thu May 22 15:36:32 2014 +0200 spinbutton: Use GTK_PHASE_CAPTURE for touch swipes The gesture must be able to catch first events for it to be seen as recognized in event handlers. gtk/gtkspinbutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01d74f86a05be8697dd3f0474110b1524722a1ec Author: Carlos Garnacho Date: Thu May 22 15:24:28 2014 +0200 widget: Flip execution order of GTK_PHASE_TARGET/BUBBLE the "bubble" phase used to run before event handlers before GTK_PHASE_TARGET was added, in order to keep phases in the expected order, move GTK_PHASE_BUBBLE to be run (still invariably) after event handlers. The only behavioral change should be wrt widgets wanting mixed event handler/ gesture handling, they could previously attach the gesture to the bubble phase and check for gtk_gesture_is_active() in the event handler to bail out, they'll have to use GTK_PHASE_CAPTURE for that purpose from now on. gtk/gtkwidget.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ca1510177c8784c5eee2fb1d73f43f2b2dfc27fd Author: Carlos Garnacho Date: Wed May 21 14:58:50 2014 +0200 texthandle: Mind the invisible area when moving the handle The handle is still centered horizontally, but the extra vertical space wasn't taken into account, leading to misplacing the dragging point (and the handle) during motion events. gtk/gtktexthandle.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit c9f54aef699978c638c07b0f597c95473a37bc5e Author: Carlos Garnacho Date: Wed May 21 14:57:07 2014 +0200 textview: Check first whether the sequence is handled, fetch later the event And always unset/hide the selection popover if unhandled, that means the sequence went grabbed/claimed somewhere else and cancelled here. gtk/gtktextview.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit f54277204fff17e586ab9a0ae4489632a5f0b0b7 Author: Carlos Garnacho Date: Wed May 21 14:51:46 2014 +0200 entry: Check first whether the sequence is handled, fetch later the event And always unset/hide the selection popover if unhandled, that means the sequence went grabbed/claimed somewhere else and cancelled here. gtk/gtkentry.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 485da90a2eb1a8e2907312c4fc5a90a59484010a Author: Carlos Garnacho Date: Tue May 20 14:10:31 2014 +0200 gesture: Use GdkEventSequence GType in signals gtk/gtkgesture.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 7e61216105d502f02a01bb31e201e4d58f944dc2 Author: Carlos Garnacho Date: Tue May 20 14:09:40 2014 +0200 gesture: Introspection fixes Set annotations on return values for gtk_gesture_get_device() and gtk_gesture_get_window(). gtk/gtkgesture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 03a3b2ccab7e2dca516ca77d518ca97965532111 Author: Carlos Garnacho Date: Tue May 20 14:08:27 2014 +0200 eventcontroller: introspection fix Set transfer annotation on gtk_event_controller_get_widget() gtk/gtkeventcontroller.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d4e75f07848adacd357f9dd90d6c0131824b4b3 Author: Carlos Garnacho Date: Tue May 20 14:07:16 2014 +0200 gdk: Make GdkEventSequence a boxed type Not much to copy nor free, but this'll make bindings happy gdk/gdkevents.c | 18 +++++++++++++++++- gdk/gdkevents.h | 4 ++++ 2 files changed, 21 insertions(+), 1 deletion(-) commit 5fdf07547feb0215b555ff114f1d58322c3e93b6 Author: Carlos Garnacho Date: Mon May 19 23:02:49 2014 +0200 paned: Handle pointer events from touchscreen devices GtkPaned may just capture pointer events because the child widget doesn't happen to have GDK_TOUCH_MASK set, resort to checking the device in that case. gtk/gtkpaned.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 04424319433c247f3e8a7703381840ff1c8caf3c Author: Matthias Clasen Date: Mon May 19 22:16:03 2014 -0400 Docs: Cosmetic fixes gtk/gtkeventcontroller.c | 4 ++-- gtk/gtkgesture.c | 54 ++++++++++++++++++++++++---------------------- gtk/gtkgesturedrag.c | 6 +++--- gtk/gtkgesturelongpress.c | 2 +- gtk/gtkgesturemultipress.c | 16 ++++++++------ gtk/gtkgesturepan.c | 2 +- gtk/gtkgesturesingle.c | 24 ++++++++++++--------- gtk/gtkgestureswipe.c | 6 +++--- gtk/gtkgesturezoom.c | 2 +- 9 files changed, 62 insertions(+), 54 deletions(-) commit 9f3f634c1606f34cd2c79be7e584e427e0d35c5f Author: Matthias Clasen Date: Mon May 19 21:46:30 2014 -0400 docs: Correct a reference gtk/gtkgesture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 70bccb38c34ad4ee1166ae24ad1a30b9343f60cb Author: Matthias Clasen Date: Mon May 19 21:41:35 2014 -0400 Revert "docs: GtkEventController was dropped from public api" This reverts commit eefac03b395a6b885fd61c100b48652200beb996. docs/reference/gtk/gtk-docs.sgml | 1 + docs/reference/gtk/gtk3-sections.txt | 22 ++++++++++++++++++++++ docs/reference/gtk/gtk3.types.in | 1 + 3 files changed, 24 insertions(+) commit c83d3f054b1214afd562101dacc59b8873aaf788 Author: Matthias Clasen Date: Mon May 19 21:41:21 2014 -0400 Revert "docs: More GtkEventController removal" This reverts commit 75f503fb1fc9068c9e1a0d02126c55addbe8eb3e. gtk/gtkgesture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ae5f930d1b610a6e4133800f7d133b8a1bfd7a43 Author: Matthias Clasen Date: Mon May 19 21:24:46 2014 -0400 Docs: Add information about event propagation gtk/gtkgesture.c | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) commit aead8a360bbd23b007f8d3464ef2974e62f33302 Author: Matthias Clasen Date: Mon May 19 20:45:42 2014 -0400 Docs: Minor changes gtk/gtkgesture.c | 2 +- gtk/gtkgesturelongpress.c | 2 +- gtk/gtkgesturesingle.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) commit 729a3a98d9cc1d62ed1c5e9b8abe595421e12e74 Author: Matthias Clasen Date: Mon May 19 20:17:12 2014 -0400 Document gtk_gesture_set_state gtk/gtkgesture.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 9917b15bd35bc7de44c7d429bcbd156f7437bd18 Author: Matthias Clasen Date: Mon May 19 20:10:48 2014 -0400 docs: gtk_gesture_cancel_sequence was made private docs/reference/gtk/gtk3-sections.txt | 1 - 1 file changed, 1 deletion(-) commit 01cd5cf3822700f2e3e739574d198c5535838d71 Author: Matthias Clasen Date: Mon May 19 20:00:31 2014 -0400 docs: More GtkEventController removal gtk/gtkgesture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6cc9744558269779f8e9e6d2b54682bb6121c6d0 Author: Matthias Clasen Date: Mon May 19 19:37:16 2014 -0400 docs: GtkEventController was dropped from public api docs/reference/gtk/gtk-docs.sgml | 1 - docs/reference/gtk/gtk3-sections.txt | 22 ---------------------- docs/reference/gtk/gtk3.types.in | 1 - 3 files changed, 24 deletions(-) commit 681164564e2a681f1d157a47c67e2fa975de6b4f Author: Carlos Garnacho Date: Mon May 19 19:58:54 2014 +0200 paned: Use GtkGesture to handle handle dragging Dragging is all handled by a GtkGesturePan now, matching the paned orientation. On touch events, a wider area is listened for, so touch events don't need to be as accurate to initiate dragging, if no dragging is truly initiated in this case, events are just forwarded for child widgets to handle. gtk/gtkpaned.c | 287 +++++++++++++++++++++++++++------------------------------ 1 file changed, 134 insertions(+), 153 deletions(-) commit 8f20780fb936ced3d4a886d862dfe165798b43bb Author: Carlos Garnacho Date: Mon May 19 16:08:56 2014 +0200 switch: Use GtkGesture to handle input events A pan gesture is used to handle switch dragging, which is only triggered by horizontal panning movements. A multipress gesture handles the cases where clicking without dragging happens, just toggling the switch. gtk/gtkswitch.c | 255 ++++++++++++++++++++++++++------------------------------ 1 file changed, 118 insertions(+), 137 deletions(-) commit a47d0406a78f7674ec0731d5c6dd4de98f470496 Author: Matthias Clasen Date: Fri May 16 19:44:43 2014 -0400 inspector: Add more complete gesture support Add a dedicated tab that shows how gestures are grouped, and allows changing the propagation phase. gtk/inspector/Makefile.am | 2 + gtk/inspector/gestures.c | 262 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/gestures.h | 54 ++++++++++ gtk/inspector/init.c | 2 + gtk/inspector/window.c | 4 + gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 11 ++ po/POTFILES.in | 1 + 8 files changed, 337 insertions(+) commit 1c5f14a9e45ceaed1f167febf54c67e7956086fb Author: Matthias Clasen Date: Fri May 16 14:27:58 2014 -0400 inspector: Minimal support for gestures We're just showing them as objects in the tree, for now. gtk/inspector/widget-tree.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit a727c41e4aaa06b4be8847e4cd2ed2cb53e8fdab Author: Matthias Clasen Date: Fri May 16 13:14:13 2014 -0400 Add back a private api to list controllers This will let us show them in the inspector. gtk/gtkwidget.c | 22 ++++++++++++++++++++++ gtk/gtkwidgetprivate.h | 2 ++ 2 files changed, 24 insertions(+) commit 2ba89256f4436a2b4930709c5696008adc2d8b93 Author: Carlos Garnacho Date: Fri May 16 19:59:31 2014 +0200 texthandle: Make a bigger hit area around texthandles The hit area now extends to all sides around the handle, instead of just towards where the text is. This makes it easier to grab handles once shown. gtk/gtktexthandle.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) commit f322e55e19034e1076a28ae53b7c0147a23efb06 Author: Carlos Garnacho Date: Fri May 16 19:35:08 2014 +0200 gesture: Declare GtkGesture:window as an object property gtk/gtkgesture.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f81f00ed6bae414349d6022a58c89d3a152030be Author: Carlos Garnacho Date: Fri May 16 18:58:11 2014 +0200 widget: 3-way merge ate my g_object_ref() Move it to the right place. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d351c521148489f03c4cb4949922e58e62674f40 Author: Carlos Garnacho Date: Fri May 16 18:35:45 2014 +0200 scrolledwindow: Handle directional cancellation if there is a single scroll direction A pan gesture is optionally attached if there is only one scrolling direction, the pan gesture orientation is changed so movements tangential to the scroll direction get scrolling cancelled (The pan gesture is automatically denied when that happens, and that state change spreads to the others gestures in the group). If the pan direction happens in the expected directions, no cancellation happens, and scrolling eventually takes place. gtk/gtkscrolledwindow.c | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) commit 57eca4f4455365f88d7d314526a24dbaafaf6e73 Author: Carlos Garnacho Date: Fri May 16 18:34:15 2014 +0200 widget: remove check on whether the controller was already added Multiple calls are supposedly allowed to change the phase (although unlikely to happen), so remove the g_return_if_fail() checking whether the controller was already added. gtk/gtkwidget.c | 1 - 1 file changed, 1 deletion(-) commit bd68db4b256b3bc15f0d1be5bc8956cee298fb89 Author: Carlos Garnacho Date: Fri May 16 18:33:05 2014 +0200 pan: Remove wrong check From the very early days where there were a NONE=0 GtkPanOrientation value. This makes vertical pan operations work as expected. gtk/gtkgesturepan.c | 3 --- 1 file changed, 3 deletions(-) commit e70e3963dd01798f771432635274d6678d73a9da Author: Carlos Garnacho Date: Fri May 16 17:46:12 2014 +0200 entry: Ensure the cursor text handle is shown after touching to reposition cursor. gtk/gtkentry.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit cf7bb9a3bf809a7ed1066c337342c6c3d00925da Author: Carlos Garnacho Date: Fri May 16 17:38:28 2014 +0200 popover: Hide widget first when disposing In order to ensure invariants are kept. gtk/gtkpopover.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 15f71703583a010f7a88b8b210bd8d67e22f3084 Author: Carlos Garnacho Date: Fri May 16 17:36:59 2014 +0200 entry: Obey implementations' frame when placing handles/popovers around Y=0 was assumed in a few places, not necessarily right on eg. vertical spinbuttons. gtk/gtkentry.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) commit 10c47fa6d60aaf6a12b8cdaf5de2b2290b735932 Author: Carlos Garnacho Date: Fri May 16 17:35:53 2014 +0200 entry: Improve touch popover interaction Presses alternatively show and dismiss the popover, the popover is still always shown invariably after any dragging happens (either text selection, or dragging a text handle) gtk/gtkentry.c | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) commit bd5fb3a09f4bc300fb6517716a47340516a7916a Author: Carlos Garnacho Date: Fri May 16 17:32:59 2014 +0200 textview: Show the magnifier popover a bit farther from the touch position Somewhat arbitrary at the moment, would be nice to have minimal units support for this, or at least hidpi support. gtk/gtktextview.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit b2d56c588ad548cf23e82028937cb299e9f8b720 Author: Carlos Garnacho Date: Fri May 16 17:27:42 2014 +0200 textview: Improve touch popover interaction Presses alternatively show and dismiss the popover, the popover is still always shown invariably after any dragging happens (either text selection, or dragging a text handle) gtk/gtktextview.c | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) commit e580c29f07f42fb171264a97389a18a2a7cdb3cd Author: Carlos Garnacho Date: Thu May 15 15:03:18 2014 +0200 entry: Use gestures to handle pointer/touch events Similarly to GtkTextView, a GtkGestureMultiPress gesture handles button/touch presses to initiate one selection mode or other, and a GtkGestureDrag is used to handle text selection and DnD checks. The code from button press/release, motion, and grab_notify handlers has been shuffled into the actions triggered by those gestures. gtk/gtkentry.c | 671 +++++++++++++++++++++++++++++---------------------------- 1 file changed, 343 insertions(+), 328 deletions(-) commit d559cade42e882971d0a76e69c3986dfd56f1002 Author: Carlos Garnacho Date: Wed May 14 13:05:41 2014 +0200 spinbutton: Attach "swipe to spin" controllers to the bubble phase It is unnecessary to have those process events manually, just attach those to the bubble phase. gtk/gtkspinbutton.c | 35 +++-------------------------------- 1 file changed, 3 insertions(+), 32 deletions(-) commit 70ea24b9e8be0f119ee9a51bb08e8b23d4ca0c10 Author: Carlos Garnacho Date: Wed May 14 12:56:16 2014 +0200 colorplane: Fully port to GtkGesture A GtkGestureDrag is used for color selection, removing also the need to track the pointer state in widget data. The GDK grab performed just to set the crosshair cursor has been replaced by a call to gdk_window_set_device_cursor(), which will be unset if the drag operation is finished, or cancelled due to the implicit grab being broken. gtk/gtkcolorplane.c | 187 ++++++++++++++++++++++++---------------------------- 1 file changed, 87 insertions(+), 100 deletions(-) commit a6526eb82081811316d73597dda740930b18fc9e Author: Carlos Garnacho Date: Wed May 14 12:53:54 2014 +0200 gdk: Lookup both device and global cursor when checking up the hierarchy When the pointer cursor is updated on CSW, lookup for either a device cursor, or a global one. It would previously lookup for windows with a global cursor, and then check if it had a device cursor, which would skip windows with only device cursors set, and unexpectedly set the global cursor. gdk/gdkwindow.c | 1 + 1 file changed, 1 insertion(+) commit ced7e7c08dce8eeb06c3aa9d59ebe6846d852afc Author: Carlos Garnacho Date: Mon May 12 19:52:35 2014 +0200 button: Make multipress gesture exclusive We only want actions to be triggered by a single sequence there, so buttons trigger no actions on further simultaneous touches happening. gtk/gtkbutton.c | 1 + 1 file changed, 1 insertion(+) commit 0b3f4d5555dd44d09e96f58aa6d72fe4b91f0745 Author: Carlos Garnacho Date: Mon May 12 19:50:26 2014 +0200 gesturesingle: Add an "exclusive" boolean property All "exclusive" gestures listen for either pointer events, or "pointer emulating" touch events, so only a single sequence at a time can make these run. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkgesturesingle.c | 81 ++++++++++++++++++++++++++++++++++++ gtk/gtkgesturesingle.h | 7 ++++ 3 files changed, 90 insertions(+) commit fd9925141b38d464d2cc60a31ecf5f3b58953dc5 Author: Carlos Garnacho Date: Mon May 12 19:12:27 2014 +0200 button: Use GtkGestureMultiPress for signal emission It is now useful for that purpose with a ::release signal, so replace the custom GtkGestureSingle with one of these. gtk/gtkbutton.c | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) commit e638ff79744586eaea549605836f51db6a06ca61 Author: Carlos Garnacho Date: Mon May 12 19:11:53 2014 +0200 drag: Allow gtk_gesture_get_start_point/offset() to be called on ::drag-end gtk/gtkgesturedrag.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit d2db31ee5e0cc597c1418cc3e0bf6c8aa9382979 Author: Carlos Garnacho Date: Mon May 12 17:02:03 2014 +0200 multipress: Add matching ::released signal This signal will always be paired with a ::pressed signal, unless the sequence is cancelled, or the controller is reset. the n_press argument in the signal always matches the ::press signal one, even if GtkGestureMultiPress::stopped was emitted in between. gtk/gtkgesturemultipress.c | 43 ++++++++++++++++++++++++++++++++++++++- gtk/gtkgesturemultipressprivate.h | 6 +++++- 2 files changed, 47 insertions(+), 2 deletions(-) commit 04c8b4c7056b45e17b82d83dc079360c71f18923 Author: Carlos Garnacho Date: Mon May 12 16:56:41 2014 +0200 multipress: Protect against fleeting touches mistriggering events The current sequence (as per gtk_gesture_single_get_current_sequence) is used to find out the coordinates. And only emit ::pressed if the gesture began through a GDK_BUTTON_PRESS/TOUCH_BEGIN (eg. not due to an extra touch being lifted) gtk/gtkgesturemultipress.c | 92 +++++++++++++++++++++++++--------------------- 1 file changed, 51 insertions(+), 41 deletions(-) commit 24f20864b44afe1c9031b7e9b705a5ad0bf400e6 Author: Carlos Garnacho Date: Sat May 10 20:59:55 2014 +0200 textview: Set up controllers on the GTK_PHASE_TARGET propagation phase This way events are managed by gestures in the event handlers themselves, respecting the execution order already assumed by subclasses around. gtk/gtktextview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dd164502f733bb587bc07f46a401b00bd5422622 Author: Carlos Garnacho Date: Sat May 10 20:52:17 2014 +0200 widget: Hook GTK_PHASE_TARGET controllers to the default event handlers Just call the controllers on that phase if the default widget handlers are run. For compatibility reasons, in the touch event handler, let the pointer emulating touch be transformed to a pointer event as usual, in order to have widget handlers a chance to run at all. If they have to be managed by a controller in that phase, it'll have to be through the default pointer event handlers. gtk/gtkwidget.c | 43 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) commit 1c48cc253d30526e7c5eb920e3e562f8e38a526c Author: Carlos Garnacho Date: Sat May 10 20:50:23 2014 +0200 gesture: Add GTK_PHASE_TARGET This phase is meant to run in the default widget handlers, as opposed to externally as in the bubble/capture phase. This will be most usually the expected phase for every controller replacing code in event handlers in GTK+, just so invocation and triggering order is kept unaltered. gtk/gtkenums.h | 10 +++++++--- gtk/gtkgesture.c | 2 +- gtk/gtkwidget.c | 5 ++--- 3 files changed, 10 insertions(+), 7 deletions(-) commit 3d34f26a6a16de728b45e557f6552c2cf4fc49a9 Author: Carlos Garnacho Date: Sat May 10 20:46:47 2014 +0200 gesture: Handle GdkEventGrabBroken That may happen separately from grab-notify, and also due to external reasons, so ensure all sequences are cancelled if a grab is taken in some GdkWindows that would obscure events on the controller. gtk/gtkgesture.c | 27 +++++++++++++++++++++++++++ gtk/gtkgesturesingle.c | 5 +++++ 2 files changed, 32 insertions(+) commit 6a290bdecba4007329d0c46b75023b5f633bba29 Author: Matthias Clasen Date: Fri May 9 19:24:27 2014 -0400 GtkColorSwatch: Use gesture for button events too gtk/gtkcolorswatch.c | 73 +++++++++++++++++----------------------------------- 1 file changed, 23 insertions(+), 50 deletions(-) commit 6896c979a9fa25bbd56d27244ff3add7d4cf882a Author: Matthias Clasen Date: Fri May 9 18:55:48 2014 -0400 GtkWindow: Only use a multipress gesture for toplevels There is no point in creating and attaching this gesture for override-redirect windows, so don't do it. gtk/gtkwindow.c | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) commit bad1dd4ac76e304a3b587cfb35cae6fe105d2037 Author: Matthias Clasen Date: Fri May 9 15:53:27 2014 -0400 Be careful about the list of event controllers We can end up with _gtk_widget_remove_controller getting called while we are iterating over the list in _gtk_widget_run_controllers. To avoid trouble, only mark the event controller as dead by setting data->controller to NULL, and defer the actual freeing and list manipulation to the loop in _gtk_widget_run_controllers. Update other places that operate on controllers to handle data->controller being NULL. gtk/gtkwidget.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit d97e4bf6b71fa6cffb8895310ed00ba59db6f4c0 Author: Carlos Garnacho Date: Fri May 9 13:19:12 2014 +0200 textview: Convert gestures' coordinates to text window ones And make some code shared between multipress/drag gesture. gtk/gtktextview.c | 144 +++++++++++++++++++++++++++++++----------------------- 1 file changed, 83 insertions(+), 61 deletions(-) commit f47138b6531886c78cf711d908ff93ee35424a57 Author: Carlos Garnacho Date: Thu May 8 16:28:49 2014 +0200 textview: Use GtkGestureDrag for text selection/DnD remaining code in button press/release, motion notify, and grab notify handlers has been shuffled to be managed by this gesture. gtk/gtktextview.c | 421 ++++++++++++++++++++++++++---------------------------- 1 file changed, 202 insertions(+), 219 deletions(-) commit a4da4f8dfa2201d4d0c02cbf8a5fa9c22c50939d Author: Carlos Garnacho Date: Wed May 7 13:15:30 2014 +0200 textview: Use GtkGestureMultiPress for click handling The button press handler is no longer necessary, and most of its code has been shuffled into the GtkGestureMultiPress::pressed handler. gtk/gtktextview.c | 252 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 138 insertions(+), 114 deletions(-) commit fe9685bca12c0f8b8538f65c49f1d57f82ad08bb Author: Carlos Garnacho Date: Wed May 7 19:08:50 2014 +0200 widget: tighten the conditions at which a press event is emulated Make it really sure that the event is only emitted after every gesture that consumed the button press is done with the sequence. The event must only be emulated if a gesture in the capture phase happened to consume the event, be cancelled, and gtk/gtkgesture.c | 7 +++-- gtk/gtkwidget.c | 92 ++++++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 71 insertions(+), 28 deletions(-) commit 6e9b054543213692f47740143497d87786843a75 Author: Carlos Garnacho Date: Wed May 7 19:06:42 2014 +0200 widget: Fix gesture event handler retval for bubbled events Do not clobber the return value if the regular event handler happens to return FALSE, even if the gesture meant to consume the event. gtk/gtkwidget.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 2a0bf33bc9ce5ef7e717ee18ba614a6eddc6ec3a Author: Carlos Garnacho Date: Wed May 7 11:18:00 2014 +0200 gesture: Prevent against sequence cancellation within gtk_gesture_set_state() Sequences may be cancelled within the ::sequence-state-changed handler, which would change the points hashtable as it's being iterated in this function. So iterate over a list of sequences and let the hashtable change freely. gtk/gtkgesture.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 44a960199b495bd0e4863e81f1def1e717450a93 Author: Carlos Garnacho Date: Tue May 6 18:22:57 2014 +0200 gesture: Make gtk_gesture_get_last_update_time() private docs/reference/gtk/gtk3-sections.txt | 1 - gtk/gtkgesture.c | 20 +++----------------- gtk/gtkgesture.h | 5 ----- gtk/gtkgestureprivate.h | 4 ++++ gtk/gtkgestureswipe.c | 5 +++-- 5 files changed, 10 insertions(+), 25 deletions(-) commit 83d57951547c5d5beea39ea8d8c652b8286be231 Author: Carlos Garnacho Date: Tue May 6 18:18:10 2014 +0200 gesture: Remove gtk_gesture_get_last_event_type gtk/gtkgesture.c | 29 ----------------------------- 1 file changed, 29 deletions(-) commit 8ab35016a63b9e10dbfd1e268d1610b53da1727b Author: Carlos Garnacho Date: Tue May 6 18:10:32 2014 +0200 gesture: make gtk_gesture_cancel_sequence() private gtk/gtkgesture.c | 16 +++------------- gtk/gtkgesture.h | 6 ------ gtk/gtkgestureprivate.h | 3 +++ gtk/gtkwidget.c | 3 +-- 4 files changed, 7 insertions(+), 21 deletions(-) commit 0288fd0a88471b63d707be4d9542ad1aab5f4d2a Author: Carlos Garnacho Date: Tue May 6 18:04:25 2014 +0200 gesture: Make gtk_gesture_check() private docs/reference/gtk/gtk3-sections.txt | 1 - gtk/gtkgesture.c | 46 +++++++----------------------------- gtk/gtkgesturelongpress.c | 3 ++- gtk/gtkgesturemultipress.c | 3 ++- gtk/gtkgestureprivate.h | 2 ++ 5 files changed, 14 insertions(+), 41 deletions(-) commit 994c94c25b1a02d8a9df2360f62e346f59c6170e Author: Carlos Garnacho Date: Tue May 6 17:27:17 2014 +0200 dnd: Check on the right gesture sequence when starting the drag op gtk/gtkdnd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5369c7702909e6b6dd5c0790d2d68445ae9b0201 Author: Carlos Garnacho Date: Tue May 6 15:50:01 2014 +0200 gesture: Simplify gesture/widget interaction public API The propagation phase property/methods in GtkEventController are gone, This is now set directly on the GtkWidget add/remove controller API, which has been made private. The only public bit now are the new functions gtk_gesture_attach() and gtk_gesture_detach() that will use the private API underneath. All callers have been updated. demos/gtk-demo/gestures.c | 8 ++-- docs/reference/gtk/gtk3-sections.txt | 11 ++--- gtk/gtkbutton.c | 4 +- gtk/gtkcolorplane.c | 4 +- gtk/gtkcolorscale.c | 6 +-- gtk/gtkcolorswatch.c | 12 ++--- gtk/gtkdnd.c | 7 +-- gtk/gtkeventcontroller.c | 83 +--------------------------------- gtk/gtkeventcontroller.h | 8 ---- gtk/gtkgesture.c | 49 ++++++++++++++++++++ gtk/gtkgesture.h | 6 +++ gtk/gtkrange.c | 8 ++-- gtk/gtkscrolledwindow.c | 24 +++------- gtk/gtkspinbutton.c | 16 ++----- gtk/gtktreeview.c | 6 +-- gtk/gtkwidget.c | 88 +++++++++--------------------------- gtk/gtkwidget.h | 8 ---- gtk/gtkwidgetprivate.h | 6 +++ gtk/gtkwindow.c | 9 +--- 19 files changed, 119 insertions(+), 244 deletions(-) commit f0940c962fe3df73cd15bd0d9de92e85158e37d5 Author: Carlos Garnacho Date: Tue May 6 15:25:31 2014 +0200 widget: Keep a widget reference around _gtk_widget_run_controllers() The widget may be destroyed within the loop, in reaction to the signals sent by the controllers. Protect against that. gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit db55f8a4e54f6151b6d64bb2dd030fd19e5c269e Author: Carlos Garnacho Date: Tue May 6 15:23:24 2014 +0200 gesture: Add explanatory note in GtkGesture::end Explain that this signal may be triggered by an extra touch that causes the gesture to surpass GtkGesture:n-points. gtk/gtkgesture.c | 5 +++++ 1 file changed, 5 insertions(+) commit 5c9f4bd07823cbbfc5098deae82efdcc96f58998 Author: Carlos Garnacho Date: Tue May 6 15:20:56 2014 +0200 gesture: Cancel sequences that make a gesture exceed the number of touches as they happen This makes it possible to track those through gtk_gesture_handles_sequence(), without guessing from last event type or sequence state. gtk/gtkgesture.c | 19 +++++++++++++++---- gtk/gtkscrolledwindow.c | 14 ++++---------- 2 files changed, 19 insertions(+), 14 deletions(-) commit 134acf3fda0857681e3874fd8185e5236ce70000 Author: Carlos Garnacho Date: Tue May 6 14:12:13 2014 +0200 widget: Change slightly the gesture cancellation policy in a same widget Within a widget, if a gesture accepts a sequence, it would previously cancel every other gesture that not in the same group. Change this to only cancelling gestures that previously claimed the gesture, and let gestures with state=NONE for that sequence remain like that. This enables late recognition of gestures, even on the presence of another gesture group that was more eager at claiming the gesture. One usecase is user-defined panning gestures on scrolledwindows, if ::capture-button-press is TRUE (eg. the default), the gesture is claimed early in order to consume the button press, but that would tipically make every other gesture group deny the sequence. With this change, the pan gesture can keep state=NONE, and later claim the sequence for itself if the panning gesture is recognized. Also, do not propagate state=DENIED to every gesture in the widget, that was unintended. gtk/gtkwidget.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 4589f0e0c841c58b4418cecded0ad3a2a4f6e9d2 Author: Carlos Garnacho Date: Tue May 6 11:43:31 2014 +0200 rotate: Ensure delta is between [0..2π] gtk/gtkgesturerotate.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit c34280d97b763f2550c87b4e046b2679712c65f3 Author: Carlos Garnacho Date: Tue May 6 11:39:15 2014 +0200 pan: make the direction factor less narrow in v/h directions gtk/gtkgesturepan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit e080eafef8216d149cc262633c3021acf06e9236 Author: Carlos Garnacho Date: Mon May 5 14:21:36 2014 +0200 gesture: Handle GDK_TOUCH_CANCEL events The wayland windowing backend emits such events for instance, so have gestures cancel the sequence as those events get through. gtk/gtkgesture.c | 3 +++ 1 file changed, 3 insertions(+) commit d9e6395ee98c5c34ff414aa83638b096693b2def Author: Carlos Garnacho Date: Mon Apr 28 12:53:36 2014 +0200 gesture: Protect against odd window hierarchies If no match is found with the gesture widget when poking the event window parents, bail out safely instead of falling in an infinite loop. This was seen on Mutter. gtk/gtkgesture.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit cbe47c02a125988e5153ff957c48ec7b338da93d Author: Carlos Garnacho Date: Thu Apr 17 13:05:11 2014 +0200 swipe: Don't emit ::swipe if there are still active touches Avoids sending spurious signals when an extra touch happens. gtk/gtkgestureswipe.c | 3 +++ 1 file changed, 3 insertions(+) commit 42df9eda2d469eddc8f576aa09f80cdcc72a883a Author: Matthias Clasen Date: Mon May 5 22:40:18 2014 -0400 Prevent subclassing of gestures For now, at least. We do this by hiding the instance and class structures in private headers. gtk/Makefile.am | 8 +++++++ gtk/gtkeventcontroller.c | 3 ++- gtk/gtkeventcontroller.h | 16 ------------- gtk/gtkeventcontrollerprivate.h | 42 ++++++++++++++++++++++++++++++++++ gtk/gtkgesture.c | 3 ++- gtk/gtkgesture.h | 29 ------------------------ gtk/gtkgesturedrag.c | 3 ++- gtk/gtkgesturedrag.h | 22 ------------------ gtk/gtkgesturedragprivate.h | 47 +++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturelongpress.c | 5 +++-- gtk/gtkgesturelongpress.h | 18 --------------- gtk/gtkgesturelongpressprivate.h | 44 ++++++++++++++++++++++++++++++++++++ gtk/gtkgesturemultipress.c | 1 + gtk/gtkgesturemultipress.h | 19 ---------------- gtk/gtkgesturemultipressprivate.h | 44 ++++++++++++++++++++++++++++++++++++ gtk/gtkgesturepan.c | 3 ++- gtk/gtkgesturepan.h | 17 -------------- gtk/gtkgesturepanprivate.h | 42 ++++++++++++++++++++++++++++++++++ gtk/gtkgestureprivate.h | 36 +++++++++++++++++++++++++++--- gtk/gtkgesturerotate.c | 3 ++- gtk/gtkgesturerotate.h | 16 ------------- gtk/gtkgesturerotateprivate.h | 42 ++++++++++++++++++++++++++++++++++ gtk/gtkgesturesingle.c | 3 ++- gtk/gtkgesturesingle.h | 13 ----------- gtk/gtkgesturesingleprivate.h | 40 +++++++++++++++++++++++++++++++++ gtk/gtkgestureswipe.c | 3 ++- gtk/gtkgestureswipe.h | 17 -------------- gtk/gtkgestureswipeprivate.h | 43 +++++++++++++++++++++++++++++++++++ gtk/gtkgesturezoom.c | 3 ++- gtk/gtkgesturezoom.h | 15 ------------- gtk/gtkgesturezoomprivate.h | 41 ++++++++++++++++++++++++++++++++++ 31 files changed, 446 insertions(+), 195 deletions(-) commit 93b7883372d588362aa93e308298cdcdbf2dc658 Author: Matthias Clasen Date: Thu May 1 22:05:42 2014 -0400 GtkSpinButton: Don't leak the gestures gtk/gtkspinbutton.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit c6c41262b678a3e1fd0d95a11b92c709a2a08baa Author: Matthias Clasen Date: Thu May 1 22:00:01 2014 -0400 GtkWindow: Don't leak the gesture gtk/gtkwindow.c | 5 +++++ 1 file changed, 5 insertions(+) commit 17088e4add3e4a967ea502703559ac9d0569b15e Author: Matthias Clasen Date: Thu May 1 21:53:35 2014 -0400 GtkTreeView: Remove unused field gtk/gtktreeview.c | 1 - 1 file changed, 1 deletion(-) commit c63c1caac02e34c3223e2917cb627e40c62d9de5 Author: Matthias Clasen Date: Thu May 1 21:01:33 2014 -0400 gtk3-demo: Don't leak the color chooser demos/gtk-demo/colorsel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3a752658ab7008bd61effdde840262bae23c5fca Author: Matthias Clasen Date: Thu May 1 21:00:28 2014 -0400 GtkColorPlane: Actually add the long press gesture This was missed because gtk_widget_remove_controller silently does nothing on unowned controllers. gtk/gtkcolorplane.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 487ac50e93a98050b0f9bd26f9a97df37dd06cef Author: Matthias Clasen Date: Thu May 1 20:58:13 2014 -0400 GtkButton: Don't leak the gesture gtk/gtkbutton.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 616aac8d82b46d08176e21ac5eee031b6334db15 Author: Matthias Clasen Date: Thu May 1 20:26:40 2014 -0400 Forgotten file gtk/gtkbuttonprivate.h | 3 +++ 1 file changed, 3 insertions(+) commit 0106099f5b8ee7ffef8e8560f513c9519d0c3499 Author: Matthias Clasen Date: Thu May 1 20:15:40 2014 -0400 GtkButton: Port to GtkGesture Quick-and-dirty patch to use a GtkGestureSingle for both button press/release and touch event handling. gtk/gtkbutton.c | 110 +++++++++++++++++--------------------------------------- 1 file changed, 32 insertions(+), 78 deletions(-) commit f73f4d82e044bfa023f8adf2ee02243cc9053628 Author: Carlos Garnacho Date: Thu Apr 10 13:56:55 2014 +0200 widget: remove GtkGesture-related signals The utility of those signals is somewhat dubious now that there is gtk_gesture_group(), so make that the only way to coordinate gestures. The cooperation model offered by gtk_gesture_group() is flexible enough, gtk/gtkwidget.c | 63 ++++++++------------------------------------------------- 1 file changed, 8 insertions(+), 55 deletions(-) commit bf6181a382c22fc411056c488b63434350a9997e Author: Carlos Garnacho Date: Thu Apr 10 13:46:03 2014 +0200 docs: Add missing GtkEventController functions docs/reference/gtk/gtk3-sections.txt | 4 ++++ 1 file changed, 4 insertions(+) commit 35bed1ac14409183cff449c2b148776361343f8d Author: Carlos Garnacho Date: Thu Apr 10 13:45:38 2014 +0200 widget: Add docs for GtkGesture-related API gtk/gtkwidget.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 63dd7a568efc71b164705fff455b49e121a22c51 Author: Carlos Garnacho Date: Thu Apr 10 13:45:19 2014 +0200 gesturesingle: doc fixes gtk/gtkgesturesingle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 556eb398e52ab1ce5bd208259e3fda1b011c71ff Author: Carlos Garnacho Date: Thu Apr 10 13:45:06 2014 +0200 zoom: doc fixes gtk/gtkgesturezoom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad2346f762e3be493e8290e2d5ad9b054dbb503e Author: Carlos Garnacho Date: Thu Apr 10 13:45:00 2014 +0200 swipe: doc fixes gtk/gtkgestureswipe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1f8cf3c32224ce021daed1ab85fccd0e88499928 Author: Carlos Garnacho Date: Thu Apr 10 13:44:49 2014 +0200 rotate: doc fixes gtk/gtkgesturerotate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 135a653ee2e1cbafb7aad153c02b1eb939541845 Author: Carlos Garnacho Date: Thu Apr 10 13:44:06 2014 +0200 pan: doc fixes gtk/gtkgesturepan.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 24dc172b462434cecf424ba716c0ef157592a368 Author: Carlos Garnacho Date: Thu Apr 10 13:43:53 2014 +0200 multipress: doc fixes gtk/gtkgesturemultipress.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit fa168e202e4ff3b30588ac20ebdec35e8b3e7821 Author: Carlos Garnacho Date: Thu Apr 10 13:43:41 2014 +0200 longpress: doc fixes gtk/gtkgesturelongpress.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3cbd2b97b8ba557c9b0642436525e79522282ad4 Author: Carlos Garnacho Date: Thu Apr 10 13:43:27 2014 +0200 drag: doc fixes gtk/gtkgesturedrag.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ec50d776ce10e71f5cad7e23aa356b637ab949fa Author: Carlos Garnacho Date: Thu Apr 10 13:43:15 2014 +0200 gesture: doc fixes gtk/gtkgesture.c | 59 +++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 39 insertions(+), 20 deletions(-) commit dbc7f011b380747c633f6b289d817936a72db08a Author: Carlos Garnacho Date: Thu Apr 10 13:43:01 2014 +0200 eventcontroller: doc fixes gtk/gtkeventcontroller.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 958efad71d54e1b471e9eb696aa44bdbd1f673fe Author: Carlos Garnacho Date: Wed Apr 9 18:29:48 2014 +0200 docs: Add missing controller/gesture docs docs/reference/gtk/gtk-docs.sgml | 2 ++ docs/reference/gtk/gtk3-sections.txt | 63 +++++++++++++++++++++++++++++++----- docs/reference/gtk/gtk3.types.in | 2 ++ 3 files changed, 59 insertions(+), 8 deletions(-) commit a0e9de671b114ee47f82b5560710782389b07fad Author: Carlos Garnacho Date: Wed Apr 9 18:29:02 2014 +0200 pan: Add missing documentation gtk/gtkgesturepan.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 72 insertions(+), 1 deletion(-) commit c10998edb5a0c87f076c0a6f9b4d128748ab9adf Author: Carlos Garnacho Date: Wed Apr 9 18:28:49 2014 +0200 zoom: Add missing documentation gtk/gtkgesturezoom.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit dc1e8454a708b448310b7d664c4d95bbc44e400f Author: Carlos Garnacho Date: Wed Apr 9 18:28:43 2014 +0200 rotate: Add missing documentation gtk/gtkgesturerotate.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 2df48ba8863adb118528da15db5dcdc5cff5d7d0 Author: Carlos Garnacho Date: Wed Apr 9 18:28:27 2014 +0200 swipe: Add missing documentation gtk/gtkgestureswipe.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 28237f80f59666a5049d505cf0b6b89c90584b77 Author: Carlos Garnacho Date: Wed Apr 9 18:28:20 2014 +0200 drag: Add missing documentation gtk/gtkgesturedrag.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit 90b2f386e76ca92b1aba76ce8bf13c1621841e96 Author: Carlos Garnacho Date: Wed Apr 9 18:28:12 2014 +0200 longpress: Add missing documentation gtk/gtkgesturelongpress.c | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) commit 4602f34111c7537ff16ea08c27d742463a88584e Author: Carlos Garnacho Date: Wed Apr 9 18:28:03 2014 +0200 multipress: Add missing documentation gtk/gtkgesturemultipress.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit 862f9d876ec3fae0d0533fd299f6ed2bdb6fe762 Author: Carlos Garnacho Date: Wed Apr 9 18:27:50 2014 +0200 gesturesingle: Add missing documentation gtk/gtkgesturesingle.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit ac8dcccb3237b764063142d8b7bd727839e2a1f6 Author: Carlos Garnacho Date: Wed Apr 9 18:27:42 2014 +0200 gesture: Add missing documentation gtk/gtkgesture.c | 217 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 209 insertions(+), 8 deletions(-) commit c60c0fe4c5cd7fce415cbd721c38fde8e8179421 Author: Carlos Garnacho Date: Wed Apr 9 18:27:31 2014 +0200 eventcontroller: Add missing documentation gtk/gtkeventcontroller.c | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) commit 48367b14326fc78af27453f3ea6a6022e97abd06 Author: Carlos Garnacho Date: Wed Apr 9 18:27:11 2014 +0200 enums: Add missing docs to controller/gesture enums gtk/gtkenums.h | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit d768c2cb84bdeae0ab6e24884624bc333e1f3a89 Author: Carlos Garnacho Date: Tue Apr 8 21:27:49 2014 +0200 Remove GtkPressAndHold This is replaced by GtkGestureLongPress, and all its callers have been updated to use the replacement. gtk/Makefile.am | 2 - gtk/gtkpressandhold.c | 257 ------------------------------------------- gtk/gtkpressandholdprivate.h | 63 ----------- 3 files changed, 322 deletions(-) commit 4401be22ad6c492137307dc0efdce8a9cb257e1a Author: Carlos Garnacho Date: Tue Apr 8 21:27:08 2014 +0200 enums: Document GtkPropagationPhase gtk/gtkenums.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 6296aa84b25408238768e8207ffd86d90fee734f Author: Carlos Garnacho Date: Tue Apr 8 21:24:54 2014 +0200 spinbutton: increase/decrease value on upwards/downwards touch swipes This is somewhat analogous to scroll events on pointer devices, the greater the velocity, the faster the spinbutton spins. gtk/gtkspinbutton.c | 95 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 93 insertions(+), 2 deletions(-) commit c7da5b54f59bdac759985035c7ecda0d69c2b17a Author: Carlos Garnacho Date: Tue Apr 8 21:21:56 2014 +0200 Add GtkGesturePan This gesture reports events on horizontal/vertical panning gestures. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkenums.h | 14 +++ gtk/gtkgesturepan.c | 274 ++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturepan.h | 75 ++++++++++++++ 5 files changed, 366 insertions(+) commit 75b6f4aa529ebbcb0f22c59e48a66de6092abdcf Author: Carlos Garnacho Date: Tue Apr 8 21:21:14 2014 +0200 range: Replace GtkPressAndHold with GtkGestureLongPress gtk/gtkrange.c | 60 ++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 33 insertions(+), 27 deletions(-) commit 2166be96d2cc6dd133a13566ee85fa35fc04a4b2 Author: Carlos Garnacho Date: Tue Apr 8 21:19:46 2014 +0200 swipe: Add function to retrieve the current velocity This can be used to fetch the current velocity on update(), as opposed to swipe() which happens after the sequence is finished. gtk/gtkgestureswipe.c | 37 ++++++++++++++++++++++++++++++++----- gtk/gtkgestureswipe.h | 5 +++++ 2 files changed, 37 insertions(+), 5 deletions(-) commit bd722499dcf4d3af8ec7f28600d72de131cb1f64 Author: Carlos Garnacho Date: Tue Apr 8 21:18:38 2014 +0200 colorswatch: Replace GtkPressAndHold GtkGestureLongPress and GtkGestureMultiPress are both used to replace it. gtk/gtkcolorswatch.c | 89 ++++++++++++++++++++++++++-------------------------- 1 file changed, 44 insertions(+), 45 deletions(-) commit d5cb4841c8ded6e53b675611c39b060772dc18d7 Author: Carlos Garnacho Date: Tue Apr 8 21:17:54 2014 +0200 colorscale: Replace GtkPressAndHold with GtkLongPressGesture gtk/gtkcolorscale.c | 59 ++++++++++++++++++----------------------------------- 1 file changed, 20 insertions(+), 39 deletions(-) commit 8c139c1fcafa24939b822da615138d241845e5df Author: Carlos Garnacho Date: Tue Apr 8 21:17:00 2014 +0200 colorplane: Replace GtkPressAndHold with GtkLongPressGesture gtk/gtkcolorplane.c | 40 +++++++++++++--------------------------- 1 file changed, 13 insertions(+), 27 deletions(-) commit e3d25b3c3cc8ae5b2dee5c25ce689a3e67760991 Author: Carlos Garnacho Date: Tue Apr 8 21:15:06 2014 +0200 entry: Don't show text handles too eagerly on button press Instead do so on button release, or after text selection dragging starts. gtk/gtkentry.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit c3075f1d565cf6d1fdd2d98d42639eae5bd83b47 Author: Carlos Garnacho Date: Tue Apr 8 21:11:27 2014 +0200 longpress: Ensure check() happens after cancel() And delegate on GtkGesture::check(), it does deal better with extra fleeting touches. gtk/gtkgesturelongpress.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c506dfe600b5556290e855e81ea4ec3798da8c66 Author: Carlos Garnacho Date: Tue Apr 8 21:10:43 2014 +0200 longpress: fix reentrancy on ::reset() gtk/gtkgesturelongpress.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) commit 3cc9543e647161abfdf894f312ef893c69e61da5 Author: Carlos Garnacho Date: Tue Apr 8 21:09:44 2014 +0200 gesturemultipress: fix reentrancy on ::reset() gtk/gtkgesturemultipress.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit cdb5ba942631d8f1b28e35216e94de6ce9790b18 Author: Carlos Garnacho Date: Tue Apr 8 21:06:39 2014 +0200 gesturesingle: check the current sequence before resetting the pressed button gtk/gtkgesturesingle.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 490c356954d1340bf572654b758318e981e8bd6a Author: Carlos Garnacho Date: Tue Apr 8 21:05:00 2014 +0200 scrolledwindow: update to gesture widget-level API changes gtk/gtkscrolledwindow.c | 76 +++++++++++++++++++++++++------------------------ 1 file changed, 39 insertions(+), 37 deletions(-) commit ff627511b78e71a615220673ceb1b9bfa9702942 Author: Carlos Garnacho Date: Tue Apr 8 21:03:07 2014 +0200 window: update to gesture widget-level API changes gtk/gtkmain.c | 6 ++++++ gtk/gtkwindow.c | 46 ++++++++++++++++++++++++++++++++++++++-------- 2 files changed, 44 insertions(+), 8 deletions(-) commit 6350f58c1c9cfdb94a41ce99630650393347f124 Author: Carlos Garnacho Date: Tue Apr 8 21:02:44 2014 +0200 treeview: update to gesture widget-level API changes gtk/gtktreeview.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit c4a39f5abf6061cd92c99eaf5c8620c1c584577c Author: Carlos Garnacho Date: Tue Apr 8 21:01:47 2014 +0200 drag: remove unused #define gtk/gtkgesturedrag.c | 2 -- 1 file changed, 2 deletions(-) commit 3221d5301006eb49c4f51e2e8d0b83d7df2df37c Author: Carlos Garnacho Date: Tue Apr 8 21:01:13 2014 +0200 eventcontroller: Add documentation blurb gtk/gtkeventcontroller.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 040c82f0e8c6e0ce92c885a4954cc99a22eaeef2 Author: Carlos Garnacho Date: Tue Apr 8 21:00:26 2014 +0200 dnd: Update to gesture widget-level API changes gtk/gtkdnd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 51b5fa3bf0d129d09b9236742e8f2cd5608f5abf Author: Carlos Garnacho Date: Tue Apr 8 20:59:16 2014 +0200 demo: Update to gesture widget-level API changes demos/gtk-demo/gestures.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 7a71c163179559c511edddf0e46de1f1a0bfbd7d Author: Carlos Garnacho Date: Tue Apr 8 20:55:30 2014 +0200 widget: refactor gesture integration Listen for notify::sequence-state-changed on the controller, so the only way to manipulate a sequence state are gtk_gesture_set_sequence_state() and gtk_gesture_set_state(). Also, make use of gesture groups, so the sequence state is set at once on all gestures pertaining to a single group. Within a widget, if a sequence is claimed on one group, it is made to be denied on every other group. gtk/gtkwidget.c | 421 +++++++++++++++++++++++++++++--------------------------- gtk/gtkwidget.h | 25 +--- 2 files changed, 223 insertions(+), 223 deletions(-) commit b0a23dbfbdafe83daee16517875a8c2b532af121 Author: Carlos Garnacho Date: Tue Apr 8 20:47:38 2014 +0200 gesture: Add grouping API This API eliminates the need for overriding GtkWidget::sequence-state-changed virtually everywhere. Grouped gestures share common states for a same GdkEventSequence, so the state of sequences stay in sync across those. gtk/gtkgesture.c | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesture.h | 13 ++++++++ 2 files changed, 104 insertions(+) commit 6433a5452e9a27451f7a9d709c6484296319ca4b Author: Carlos Garnacho Date: Tue Apr 8 20:46:26 2014 +0200 gesture: Add gtk_gesture_set_state() helper. This function sets the state on all sequences where it actually can, just a helper function to avoid iterating over sequences yourself. gtk/gtkgesture.c | 22 ++++++++++++++++++++++ gtk/gtkgesture.h | 7 +++++-- 2 files changed, 27 insertions(+), 2 deletions(-) commit 72f8c673da64c1f5cc4662e1e9240539e07e7882 Author: Carlos Garnacho Date: Tue Apr 8 20:45:18 2014 +0200 gesture: emit the current state on ::sequence-state-changed gtk/gtkgesture.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit ae241714c43b2e0fd867e147ceba8577a32c6a8f Author: Carlos Garnacho Date: Tue Apr 8 20:44:38 2014 +0200 gesture: group continue conditions together gtk/gtkgesture.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 8ebcca2ef64c4aec83c2512531a18efec22e99f0 Author: Carlos Garnacho Date: Tue Apr 8 20:43:52 2014 +0200 gesture: return TRUE if the sequence state was already set gtk/gtkgesture.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit f3257e1a543172141f52ab93e7d28acc691219b2 Author: Carlos Garnacho Date: Tue Apr 8 20:41:09 2014 +0200 gesture: fix compiler warning gtk/gtkgesture.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4570837e48755b693c21a206811c77a2215d5ea5 Author: Carlos Garnacho Date: Tue Apr 8 20:39:44 2014 +0200 gesture: ignore events if now widget window was found gtk/gtkgesture.c | 3 +++ 1 file changed, 3 insertions(+) commit 759705d3e67d4bcb85fbcc2c2244a3505a0fd78c Author: Carlos Garnacho Date: Tue Apr 8 20:25:53 2014 +0200 eventcontroller: Add propagation-phase property This is so we don't have to specify the capture phase for every controller. The default "bubble" value will be sane on most situations. gtk/gtkeventcontroller.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkeventcontroller.h | 9 +++++++ 2 files changed, 74 insertions(+), 1 deletion(-) commit 2ed086748f66be9848c93c20be0f8493e4ad3634 Author: Carlos Garnacho Date: Tue Apr 8 20:24:30 2014 +0200 treeview: remove superfluous GTK+ grabs gtk/gtktreeview.c | 8 -------- 1 file changed, 8 deletions(-) commit 2ef4f1bc61c0b731a773eb2ef4610665f5b68648 Author: Carlos Garnacho Date: Tue Apr 8 20:23:43 2014 +0200 textview: remove superfluous GTK+ grabs gtk/gtktextview.c | 6 ------ 1 file changed, 6 deletions(-) commit bae68b5511b46c8cdf00e4c5394438241bafd9a5 Author: Carlos Garnacho Date: Tue Apr 8 20:23:00 2014 +0200 iconview: remove superfluous GTK+ grabs gtk/gtkiconview.c | 5 ----- 1 file changed, 5 deletions(-) commit 46b4e5d38877197503f802380e5c9a469218f99b Author: Carlos Garnacho Date: Tue Apr 8 20:21:50 2014 +0200 combobox: remove superfluous GTK+ grabs gtk/gtkcombobox.c | 2 -- 1 file changed, 2 deletions(-) commit db14e22f060cd23d88de72bc73b6670f5ea92d58 Author: Carlos Garnacho Date: Tue Apr 8 20:21:17 2014 +0200 cellrendereraccel: remove superfluous GTK+ grabs gtk/gtkcellrendereraccel.c | 4 ---- 1 file changed, 4 deletions(-) commit f766109b5bb48421c7d53f6927c41cc6d416e4f5 Author: Carlos Garnacho Date: Thu Apr 3 14:44:58 2014 +0200 Revert "gtk: Remove propagation limit of captured events on the grab widget" This reverts commit 6511f411955adba4f960b8b07d39b93785afe33e. gtk/gtkmain.c | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) commit cdcc536ddc8ab564d93e4c389ca7cbac2caa09fa Author: Carlos Garnacho Date: Mon Mar 31 12:27:43 2014 +0200 longpress: Use xsettings to determine long press duration GtkSettings::gtk-long-press-time is used to this effect. gtk/gtkgesturelongpress.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 1403ebb09704bab96ecd70a9c0e664f9b0e5ba19 Author: Carlos Garnacho Date: Mon Mar 31 12:22:11 2014 +0200 settings: Add gtk-long-press-time setting This setting determines the duration of a button/touch press to be considered a long press. gtk/gtksettings.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit 61e88c251e42cddd4c08b535ff0b62ad4de0e420 Author: Carlos Garnacho Date: Fri Mar 28 15:44:11 2014 +0100 window: Use gestures for window moving/resizing A multipress gesture is used to control all this, replacing single/double click custom code, and triggering window dragging when the multipress is stopped, yet active (ie. the sequence remains pressed). gtk/gtkmain.c | 6 - gtk/gtkwindow.c | 375 ++++++++++++++++++++------------------------------------ 2 files changed, 133 insertions(+), 248 deletions(-) commit 185da29b689370d00914ca6c7c5a7bf99fbb702f Author: Carlos Garnacho Date: Thu Mar 27 12:31:28 2014 +0100 treeview: Use multipress gesture for row activation Replace custom double click detection with multipress gesture gtk/gtktreeview.c | 108 +++++++++++++++++++++++------------------------------- 1 file changed, 46 insertions(+), 62 deletions(-) commit b0eef458d1b6a61a39420bb061fc2fb03394dc45 Author: Carlos Garnacho Date: Fri Mar 28 23:23:38 2014 +0100 dnd: Use GtkGestureDrag to initiate DnD This gesture is used by gtk_drag_source_set() to determine whether dragging moved past the threshold. The gesture events are handled via the usual ::event callbacks, so we don't mess up with callers expecting that to happen in a signal handler. If the sequence gets claimed somewhere else in the event widget stack, the DnD gesture will be cancelled. gtk/gtkdnd.c | 102 ++++++++++++++++++++++++++--------------------------------- 1 file changed, 44 insertions(+), 58 deletions(-) commit 6c787165312ac65488db9e68c0d32fdd5cdb53ea Author: Carlos Garnacho Date: Wed Mar 26 14:06:09 2014 +0100 scrolledwindow: Ensure the dragging sequence gets denied if more touches come in This allows children to receive an emulated press, and handle it together with the new touch that made the scrolledwindow sequence denied. gtk/gtkscrolledwindow.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 564789777a53209276b60630367527bc17dbbabb Author: Carlos Garnacho Date: Wed Mar 26 10:53:42 2014 +0100 scrolledwindow: Fix overshoot coordinates With gtk_gesture_get_point() returning events in gtk_event_controller_get_widget() coordinates, we no longer need to compensate for the overshoot here. gtk/gtkscrolledwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 38e40a55f4961cd67a1aabb67e3291f36de30aae Author: Carlos Garnacho Date: Wed Mar 26 10:49:21 2014 +0100 widget: Add gtk_widget_set_gesture_state() This helper function ensures the state is propagated for all the active sequences in the given gesture. gtk/gtkwidget.c | 21 +++++++++++++++++++++ gtk/gtkwidget.h | 4 ++++ 2 files changed, 25 insertions(+) commit 8e1d5f98de2312b241fb81838d667eeec1d0bd02 Author: Carlos Garnacho Date: Wed Mar 26 10:25:09 2014 +0100 widget: Improve button press emulation on sequence denied Ensure that state being set on pointer emulating touches actually gets propagated properly on widgets with gestures that only handle pointer events. gtk/gtkgesture.c | 37 ++++++++++++++ gtk/gtkgestureprivate.h | 4 ++ gtk/gtkwidget.c | 126 +++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 145 insertions(+), 22 deletions(-) commit c49ac32393587f034068fda8cd4fde625624ad42 Author: Carlos Garnacho Date: Tue Mar 25 13:45:17 2014 +0100 swipe: Dont emit swipe() if the gesture was denied rather than finished gtk/gtkgestureswipe.c | 3 +++ 1 file changed, 3 insertions(+) commit 55683c075c932aa1327cf293da753b03317b0484 Author: Carlos Garnacho Date: Tue Mar 25 13:22:51 2014 +0100 drag: Make API offsets based It is generally more useful to get offsets right away, than having to calculate those from the start point. gtk/gtkgesturedrag.c | 33 +++++++++++++++++++++------------ gtk/gtkgesturedrag.h | 10 +++++----- 2 files changed, 26 insertions(+), 17 deletions(-) commit 6cd0e733f5be5bdfb75601351159e500a86b5951 Author: Carlos Garnacho Date: Fri Mar 21 19:23:37 2014 +0100 scrolledwindow: Use GtkGestureSingle API gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cece9cac07a34673156f9406b13929b13e96abe1 Author: Carlos Garnacho Date: Mon Mar 24 14:45:55 2014 +0100 scrolledwindow: Update gesture API change. gtk/gtkscrolledwindow.c | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) commit 84885c6e262fc5c28062232b3c0f263f70516242 Author: Carlos Garnacho Date: Mon Mar 24 14:44:27 2014 +0100 demo: Update to gesture API change demos/gtk-demo/gestures.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit a56a9e4a6256aa0dc88e78915f53b4040df41ac9 Author: Carlos Garnacho Date: Mon Mar 24 14:42:13 2014 +0100 widget: Reset gestures on grab-notify If it is determined that the gesture will stop receiving events, reset the gesture altogether. gtk/gtkwidget.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit 997f05d99b6190321a614e4cbe7c9c1b748a0705 Author: Carlos Garnacho Date: Mon Mar 24 14:35:17 2014 +0100 widget: Make helper gesture API take GtkGestures GtkEventController may be certainly useful to keep event handling self-contained in other places than gestures, but the current widget API is highly related to gestures, so just using GtkGesture as the argument there will be quite more convenient. The other places where GtkEventController make sense as a base object will better provide their own hooks. gtk/gtkwidget.c | 99 ++++++++++++++++++++++++++++----------------------------- gtk/gtkwidget.h | 12 +++---- 2 files changed, 54 insertions(+), 57 deletions(-) commit 026b5014e89b7637d0f9cb4e15858ca86e41925c Author: Carlos Garnacho Date: Mon Mar 24 13:19:53 2014 +0100 Add: GTK_PHASE_NONE value to GtkCapturePhase. Gestures attached with this phase will expect callers to have it receive events through gtk_event_controller_handle_event(), but the gesture will still be notified of sequence state changes, grabs, etc... gtk/gtkenums.h | 1 + gtk/gtkwidget.c | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) commit ed5d73b49a7569b88f6c2ca89f441e9c766fd2cf Author: Carlos Garnacho Date: Mon Mar 24 13:11:47 2014 +0100 gesture: check the gesture after denying a sequence. So the gesture emits end() timely. gtk/gtkgesture.c | 4 ++++ 1 file changed, 4 insertions(+) commit 03381beaccf9cc43a36f1f73c3dc954d78ae5e50 Author: Carlos Garnacho Date: Mon Mar 24 13:04:51 2014 +0100 gesture: Offer always coordinates in the gesture widget coordinate space Translate events meant for other widgets/windows, so gtk_gesture_get_point() always returns coordinates based on the gtk_event_controller_get_widget() allocation. gtk/gtkgesture.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 47 insertions(+), 2 deletions(-) commit 4c34d4566c8c7cfc5adfdf4655cb076134b490c7 Author: Carlos Garnacho Date: Mon Mar 24 12:21:38 2014 +0100 multipress: Remove unused signal argument gtk/gtkgesturemultipress.c | 39 ++++++++++++++++++++++++++++----------- gtk/gtkgesturemultipress.h | 1 - 2 files changed, 28 insertions(+), 12 deletions(-) commit dca169d9f1cbaafb8a7fc9d28e0c64953aeaa1cf Author: Carlos Garnacho Date: Fri Mar 21 19:45:27 2014 +0100 swipe: Make a subclass of GtkGestureSingle gtk/gtkgestureswipe.c | 2 +- gtk/gtkgestureswipe.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 315aedf5c8ce306ced5645e5b2bfd4b899bb4dad Author: Carlos Garnacho Date: Fri Mar 21 19:39:21 2014 +0100 drag: Make a subclass of GtkGestureSingle gtk/gtkgesturedrag.c | 2 +- gtk/gtkgesturedrag.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) commit 000f38ed978029eeb1ba06aa8896233972afc9bd Author: Carlos Garnacho Date: Fri Mar 21 19:21:56 2014 +0100 multipress: Make a subclass of GtkGestureSingle The redundant API has been removed here. gtk/gtkgesturemultipress.c | 166 +++++++-------------------------------------- gtk/gtkgesturemultipress.h | 15 +--- 2 files changed, 29 insertions(+), 152 deletions(-) commit 3db87cb0b7a195edc3cda0cb8c8dabf18348f9ab Author: Carlos Garnacho Date: Fri Mar 21 18:57:32 2014 +0100 longpress: Make a subclass of GtkGestureSingle the redundant API here has been removed. gtk/gtkgesturelongpress.c | 136 ++++++++-------------------------------------- gtk/gtkgesturelongpress.h | 12 +--- 2 files changed, 25 insertions(+), 123 deletions(-) commit 5f24d1a51943c1c066e47e5a9144520d242827cb Author: Carlos Garnacho Date: Fri Mar 21 18:13:41 2014 +0100 gesture: Only recognize gestures with as many interacting touches as those handled If a gesture has denied sequences (so those are presumably handled above/below the widget), it shouldn't attempt to handle extra touches, even if those end up matching the expected number of touches. gtk/gtkgesture.c | 1 + 1 file changed, 1 insertion(+) commit b5c319b56fe6a7e1b9614d5110146ac326c02745 Author: Carlos Garnacho Date: Fri Mar 21 18:09:38 2014 +0100 gesture: Limit API calls to non-denied sequences Gestures do track those internally, but information about those shouldn't be leaked on calls. gtk/gtkgesture.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) commit 2285157c7db9a972ca8e1dcbb3363d79b0df6289 Author: Carlos Garnacho Date: Fri Mar 21 17:47:06 2014 +0100 gesture: Require BUTTON_PRESS/TOUCH_BEGIN for sequences to be initiated. Gestures should always receive one of such events in order to be activated, and the propagation mechanism will ensure they do so if the original event was caught up the widget hierarchy by another gesture that is now declining the sequence. gtk/gtkgesture.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d89e810bd97b9e8e61cf056008dc40c197cdd754 Author: Carlos Garnacho Date: Fri Mar 21 17:34:41 2014 +0100 gesture: Only track non denied sequences in get_last_updated_sequence() gtk/gtkgesture.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b7435a0290265b58de71d4055067dd6d353b01cf Author: Carlos Garnacho Date: Fri Mar 21 17:31:19 2014 +0100 gesture: cancel all ongoing sequences on reset() gtk/gtkgesture.c | 46 ++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 42 insertions(+), 4 deletions(-) commit d2c9b9c2aa8c0031f8396019764efe64a8673e43 Author: Carlos Garnacho Date: Fri Mar 21 17:17:42 2014 +0100 gesture: Skip non-device events early. gtk/gtkgesture.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 25ece22013a5b8bb050734699572bd69941a5200 Author: Carlos Garnacho Date: Fri Mar 21 17:14:53 2014 +0100 gesture: Add gtk_gesture_[sg]et_window() This can be used to restrict a gesture to an specific GdkWindow, all events will be checked to happen on/within that window. gtk/gtkgesture.c | 121 ++++++++++++++++++++++++++++++++++++++++++++++++++++--- gtk/gtkgesture.h | 7 ++++ 2 files changed, 122 insertions(+), 6 deletions(-) commit 7f787e1d3bc0fda89fd3bcd1eff3adeed4d5aa74 Author: Carlos Garnacho Date: Fri Mar 28 20:35:53 2014 +0100 docs: Add GtkGestureSingle to docs docs/reference/gtk/gtk3-sections.txt | 29 ++++++++++++++++++++++------- 1 file changed, 22 insertions(+), 7 deletions(-) commit c4944b0376e98aa1ee369f58da894ba22bd9223d Author: Carlos Garnacho Date: Fri Mar 21 15:31:12 2014 +0100 gesture: Remove the touch-only property This is handled in GtkGestureSingle. gtk/gtkgesture.c | 107 ++++--------------------------------------------------- gtk/gtkgesture.h | 7 ---- 2 files changed, 7 insertions(+), 107 deletions(-) commit d4d0f13c3aa102664bb09018e9b80ea9d92b3e90 Author: Carlos Garnacho Date: Fri Mar 21 15:05:29 2014 +0100 Add GtkGestureSingle This is a GtkGesture subclass, specific to single-touch (or mouse operated) gestures. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkgesturesingle.c | 363 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturesingle.h | 81 +++++++++++ 4 files changed, 447 insertions(+) commit 49e9ba122a48f7d89cb993c818d3536f94d4d0ba Author: Matthias Clasen Date: Thu Mar 6 21:17:44 2014 -0500 ...and add the right include instead gtk/gtkgesture.h | 1 + 1 file changed, 1 insertion(+) commit a1aeaa6b07fc9d2c9b0ef04d2a89fbbd92412c99 Author: Matthias Clasen Date: Thu Mar 6 21:13:57 2014 -0500 Remove a doubled line gtk/gtkgesture.h | 1 - 1 file changed, 1 deletion(-) commit 8d2f81cca4fee74cdd237c150ce7cbd1ea86792d Author: Carlos Garnacho Date: Mon Mar 3 21:40:19 2014 +0100 scrolledwindow: Use gesture button/touch press synthesization This makes scrolled window fully compatible again wrt the GtkScrolledWindow::capture-button-press property. gtk/gtkscrolledwindow.c | 70 ++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 61 insertions(+), 9 deletions(-) commit 36106c19d4150b74ef992b68084a1b9753e3ca87 Author: Carlos Garnacho Date: Mon Mar 3 20:47:43 2014 +0100 widget: Propagate touch/button press events when a sequence is denied If the captured touch begin or button press event have been consumed for the given sequence, propagate it upwards if the sequence goes from claimed to denied, so the widgets on the way to the event widget receive a coherent event stream now that they're going to receive events. gtk/gtkwidget.c | 100 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 97 insertions(+), 3 deletions(-) commit 83dd050ab23a57f4b7ad614b6b3f5a82c21152e9 Author: Carlos Garnacho Date: Mon Mar 3 20:46:10 2014 +0100 gesture: Add private getter to know whether a touch begin was handled If GDK_TOUCH_BEGIN was handled/consumed for a sequence, or GDK_BUTTON_PRESS was handled for the mouse gesture, this function will return TRUE. gtk/Makefile.am | 1 + gtk/gtkgesture.c | 29 +++++++++++++++++++++++++++-- gtk/gtkgestureprivate.h | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 60 insertions(+), 2 deletions(-) commit a9fa0151f1c30f77134e31ac260afa17aa3b273f Author: Carlos Garnacho Date: Mon Mar 3 14:08:45 2014 +0100 widget: Implement hierarchy-level mechanism to claim/deny sequences The policy of sequence states has been made tighter on GtkGesture, so gestures can never return to a "none" state, nor get out of a "denied" state, a "claimed" sequence can go "denied" though. The helper API at the widget level will first emit GtkWidget::sequence-state-changed on the called widget, and then notify through the same signal to every other widget in the captured event chain. So the effect of that signal is twofold, on one hand it lets the original widget set the state on its attached controllers, and on the other hand it lets the other widgets freely adapt to the sequence state changing elsewhere in the event widget chain. By default, that signal updates every controller on the first usecase, and propagates the default gesture policy to every other widget in the chain on the second. This means that, by default: 1) Sequences start out on the "none" state, and get propagated through all the event widget chain. 2) If a widget in the chain denies the sequence, all other widgets are unaffected. 3) If a widget in the chain claims the sequence, then: 3.1) Every widget below the claiming widget (ie. towards the event widget) will get the sequence cancelled. 3.2) Every widget above the claiming widget that had the sequence as "none" will remain as such, if it was claimed it will go denied, but that should rarely happen. This behavior can be tweaked through the GtkWidget::sequence-state-changed and GtkGesture::event-handled vmethods, although this should be very rarely done. gtk/gtkgesture.c | 63 +++++++++++++++++++++++++++- gtk/gtkgesture.h | 7 +++- gtk/gtkwidget.c | 124 ++++++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 176 insertions(+), 18 deletions(-) commit 4ec1fafe2fe91bbdee9107f52b12958dca257af2 Author: Carlos Garnacho Date: Thu Feb 27 17:41:03 2014 +0100 docs: Add GtkWidget gesture functions docs/reference/gtk/gtk3-sections.txt | 7 +++++++ 1 file changed, 7 insertions(+) commit 83ef067ae1150741071e2e9b1df4af8480d04ac4 Author: Carlos Garnacho Date: Wed Feb 26 15:48:21 2014 +0100 scrolledwindow: port to GtkGesture The kinetic scrolling feature is now implemented using a GtkGestureDrag and a GtkGestureSwipe, plus a GtkGestureLongPress in order to denying the sequence, so it is possibly handled underneath. gtk/gtkscrolledwindow.c | 603 ++++++++++++++---------------------------------- 1 file changed, 175 insertions(+), 428 deletions(-) commit 76213ab209481f595d64e1ddd27a5c0a3d3378aa Author: Carlos Garnacho Date: Wed Feb 26 13:07:08 2014 +0100 widget: Add widget-level handling of touch sequence state. These functions ATM do nothing but proxying the controller(s) state with the given sequence. gtk/gtkwidget.c | 62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwidget.h | 8 ++++++++ 2 files changed, 70 insertions(+) commit f1bb0283dda663c0a7c9825a576115c73e8e4c88 Author: Carlos Garnacho Date: Wed Feb 26 12:50:31 2014 +0100 widget: Hook GtkEventController to widget event processing. A controller can be optionally hooked on the capture or the bubble phase, so the controller will automatically receive and handle events as they arrive without further interaction. gtk/gtkenums.h | 6 ++ gtk/gtkwidget.c | 180 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- gtk/gtkwidget.h | 12 ++++ 3 files changed, 194 insertions(+), 4 deletions(-) commit d0da82fed64b61dcf3476516464794598ca99e69 Author: Carlos Garnacho Date: Mon Feb 24 14:51:27 2014 +0100 gtk: Remove propagation limit of captured events on the grab widget Now, all captured events run from the toplevel to the deepmost widget, regardless of GTK+ grabs. This makes captured events more useful to event controllers if used together in the hierarchy with widgets doing old fashioned event handling and GTK+ grabs. gtk/gtkmain.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit 71e382cf42e631cbd2739b0b74a5837064cf7de3 Author: Carlos Garnacho Date: Thu Jan 17 21:12:39 2013 +0100 gtk-demo: Add simple gestures demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/gestures.c | 195 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 197 insertions(+) commit 73c2964e85353f583120a797ef901a083c0a85d2 Author: Carlos Garnacho Date: Thu Jan 17 21:11:47 2013 +0100 hook GtkGesture* into docs generation docs/reference/gtk/gtk-docs.sgml | 12 +++ docs/reference/gtk/gtk3-sections.txt | 161 +++++++++++++++++++++++++++++++++++ docs/reference/gtk/gtk3.types.in | 8 ++ 3 files changed, 181 insertions(+) commit 450c754c7c7db8cce282d2e372ab5f92d97453ff Author: Carlos Garnacho Date: Thu Feb 27 15:26:48 2014 +0100 Add GtkGestureMultiPress This gesture handles any number of clicks, ensuring multiple presses stay within thresholds and timeouts. When anything of that happens, the gesture is reset and press count starts from 1 again. Optionally, the gesture can be given a rectangle, used in in presses > 1 to ensure the consecutive presses happen on user imposed areas. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkgesturemultipress.c | 472 +++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturemultipress.h | 85 ++++++++ 4 files changed, 560 insertions(+) commit 8026bc36512fa7ee94061c161ba858cb87ff8144 Author: Carlos Garnacho Date: Thu Feb 20 17:04:49 2014 +0100 Add GtkGestureDrag This gesture interprets and reports drags as an offset to the drag start point. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkgesturedrag.c | 210 +++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturedrag.h | 80 ++++++++++++++++++++ 4 files changed, 293 insertions(+) commit 9db3c2d8936077cbbdb6bc22936818cea0efb152 Author: Carlos Garnacho Date: Thu Jan 17 21:08:20 2013 +0100 Add GtkGestureZoom This gesture interprets and reports relative scale differences when fed with events from two different GdkEventSequences. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkgesturezoom.c | 201 +++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturezoom.h | 69 ++++++++++++++++++ 4 files changed, 273 insertions(+) commit 2495b518c1bf889e93cd90e53640117d8f7bc1fd Author: Carlos Garnacho Date: Thu Jan 17 21:06:06 2013 +0100 Add GtkGestureRotate This gesture implementation recognizes rotations when fed with events from two different GdkEventSequences gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkgesturerotate.c | 206 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturerotate.h | 70 +++++++++++++++++ 4 files changed, 279 insertions(+) commit 8733e2a918c9ce244fb00bc28623436ec98c23ca Author: Carlos Garnacho Date: Thu Jan 17 21:02:28 2013 +0100 Add GtkGestureSwipe This gesture implementation recognices swipes on any direction. The "swipe" signal has the X/Y velocity vector components, so those can be used for direction guessing and velocity thresholds. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkgestureswipe.c | 201 ++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgestureswipe.h | 67 +++++++++++++++++ 4 files changed, 271 insertions(+) commit 88d554d3bae7b25bfe52eb79ec04dd8d5c515bf3 Author: Carlos Garnacho Date: Thu Jan 17 23:57:06 2013 +0100 Add GtkGestureLongPress This gesture interprets long presses with variable delays and thresholds gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkgesturelongpress.c | 326 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesturelongpress.h | 73 +++++++++++ 4 files changed, 402 insertions(+) commit 8f113e07fde88821907d75f6ed7803120a58bd5b Author: Carlos Garnacho Date: Thu Jan 17 20:59:07 2013 +0100 Add GtkGesture This a more specific abstract type that handles one or multiple streams of pointer/touch events. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkenums.h | 7 + gtk/gtkgesture.c | 964 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgesture.h | 133 +++++++ gtk/gtkmarshalers.list | 1 + 6 files changed, 1108 insertions(+) commit e2b8ef8c6680dbbd000070e1d55b23ce453bddcb Author: Carlos Garnacho Date: Thu Jan 17 20:55:24 2013 +0100 Add GtkEventController This is a basic abstract type that handles GdkEvents. gtk/Makefile.am | 2 + gtk/gtk.h | 1 + gtk/gtkeventcontroller.c | 265 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkeventcontroller.h | 79 ++++++++++++++ 4 files changed, 347 insertions(+) commit 6c49ffe9164521a1c511fb975136b52e25157f30 Author: Benjamin Otte Date: Fri May 23 19:27:53 2014 +0200 themingbackground: Outset shadows require border box They are drawn relative to the border box, not relative to the padding box. gtk/gtkthemingbackground.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fa2221897323c4cfca868336303c53ddf0e617e7 Author: Benjamin Otte Date: Mon May 19 15:32:39 2014 +0200 css: Make getter function a real getter Initialize the passed-in value, don't treat it as an in-out parameter. gtk/gtkcssshadowsvalue.c | 2 ++ 1 file changed, 2 insertions(+) commit 486c82ae8ff178154fa1f619b59e7dfcc927470e Author: Matthias Clasen Date: Fri May 23 12:17:56 2014 -0400 testsuite: Add more icon names These were found by looking over the GTK+ sources and ui files. testsuite/gtk/check-icon-names.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 7caecf3979e751bfdfa245dea3867f3cdd785c08 Author: Matthias Clasen Date: Fri May 23 11:52:12 2014 -0400 Add more icons to check-icon-names These are icons which are used as GtkArrow replacement, and icons used for the volume button. testsuite/gtk/check-icon-names.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit 28c04f4be397edce6a4188e01a0a444e753af0af Author: Matthias Clasen Date: Fri May 23 11:31:53 2014 -0400 testsuite: Run reftests with GTK_DEBUG=icontheme This will hopefully help to track down some hard-to-squash failures that only happen in gnome-continuous. testsuite/reftests/reftests.test.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 74b6f5fba8e29923e08aed2b121ec32e505ac31b Author: Benjamin Otte Date: Fri May 23 16:35:08 2014 +0200 testsuite: Add a test for icon names This test just checks that all the icon names that GTK uses are present in the default icon theme. As icon names are not checked programmatically and we do not want to run into missing-icon icons in the code, this test seems necessary. For now, it's just a stub that tests stock icons. testsuite/gtk/Makefile.am | 1 + testsuite/gtk/check-icon-names.c | 147 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 148 insertions(+) commit d769f338f2abbffb98804a852887e73362d436b7 Author: Matthias Clasen Date: Thu May 22 22:45:56 2014 -0400 GtkButton: tighten code a bit Make it so we only use GtkMisc in one place. gtk/gtkbutton.c | 32 ++++++-------------------------- 1 file changed, 6 insertions(+), 26 deletions(-) commit 2df80d7a4d1776f98a826b90bd3969b868d54244 Author: Matthias Clasen Date: Thu May 22 18:32:37 2014 -0400 inspector: Repeat the keybinding warning Show the confirmation dialog every time the keybinding is used, until the user clicks OK. gtk/gtkwindow.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 372e551a6604b46e3da87731ae8bda1f44331848 Author: Matthias Clasen Date: Thu May 22 18:31:11 2014 -0400 inspector: avoid a warning on destroy We are only hiding the window now, so a memory management error has crept into the destroy path. gtk/inspector/prop-list.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit e012dfab2c4d73a586354483367af5923315a523 Author: Benjamin Otte Date: Thu May 22 22:35:39 2014 +0200 Revert "Fix crash" This reverts commit 024c11dd66dfda5efb110f55ecec93801f21c0ed. It's not a crash fix to cause a return_val_if_fail() to happen. gtk/gtkcssenumvalue.c | 1 - 1 file changed, 1 deletion(-) commit 0eb62c1629ce6921b261fd8933f6056f97c24289 Author: Benjamin Otte Date: Thu May 22 22:34:17 2014 +0200 reftests: Fix icon-vfuncs reftest The reftest broke when font size lead to labels > 16px. testsuite/reftests/icon-vfuncs.css | 4 +++- testsuite/reftests/icon-vfuncs.ref.ui | 10 ++++++++++ testsuite/reftests/icon-vfuncs.ui | 2 ++ 3 files changed, 15 insertions(+), 1 deletion(-) commit 024c11dd66dfda5efb110f55ecec93801f21c0ed Author: Behdad Esfahbod Date: Thu May 22 15:52:01 2014 -0400 Fix crash gtk/gtkcssenumvalue.c | 1 + 1 file changed, 1 insertion(+) commit b26da6ed4f51e78b646b80609f3c3f66c2d15fbe Author: Matthias Clasen Date: Thu May 22 15:46:42 2014 -0400 docs: Include input handling overview Now that it is not entirely empty anymore, lets include it. docs/reference/gtk/gtk-docs.sgml | 1 + 1 file changed, 1 insertion(+) commit e491da532a5009812f802cefeba4167e418fe409 Author: Matthias Clasen Date: Thu May 22 15:45:31 2014 -0400 Some more input handling docs docs/reference/gtk/input-handling.xml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit 3d981069abc8e62ff5f3d7e5b1383d5b496c5433 Author: Matthias Clasen Date: Thu May 22 15:16:09 2014 -0400 Fill in some content in the input handling overview docs/reference/gtk/input-handling.xml | 39 +++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit 65022c40786bfad21d68d16cc229534451e938d5 Author: Jasper St. Pierre Date: Thu May 22 15:01:36 2014 -0400 gdkwindow-x11: Rearrange a tiny bit gdk/x11/gdkwindow-x11.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 0d3f162d6b0e28072b384c1758c39fda540430c7 Author: Jasper St. Pierre Date: Thu May 22 15:01:07 2014 -0400 gdkwindow-x11: Fix build gdk/x11/gdkwindow-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 084576f214e97f29c2ea941bc4f1bddd74f7668a Author: Jasper St. Pierre Date: Thu May 22 14:47:28 2014 -0400 gdkwindow-x11: Ungrab the implicit grab before showing the window menu Otherwise, the WM cannot take a grab on the pointer device, since we'll still have the implicit grab. gdk/x11/gdkwindow-x11.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 76e18de8110f45429371fd090f627bbee253e3f9 Author: Jasper St. Pierre Date: Thu May 22 11:48:59 2014 -0400 reftests: Remove the css-match-style-property-order test It was testing -GtkWidget-focus-line-width, which is a dead property we don't use anymore. testsuite/reftests/Makefile.am | 3 --- testsuite/reftests/css-match-style-property-order.css | 12 ------------ .../reftests/css-match-style-property-order.ref.ui | 19 ------------------- testsuite/reftests/css-match-style-property-order.ui | 19 ------------------- 4 files changed, 53 deletions(-) commit 7e562897e8b22f68321660bf9f56a7fc57a6d099 Author: Matthias Clasen Date: Thu May 22 14:45:15 2014 -0400 Drop an unused spec file template Last touched in 2008...probably not relevant. gtk+.spec.in | 134 ----------------------------------------------------------- 1 file changed, 134 deletions(-) commit 845f29ccf5e381cb2b7ab6fd3e9bdcdc5017c583 Author: Jasper St. Pierre Date: Thu May 22 11:45:52 2014 -0400 reftests: Fix some more easy GtkButton shadow cases testsuite/reftests/background-repeat.css | 12 +----------- testsuite/reftests/box-shadow-spec-inset.css | 10 +--------- 2 files changed, 2 insertions(+), 20 deletions(-) commit b1a7aa49b3eb431da1bbb60b9c480f37c905136d Author: Benjamin Otte Date: Thu May 22 17:35:34 2014 +0200 reftests: Fix background-area test The test should include reset-to-defaults.css but apparently it is older than that file. So it broke when buttons started using shadows. testsuite/reftests/background-area.css | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit 6c3712599cd7fffdbf000815752fb2c00f003938 Author: Jasper St. Pierre Date: Thu May 22 10:47:58 2014 -0400 gdkwindow-x11: Pass through the x/y coordinates to _GTK_SHOW_WINDOW_MENU We accept these now. gdk/x11/gdkwindow-x11.c | 5 +++++ 1 file changed, 5 insertions(+) commit 695ee3fc197950f81d55f259d3baf447216bd4b8 Author: Jasper St. Pierre Date: Thu May 22 11:15:41 2014 -0400 tests: Remove unused args tests/testentryicons.c | 10 ---------- tests/testnumerableicon.c | 10 ---------- 2 files changed, 20 deletions(-) commit 27d0d5c0d005069f52cdd54e6a58b33df0d8896a Author: Piotr Drąg Date: Thu May 22 16:12:06 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) commit 3b1196fc684fb82224354459edad9da8bb97e559 Author: Matthias Clasen Date: Thu May 22 09:31:15 2014 -0400 Forgotten file gdk/gdkpixbuf-drawable.c | 1 - 1 file changed, 1 deletion(-) commit 49cf5142ba9e9542e3e848f0fc55c4fd2eaa9f7f Author: Matthias Clasen Date: Thu May 22 09:05:58 2014 -0400 Deprecate GdkColor It has been replaced by GdkRGBA. Time to make it official. http://bugzilla.gnome.org/show_bug.cgi?id=636695 demos/gtk-demo/iconview_edit.c | 16 ++++++++++------ gdk/Makefile.am | 27 ++++++++++++++++++++------- gdk/{ => deprecated}/gdkcolor.c | 17 ++++++++++++++++- gdk/{ => deprecated}/gdkcolor.h | 14 +++++++------- gdk/gdk.h | 5 ++++- gdk/gdkcairo.h | 2 +- gdk/gdkevents.h | 1 - gtk/gtkbuilder.c | 6 ++++-- gtk/gtkcellrenderer.c | 2 ++ gtk/gtkcellrenderertext.c | 4 ++++ gtk/gtkcellview.c | 2 ++ gtk/gtkcolorbutton.c | 2 ++ gtk/gtkcsscustomproperty.c | 4 +++- gtk/gtkcssstylefuncs.c | 7 +++++-- gtk/gtkiconview.c | 2 +- gtk/gtklabel.c | 6 +++++- gtk/gtkmodifierstyle.c | 4 ++++ gtk/gtksettings.c | 8 +++----- gtk/gtkstylecontext.c | 2 ++ gtk/gtktextattributes.c | 10 ++++++++++ gtk/gtktextbufferserialize.c | 4 ++++ gtk/gtktextdisplay.c | 2 ++ gtk/gtktextlayout.c | 4 ++++ gtk/gtktexttag.c | 10 +++++++--- gtk/gtktextview.c | 2 ++ gtk/gtktreeview.c | 3 ++- gtk/gtkwidget.c | 8 ++++++-- gtk/inspector/prop-editor.c | 4 +++- 28 files changed, 135 insertions(+), 43 deletions(-) commit c3a9a20839955a98266463c6fad4f0190feaccc2 Author: Matthias Clasen Date: Thu May 22 08:51:37 2014 -0400 examples: Don't use gtk_application_add_accelerator It has been deprecated. examples/plugman.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 69cef3c9b46023aac32bd08efebd39951fbbbffd Author: Matthias Clasen Date: Thu May 22 08:50:18 2014 -0400 tests: Adapt to gtk_widget_reparent deprecations tests/testgtk.c | 8 ++++++++ tests/testlist2.c | 2 ++ 2 files changed, 10 insertions(+) commit cbb5e27b3e77bcba5eff39f02f8417d5c14f92f3 Author: Matthias Clasen Date: Thu May 22 08:49:18 2014 -0400 tests: Update for GtkMisc deprecations tests/testfilechooserbutton.c | 4 ++++ 1 file changed, 4 insertions(+) commit 39ccbe6549971afd09ce5483638ea84840bf2e21 Author: Matthias Clasen Date: Thu May 22 08:30:34 2014 -0400 tests: Drop manual property editor No need for this anymore, now that we have the inspector everywhere. tests/Makefile.am | 27 +- tests/prop-editor.c | 1486 ----------------------------------------- tests/prop-editor.h | 30 - tests/testboxcss.c | 1 - tests/testentrycompletion.c | 31 +- tests/testentryicons.c | 49 -- tests/testfilechooser.c | 3 - tests/testfilechooserbutton.c | 32 - tests/testfontchooser.c | 3 - tests/testfontchooserdialog.c | 3 - tests/testgtk.c | 208 ------ tests/testiconview.c | 5 - tests/testmenubutton.c | 2 - tests/testnumerableicon.c | 27 - tests/testrecentchooser.c | 4 - tests/teststatusicon.c | 23 - tests/testtoolbar.c | 13 - tests/testtreechanging.c | 4 - tests/testtreeview.c | 45 -- 19 files changed, 9 insertions(+), 1987 deletions(-) commit bd5414addb9f6f78920dfdf9bd9619f2311661d3 Author: Matthias Clasen Date: Thu May 22 07:51:27 2014 -0400 gtk-demo: Don't use GtkArrow It is deprecated now. demos/gtk-demo/headerbar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2036c150eaba4f5e732519d2c30705ee3be2dc2f Author: Matthias Clasen Date: Thu May 22 06:29:24 2014 -0400 Avoid a compiler warning gtk/gtkcolorchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a3d0b8d7f4a5dfe12dde0e69c1ff816dfa457691 Author: Marc-André Lureau Date: Fri May 16 20:42:28 2014 +0200 tests: add clipboard set_with_data test https://bugzilla.gnome.org/show_bug.cgi?id=730183 testsuite/gtk/clipboard.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 8f7dceda3c86b25ea3083df753bf1114a12e9a7e Author: Matthias Clasen Date: Thu May 22 06:15:12 2014 -0400 Update treeview tests for focus changes The treeview is not using focus-pad here anymore, so update the tests to not expect it. testsuite/gtk/treeview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d01a291dbc051e8a92fadcf60e9a16423aea029a Author: Matthias Clasen Date: Thu May 22 06:00:09 2014 -0400 GtkScrolledWindow: Avoid a test failure The change to take out unneeded NULL checks requires some care at startup: we check both adjustments when any of them changes; we need to do those checks in the same order in which we create the scrollbars, otherwise we'll try to get the adjustment of the vscrollbar when we just set the up the hscrollbars' adjustment. gtk/gtkscrolledwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit a61a11a4ea2fca0ce325be269550943e461712a0 Author: Björn Lindqvist Date: Tue Mar 26 12:45:47 2013 -0400 Remove redundant not-NULL checks from GtkScrolledWindow The scrollbars are created at construction time and there is no way to set them to NULL so remove the unnecessary NULL checks. https://bugzilla.gnome.org/show_bug.cgi?id=525206 gtk/gtkscrolledwindow.c | 49 +++++++++++++++++++------------------------------ 1 file changed, 19 insertions(+), 30 deletions(-) commit 898f0fa0b912ea765eae451fb4e07735c03bc365 Author: Matthias Clasen Date: Wed May 21 22:50:48 2014 -0400 Avoid a critical in the file chooser Hiding the location entry was causing criticals, because the completion was updated after the widget has already been disposed. https://bugzilla.gnome.org/show_bug.cgi?id=720330 gtk/gtkfilechooserentry.c | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) commit b90802f7e44f280b9ea233cf71692704e5b52651 Author: Benjamin Otte Date: Wed May 21 19:17:21 2014 +0200 css: Actually break at end of the string Introduced in 65c4c1555d0634c063c3aa354620de260e4aaf7f. Found by gnome-continuous running the testsuite. Includes fixing a broken test in the testsuite. gtk/gtkcssparser.c | 5 +++-- gtk/gtkcssstringvalue.c | 5 ++++- testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/string-values.ref.css | 27 +++++++++++++++++++++++++++ 4 files changed, 35 insertions(+), 3 deletions(-) commit 9ae12b15e93860cd65f743d5041addc5a89007f6 Author: Matthias Clasen Date: Wed May 21 20:11:16 2014 -0400 GtkAppChooserDialog: Make the search entry wider It was too narrow, and looked a bit odd. https://bugzilla.gnome.org/show_bug.cgi?id=727147 gtk/resources/ui/gtkappchooserdialog.ui | 2 ++ 1 file changed, 2 insertions(+) commit e6c050c06f53da4df6284e8088518d50e867077d Author: Matthias Clasen Date: Wed May 21 20:09:46 2014 -0400 searchbar: Add some spacing When showing the close button, and placing a wide entry in the middle, there was no separation at all. Fix this by setting some spacing. gtk/resources/ui/gtksearchbar.ui | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8591f452f0004574488c22cfdced145997b27835 Author: Matthias Clasen Date: Wed May 21 19:23:56 2014 -0400 ColorChooser: Emit notification for editor changes When the color editor is visible, there is no way for the application to know about the changes that are happening. Fix this by emitting property notification for the "rgba" property. http://bugzilla.gnome.org/show_bug.cgi?id=708037 gtk/gtkcolorchooserwidget.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 33207f4597d9af7d7281e98017cdd96294749e36 Author: Matthias Clasen Date: Wed May 21 19:02:52 2014 -0400 Add a 3.14 index for the GDK docs docs/reference/gdk/gdk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 3d2dcc2bfe1909eac8238444f6c6b57c141f1acf Author: Matthias Clasen Date: Wed May 21 19:01:37 2014 -0400 Small typo fixes We generally talk about the 'windowing system' in the GDK frontend docs, not the 'window manager'. gdk/gdkwindow.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 0ea1a526f93411f8a2aef60dcb5a429a7694ca99 Author: Jasper St. Pierre Date: Thu Mar 13 17:28:01 2014 -0400 gtkwindow: Use window-manager-side window menus This avoids a bunch of policy problems with deciding how to lay out the window menu under different WMs. For now, we use the special event _GTK_SHOW_WINDOW_MENU, but we hope to have this standardized in wm-spec quite soon, as KDE wants it as well. gdk/gdkwindow.c | 33 ++++++++ gdk/gdkwindow.h | 3 + gdk/gdkwindowimpl.h | 2 + gdk/x11/gdkwindow-x11.c | 42 ++++++++++ gtk/gtkwindow.c | 200 +++--------------------------------------------- 5 files changed, 91 insertions(+), 189 deletions(-) commit 02d92ff8311b8ecb84746ab009bc61a716ebaa8c Author: Yosef Or Boczko Date: Wed May 21 17:50:37 2014 +0300 inspector: Use the new support for RTL icons in GtkIconTheme https://bugzilla.gnome.org/show_bug.cgi?id=730526 gtk/inspector/signals-list.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit f750f70c7dd1f8d01e6bc3fa4363ada1e54acaf9 Author: Matthias Clasen Date: Wed May 21 13:46:49 2014 -0400 tests: Make icontheme test installable To make the icontheme test run successfully when installed, we need to use the correct test-framework-provided location, and we need to install the test theme without stripping its subdirectory structure. testsuite/gtk/Makefile.am | 2 +- testsuite/gtk/icontheme.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit c543a14c5b1010d099bdb70b8c8ab90e0ab3515c Author: Yosef Or Boczko Date: Wed May 21 17:45:38 2014 +0300 Use the new support for RTL icons in GtkIconTheme https://bugzilla.gnome.org/show_bug.cgi?id=730526 gtk/gtksearchentry.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 6b26410d389b50c7f4291b0ef8c1f52ea35c0822 Author: Matthias Clasen Date: Wed May 21 10:29:17 2014 -0400 GtkLabel: Make context menus on links work We see an active link when creating the menu, but by the time the menuitem is activated, we've received a leave notify that makes the label clear its active link. Instead, give the menuitems a direct reference to the link that is active when the menu is created. Problem pointed out by Tim Baedert gtk/gtklabel.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) commit 11abc517f5bb98cec5bf9fcc80c4e800ab8ea48f Author: Matthias Clasen Date: Wed May 21 06:41:20 2014 -0400 inspector: Avoid weak ref problems We know the objects in a size group are always widgets, so we can avoid hard-to-track down problems with weak references by just cleaning up when the object gets destroyed. There is still a chance that we show a widget as part of the group after it has been removed, but size groups simply have no signals that would let us avoid that. gtk/inspector/size-groups.c | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) commit d39ee6c81c4a5fdf38befccbf21d2c4fdf67e3c0 Author: Matthias Clasen Date: Wed May 21 06:39:11 2014 -0400 inspector: Simplify object life-cycle handling The prop-list doesn't use the object column in its model, so don't put the object there. And don't leak stuff on finalize. gtk/inspector/prop-list.c | 58 +++++++++++++++++++++++++--------------------- gtk/inspector/prop-list.ui | 13 +++++------ 2 files changed, 37 insertions(+), 34 deletions(-) commit 3d8b0514bb918c178db044008a92ab5f13b50ae3 Author: Matthias Clasen Date: Tue May 20 22:38:38 2014 -0400 inspector: Use an emission hook instead of signal handlers This is slightly easier to manage, and there's only two emission hooks overall, instead of two signal handlers per object. gtk/inspector/widget-tree.c | 75 ++++++++++++++++++++++++++++----------------- 1 file changed, 47 insertions(+), 28 deletions(-) commit 0a0c95f39b519819e98bdb7698fa3d81a7b1b567 Author: Yosef Or Boczko Date: Wed May 21 12:40:41 2014 +0300 Updated Hebrew translation po/he.po | 63 +++++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 20 deletions(-) commit 9cbaf71e14d8870229984b03461a3f38801a996a Author: Yosef Or Boczko Date: Wed May 21 12:40:32 2014 +0300 Updated POTFILES.in po/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit af8fdac00135012651be549bed9fa95d38295715 Author: Matthias Clasen Date: Tue May 20 21:44:48 2014 -0400 inspector: Show size groups Add a tab that shows size groups of a widget. The properties of the size group are available here, as well as the widgets that are part of the size group. We highlight the widgets in the application when their row in the inspector is hovered. gtk/inspector/Makefile.am | 2 + gtk/inspector/init.c | 2 + gtk/inspector/size-groups.c | 278 ++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/size-groups.h | 51 ++++++++ gtk/inspector/window.c | 3 + gtk/inspector/window.ui | 14 +++ 6 files changed, 350 insertions(+) commit 538b987bc55fe634e7343f722cac0d8763a15eae Author: Matthias Clasen Date: Tue May 20 21:43:00 2014 -0400 inspector: Add a way to highlight widgets In contrast to the flashing, where we blink the widget a few times, this is explicitly turned on and off. It will be used for indicating widgets that are part of a size group, in the next commit. gtk/inspector/inspect-button.c | 16 +++++++++++++++- gtk/inspector/window.h | 6 +++++- 2 files changed, 20 insertions(+), 2 deletions(-) commit 65c9e2a651c22dfe9d77ec52e5f3d0c15d16e715 Author: Yosef Or Boczko Date: Tue May 20 19:33:19 2014 +0300 inspector: Use symbolic icon everywhere https://bugzilla.gnome.org/show_bug.cgi?id=730465 gtk/inspector/classes-list.ui | 2 +- gtk/inspector/css-editor.ui | 2 +- gtk/inspector/data-list.ui | 2 +- gtk/inspector/signals-list.c | 5 +++++ gtk/inspector/signals-list.ui | 3 +-- gtk/inspector/window.ui | 2 +- 6 files changed, 10 insertions(+), 6 deletions(-) commit 83d43d0cfe2c0709c5a6d626aefbc61d0f1bef63 Author: Yosef Or Boczko Date: Tue May 20 19:31:58 2014 +0300 inspector: Expand tabs in the objects section https://bugzilla.gnome.org/show_bug.cgi?id=730465 gtk/inspector/window.ui | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit c6a9c1231b84885ef258620a68b935df2d0ccfe1 Author: Yosef Or Boczko Date: Tue May 20 19:30:56 2014 +0300 inspector: Expand the general tabs https://bugzilla.gnome.org/show_bug.cgi?id=730465 gtk/inspector/window.ui | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 3263b963e63c4f3a374ffe060ee3ca580d43f6da Author: Matthias Clasen Date: Tue May 20 10:10:31 2014 -0400 Add a skeleton for an input handling overview document Not integrated in the docs yet, since there's no content. docs/reference/gtk/input-handling.xml | 51 +++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) commit 70cb91a827e341831ef58b3bc71b0cfa9f11ba8b Author: Matthias Clasen Date: Tue May 20 09:55:29 2014 -0400 docs: syntax fix It is just 'Deprecated:' in doc comments, not '@Deprecated:'. gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit edd6c4d487fd7383bb5372b408e6e53455a759e0 Author: Matthias Clasen Date: Tue May 20 09:47:44 2014 -0400 docs: enum cleanup Move GtkExpanderStyle over to the deprecated GtkStyle. docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/deprecated/gtkstyle.h | 17 +++++++++++++++++ gtk/gtkenums.h | 17 ----------------- 3 files changed, 18 insertions(+), 18 deletions(-) commit d606021c347aa61581dd7e906cc015ec945360d0 Author: Matthias Clasen Date: Tue May 20 09:45:50 2014 -0400 inspector: Avoid a compiler warning ...and a pointless cast, too. gtk/inspector/prop-list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 575d0eabfb81d762e2b712c2258fb8221fda2024 Author: Matthias Clasen Date: Tue May 20 09:37:53 2014 -0400 docs: enum cleanup Move GtkResizeMode to the only place it is used. docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkcontainer.h | 14 ++++++++++++++ gtk/gtkenums.h | 13 ------------- 3 files changed, 15 insertions(+), 14 deletions(-) commit 1c271365ab82caf50891db3f7a15da273aba9325 Author: Matthias Clasen Date: Tue May 20 09:13:20 2014 -0400 docs: Minor fix docs/reference/gtk/gtk3-sections.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit d5251141cea313ce239c53c0f95bc432dd2b5f1c Author: Matthias Clasen Date: Tue May 20 09:12:10 2014 -0400 docs: enum cleanup Move GtkWindowPosition and GtkWindowType to the only place they are used. docs/reference/gtk/gtk3-sections.txt | 4 +-- gtk/gtkenums.h | 47 ---------------------------------- gtk/gtkwindow.h | 49 ++++++++++++++++++++++++++++++++++++ 3 files changed, 51 insertions(+), 49 deletions(-) commit 59e4be9752e01a00025c20e5e6c6015e35944b2f Author: Matthias Clasen Date: Tue May 20 09:05:50 2014 -0400 docs: enum cleanup Move GtkJunctionSides, GtkRegionFlags and GtkBorderStyle to the GtkStyleContext docs. docs/reference/gtk/gtk3-sections.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 73d0bcb87499fbbe09fa761a10d1e452e0ec0385 Author: Matthias Clasen Date: Tue May 20 09:01:37 2014 -0400 docs: enum cleanup Move GtkDragResult to the DND section docs/reference/gtk/gtk3-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 04192d04a2b74ef90a7dba2104f239b55fc6ac47 Author: Matthias Clasen Date: Tue May 20 07:50:38 2014 -0400 docs: enum cleanup Move types that are only used in binding parsing to gtkrc, together with the deprecated api. docs/reference/gtk/gtk3-sections.txt | 4 +- gtk/deprecated/gtkrc.c | 100 ++++++++++++++++++++++++++++++++++ gtk/deprecated/gtkrc.h | 51 ++++++++++++++++++ gtk/gtkbindings.c | 101 ----------------------------------- gtk/gtkbindings.h | 6 --- gtk/gtkenums.h | 43 --------------- 6 files changed, 153 insertions(+), 152 deletions(-) commit e5a1734ce99a51b7317fde7a3b56bb92b2fa997f Author: Matthias Clasen Date: Tue May 20 08:36:12 2014 -0400 docs: enum cleanup scrolledwindow part 2 docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkenums.h | 39 ---------------------------------- gtk/gtkscrolledwindow.h | 41 ++++++++++++++++++++++++++++++++++++ gtk/gtksettings.c | 1 + 4 files changed, 43 insertions(+), 40 deletions(-) commit a846e7f818f15205a026b4d4a24477bed23fc1c8 Author: Matthias Clasen Date: Tue May 20 06:47:23 2014 -0400 docs: enum cleanup Move GtkCornerType to the GtkScrolledWindow docs. docs/reference/gtk/gtk3-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2430762f9bf7274a1ee6708296b18bfa11e5afdf Author: Matthias Clasen Date: Tue May 20 06:30:41 2014 -0400 docs: enum cleanup Move GtkButtonBoxStyle to the one place it is used, GtkButtonBox. docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkbbox.h | 25 +++++++++++++++++++++++++ gtk/gtkenums.h | 25 ------------------------- 3 files changed, 26 insertions(+), 26 deletions(-) commit cf1c8c8c691b5ce6ffb63eea36cac31b027cf828 Author: Matthias Clasen Date: Tue May 20 06:22:13 2014 -0400 docs: enum cleanup Move GtkAttachOptions to the only place its used: GtkTable docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/deprecated/gtktable.h | 17 +++++++++++++++++ gtk/gtkenums.h | 17 ----------------- 3 files changed, 18 insertions(+), 18 deletions(-) commit ee244473d6a7bf8bf6637e785769e362918f3fb6 Author: Matthias Clasen Date: Tue May 20 06:19:56 2014 -0400 doc: enum cleanup Move GtkArrowType to where it is used in undeprecated api: GtkMenuButton. docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkenums.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit edde7aca606bc540c803426b511a281004fa7a8d Author: Matthias Clasen Date: Tue May 20 06:17:16 2014 -0400 docs: enum cleanup Move GtkArrowPlacement to the GtkMenu docs. This type is only used for a style property there. docs/reference/gtk/gtk3-sections.txt | 2 +- gtk/gtkenums.h | 16 ---------------- gtk/gtkmenu.h | 15 +++++++++++++++ 3 files changed, 16 insertions(+), 17 deletions(-) commit b72f932b9af4d251a1acc5918f4b57388e8fb192 Author: Matthias Clasen Date: Tue May 20 06:07:31 2014 -0400 docs: enum cleanup Move GtkAccelFlags to the GtkAccelGroup docs. docs/reference/gtk/gtk3-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 54b0acde40042eee5bf14058260a9d71b59a28f9 Author: Yosef Or Boczko Date: Tue May 20 10:21:44 2014 +0300 Updated Hebrew translation po/he.po | 54 +++++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 43 insertions(+), 11 deletions(-) commit 0c4dc3c15702a8daff58e63211235d91ec19b32e Author: Rico Tzschichholz Date: Tue May 20 08:11:44 2014 +0200 docs: Fix make dist docs/reference/gtk/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 9af2710d843c9e17459737cb8530abf466a89b9e Author: Matthias Clasen Date: Mon May 19 23:20:56 2014 -0400 Add man pages for gtk3-demo and gtk3-widget-factory We install the applications, so they should also have some docs. docs/reference/gtk/Makefile.am | 2 + docs/reference/gtk/gtk-docs.sgml | 2 + docs/reference/gtk/gtk3-demo.xml | 59 ++++++++++++++++++++++++++++++ docs/reference/gtk/gtk3-widget-factory.xml | 59 ++++++++++++++++++++++++++++++ 4 files changed, 122 insertions(+) commit fd65b68927f40abd6b814787a83bad55c0d3a7c0 Author: Matthias Clasen Date: Mon May 19 22:47:59 2014 -0400 docs: Trivial typo fix gtk/gtkfilechooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 35af983b96bab4f61fe84115ab54fb8e4cfa4c88 Author: Piotr Drąg Date: Tue May 20 02:08:24 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + 1 file changed, 1 insertion(+) commit 701adf81b6bbc621f65f784f4f5decd2723e3a16 Author: Evan Nemerson Date: Fri May 16 20:12:51 2014 -0700 gdk: assorted introspection and documentation fixes https://bugzilla.gnome.org/show_bug.cgi?id=729983 gdk/gdkcursor.c | 6 ++++-- gdk/gdkdevice.c | 17 ++++++++++------- gdk/gdkdisplaymanager.c | 6 +++--- gdk/gdkdnd.c | 2 +- gdk/gdkevents.c | 2 +- gdk/gdkevents.h | 2 +- gdk/gdkscreen.c | 2 +- gdk/gdkselection.c | 6 +++--- gdk/gdkwindow.c | 15 ++++++++------- 9 files changed, 32 insertions(+), 26 deletions(-) commit ca790195863df95712d62696fc86dbacaf100a8e Author: Matthias Clasen Date: Mon May 19 14:07:37 2014 -0400 GtkSettings: load modules from settings.ini The initialization is really suboptimal here. This fix at least makes it so that we don't forget to load modules. https://bugzilla.gnome.org/show_bug.cgi?id=730306 gtk/gtksettings.c | 1 + 1 file changed, 1 insertion(+) commit 6b2ee7c23a917c35d452807bd9ecd2ac667d5fd8 Author: Yuri Myasoedov Date: Mon May 19 21:40:44 2014 +0400 Updated Russian translation po-properties/ru.po | 3235 +++++++++++++++++++++++++++------------------------ 1 file changed, 1683 insertions(+), 1552 deletions(-) commit cacccf7a3a5686c9885324839dadaf88a9591587 Author: Carlos Garnacho Date: Mon May 19 13:50:21 2014 +0200 popover: Check for uncaught button events from children And deal correctly with those as a click within the popover. https://bugzilla.gnome.org/show_bug.cgi?id=727994 gtk/gtkpopover.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit e2cd59b7313a28f74104f8f9c49412042578c7bf Author: Carlos Garnacho Date: Mon May 19 13:41:34 2014 +0200 popover: Do not hide the popover if the focus widget is just unset The focus widget might be unset, just to be set again on a widget inside the popover. Have the popover wait till the focus is actually moved outside before dismissing. gtk/gtkpopover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c665564374de33c95023b86ec85a7654901ba240 Author: Matthias Clasen Date: Mon May 19 07:10:33 2014 -0400 inspector: Build out the resource information Show type and size for each resource. gtk/inspector/resource-list.c | 28 ++++++++-- gtk/inspector/resource-list.ui | 113 +++++++++++++++++++++++++++++++---------- 2 files changed, 111 insertions(+), 30 deletions(-) commit 7bf3d9d0ab13da46ff02ecf815ad22e41d67b0ad Author: Matthias Clasen Date: Mon May 19 06:58:06 2014 -0400 Fix doc syntax End-of-comment tags don't take an @ - thats only for parameters. gtk/gtkcontainer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8c0b1697e6ae3167b0898233e2fddc7c2e7a7155 Author: Matthias Clasen Date: Mon May 19 00:17:23 2014 -0400 inspector: string fixes Mark user-visible strings for translation in the new property editor. gtk/inspector/prop-editor.c | 12 +++++++----- po/POTFILES.in | 1 + 2 files changed, 8 insertions(+), 5 deletions(-) commit 9a23fd3313b3809f03f13d479c7833823704f2e0 Author: Matthias Clasen Date: Mon May 19 00:13:30 2014 -0400 inspector: Link to model for attributes gtk/inspector/prop-editor.c | 60 +++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/prop-list.c | 6 ++++- gtk/inspector/widget-tree.c | 5 +++- 3 files changed, 69 insertions(+), 2 deletions(-) commit d260694a373f2bc33000d37a5478b114fc357ac4 Author: Benjamin Otte Date: Mon May 19 04:24:10 2014 +0200 widget: Untagle if statements Reduces the number of nested ifs and makes the code clearer. gtk/gtkwidget.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit 34a87ee2f3715d9bc89ad6988c2123a50028e886 Author: Matthias Clasen Date: Sun May 18 01:03:24 2014 -0400 inspector: redo property editing Move away from cell editing, and use a popover instead. This makes it easier to e.g. use a color chooser - there's just not enough room in a cell for many things. Much of this code is adapted from tests/prop-editor.c. gtk/inspector/Makefile.am | 4 +- gtk/inspector/init.c | 2 - gtk/inspector/prop-editor.c | 1199 ++++++++++++++++++++++++++++++++ gtk/inspector/prop-editor.h | 63 ++ gtk/inspector/prop-list.c | 74 +- gtk/inspector/prop-list.ui | 8 +- gtk/inspector/property-cell-renderer.c | 460 ------------ gtk/inspector/property-cell-renderer.h | 62 -- gtk/inspector/window.c | 1 - 9 files changed, 1334 insertions(+), 539 deletions(-) commit 386f1d14f0de015cdb071f0bf7332c8c5dbf3154 Author: Matthias Clasen Date: Sun May 18 00:02:59 2014 -0400 GtkAssistant: Avoid a crash The child properties in GtkAssistant are somewhat broken, since they are not on direct children - but that is no reason to crash if somebody does ask for child properties of direct children. gtk/gtkassistant.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit f191c13a27cbc4aaa9d7576bd84ba7873b58c10d Author: Benjamin Otte Date: Sun May 18 16:08:30 2014 +0200 API: Deprecate gtk_container_set_reallocate_redraws() gtk/gtkcontainer.c | 3 +++ gtk/gtkcontainer.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 0c55b841fc41a14f933f5d2f773cdcd7603289b5 Author: Michael Catanzaro Date: Sat May 17 22:20:13 2014 -0500 Fix a typo gtk/gtkbbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3cb5e58b1a51f3a7bd93c3c17e21a9e6fc46ea51 Author: Benjamin Otte Date: Sun May 18 02:29:56 2014 +0200 API: Deprecate gtk_widget_region_intersect() It's unused and would become disambiguous once we split between allocation and draw region. gtk/gtkwidget.c | 3 +++ gtk/gtkwidget.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit 2a99584c68c41b8ff2df521700d1e1a79e3de66f Author: Benjamin Otte Date: Sat May 17 20:37:54 2014 +0200 API: Deprecate gtk_widget_reparent() gtk/gtkmenu.c | 6 +++++- gtk/gtkwidget.c | 2 ++ gtk/gtkwidget.h | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) commit 2b0323446640ffe561cabcf1f72987a6230fc639 Author: Yosef Or Boczko Date: Sun May 18 00:17:57 2014 +0300 Updated Hebrew translation po/he.po | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) commit 70bec41f6c21cb0f406f3c9a679ecda356b904d4 Author: Matthias Clasen Date: Sat May 17 15:39:46 2014 -0400 inspector: Allow sorting signals gtk/inspector/signals-list.ui | 2 ++ 1 file changed, 2 insertions(+) commit 3d0b149e3b1357253ac63084fc08b0b93c740f67 Author: Matthias Clasen Date: Sat May 17 15:35:10 2014 -0400 inspector: Allow sorting properties by origin gtk/inspector/prop-list.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4f830fb117fb11953a03e5eab765543884ff610b Author: Matthias Clasen Date: Sat May 17 15:32:54 2014 -0400 treeview: Don't show missing images When a model is sortable, but the the column is not currently used for sorting, we want to reserve the space for showing the sort indicator. But we currently set the icon to 'missing-image', which is not great to show all over the place. So, just set the opacity to 0. gtk/gtktreeviewcolumn.c | 5 +++++ 1 file changed, 5 insertions(+) commit df61db6dbc99259033dea81727e03a8b0b6d4c2b Author: Piotr Drąg Date: Sat May 17 20:20:45 2014 +0200 Improve punctuation in a new translatable string gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b4a57a0f0cabf671f90b255351b10c5165d6acd7 Author: Matthias Clasen Date: Fri May 16 21:51:42 2014 -0400 inspector: Add a first-time warning With the keybinding, it is possible that users may trigger the inspector unintentionally. Show a dialog that informs them about whats going on and gives them a chance to back out. The warning dialog can be bypassed with the org.gtk.Settings.Debug inspector-warning setting. gtk/gtkwindow.c | 82 +++++++++++++++++++++++++++------- gtk/org.gtk.Settings.Debug.gschema.xml | 8 ++++ 2 files changed, 74 insertions(+), 16 deletions(-) commit 2bf654b35201ae24bb6086d56d5b4ee3375f08be Author: Matthias Clasen Date: Fri May 16 20:49:06 2014 -0400 inspector: Drop an unused widget gtk/inspector/actions.c | 2 -- gtk/inspector/actions.ui | 7 ------- 2 files changed, 9 deletions(-) commit 8c15389d76ff3c47041e4dc396882aa1c78eb863 Author: Jasper St. Pierre Date: Fri May 16 15:34:18 2014 -0400 wayland: Clean up init code a tiny bit gdk/wayland/gdkdisplay-wayland.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit ffebedae40fd0eb3910a6aacaacf4e0cb8e6a8d8 Author: Jasper St. Pierre Date: Fri May 16 15:30:10 2014 -0400 wayland: Simplify roundtrip initialization All the globals we care about should appear before doing anything else, up-front, so a single round-trip after adding the registry should be more than enough. gdk/wayland/gdkdisplay-wayland.c | 41 ++-------------------------------------- gdk/wayland/gdkdisplay-wayland.h | 1 - 2 files changed, 2 insertions(+), 40 deletions(-) commit 72e9937e0049ae5db17edf3d7ad7059240711c6e Author: Jasper St. Pierre Date: Thu May 15 18:11:20 2014 -0400 wayland: Remove unused stuff gdk/wayland/gdkcursor-wayland.c | 5 ----- gdk/wayland/gdkdisplay-wayland.h | 3 +-- gdk/wayland/gdkwindow-wayland.c | 35 ----------------------------------- 3 files changed, 1 insertion(+), 42 deletions(-) commit 12f5cfac19617a5cdee3a047f5c19603296fd692 Author: Matthias Clasen Date: Fri May 16 14:22:13 2014 -0400 Trivial syntax fix gtk/inspector/general.ui | 1 - 1 file changed, 1 deletion(-) commit 7ea0e2756af1e6794aa5d916ed94a33eaa46c857 Author: Chun-wei Fan Date: Fri May 16 18:02:00 2014 +0800 GtkInspector: Fix Build on Windows Update visual.c to use Windows themes rather than the stock Raleigh theme, and avoid hardcoding data paths for Windows (and Mac). As the dlfcn.h functions are only used when Python is enabled, move its inclusion there[*]. Also ensure that variables are declared on the top of the block. [*] Python support Windows needs to be investigated, as POSIX signal handling is used there. https://bugzilla.gnome.org/show_bug.cgi?id=730236 gtk/inspector/classes-list.c | 3 ++- gtk/inspector/python-hooks.c | 2 +- gtk/inspector/visual.c | 32 ++++++++++++++++++++++++++++++-- 3 files changed, 33 insertions(+), 4 deletions(-) commit 146adf077ea423b844f39ec71018b5cc8936599c Author: Piotr Drąg Date: Fri May 16 17:30:25 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 1 + 2 files changed, 3 insertions(+) commit 298f76e6a3fb00f1dce5c1bd0710e05da072af81 Author: Matthias Clasen Date: Fri May 16 08:24:37 2014 -0400 Docs: Update an example to use current API gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8d7c93ba472fdc1391b97d319cad496103e8c317 Author: Chun-wei Fan Date: Fri May 16 17:32:29 2014 +0800 Visual Studio Builds: Build GtkInspector Add project files to build the GtkInspector sources, as gtk-inspector is a required portion for GTK+. "Install" the org.gtk.Settings.Debug.gschema.xml gsettings schema file as well, so that people can trigger GtkInspector as they develop and test their GTK+-based programs. build/win32/vs10/Makefile.am | 2 + build/win32/vs10/gtk+.sln | 18 +++ build/win32/vs10/gtk-inspector.vcxproj | 149 +++++++++++++++++++++++++ build/win32/vs10/gtk-inspector.vcxproj.filters | 38 +++++++ build/win32/vs10/gtk-install.props | 2 + build/win32/vs10/gtk.vcxprojin | 4 + build/win32/vs9/Makefile.am | 1 + build/win32/vs9/gtk+.sln | 22 ++++ build/win32/vs9/gtk-inspector.vcproj | 148 ++++++++++++++++++++++++ build/win32/vs9/gtk-install.vsprops | 1 + 10 files changed, 385 insertions(+) commit 63e7fe3d605e604b3211a8f53e190043bc3e9d85 Author: Matthias Clasen Date: Fri May 16 00:27:28 2014 -0400 inspector: Show tree model contents gtk/inspector/data-list.c | 133 ++++++++++++++++++++++++++++++--------------- gtk/inspector/data-list.ui | 49 +++++------------ 2 files changed, 104 insertions(+), 78 deletions(-) commit 58b48fa2091bea369674024e242e9d4944f01891 Author: Chun-wei Fan Date: Fri May 16 12:07:01 2014 +0800 gdkselection-win32.c: Declare Variables At Top Of Block ...so that builds on Visual C++ can be fixed. gdk/win32/gdkselection-win32.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit ee06b932d387407012a4b8a96cdee13e3e86e619 Author: Matthias Clasen Date: Thu May 15 22:53:23 2014 -0400 inspector: Set a window icon gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/logo.png | Bin 0 -> 2640 bytes gtk/inspector/window.ui | 1 + 3 files changed, 2 insertions(+) commit fa80bb23249c2fb6da2a1a16c84a1c884cab1494 Author: Matthias Clasen Date: Thu May 15 22:36:48 2014 -0400 inspector: Improve actions tab React to action group changes, and allow changing action states. gtk/inspector/actions.c | 198 ++++++++++++++++++++++++++++++++++++++++------- gtk/inspector/actions.ui | 4 +- 2 files changed, 172 insertions(+), 30 deletions(-) commit 906e4adb5ae1132731b931ff5ccc69ea29355f05 Author: Matthias Clasen Date: Thu May 15 20:54:22 2014 -0400 inspector: ellipsize long paths gtk/inspector/general.ui | 6 ++++++ 1 file changed, 6 insertions(+) commit 271ef198bf0c7fd569136f9c72e2806d529cd9e8 Author: Benjamin Otte Date: Fri May 16 04:06:23 2014 +0200 cssimage: Implement symbolic coloring for -gtk-icontheme() gtk/gtkcssimageicontheme.c | 30 +++++++++++++++++++++++------- gtk/gtkcssimageiconthemeprivate.h | 1 + 2 files changed, 24 insertions(+), 7 deletions(-) commit 96c476b6a0bbeac07ce70cee77f323f13dd1c520 Author: Yosef Or Boczko Date: Fri May 16 05:11:56 2014 +0300 Updated Hebrew properties translation po-properties/he.po | 2140 ++++++++++++++++++++++++++------------------------- 1 file changed, 1079 insertions(+), 1061 deletions(-) commit 20f2c84e9c04394776e293f910576013347d6672 Author: Yosef Or Boczko Date: Fri May 16 03:09:51 2014 +0300 Updated Hebrew translation po/he.po | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) commit 7f3788e2f0b73be75edc02cf8070543eab570566 Author: Yosef Or Boczko Date: Fri May 16 03:09:44 2014 +0300 Updated POTFILES.in po/POTFILES.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e84a523750ba14bafcbba1d1d584edbb1fcfc52f Author: Matthias Clasen Date: Thu May 15 19:34:38 2014 -0400 inspector: Show resources Show a list of all registered resources. If a resource looks like text or an image, we show its content. gtk/inspector/Makefile.am | 3 + gtk/inspector/init.c | 2 + gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/resource-list.c | 172 ++++++++++++++++++++++++++++++++++ gtk/inspector/resource-list.h | 52 ++++++++++ gtk/inspector/resource-list.ui | 92 ++++++++++++++++++ gtk/inspector/window.ui | 11 +++ po/POTFILES.in | 1 + 8 files changed, 334 insertions(+) commit d52a01631e5065c76d411c29e7bfb30639c34670 Author: Matthias Clasen Date: Thu May 15 16:11:14 2014 -0400 inspector: Redraw when visual debugging tools are toggled This doesn't address the pixel cache yet. gtk/inspector/visual.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit e170f31e2a321168adbfd16bd74fb822d57dc093 Author: Matthias Clasen Date: Thu May 15 15:24:44 2014 -0400 inspector: Don't show internal build ids These ___object_x___ ids just clutter up the tree. gtk/inspector/widget-tree.c | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) commit 75ecdf50a3d1de29a982df6cd614c2f652504678 Author: Jasper St. Pierre Date: Thu May 15 17:20:00 2014 -0400 wayland: Fix GtkMenuButton popups in a terrible, hacky way Since you can't take grabs on unmapped windows, GtkMenu takes a grab on the menu in a convoluted way: it first grabs another window, shows the menu window, and then transfers the grab over to the GtkMenu widget. For normal menubars, this is perfectly fine, as the first window it grabs is our toplevel, and that gets picked up in our transient path. For GtkMenuButton or other spurious uses of gtk_menu_popup, it creates a new temporary input-only window which it takes the grab on, known as the "grab transfer window". Since this window isn't a transient-for of our new menu widget window, the grab isn't noticed when we go to show it, and thus the menu ends up as a new toplevel. Add a special hack to GtkMenu and the Wayland backend which lets us notice this "grab transfer window", and include it in our grab finding path. It's sort of terrible to have to hack up the widgets instead of just the backend, but the alternative would be an entirely new window type which is managed correctly by GDK. I don't want to write that. gdk/wayland/gdkwindow-wayland.c | 15 +++++++++++++++ gtk/gtkmenu.c | 23 +++++++++++++++++++++++ 2 files changed, 38 insertions(+) commit f6b3f0bfc791e117b60b2c8407ea38ff4d887407 Author: Jasper St. Pierre Date: Thu May 15 17:14:26 2014 -0400 wayland: Clean up function to find the input seat gdk/wayland/gdkwindow-wayland.c | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) commit 7052795a80dd393e8522717027ff0dc5d6c9ab94 Author: Jasper St. Pierre Date: Thu May 15 17:12:09 2014 -0400 wayland: Clean up code to find the correct seat for a window gdk/wayland/gdkwindow-wayland.c | 48 ++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 20 deletions(-) commit eb3f2c00681e7822ed0f2e0e126c9a17e0c9a7a9 Author: Piotr Drąg Date: Thu May 15 20:53:48 2014 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 8 ++++---- po-properties/POTFILES.skip | 46 +++++++++++++++++++++++---------------------- po/POTFILES.skip | 23 ++++++++++++----------- 3 files changed, 40 insertions(+), 37 deletions(-) commit 23bfcd8e84f98e5efdef25105e897a65f5cc3ec4 Author: Yosef Or Boczko Date: Thu May 15 21:16:58 2014 +0300 Updated Hebrew translation po/he.po | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit ac68d1f0a193122244c03c5aac7d73383434ade9 Author: Stefano Facchini Date: Thu May 15 18:23:48 2014 +0200 inspector: make the classes-list toolbar sensitive gtk/inspector/classes-list.ui | 1 - 1 file changed, 1 deletion(-) commit 78a6906d4a710f6738bb200a5dd994c15f976833 Author: Stefano Facchini Date: Thu May 15 18:15:31 2014 +0200 inspector: Fix a typo gtk/inspector/classes-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d252282e75eb3160e84619600b7624d8e0942f49 Author: Jasper St. Pierre Date: Thu May 15 11:04:48 2014 -0400 inspector: git ignore template headers gtk/inspector/Makefile.am | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 2e07865f67ed9be7837907bdcee467c9f210a06d Author: Matthias Clasen Date: Thu May 15 08:47:44 2014 -0400 Drop debug spew gtk/inspector/general.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 93204d3ba899d928ca0f9240237236e7b2dc13c4 Author: Matthias Clasen Date: Thu May 15 08:42:24 2014 -0400 Don't lie about baselines so much Let g_object_get (w, "valign",...) report the truth, so that the inspector can show it without special cases. gtk/gtkwidget.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit e80df0aed01b41a596c707570b692099c4610e18 Author: Matthias Clasen Date: Thu May 15 08:42:14 2014 -0400 Minor doc fix docs/reference/gtk/running.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0d5d76639d6b265008a843b90c58af0aba9163c Author: Yosef Or Boczko Date: Thu May 15 13:09:14 2014 +0300 Updated Hebrew translation po/he.po | 569 +++++++++++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 411 insertions(+), 158 deletions(-) commit e24e621fffb4a459b190e011d5c71c65733a76ff Author: Yosef Or Boczko Date: Thu May 15 12:52:47 2014 +0300 inspector: Added general.ui to Makefile gtk/inspector/Makefile.am | 1 + 1 file changed, 1 insertion(+) commit 42dc501133ed88ff1e3201c181c1686f28722bcc Author: Matthias Clasen Date: Thu May 15 00:14:37 2014 -0400 inspector: Drop unused functions The entire UI is constructed with templates, so the wrapper constructors are never called, except for gtk_inspector_window_new, which gets called from the GTK+ code. gtk/inspector/actions.c | 6 ------ gtk/inspector/actions.h | 1 - gtk/inspector/button-path.c | 6 ------ gtk/inspector/button-path.h | 1 - gtk/inspector/classes-list.c | 6 ------ gtk/inspector/classes-list.h | 1 - gtk/inspector/css-editor.c | 8 -------- gtk/inspector/css-editor.h | 1 - gtk/inspector/data-list.c | 6 ------ gtk/inspector/data-list.h | 1 - gtk/inspector/general.c | 6 ------ gtk/inspector/general.h | 1 - gtk/inspector/object-hierarchy.c | 6 ------ gtk/inspector/object-hierarchy.h | 1 - gtk/inspector/prop-list.c | 12 ------------ gtk/inspector/prop-list.h | 2 -- gtk/inspector/property-cell-renderer.c | 6 ------ gtk/inspector/property-cell-renderer.h | 1 - gtk/inspector/signals-list.c | 6 ------ gtk/inspector/signals-list.h | 1 - gtk/inspector/visual.c | 6 ------ gtk/inspector/visual.h | 1 - gtk/inspector/widget-tree.c | 7 ------- gtk/inspector/widget-tree.h | 1 - 24 files changed, 94 deletions(-) commit 75d49675f39158755401b560afb99651b17895d1 Author: Matthias Clasen Date: Thu May 15 00:06:43 2014 -0400 inspector: Add a general information tab It is useful to see the GTK+ version, and the various paths that affect GTK+ operation at runtime. gtk/inspector/Makefile.am | 2 + gtk/inspector/general.c | 170 +++++++++++++++++++++ gtk/inspector/general.h | 53 +++++++ gtk/inspector/general.ui | 269 ++++++++++++++++++++++++++++++++++ gtk/inspector/init.c | 2 + gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/window.ui | 11 ++ po/POTFILES.in | 1 + 8 files changed, 509 insertions(+) commit b36c8250a9e109637270a79127c56d617a9dda25 Author: Matthias Clasen Date: Wed May 14 22:53:32 2014 -0400 inspector: Merge Visual and Themes tabs gtk/inspector/Makefile.am | 3 - gtk/inspector/init.c | 2 - gtk/inspector/inspector.gresource.xml | 1 - gtk/inspector/themes.c | 205 ----------------------- gtk/inspector/themes.h | 58 ------- gtk/inspector/themes.ui | 68 -------- gtk/inspector/visual.c | 183 ++++++++++++++++++-- gtk/inspector/visual.h | 4 +- gtk/inspector/visual.ui | 305 +++++++++++++++++++++++++--------- gtk/inspector/window.c | 1 - gtk/inspector/window.ui | 11 -- po/POTFILES.in | 1 - 12 files changed, 403 insertions(+), 439 deletions(-) commit 2d2f9861a6630668587f0d4f67098fc1ec2cf8e8 Author: Matthias Clasen Date: Tue May 13 20:36:02 2014 -0400 inspector: Show GAction information Show the actions that are added to GtkApplication and GtkApplicationWindows, as well as action groups that are inserted elsewhere with gtk_widget_insert_action_group. https://bugzilla.gnome.org/show_bug.cgi?id=730095 gtk/inspector/Makefile.am | 3 + gtk/inspector/actions.c | 131 ++++++++++++++++++++++++++++++++++ gtk/inspector/actions.h | 55 ++++++++++++++ gtk/inspector/actions.ui | 103 ++++++++++++++++++++++++++ gtk/inspector/init.c | 2 + gtk/inspector/inspector.gresource.xml | 1 + gtk/inspector/window.c | 4 ++ gtk/inspector/window.h | 1 + gtk/inspector/window.ui | 10 +++ po/POTFILES.in | 1 + 10 files changed, 311 insertions(+) commit 3f224a716513f3bc12112931abc95eca940e9dac Author: Matthias Clasen Date: Tue May 13 20:28:44 2014 -0400 Add private GtkWidget api for action groups Similar to the just-added action muxer api for enumerating action prefixes and for getting the action group for a prefix. https://bugzilla.gnome.org/show_bug.cgi?id=730095 gtk/gtkwidget.c | 17 +++++++++++++++++ gtk/gtkwidgetprivate.h | 3 +++ 2 files changed, 20 insertions(+) commit 4396bbdb3c040c1f5bfc8dd24b7b5092d4cf73b4 Author: Matthias Clasen Date: Tue May 13 20:27:58 2014 -0400 GtkActionMuxer: Add getters Add a way to enumerate all prefixes, and to get the action group for a prefix. https://bugzilla.gnome.org/show_bug.cgi?id=730095 gtk/gtkactionmuxer.c | 21 +++++++++++++++++++++ gtk/gtkactionmuxer.h | 4 +++- 2 files changed, 24 insertions(+), 1 deletion(-) commit 384393e9de1b5f88f16a6920a744f367b374c092 Author: Matthias Clasen Date: Wed May 14 21:25:28 2014 -0400 Revert "Add private api to load a single module" This reverts commit 7f9a0dbe164f7c731d24c4890dde51391787e966. gtk/gtkmodules.c | 7 ------- gtk/gtkmodules.h | 1 + gtk/gtkmodulesprivate.h | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) commit 59c9d24bbf0a0e6c8b4a693d5fc99edac7207843 Author: Matthias Clasen Date: Wed May 14 21:23:44 2014 -0400 inspector: stop being a module Moving the inspector into libgtk lets use reuse internals without having to add public API for everything or inventing awkward private call conventions. https://bugzilla.gnome.org/show_bug.cgi?id=730095 configure.ac | 2 +- gtk/Makefile.am | 6 +- gtk/gtkwindow.c | 19 +--- gtk/inspector/Makefile.am | 106 +++++++++++++++++++++ {modules => gtk}/inspector/button-path.c | 0 {modules => gtk}/inspector/button-path.h | 0 {modules => gtk}/inspector/button-path.ui | 0 {modules => gtk}/inspector/classes-list.c | 0 {modules => gtk}/inspector/classes-list.h | 0 {modules => gtk}/inspector/classes-list.ui | 0 {modules => gtk}/inspector/css-editor.c | 0 {modules => gtk}/inspector/css-editor.h | 0 {modules => gtk}/inspector/css-editor.ui | 0 {modules => gtk}/inspector/data-list.c | 0 {modules => gtk}/inspector/data-list.h | 0 {modules => gtk}/inspector/data-list.ui | 0 modules/inspector/module.c => gtk/inspector/init.c | 2 +- gtk/inspector/init.h | 29 ++++++ {modules => gtk}/inspector/inspect-button.c | 0 {modules => gtk}/inspector/inspector.gresource.xml | 0 {modules => gtk}/inspector/object-hierarchy.c | 0 {modules => gtk}/inspector/object-hierarchy.h | 0 {modules => gtk}/inspector/object-hierarchy.ui | 0 {modules => gtk}/inspector/prop-list.c | 0 {modules => gtk}/inspector/prop-list.h | 0 {modules => gtk}/inspector/prop-list.ui | 0 .../inspector/property-cell-renderer.c | 0 .../inspector/property-cell-renderer.h | 0 {modules => gtk}/inspector/python-hooks.c | 0 {modules => gtk}/inspector/python-hooks.h | 0 {modules => gtk}/inspector/python-shell.c | 0 {modules => gtk}/inspector/python-shell.h | 0 {modules => gtk}/inspector/signals-list.c | 0 {modules => gtk}/inspector/signals-list.h | 0 {modules => gtk}/inspector/signals-list.ui | 0 {modules => gtk}/inspector/themes.c | 0 {modules => gtk}/inspector/themes.h | 0 {modules => gtk}/inspector/themes.ui | 0 {modules => gtk}/inspector/visual.c | 0 {modules => gtk}/inspector/visual.h | 0 {modules => gtk}/inspector/visual.ui | 0 {modules => gtk}/inspector/widget-tree.c | 0 {modules => gtk}/inspector/widget-tree.h | 0 {modules => gtk}/inspector/widget-tree.ui | 0 {modules => gtk}/inspector/window.c | 0 {modules => gtk}/inspector/window.h | 0 {modules => gtk}/inspector/window.ui | 0 modules/Makefile.am | 2 +- modules/inspector/Makefile.am | 102 -------------------- po/POTFILES.in | 32 +++---- 50 files changed, 162 insertions(+), 138 deletions(-) commit 53b37b8f719a55c9aa8048ee2e7b2e5b6b4f106f Author: Matthias Clasen Date: Wed May 14 20:37:57 2014 -0400 Fix GtkCalendar drawing A gtk_widget_get_allocation call was unintentionally dropped in 5cb43c70f776a7. gtk/gtkcalendar.c | 1 + 1 file changed, 1 insertion(+) commit 6ecc431c23ff284637c13bb6eccc39e114999fc6 Author: Cosimo Cecchi Date: Wed May 14 11:19:56 2014 -0700 placessidebar: use proper canonicalization when checking if home Instead of just checking the string. This catches things like double slashes, relative paths and so on. https://bugzilla.gnome.org/show_bug.cgi?id=730142 gtk/gtkplacessidebar.c | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) commit 99f36ffbb4f2ca05639c9dab5e8b6313da70c03e Author: Matthias Clasen Date: Wed May 14 05:50:02 2014 -0400 docs: Add an index for 3.14 additions docs/reference/gtk/gtk-docs.sgml | 4 ++++ 1 file changed, 4 insertions(+) commit 652513074074e4dc7b61e36503ad2ce534f866a1 Author: Ryan Lortie Date: Wed May 14 15:49:30 2014 -0400 GtkMenuShell: (model binding) show() new items We weren't calling show() on newly-added items -- make sure we do that. This makes the Time menu in bloatpad work properly again. gtk/gtkmenushell.c | 1 + 1 file changed, 1 insertion(+) commit 583b46c9c8cd547713ce1853c2e2a95b1af410a7 Author: Piotr Drąg Date: Wed May 14 19:34:55 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 4 ++++ po/POTFILES.skip | 4 ++++ 2 files changed, 8 insertions(+) commit 6c737b8bf0657221a4695f08de9f22092e68de2f Author: Yosef Or Boczko Date: Wed May 14 14:51:10 2014 +0300 Updated POTFILES.in po-properties/POTFILES.in | 2 +- po/POTFILES.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 8b0b024385a201808265b6a42c1922885f9b1c2a Author: Matthias Clasen Date: Tue May 13 23:52:47 2014 -0400 More deprecation docs for GtkArrow gtk/deprecated/gtkarrow.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit a600718846d11f68f01ba0d7e215c7c5a4f0b2ce Author: Matthias Clasen Date: Tue May 13 00:03:34 2014 -0400 Deprecate GtkArrow https://bugzilla.gnome.org/show_bug.cgi?id=729564 docs/reference/gtk/gtk-docs.sgml | 2 +- gtk/Makefile.am | 4 ++-- gtk/{ => deprecated}/gtkarrow.c | 9 +++++++++ gtk/{ => deprecated}/gtkarrow.h | 6 +++--- gtk/gtk.h | 2 +- 5 files changed, 16 insertions(+), 7 deletions(-) commit 219f96b8a3b48c9cfe48bbefa2c260e82ca251e7 Author: Matthias Clasen Date: Tue May 13 21:19:09 2014 -0400 Drop GtkArrow use in GtkTreeView This was just an unneeded include anyway. gtk/gtktreeview.c | 1 - 1 file changed, 1 deletion(-) commit c242437535518782e0427f0fdc0ce1638e0059ec Author: Matthias Clasen Date: Tue May 13 21:18:45 2014 -0400 Drop GtkArrow use in GtkPathBar This was just an unneeded include anyway. gtk/gtkpathbar.c | 1 - 1 file changed, 1 deletion(-) commit 7269168e89f8f7f33ad6884ed91d2b0e64c815fb Author: Matthias Clasen Date: Tue May 13 21:18:25 2014 -0400 Drop GtkArrow use in GtkMenuToolButton This was just an unneeded include anyway. gtk/gtkmenutoolbutton.c | 1 - 1 file changed, 1 deletion(-) commit 57feff4e14ac8e1992bb301a77cf2fbc538fe356 Author: Matthias Clasen Date: Mon May 12 23:56:37 2014 -0400 Drop GtkArrow use in GtkTreeViewColumn This is in preparation for GtkArrow getting deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=729564 gtk/gtktreeviewcolumn.c | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) commit 26e1b7c7d7123ba112188b5027c2d144e7040879 Author: Matthias Clasen Date: Mon May 12 23:51:39 2014 -0400 Drop GtkArrow use in GtkToolbar This is in preparation for GtkArrow getting deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=729564 gtk/gtktoolbar.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 69314ce9e5d9a5005231d5a203f273e1165f7105 Author: Matthias Clasen Date: Mon May 12 23:49:28 2014 -0400 Drop GtkArrow use in GtkMenuButton This is in preparation for GtkArrow getting deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=729564 gtk/gtkmenubutton.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 9a127d364f9413f3e7c431c09ff4495f0ac88137 Author: Matthias Clasen Date: Mon May 12 23:35:52 2014 -0400 Drop GtkArrow use in GtkComboBox This is in preparation for GtkArrow getting deprecated. https://bugzilla.gnome.org/show_bug.cgi?id=729564 gtk/gtkcombobox.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 0f788ab1bee03430f426c595c0482d54cf35e943 Author: Benjamin Otte Date: Wed May 14 04:52:55 2014 +0200 testsuite: Add rtl icontheme tests testsuite/gtk/Makefile.am | 3 ++ .../gtk/icons/scalable/everything-justrtl-rtl.svg | 11 +++++++ testsuite/gtk/icons/scalable/everything-rtl.svg | 5 +++ .../gtk/icons/scalable/everything-symbolic-rtl.svg | 5 +++ testsuite/gtk/icontheme.c | 38 ++++++++++++++++++++++ 5 files changed, 62 insertions(+) commit 0f5814aa3370fcbb85ce90cd3baa40248a250c33 Author: Matthias Clasen Date: Wed May 14 04:13:58 2014 +0200 icontheme: Add a test for lookup order Add tests that verify the expected lookup order between -symbolic, -rtl/-ltr and generic fallback. gtk/gtkicontheme.c | 5 ++ testsuite/gtk/icontheme.c | 142 +++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 146 insertions(+), 1 deletion(-) commit b0b205040c9468855604a24f483f34e01ffa440d Author: Matthias Clasen Date: Wed May 14 03:34:49 2014 +0200 GtkIconTheme: Support looking up directional variants Add two new icon lookup flags, GTK_ICON_LOOKUP_DIR_LTR and _RTL, which tell GtkIconTheme to look for icon variants which have a -ltr or -rtl suffix. GtkIconHelper adds these lookup flags when looking up icons. Note that due to the way this overlaps with symbolic icon lookup, directional variants of symbolic icons must be called -symbolic-rtl, not -rtl-symbolic. https://bugzilla.gnome.org/show_bug.cgi?id=729980 gtk/gtkicontheme.c | 55 +++++++++++++++++++++++++++++++++++++++++++-------- gtk/gtkicontheme.h | 8 +++++++- gtk/gtkstylecontext.c | 17 +++++++++++++--- 3 files changed, 68 insertions(+), 12 deletions(-) commit 89d6598d5b51513c8ef90d67d9ecb2451954f45b Author: Benjamin Otte Date: Tue May 13 15:50:05 2014 +0200 icontheme: Split out symbolicness tests into own function gtk/gtkicontheme.c | 30 +++++++++++++++++++++--------- 1 file changed, 21 insertions(+), 9 deletions(-) commit 26c2975007939c5d94d7606567166f090a3a6eaf Author: Matthias Clasen Date: Tue May 13 15:23:53 2014 +0200 testsuite: Add icontheme tests for generic fallback testsuite/gtk/icontheme.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 77a9539e07f300ccfe7155df9034d3ef78786cf7 Author: Benjamin Otte Date: Tue May 13 15:07:40 2014 +0200 icontheme: Do a failed lookup at the beginning Do this to catch the g_warning() that the icontheme code emits the first time a lookup fails. testsuite/gtk/icontheme.c | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) commit 5f794773aa61ce16d8d4ccae91cf2219081f99c8 Author: Benjamin Otte Date: Tue May 13 03:17:15 2014 +0200 testsuite: Add more icontheme tests Check that the lookup order works properly when forcing either symbolic or regular icons. testsuite/gtk/Makefile.am | 4 + testsuite/gtk/icons/index.theme | 8 +- .../gtk/icons/scalable/everything-justregular.svg | 11 ++ .../scalable/everything-justsymbolic-symbolic.svg | 11 ++ .../gtk/icons/scalable/everything-symbolic.svg | 5 + testsuite/gtk/icons/scalable/everything.svg | 5 + testsuite/gtk/icontheme.c | 132 ++++++++++++++++++++- 7 files changed, 174 insertions(+), 2 deletions(-) commit 5ba4a085e2a8f3cccfe9046f636a8dae25c970c2 Author: Benjamin Otte Date: Mon May 12 18:19:47 2014 +0200 testsuite: Add a basic icontheme test Most of the work here is creating the infrastructure to have a custom icon theme to add icons to and run tests against. testsuite/gtk/Makefile.am | 7 +++ testsuite/gtk/icons/16x16/simple.png | Bin 0 -> 174 bytes testsuite/gtk/icons/index.theme | 12 +++++ testsuite/gtk/icontheme.c | 86 +++++++++++++++++++++++++++++++++++ 4 files changed, 105 insertions(+) commit 5e07b80854e2f38278484196ab46cecdd37a51d0 Author: Benjamin Otte Date: Mon May 12 04:51:35 2014 +0200 reftests: Add a test for recent commits Check that icon-shadow is not affected by -gtk-icon-transform. testsuite/reftests/Makefile.am | 3 +++ testsuite/reftests/icon-shadow-no-transform.css | 11 +++++++++++ testsuite/reftests/icon-shadow-no-transform.ref.ui | 15 +++++++++++++++ testsuite/reftests/icon-shadow-no-transform.ui | 18 ++++++++++++++++++ 4 files changed, 47 insertions(+) commit 783e5f7b3ea4b289e89c4a1c51db6e6d70c3304c Author: Benjamin Otte Date: Mon May 12 04:14:10 2014 +0200 themingengine: Don't transform icon shadows .. by -gtk-icon-transform. We want a rotating spinner's shadow to still be directed towards bottom right. gtk/gtkthemingengine.c | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) commit cb0b4b541086d8b25d2be055cc5174dbb380ce8e Author: Benjamin Otte Date: Mon May 12 03:51:14 2014 +0200 css: Change CssTransformValue API Provide API to query the matrix instead of API that applies the matrix directly. This makes the API more flexible. See the commits implementing shadows. gtk/gtkcsstransformvalue.c | 23 +++++++++++------------ gtk/gtkcsstransformvalueprivate.h | 4 ++-- gtk/gtkthemingengine.c | 9 +++++---- 3 files changed, 18 insertions(+), 18 deletions(-) commit ce0835e539392c3d51df6bbd673f60db7532b159 Author: Benjamin Otte Date: Mon May 12 03:16:07 2014 +0200 themingengine: Draw "icon-shadow" on icons gtk/gtkcssshadowsvalue.c | 8 ++++++++ gtk/gtkcssshadowsvalueprivate.h | 2 ++ gtk/gtkthemingengine.c | 11 +++++++++++ 3 files changed, 21 insertions(+) commit 59b6dee480a894f2cd41e4697b73a49548fcb39a Author: Benjamin Otte Date: Sun May 11 04:15:43 2014 +0200 reftest: Add tests for the new vfuncs This test is a bit brittle because it doesn't properly rely on CSS properties but needs to use widget style properties to turn of extra sizing from widgets. It might break in the future when porting widgets to draw properly. testsuite/reftests/Makefile.am | 3 + testsuite/reftests/icon-vfuncs.css | 14 ++++ testsuite/reftests/icon-vfuncs.ref.ui | 129 ++++++++++++++++++++++++++++++++ testsuite/reftests/icon-vfuncs.ui | 134 ++++++++++++++++++++++++++++++++++ 4 files changed, 280 insertions(+) commit b9f11cb63662f726ed2fe3087083e37ba3a6457e Author: Benjamin Otte Date: Sun May 11 03:59:32 2014 +0200 themingengine: Draw icons for arrows gtk/gtkthemingengine.c | 3 +++ 1 file changed, 3 insertions(+) commit b0ea9e4dead00c42745e821c6a6b688cfdb55acd Author: Benjamin Otte Date: Sun May 11 03:52:20 2014 +0200 themingengine: Use icons for expanders gtk/gtkthemingengine.c | 3 +++ 1 file changed, 3 insertions(+) commit bb7a5691a9686e0e1e9bf6d17bd91a193d495da6 Author: Benjamin Otte Date: Sun May 11 03:40:10 2014 +0200 themingengine: Implement icon drawing for checks and options gtk/gtkthemingengine.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 5d1b5c13fb4771c1d3de2deafedd0cd678c4cd35 Author: Benjamin Otte Date: Sun May 11 02:30:50 2014 +0200 icontheme: Don't force missing icon When forcing regular or symbolic icons, fall back to the default specified icons. This ensures that when no symbolic icon is present, an icon will still appear - the regular one. gtk/gtkicontheme.c | 57 ++++++++++++++++++++++++++++++++++++++---------------- gtk/gtkicontheme.h | 8 ++++---- 2 files changed, 44 insertions(+), 21 deletions(-) commit f0a5cebe231d130a59aef523b31947c1139f8d14 Author: Benjamin Otte Date: Sat May 10 21:50:26 2014 +0200 reftests: Add a reftest for -gtk-icon-style testsuite/reftests/Makefile.am | 3 + testsuite/reftests/icon-style-basics.css | 7 + testsuite/reftests/icon-style-basics.ref.ui | 805 +++++++++++++++++++++++++ testsuite/reftests/icon-style-basics.ui | 877 ++++++++++++++++++++++++++++ 4 files changed, 1692 insertions(+) commit f8cccbad0ee7c4c29ff374ef30c0903f5b939a80 Author: Benjamin Otte Date: Sat May 10 21:50:37 2014 +0200 iconhelper: Respect -gtk-icon-style This allows styling of entry icons, treeview pixbufs and images. They can now be forced to be symbolic or regular. gtk/gtkiconhelper.c | 12 +++++++++--- gtk/gtkstylecontext.c | 24 ++++++++++++++++++++++++ gtk/gtkstylecontextprivate.h | 4 ++++ 3 files changed, 37 insertions(+), 3 deletions(-) commit 9619b8cff421614490d81f6bc6fe1a2ab3a0bd28 Author: Benjamin Otte Date: Sat May 10 15:35:12 2014 +0200 API: icontheme: Add 2 new GtkIconLookupFlags GTK_ICON_LOOKUP_FORCE_REGULAR and GTK_ICON_LOOKUP_FORCE_SYMBOLIC can be used to force a regular or symbolic icon to be loaded, even if the icon names specify a different version. This is intended to support the CSS property -gtk-icon-style. gtk/gtkicontheme.c | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++---- gtk/gtkicontheme.h | 8 ++++++- 2 files changed, 71 insertions(+), 6 deletions(-) commit 109fcb987bdf3be00220a064f9ead23fb5a568a8 Author: Benjamin Otte Date: Tue May 6 16:06:33 2014 +0200 css: Add a -gtk-icon-style property The values can be: "requested" - the style as requested "regular" - use a regular full-color icon "symbolic" - use a symbolic icon The property defaults to "requested", so no changes should be seen unless CSS overrides it. It is also inherited, so that using this CSS .toolbar { -gtk-icon-style: symbolic; } is enough to force the whole toolbar to use symbolic icons. gtk/gtkcssenumvalue.c | 54 +++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssenumvalueprivate.h | 4 ++++ gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++++++++ gtk/gtkcsstypesprivate.h | 7 ++++++ 4 files changed, 85 insertions(+) commit 55f473f4e6cc6fa35f36e7ab9c4586ea1873df88 Author: Benjamin Otte Date: Mon May 5 15:32:34 2014 +0200 spinner: Don't arbitrarily limit sizes anymore This essentially reverts b33877e1737a7799b29f5b3a3d291e55e95e8436 Now that we can theme the spinner as a real icon using -gtk-icontheme() this limit is no longer necessary. gtk/gtkspinner.c | 6 ------ 1 file changed, 6 deletions(-) commit f56ba8378bf867eed8ba01e120dcc2dde069127a Author: Benjamin Otte Date: Mon May 5 15:28:18 2014 +0200 css: Add -gtk-icon-transform property This property allows transforming icons and is mainly intended to be used for spinner animations. gtk/gtkcssstylepropertyimpl.c | 20 ++++++++++++++++++-- gtk/gtkcsstypesprivate.h | 1 + gtk/gtkthemingengine.c | 10 +++++++++- 3 files changed, 28 insertions(+), 3 deletions(-) commit 965cd4a9c04719ad0bfe1ae6fd9b179bbba8d595 Author: Benjamin Otte Date: Mon May 5 14:48:27 2014 +0200 css: Add GtkCssTransformValue The value implements the 2D parts of CSS transforms. See http://www.w3.org/TR/css3-transforms/ For the specification. All it does is give us an expressive way to define Cairo matrices (and their transforms) gtk/Makefile.am | 2 + gtk/gtkcsstransformvalue.c | 1049 +++++++++++++++++++++++++++++++++++++ gtk/gtkcsstransformvalueprivate.h | 36 ++ 3 files changed, 1087 insertions(+) commit a56637b33063ee38483ab1d1cfcd815898075150 Author: Benjamin Otte Date: Fri May 2 21:47:54 2014 +0200 themingengine: Draw icons for spinners If the -gtk-icon-source property is not set to "none" (the default), draw it as the spinner icon. Otherwise fall back to previous methods. gtk/gtkthemingengine.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) commit 226e1cd2b2bcaef91132603346e2ee856c1bd3fd Author: Benjamin Otte Date: Fri May 2 21:28:36 2014 +0200 css: Add -gtk-icon-source property This is to be used for rendering icon content via CSS, such as spinners or checkboxes. gtk/gtkcssstylepropertyimpl.c | 8 ++++++++ gtk/gtkcsstypesprivate.h | 1 + 2 files changed, 9 insertions(+) commit 633ec8184ded80a63dce6b87e9f4ef5a271950e4 Author: Benjamin Otte Date: Thu May 1 19:50:22 2014 +0200 css: Add support for -gtk-icontheme("icon-name") This allows using icons from the icontheme as images in CSS. The reasoning is that this allows to give the image control about how it's scaled (by using the icon theme's scaling method. So we can get crisp images at different resolutions. gtk/Makefile.am | 2 + gtk/gtkcssimage.c | 2 + gtk/gtkcssimageicontheme.c | 169 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcssimageiconthemeprivate.h | 56 +++++++++++++ 4 files changed, 229 insertions(+) commit f6af96723c82e6a0a956f8e0e7441edb8256c1c2 Author: Matthias Clasen Date: Tue May 13 22:19:30 2014 -0400 GtkButton: Deprecated setters and getters as well gtk_button_set/get_alignment should be deprecated together with the properties they are setters/getters for. gtk/gtkbutton.c | 10 ++++++++++ gtk/gtkbutton.h | 4 ++-- gtk/gtkcheckbutton.c | 2 ++ 3 files changed, 14 insertions(+), 2 deletions(-) commit 38445e63264711fd5aaee37c57a12689f8dc0f12 Author: Jasper St. Pierre Date: Tue May 13 16:21:11 2014 -0400 wayland: Ack the configure immediately gdk/wayland/gdkwindow-wayland.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) commit 758734a8c5e3006d50862d272a1b78e967c7f236 Author: Matthias Clasen Date: Tue May 13 15:50:23 2014 -0400 gtk3-demo: Don't leak in the sizegroup example Nobody was cleaning up the size group. Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=645966 demos/gtk-demo/sizegroup.c | 1 + 1 file changed, 1 insertion(+) commit 0ee35aa27b1631b23293242c41024c84dc7d7115 Author: Matthias Clasen Date: Tue May 13 14:43:19 2014 -0400 inspector: Show text view subobjects in the tree modules/inspector/widget-tree.c | 50 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 47 insertions(+), 3 deletions(-) commit 069a2603efb942cd4314fca97d8235e03b657858 Author: Matthias Clasen Date: Tue May 13 14:16:53 2014 -0400 inspector: Add a setting to disable the keybinding This will be needed for lockdown, e.g. on the login screen. https://bugzilla.gnome.org/show_bug.cgi?id=730007 docs/reference/gtk/running.sgml | 10 ++++++++-- gtk/Makefile.am | 18 +++++++++--------- gtk/gtkwindow.c | 29 ++++++++++++++++++++++++++++- gtk/org.gtk.Settings.Debug.gschema.xml | 17 +++++++++++++++++ 4 files changed, 62 insertions(+), 12 deletions(-) commit b8531087bd08fb80df34178177f39b5a9c1a2334 Author: Matthias Clasen Date: Tue May 13 14:08:15 2014 -0400 inspector: All to turn it on programmatically Export gtk_window_set_interactive_debugging. https://bugzilla.gnome.org/show_bug.cgi?id=730008 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkwindow.c | 10 ++++++++++ gtk/gtkwindow.h | 3 +++ gtk/gtkwindowprivate.h | 2 -- 4 files changed, 14 insertions(+), 2 deletions(-) commit 514efb51b0a0fc10950ab19030d47cdec812687d Author: Matthias Clasen Date: Tue May 13 12:37:39 2014 -0400 Add some documentation to the filechooser schema gtk/org.gtk.Settings.FileChooser.gschema.xml | 33 ++++++++++++++++++---------- 1 file changed, 22 insertions(+), 11 deletions(-) commit 128748c5cde7d5c4b4b787d22a1e74da3262ab09 Author: Matthias Clasen Date: Tue May 13 12:28:02 2014 -0400 Add some documentation to the colorchooser schema gtk/org.gtk.Settings.ColorChooser.gschema.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 88c9692b2f2806359b64a5702ebe447455498b2c Author: Piotr Drąg Date: Tue May 13 19:33:15 2014 +0200 Updated POTFILES.in po-properties/POTFILES.in | 2 +- po/POTFILES.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 123715d878d7e148956284ce08baf64c68d3a0c8 Author: Matthias Clasen Date: Tue May 13 11:55:57 2014 -0400 Minor documentation fix Two stray references, pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=730035 gtk/gtkfilefilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b8309cdf2fdcbee675f4c1f7bcc266378586baa9 Author: Matthias Clasen Date: Tue May 13 11:55:45 2014 -0400 Fix a leftover deprecation warning gtk/gtkaccellabel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ce0325207e874cca23ca3b879b0c707fd087e221 Author: Matthias Clasen Date: Tue May 13 11:55:01 2014 -0400 Add a test for the previous fix testsuite/gtk/treestore.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 0d2d1904b1c116afd74042738898ee624c00d853 Author: Olivier Brunel Date: Tue Oct 15 15:07:28 2013 +0200 treestore: Fix segfault when reordering non-existing children Calling gtk_tree_store_reorder() on a node without children would cause a segfault; Fixes https://bugzilla.gnome.org/show_bug.cgi?id=698396 Signed-off-by: Olivier Brunel gtk/gtktreestore.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 75c22332d0aa3630285987469a4692229fec365f Author: Matthias Clasen Date: Tue May 13 11:42:31 2014 -0400 Minor doc fixup gtk/gtktreestore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0d8c1c9c0992525d2a3250df65c9b5300e33c5ba Author: Matthias Clasen Date: Tue May 13 11:19:49 2014 -0400 Improve the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK docs Explain possible gotcha with catch-all rules. gtk/gtkstyleprovider.h | 5 +++++ 1 file changed, 5 insertions(+) commit 63288829b06785591f09af84f3ba70287229fbf3 Author: Matthias Clasen Date: Tue May 13 11:04:43 2014 -0400 Add an alternative keybinding for the inspector Control-Shift-I is already used for similar things in many applications, so provide Control-Shift-D as an alternative. https://bugzilla.gnome.org/show_bug.cgi?id=730043 docs/reference/gtk/running.sgml | 6 +++--- gtk/gtkwindow.c | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) commit f9a0a96eb47099a5de16102404baea724ffdffe1 Author: Matthias Clasen Date: Tue May 13 08:45:35 2014 -0400 Avoid deprecation warnings This is testing deprecated API, after all... tests/testnumerableicon.c | 1 + 1 file changed, 1 insertion(+) commit ec0a60a2483e1b9dc5708aa0291279e3386ab9b5 Author: Matthias Clasen Date: Tue May 13 08:45:00 2014 -0400 Deprecate GtkMisc This has been dangling ever since 3.0. docs/reference/gtk/gtk-docs.sgml | 2 +- gtk/Makefile.am | 4 ++-- gtk/{ => deprecated}/gtkmisc.c | 22 ++++++++++++++++------ gtk/{ => deprecated}/gtkmisc.h | 10 +++++----- gtk/gtk.h | 2 +- gtk/gtkaccellabel.c | 2 ++ gtk/gtkarrow.c | 8 ++++++++ gtk/gtkarrow.h | 2 +- gtk/gtkassistant.c | 6 ++++-- gtk/gtkbutton.c | 6 +++++- gtk/gtkimage.c | 12 ++++++++---- gtk/gtkimage.h | 2 +- gtk/gtklabel.c | 20 +++++++++++++++----- gtk/gtklabel.h | 2 +- gtk/gtktoolbutton.c | 6 ++++++ 15 files changed, 76 insertions(+), 30 deletions(-) commit 7840bad5d78664f47c19d019d5d4614aec19e7ea Author: Matthias Clasen Date: Tue May 13 07:28:20 2014 -0400 Drop most uses of GtkMisc in tests Replace them by GtkWidget h/valign. The only remaining uses are those where a size group is involved; they can't be replaced until GtkLabel stops looking at GtkMisc alignment for size allocation. tests/motion-compression.c | 2 +- tests/testcombochange.c | 35 ++++++++--------------------------- tests/testentryicons.c | 15 ++++++++++----- tests/testgmenu.c | 5 ----- 4 files changed, 19 insertions(+), 38 deletions(-) commit 49188aeeda44d122b734cb51eecebb915f284b10 Author: Matthias Clasen Date: Tue May 13 07:14:11 2014 -0400 GtkLabel: Drop references to GtkMisc GtkMisc is heading for retirement. Point to the GtkWidget h/valign properties instead. gtk/gtklabel.c | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) commit 8a8ce85ea0991671dc4eeced72b31f79c116a5b4 Author: Matthias Clasen Date: Tue May 13 07:04:06 2014 -0400 GtkMenuItem: Stop using gtk_misc_set_alignment GtkMisc is heading for deprecation. Just use GtkWidget h/valign. https://bugzilla.gnome.org/show_bug.cgi?id=650762 gtk/gtkmenuitem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 22eaffba59798eae4349e401064a96e5a7143fc3 Author: Rico Tzschichholz Date: Tue May 13 12:26:00 2014 +0200 Inspector: Fix make dist modules/inspector/Makefile.am | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 42f8b4b48b5170a82a2b12ed654f604a6a62f480 Author: Matthias Clasen Date: Tue May 13 06:16:39 2014 -0400 GtkButton: Deprecate xalign and yalign properties These are directly passed through to GtkMisc/GtkAlignment, which are both on the way to deprecation. gtk/gtkbutton.c | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) commit d292245659a86602b5e1d74a58ac28b1ac0e9b36 Author: Matthias Clasen Date: Tue May 13 06:15:56 2014 -0400 gtk3-demo: Fix up toolpalette demo The demo appears pretty broken, because some icons are not fitting well in the grid. Just skip the problematic icons. demos/gtk-demo/toolpalette.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 9b4668c82c2368ce9598a91756fd182859619466 Author: Jasper St. Pierre Date: Fri Apr 11 17:31:27 2014 -0700 wayland: Update to latest xdg-shell protocol gdk/wayland/gdkwindow-wayland.c | 117 ++++++++++++----------------- gdk/wayland/protocol/xdg-shell.xml | 149 +++++++++++++------------------------ 2 files changed, 101 insertions(+), 165 deletions(-) commit c1efc4ad7b4472a9a2f8eb0426638c502e470116 Author: Jasper St. Pierre Date: Fri Apr 11 17:04:25 2014 -0700 gdk: Add new _gdk_set_window_state Wayland's mechanism tells us all of our new states, rather than telling us which ones were added and removed. Add a new private interface so that we can simply specify the new states as a bitfield directly rather than having to compute which ones were added and removed. gdk/gdkevents.c | 36 +++++++++++++++++++++--------------- gdk/gdkinternals.h | 3 +++ 2 files changed, 24 insertions(+), 15 deletions(-) commit 807f0aa74795816e59088838343c7557b921fa62 Author: Matthias Clasen Date: Mon May 12 22:58:47 2014 -0400 Minor documentation edit gtk/gtkmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit d67751d0cc9f33021cd9f8975098d2a9d118cf88 Author: Matthias Clasen Date: Mon May 12 22:38:37 2014 -0400 gtk3-demo: Drop unneeded gtk_init() call GtkApplication is doing this for us. demos/gtk-demo/main.c | 2 -- 1 file changed, 2 deletions(-) commit 1d099fbfaeba23b5839f9854c10a57989363bebd Author: Matthias Clasen Date: Mon May 12 22:32:51 2014 -0400 gtk-demo: Don't use margin-left/right Instead, use margin-start/end, which are the non-deprecated replacements. demos/gtk-demo/main.ui | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 8f9e50de8011656e663625c115f7a1d92d656844 Author: Owen W. Taylor Date: Mon May 12 16:25:25 2014 -0400 GtkPopover: inherit actions from the relative_to widget Make the relative_to widget the parent for a GtkPopover's GtkActionGroup. This, for example, makes the menu model of a GtkMenuButton find action groups attached to the button. https://bugzilla.gnome.org/show_bug.cgi?id=729915 gtk/gtkpopover.c | 1 + gtk/gtkwidget.c | 2 ++ 2 files changed, 3 insertions(+) commit 1e3af04dd9a61e2acde4bf86de4f69a24fcb3e22 Author: Sébastien Wilmet Date: Thu Apr 4 13:30:42 2013 +0200 gtk_text_buffer_create_tag(): returns NULL on failure Returns NULL in case of a duplicated tag name in the tag table. It is still a programmer error to duplicate a name, but if it happens the behavior is a little nicer (and hopefully doesn't crash). https://bugzilla.gnome.org/show_bug.cgi?id=614717 gtk/gtktextbuffer.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 68ad33cb89329cf8161dbd1e868097ac1829c16d Author: Sébastien Wilmet Date: Thu Apr 4 13:22:38 2013 +0200 Add boolean return value for gtk_text_tag_table_add() The user doesn't need to check the return value, because if FALSE is returned it is a programmer error. But it permits a nicer behavior for gtk_text_buffer_create_tag() in case of failure. https://bugzilla.gnome.org/show_bug.cgi?id=614717 gtk/gtktexttagtable.c | 13 ++++++++----- gtk/gtktexttagtable.h | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) commit a06fc473ec73e8c4232fdae2ba890a148956a1af Author: Piotr Drąg Date: Mon May 12 16:35:46 2014 +0200 Updated POTFILES.in and POTFILES.skip We still need .ui.h files for the inspector. po-properties/POTFILES.in | 6 +++++- po-properties/POTFILES.skip | 22 ++++++++++++++++++++++ po/POTFILES.in | 11 ++++++----- po/POTFILES.skip | 11 +++++++++++ 4 files changed, 44 insertions(+), 6 deletions(-) commit ea33d7a1e11bc7fae90dc94501179464efb29b6f Author: Matthias Clasen Date: Sun May 11 22:03:27 2014 -0400 Move GtkIconFactory to deprecated section in the docs Just catching up with reality. docs/reference/gtk/gtk-docs.sgml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b1706065435fe58c448b1ec5980c7acb00abe92 Author: Matthias Clasen Date: Sun May 11 22:01:37 2014 -0400 GtkIconFactory: Remove outdated information from the docs The stock browser was removed from gtk3-demo. gtk/deprecated/gtkiconfactory.c | 3 --- gtk/deprecated/gtknumerableicon.c | 26 ++++++++++++++++++++++++++ gtk/gtkicontheme.c | 4 +++- 3 files changed, 29 insertions(+), 4 deletions(-) commit 49733154a6e5e41dc35d47e39367d5a5ecec2875 Author: Matthias Clasen Date: Sun May 11 21:49:21 2014 -0400 Deprecate GtkNumerableIcon It was a failed experiment, it is basically unused, and it complicates code in GtkIconTheme that we want to rework. docs/reference/gtk/gtk-docs.sgml | 2 +- gtk/Makefile.am | 6 +++--- gtk/{ => deprecated}/gtknumerableicon.c | 0 gtk/{ => deprecated}/gtknumerableicon.h | 26 +++++++++++++------------- gtk/{ => deprecated}/gtknumerableiconprivate.h | 0 gtk/gtk.h | 2 +- 6 files changed, 18 insertions(+), 18 deletions(-) commit 5cd5db1f5758427a5412802f0b21eb1cdf370b26 Author: Matthias Clasen Date: Sun May 11 11:56:22 2014 -0400 Remove a redundant check gtk_widget_show/_hide already check the widget's visibility. https://bugzilla.gnome.org/show_bug.cgi?id=728135 gtk/gtkwidget.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 38d2458f53f2018029d648aa246e8bc90c6afdd6 Author: Evan Nemerson Date: Thu May 8 12:55:50 2014 -0700 gdk: add many missing (nullable) return value annotations https://bugzilla.gnome.org/show_bug.cgi?id=729834 gdk/gdk.c | 9 +++++---- gdk/gdkcursor.c | 10 ++++++---- gdk/gdkdevice.c | 17 ++++++++++------- gdk/gdkdevicemanager.c | 6 +++--- gdk/gdkdisplay.c | 23 +++++++++++++---------- gdk/gdkdisplaymanager.c | 15 ++++++++------- gdk/gdkevents.c | 20 +++++++++++--------- gdk/gdkframeclock.c | 10 +++++----- gdk/gdkkeys.c | 6 +++--- gdk/gdkoffscreenwindow.c | 7 ++++--- gdk/gdkpixbuf-drawable.c | 8 ++++---- gdk/gdkscreen.c | 21 +++++++++++---------- gdk/gdkselection.c | 29 ++++++++++++++--------------- gdk/gdkvisual.c | 4 ++-- gdk/gdkwindow.c | 40 +++++++++++++++++++++------------------- 15 files changed, 120 insertions(+), 105 deletions(-) commit 9187b6bae797b746e696ebdef00adfdd779c63df Author: Nikita Churaev Date: Tue May 6 10:52:53 2014 +0400 Populate page 2 of the Widget Factory https://bugzilla.gnome.org/show_bug.cgi?id=729598 demos/widget-factory/widget-factory.ui | 344 ++++++++++++++++----------------- 1 file changed, 168 insertions(+), 176 deletions(-) commit 73b04b5434a06defa0be4d394e109ea51f6acd65 Author: Nikita Churaev Date: Mon May 5 23:54:33 2014 +0400 Don't stretch switches in Widget Factory https://bugzilla.gnome.org/show_bug.cgi?id=729594 demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit 53a67d20a2c5c2fdb3799c5cb0f4b50fd7d00a6b Author: Matthias Clasen Date: Sat May 10 21:39:55 2014 -0400 extract-strings: Support more GtkBuilder markup The inspector templates are using the tag with an id attribute, which was causing extract-strings to fail. Fix this. docs/reference/gtk/Makefile.am | 3 ++- docs/reference/gtk/images/inspector.png | Bin 0 -> 87410 bytes docs/reference/gtk/running.sgml | 37 +++++++++++++++++++++++++++++++- gtk/extract-strings.c | 1 + 4 files changed, 39 insertions(+), 2 deletions(-) commit f3227688b47e22743a0b5d0285cda968a778d940 Author: Matthias Clasen Date: Sat May 10 21:23:06 2014 -0400 inspector: Fix button path placement modules/inspector/button-path.ui | 1 + 1 file changed, 1 insertion(+) commit 8475540103df99184678f2bb97b8e73f2e5a4635 Author: Matthias Clasen Date: Sat May 10 21:19:21 2014 -0400 inspector: Add a visual tab Move the show updates and flip text direction controls here, and add controls for baseline and pixel cache debugging. modules/inspector/Makefile.am | 5 +- modules/inspector/inspector.gresource.xml | 11 ++- modules/inspector/module.c | 18 ++-- modules/inspector/visual.c | 148 ++++++++++++++++++++++++++++++ modules/inspector/visual.h | 53 +++++++++++ modules/inspector/visual.ui | 94 +++++++++++++++++++ modules/inspector/window.c | 45 --------- modules/inspector/window.ui | 37 +++----- po/POTFILES.in | 1 + 9 files changed, 327 insertions(+), 85 deletions(-) commit a145dd7097ec2618a9a54fcbb5f3d7859e090060 Author: Matthias Clasen Date: Sat May 10 20:25:47 2014 -0400 Add data-list.ui to list of templates modules/inspector/Makefile.am | 19 ++++++++++--------- po/POTFILES.in | 2 ++ 2 files changed, 12 insertions(+), 9 deletions(-) commit 7a56404e7b8ad99b70ade7d8bf9f8ccca6d90376 Author: Matthias Clasen Date: Sat May 10 13:22:17 2014 -0400 Make the inspector available via GTK_DEBUG Change things around so GTK_DEBUG=interactive also brings up the inspector window. gtk/gtkdebug.h | 3 ++- gtk/gtkmain.c | 12 ++++++++++-- gtk/gtkwindow.c | 24 +++++++++++++++--------- gtk/gtkwindowprivate.h | 2 ++ 4 files changed, 29 insertions(+), 12 deletions(-) commit 975677872f74f215d64682e0309239ea0215a8b9 Author: Matthias Clasen Date: Sat May 10 10:40:38 2014 -0400 inspector: Add minimal signal tracing Add rudimentary signal tracing. The signals tab can now count signal emissions for all signals of the current object. modules/inspector/signals-list.c | 227 ++++++++++++++++++++++++++++++++++++-- modules/inspector/signals-list.h | 4 +- modules/inspector/signals-list.ui | 132 +++++++++++++++------- 3 files changed, 312 insertions(+), 51 deletions(-) commit a0cae6957efad4ef0f04a0b96757382f3adca3a5 Author: Matthias Clasen Date: Sat May 10 12:26:22 2014 -0400 inspector: clean up better when objects go away Instead of manually doing it everywhere, just call set_object (NULL) from the selection_changed handler. Fix all the set_object() functions to deal with NULL. modules/inspector/object-hierarchy.c | 3 +++ modules/inspector/window.c | 28 ++++++++++++---------------- 2 files changed, 15 insertions(+), 16 deletions(-) commit cb85a1fa3abfa4e9231aef6151bcf04419884559 Author: Matthias Clasen Date: Sat May 10 10:52:29 2014 -0400 inspector: Improve the Inspect tooltip modules/inspector/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be532bc1962ca12d6f5be0e26a669fc78e3b361a Author: Matthias Clasen Date: Sat May 10 10:40:55 2014 -0400 inspector: Add a button for rtl flipping Nice to have a quick way of testing this everywhere. The implementation is not quite perfect: due to the way text direction works in GTK+, widgets that appear in the inspector window while we are flipped will inherit the flipped direction instead of the fixed direction of the inspector window. modules/inspector/window.c | 37 +++++++++++++++++++++++++++++++++++++ modules/inspector/window.ui | 17 +++++++++++++++-- 2 files changed, 52 insertions(+), 2 deletions(-) commit a089ccf5f0f0b439f4f2a8d6fac7c3d47913462a Author: Matthias Clasen Date: Sat May 10 00:50:21 2014 -0400 inspector: Add a minimal Data tab This will eventually show useful information about the content of tree models. modules/inspector/Makefile.am | 4 +- modules/inspector/data-list.c | 110 ++++++++++++++++++++++++++++++ modules/inspector/data-list.h | 55 +++++++++++++++ modules/inspector/data-list.ui | 53 ++++++++++++++ modules/inspector/inspector.gresource.xml | 1 + modules/inspector/module.c | 2 + modules/inspector/window.c | 3 + modules/inspector/window.h | 1 + modules/inspector/window.ui | 10 +++ 9 files changed, 238 insertions(+), 1 deletion(-) commit 965533740792caee059cdaa13655a10da4fb6734 Author: Matthias Clasen Date: Fri May 9 23:57:57 2014 -0400 inspector: Hide tabs instead of making them insensitive modules/inspector/classes-list.c | 13 ++++++++----- modules/inspector/classes-list.h | 4 ++-- modules/inspector/css-editor.c | 23 ++++++++++++++--------- modules/inspector/css-editor.h | 4 ++-- modules/inspector/prop-list.c | 31 +++++++++++++++++++++---------- modules/inspector/signals-list.c | 2 -- modules/inspector/window.c | 17 +++-------------- modules/inspector/window.ui | 3 --- 8 files changed, 50 insertions(+), 47 deletions(-) commit 6303e62440aca0acd3c06957555fdc7d0bea90c0 Author: Matthias Clasen Date: Sat May 10 10:39:31 2014 -0400 inspector: Make button path non-homogeneous modules/inspector/button-path.ui | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit e7d3323ba7b5cdb6a67f84840db0c17205215efa Author: Matthias Clasen Date: Fri May 9 23:57:38 2014 -0400 inspector: Avoid size changes of button path modules/inspector/button-path.c | 35 ++++++++++++++++++-------------- modules/inspector/button-path.h | 4 ++-- modules/inspector/button-path.ui | 44 +++++++++++++++++++++++++++++----------- modules/inspector/window.c | 8 +++++--- 4 files changed, 59 insertions(+), 32 deletions(-) commit 46b6a32ef0872f70d03e2a79ac8a7648849d356d Author: Matthias Clasen Date: Fri May 9 23:20:03 2014 -0400 inspector: Reorder tabs modules/inspector/window.ui | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit bf46950a092f6e37028119a63dc39c6dce7bcf5b Author: Matthias Clasen Date: Fri May 9 23:15:34 2014 -0400 inspector: Move scrolledwindow into prop list template modules/inspector/prop-list.c | 6 +- modules/inspector/prop-list.h | 4 +- modules/inspector/prop-list.ui | 144 +++++++++++++++++++++++------------------ modules/inspector/window.ui | 30 ++------- 4 files changed, 92 insertions(+), 92 deletions(-) commit c744699201338ad467be19c8294036876f0f02f8 Author: Matthias Clasen Date: Fri May 9 23:06:35 2014 -0400 inspector: Avoid a double scrolled window modules/inspector/signals-list.ui | 3 +++ modules/inspector/window.ui | 11 +---------- 2 files changed, 4 insertions(+), 10 deletions(-) commit d4522f54e7bc1f9593ffa922c21dbd837d4c00f3 Author: Matthias Clasen Date: Fri May 9 22:52:37 2014 -0400 inspector: Make notebook scrollable modules/inspector/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6824527cc456564e38add53f9ab3303516ce6e59 Author: Matthias Clasen Date: Fri May 9 22:49:31 2014 -0400 inspector: Add models to the tree It makes sense to add the models of tree views, icon views and combo boxes to the tree. modules/inspector/widget-tree.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit d64a9615bc9b94a7d5f07a1ee863d41a3ef12b6e Author: Matthias Clasen Date: Fri May 9 22:48:34 2014 -0400 inspector: Make value ellipsized The values can get long, so ellipsize them. modules/inspector/prop-list.ui | 2 ++ 1 file changed, 2 insertions(+) commit 2af94dff1c6e49bc49b7e25d2128138859e2e0bd Author: Matthias Clasen Date: Fri May 9 22:28:45 2014 -0400 inspector: Add cell areas into the tree modules/inspector/widget-tree.c | 37 ++++++++++++++++++++++++++----------- 1 file changed, 26 insertions(+), 11 deletions(-) commit 9467c56b9490af4e4c978a0d4c7ece1295931af2 Author: Matthias Clasen Date: Fri May 9 22:27:46 2014 -0400 inspector: Rename Widget Tree to Objects modules/inspector/window.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 700657ad19f4444ed6a2f3f66ad54afc1dac3a29 Author: Matthias Clasen Date: Thu May 8 22:58:43 2014 -0400 inspector: Deal with dying objects The widget-tree was not safe against object just going away. Fix this by using row references instead of iters where necessary, and by using weak refs to clean up when objects die. modules/inspector/classes-list.c | 89 +++++++++++++++++++++++++-------------- modules/inspector/classes-list.ui | 8 ++-- modules/inspector/css-editor.c | 17 +++++++- modules/inspector/css-editor.h | 2 +- modules/inspector/prop-list.c | 51 ++++++++++++++++------ modules/inspector/widget-tree.c | 44 ++++++++++++++++--- 6 files changed, 155 insertions(+), 56 deletions(-) commit 0dbfef5696db760f7840202a7453bec441fe379d Author: Matthias Clasen Date: Thu May 8 22:19:21 2014 -0400 Trivial: shorten some variable names modules/inspector/css-editor.c | 120 ++++++++++++++++++++--------------------- 1 file changed, 60 insertions(+), 60 deletions(-) commit e9cc8590517381cfc90c7f25d7afbbc95c3f1400 Author: Matthias Clasen Date: Thu May 8 21:15:09 2014 -0400 inspector: Add a Label column Move the UI strings over to that column, and use the buildable ID for the name column, where available. modules/inspector/widget-tree.c | 30 +++++++++++++++++++++--------- modules/inspector/widget-tree.ui | 24 ++++++++++++++++++++---- 2 files changed, 41 insertions(+), 13 deletions(-) commit 1a6dd9fcd249cd81e0e65a37738b89517e42a81a Author: Matthias Clasen Date: Thu May 8 20:30:40 2014 -0400 GtkApplication: implement the active-window property This was apparently just forgotten. First bug found by GtkInspector. gtk/gtkapplication.c | 4 ++++ 1 file changed, 4 insertions(+) commit 8a6421ac30b6455597e9398bef8cf040f8778db8 Author: Matthias Clasen Date: Thu May 8 20:32:42 2014 -0400 inspector: Show the default GApplication in the tree This is a handy object to have quickly available. modules/inspector/widget-tree.c | 2 ++ 1 file changed, 2 insertions(+) commit 83503cbf2062076485822e57616923aa92f6d529 Author: Matthias Clasen Date: Thu May 8 20:31:50 2014 -0400 inspector: Don't flash the window initially This is flickery, and not really necessary. modules/inspector/window.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 768a437c02a3db6a89c35d994056e03455b34b90 Author: Matthias Clasen Date: Thu May 8 20:14:44 2014 -0400 Work around a GtkBuilder deficiency It turns out that an with just a in it does not work right in GtkBuilder. Work around by adding a property. modules/inspector/classes-list.ui | 1 + 1 file changed, 1 insertion(+) commit cda706b5227f6b5a803da7e03bda7c3ea62de2d6 Author: Matthias Clasen Date: Thu May 8 20:13:34 2014 -0400 inspector: Don't show mapped/realized/visible in the tree It does not really add much over the sensitive/insensitive rendering that is already indicating which widget is mapped. At the same time, set up signal handlers so we can update that when the widget changes. modules/inspector/widget-tree.c | 77 +++++++++++++++++++++++++++++----------- modules/inspector/widget-tree.ui | 53 +++------------------------ 2 files changed, 61 insertions(+), 69 deletions(-) commit e249c6d6ee3ac2270947fe12b917bee9e583cbaa Author: Matthias Clasen Date: Thu May 8 18:36:38 2014 -0400 inspector: Don't leak signal handlers Not only was the property list connecting to notify::bla for each property individually, it was also leaking the signal handlers when the selected object changed. Fix both. modules/inspector/prop-list.c | 39 +++++++++++++-------------------------- 1 file changed, 13 insertions(+), 26 deletions(-) commit 86adead8037ba9d6369ff7a48268f42c3bf982d2 Author: Matthias Clasen Date: Thu May 8 10:16:58 2014 -0400 inspector: Minimal support for attributes Show mapping information for cell renderer properties; no editing yet. modules/inspector/prop-list.c | 44 +++++++++++++++++++++++++++++++---------- modules/inspector/prop-list.ui | 17 ++++++++++++++++ modules/inspector/widget-tree.c | 5 ++++- 3 files changed, 55 insertions(+), 11 deletions(-) commit e87addd9ae6b4b107768a2a1096b5ccd8ac22dc6 Author: Matthias Clasen Date: Thu May 8 01:59:37 2014 -0400 inspector: Show interfaces in the object hierarchy This gives a more complete picture. modules/inspector/object-hierarchy.c | 35 ++++++++++++++++++++++++++++------- 1 file changed, 28 insertions(+), 7 deletions(-) commit bf9d22f10fd13e6946fe4565a73f8624653c9a6d Author: Matthias Clasen Date: Thu May 8 01:38:52 2014 -0400 inspector: Add columns and cell renderers to the tree These are interesting objects that are worth displaying in the tree. modules/inspector/widget-tree.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 4a68eb6250371046056122d53703b4d237c56b13 Author: Matthias Clasen Date: Thu May 8 01:26:17 2014 -0400 inspector: Improve handling of object-valued properties When showing the objects in the tree, use the property name as the name thats shown in the list. This makes it easier to differentiate e.g. hadjustment and vadjustment in a GtkScrolledWindow. modules/inspector/property-cell-renderer.c | 2 +- modules/inspector/widget-tree.c | 15 ++++++++------- modules/inspector/widget-tree.h | 3 ++- 3 files changed, 11 insertions(+), 9 deletions(-) commit 9b65955961f9be37bed4c903825f362fec2f438b Author: Matthias Clasen Date: Thu May 8 01:17:35 2014 -0400 inspector: Fix object-valued properties The code for dealing with object-valued properties had several bugs that lead to crashes. This change makes it work. modules/inspector/prop-list.c | 2 +- modules/inspector/property-cell-renderer.c | 2 +- modules/inspector/window.ui | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) commit 08f2456d5f9ad7cb5f2e2c980560702d7c5a69b7 Author: Matthias Clasen Date: Thu May 8 01:19:05 2014 -0400 inspector: Change label of widget tree The tree contains other objects besides widgets, so label it 'Objects'. modules/inspector/widget-tree.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c9dba4b8e0e7dc9b1030065e6b7f5e7177976288 Author: Matthias Clasen Date: Thu May 8 01:04:16 2014 -0400 inspector: Show signals Add a tab that shows available signals for each object. For now, we only show if each signal has handlers connected or now. More functionality will be added later. modules/inspector/Makefile.am | 9 +- modules/inspector/inspector.gresource.xml | 1 + modules/inspector/module.c | 2 + modules/inspector/signals-list.c | 145 ++++++++++++++++++++++++++++++ modules/inspector/signals-list.h | 55 ++++++++++++ modules/inspector/signals-list.ui | 65 ++++++++++++++ modules/inspector/window.c | 3 + modules/inspector/window.h | 1 + modules/inspector/window.ui | 20 +++++ 9 files changed, 298 insertions(+), 3 deletions(-) commit 5fa71c69d8aaef0b937bbd184b2c004cd64b811c Author: Matthias Clasen Date: Wed May 7 06:34:23 2014 -0400 inspector: Select a window initially The list of toplevels also includes hidden combobox popups and the like, so we have to be a little careful. To ensure the right choice, we now pick the first visible window that is not a GtkInspectorWindow. modules/inspector/window.c | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) commit a3713b51ff674be6621a0dde5e3bbf648d5a8a64 Author: Matthias Clasen Date: Wed May 7 00:16:31 2014 -0400 inspector: Drop an unused function modules/inspector/inspect-button.c | 12 ------------ modules/inspector/window.h | 2 -- 2 files changed, 14 deletions(-) commit e586af3cf48363f4f745484077b4128fabb04e5c Author: Matthias Clasen Date: Wed May 7 00:13:00 2014 -0400 inspector: Make translatable Mark strings in the source and in the templates as translatable. We use the same extract-strings utility as for libgtk itself. modules/inspector/Makefile.am | 26 ++++++++++++++++++++++++-- modules/inspector/button-path.ui | 4 ++-- modules/inspector/classes-list.c | 10 ++++++---- modules/inspector/classes-list.ui | 8 ++++---- modules/inspector/css-editor.c | 34 +++++++++++++++++++--------------- modules/inspector/css-editor.ui | 4 ++-- modules/inspector/inspect-button.c | 4 +++- modules/inspector/object-hierarchy.ui | 4 ++-- modules/inspector/prop-list.ui | 8 ++++---- modules/inspector/themes.ui | 8 ++++---- modules/inspector/widget-tree.ui | 14 +++++++------- modules/inspector/window.c | 4 +++- modules/inspector/window.ui | 24 ++++++++++++------------ po/POTFILES.in | 12 ++++++++++++ 14 files changed, 104 insertions(+), 60 deletions(-) commit 643b6f147b3b9617b4e345ff9bc074eb4b80ab43 Author: Matthias Clasen Date: Tue May 6 23:35:47 2014 -0400 Move modules/other/parasite to modules/inspector No need for the extra subdirectory, and the name should match the module name. configure.ac | 3 +-- modules/Makefile.am | 2 +- modules/{other/parasite => inspector}/Makefile.am | 0 modules/{other/parasite => inspector}/button-path.c | 0 modules/{other/parasite => inspector}/button-path.h | 0 modules/{other/parasite => inspector}/button-path.ui | 0 modules/{other/parasite => inspector}/classes-list.c | 0 modules/{other/parasite => inspector}/classes-list.h | 0 modules/{other/parasite => inspector}/classes-list.ui | 0 modules/{other/parasite => inspector}/css-editor.c | 0 modules/{other/parasite => inspector}/css-editor.h | 0 modules/{other/parasite => inspector}/css-editor.ui | 0 modules/{other/parasite => inspector}/inspect-button.c | 0 modules/{other/parasite => inspector}/inspector.gresource.xml | 0 modules/{other/parasite => inspector}/module.c | 0 modules/{other/parasite => inspector}/object-hierarchy.c | 0 modules/{other/parasite => inspector}/object-hierarchy.h | 0 modules/{other/parasite => inspector}/object-hierarchy.ui | 0 modules/{other/parasite => inspector}/prop-list.c | 0 modules/{other/parasite => inspector}/prop-list.h | 0 modules/{other/parasite => inspector}/prop-list.ui | 0 modules/{other/parasite => inspector}/property-cell-renderer.c | 0 modules/{other/parasite => inspector}/property-cell-renderer.h | 0 modules/{other/parasite => inspector}/python-hooks.c | 0 modules/{other/parasite => inspector}/python-hooks.h | 0 modules/{other/parasite => inspector}/python-shell.c | 0 modules/{other/parasite => inspector}/python-shell.h | 0 modules/{other/parasite => inspector}/themes.c | 0 modules/{other/parasite => inspector}/themes.h | 0 modules/{other/parasite => inspector}/themes.ui | 0 modules/{other/parasite => inspector}/widget-tree.c | 0 modules/{other/parasite => inspector}/widget-tree.h | 0 modules/{other/parasite => inspector}/widget-tree.ui | 0 modules/{other/parasite => inspector}/window.c | 0 modules/{other/parasite => inspector}/window.h | 0 modules/{other/parasite => inspector}/window.ui | 0 modules/other/Makefile.am | 1 - 37 files changed, 2 insertions(+), 4 deletions(-) commit ccff3e952db3388e4fff51f3489d10f693635ead Author: Matthias Clasen Date: Tue May 6 23:24:20 2014 -0400 Rename parasite to gtkinspector This avoids namespace collisions with the original gtkparasite project, and adds the gtk prefix to all symbols and type names. gtk/gtkwindow.c | 24 ++--- modules/other/parasite/Makefile.am | 24 ++--- modules/other/parasite/button-path.c | 24 ++--- modules/other/parasite/button-path.h | 38 ++++---- modules/other/parasite/button-path.ui | 2 +- modules/other/parasite/classes-list.c | 64 ++++++------- modules/other/parasite/classes-list.h | 38 ++++---- modules/other/parasite/classes-list.ui | 2 +- modules/other/parasite/css-editor.c | 82 ++++++++--------- modules/other/parasite/css-editor.h | 38 ++++---- modules/other/parasite/css-editor.ui | 2 +- modules/other/parasite/inspect-button.c | 102 ++++++++++----------- ...asite.gresource.xml => inspector.gresource.xml} | 2 +- modules/other/parasite/module.c | 24 ++--- modules/other/parasite/object-hierarchy.c | 24 ++--- modules/other/parasite/object-hierarchy.h | 38 ++++---- modules/other/parasite/object-hierarchy.ui | 2 +- modules/other/parasite/prop-list.c | 52 +++++------ modules/other/parasite/prop-list.h | 40 ++++---- modules/other/parasite/prop-list.ui | 4 +- modules/other/parasite/property-cell-renderer.c | 40 ++++---- modules/other/parasite/property-cell-renderer.h | 30 +++--- modules/other/parasite/python-hooks.c | 20 ++-- modules/other/parasite/python-hooks.h | 18 ++-- modules/other/parasite/python-shell.c | 98 ++++++++++---------- modules/other/parasite/python-shell.h | 48 +++++----- modules/other/parasite/themes.c | 36 ++++---- modules/other/parasite/themes.h | 34 +++---- modules/other/parasite/themes.ui | 2 +- modules/other/parasite/widget-tree.c | 58 ++++++------ modules/other/parasite/widget-tree.h | 58 ++++++------ modules/other/parasite/widget-tree.ui | 2 +- modules/other/parasite/window.c | 96 +++++++++---------- modules/other/parasite/window.h | 33 +++---- modules/other/parasite/window.ui | 22 ++--- 35 files changed, 612 insertions(+), 609 deletions(-) commit 19bf88acfa3157d998d684ddcdc9742c1bd9cb36 Author: Matthias Clasen Date: Tue May 6 22:20:10 2014 -0400 Add a 'toggle-debugging' keybinding This is bound to Ctrl-Shift-I (for inspector) by default. It loads the gtkparasite module and opens a parasite window. gtk/gtkwindow.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkwindow.h | 2 +- 2 files changed, 61 insertions(+), 1 deletion(-) commit 7f9a0dbe164f7c731d24c4890dde51391787e966 Author: Matthias Clasen Date: Tue May 6 22:19:12 2014 -0400 Add private api to load a single module In the following commits, this function will be used to load the gtkparasite module. gtk/gtkmodules.c | 7 +++++++ gtk/gtkmodules.h | 1 - gtk/gtkmodulesprivate.h | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) commit 87e3484aa74f1daa212a6ff3d3492d81e7d37b8d Author: Matthias Clasen Date: Tue May 6 22:02:08 2014 -0400 parasite: Don't open a window upon load Instead, we want to let GTK+ open a window whose life-cycle it can control. We just ensure that all our types are registered when the module is loaded, so GTK+ can find them. modules/other/parasite/module.c | 24 +++++++++++++++++++++--- modules/other/parasite/window.c | 24 ------------------------ modules/other/parasite/window.ui | 1 - 3 files changed, 21 insertions(+), 28 deletions(-) commit 38bbde200e51916535c0293c0c49d913a0c17805 Author: Matthias Clasen Date: Tue May 6 09:43:12 2014 -0400 parasite: Two fixes for the property cell renderer modules/other/parasite/property-cell-renderer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d7c5b558462ccc4362cbd08295714b15c5397f55 Author: Matthias Clasen Date: Mon May 5 00:06:07 2014 -0400 parasite: Some formatting cleanup modules/other/parasite/property-cell-renderer.c | 527 ++++++++++++------------ modules/other/parasite/property-cell-renderer.h | 15 +- 2 files changed, 265 insertions(+), 277 deletions(-) commit 36494dc8f420021f70d4fdf6d32029b828bd68c7 Author: Matthias Clasen Date: Sun May 4 23:49:28 2014 -0400 parasite: Include file cleanup modules/other/parasite/python-hooks.c | 1 - 1 file changed, 1 deletion(-) commit 5b249be1f918ae0dee6dbb74babb6d81b56d2fd6 Author: Matthias Clasen Date: Sun May 4 23:47:11 2014 -0400 parasite: Use a template for window modules/other/parasite/Makefile.am | 8 +- modules/other/parasite/classes-list.c | 1 - modules/other/parasite/css-editor.c | 1 - modules/other/parasite/inspect-button.c | 7 +- modules/other/parasite/module.c | 5 +- modules/other/parasite/object-hierarchy.c | 1 - modules/other/parasite/parasite.gresource.xml | 1 + modules/other/parasite/prop-list.c | 2 +- modules/other/parasite/property-cell-renderer.c | 4 +- modules/other/parasite/widget-tree.c | 2 +- modules/other/parasite/window.c | 347 +++++++----------------- modules/other/parasite/{parasite.h => window.h} | 30 +- modules/other/parasite/window.ui | 239 ++++++++++++++++ 13 files changed, 377 insertions(+), 271 deletions(-) commit 33ccb0022101c84389ab2b90f297460e21bc20dd Author: Matthias Clasen Date: Sun May 4 22:21:55 2014 -0400 parasite: some formatting tweaks modules/other/parasite/module.c | 10 +++++----- modules/other/parasite/parasite.h | 37 +++++++++++++++++++------------------ 2 files changed, 24 insertions(+), 23 deletions(-) commit 33d204440623bc30e9b68938c6abc49f9b4c63ed Author: Matthias Clasen Date: Sun May 4 22:09:38 2014 -0400 parasite: Use a template for themes modules/other/parasite/parasite.gresource.xml | 1 + modules/other/parasite/themes.c | 172 +++++++++----------------- modules/other/parasite/themes.h | 14 ++- modules/other/parasite/themes.ui | 68 ++++++++++ 4 files changed, 133 insertions(+), 122 deletions(-) commit ee7cc6d189e1359af2a51508497b00223ffd4259 Author: Matthias Clasen Date: Sun May 4 21:08:36 2014 -0400 parasite: Use a template for prop list modules/other/parasite/parasite.gresource.xml | 1 + modules/other/parasite/prop-list.c | 232 ++++++-------------------- modules/other/parasite/prop-list.h | 42 ++--- modules/other/parasite/prop-list.ui | 66 ++++++++ modules/other/parasite/window.c | 6 +- 5 files changed, 144 insertions(+), 203 deletions(-) commit ead05d09547567a040257825724f796c343aba45 Author: Matthias Clasen Date: Sun May 4 19:53:04 2014 -0400 parasite: Use template for widget tree modules/other/parasite/parasite.gresource.xml | 1 + modules/other/parasite/widget-tree.c | 310 ++++++-------------------- modules/other/parasite/widget-tree.h | 30 +-- modules/other/parasite/widget-tree.ui | 113 ++++++++++ 4 files changed, 201 insertions(+), 253 deletions(-) commit 6f1a78641325ea10ca3c1bdc9c076aec240ef2e3 Author: Matthias Clasen Date: Sun May 4 17:40:02 2014 -0400 parasite: Use template for classes list modules/other/parasite/classes-list.c | 166 +++++++------------------- modules/other/parasite/classes-list.h | 40 ++++--- modules/other/parasite/classes-list.ui | 70 +++++++++++ modules/other/parasite/parasite.gresource.xml | 1 + modules/other/parasite/window.c | 4 +- 5 files changed, 139 insertions(+), 142 deletions(-) commit 0eb330613b87e9023203a8cd63545670fc4b30cd Author: Matthias Clasen Date: Sun May 4 14:53:17 2014 -0400 parasite: Use template for css editor modules/other/parasite/css-editor.c | 233 ++++++++++---------------- modules/other/parasite/css-editor.h | 41 ++--- modules/other/parasite/css-editor.ui | 49 ++++++ modules/other/parasite/parasite.gresource.xml | 1 + modules/other/parasite/window.c | 6 +- 5 files changed, 163 insertions(+), 167 deletions(-) commit 3c22fc4ef6798be1dab8256b8adf5af679ba62c1 Author: Matthias Clasen Date: Sun May 4 12:06:06 2014 -0400 parasite: Use template for object hierarchy modules/other/parasite/object-hierarchy.c | 64 +++++++-------------------- modules/other/parasite/object-hierarchy.h | 40 +++++++++-------- modules/other/parasite/object-hierarchy.ui | 36 +++++++++++++++ modules/other/parasite/parasite.gresource.xml | 1 + modules/other/parasite/window.c | 4 +- 5 files changed, 77 insertions(+), 68 deletions(-) commit 3f5d21abecd231d656bc9fe00d62c34771e912b3 Author: Matthias Clasen Date: Sun May 4 11:09:52 2014 -0400 parasite: Use template for button path modules/other/parasite/Makefile.am | 17 ++++++++ modules/other/parasite/button-path.c | 60 +++++++++------------------ modules/other/parasite/button-path.h | 40 +++++++++--------- modules/other/parasite/button-path.ui | 35 ++++++++++++++++ modules/other/parasite/module.c | 3 ++ modules/other/parasite/parasite.gresource.xml | 6 +++ modules/other/parasite/window.c | 4 +- 7 files changed, 103 insertions(+), 62 deletions(-) commit e43aeb9a1f671f3f9e1ce4090f19ff08cae500d0 Author: Matthias Clasen Date: Sun May 4 11:10:23 2014 -0400 parasite: Allow panes to shrink The notebook is too wide. modules/other/parasite/window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5fcd6ba21beda6d2b4931d10d8ea8f0eb3d4744d Author: Matthias Clasen Date: Sun May 4 09:27:41 2014 -0400 parasite: Use the right icon name for inspect modules/other/parasite/inspect-button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 828acee98181b6e1157f503a4ab816382963de81 Author: Matthias Clasen Date: Sun May 4 09:27:17 2014 -0400 parasite: Don't show hicolor as an icon theme It really isn't. modules/other/parasite/themes.c | 87 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) commit 9bc7cfa6ba51b77b5c9609eeffb3e0a5f1c64560 Author: Matthias Clasen Date: Sun May 4 09:13:42 2014 -0400 parasite: Don't show key themes But show the builtin theme, even if it doesn't show up in the filesystem. modules/other/parasite/themes.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 9fbb704418527c1cec17278bf5eae96e8ccbc215 Author: Matthias Clasen Date: Sun May 4 09:12:58 2014 -0400 parasite: Turn the inspect button back into an image button modules/other/parasite/inspect-button.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8f962381945ee9ef1a22ac6ce2de76a6671040fd Author: Matthias Clasen Date: Sat May 3 16:43:04 2014 -0400 parasite: Make flashing work better The positioning of the highlight window was not reliable; instead just use a after-handler for the draw signal, in the same way that drag highlights are drawn by GTK+ itself. And copy the code for grabbing a widget via pointer from testgtk; that code is known to work. modules/other/parasite/inspect-button.c | 404 +++++++++++++++++++++----------- modules/other/parasite/parasite.h | 6 +- modules/other/parasite/prop-list.c | 11 +- modules/other/parasite/prop-list.h | 2 +- modules/other/parasite/window.c | 4 +- 5 files changed, 280 insertions(+), 147 deletions(-) commit 01cb16681993081be7906b9cda37363b358bb7ea Author: Matthias Clasen Date: Sat May 3 16:00:28 2014 -0400 parasite: Drop an unused field modules/other/parasite/parasite.h | 2 -- 1 file changed, 2 deletions(-) commit f78d91e5fcb7907b49841ed7cf38d01d7aea923c Author: Matthias Clasen Date: Sat May 3 15:57:16 2014 -0400 parasite: Make child properties insensitive when empty When the selected object is not a widget, make the child property list insensitive. modules/other/parasite/prop-list.c | 3 +++ 1 file changed, 3 insertions(+) commit 413faa55a009f88303ee0f9e8b855e1a65c230fd Author: Matthias Clasen Date: Sat May 3 15:25:43 2014 -0400 parasite: Display child properties too modules/other/parasite/parasite.h | 1 + modules/other/parasite/prop-list.c | 73 ++++++++++++++---- modules/other/parasite/prop-list.h | 3 +- modules/other/parasite/property-cell-renderer.c | 99 ++++++++++++++++++++----- modules/other/parasite/window.c | 28 ++++--- 5 files changed, 161 insertions(+), 43 deletions(-) commit 2166a9b1639d35f4d604cfb10b66d0df23dd79fe Author: Matthias Clasen Date: Sat May 3 13:21:41 2014 -0400 parasite: Use a window group By putting the parasite window in a separate group, we can interact with it even when there is a modal dialog blocking the application window modules/other/parasite/window.c | 4 ++++ 1 file changed, 4 insertions(+) commit 81af602ddadd5a564a1fef19c91c570983446d7a Author: Matthias Clasen Date: Fri May 2 21:48:33 2014 -0400 Initial import This is a copy of https://github.com/chipx86/gtkparasite.git with minimal edits to make it build. configure.ac | 2 + modules/Makefile.am | 2 +- modules/other/Makefile.am | 1 + modules/other/parasite/Makefile.am | 52 +++ modules/other/parasite/button-path.c | 103 ++++++ modules/other/parasite/button-path.h | 60 ++++ modules/other/parasite/classes-list.c | 344 +++++++++++++++++++ modules/other/parasite/classes-list.h | 58 ++++ modules/other/parasite/css-editor.c | 388 ++++++++++++++++++++++ modules/other/parasite/css-editor.h | 59 ++++ modules/other/parasite/inspect-button.c | 242 ++++++++++++++ modules/other/parasite/module.c | 40 +++ modules/other/parasite/object-hierarchy.c | 126 +++++++ modules/other/parasite/object-hierarchy.h | 58 ++++ modules/other/parasite/parasite.h | 69 ++++ modules/other/parasite/prop-list.c | 367 +++++++++++++++++++++ modules/other/parasite/prop-list.h | 60 ++++ modules/other/parasite/property-cell-renderer.c | 410 +++++++++++++++++++++++ modules/other/parasite/property-cell-renderer.h | 70 ++++ modules/other/parasite/python-hooks.c | 238 ++++++++++++++ modules/other/parasite/python-hooks.h | 38 +++ modules/other/parasite/python-shell.c | 409 +++++++++++++++++++++++ modules/other/parasite/python-shell.h | 68 ++++ modules/other/parasite/themes.c | 177 ++++++++++ modules/other/parasite/themes.h | 56 ++++ modules/other/parasite/widget-tree.c | 418 ++++++++++++++++++++++++ modules/other/parasite/widget-tree.h | 78 +++++ modules/other/parasite/window.c | 318 ++++++++++++++++++ 28 files changed, 4310 insertions(+), 1 deletion(-) commit 2dc100fa7624bb7ab90a4fb156dabfba564ab0ec Author: Benjamin Otte Date: Sun May 11 04:00:55 2014 +0200 css: Add forgotten files Forgot to add those files in 3a72e2fb2483d4dd26eb74319613ffb505d89128 gtk/gtkcssunsetvalue.c | 102 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssunsetvalueprivate.h | 31 +++++++++++++ 2 files changed, 133 insertions(+) commit 0e462f0d2d03631a2ad7d38ef7dfc4292de5f9c7 Author: Benjamin Otte Date: Sun May 11 03:22:06 2014 +0200 css: Implement "all" shorthand Here's the spec: http://dev.w3.org/csswg/css-cascade/#all-shorthand Also use it in the reset-to-defaults CSS where a bunch of properties had been missing. gtk/gtkcssshorthandpropertyimpl.c | 39 ++++++++++++++++++++++ testsuite/reftests/reset-to-defaults.css | 55 +------------------------------- 2 files changed, 40 insertions(+), 54 deletions(-) commit 3a72e2fb2483d4dd26eb74319613ffb505d89128 Author: Benjamin Otte Date: Sun May 11 03:08:40 2014 +0200 css: Implement "unset" Quoting the spec: If the cascaded value of a property is the unset keyword, then if it is an inherited property, this is treated as inherit, and if it is not, this is treated as initial. Spec in question: http://dev.w3.org/csswg/css-cascade/ Also use unset in the reset-to-defaults.css we use to reset css in reftests. gtk/Makefile.am | 2 + gtk/gtkcssinheritvalue.c | 6 ++ gtk/gtkcssinheritvalueprivate.h | 1 + gtk/gtkcssshorthandproperty.c | 12 ++++ gtk/gtkcssstyleproperty.c | 9 +++ testsuite/reftests/reset-to-defaults.css | 108 +++++++++++++++---------------- 6 files changed, 84 insertions(+), 54 deletions(-) commit f2258cb05cfaf96ba146d1244f4a4e2d8bafc1e8 Author: Benjamin Otte Date: Sat May 10 17:20:11 2014 +0200 reftests: Create the surface after running the main loop Running the main loop may cause resizes, so creating the surface based on the size before running it seems wrong. testsuite/reftests/gtk-reftest.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit fa8ca5fd13e9c6f8fd289d0db849d229e16b688f Author: Benjamin Otte Date: Thu May 8 18:42:35 2014 +0200 iconhelper: Simplify code In the GTK_IMAGE_ICON_NAME case, instead of keeping around the icon_name, create a GThemedIcon and use that. This way, we can reuse the code paths for the GTK_IMAGE_GICON case. gtk/gtkiconhelper.c | 42 +++++++++++++----------------------------- 1 file changed, 13 insertions(+), 29 deletions(-) commit 61ed31a473d1ad6207041ade5fc0461ae9975517 Author: Emmanuele Bassi Date: Mon Mar 24 20:51:42 2014 +0000 win32embed: Set the visible flag and avoid recursion We have to use the internal accessor to the visible flag, instead of calling gtk_widget_set_visible(), from within the show() and hide() implementations - otherwise we'll recurse. https://bugzilla.gnome.org/show_bug.cgi?id=721069 gtk/gtkwin32embedwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c0200b9a68e997f8f8a22eade923a67dd0f8fed3 Author: Daniel Mustieles Date: Sat May 10 19:53:22 2014 +0200 Updated Spanish translation po-properties/es.po | 1660 ++++++++++++++++++++++++++------------------------- 1 file changed, 842 insertions(+), 818 deletions(-) commit 207f2984d2ec85f0f20bbfc35e5d3e9c0f5b51c8 Author: Daniel Mustieles Date: Sat May 10 19:53:04 2014 +0200 Updated Spanish translation po/es.po | 790 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 401 insertions(+), 389 deletions(-) commit f5e64936da893ac74882b8f221ff54fd2967c91c Author: Matthias Clasen Date: Fri May 9 17:13:53 2014 -0400 GtkWindow: small cleanup The window type is a construct-only property, so we should pass it to g_object_new, not set it after the fact in the constructor. gtk/gtkwindow.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit b0ace677129c7aa445ad760de6f0870381a578b1 Author: Cosimo Cecchi Date: Sun May 4 20:46:42 2014 +0200 widget: deprecate focus-line-width style property Nothing in GTK uses it anymore. gtk/gtkwidget.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) commit 57f4d3d78acce8028853698296ff4be74271ca5f Author: Cosimo Cecchi Date: Sun May 4 20:42:13 2014 +0200 flowbox: don't use focus-line-width gtk/gtkflowbox.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit 9eb1e1b15e11b85da133e6e1bb4544f9cfca5653 Author: Cosimo Cecchi Date: Sun May 4 20:42:04 2014 +0200 listbox: don't use focus-line-width gtk/gtklistbox.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit 13649a3fbc7c21ae5eb67deb087a7937156e94d0 Author: Cosimo Cecchi Date: Sun May 4 20:41:41 2014 +0200 colorscale: don't use focus-line-width gtk/gtkcolorscale.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit caa73b21285765dac484937cdbb1ff10286aeb68 Author: Cosimo Cecchi Date: Sun May 4 20:38:24 2014 +0200 modelbutton: don't use focus-line-width gtk/gtkmodelbutton.c | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) commit e2f2571dee2efac4b9f3fa9a5da54bbfe5ef0f43 Author: Cosimo Cecchi Date: Sun May 4 20:35:01 2014 +0200 range: don't use focus-line-width gtk/gtkrange.c | 96 ++++++++++++++++++++-------------------------------------- 1 file changed, 32 insertions(+), 64 deletions(-) commit 69f2fecb1c6d0e6d7a916e8ebfb3d7fb9aa8d1ec Author: Cosimo Cecchi Date: Sun May 4 20:26:55 2014 +0200 expander: don't use focus-line-width gtk/gtkexpander.c | 39 +++++++++------------------------------ 1 file changed, 9 insertions(+), 30 deletions(-) commit 853dcc615d0659013e84a5ba75883c752f2d2a7c Author: Cosimo Cecchi Date: Sun May 4 20:23:09 2014 +0200 notebook: don't use focus-line-width gtk/gtknotebook.c | 42 ++++++++++++++---------------------------- 1 file changed, 14 insertions(+), 28 deletions(-) commit 1627c903d856ce3de1a6bece2868f28000418490 Author: Cosimo Cecchi Date: Sun May 4 20:20:19 2014 +0200 spinbutton: remove unused code gtk/gtkspinbutton.c | 8 -------- 1 file changed, 8 deletions(-) commit 9f7bab0aca1e36106aa1ea9e67e7484f0af333f4 Author: Cosimo Cecchi Date: Sun May 4 20:19:48 2014 +0200 entry: remove unused code gtk/gtkentry.c | 7 ------- 1 file changed, 7 deletions(-) commit 92d23be47d4c8d6e3c9a57727b2443add0c26f65 Author: Cosimo Cecchi Date: Sun May 4 20:16:13 2014 +0200 switch: don't use focus-line-width gtk/gtkswitch.c | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) commit 8fff30090b3e23bd29cce8e15fe2c7900ebd1e5f Author: Cosimo Cecchi Date: Sun May 4 20:12:37 2014 +0200 radiobutton: don't use focus-line-width gtk/gtkradiobutton.c | 11 ----------- 1 file changed, 11 deletions(-) commit a32260660b334d3009b92ac78b17033318f05a6b Author: Cosimo Cecchi Date: Sun May 4 20:08:34 2014 +0200 checkbutton: don't use focus-line-width gtk/gtkcheckbutton.c | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) commit a2a1c6da959d7a309a736823bd0b904e1d485554 Author: Cosimo Cecchi Date: Sun May 4 20:01:12 2014 +0200 cellarea: don't use focus-line-width Use CSS padding instead. gtk/a11y/gtktreeviewaccessible.c | 7 ------ gtk/gtkcellarea.c | 50 +++++++++++++++++++--------------------- 2 files changed, 24 insertions(+), 33 deletions(-) commit 2cbf3c66ef79f70007d8be17feec89ab86aa447a Author: Cosimo Cecchi Date: Sun May 4 20:00:16 2014 +0200 treeview: use the CELL style class while doing cell size request Since we use the same style class later when we draw them. Otherwise we'll get inconsistent results for CSS borders/paddings between the two cycles. gtk/gtktreeview.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 0ff3f16da106dd4e24cabe7e60f49a102e4492ce Author: Cosimo Cecchi Date: Sun May 4 19:07:15 2014 +0200 calendar: don't use focus-line-width gtk/gtkcalendar.c | 28 ++++++---------------------- 1 file changed, 6 insertions(+), 22 deletions(-) commit 694b209094c8bff90eca7beae911982af822224e Author: Cosimo Cecchi Date: Sun May 4 18:51:53 2014 +0200 button: don't use focus-line-width gtk/gtkbutton.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit bbadfbcd2a2e209e0b0f89f47a42a156cb484581 Author: Cosimo Cecchi Date: Sun May 4 18:51:42 2014 +0200 button: remove unused code gtk/gtkbutton.c | 9 --------- 1 file changed, 9 deletions(-) commit e8c906966e36135ded072d56d713d053cc87b8d6 Author: Cosimo Cecchi Date: Sun May 4 18:46:11 2014 +0200 widget: deprecate focus-line-pattern style property Nothing in GTK uses it. gtk/gtkwidget.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit a2decd1f2f5cdcb0c1e7f63cf57a288059213459 Author: Cosimo Cecchi Date: Sun May 4 18:44:00 2014 +0200 widget: deprecate focus-padding style property There's no use left inside GTK. gtk/gtkwidget.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit 5cb43c70f776a7ae9af25eb724370e9417400524 Author: Cosimo Cecchi Date: Sun May 4 18:41:00 2014 +0200 calendar: simplify code Always use the newly introduced get_component_paddings() instead of doing the work manually every time. gtk/gtkcalendar.c | 124 +++++++++++++++++++++--------------------------------- 1 file changed, 48 insertions(+), 76 deletions(-) commit 1e66a7ccdbe20774a66c4d657dae6b3f1c74e010 Author: Cosimo Cecchi Date: Sun May 4 18:34:11 2014 +0200 calendar: use CSS paddings instead of focus pad for day/week areas focus-padding is going away. gtk/gtkcalendar.c | 98 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 67 insertions(+), 31 deletions(-) commit 83b4e6730722eb4858849a8cafbfcae3f783665d Author: Cosimo Cecchi Date: Sun May 4 17:26:57 2014 +0200 range: remove unused code gtk/gtkrange.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit c62d6fea704fb28c53552ea7812e4de785290e92 Author: Cosimo Cecchi Date: Sun May 4 17:16:03 2014 +0200 colorscale: don't use focus padding gtk/gtkcolorscale.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit 365ab7f73b6655ff361cc26131833d9f1bd9d8c5 Author: Cosimo Cecchi Date: Sun May 4 17:14:52 2014 +0200 range: don't use focus padding gtk/gtkrange.c | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) commit d0b8ef3a6f669e6fe232a32347b966d636a3deb2 Author: Cosimo Cecchi Date: Sun May 4 17:13:34 2014 +0200 scale: remove unused code gtk/gtkscale.c | 2 -- 1 file changed, 2 deletions(-) commit 24a422631dd605807bb834d4fc28dfef4f8a1111 Author: Cosimo Cecchi Date: Fri May 2 18:45:35 2014 +0200 expander: don't use focus padding gtk/gtkexpander.c | 49 +++++++++++++++++-------------------------------- 1 file changed, 17 insertions(+), 32 deletions(-) commit d2f77984dc88b7177fbf5c96584a06248f999a37 Author: Cosimo Cecchi Date: Fri May 2 15:01:38 2014 +0200 expander: add support for CSS padding and borders We need to do this since we're about to remove focus-pad. gtk/gtkexpander.c | 191 ++++++++++++++++++++++++++++++------------------------ 1 file changed, 108 insertions(+), 83 deletions(-) commit 9a811e2c94f5b69f1e98e9443daf3ceae0955802 Author: Cosimo Cecchi Date: Fri May 2 09:34:14 2014 +0200 notebook: don't use focus padding gtk/gtknotebook.c | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) commit 80981f5c9522be360e18de6669eb9e2097dcc3ee Author: Cosimo Cecchi Date: Fri May 2 02:08:47 2014 +0200 modelbutton: don't use focus padding gtk/gtkmodelbutton.c | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) commit 053b21cc1f0642d42169927f7a9aafa4e6fd8919 Author: Cosimo Cecchi Date: Fri May 2 02:05:49 2014 +0200 flowbox: don't use focus padding gtk/gtkflowbox.c | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) commit 241b4c0c75e78977be221399ae38669dc5fa1c0e Author: Cosimo Cecchi Date: Fri May 2 02:03:14 2014 +0200 listbox: don't use focus padding gtk/gtklistbox.c | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) commit ceab6ee15d6141705c934643116ab5dfee083c45 Author: Cosimo Cecchi Date: Fri May 2 02:00:05 2014 +0200 switch: don't use focus padding gtk/gtkswitch.c | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) commit 52e40a1725743dbcf1f5c2fb79f94832159b0154 Author: Cosimo Cecchi Date: Fri May 2 01:55:02 2014 +0200 treeview: don't use focus padding gtk/gtktreeview.c | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) commit c20e8b0b4947fd33b2edf9b8ace38aae8cef1e55 Author: Cosimo Cecchi Date: Fri May 2 01:40:26 2014 +0200 checkbutton: support CSS paddings and borders We need this since we just removed focus-padding. gtk/gtkcheckbutton.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) commit 99f0776f198f33b582afb12a4ad54e8bf49d4c49 Author: Cosimo Cecchi Date: Fri May 2 01:39:06 2014 +0200 checkbutton: don't use focus padding gtk/gtkcheckbutton.c | 25 ++++++++++--------------- gtk/gtkradiobutton.c | 4 +--- 2 files changed, 11 insertions(+), 18 deletions(-) commit 8b068e996f906775269abe776bf4248a936c66cc Author: Cosimo Cecchi Date: Thu May 1 20:13:47 2014 +0200 button: don't read focus padding property We're going to deprecate it. gtk/gtkbutton.c | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) commit b03c22e0c990be02b08f71a33cb0816a8bde20f5 Author: Cosimo Cecchi Date: Thu May 1 19:36:42 2014 +0200 widget: deprecate interior-focus style property Nothing uses it anymore inside GTK. gtk/gtkwidget.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) commit ce8846521eae9fb2ef1c99a60235e3feb7b6562f Author: Cosimo Cecchi Date: Thu May 1 19:36:31 2014 +0200 reftests: never set interior-focus testsuite/reftests/entry-progress-coloring.css | 3 --- 1 file changed, 3 deletions(-) commit 521475da4d05a7d71aed385834384170c6df24f1 Author: Cosimo Cecchi Date: Thu May 1 19:36:17 2014 +0200 win32: don't set interior-focus in the theme gtk/resources/theme/gtk-win32-base.css | 1 - 1 file changed, 1 deletion(-) commit a3cbcc6451960ec20e7a07eddfc525f8fc5d14ff Author: Cosimo Cecchi Date: Thu May 1 19:35:58 2014 +0200 textview: always use interior focus gtk/gtktextview.c | 66 +++++-------------------------------------------------- 1 file changed, 6 insertions(+), 60 deletions(-) commit 5a16ec366dffaf6312a435975a5ff879fe06205c Author: Cosimo Cecchi Date: Thu May 1 19:35:46 2014 +0200 spinbutton: remove unused code gtk/gtkspinbutton.c | 2 -- 1 file changed, 2 deletions(-) commit 0c6cc487d606b2503ba156f703e40a6412644203 Author: Cosimo Cecchi Date: Thu May 1 19:35:30 2014 +0200 radiobutton: always use interior focus gtk/gtkradiobutton.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit b77a8bcb95d4f178a6fb48523ca51354b05b4c14 Author: Cosimo Cecchi Date: Thu May 1 19:35:16 2014 +0200 expander: always use interior focus gtk/gtkexpander.c | 62 +++++++------------------------------------------------ 1 file changed, 7 insertions(+), 55 deletions(-) commit 21e32f198953421429c3543af67baf6c57ecd05a Author: Cosimo Cecchi Date: Thu May 1 19:34:48 2014 +0200 checkbutton: always use interior focus gtk/gtkcheckbutton.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 779707fabbaf96195385c1219c6816a27cc3a914 Author: Cosimo Cecchi Date: Thu May 1 19:20:30 2014 +0200 entry: always use interior focus gtk/gtkentry.c | 42 ------------------------------------------ 1 file changed, 42 deletions(-) commit 4c06925ec2bf9c92a76c8526d0f09515b4383089 Author: Cosimo Cecchi Date: Thu May 1 19:14:43 2014 +0200 button: always use interior focus We're going to deprecate the property, and this is what everyone has been using. gtk/gtkbutton.c | 42 +++++++----------------------------------- 1 file changed, 7 insertions(+), 35 deletions(-) commit f656fc5997e4e151cc0047b2dd93a0ccc70ea8a4 Author: Cosimo Cecchi Date: Thu May 1 18:55:33 2014 +0200 widget-factory: use same spacing for buttons column So that they nicely align with entries. Useful when tweaking the theme. demos/widget-factory/widget-factory.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4d02bd9c18516e3ef4b32bae072e37822bdcd5e Author: Matthias Clasen Date: Thu May 8 14:06:03 2014 -0400 GtkCellArea: allow finding attributes at runtime This will allow e.g. GtkInspector to display attribute mappings. http://bugzilla.gnome.org/show_bug.cgi?id=729817 gtk/gtkcellarea.c | 40 ++++++++++++++++++++++++++++++++++++++++ gtk/gtkcellarea.h | 5 +++++ 2 files changed, 45 insertions(+) commit c813765430c7fa69d9fe44ecb414532e44e723b0 Author: Matthias Clasen Date: Thu May 8 07:33:01 2014 -0400 GtkListBox: improve the docs The documentation was not really clear about ::row-selected not working for multi-selection. gtk/gtklistbox.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 00275dfc9f2f5ddd841053f516f4f5274da8aa71 Author: David Mansfield Date: Tue May 6 18:50:00 2014 +0000 GdkCursor: Don't leak a cairo surface The function gdk_cursor_new_from_pixbuf creates a cairo surface to pass to its backend implementation, but doesn't destroy it afterwards. https://bugzilla.gnome.org/show_bug.cgi?id=729670 gdk/gdkcursor.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 74405cc964e405ea00cfac22856a62fea5ec648e Author: William Jon McCann Date: Wed May 7 05:13:59 2014 -0400 Update the design for progress bars We now use a narrower trough and paint the optional text beside the trough instead of inside it. This makes for a much cleaner appearance and more readable text. gtk/gtkprogressbar.c | 49 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 34 insertions(+), 15 deletions(-) commit 644f08a771ef067811f1c7f3cfe9b089225d26d9 Author: Matthias Clasen Date: Wed May 7 06:51:17 2014 -0400 Remove debug spew gtk/gtksettings.c | 1 - 1 file changed, 1 deletion(-) commit 1c304705582f4397a214d923df26ad488b7648e8 Author: William Jon McCann Date: Tue May 6 11:13:33 2014 -0400 widget-factory: add linked entry and button example demos/widget-factory/widget-factory.ui | 48 ++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) commit ac5993a7e7fe559c4e75dd733785d213532d5896 Author: Carlos Garnacho Date: Mon Apr 28 12:58:50 2014 +0200 wayland: Fix c&p typo in touch capabilities handling. gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cdfcd5fc85b9e7232ce837b28165b5fb77c23863 Author: Matthias Clasen Date: Tue May 6 09:16:28 2014 -0400 Bloatpad: port to new accel api examples/bloatpad.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit 352e28a1380e5a38ae04de7f7ff30ead8d68666a Author: Benjamin Otte Date: Tue May 6 04:00:38 2014 +0200 viewport: Don't subtract borders and padding from -1 -1 is a special value for "undefined" and needs to stay that way https://bugzilla.gnome.org/show_bug.cgi?id=729607 gtk/gtkviewport.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit c39b6be22b5c6a21b5997066e34b0f9d5d92a3ba Author: Marcus Karlsson Date: Sun May 4 16:00:26 2014 +0200 docs: Fix name of GtkFileChooser's Create Folder button The documentation for GtkFileChooser references the button which allows the user to create new folders as the New Folder button, although the label actually says Create Folder. Update the documentation to say Create Folder instead of New Folder. https://bugzilla.gnome.org/show_bug.cgi?id=729475 gtk/gtkfilechooser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7850fb62ea30cb54ae0f13ec18d8cea3d57b9322 Author: Marcus Karlsson Date: Sun May 4 17:08:47 2014 +0200 docs: fix typos in gtk_file_chooser_set_local_only Change "file are files" to "file or files." Also remove an excessive "file" in "file system." https://bugzilla.gnome.org/show_bug.cgi?id=729473 gtk/gtkfilechooser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 22ab2ca2a520fbed07063b4368a7b6cfadf91746 Author: Matthias Clasen Date: Mon May 5 18:16:55 2014 -0400 a11y: Avoid a warning The listbox row accessible code was giving warnings when parent is NULL, at destruction time. gtk/a11y/gtklistboxrowaccessible.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b9f91bcd8ce1548c8cfb65ac1d52d1a53c73132a Author: Juan Pablo Ugarte Date: Mon May 5 15:22:52 2014 -0300 GtkColorButton: Fix recursion loop in "use-alpha" set_property() gtk/gtkcolorbutton.c | 29 +++++++++++++++++------------ 1 file changed, 17 insertions(+), 12 deletions(-) commit 748b2bf5aea6162ada2fb614e3f75f08925da198 Author: Benjamin Otte Date: Mon May 5 16:10:16 2014 +0200 a11y: Disable deprecation warnings in AtkMisc implementation gtk/a11y/gtkaccessibilitymisc.c | 3 +++ 1 file changed, 3 insertions(+) commit a89c5986177385117ae14c95c38b43b2fe92c896 Author: Benjamin Otte Date: Mon May 5 15:46:23 2014 +0200 combobox: Add workaround so evolution doesn't crash Removing the NULL checks in 7f60cab47d9651ed3ed53b86f1f74de71b55eee0 caused evolution to crash. It chains up with NULL and that used to work. This patch should be reverted for GTK 4.0. https://bugzilla.gnome.org/show_bug.cgi?id=729496 gtk/gtkcombobox.c | 5 +++++ 1 file changed, 5 insertions(+) commit 18a594c39297ee79749fe22e2a7efa76eb6270e7 Author: Benjamin Otte Date: Mon May 5 15:27:14 2014 +0200 applicationwindow: Properly unmap the menubar widget gtk/gtkapplicationwindow.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 3aa357bcab0cefd5173b2f83ce6046cd2958a65e Author: Benjamin Otte Date: Thu May 1 19:49:47 2014 +0200 tests: Add test for latest patch This tesst infloops without it. testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/string-values.css | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) commit 65c4c1555d0634c063c3aa354620de260e4aaf7f Author: Benjamin Otte Date: Thu May 1 19:48:40 2014 +0200 css: Fix printing code for CSS strings and idents It used to infloop on special characters. gtk/gtkcssparser.c | 1 + gtk/gtkcssstringvalue.c | 1 + 2 files changed, 2 insertions(+) commit b356d814106bd33448a141423b4059e60db9b377 Author: Benjamin Otte Date: Thu May 1 19:47:58 2014 +0200 css: Split out a common function It's used in two places already, and Iwant to use it in a third one. gtk/gtkcssparser.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssparserprivate.h | 5 +++++ gtk/gtkcssstringvalue.c | 38 ++------------------------------------ gtk/gtkcssstylefuncs.c | 32 +------------------------------- 4 files changed, 52 insertions(+), 67 deletions(-) commit d495ab1ca01f51e7d34bc334fc343f65388f1475 Author: Matthias Clasen Date: Mon May 5 09:41:06 2014 -0400 Small documentation update Don't show an example that doesn't work anymore. gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7e8703918bbb9c27a9d7f6c8550f856b3555b0e5 Author: Matthias Clasen Date: Mon May 5 07:24:18 2014 -0400 Small documentation fixes Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=729461 gtk/gtkapplication.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3e80ce39e1ca52bd59c3ed4a08d589519173af70 Author: Matthias Clasen Date: Mon May 5 07:20:31 2014 -0400 GtkApplication: Clarify docs a bit Explicitly mention how gtk_application_set_accels_for_action can be used to remove all accelerators for an action. https://bugzilla.gnome.org/show_bug.cgi?id=729451 gtk/gtkapplication.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 349ed52b7b4f3beff663a24398c72d56b3e3dd95 Author: Ihar Hrachyshka Date: Sun May 4 22:09:19 2014 +0000 Updated Belarusian translation po/be.po | 2689 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1432 insertions(+), 1257 deletions(-) commit abf10a74b7e2f1b36dcd2896be299508226cce42 Author: Paolo Borelli Date: Sun May 4 19:38:31 2014 +0200 listbox: check gsequence end iter in get_row_at_index gtk/gtklistbox.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit d1d2763d000f35ce580a4775ee8af97e19434b80 Author: Matthias Clasen Date: Sat May 3 01:02:56 2014 -0400 GtkHeaderBar: Allow overdrawing The draw function of GtkHeaderBar was returning TRUE, causing after-signal handlers to not run. This breaks e.g. drawing of dnd hightlights. Fix that. gtk/gtkheaderbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a41e2b901dd19a95fa0850f6b95ed093f5788344 Author: Matthias Clasen Date: Fri May 2 21:09:05 2014 -0400 Fix a thinko in the last color button change Using the interface method in the set_property implementation leads to an infinite recursion, if the interface method is in turn using g_object_set. gtk/gtkcolorbutton.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 70a5e66d2faf7471f39ca3ea654b610be8fa0bae Author: Matthias Clasen Date: Fri May 2 20:59:00 2014 -0400 a11y tests: Avoid deprecation warnings We can't drop the index-based AtkTable methods unless we change the output format, so just ignore the deprecations for now. testsuite/a11y/accessibility-dump.c | 2 ++ 1 file changed, 2 insertions(+) commit 1bf6ad314d99e1857858e355b92a1664dc73b5dd Author: Matthias Clasen Date: Fri May 2 20:49:43 2014 -0400 a11y tests: Update expected output The new AtkValue interface aways returns doubles, which causes the range to be printed out with decimals. testsuite/a11y/paned.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4fc256de8a0fad2dd231b032cf2bad9931087826 Author: Matthias Clasen Date: Fri May 2 20:48:35 2014 -0400 a11y tests: Use the new AtkValue interface The old interface is deprecated, and we just implemented the new one, so lets test it. testsuite/a11y/accessibility-dump.c | 46 ++++++++++++++++--------------------- testsuite/a11y/value.c | 10 ++++---- 2 files changed, 26 insertions(+), 30 deletions(-) commit 47094a2a8ae9a9c4fa16805e60e6f145ec5abbae Author: Matthias Clasen Date: Fri May 2 20:47:56 2014 -0400 GtkDialog: Reduce a g_warning to a g_message Otherwise, this breaks our testsuite. gtk/gtkdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9d7f7ddadfd680c0eddec9c99363ba430e7ae388 Author: Matthias Clasen Date: Fri May 2 20:47:16 2014 -0400 GtkSpinButton: Implement new AtkValue interface The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one. gtk/a11y/gtkspinbuttonaccessible.c | 67 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) commit fc7e7495a6a4f3bb7335f48cd64a7648a21ffea7 Author: Matthias Clasen Date: Fri May 2 20:47:00 2014 -0400 GtkScaleButton: Implement new AtkValue interface The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one. gtk/a11y/gtkscalebuttonaccessible.c | 67 +++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) commit 516cd70780fa897eb2504763d080c7b77d562b6f Author: Matthias Clasen Date: Fri May 2 20:46:45 2014 -0400 GtkRange: Implement new AtkValue interface The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one. gtk/a11y/gtkrangeaccessible.c | 73 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) commit 1d506577407e542bde49ecb1b3fe8e66ee27fe44 Author: Matthias Clasen Date: Fri May 2 20:46:30 2014 -0400 GtkProgressBar: Implement new AtkValue interface The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one. gtk/a11y/gtkprogressbaraccessible.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 98affc6829443cde30540c9feee20f9df76bd59b Author: Matthias Clasen Date: Fri May 2 20:46:17 2014 -0400 GtkPaned: Implement new AtkValue interface The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one. gtk/a11y/gtkpanedaccessible.c | 49 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit 987cce9e65290a78a687f1ddc5beb76d2f0d6d5d Author: Matthias Clasen Date: Fri May 2 20:45:19 2014 -0400 GtkLevelBar: Implement new AtkValue interface The AtkValue interface has been replaced in ATK 2.12. Implement the new one in addition to the old one. gtk/a11y/gtklevelbaraccessible.c | 54 +++++++++++++++++++++++++++++++++++++--- 1 file changed, 50 insertions(+), 4 deletions(-) commit 456dffcbfdef154e0944bfa4fd04f9c37b0a6b79 Author: Matthias Clasen Date: Fri May 2 19:25:27 2014 -0400 GtkWidget: Mark deprecated properties as such The ::style, ::margin-left and ::margin-right properties are all deprecated. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f66e239fe424d58e1c748f028087a96a941846df Author: Matthias Clasen Date: Fri May 2 18:50:52 2014 -0400 Drop unneeded deprecation suppression Removing this did not produce any deprecation warnings. gdk/gdk.c | 2 -- 1 file changed, 2 deletions(-) commit 4cdc32974a9d4b63a4541ecd2d50b8a67e52a9c6 Author: Matthias Clasen Date: Fri May 2 18:48:36 2014 -0400 queryimmodules: Localize suppressed deprecation Drop the blanket GDK_DISABLE_DEPRECATION_WARNINGS and avoid deprecated API as much as possible. gtk/queryimmodules.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 67b10e649eff732cd974329758e2b16e459586f7 Author: Matthias Clasen Date: Fri May 2 18:42:18 2014 -0400 GtkColorButton: Reduce internal use of deprecated API Drop the blanket GDK_DISABLE_DEPRECATION_WARNINGS and avoid deprecated API as much as possible. gtk/gtkcolorbutton.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit 69234cfecc05932c5fc4574818715ff593d80054 Author: Matthias Clasen Date: Fri May 2 18:41:29 2014 -0400 GtkColorButton: Update deprecation warnings It is not great to have deprecation warnings point to another deprecated function. Update them to point to the eventual replacement. gtk/gtkcolorbutton.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c4ec89cf9d296c60513f61aaba88415b8f0fd81f Author: Matthias Clasen Date: Fri May 2 18:23:58 2014 -0400 GtkDialog: Warn about lack of transient parents We want make it mandatory for dialogs to have transient parents, eventually. This is a first step in that direction. gtk/gtkdialog.c | 3 +++ 1 file changed, 3 insertions(+) commit 3db60baf2de066b85dafad4eb8c565e74d9e11c3 Author: Matthias Clasen Date: Fri May 2 17:43:18 2014 -0400 teststack: don't enumerate transitions manually Thats what introspection is for. tests/teststack.c | 27 ++++++--------------------- 1 file changed, 6 insertions(+), 21 deletions(-) commit 3957ce48981144b13ddc4fe72c871e844b364ba8 Author: Matthias Clasen Date: Fri May 2 17:15:49 2014 -0400 GtkStack: Avoid compiler warnings gcc warns about unhandled enum values in these switch statements, so add an empty default: case to placate the compiler. gtk/gtkstack.c | 2 ++ 1 file changed, 2 insertions(+) commit 5b5813fcdcfce7de6492019e426b60c116a74902 Author: Philip Chimento Date: Tue Mar 18 20:42:59 2014 -0700 stack: Add counterparts of OVER_UP_DOWN transition The GtkStackTransitionType enum now has OVER_DOWN_UP, OVER_LEFT_RIGHT, and OVER_RIGHT_LEFT values to complement OVER_UP_DOWN. https://bugzilla.gnome.org/show_bug.cgi?id=726676 gtk/gtkstack.c | 16 ++++++++++++++-- gtk/gtkstack.h | 5 ++++- tests/teststack.c | 3 +++ 3 files changed, 21 insertions(+), 3 deletions(-) commit a27b0bad86b047b3bce829b57b04b9757e5c8a0e Author: Philip Chimento Date: Tue Mar 18 17:49:46 2014 -0700 stack: More readability when adding transitions This small refactor makes the code more readable when adding more transition types that have left, right, up, and down variations. It adds inline boolean functions to tell information about transition types (avoiding long if clauses) and changes long chains of "else if (transition_type == ...)" into switch statements. Both are only likely to get longer as more transition types are added. https://bugzilla.gnome.org/show_bug.cgi?id=726676 gtk/gtkstack.c | 140 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 94 insertions(+), 46 deletions(-) commit c05525127be5a0698db47b2765108dfaf4e54734 Author: Cosimo Cecchi Date: Fri May 2 20:32:15 2014 +0200 overlay: don't have a custom draw implementation We can't think with Benjamin of a reason this should be needed, so let's just remove it. gtk/gtkoverlay.c | 32 -------------------------------- 1 file changed, 32 deletions(-) commit a303547489ebe828b280d8b64ffe1cbe5af88bca Author: Cosimo Cecchi Date: Fri May 2 01:39:35 2014 +0200 themingengine: only round outline corners after shrinking Ensures the correctness of the applied radius. gtk/gtkthemingengine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b059098c71b5597b3fc1962b51cac1d058c8bd37 Author: Juan Pablo Ugarte Date: Fri May 2 14:38:05 2014 -0300 GtkBuilder: added template parent type check. gtk/gtkbuilderparser.c | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) commit 35df3bc182e0839cf3afda85d1064e1c1c69c2a8 Author: Juan Pablo Ugarte Date: Thu May 1 20:31:59 2014 -0300 GtkFlowBox: fixed NULL dereferencing segfaults gtk/gtkflowbox.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit a05b55872b6b24cf65d1f25f24b7389c59347ddb Author: Juan Pablo Ugarte Date: Thu May 1 20:31:31 2014 -0300 GtkMenu: fixed more NULL dereferencing segfault gtk/gtkmenu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 018c394c5200ef468d6bb721aa6b467d9fdffd50 Author: Juan Pablo Ugarte Date: Thu May 1 19:54:10 2014 -0300 GtkGrid: gtk_grid_get_size_for_size() do not dereference a NULL pointer. gtk/gtkgrid.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 49fa04212b644f19ce576a8011e3f4fcda6a0806 Author: Juan Pablo Ugarte Date: Tue Apr 29 16:22:32 2014 -0300 GtkBuilder: improved parsing error report for invalid properties and signals. Added GTK_BUILDER_ERROR_INVALID_PROPERTY and GTK_BUILDER_ERROR_INVALID_SIGNAL error codes ObjectInfo: Use a GType instead of a char * for the class name. PropertyInfo: Use a GParamSpec instead of a char * for the property name. SignalInfo: Use signal id and detail quark instead of a detailed signal name string. This not only save us a few malloc in each case but lets us simplify the code and report unknown properties and signals as a parsing error instead of just printing a warning. gtk/gtkbuilder.c | 136 +++++++++++++++++++----------------------------- gtk/gtkbuilder.h | 6 ++- gtk/gtkbuilderparser.c | 104 ++++++++++++++++++++++++------------ gtk/gtkbuilderprivate.h | 9 ++-- testsuite/gtk/builder.c | 14 +++++ 5 files changed, 147 insertions(+), 122 deletions(-) commit c4afca906c2ea02ae7a261d2e7e0c8902f3f09e5 Author: Juan Pablo Ugarte Date: Tue Apr 29 13:48:16 2014 -0300 GtkBuilder: fixed a few minor memory leaks. Fixed memory leaks in parse_object(), parse_template() and parse_signal() functions. Parameters value where strduped before the last posible return and not freed. gtk/gtkbuilderparser.c | 55 ++++++++++++++++++++++++-------------------------- 1 file changed, 26 insertions(+), 29 deletions(-) commit 0dd810ee22ed6cb94cce0d7c59de205777eb4862 Author: Руслан Ижбулатов Date: Thu May 1 18:17:30 2014 +0000 W32: override selected button style to remove colored background https://bugzilla.gnome.org/show_bug.cgi?id=729353 gtk/resources/theme/gtk-win32-base.css | 5 +++++ 1 file changed, 5 insertions(+) commit b83880b981daa21e1ad0c0fb53b021ba378fe488 Author: Руслан Ижбулатов Date: Thu May 1 17:09:40 2014 +0000 W32: Add a theme for .app-notification This is copied from Adwaita. Looks sufficiently ok. https://bugzilla.gnome.org/show_bug.cgi?id=729346 gtk/resources/theme/gtk-win32-base.css | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 24fd96d83784e862c1c7e8eb18bae03bfddd2fab Author: Cosimo Cecchi Date: Thu May 1 19:46:47 2014 +0200 listbox: fix a segfault Don't dereference a NULL pointer. gtk/gtklistbox.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 7f60cab47d9651ed3ed53b86f1f74de71b55eee0 Author: Cosimo Cecchi Date: Thu May 1 19:43:20 2014 +0200 combobox: fix a segfault Don't dereference a NULL pointer. gtk/gtkcombobox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 489970bcdc15eaa78286d560fa2bf30a45b87eb6 Author: Cosimo Cecchi Date: Thu May 1 18:12:35 2014 +0200 themingengine: use outlines to render focus rings Instead of the old non-CSS implementation. This allows us to get rid of the very last piece of custom theming in Adwaita. gtk/gtkroundedbox.c | 15 +++++++ gtk/gtkroundedboxprivate.h | 4 ++ gtk/gtkthemingengine.c | 97 +++++++++++----------------------------------- 3 files changed, 41 insertions(+), 75 deletions(-) commit e8cbbedbb25bfee7f8a3dc987ab2d5d3db290246 Author: Cosimo Cecchi Date: Thu May 1 18:11:23 2014 +0200 css: add properties for outline-radius Both a shorthand and individual properties. This is not officially part of the CSS standard, but there's precedence for it at least in Mozilla: https://developer.mozilla.org/en-US/docs/Web/CSS/-moz-outline-radius gtk/gtkcssarrayvalue.c | 4 ++++ gtk/gtkcssshorthandpropertyimpl.c | 8 ++++++++ gtk/gtkcssstylepropertyimpl.c | 37 +++++++++++++++++++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 4 ++++ 4 files changed, 53 insertions(+) commit a60ba815d91ca5a6958917c0cbaaa5c09126a9c7 Author: Cosimo Cecchi Date: Thu May 1 18:07:25 2014 +0200 treeview: respect focus-padding when rendering focus Adwaita had a hack to work this around, but now that we're moving focus ring rendering into GTK, we can just fix the treeview instead. gtk/gtktreeview.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit b4282e5ef1a53e0e80d8cad24c05c071e6038696 Author: Benjamin Otte Date: Thu May 1 15:16:17 2014 +0200 treeview: Always call size request funcs with valid out pointers Not doing so causes crashes since a158a2aa48c8023f99963642cc2657bff207b82NULLd gtk/gtktreeview.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c0f556ab71b88540103bbc86f10402da98163081 Author: Benjamin Otte Date: Wed Apr 30 09:27:22 2014 +0200 revealer: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkrevealer.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) commit 17e0f9fb0a53f153b6b6f7c3386f760a26e8e6db Author: Benjamin Otte Date: Wed Apr 30 09:26:28 2014 +0200 popover: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkpopover.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) commit b4ee8a9daf0f248c7792ce126650c866e50d7513 Author: Benjamin Otte Date: Wed Apr 30 09:24:17 2014 +0200 menuitem: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkmenuitem.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 34cfd5cd7869786b57251b0c347b6fe96ffed8c9 Author: Benjamin Otte Date: Wed Apr 30 09:23:04 2014 +0200 menu: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkmenu.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit fd527691a880876601346d65c40a3557e2b0e5b0 Author: Benjamin Otte Date: Wed Apr 30 09:22:29 2014 +0200 levelbar: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtklevelbar.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit 6be06032153cddaf0444db8f1cfc6d8afbe88259 Author: Benjamin Otte Date: Wed Apr 30 09:21:54 2014 +0200 eventbox: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkeventbox.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit d7a3e67025cf8909b0b19475d1febe8870758334 Author: Benjamin Otte Date: Wed Apr 30 09:19:33 2014 +0200 listbox: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtklistbox.c | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) commit 562147c26750def628390712364050da6f533f2d Author: Benjamin Otte Date: Wed Apr 30 09:17:31 2014 +0200 frame: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkframe.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 209781ae3c793f4985ee15adcde390d101c06fb6 Author: Benjamin Otte Date: Wed Apr 30 09:17:07 2014 +0200 headerbar: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkheaderbar.c | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) commit 68ceab68726b6afa2d44ad71222dbf317be7a25f Author: Benjamin Otte Date: Wed Apr 30 09:16:04 2014 +0200 infobar: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkinfobar.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit f72b496a457d15ad4b3739e7989598da362eb536 Author: Benjamin Otte Date: Wed Apr 30 09:15:24 2014 +0200 grid: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkgrid.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 9ee00c35227046b49e7fa3ca8ab34d26980c08e4 Author: Benjamin Otte Date: Wed Apr 30 09:12:40 2014 +0200 scrolledwindow: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkscrolledwindow.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit ddbd71e22ad3abbcfc3b0d88c4f97873ca2db3e3 Author: Benjamin Otte Date: Wed Apr 30 09:11:58 2014 +0200 switch: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkswitch.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit c3dd04376504ba36881aa91b3b0ff0d020935a2e Author: Benjamin Otte Date: Wed Apr 30 09:11:22 2014 +0200 toolbar: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtktoolbar.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit a158a2aa48c8023f99963642cc2657bff207b82d Author: Benjamin Otte Date: Wed Apr 30 09:10:27 2014 +0200 treeview: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtktreeview.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit 9652b8cf82a8f4e80c50968b8fdc4bf32612b4e8 Author: Benjamin Otte Date: Wed Apr 30 09:09:39 2014 +0200 viewport: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkviewport.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 29a4f0131e7f2a8ec3c0e4949d00dfed255d5995 Author: Benjamin Otte Date: Wed Apr 30 09:08:00 2014 +0200 viewport: Implement hfw properly Previously, the code would fall back on GtkBin's hfw implementation which didn't account for padding and borders. gtk/gtkviewport.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 7 deletions(-) commit b261fc64e263a9ac01686d0e88a00205d1cd2fba Author: Benjamin Otte Date: Wed Apr 30 08:51:11 2014 +0200 viewport: Use a convenience function That function looks longer than not using it, but we'll need it in the next commit. gtk/gtkviewport.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 2e2e3a5e244decf6a519fec11c5336f50ce51b77 Author: Benjamin Otte Date: Wed Apr 30 08:47:00 2014 +0200 viewport: Request 2x border-width It's nice that bugs get pointed out in code comments. Fixing them would probably have been preferrable though. gtk/gtkviewport.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit db791ba3f5f4a9540582502255d579e43613ad17 Author: Benjamin Otte Date: Wed Apr 30 08:42:52 2014 +0200 widget: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkwidget.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 43e470dad10e0d9d0097ab201283ee2cd15a1a19 Author: Benjamin Otte Date: Wed Apr 30 08:41:54 2014 +0200 flowbox: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkflowbox.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) commit 7455ab72f8681cff908526985f8e4f7ff924aec6 Author: Benjamin Otte Date: Wed Apr 30 08:39:06 2014 +0200 combobox: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkcombobox.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit 3914bc9ce61df97063c9a371eb752e198ff7f214 Author: Benjamin Otte Date: Wed Apr 30 08:38:39 2014 +0200 button: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkbutton.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 71fe1a5fe31d234c110f5cd27eb6fcb040af4b7d Author: Benjamin Otte Date: Wed Apr 30 08:37:52 2014 +0200 alignment: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkalignment.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit e6b15c88ca11211bf2e7a7df95396ba0330e1a03 Author: Benjamin Otte Date: Wed Apr 30 08:36:48 2014 +0200 arrow: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkarrow.c | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit a1bba344f241f5c054e8dc7813fb9e3842363a73 Author: Benjamin Otte Date: Wed Apr 30 08:35:24 2014 +0200 spinner: Remove unneeded checks Size vfuncs always get non-null out variables passed, so no need to check for NULL. gtk/gtkspinner.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) commit 67981b1831a6259cb15fd2ec37343832339af2e8 Author: Cosimo Cecchi Date: Thu May 1 11:22:11 2014 +0200 modules: remove the pixbuf engine directory This is not used anywhere, and is commented out of the build because it doesn't compile. Time for some spring cleaning... configure.ac | 2 - modules/Makefile.am | 2 +- modules/engines/Makefile.am | 9 - modules/engines/pixbuf/Makefile.am | 36 -- modules/engines/pixbuf/README | 17 - modules/engines/pixbuf/pixbuf-draw.c | 985 ------------------------------- modules/engines/pixbuf/pixbuf-main.c | 55 -- modules/engines/pixbuf/pixbuf-rc-style.c | 908 ---------------------------- modules/engines/pixbuf/pixbuf-rc-style.h | 47 -- modules/engines/pixbuf/pixbuf-render.c | 870 --------------------------- modules/engines/pixbuf/pixbuf-style.h | 47 -- modules/engines/pixbuf/pixbuf.h | 213 ------- 12 files changed, 1 insertion(+), 3190 deletions(-) commit 4101adb7ac6b9082abd24dbd184522d9ce6d90f5 Author: Piotr Drąg Date: Wed Apr 30 22:14:24 2014 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) commit ff87672780a4228878740a4aa0bf7b376d042994 Author: Matthias Clasen Date: Tue Apr 29 21:46:38 2014 -0400 GtkSearchBar: fix the template There was a mismatch between GtkSearchBar being derived from GtkBin and the template claiming the parent to be GtkBox. gtk/resources/ui/gtksearchbar.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d36fab72a1da6dccf0ba7f8fca99450bcd45d4b Author: Matthias Clasen Date: Tue Apr 29 21:43:11 2014 -0400 widget-factory: populate the second page more Add back a menubar example that was lost a while ago, and also include a searchbar and an infobar. demos/widget-factory/widget-factory.c | 72 ++++- demos/widget-factory/widget-factory.ui | 469 ++++++++++++++++++++++++++++++++- 2 files changed, 527 insertions(+), 14 deletions(-) commit bc057d849a9e83fe7c3b35a625dfb1e41b4c7394 Author: Matthias Clasen Date: Tue Apr 29 16:51:44 2014 -0400 widget-factory: rearrange page 2 a bit demos/widget-factory/widget-factory.ui | 474 +++++++++++++++++---------------- 1 file changed, 245 insertions(+), 229 deletions(-) commit f0ebb15dab174283dda9bbc1d8feb04d9fcd5a47 Author: Benjamin Otte Date: Tue Apr 29 19:34:44 2014 +0200 reftests: Add test for latest commit Check that the label gets linebroken properly. testsuite/reftests/Makefile.am | 2 + testsuite/reftests/window-height-for-width.ref.ui | 83 ++++++++++++++++++++++ testsuite/reftests/window-height-for-width.ui | 84 +++++++++++++++++++++++ 3 files changed, 169 insertions(+) commit 8b15cd33eec98d382c79cf91daafc24204c4ca5a Author: Benjamin Otte Date: Tue Apr 29 19:26:06 2014 +0200 window: Subtract shadow from passed in width for height ... and height for width in size requests. Fixes mislayout in control-center universal access panel. gtk/gtkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit 73aa7bd2f5a0231a8dbcbe43b69775f192778345 Author: Benjamin Otte Date: Wed Apr 16 15:36:22 2014 +0200 widgets: Remove (GtkTickCallback) casts Instead, make the functions conform to the prototype, so that casting isn't needed. gtk/gtkflowbox.c | 2 +- gtk/gtkrange.c | 2 +- gtk/gtkrevealer.c | 5 +++-- gtk/gtkstack.c | 5 +++-- 4 files changed, 8 insertions(+), 6 deletions(-) commit 6061f234a98b1025b565fe9f5cc8a25d4f8cd586 Author: Matthias Clasen Date: Tue Apr 29 12:17:40 2014 -0400 GtkMenuSectionBox: Don't show separators for nested subsections ...unless they are labeled. To implement this, keep track of the nesting depth of section boxes, starting from 0 for the toplevel and the submenu ones, and only insert unlabeled separators if the depth is at most 1. gtk/gtkmenusectionbox.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit f3ba001a1de2c961494e191910dd5017f769bdf1 Author: Matthias Clasen Date: Tue Apr 29 11:48:52 2014 -0400 GtkMenuSectionBox: Always show separators for labeled sections ...unless they are empty. gtk/gtkmenusectionbox.c | 11 ++++++++--- tests/popover.ui | 3 ++- 2 files changed, 10 insertions(+), 4 deletions(-) commit 4f293c427c716374179410318b1c0812e20ffe45 Author: Matthias Clasen Date: Tue Apr 29 11:50:54 2014 -0400 Add a comment with rules for separators gtk/gtkmenusectionbox.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 9753f9f55fd953912ff0a3f596bd5c525aef23fe Author: Juan Pablo Ugarte Date: Mon Apr 28 18:10:39 2014 -0300 Added template test case to builder test. testsuite/gtk/builder.c | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) commit effc7514e79c5be31328f18a74b8d97a9ed20a4d Author: Matthias Clasen Date: Tue Apr 29 10:18:22 2014 -0400 GtkMenuSectionBox: don't leak This wasn't fully fleshed out yet. gtk/gtkmenusectionbox.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit f248b21b1bc6e7955544f219eed9abd779984d63 Author: Matthias Clasen Date: Tue Apr 29 06:21:11 2014 -0400 widget-factory: Add a horizontal-buttons example Sadly, we don't have good icons for payment methods... demos/widget-factory/widget-factory.c | 7 ++++--- demos/widget-factory/widget-factory.ui | 21 +++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) commit c0a87a85f4acdab8690302ee5af5a220b1cce9d0 Author: Alexander Larsson Date: Tue Apr 29 09:08:31 2014 +0200 treeview: Fix prelight redraw when adjustment changes When the adjustment changes (due to e.g. a mouse wheel scroll) we update the prelight. The part that un-prelights the previous prelight was broken by the the pixel cache, as it called update_prelight in the middle of the scrolling operation, where the windows were moved but the tree_view->priv->dy was not changed to the new value. This caused the updates to the pixel cache to go to the wrong place. We fix this by fully doing the scroll before we update_prelight(). https://bugzilla.gnome.org/show_bug.cgi?id=728284 gtk/gtktreeview.c | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) commit 6fb69a3e09e4d69b8a0a6cdb1215703265e515b4 Author: Matthias Clasen Date: Mon Apr 28 20:50:02 2014 -0400 3.13.1 NEWS | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 107 insertions(+), 1 deletion(-) commit a2fb74c375151278456d14b15ef5fd40e23906c9 Author: Matthias Clasen Date: Mon Apr 28 22:55:44 2014 -0400 Update output of a11y tests These are all affected by the addition of the action_box in GtkDialog or by the switch to popovers in GtkMenuButton. testsuite/a11y/about.txt | 11 +++++- testsuite/a11y/colorchooser.txt | 11 +++++- testsuite/a11y/menubutton2.txt | 76 ++++++++++++++++++++++++++++++++++------ testsuite/a11y/menubutton3.txt | 47 +++++++++++++++++++------ testsuite/a11y/messagedialog.txt | 11 +++++- 5 files changed, 133 insertions(+), 23 deletions(-) commit a6fb006ab50ed1f2e804b39f44cd174911fe5fec Author: Matthias Clasen Date: Mon Apr 28 22:46:25 2014 -0400 GtkMenuShell: We want separators in submenus This was probably an oversight when adding the merge_separators parameter. Without this change, the testsuite/gtk/gtkmenu test fails. gtk/gtkmenushell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 723dc0667e56030f72073945d7aec75b06cc5238 Author: Matthias Clasen Date: Mon Apr 28 21:53:35 2014 -0400 GtkMenuShell: Don't use a non-existing property GtkMenuTrackerItem::visible was removed a few commits ago. It is not necessary to bind visible anyway, since the menu tracker will insert and remove items as their visibility changes. gtk/gtkmenushell.c | 1 - 1 file changed, 1 deletion(-) commit c8e15e43e9009fc0768d5bf893ff58f0f0fdc8a1 Author: Matthias Clasen Date: Mon Apr 28 21:53:03 2014 -0400 testmenubutton: Add a toggle for use-popover tests/testmenubutton.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 8e5982ca9df24ab3fcfccb253a53d5583e899eb6 Author: Carlos Garnacho Date: Mon Apr 28 21:19:40 2014 +0200 gdkwindow: ignore shape on client-side windows when recomputing visible regions Rendering doesn't do much about clipping drawing operations to the window shape, although invalidation applies the shape to every window, leaving possibly trails of "overrendered" content. So ensure the shape portions get invalidated too when the window is moved/resized. https://bugzilla.gnome.org/show_bug.cgi?id=729095 gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b72e0f8cfb0e6770d0a29a8197165618caf0d69 Author: Carlos Garnacho Date: Mon Apr 28 20:34:49 2014 +0200 popover: Always make room for the tail on all sides on size request Now that popovers may snap to any side with enough space, make enough room on every side when requesting size, so that there's no w/h differences at the time of setting the child allocation. https://bugzilla.gnome.org/show_bug.cgi?id=729097 gtk/gtkpopover.c | 46 ++++------------------------------------------ 1 file changed, 4 insertions(+), 42 deletions(-) commit d1467c191de55f9a2ef047f09cb605ced1448e21 Author: Juan Pablo Ugarte Date: Mon Apr 28 14:46:48 2014 -0300 GtkRecentChooserMenu: Set current uri before activating an item. When activating an item using mnemonics GtkRecentChooserMenu does not select a item before calling the item-activated signal thus gtk_recent_chooser_get_current_uri() always return the last selected item instead of the activated one. Fixes Bug 495105 "Open recent file keyboard shortcuts do not work correctly" gtk/gtkrecentchoosermenu.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit 2dcf6c6b718db189412453393f90c76aa189b527 Author: Matthias Clasen Date: Mon Apr 28 15:38:17 2014 -0400 Raleigh: fix a typo gtk/resources/theme/gtk-default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0af4b71cd1e41c1ccdc540438c64842f37209ea0 Author: Matthias Clasen Date: Mon Apr 28 15:36:34 2014 -0400 GtkDialog: protect against show_all The real reason for the problem that the just reverted change was supposed to address is that testfilechooser uses show_all to tease out places where composite dialogs don't properly protect their internals against unintended showing. Well, lets do that, then. gtk/resources/ui/gtkdialog.ui | 1 + 1 file changed, 1 insertion(+) commit 26d6eadab7f21a6af5383c03e3e0d4703be3d051 Author: Matthias Clasen Date: Mon Apr 28 15:12:09 2014 -0400 Revert "GtkFileChooserDialog: Avoid a bottom border in the dialog" This reverts commit d871105fa8fd20f9be0d07953ee2dd7d90b4c84f. gtk/resources/ui/gtkfilechooserdialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca4a9175624d247c9f9bbf68df86258d3cd69b16 Author: Matej Urbančič Date: Mon Apr 28 21:09:16 2014 +0200 Updated Slovenian translation po-properties/sl.po | 3460 +++++++++++++++++++++++++++------------------------ 1 file changed, 1850 insertions(+), 1610 deletions(-) commit 1c04d7db8f36cbd4f6f1d490bd07845f63d01c88 Author: Matej Urbančič Date: Mon Apr 28 21:07:38 2014 +0200 Updated Slovenian translation po/sl.po | 718 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 381 insertions(+), 337 deletions(-) commit 6c3936fb9aaeb7722ca05a9206000260450cd0bf Author: Matthias Clasen Date: Sat Apr 26 14:38:07 2014 -0400 Document iconic section support https://bugzilla.gnome.org/show_bug.cgi?id=727477 gtk/gtkpopover.c | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 7fa1133912c7dfe66b278625ee4b2e3764e3aa0d Author: Matthias Clasen Date: Wed Apr 2 01:08:39 2014 -0400 Add an example of iconic rendering testpopover now shows several examples of icon buttons. https://bugzilla.gnome.org/show_bug.cgi?id=727477 tests/popover.ui | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++++ tests/testpopover.c | 8 ++++++++ 2 files changed, 64 insertions(+) commit 28a567f5a977a41bebd8541a680234ba3bdccc48 Author: Matthias Clasen Date: Mon Apr 28 14:18:39 2014 -0400 GtkMenuSectionBox: add support for iconic sections Sections that have the display-hint attribute set to "horizontal-boxes" will be rendered as a row of icon buttons, instead of menuitem-like. gtk/gtkmenusectionbox.c | 34 +++++++++++++++++++++++++++------- 1 file changed, 27 insertions(+), 7 deletions(-) commit 8fff8acbac56daf4de967f5ab8ed805391cd9e4b Author: Matthias Clasen Date: Mon Apr 28 14:18:06 2014 -0400 GtkMenuTrackerItem: Add support for display-hint This commit adds a getter for the display-hint attribute. gtk/gtkmenutrackeritem.c | 10 ++++++++++ gtk/gtkmenutrackeritem.h | 2 ++ 2 files changed, 12 insertions(+) commit 6429b33f44bbc8cae1ace22d96b1a3cb9c3df45d Author: Matthias Clasen Date: Sat Apr 26 13:50:55 2014 -0400 GtkModelButton: Add an iconic mode In iconic mode, model buttons will be styled like regular icon buttons, preferring to show only the icon if one is set, falling back to showing the label. https://bugzilla.gnome.org/show_bug.cgi?id=727477 gtk/gtkmodelbutton.c | 97 ++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 76 insertions(+), 21 deletions(-) commit 038de025748c765a6e858d152ce9a20da84a36bf Author: Matthias Clasen Date: Sat Apr 26 14:15:01 2014 -0400 GtkMenuTrackerItem: Add support for verb-icons When rendering iconic sections, we want to use icons for verbs, and we want to differentiate these in the menu model, to keep the icon attribute reserved for nouns. https://bugzilla.gnome.org/show_bug.cgi?id=727477 gtk/gtkmenutrackeritem.c | 28 ++++++++++++++++++++++++++++ gtk/gtkmenutrackeritem.h | 2 ++ 2 files changed, 30 insertions(+) commit 5137e491dc56b4f66b2330d3a33e70a57913c0c3 Author: Ryan Lortie Date: Mon Apr 28 17:55:52 2014 +0200 GtkPopover: new approach to menu model binding Instead of using GtkMenuTracker to flatten the sections into a single linear menu, handle the sections ourselves by nesting boxes. Each section gets an inner and outer box. The inner box numbers its children in the way that the tracker instructs. The outer box containes the inner box and the separator, if appropriate. Having the two separate boxes will allow us to change the orientation of the inner box if we want to pack widgets horizontally within a section. gtk/Makefile.am | 2 + gtk/gtkmenusectionbox.c | 405 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkmenusectionbox.h | 49 ++++++ gtk/gtkpopover.c | 253 +----------------------------- 4 files changed, 461 insertions(+), 248 deletions(-) commit d930716daf0b04d01832658b21ba96898686c70e Author: Ryan Lortie Date: Mon Apr 28 14:20:08 2014 +0200 GtkMenuTracker: add 'merge_sections' flag Add the possibility of a GtkMenuTracker that performs no section merging. Instead, it will report an item in the form of a separator for subsections. It is then possible to get a separate tracker for the subsection contents by using gtk_menu_tracker_new_for_item_link(). gtk/gtkmenushell.c | 4 ++-- gtk/gtkmenutracker.c | 11 ++++++++--- gtk/gtkmenutracker.h | 2 ++ gtk/gtkpopover.c | 3 ++- 4 files changed, 14 insertions(+), 6 deletions(-) commit f6ee00769a9190ed95857dab9fc78f935b6645db Author: Ryan Lortie Date: Mon Apr 28 14:01:35 2014 +0200 GtkMenuTracker: don't specialise "submenu" link We have some API in GtkMenuTracker and GtkMenuTrackerItem that is specifically designed to deal with submenus. Generalise these APIs to take a 'link_name' parameter that we always give as G_MENU_SUBMENU for now. In the future, this will allow creating trackers for other types of links, such as sections. gtk/gtkmenushell.c | 11 ++++++----- gtk/gtkmenutracker.c | 13 +++++++------ gtk/gtkmenutracker.h | 3 ++- gtk/gtkmenutrackeritem.c | 18 +++++++----------- gtk/gtkmenutrackeritem.h | 8 +++++--- gtk/gtkpopover.c | 6 ++++-- 6 files changed, 31 insertions(+), 28 deletions(-) commit 48db84182211324cc70703da609d15e3a568f5f6 Author: Ryan Lortie Date: Mon Apr 28 10:12:51 2014 +0200 GtkMenuTracker: make "is-visible" a property Make this a property just like all of the other things and make the APIs for accessing it non-private (but add a note that they are not intended to be used). gtk/gtkmenutracker.c | 6 +++--- gtk/gtkmenutrackeritem.c | 33 ++++++++++++++++++++++++--------- gtk/gtkmenutrackeritem.h | 4 ++-- 3 files changed, 29 insertions(+), 14 deletions(-) commit 06ab1d9203ecc6fba6371fd3c292546ccfa52166 Author: Ryan Lortie Date: Mon Apr 28 10:12:25 2014 +0200 GtkMenuTracker: remove "visible" property This is in conflict with the "is-visible" pseudo-property which is about to be promoted to being an actual property. gtk/gtkmenutrackeritem.c | 12 ------------ gtk/gtkmenutrackeritem.h | 2 -- 2 files changed, 14 deletions(-) commit 5432c37d5a7b3ecb9f09056faeb32d58db92e4f3 Author: Руслан Ижбулатов Date: Mon Apr 28 15:51:51 2014 +0000 W32: Update the css to match the .modelbutton->.button.menuitem transition gtk/resources/theme/gtk-win32-base.css | 98 +++++++++++++++++----------------- 1 file changed, 49 insertions(+), 49 deletions(-) commit baaf201f2a9f1b897eb881e4380d5c4a9d050369 Author: Matthias Clasen Date: Sun Apr 27 18:48:06 2014 -0400 Rename the modelbutton style class This is not a great name to use in themes; instead, add the menuitem class, so themes can use .button.menuitem for styles that are specific to menuitem-like buttons. gtk/gtkmodelbutton.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f1b423e60f88793b6cc739a145bea2b2a93ac80a Author: Matthias Clasen Date: Sun Apr 27 12:13:06 2014 -0400 Add a popover menu example to gtk3-widget-factory demos/widget-factory/widget-factory.c | 7 +++ demos/widget-factory/widget-factory.ui | 84 ++++++++++++++++++++++++++++++---- 2 files changed, 82 insertions(+), 9 deletions(-) commit 6cd3c73f21a4d61fbf4e4d9b93de2f7f79d8fa54 Author: Matthias Clasen Date: Sun Apr 27 10:28:43 2014 -0400 Add a paned example to gtk3-widget-factory demos/widget-factory/widget-factory.ui | 92 +++++++++++++++++++++++++++++++++- 1 file changed, 91 insertions(+), 1 deletion(-) commit 37c9a9aafedbc840ae63251c3aa7ede383698d63 Author: Matthias Clasen Date: Sat Apr 26 17:47:21 2014 -0400 Fix testmenubutton The menu model examples was messing up the order of its items. tests/testmenubutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 987b56973c23efecbcb5c5ec5cecf20e655b037d Author: Matthias Clasen Date: Sat Apr 26 16:37:16 2014 -0400 GtkModelButton: improve size allocation Only reserve size for an indicator if at least one sibling actually has an indicator. gtk/gtkmodelbutton.c | 140 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 116 insertions(+), 24 deletions(-) commit a5d2778737707199dd0c89c3d26b95bf21f3337b Author: Matthias Clasen Date: Sat Apr 26 14:40:52 2014 -0400 Actually set the default for GtkMenuButton::use-popover The previous commit changed the property declaration, but omitted the actual change of the default. gtk/gtkmenubutton.c | 1 + 1 file changed, 1 insertion(+) commit b395929a16329e70b2b86df3c2de6519cfba0ee0 Author: Adel Gadllah Date: Sat Apr 26 14:08:51 2014 +0200 gdkscreen-wayland: Emit monitors-changed when the output scale changes https://bugzilla.gnome.org/show_bug.cgi?id=729013 gdk/wayland/gdkscreen-wayland.c | 1 + 1 file changed, 1 insertion(+) commit b6e724e76fb3fb14b30aa1a2fee94dba5e858ef9 Author: Matthias Clasen Date: Sat Apr 26 10:14:38 2014 -0400 Add Adwaita to the list of default icon themes Hardcode the fallback to Adwaita. I'm leaving gnome in here for now, since we're in the middle of the transition. It will be removed before 3.14. gtk/gtkicontheme.c | 1 + 1 file changed, 1 insertion(+) commit f2d488dea1a4ac233b11779dfea645e8d7276fda Author: Juan Pablo Ugarte Date: Fri Apr 25 19:18:28 2014 -0300 Fixed crash in GtkLockButton if a button with permission set to NULL is clicked. https://bugzilla.gnome.org/show_bug.cgi?id=728992 gtk/gtklockbutton.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 063bd57873155ef95d63d74340c53d18fbe2790f Author: Matthias Clasen Date: Fri Apr 25 22:07:13 2014 -0400 GtkWindow: Avoid a critical in F10 handling The focus widget might be NULL, and we were forgetting to take that possibility into account in one place. gtk/gtkwindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 45735c5b3ceff3953baa1bca00487165de945f87 Author: Matthias Clasen Date: Thu Apr 24 01:36:36 2014 -0400 tests: add missing files to EXTRA_DIST https://bugzilla.gnome.org/show_bug.cgi?id=728846 tests/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 516f1e180899dfe47426381b59bfa4eb8a905e3e Author: Matthias Clasen Date: Thu Apr 24 01:06:14 2014 -0400 Add missing templates to testdialog This makes the template test cases not crash. The templates also serve to test the new action widget support. https://bugzilla.gnome.org/show_bug.cgi?id=728846 tests/mydialog.ui | 23 +++++++++++++++++++++++ tests/mydialog2.ui | 14 ++++++++++++++ tests/testdialog.c | 2 -- 3 files changed, 37 insertions(+), 2 deletions(-) commit 66b6078ae20bfbd0023ec5982cb154a4547ece7b Author: Matthias Clasen Date: Thu Apr 24 01:32:50 2014 -0400 GtkDialog: Update suggested-action more carefully We were not really handling all cases correctly here. We want the suggested-action style class to only be set on headerbar buttons, and it should be set on the default widget. Ensure this by syncing the suggested-action style class with the default style class. As a side-effect, setting has-default on an action widget in ui files will now have the expected effect. https://bugzilla.gnome.org/show_bug.cgi?id=728846 gtk/gtkdialog.c | 51 ++++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 11 deletions(-) commit 90559a3fc58c50e76a591716264c67f520fba4b6 Author: Matthias Clasen Date: Thu Apr 24 00:28:13 2014 -0400 GtkDialog: Support adding action widgets in ui files GtkDialog has convenience API for adding action widgets that are either placed in the action area or the headerbar. This commit makes the same functionality available from GtkBuilder ui files by specifying "action" as the child type. https://bugzilla.gnome.org/show_bug.cgi?id=728846 gtk/gtkdialog.c | 67 +++++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 49 insertions(+), 18 deletions(-) commit 8935d2f123878c31af69b6c6034069ad540b13c7 Author: Antoine Jacoutot Date: Fri Apr 25 14:37:59 2014 +0200 openbsd: properly set len for gtkmountoperation-x11 sysctl(3) is the correct way to get the lenght for len in this case. Also drop unused headers and change style to match the rest of the file. gtk/gtkmountoperation-x11.c | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) commit fab2173b315c7d305b75f6aabb4da45922b44afa Author: Matthias Clasen Date: Thu Apr 24 23:35:18 2014 -0400 GtkMenuButton: use popovers by default When constructing from a menu model, use popovers by default. This change has the potential to cause some size problems for applications with big gear menus, so we're doing it early in the cycle to uncover and fix those. gtk/gtkmenubutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4480bf382af2140f457075dcda0a5535a5b11239 Author: Marc-André Lureau Date: Mon Oct 15 18:07:46 2012 +0200 gdk/win32: VK_SNAPSHOT maps to GDK_Print Also, I am not sure the above VK_PRINT -> GDK_Print mapping is correct, but it doesn't hurt yet. https://bugzilla.gnome.org/show_bug.cgi?id=686170 gdk/win32/gdkkeys-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit 2230fea0b6b47c6a3c2943d7b7f759912730dc40 Author: Marc-André Lureau Date: Tue Apr 22 19:47:47 2014 +0200 win32: add more clipboard data checks to avoid crash It may happen that the received clipboard data is empty, but if it's of type image/bmp, gtk+ will crash: gdk_property_change: 00030AD4 GDK_SELECTION image/bmp REPLACE 8*0 bits: ... delayed rendering gdk_selection_send_notify_for_display: 00030AD4 CLIPBOARD image/bmp GDK_SELECTION (no-op) _gdk_win32_selection_convert_to_dib: 1252003C image/bmp Program received signal SIGSEGV, Segmentation fault. 0x749a9f40 in msvcrt!memmove () from C:\Windows\syswow64\msvcrt.dll Thread 1 (Thread 2248.0x1b34): target=0xc07b) at gdkselection-win32.c:1292 at gdkevents-win32.c:3498 wparam=8, lparam=0) at gdkevents-win32.c:232 message=773, wparam=8, lparam=0) at gdkevents-win32.c:263 C:\Windows\syswow64\user32.dll C:\Users\rugoosse\AppData\Local\virt-viewer\bin\libpangocairo-1.0-0.dll wparam=0, lparam=-1687549457) at gdkevents-win32.c:248 C:\Users\rugoosse\AppData\Local\virt-viewer\bin\libpangocairo-1.0-0.dll https://bugzilla.gnome.org/show_bug.cgi?id=728745 gdk/win32/gdkproperty-win32.c | 6 ++++++ gdk/win32/gdkselection-win32.c | 2 ++ 2 files changed, 8 insertions(+) commit 37aa840e892ee3e61c73bb7494cd582193e707d0 Author: Руслан Ижбулатов Date: Wed Apr 23 16:10:33 2014 +0000 W32: Add modelbutton styles According to what i've been told, modelbuttons are supposed to look flat, like menu items. This is basically an improved copy of the menuitem styles. https://bugzilla.gnome.org/show_bug.cgi?id=728810 gtk/resources/theme/gtk-win32-base.css | 100 +++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) commit 1bcd7c40bdf37da9e1b55581772ebb8b9361479e Author: Руслан Ижбулатов Date: Wed Apr 23 16:01:06 2014 +0000 W32: Add a set of "focused" styles to checkmarks This prevents checkmarks in modelbuttons from being styled as buttons (apparently, modelbuttons apply "focused" to their children, unlike normal buttons). https://bugzilla.gnome.org/show_bug.cgi?id=728808 gtk/resources/theme/gtk-win32-base.css | 6 ++++++ 1 file changed, 6 insertions(+) commit 5309149f75c34390659871f8eb62943809d67e66 Author: Руслан Ижбулатов Date: Wed Apr 23 15:58:45 2014 +0000 W32: Fix dummy prelight style for check/radio buttons Use a dummy transparent gradient instead of actual color (which screws up focus rectangle on prelight), and apply to non-prelight state as well. https://bugzilla.gnome.org/show_bug.cgi?id=728807 gtk/resources/theme/gtk-win32-base.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit f4b61e92f6133ff9936337eb524aed1b4761f967 Author: Руслан Ижбулатов Date: Wed Apr 23 15:57:24 2014 +0000 W32: remove the blue "selected" rectangle when activating a checkbutton https://bugzilla.gnome.org/show_bug.cgi?id=728806 gtk/resources/theme/gtk-win32-base.css | 6 ++++++ 1 file changed, 6 insertions(+) commit 93177f7bf0b733ccbd7351e9a83a7758dbd0d6a3 Author: Matthias Clasen Date: Wed Apr 23 23:25:30 2014 -0400 Add all version macros to the docs docs/reference/gdk/gdk3-sections.txt | 5 +++++ 1 file changed, 5 insertions(+) commit ea61bdf1a002d1b4b1505e816ce5eec469acf8ba Author: Matthias Clasen Date: Wed Apr 23 23:25:07 2014 -0400 Add GDK_VERSION_3_14 https://bugzilla.gnome.org/show_bug.cgi?id=728814 gdk/gdkversionmacros.h.in | 9 +++++++++ 1 file changed, 9 insertions(+) commit 60f49c097af9444c3a97f9f45e09a10dba130d36 Author: Yosef Or Boczko Date: Wed Apr 23 12:50:51 2014 +0300 Updated Hebrew translation po/he.po | 693 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 344 insertions(+), 349 deletions(-) commit 6e5191f6b683b75da1a3625a59f99c69f3b887cf Author: Matthias Clasen Date: Wed Apr 23 00:05:15 2014 -0400 dialog: keep action area stretched out Adding an extra box in between had the side effect of making the action area no longer go all across the dialog. Setting hexpand compensates for this. gtk/resources/ui/gtkdialog.ui | 1 + 1 file changed, 1 insertion(+) commit 1a2a5a44bdf22476a040dee8538eda9924655ea2 Author: Carlos Garnacho Date: Thu Apr 17 14:19:39 2014 +0200 wayland: handle the wl_touch interface The events are routed through a new slave device with type GDK_SOURCE_TOUCHSCREEN, minimal tracking of touches is done to keep the state for each of those. https://bugzilla.gnome.org/show_bug.cgi?id=728426 gdk/wayland/gdkdevice-wayland.c | 232 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 231 insertions(+), 1 deletion(-) commit af8d6e6549ef820d876556dfeaed67bac767480c Author: Carlos Garnacho Date: Thu Apr 17 13:15:08 2014 +0200 wayland: Separate master devices from seat capabilities The master pointer/keyboard pair should never disappear or be inconsistent. The seat capabilities are now reflected through slave devices, those may come and go freely as the seat capabilities change. This also enables adding further capabilities to handle eg. touch. https://bugzilla.gnome.org/show_bug.cgi?id=728426 gdk/wayland/gdkdevice-wayland.c | 98 ++++++++++++++++++++++++++++++++--------- 1 file changed, 76 insertions(+), 22 deletions(-) commit aab1610d40976abf50b830b6c6eb1f6cdd04a947 Author: Matthias Clasen Date: Mon Apr 14 17:10:25 2014 -0700 DND: go back to a timeout for cancel animation Using a tick callback does not really make sense here, since we are not drawing in a window, but moving a toplevel around. https://bugzilla.gnome.org/show_bug.cgi?id=728183 gtk/gtkdnd.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit d871105fa8fd20f9be0d07953ee2dd7d90b4c84f Author: Matthias Clasen Date: Tue Apr 22 23:08:43 2014 -0400 GtkFileChooserDialog: Avoid a bottom border in the dialog We recently started to respect border-width on the action_area again, so set its border-width to 0 so it doesn't get in the way. https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/resources/ui/gtkfilechooserdialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7e479aa9eeff38d358d20b155a55a07ab04ba1e9 Author: William Jon McCann Date: Wed Apr 9 14:30:37 2014 -0400 dialog: add a box around the action area to use for styling If we want to set style properties that include the area of the border-width part of action_area we need to use a parent box. https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkdialog.c | 4 +++- gtk/resources/ui/gtkdialog.ui | 23 +++++++++++++++++++---- 2 files changed, 22 insertions(+), 5 deletions(-) commit 384b227e7b3dc1e7a969ad17451c9af62bde6ccd Author: William Jon McCann Date: Wed Apr 9 13:49:54 2014 -0400 file-chooser: make enter location an operation mode https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) commit 20dfe1dd7f23c721c2e53ef86e6c1800b5d8243a Author: William Jon McCann Date: Wed Apr 9 12:18:37 2014 -0400 file-chooser: merge path bar mode and location mode https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 150 ++++++------------------------- gtk/resources/ui/gtkfilechooserwidget.ui | 46 +--------- 2 files changed, 28 insertions(+), 168 deletions(-) commit d8ca588e179121ea58c6a15eb5949662fa6eca7c Author: William Jon McCann Date: Wed Apr 9 12:00:08 2014 -0400 file-chooser: remove select a folder info message https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 29 +++++++---------------------- gtk/resources/ui/gtkfilechooserwidget.ui | 13 ------------- 2 files changed, 7 insertions(+), 35 deletions(-) commit d46ed4ec00b2cbbcb5db70d8bd67a7b57bc22db2 Author: William Jon McCann Date: Wed Apr 9 11:50:42 2014 -0400 file-chooser: don't use an special label for recent https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 24 ++---------------------- gtk/resources/ui/gtkfilechooserwidget.ui | 22 ---------------------- 2 files changed, 2 insertions(+), 44 deletions(-) commit a644b34154db993064804ff9ecf581b8d4b1b241 Author: William Jon McCann Date: Wed Apr 9 11:47:07 2014 -0400 file-chooser: add a search bar instead of using a path bar mode https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 66 ++++++-------------------------- gtk/resources/ui/gtkfilechooserwidget.ui | 20 +++++++++- 2 files changed, 30 insertions(+), 56 deletions(-) commit cf9b29705ff6c74c927a44b55f992917b92a5127 Author: William Jon McCann Date: Wed Apr 9 10:54:00 2014 -0400 file-chooser: add sidebar class to sidebar https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/resources/ui/gtkfilechooserwidget.ui | 3 +++ 1 file changed, 3 insertions(+) commit b5e13cd68f0561016cab0fa3814a3d671e3a629e Author: William Jon McCann Date: Tue Apr 8 13:29:01 2014 -0400 file-chooser: style location bar as a search bar So we get a nice bottom border etc. https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/resources/ui/gtkfilechooserwidget.ui | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b05b91c6925bd2464387295551c9d1dab4561d5b Author: William Jon McCann Date: Tue Apr 8 13:26:08 2014 -0400 file-chooser: style save mode name box as a search bar So we get a bottom border etc. https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 22e3552a9d1b397c0e0a913a1b3e20c460d318b8 Author: William Jon McCann Date: Tue Apr 8 13:21:38 2014 -0400 file-chooser: don't show a "save folder:" label https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 19 ------------------- 1 file changed, 19 deletions(-) commit 5c42068bb3277b2a33bfdaca1fa21f2d96f4706c Author: William Jon McCann Date: Tue Apr 8 13:13:01 2014 -0400 file-chooser: move location entry into same place as pathbar https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 94 +++-------- gtk/resources/ui/gtkfilechooserwidget.ui | 262 ++++++++++++++--------------- gtk/resources/ui/gtkfilechooserwidget.ui.h | 4 +- 3 files changed, 155 insertions(+), 205 deletions(-) commit 1e925a85ca2acb00f53ce18d72ab3abf003cecbb Author: William Jon McCann Date: Mon Apr 7 18:43:28 2014 -0400 places-sidebar: add optional enter location place https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkplacessidebar.c | 104 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkplacessidebar.h | 5 +++ 2 files changed, 109 insertions(+) commit e2b2339b898e563d2da3c3a2f93484952a1e96cc Author: William Jon McCann Date: Mon Apr 7 17:55:08 2014 -0400 file-chooser: no shadow on scrolled window https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/resources/ui/gtkfilechooserwidget.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c253bc31654907d4a180ce0987646e62eb458d28 Author: William Jon McCann Date: Mon Apr 7 17:52:20 2014 -0400 file-chooser: use an action bar for extra widgets area https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/resources/ui/gtkfilechooserdialog.ui | 3 ++- gtk/resources/ui/gtkfilechooserwidget.ui | 12 ++---------- 2 files changed, 4 insertions(+), 11 deletions(-) commit df9522d8a862e90b825c7d44d05c1a5b64fc1fce Author: William Jon McCann Date: Mon Apr 7 17:18:56 2014 -0400 file-chooser: allow views to extend to the sides of the dialog https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 15 ++++++++------- gtk/resources/ui/gtkfilechooserdialog.ui | 5 +++-- gtk/resources/ui/gtkfilechooserwidget.ui | 15 ++++++++++----- 3 files changed, 21 insertions(+), 14 deletions(-) commit 458cd04c136010e8f2027f3ef45adbc2cae0a424 Author: William Jon McCann Date: Mon Apr 7 15:57:19 2014 -0400 file-chooser: move filter combo into extra area https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/resources/ui/gtkfilechooserwidget.ui | 81 +++++++++++++++++--------------- 1 file changed, 42 insertions(+), 39 deletions(-) commit 256a3a51dadbb26ebd3c2124bf29ba02c9d4106d Author: William Jon McCann Date: Mon Apr 7 15:16:21 2014 -0400 file-chooser: move pathbar into preview pane https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkfilechooserwidget.c | 50 +----- gtk/resources/ui/gtkfilechooserwidget.ui | 270 +++++++++++++++---------------- 2 files changed, 137 insertions(+), 183 deletions(-) commit 5a73757cdb268d15021d14b21b70fca9b8ecd28f Author: William Jon McCann Date: Mon Apr 7 15:00:01 2014 -0400 places-sidebar: use separators instead of heading labels https://bugzilla.gnome.org/show_bug.cgi?id=722211 gtk/gtkplacessidebar.c | 98 ++++++++++++-------------------------------------- 1 file changed, 23 insertions(+), 75 deletions(-) commit f02663532dfd11d37b335928670bcb2e6482d759 Author: Jason Ekstrand Date: Tue Apr 22 21:17:55 2014 -0500 Get rid of a stray character gtk/gtkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6193b9b640af2e57a24c0d420f15b7572f5955c3 Author: Matthias Clasen Date: Tue Apr 22 21:19:21 2014 -0400 csd: Fix drag hightlight drawing When making the entire window a drop target, as file-roller does, we don't want to draw the drag highlight around the CSD window decorations. https://bugzilla.gnome.org/show_bug.cgi?id=728526 Please enter the commit message for your changes. Lines starting gtk/gtkdnd.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit 75f90ee4245172f4522868d3780219d19e546d6f Author: Victor Martinez Date: Fri Apr 11 20:50:48 2014 -0600 Allow defining an invisible resize area for GtkPaned's handle. This should allow theme developers to use a very small width for the resize handle, but still let users easily move the handle by defining a wider resize area. The additional resize area follows the "margin" style property. https://bugzilla.gnome.org/show_bug.cgi?id=728073 gtk/gtkpaned.c | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) commit ee3d00c391b7ce0fa4f3258bafe6892174b83537 Author: Jasper St. Pierre Date: Tue Apr 22 19:16:48 2014 -0400 wayland: Map the window immediately on show gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4e72674bf36333d42542704e9b5331bbd1abc189 Author: Jasper St. Pierre Date: Tue Apr 22 19:16:26 2014 -0400 wayland: Remove useless hint set gdk/wayland/gdkwindow-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit 938725fff0067dc97232403d5cb73477bb5a2e5d Author: Jasper St. Pierre Date: Tue Apr 22 19:14:55 2014 -0400 wayland: Remove VISIBILITY_NOTIFY event VISIBILITY_NOTIFY is already known to be unreliable. gdk/wayland/gdkwindow-wayland.c | 3 --- 1 file changed, 3 deletions(-) commit bd60c7b95d65138d369aef20fdc87af33131df58 Author: Jasper St. Pierre Date: Sat Apr 12 10:35:19 2014 -0700 gtk-demo: Make sure to clear the timeout when we stop it demos/gtk-demo/revealer.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit cfd7788c0b67e692482e5be51cbdc2875bc7fdd8 Author: Matthias Clasen Date: Tue Apr 22 18:34:35 2014 -0400 GtkScaleButton: Don't specify a icon size of zero This only works for scalable icons, but breaks if we fall back to pngs. gtk/resources/ui/gtkscalebutton.ui | 2 -- 1 file changed, 2 deletions(-) commit 2d9722e92ba834b19f18909a7eef5bff4834bc28 Author: Matthias Clasen Date: Tue Apr 22 11:08:17 2014 -0400 Fix the build gtk/gtkmodelbutton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2b85d6c22580a1733ff45e2abf819d5ac6209f24 Author: Matthias Clasen Date: Tue Apr 22 11:04:40 2014 -0400 Add a style class to model buttons This will let us stop using the class name in Adwaita, and will help with some future additions. gtk/gtkmodelbutton.c | 1 + 1 file changed, 1 insertion(+) commit 0940cbbeb95c526107d0d3787a0a3c3a357d1e83 Author: Volker Sobek Date: Mon Apr 21 22:57:35 2014 +0200 docs: Fix parameter names for two functions Don't use two different parameter names. gtk/gtkheaderbar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit c8fa10cace3a30370f8b0818d06d66cbcbbf4708 Author: Yuri Myasoedov Date: Sun Apr 20 15:18:10 2014 +0400 Fixed Russian translation po/ru.po | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit 6668d8697a2642ca81f297dcaf9729f10a124333 Author: Christian Kirbach Date: Sat Apr 19 11:58:38 2014 +0000 Updated German translation po-properties/de.po | 4920 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2693 insertions(+), 2227 deletions(-) commit 887fc60ccee7b9719ebb47291682e48f00609b7b Author: Juan Pablo Ugarte Date: Fri Apr 11 16:24:04 2014 -0300 Added bindings support to GtkBuilder by introducing 3 new attributes "bind-source" to specify the source object of the binding "bind-property" to specify the source property and "bind-flags" to specify the binding flags (optional) Binding an object sensitive property with a check button active property will look like this: This is based on the original work done by Denis Washington for his GSoC project This closes Bug 654417 "[GSoC] Add element to GtkBuilder syntax" gtk/gtkbuilder.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkbuilder.rnc | 3 ++ gtk/gtkbuilder.rng | 15 ++++++++++ gtk/gtkbuilderparser.c | 51 +++++++++++++++++++++++++++---- gtk/gtkbuilderprivate.h | 13 +++++++- testsuite/gtk/builder.c | 57 +++++++++++++++++++++++++++++++++++ 6 files changed, 212 insertions(+), 7 deletions(-) commit be9d1e0b3ba969c71db6e1b00be505bea425908b Author: Antoine Jacoutot Date: Fri Apr 18 00:59:45 2014 +0200 broadway backend: allow building on OpenBSD On OpenBSD shm_open(3) is part of libc and there is not librt, so add an according check. Check if we have posix_fallocate before using it. https://bugzilla.gnome.org/show_bug.cgi?id=728272 configure.ac | 5 +++++ gdk/broadway/Makefile.am | 6 ++++-- gdk/broadway/gdkbroadway-server.c | 2 ++ 3 files changed, 11 insertions(+), 2 deletions(-) commit 2e1d0df1eda8c29303f98746d0eef077f8ea996c Author: Matthias Clasen Date: Thu Apr 17 13:18:35 2014 -0700 example: Update screenshots docs/reference/gtk/images/getting-started-app1.png | Bin 3649 -> 3004 bytes .../reference/gtk/images/getting-started-app10.png | Bin 102678 -> 167805 bytes docs/reference/gtk/images/getting-started-app2.png | Bin 6328 -> 5718 bytes docs/reference/gtk/images/getting-started-app3.png | Bin 45156 -> 37590 bytes docs/reference/gtk/images/getting-started-app4.png | Bin 91596 -> 211105 bytes docs/reference/gtk/images/getting-started-app6.png | Bin 81381 -> 223488 bytes docs/reference/gtk/images/getting-started-app7.png | Bin 36853 -> 38964 bytes docs/reference/gtk/images/getting-started-app8.png | Bin 93499 -> 58744 bytes docs/reference/gtk/images/getting-started-app9.png | Bin 93006 -> 46932 bytes 9 files changed, 0 insertions(+), 0 deletions(-) commit c923ea9bc45711ae1fb9cd9d543c969d6b241efd Author: Matthias Clasen Date: Thu Apr 17 12:43:17 2014 -0700 example: Use popover for gears menu examples/application10/window.ui | 1 + examples/application8/window.ui | 1 + examples/application9/window.ui | 1 + 3 files changed, 3 insertions(+) commit 763250e04d2f088e355bb63181e6e7020ece1a5d Author: Matthias Clasen Date: Thu Apr 17 12:39:07 2014 -0700 example: Make gears button square Another application of image-button. examples/application10/window.ui | 3 +++ examples/application8/window.ui | 3 +++ examples/application9/window.ui | 3 +++ 3 files changed, 9 insertions(+) commit 35f42433153722aefb5ed7c2418c966038e1425f Author: Matthias Clasen Date: Thu Apr 17 12:37:51 2014 -0700 example: Make search button square The image-button style class takes care of it. examples/application10/window.ui | 3 +++ examples/application7/window.ui | 3 +++ examples/application8/window.ui | 3 +++ examples/application9/window.ui | 3 +++ 4 files changed, 12 insertions(+) commit fcba75c2ba695a5e06c1185aee46e9d6b215c710 Author: Matthias Clasen Date: Thu Apr 17 12:18:01 2014 -0700 example: Modernize the prefs dialog We should show the current best practice for this kind of dialog, and use a headerbar with a window close button. examples/application10/exampleappprefs.c | 10 +--------- examples/application10/prefs.ui | 13 ------------- examples/application6/exampleappprefs.c | 10 +--------- examples/application6/prefs.ui | 13 ------------- examples/application7/exampleappprefs.c | 10 +--------- examples/application7/prefs.ui | 13 ------------- examples/application8/exampleappprefs.c | 10 +--------- examples/application8/prefs.ui | 13 ------------- examples/application9/exampleappprefs.c | 10 +--------- examples/application9/prefs.ui | 13 ------------- 10 files changed, 5 insertions(+), 110 deletions(-) commit b718b95aabf5484f7ea5f1679706a50f67bd0271 Author: Matthias Clasen Date: Thu Apr 17 11:36:33 2014 -0700 example: Port to gtk_application_set_accels_for_action Instead of hardcoding an accelerator in the ui file, use gtk_application_set_accels_for_action. docs/reference/gtk/getting_started.xml | 6 +++++- examples/application10/app-menu.ui | 1 - examples/application10/exampleapp.c | 4 ++++ examples/application4/app-menu.ui | 1 - examples/application4/exampleapp.c | 4 ++++ examples/application5/app-menu.ui | 1 - examples/application5/exampleapp.c | 4 ++++ examples/application6/app-menu.ui | 1 - examples/application6/exampleapp.c | 4 ++++ examples/application7/app-menu.ui | 1 - examples/application7/exampleapp.c | 4 ++++ examples/application8/app-menu.ui | 1 - examples/application8/exampleapp.c | 4 ++++ examples/application9/app-menu.ui | 1 - examples/application9/exampleapp.c | 4 ++++ 15 files changed, 33 insertions(+), 8 deletions(-) commit 25ce82d5b3eebc3ac27c3726ea66834b065aec35 Author: Matthias Clasen Date: Thu Apr 17 11:27:11 2014 -0700 example: Fix indentation examples/application6/exampleapp.c | 89 ++++++++++++----------- examples/application6/exampleappwin.c | 130 ++++++++++++++++++---------------- examples/application6/main.c | 14 ++-- 3 files changed, 120 insertions(+), 113 deletions(-) commit c502ff73fe7462c32e8bb80d3c0856fb6aacb3d1 Author: Matthias Clasen Date: Thu Apr 17 11:11:17 2014 -0700 example: Fix up margins This makes the code match what we show in the screenshots. This broke when headerbars were changed to allow titles to extend into the margin. examples/application10/window.ui | 1 + examples/application2/window.ui | 1 + examples/application3/window.ui | 1 + examples/application4/window.ui | 1 + examples/application5/window.ui | 1 + examples/application6/window.ui | 1 + examples/application7/window.ui | 1 + examples/application8/window.ui | 1 + examples/application9/window.ui | 1 + 9 files changed, 9 insertions(+) commit f521dddaed9c29fc465c4f6e952232277015fc82 Author: Matthias Clasen Date: Thu Apr 17 10:52:50 2014 -0700 example: Don't set a nonexisting property The GtkHeaderBar::show-fallback-app-menu property does not exist, and isn't needed anyway. docs/reference/gtk/getting_started.xml | 5 ++--- examples/application10/window.ui | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) commit e4e75a94f5c0b6b9945c5b83107920d54087b6aa Author: Jasper St. Pierre Date: Thu Apr 17 13:14:44 2014 -0400 wayland: The xdg_surface.delete event was renamed to close gdk/wayland/gdkwindow-wayland.c | 6 +++--- gdk/wayland/protocol/xdg-shell.xml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) commit 42ee23769164bbc912082215619e792fe7b130ca Author: Руслан Ижбулатов Date: Thu Apr 10 20:05:19 2014 +0000 W32: correctly guess max window size from the size of the workarea of the screen it's on Get monitor on which the most of the window is located (nearest monitor if window is not on screen), get its work area (area not occupied by taskbar or any other bars) and use that for maxsize. Previous default of 30000 meant that windows maximized onto full screen, even covering the area where taskbar is. https://bugzilla.gnome.org/show_bug.cgi?id=726592 gdk/win32/gdkevents-win32.c | 23 +++++++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) commit 0ebc4decbb9859071c9b47cf35a4d3f702b5b354 Author: Evan Nemerson Date: Mon Apr 14 02:26:51 2014 -0700 selection: mark targets param to gtk_target_list_new as allow-none https://bugzilla.gnome.org/show_bug.cgi?id=728165 gtk/gtkselection.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 80993ea47ac4af5e9ff6cb6c330ca30781ddeac1 Author: Bastien Nocera Date: Mon Apr 14 16:40:20 2014 +0200 gtkapplication: Fix incorrect value passed to g_variant_new() The code expected to format @u, not u. https://bugzilla.gnome.org/show_bug.cgi?id=728140 gtk/gtkapplication-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b0a0b7ebe7a1ee87cd05ef0600edd5c5200a72cd Author: Cosimo Cecchi Date: Sun Aug 4 16:50:31 2013 +0200 iconhelper: always ensure a stated pixbuf Even when we are set a pixbuf itself. https://bugzilla.gnome.org/show_bug.cgi?id=726271 gtk/gtkiconhelper.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 19510cdec7c0c51aaba2cf7a38d555cd5bbf22ae Author: Marcus Karlsson Date: Sat Apr 12 10:09:46 2014 +0200 GtkColorChooserWidget: Redraw swatches when selection changes When selecting a swatch in a GtkColorChooserWidget the previously selected swatch and the currently selected swatch are not redrawn. This can leave the old swatch still marked with a checkbox even though a new swatch has been selected. Redraw the swatches after changing the selection. https://bugzilla.gnome.org/show_bug.cgi?id=727487 gtk/gtkcolorchooserwidget.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 3d956db500bc6ab2d9fe4d50cfb5b682fb835d98 Author: Marcus Karlsson Date: Tue Apr 8 22:40:01 2014 +0200 docs: fix GtkWidget::size-allocate description The documentation for the GtkWidget::size-allocate signal is missing the description of the "allocation" parameter. Add the missing description to the parameter. https://bugzilla.gnome.org/show_bug.cgi?id=726179 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 983a03d5f85f4e10f5392df2fd2de0c0bf670f7d Author: Sébastien Wilmet Date: Fri Apr 11 17:45:50 2014 +0200 GtkTextView: use GSlice to allocate GtkTextLineSegment's Use GSlice to allocate all types of segments: - char - toggle - mark - pixbuf - child widget Char segments are a bit more complicated because the length of the text is determined at run time and stored in the 'byte_count' field. If the text is long, GSlice will call the system malloc() anyway, so it's better to always use GSlice for GtkTextLineSegment. Toggle segments are also freed in gtktextbtree.c, hence the function _gtk_toggle_segment_free() (for a later commit it would be nice to rename those functions with the _gtk_text prefix). https://bugzilla.gnome.org/show_bug.cgi?id=727908 gtk/gtktextbtree.c | 7 ++++--- gtk/gtktextchild.c | 22 +++++++++++----------- gtk/gtktextmark.c | 17 +++++++---------- gtk/gtktextsegment.c | 43 +++++++++++++++++++++++++++++++++---------- gtk/gtktextsegment.h | 1 + 5 files changed, 56 insertions(+), 34 deletions(-) commit d69d57afa7d1966ab5ebc26bfe9eb1b24ba01571 Author: Sébastien Wilmet Date: Wed Apr 9 16:53:14 2014 +0200 textview: inline a function gtk_text_view_move_cursor_internal() was exactly the same as gtk_text_view_move_cursor(), and was called only in the latter function. https://bugzilla.gnome.org/show_bug.cgi?id=727908 gtk/gtktextview.c | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) commit 22ce03fd9440f3b2bf6db78ef17e1e52222cdd2b Author: Sébastien Wilmet Date: Tue Apr 8 22:43:25 2014 +0200 doc: improve documentation of gtk_text_iter_inside_word() There is a possible confusion with the sentence: "@iter is inside a natural-language word" The iter should be viewed here as the pointed character (i.e. on the right of the iter), not as a position between two characters. Instead of improving the documentation, another solution would have been to change the implementation so it is interpreted as an iter position inside a word, i.e. between two characters that are part of a natural-language word. But maybe some applications rely on the current implementation. https://bugzilla.gnome.org/show_bug.cgi?id=727908 gtk/gtktextiter.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 704a178abbf4abec153aae45688fd149ed6f608b Author: Sébastien Wilmet Date: Tue Apr 8 21:36:45 2014 +0200 tests textiter: test word boundaries - As the tests show, some of the functions have a strange and inconsistent behavior for corner cases. - Rename test_full_buffer() -> test_search_full_buffer() because textiter.c is used for other GtkTextIter unit tests. https://bugzilla.gnome.org/show_bug.cgi?id=727908 testsuite/gtk/textiter.c | 92 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 90 insertions(+), 2 deletions(-) commit 14ce8025cada0cab9042751f537717fe04f42eeb Author: Matthias Clasen Date: Sun Apr 13 14:03:12 2014 -0700 listbox: Add tests for multi-selection This was forgotten when the multi-selection API was added, and it was promptly broken in some places. testsuite/gtk/listbox.c | 92 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) commit 0d55346fbb09fa43049cafd9e3cfd9b3073c35fb Author: Matthias Clasen Date: Sun Apr 13 13:55:28 2014 -0700 list-box: Fix copy-paste error The new function gtk_list_box_get_selected_rows was implemented as gtk_list_box_get_selected_children. gtk/gtklistbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit dbf3a0681a3de0e7e688cbc3f499dce8a5f3840b Author: Matthias Clasen Date: Sun Apr 13 13:51:49 2014 -0700 listbox: Emit ::row-selected as we used to The listbox selection test was failing because we were not emitting these signals anymore. gtk/gtklistbox.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit ac5fbb5ef3183c4b5699fcb71102c1f040a66fcf Author: Marcus Karlsson Date: Sat Apr 12 20:22:15 2014 +0200 docs: Add missing transfer annotation to GtkBox The gtk_box_get_center_widget function is missing a transfer annotation for the returned widget. No transfer is done, so set transfer to none. https://bugzilla.gnome.org/show_bug.cgi?id=728093 gtk/gtkbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 71fdf845a74e8065fd7d4214ca8baa54261080c0 Author: Matthias Clasen Date: Sat Apr 12 22:13:40 2014 -0700 gtk-demo: Avoid a compiler warning demos/gtk-demo/links.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e8da5ec916588e3f02ccafab1a5afc6b669c69ed Author: Matthias Clasen Date: Sat Apr 12 22:13:14 2014 -0700 widget-factory: Clean up on shutdown demos/widget-factory/widget-factory.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit e087f434a3c782094a98b2b3965f9ad37824c109 Author: Matthias Clasen Date: Sat Apr 12 22:12:38 2014 -0700 widget-factory: Remove unnecessary signal handlers quitting the mainloop when none is running gives a critical warning on shutdown. demos/widget-factory/widget-factory.ui | 2 -- 1 file changed, 2 deletions(-) commit b86f54b54a446d826952c7f36a32ba472d9c9ab1 Author: Matthias Clasen Date: Sat Apr 12 21:45:30 2014 -0700 widget-factory: Add a listbox example demos/widget-factory/widget-factory.c | 19 +++++++ demos/widget-factory/widget-factory.ui | 96 ++++++++++++++++++++++++++++++++-- 2 files changed, 112 insertions(+), 3 deletions(-) commit 4e64708b3da3d71debdbef191e00bb8d9def7076 Author: Matthias Clasen Date: Sat Apr 12 21:09:03 2014 -0700 widget-factory: Improve actionbar appearance We are using the actionbar in the middle of the window, which is not really what it is designed for. To avoid the unfinished appearance on the sides, move it into the frame that we have around the stack below. This fixes the sides, but gives the top a double stroke. Too bad. demos/widget-factory/widget-factory.ui | 80 +++++++++++++++++----------------- 1 file changed, 41 insertions(+), 39 deletions(-) commit 2fab389930e3dce3e520b6f8ca7de6a767541bd1 Author: Matthias Clasen Date: Sat Apr 12 20:46:17 2014 -0700 widget-factory: Avoid ugly resizing on map The text view is resizing several times after the window is mapped. Not setting a hscrollbar-policy of never avoids that, and a scrollbar still doesn't appear. Magic demos/widget-factory/widget-factory.ui | 1 - 1 file changed, 1 deletion(-) commit 8ccdd5b7cfd306e08b522d48ec1a4cd880b793c3 Author: Matthias Clasen Date: Sat Apr 12 20:39:26 2014 -0700 gtk-demo: Fix images demo The incremental loading was broken by GtkIconHelper - queuing a redraw is no longer sufficient to cause GtkImage to redraw with the new pixbuf contents. Pointed out by Jasper St. Pierre. demos/gtk-demo/images.c | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) commit 9268ef36abe691520a48c18ce57bce0a4fdcda2b Author: Matthias Clasen Date: Sat Apr 12 18:42:29 2014 -0700 gtk-demo: Fix the links example The keynav dialog is transient to the example window; since the example window is now modal, we need to make the keynav dialog modal as well, so it can receive input. Problem pointed out by Jasper St. Pierre. demos/gtk-demo/links.c | 1 + 1 file changed, 1 insertion(+) commit 5ac234686239d63d70daa6cc131e40465b6841fa Author: Jasper St. Pierre Date: Fri Apr 11 17:02:45 2014 -0700 Remove gdk_synthesize_window_state from gdkinternals.h It's already in gdkprivate.h gdk/gdkinternals.h | 4 ---- gtk/gtkplug.c | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) commit eb5cc3da9b944956096945ee7573ea37ba4a260e Author: Jasper St. Pierre Date: Fri Apr 11 16:55:37 2014 -0700 wayland: set_transient_for was renamed to set_parent gdk/wayland/gdkwindow-wayland.c | 14 +++++++------- gdk/wayland/protocol/xdg-shell.xml | 5 +---- 2 files changed, 8 insertions(+), 11 deletions(-) commit e91e447db7af22fa132b4480044cc331b8b8f046 Author: Jasper St. Pierre Date: Fri Apr 11 16:53:05 2014 -0700 wayland: Don't pass dx/dy when we're resizing They're ignored by the server. gdk/wayland/gdkwindow-wayland.c | 48 +---------------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) commit 8201e2bfab7d424537f302c9ed01d1fd021e7513 Author: Jasper St. Pierre Date: Sun Feb 23 13:57:24 2014 -0500 wayland: Merge buffer implementations gdk/wayland/gdkcursor-wayland.c | 45 +++------ gdk/wayland/gdkdisplay-wayland.c | 168 +++++++++++++++++++++++++++++++ gdk/wayland/gdkprivate-wayland.h | 12 ++- gdk/wayland/gdkwindow-wayland.c | 209 ++++----------------------------------- 4 files changed, 204 insertions(+), 230 deletions(-) commit 2d7b9273cf7e8ac91153058819e24c5cf084f090 Author: Matthias Clasen Date: Sat Apr 5 11:43:43 2014 -0400 window: Be more careful when propagating key events We are keeping references on the widget we are handling as we are iterating up, but that doesn't protect us against the entire tree being axed from inside gtk_widget_handle_event. https://bugzilla.gnome.org/show_bug.cgi?id=727644 gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit a5bd1474d5bb3373320c2984e7aa8e61f19fd405 Author: Cosimo Cecchi Date: Fri Apr 11 12:13:11 2014 -0700 entry: consider ascent and descent when requesting height Commit d05191a010bcd9871b0155a785989192967c692b change the height requisition to be completely dependent on the PangoLayout, but that breaks when the font has special characters with different metrics. Use the maximum between the two instead. https://bugzilla.gnome.org/show_bug.cgi?id=728054 gtk/gtkentry.c | 1 + 1 file changed, 1 insertion(+) commit 1409d7c4bdc22238e19578b1f37dd312f4bcb9da Author: Bastien Nocera Date: Fri Apr 11 10:53:45 2014 +0200 gtkapplication: Fix passing NULL as the window to inhibit gtk_application_inhibit() supports passing NULL, so don't blindly pass the NULL window to gtk_application_impl_dbus_get_window_system_id(). https://bugzilla.gnome.org/show_bug.cgi?id=728023 gtk/gtkapplication-dbus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 85855da9461f6041935c0a81095fe286ea79f040 Author: Matthias Clasen Date: Thu Apr 10 15:50:51 2014 -0700 Update expected output for assistant a11y test The headerbar and its content now shows up, as it should. testsuite/a11y/assistant.txt | 111 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 111 insertions(+) commit 256d52152ca16993a605c06e78b0f3174c37173e Author: Matthias Clasen Date: Thu Apr 10 14:22:46 2014 -0700 GtkAssistant: don't hide headerbar from a11y GtkAssistant has its own accessible implementation, and we forgot to update it when we added a headerbar. gtk/gtkassistant.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 19e1a8feb46f0e6c50b91316fcc7459d67a60dcc Author: Matthias Clasen Date: Thu Apr 10 13:51:33 2014 -0700 GtkMessageDialog: Allow action-area-border theming again This border does not interfere with headerbar-vs-content placement, and we can allow themes to change it without breaking dialogs. gtk/resources/ui/gtkmessagedialog.ui | 5 ----- 1 file changed, 5 deletions(-) commit 28327ee9aac888071e01decfea21d36184796281 Author: Matthias Clasen Date: Thu Apr 10 13:49:07 2014 -0700 GtkDialog: fix up handling of style properties The use of border-width-set here was an attempt to differentiate between explicitly set (from code / ui files) border width from theme changes. But when we are calling gtk_window_set_border_width to apply the theme value, the -set property gets set, and all further theme changes are ignored. This has the effect of only letting the default value of these properties get applied. Fix this by unsetting border-width-set after applying theme values. gtk/gtkdialog.c | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) commit b1012256f238f2958ce3cf0fec56dc2692b4ce56 Author: Руслан Ижбулатов Date: Thu Apr 10 17:59:48 2014 +0000 Revert "W32: RGBA GDK backend (broken)" This reverts commit f89d38bc2d139ae1baab5c25e1d6ac451a2d5a5e. Pushed by accident. configure.ac | 19 ------------------- gdk/win32/gdkscreen-win32.c | 2 +- gdk/win32/gdkvisual-win32.c | 1 + gdk/win32/gdkwindow-win32.c | 44 +------------------------------------------- 4 files changed, 3 insertions(+), 63 deletions(-) commit dd8612227fe3dc6969dbd432b78c90ef31f8b0a0 Author: Руслан Ижбулатов Date: Thu Apr 10 17:59:21 2014 +0000 Revert "W32: Add a basic set of CSD styles" This reverts commit 6e3e0dcd739bcf7ef549cecc0aa5061c794e14bb. Pushed by accident. gtk/resources/theme/gtk-win32-base.css | 83 ---------------------------------- 1 file changed, 83 deletions(-) commit fee41fb61626ff87981df98e8faa258039e08ecf Author: Руслан Ижбулатов Date: Thu Apr 10 17:58:58 2014 +0000 Revert "W32: Implement composition check for GDK" This reverts commit 7ae5a56948e5124eabd558438ff29187f5721819. Pushed by accident. gdk/win32/gdkmain-win32.c | 29 ----------------------------- gdk/win32/gdkprivate-win32.h | 10 ---------- gdk/win32/gdkscreen-win32.c | 17 ----------------- gtk/gtkwindow.c | 3 --- 4 files changed, 59 deletions(-) commit 5c6e967b1faf37396ec87bc6a8993dd6666d6187 Author: Руслан Ижбулатов Date: Thu Apr 10 15:33:41 2014 +0000 W32: remove border on default buttons https://bugzilla.gnome.org/show_bug.cgi?id=727973 gtk/resources/theme/gtk-win32-base.css | 1 + 1 file changed, 1 insertion(+) commit 7ae5a56948e5124eabd558438ff29187f5721819 Author: Руслан Ижбулатов Date: Thu Apr 10 08:48:13 2014 +0000 W32: Implement composition check for GDK Also move DWM function grabbing and make those functions available to all of GDK-Win32. https://bugzilla.gnome.org/show_bug.cgi?id=727316 gdk/win32/gdkmain-win32.c | 29 +++++++++++++++++++++++++++++ gdk/win32/gdkprivate-win32.h | 10 ++++++++++ gdk/win32/gdkscreen-win32.c | 17 +++++++++++++++++ gtk/gtkwindow.c | 3 +++ 4 files changed, 59 insertions(+) commit 6e3e0dcd739bcf7ef549cecc0aa5061c794e14bb Author: Руслан Ижбулатов Date: Mon Apr 7 04:39:40 2014 +0000 W32: Add a basic set of CSD styles https://bugzilla.gnome.org/show_bug.cgi?id=727316 gtk/resources/theme/gtk-win32-base.css | 83 ++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) commit f89d38bc2d139ae1baab5c25e1d6ac451a2d5a5e Author: Руслан Ижбулатов Date: Sat Mar 29 21:28:33 2014 +0000 W32: RGBA GDK backend (broken) https://bugzilla.gnome.org/show_bug.cgi?id=727316 configure.ac | 19 +++++++++++++++++++ gdk/win32/gdkscreen-win32.c | 2 +- gdk/win32/gdkvisual-win32.c | 1 - gdk/win32/gdkwindow-win32.c | 44 +++++++++++++++++++++++++++++++++++++++++++- 4 files changed, 63 insertions(+), 3 deletions(-) commit 3f23f20ca8faf804296bc3b2a4578d4c42bb6ee4 Author: Benjamin Otte Date: Thu Apr 10 17:06:27 2014 +0200 tests: Don't use deprecated functions in testselection tests/testselection.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit 6d62f84dae8d25c0f97e0b7cd2b0502cf0a0fa68 Author: Benjamin Otte Date: Thu Apr 10 17:00:44 2014 +0200 tests: Make testlockbutton not use deprecated API tests/testlockbutton.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 949aa98a8f36a12a122c06080e13bf10177900fd Author: Benjamin Otte Date: Thu Apr 10 16:53:42 2014 +0200 testgtk: Don't use deprecated functions in selection test tests/testgtk.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) commit 5600499c2f98c844f96b8675d9b23d82d671e63b Author: Benjamin Otte Date: Thu Apr 10 16:50:32 2014 +0200 testgtk: Remove rc file test The test didn't work anymore since RC files stopped being used in 3.0. tests/testgtk.c | 72 --------------------------------------------------------- 1 file changed, 72 deletions(-) commit 27ada645ca24b54501cf4de1e34021cece1f6d76 Author: Benjamin Otte Date: Thu Apr 10 16:48:13 2014 +0200 testgtk: Don't use deprecated functions in progress bar test tests/testgtk.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) commit 78ae3690fa7dddcd083a08c4da69495c203a4e7b Author: Benjamin Otte Date: Thu Apr 10 16:45:37 2014 +0200 testgtk: Don't use deprecated functions in event watcher test tests/testgtk.c | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) commit 6d56ef2d52de6609bbd68b29bfa66f6bbc914be8 Author: Benjamin Otte Date: Thu Apr 10 16:42:59 2014 +0200 testgtk: Don't use deprecated functions in scrolled windows test tests/testgtk.c | 36 +++++++++++++++++------------------- 1 file changed, 17 insertions(+), 19 deletions(-) commit 2a0d046df3a4643ae8c6e4006e9eeb222ecabec8 Author: Benjamin Otte Date: Thu Apr 10 16:35:51 2014 +0200 testgtk: Don't use deprecated functions in dialogs test tests/testgtk.c | 67 +++++++++++++++++++++++++++------------------------------ 1 file changed, 32 insertions(+), 35 deletions(-) commit 4f7a972aacbfc04f231a970c6be8ce86608be57c Author: Benjamin Otte Date: Thu Apr 10 16:16:41 2014 +0200 testgtk: Make dialogs example work without static variable Makes it a bit more complicated, but meh. tests/testgtk.c | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) commit 38149c472e820e81ac7eed89d6f496adb8857a5e Author: Benjamin Otte Date: Thu Apr 10 16:07:05 2014 +0200 testgtk: Clean up dialog example Don't pass a static variable to a callback, when the static variable could just be deinfed in the callback. tests/testgtk.c | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) commit 27770485f8612bdaae04b090903005941f567495 Author: Benjamin Otte Date: Thu Apr 10 14:28:44 2014 +0200 testgtk: Don't use deprecated functions in flipping test tests/testgtk.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) commit 11e17262b744cd52c688942c1c94f93d4c6878f4 Author: Benjamin Otte Date: Thu Apr 10 02:40:49 2014 +0200 testgtk: Don't use deprecated functions in scrolling test tests/testgtk.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) commit 9cbd681174c80f43945546292400387d45b56b40 Author: Benjamin Otte Date: Thu Apr 10 02:36:38 2014 +0200 testgtk: Don't call deprecated function in mainloop test tests/testgtk.c | 161 ++------------------------------------------------------ 1 file changed, 5 insertions(+), 156 deletions(-) commit e109894f376e46f0920b33dadd627abbe71ea110 Author: Benjamin Otte Date: Thu Apr 10 02:29:54 2014 +0200 tests: Add deprecation guards tests/testdialog.c | 2 ++ 1 file changed, 2 insertions(+) commit 9b29a7a7008f5607f92117a887d24d3bdafe92b3 Author: Benjamin Otte Date: Thu Apr 10 01:53:57 2014 +0200 pixelcache: Add a warning for an invariant that shouldn't happen Pixel caches should be unmapped before being freed and unmapping clears those variables. gtk/gtkpixelcache.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 6e1fc27528b30d5dedc081e641d12f097ac2ab5c Author: Benjamin Otte Date: Thu Apr 10 00:15:05 2014 +0200 textview: Call map/unmap functions on pixel cache https://bugzilla.gnome.org/show_bug.cgi?id=726475 gtk/gtktextview.c | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) commit e758b0a1448eed8d85a1f4eef9c666e72d958311 Author: Benjamin Otte Date: Wed Apr 9 23:34:57 2014 +0200 treeview: Call map/unmap functions on pixel cache https://bugzilla.gnome.org/show_bug.cgi?id=726475 gtk/gtktreeview.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 461f1900f229c48fbf035199daf8e5a687195b78 Author: Benjamin Otte Date: Wed Apr 9 23:34:40 2014 +0200 viewport: Call map/unmap functions on pixel cache https://bugzilla.gnome.org/show_bug.cgi?id=726475 gtk/gtkviewport.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) commit 2587d4b8e6542ec578632c311309a3f4d13f0b3e Author: Benjamin Otte Date: Wed Apr 9 23:31:21 2014 +0200 pixelcache: Add map/unmap functions Because GTK does not invalidate windows that aren't mapped, we cannot update the pixel cache when the window it handles isn't mapped. So we add API to call when GDK windows get mapped/unmapped. https://bugzilla.gnome.org/show_bug.cgi?id=726475 gtk/gtkpixelcache.c | 12 ++++++++++++ gtk/gtkpixelcacheprivate.h | 2 ++ 2 files changed, 14 insertions(+) commit 2a9d2a966a73c649c2749e759e44d6c0ea7af03b Author: Benjamin Otte Date: Wed Apr 9 23:28:50 2014 +0200 pixelcache: Split out a function https://bugzilla.gnome.org/show_bug.cgi?id=726475 gtk/gtkpixelcache.c | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) commit 3036a536673bdbd339124008b51a8cdd641f5143 Author: Chun-wei Fan Date: Wed Apr 9 14:03:01 2014 +0800 Visual C++ Builds: Fix Header Installation Make sure that gtk/a11y/gtkpopoveraccessible.h is copied, so that programs using GTK+'s a11y will compile correctly. build/win32/vs10/gtk-install.props | 2 ++ build/win32/vs9/gtk-install.vsprops | 1 + 2 files changed, 3 insertions(+) commit aeb8b921e0284c25d2e2a9e9757410fa509a5338 Author: Yuri Myasoedov Date: Wed Apr 9 00:22:57 2014 +0400 Fixed Russian translation po/ru.po | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 69ef54bcd9667e47d897c8cc7ea8f80926d2c818 Author: Matthias Clasen Date: Mon Apr 7 23:17:56 2014 -0400 listbox: keep emitting ::row-selected This was accidentally lost when multi-selection was added, causing sidebars like the one in gnome-contacts or polari to not work any more. gtk/gtklistbox.c | 1 + 1 file changed, 1 insertion(+) commit 2a9d22c8951238da07c3f11c80c79b166744394d Author: Piotr Drąg Date: Sun Apr 6 13:10:52 2014 +0200 doap: update URLs gtk+.doap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 900adae5d913f3b815bab3f580350f70cd671be7 Author: Yosef Or Boczko Date: Sun Feb 9 17:51:52 2014 +0200 headerbar: Use popover for the fallback app menu https://bugzilla.gnome.org/show_bug.cgi?id=723963 gtk/gtkheaderbar.c | 1 + 1 file changed, 1 insertion(+) commit 7d5bb09b886a88a15eba082fa150e39eb888c5ea Author: Matthias Clasen Date: Sun Apr 6 02:13:06 2014 -0400 Deprecate gtk_application_add_accelerator The new gtk_application_set_accels_for_action api is more flexible and better. gtk/gtkapplication.c | 6 ++++++ gtk/gtkapplication.h | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) commit 4c039030458aa5f6bfb6510b66bb8f3ed7c7519d Author: Matthias Clasen Date: Sun Apr 6 01:52:24 2014 -0400 Add new switch api to the docs docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit ac22ff3bda47698013552a3ed79de3783389907c Author: Matthias Clasen Date: Sat Mar 29 13:41:25 2014 -0400 Add a delayed state test case This adds a switch with delayed state change to testswitch, demonstrating the functionality that was added in the previous commit. tests/testswitch.c | 115 +++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 112 insertions(+), 3 deletions(-) commit 7b11f761b310a0ea29ac8d28d7236c5101468ee6 Author: Matthias Clasen Date: Sat Mar 29 13:40:08 2014 -0400 switch: Add a delayed state capability This commit makes it possible for GtkSwitch to indicate when the underlying state changes with a delay, causing the switch to temporarily go 'out of sync' with the underlying change. https://bugzilla.gnome.org/show_bug.cgi?id=725648 gtk/gtkswitch.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++----- gtk/gtkswitch.h | 8 ++- 2 files changed, 149 insertions(+), 13 deletions(-) commit 4ebd2d3f7e3967be7963f9daf67921ecf07b40d0 Author: Matthias Clasen Date: Sun Apr 6 01:51:38 2014 -0400 Add new listbox api to docs docs/reference/gtk/gtk3-sections.txt | 7 +++++++ 1 file changed, 7 insertions(+) commit 125c9f207ff3f8516ad3d8e36762ca1dc42de263 Author: Matthias Clasen Date: Sat Mar 29 01:03:06 2014 -0400 list box: Avoid excessive signals We were emitting the a11y ::selection-changed signal much more often than ::selected-rows-changed. Thats not necessary. gtk/gtklistbox.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) commit ccc4fb8512c4582016d6b4f418ccec81c0b57c47 Author: Matthias Clasen Date: Sat Mar 29 00:59:05 2014 -0400 Improve list selection example Print out signals, so we see how often they are emitted. tests/testlist3.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 3fe243d34693f51fb865100a43dca3ac2674af5f Author: Matthias Clasen Date: Fri Mar 28 23:07:41 2014 -0400 list box: Cosmetic changes Shorten variable names from list_box to box, throughout, and use the BOX_PRIV macro everywhere. gtk/gtklistbox.c | 799 +++++++++++++++++++++++++------------------------------ gtk/gtklistbox.h | 62 ++--- 2 files changed, 389 insertions(+), 472 deletions(-) commit 92eab67a4919be3d9303b3a88d97bc482459be1e Author: Matthias Clasen Date: Fri Mar 28 21:48:54 2014 -0400 Add a list box selection testcase tests/Makefile.am | 1 + tests/testlist3.c | 80 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) commit efcaaa524eed6d6836327e866d3b832da55613fe Author: Matthias Clasen Date: Fri Mar 28 22:10:27 2014 -0400 list box: Update accessible implementation Now that multi selection is supported, we can provide a more complete AtkSelection implementation. gtk/a11y/gtklistboxaccessible.c | 97 ++++++++++++++++++++++++++++------ gtk/a11y/gtklistboxaccessibleprivate.h | 5 +- gtk/a11y/gtklistboxrowaccessible.c | 2 +- 3 files changed, 84 insertions(+), 20 deletions(-) commit f652120347f6348dc895ba48f4c7b77bbab27114 Author: Matthias Clasen Date: Fri Mar 28 21:34:39 2014 -0400 list box: Implement multiple selection This largely copies the flox box implementation, including the same key bindings. gtk/gtklistbox.c | 535 ++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 391 insertions(+), 144 deletions(-) commit 463c89e5401700e4dd5c6c3bb5902eefb2eacb70 Author: Matthias Clasen Date: Fri Mar 28 19:21:57 2014 -0400 listbox: Add multi-selection API This commit adds API for dealing with multi-selection. It is identical to the flow box API for this purpose. The implementation is still limited to single-selection, and will be updated in subsequent commits. gtk/gtklistbox.c | 228 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtklistbox.h | 28 ++++++- 2 files changed, 251 insertions(+), 5 deletions(-) commit d6cc9bd7cb803f2acb4eef28f7109fae253b347e Author: Matthias Clasen Date: Fri Mar 28 21:50:44 2014 -0400 Add version macros for 3.14 gdk/gdkversionmacros.h.in | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 3b00a79eacfc1b03e534d016709849f75fc8403d Author: Matthias Clasen Date: Sun Apr 6 01:26:27 2014 -0400 Bump version to 3.13 configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 5f79ae53a2c8e1aa441ef5780c94728ae1fef4f2 Author: John Lindgren Date: Sat Apr 5 10:07:25 2014 -0400 Set use-fallback property to True for GtkScaleButton icons. https://bugzilla.gnome.org/show_bug.cgi?id=727662 gtk/resources/ui/gtkscalebutton.ui | 3 +++ 1 file changed, 3 insertions(+) commit ae7b154cf78701f2d11882483069ae1d7482c92e Author: Jasper St. Pierre Date: Sat Apr 5 22:44:00 2014 -0400 Make GtkAccelGroupEntry public again Even though it was marked as internal, it seems gnome-terminal was poking into the structure. It's unfortunately part of our ABI. gtk/gtkaccelgroup.h | 7 +++++++ gtk/gtkaccelgroupprivate.h | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) commit 2a26c39b299a24434595109640e31a77715c4ab1 Author: Matthias Clasen Date: Sat Apr 5 11:21:50 2014 -0400 overlay: deal gracefully with main widget being absent It can happen that we get a size request when the main widget is still NULL. Currently we hit a critical in this case, and stumble on. We can do better. Opening a new tab in nautilus is hitting this case. https://bugzilla.gnome.org/show_bug.cgi?id=727643 gtk/gtkoverlay.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit fee33b1a8148c1315b9db6a18719b355b78ddde1 Author: Matthias Clasen Date: Sat Apr 5 02:04:12 2014 -0400 Clean up private headers This commit adds a few missing private headers, and cleans up some irregularities in the existing ones gtk/Makefile.am | 2 ++ gtk/a11y/gtkimageaccessible.c | 1 + gtk/gtkaccelgroup.h | 15 ----------- gtk/gtkaccelgroupprivate.h | 20 ++++++++++++++- gtk/gtkaccelmap.c | 1 + gtk/gtkaccelmapprivate.h | 4 --- gtk/gtkappchooserprivate.h | 5 ++++ gtk/gtkapplication-quartz-menu.c | 2 +- gtk/gtkapplicationprivate.h | 34 +++---------------------- gtk/gtkclipboard-waylandprivate.h | 4 +++ gtk/gtkclipboardprivate.h | 4 +++ gtk/gtkcoloreditorprivate.h | 7 ------ gtk/gtkcolorplaneprivate.h | 7 ------ gtk/gtkcolorscaleprivate.h | 9 ------- gtk/gtkcolorswatchprivate.h | 22 +++------------- gtk/gtkheaderbarprivate.h | 4 +++ gtk/gtknumerableiconprivate.h | 4 +++ gtk/gtkpressandholdprivate.h | 5 ---- gtk/gtkrange.c | 1 + gtk/gtkrange.h | 16 ------------ gtk/gtkrangeprivate.h | 53 +++++++++++++++++++++++++++++++++++++++ gtk/gtkscale.c | 1 + gtk/gtkscrollbar.c | 1 + gtk/gtkscrolledwindow.c | 1 + gtk/gtkselectionprivate.h | 6 ++--- gtk/gtkseparatortoolitem.c | 2 +- gtk/gtksizegroup-private.h | 6 ++++- gtk/gtkthemingengineprivate.h | 4 +++ gtk/gtktoolbar.c | 1 + gtk/gtktoolbar.h | 8 ------ gtk/gtktoolbarprivate.h | 46 +++++++++++++++++++++++++++++++++ gtk/gtktoolbutton.c | 2 +- gtk/gtktoolpaletteprivate.h | 4 +++ gtk/gtktreeprivate.h | 5 ++-- gtk/gtkwidget.c | 1 + 35 files changed, 177 insertions(+), 131 deletions(-) commit 08e1c85addf58e775adec8273cbfd66a00bfc284 Author: maria thukididu Date: Fri Apr 4 15:28:43 2014 +0300 Updated Greek translation po-properties/el.po | 2710 ++++++++++++++++++++++++++------------------------- 1 file changed, 1374 insertions(+), 1336 deletions(-) commit 8c61e25e619a0abb8e07c2e0e2f83f76366dc3f8 Author: maria thukididu Date: Fri Apr 4 15:25:46 2014 +0300 Updated Greek translation po/el.po | 855 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 450 insertions(+), 405 deletions(-) commit 3540e6ca5756daa6b7b4666ba9aad59191bc746c Author: Руслан Ижбулатов Date: Wed Apr 2 17:42:31 2014 +0000 W32: Give unfocused selected list items special background, like Explorer does https://bugzilla.gnome.org/show_bug.cgi?id=727244 gtk/resources/theme/gtk-win32.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit fb9a6bb6d8d6b60b25c9b9853decbcea938f7863 Author: Matthias Clasen Date: Fri Apr 4 01:28:09 2014 -0400 csd: Drop the GTK_FRAME_EXTENTS requirement We are getting bug reports from people who are irritated that dialogs now have 'double headers' under any wm but gnome-shell. As an example, xfwm4 seems to do ok with csd windows, and on balance it seems better to have some invisible border issues than to have double headers. https://bugzilla.gnome.org/show_bug.cgi?id=727414 gtk/gtkwindow.c | 3 --- 1 file changed, 3 deletions(-) commit 98ae6fd746f4e97f39832e000278668e349c0221 Author: Matthias Clasen Date: Fri Apr 4 01:25:14 2014 -0400 docs: More uniform formatting Make all occurrences of hex in gdkcolor.c use “. gdk/gdkcolor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f8b6bfe7447c6db6dff0c8c90d9ae64cf96dd33b Author: Volker Sobek Date: Fri Mar 28 21:55:03 2014 +0100 docs: Remove '\' escape character from literals commit 7f6a964c47ad2f9dcf6a00044d938840ce8f01f2 replaced entities, but escaped the replacement text also inside literals, which resulted in the escaping '\' to also appear in the documentation. https://bugzilla.gnome.org/show_bug.cgi?id=727322 gdk/gdkcolor.c | 2 +- gtk/gtkaboutdialog.c | 2 +- gtk/gtkcssprovider.c | 2 +- gtk/gtksettings.c | 4 ++-- gtk/gtkshow.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) commit 1bf2e0600fd226ca1f252c3439a7bb02e12b1fa9 Author: Sébastien Wilmet Date: Thu Apr 3 18:22:31 2014 +0200 doc: fix gtk_window_destroy() -> gtk_widget_destroy() Reviewed-by: Emmanuele Bassi gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 46802d33e1c1f7bfeda3784eceedb4aae1459106 Author: Chun-wei Fan Date: Thu Apr 3 15:49:05 2014 +0800 Visual C++ Builds: Build Introspection for GdkWin32 Add support to build the introspection files for GdkWin32, as done recently in the autotools builds and clean up the NMake Makefile for building the introspection files a bit. For some reason, gdk_win32_display_manager_get_type() was not exported in gdk-3.0.lib, force its export, so that the GdkWin32-3.0.gir can be built properly with the Visual C++ builds. This is a known problem that some symbols in static libraries that are linked into a DLL in Visual C++, even if they were marked with __declspec(dllexport) via _GDK_EXTERN. build/gen-file-list-gtk.py | 20 +++++++-- build/gtk-introspection-msvc.mak | 58 +++++++++++++++++---------- build/win32/vs10/gtk-copy-gdk-broadway.props | 3 ++ build/win32/vs10/gtk-ignore-broadway.props | 1 + build/win32/vs9/gtk-copy-gdk-broadway.vsprops | 4 ++ build/win32/vs9/gtk-ignore-broadway.vsprops | 1 + 6 files changed, 63 insertions(+), 24 deletions(-) commit 78176cd311c8c95f762a11377fc0b8d42a87c34e Author: Chun-wei Fan Date: Thu Apr 3 15:07:44 2014 +0800 MSVC Builds: Clean up gtk-version-paths.*props Remove lines that are not really referred to. build/win32/vs10/gtk-version-paths.props | 6 +----- build/win32/vs9/gtk-version-paths.vsprops | 6 +----- 2 files changed, 2 insertions(+), 10 deletions(-) commit 17ee80aafeb9ceff0333c9ee92e1bd712a21e4df Author: Matthias Clasen Date: Wed Apr 2 12:41:24 2014 -0400 Drop an unnecessary include These tests are better if they can be built standalone. tests/testcombo.c | 1 - 1 file changed, 1 deletion(-) commit bf79c8f0df1457fe1f5320c76d3170e2e7217235 Author: Matthias Clasen Date: Wed Apr 2 09:51:01 2014 -0400 Add a big combobox test case I've seen many bugs about long combo box popups getting misplaced or wrongly sized. Time to add a testcase. tests/testcombo.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit b29bbc621090bd3f2fb1a822f8e6e87ed84caba1 Author: Jonas Danielsson Date: Sat Mar 29 21:51:31 2014 +0100 a11y: atk_table_get_row_at_index is deprecated Do not use deprecated index based AtkTable functions use static helper instead. https://bugzilla.gnome.org/show_bug.cgi?id=727313 gtk/a11y/gtktreeviewaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7962f5871c15e510415f2d1cfa1bbbdd5a9da3f Author: Jonas Danielsson Date: Sat Mar 29 21:48:43 2014 +0100 a11y: atk_component_get_position is deprecated Switch to using atk_component_get_extents instead. https://bugzilla.gnome.org/show_bug.cgi?id=727313 gtk/a11y/gtkbuttonaccessible.c | 3 ++- gtk/a11y/gtkentryaccessible.c | 3 ++- gtk/a11y/gtkiconviewaccessible.c | 6 ++++-- gtk/a11y/gtkimageaccessible.c | 3 ++- gtk/a11y/gtkimagecellaccessible.c | 3 ++- gtk/a11y/gtknotebookpageaccessible.c | 3 ++- 6 files changed, 14 insertions(+), 7 deletions(-) commit b423b88580f6fc49a481bdfe360287a8c607b0ef Author: Michael Natterer Date: Wed Apr 2 01:03:54 2014 +0200 treeview: remove unused members from GtkTreeView Private gtk/gtktreeview.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit eee0d1f7a8a99fee69804a8d078a954e0a69f0ea Author: Pau Iranzo Date: Tue Apr 1 23:56:51 2014 +0200 [l10n] Update Catalan translation po-properties/ca.po | 3287 +++++++++++++++++++++++++++------------------------ po/ca.po | 2610 +++++++++++++++++++++------------------- 2 files changed, 3163 insertions(+), 2734 deletions(-) commit 42f70716b63b90b39b77f0eb65a2ef56a8741b81 Author: Руслан Ижбулатов Date: Mon Mar 31 16:01:55 2014 +0000 W32: style tooltips with appropriately-themed background https://bugzilla.gnome.org/show_bug.cgi?id=727410 gtk/resources/theme/gtk-win32-base.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 3a806b97c9549afc064d7fb40c40a91b410070fd Author: Руслан Ижбулатов Date: Mon Mar 31 15:54:09 2014 +0000 W32: give scrollbar slider active and insensitive styles https://bugzilla.gnome.org/show_bug.cgi?id=727391 gtk/resources/theme/gtk-win32-base.css | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) commit 0d53a581b47ece98f5c426cd7f7473b14de0d0a0 Author: Руслан Ижбулатов Date: Fri Mar 28 14:03:30 2014 +0000 Give CC to instrospection scanner Introspection scanner-generation script gets compiler from the CC environment, we need to set it. https://bugzilla.gnome.org/show_bug.cgi?id=722817 gdk/Makefile.am | 2 ++ gtk/Makefile.am | 2 ++ 2 files changed, 4 insertions(+) commit 4b80aa1c05bd3e0e09daffc7d4113f8b98dcbccc Author: Руслан Ижбулатов Date: Fri Mar 28 14:02:39 2014 +0000 Introspection for gdk-win32 https://bugzilla.gnome.org/show_bug.cgi?id=722817 gdk/Makefile.am | 51 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit 2ffd614ff403d5751c8e984abbef2a3bc915b691 Author: Руслан Ижбулатов Date: Fri Mar 28 13:30:40 2014 +0000 W32: Add .dim-label style https://bugzilla.gnome.org/show_bug.cgi?id=727245 gtk/resources/theme/gtk-win32-base.css | 6 ++++++ 1 file changed, 6 insertions(+) commit e229cff8def84a502c31f63bbbdcc87935ad4a78 Author: Руслан Ижбулатов Date: Fri Mar 28 12:50:51 2014 +0000 W32: Fix listbox selection * Makes listbox background white instead of default grey * Uses gradients or W32 theme parts to draw sexy selection/prelight rectangle instead of changing selected/prelighted item background * Removes blanket button text color, allowing buttons to inherit text color from their parents. Non-normal buttons DO get specific text color though. This partially fixes text color propagation from listbox rows to their children. https://bugzilla.gnome.org/show_bug.cgi?id=727244 gtk/resources/theme/gtk-win32-base.css | 11 +++++++--- gtk/resources/theme/gtk-win32-xp.css | 39 ++++++++++++++++++++++++++++++++++ gtk/resources/theme/gtk-win32.css | 21 ++++++++++++++++++ 3 files changed, 68 insertions(+), 3 deletions(-) commit c2b4891854e938b47c857f134598bb96e845e112 Author: Руслан Ижбулатов Date: Fri Mar 28 00:27:04 2014 +0000 W32: Add MSW7 notebook theme, move old notebook theme into XP-only CSS https://bugzilla.gnome.org/show_bug.cgi?id=727213 gtk/resources/theme/gtk-win32-base.css | 44 ------ gtk/resources/theme/gtk-win32-xp.css | 43 ++++++ gtk/resources/theme/gtk-win32.css | 235 +++++++++++++++++++++++++++++++++ 3 files changed, 278 insertions(+), 44 deletions(-) commit d83b1275b4351b96615cb32b3a55deeb46f81111 Author: Руслан Ижбулатов Date: Wed Mar 26 11:59:52 2014 +0000 W32: Remove selection from check/radio marks Current theme allows selection to leak into check/radio marks, resulting in ugly colored rectangles showing up underneath the marks. https://bugzilla.gnome.org/show_bug.cgi?id=727211 gtk/resources/theme/gtk-win32-base.css | 8 ++++++++ 1 file changed, 8 insertions(+) commit ec7179d01ae307e55737c26314c42ee3bfe584fd Author: Руслан Ижбулатов Date: Wed Mar 26 11:57:05 2014 +0000 W32: Add dummy prelight style to check/radio buttons to propagate prelight to check/radio marks https://bugzilla.gnome.org/show_bug.cgi?id=727210 gtk/resources/theme/gtk-win32-base.css | 6 ++++++ 1 file changed, 6 insertions(+) commit b678af07d7f7a6f9af25770ae264b47fd17b8eb4 Author: Руслан Ижбулатов Date: Wed Mar 26 07:17:04 2014 +0000 W32: re-enable grip theming https://bugzilla.gnome.org/show_bug.cgi?id=727080 gtk/resources/theme/gtk-win32-base.css | 4 ---- 1 file changed, 4 deletions(-) commit e0a80d165aecaf7e76a9400646769581b453d977 Author: Руслан Ижбулатов Date: Wed Mar 26 07:04:38 2014 +0000 W32: Add GtkPopover theming https://bugzilla.gnome.org/show_bug.cgi?id=727078 gtk/resources/theme/gtk-win32-base.css | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit c58ed480e5adff8b7fecf6cf5133213bd266fea2 Author: Руслан Ижбулатов Date: Wed Mar 26 06:54:52 2014 +0000 W32: Make combobox-entry thinner by removing unneeded padding https://bugzilla.gnome.org/show_bug.cgi?id=727075 gtk/resources/theme/gtk-win32-base.css | 7 +++++++ 1 file changed, 7 insertions(+) commit 7d367a89521eac27da1a120d3c60708d2be51d5b Author: Руслан Ижбулатов Date: Tue Mar 25 17:47:08 2014 +0000 W32: Fix menu item size and submenu arrow size https://bugzilla.gnome.org/show_bug.cgi?id=727037 gtk/resources/theme/gtk-win32-base.css | 11 +++++++++++ 1 file changed, 11 insertions(+) commit e8f09084bd3d21c56d748f79a1e740e3f76172ab Author: Руслан Ижбулатов Date: Tue Mar 25 17:35:02 2014 +0000 W32: Fix combobox dropdown list color https://bugzilla.gnome.org/show_bug.cgi?id=727036 gtk/resources/theme/gtk-win32-base.css | 5 +++++ 1 file changed, 5 insertions(+) commit 2b36054a5d311cbf8dbffe2cf01df3d43c6209bd Author: Руслан Ижбулатов Date: Tue Mar 25 17:25:47 2014 +0000 W32: Fix double-arrowed combobox button The arrow is part of the background image drawn by the theme, don't draw GTK's own arrow. This also applies to non-entry comboboxes. On XP the arrow-and-nothing-else part does not exist (W32 XP theme draws a white rectangle) and has to be subtituted for a simple dropdown button even for non-entry comboboxes. https://bugzilla.gnome.org/show_bug.cgi?id=727035 gtk/resources/theme/gtk-win32-base.css | 35 ++++++++++++++++++++++++++++++++++ gtk/resources/theme/gtk-win32-xp.css | 10 ++++++++++ 2 files changed, 45 insertions(+) commit ce9437daf56d787592470a8bc15739b2e059bc80 Author: Руслан Ижбулатов Date: Tue Mar 25 15:47:56 2014 +0000 Fix W32 theme for spinbuttons It seems that the dec-button no longer has a "bottom" selector-thingy to select for. Use "last-child" instead. Use .vertical to style vertical instance differently, as last-child/first-child meaning is inverted there. Increase (towards 0) margins a bit, to avoid clipping the pre-light rectangle. Use dir(rtl) selector to style horizontal instance differently for RTL locales, where first-child is "inc". https://bugzilla.gnome.org/show_bug.cgi?id=727022 gtk/resources/theme/gtk-win32-base.css | 122 ++++++++++++++++++++++++++++----- 1 file changed, 106 insertions(+), 16 deletions(-) commit a0f2e6990fa3c68760603ccb3c8b514b68707438 Author: Paolo Borelli Date: Sun Mar 30 18:29:15 2014 +0200 textbufferserialize: do not leak list of tags gtk/gtktextbufferserialize.c | 2 ++ 1 file changed, 2 insertions(+) commit 90b78f89d3f02b5d75d9403c59e98b45458fdeb5 Author: Paolo Borelli Date: Sun Mar 30 11:57:23 2014 +0200 application-dbus: free strings during finalization gtk/gtkapplication-dbus.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 63b90bb5b8056f60abe4e8ab0d2a73c2d2cad93f Author: Paolo Borelli Date: Sat Mar 29 23:14:51 2014 +0100 stackswitcher: do not leak buttons hash table gtk/gtkstackswitcher.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 7ac684e9e3d0e58931d1c165d83e9e407467b461 Author: Matthias Clasen Date: Sat Mar 29 00:46:51 2014 -0400 flow box: Avoid excessive signals We were emitting the a11y ::selection-changed signal much more often than ::selected-children-changed. Thats not necessary. gtk/gtkflowbox.c | 5 ----- 1 file changed, 5 deletions(-) commit bf8a169cb97c28f71251313d79d5bac4c5ef4284 Author: Matthias Clasen Date: Sat Mar 29 00:24:15 2014 -0400 docs: Another round of markup removal gdk/gdkpango.c | 16 +++++++--------- gtk/deprecated/gtkaction.c | 4 ++-- gtk/deprecated/gtkactiongroup.c | 4 ++-- gtk/deprecated/gtkiconfactory.c | 6 +++--- gtk/deprecated/gtkradioaction.c | 2 +- gtk/deprecated/gtkrc.c | 4 ++-- gtk/deprecated/gtkuimanager.c | 2 +- gtk/gtkbuildable.h | 8 ++++---- gtk/gtkbutton.c | 2 -- gtk/gtkcellarea.h | 4 ++-- gtk/gtkcontainer.h | 4 ++-- gtk/gtkentrycompletion.h | 2 +- gtk/gtkmenu.c | 7 +++---- gtk/gtkmodules.h | 10 ++++------ gtk/gtkprintsettings.c | 5 ----- gtk/gtkstylecontext.h | 4 ++-- 16 files changed, 36 insertions(+), 48 deletions(-) commit 3d0b7314cdf62fe2c115311af8e24ece2f1586a2 Author: Matthias Clasen Date: Fri Mar 28 19:19:37 2014 -0400 Trivial typo fix gtk/gtkflowbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 28377d4ffb52ff998e5e3b66bba348cc06cb0162 Author: Matthias Clasen Date: Fri Mar 28 18:21:59 2014 -0400 Docs: remove some leftover markup gdk/gdktypes.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 45b982dc7f2221b947faffa2f6695cbb343ac86d Author: Jonas Danielsson Date: Fri Mar 28 13:43:33 2014 +0100 clipboard: Add link to GdkDisplay in doc https://bugzilla.gnome.org/show_bug.cgi?id=712752 gtk/gtkclipboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9e686d1fb5cb2067e440d6cd6b501c0500390899 Author: Chun-wei Fan Date: Fri Mar 14 16:33:53 2014 +0800 gdkproperty-win32.c: Fix gtk-font-name handling ...on Windows 8+ and when the system setting for non-Unicode programs do not match the language version of Windows by falling back to using Pango. This ensures that the correct font is used during these scenarios, so that we minimize the risk of seeing garbled characters for texts that the system code page does not support due to system peculiarties. There might be a way to support gtk-font-name handling using the native Windows APIs directly on Windows 8+, but that needs to be investigated. https://bugzilla.gnome.org/show_bug.cgi?id=726298 gdk/win32/gdkproperty-win32.c | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) commit d6f9247f530dc914563faf1867181a2050481534 Author: Bastien Nocera Date: Sat Mar 22 12:47:55 2014 +0100 treeview: Lower the duration of validation iterations GTK_TREE_VIEW_TIME_MS_PER_IDLE is currently 30 milliseconds, meaning that validate_rows will validate rows up until all the validations have taken over 30 msecs. So it's likely to block redrawing via the clock frame update mechanism, as that tops at 16.66 milliseconds per frame (1/60th of a second). Stop validating rows if we've spent more than 3/5 of our allotted budget for inter-frame processing, so as to avoid blocking. In the future, we would probably want to calculate how long we would have left until the next frame, especially if higher priority idles and timeouts have already consumed a portion of that allotted time. https://bugzilla.gnome.org/show_bug.cgi?id=726871 gtk/gtktreeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 5c019bde1518cfda59797b7c0f74094cd67d96bf Author: Olivier Brunel Date: Thu Jan 16 15:23:20 2014 +0100 treemodelfilter: Fix using wrong path on row-deleted A "typo" led to using a wrong GtkTreePath when converting the path of the virtual root to check the ancestors, which would lead to either no checks being performed, or maybe segfaulting when using an invalid path as result. https://bugzilla.gnome.org/show_bug.cgi?id=722058 Signed-off-by: Olivier Brunel gtk/gtktreemodelfilter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 75b0180829b21ef345ac54a33179cae0d4affa34 Author: John Lindgren Date: Fri Mar 21 23:12:04 2014 -0400 Allow gtk_radio_menu_item_set_group() to be called twice without crashing. https://bugzilla.gnome.org/show_bug.cgi?id=726859 gtk/gtkradiomenuitem.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit f71f7215ab31a85bdcc124b1ac6d6c9ca8a6acf1 Author: Bastien Nocera Date: Sat Mar 22 12:44:01 2014 +0100 all: Name more idles and timeouts Following up from 438cd857c49242244dda2923ac447f36464b9e72, name more timeouts and idles. The original grep was missing checking for gdk_threads_add_*() functions (at least for some of the files). https://bugzilla.gnome.org/show_bug.cgi?id=726870 demos/gtk-demo/images.c | 1 + gdk/broadway/gdkwindow-broadway.c | 5 ++++- gdk/gdkwindow.c | 11 +++++++---- gdk/quartz/gdkscreen-quartz.c | 7 +++++-- gdk/x11/gdkasync.c | 12 ++++++++++-- gtk/a11y/gtkaccessibility.c | 1 + gtk/a11y/gtkiconviewaccessible.c | 5 ++++- gtk/deprecated/gtkuimanager.c | 1 + gtk/gtkcombobox.c | 12 +++++++++--- gtk/gtkdnd.c | 11 +++++++---- gtk/gtkentry.c | 1 + gtk/gtkfilechooserwidget.c | 1 + gtk/gtkicontheme.c | 9 ++++++--- gtk/gtkprintoperation.c | 12 ++++++++---- gtk/gtkprintunixdialog.c | 1 + gtk/gtkrecentchooserdefault.c | 1 + gtk/gtkrecentchoosermenu.c | 1 + gtk/gtksearchenginesimple.c | 10 ++++++++-- gtk/gtktextview.c | 13 +++++++++---- gtk/gtktoolbar.c | 5 ++++- gtk/gtktreeview.c | 2 ++ gtk/gtkwidget.c | 5 ++++- gtk/gtkwindow.c | 6 +++++- 23 files changed, 100 insertions(+), 33 deletions(-) commit 454c485ebe9b2d262d2e84d1f16b86c00980e5b9 Author: Matthias Clasen Date: Wed Mar 26 20:00:58 2014 -0400 widget-factory: Use a popover gear menu demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit c85e8f276e2a93759a5c7e3bc202acb45de88a90 Author: Inaki Larranaga Murgoitio Date: Wed Mar 26 14:52:54 2014 +0100 Updated Basque language po-properties/eu.po | 3395 +++++++++++++++++++++++++++------------------------ 1 file changed, 1809 insertions(+), 1586 deletions(-) commit 26b17af77e1c44c199c7745a28f52e7e8ac166b4 Author: Inaki Larranaga Murgoitio Date: Wed Mar 26 14:39:31 2014 +0100 Updated Basque language po/eu.po | 2565 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1393 insertions(+), 1172 deletions(-) commit 37526b02ffb24d51cc3c69a869e60b3c4956e38d Author: Stas Solovey Date: Wed Mar 26 13:39:19 2014 +0000 Updated Russian translation po/ru.po | 416 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 172 insertions(+), 244 deletions(-) commit 59e1bc01cd61b50eadf5a0d89eb038c340c80fab Author: Yuri Myasoedov Date: Wed Mar 26 12:12:25 2014 +0400 Some fixes for Russian translation po-properties/ru.po | 59 +++++++++++++++++++++++++++-------------------------- 1 file changed, 30 insertions(+), 29 deletions(-) commit 88f1497c07663674094a80462b5cebb6868f9d82 Author: Yuri Myasoedov Date: Wed Mar 26 11:43:08 2014 +0400 Some fixes for Russian translation po-properties/ru.po | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) commit a0b86e2e7d5809ff8ae4ef274e84a891b923fcee Author: Yuri Myasoedov Date: Wed Mar 26 11:27:40 2014 +0400 Some fixes and updates for Russian translation po-properties/ru.po | 113 ++++++++++++++++++++++++---------------------------- 1 file changed, 51 insertions(+), 62 deletions(-) commit 8a556a3a6154691743aab5f8923f65a8edf307a8 Author: Joanmarie Diggs Date: Mon Mar 24 18:19:40 2014 -0400 Add missing AtkRelations for labelled containers in the print dialog These AtkRelation types are added automatically for widgets with a label specified (e.g. via gtk_label_set_mnemonic_widget, gtk_frame_set_label, and gtk_frame_set_label_widget). When such specification is absent, the accessible relationship must be manually set. https://bugzilla.gnome.org/show_bug.cgi?id=726996 gtk/resources/ui/gtkprintunixdialog.ui | 42 ++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) commit 8ede929ef7fc79f52e5b7aa845f63975635a46d6 Author: Antoine Jacoutot Date: Tue Mar 25 12:24:41 2014 +0100 prevent redefinition of typedef GtkPrinterCloudprint https://bugzilla.gnome.org/show_bug.cgi?id=727009 modules/printbackends/cloudprint/gtkprintercloudprint.h | 2 -- 1 file changed, 2 deletions(-) commit 332688a0752cd594e18763c5e3c06fe57a0a0ce5 Author: Matthias Clasen Date: Mon Mar 24 21:07:09 2014 -0400 Bump version configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f881f985ab69aa7425a8e3bf9db28c59b7e96de1 Author: Matthias Clasen Date: Mon Mar 24 12:55:41 2014 -0400 3.12.0 NEWS | 33 +++++++++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 35 insertions(+), 2 deletions(-) commit 99dc47e7fd2cd5c5afa5777202a00ea85f19c359 Author: Cosimo Cecchi Date: Mon Mar 24 20:14:43 2014 -0400 icontheme: fix emblemed icons fallout Commit faba7df4fea6cd09470b3b2cc277c35e6cf7c380 changed the logic in apply_emblems() so that GtkIconInfo->emblems_applied would be set to TRUE even in case there was no emblem info available, which confuses the theme cache. This commit changes the logic back, so that NULL is returned from apply_emblems_to_pixbuf() when there are no emblems available, fixing the bug. https://bugzilla.gnome.org/show_bug.cgi?id=726830 gtk/gtkicontheme.c | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) commit 206d43dcb4fc0cf56c2a1af294fc52fdfb3e1d58 Author: Matthias Clasen Date: Mon Mar 24 20:10:02 2014 -0400 Add a testcase for icons with emblems This is a testcase for https://bugzilla.gnome.org/show_bug.cgi?id=726830 tests/Makefile.am | 1 + tests/testemblems.c | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) commit 16858776353c0181d74a482878a584aac9e555a0 Author: Matthias Clasen Date: Mon Mar 24 14:28:03 2014 -0400 Minor update of a11y test output testsuite/a11y/messagedialog.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5efea0825db8ded7c4555405844d43895a7e07ec Author: Matthias Clasen Date: Mon Mar 24 13:36:13 2014 -0400 Update release notes README.in | 5 ----- 1 file changed, 5 deletions(-) commit 46cfebfe9707102952d343591bfe4c48d03189e4 Author: Johannes Wellhöfer Date: Sun Oct 13 16:15:18 2013 +0200 Also revert enable-mnemonics code in gtkwindow, which was forgotten in commit 34cf40e95cb1f0bc4bb98bb14edb03dd86f1dab3. https://bugzilla.gnome.org/show_bug.cgi?id=708346 gtk/gtkwindow.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit 9a05e55dfa7696976b60d38a87c2274b7bf9f33e Author: Christian Kirbach Date: Mon Mar 24 22:20:06 2014 +0000 Updated German translation po/de.po | 1260 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 698 insertions(+), 562 deletions(-) commit 6cc01301475450f64c9d529099b55a527df21fb7 Author: Matthias Clasen Date: Mon Mar 24 12:49:32 2014 -0400 wayland: Mark ourselves as not supporting compositing The compositing that is meant here is really specific to the X11 Composite extension, and does not apply to Wayland. This is very rarely used functionality anyway, and none of the other backends support it. gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit baf4678087c1e4f4f8f7393c7850de968491980b Author: Kai Willadsen Date: Sun Mar 23 08:12:09 2014 +1000 docs: Document gtk_recent_filter_filter() requirements gtk_recent_filter_filter() needs the contains bitfield to be set, but this only mentions that the other fields are required. https://bugzilla.gnome.org/show_bug.cgi?id=726900 gtk/gtkrecentfilter.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 21687bcedba0b4536154ae90f3fbc419a8b84e24 Author: Marek Kasik Date: Tue Mar 18 12:43:46 2014 +0100 printing: Draw print dialog on fullscreen windows Set correct "type-hint" for GtkPrintUnixDialog ("dialog"). Otherwise the print dialog is not shown when its parent window is in fullscreen mode. https://bugzilla.gnome.org/show_bug.cgi?id=724728 gtk/resources/ui/gtkprintunixdialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit be7380a418a17592df3221880416286752543598 Author: Benjamin Otte Date: Mon Mar 24 16:34:08 2014 +0100 a11y: Move relationset updating to new vfunc This way, we don't create lots of cell accessibles when creating the first one (because surely one is the parent/child of another who again is a parent/child of another who again....) gtk/a11y/gtktreeviewaccessible.c | 91 ++++++++++++++++++++++++++++++---------- 1 file changed, 68 insertions(+), 23 deletions(-) commit 8374a586235ef356186f309607475fb33aca636b Author: Benjamin Otte Date: Mon Mar 24 15:51:38 2014 +0100 a11y: Add API to update relationsets of cells to their parents gtk/a11y/gtkcellaccessible.c | 22 ++++++++++++++++++++++ gtk/a11y/gtkcellaccessibleparent.c | 17 +++++++++++++++++ gtk/a11y/gtkcellaccessibleparent.h | 8 ++++++++ 3 files changed, 47 insertions(+) commit fef14e0e87d226f7b73d35d548250effcef238ff Author: Benjamin Otte Date: Mon Mar 24 16:32:59 2014 +0100 a11y: Don't unref relations Nobody was reffing those related object in the first place and that was causing random crashes. And if somebody had reffed those related objects, they'd have caused reference cycles. https://bugzilla.gnome.org/show_bug.cgi?id=726838 gtk/a11y/gtkcellaccessible.c | 32 -------------------------------- 1 file changed, 32 deletions(-) commit 02cd5737f6b0b146d7f98726c66b3d54263188fc Author: Matthias Clasen Date: Fri Mar 21 15:41:13 2014 -0400 Don't let themes override explicit border-width in dialogs This fixes an issue where the theme-provided border-width prevents dialog contents from lining up properly with the headerbar. To make this work in message dialogs, we have to explicitly set the border- width of the action area to 0. gtk/gtkcontainer.c | 29 +++++++++++++++++++++++++++++ gtk/gtkcontainerprivate.h | 3 +++ gtk/gtkdialog.c | 24 +++++++++++++++++++----- gtk/resources/ui/gtkmessagedialog.ui | 5 +++++ 4 files changed, 56 insertions(+), 5 deletions(-) commit 7da97a3642d728c05d9a290e7608d337aaa697eb Author: Matthias Clasen Date: Mon Mar 24 08:35:27 2014 -0400 Revert "Don't let themes override explicit border-width in dialogs" This reverts commit 6e4567e73bceb66200b9605c51b4b5ad6e807483. For some reason, this causes buttons in message dialogs to have an unwanted border. gtk/gtkcontainer.c | 29 ----------------------------- gtk/gtkcontainerprivate.h | 3 --- gtk/gtkdialog.c | 24 +++++------------------- 3 files changed, 5 insertions(+), 51 deletions(-) commit 329263f091e59426555b28a598185d3284514998 Author: Matthias Clasen Date: Mon Mar 24 07:00:42 2014 -0400 gtk-demo: Fix underlines The iconview example was showing literal underlines. We don't want that. demos/gtk-demo/iconview.c | 2 ++ 1 file changed, 2 insertions(+) commit e3144b00ac535092c1a3c584c39dc18f77744815 Author: Petr Kovar Date: Sun Mar 23 17:09:24 2014 +0100 Update Czech po-properties translation po-properties/cs.po | 2967 ++++++++++++++++++++++++++------------------------- 1 file changed, 1540 insertions(+), 1427 deletions(-) commit 5819ca7260b383a89a2a5ba1d3a8f625967d1be7 Author: Petr Kovar Date: Sun Mar 23 16:38:29 2014 +0100 Update Czech translation po/cs.po | 183 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 82 insertions(+), 101 deletions(-) commit c37ccdee7651623e242371730af03461cdb54c3a Author: Мирослав Николић Date: Sun Mar 23 14:24:07 2014 +0100 Updated Serbian translation po-properties/sr.po | 4045 ++++++++++++++++++++++++--------------------- po-properties/sr@latin.po | 4041 +++++++++++++++++++++++--------------------- 2 files changed, 4244 insertions(+), 3842 deletions(-) commit e8718c36c7371c0e19486a5e988f3710f4366584 Author: Мирослав Николић Date: Sun Mar 23 11:53:12 2014 +0100 Updated Serbian translation po/sr.po | 2655 +++++++++++++++++++++++++++++--------------------------- po/sr@latin.po | 2655 +++++++++++++++++++++++++++++--------------------------- 2 files changed, 2766 insertions(+), 2544 deletions(-) commit bd44a4a6bde218b8d87475e9e81bbd133c1978cb Author: Milo Casagrande Date: Sat Mar 22 13:48:41 2014 +0000 Updated Italian translation po/it.po | 1254 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 681 insertions(+), 573 deletions(-) commit e560a1f184d7a7ceac70dce34c30c42812a25a92 Author: Milo Casagrande Date: Sat Mar 22 13:47:59 2014 +0000 Updated Italian translation po-properties/it.po | 2921 ++++++++++++++++++++++++++------------------------- 1 file changed, 1513 insertions(+), 1408 deletions(-) commit 1561062b8fdd574cb95bbbcb84d1c598d729c56e Author: Daniel Korostil Date: Sat Mar 22 12:22:46 2014 +0200 Updated Ukrainian translation po/uk.po | 906 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 417 insertions(+), 489 deletions(-) commit 451692d4329768dbd8c2082e4dbfae58d04fd413 Author: John Lindgren Date: Fri Mar 21 22:34:13 2014 -0400 Fix typo (GTK_ENABLE_DEBUG vs. G_ENABLE_DEBUG). https://bugzilla.gnome.org/show_bug.cgi?id=726858 gtk/gtkbuilderparser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d6699261300e3c95040b166a22833aa629ee2e9b Author: Matthias Clasen Date: Fri Mar 21 22:37:36 2014 -0400 font chooser: Update font list on font changes We do get a style-updated emission when new fonts are installed. Update the font list in this case. https://bugzilla.gnome.org/show_bug.cgi?id=726476 gtk/gtkfontchooserwidget.c | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) commit c99935a54076ab4fcc2349530f21b6315db9f87e Author: Matthias Clasen Date: Fri Mar 21 22:06:24 2014 -0400 file chooser: Don't react to entry changes in select-folder mode In select-folder mode, we are putting the directory name into the entry ourselves. Then the entry appends a /. If we react to this 'spontaneous' change of the entry by clearing the list selection, this will in turn make us clear the entry. We don't want that. https://bugzilla.gnome.org/show_bug.cgi?id=726855 gtk/gtkfilechooserwidget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 42b7122c87d20d4b3267173d494bf8ac6091b51d Author: Gábor Kelemen Date: Sat Mar 22 00:50:40 2014 +0000 Updated Hungarian translation po-properties/hu.po | 3572 ++++++++++++++++++++++++++++----------------------- 1 file changed, 1956 insertions(+), 1616 deletions(-) commit a8036a51433b86490a458ece0bbe1b4b23675fb8 Author: Matthias Clasen Date: Fri Mar 21 18:22:46 2014 -0400 wayland: Fix northeast resizing Surprisingly, the same corner that was broken for resizing under X is also broken under Wayland, for an entirely different reason. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad39298f6d641a8dcaf5074dc9c3e71dad6a9ab5 Author: Pierre-Eric Pelloux-Prayer Date: Wed Mar 12 17:02:58 2014 +0100 broadway: make sure color/delta run length do not overflow Fixes bug 723045. gdk/broadway/broadway-buffer.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 6e4567e73bceb66200b9605c51b4b5ad6e807483 Author: Matthias Clasen Date: Fri Mar 21 15:41:13 2014 -0400 Don't let themes override explicit border-width in dialogs This fixes an issue where the theme-provided border-width prevents dialog contents from lining up properly with the headerbar. gtk/gtkcontainer.c | 29 +++++++++++++++++++++++++++++ gtk/gtkcontainerprivate.h | 3 +++ gtk/gtkdialog.c | 24 +++++++++++++++++++----- 3 files changed, 51 insertions(+), 5 deletions(-) commit 9ed2c8a71988079f94a204d2e7d19d3bcad5c933 Author: Matthias Clasen Date: Fri Mar 21 15:39:46 2014 -0400 Fix undecorated windows Setting windows undecorated was broken by some of the recent shadow width changes. We need to ensure that shadow width is zero for undecorated windows, then things work again. gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 9adfc8e2c4c17478d3bfdbedb80846209c7b82aa Author: Carlos Garnacho Date: Fri Mar 21 15:31:40 2014 +0100 window: Unset source ID before possibly destroying the widget If the delete event ends up destroying the widget, unsetting priv->delete_event_handler will happen on invalid memory, so unset it before the widget is possibly destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=726825 gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0e7884f1a7352b05ea8d40c9638e91acb0fa7407 Author: Carlos Garnacho Date: Fri Mar 21 15:28:36 2014 +0100 a11y: Remove weak reference when updating a GtkPopoverAccessible relative-to widget Otherwise the weak reference is left dangling, which later causes issues at the time of destroying that widget. https://bugzilla.gnome.org/show_bug.cgi?id=726749 gtk/a11y/gtkpopoveraccessible.c | 2 ++ 1 file changed, 2 insertions(+) commit 980c62a1390759c773809d1e483a1fa8444c7331 Author: Andika Triwidada Date: Fri Mar 21 10:13:02 2014 +0000 Updated Indonesian translation po/id.po | 793 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 403 insertions(+), 390 deletions(-) commit 1eb2b92d9c897a07f5f2268ae9c6e9762d3c0ff8 Author: Andika Triwidada Date: Fri Mar 21 07:20:38 2014 +0000 Updated Indonesian translation po-properties/id.po | 1214 ++++++++++++++++++++++++++------------------------- 1 file changed, 611 insertions(+), 603 deletions(-) commit 084859d150aef601e30e9a68e296e3b4829f6c50 Author: Jasper St. Pierre Date: Tue Mar 18 09:38:06 2014 -0400 wayland: Mark ourselves as not supporting bounding shapes Theoretically, we apply the shape mask client-side ourselves with an ARGB32 pixmap and intersect it to get a union shape, but I don't particularly care enough to write that code. Realistic application code using bounding shapes in 2014 is quite rare. gdk/wayland/gdkdisplay-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3472235232137671ec581feae8464b8e60a9d0c0 Author: Jasper St. Pierre Date: Mon Mar 17 16:02:47 2014 -0400 wayland: Add support for input regions gdk/wayland/gdkwindow-wayland.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) commit 385b55f203b8143cbf9b877609098b6706882b5a Author: Jasper St. Pierre Date: Mon Mar 17 16:08:35 2014 -0400 wayland: Refactor how opaque region is handled Move to a sync system just like the rest of the properties. gdk/wayland/gdkwindow-wayland.c | 87 ++++++++++++++++++++++++----------------- 1 file changed, 51 insertions(+), 36 deletions(-) commit fbf99febf3c686565a44f11553007d3d7eec68f2 Author: Benjamin Otte Date: Thu Mar 20 14:34:31 2014 +0100 docs: Add more information to gtk_widget_set_realized() It's important to point out that widgets should only be marked as realized very late in the process. Even GTK widgets don't get this right. https://bugzilla.gnome.org/show_bug.cgi?id=726717 gtk/gtkwidget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit b20d49fc0477256d1e733e151524cf49ca9df3a0 Author: Benjamin Otte Date: Thu Mar 20 14:11:02 2014 +0100 expander: Call set_realized() later Widgets should only call set_realized() after having created and registered their GDK windows. In this case, the creation of the style context (or more exactly: figuring out the scale factor for it) requires knowing if the widget is already realized. Which it isn't. https://bugzilla.gnome.org/show_bug.cgi?id=726717 gtk/gtkexpander.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 6726f37309f368e1c67d93a864469aad9088faaf Author: GunChleoc Date: Thu Mar 20 08:46:04 2014 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 6705 ++++++++++++++++++++++----------------------------- 1 file changed, 2886 insertions(+), 3819 deletions(-) commit 6b4d79dd7a7c30fc6dd92659035834de6fc76ed7 Author: GunChleoc Date: Thu Mar 20 08:27:29 2014 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 824 ++++++++++++++++++++++++++-------------------------- 1 file changed, 418 insertions(+), 406 deletions(-) commit 192766a541b9495498c77ab03d41cd673508ff33 Author: GunChleoc Date: Thu Mar 20 08:24:23 2014 +0000 Updated Scottish Gaelic translation po/gd.po | 194 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 105 insertions(+), 89 deletions(-) commit 67cc4089050c17e8bbd6a15caf0a51456f2b420b Author: GunChleoc Date: Thu Mar 20 08:20:58 2014 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 2230 +++++++++++++++++++++++++-------------------------- 1 file changed, 1093 insertions(+), 1137 deletions(-) commit 6f36323ac6a032567417a10e38c5d41d61f675cd Author: Ask H. Larsen Date: Wed Mar 19 21:52:16 2014 +0100 Updated Danish translation po-properties/da.po | 3389 +++++++++++++++++++++++++++------------------------ 1 file changed, 1798 insertions(+), 1591 deletions(-) commit 4e3a2eea4d1675fd6f6cf1104f6382f7f3229327 Author: Ask H. Larsen Date: Wed Mar 19 21:50:35 2014 +0100 Updated Danish translation po/da.po | 2585 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1401 insertions(+), 1184 deletions(-) commit 2144a810b565016ae44d61d7860b3c4b0cb25f8b Author: Gábor Kelemen Date: Wed Mar 19 15:57:33 2014 +0000 Updated Hungarian translation po/hu.po | 2592 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1420 insertions(+), 1172 deletions(-) commit 38d1999f7b292993f8b5b7b3ff156e8c4f624552 Author: Benjamin Otte Date: Wed Mar 19 13:23:38 2014 +0100 container: guard container variable by reffing it vte destroys the container during removal of a child. Don't crash in that case due to recent a11y refactoring. https://bugzilla.gnome.org/show_bug.cgi?id=726369 gtk/gtkcontainer.c | 2 ++ 1 file changed, 2 insertions(+) commit d5792eb1fe7209f1618e8d90e297f72a3e1f3e5b Author: Benjamin Otte Date: Mon Mar 17 02:09:31 2014 +0100 cssprovider: Fix error message expected a valid semicolon sounds kinda not so great. Make it say expected semicolon Unless somebody can tell me the difference between valid and invalid semicolons? gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5c10e8409f6848f62507bfedcf3a9729331466b6 Author: Matthias Clasen Date: Tue Mar 18 19:50:59 2014 -0400 Ensure proper spacing around icons in message dialogs We had a margin of 30 before/after the text. Put that add around the icon as well, and separate the icon and text by 30 pixels. This does not affect the appearance of message dialogs without icons. gtk/resources/ui/gtkmessagedialog.ui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f5dc69ab8e23f1d26b18066d5cc7a4b15b44431b Author: Matthias Clasen Date: Tue Mar 18 19:49:10 2014 -0400 Add at testcase for a message dialog with icon Icons in message dialogs may be deprecated, but we still need to place them properly, so add a testcase. tests/testdialog.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) commit 4ee775ebf974678ccca617e2ce3e0764f6e4d9fd Author: Murray Cumming Date: Tue Mar 18 12:29:49 2014 +0100 docs: Tiny GtkApplication typo fixes. gtk/gtkapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1a2b7bbd0a2fc4044487b4da69f3110b6cdf5116 Author: Matthias Clasen Date: Mon Mar 17 22:46:22 2014 -0400 GtkDialog: Add some padding to title label gtk/gtkdialog.c | 2 ++ 1 file changed, 2 insertions(+) commit 703ae52214da76e87d4e1bb9a620ceefcad48525 Author: Matthias Clasen Date: Mon Mar 17 20:21:28 2014 -0400 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 70b4b622b4a33941fb0b4f7f336af6fd095b5720 Author: Matthias Clasen Date: Mon Mar 17 19:13:53 2014 -0400 GtkPopover: Fix two doc comments gtk/gtkpopover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 36b3b9cbebf057f24ed4e01d6bd6d050e6e1dca8 Author: Matthias Clasen Date: Mon Mar 17 18:18:53 2014 -0400 x11: Allow unmaximizing from tiled state too This lets us unmaximize a half-tiled csd window on a touch system. gdk/x11/gdkwindow-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8a9dab8e2973676970ea9331c35d394fd30e4abf Author: Matthias Clasen Date: Mon Mar 17 18:14:53 2014 -0400 Update a11y test output testsuite/a11y/messagedialog.txt | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) commit 16b5504eb9a6f23517193047eb5f315e4c9122d8 Author: Jasper St. Pierre Date: Mon Mar 17 15:42:43 2014 -0400 wayland: Remove cruft in set_keep_above / set_keep_below It's been decided: these will most likely never be supported on Wayland, so remove the "stub" implementation of them. gdk/wayland/gdkwindow-wayland.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 4eb7dac75bb6aac66e7cfd1d9219c9390cbf6852 Author: Jasper St. Pierre Date: Mon Mar 17 15:41:08 2014 -0400 wayland: Fix get_frame_extents We need to traverse up the hierarchy for windows here. Just use our existing helper method for this. gdk/wayland/gdkwindow-wayland.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit efdd68b3b058e988cb800fc38a3e3d89f99b33b7 Author: Jasper St. Pierre Date: Mon Mar 17 15:39:39 2014 -0400 Implement get_root_origin generically for all backends It seems that some backends implemented get_root_origin wrong and returned the client window coordinates, not the frame window coordinates. Since it's possible to implement generically for all windows, let's do that instead of having a separate impl vfunc. gdk/broadway/gdkwindow-broadway.c | 19 ------------------- gdk/gdkoffscreenwindow.c | 1 - gdk/gdkwindow.c | 10 +++++++++- gdk/gdkwindowimpl.h | 3 --- gdk/quartz/gdkwindow-quartz.c | 20 -------------------- gdk/wayland/gdkwindow-wayland.c | 13 ------------- gdk/win32/gdkwindow-win32.c | 22 ---------------------- gdk/x11/gdkwindow-x11.c | 17 ----------------- 8 files changed, 9 insertions(+), 96 deletions(-) commit c663cabe7b0d8ddffa4e3091e37ec32d3e7bda75 Author: Matthias Clasen Date: Mon Mar 17 15:45:21 2014 -0400 Updates NEWS | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) commit 0320c3be8e2be4f1d7c2b2465089e71fd43d8b53 Author: Jasper St. Pierre Date: Mon Mar 17 15:27:13 2014 -0400 wayland: Fix "fake root" coords We were incorrectly summing up our own window over and over rather than the coordinates of the parent windows. gdk/wayland/gdkwindow-wayland.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit 494e253e473d74c0d094a32ab0148989addcf1a7 Author: Jasper St. Pierre Date: Mon Mar 17 15:25:23 2014 -0400 wayland: Add a giant doc comment explaining "fake root" coordinate space gdk/wayland/gdkwindow-wayland.c | 43 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 38 insertions(+), 5 deletions(-) commit 92833a0b823d49ba178f7ecd849988aadcbbf9ae Author: Jasper St. Pierre Date: Mon Mar 17 15:11:13 2014 -0400 wayland: Properly apply the fake root offset to event coordinates GdkEvent's x_root and y_root values should be in the same "fake root window" coordinate space as gdk_window_get_root_coords. gdk/wayland/gdkdevice-wayland.c | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) commit 35a1f49db5d7a4715c150561a29d103914df5c94 Author: Jasper St. Pierre Date: Mon Mar 17 14:58:37 2014 -0400 wayland: Fill in x_root / y_root of events properly Lots of code, including dragging code in GtkWindow, use these fields. Setting them to 0 causes lots of strange and weird bugs. Use the same "hack" from query_device_state of just using win_x / win_y for now. We'll convert this to the proper fake root coordinate system used by get_root_coords in the next commit. gdk/wayland/gdkdevice-wayland.c | 77 +++++++++++++++++++++++++++-------------- 1 file changed, 51 insertions(+), 26 deletions(-) commit ac96c35230f4e706452eafddcd7d972a1170094d Author: Matthias Clasen Date: Mon Mar 17 15:00:45 2014 -0400 Update documentation about link styling The ::link-color and ::visited-link-color style properties are ignored now. Document that. gtk/gtklabel.c | 13 +++++-------- gtk/gtkwidget.c | 6 ++++++ 2 files changed, 11 insertions(+), 8 deletions(-) commit b95ce71b89f02a58902f5784ef51fa2e0c49c27f Author: Marek Kasik Date: Fri Mar 14 15:36:10 2014 +0100 printing: Fail nicely when /tmp is not writable Don't crash when /tmp is not writable when printing to file. Show that getting of printer details failed for CUPS printers. https://bugzilla.gnome.org/show_bug.cgi?id=693200 gtk/gtkprintjob.c | 2 +- gtk/gtkprintoperation-unix.c | 5 +++-- gtk/gtkprintunixdialog.c | 2 +- modules/printbackends/cups/gtkprintbackendcups.c | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) commit 3693045566793cb926d828cf4836a030ec550e1a Author: Carlos Garnacho Date: Mon Mar 17 17:42:07 2014 +0100 textview: Mind the lateral windows when setting handles/popovers positions If a textview had lateral windows that might displace the text window, the handles and popovers would appear displaced. Those lateral windows aren't affected by RTL/LTR settings, so just checking for left/top is ok here. gtk/gtktextview.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit 41b73e409f7e30b8ba3b961013debaaf584b499c Author: Carlos Garnacho Date: Thu Mar 13 21:12:55 2014 +0100 x11: Implement "drag to top to maximize" gesture on emulated window dragging And the counterpart to unmaximize when dragging a maximized window, if touch devices aren't going to use EWMH moveresize, having this one at least makes things feel a bit less awkward. https://bugzilla.gnome.org/show_bug.cgi?id=709914 gdk/x11/gdkwindow-x11.c | 74 ++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 70 insertions(+), 4 deletions(-) commit d1d4c602e09c0038cc8e20f3660859af4378b997 Author: Carlos Garnacho Date: Thu Mar 13 20:19:26 2014 +0100 x11: Fallback to emulated window dragging for touch devices Sadly, EWMH moveresize mechanism can't work with touch devices for two reasons: 1) As a mutter implementation detail, the device is queried in order to check whether the dragging button is still pressed. Touch devices won't report the button 1 being pressed through pointer emulation. 2) Even bypassing that check, on X11 touch events are selected prior to sequences being started, either through XISelectEvents or XIGrabTouchBegin, no late registering through active grabs is allowed, as WMs do on reaction to EWMH moveresize messages. So for the time being, make touch devices fallback on emulated window dragging, which at least allows for moving windows. https://bugzilla.gnome.org/show_bug.cgi?id=709914 gdk/x11/gdkwindow-x11.c | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) commit 20c764fc5ea09f0f0160bdf5e57946eccd56613c Author: Bastien Nocera Date: Mon Mar 17 09:27:36 2014 +0100 dialog: Avoid possible use-after-free When the dialogue's titlebar was replaced, we were still trying to update the label we constructed but that was now destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=726492 gtk/gtkdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b4a942260ff2eda91d43b398cd22979ea0bb705 Author: Ville-Pekka Vainio Date: Sun Mar 16 21:46:47 2014 +0200 Finnish translation update by Jiri Grönroos po/fi.po | 2683 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 1420 insertions(+), 1263 deletions(-) commit 6fddc0cf8a0b5e24f52b31191d93c9e80ed4d93a Author: Luis Menina Date: Sun Mar 16 16:06:52 2014 +0000 Updated French translation po/fr.po | 81 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 41 insertions(+), 40 deletions(-) commit 80ec5215352c0c2b803a47acb80fff67dd02cb79 Author: Claude Paroz Date: Sun Mar 16 12:51:19 2014 +0000 Updated French translation po/fr.po | 613 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 319 insertions(+), 294 deletions(-) commit 47c1a94424a808dc95cf15a944234230c44acc69 Author: Claude Paroz Date: Sun Mar 16 11:05:02 2014 +0000 Updated French translation po-properties/fr.po | 2186 ++++++++++++++++++++++++++------------------------- 1 file changed, 1107 insertions(+), 1079 deletions(-) commit 08f8fd2f5c8e34bd386e5b965fc25fb59e7e123a Author: Matthias Clasen Date: Fri Mar 14 13:45:47 2014 -0400 Test size constraints This adds some min/max size hints to testimage. tests/testimage.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 3504f494736af12b2b9270527df044aacea19236 Author: Matthias Clasen Date: Fri Mar 14 06:28:49 2014 -0400 Show dialog titles We want to present a clean, rounded top when there is nothing else to show, but many dialogs in applications rely on showing information in their title, so add a label and show the title when it is not empty. gtk/gtkdialog.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 2f43800aa3daabd0de1fd527fcc6a40127942a28 Author: Owen W. Taylor Date: Thu Mar 13 10:30:05 2014 -0400 _gtk_widget_get_device_window: Fix for keyboard devices Avoid a warning by returning NULL for keyboard devices, which can never have an active pointer for a widget. gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit c737045462811894113096da4762d4e42ad499bc Author: Jasper St. Pierre Date: Sun Feb 9 11:39:01 2014 -0500 xdg-shell: Update to latest state change mechanism gdk/wayland/gdkwindow-wayland.c | 84 +++++++++---------- gdk/wayland/protocol/xdg-shell.xml | 165 ++++++++++++++++--------------------- 2 files changed, 109 insertions(+), 140 deletions(-) commit 1779789f65f2faeb8b5b3bc95f44c96f5b6527aa Author: Matthias Clasen Date: Wed Mar 12 23:43:28 2014 -0400 Update a11y test output These harmless changes are a consequence of 66fae0330c5cdb68f50699ff2645ff0cf112911e. testsuite/a11y/about.txt | 162 ++++++++++++------------- testsuite/a11y/colorchooser.txt | 254 +++++++++++++++++++-------------------- testsuite/a11y/messagedialog.txt | 18 +-- 3 files changed, 217 insertions(+), 217 deletions(-) commit 5b2236e3d7f60807edfb2de1829c0633cb3b59c6 Author: Matthias Clasen Date: Wed Mar 12 23:04:37 2014 -0400 Add a Since annotation to gdk_device_get_last_event_window gdk/gdkdevice.c | 2 ++ 1 file changed, 2 insertions(+) commit 40b6d907bf0e22fbb5cbb0ff91cada8f3264fc28 Author: Owen W. Taylor Date: Wed Mar 12 12:39:03 2014 -0400 Use GDK's current window tracking when synthesizing events in GTK+ Add gdk_device_get_last_event_window(), and use to implement the window tracking we need for synthesizing crossing events for sensitivity changes and gtk grabs, rather than keeping the information in qdata and updating it based when GTK+ gets events. https://bugzilla.gnome.org/show_bug.cgi?id=726187 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkdevice.c | 27 +++++++++ gdk/gdkdevice.h | 2 + gtk/gtkmain.c | 10 ---- gtk/gtkwidget.c | 109 +++++++++++++---------------------- 5 files changed, 71 insertions(+), 78 deletions(-) commit 4ce5fcc5c853bea5acc9ddf61b4426781761fbf5 Author: Balint Reczey Date: Mon Mar 3 16:07:47 2014 +0100 documentation: clarify gtk_icon_theme_add_builtin_icon() usage https://bugzilla.gnome.org/show_bug.cgi?id=726135 gtk/gtkicontheme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 827e5cb87b6ce87a7fc6ea30f7595543a280410b Author: Owen W. Taylor Date: Wed Mar 12 19:27:42 2014 -0400 GtkTreeView: stop ignoring crossing events from grabs Stop ignoring various crossing events from grabs: Enter events with type GRAB/GTK_GRAB/GTK_UNGRAB/STATE_CHANGED: Ignoring these events was added as a workaround for synthesized events not having the right coordinates (see bug 555109) but now they do have the right coordinates. (see bug 704456) Leave events with types types GTK_GRAB/GTK_UNGRAB: Ignoring these events was added because since we were ignoring the enter events as above, ignoring the leave events meant we could lose the prelighted row in a grab-triggered leave/enter pair. (See bug 653676. It's also now impossible to reproduce the leave events that were reported in that bug as causing problems.) Leave events of type GRAB. Ignoring these events was added without a ChangeLog entry in 2001, possibly to keep the prelight from flashing when activating menus. But ignoring these events could lead to stuck prelighting, and we don't do it for any other widgets. https://bugzilla.gnome.org/show_bug.cgi?id=726209 The bug this patch is fixing is that currently if you have a GtkPopover in clicking off the popover to dismiss it on a GtkTreeView (which triggers a synthetic enter event on the GtkTreeView) will leave the GtkTreeView in a confused state until the user moves the mouse again. gtk/gtktreeview.c | 11 ----------- 1 file changed, 11 deletions(-) commit 8d07911d73e7694b14b2a58a7d832c6fb1e9b204 Author: Matthias Clasen Date: Wed Mar 12 22:47:10 2014 -0400 Work around gcc stupidity With -Wc++-compat, gcc warns about 'and' even in contexts where it poses absolutely no danger. https://bugzilla.gnome.org/show_bug.cgi?id=726136 gtk/gtkwidget.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 63fe6de94db663db991ea51960eef71a11babd72 Author: Benjamin Otte Date: Thu Mar 13 01:57:29 2014 +0100 treeview: Don't popup a search dialog for keypresses that close it That doesn't make sense. And it causes issues, because when holding down the tab key, we show/hide a lot of windows and cause a lot of map/unmap events that stall the event pipeline. gtk/gtktreeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit c82f2169e5963b63659f1b3fbf3a559dfcbb3baf Author: Benjamin Otte Date: Thu Mar 13 01:43:27 2014 +0100 treeview: Split out a function This is in preparation for the next patch. gtk/gtktreeview.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 66fae0330c5cdb68f50699ff2645ff0cf112911e Author: Benjamin Otte Date: Fri Mar 7 21:45:18 2014 +0100 a11y: Don't use signals Instead, call functions directly. Fixes the fact that the signals weren't disconnected even when the accessible was destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=725733 gtk/a11y/gtkcontaineraccessible.c | 48 ++++++++++++++++++-------------- gtk/a11y/gtkcontaineraccessibleprivate.h | 19 ++++++++----- gtk/gtkcontainer.c | 9 ++++++ 3 files changed, 48 insertions(+), 28 deletions(-) commit 1ff2161431f7642e8435087b093679dd8edf57e6 Author: Owen W. Taylor Date: Wed Mar 12 11:49:14 2014 -0400 gdk_cairo_surface_create_from_pixbuf: Add missing (allow-none) annotation The window is allowed to be %NULL gdk/gdkcairo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit de461f1424eebb75597796c7c0be146ec124d09d Author: Marek Černocký Date: Wed Mar 12 16:06:14 2014 +0100 Updated Czech translation po/cs.po | 2533 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1378 insertions(+), 1155 deletions(-) commit 6fbe28762252374612915d21a8f28b29b0342869 Author: Matthias Clasen Date: Wed Mar 12 00:28:26 2014 -0400 csd: Fix the northeast resize handle position gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5b341e8e6e2175917cc4d7c0f3fc43304cf51b0c Author: Matthias Clasen Date: Wed Mar 12 00:15:02 2014 -0400 csd: Fix invisible border/shadow confusion We did not set an input shape on the window, so the region outside the invisible border where we draw the outer edges of the shadow were still part of the window, as far as clicks and cursors were concerned. Fix this by setting an input shape that makes all clicks outside of the resize borders go through to the underlying window. https://bugzilla.gnome.org/show_bug.cgi?id=726125 gtk/gtkwindow.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit ff0c470e344daf82480f3a16bc91491d5ae43cd6 Author: Ryan Lortie Date: Wed Mar 12 00:10:03 2014 -0400 broadway: remove unused libcrypt eb1ab0dac2f3d7a05cfe8b87e83b363d39279a38 removed support for authentication based on crypt()-hashed passwords but it didn't remove the header. Finish up with the removal. This allows the broadway backend to build on FreeBSD (which has no crypt.h). https://bugzilla.gnome.org/show_bug.cgi?id=726149 gdk/broadway/Makefile.am | 4 ++-- gdk/broadway/broadway-server.c | 3 --- 2 files changed, 2 insertions(+), 5 deletions(-) commit 3e9a9d8243003f01ff7c8c14ef2561d23b04d3f4 Author: Duarte Loreto Date: Wed Mar 12 01:37:52 2014 +0000 Updated Portuguese translation po-properties/pt.po | 3400 +++++++++++++++++++++++++++------------------------ 1 file changed, 1813 insertions(+), 1587 deletions(-) commit 544963da2481d2c32853a504edf1c5ad74fff48b Author: Duarte Loreto Date: Wed Mar 12 01:14:44 2014 +0000 Updated Portuguese translation po/pt.po | 2553 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1385 insertions(+), 1168 deletions(-) commit a86ca5c561a264f8480796f148a58d9d7cc5080a Author: Carlos Garnacho Date: Mon Mar 10 22:01:42 2014 +0100 textview: Postpone text handles creation until when needed This is only necessary for touch devices, so unnecessary on many setups. gtk/gtktextview.c | 82 ++++++++++++++++++++++++++++++++----------------------- 1 file changed, 48 insertions(+), 34 deletions(-) commit 7b0a5674e2b34fd66fd7d7d9a3de0b169944f01b Author: Carlos Garnacho Date: Mon Mar 10 22:00:44 2014 +0100 textview: Postpone magnifier creation until when needed This is only necessary for touch devices, so unlikely on many setups. gtk/gtktextview.c | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) commit 130d8f100ed687082c3ed8e1456df2a469f3d030 Author: Carlos Garnacho Date: Mon Mar 10 21:57:07 2014 +0100 entry: revert text handles to cursor mode after cut/paste The current text selection goes away in that case, so reflect that too in the handles. gtk/gtkentry.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 60b0e8980466749fc646c577bc38e29b6b5d07cb Author: Carlos Garnacho Date: Mon Mar 10 21:56:12 2014 +0100 entry: postpone text handles creation until when needed This is only necessary for touch devices, so unlikely in many setups. gtk/gtkentry.c | 64 +++++++++++++++++++++++++++++++++++++++++----------------- 1 file changed, 45 insertions(+), 19 deletions(-) commit 45d9076f495d5259018b03e7eca1e519a391199e Author: Carlos Garnacho Date: Mon Mar 10 21:54:31 2014 +0100 entry: postpone magnifier creation until when needed gtk/gtkentry.c | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) commit 89c4ef5873a8949a6986cc450d61fbaf707f7654 Author: Carlos Garnacho Date: Mon Mar 10 15:15:37 2014 +0100 a11y: Don't allocate a list just for counting widgets in GtkContainerAccessible It's more straightforward if counting through gtk_container_foreach(). gtk/a11y/gtkcontaineraccessible.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) commit faa6db84850bfb11cf75b9c433a1a99740f390de Author: Carlos Garnacho Date: Fri Mar 7 00:11:17 2014 +0100 testsuite: Update a11y/menubutton3.ui test expectations Popover is now minimally accessible. https://bugzilla.gnome.org/show_bug.cgi?id=725864 testsuite/a11y/menubutton3.txt | 43 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) commit 31cd153050d74b431070c3f426da95f104eab08f Author: Carlos Garnacho Date: Fri Mar 7 00:07:54 2014 +0100 a11y: Add GtkPopopverAccessible And let GtkPopover use it as its GtkAccessible implementation, this accessible sets the POPUP_FOR relationship to the relative-to widget, and keeps track of changes there. https://bugzilla.gnome.org/show_bug.cgi?id=725864 gtk/a11y/Makefile.am | 2 + gtk/a11y/gtkpopoveraccessible.c | 160 ++++++++++++++++++++++++++++++++++++++++ gtk/a11y/gtkpopoveraccessible.h | 56 ++++++++++++++ gtk/gtk-a11y.h | 1 + gtk/gtkpopover.c | 2 + 5 files changed, 221 insertions(+) commit 168e4faf508cdded8227d633152657fa663b3a96 Author: Carlos Garnacho Date: Mon Mar 10 12:27:50 2014 +0100 window: Emit a11y signals directly on popover added/removed As those are internal children, there's no signal that GtkWindowAccessible could catch when those are added or removed, so make GtkWindow use the private GtkContainerAccessible methods to add/remove the child accessible when that happens. https://bugzilla.gnome.org/show_bug.cgi?id=725864 gtk/gtkwindow.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit d4d6968e1a7db86c12089ca0056e4d492d647e75 Author: Carlos Garnacho Date: Mon Mar 10 16:12:05 2014 +0100 a11y: Add private GtkContainerAccessible functions to add/remove a child This may be useful in container implementations, or for internal children that trigger no signal emission. https://bugzilla.gnome.org/show_bug.cgi?id=725864 gtk/a11y/Makefile.am | 1 + gtk/a11y/gtkcontaineraccessible.c | 27 +++++++++++++++++++++----- gtk/a11y/gtkcontaineraccessibleprivate.h | 33 ++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 5 deletions(-) commit 9d54fee952460c84d6ea84a7e90942605484c07e Author: Carlos Garnacho Date: Fri Mar 7 00:07:00 2014 +0100 a11y: Make GtkWindowAccessible know about popovers https://bugzilla.gnome.org/show_bug.cgi?id=725864 gtk/a11y/gtkwindowaccessible.c | 48 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) commit fb51bbc5658205c8522c65bef6d30422c22a7402 Author: Jasper St. Pierre Date: Mon Mar 10 13:39:55 2014 -0400 wayland: Clean up a bit gdk/wayland/gdkwindow-wayland.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 05b8609f8089981f168e694051ffcdc3fc3de086 Author: Jasper St. Pierre Date: Mon Mar 10 13:31:53 2014 -0400 wayland: Move some code around gdk/wayland/gdkwindow-wayland.c | 49 ++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 27 deletions(-) commit c92a16fcf5fa154aeb653557bffa67e202ce0554 Author: Jasper St. Pierre Date: Mon Mar 10 13:30:21 2014 -0400 wayland: Fix submenu positioning window->x / window->y are in "root window coordinates", e.g. relative to the topmost toplevel. However, the coordinates in get_xdg_popup are relative to the passed-in surface, so we need to do the reverse translation here. gdk/wayland/gdkwindow-wayland.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) commit f712cd885021d888bb65fd6508d15f17a3a136a2 Author: Matthias Clasen Date: Mon Mar 10 06:13:38 2014 -0400 message dialog: Fine-tune vertical spacing Requested in https://bugzilla.gnome.org/show_bug.cgi?id=723668 gtk/resources/ui/gtkmessagedialog.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 5aa00e4f661a3beaeb8de385bef74b62cacfab5d Author: Phillip Wood Date: Fri Mar 7 21:35:17 2014 +0000 gtk3-demo: run button should be able to focus. https://bugzilla.gnome.org/show_bug.cgi?id=725141 demos/gtk-demo/main.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit beaba95f398844b553e95b02196344e08a61e23f Author: Phillip Wood Date: Tue Mar 4 11:06:30 2014 +0000 Window: Focus custom titlebar with F10 As discussed on desktop-devel-list [1], "There should be an intuitive, consistent, immediate way to jump to the widgets that live in the header bar." F10 has been suggested for this as it is already used to active menubars. F10 will focus the custom titlebar widget if the window has one and it isn't already focused. If the titlebar widget doesn't exist or is already focused then F10 focuses the menubar if there is one. [1] https://mail.gnome.org/archives/desktop-devel-list/2014-February/msg00176.html https://bugzilla.gnome.org/show_bug.cgi?id=725141 gtk/gtkmenubar.c | 78 +++----------------------------------------------------- gtk/gtkmenubar.h | 2 ++ gtk/gtkwindow.c | 68 +++++++++++++++++++++++++++++++++++++++++++++++- 3 files changed, 72 insertions(+), 76 deletions(-) commit 0da3fc8b566c826e3972192bed91407faf6271cd Author: Chao-Hsiung Liao Date: Sun Mar 9 12:55:17 2014 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po-properties/zh_HK.po | 447 +++++++++++++++++++++++++------------------------ po-properties/zh_TW.po | 447 +++++++++++++++++++++++++------------------------ po/zh_HK.po | 159 ++++++++++-------- po/zh_TW.po | 159 ++++++++++-------- 4 files changed, 630 insertions(+), 582 deletions(-) commit 463714383accee2c042267be9556a5d6324c1898 Author: Rūdolfs Mazurs Date: Sat Mar 8 19:09:20 2014 +0200 Updated Latvian translation po-properties/lv.po | 3479 +++++++++++++++++++++++++++------------------------ 1 file changed, 1846 insertions(+), 1633 deletions(-) commit 3bbbea5a085a4aaccb3593d1e8a15ede6e20ab08 Author: Rūdolfs Mazurs Date: Sat Mar 8 16:19:11 2014 +0200 Updated Latvian translation po/lv.po | 2578 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1412 insertions(+), 1166 deletions(-) commit 9ce6f95b6ed8780502c2fd0163da69c1a9c8ffab Author: Wylmer Wang Date: Sat Mar 8 13:18:19 2014 +0000 Updated Chinese (China) translation po-properties/zh_CN.po | 443 +++++++++++++++++++++++++------------------------ 1 file changed, 227 insertions(+), 216 deletions(-) commit 4768bf8a3bd15ff3c53f9b2bb24a1354362c7a49 Author: Wylmer Wang Date: Sat Mar 8 13:16:19 2014 +0000 Updated Chinese (China) translation po/zh_CN.po | 1170 +++++++++++++++++++++++++++++++---------------------------- 1 file changed, 620 insertions(+), 550 deletions(-) commit 9239b8a8e364369dcfb12238c2054a1d40b91567 Author: A S Alam Date: Fri Mar 7 20:43:50 2014 -0600 update Punjabi Translation 07March2014: Alam po-properties/pa.po | 3520 +++++++++++++++++++++++++++------------------------ po/pa.po | 2632 +++++++++++++++++++++----------------- 2 files changed, 3305 insertions(+), 2847 deletions(-) commit a624a62f8d5dcb1295dacb83e99cb45b53d579e9 Author: Changwoo Ryu Date: Sat Mar 8 00:46:29 2014 +0900 Updated Korean translation po-properties/ko.po | 3348 +++++++++++++++++++++++++++------------------------ po/ko.po | 2556 +++++++++++++++++++++------------------ 2 files changed, 3169 insertions(+), 2735 deletions(-) commit 59a928f7c8ac987a544c30251d2293de9033f1b8 Author: Carlos Garnacho Date: Thu Mar 6 23:06:40 2014 +0100 window: Turn popovers into internal children It turns out popovers are already smart enough to cope with this situation, so let popovers be internal children so things that rely on gtk_container_forall(), like DnD, work without modifications. https://bugzilla.gnome.org/show_bug.cgi?id=725727 gtk/gtkwindow.c | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) commit 99ac2f5c49bdb51bd3ad28c0824089f22d97b580 Author: Owen W. Taylor Date: Wed Mar 5 15:42:38 2014 -0500 Fix font size when gdk_x11_display_set_window_scale() is used We have a hack in the XSETTINGS code to substitute gtk-xft-dpi with gdk-unscaled-dpi unless the screen has a fixed window scale, in which case we just use gtk-xft-dpi. But if the screen is changed to have a fixed window scale, then the substituted value of gdk-unscaled-dpi will stick around until the next (coincidental) change to XSETTINGS. To fix this, force an immediate reread of the XSETTINGS property when gdk_x11_display_set_window_scale() is used. https://bugzilla.gnome.org/show_bug.cgi?id=725754 gdk/x11/gdkdisplay-x11.c | 14 +++++++++++++- gdk/x11/xsettings-client.c | 6 ++++++ gdk/x11/xsettings-client.h | 1 + 3 files changed, 20 insertions(+), 1 deletion(-) commit 43b0eee81d04499e4a72085d88d352a43bbb293b Author: Carlos Garnacho Date: Fri Mar 7 01:21:50 2014 +0100 entry: Make DnD coordinate calculation compensate for entry icons This made DnD have effect farther on the left when dragging text over any entry with icons in it. https://bugzilla.gnome.org/show_bug.cgi?id=725866 gtk/gtkentry.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit adf39dd291b561681da0fd3346e782e6fb224abc Author: Carlos Garnacho Date: Fri Mar 7 01:19:50 2014 +0100 entry: use priv->dnd_position when rendering the DND cursor This makes "cursor position" track the DnD point again, looks much more intuitive than just rendering it on the pre-DnD position. https://bugzilla.gnome.org/show_bug.cgi?id=725866 gtk/gtkentry.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 8195244e3bb1c53204e5a4d18b249634e713b2fa Author: Matthias Clasen Date: Thu Mar 6 22:50:40 2014 -0500 Improve GtkStack documentation As has been pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=725711 it is a little confusing that we have the concept of a visible child and of the child being visible itself. gtk/gtkstack.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit dc26dfd0c22039c37bb3dc95b4a2bead28ecd165 Author: Carlos Garnacho Date: Fri Mar 7 02:48:07 2014 +0100 tests: fix testcalendar Missing argument in gtk_style_context_get(), fooled by varargs. tests/testcalendar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit efb4f2db504662ed926168befb3e6492b9b0604d Author: Carlos Garnacho Date: Fri Mar 7 02:35:30 2014 +0100 calendar: grab focus first, emit signals after It may be unusual, but handlers of day-selected may want to transfer focus somewhere else, without getting it reset back right after by/to the calendar. This makes popovers demo work on the calendar again, for one... gtk/gtkcalendar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 15004e59306de29b5a0cf3195ccf266100a423b2 Author: Matthias Clasen Date: Thu Mar 6 19:27:37 2014 -0500 Allow selecting a dark variant with GTK_THEME Dark themes need to be debugged, too. Author: Matthias Clasen docs/reference/gtk/running.sgml | 4 +++ gtk/gtksettings.c | 57 ++++++++++++++++++++++++++--------------- 2 files changed, 41 insertions(+), 20 deletions(-) commit 43e88528292b9c786be3de04cdd8b2a6fc8266dd Author: Carlos Garnacho Date: Thu Mar 6 16:58:06 2014 +0100 popover: Track toplevel's focus widget when visible If the toplevel focus widget is forced out of the popover (eg. through gtk_widget_grab_focus() anywhere else), then dismiss the popover. gtk/gtkpopover.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit dcba77fcc454229079049f41f4ddc23e5c27353f Author: Carlos Garnacho Date: Thu Mar 6 14:50:35 2014 +0100 popover: Track toplevel focus changes Make the popover temporarily undo the GTK+ grab, so it remains modal to its window, but does not attempt to steal focus on other non-modal windows that get the focus. This was most confusing with keyboard navigation, as the focus would remain stuck on the popover, and not move to the newly focused window after the popover was dismissed. It didn't have as much effect on pointer operations as only the first click would be consumed in order to hide the popover. gtk/gtkpopover.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit 08e9c93b17d767e932df8d112cafd0fd1d96e282 Author: Carlos Garnacho Date: Thu Mar 6 20:38:11 2014 +0100 popover: Only give back focus to drawable widgets If the previous focus widget is not drawable anymore, don't even bother in transmitting the focus grab to it. gtk/gtkpopover.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit aa7e00fcb82392abae14ad431619bfdee882bafa Author: Carlos Garnacho Date: Thu Mar 6 18:59:40 2014 +0100 popover: dispose popovers when unmanaging them This makes popovers get rid of dangling pointers at the time of destroying the relative-to widget, just in case these are kept alive by a reference. gtk/gtkpopover.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 578d43c2baf850e56b14f6085583dde86f09bb0f Author: Claudio Saavedra Date: Thu Mar 6 16:34:10 2014 +0200 gtkentrycompletion: fix a critical warning There are early returns in this method before the completion timeout is set later on, so set the source to 0 to avoid trying to remove it later again. https://bugzilla.gnome.org/show_bug.cgi?id=725824 gtk/gtkentrycompletion.c | 3 +++ 1 file changed, 3 insertions(+) commit 836326bdc194d0b93e016407a38d3005decef58b Author: Rafael Ferreira Date: Thu Mar 6 10:03:41 2014 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 2648 ++++++++++++++++++++++++------------------------ 1 file changed, 1345 insertions(+), 1303 deletions(-) commit a5d5106fcff1092bc2696ea031b67baeb048c546 Author: Lars Uebernickel Date: Wed Mar 5 12:59:24 2014 +0100 gtkmenu: displace popups by their css margin Without a margin, the pointer is above the first (or last) menu item, making it easy to accidentally activate that item. https://bugzilla.gnome.org/show_bug.cgi?id=591258 gtk/gtkmenu.c | 23 +++++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) commit 158cb29e55d8de5133d1583d436e0697931692f0 Author: Marek Kasik Date: Tue Mar 4 15:17:23 2014 +0100 GtkIconViewAccessible: Don't access freed item Don't get index from deleted GtkIconViewItem. Remove the item before traversing list of items. https://bugzilla.gnome.org/show_bug.cgi?id=701884 gtk/a11y/gtkiconviewaccessible.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 01fe1282fc71ae4ef65e9c4a70ce8224e09de7fa Author: Benjamin Otte Date: Mon Mar 3 14:21:02 2014 +0100 reftests: Remove unused argument from function testsuite/reftests/gtk-reftest.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 25da672dbc07502521ffcf634fa82d1349bccc0d Author: Benjamin Otte Date: Sun Mar 2 21:49:35 2014 +0100 separatortoolitem: Make gcc stop complaining No, a ButtonEvent and a MotionEvent are not the same thing. gtk/gtkseparatortoolitem.c | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 32a420b7d61c48e847c654f0fd9f13e38bbb71f3 Author: Benjamin Otte Date: Sun Mar 2 17:59:34 2014 +0100 broadway: Print a useful error message .. instead of the generic "failed to open display". gdk/broadway/gdkdisplay-broadway.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 936675aa012560bbf7e91d4edb8bc7edf872b1fb Author: Kjartan Maraas Date: Wed Mar 5 18:27:25 2014 +0100 Updated Norwegian bokmål translation po/nb.po | 211 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 117 insertions(+), 94 deletions(-) commit 96a69ce35e6ea0b3569b4059ec9f3cd35397b2fc Author: Kjartan Maraas Date: Wed Mar 5 18:25:51 2014 +0100 Updated Norwegian bokmål translation po/nb.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 129dad67302c1231f4568452d4844ad8ed769fdd Author: Daniel Mustieles Date: Wed Mar 5 16:40:04 2014 +0100 Updated Spanish translation po-properties/es.po | 764 ++++++++++++++++++++++++++-------------------------- 1 file changed, 387 insertions(+), 377 deletions(-) commit b5f38a6726fa3276079dfd379668f86d00a0b9f1 Author: Daniel Mustieles Date: Wed Mar 5 16:39:52 2014 +0100 Updated Spanish translation po/es.po | 213 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 118 insertions(+), 95 deletions(-) commit 5b1eeac96d2fcc7bd6064a6f0487a2e8c042c9d9 Author: Carlos Garnacho Date: Wed Mar 5 13:50:17 2014 +0100 popover: Set pointer motion mask on the popover window This is not necessary for the popover itself, but helps tooltips code confine the widget lookup within the popover if the pointer is inside it, otherwise the widget lookup may turn out wrong for motion events, starting the tooltip widget lookup from the toplevel window, mistakenly triggering tooltips on the natural window descendants (ie. the widget below the popover) https://bugzilla.gnome.org/show_bug.cgi?id=724785 gtk/gtkpopover.c | 1 + 1 file changed, 1 insertion(+) commit faba7df4fea6cd09470b3b2cc277c35e6cf7c380 Author: Cosimo Cecchi Date: Tue Nov 5 18:32:28 2013 -0800 icontheme: support emblems in symbolic icons We were failing to apply emblems in the symbolic icons code path. https://bugzilla.gnome.org/show_bug.cgi?id=725683 gtk/gtkicontheme.c | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) commit dab597d66ee670ec12e6bc7a9d8b17aea70704e3 Author: Chao-Hsiung Liao Date: Tue Mar 4 20:17:10 2014 +0800 Updated Traditional Chinese translation(Hong Kong and Taiwan) po-properties/zh_HK.po | 2709 ++++++++++++++++++++++++------------------------ po-properties/zh_TW.po | 2709 ++++++++++++++++++++++++------------------------ po/zh_HK.po | 827 ++++++++------- po/zh_TW.po | 827 ++++++++------- 4 files changed, 3548 insertions(+), 3524 deletions(-) commit 868974dbf68898b798c3f439b7243db804656b3f Author: Matthias Clasen Date: Tue Mar 4 00:19:56 2014 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 21c3c8ee638d53d9425bca9cc7e81a71eeadc8b1 Author: Matthias Clasen Date: Mon Mar 3 22:35:20 2014 -0500 3.11.8 NEWS | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit cabf0badfa920fe27369afbe0210e555be1bfe21 Author: Matthias Clasen Date: Mon Mar 3 23:37:37 2014 -0500 Update messagedialog a11y test testsuite/a11y/messagedialog.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 8520282f7533d76b6c38e041d2f46898140021ff Author: Matthias Clasen Date: Mon Mar 3 23:30:55 2014 -0500 Fix up builder test Dialogs now report two children. Thats alright, adapt the test to deal with it. testsuite/gtk/builder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2ffeb591b1a3ddaf159d6d30f292ffb958f33c4a Author: Matthias Clasen Date: Mon Mar 3 23:07:50 2014 -0500 Fix up signal deprecation gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 7fae042208993c5cdd414ca547059550517b163c Author: Matthias Clasen Date: Mon Mar 3 18:31:06 2014 -0500 Deprecate GdkEventVisibility and ::visibility-notify-event These don't really work anymore in a composited world. Lets make it official. https://bugzilla.gnome.org/show_bug.cgi?id=481073 gdk/gdkevents.h | 5 +++++ gtk/gtkwidget.c | 11 ++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) commit fac8d6deeaeb43d82274a68bbc1ed08de8219ba6 Author: Matthias Clasen Date: Mon Sep 23 13:10:19 2013 -0400 Allow applications to use gtk-menu-bar-accel in 3.12 gnome-terminal is still using this setting, so we'll let applications override it for another cycle. It is no longer backed by a system-wide setting, though, and it will still go away eventually. This partically reverts b26c74e5dac0b5fd869d2c8cc7a0edb6b01aeebd gtk/gtkmenubar.c | 53 ++++++++++++++++++++++++++++++++++++----------------- gtk/gtksettings.c | 5 +++-- 2 files changed, 39 insertions(+), 19 deletions(-) commit ba0542dc51f89a0df0b42c26eaab530143c0678c Author: Matthias Clasen Date: Mon Sep 23 13:01:49 2013 -0400 Allow applications to use gtk-enable-mnemonics in 3.12 gnome-terminal is still using this setting, so we'll let applications override it for another cycle. It is no longer backed by a system-wide setting, though, and it will still go away eventually. This partically reverts 7e3a494fac62140f466fc43f6cc061215953e9b1 gtk/gtklabel.c | 11 +++++++++++ gtk/gtkmenushell.c | 10 +++++++++- gtk/gtksettings.c | 5 +++-- 3 files changed, 23 insertions(+), 3 deletions(-) commit c3945d506da5d8aefdb960f4d98cafdb83dc047e Author: Phillip Wood Date: Mon Mar 3 10:40:35 2014 +0000 GtkTreeView documentation fixes Add documentation for GtkTreeView::move-cursor Add links to GtkTreeModel::row-inserted and GtkTreeModel::row-deleted in the documentation for gtk_tree_view_set_reorderable (). https://bugzilla.gnome.org/show_bug.cgi?id=725560 gtk/gtktreeview.c | 34 ++++++++++++++++++++++++++++++---- 1 file changed, 30 insertions(+), 4 deletions(-) commit db9a6f8cafef54a1562281efdac6831ae66f02d9 Author: Matthias Clasen Date: Mon Mar 3 18:13:24 2014 -0500 Some more doc rewording gtk/gtkwindow.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 857e774a3496a65377c5f14294a8dbb37db9af90 Author: Phillip Wood Date: Mon Mar 3 10:43:38 2014 +0000 Fix typo in gtk_window_set_default() documentation The documentation should link to gtk_widget_grab_default() rather than gtk_widget_grab_focus(). https://bugzilla.gnome.org/show_bug.cgi?id=725559 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 07fc8940207b059d015c3d9ecabd086cc1c7f159 Author: Matthias Clasen Date: Mon Mar 3 17:49:38 2014 -0500 GtkRange: make autoscrolling work for inverted ranges This problem was discovered in https://bugzilla.gnome.org/show_bug.cgi?id=725225 gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f0e6eb3ce029586b53d151f92faba244d7c5ce6e Author: Christoph Reiter Date: Wed Feb 26 10:46:43 2014 +0100 treeselection docs: spelling fix https://bugzilla.gnome.org/show_bug.cgi?id=725205 gtk/gtktreeselection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 322f6c740f631abc24cc26fa2b81307eae18ef2c Author: William Jon McCann Date: Thu Feb 27 14:19:32 2014 -0500 dialogs: always use CSD on dialogs If we aren't using a header bar then put a fake titlebar box on it so we can round the corners. One of the advantages of this is so that the styling of the dialog is completely within one theme framework. This prevents skew between the theming expectations from the window manager and GTK+. https://bugzilla.gnome.org/show_bug.cgi?id=725345 gtk/gtkdialog.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 9ce98deb25800f1baaf01ce000d3a06a4785d245 Author: Fran Diéguez Date: Mon Mar 3 17:32:05 2014 +0100 Updated GAlician translations po-properties/gl.po | 1410 ++++++++++++++++++++++++++------------------------- 1 file changed, 716 insertions(+), 694 deletions(-) commit 1a44c00525883c16d499b11d2a1f11ac28fab689 Author: Fran Diéguez Date: Mon Mar 3 17:26:41 2014 +0100 Updated Galician translations po/gl.po | 598 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 320 insertions(+), 278 deletions(-) commit 441d8f6858f8872309d7a469167722409c8ed463 Author: Matthias Clasen Date: Mon Mar 3 07:05:31 2014 -0500 testdialogs: Add message dialog examples Related to https://bugzilla.gnome.org/show_bug.cgi?id=723668 tests/testdialog.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit 77fced56fc1d6c1b4184854f95b413f9d8a6e580 Author: William Jon McCann Date: Fri Feb 28 15:19:00 2014 -0500 file-chooser: emit selection-changed when location entry changes too https://bugzilla.gnome.org/show_bug.cgi?id=547988 gtk/gtkfilechooserwidget.c | 58 ++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) commit 83dee19d93269c6dcbcc6b3ea5fd2e172b82b076 Author: Matthias Clasen Date: Mon Mar 3 05:51:02 2014 -0500 Revert "GtkEntryCompletion: call setter for "text-column"" This reverts commit 9761a966d8ffda724226a21022a42ce40932b443. gtk/gtkentrycompletion.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 04bed9f84a8c1c659c7838046039f9a378876b78 Author: Matthias Clasen Date: Mon Mar 3 05:50:54 2014 -0500 Revert "gtk_entry_completion_set_text_column: reuse old renderer" This reverts commit f6a0debdd9d4f90b9d6b54c263b10926ba530c7e. gtk/gtkentrycompletion.c | 128 +++++------------------------------------------ 1 file changed, 12 insertions(+), 116 deletions(-) commit 8315dff0b02faae248dd38695e90447257915e84 Author: Matthias Clasen Date: Mon Mar 3 05:50:47 2014 -0500 Revert "GtkEntryCompletion: call cell_area()->clear()" This reverts commit 3c2829713463228094d66170564a4d6d7c31c245. gtk/gtkentrycompletion.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit c243ad8f49f9201bd99a575caf043f519132982f Author: Matthias Clasen Date: Mon Mar 3 05:50:34 2014 -0500 Revert "gtk_entry_completion_get_cells: revert returning NULL" This reverts commit a9a6fb045a0faedb30ffdad4ed979f380c483ebd. gtk/gtkentrycompletion.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit ab69814b5dcd9e98af17401db6571faae1b635c3 Author: Matthias Clasen Date: Mon Mar 3 05:50:25 2014 -0500 Revert "GtkEntryCompletion: fix warning" This reverts commit 2f0c610c35215229e53aac4c37fdea49e25f3742. gtk/gtkentrycompletion.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 13fc06d74aa471f0a72c534c135d6743a2b5f7f7 Author: Theppitak Karoonboonyanan Date: Mon Mar 3 18:01:34 2014 +0700 Updated Thai translation po/th.po | 637 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 339 insertions(+), 298 deletions(-) commit 239903d2f13ce7989a96fbbdbf80bbba199e45c4 Author: Rico Tzschichholz Date: Mon Mar 3 07:33:53 2014 +0100 printbackends: Fix make dist modules/printbackends/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 428215f5dfed3fcd3d1390467719fd58af604015 Author: Piotr Drąg Date: Mon Mar 3 00:45:41 2014 +0100 Updated Polish translation po-properties/pl.po | 3288 +++++++++++++++++++++++++++------------------------ po/pl.po | 2549 +++++++++++++++++++++------------------ 2 files changed, 3104 insertions(+), 2733 deletions(-) commit b8d0a1e0c0dc29de136f7bdd973d6748d300a4da Author: Aurimas Černius Date: Sun Mar 2 20:05:19 2014 +0200 Updated Lithuanian translation po-properties/lt.po | 176 +++++++++++++++++++++++++++------------------------- po/lt.po | 104 ++++++++++++++++++------------- 2 files changed, 153 insertions(+), 127 deletions(-) commit 596364e9fc794690c8ab41cd0b566460a48e33c3 Author: Andrés G. Aragoneses Date: Sun Mar 2 12:09:48 2014 +0100 trivial: fix typo in docs of gtk_css_provider_to_string gtk/gtkcssprovider.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e16f8f218243a01b2c54fd275abc07952dbd010b Author: Andrés G. Aragoneses Date: Sun Mar 2 09:51:47 2014 +0100 autogen.sh: fail faster/clearer if g-i not found GOBJECT_INTROSPECTION_CHECK macro can be missing if introspection is not installed, so this way the following error is prevented: "gtk/Makefile.am:1324: error: HAVE_INTROSPECTION does not appear in AM_CONDITIONAL" https://bugzilla.gnome.org/show_bug.cgi?id=723438 autogen.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit cf6c277d49da74fabf70ba67545d68c224c417fa Author: Andrés G. Aragoneses Date: Sun Mar 2 09:47:31 2014 +0100 trivial: fix typo in docs of gtk_css_provider_to_string gtk/gtkcssprovider.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2132215afb3860dac24ac0b1903179701450a255 Author: Baurzhan Muftakhidinov Date: Sun Mar 2 03:58:08 2014 +0000 Updated Kazakh translation po/kk.po | 145 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 81 insertions(+), 64 deletions(-) commit 691fbc9dd184df2101b28d6ecef631084f514c99 Author: Yosef Or Boczko Date: Sun Mar 2 01:17:40 2014 +0200 Updated Hebrew properties translation po-properties/he.po | 2693 ++++++++++++++++++++++++++------------------------- 1 file changed, 1366 insertions(+), 1327 deletions(-) commit f5e1d9cd6753a8381be5c71d739404a5631d3c7a Author: Yosef Or Boczko Date: Sun Mar 2 01:17:36 2014 +0200 Updated Hebrew translation po/he.po | 218 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 122 insertions(+), 96 deletions(-) commit 0dedbccd2770a0f4fe3b2061908bce70074f1642 Author: Rafael Ferreira Date: Fri Feb 28 15:14:33 2014 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 41 +++++++++++++++++++++++++++++++++-------- 1 file changed, 33 insertions(+), 8 deletions(-) commit 278d75537f997bdd3b614d3af08f2c6837a635d9 Author: Piotr Drąg Date: Fri Feb 28 15:28:39 2014 +0100 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 2 ++ po-properties/POTFILES.skip | 2 ++ po/POTFILES.in | 2 ++ po/POTFILES.skip | 2 ++ 4 files changed, 8 insertions(+) commit aaae0ca8bac2f46400a3124a82a1ad06f4c735b0 Author: Tim Waugh Date: Wed Feb 26 16:05:44 2014 +0000 New cloudprint GTK+ print module for Google Cloud Print. This is a web service provided by Google that allows people to share their printers (https://www.google.com/cloudprint/learn/). In addition to being able to print to printers shared on Google Cloud Print, there is an equivalent of "Print to file" in the form of "Save to Google Drive". The cloudprint module uses gnome-online-accounts to obtain the OAuth 2.0 access token for the Google account. Currently it can discover available printers, get simple details about them such as display name and status, and submit jobs without any special options. https://bugzilla.gnome.org/show_bug.cgi?id=723368 configure.ac | 32 + gtk/Makefile.am | 16 + modules/printbackends/Makefile.am | 4 + modules/printbackends/cloudprint/Makefile.am | 44 + .../cloudprint/gtkcloudprintaccount.c | 664 ++++++++++++ .../cloudprint/gtkcloudprintaccount.h | 74 ++ .../cloudprint/gtkprintbackendcloudprint.c | 1053 ++++++++++++++++++++ .../cloudprint/gtkprintbackendcloudprint.h | 40 + .../cloudprint/gtkprintercloudprint.c | 231 +++++ .../cloudprint/gtkprintercloudprint.h | 45 + 10 files changed, 2203 insertions(+) commit e9aa5a9822e6c0344ca2639f0d160702b4a855dd Author: Benjamin Otte Date: Fri Feb 28 03:07:18 2014 +0100 gdkwindow: Call function instead of copying its code gdk_window_get_origin() is just a variant of gdk_window_get_root_coords() after all. gdk/gdkwindow.c | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) commit 2dd3226c671a71205108c37986e90fb9077a8ab0 Author: Benjamin Otte Date: Tue Feb 25 14:11:20 2014 +0100 reftests: Add a test for a widget stacking regression GTK 3.10 fails to obey the stacking order when drawing widgets. https://bugzilla.gnome.org/show_bug.cgi?id=725089 testsuite/reftests/Makefile.am | 2 + testsuite/reftests/fixed-widget-stacking.ref.ui | 41 +++++++++++++++++++ testsuite/reftests/fixed-widget-stacking.ui | 53 +++++++++++++++++++++++++ 3 files changed, 96 insertions(+) commit e2a83cae0f89945cc24464c21a965fc42affe96a Author: Benjamin Otte Date: Tue Feb 25 14:51:16 2014 +0100 fixed: Fix drawing order Restore the drawing order in GtkFixed to what it was in 3.8. With the GDK drawing changes this will not be correct in some cases (un-windowed children can now overlap windowed children and native children overlap everything), but fixes Eclipse drawing. https://bugzilla.gnome.org/show_bug.cgi?id=725089 gtk/gtkfixed.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 0f212b5fb7f311ac54e98f8bd86874b5ac86a1e1 Author: Jasper St. Pierre Date: Thu Feb 27 21:02:22 2014 -0500 gdkwindow: Always pass the impl window to GdkWindowImpl::get_root_coords The point of GdkWindowImpl::get_root_coords is to translate the passed in coordinates against the passed-in impl window. For a child window, in fact, window->abs_x and window->abs_y already track the child window's coordinates against the impl window. If we pass in a child window, and backends don't explicitly get the impl window from it, we'll double-count the child window. Really, we should *always* be passing impl windows to backends, and never child windows. However, I'm a bit worried for regressions late in the cycle if we want to fix up the rest of the callers, like gdk_window_get_geometry, so I'm only going to touch get_root_coords for now after careful review of all the backends. gdk/gdkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b922e0e213a30b823ced4349baa2a46578a2221c Author: Jasper St. Pierre Date: Thu Feb 27 20:58:13 2014 -0500 Remove the return value of GdkWindowImpl::get_root_coords It's unused by callers, and the historical return values are undocumented, so just remove it now. gdk/broadway/gdkwindow-broadway.c | 4 +--- gdk/gdkoffscreenwindow.c | 4 +--- gdk/gdkwindowimpl.h | 2 +- gdk/quartz/gdkwindow-quartz.c | 8 +++----- gdk/wayland/gdkwindow-wayland.c | 4 +--- gdk/win32/gdkwindow-win32.c | 3 +-- gdk/x11/gdkwindow-x11.c | 17 +++++++---------- 7 files changed, 15 insertions(+), 27 deletions(-) commit 056ca21e2f3d760160569d1ad625e43d35d071db Author: Jasper St. Pierre Date: Thu Feb 27 17:32:53 2014 -0500 wayland: Seal up a non-declared public member gdk/wayland/gdkwindow-wayland.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 7d675309825e43a9c60e6b6af0873d70fd79ec23 Author: Jasper St. Pierre Date: Thu Feb 27 17:00:46 2014 -0500 wayland: Remove old, outdated comment gdk/wayland/gdkwindow-wayland.c | 4 ---- 1 file changed, 4 deletions(-) commit 08d0bedb2855dc9560afd8ae998cc1683bf6384c Author: Jasper St. Pierre Date: Thu Feb 27 16:54:20 2014 -0500 wayland: Fix margins at startup GtkWindow calls set_shadow_width then maps the window, meaning that we never set the margin. Save it when we set and then set it when we create the XDG surface. gdk/wayland/gdkwindow-wayland.c | 30 ++++++++++++++++++++++++++---- 1 file changed, 26 insertions(+), 4 deletions(-) commit 31c259d0cb0f19d9d5aaee3c67079e778a161a68 Author: Rafael Ferreira Date: Thu Feb 27 16:16:30 2014 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 720 +++++++++++++++++++++++++++++++----------------------------- 1 file changed, 368 insertions(+), 352 deletions(-) commit 2cc1bf4edf46b326d5b84776881e0cdcd750aefb Author: William Jon McCann Date: Thu Feb 27 09:09:28 2014 -0500 dialog: remove suggested action class when changing default action So that we don't have multiple widgets with the style class set to suggested-action. gtk/gtkdialog.c | 2 ++ 1 file changed, 2 insertions(+) commit fb8f36f34d3940d90d0bbc3569edb5995cbb0283 Author: William Jon McCann Date: Thu Feb 27 09:08:53 2014 -0500 dialog: set suggested-action even on dialogs without header bars It is up to the theme whether these should be styled. gtk/gtkdialog.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 905a6aa2e85fa2731ec9966a5596be7b9096d787 Author: William Jon McCann Date: Thu Feb 27 08:12:56 2014 -0500 about-dialog: link directly to the 3.0 version of GPL licenses In the unlikely case that there is another GPL released in the future it would be best if we link directly to the 3.0 version of the license description instead of the alias to the latest version. gtk/gtkaboutdialog.c | 8 ++++---- testsuite/a11y/about.txt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) commit cbbc5d474a77db1ba73cc37472bcf6e53db40e7b Author: William Jon McCann Date: Wed Feb 26 11:16:06 2014 -0500 widget-factory: add entry progress modes demos/widget-factory/widget-factory.c | 43 ++++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 4 +++- 2 files changed, 46 insertions(+), 1 deletion(-) commit abe9ce45f382c2f10171973a6f2452bfec77fbc3 Author: William Jon McCann Date: Tue Feb 25 17:44:06 2014 -0500 docs: fix headerbar screenshot docs/reference/gtk/images/headerbar.png | Bin 2163 -> 5538 bytes docs/tools/widgets.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) commit af4b26f5812b990a7f4af725d9b3a09e7c4ac63a Author: Benjamin Otte Date: Wed Feb 26 02:29:36 2014 +0100 a11y: Fix refcounting for treeview cells Old code assumed that AT-SPI would keep track of references and therefore tried to only hold weak references. On the other hand it also tried to keep objects alive so it referenced objects very randomly. All of that lead to cycles and leaking. As AT-SPI does not keep track of objects at all, the treeview now does. The refcounting looks as follows: GtkTreeViewAccessible => creates per row/column GtkTreeViewAccessibleCellInfo => which references 1 GtkCellAccessible If there is only one cell, this accessible is a GtkRendererCellAccessible, otherwise a GtkContainerCellAccessible is created and that accessible holds references to the GtkRendererCellAccessibles that are created for every cell renderer. https://bugzilla.gnome.org/show_bug.cgi?id=554618 gtk/a11y/gtkcellaccessible.c | 39 +++++++++++++++++++++-------------- gtk/a11y/gtkcontainercellaccessible.c | 4 ++++ gtk/a11y/gtktreeviewaccessible.c | 2 +- 3 files changed, 28 insertions(+), 17 deletions(-) commit bcdb4aa2a789303652a8a8cf23e2ccc1978c7374 Author: Benjamin Otte Date: Wed Feb 26 01:47:50 2014 +0100 a11y: Refactor function Make the intent of the function clear by implementing it that way. gtk/a11y/gtktreeviewaccessible.c | 34 ++++++++++++++++------------------ 1 file changed, 16 insertions(+), 18 deletions(-) commit 5ea4dbf3e06a2d5003b2351eff3607c7a64169ce Author: Benjamin Otte Date: Mon Feb 24 18:02:41 2014 +0100 a11y: Split out a function This will make the next refactoring easier. gtk/a11y/gtktreeviewaccessible.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit 70ff97e812e5b96b503dcc542eefac899f7c9131 Author: Benjamin Otte Date: Mon Feb 24 15:36:03 2014 +0100 a11y: Remove unused variable gtk/a11y/gtktreeviewaccessible.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) commit 2fdd420e780aae8565845c380d3d7b6f3a8ad89d Author: Benjamin Otte Date: Mon Feb 24 15:19:00 2014 +0100 a11y: Use more obvious function name gtk/a11y/gtktreeviewaccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f60bb84d159853f15f3eae9027693274a6f03112 Author: Benjamin Otte Date: Mon Feb 24 14:17:28 2014 +0100 a11y: Split out creation of cell info Don't mix cell info creation with cell accessible creation. Instead, first create the accessible, then create the cell info. gtk/a11y/gtktreeviewaccessible.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) commit 43fe3c499c4e00a37c29033984b7dfca4f50b401 Author: Benjamin Otte Date: Mon Feb 24 14:07:57 2014 +0100 a11y: Split out a function First in a set of refactorings to make the create_cell() function actually understandable. gtk/a11y/gtktreeviewaccessible.c | 26 ++++++++++++++++++++------ 1 file changed, 20 insertions(+), 6 deletions(-) commit ad2f96ff482d1cde7a91ffc30bbc81e2b9bde01b Author: Giovanni Campagna Date: Wed Feb 26 00:02:04 2014 +0100 Gdk: fix wrong user_data handling in resize_cairo_surface() Instead of destroying the surface in the backend if this is unable to resize, let the core code do it, and do it properly. Based on a patch by Benjamin Otte. https://bugzilla.gnome.org/show_bug.cgi?id=725172 gdk/broadway/gdkwindow-broadway.c | 6 ++---- gdk/gdkoffscreenwindow.c | 4 ++-- gdk/gdkwindow.c | 18 +++++++++--------- gdk/gdkwindowimpl.h | 12 ++++++++---- gdk/quartz/gdkwindow-quartz.c | 6 ++---- gdk/wayland/gdkwindow-wayland.c | 4 ++-- gdk/win32/gdkwindow-win32.c | 6 ++---- gdk/x11/gdkwindow-x11.c | 4 ++-- 8 files changed, 29 insertions(+), 31 deletions(-) commit d5196ded2fe0da9831a2d002250911fdeee62d83 Author: Giovanni Campagna Date: Tue Feb 25 22:18:28 2014 +0100 pixbuf-demo: don't lock the window size What's the use of an animation demo, if you can interactively resize it and show off how cool is your window system handling updates? https://bugzilla.gnome.org/show_bug.cgi?id=725172 demos/pixbuf-demo/pixbuf-demo.c | 1 - 1 file changed, 1 deletion(-) commit dba7a676b49bef1e77d3963500ebbdba278d38ba Author: Chun-wei Fan Date: Tue Feb 25 13:32:13 2014 +0800 MSVC Builds: Update Introspection Build Process GObject-Introspection was recently changed to support acquiring the name of the DLL from a library (.lib, etc) that was passed into g-ir-scanner on Windows, like the *nix builds, instead of directly passing in the name of the DLL. This updates the introspection build process, so that introspection files for GTK+ can continue to be properly built. build/gtk-introspection-msvc.mak | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) commit f89f595d08a5c81c870be9d69af153b9b5d6837a Author: Jasper St. Pierre Date: Sun Feb 23 16:06:05 2014 -0500 Add gtkactionbar.ui.h gtk/resources/ui/gtkactionbar.ui.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) commit 084c2feb7e27baf34474227fd0904b6d3dd35e4d Author: Jasper St. Pierre Date: Sun Feb 23 16:06:20 2014 -0500 wayland: Don't destroy the cairo surface when resizing it The code in GDK is incredibly broken and nobody is quite sure what's right-side-up and what's upside down, but this breaks mutter-wayland now, so let's remove it. It might leak, but we should probably do a full restructuring of GDK drawing to fix it. gdk/wayland/gdkwindow-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit 6efd6611f2c13e53e3d5064aebd94ee806e3ffbd Author: Benjamin Otte Date: Sun Feb 23 20:00:08 2014 +0100 toolpalette: Remove unused function gtk/gtktoolitemgroup.c | 66 --------------------------------------------- gtk/gtktoolpaletteprivate.h | 2 -- 2 files changed, 68 deletions(-) commit 6ea4bf8a9d60ab22e2ddf84243b629791ef59c4d Author: Rui Matos Date: Sat Feb 22 19:10:59 2014 +0100 wayland: Fix gdk_window_wayland_resize_cairo_surface() Like in other backends (except X) we can't resize cairo image surfaces so let's sync the code here with what the other backends do. This prevents the painting machinery above us to paint on the wrong buffer. https://bugzilla.gnome.org/show_bug.cgi?id=724968 gdk/wayland/gdkwindow-wayland.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit a3518a4d66e7a256153c733c90910d38a20bd91f Author: Piotr Drąg Date: Sun Feb 23 17:58:39 2014 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 947cac2b85bd60558e766db4f7b276aad0435405 Author: Benjamin Otte Date: Sun Feb 23 15:40:09 2014 +0100 testsuite: Don't leak in test runner testsuite/css/parser/test-css-parser.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 7a603c6909ad4f50376431a0ee7ae3a57862ec78 Author: Benjamin Otte Date: Sun Feb 23 15:39:36 2014 +0100 reftests: Add reftest for last commit https://bugzilla.gnome.org/show_bug.cgi?id=724999 testsuite/reftests/Makefile.am | 2 ++ .../reftests/revealer-wrappable-contents.ref.ui | 20 ++++++++++++++++ testsuite/reftests/revealer-wrappable-contents.ui | 28 ++++++++++++++++++++++ 3 files changed, 50 insertions(+) commit 9add8e261f8d3e4c99e342e757659ef74f0cf16e Author: Benjamin Otte Date: Sun Feb 23 14:57:44 2014 +0100 revealer: Pass correct size to child hfw function The refactoring in b9e37f8d2d4d14d3cb23f56a795fcdd2e6128e88 broke this. https://bugzilla.gnome.org/show_bug.cgi?id=724999 gtk/gtkrevealer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 10fa786dfa718188243935c32deedfa8bec1f208 Author: Benjamin Otte Date: Fri Feb 21 21:54:40 2014 +0100 csskeyframes: Split new() into alloc() and new() The new() function is supposed to return an empty fully initialized GtkCssKeyframes object, while the alloc() function just allocates and initializes static values. So alloc() can be used for copying or resolving keyframes. Fixes a memleak when resolving keyframes. gtk/gtkcsskeyframes.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit b4ddc0b58ec7387de634d57433c312e7de7b93e5 Author: GunChleoc Date: Sun Feb 23 14:02:58 2014 +0000 Updated Scottish Gaelic translation po/gd.po | 623 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 314 insertions(+), 309 deletions(-) commit 6dcf6e0f3b06808d1d6a4a928f027657a8742d52 Author: Matthias Clasen Date: Sat Feb 22 21:42:05 2014 -0500 Be more careful to change state atomically This avoids temporary states of maximized+tiled that we otherwise report. gdk/x11/gdkdisplay-x11.c | 56 ++++++++++++++++-------------------------------- 1 file changed, 18 insertions(+), 38 deletions(-) commit 162e634f56bc601a3d30b61b76b5a1f0771e3a0f Author: Wylmer Wang Date: Sun Feb 23 02:00:31 2014 +0000 Updated Chinese (China) translation po-properties/zh_CN.po | 2907 +++++++++++++++++++++++++----------------------- 1 file changed, 1499 insertions(+), 1408 deletions(-) commit 600a847ccaeab38b9fd5ce55e80840760c03aa37 Author: Matthias Clasen Date: Sat Feb 22 15:17:58 2014 -0500 Make testpopover more versatile Allow testing alignment and positioning. tests/testpopover.c | 89 +++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 76 insertions(+), 13 deletions(-) commit d64ae72c29be27f0f5c6087cd8bb6ea21ffd1fa4 Author: Matthias Clasen Date: Sat Feb 22 14:07:48 2014 -0500 Take shadow size into account when positioning popovers Without this, popovers have a tendency to protrude into the invisible border of windows, which looks less than optimal. gtk/gtkwindow.c | 35 +++++++++++++++++++++++------------ 1 file changed, 23 insertions(+), 12 deletions(-) commit 71e46a0b0e9968d3321c2f569aaea4a7fd35fde2 Author: Matthias Clasen Date: Sat Feb 22 12:51:11 2014 -0500 a11y tests: Add a tests for menu buttons with popovers This shows that popovers currently lack accessibility. testsuite/a11y/Makefile.am | 1 + testsuite/a11y/menubutton3.txt | 24 ++++++++++++++++++++++++ testsuite/a11y/menubutton3.ui | 22 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) commit 18749136dad97a9cb8130fab392cde557d335a72 Author: Matthias Clasen Date: Sat Feb 22 12:49:24 2014 -0500 menu button: avoid property order dependencies With the code as written, use-popover has to be set first, before the model. To avoid this ordering dependency, re-set the model when use-popover changes. gtk/gtkmenubutton.c | 7 +++++++ 1 file changed, 7 insertions(+) commit ca35d1a4c48e0bf2bac496425d81c6ec6c557ab5 Author: Matthias Clasen Date: Sat Feb 22 12:36:55 2014 -0500 menu button: Fix property notification gtk/gtkmenubutton.c | 51 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 16 deletions(-) commit 349376f48f240fb7188d238769c7f641d1b7a490 Author: Matthias Clasen Date: Sat Feb 22 12:13:21 2014 -0500 a11y tests: Add a test for menubuttons with model testsuite/a11y/Makefile.am | 1 + testsuite/a11y/menubutton2.txt | 38 ++++++++++++++++++++++++++++++++++++++ testsuite/a11y/menubutton2.ui | 21 +++++++++++++++++++++ 3 files changed, 60 insertions(+) commit 1de4c698cc1adce801e991755fce9af5c58aef13 Author: Matthias Clasen Date: Sat Feb 22 12:08:45 2014 -0500 GtkModelButton: fix up naming The convention we follow is that the PROP_foo define should match the property name. Therefore, change PROP_MODEL to PROP_MENU_MODEL to match "menu-model". gtk/gtkmenubutton.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ac50e4e9dfc67126fee159257e9e8e2d8c9e6284 Author: Matthias Clasen Date: Sat Feb 22 12:02:30 2014 -0500 a11y tests: Add a test for GtkActionBar testsuite/a11y/Makefile.am | 1 + testsuite/a11y/actionbar.txt | 97 ++++++++++++++++++++++++++++++++++++++++++++ testsuite/a11y/actionbar.ui | 55 +++++++++++++++++++++++++ 3 files changed, 153 insertions(+) commit 493ce0e2912891e7cbd2df5c93f3fa352dc8e473 Author: Matthias Clasen Date: Sat Feb 22 11:54:48 2014 -0500 a11y tests: add image buttons testsuite/a11y/buttons.txt | 60 +++++++++++++++++++++++++++++++++++++++++----- testsuite/a11y/buttons.ui | 52 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+), 6 deletions(-) commit b01e829543513b5fadd88d65c98e7a728afc5dea Author: Baurzhan Muftakhidinov Date: Sat Feb 22 09:55:20 2014 +0000 Updated Kazakh translation po-properties/kk.po | 6532 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 4048 insertions(+), 2484 deletions(-) commit 4f1d9452becc18301b561d4a6fc575cfb4137911 Author: Matthias Clasen Date: Fri Feb 21 22:31:16 2014 -0500 Fix life-cycle handling of treeview columns gtk_tree_view_remove_column was first removing the column from its list, then call gtk_tree_view_column_unset_tree_view, which would then call gtk_container_remove to remove its button from the treeview. But the treeview remove implementation relied on the column being still in the list in order to recognize the button as 'special', so in effect the button was never properly removed and thus, leaked. Fix this by callling unset_tree_view before removing the column from the list. https://bugzilla.gnome.org/show_bug.cgi?id=724891 gtk/gtktreeview.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit b01229db4b1b4c0d0ea29f55be575da7dd57fda0 Author: Matthias Clasen Date: Fri Feb 21 22:08:00 2014 -0500 Fix popover life-cycle handling c28784524016b2a8eac18d5046ebc8cdaca7f9b0 was trying to fix the memory leak caused by popovers begin destroyed in gtk_window_destroy before chaining up to gtk_widget_destroy, which unrealizes the window, and would clean up the popover windows if the popovers were still around. Fix this in a better way by moving the popover destruction after the chaining up, so we unrealize first, and then destroy the popovers. Also, make _gtk_window_remove_popover unrealize the popover, for symmetry with _gtk_window_add_popover. This should fix https://bugzilla.gnome.org/show_bug.cgi?id=724921 gtk/gtkwindow.c | 37 ++++++++++++++----------------------- 1 file changed, 14 insertions(+), 23 deletions(-) commit 00e87d24450821f980523b8e8d31064dd3feb131 Author: Matthias Clasen Date: Fri Feb 21 21:40:48 2014 -0500 Fix GtkMenuToolButton The addition of popovers to menu buttons broke this, by making the toolbuttons stay insensitive. https://bugzilla.gnome.org/show_bug.cgi?id=724799 gtk/gtkmenubutton.c | 2 ++ 1 file changed, 2 insertions(+) commit 89a264de910544169ed768207ed96e9013c19ce7 Author: Matthias Clasen Date: Fri Feb 21 21:15:52 2014 -0500 about dialog: protect against gtk_widget_show_all Normally, a GtkAboutDialog is shown using the convenience API. But if you manually construct one and show it by calling gtk_widget_show_all() on it, the license tab would show up uninvited. Fix that. https://bugzilla.gnome.org/show_bug.cgi?id=724411 gtk/resources/ui/gtkaboutdialog.ui | 2 ++ 1 file changed, 2 insertions(+) commit 5437de8424af4fde61dc78a3b73be1bde21cd0b9 Author: Piotr Drąg Date: Sat Feb 22 01:09:28 2014 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ po/POTFILES.skip | 2 ++ 2 files changed, 4 insertions(+) commit 596714bcc9a2d2096f7224a25fcdfaa8b96ea6a3 Author: Aurimas Černius Date: Fri Feb 21 22:56:07 2014 +0200 Updated Lithuanian translation po-properties/lt.po | 2246 ++++++++++++++++++++++++++------------------------- po/lt.po | 695 ++++++++-------- 2 files changed, 1464 insertions(+), 1477 deletions(-) commit e3df44c6f79adba1c97b4a32b8fc93911a098d98 Author: William Jon McCann Date: Fri Feb 21 15:13:17 2014 -0500 Don't leak the theme name gtk/gtksettings.c | 1 + 1 file changed, 1 insertion(+) commit e34d9eafed41bd4c5ac4cb28fd5fb0ff8aee7275 Author: Paolo Borelli Date: Fri Feb 21 21:07:11 2014 +0100 Do not leak cairo_region gdk/gdkwindow.c | 2 ++ 1 file changed, 2 insertions(+) commit e709c965a4d9d48c8007905de7e715bc7fef728f Author: William Jon McCann Date: Fri Feb 21 14:02:37 2014 -0500 Don't leak the queried file info https://bugzilla.gnome.org/show_bug.cgi?id=554618 gtk/gtkfilechooserwidget.c | 2 ++ gtk/gtkfilesystemmodel.c | 2 ++ 2 files changed, 4 insertions(+) commit c28784524016b2a8eac18d5046ebc8cdaca7f9b0 Author: William Jon McCann Date: Fri Feb 21 13:43:55 2014 -0500 Unregister the popover before destroying it Fixes a leak of the registered_windows list in GtkWidget. https://bugzilla.gnome.org/show_bug.cgi?id=554618 gtk/gtkwindow.c | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) commit ca4910cd79aba626699065fe102e83020a332fdb Author: Baurzhan Muftakhidinov Date: Fri Feb 21 17:36:38 2014 +0000 Updated Kazakh translation po/kk.po | 797 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 407 insertions(+), 390 deletions(-) commit 7134ededfdc42199fe5330358df82b5bf001ae4b Author: Marek Kasik Date: Fri Feb 21 15:47:03 2014 +0100 printing: Fix visibility of tabs in print dialog "Job", "Image Quality", "Color", "Finishing" and "Advanced" tabs shouldn't be shown if there is no printer selected. https://bugzilla.gnome.org/show_bug.cgi?id=724895 gtk/resources/ui/gtkprintunixdialog.ui | 5 ----- 1 file changed, 5 deletions(-) commit 31748fa5c082895a0b78c7697180f1c9ac2ee5ae Author: Marek Kasik Date: Fri Feb 21 15:39:05 2014 +0100 printing: Fix sensitivity of the Print button Don't make Print button sensitive until a printer is selected. https://bugzilla.gnome.org/show_bug.cgi?id=724895 gtk/gtkprintunixdialog.c | 3 +++ 1 file changed, 3 insertions(+) commit 465005f9297596e5613be27023aa8abf796ff7ca Author: Chun-wei Fan Date: Fri Feb 21 18:00:29 2014 +0800 Make Visual Studio Build Process A Bit Simpler Add some flexibility in the property sheets for one building GTK+ that it also searches for a settable installation path of Python, in addition to searching the PATH for an installation of the Python interpretor. This currently defaults to Python 2.7.x, which is normally installed in c:\python27 on Windows by default. Also tell people in the README.txt's for the Visual Studio builds build/win32/vs10/README.txt | 8 ++++++-- build/win32/vs10/gtk-gen-srcs.props | 2 ++ build/win32/vs10/gtk-version-paths.props | 4 ++++ build/win32/vs9/README.txt | 8 ++++++-- build/win32/vs9/gtk-gen-srcs.vsprops | 2 ++ build/win32/vs9/gtk-version-paths.vsprops | 4 ++++ 6 files changed, 24 insertions(+), 4 deletions(-) commit 55b0019589e73e0c2bd863b596f7252de561ecfc Author: Matthias Clasen Date: Thu Feb 20 18:31:10 2014 -0500 GtkTooltip: Avoid extra work When we are hiding the label or icon anyway, no need to change it right before, causing reallocation overhead. gtk/gtktooltip.c | 70 +++++++++++++++++++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 26 deletions(-) commit 0997303378081a5807380fe67e36ca4082dde244 Author: William Jon McCann Date: Thu Feb 20 16:41:15 2014 -0500 Don't leak list items of popovers gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1e87b82048d73214b1af24a05cecadb06f875c94 Author: William Jon McCann Date: Thu Feb 20 15:44:47 2014 -0500 file-chooser: make accept action sensitive only when has selection https://bugzilla.gnome.org/show_bug.cgi?id=547988 gtk/gtkfilechooserdialog.c | 42 +++++++++++++++++++++++++++----- gtk/resources/ui/gtkfilechooserdialog.ui | 1 + 2 files changed, 37 insertions(+), 6 deletions(-) commit 5c856c96f6ac37f5c0962865a7d60527f9380033 Author: William Jon McCann Date: Thu Feb 20 14:04:18 2014 -0500 docs: update the screenshots From the doc shooter. docs/reference/gtk/images/aboutdialog.png | Bin 19151 -> 20896 bytes docs/reference/gtk/images/accel-label.png | Bin 2727 -> 3063 bytes docs/reference/gtk/images/appchooserbutton.png | Bin 4519 -> 4877 bytes docs/reference/gtk/images/appchooserdialog.png | Bin 21148 -> 32889 bytes docs/reference/gtk/images/assistant.png | Bin 8859 -> 11280 bytes docs/reference/gtk/images/button.png | Bin 2235 -> 2389 bytes docs/reference/gtk/images/check-button.png | Bin 3039 -> 3355 bytes docs/reference/gtk/images/color-button.png | Bin 2397 -> 2632 bytes docs/reference/gtk/images/colorchooser.png | Bin 15298 -> 18719 bytes docs/reference/gtk/images/combo-box-entry.png | Bin 3150 -> 3457 bytes docs/reference/gtk/images/combo-box-text.png | Bin 3369 -> 3368 bytes docs/reference/gtk/images/combo-box.png | Bin 2911 -> 2949 bytes docs/reference/gtk/images/entry.png | Bin 1874 -> 1987 bytes docs/reference/gtk/images/file-button.png | Bin 9605 -> 10086 bytes docs/reference/gtk/images/filechooser.png | Bin 49023 -> 64106 bytes docs/reference/gtk/images/flow-box.png | Bin 6359 -> 7060 bytes docs/reference/gtk/images/font-button.png | Bin 3892 -> 4284 bytes docs/reference/gtk/images/fontchooser.png | Bin 49668 -> 54845 bytes docs/reference/gtk/images/frame.png | Bin 1889 -> 2038 bytes docs/reference/gtk/images/headerbar.png | Bin 3967 -> 2163 bytes docs/reference/gtk/images/icon-view.png | Bin 6503 -> 3813 bytes docs/reference/gtk/images/image.png | Bin 5995 -> 6123 bytes docs/reference/gtk/images/info-bar.png | Bin 3891 -> 2316 bytes docs/reference/gtk/images/label.png | Bin 1483 -> 1671 bytes docs/reference/gtk/images/levelbar.png | Bin 2220 -> 2401 bytes docs/reference/gtk/images/link-button.png | Bin 1764 -> 1980 bytes docs/reference/gtk/images/list-and-tree.png | Bin 4035 -> 4175 bytes docs/reference/gtk/images/list-box.png | Bin 6078 -> 6647 bytes docs/reference/gtk/images/lock-button.png | Bin 3409 -> 3800 bytes docs/reference/gtk/images/menu-button.png | Bin 2849 -> 3082 bytes docs/reference/gtk/images/menubar.png | Bin 2628 -> 3103 bytes docs/reference/gtk/images/messagedialog.png | Bin 7130 -> 5462 bytes docs/reference/gtk/images/multiline-text.png | Bin 2370 -> 2671 bytes docs/reference/gtk/images/notebook.png | Bin 5480 -> 4893 bytes docs/reference/gtk/images/pagesetupdialog.png | Bin 24302 -> 28241 bytes docs/reference/gtk/images/panes.png | Bin 3809 -> 4218 bytes docs/reference/gtk/images/placessidebar.png | Bin 12911 -> 14305 bytes docs/reference/gtk/images/printdialog.png | Bin 35780 -> 42755 bytes docs/reference/gtk/images/progressbar.png | Bin 2935 -> 3242 bytes docs/reference/gtk/images/radio-group.png | Bin 5694 -> 5729 bytes docs/reference/gtk/images/recentchooserdialog.png | Bin 16707 -> 33249 bytes docs/reference/gtk/images/scales.png | Bin 4984 -> 5482 bytes docs/reference/gtk/images/scrollbar.png | Bin 2115 -> 2423 bytes docs/reference/gtk/images/scrolledwindow.png | Bin 3276 -> 3568 bytes docs/reference/gtk/images/search-entry.png | Bin 2478 -> 2676 bytes docs/reference/gtk/images/separator.png | Bin 3842 -> 4263 bytes docs/reference/gtk/images/spinbutton.png | Bin 2858 -> 3181 bytes docs/reference/gtk/images/spinner.png | Bin 2507 -> 2418 bytes docs/reference/gtk/images/stack.png | Bin 4837 -> 5321 bytes docs/reference/gtk/images/stackswitcher.png | Bin 5474 -> 6119 bytes docs/reference/gtk/images/statusbar.png | Bin 2550 -> 3034 bytes docs/reference/gtk/images/switch.png | Bin 2953 -> 3134 bytes docs/reference/gtk/images/toggle-button.png | Bin 2942 -> 3210 bytes docs/reference/gtk/images/toolbar.png | Bin 3883 -> 3786 bytes docs/reference/gtk/images/toolpalette.png | Bin 9942 -> 8015 bytes docs/reference/gtk/images/volumebutton.png | Bin 1531 -> 3441 bytes docs/reference/gtk/images/window.png | Bin 3361 -> 1093 bytes 57 files changed, 0 insertions(+), 0 deletions(-) commit ad0c4c3e83b90adf2973edf7618c087ac473db01 Author: Jasper St. Pierre Date: Thu Feb 20 12:38:32 2014 -0500 window: Fix configure request debug code in move_resize Make it compile in GTK+3 and switch pos_changed / size_changed to be the right way around. gtk/gtkwindow.c | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) commit eb0f86d485b0326f9e1ac7c8bf8093d71da6c92d Author: Carlos Garnacho Date: Thu Feb 20 16:24:59 2014 +0100 popover: Always apply the window shape In practice this shape is only used to outline the popover when it is above native windows, in the most normal full-csw case the shape won't apply visibly, so popovers will still be able to cast a shadow there. If there are native windows below the popover, the shape will exclude the shadow, so there are no alpha contents above the window. One worst case that might happen is that the popover lays above patches of native/client-side windows, so the shadow could come and go around the border. But first let's see whether that happens often or visibly enough before adding something more convoluted. gtk/Makefile.am | 1 - gtk/gtkpopover.c | 20 +------------------- gtk/gtkpopoverprivate.h | 26 -------------------------- gtk/gtkscalebutton.c | 4 ---- 4 files changed, 1 insertion(+), 50 deletions(-) commit 8ea40e4956747374bd7cf3ba31035d73867753bd Author: Matthias Clasen Date: Thu Feb 20 10:10:34 2014 -0500 Trivial annotation syntax fix gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bc412683681d1c10af60b598df460c952176317f Author: William Jon McCann Date: Thu Feb 20 09:19:31 2014 -0500 print-dialog: remove shadow in from some of the tabs gtk/resources/ui/gtkprintunixdialog.ui | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 118969e70a548c9b8f5b54d664aea7f4415e3fc5 Author: Benjamin Otte Date: Thu Feb 20 01:47:21 2014 +0100 reftests: Add a reftest for the latest fix https://bugzilla.gnome.org/show_bug.cgi?id=724742 testsuite/reftests/Makefile.am | 2 ++ testsuite/reftests/revealer-extra-size.ref.ui | 18 ++++++++++++++++++ testsuite/reftests/revealer-extra-size.ui | 26 ++++++++++++++++++++++++++ 3 files changed, 46 insertions(+) commit b9e37f8d2d4d14d3cb23f56a795fcdd2e6128e88 Author: Benjamin Otte Date: Wed Feb 19 21:15:25 2014 +0100 revealer: Allocate extra size to child Do not constrain the child widget to its preferred size when the revealer is larger. https://bugzilla.gnome.org/show_bug.cgi?id=724742 gtk/gtkrevealer.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) commit 1d422deb0f12aadb01b91d2b55a317c9e265dde6 Author: Benjamin Otte Date: Tue Feb 18 13:56:26 2014 +0100 stackswitcher: Don't do unneeded update The update of the needs-attention state is done via its own property, so it doesn't need to be done via visibility changes. This patch is largely the result of inspecting the code due to a warning and not a result of testing. So if issues pop up that bisect back to this patch, that's why. gtk/gtkstackswitcher.c | 4 ---- 1 file changed, 4 deletions(-) commit f2d4b07f4bb44f7bf433a6178aabd43b12e7be7b Author: Benjamin Otte Date: Thu Feb 20 02:08:53 2014 +0100 stylecascade: Remove function Inline it. gtk/gtkstylecascade.c | 9 --------- gtk/gtkstylecascadeprivate.h | 1 - gtk/gtkstylecontext.c | 18 ++++++++++-------- 3 files changed, 10 insertions(+), 18 deletions(-) commit 6de50aa7d9579ccf1bbf699eb0398aeff00e5689 Author: Benjamin Otte Date: Thu Feb 20 02:02:05 2014 +0100 settings: Store style cascade in settings object This ensures that the initialization for the CSS theme happens when the style cascade gets queried. https://bugzilla.redhat.com/show_bug.cgi?id=1064922 https://bugzilla.mozilla.org/show_bug.cgi?id=972382 gtk/gtksettings.c | 32 +++++++++++++++++++++----------- gtk/gtksettingsprivate.h | 2 ++ gtk/gtkstylecascade.c | 16 ++-------------- 3 files changed, 25 insertions(+), 25 deletions(-) commit 750eaf53d668c99bab227eb77db3c0d0b4367841 Author: Benjamin Otte Date: Tue Feb 18 13:48:13 2014 +0100 testsuite: Add a test for a Firefox issue When creating a style context, the CSS for the theme might not be loaded. If it is, this test will succeed. https://bugzilla.redhat.com/show_bug.cgi?id=1064922 https://bugzilla.mozilla.org/show_bug.cgi?id=972382 testsuite/gtk/Makefile.am | 1 + testsuite/gtk/firefox-stylecontext.c | 66 ++++++++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) commit c1e2b22a2d63fe2907d43db3ec3bb4461d892198 Author: Benjamin Otte Date: Sat Feb 15 00:42:13 2014 +0100 tests: Connect signals in visuals test This is useful for demoing animations. tests/visuals/visuals.c | 1 + 1 file changed, 1 insertion(+) commit eae03be4791b207f0aa57426a5c8054e7d353459 Author: Benjamin Otte Date: Sat Feb 15 00:41:06 2014 +0100 tests: Don't use show_all() for a builder file It's enough to gtk_widget_show() the window as all the widgets in a builder file a marked properly for visibility. tests/visuals/visuals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f78ffc3e220a080b72c21aa6444663947ef1062 Author: Matthias Clasen Date: Wed Feb 19 19:37:45 2014 -0500 docs: Improve section headings docs/reference/gtk/gtk-docs.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 2a8446bdec9a47d545902d5b32c00cf1702c0958 Author: Matthias Clasen Date: Wed Feb 19 19:36:55 2014 -0500 Add docs gtk/gtkfilechooserwidget.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 469d333aa27c67f7d9b2f3923d62fef8519ff2ba Author: William Jon McCann Date: Wed Feb 19 18:49:43 2014 -0500 docs: use Returns: consistently Instead of Return value: gdk/gdk.c | 14 +- gdk/gdkcolor.c | 10 +- gdk/gdkcursor.c | 8 +- gdk/gdkdeprecated.c | 4 +- gdk/gdkdevice.c | 12 +- gdk/gdkdisplay.c | 20 +-- gdk/gdkdisplaymanager.c | 4 +- gdk/gdkdnd.c | 16 +-- gdk/gdkevents.c | 42 +++--- gdk/gdkframeclock.c | 6 +- gdk/gdkkeys.c | 8 +- gdk/gdkkeyuni.c | 4 +- gdk/gdkpango.c | 8 +- gdk/gdkpixbuf-drawable.c | 4 +- gdk/gdkrgba.c | 4 +- gdk/gdkscreen.c | 28 ++-- gdk/gdkselection.c | 6 +- gdk/gdkvisual.c | 28 ++-- gdk/gdkwindow.c | 78 +++++------ gdk/quartz/gdkeventloop-quartz.c | 4 +- gdk/win32/gdkwindow-win32.c | 2 +- gdk/x11/gdkcursor-x11.c | 4 +- gdk/x11/gdkdisplay-x11.c | 6 +- gdk/x11/gdkmain-x11.c | 6 +- gdk/x11/gdkproperty-x11.c | 16 +-- gdk/x11/gdkscreen-x11.c | 4 +- gdk/x11/gdkselection-x11.c | 2 +- gdk/x11/gdkvisual-x11.c | 2 +- gdk/x11/gdkwindow-x11.c | 6 +- gdk/x11/gdkxid.c | 2 +- gtk/deprecated/gtkaction.c | 16 +-- gtk/deprecated/gtkactiongroup.c | 4 +- gtk/deprecated/gtkcolorsel.c | 18 +-- gtk/deprecated/gtkfontsel.c | 36 ++--- gtk/deprecated/gtkhandlebox.c | 8 +- gtk/deprecated/gtkhscale.c | 2 +- gtk/deprecated/gtkhsv.c | 4 +- gtk/deprecated/gtkiconfactory.c | 50 +++---- gtk/deprecated/gtkimagemenuitem.c | 2 +- gtk/deprecated/gtkradioaction.c | 4 +- gtk/deprecated/gtkrc.c | 14 +- gtk/deprecated/gtkrecentaction.c | 6 +- gtk/deprecated/gtkstock.c | 6 +- gtk/deprecated/gtkstyle.c | 12 +- gtk/deprecated/gtktable.c | 10 +- gtk/deprecated/gtktoggleaction.c | 2 +- gtk/deprecated/gtkuimanager.c | 24 ++-- gtk/deprecated/gtkvscale.c | 2 +- gtk/gtkaboutdialog.c | 28 ++-- gtk/gtkaccelmap.c | 2 +- gtk/gtkactionbar.c | 2 +- gtk/gtkadjustment.c | 12 +- gtk/gtkassistant.c | 24 ++-- gtk/gtkbbox.c | 4 +- gtk/gtkbin.c | 2 +- gtk/gtkbindings.c | 12 +- gtk/gtkbox.c | 10 +- gtk/gtkbuilder.c | 8 +- gtk/gtkbutton.c | 14 +- gtk/gtkcalendar.c | 8 +- gtk/gtkcalendar.h | 2 +- gtk/gtkcellarea.c | 38 +++--- gtk/gtkcellarea.h | 4 +- gtk/gtkcellareabox.c | 4 +- gtk/gtkcellareacontext.c | 2 +- gtk/gtkcelllayout.c | 4 +- gtk/gtkcellrenderer.c | 4 +- gtk/gtkcellrendererpixbuf.c | 2 +- gtk/gtkcellrendererprogress.c | 2 +- gtk/gtkcellrendererspinner.c | 2 +- gtk/gtkcellrenderertext.c | 2 +- gtk/gtkcellrenderertoggle.c | 8 +- gtk/gtkcellview.c | 16 +-- gtk/gtkcheckmenuitem.c | 6 +- gtk/gtkclipboard.c | 34 ++--- gtk/gtkcolorbutton.c | 2 +- gtk/gtkcolorchooserdialog.c | 2 +- gtk/gtkcombobox.c | 36 ++--- gtk/gtkcomboboxtext.c | 4 +- gtk/gtkcontainer.c | 16 +-- gtk/gtkdialog.c | 6 +- gtk/gtkdnd.c | 16 +-- gtk/gtkeditable.c | 8 +- gtk/gtkentry.c | 50 +++---- gtk/gtkentrybuffer.c | 10 +- gtk/gtkentrycompletion.c | 26 ++-- gtk/gtkeventbox.c | 4 +- gtk/gtkexpander.c | 20 +-- gtk/gtkfilechooser.c | 84 ++++++------ gtk/gtkfilechooserbutton.c | 2 +- gtk/gtkfilechooserdialog.c | 2 +- gtk/gtkfilechooserentry.c | 6 +- gtk/gtkfilechooserwidget.c | 2 +- gtk/gtkfilefilter.c | 8 +- gtk/gtkfilesystemmodel.c | 8 +- gtk/gtkflowbox.c | 2 +- gtk/gtkfontbutton.c | 4 +- gtk/gtkfontchooser.c | 14 +- gtk/gtkfontchooserdialog.c | 2 +- gtk/gtkfontchooserwidget.c | 2 +- gtk/gtkframe.c | 8 +- gtk/gtkheaderbar.c | 6 +- gtk/gtkiconcachevalidator.c | 2 +- gtk/gtkicontheme.c | 72 +++++----- gtk/gtkiconview.c | 52 ++++---- gtk/gtkimage.c | 26 ++-- gtk/gtkimcontext.c | 10 +- gtk/gtkimmodule.c | 4 +- gtk/gtkinvisible.c | 6 +- gtk/gtkkeyhash.c | 6 +- gtk/gtklabel.c | 38 +++--- gtk/gtklayout.c | 8 +- gtk/gtklevelbar.c | 2 +- gtk/gtklinkbutton.c | 8 +- gtk/gtklistbox.c | 10 +- gtk/gtkliststore.c | 8 +- gtk/gtkmain.c | 18 +-- gtk/gtkmenu.c | 6 +- gtk/gtkmenubar.c | 4 +- gtk/gtkmenubutton.c | 2 +- gtk/gtkmenuitem.c | 8 +- gtk/gtkmenutoolbutton.c | 6 +- gtk/gtkmessagedialog.c | 8 +- gtk/gtkmodules.c | 4 +- gtk/gtknotebook.c | 48 +++---- gtk/gtkoffscreenwindow.c | 2 +- gtk/gtkorientable.c | 2 +- gtk/gtkpagesetup.c | 34 ++--- gtk/gtkpaned.c | 10 +- gtk/gtkpapersize.c | 34 ++--- gtk/gtkplacessidebar.c | 14 +- gtk/gtkplug.c | 10 +- gtk/gtkpopover.c | 2 +- gtk/gtkprintbackend.c | 4 +- gtk/gtkprintcontext.c | 20 +-- gtk/gtkprinter.c | 42 +++--- gtk/gtkprinteroptionset.c | 2 +- gtk/gtkprintjob.c | 14 +- gtk/gtkprintoperation-unix.c | 2 +- gtk/gtkprintoperation.c | 14 +- gtk/gtkprintsettings.c | 84 ++++++------ gtk/gtkprintunixdialog.c | 2 +- gtk/gtkprivate.c | 2 +- gtk/gtkprogressbar.c | 10 +- gtk/gtkradiobutton.c | 2 +- gtk/gtkradiomenuitem.c | 6 +- gtk/gtkradiotoolbutton.c | 10 +- gtk/gtkrange.c | 26 ++-- gtk/gtkrecentchooser.c | 34 ++--- gtk/gtkrecentchooserdialog.c | 4 +- gtk/gtkrecentchoosermenu.c | 6 +- gtk/gtkrecentchooserutils.c | 2 +- gtk/gtkrecentchooserwidget.c | 4 +- gtk/gtkrecentfilter.c | 8 +- gtk/gtkrecentfilter.h | 2 +- gtk/gtkrecentmanager.c | 68 +++++----- gtk/gtkrevealer.c | 6 +- gtk/gtkscale.c | 10 +- gtk/gtkscalebutton.c | 4 +- gtk/gtkscrollable.c | 8 +- gtk/gtkscrollbar.c | 2 +- gtk/gtkscrolledwindow.c | 8 +- gtk/gtksearchbar.c | 8 +- gtk/gtksearchentry.c | 2 +- gtk/gtkselection.c | 52 ++++---- gtk/gtkseparator.c | 2 +- gtk/gtkseparatortoolitem.c | 4 +- gtk/gtksettings.c | 14 +- gtk/gtksizegroup.c | 6 +- gtk/gtksocket.c | 8 +- gtk/gtkspinbutton.c | 16 +-- gtk/gtkspinner.c | 2 +- gtk/gtkstack.c | 12 +- gtk/gtkstackswitcher.c | 4 +- gtk/gtkstatusicon.c | 44 +++---- gtk/gtkswitch.c | 4 +- gtk/gtktextattributes.c | 4 +- gtk/gtktextbtree.c | 4 +- gtk/gtktextbuffer.c | 46 +++---- gtk/gtktextbufferrichtext.c | 18 +-- gtk/gtktextchild.c | 6 +- gtk/gtktextiter.c | 160 +++++++++++------------ gtk/gtktextlayout.c | 10 +- gtk/gtktextmark.c | 12 +- gtk/gtktexttag.c | 6 +- gtk/gtktexttagtable.c | 6 +- gtk/gtktextview.c | 60 ++++----- gtk/gtktogglebutton.c | 4 +- gtk/gtktoggletoolbutton.c | 6 +- gtk/gtktoolbar.c | 22 ++-- gtk/gtktoolbutton.c | 14 +- gtk/gtktoolitem.c | 36 ++--- gtk/gtktoolshell.c | 16 +-- gtk/gtktrashmonitor.c | 6 +- gtk/gtktreednd.c | 14 +- gtk/gtktreemenu.c | 22 ++-- gtk/gtktreemenu.h | 2 +- gtk/gtktreemodel.c | 74 +++++------ gtk/gtktreemodel.h | 2 +- gtk/gtktreemodelfilter.c | 10 +- gtk/gtktreemodelsort.c | 12 +- gtk/gtktreeselection.c | 22 ++-- gtk/gtktreesortable.c | 4 +- gtk/gtktreestore.c | 12 +- gtk/gtktreeview.c | 88 ++++++------- gtk/gtktreeviewcolumn.c | 50 +++---- gtk/gtkversion.h.in | 2 +- gtk/gtkviewport.c | 10 +- gtk/gtkvolumebutton.c | 2 +- gtk/gtkwidget.c | 140 ++++++++++---------- gtk/gtkwindow.c | 74 +++++------ gtk/gtkxembed.c | 2 +- modules/printbackends/cups/gtkprintbackendcups.c | 2 +- modules/printbackends/cups/gtkprintercups.c | 2 +- modules/printbackends/file/gtkprintbackendfile.c | 2 +- modules/printbackends/lpr/gtkprintbackendlpr.c | 2 +- modules/printbackends/papi/gtkprintbackendpapi.c | 2 +- modules/printbackends/papi/gtkprinterpapi.c | 2 +- modules/printbackends/test/gtkprintbackendtest.c | 2 +- 219 files changed, 1612 insertions(+), 1612 deletions(-) commit a6084e264de0c1471ba93a20dd74f19c92a8afc6 Author: Kjartan Maraas Date: Wed Feb 19 23:55:38 2014 +0100 Updated Norwegian bokmål translation po/nb.po | 154 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 77 insertions(+), 77 deletions(-) commit b30154ade1eefa2ce0c6a947256c3e6608b7c9d9 Author: Yuri Myasoedov Date: Wed Feb 19 21:28:25 2014 +0400 Fixed Russian translation po/ru.po | 1677 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 962 insertions(+), 715 deletions(-) commit 8a364bd3140bdaa65cef802355b66a663468a4ba Author: Matthias Clasen Date: Wed Feb 19 02:03:51 2014 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 77d90258ff1b36dbe728737fc2bce8b7ee46fd55 Author: Matthias Clasen Date: Wed Feb 19 00:43:36 2014 -0500 3.11.7 NEWS | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 215c55f2b91017fdf1d8ffe5aeb8d54cd6368e6f Author: Matthias Clasen Date: Wed Feb 19 01:33:12 2014 -0500 GtkActionBar: Implement destroy Similar to map/unmap, this needs to follow the actual widget tree. Without this, several test cases in the templates test fail. gtk/gtkactionbar.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit 832d90cc3a85a93ec77de7aa82dfa4ee89369718 Author: Matthias Clasen Date: Wed Feb 19 01:01:03 2014 -0500 Small documentation fixes docs/reference/gtk/gtk3-sections.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit bdaddaabad8024d1ea278e6320d188c5f98a6f22 Author: Matthias Clasen Date: Wed Feb 19 01:00:09 2014 -0500 Drop unimplemented functions These were added to the header by mistake in a recent commit. They have no implementation, so dropping them won't cause any harm. gtk/gtkmain.h | 5 ----- 1 file changed, 5 deletions(-) commit c5874b10349be37e67d358a490c44a0078a25942 Author: Matthias Clasen Date: Wed Feb 19 00:54:35 2014 -0500 Document gtk_header_bar_get_has_subtitle gtk/gtkheaderbar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e79842d64c75ec45b3c854d92c6fe008249feeb2 Author: Matthias Clasen Date: Wed Feb 19 00:51:10 2014 -0500 Document gtk_widget_get_scale_factor gtk/gtkwidget.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit 7fbf6a67a2204a6c891fed251811c6d60b9e6746 Author: Matthias Clasen Date: Wed Feb 19 00:31:40 2014 -0500 Fix a small memory leak GtkPrintUnixDialog was leaking a GFile. Spotted by Christian Persch in https://bugzilla.gnome.org/show_bug.cgi?id=724631 gtk/gtkprintunixdialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 63bb834b2e621db11d86d29a3f084e8cb9938f18 Author: Carlos Garnacho Date: Tue Feb 18 14:38:30 2014 +0100 popover: Accept NULL relative_to widgets And document the fact that the popover will get destroyed if a NULL relative-to is given on a parented popover, if no extra references are kept. For gtk_popover_new*(), a NULL relative-to will leave the widget as a floating object, to be sunk by a later call to gtk_widget_set_relative_to(). https://bugzilla.gnome.org/show_bug.cgi?id=724407 gtk/gtkpopover.c | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) commit 2f379604d1f2211406b74aefd6553e2bd452ccc0 Author: Paolo Borelli Date: Sat Feb 15 11:30:53 2014 +0100 Do not call popover_set_relative with NULL This gives a critical warning since that function expects a valid widget. https://bugzilla.gnome.org/show_bug.cgi?id=724407 gtk/gtkmenubutton.c | 1 - 1 file changed, 1 deletion(-) commit 479babf339ad25296089ef1aed6d9823d1a86625 Author: Matthias Clasen Date: Mon Feb 17 22:27:35 2014 -0500 GtkTextHandle: Deal with parent_scrollable going away Use a weak reference to notice when parent_scrollable is going away. https://bugzilla.gnome.org/show_bug.cgi?id=724392 gtk/gtktexthandle.c | 4 ++++ 1 file changed, 4 insertions(+) commit e679812be0be787d742c029d24d8c70bf54b88f7 Author: Matthias Clasen Date: Tue Feb 18 22:55:45 2014 -0500 GtkBox: Fix an off-by-one error with center allocation This error was causing children to not get allocated when the center widget is the first one in the list of the box's children. gtk/gtkbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit bb4f8d8ce1961c2d7cb10d198803b4cea6da7b03 Author: Matthias Clasen Date: Tue Feb 18 21:16:35 2014 -0500 Make gtk_box_set_center_widget take NULL It makes sense to allow this, and gtk_action_bar_set_center_widget already assumes that it can pass NULL to this function. gtk/gtkbox.c | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) commit 5eaebde394ba755b1f614c7d0e7c5513cf531493 Author: Matthias Clasen Date: Tue Feb 18 22:43:04 2014 -0500 Add map/unmap to GtkActionBar The recursion in map needs to follow the actual physical widget tree, otherwise we violate invariants. The generic container map implementation uses gtk_container_forall to operate on the children, and thus is not suitable for containers where the children are inside some internal container. gtk/gtkactionbar.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 3f0e28133d561d6732233af404312cb757ca2b7d Author: Matthias Clasen Date: Tue Feb 18 21:11:32 2014 -0500 Fix up gtk_action_bar_forall We need to always iterate over non-internal children. gtk/gtkactionbar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 53f6b8582a213232e9b0fecbd3c59451a92577ca Author: Matthias Clasen Date: Tue Feb 18 20:45:15 2014 -0500 Revert "action bar: remove the forall implementation" This reverts commit 0ff0fdfefbba86f3dc7713cf55bbf00194274fe3. gtk/gtkactionbar.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit d3c28194017844945f3ba733b7e95c66ba6c2875 Author: Paolo Borelli Date: Tue Feb 18 21:34:00 2014 +0100 Add a GtkFrame inside GtkActionBar This is needed to set a padding and draw a border since GtkBox does not honour css padding yet. https://bugzilla.gnome.org/show_bug.cgi?id=724693 gtk/resources/ui/gtkactionbar.ui | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 7fbcff8d71a1a12b39bc55c15e4e93f0963ecdea Author: Jasper St. Pierre Date: Sun Feb 9 11:31:54 2014 -0500 xdg-shell: Update for focused_set / focused_unset rename gdk/wayland/gdkwindow-wayland.c | 12 ++++++------ gdk/wayland/protocol/xdg-shell.xml | 31 ++++++++++++++++--------------- 2 files changed, 22 insertions(+), 21 deletions(-) commit 6845eade491d9ca5159fcaf89a4a90ba3995b7a1 Author: Jasper St. Pierre Date: Sun Feb 16 10:25:22 2014 -0500 wayland: Update to new xdg-shell pinging standards gdk/wayland/gdkdisplay-wayland.c | 17 ++++++++++++ gdk/wayland/gdkwindow-wayland.c | 31 --------------------- gdk/wayland/protocol/xdg-shell.xml | 56 ++++++++++++++++---------------------- 3 files changed, 40 insertions(+), 64 deletions(-) commit fd183f58f65ecb6184b30225cdec476f2caaa21b Author: Javier Jardón Date: Tue Feb 18 15:18:51 2014 +0000 NEWS: Fix typo NEWS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 638514ad35144bdecf83402808671c16d83bd1ed Author: Matthias Clasen Date: Tue Feb 18 08:31:32 2014 -0500 Bump version configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0b4cb125e74b1a38af2499c840a7545d0b86ce8c Author: Ignacio Casal Quinteiro Date: Tue Feb 18 11:42:45 2014 +0100 Remove duplicated word "id" from warning message gtk/gtkcontainer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d23cc787b9788084d7ddf84e00285a2f9815ae58 Author: Matthias Clasen Date: Tue Feb 18 00:50:09 2014 -0500 Updates NEWS | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) commit d308f39268527154eeaf582c6b3665ea3d6cfa3a Author: Matthias Clasen Date: Mon Feb 17 23:55:53 2014 -0500 Make GtkSeparatorToolItem work for window-dragging again This broke recently when the window dragging code was changed to require motion events to be propagated as well. https://bugzilla.gnome.org/show_bug.cgi?id=724539 gtk/gtkseparatortoolitem.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 1b74e81470297d3ee4e45a9cebef4fd30e77d632 Author: Matthias Clasen Date: Mon Feb 17 23:44:49 2014 -0500 gtk3-demo: set primary-toolbar style class on primary toolbars This makes them draggable, and is the right thing to do. demos/gtk-demo/builder.c | 4 ++++ 1 file changed, 4 insertions(+) commit 62254456f7a4b2401e15c5383e0a06cacec2e069 Author: Matthias Clasen Date: Mon Feb 17 23:09:44 2014 -0500 GtkLabel: don't eat too many button release events We should only eat button release events when the label is actually selectable, since the comment indicates that we want to eat the release events belonging to press events that triggered a selection. This fixes problems with actions on parent widgets that are triggered by button release, as seen in this bug: https://bugzilla.gnome.org/show_bug.cgi?id=724541 gtk/gtklabel.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 885026851f1c55b1c19f8fcbc6971461e0f5ad5f Author: Matthias Clasen Date: Mon Feb 17 22:37:55 2014 -0500 Another trivial doc rewording gtk/gtkpopover.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 99bc982bd8256d7b8fe0321ed6e5bb1b4dc21b8e Author: Matthias Clasen Date: Mon Feb 17 22:30:58 2014 -0500 Trivial typo fix gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 496f14ee538b6f9a8803fb6b0b80cc76cab2e781 Author: Matthias Clasen Date: Mon Feb 17 21:42:38 2014 -0500 Add some more templates tests GtkActionBar and GtkSearchBar also use templates, add them here. testsuite/gtk/templates.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) commit 67a00991b75641d3ef6bfa6e1376443d0afeb612 Author: Matthias Clasen Date: Mon Feb 17 21:41:11 2014 -0500 tree view: clean up custom search entry on destroy Suprisingly, this bug has been there for a very long time. I'm fixing it now because we now use a custom search entry in the app chooser dialog, and this is causing the templates cleanup test to fail. gtk/gtktreeview.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 2392b1e534c8e176ecff773ff22699de2d4bf358 Author: Matthias Clasen Date: Mon Feb 17 21:40:36 2014 -0500 Make print dialog destruction work This was also causing the templates test to fail. gtk/gtkprintunixdialog.c | 13 ++++++++++--- gtk/resources/ui/gtkprintunixdialog.ui | 1 - 2 files changed, 10 insertions(+), 4 deletions(-) commit 0ff0fdfefbba86f3dc7713cf55bbf00194274fe3 Author: Matthias Clasen Date: Mon Feb 17 21:39:44 2014 -0500 action bar: remove the forall implementation With nested internal children, this interferes with proper cleanup, and makes the templates test fail. gtk/gtkactionbar.c | 15 --------------- 1 file changed, 15 deletions(-) commit 5790831ecbdf557cf98f1dc1bc54630cb9e4bdbe Author: Matthias Clasen Date: Mon Feb 17 21:39:23 2014 -0500 Update expected output of the messagedialog a11y test testsuite/a11y/messagedialog.txt | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) commit fd1855c116d5b5d1f37b8cc89ef77c5ac8c70d5e Author: Matthias Clasen Date: Mon Feb 17 21:39:10 2014 -0500 Update expected output of the colorchooser a11y test testsuite/a11y/colorchooser.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d3c8bd83d96113672ac6bf4f245d4c5c19d8deb3 Author: Matthias Clasen Date: Mon Feb 17 16:55:16 2014 -0500 Bump gtk-doc dep to 1.20 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ad9019c2c930f0a7310d3861e1bff82758e576b4 Author: Paolo Borelli Date: Mon Feb 17 23:19:10 2014 +0100 gtkbox: fix positioning of center widget gtk/gtkbox.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit ae4abbcb9d19c29a6f269aa3b0932a5616b4874b Author: Yuri Myasoedov Date: Mon Feb 17 21:15:29 2014 +0400 Fixed Russian translation po-properties/ru.po | 139 ++++++++++++++++++++++++++-------------------------- 1 file changed, 69 insertions(+), 70 deletions(-) commit e734b79fd82ee0c21ff4b38d350c0aabb7949447 Author: Matthias Clasen Date: Mon Feb 17 11:54:43 2014 -0500 Fix return_if_fail lines in gtk_box_pack Since the function now returns a value, these checks need to be updated. gtk/gtkbox.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit c4526288d10d81f034fcdcd373c3e7b18c7e2521 Author: Daniel Mustieles Date: Mon Feb 17 16:37:58 2014 +0100 Updated Spanish translation po/es.po | 106 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 52 insertions(+), 54 deletions(-) commit b63ecf8b1ace0482e1416f7a355827d12cc76f46 Author: Paolo Borelli Date: Mon Feb 17 09:24:48 2014 +0100 Add builder support for GtkBox center widget gtk/gtkbox.c | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit 11834ebf5ccdba65254af8a8449be947cd393a31 Author: Matthias Clasen Date: Mon Feb 17 06:55:19 2014 -0500 app chooser: Reword a label 'Find New Applications' is shorter and less cryptic than 'Find Applications in Software'. gtk/resources/ui/gtkappchooserdialog.ui | 2 +- gtk/resources/ui/gtkappchooserdialog.ui.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 72e2094472e1183c1d2c7f7b88c778bbd9f5823f Author: Matthias Clasen Date: Mon Feb 17 06:50:25 2014 -0500 Drop with_separators from gtk_popover_bind_model The with_separators argument does not really make sense for popovers, it was just copied from the menu implementation. Drop it now, before it becomes part of the public API. gtk/gtkpopover.c | 18 ++++-------------- gtk/gtkpopover.h | 3 +-- 2 files changed, 5 insertions(+), 16 deletions(-) commit fc19d02b992a92de9c1b525a540b16592ba14f2b Author: Matthias Clasen Date: Mon Feb 17 06:50:09 2014 -0500 Add gtk_popover_bind_model to the docs docs/reference/gtk/gtk3-sections.txt | 1 + 1 file changed, 1 insertion(+) commit f3c9f86d146c024b019ffe86ae5df7306877be57 Author: Juan R. García Blanco Date: Sun Feb 16 22:10:55 2014 +0100 popover: Make gtk_popover_bind_model() public This is needed for the C++ bindings. https://bugzilla.gnome.org/show_bug.cgi?id=724503 gtk/gtkpopover.c | 45 ++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkpopover.h | 6 ++++++ 2 files changed, 50 insertions(+), 1 deletion(-) commit c37df8ad83709f72f234e3ed1bdc545f3d439377 Author: Yosef Or Boczko Date: Mon Feb 17 12:07:03 2014 +0200 po-properties: Updated the POTFILE file po-properties/POTFILES.in | 1 - 1 file changed, 1 deletion(-) commit d26a8128d49906b3526fc2fa127d19a03811f4a2 Author: Yosef Or Boczko Date: Mon Feb 17 12:06:39 2014 +0200 po: Updated the POTFILES file po/POTFILES.in | 1 - 1 file changed, 1 deletion(-) commit 598123fe25bf4a7403a0a42ed3134b1da2adb667 Author: Yosef Or Boczko Date: Mon Feb 17 11:43:55 2014 +0200 Fix doc build docs/reference/gtk/gtk-docs.sgml | 1 - 1 file changed, 1 deletion(-) commit ac907cd8aa0595348b4feabbb5c6a30c9d9094c9 Author: Matthias Clasen Date: Sun Feb 16 23:24:13 2014 -0500 Add a testcase for box sizing tests/Makefile.am | 1 + tests/testbox.c | 182 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 183 insertions(+) commit 8bfa5e461166e8093f0e8a6e732410001c3d343b Author: Matthias Clasen Date: Sun Feb 16 23:05:21 2014 -0500 Drop GtkCenterBox Its functionality has been subsumed in GtkBox. docs/reference/gtk/gtk3-sections.txt | 22 - gtk/Makefile.am | 2 - gtk/gtk.h | 1 - gtk/gtkcenterbox.c | 1068 ---------------------------------- gtk/gtkcenterbox.h | 78 --- 5 files changed, 1171 deletions(-) commit 55269cdc73ad227105b69c37e874b07a6a4a7b85 Author: Matthias Clasen Date: Sun Feb 16 23:03:38 2014 -0500 Adjust action ref test to new realities The test was using a nonexisting GtkActionBar::spacing property. testsuite/reftests/actionbar.ref.ui | 1 + testsuite/reftests/actionbar.ui | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) commit ef565e2713c9a76c1b67dc7d1023dbba114109b7 Author: Matthias Clasen Date: Sun Feb 16 23:02:05 2014 -0500 action bar: Use a regular box instead of GtkCenterBox GtkBox now supports a centered child, so GtkCenterBox is no longer needed here. gtk/gtkactionbar.c | 13 ++++++------- gtk/resources/ui/gtkactionbar.ui | 3 ++- 2 files changed, 8 insertions(+), 8 deletions(-) commit 06716a6c79d614bc1b7607e46546b8d14f5b51e2 Author: Matthias Clasen Date: Sun Feb 16 22:57:24 2014 -0500 Add center widget support to GtkBox This makes GtkCenterBox unnecessary, and at the same time adds more features: the center widget can be expanded, and baseline alignment is supported. docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkbox.c | 482 ++++++++++++++++++++++++++++++++++- gtk/gtkbox.h | 6 + 3 files changed, 476 insertions(+), 14 deletions(-) commit 8bd94a9515f0ca861a56f2f52a91a4b2b5ea96b1 Author: Matthias Clasen Date: Sat Feb 15 20:41:58 2014 -0500 Fix a problem with window dragging Dragging windows was not working on widgets in the titlebar region unless they had the window-dragging style property set. Fix this by looking at the region for motion notify events as well as for buton press events. gtk/gtkwindow.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 3c981d23dcfcfbe7895d495cb191dcf29aed9450 Author: Matthias Clasen Date: Sat Feb 15 17:59:19 2014 -0500 Don't show an empty license tab It is not useful to show a license tab, if there's no license to read. This was pointed out as a possibility in https://bugzilla.gnome.org/show_bug.cgi?id=724411 gtk/gtkaboutdialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 69fed898c046ec33c522bc442e44f7034be317c0 Author: Yosef Or Boczko Date: Sat Feb 15 20:01:14 2014 +0200 Updated Hebrew translation po/he.po | 64 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 32 insertions(+), 32 deletions(-) commit c779b42476ef0e33a22c13104b0b9351c370d71c Author: Matthias Clasen Date: Fri Feb 14 23:34:22 2014 -0500 Docs: use // for comments in examples Without sgml mode, we can't escape /* as /* anymore, so just switch to // for comments in examples. gdk/gdk.c | 10 +++--- gdk/gdkdisplaymanager.c | 4 +-- gdk/gdkevents.c | 6 ++-- gdk/gdkkeys.c | 8 ++--- gdk/wayland/gdkdisplay-wayland.c | 4 +-- gdk/x11/gdkmain-x11.c | 4 +-- gtk/deprecated/gtkradioaction.c | 4 +-- gtk/deprecated/gtkstock.c | 2 +- gtk/gtkaccellabel.c | 15 ++++---- gtk/gtkcelllayout.c | 9 ++--- gtk/gtkcellrenderer.c | 2 +- gtk/gtkcsscustomproperty.c | 2 +- gtk/gtkcssprovider.c | 75 +++++++++++++++++++++++++++------------- gtk/gtkdialog.c | 9 +++-- gtk/gtkdrawingarea.c | 2 +- gtk/gtkexpander.c | 4 +-- gtk/gtkfilechooser.c | 12 +++---- gtk/gtkfilefilter.c | 4 +-- gtk/gtkicontheme.c | 8 ++--- gtk/gtkimage.c | 9 ++--- gtk/gtkinfobar.c | 6 ++-- gtk/gtklabel.c | 6 ++-- gtk/gtkliststore.c | 9 +++-- gtk/gtkmain.c | 22 ++++++------ gtk/gtkmessagedialog.c | 4 +-- gtk/gtkradiobutton.c | 8 ++--- gtk/gtkrecentfilter.c | 2 +- gtk/gtkrecentmanager.c | 2 +- gtk/gtksettings.c | 2 +- gtk/gtksocket.c | 5 ++- gtk/gtkspinbutton.c | 17 ++++----- gtk/gtktextview.c | 2 +- gtk/gtktogglebutton.c | 2 +- gtk/gtktoolpalette.c | 4 +-- gtk/gtktreemodel.c | 24 ++++++------- gtk/gtktreemodelfilter.c | 2 +- gtk/gtktreemodelsort.c | 24 ++++++------- gtk/gtkwidget.c | 14 ++++---- gtk/gtkwindow.c | 2 +- 39 files changed, 179 insertions(+), 171 deletions(-) commit e179c65da037a2354cc8db4f824590014ef8bc87 Author: Matthias Clasen Date: Fri Feb 14 15:37:11 2014 -0500 header bar: squeeze the title in Let the center widget extend into the border area, to avoid resizing header bars needlessly. This improves the uniformity of header bars across applications, some of which don't use subtitles, or use custom title widgets. https://bugzilla.gnome.org/show_bug.cgi?id=706515 https://bugzilla.gnome.org/show_bug.cgi?id=707999 gtk/gtkheaderbar.c | 44 ++++++++++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 16 deletions(-) commit 4a208439e65e34704f7e266cbae2e199ecf024e2 Author: Matthias Clasen Date: Fri Feb 14 15:33:47 2014 -0500 Raleigh: fix a typo titlebar is a style class, so it needs a . gtk/resources/theme/gtk-default.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c1def9c2246a973c0522b1c5d18899ab69384cf5 Author: Matthias Clasen Date: Fri Feb 14 15:33:26 2014 -0500 Forgotten file gtk/resources/ui/gtkappchooserdialog.ui.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9678c921127929f5794e8f058515d143f3a3197d Author: Matthias Clasen Date: Fri Feb 14 11:56:48 2014 -0500 Fix a typo Thanks to Thomas A. Stillings for spotting it. gtk/resources/ui/gtkappchooserdialog.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f55d210c1211c09f7169e0c9ef306f8e67e67279 Author: Matthias Clasen Date: Fri Feb 14 09:39:49 2014 -0500 app chooser: sync sensitivity of search button The code setting up the button has been move a little later in the dialog construction, with the effect that the entry is already insensitive when we set up the binding. gtk/gtkappchooserdialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f217af54ca7694e497b50a876062de7ed4633825 Author: Matthias Clasen Date: Fri Feb 14 07:02:32 2014 -0500 app chooser: Add a search bar This replaces the treeview typeahead popup with a GtkSearchBar, and adds a search button to the header bar (if we have one). https://bugzilla.gnome.org/show_bug.cgi?id=724218 gtk/gtkappchooserdialog.c | 101 +++++++++++++++++++++++++++++++- gtk/gtkappchooserprivate.h | 5 ++ gtk/gtkappchooserwidget.c | 24 +++++--- gtk/resources/ui/gtkappchooserdialog.ui | 57 +++++++++--------- 4 files changed, 146 insertions(+), 41 deletions(-) commit e30f5dd00dea61f0e55d92701bac8d4dea6c88c2 Author: Matthias Clasen Date: Thu Feb 13 22:13:16 2014 -0500 color chooser: Make nonresizable by default The color chooser does not contain any scrollable content, therefore it should not be resizable. gtk/resources/ui/gtkcolorchooserdialog.ui | 1 + 1 file changed, 1 insertion(+) commit 9d4e4e2fb67cb3555dde65852036bc037d3acc8d Author: Daniel Mustieles Date: Fri Feb 14 10:17:32 2014 +0100 Updated Spanish translation po-properties/es.po | 54 ++++++++++++++++++++++++++--------------------------- 1 file changed, 26 insertions(+), 28 deletions(-) commit 9a5f7c7978faf640e21fa7104acd3250d5f6eaec Author: William Jon McCann Date: Thu Feb 13 18:20:29 2014 -0500 Use an action bar for the conficts ui in the print dialog gtk/resources/ui/gtkprintunixdialog.ui | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) commit 83ed0f8d47b066c555b316823fa9feacd9166637 Author: William Jon McCann Date: Thu Feb 13 18:19:36 2014 -0500 docs: shorten the shooter timeout docs/tools/shooter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 283804c0bf53934a764095ecd1104e60ebf24d17 Author: William Jon McCann Date: Thu Feb 13 18:15:53 2014 -0500 Set a default spacing on action bars gtk/resources/ui/gtkactionbar.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a121da3bb1502745ec8e897c24a1c58250a9b3b3 Author: William Jon McCann Date: Thu Feb 13 17:21:15 2014 -0500 Set no border on notebook in print dialog gtk/resources/ui/gtkprintunixdialog.ui | 1 + 1 file changed, 1 insertion(+) commit 686de287017ab7ece13921a37349bc7aa6dfd673 Author: William Jon McCann Date: Thu Feb 13 14:51:31 2014 -0500 docs: fix the display of message dialog docs/tools/widgets.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d88c0741973a30d01fe1afbb5df92a07c378157b Author: William Jon McCann Date: Thu Feb 13 14:16:17 2014 -0500 docs: don't add a border around info bars docs/tools/widgets.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 1f38477f297597a599f820323728aa8bc46852f1 Author: William Jon McCann Date: Thu Feb 13 04:01:41 2014 -0500 docs: fix the doc shooting for the volume button docs/tools/widgets.c | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) commit 57c618e887182ad97118a17cf37a000c940cc839 Author: William Jon McCann Date: Thu Feb 13 13:26:17 2014 -0500 docs: don't try to get the frame for CSD windows docs/tools/shooter.c | 34 ++++++++++++++++++++++++++++------ 1 file changed, 28 insertions(+), 6 deletions(-) commit 9bb3b2ae3ce5e9e9a8776806211b2414f3ae8425 Author: William Jon McCann Date: Thu Feb 13 12:08:03 2014 -0500 docs: get the pixbuf options from the existing instead of hardcoding. docs/tools/shooter.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 7796e7863ccec070edf84a5aa2a6ecc3b9010c59 Author: William Jon McCann Date: Thu Feb 13 11:37:46 2014 -0500 docs: don't use a loop for the docs shooter docs/tools/shooter.c | 141 +++++++++++++++++++++++++++++++++------------------ docs/tools/widgets.c | 84 ------------------------------ 2 files changed, 93 insertions(+), 132 deletions(-) commit afa9339e7106432af6622824d9c8c0a67bbf543c Author: William Jon McCann Date: Thu Feb 13 03:54:27 2014 -0500 volume-button: use symbolic icons by default gtk/gtkvolumebutton.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9b81131003a34f174b32a77113c048e8c044e937 Author: William Jon McCann Date: Thu Feb 13 03:51:25 2014 -0500 tests: fix volume button tests/testvolumebutton.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 352ea3a48d9608e0290d54e1e7d591dd260eee72 Author: Matthias Clasen Date: Thu Feb 13 20:34:54 2014 -0500 message-dialog: deprecate the image field We had already set the image to be hidden in the .ui file. This patch removes the image altogether, and deprecates the property, setter and getter. If an image is explicitly put with the setter, it is still shown, so to not break existing users of this API. Based on a patch by Jon McCann. gtk/gtkmessagedialog.c | 62 ++++++++++++++++-------------------- gtk/gtkmessagedialog.h | 4 +-- gtk/resources/ui/gtkmessagedialog.ui | 17 ---------- 3 files changed, 29 insertions(+), 54 deletions(-) commit 5888df4591f26b2a3a5111830c2f845ed5942770 Author: Daniel Mustieles Date: Thu Feb 13 16:55:29 2014 +0100 Updated Spanish translation po/es.po | 482 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 252 insertions(+), 230 deletions(-) commit 83e9d8ce0bd6b050a3f4d6cbdc09f5f367c20f35 Author: Piotr Drąg Date: Thu Feb 13 15:34:41 2014 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 2 ++ 1 file changed, 2 insertions(+) commit 2ec6123c2c7bc721af437ec6d7d8953a1ae3bc6a Author: Daniel Mustieles Date: Thu Feb 13 13:26:11 2014 +0100 Updated Spanish translation po-properties/es.po | 779 ++++++++++++++++++++++++++-------------------------- 1 file changed, 395 insertions(+), 384 deletions(-) commit b518da54007a8f9c2c9403ddf77955c1580aa985 Author: Yosef Or Boczko Date: Thu Feb 13 12:25:28 2014 +0200 Updated Hebrew translation po/he.po | 704 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 363 insertions(+), 341 deletions(-) commit 17040ae6a73e3752d1ccfd7bc261750962bdfc59 Author: Kjartan Maraas Date: Thu Feb 13 08:14:34 2014 +0100 Updated Norwegian bokmål translation po/nb.po | 209 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 107 insertions(+), 102 deletions(-) commit 6578c9d876b6a40003696f773acd801fbfa73921 Author: Matthias Clasen Date: Thu Feb 13 00:14:42 2014 -0500 Modernize the app chooser dialog This is according to suggestions in https://bugzilla.gnome.org/show_bug.cgi?id=724218 gtk/gtkappchooserdialog.c | 119 ++++++++++++++-------------- gtk/gtkappchooserwidget.c | 29 ++++--- gtk/resources/ui/gtkappchooserdialog.ui | 19 +++-- gtk/resources/ui/gtkappchooserdialog.ui.h | 3 +- gtk/resources/ui/gtkappchooserwidget.ui | 125 +++++++++++++++++++----------- gtk/resources/ui/gtkappchooserwidget.ui.h | 1 + 6 files changed, 170 insertions(+), 126 deletions(-) commit 3e02f52031c5101c1cf308fd2fea5f1c39ad25f9 Author: Ting-Wei Lan Date: Mon Feb 10 08:57:00 2014 +0000 Do not return things from a void function Reported in https://bugzilla.gnome.org/show_bug.cgi?id=724008 Author: Ting-Wei Lan gdk/x11/gdkwindow-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2671fa98f8c4b33f3fb8ffe60fcaae6785ff42cb Author: Matthias Clasen Date: Wed Feb 12 22:36:59 2014 -0500 Revert "gtkicontheme: Don't query CONTENT_TYPE to determine if something is an SVG" This reverts commit f929a613999bd4f895bb466f497b9d009cae4e85. It caused blurry icons in gnome-shell, and we haven't been able to track down why yet. gtk/gtkicontheme.c | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) commit a9ecde45ece01cf0b7acd37b671aa18dd64f0646 Author: William Jon McCann Date: Wed Feb 12 19:28:51 2014 -0500 docs: don't show bloatpad images in the docs They are too large and out of date. gtk/gtkapplication.c | 12 ------------ 1 file changed, 12 deletions(-) commit 37a8ee6e952fb8c837ffbabfe3a5068b08e75b13 Author: William Jon McCann Date: Wed Feb 12 16:09:09 2014 -0500 docs: fully break lines in examples Try to do a better job of keeping example content from being too wide. It is often rendered as
    text so the only time we can wrap it is in the source.

    It is best to full break lines at all punctuation and
    to try to keep the width under 70 chars or so.

 gtk/gtkaboutdialog.c         |  3 +-
 gtk/gtkaccelgroup.h          |  4 +--
 gtk/gtkactionable.c          |  2 +-
 gtk/gtkapplicationwindow.c   |  5 +++-
 gtk/gtkcontainer.c           | 38 ++++++++++++++++--------
 gtk/gtkdialog.c              | 70
 ++++++++++++++++++++++++--------------------
 gtk/gtkdnd.h                 |  6 ++--
 gtk/gtkentry.c               | 18 ++++++++----
 gtk/gtkenums.h               | 10 +++----
 gtk/gtkfilechooserdialog.c   | 52 +++++++++++++++++++++-----------
 gtk/gtkframe.h               |  3 +-
 gtk/gtkimage.c               |  9 +++---
 gtk/gtkinfobar.c             | 33 +++++++++++++--------
 gtk/gtklabel.c               |  9 ++++--
 gtk/gtklevelbar.c            | 30 +++++++++++--------
 gtk/gtkliststore.c           |  4 +--
 gtk/gtkmain.c                | 21 ++++++++-----
 gtk/gtkmessagedialog.c       | 32 ++++++++++++--------
 gtk/gtknotebook.c            | 22 +++++++-------
 gtk/gtkrecentchooserdialog.c | 13 +++++---
 gtk/gtksearchbar.c           | 15 ++++++----
 gtk/gtktogglebutton.c        | 28 ++++++++++++------
 gtk/gtktreemodel.c           | 41 +++++++++++++++++---------
 gtk/gtkwidget.c              | 69
 +++++++++++++++++++++++--------------------
 gtk/gtkwindow.c              | 39 ++++++++++++++----------
 25 files changed, 353 insertions(+), 223 deletions(-)

commit 74c48203f0a790ae6b6bb33cf7cf6ed2c3a4d3d5
Author: Piotr Drąg 
Date:   Wed Feb 12 17:28:09 2014 +0100

    Updated POTFILES.in

 po-properties/POTFILES.in | 1 +
 1 file changed, 1 insertion(+)

commit 70a2772afd5b50c56bc4ad64aa32374d5fce72b9
Author: William Jon McCann 
Date:   Sat Feb 8 17:20:06 2014 -0500

    tests: add a visibility toggle to the action bar test

    https://bugzilla.gnome.org/show_bug.cgi?id=723929

 tests/testactionbar.c | 28 +++++++++++++++++++++-------
 1 file changed, 21 insertions(+), 7 deletions(-)

commit d0a654e4b97cf5ff7bbab22a5fb1d6af8980f45a
Author: William Jon McCann 
Date:   Sat Feb 8 15:27:13 2014 -0500

    Add new ActionBar

    https://bugzilla.gnome.org/show_bug.cgi?id=723929

 gtk/Makefile.am                  |   1 +
 gtk/gtk.gresource.xml            |   1 +
 gtk/gtkactionbar.c               | 362
 +++++++++++++++++++++++++++++++++++++++
 gtk/gtkactionbar.h               |  78 +++++++++
 gtk/gtkcontainer.c               |   4 +-
 gtk/resources/ui/gtkactionbar.ui |  24 +++
 6 files changed, 468 insertions(+), 2 deletions(-)

commit c86ee0558ca395a3a595f59278f5e26b7adbb663
Author: William Jon McCann 
Date:   Sat Feb 8 11:26:21 2014 -0500

    Rename GtkActionBar to GtkCenterBox

    https://bugzilla.gnome.org/show_bug.cgi?id=723929

 docs/reference/gtk/gtk-docs.sgml       |   1 +
 docs/reference/gtk/gtk3-sections.txt   |  22 +++
 gtk/Makefile.am                        |   2 +
 gtk/gtk.h                              |   1 +
 gtk/{gtkactionbar.c => gtkcenterbox.c} | 262
 ++++++++++++++++-----------------
 gtk/{gtkactionbar.h => gtkcenterbox.h} |  40 ++---
 po/POTFILES.in                         |   1 +
 7 files changed, 178 insertions(+), 151 deletions(-)

commit d4ee15f57f08694533cbd0c056acd15d1af7ff39
Author: Andika Triwidada 
Date:   Wed Feb 12 04:56:17 2014 +0000

    Updated Indonesian translation

 po-properties/id.po | 3173
 +++++++++++++++++++++++++++------------------------
 1 file changed, 1656 insertions(+), 1517 deletions(-)

commit 9e002a024eb32acc0d28821fa3f9a4430346b8a3
Author: Matthias Clasen 
Date:   Tue Feb 11 22:00:12 2014 -0500

    GtkEntry: Fix a few irregularities in the size request code

    We don't want the size request to change as icons come and
    go (thinking e.g. about the caps lock warning). Just make
    sure that we have enough room for showing the icons.

 gtk/gtkentry.c | 26 ++++++++------------------
 1 file changed, 8 insertions(+), 18 deletions(-)

commit cf4a41a856b56bcab6edaaf0e0a4f17ed5853525
Author: Matthias Clasen 
Date:   Mon Feb 10 23:25:20 2014 -0500

    Add GtkEntry:max-width-chars

    This property allows specifying a natural width of
    the entry that is bigger than the minimum width.

    https://bugzilla.gnome.org/show_bug.cgi?id=724094

 docs/reference/gtk/gtk3-sections.txt |   2 +
 gtk/gtkentry.c                       | 111
 +++++++++++++++++++++++++++++++----
 gtk/gtkentry.h                       |   6 ++
 3 files changed, 107 insertions(+), 12 deletions(-)

commit b8a326ee16523dd496b0b7b009eafc597d77f395
Author: Victor Ibragimov 
Date:   Tue Feb 11 23:53:19 2014 +0500

    Tajik translation updated

 po-properties/tg.po | 971
 ++++++++++++++++++++++++++--------------------------
 1 file changed, 494 insertions(+), 477 deletions(-)

commit 3459a0a273b0f2eeffeb57555846a32c8751faa4
Author: Matthias Clasen 
Date:   Mon Feb 10 22:12:10 2014 -0500

    Revert "Introduce API to get the preferred visual"

    This reverts commit 2b95d1a34ed7cd70ea3eaaa9b7d8add200b5a9d2.

    Conflicts:
            gdk/gdkscreen.c

 docs/reference/gdk/gdk3-sections.txt |  1 -
 docs/reference/gtk/running.sgml      |  9 ---------
 gdk/gdkscreen.c                      | 30 ------------------------------
 gdk/gdkscreen.h                      |  2 --
 gdk/gdkscreenprivate.h               |  1 -
 gtk/gtkwidget.c                      |  9 ++-------
 6 files changed, 2 insertions(+), 50 deletions(-)

commit d32650797854927ebfbc969cd5844e8411b2eb11
Author: Matthias Clasen 
Date:   Mon Feb 10 22:10:36 2014 -0500

    Revert "Use gdk_screen_get_preferred_visual()"

    This reverts commit 30fa1426cfec1d83aab2640db06e19e104d5a5d7.

    See the bugs
    https://bugzilla.gnome.org/show_bug.cgi?id=724067
    https://bugzilla.gnome.org/show_bug.cgi?id=723740
    for the issues that are the reason for this revert.

 gdk/gdkwindow.c | 2 +-
 gtk/gtkwidget.c | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)

commit fefd3bf6ccb2fe001bdd63b6315ba50725bdfb71
Author: Matthias Clasen 
Date:   Mon Feb 10 09:08:47 2014 -0500

    menu button: Don't set use_popover to TRUE by default

    This was changed by accident. The default value is supposed
    to be FALSE, for now.

 gtk/gtkmenubutton.c | 1 -
 1 file changed, 1 deletion(-)

commit e891e0344f5163081edcf3b416e0a5e7f9786e82
Author: Daniel Mustieles 
Date:   Mon Feb 10 14:30:44 2014 +0100

    Updated Spanish translation

 po-properties/es.po | 2157
 ++++++++++++++++++++++++++-------------------------
 1 file changed, 1088 insertions(+), 1069 deletions(-)

commit a76bb2c177fbd9e6e0e896181b886b4c04e49bf8
Author: Murray Cumming 
Date:   Mon Feb 10 12:44:52 2014 +0100

    docs: Fix tiny typo.

 gtk/gtkflowbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 79ed2b790a228d243c030f3a104cf2066b681518
Author: Alejandro Piñeiro 
Date:   Fri Feb 7 17:44:14 2014 +0100

    a11y: remove implementation for component->get_size

    Recently get_size was removed because it was redundant, as
    you can get the same information from get_extents.

    https://bugzilla.gnome.org/show_bug.cgi?id=723863

 gtk/a11y/gtkwidgetaccessible.c | 16 ----------------
 1 file changed, 16 deletions(-)

commit ab03f9e6c44fc6acfee3db2556d3cf771de8480e
Author: Fran Diéguez 
Date:   Mon Feb 10 01:32:07 2014 +0100

    Updated Galician translations

 po-properties/gl.po | 974
 ++++++++++++++++++++++++++--------------------------
 1 file changed, 496 insertions(+), 478 deletions(-)

commit 7f6a964c47ad2f9dcf6a00044d938840ce8f01f2
Author: Matthias Clasen 
Date:   Sun Feb 9 17:24:06 2014 -0500

    Docs: Remove all entities and turn off sgml mode

    With all element markup gone, it is time to turn off
    sgml mode, and get rid of entities as well.

 docs/reference/gdk/Makefile.am   |  2 +-
 docs/reference/gtk/Makefile.am   |  2 +-
 gdk/gdkcolor.c                   | 18 ++++-----
 gdk/gdkdevice.c                  |  4 +-
 gdk/gdkdevicemanager.c           |  2 +-
 gdk/gdkdisplay.c                 |  4 +-
 gdk/gdkkeys.c                    | 28 ++++++--------
 gdk/gdkrgba.c                    |  4 +-
 gdk/gdkscreen.c                  |  4 +-
 gdk/wayland/gdkdisplay-wayland.c |  7 ++--
 gdk/x11/gdkmain-x11.c            |  7 ++--
 gtk/deprecated/gtkactiongroup.c  | 32 +++++++---------
 gtk/deprecated/gtkiconfactory.c  |  5 +--
 gtk/deprecated/gtkrc.c           | 81
 ++++++++++++++++++---------------------
 gtk/deprecated/gtkrecentaction.c |  4 +-
 gtk/deprecated/gtkuimanager.c    | 29 +++++++-------
 gtk/gtkaboutdialog.c             | 10 ++---
 gtk/gtkaccelgroup.c              | 23 ++++++-----
 gtk/gtkaccellabel.c              | 16 ++++----
 gtk/gtkaccelmap.c                |  4 +-
 gtk/gtkapplication.c             |  5 +--
 gtk/gtkapplicationwindow.c       | 21 +++++-----
 gtk/gtkbindings.c                | 29 +++++++-------
 gtk/gtkbuildable.c               |  2 +-
 gtk/gtkbuilder.c                 | 82
 ++++++++++++++++++++--------------------
 gtk/gtkcelllayout.c              | 21 +++++-----
 gtk/gtkcombobox.c                |  4 +-
 gtk/gtkcomboboxtext.c            | 15 ++++----
 gtk/gtkcontainer.c               |  7 ++--
 gtk/gtkcsscustomproperty.c       |  2 +-
 gtk/gtkcssprovider.c             | 22 +++++------
 gtk/gtkdialog.c                  | 10 ++---
 gtk/gtkdnd-quartz.c              |  2 +-
 gtk/gtkdnd.c                     |  8 ++--
 gtk/gtkdrawingarea.c             |  2 +-
 gtk/gtkexpander.c                |  9 ++---
 gtk/gtkfilechooser.c             |  2 +-
 gtk/gtkfilechooserbutton.c       |  2 +-
 gtk/gtkfilefilter.c              |  9 ++---
 gtk/gtkframe.c                   |  9 ++---
 gtk/gtkicontheme.c               | 10 ++---
 gtk/gtkiconview.c                |  4 +-
 gtk/gtkimage.c                   | 14 +++----
 gtk/gtkinfobar.c                 |  8 ++--
 gtk/gtklabel.c                   | 25 ++++++------
 gtk/gtkliststore.c               | 27 ++++++-------
 gtk/gtkmenu.c                    |  6 +--
 gtk/gtkmenubutton.c              |  1 +
 gtk/gtkmenuitem.c                |  6 +--
 gtk/gtkmenutoolbutton.c          |  4 +-
 gtk/gtkmessagedialog.c           |  2 +-
 gtk/gtknotebook.c                |  8 ++--
 gtk/gtkoverlay.c                 |  2 +-
 gtk/gtkpagesetup.c               |  2 +-
 gtk/gtkprinter.c                 |  6 +--
 gtk/gtkprintsettings.c           |  4 +-
 gtk/gtkradiobutton.c             |  2 +-
 gtk/gtkrecentfilter.c            | 12 +++---
 gtk/gtkrecentmanager.c           |  2 +-
 gtk/gtkscale.c                   | 14 +++----
 gtk/gtkselection.c               |  8 ++--
 gtk/gtksettings.c                |  6 +--
 gtk/gtkshow.c                    |  2 +-
 gtk/gtksizegroup.c               | 11 +++---
 gtk/gtksizerequest.c             | 10 ++---
 gtk/gtksocket.c                  |  2 +-
 gtk/gtkstylecontext.c            |  6 +--
 gtk/gtktextbufferrichtext.c      |  8 ++--
 gtk/gtktexttagtable.c            |  4 +-
 gtk/gtkthemingengine.c           |  2 +-
 gtk/gtktogglebutton.c            |  4 +-
 gtk/gtktoolbar.c                 |  8 ++--
 gtk/gtktoolbutton.c              |  2 +-
 gtk/gtktoolitem.c                |  6 +--
 gtk/gtktoolitemgroup.c           |  2 +-
 gtk/gtktoolpalette.c             | 10 ++---
 gtk/gtktreemodel.c               |  8 ++--
 gtk/gtktreemodelfilter.c         |  2 +-
 gtk/gtktreemodelsort.c           | 28 +++++++-------
 gtk/gtktreeselection.c           |  2 +-
 gtk/gtktreestore.c               |  6 +--
 gtk/gtktreeview.c                | 10 ++---
 gtk/gtkwidget.c                  | 65 ++++++++++++++++---------------
 gtk/gtkwidget.h                  |  2 +
 gtk/gtkwidgetpath.c              |  6 +--
 gtk/gtkwindow.c                  | 13 +++----
 86 files changed, 453 insertions(+), 488 deletions(-)

commit ab0574a88bc0105f6d7374a0f305fe5f0aaeb027
Author: Kjartan Maraas 
Date:   Sun Feb 9 20:02:39 2014 +0100

    Updated Norwegian bokmål translation

 po/nb.po | 2451
 +++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 1300 insertions(+), 1151 deletions(-)

commit 444d04a360abb1614a8bdb2b08dfb23fa963a284
Author: Matthias Clasen 
Date:   Sun Feb 9 01:22:07 2014 -0500

    More coding style cleanups

 gtk/gtkpopover.c | 177
 ++++++++++++++++++++++---------------------------------
 gtk/gtkpopover.h |   6 +-
 2 files changed, 74 insertions(+), 109 deletions(-)

commit eb0eaffd245546820ac55b78bf279ffcacf03e40
Author: Matthias Clasen 
Date:   Sun Feb 9 00:48:38 2014 -0500

    Trivial coding style cleanups

 gtk/gtkpopover.c        | 25 +++++++++++--------------
 gtk/gtkpopoverprivate.h |  2 +-
 2 files changed, 12 insertions(+), 15 deletions(-)

commit add7a8345217cce809cdaf71af1dfc58c4ade0ec
Author: Matthias Clasen 
Date:   Sat Feb 8 22:18:15 2014 -0500

    Trivial formatting fix

 gtk/gtkpopover.c | 2 +-
 gtk/gtkpopover.h | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

commit d1ba50aa966ca3786f685016e77372fd5ab227b9
Author: Matthias Clasen 
Date:   Sat Feb 8 22:17:28 2014 -0500

    Quell a compiler warning

 gtk/gtkpopover.c | 1 -
 1 file changed, 1 deletion(-)

commit 14ba1280ce1424497be2fb797807a362d14956b3
Author: Matthias Clasen 
Date:   Sat Feb 8 22:14:51 2014 -0500

    Improve popover positioning

    Improve the algorithm to determing popover placement:
    If it fits in the preferred direction or its opposite,
    do that, otherwise use the direction that causes the least
    of the popover to be cut off.

 gtk/gtkpopover.c | 56
 ++++++++++++++++++++++++++++++++++++++++++++------------
 1 file changed, 44 insertions(+), 12 deletions(-)

commit 9822d510a68e01db4468db7629d4e7fb40e7abcc
Author: Matthias Clasen 
Date:   Fri Feb 7 19:21:49 2014 -0500

    GtkMenuButton: Support popovers

    Add api to allow explicitly setting a GtkPopover instead of
    a GtkMenu as the popup of a GtkMenuButton. Also, add api to
    instruct the menu button to construct a popover when given
    a menu model.

    We set the style class "menu-button" on the button only when
    it pops up a menu, to allow different treatment for the active
    state of the button in the two cases.

    https://bugzilla.gnome.org/show_bug.cgi?id=723878

 docs/reference/gtk/gtk3-sections.txt |   4 +
 gtk/gtkmenubutton.c                  | 443
 +++++++++++++++++++++++++++--------
 gtk/gtkmenubutton.h                  |  17 +-
 3 files changed, 364 insertions(+), 100 deletions(-)

commit 552c29b488ecd7bcc3303dd5514ce6dbfff04437
Author: Juan R. García Blanco 
Date:   Tue Feb 4 22:33:25 2014 +0100

    GtkPopover: use GdkRectangle instead of cairo_rectangle_int_t

    cairo_rectangle_int_t replaced by GdkRectangle whenever it is used.
    Also, rect parameter in public method gtk_popover_set_pointing_to
    made const.

    Bug #723394

 gtk/gtkpopover.c | 24 ++++++++++++------------
 gtk/gtkpopover.h |  6 +++---
 2 files changed, 15 insertions(+), 15 deletions(-)

commit e2a2d5012e7083bed1c15c4ddce5cff88d577e21
Author: Matthias Clasen 
Date:   Fri Feb 7 22:36:24 2014 -0500

    GtkDialog: Make headerbar buttons homogeneous

    The buttons in headerbars should be all the same width. Since
    GtkHeaderBar doesn't have a homogeneous mode, use a size group
    to achieve this.

    https://bugzilla.gnome.org/show_bug.cgi?id=723672

 gtk/gtkdialog.c | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

commit dbf1521ad4cd25ff7eaa66647fa4e6ab792259be
Author: Juan R. García Blanco 
Date:   Wed Feb 5 22:10:05 2014 +0100

    GtkFlowBox::child-activated: fix param type in g_signal_connect

    Replace GTK_TYPE_WIDGET with more specific GTK_TYPE_FLOW_BOX_CHILD
    for GtkFlowBox::child-activated. This matches signature of
    child_activated slot in class struct.

    https://bugzilla.gnome.org/show_bug.cgi?id=723716

 gtk/gtkflowbox.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit eb14b0018746ae2cd68bb90495d2a871deba6192
Author: William Jon McCann 
Date:   Fri Feb 7 21:34:27 2014 -0500

    docs: fix typo

 gtk/gtkcssprovider.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 01b24403700ca8c875d099d9db22165d19ae8725
Author: William Jon McCann 
Date:   Fri Feb 7 20:52:37 2014 -0500

    docs: rewrite the CSS Properties docs

 gtk/gtkcssprovider.c | 779
 +++++++++++++++++++++++++++++----------------------
 1 file changed, 445 insertions(+), 334 deletions(-)

commit 7067b3c326c8fd07a0abb64968ff41a772b1b2de
Author: William Jon McCann 
Date:   Fri Feb 7 18:25:42 2014 -0500

    docs: don't use a table for the region docs

 gtk/gtkstylecontext.c | 51
 +++++++++++++--------------------------------------
 1 file changed, 13 insertions(+), 38 deletions(-)

commit f5e540d71a1b8f854622997212593c8f56830647
Author: William Jon McCann 
Date:   Fri Feb 7 17:35:22 2014 -0500

    docs: improve the cssprovider documentation layout

 gtk/gtkcssprovider.c | 450
 ++++++++++++++++++++++++++++++---------------------
 1 file changed, 264 insertions(+), 186 deletions(-)

commit c823498b4c5a033ae3040be2f2ee85f30e63cd3d
Author: Matthias Clasen 
Date:   Fri Feb 7 20:25:12 2014 -0500

    Fix margin-start/end property implementation

    The properties are declared read-write, but only the setter
    was hooked up. This was leading to criticals in test apps using
    the prop-editor.c code. Complete the implementation by adding the
    getter side too.

 gtk/gtkwidget.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit bfe8a354cdd82ded6e38e8c38849e1ecc1b2f90c
Author: Jasper St. Pierre 
Date:   Fri Feb 7 17:20:14 2014 -0500

    wayland: Add support for set_shadow_width

 gdk/wayland/gdkwindow-wayland.c    | 19 ++++++++++++++++++-
 gdk/wayland/protocol/xdg-shell.xml | 26 ++++++++++++++++++++++++++
 2 files changed, 44 insertions(+), 1 deletion(-)

commit c52e710dc834e42ff2fe46cd7fb2e81e25f8f4ac
Author: Jasper St. Pierre 
Date:   Fri Feb 7 17:16:40 2014 -0500

    wayland: Add support for delete event

 gdk/wayland/gdkwindow-wayland.c    | 19 +++++++++++++++++++
 gdk/wayland/protocol/xdg-shell.xml | 13 +++++++++++++
 2 files changed, 32 insertions(+)

commit b14e86fad2131019e5da0913c714d6e7ee5381a5
Author: Jasper St. Pierre 
Date:   Fri Feb 7 17:16:28 2014 -0500

    wayland: Remove edges from configure

 gdk/wayland/gdkwindow-wayland.c    | 40
 +++++++++++++++++---------------------
 gdk/wayland/protocol/xdg-shell.xml |  1 -
 2 files changed, 18 insertions(+), 23 deletions(-)

commit 1859d7631baddb5e35888b7f1bf8caea59fa0dac
Author: Jasper St. Pierre 
Date:   Thu Feb 6 11:44:30 2014 -0500

    gdkthreads: Update documentation

 gdk/gdk.c | 232
 ++++++++------------------------------------------------------
 1 file changed, 29 insertions(+), 203 deletions(-)

commit 326da2da58ff90ce9c816923d6c6533ce99adb3e
Author: William Jon McCann 
Date:   Fri Feb 7 15:37:02 2014 -0500

    docs: don't use 

 gtk/deprecated/gtkrc.c     | 16 +++++++++-------
 gtk/gtkbindings.h          |  1 -
 gtk/gtkcombobox.c          |  6 +++---
 gtk/gtkdialog.c            |  2 +-
 gtk/gtkentry.c             | 18 +++++++++---------
 gtk/gtkfilechooserwidget.c | 22 +++++++++++-----------
 gtk/gtkflowbox.c           | 12 ++++++------
 gtk/gtkiconview.c          | 12 ++++++------
 gtk/gtkinfobar.c           |  2 +-
 gtk/gtklabel.c             |  6 +++---
 gtk/gtkpaned.c             | 12 ++++++------
 gtk/gtkscalebutton.c       |  4 ++--
 gtk/gtkscrolledwindow.c    |  4 ++--
 gtk/gtktextview.c          | 24 ++++++++++++------------
 gtk/gtkwindow.c            |  4 ++--
 15 files changed, 73 insertions(+), 72 deletions(-)

commit 59099cd6e7abe620e02c08d746ec60ce3e07eeed
Author: Matthias Clasen 
Date:   Sun Jan 26 08:02:28 2014 -0500

    Add a test for model-based popovers

    https://bugzilla.gnome.org/show_bug.cgi?id=723014

 tests/Makefile.am   |   4 +-
 tests/popover.ui    | 118
 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 tests/testpopover.c |  71 +++++++++++++++++++++++++++++++
 3 files changed, 192 insertions(+), 1 deletion(-)

commit 2fea2d4dbd700a60c41f07e8bfc44e05d0ef1f26
Author: Matthias Clasen 
Date:   Fri Feb 7 14:51:49 2014 -0500

    Populate popovers from menu models

    This adds a new function, gtk_popover_new_from_model, which creates
    a popover and populates it with suitable content according to the
    menu model. The current implementation uses GtkModelButton for the
    individual items, and a GtkStack for submenus.

    https://bugzilla.gnome.org/show_bug.cgi?id=723014

 docs/reference/gtk/gtk3-sections.txt |   1 +
 gtk/gtkpopover.c                     | 328
 +++++++++++++++++++++++++++++++++++
 gtk/gtkpopover.h                     |   4 +
 3 files changed, 333 insertions(+)

commit bf9ce3ad2534d167e38689c8f4e67d0e5079c087
Author: Matthias Clasen 
Date:   Fri Feb 7 14:51:34 2014 -0500

    Introduce GtkModelButton

    Similar in spirit to GtkModelMenuItem, this private GtkButton subclass
    can connect to a GtkMenuTrackerItem and present itself as either a
    regular button, a check button, or a radio button. Activation and
    state tracking is done through the GAction that is associated with
    the menu tracker item.

    https://bugzilla.gnome.org/show_bug.cgi?id=723014

 gtk/Makefile.am      |   2 +
 gtk/gtkmodelbutton.c | 604
 +++++++++++++++++++++++++++++++++++++++++++++++++++
 gtk/gtkmodelbutton.h |  41 ++++
 3 files changed, 647 insertions(+)

commit 13998c55e757c28c7a80b5ad47f82ef62ee57bf6
Author: William Jon McCann 
Date:   Fri Feb 7 14:03:49 2014 -0500

    docs: use proper quotations instead of '*'

 gdk/gdk.c                        |  2 +-
 gdk/gdkcolor.c                   | 10 +++++-----
 gdk/gdkcursor.c                  |  8 ++++----
 gdk/gdkevents.h                  |  2 +-
 gdk/gdkrgba.c                    | 14 +++++++-------
 gdk/gdkscreen.c                  |  2 +-
 gdk/keyname-table.h              |  6 +++---
 gdk/quartz/gdkeventloop-quartz.c |  2 +-
 gtk/deprecated/gtkcolorsel.c     |  6 +++---
 gtk/deprecated/gtkfontsel.c      | 12 ++++++------
 gtk/deprecated/gtkhbbox.c        |  2 +-
 gtk/deprecated/gtkhsv.c          |  4 ++--
 gtk/deprecated/gtkrc.c           |  4 ++--
 gtk/deprecated/gtktable.c        |  2 +-
 gtk/deprecated/gtkuimanager.c    |  6 +++---
 gtk/deprecated/gtkvbbox.c        |  2 +-
 gtk/gtkaboutdialog.c             |  2 +-
 gtk/gtkactionmuxer.c             |  4 ++--
 gtk/gtkapplication.c             |  4 ++--
 gtk/gtkbbox.c                    |  2 +-
 gtk/gtkbindings.c                |  2 +-
 gtk/gtkbutton.c                  |  2 +-
 gtk/gtkcairoblur.c               |  4 ++--
 gtk/gtkcellrenderer.c            |  2 +-
 gtk/gtkcombobox.c                |  2 +-
 gtk/gtkcomboboxtext.c            |  2 +-
 gtk/gtkcsscustomproperty.c       |  2 +-
 gtk/gtkcssprovider.c             | 22 +++++++++++-----------
 gtk/gtkdialog.c                  |  4 ++--
 gtk/gtkentry.c                   |  2 +-
 gtk/gtkenums.h                   |  4 ++--
 gtk/gtkexpander.c                |  2 +-
 gtk/gtkfilechooserwidget.c       |  2 +-
 gtk/gtkgrid.c                    |  2 +-
 gtk/gtkicontheme.c               |  4 ++--
 gtk/gtkimmodule.c                |  8 ++++----
 gtk/gtkinfobar.c                 |  2 +-
 gtk/gtklabel.c                   |  2 +-
 gtk/gtklinkbutton.c              | 10 +++++-----
 gtk/gtkmenu.c                    |  2 +-
 gtk/gtkmenubutton.c              |  2 +-
 gtk/gtkmenushell.c               |  2 +-
 gtk/gtkmenutracker.c             |  2 +-
 gtk/gtknotebook.c                | 14 +++++++-------
 gtk/gtkorientable.c              |  2 +-
 gtk/gtkpango.c                   |  2 +-
 gtk/gtkstylecontext.c            |  4 ++--
 gtk/gtkstylecontext.h            |  4 ++--
 gtk/gtktestutils.c               |  2 +-
 gtk/gtktogglebutton.c            |  4 ++--
 gtk/gtktoggletoolbutton.c        |  2 +-
 gtk/gtktoolbutton.c              |  2 +-
 gtk/gtktreemodel.c               |  6 +++---
 gtk/gtktreemodelsort.c           |  4 ++--
 gtk/gtktreeselection.c           |  2 +-
 gtk/gtkwidget.c                  |  4 ++--
 gtk/gtkwidget.h                  |  2 +-
 gtk/gtkwidgetpath.c              |  2 +-
 gtk/gtkwindow.c                  |  6 +++---
 gtk/updateiconcache.c            |  2 +-
 60 files changed, 124 insertions(+), 124 deletions(-)

commit 4dee965116da4b45ec51411ed27928f6fc0845ba
Author: William Jon McCann 
Date:   Fri Feb 7 13:42:09 2014 -0500

    docs: use apostrophe in *'m

 gtk/gtkpapersize.c    | 2 +-
 gtk/gtkradiobutton.c  | 2 +-
 gtk/gtktogglebutton.c | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

commit cb6483d382e1529ba94cf3e597ee3fe116745c8b
Author: William Jon McCann 
Date:   Fri Feb 7 13:39:53 2014 -0500

    docs: use apostrophe in *'d

 gtk/deprecated/gtkiconfactory.c | 4 ++--
 gtk/gtkdialog.c                 | 4 ++--
 gtk/gtkenums.h                  | 2 +-
 gtk/gtklayout.c                 | 2 +-
 gtk/gtktextiter.c               | 2 +-
 gtk/gtktextview.c               | 2 +-
 gtk/gtkwidget.c                 | 2 +-
 gtk/gtkwindow.c                 | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

commit fa3f1e1488b889edefbfddd593964c2047d62d2c
Author: William Jon McCann 
Date:   Fri Feb 7 13:38:26 2014 -0500

    docs: use apostrophe in *'ve

 gtk/gtkcontainer.c     | 2 +-
 gtk/gtkdialog.c        | 2 +-
 gtk/gtkdnd.c           | 2 +-
 gtk/gtkmain.c          | 2 +-
 gtk/gtkpapersize.c     | 2 +-
 gtk/gtkprintsettings.c | 2 +-
 gtk/gtktoolbar.c       | 2 +-
 gtk/gtkwidget.c        | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

commit a4b5929e81b526cbc92e47a6fa1096a0e44209cb
Author: William Jon McCann 
Date:   Fri Feb 7 13:37:09 2014 -0500

    docs: use apostrophe in *'re

 gdk/gdkpango.c                  |  4 ++--
 gdk/gdkpixbuf-drawable.c        |  2 +-
 gdk/gdkscreen.c                 |  4 ++--
 gdk/gdkvisual.c                 |  2 +-
 gdk/gdkwindow.c                 | 14 +++++++-------
 gtk/deprecated/gtkactiongroup.c |  4 ++--
 gtk/deprecated/gtkuimanager.c   |  2 +-
 gtk/gtkaccelgroup.c             |  2 +-
 gtk/gtkaccelmap.c               |  2 +-
 gtk/gtkcellrenderertoggle.c     |  4 ++--
 gtk/gtkenums.h                  |  2 +-
 gtk/gtkfontbutton.c             |  2 +-
 gtk/gtklabel.c                  |  2 +-
 gtk/gtklayout.c                 |  2 +-
 gtk/gtkprinter.c                |  2 +-
 gtk/gtkselection.c              |  2 +-
 gtk/gtkstylecontext.h           |  2 +-
 gtk/gtktextbuffer.c             |  4 ++--
 gtk/gtktextiter.c               |  4 ++--
 gtk/gtktextmark.c               |  2 +-
 gtk/gtktextsegment.c            |  2 +-
 gtk/gtktreeviewcolumn.c         |  2 +-
 gtk/gtkwidget.c                 |  8 ++++----
 gtk/gtkwindow.c                 |  2 +-
 24 files changed, 39 insertions(+), 39 deletions(-)

commit 285d216d3e100496e4c732c2e15741c4bb50ddbc
Author: William Jon McCann 
Date:   Fri Feb 7 13:35:54 2014 -0500

    docs: use apostrophe in *'ll

 gdk/gdkpango.c                  | 2 +-
 gdk/gdkwindow.c                 | 2 +-
 gdk/x11/gdkkeys-x11.c           | 2 +-
 gtk/deprecated/gtkiconfactory.c | 2 +-
 gtk/gtkaccelmap.c               | 2 +-
 gtk/gtkdrawingarea.c            | 2 +-
 gtk/gtkentry.c                  | 2 +-
 gtk/gtkfilesystem.c             | 2 +-
 gtk/gtkicontheme.c              | 2 +-
 gtk/gtklabel.c                  | 2 +-
 gtk/gtkplacessidebar.c          | 2 +-
 gtk/gtkscale.c                  | 2 +-
 gtk/gtkselectionprivate.h       | 2 +-
 gtk/gtktestutils.c              | 6 +++---
 gtk/gtktextbuffer.c             | 2 +-
 gtk/gtkwindow.c                 | 2 +-
 16 files changed, 18 insertions(+), 18 deletions(-)

commit e34bd4137d4fba33b2cbea927fdcc829b1983aaa
Author: William Jon McCann 
Date:   Fri Feb 7 13:32:47 2014 -0500

    docs: use apostrophes in *n't

 gdk/broadway/broadway-buffer.c    |  2 +-
 gdk/gdk.c                         | 12 +++----
 gdk/gdkdeprecated.c               |  2 +-
 gdk/gdkdevice.c                   |  6 ++--
 gdk/gdkdevicemanager.c            |  6 ++--
 gdk/gdkdisplay.c                  |  4 +--
 gdk/gdkdisplaymanager.c           |  2 +-
 gdk/gdkdnd.h                      |  2 +-
 gdk/gdkevents.c                   |  6 ++--
 gdk/gdkevents.h                   |  2 +-
 gdk/gdkkeys.c                     |  6 ++--
 gdk/gdkoffscreenwindow.c          |  2 +-
 gdk/gdkpixbuf-drawable.c          |  2 +-
 gdk/gdkproperty.c                 |  2 +-
 gdk/gdkscreen.c                   |  6 ++--
 gdk/gdkwindow.c                   | 72
 +++++++++++++++++++--------------------
 gdk/gdkwindow.h                   |  6 ++--
 gdk/quartz/gdkeventloop-quartz.c  |  6 ++--
 gdk/wayland/gdkwindow-wayland.c   |  2 +-
 gdk/win32/gdkdnd-win32.c          |  6 ++--
 gdk/win32/gdkevents-win32.c       |  4 +--
 gdk/win32/gdkmain-win32.c         |  4 +--
 gdk/x11/gdkapplaunchcontext-x11.c |  8 ++---
 gdk/x11/gdkdevicemanager-x11.c    |  2 +-
 gdk/x11/gdkdisplay-x11.c          |  4 +--
 gdk/x11/gdkdnd-x11.c              |  2 +-
 gdk/x11/gdkproperty-x11.c         |  8 ++---
 gdk/x11/gdkscreen-x11.c           |  2 +-
 gdk/x11/gdkselection-x11.c        |  2 +-
 gdk/x11/gdkvisual-x11.c           |  2 +-
 gdk/x11/gdkwindow-x11.c           |  2 +-
 gtk/deprecated/gtkaction.c        | 10 +++---
 gtk/deprecated/gtkactiongroup.c   |  2 +-
 gtk/deprecated/gtkcolorsel.c      |  2 +-
 gtk/deprecated/gtkfontsel.c       |  2 +-
 gtk/deprecated/gtkgradient.c      |  2 +-
 gtk/deprecated/gtkhbox.c          |  2 +-
 gtk/deprecated/gtkiconfactory.c   | 24 ++++++-------
 gtk/deprecated/gtkiconfactory.h   |  2 +-
 gtk/deprecated/gtkrc.c            |  6 ++--
 gtk/deprecated/gtkstock.c         |  2 +-
 gtk/deprecated/gtkstyle.c         |  8 ++---
 gtk/deprecated/gtksymboliccolor.c |  4 +--
 gtk/deprecated/gtkuimanager.c     |  2 +-
 gtk/deprecated/gtkvbox.c          |  2 +-
 gtk/fnmatch.c                     |  2 +-
 gtk/gtkaccelgroup.c               |  2 +-
 gtk/gtkaccelmap.c                 |  8 ++---
 gtk/gtkalignment.c                |  2 +-
 gtk/gtkassistant.c                |  2 +-
 gtk/gtkassistant.h                |  2 +-
 gtk/gtkbitmaskprivate.h           |  2 +-
 gtk/gtkbuilder.c                  |  2 +-
 gtk/gtkbuilder.h                  | 10 +++---
 gtk/gtkbutton.c                   |  6 ++--
 gtk/gtkcalendar.c                 |  2 +-
 gtk/gtkcellrenderer.c             |  4 +--
 gtk/gtkcellrenderer.h             |  4 +--
 gtk/gtkcheckmenuitem.c            |  2 +-
 gtk/gtkclipboard-quartz.c         |  2 +-
 gtk/gtkclipboard.c                | 14 ++++----
 gtk/gtkcombobox.c                 |  2 +-
 gtk/gtkcontainer.c                | 20 +++++------
 gtk/gtkcssparserprivate.h         |  2 +-
 gtk/gtkcssprovider.c              |  4 +--
 gtk/gtkcssstyleproperty.c         |  2 +-
 gtk/gtkdialog.c                   |  6 ++--
 gtk/gtkdnd-quartz.c               |  4 +--
 gtk/gtkdnd.c                      |  2 +-
 gtk/gtkeditable.c                 |  2 +-
 gtk/gtkentry.c                    | 12 +++----
 gtk/gtkentrycompletion.c          |  2 +-
 gtk/gtkenums.h                    | 14 ++++----
 gtk/gtkeventbox.c                 |  8 ++---
 gtk/gtkfilechooser.c              | 12 +++----
 gtk/gtkfilechooserbutton.c        |  4 +--
 gtk/gtkfilechooserutils.c         |  2 +-
 gtk/gtkfilechooserwidget.c        |  4 +--
 gtk/gtkfilefilter.c               |  4 +--
 gtk/gtkfixed.c                    |  4 +--
 gtk/gtkflowbox.c                  |  2 +-
 gtk/gtkfontchooserutils.c         |  2 +-
 gtk/gtkframe.c                    |  2 +-
 gtk/gtkicontheme.c                | 24 ++++++-------
 gtk/gtkicontheme.h                |  2 +-
 gtk/gtkiconview.c                 |  4 +--
 gtk/gtkimage.c                    | 14 ++++----
 gtk/gtkimcontext.c                |  2 +-
 gtk/gtkimcontextsimple.c          |  2 +-
 gtk/gtkkeyhash.c                  |  2 +-
 gtk/gtklabel.c                    |  4 +--
 gtk/gtklayout.c                   |  2 +-
 gtk/gtklistbox.c                  |  6 ++--
 gtk/gtkliststore.c                |  2 +-
 gtk/gtkmain.c                     | 20 +++++------
 gtk/gtkmenu.c                     |  2 +-
 gtk/gtkmenubutton.c               |  2 +-
 gtk/gtkmenushell.c                | 10 +++---
 gtk/gtkmessagedialog.c            |  2 +-
 gtk/gtkmodules.c                  |  2 +-
 gtk/gtkpagesetupunixdialog.c      |  2 +-
 gtk/gtkprintjob.c                 |  2 +-
 gtk/gtkprintoperation.c           |  4 +--
 gtk/gtkprintsettings.c            |  2 +-
 gtk/gtkprintunixdialog.c          |  6 ++--
 gtk/gtkprivate.c                  |  4 +--
 gtk/gtkprogressbar.c              |  2 +-
 gtk/gtkquartz.c                   |  2 +-
 gtk/gtkrecentchooser.c            |  4 +--
 gtk/gtkrecentchooserutils.c       |  2 +-
 gtk/gtkrecentfilter.c             |  2 +-
 gtk/gtkscrolledwindow.c           | 10 +++---
 gtk/gtksearchbar.c                |  2 +-
 gtk/gtksearchenginetracker.c      |  2 +-
 gtk/gtkselection.c                |  8 ++---
 gtk/gtksizegroup-private.h        |  2 +-
 gtk/gtksizegroup.c                |  2 +-
 gtk/gtkstatusicon.c               |  4 +--
 gtk/gtkstyleprovider.c            |  2 +-
 gtk/gtktextbtree.c                |  2 +-
 gtk/gtktextbuffer.c               | 14 ++++----
 gtk/gtktextiter.c                 | 28 +++++++--------
 gtk/gtktextiter.h                 |  4 +--
 gtk/gtktextlayout.c               |  2 +-
 gtk/gtktextsegment.c              |  2 +-
 gtk/gtktexttagtable.c             |  4 +--
 gtk/gtktextview.c                 | 16 ++++-----
 gtk/gtkthemingengine.c            |  2 +-
 gtk/gtktogglebutton.c             |  2 +-
 gtk/gtktoolbar.c                  |  4 +--
 gtk/gtktoolbutton.c               |  2 +-
 gtk/gtktreednd.c                  |  6 ++--
 gtk/gtktreemodel.c                | 10 +++---
 gtk/gtktreemodelfilter.c          |  8 ++---
 gtk/gtktreemodelsort.c            |  6 ++--
 gtk/gtktreesortable.c             |  2 +-
 gtk/gtktreeview.c                 |  8 ++---
 gtk/gtktreeviewcolumn.c           |  2 +-
 gtk/gtkwidget.c                   | 64 +++++++++++++++++-----------------
 gtk/gtkwindow.c                   | 72
 +++++++++++++++++++--------------------
 140 files changed, 436 insertions(+), 436 deletions(-)

commit f0000b2f3d3de91a1814d3e243a0e0a301c9f255
Author: William Jon McCann 
Date:   Fri Feb 7 13:26:12 2014 -0500

    docs: use more apostrophes

 gdk/gdktypes.h                |  6 +++---
 gtk/deprecated/gtkuimanager.h |  2 +-
 gtk/gtkcelllayout.c           |  4 ++--
 gtk/gtkcssprovider.c          |  2 +-
 gtk/gtkscale.c                |  2 +-
 gtk/gtkscrollable.c           |  4 ++--
 gtk/gtkstylecontext.c         | 16 ++++++++--------
 gtk/gtktextbtree.c            | 40
 ++++++++++++++++++++--------------------
 8 files changed, 38 insertions(+), 38 deletions(-)

commit 7a208fbbf3d28c8b5bfeb1c612d60305ab3a235e
Author: William Jon McCann 
Date:   Fri Feb 7 13:01:26 2014 -0500

    docs: use proper apostrophe

    https://wiki.gnome.org/Design/OS/Typography

 gdk/gdkdevice.c                    |   4 +-
 gdk/gdkdevice.h                    |   6 +-
 gdk/gdkdisplay.c                   |   6 +-
 gdk/gdkevents.c                    |   6 +-
 gdk/gdkevents.h                    |   4 +-
 gdk/gdkframeclock.c                |   4 +-
 gdk/gdkframetimings.c              |   4 +-
 gdk/gdkkeys.c                      |   4 +-
 gdk/gdkpango.c                     |   8 +-
 gdk/gdkpixbuf-drawable.c           |   2 +-
 gdk/gdkrectangle.c                 |   4 +-
 gdk/gdkrgba.c                      |   2 +-
 gdk/gdkscreen.c                    |   8 +-
 gdk/gdktypes.h                     |   2 +-
 gdk/gdkvisual.c                    |   8 +-
 gdk/gdkwindow.c                    |  74 +++++++++---------
 gdk/gdkwindow.h                    |  10 +--
 gdk/quartz/gdkeventloop-quartz.c   |   4 +-
 gdk/quartz/gdkwindow-quartz.c      |   4 +-
 gdk/win32/gdkdnd-win32.c           |   4 +-
 gdk/win32/gdkevents-win32.c        |   6 +-
 gdk/win32/gdkmain-win32.c          |   2 +-
 gdk/x11/gdkcursor-x11.c            |   2 +-
 gdk/x11/gdkdisplay-x11.c           |  10 +--
 gdk/x11/gdkkeys-x11.c              |   4 +-
 gdk/x11/gdkproperty-x11.c          |   8 +-
 gdk/x11/gdkwindow-x11.c            |   2 +-
 gtk/deprecated/gtkaction.c         |   8 +-
 gtk/deprecated/gtkactiongroup.c    |   2 +-
 gtk/deprecated/gtkactivatable.c    |   2 +-
 gtk/deprecated/gtkactivatable.h    |   2 +-
 gtk/deprecated/gtkcolorseldialog.c |   2 +-
 gtk/deprecated/gtkgradient.c       |   2 +-
 gtk/deprecated/gtkhandlebox.c      |   2 +-
 gtk/deprecated/gtkhscale.c         |   4 +-
 gtk/deprecated/gtkiconfactory.c    |   6 +-
 gtk/deprecated/gtkrc.c             |   2 +-
 gtk/deprecated/gtkstock.c          |   2 +-
 gtk/deprecated/gtkstyle.c          |  20 ++---
 gtk/deprecated/gtktable.c          |   2 +-
 gtk/deprecated/gtkvscale.c         |   4 +-
 gtk/gtkaboutdialog.c               |   2 +-
 gtk/gtkaccelgroup.c                |   2 +-
 gtk/gtkaccelmap.c                  |   2 +-
 gtk/gtkaccessible.c                |   2 +-
 gtk/gtkactionable.c                |   2 +-
 gtk/gtkadjustment.c                |   2 +-
 gtk/gtkappchooserwidget.h          |   4 +-
 gtk/gtkassistant.c                 |   6 +-
 gtk/gtkassistant.h                 |   4 +-
 gtk/gtkbindings.c                  |   2 +-
 gtk/gtkbox.c                       |   4 +-
 gtk/gtkbuilder.c                   |  14 ++--
 gtk/gtkbuilder.h                   |   2 +-
 gtk/gtkbutton.c                    |   4 +-
 gtk/gtkcellarea.c                  |  54 ++++++-------
 gtk/gtkcellarea.h                  |   2 +-
 gtk/gtkcellareacontext.c           |   4 +-
 gtk/gtkcellareacontext.h           |   4 +-
 gtk/gtkcelllayout.h                |   2 +-
 gtk/gtkcellrenderer.c              |  24 +++---
 gtk/gtkcellrenderer.h              |   8 +-
 gtk/gtkcellview.c                  |   2 +-
 gtk/gtkcheckmenuitem.c             |   2 +-
 gtk/gtkclipboard.c                 |   8 +-
 gtk/gtkcombobox.c                  |  14 ++--
 gtk/gtkcombobox.h                  |   2 +-
 gtk/gtkcontainer.c                 |  24 +++---
 gtk/gtkcontainer.h                 |   2 +-
 gtk/gtkcssprovider.c               |   6 +-
 gtk/gtkcsssection.h                |   2 +-
 gtk/gtkcssstyleproperty.c          |   2 +-
 gtk/gtkdialog.c                    |  18 ++---
 gtk/gtkdnd-quartz.c                |  20 ++---
 gtk/gtkdnd.c                       |  28 +++----
 gtk/gtkdnd.h                       |   4 +-
 gtk/gtkdrawingarea.c               |   6 +-
 gtk/gtkentry.c                     |  30 ++++----
 gtk/gtkentrybuffer.c               |   2 +-
 gtk/gtkentrycompletion.c           |   8 +-
 gtk/gtkenums.h                     |   4 +-
 gtk/gtkexpander.c                  |   8 +-
 gtk/gtkfilechooser.c               |  30 ++++----
 gtk/gtkfilechooser.h               |   4 +-
 gtk/gtkfilechooserbutton.c         |   6 +-
 gtk/gtkfilechooserdialog.c         |   2 +-
 gtk/gtkfilechooserwidget.c         |   6 +-
 gtk/gtkfilesystemmodel.c           |   2 +-
 gtk/gtkflowbox.c                   |   4 +-
 gtk/gtkframe.c                     |  10 +--
 gtk/gtkgladecatalog.c              |   2 +-
 gtk/gtkgrid.c                      |   2 +-
 gtk/gtkicontheme.c                 |  10 +--
 gtk/gtkiconview.c                  |  24 +++---
 gtk/gtkimage.c                     |   4 +-
 gtk/gtkimcontext.c                 |   2 +-
 gtk/gtkinfobar.c                   |   4 +-
 gtk/gtkkeyhash.c                   |   2 +-
 gtk/gtklabel.c                     |  38 +++++-----
 gtk/gtklayout.c                    |   6 +-
 gtk/gtklevelbar.c                  |   4 +-
 gtk/gtkliststore.c                 |   2 +-
 gtk/gtkmain.c                      |   4 +-
 gtk/gtkmenu.c                      |   2 +-
 gtk/gtkmenubutton.c                |   2 +-
 gtk/gtkmenuitem.c                  |   8 +-
 gtk/gtkmenushell.c                 |   2 +-
 gtk/gtkmenutoolbutton.c            |   4 +-
 gtk/gtkmenutracker.c               |   2 +-
 gtk/gtkmenutrackeritem.c           |   4 +-
 gtk/gtkmessagedialog.c             |  12 +--
 gtk/gtknumerableicon.c             |   6 +-
 gtk/gtkorientable.c                |   2 +-
 gtk/gtkpaned.c                     |   4 +-
 gtk/gtkplacessidebar.c             |  10 +--
 gtk/gtkplacessidebar.h             |   2 +-
 gtk/gtkplug.c                      |  12 +--
 gtk/gtkprinter.c                   |  12 +--
 gtk/gtkprivate.c                   |   2 +-
 gtk/gtkprogressbar.c               |   4 +-
 gtk/gtkquartz.c                    |   2 +-
 gtk/gtkradiobutton.c               |   2 +-
 gtk/gtkrange.c                     |  34 ++++-----
 gtk/gtkrecentchoosermenu.c         |   2 +-
 gtk/gtkrecentmanager.c             |  18 ++---
 gtk/gtkscale.c                     |   6 +-
 gtk/gtkscalebutton.c               |   4 +-
 gtk/gtkscrollable.c                |   2 +-
 gtk/gtkscrollbar.c                 |   2 +-
 gtk/gtkscrolledwindow.c            |  20 ++---
 gtk/gtksearchbar.c                 |   2 +-
 gtk/gtkselection.c                 |   4 +-
 gtk/gtkseparator.c                 |   2 +-
 gtk/gtksizerequest.c               |  14 ++--
 gtk/gtksocket.c                    |   8 +-
 gtk/gtkspinbutton.c                |  10 +--
 gtk/gtkstatusbar.c                 |  14 ++--
 gtk/gtkstylecontext.c              |   6 +-
 gtk/gtkstylecontext.h              |  16 ++--
 gtk/gtktestutils.c                 |   4 +-
 gtk/gtktextattributes.h            |   4 +-
 gtk/gtktextbtree.c                 |   2 +-
 gtk/gtktextbuffer.c                |  18 ++---
 gtk/gtktextbufferrichtext.c        |  24 +++---
 gtk/gtktextiter.c                  |  16 ++--
 gtk/gtktextlayout.c                |   8 +-
 gtk/gtktextlayout.h                |   2 +-
 gtk/gtktextmark.c                  |   4 +-
 gtk/gtktextsegment.c               |   4 +-
 gtk/gtktextsegment.h               |   2 +-
 gtk/gtktexttag.c                   |   4 +-
 gtk/gtktexttagtable.c              |   2 +-
 gtk/gtktextview.c                  |  22 +++---
 gtk/gtkthemingengine.c             |  12 +--
 gtk/gtktogglebutton.c              |   2 +-
 gtk/gtktoggletoolbutton.c          |   2 +-
 gtk/gtktooltip.c                   |   2 +-
 gtk/gtktreednd.c                   |   2 +-
 gtk/gtktreemenu.c                  |  10 +--
 gtk/gtktreemodel.c                 |   4 +-
 gtk/gtktreemodelfilter.c           |  10 +--
 gtk/gtktreemodelfilter.h           |   2 +-
 gtk/gtktreeselection.c             |   2 +-
 gtk/gtktreestore.c                 |   4 +-
 gtk/gtktreeview.c                  |  26 +++----
 gtk/gtktreeview.h                  |   2 +-
 gtk/gtktreeviewcolumn.c            |   6 +-
 gtk/gtkviewport.c                  |   2 +-
 gtk/gtkwidget.c                    | 152
 ++++++++++++++++++-------------------
 gtk/gtkwidget.h                    |  62 +++++++--------
 gtk/gtkwin32embed.h                |   2 +-
 gtk/gtkwindow.c                    |  52 ++++++-------
 172 files changed, 751 insertions(+), 751 deletions(-)

commit f116f0071e3a0f03c973532bceee30b3221e5b3f
Author: William Jon McCann 
Date:   Fri Feb 7 11:12:43 2014 -0500

    docs: use links instead of 

 gdk/gdkkeys.c              | 2 +-
 gdk/gdkpango.c             | 2 +-
 gdk/gdkwindow.h            | 2 +-
 gtk/deprecated/gtkaction.c | 2 +-
 gtk/deprecated/gtkhbox.c   | 4 ++--
 gtk/deprecated/gtkrc.c     | 3 +--
 gtk/deprecated/gtkstock.c  | 3 +--
 gtk/deprecated/gtkvbox.c   | 4 ++--
 gtk/gtkcssprovider.c       | 6 ++++--
 gtk/gtkfilechooser.c       | 5 +++--
 gtk/gtkicontheme.c         | 6 +++---
 gtk/gtkimage.h             | 3 +--
 gtk/gtkimcontext.c         | 3 ++-
 gtk/gtkstylecontext.c      | 7 ++++---
 gtk/gtkwidget.c            | 3 ++-
 gtk/gtkwidget.h            | 6 ++++--
 16 files changed, 33 insertions(+), 28 deletions(-)

commit 98a67d969732841e185cc116529e1dc74fffbf3b
Author: Carlos Garnacho 
Date:   Fri Feb 7 16:18:48 2014 +0100

    popover: propagate (insensitive|backdrop) flags from relative-to
    widget

    Popovers aren't direct children of the widget they point to, but yet
    they act as children of it, so do the same with state propagation,
    so the flags that propagate across the hierarchy reach popovers too.

 gtk/gtkpopover.c | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

commit 63bed5d04019b5487427701e1e070b2279d753fe
Author: Carlos Garnacho 
Date:   Fri Feb 7 16:14:23 2014 +0100

    popover: Listen on grab_notify from the relative-to widget

    Anytime ::grab-notify comes across, the popover visibility and GTK+
    grab ownership are checked, so the popover is hidden when it loses
    the GTK+ by any reason.

 gtk/gtkpopover.c | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

commit 3c4dbe6c7afdb97086ef5baaeb9467668dc2c837
Author: William Jon McCann 
Date:   Fri Feb 7 10:28:24 2014 -0500

    Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION

 gtk/gtkstylecontext.h | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit de4237612240d2746ceae23d327d722d8c5077c9
Author: William Jon McCann 
Date:   Fri Feb 7 10:25:00 2014 -0500

    Add GTK_STYLE_CLASS_SUGGESTED_ACTION

 gtk/gtkassistant.c    |  2 +-
 gtk/gtkdialog.c       |  4 ++--
 gtk/gtkstylecontext.h | 10 ++++++++++
 3 files changed, 13 insertions(+), 3 deletions(-)

commit 648511ed4416d136fe9aff930afeec6eacfebc1d
Author: William Jon McCann 
Date:   Fri Feb 7 10:07:16 2014 -0500

    docs: remove 

 gtk/gtkwidget.h | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

commit 0ce016650b38dbd9e228fbb7dae312dd91880354
Author: William Jon McCann 
Date:   Thu Feb 6 21:07:03 2014 -0500

    docs: Use markup for links

 gdk/gdkcairo.c                    |  2 +-
 gdk/gdkdevice.h                   |  2 +-
 gdk/gdkdnd.c                      |  2 +-
 gdk/gdkevents.c                   |  4 +-
 gdk/gdkevents.h                   |  4 +-
 gdk/gdkpango.c                    |  4 +-
 gdk/gdkselection.c                |  2 +-
 gtk/deprecated/gtkaction.c        |  6 +--
 gtk/deprecated/gtkactiongroup.c   |  2 +-
 gtk/deprecated/gtkgradient.c      |  2 +-
 gtk/deprecated/gtkrc.c            |  6 +--
 gtk/deprecated/gtkstock.c         |  3 +-
 gtk/deprecated/gtksymboliccolor.c |  2 +-
 gtk/deprecated/gtkuimanager.c     | 11 +++---
 gtk/gtkaccelmap.c                 |  4 +-
 gtk/gtkappchooser.c               |  2 +-
 gtk/gtkassistant.c                |  6 +--
 gtk/gtkbindings.c                 |  6 +--
 gtk/gtkbuildable.c                |  6 +--
 gtk/gtkbuilder.c                  | 38 +++++++++---------
 gtk/gtkcellarea.c                 |  7 ++--
 gtk/gtkcelllayout.c               |  2 +-
 gtk/gtkcellview.c                 |  3 +-
 gtk/gtkcombobox.c                 |  6 +--
 gtk/gtkcontainer.c                |  4 +-
 gtk/gtkdialog.c                   |  2 +-
 gtk/gtkdnd.c                      |  2 +-
 gtk/gtkdrawingarea.c              |  4 +-
 gtk/gtkentry.c                    | 26 ++++++-------
 gtk/gtkentrycompletion.c          |  6 +--
 gtk/gtkexpander.c                 | 10 ++---
 gtk/gtkfilechooser.c              | 12 +++---
 gtk/gtkfilechooserdialog.c        |  2 +-
 gtk/gtkfilechooserwidget.c        | 22 +++++------
 gtk/gtkflowbox.c                  | 12 +++---
 gtk/gtkgrid.c                     |  2 +-
 gtk/gtkiconview.c                 | 12 +++---
 gtk/gtkimcontext.c                |  2 +-
 gtk/gtkinfobar.c                  |  2 +-
 gtk/gtklabel.c                    | 41 ++++++++++----------
 gtk/gtkliststore.c                |  2 +-
 gtk/gtkmessagedialog.c            | 11 +++---
 gtk/gtkpagesetupunixdialog.c      |  4 +-
 gtk/gtkpaned.c                    | 12 +++---
 gtk/gtkpapersize.c                |  2 +-
 gtk/gtkprintunixdialog.c          |  2 +-
 gtk/gtkscale.c                    |  2 +-
 gtk/gtkscalebutton.c              |  4 +-
 gtk/gtkscrolledwindow.c           |  6 +--
 gtk/gtksettings.c                 |  2 +-
 gtk/gtkstatusicon.c               |  6 +--
 gtk/gtktextbuffer.c               |  5 ++-
 gtk/gtktextiter.c                 |  5 ++-
 gtk/gtktextmark.c                 |  5 ++-
 gtk/gtktexttag.c                  |  5 ++-
 gtk/gtktexttagtable.c             |  5 ++-
 gtk/gtktextview.c                 | 29 +++++++-------
 gtk/gtktooltip.c                  |  5 +--
 gtk/gtktreemodel.c                |  2 +-
 gtk/gtktreeselection.c            |  2 +-
 gtk/gtktreestore.c                |  2 +-
 gtk/gtktreeview.c                 | 14 ++++---
 gtk/gtktreeviewcolumn.c           |  4 +-
 gtk/gtkwidget.c                   | 14 +++----
 gtk/gtkwindow.c                   | 81
 ++++++++++++++++++++-------------------
 65 files changed, 262 insertions(+), 262 deletions(-)

commit 6d3347de633cc5bc9cd30ef595ce7d6cd8afaba5
Author: Benjamin Otte 
Date:   Fri Feb 7 14:45:54 2014 +0100

    widget: Ignore text direction in gtk_widget_set_state_flags()

    Previously we did a semi-successful job at ignoring it. Unfortunately
    this job was bad enough that we could lose the direction.

    We still allow passing in the enum values, because we want code like
    this to work:
      set_state_flags (get_state_flags() | SOME_FLAGS)

 gtk/gtkwidget.c | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

commit 4e14056b0c3f517e73fd51a1c3e083f555a36601
Author: Victor Ibragimov 
Date:   Fri Feb 7 17:46:14 2014 +0500

    Tajik translation updated

 po-properties/tg.po | 2287
 ++++++++++++++++++++++++++-------------------------
 po/tg.po            |  800 +++++++++---------
 2 files changed, 1563 insertions(+), 1524 deletions(-)

commit ae36e57c612344a301ffd293bc89b84c3ce8be2f
Author: Carlos Garcia Campos 
Date:   Fri Feb 7 08:17:11 2014 +0100

    gtkmagnifier: do not use P_() macro for property names

 gtk/gtkmagnifier.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 8e797c1195b2a6b45a83e2fe321eb9d1faa2e8c6
Author: Matthias Clasen 
Date:   Thu Feb 6 22:51:05 2014 -0500

    Wayland: Set gtk-dialogs-use-header

    Since we don't have a setting for this, hardcode the value
    for now.

 gdk/wayland/gdkscreen-wayland.c | 6 ++++++
 1 file changed, 6 insertions(+)

commit 5c40be60648be4f162c8b26454cbf4a99b24c785
Author: Fran Diéguez 
Date:   Fri Feb 7 02:23:28 2014 +0100

    Updated Galician translations

 po-properties/gl.po | 2287
 ++++++++++++++++++++++++++-------------------------
 po/gl.po            |  764 ++++++++---------
 2 files changed, 1550 insertions(+), 1501 deletions(-)

commit 24021f0453c7cd7139484d7976aa279ea9e090fc
Author: Matthias Clasen 
Date:   Thu Feb 6 17:44:24 2014 -0500

    Bump glib dep

 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4238cc4b7b966687271ddf2c4309ff6f7e807f60
Author: Ignacio Casal Quinteiro 
Date:   Thu Feb 6 22:15:12 2014 +0100

    Revert "Fix memory leak in GtkTreeViewAccessible"

    This reverts commit 7a411eb6dd4dd0dedf28f3b5414561e765886369.
    This also makes gedit external tools manager to crash

 gtk/a11y/gtktreeviewaccessible.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit e583e3ebce4484e3d0e74607cfabdd0880f52565
Author: Jasper St. Pierre 
Date:   Thu Feb 6 14:28:51 2014 -0500

    gdkwindow-wayland: Make function order match listener order

 gdk/wayland/gdkwindow-wayland.c | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

commit 1e8c803a938a155ae7537f089b4ceda7531727fd
Author: Matej Urbančič 
Date:   Thu Feb 6 20:24:22 2014 +0100

    Updated Slovenian translation

 po/sl.po | 2485
 +++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 1330 insertions(+), 1155 deletions(-)

commit 974c8432532c989bfa97832572200b86e7723ea2
Author: Ryan Lortie 
Date:   Thu Feb 6 17:33:44 2014 +0000

    GtkApplication: install gtk option group

    Install Gtk's GOptionGroup in GApplication just before commandline
    arguments are parsed.

 gtk/gtkapplication.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

commit 7faf5ee765496148eb59cbe3f848f7bcff03bb39
Author: Claudio Saavedra 
Date:   Tue Feb 4 22:32:02 2014 +0200

    GtkTreeViewColumn: fix critical warning

    Do not call _column_autosize() if there is no treeview set yet.

    https://bugzilla.gnome.org/show_bug.cgi?id=723637

 gtk/gtktreeviewcolumn.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit b91859a19aa21e33b4f85a656f72aa940738a3fa
Author: Claudio Saavedra 
Date:   Thu Feb 6 17:25:55 2014 +0200

    gtkwindow: remove delete-event idle function on finalize

    Heavy duty can prevent this idle function from being called before
    the window is destroyed, so make sure that the source is removed
    when the window is finalized.

    https://bugzilla.gnome.org/show_bug.cgi?id=723771

 gtk/gtkwindow.c | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

commit 16db6bbccf18a408c726fec978eec00a6b9566d6
Author: William Jon McCann 
Date:   Thu Feb 6 10:54:42 2014 -0500

    docs: fix quotes in example

 gtk/gtklabel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d74ca9f02c3632e678f31ccfea767215afa3c726
Author: Bastien Nocera 
Date:   Thu Feb 6 16:13:43 2014 +0100

    popover: Emit ::closed once modality is cleared

    Otherwise, calling gtk_widget_grab_focus() on a widget when the
    popover send ::closed won't work.

 gtk/gtkpopover.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit f999ac686b7ce6e59ea4c3af6a3b91024a75c26f
Author: William Jon McCann 
Date:   Thu Feb 6 09:44:46 2014 -0500

    docs: Don't use warnings

 gtk/deprecated/gtkaction.c | 8 +++-----
 gtk/deprecated/gtkrc.c     | 6 ++----
 gtk/deprecated/gtkstyle.c  | 5 ++---
 gtk/gtkliststore.c         | 4 ++--
 4 files changed, 9 insertions(+), 14 deletions(-)

commit 99f16d25a73f50715126ca7f9c48bc03d8d82727
Author: Carlos Garnacho 
Date:   Thu Feb 6 15:30:55 2014 +0100

    popover: Add ::closed signal

    This signal is emitted when the popover is dismissed either through
    API or user interaction, somewhat more friendly than connecting to
    ::unmap.

 gtk/gtkpopover.c | 16 ++++++++++++++++
 gtk/gtkpopover.h |  2 ++
 2 files changed, 18 insertions(+)

commit 13b37bd4e0c725bdca4daa5b8753388dbc3c44d4
Author: Carlos Garnacho 
Date:   Thu Feb 6 15:21:56 2014 +0100

    popover: Add padding pointers to GtkPopoverClass

 gtk/gtkpopover.h | 3 +++
 1 file changed, 3 insertions(+)

commit e78ebaa0899ae1be3a5d1885582ce6cdc5732d2e
Author: William Jon McCann 
Date:   Wed Feb 5 02:25:03 2014 -0500

    docs: don't use 

 gtk/gtkfilechooserbutton.c | 13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

commit 334d34178ad2280a2f39b781d24bc06d3819304b
Author: William Jon McCann 
Date:   Wed Feb 5 02:17:03 2014 -0500

    docs: don't use 

 gtk/gtktreemodelsort.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

commit 6abe7a7094e019581e048a88c01b6e563aec03e1
Author: William Jon McCann 
Date:   Tue Feb 4 23:57:30 2014 -0500

    docs: use markdown instead of 

 gdk/gdkevents.h                     |  8 ++------
 gdk/x11/gdkdevicemanager-x11.c      | 12 +++++------
 gtk/deprecated/gtkactivatable.c     | 34 +++++++++++++++----------------
 gtk/deprecated/gtkactivatable.h     |  5 +++--
 gtk/deprecated/gtkhandlebox.c       |  8 +++-----
 gtk/deprecated/gtkhseparator.c      | 10 ++++------
 gtk/deprecated/gtkstyle.c           | 40
 +++++++++++++++++--------------------
 gtk/deprecated/gtktable.c           |  8 +++-----
 gtk/deprecated/gtktearoffmenuitem.c |  4 ++--
 gtk/deprecated/gtkuimanager.c       |  8 +++-----
 gtk/gtkmessagedialog.h              |  9 ++++-----
 11 files changed, 64 insertions(+), 82 deletions(-)

commit 8dcda824d2e2583b59571c5688fc55cd76d5d38f
Author: GunChleoc 
Date:   Wed Feb 5 22:31:24 2014 +0000

    Updated Scottish Gaelic translation

 po-properties/gd.po | 6503
 +++++++++++++++++++++++++++++----------------------
 1 file changed, 3734 insertions(+), 2769 deletions(-)

commit 71e3c6d925147f2d4c79ac4ef0cf07e5ee055a6d
Author: GNOME Translation Robot 
Date:   Wed Feb 5 21:02:57 2014 +0000

    Updated translation date

    This is a test commit for hook checks.

 po-properties/fr.po | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 47469eb2966a7695f64fce1dbb8441f4b3ac6ecb
Author: William Jon McCann 
Date:   Wed Feb 5 14:50:22 2014 -0500

    Use proper quotes in gdk

 gdk/gdk.c               |  2 +-
 gdk/gdkcursor.c         |  2 +-
 gdk/gdkdevice.h         |  2 +-
 gdk/gdkdevicemanager.c  |  2 +-
 gdk/gdkdisplaymanager.c |  2 +-
 gdk/gdkevents.c         |  4 ++--
 gdk/gdkevents.h         |  2 +-
 gdk/gdkframeclock.c     |  4 ++--
 gdk/gdkframetimings.c   |  2 +-
 gdk/gdkkeys.c           | 10 +++++-----
 gdk/gdkkeys.h           |  4 ++--
 gdk/gdkscreen.c         |  4 ++--
 gdk/gdkvisual.c         | 20 ++++++++++----------
 gdk/gdkwindow.c         | 48
 ++++++++++++++++++++++++------------------------
 gdk/gdkwindow.h         | 10 +++++-----
 15 files changed, 59 insertions(+), 59 deletions(-)

commit 2a45418b673d10f60e9334ebcfa493f125d26e02
Author: William Jon McCann 
Date:   Wed Feb 5 13:07:34 2014 -0500

    docs: use proper quotes

 gtk/a11y/gtkmenuitemaccessible.c   |   2 +-
 gtk/a11y/gtkwidgetaccessible.c     |   2 +-
 gtk/deprecated/gtkaction.c         |   6 +-
 gtk/deprecated/gtkactiongroup.c    |   6 +-
 gtk/deprecated/gtkactivatable.c    |   2 +-
 gtk/deprecated/gtkcolorseldialog.c |   4 +-
 gtk/deprecated/gtkfontsel.c        |  16 +--
 gtk/deprecated/gtkhandlebox.c      |   4 +-
 gtk/deprecated/gtkiconfactory.c    |  10 +-
 gtk/deprecated/gtkrc.c             |  10 +-
 gtk/deprecated/gtkrc.h             |   4 +-
 gtk/deprecated/gtkstock.c          |   2 +-
 gtk/deprecated/gtkstock.h          | 210
 ++++++++++++++++++-------------------
 gtk/deprecated/gtkstyle.c          |  14 +--
 gtk/deprecated/gtktoggleaction.c   |   4 +-
 gtk/deprecated/gtkuimanager.c      |  16 +--
 gtk/gtkaboutdialog.c               |   4 +-
 gtk/gtkaccelgroup.c                |  14 +--
 gtk/gtkaccellabel.c                |   8 +-
 gtk/gtkaccelmap.c                  |  14 +--
 gtk/gtkactionable.c                |   6 +-
 gtk/gtkactionmuxer.c               |  16 +--
 gtk/gtkactionobserver.c            |   2 +-
 gtk/gtkapplication.c               |  12 +--
 gtk/gtkapplicationwindow.c         |   4 +-
 gtk/gtkaspectframe.c               |   2 +-
 gtk/gtkassistant.c                 |   2 +-
 gtk/gtkassistant.h                 |   6 +-
 gtk/gtkbindings.c                  |  18 ++--
 gtk/gtkbuildable.c                 |   2 +-
 gtk/gtkbuildable.h                 |   4 +-
 gtk/gtkbuilder.c                   |  40 +++----
 gtk/gtkbutton.c                    |   2 +-
 gtk/gtkcellarea.c                  |   6 +-
 gtk/gtkcellarea.h                  |   2 +-
 gtk/gtkcelllayout.c                |   2 +-
 gtk/gtkcellrenderer.c              |   4 +-
 gtk/gtkcellrenderercombo.c         |   2 +-
 gtk/gtkcellrendererpixbuf.c        |   2 +-
 gtk/gtkcellrenderertext.c          |   6 +-
 gtk/gtkcellrenderertoggle.c        |   2 +-
 gtk/gtkcellview.c                  |   2 +-
 gtk/gtkcheckmenuitem.c             |   6 +-
 gtk/gtkclipboard.c                 |  14 +--
 gtk/gtkcomboboxtext.c              |   6 +-
 gtk/gtkcontainer.c                 |  12 +--
 gtk/gtkcsslookup.c                 |  12 +--
 gtk/gtkcssprovider.c               |   2 +-
 gtk/gtkdialog.c                    |   8 +-
 gtk/gtkdnd-quartz.c                |   2 +-
 gtk/gtkdnd.c                       |   8 +-
 gtk/gtkdrawingarea.c               |   4 +-
 gtk/gtkentry.c                     |  14 +--
 gtk/gtkentrycompletion.c           |   4 +-
 gtk/gtkenums.h                     |   4 +-
 gtk/gtkexpander.c                  |   4 +-
 gtk/gtkfilechooser.c               |  20 ++--
 gtk/gtkfilechooserbutton.c         |   2 +-
 gtk/gtkfilechooserdialog.c         |  10 +-
 gtk/gtkfilechooserwidget.c         |   8 +-
 gtk/gtkfilesystem.c                |   2 +-
 gtk/gtkfilesystemmodel.c           |  18 ++--
 gtk/gtkfontchooser.c               |  10 +-
 gtk/gtkfontchooserdialog.c         |   4 +-
 gtk/gtkframe.c                     |   2 +-
 gtk/gtkheaderbar.c                 |   4 +-
 gtk/gtkicontheme.c                 |  12 +--
 gtk/gtkimage.c                     |  12 +--
 gtk/gtkimcontext.c                 |   2 +-
 gtk/gtkimmodule.c                  |   2 +-
 gtk/gtkinfobar.c                   |  10 +-
 gtk/gtkinvisible.c                 |   2 +-
 gtk/gtklabel.c                     |   6 +-
 gtk/gtklayout.c                    |   2 +-
 gtk/gtkliststore.c                 |   4 +-
 gtk/gtkmain.c                      |   2 +-
 gtk/gtkmenu.c                      |   4 +-
 gtk/gtkmenu.h                      |   2 +-
 gtk/gtkmenubutton.c                |   2 +-
 gtk/gtkmenuitem.c                  |   6 +-
 gtk/gtkmenushell.c                 |  16 +--
 gtk/gtkmenutoolbutton.c            |   2 +-
 gtk/gtkmenutracker.c               |   6 +-
 gtk/gtkmessagedialog.c             |  10 +-
 gtk/gtknotebook.c                  |  22 ++--
 gtk/gtkoverlay.c                   |   4 +-
 gtk/gtkpagesetup.c                 |   8 +-
 gtk/gtkpathbar.c                   |   4 +-
 gtk/gtkplacessidebar.c             |  16 +--
 gtk/gtkplug.c                      |   2 +-
 gtk/gtkprinteroptionwidget.c       |   2 +-
 gtk/gtkprintjob.c                  |   2 +-
 gtk/gtkprintoperation.c            |  18 ++--
 gtk/gtkprintoperation.h            |   6 +-
 gtk/gtkprintsettings.c             |  12 +--
 gtk/gtkprintsettings.h             |  12 +--
 gtk/gtkprintunixdialog.c           |   8 +-
 gtk/gtkprogressbar.c               |   4 +-
 gtk/gtkrange.c                     |  10 +-
 gtk/gtkrecentchooser.c             |   6 +-
 gtk/gtkrecentchooser.h             |   2 +-
 gtk/gtkrecentmanager.c             |   6 +-
 gtk/gtkrecentmanager.h             |   2 +-
 gtk/gtkscale.c                     |   4 +-
 gtk/gtkscrolledwindow.c            |   6 +-
 gtk/gtksearchbar.c                 |   2 +-
 gtk/gtksearchentry.c               |   6 +-
 gtk/gtkselection.c                 |  18 ++--
 gtk/gtkseparatortoolitem.c         |   4 +-
 gtk/gtksettings.h                  |   4 +-
 gtk/gtkstatusicon.c                |   6 +-
 gtk/gtkstylecontext.c              |   6 +-
 gtk/gtkswitch.c                    |   4 +-
 gtk/gtktestutils.c                 |  10 +-
 gtk/gtktextbuffer.c                |  44 ++++----
 gtk/gtktextbuffer.h                |   2 +-
 gtk/gtktextbufferrichtext.c        |   4 +-
 gtk/gtktextchild.h                 |   2 +-
 gtk/gtktextiter.c                  |  20 ++--
 gtk/gtktextiter.h                  |   4 +-
 gtk/gtktextmark.c                  |   2 +-
 gtk/gtktexttag.c                   |   8 +-
 gtk/gtktexttagtable.c              |   2 +-
 gtk/gtktextview.c                  |  14 +--
 gtk/gtktogglebutton.c              |   4 +-
 gtk/gtktoolbar.c                   |   2 +-
 gtk/gtktoolbutton.c                |  32 +++---
 gtk/gtktoolitem.c                  |   4 +-
 gtk/gtktrayicon-x11.c              |   2 +-
 gtk/gtktreemodel.c                 |   8 +-
 gtk/gtktreemodelfilter.c           |  26 ++---
 gtk/gtktreemodelsort.c             |  10 +-
 gtk/gtktreesortable.h              |   2 +-
 gtk/gtktreestore.c                 |   6 +-
 gtk/gtktreeview.c                  |  16 +--
 gtk/gtktreeviewcolumn.c            |  10 +-
 gtk/gtktreeviewcolumn.h            |   4 +-
 gtk/gtkwidget.c                    |  54 +++++-----
 gtk/gtkwidget.h                    |   4 +-
 gtk/gtkwin32embed.h                |   4 +-
 gtk/gtkwindow.c                    |  52 ++++-----
 141 files changed, 668 insertions(+), 668 deletions(-)

commit c3dfb17031842458e86907e8c1d3a1ca4c442a8c
Author: William Jon McCann 
Date:   Wed Feb 5 13:21:57 2014 -0500

    docs: fix missing quotation mark

 gtk/gtkbuilder.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit d7944fefe9e3cdd7be0eb8b659d8f6624cef7dee
Author: Claude Paroz 
Date:   Wed Feb 5 20:05:43 2014 +0000

    Updated French translation

 po-properties/fr.po | 3052
 +++++++++++++++++++++++++++------------------------
 1 file changed, 1614 insertions(+), 1438 deletions(-)

commit fd7adf3b51e98a0e89c60dede4c5ecab436ef231
Author: William Jon McCann 
Date:   Wed Feb 5 00:32:37 2014 -0500

    docs: add back id for section heading

    It was lost during the markdown conversion.

 gtk/deprecated/gtkuimanager.c | 2 +-
 gtk/gtkbuilder.c              | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

commit b4d4ffcf38d4ab80ccbc30e09e5aa29608aae49f
Author: William Jon McCann 
Date:   Tue Feb 4 21:35:21 2014 -0500

    docs: Don't use 

 gtk/gtkapplication.c       | 6 +-----
 gtk/gtkapplicationwindow.c | 6 +-----
 gtk/gtkbuilder.c           | 6 +-----
 gtk/gtksearchbar.c         | 6 +-----
 4 files changed, 4 insertions(+), 20 deletions(-)

commit 198d50d310f570d35f07c97baaf3e0690b894d78
Author: Claude Paroz 
Date:   Wed Feb 5 18:13:56 2014 +0100

    Updated French translation

 po/fr.po | 2511
 ++++++++++++++++++++++++++++++++------------------------------
 1 file changed, 1300 insertions(+), 1211 deletions(-)

commit 51829bdb7e315cc24af90ed57806cdc3f4c638e9
Author: Daniel Mustieles 
Date:   Wed Feb 5 13:49:05 2014 +0100

    Updated Spanish translation

 po/es.po | 502
 ++++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 253 insertions(+), 249 deletions(-)

commit 25d02909c896f8f0eb2089d2f801d72c28ad5560
Author: Benjamin Otte 
Date:   Wed Feb 5 13:36:33 2014 +0100

    label: Invalidate link colors on style change

    Discovered-by: Timm Bäder 

    https://bugzilla.gnome.org/show_bug.cgi?id=721309

 gtk/gtklabel.c | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

commit 219357d69caf96b9a201ebcd099a12320498c6ca
Author: Benjamin Otte 
Date:   Wed Feb 5 03:17:48 2014 +0100

    label: refactor code

    Split out function for setting attributes. This will be needed
    in future
    patches.

 gtk/gtklabel.c | 138
 +++++++++++++++++++++++++++++++--------------------------
 1 file changed, 75 insertions(+), 63 deletions(-)

commit a0bfbc8ae1720fe9e82b0113df58d90c2931de73
Author: Benjamin Otte 
Date:   Tue Feb 4 23:34:06 2014 +0100

    label: Avoid creating new attribute list

    Only create an attribute list for merging if we actually need
    to merge.

    This bug was introduced in 5230cfe805b8f0046896c029612180fc9d4cc5df

 gtk/gtklabel.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

commit 4439453b75d84909b88fa48f7f046b4d929c9cdf
Author: Bastien Nocera 
Date:   Wed Feb 5 10:34:44 2014 +0100

    widget: Fix margin-start and margin-end properties

    The margin-start and margin-end properties were incorrectly
    defined, so margins weren't respected for RTL languages.

    https://bugzilla.gnome.org/show_bug.cgi?id=723627

 gtk/gtkwidget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit 49597950f83e36ea2a47aa84b672ebfb69c2a2d0
Author: GunChleoc 
Date:   Wed Feb 5 11:03:40 2014 +0000

    Updated Scottish Gaelic translation

 po/gd.po | 2550
 ++++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 1382 insertions(+), 1168 deletions(-)

commit e05cec6e0de3bcee87dc07768f431ff251cba3c5
Author: Theppitak Karoonboonyanan 
Date:   Wed Feb 5 16:23:52 2014 +0700

    Updated Thai translation

 po/th.po | 2283
 +++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 1232 insertions(+), 1051 deletions(-)

commit f13b3e3aeb5dae2da0a2c62599d8d5f24bfd4e46
Author: Matthias Clasen 
Date:   Tue Feb 4 23:10:22 2014 -0500

    Add minimal popover theming to Raleigh

    Add background and border, so the popover boundaries are visible.

 gtk/resources/theme/gtk-default.css | 7 +++++++
 1 file changed, 7 insertions(+)

commit 3b3d8ca45697781bf1a191d248a7d9d4cb5ebfe2
Author: William Jon McCann 
Date:   Tue Feb 4 21:00:58 2014 -0500

    docs: Use "#" for refsect2 instead of ##

 gdk/gdkdevicemanager.c     |  2 +-
 gtk/gtkaccelmap.c          |  6 +++---
 gtk/gtkassistant.c         |  2 +-
 gtk/gtkbindings.c          |  9 +++++++--
 gtk/gtkbuilder.c           |  6 ++++--
 gtk/gtkcellarea.c          | 22 ++++++++++++++++------
 gtk/gtkcelllayout.c        |  9 +++++++--
 gtk/gtkcomboboxtext.c      |  2 +-
 gtk/gtkcontainer.c         |  6 +++---
 gtk/gtkcssprovider.c       | 33 +++++++++++++++++----------------
 gtk/gtkdialog.c            |  2 +-
 gtk/gtkdrawingarea.c       |  2 +-
 gtk/gtkexpander.c          |  4 ++--
 gtk/gtkfilechooser.c       |  8 ++++----
 gtk/gtkfilefilter.c        |  2 +-
 gtk/gtkfontchooserdialog.c |  2 +-
 gtk/gtkframe.c             |  2 +-
 gtk/gtkinfobar.c           |  2 +-
 gtk/gtklabel.c             | 12 ++++++------
 gtk/gtkliststore.c         |  6 +++---
 gtk/gtkmenuitem.c          |  2 +-
 gtk/gtkmenushell.c         |  2 +-
 gtk/gtkmenutoolbutton.c    |  2 +-
 gtk/gtkmessagedialog.c     |  2 +-
 gtk/gtknotebook.c          |  2 +-
 gtk/gtkoverlay.c           |  2 +-
 gtk/gtkprintoperation.c    |  2 +-
 gtk/gtkprintunixdialog.c   |  2 +-
 gtk/gtkscale.c             |  2 +-
 gtk/gtksizegroup.c         |  2 +-
 gtk/gtkstylecontext.c      |  2 +-
 gtk/gtktexttagtable.c      |  2 +-
 gtk/gtktreestore.c         |  2 +-
 gtk/gtktreeview.c          |  2 +-
 gtk/gtkwidget.c            |  6 +++---
 gtk/gtkwindow.c            |  2 +-
 36 files changed, 99 insertions(+), 76 deletions(-)

commit c6ef8bdc9c128c4b91a000221a9f4e8e9b525534
Author: William Jon McCann 
Date:   Tue Feb 4 20:21:05 2014 -0500

    docs: don't use 

 gdk/gdkkeys.c         |  4 ++--
 gdk/gdkwindow.c       | 12 ++++++------
 gtk/gtkcssprovider.c  |  6 +++---
 gtk/gtkfilechooser.c  |  4 ++--
 gtk/gtkpagesetup.c    |  3 +--
 gtk/gtkstylecontext.c |  9 +++++----
 gtk/gtkwidget.c       |  9 ++++++---
 7 files changed, 25 insertions(+), 22 deletions(-)

commit aeaa35262f1b6f45e074eb67c5699a1cdcd72b78
Author: William Jon McCann 
Date:   Tue Feb 4 20:00:53 2014 -0500

    docs: use a list instead of a table

 gtk/gtkmenubutton.c | 154
 +++++++++++++++++++---------------------------------
 1 file changed, 56 insertions(+), 98 deletions(-)

commit 9ecc35ec6888f19ee761d94c4f67874c45a99a8b
Author: William Jon McCann 
Date:   Tue Feb 4 19:45:36 2014 -0500

    docs: don't use 

 gdk/gdkevents.h | 33 ++++++++++++++++-----------------
 1 file changed, 16 insertions(+), 17 deletions(-)

commit 446095f9ab27268e9e06e2e2920866339b8cc11c
Author: William Jon McCann 
Date:   Tue Feb 4 19:40:34 2014 -0500

    docs: don't use 

 gtk/deprecated/gtkiconfactory.c | 74
 +++++++++++++++++------------------------
 gtk/deprecated/gtkuimanager.c   | 72
 +++++++++++++++++++--------------------
 2 files changed, 64 insertions(+), 82 deletions(-)

commit a9c454e0e67305d9aaf54f4dd8ae7241ace627ac
Author: William Jon McCann 
Date:   Tue Feb 4 19:33:43 2014 -0500

    docs: don't use itemizedlist

 gtk/deprecated/gtkaction.c    | 43
 ++++++++++++++++++++++++-------------------
 gtk/deprecated/gtkuimanager.c | 11 +++--------
 2 files changed, 27 insertions(+), 27 deletions(-)

commit 2c4431e6baa0a0b594d1aea1711abd4611699cbd
Author: William Jon McCann 
Date:   Tue Feb 4 19:29:00 2014 -0500

    docs: don't use  tags

 gtk/gtkcellrendereraccel.c |  2 +-
 gtk/gtkfilechooser.c       |  2 +-
 gtk/gtkfilechooserwidget.c | 51
 ++++++++++++++++------------------------------
 gtk/gtkrecentchooser.c     |  2 +-
 gtk/gtkscrollbar.c         |  2 +-
 gtk/gtkscrolledwindow.c    | 17 +++++++---------
 6 files changed, 29 insertions(+), 47 deletions(-)

commit 8ad75bdfff5c13db4bf1cd8b2b838ffb2e21823d
Author: William Jon McCann 
Date:   Tue Feb 4 19:20:16 2014 -0500

    docs: don't use 

 gtk/deprecated/gtkactiongroup.c |   8 +--
 gtk/deprecated/gtkrc.c          | 110
 ++++++++++++++++++++--------------------
 gtk/gtkaccelmap.c               |   2 +-
 gtk/gtkcssprovider.c            |  14 ++---
 gtk/gtkmain.c                   |   2 +-
 gtk/gtksettings.c               |   2 +-
 gtk/gtkstylecontext.c           |   2 +-
 gtk/gtkwidget.c                 |   2 +-
 8 files changed, 71 insertions(+), 71 deletions(-)

commit 5dd751f0064fb124a839d7dd26fd15c305350d80
Author: William Jon McCann 
Date:   Tue Feb 4 18:53:51 2014 -0500

    docs: don't use ulink. use markdown instead

 gtk/gtkclipboard.c        |  7 ++++---
 gtk/gtkcssprovider.c      | 13 ++++++-------
 gtk/gtkcsssection.h       |  9 ++++-----
 gtk/gtkcssstyleproperty.c | 18 +++++++++---------
 gtk/gtkcssvalue.c         |  5 ++---
 gtk/gtkdialog.c           |  7 ++++---
 gtk/gtkicontheme.c        |  7 +++----
 gtk/gtkmessagedialog.h    |  2 +-
 gtk/gtkpapersize.c        |  4 ++--
 gtk/gtkplug.c             |  4 ++--
 gtk/gtksettings.c         |  8 ++++----
 gtk/gtksocket.c           |  6 +++---
 gtk/gtkstatusicon.c       |  4 ++--
 gtk/gtkstylecontext.c     |  2 +-
 gtk/gtkwidget.c           |  2 +-
 gtk/gtkwindow.c           | 26 ++++++++++++--------------
 16 files changed, 60 insertions(+), 64 deletions(-)

commit 56f76214b771e2e710080bb4fc68d30c2fcc6328
Author: William Jon McCann 
Date:   Tue Feb 4 18:32:42 2014 -0500

    docs: don't use 

 gtk/gtkactionmuxer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

commit d81e4edbd14b9e0aa3fc85b1a4e94c2b6d6cb2f7
Author: William Jon McCann 
Date:   Tue Feb 4 18:30:46 2014 -0500

    docs: don't use  tags

 gtk/gtkfilechooserwidget.c |  2 +-
 gtk/gtkmain.c              | 12 ++++++------
 gtk/gtkstylecontext.c      | 11 +++--------
 gtk/gtktestutils.c         |  4 ++--
 4 files changed, 12 insertions(+), 17 deletions(-)

commit a22358c0c0ed5d9c946816c4212d534ef5f6f378
Author: William Jon McCann 
Date:   Tue Feb 4 18:21:13 2014 -0500

    docs: use ` instead of 

 gdk/gdk.c                        |   4 +-
 gdk/gdkcolor.c                   |   4 +-
 gdk/gdkcursor.c                  |   4 +-
 gdk/gdkdisplaymanager.c          |   4 +-
 gdk/gdkevents.c                  |   6 +-
 gdk/gdkevents.h                  |   6 +-
 gdk/gdkkeys.c                    |  12 +-
 gdk/gdkrgba.c                    |   4 +-
 gdk/gdkselection.c               |   6 +-
 gdk/gdkselection.h               |  32 ++---
 gdk/gdktypes.h                   |   2 +-
 gdk/gdkwindow.c                  |   6 +-
 gdk/wayland/gdkdisplay-wayland.c |   6 +-
 gdk/x11/gdkdisplay-x11.c         |   4 +-
 gdk/x11/gdkmain-x11.c            |   6 +-
 gtk/deprecated/gtkactiongroup.c  |  12 +-
 gtk/deprecated/gtkrc.c           | 256
 +++++++++++++++++++--------------------
 gtk/deprecated/gtkstyle.c        |   2 +-
 gtk/deprecated/gtktable.c        |   2 +-
 gtk/deprecated/gtkuimanager.c    |   6 +-
 gtk/gtkaboutdialog.c             |   6 +-
 gtk/gtkactionable.c              |   4 +-
 gtk/gtkactionmuxer.c             |   8 +-
 gtk/gtkadjustment.c              |   4 +-
 gtk/gtkapplicationwindow.c       |   6 +-
 gtk/gtkclipboard.c               |   4 +-
 gtk/gtkcombobox.c                |   8 +-
 gtk/gtkcssprovider.c             |   6 +-
 gtk/gtkdialog.c                  |   2 +-
 gtk/gtkentrycompletion.h         |   2 +-
 gtk/gtkfilechooserwidget.c       |   2 +-
 gtk/gtkicontheme.c               |   2 +-
 gtk/gtkiconview.c                |   4 +-
 gtk/gtklabel.c                   |   2 +-
 gtk/gtklevelbar.c                |   2 +-
 gtk/gtkliststore.c               |  12 +-
 gtk/gtkmain.c                    |   6 +-
 gtk/gtkmenu.c                    |   4 +-
 gtk/gtkpaned.c                   |   4 +-
 gtk/gtkprivate.c                 |   2 +-
 gtk/gtksettings.c                |  12 +-
 gtk/gtksizegroup.c               |   2 +-
 gtk/gtksocket.c                  |   2 +-
 gtk/gtktextbuffer.h              |   2 +-
 gtk/gtktextiter.c                |   4 +-
 gtk/gtktextview.c                |   2 +-
 gtk/gtktreemodel.c               |  14 +--
 gtk/gtktreesortable.h            |   2 +-
 gtk/gtktreestore.c               |  10 +-
 gtk/gtktreeview.c                |  10 +-
 gtk/gtkwidget.c                  |  12 +-
 gtk/gtkwindow.c                  |   8 +-
 52 files changed, 277 insertions(+), 277 deletions(-)

commit 76447c3512f083a11e716d10ade774ade929b2dd
Author: William Jon McCann 
Date:   Tue Feb 4 18:10:11 2014 -0500

    docs: use quotes instead of 

 gdk/gdkdevicemanager.c        | 4 ++--
 gdk/gdkkeys.c                 | 2 +-
 gdk/gdkproperty.c             | 6 +++---
 gdk/gdkselection.c            | 4 ++--
 gdk/gdkwindow.c               | 2 +-
 gtk/deprecated/gtkhandlebox.c | 8 ++++----
 gtk/deprecated/gtkrc.c        | 8 ++++----
 gtk/gtkaccelgroup.c           | 4 ++--
 gtk/gtkbuilder.c              | 4 ++--
 gtk/gtkcellrenderer.c         | 4 ++--
 gtk/gtkicontheme.c            | 2 +-
 gtk/gtklabel.c                | 2 +-
 gtk/gtkmain.c                 | 6 +++---
 gtk/gtkoverlay.c              | 2 +-
 gtk/gtktextmark.c             | 6 +++---
 gtk/gtkwidget.c               | 6 +++---
 16 files changed, 35 insertions(+), 35 deletions(-)

commit a3bad427c7b63357db3d02aa39a291d47af63f6f
Author: William Jon McCann 
Date:   Tue Feb 4 18:01:24 2014 -0500

    docs: don't use  tags

 gtk/deprecated/gtkiconfactory.c | 2 +-
 gtk/gtkimage.c                  | 2 +-
 gtk/gtkmain.c                   | 8 ++++----
 gtk/gtkplug.c                   | 4 ++--
 gtk/gtksocket.c                 | 4 ++--
 gtk/gtktexttag.c                | 2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)

commit 2dcbe27a06d2a0ef4c3ba507d41243d1c6565117
Author: William Jon McCann 
Date:   Tue Feb 4 17:48:33 2014 -0500

    docs: don't use