commit 853cba6b1a1192e2e219fad6f2e2f8f9a7ba731f Author: Matthias Clasen Date: Mon May 22 16:39:09 2017 -0400 3.91.0 NEWS | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) commit ca098bb42a193057c9379c901a59f54068fdc942 Author: Matthias Clasen Date: Mon May 22 21:42:01 2017 -0400 Update a11y test output testsuite/a11y/about.txt | 200 ++++++++++++++++++++-------------------- testsuite/a11y/actionbar.txt | 19 ++-- testsuite/a11y/colorchooser.txt | 86 ++++++++--------- testsuite/a11y/expander.txt | 40 -------- testsuite/a11y/menubutton2.txt | 32 +++---- testsuite/a11y/menubutton3.txt | 32 +++---- testsuite/a11y/pickers.txt | 4 +- 7 files changed, 186 insertions(+), 227 deletions(-) commit c05b317b1ef88e739527eb3d17b067a3e60642e8 Author: Matthias Clasen Date: Mon May 22 17:35:23 2017 -0400 Fix the docs build gtk-doc behavior changed, it seems, and these options now cause the build to break. docs/reference/gtk/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 4047a2f53e197bdafeb5fed344bded6a404bc654 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 251fe5e6644f727d330dbd41242bf79a6acc4568 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 9981f46e0b5184c9f53cc83e818f7ad6a4086650 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 ed6aa0e6e00d31af33164bde8f71e5318fda740c Author: Ignacio Casal Quinteiro Date: Tue May 16 22:50:00 2017 +0200 meson: remove duplicated G_ENABLE_DEBUG meson.build | 1 - 1 file changed, 1 deletion(-) commit ce1098598d351a8b5140527832a46137db9a2691 Author: Daniel Boles Date: Sun May 14 11:46:34 2017 +0100 Frame: Don’t advise adding .flat class in code https://bugzilla.gnome.org/show_bug.cgi?id=779653#c33 and this is closer to what gtk-3-22 says anyway. gtk/gtkframe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 322d9ca550d8848f456907dfbec98a5f8320bb62 Author: Daniel Boles Date: Sat May 13 19:28:34 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 8ddadecb5728120cb3efb92f91d071f9c6bc1a9f Author: Daniel Boles Date: Sat May 13 18:08:51 2017 +0100 gtk-demo: ui: Replace leftover uses of Box:expand commit 5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 skipped these demos/gtk-demo/font-features.ui | 10 ++++------ demos/gtk-demo/theming.ui | 5 ++--- 2 files changed, 6 insertions(+), 9 deletions(-) commit 9e6b59c5f4620652f344c6c2c19186bcb727c2ba Author: Daniel Boles Date: Sat May 13 18:04:19 2017 +0100 demo/toolpalette: Restore ToolItemGroup child prop …erties clobbered by commit c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d. That and its counterpart were for removing :expand and :fill child props from GtkBox, but they ended up catching these for GtkToolItemGroup too. While GtkToolItemGroup still has these, we may as well keep demoing them demos/gtk-demo/toolpalette.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 5e8463842ad4639c8a06ac0c11506c7d5f30b9cc Author: Lapo Calamandrei Date: Thu May 11 15:26:48 2017 +0200 Adwaita: regenerate the css gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++++++++--- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++++++++--- 2 files changed, 26 insertions(+), 6 deletions(-) commit 3a1946b0767b605a80e7a7d0c5a0baba70393ae8 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 9546673d3382602d79d990c0cdbd30a5112fb80d 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 | 220 +++++++++++++++++++++++++++++++++++------ 1 file changed, 189 insertions(+), 31 deletions(-) commit a96c5864509b175d1120e467774343fad8d96769 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 1a95c259d7b37f11668f60b276100e27e2ed3c18 Author: Daniel Boles Date: Fri Mar 10 20:09:20 2017 +0000 ScrolledWindow: Optimise and clean up measure() • Only calculate the specified dimension – rather than measuring both & discarding the other (which will often be recalculated right after) • Only measure a given child scrollbar if it may be visible, not always • Move variables into narrowest scopes & otherwise improve readability https://bugzilla.gnome.org/show_bug.cgi?id=778853 gtk/gtkscrolledwindow.c | 87 +++++++++++++++++++++---------------------------- 1 file changed, 38 insertions(+), 49 deletions(-) commit 546433a4b7f936dc30d71104f7e6ddae2e0d9b9d 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 91f2a310abce81c7875007aae4c8e0dd021d0f1a Author: Daniel Boles Date: Wed May 10 19:11:16 2017 +0100 testsuite/gtk/scrolledwindow: Fix a copy-paste-o It measured horizontal size when it needs height, making the test fail. testsuite/gtk/scrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit daccf61dcf37e2cb2d346b0290cd239bbef757ff Author: Emmanuele Bassi Date: Wed May 10 12:03:01 2017 +0100 meson: Use buildtype to determine the debugging flags Meson has a `--buildtype` option which allows us to avoid defining an ad hoc `--enable-debug=yes|no|minimum` option ourselves. meson.build | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 7ec9c36891ee7bcd8914b9667d029c3040bcdfb0 Author: Emmanuele Bassi Date: Wed May 10 11:36:30 2017 +0100 meson: Drop unnecessary link_with The `declare_dependency()` for GIR does not need a `link_with` argument. gtk/meson.build | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) commit 022616326980bd876d28eb0b38f21e4a2570001b Author: Emmanuele Bassi Date: Sat May 6 17:25:42 2017 +0100 meson: Build the reftests suite It does not pass, but at least we can check it. testsuite/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 29bc0b1911f639af3fa7d3a3783d9b4e18f02fc2 Author: Emmanuele Bassi Date: Sat May 6 17:25:13 2017 +0100 meson: Use libexecdir option testsuite/reftests/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9f763cc34bb517ba754686d98d93d754a3125213 Author: Chun-wei Fan Date: Tue May 9 18:17:29 2017 -0700 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 win32/replace.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 477556aac21c2e7b96554838849b68fcb6a84ec7 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 28d8fdca0227efd81febcda0701fb1b214785160 Author: Lapo Calamandrei Date: Tue May 9 13:39:05 2017 +0200 Adwaita: regenerate the css gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++++- gtk/theme/Adwaita/gtk-contained.css | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) commit ebcf17debd0bcd781ef2d2d4202f8157d42046d9 Author: Lapo Calamandrei Date: Tue May 9 13:38:03 2017 +0200 Adwaita: add a comment Add a comment pointing to the related bug for dropdown menu margin. gtk/theme/Adwaita/_common.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e9ee313be2bbd6cfcb37932ce9e8bf5b4743323a Author: Lapo Calamandrei Date: Tue May 9 13:34:49 2017 +0200 Revert "Adwaita: remove unneeded margin on dropdown menu" This reverts commit af76e138f947d5cf3e83e4b820f7e64fd0316799. 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 78d4854d10f6baaecaa20e1160dd09ba2428683b Author: Lapo Calamandrei Date: Tue May 9 12:47:41 2017 +0200 Adwaita: regenerate css gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit af76e138f947d5cf3e83e4b820f7e64fd0316799 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 71adc74f27f6510e44342b6ff065161bfd01789b 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 621d1bb4ec64c0412cda8bd6f335c0e3033c00ef 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 dee666f5152aac25ff600d137b948cc1c2e572a6 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 5c74afb2f150559291cfeb493a4861eeebdbb1cb 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 9f9aaea3191a309ab342e47d4ca40cdaba3b771c 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 95e313a2833fcf2d80f0b298aaf2b533642b0198 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 c4a5f6a6018f376faa966ae1cb37ca11b9c963c6 Author: Matthias Clasen Date: Mon May 8 15:59:23 2017 -0400 Revert "GdkWaylandWindow: Unexport when finalizing" This reverts commit 251e216052cab4fd04e39c7872395b64363c11da. gdk/wayland/gdkwindow-wayland.c | 11 ----------- 1 file changed, 11 deletions(-) commit 251e216052cab4fd04e39c7872395b64363c11da 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 6d7749898ddafa98381b9d412f01bfde91e84c42 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 cfd15c95b0e75d3f75ca62cc12e6ff680d39eb57 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 00387c24ca8520e9f8c0696a8a5b91d8db7f132f Author: Balázs Úr Date: Fri May 5 18:56:59 2017 +0000 Update Hungarian translation po-properties/hu.po | 3286 ++++++++++++--------------------------------------- 1 file changed, 747 insertions(+), 2539 deletions(-) commit 004aba44dfaba1af36362be1f32010842f24c6e3 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 c0efc9ede96835ec598be4146cf86c04adffbd0e Author: Matej Urbančič Date: Fri May 5 13:25:51 2017 +0200 Updated Slovenian translation po/sl.po | 2003 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 1105 insertions(+), 898 deletions(-) commit db2c80d9dbac0b985ed79a895284d129731d16df Author: Emmanuele Bassi Date: Fri May 5 11:34:05 2017 +0100 meson: Generate man pages for the installed tools docs/reference/gtk/meson.build | 47 ++++++++++++++++++++++++++++++++++++++++++ meson_options.txt | 2 ++ 2 files changed, 49 insertions(+) commit 777906e26cadccfff29a03a889c776653c35c564 Author: Emmanuele Bassi Date: Fri May 5 11:16:06 2017 +0100 meson: Silence the introspection scanner We want the warnings, but not every single message. gtk/meson.build | 2 ++ 1 file changed, 2 insertions(+) commit 1681d4ad77fb8d7a6a16387cf44d5ac9b17f72a5 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 00cd92ea71eae5d272f6f7cca58d71a29334ca4c 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 3d21128dbb5e8551203c9e7aa6df481a62a24069 Author: Timm Bäder Date: Tue May 2 21:50:50 2017 +0200 Remove gtk_widget_get_preferred_* They are unnecessary now that we have gtk_widget_measure. docs/reference/gtk/gtk4-sections.txt | 5 -- gtk/gtksizerequest.c | 154 ++--------------------------------- gtk/gtkwidget.h | 18 ---- testsuite/gtk/scrolledwindow.c | 18 ++-- 4 files changed, 18 insertions(+), 177 deletions(-) commit 1a7a089e2c2e1886c5481e6b980f1f138f9cec7c Author: Timm Bäder Date: Wed May 3 16:37:55 2017 +0200 window: Stop using gtk_widget_get_preferred* gtk/gtkwindow.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 8b2c71703e2b5bdc6e8101872e73a5f79f3887eb 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 91932ffbc719350fcf629cfa753681de871685f0 Author: Timm Bäder Date: Tue May 2 19:11:53 2017 +0200 button: Remove baseline_align value It's unused. gtk/gtkbuttonprivate.h | 3 --- gtk/gtkcheckbutton.c | 11 ----------- gtk/gtkmodelbutton.c | 12 ------------ 3 files changed, 26 deletions(-) commit 7625e40e8293aa2bf76bf2b53ce888d80cf644e2 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 88900814cd4e4beafedbf8f52959d87e965014f5 Author: Tim-Philipp Müller Date: Wed May 3 18:40:56 2017 +0100 meson: simplify cups version check in printbackends Using cc.compute_int() instead of cc.get_define() for now as there seems to be some issue with get_define() (#1726). modules/printbackends/meson.build | 62 ++++++++++++--------------------------- 1 file changed, 18 insertions(+), 44 deletions(-) commit 77a0fc92c896fc4bde535baa6696ed0d90721616 Author: Lapo Calamandrei Date: Wed May 3 17:43:45 2017 +0200 Adwaita: regenerate css using sassc gtk/theme/Adwaita/gtk-contained-dark.css | 6543 +++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 6594 +++++++++--------------------- 2 files changed, 3786 insertions(+), 9351 deletions(-) commit 9be18363e771ac2046219ce171204057d8fab260 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 96fc66d32761e8224224d172cdcefc3fb7efab15 Author: Lapo Calamandrei Date: Wed May 3 17:31:50 2017 +0200 Adwaita: add a sassc based parse-sass.sh script gtk/theme/Adwaita/parse-sass.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 0dad501d16489f41a3b33f25f6d4024fd1cb3cb7 Author: Emmanuele Bassi Date: Wed May 3 16:22:52 2017 +0100 meson: Remove G_LOG_USE_STRUCTURED from target C flags The G_LOG_USE_STRUCTURED symbol is defined in the project flags, so we don't need to add it again in the per-target flags. gdk/broadway/meson.build | 3 +-- gdk/meson.build | 1 - gdk/wayland/meson.build | 1 - gdk/x11/meson.build | 1 - gtk/meson.build | 1 - 5 files changed, 1 insertion(+), 6 deletions(-) commit fee3f9afa15ee409f036a08ae4065faf10151416 Author: Ernestas Kulik Date: Wed May 3 17:36:45 2017 +0300 meson: depend on glib >= 2.53.1 The code uses g_object_new_with_properties(), which is only available in versions 2.53.1 and up. https://bugzilla.gnome.org/show_bug.cgi?id=782123 meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit fb6f9e10dade45dd95ec5cc8e4283e61bb824188 Author: Emmanuele Bassi Date: Wed May 3 16:11:17 2017 +0100 build: Use appropriate linker flag for the builder test The `-export-dynamic` flag is a libtool-specific flag; since we're not using libtool with Meson, we should instruct the C compiler to use the appropriate linker flag instead. testsuite/gtk/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c05fcdbba05730acef0adb46aeaaecca38b1ba5c Author: Emmanuele Bassi Date: Wed May 3 15:58:49 2017 +0100 window: Remove property definition Commit 92b0d2e8ea8b41ea914eb4d66b48cc7dd2d34b9d removed the hide-titlebar-when-maximized property handlers, but it still installed the GParamSpec into the GtkWindow class. gtk/gtkwindow.c | 15 --------------- 1 file changed, 15 deletions(-) commit 69ec6234a42a380c4a33fdcd84740e2b34dcb46e 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 3b9233910fcdcf4093a902792d4ce203f1539196 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 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit bc0a08eced7f6d014859d2e3486773247433518c Author: Emmanuele Bassi Date: Wed May 3 15:21:20 2017 +0100 testsuite: Remove unused function Silence a compiler warning. testsuite/gtk/window.c | 8 -------- 1 file changed, 8 deletions(-) commit 3ba514d31fab8976fce95b820e01071d3d5bffe5 Author: Emmanuele Bassi Date: Sun Apr 30 22:14:37 2017 +0100 build: Port the a11y test suite to Meson Copy the location of the test data and binaries from the autotools build, even though it's not really correct; currently we install the test data under libexecdir, but it should live under datadir, and we should use `G_TEST_DIST` to figure it out. The `state` subdirectory is missing. testsuite/a11y/meson.build | 129 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 123 insertions(+), 6 deletions(-) commit a54b6be6061ea03f19910a10a5403ab69733ef5f Author: Emmanuele Bassi Date: Sun Apr 30 22:13:47 2017 +0100 build: Add common settings for tests We are going to reuse them in the various parts of the test suite. testsuite/meson.build | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 8acf5a8174978beeed3b75f6a0d718295e3f88fc Author: Emmanuele Bassi Date: Sun Apr 30 12:39:59 2017 +0100 build: Update autotools for API reference changes docs/reference/gdk/Makefile.am | 72 +++++++++++++++++++----------------------- docs/reference/gsk/Makefile.am | 13 ++++---- docs/reference/gtk/Makefile.am | 36 ++++++++------------- 3 files changed, 54 insertions(+), 67 deletions(-) commit 15c4d7121c7481939189c83841679b73b658e65a Author: Emmanuele Bassi Date: Fri Apr 28 23:48:43 2017 +0100 build: Add Meson-related files to the autotools dist This way, a tarball generated via autotools will also allow building GTK+ via Meson. Makefile.am | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) commit 9b7148cdbd052394aafdf295c1146ade312827f5 Author: Emmanuele Bassi Date: Fri Apr 28 22:41:50 2017 +0100 build: Use link_whole for GDK backends When linking libgdk4 to each backend's static library, we want to use the whole-archive support. gdk/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d09ccaaf353a30c1b79736faeabda22e0b58eff0 Author: Emmanuele Bassi Date: Fri Apr 28 22:40:58 2017 +0100 build: Define G_LOG_USE_STRUCTURED in GDK We want to use the new structured logging support in GLib. gdk/broadway/meson.build | 2 +- gdk/meson.build | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) commit 9e8ba70d6905a7d7ddb45307ca06a1d627490480 Author: Emmanuele Bassi Date: Fri Apr 28 22:26:32 2017 +0100 build: Add common flags to GDK backends The common compiler and linker flags control, among other things, the default visibility of symbols; without them, we leak symbols that ought to be private. gdk/broadway/meson.build | 7 ++++++- gdk/wayland/meson.build | 3 ++- gdk/x11/meson.build | 3 ++- 3 files changed, 10 insertions(+), 3 deletions(-) commit efd2ce2be5cc343196e5daebea272b99958ce3fe Author: Emmanuele Bassi Date: Fri Apr 28 15:23:45 2017 +0100 build: Fix the introspection build GSK has various enumeration types that are currently not used; while they may go away, currently they are built and introspected. If we want the introspection machinery to work, and still use static libraries to build GDK and GSK into the GTK shared library, then we need to reference the get_type() function of these enumeration types somewhere, to avoid the linker discarding it, and thus breaking the build. As luck would have it, we have an autogenerated bit of C that refers to all the get_type() functions in the library; if we add the GSK types to it, then we get the reference we're looking for, and the build succeeds. gtk/gentypefuncs.py | 2 +- gtk/meson.build | 13 ++++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) commit ea32f4c020ed64e5957944f642ec0639b882cf00 Author: Emmanuele Bassi Date: Fri Apr 28 15:49:00 2017 +0100 build: Depend on Meson 0.40 at least meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c984c3b55ed97032e00eb3dbba28ee88a52ded17 Author: Emmanuele Bassi Date: Wed Apr 26 17:47:06 2017 +0100 build: Initial attempt at fixing the docs build We need to reference the types file directly, because it won't be copied into the builddir by Meson — except for GTK, which needs to generate its own types file using configure_file(). docs/reference/gdk/gdk4.types | 2 -- docs/reference/gdk/meson.build | 5 ++--- docs/reference/gsk/meson.build | 3 +-- docs/reference/gtk/meson.build | 18 ++++++++++++++++-- 4 files changed, 19 insertions(+), 9 deletions(-) commit 91dee46497241d75269d2742d761c913dcaea059 Author: Emmanuele Bassi Date: Wed Apr 26 17:10:15 2017 +0100 build: Use get_pkgconfig_variable() There's no need to run pkg-config ourselves. gtk/meson.build | 15 ++++----------- modules/input/meson.build | 27 ++++++++++++++++----------- 2 files changed, 20 insertions(+), 22 deletions(-) commit 17518ef89bdc6af016c2f0811e5ba0f9c7cfcdca Author: Emmanuele Bassi Date: Wed Apr 26 17:04:20 2017 +0100 build: Improve consistency of the "coding" style We're mixing a lot of styles in the Meson build files. This is an attempt at making everything slightly more consistent in terms of whitespace and indentation. demos/gtk-demo/meson.build | 70 ++++------ demos/icon-browser/meson.build | 18 ++- demos/widget-factory/meson.build | 36 ++---- examples/bp/meson.build | 4 +- examples/meson.build | 10 +- gdk/x11/meson.build | 12 +- gtk/meson.build | 270 ++++++++++++++++++++++----------------- meson.build | 114 ++++++++--------- modules/input/meson.build | 12 +- tests/meson.build | 8 +- 10 files changed, 278 insertions(+), 276 deletions(-) commit 1afd41558340053b7649aa01a1eb1fc5937a79b2 Author: Emmanuele Bassi Date: Wed Apr 26 17:02:26 2017 +0100 build: Clean up print backends Meson rules modules/printbackends/cloudprint/meson.build | 15 +++++++++------ modules/printbackends/cups/meson.build | 18 +++++++++++------- modules/printbackends/file/meson.build | 12 ++++++++---- modules/printbackends/lpr/meson.build | 12 ++++++++---- modules/printbackends/papi/meson.build | 13 ++++++++----- modules/printbackends/test/meson.build | 9 +++++++++ 6 files changed, 53 insertions(+), 26 deletions(-) commit 6dd35248d52078a95fa8525c3cbbd597b49090a2 Author: Emmanuele Bassi Date: Wed Apr 26 16:51:46 2017 +0100 build: Put the xkbcommon required version into a variable We use it in two places. meson.build | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 6728f45aa06c70503ef93d71c3e228381d939ac2 Author: Emmanuele Bassi Date: Wed Apr 26 16:02:17 2017 +0100 build: Ensure that Vulkan shaders are rebuilt if glslc is found If glslc is found, rebuild the shaders from GLSL to SPIR-V; otherwise, we're just going to use the built files we have committed in the source repository. gsk/meson.build | 91 ++++++++++++++++++++++++++++++++------------------------- 1 file changed, 51 insertions(+), 40 deletions(-) commit c1965150c72cc11d51febd4fec0e4334601f947c Author: Emmanuele Bassi Date: Wed Apr 26 15:59:43 2017 +0100 build: Add post-install script When building GTK+ straight from the repository without any assistance from packaging tools, we need to trigger system-wide updates, like the icon theme cache update, or the schema compilation. build-aux/meson/post-install.sh | 21 +++++++++++++++++++++ meson.build | 10 ++++++++++ 2 files changed, 31 insertions(+) commit 561f41d112e048004b71e732d406f02d393f2a85 Author: Emmanuele Bassi Date: Wed Apr 26 15:16:21 2017 +0100 build: Clean up Wayland protocol code generation We can build the name of the input and output files for the Wayland protocols we use from the protocol name, stability, and version. This is similar to how the autotools build does it, except much more clear and without shelling out twice to sed just to resolve the Makefile rule. gdk/wayland/genprotocolfiles.py | 6 ++-- gdk/wayland/meson.build | 78 ++++++++++++++++++++++++----------------- 2 files changed, 48 insertions(+), 36 deletions(-) commit 6b4b3f2f6cee3a2067972a0d4f6bf4a816323576 Author: Emmanuele Bassi Date: Wed Apr 26 15:15:45 2017 +0100 build: Add Meson options for quartz/win32 backends meson_options.txt | 4 ++++ 1 file changed, 4 insertions(+) commit 99d353003e91081086b8baeaf0ad59bf51f5c555 Author: Emmanuele Bassi Date: Wed Apr 26 14:44:06 2017 +0100 build: Disable introspection generation Currently gobject-introspection is badly borked with Meson. This will need to be reverted. gtk/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d35d82fb3551fea5859add791be5c56bd6e158f0 Author: Emmanuele Bassi Date: Wed Apr 19 14:08:13 2017 +0100 build: Rename GSK resource generator script Maintain the naming convention, since we have similar scripts for GDK and GTK already. gdk/meson.build | 2 +- gsk/{gen-gsk-resources-xml.py => gen-gsk-gresources-xml.py} | 2 +- gsk/meson.build | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit ba87e857e2e08dddf46bcb06df6dbb86eb544d4d Author: Emmanuele Bassi Date: Wed Apr 19 11:35:45 2017 +0100 build: Generate the API references (WIP) Still a work in progress. docs/reference/gdk/meson.build | 173 +++++++++++++++++++++ docs/reference/gsk/{gsk-docs.xml => gsk4-docs.xml} | 0 docs/reference/gsk/meson.build | 61 ++++++++ docs/reference/gtk/Makefile.am | 2 +- .../reference/gtk/{gtk-docs.sgml => gtk4-docs.xml} | 0 .../gtk/{gtk3-overrides.txt => gtk4-overrides.txt} | 0 docs/reference/gtk/meson.build | 33 ++++ docs/reference/meson.build | 17 ++ docs/tools/meson.build | 12 ++ meson.build | 7 + meson_options.txt | 2 + 11 files changed, 306 insertions(+), 1 deletion(-) commit 28dcb502316d1002c179147b9b3db46e2706a583 Author: Emmanuele Bassi Date: Wed Apr 19 11:34:59 2017 +0100 build: Add the appropriate inclusion paths for libgtk gtk/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 81341c042b535ffaaf3f215dec49a4dadace95bc Author: Emmanuele Bassi Date: Wed Apr 19 11:34:29 2017 +0100 build: Disable deprecation warnings for input methods modules/input/meson.build | 1 + 1 file changed, 1 insertion(+) commit f942aa53e2bfb7a353fa5df38f2a67fb9569bacd Author: Emmanuele Bassi Date: Wed Apr 19 11:31:08 2017 +0100 docs: Rename files to match type and version The main GDK API reference index is XML, not SGML. The overrides file is for GDK 4.x, not 3.x. docs/reference/gdk/Makefile.am | 2 +- docs/reference/gdk/{gdk-docs.sgml => gdk4-docs.xml} | 0 docs/reference/gdk/{gdk3-overrides.txt => gdk4-overrides.txt} | 0 3 files changed, 1 insertion(+), 1 deletion(-) commit 5e2eaa5dbc4b7affeef923c09a56b2482f664470 Author: Emmanuele Bassi Date: Tue Apr 18 18:04:31 2017 +0100 build: Add introspection generation Currently, no platform-specific introspection is generated; there will be a follow-up commit. gdk/meson.build | 4 +++- gtk/meson.build | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++++---- 2 files changed, 67 insertions(+), 5 deletions(-) commit e18d9a85cae81a06a5c8106bf41562487a62610a Author: Emmanuele Bassi Date: Tue Apr 18 15:16:28 2017 +0100 build: Use the common linker flags in GDK and GSK Instead of hard-coding `-Bsymbolic`. gdk/meson.build | 5 +++-- gsk/meson.build | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) commit 482f34006e6c9709a2f5a219ab6bcc5ff70e1aa0 Author: Emmanuele Bassi Date: Tue Apr 18 14:51:25 2017 +0100 build: Use the appropriate linker flags We need to check if the linker flags we use are available, depending on the platform, and we need to ensure that the shared library is versioned appropriately. gtk/meson.build | 5 +++-- meson.build | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) commit 47bcf66af8fa0f545b22c389fd712acb5d29f100 Author: Emmanuele Bassi Date: Tue Apr 18 14:29:48 2017 +0100 build: Bump version and C standard GTK+ 4.0 uses C99. meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit c97ef81a10a67fbc52bcbf496e64d30d1ae3d196 Author: Emmanuele Bassi Date: Tue Apr 18 14:28:46 2017 +0100 build: Add missing symbol visibility flags GTK symbols are not visible by default, and only the ones annotated with _GDK_EXTERN (and wrapper macros) are exported. We need to define _GDK_EXTERN during the configuration, depending on the platform and compiler we use. meson.build | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 68039b610b9622beb34ee865825eebe721a7c162 Author: Emmanuele Bassi Date: Tue Apr 18 14:28:11 2017 +0100 build: Add compiler warnings and errors We don't want to build buggy code. gdk/meson.build | 2 +- gsk/meson.build | 2 +- gtk/meson.build | 2 +- meson.build | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 4 files changed, 80 insertions(+), 7 deletions(-) commit ede1f7002f447db2fe24548e6ba2f792de93db0d Author: Emmanuele Bassi Date: Tue Apr 18 14:26:12 2017 +0100 build: Depend on graphene-gobject-1.0 We use the GObject types with Graphene, so we need to check that the library has been built with them. meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f4cc06ee346046260eb83f2d15f760775cfe616 Author: Emmanuele Bassi Date: Tue Apr 18 14:25:44 2017 +0100 build: Some whitespace cleanups meson.build | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 007d9a5e19d8b3c89f7f6afdf640cae041c314b5 Author: Emmanuele Bassi Date: Tue Apr 18 14:24:06 2017 +0100 build: Generate the appropriate GLib versioning checks The autotools build checks the version of GLib we are depending on in order to generate the appropriate GLIB_VERSION values for the min-required/max-allowed defines. meson.build | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) commit 8582f80391ec2b416790682ddbf6e165f9cf5c54 Author: Emmanuele Bassi Date: Tue Apr 18 14:22:23 2017 +0100 build: Add the appropriate paths in the configuration header Instead of injecting them into the C compiler arguments. config.h.meson | 2 ++ gtk/meson.build | 9 ++++----- meson.build | 2 ++ 3 files changed, 8 insertions(+), 5 deletions(-) commit 898bbb462620370700273048c5e44ccf623c8785 Author: Emmanuele Bassi Date: Tue Apr 18 14:21:05 2017 +0100 build: Use the appropriate quoting There's no need for string concatenation. gtk/meson.build | 3 +-- meson.build | 15 ++++++++++----- 2 files changed, 11 insertions(+), 7 deletions(-) commit 9105227b5674976452148418008894bf91505954 Author: Emmanuele Bassi Date: Tue Apr 18 14:13:51 2017 +0100 build: Do not mix private and public GDK headers The type generation script inside gtk/ will use the `gdk_headers` variable, and that must not contain private headers. gdk/meson.build | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit e1dc4f7ae1f14c116a20c619cf3fd5f6fed69365 Author: Tim-Philipp Müller Date: Fri Mar 31 00:15:08 2017 +0100 meson: gdk: fix static library names Fix double lib prefix in filenames (liblibgdk-xyz.a) gdk/broadway/meson.build | 2 +- gdk/mir/meson.build | 2 +- gdk/quartz/meson.build | 2 +- gdk/wayland/meson.build | 2 +- gdk/win32/meson.build | 2 +- gdk/x11/meson.build | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) commit e8509739564e278b2c35a69c75d4dde1ba9b0ab7 Author: Tim-Philipp Müller Date: Thu Mar 23 15:54:58 2017 +0000 meson: build input modules We have to work around some ordering problems here. We still manage to keep most of the guts in modules/input/meson.build, so it's not too ugly overall. (The autotools build solves this with a 'make -C ../../input/modules' inside gtk/Makefile, but that's not something we can or want to do.) config.h.meson | 3 -- gdk/meson.build | 1 + gsk/meson.build | 1 + gtk/meson.build | 39 ++++++++++++++--- meson.build | 8 ++++ meson_options.txt | 4 ++ modules/input/meson.build | 105 ++++++++++++++++++++++++++++++++++++++++++++++ modules/meson.build | 2 +- 8 files changed, 154 insertions(+), 9 deletions(-) commit 1c14e93e691088d2685011641031180f66989561 Author: Tim-Philipp Müller Date: Fri Mar 24 11:34:49 2017 +0000 meson: check for xinerama gdk/x11/meson.build | 1 + meson.build | 20 ++++++++++++++++---- meson_options.txt | 2 ++ 3 files changed, 19 insertions(+), 4 deletions(-) commit 25cdd19bb040740bd7cdc4359b867f4307b45814 Author: Tim-Philipp Müller Date: Fri Mar 24 11:03:56 2017 +0000 meson: fix XIAllowTouchEvents check Need to link against dep/lib to check for function in it. Also misc fixes to surrounding xi-related checks. meson.build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 2f3c9750582e444757ac16b1cdb5ecc2a04c157e Author: Tim-Philipp Müller Date: Thu Mar 23 20:55:59 2017 +0000 meson: remove duplicate libm variable Only need one of libm and mlib gdk/meson.build | 2 +- gtk/meson.build | 2 +- meson.build | 2 -- 3 files changed, 2 insertions(+), 4 deletions(-) commit 5d71390a750fcc9a057b73e8cf252a05eda8e5af Author: Tim-Philipp Müller Date: Thu Mar 23 20:50:03 2017 +0000 meson: check for more missing config.h defines Lots of them are unused and can be removed. For others we add a check. config.h.meson | 30 ------------------------------ gtk/meson.build | 19 +++++++++++++++++++ meson.build | 25 ++++++------------------- 3 files changed, 25 insertions(+), 49 deletions(-) commit 361e5d0b7473ad08de901b6b62f3b1cfbd9e98be Author: Tim-Philipp Müller Date: Thu Mar 23 19:36:59 2017 +0000 meson: simplify function checks Because we can. We don't need to specify the right header anymore to check for functions. meson.build | 46 ++++++++++++++++++++++++---------------------- 1 file changed, 24 insertions(+), 22 deletions(-) commit 4e9403df7f503f62ee51135e33ade9c12c78a286 Author: Tim-Philipp Müller Date: Thu Mar 23 19:15:44 2017 +0000 meson: simplify header checks Remove workaround for gcc bug (Meson does that now), and construct the right config.h defines for the headers on the fly instead of listing them in the build file, which is more error prone. meson.build | 50 ++++++++++++++++++++++---------------------------- 1 file changed, 22 insertions(+), 28 deletions(-) commit f12c011e43154063888da68cac3755a46245e965 Author: Matthias Clasen Date: Thu Mar 23 15:09:51 2017 +0000 Set glib min/max versions meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 69f075202d7bd3503af7406dd50ab1cb34399d19 Author: Tim-Philipp Müller Date: Wed Mar 22 18:32:36 2017 +0000 meson: fix GETTEXT_PACKAGE meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fc11fb7fda9df4f9ffb07d8e69f265ac2de5af45 Author: Matthias Clasen Date: Thu Mar 23 12:29:08 2017 +0000 Don't require glslc for vulkan The compiled shaders are checked into git. meson.build | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) commit 412c2225b172ffc8e5d4476a618ca5c87bb12b0f Author: Tim-Philipp Müller Date: Wed Mar 22 18:25:09 2017 +0000 meson: move colord checks into cups printbackend Which is the only user of it. Also add option to enable/disable. meson.build | 3 +-- meson_options.txt | 2 ++ modules/printbackends/cups/meson.build | 9 +++++++++ 3 files changed, 12 insertions(+), 2 deletions(-) commit d38db4dcddaec5a5b711f3de2fac7fe0786e46f1 Author: Tim-Philipp Müller Date: Wed Mar 22 18:15:17 2017 +0000 meson: gtk: set GTK_PRINT_BACKENDS define properly config.h.meson | 2 ++ gtk/meson.build | 1 - modules/printbackends/meson.build | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) commit a35e5f3135206850fe40213f890724c37c571411 Author: Tim-Philipp Müller Date: Wed Mar 22 16:48:56 2017 +0000 meson: modules: add printbackends The cups checks might not work properly everywhere yet, since they don't use cups-config and parse the output yet. config.h.meson | 3 - gtk/meson.build | 4 + meson.build | 14 ++-- meson_options.txt | 8 ++ modules/meson.build | 5 ++ modules/printbackends/cloudprint/meson.build | 7 ++ modules/printbackends/cups/meson.build | 8 ++ modules/printbackends/file/meson.build | 5 ++ modules/printbackends/lpr/meson.build | 5 ++ modules/printbackends/meson.build | 116 +++++++++++++++++++++++++++ modules/printbackends/papi/meson.build | 6 ++ 11 files changed, 172 insertions(+), 9 deletions(-) commit 3a496afa0be8b3a8d5183ef549f7239d3381739a Author: Tim-Philipp Müller Date: Wed Mar 22 16:51:39 2017 +0000 meson: gtk: don't overwrite top-level cdata variable with local stuff We need to set the global configuration data written into config.h from the modules/printbackends meson file. gtk/meson.build | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit cbfaebfa830f1a51e41a3c903b804eaed8328ff4 Author: Tim-Philipp Müller Date: Wed Mar 22 13:53:25 2017 +0000 meson: add po and po-properties meson.build | 3 +++ po-properties/meson.build | 3 +++ po/meson.build | 3 +++ 3 files changed, 9 insertions(+) commit 7cbf92505c0bd627127783827d2291123f8bea0e Author: Tim-Philipp Müller Date: Wed Mar 22 13:39:14 2017 +0000 meson: testsuites: tools: add meson build gtk/meson.build | 4 +++- testsuite/meson.build | 2 +- testsuite/tools/meson.build | 31 +++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+), 2 deletions(-) commit b95a5678f460e73886a7fe2f8ffa1eb96c58937c Author: Tim-Philipp Müller Date: Wed Mar 22 13:17:02 2017 +0000 meson: testsuite: reftests: add build defs, but needs more work Not sure how these are supposed to work yet, we can specify arguments for running the tests uninstalled as well with test(), if that helps in any way. testsuite/meson.build | 4 +- testsuite/reftests/meson.build | 445 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 447 insertions(+), 2 deletions(-) commit bffbc6e1b92c5da1732c59c5d600da6bee8690be Author: Tim-Philipp Müller Date: Wed Mar 22 11:39:27 2017 +0000 meson: testsuite: gdk: use array for test definitions testsuite/gdk/meson.build | 39 +++++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 20 deletions(-) commit 9bc24bf4d997176e822e6d5386f7f209b96a1040 Author: Tim-Philipp Müller Date: Wed Mar 22 11:23:52 2017 +0000 meson: testsuite: gtk: sync with Makefile and add some missing bits Also use an array. A few tests fail, needs investigation. testsuite/gtk/meson.build | 336 ++++++++++++++++++++++++++-------------------- 1 file changed, 190 insertions(+), 146 deletions(-) commit f67a9d58dbaff870e872a5144645253fe4b524b0 Author: Tim-Philipp Müller Date: Wed Mar 22 00:45:39 2017 +0000 meson: make sure gsk/gdk generated headers exist for libgtk_dep users Add back dependencies on libgdk_dep and libsk_dep which are declared dependencies. We removed this before because these declarations had link_with: lines that dragged in the static libgdk.a and libgsk.a libs which are linked into libgtk-4.so anyway and thus shouldn't be used when linking internal exes/tools against libgtk-4. Remove the static libs from the declared dependencies and have libgtk link those in explicitly, so that the declared deps now just provide all the built dependencies and include dirs and such for declared libgtk_dep users such as the internal exes/tools, which want all the generated gsk/gdk/gtk headers to exist before attempting to compile anything against the gtk+ headers. gdk/meson.build | 12 +++++------- gsk/meson.build | 12 +++++++----- gtk/meson.build | 21 ++++++++------------- testsuite/gdk/meson.build | 2 +- 4 files changed, 21 insertions(+), 26 deletions(-) commit 48e2b773696736449011abb73d4d3065fedfb907 Author: Tim-Philipp Müller Date: Wed Mar 22 00:15:31 2017 +0000 meson: generate .pc files config.h.meson | 3 - gtk/meson.build | 2 +- meson.build | 244 ++++++++++++++++++++++++++++++++++++++++++++------------ 3 files changed, 193 insertions(+), 56 deletions(-) commit 3ca1418178da4e925e496ba966a8605a30fbf6c6 Author: Tim-Philipp Müller Date: Tue Mar 21 13:34:25 2017 +0000 meson: gtk: update build file and sync to Makefile gtk/meson.build | 133 ++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 106 insertions(+), 27 deletions(-) commit 98e633f6584022eeb00904c37b44416cdcb7d233 Author: Tim-Philipp Müller Date: Mon Mar 20 19:24:11 2017 +0000 meson: gtk: use gnome.mkenums() and gnome.genmarshal() build_enum.py | 22 ------------------ build_marshal.py | 32 -------------------------- gtk/meson.build | 70 ++++++++++++++++++-------------------------------------- meson.build | 6 ----- 4 files changed, 22 insertions(+), 108 deletions(-) commit 07ffb19c429935ee3e60bffd7a6d2b68cbe8f64c Author: Tim-Philipp Müller Date: Mon Mar 20 19:16:04 2017 +0000 meson: gdk, gsk: fix install path of generated files gdk/meson.build | 2 +- gsk/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit d12ab27c8e0c6c7d5580d6790fac73e6a433ebc0 Author: Tim-Philipp Müller Date: Mon Mar 20 16:26:13 2017 +0000 meson: gtk: remove internal static libs from declared gtk dependency gdk and gsk are no longer separate libs but part of gtk now, so any Gtk+ user should just link to gtk, there's no need to additionally link against all those static helper libs that go into the gtk lib. This means we need to specifically add confinc to include_directories in more places to make sure the right config.h (i.e. ours) gets included and not a subproject's like graphene's config.h. Not dragging in static libs also fixes the issue of all executables having to be relinked for any and all changes. With this change it's super-fast now and can be skipped for most changes that don't touch the external ABI. gtk/meson.build | 3 ++- tests/meson.build | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 7738688c00f6101ffb91751dbf22593ce8c61d65 Author: Tim-Philipp Müller Date: Mon Mar 20 16:25:14 2017 +0000 meson: gtk: use array for installed tools definition gtk/meson.build | 62 ++++++++++++++++++--------------------------------------- 1 file changed, 19 insertions(+), 43 deletions(-) commit bdfcfdec572bb766a154709ecd364e702a2f9814 Author: Tim-Philipp Müller Date: Mon Mar 20 16:24:12 2017 +0000 meson: gtk: install headers gtk/a11y/meson.build | 1 + gtk/deprecated/meson.build | 2 ++ gtk/meson.build | 13 ++++--------- 3 files changed, 7 insertions(+), 9 deletions(-) commit c7d3fe5e2613e4bd53bef61fc3d1475b7e6321b9 Author: Tim-Philipp Müller Date: Mon Mar 20 12:18:15 2017 +0000 meson: gdk: add quartz backend skeleton Won't even build yet, just put basic bits in place. gdk/meson.build | 3 ++- gdk/quartz/meson.build | 46 ++++++++++++++++++++++++++++++++++++++++++++++ meson.build | 1 + 3 files changed, 49 insertions(+), 1 deletion(-) commit 442185388b2197210c7b8da0d1221fab9d08c79c Author: Tim-Philipp Müller Date: Mon Mar 20 12:03:45 2017 +0000 meson: gdk: win32: add skeleton bits for win32 backend Won't even build, configure bits still missing. gdk/meson.build | 2 +- gdk/win32/meson.build | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ meson.build | 1 + 3 files changed, 52 insertions(+), 1 deletion(-) commit cbb6a62496af1a0653a69292f60f415bc86abe23 Author: Tim-Philipp Müller Date: Mon Mar 20 11:44:42 2017 +0000 meson: gdk: wayland: generate private wayland headers first gdkprivate-wayland.h includes generated wayland client protocol headers and is included from gdkdisplaymanager.c, so we need to generate those client protocol headers first also when building main gdk itself. gdk/meson.build | 8 +++++++- gdk/wayland/meson.build | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) commit 152a25d09915602082022368edc1fb6190baebb8 Author: Tim-Philipp Müller Date: Mon Mar 20 11:44:04 2017 +0000 meson: gdk: add Mir backend bits Completely untested, might not even build. gdk/gdkconfig.h.meson | 1 + gdk/meson.build | 3 ++- gdk/mir/meson.build | 31 +++++++++++++++++++++++++++++++ meson.build | 8 +++++++- meson_options.txt | 14 ++++++++++---- 5 files changed, 51 insertions(+), 6 deletions(-) commit e001d95538d2806fd34d6baf376695aec0ba38bb Author: Tim-Philipp Müller Date: Mon Mar 20 00:37:09 2017 +0000 meson: gdk: build individual backends as static libs This is how it's done in the autotools build. Also avoids problems with multiple source files having the same name (gdkeventsource.c). Also move broadway backend code into broadway subdir. gdk/broadway/meson.build | 63 +++++++++++++++++++++++++++++++++ gdk/meson.build | 67 ++++++------------------------------ gdk/wayland/gdkeventsource-wayland.c | 1 - gdk/wayland/meson.build | 8 ++++- gdk/x11/meson.build | 6 ++++ gtk/meson.build | 2 +- 6 files changed, 88 insertions(+), 59 deletions(-) commit d4881df0d8c5e69b0341d38ea0a47bb62a0b85b8 Author: Tim-Philipp Müller Date: Mon Mar 20 00:36:38 2017 +0000 meson: gdk: wayland: move wayland bits into wayland subdir gdk/meson.build | 59 ++---------------------------------- gdk/wayland/gdkeventsource-wayland.c | 1 + gdk/wayland/meson.build | 50 +++++++++++++++++++++++++----- 3 files changed, 46 insertions(+), 64 deletions(-) commit 4b969b1b405c9babecce598c1f81b29a7159a32c Author: Tim-Philipp Müller Date: Sun Mar 19 20:50:58 2017 +0000 meson: gdk: wayland: use array for protocol file generation gdk/wayland/meson.build | 132 ++++++++++++------------------------------------ 1 file changed, 33 insertions(+), 99 deletions(-) commit 22d7b825fb6ec0e464e3e7c39201d2c67fdc143e Author: Tim-Philipp Müller Date: Sun Mar 19 19:54:29 2017 +0000 meson: gdk: move x11 bits into x11 subdirectory Also install headers. gdk/meson.build | 90 ++--------------------------------------------------- gdk/x11/meson.build | 67 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+), 87 deletions(-) commit b947e88fbf8de3effa192ab2b09c9ebc99788b6d Author: Tim-Philipp Müller Date: Sun Mar 19 15:46:55 2017 +0000 meson: gdk: update and sync with Makefiles Also create gdk.gresource.xml at build-time. gdk/gdk.gresource.xml | 15 -- gdk/gdk.gresource.xml.meson | 6 - gdk/gdkversionmacros.h.meson | 415 ------------------------------------------ gdk/gen-gdk-gresources-xml.py | 33 ++++ gdk/meson.build | 125 +++++-------- meson.build | 3 +- 6 files changed, 82 insertions(+), 515 deletions(-) commit 7966ab6001943ca000e14516f3dd171387f8836f Author: Tim-Philipp Müller Date: Sun Mar 19 14:22:33 2017 +0000 meson: demos: disable add_install_script() calls that don't work right yet Errors out. Might really wants a script and not a binary. demos/gtk-demo/meson.build | 9 +++++---- demos/widget-factory/meson.build | 9 +++++---- 2 files changed, 10 insertions(+), 8 deletions(-) commit a0c207614aa50470d2eec0e117fc4c8f29d2fd1d Author: Tim-Philipp Müller Date: Sat Mar 18 13:07:38 2017 +0000 meson: gsk: install public headers gsk/meson.build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7b6b3c77862be33ec6a60ce977e79124cd6c93df Author: Tim-Philipp Müller Date: Sat Mar 18 12:54:33 2017 +0000 meson: gsk: use gnome.mkenums() to generate enum types gsk/meson.build | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) commit fed7d22df7f3e819fd202b45fa978835c81270bf Author: Tim-Philipp Müller Date: Sat Mar 18 12:14:12 2017 +0000 meson: gsk: generate gsk.resources.xml gsk/gen-gsk-resources-xml.py | 52 +++++++++++++++++++ gsk/gsk.resources.xml | 15 ------ gsk/meson.build | 116 ++++++++++++++++++++++++++++--------------- 3 files changed, 129 insertions(+), 54 deletions(-) commit 95979f4d2f3961c5b06af84ed80e759894cfc78a Author: Tim-Philipp Müller Date: Fri Mar 17 23:43:36 2017 +0000 meson: add vulkan bits gdk/gdkconfig.h.meson | 2 ++ gdk/meson.build | 15 ++++++---- gsk/meson.build | 82 ++++++++++++++++++++++++++++++++++++++++----------- meson.build | 20 +++++++++++++ meson_options.txt | 1 + 5 files changed, 98 insertions(+), 22 deletions(-) commit 3ac88fa6b65ddb7223cd6f6f66fbf504a9401a50 Author: Tim-Philipp Müller Date: Sun Mar 12 20:13:10 2017 +0000 meson: examples: update Mostly style changes. Don't create resource source files with spaces in them, that's tempting our luck. examples/application1/meson.build | 14 +++------- examples/application10/meson.build | 17 +++--------- examples/application2/meson.build | 20 ++++---------- examples/application3/meson.build | 20 ++++---------- examples/application4/meson.build | 20 ++++---------- examples/application5/meson.build | 22 ++++------------ examples/application6/meson.build | 19 ++++---------- examples/application7/meson.build | 17 +++--------- examples/application8/meson.build | 17 +++--------- examples/application9/meson.build | 17 +++--------- examples/bp/meson.build | 14 +++------- examples/builder.c | 5 ++++ examples/meson.build | 54 +++++++++----------------------------- 13 files changed, 65 insertions(+), 191 deletions(-) commit d276cd47a5db26718f03b84ca3586a4fc5475f1b Author: Tim-Philipp Müller Date: Sun Mar 12 18:36:21 2017 +0000 meson: tests: make tests find resources from the source dir Should probably also do this in the autotools build, since the same problem exists there as well if we use srcdir != builddir. tests/meson.build | 10 +++++++--- tests/testdialog.c | 5 +++++ tests/testgiconpixbuf.c | 5 +++++ tests/testgtk.c | 6 ++++++ tests/testiconview.c | 5 +++++ tests/testpopover.c | 5 +++++ tests/testselectionmode.c | 5 +++++ tests/testsplitheaders.c | 5 +++++ tests/teststackedheaders.c | 5 +++++ 9 files changed, 48 insertions(+), 3 deletions(-) commit 08153c38547f0e23ab3f22844f5a0537c7095d65 Author: Tim-Philipp Müller Date: Sun Mar 12 18:13:31 2017 +0000 meson: tests: update and sync with Makefiles tests/meson.build | 314 +++++++++++++++++++++------------------------- tests/visuals/meson.build | 7 +- 2 files changed, 144 insertions(+), 177 deletions(-) commit b6722b0a36ead7cad70dac53303d85455799402f Author: Tim-Philipp Müller Date: Sun Mar 12 16:54:44 2017 +0000 meson: demos: update and sync up with Makefiles demos/icon-browser/meson.build | 15 +++++++------- demos/meson.build | 6 +++--- demos/widget-factory/meson.build | 43 ++++++++++++++++++++++++++++------------ 3 files changed, 40 insertions(+), 24 deletions(-) commit b8a017b08195e374bf9a376cfcd9ec8374a40cd6 Author: Tim-Philipp Müller Date: Sun Mar 12 16:28:11 2017 +0000 meson: use add_project_arguments() instead of add_global_arguments() So Gtk+ can be used as a subproject. meson.build | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit d6a824476dc469b0d962568e737805b2519472c5 Author: Tim-Philipp Müller Date: Sun Mar 12 16:27:34 2017 +0000 meson: gtk-demo: update and sync up with Makefile.am demos/gtk-demo/meson.build | 88 +++++++++++++++++++++++++++++++--------------- 1 file changed, 59 insertions(+), 29 deletions(-) commit 37d59385619d50646dd0dad3e2546a536acdba8d Author: Tim-Philipp Müller Date: Sat Mar 11 22:31:31 2017 +0000 meson: update list of sources for changes in git master gdk/meson.build | 7 ++----- gsk/meson.build | 15 ++++++++++++--- gtk/deprecated/meson.build | 10 ++-------- gtk/inspector/meson.build | 6 ++++++ gtk/meson.build | 5 +++-- tests/meson.build | 8 +------- 6 files changed, 26 insertions(+), 25 deletions(-) commit a23ce5c11ca826567e332bcb13a3363ff504a14a Author: Tim-Philipp Müller Date: Sat Mar 11 22:30:35 2017 +0000 meson: fix checks for maths and X11 funcs that need the right deps meson.build | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) commit 917a6b091269676a39d3efbf394216c8b53842c1 Author: Tim-Philipp Müller Date: Sat Mar 11 22:11:07 2017 +0000 meson: work around meson/gcc bug detecting linux/* headers meson.build | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit a223294605b037e114cbcf0827e941d7af991d40 Author: Tim-Philipp Müller Date: Sat Mar 11 22:06:07 2017 +0000 meson: set _GNU_SOURCE project wide Easier, also means we don't have to define it for checks. that will only succeed with it defind. meson.build | 2 ++ 1 file changed, 2 insertions(+) commit e675675b78bf88d4bfa8721e62b625b701c150d8 Author: Tim-Philipp Müller Date: Sat Mar 11 22:02:49 2017 +0000 meson: testsuite: gdk: need to dep on gtk Almost all of these tests include gtk/gtk.h so we need to dep on libgtk not just libgdk. Otherwise compilation fails because graphene.h include can't be found. testsuite/gdk/meson.build | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 75fd87ce61ac0c32b58c2490382a78d6d51cbfda Author: Tim-Philipp Müller Date: Sat Mar 11 21:54:20 2017 +0000 meson: gtk: generate gtk.gresource.xml gtk/gen-gtk-gresources-xml.py | 90 ++++++++++++++ gtk/gtk.gresource.xml | 269 ------------------------------------------ gtk/meson.build | 13 +- 3 files changed, 101 insertions(+), 271 deletions(-) commit aa52cbeb11efeae6eb2499f5f0cb4dc2aa12ea7e Author: Tim-Philipp Müller Date: Sun Feb 12 00:42:37 2017 +0000 meson: gtk: add missing source file gtk/meson.build | 1 + 1 file changed, 1 insertion(+) commit 154ca1d1e46d50ffad384a3e66a1da7b2cb4884d Author: Tim-Philipp Müller Date: Sat Feb 11 20:15:25 2017 +0000 meson: make sure gdk/gdkenumtypes.h is generated for users of libgtk_dep Add libgdk_dep as dependency to the libgtk_dep declare_dependency(), so that the generated gdk includes are generated before anything is built that tries to include gtk headers (such as various tests that don't depend on gdk directly). gtk/meson.build | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 55bbe0612ea41dd263a59bee5134a9c3b0068fd3 Author: Tim-Philipp Müller Date: Sun Feb 5 13:41:38 2017 +0000 Rename generated gtktypefuncs.c to gtktypefuncs.inc This is needed for the Meson port, a file name .c that's included and shouldn't be compiled into an object is difficult to manage otherwise. And it's not actually a valid .c file anyway. gtk/Makefile.am | 6 +++--- gtk/gtktestutils.c | 2 +- gtk/makefile.msc.in | 6 +++--- gtk/meson.build | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) commit b08a9bac6fcffea581fcc90833d25dec33e7063e Author: Tim-Philipp Müller Date: Sun Feb 5 11:41:14 2017 +0000 meson: add graphene subproject that can be used as fallback meson.build | 3 +-- subprojects/graphene.wrap | 4 ++++ 2 files changed, 5 insertions(+), 2 deletions(-) commit 4fcca9945f65cb3ce66908e874667c3da5efc110 Author: Timm Bäder Date: Thu Nov 3 09:47:00 2016 +0100 meson: update build files demos/gtk-demo/meson.build | 2 -- gdk/meson.build | 21 +++++-------- gsk/gsk.resources.xml | 15 +++++++++ gsk/meson.build | 77 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/a11y/meson.build | 3 -- gtk/deprecated/meson.build | 76 --------------------------------------------- gtk/gtktestutils.c | 2 +- gtk/meson.build | 45 +++++++++------------------ meson.build | 5 +-- tests/meson.build | 30 ------------------ testsuite/gtk/meson.build | 4 --- 11 files changed, 118 insertions(+), 162 deletions(-) commit 409ed215948fcc77b91a98dfe15856af3977a58d Author: Timm Bäder Date: Mon Sep 26 12:51:17 2016 +0200 meson: Sort input files by name gdk/meson.build | 137 ++++++++++++++++--------- gdk/wayland/meson.build | 4 - gtk/a11y/meson.build | 63 +++++++++++- gtk/deprecated/meson.build | 49 ++++++++- gtk/inspector/meson.build | 4 +- gtk/meson.build | 247 +++++++++++++++++++-------------------------- testsuite/a11y/meson.build | 8 ++ testsuite/meson.build | 3 + 8 files changed, 311 insertions(+), 204 deletions(-) commit 6dd6660c685d22e88af5ed4d0b5f1f22df0338de Author: Timm Bäder Date: Sat Sep 24 17:35:10 2016 +0200 meson: Conditionally check for dependencies config.h.meson | 6 ++ demos/gtk-demo/meson.build | 2 +- meson.build | 156 +++++++++++++++++++++++++-------------------- 3 files changed, 95 insertions(+), 69 deletions(-) commit 02a250147fa0ea30ff2a0b25e143e62918e206a6 Author: Timm Bäder Date: Sat Sep 24 12:46:10 2016 +0200 meson: Check for more libraries meson.build | 79 +++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 51 insertions(+), 28 deletions(-) commit bfabaa0bd66b70e4ff9f372f274e0aa766bdd292 Author: Timm Bäder Date: Sat Sep 24 11:31:00 2016 +0200 meson: build some more tests tests/meson.build | 98 +++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 84 insertions(+), 14 deletions(-) commit 09ad2f9d31f1863b6ba971e64cc5639467e8bb31 Author: Timm Bäder Date: Sat Sep 24 11:07:34 2016 +0200 meson: build tests/visuals tests/meson.build | 2 ++ tests/visuals/meson.build | 6 ++++++ 2 files changed, 8 insertions(+) commit 0748c415da070dd41d92f52ab6e1a9f69e7a1b18 Author: Timm Bäder Date: Sat Sep 24 10:43:22 2016 +0200 meson: Build gtk utils demos/gtk-demo/meson.build | 3 ++- demos/icon-browser/meson.build | 3 ++- demos/widget-factory/meson.build | 3 ++- gtk/meson.build | 54 +++++++++++++++++++++++++++++++++++++--- 4 files changed, 57 insertions(+), 6 deletions(-) commit 092f6d5c436638b8c2af8d9f27751fa3253d3d11 Author: Timm Bäder Date: Sat Sep 24 10:18:26 2016 +0200 meson: Install libgtk and libgdk gdk/meson.build | 1 + gtk/meson.build | 4 ++-- tests/meson.build | 1 - testsuite/gtk/meson.build | 1 - 4 files changed, 3 insertions(+), 4 deletions(-) commit d353924c3db4f8e3d2bf3779d42d4d641f6939cf Author: Timm Bäder Date: Sat Sep 24 10:04:23 2016 +0200 gtk/meson: Read dirs from options gtk/meson.build | 29 +++++++++++++++++++---------- 1 file changed, 19 insertions(+), 10 deletions(-) commit 8ae847e4fcb10ba9731dc33ab65f9c1544c7379e Author: Timm Bäder Date: Sat Sep 24 09:38:10 2016 +0200 Build examples examples/application1/meson.build | 11 +++++++ examples/application10/meson.build | 23 +++++++++++++++ examples/application2/meson.build | 17 +++++++++++ examples/application3/meson.build | 17 +++++++++++ examples/application4/meson.build | 17 +++++++++++ examples/application5/meson.build | 21 +++++++++++++ examples/application6/meson.build | 23 +++++++++++++++ examples/application7/meson.build | 23 +++++++++++++++ examples/application8/meson.build | 23 +++++++++++++++ examples/application9/meson.build | 23 +++++++++++++++ examples/bp/meson.build | 13 +++++++++ examples/meson.build | 60 ++++++++++++++++++++++++++++++++++++++ meson.build | 1 + 13 files changed, 272 insertions(+) commit 8bf141b364bbd59d77582644bb423c2d7683774a Author: Timm Bäder Date: Sat Sep 24 08:45:08 2016 +0200 meson: Build all tests in tests/ gtk/meson.build | 8 ++-- tests/meson.build | 140 +++++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 143 insertions(+), 5 deletions(-) commit d2ecd6e3c66885e0389d23b1c67bb03a8953201d Author: Timm Bäder Date: Sat Sep 24 08:44:53 2016 +0200 meson: Also check for sincos meson.build | 1 + 1 file changed, 1 insertion(+) commit fe29dbd9ccf46b80122918b5ec32624239b85f32 Author: Timm Bäder Date: Sat Sep 24 08:15:28 2016 +0200 meson.build: Add more required versions ...build tests/ and testsuite/, properly define gtk_version, etc. meson.build | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) commit 1125e4d77c7fa070a23a4d54cf72a3d7a1ce03ab Author: Tim-Philipp Müller Date: Tue Sep 20 16:46:30 2016 +0100 meson: figure out wayland-protocols pkgdatadir via pkg-config Instead of hardcoding the location. gdk/wayland/meson.build | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit abe80bb7c41b54e5e43cb9fedc3a2790ace734d6 Author: Timm Bäder Date: Tue Sep 20 21:25:39 2016 +0200 meson: Use -Bsymbolic gdk/meson.build | 3 ++- gtk/meson.build | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) commit 5116b2b612eac07bdeca9177dcd594701f22149f Author: Timm Bäder Date: Tue Sep 20 17:02:12 2016 +0200 meson: Require gtkmarshal_h before we build gtk gdk/meson.build | 3 +-- gtk/meson.build | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) commit 9e0c74b513b329976ebdc1b00b72539a1340b60a Author: Timm Bäder Date: Tue Sep 20 16:34:33 2016 +0200 meson: Disable broadway build meson_options.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2144b776b2f3190e3977d47786ca16465fb5c6a4 Author: Timm Bäder Date: Tue Sep 20 16:29:14 2016 +0200 meson: Generate demos.h for gtk3-demo demos/gtk-demo/geninclude.py | 108 +++++++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/meson.build | 33 ++++++++++--- gdk/meson.build | 1 + gtk/meson.build | 5 +- meson.build | 26 ++++++++++- 5 files changed, 164 insertions(+), 9 deletions(-) commit fe42d645ad04a730d735e8ff94d8a4aadd347de1 Author: Timm Bäder Date: Tue Sep 20 12:13:28 2016 +0200 meson: Build gtk3-demo demos/gtk-demo/meson.build | 91 ++++++++++++++++++++++++++++++++++++++++++++++ demos/meson.build | 1 + gtk/meson.build | 3 +- meson.build | 1 + meson_options.txt | 2 +- 5 files changed, 95 insertions(+), 3 deletions(-) commit 81ffccf79f670e4f359cf16e13353b14f966d40e Author: Timm Bäder Date: Tue Sep 20 11:10:27 2016 +0200 meson: build gtk/ again meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 294ebd70b323e90770892f136e46ed50048279c7 Author: Timm Bäder Date: Sat Sep 10 20:40:02 2016 +0200 build: Generate wayland protocol files gdk/meson.build | 140 +++++++++++++++++++--------------------- gdk/wayland/genprotocolfiles.py | 47 ++++++++++++++ gdk/wayland/meson.build | 110 +++++++++++++++++++++++++++++++ meson.build | 2 +- meson_options.txt | 2 +- 5 files changed, 227 insertions(+), 74 deletions(-) commit 41d019851c1583e490511c6abd27b8b6412d3dbd Author: Timm Bäder Date: Sat Sep 10 20:39:07 2016 +0200 wayland: Include generated sources from builddir, not srcdir gdk/wayland/gdkdisplay-wayland.c | 6 +++--- gdk/wayland/gdkwindow-wayland.c | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) commit c9016fb8a3a89f70e59bf4d435516bfa455f5d38 Author: Timm Bäder Date: Sat Sep 10 18:10:11 2016 +0200 gentypefuncs.py: Use python3 gtk/gentypefuncs.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0f7f4225debc09a6934734da3e1f4de0c6b81836 Author: Tim-Philipp Müller Date: Sat Sep 10 12:10:59 2016 +0100 meson: replace gentypefuncs.d with python script gtk/gentypefuncs.d | 45 --------------------------------------------- gtk/gentypefuncs.py | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ gtk/meson.build | 3 +-- 3 files changed, 50 insertions(+), 47 deletions(-) commit 88a2a571d5e7c4bcf7d15478071b784d5b517ea5 Author: Timm Bäder Date: Sat Sep 10 06:58:16 2016 +0200 gtk major version meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3f62b935e553a18efc77f993c28f1ef8e05b8c06 Author: Timm Bäder Date: Fri Sep 9 22:02:21 2016 +0200 meson: Use xrandr gdk/meson.build | 3 ++- gtk/meson.build | 72 +++++++++++++++++++++++++++------------------------------ meson.build | 4 +++- 3 files changed, 39 insertions(+), 40 deletions(-) commit df965304d4f7cdd0b5b2c4268e28ee4b844cfdf9 Author: Timm Bäder Date: Tue Aug 23 08:21:54 2016 +0200 meson: make gtk buildable x11 only gdk/build_enum.py => build_enum.py | 17 +- build_marshal.py | 1 - gdk/Makefile.am | 3 +- gdk/gdk.gresource.xml | 15 ++ gdk/gdk.gresource.xml.meson | 6 + gdk/gdkversionmacros.h.meson | 415 +++++++++++++++++++++++++++++++++++++ gdk/meson.build | 279 +++++++++++++++---------- gtk/gentypefuncs.d | 45 ++++ gtk/gtk.gresource.xml | 269 ++++++++++++++++++++++++ gtk/gtkwindow.c | 11 +- gtk/meson.build | 367 ++++++++++++++++++++++++++++++-- meson.build | 77 ++++--- 12 files changed, 1338 insertions(+), 167 deletions(-) commit 082cf3553d4eedf32f5c3c70c4d9f01da0efadb7 Author: Timm Bäder Date: Mon Aug 22 21:26:38 2016 +0200 meson: Build gtk marshallers And fix libgtk_dep/libgdk_dep to link_with the shared lib gdk/build_marshal.py => build_marshal.py | 16 +++--- demos/icon-browser/meson.build | 1 - demos/widget-factory/meson.build | 3 -- gdk/meson.build | 40 +++++++------- gtk/meson.build | 38 ++++++++----- meson.build | 4 ++ tests/meson.build | 5 ++ testsuite/css/meson.build | 2 +- testsuite/css/nodes/meson.build | 2 +- testsuite/css/parser/meson.build | 2 +- testsuite/css/style/meson.build | 1 - testsuite/gdk/meson.build | 16 +++--- testsuite/gtk/meson.build | 93 ++++++++++++++++---------------- 13 files changed, 123 insertions(+), 100 deletions(-) commit 1e8a6064039485d7a1d4a1e1f94f400b4cdb0886 Author: Timm Bäder Date: Sun Aug 21 18:01:14 2016 +0200 meson: Add unit test files meson.build | 1 + testsuite/css/meson.build | 6 ++ testsuite/css/nodes/meson.build | 3 + testsuite/css/parser/meson.build | 3 + testsuite/css/style/meson.build | 15 ++++ testsuite/gdk/meson.build | 24 +++++++ testsuite/gtk/meson.build | 148 +++++++++++++++++++++++++++++++++++++++ testsuite/meson.build | 3 + 8 files changed, 203 insertions(+) commit 3b0709b6e5df54a7eb19f645dda2653771e353ee Author: Timm Bäder Date: Sun Aug 21 18:00:19 2016 +0200 gtk: Generate gresources file gtk/meson.build | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 7fff2901aa68198aeb0042836f89d2ed843d8248 Author: Timm Bäder Date: Sun Aug 21 17:16:03 2016 +0200 meson: Add options for x/wayland/broadway backends config.h.meson | 6 ++++ gdk/meson.build | 99 +++++++++++++++++++++++++++++-------------------------- gtk/meson.build | 76 +++++++++++++++++++++++------------------- meson.build | 8 +++++ meson_options.txt | 3 ++ 5 files changed, 111 insertions(+), 81 deletions(-) commit 5475768d3278acba21574aad394f598e52c53c14 Author: Timm Bäder Date: Sun Aug 21 16:00:37 2016 +0200 Meson build v2 config.h.meson | 9 ++ demos/icon-browser/meson.build | 22 +++++ demos/meson.build | 2 + demos/widget-factory/meson.build | 22 +++++ gdk/gdkconfig.h.meson | 19 +++++ gdk/meson.build | 179 ++++++++++++++++++++++++++++++++++++--- gtk/a11y/meson.build | 1 + gtk/inspector/meson.build | 4 +- gtk/meson.build | 83 ++++++++++++++++-- meson.build | 20 ++++- 10 files changed, 332 insertions(+), 29 deletions(-) commit 7a90e06a3c946d25788d8cccacd6fefed354836d Author: Emmanuele Bassi Date: Mon Aug 15 09:03:57 2016 +0100 Add Meson build files Original work by: Jussi Pakkanen https://bugzilla.gnome.org/show_bug.cgi?id=769881 config.h.meson | 302 +++++++++++++++++++++++++++++++++ gdk/build_enum.py | 29 ++++ gdk/build_marshal.py | 29 ++++ gdk/meson.build | 170 +++++++++++++++++++ gtk/a11y/meson.build | 56 ++++++ gtk/deprecated/meson.build | 42 +++++ gtk/inspector/meson.build | 31 ++++ gtk/meson.build | 412 +++++++++++++++++++++++++++++++++++++++++++++ meson.build | 138 +++++++++++++++ 9 files changed, 1209 insertions(+) commit 35c26d00d783724ff10ca18b847b01b17af0cbb5 Author: Emmanuele Bassi Date: Tue Apr 18 15:14:35 2017 +0100 gsk: Include the private header Both gskprivate.c and gskvulkanrenderer.c call `gsk_ensure_resources` but fail in clude `gskprivate.h`, where the function is declared. gsk/gskprivate.c | 1 + gsk/gskvulkanrender.c | 2 ++ 2 files changed, 3 insertions(+) commit 71ad17cae1223114c192c9a5d49823aad5cd9f40 Author: Emmanuele Bassi Date: Tue Apr 18 18:31:27 2017 +0100 Remove gdkkeysyms-compat.h The compatibility header was needed after GTK+ 3.0 renamed the key symbols from `GDK_*` to `GDK_KEY_*` to avoid collisions. gdk/Makefile.am | 12 +- gdk/gdkkeysyms-compat.h | 2301 --------------------------------------- gdk/gdkkeysyms-update.pl | 31 +- gdk/makefile.msc | 1 - modules/input/gtkimcontextime.c | 8 +- 5 files changed, 11 insertions(+), 2342 deletions(-) commit a9fdf49ed42864a4f81954a898c0067ccfb3bc01 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 5c79d65717447a09a378baf45cec4954c3bfb8cd 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 98b1075764bd998f4ebae1db2e2bb3fc7fa1bbf1 Author: Emmanuele Bassi Date: Fri Apr 28 15:07:04 2017 +0100 gdk: Remove GdkX11DisplayManager from the build We don't instantiate it, and we don't use it any more. docs/reference/gdk/gdk4-sections.txt | 6 ---- gdk/Makefile.am | 2 -- gdk/x11/Makefile.am | 2 -- gdk/x11/gdkdisplaymanager-x11.c | 61 ------------------------------------ gdk/x11/gdkx-autocleanups.h | 1 - gdk/x11/gdkx.h | 1 - gdk/x11/gdkx11displaymanager.h | 48 ---------------------------- testsuite/gtk/defaultvalue.c | 1 - testsuite/gtk/notify.c | 1 - testsuite/gtk/objects-finalize.c | 1 - 10 files changed, 124 deletions(-) commit caacab13e96f3d79a197ad93195b5b30f6775c9e Author: Matthias Clasen Date: Tue May 2 16:16:05 2017 -0400 Remove the gdk backend API too The GTK+ level API for this is already gone. gdk/x11/gdkwindow-x11.c | 43 ------------------------------------------- gdk/x11/gdkx11window.h | 3 --- 2 files changed, 46 deletions(-) commit e0a741c8ee76b674d6d1cefb60e1e31deeadfbd8 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 4d88dc44b6629692d85ca7c95adf9bf383487c55 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 73878e29fd7558053c3ed68382614f5d310da64e Author: Emmanuele Bassi Date: Tue May 2 12:36:15 2017 +0100 Recover assets rendering script It was unintentionally removed by commit f6cbd076. gtk/theme/Adwaita/render-assets.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) commit 2c174319eaabe96a39e726e9db49bd84123ebc09 Author: Timm Bäder Date: Sun Apr 30 21:57:15 2017 +0200 widget-factory: Fix listbox row alignment demos/widget-factory/widget-factory.ui | 7 +++++++ 1 file changed, 7 insertions(+) commit 5c4934cfc0ff71a967ae7dfed7561162d22509d0 Author: Timm Bäder Date: Sun Apr 30 21:53:05 2017 +0200 Chain up in size-allocate implementations Otherwise we're not setting an allocation at all. gtk/gtkappchooserwidget.c | 2 ++ gtk/gtkcolorbutton.c | 2 ++ gtk/gtkfilechooserbutton.c | 2 ++ gtk/gtkfilechooserwidget.c | 2 ++ gtk/gtkfontbutton.c | 2 ++ gtk/gtkfontchooserwidget.c | 2 ++ gtk/gtkrecentchooserwidget.c | 2 ++ gtk/inspector/gtkstackcombo.c | 2 ++ 8 files changed, 16 insertions(+) commit 92b0d2e8ea8b41ea914eb4d66b48cc7dd2d34b9d Author: Matthias Clasen Date: Mon May 1 12:57:05 2017 -0400 Remove GtkWindow::hide-titlebar-when-maximized This was only every implemented under X11, and with CSD, this is clearly in the application realm. We should not pretend that we can support it on the toolkit level. https://bugzilla.gnome.org/show_bug.cgi?id=775061 demos/gtk-demo/application.c | 14 ------ demos/gtk-demo/menus.ui | 4 -- docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkwindow.c | 86 ++---------------------------------- gtk/gtkwindow.h | 5 --- testsuite/gtk/window.c | 61 ------------------------- 6 files changed, 3 insertions(+), 169 deletions(-) commit c405fe23bff97edf7ae4016d865107913b7458c2 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 9c347c30127c8cde816943ba4f8a5585c7bc5004 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 6ae0aef84053cd6f231f8cfea5985de44542467c 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 b950b775fa3b1e75cc3cb425943c6db5715aec8f Author: Timm Bäder Date: Sun Apr 30 19:48:39 2017 +0200 gtksettings: Remove unnecessary deprecation guards Nothing between them is deprecated. gtk/gtksettings.c | 4 ---- 1 file changed, 4 deletions(-) commit 1b36c325eba4b868a81eb4c2ad17209bd888cfef Author: Timm Bäder Date: Sun Apr 30 18:38:10 2017 +0200 widget: Fold queue_resize_on_widget into its only caller gtk/gtkwidget.c | 12 ++---------- gtk/gtkwidgetprivate.h | 1 - 2 files changed, 2 insertions(+), 11 deletions(-) commit 596317c25bc716b3317946d5bad906cb4c783a1d Author: Kukuh Syafaat Date: Sat Apr 29 02:08:22 2017 +0000 Update Indonesian translation po-properties/id.po | 1124 +++++++++++++++++++++++++-------------------------- 1 file changed, 560 insertions(+), 564 deletions(-) commit 2a4f07ed9f7429f26c6e7f0b63c159186a6c9221 Author: Emmanuele Bassi Date: Fri Apr 28 23:10:51 2017 +0100 wayland: Annotate the log_handler function The log_handler() internal function is a candidate for the GCC format attribute for printf-like functions. gdk/wayland/gdkdisplay-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 739588cc3ca4d839e34043deda4119e2976d7899 Author: Emmanuele Bassi Date: Fri Apr 28 22:56:29 2017 +0100 wayland: Add declaration of private get_type() function gdk/wayland/gdkdevice-wayland.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 278e54b88d950d2baa23516181a077a25c9db124 Author: Emmanuele Bassi Date: Fri Apr 28 22:55:47 2017 +0100 gdk: Make more private functions static These symbols are not exported and are local to their compilation unit. gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 2 +- gdk/x11/gdkwindow-x11.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 7619c9c73998285ad4afbede5ec232a318b296c9 Author: Emmanuele Bassi Date: Fri Apr 28 22:47:29 2017 +0100 wayland: Mark private function as static gdk/wayland/gdkdevice-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 82800fae52ef1940780f8bc9692d9d96df265371 Author: Emmanuele Bassi Date: Fri Apr 28 22:21:19 2017 +0100 wayland: Mark private function as static The selection_lookup_offer_by_atom() function is private to the file and not used elsewhere. gdk/wayland/gdkselection-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4724a89022ef1bec93b1a42d4cf2fec7191ed712 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 bb1deaafa42ccb03929d3cd5fdab685218bbac29 Author: Timm Bäder Date: Fri Apr 28 17:11:52 2017 +0200 migration guide: Extend GtkBox child property section Mention the removed expand and fill child properties as well. docs/reference/gtk/migrating-3to4.xml | 28 +++++++++++++++++++++++++--- 1 file changed, 25 insertions(+), 3 deletions(-) commit 502e0a3a9e12f9bef19aee33fd975c58e5a713b5 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 bbe53855419737915cfbd90bf91d785f7f1f48a8 Author: Timm Bäder Date: Fri Apr 28 11:26:25 2017 +0200 frame: Properly initialize clip GtkCssGadget initializes the content clip to {0, 0, 0, 0}, so we can't just union the child clip with it. gtk/gtkframe.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 70aeeab3558b7d929cf7f9c53a9d6ba60e3364a2 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 79de641e9b105c782ea320fd2ed912dd6819dffb 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 80fe1dfe0292d44ad9c3348959494f639089525b 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 2a0a87049e3f2032a0f0766059be9f1d7be31fe2 Author: Timm Bäder Date: Thu Apr 27 15:45:08 2017 +0200 headerbar: Compute clip directly gtk/gtkheaderbar.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 179b8b0cbcf4f2ab66e8771d3296d30668998946 Author: Timm Bäder Date: Thu Apr 27 15:29:13 2017 +0200 Fix gdk_rectangle_union calls Turns out that the destination is the last parameter, not the first one. This fixes the flickering in the first page of the widget-factory when using the expander on page 2. gtk/gtkbox.c | 2 +- gtk/gtkframe.c | 4 ++-- gtk/gtkgrid.c | 2 +- gtk/gtklistbox.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit b97b8b6ec186b0d666bf55f53344a284f5419619 Author: Timm Bäder Date: Thu Apr 27 07:40:14 2017 +0200 button: Compute clip directly gtk/gtkbutton.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) commit a50dc943816b9c7aadaffe1bfb20e142485bf2f2 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 03bfdce406a4873025f266708b5e8c70e13996af 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 552773276356888fca0482f224e60e8a7ddf9acb 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 69fe6207ff3b4ca6ec3fea5b6c7eac8bdc27dfd9 Author: Piotr Drąg Date: Wed Apr 26 19:44:06 2017 +0200 Update Polish translation po-properties/pl.po | 1100 +++++++++++++++++++++++++-------------------------- 1 file changed, 536 insertions(+), 564 deletions(-) commit fca3f93114626988645389ca0001c1fad60ba52d Author: Emmanuele Bassi Date: Wed Apr 26 17:28:14 2017 +0100 gsk: Mark finalize() implementation as static gsk/gskvulkanimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9442ef055d19a806e59a3be5cd6fb2465d32ac62 Author: Emmanuele Bassi Date: Wed Apr 26 17:27:24 2017 +0100 gsk: Mark internal symbol as static Nothing uses this function outside of GskVulkaneRenderPass. gsk/gskvulkanrenderpass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c71aeff9b2c4f497083212bdbf68d5cbf613fc90 Author: Emmanuele Bassi Date: Wed Apr 26 17:23:12 2017 +0100 gsk: Mark internal symbols as static These symbols are not used anywhere outside of GskVulkanImage. gsk/gskvulkanimage.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 7ae5b516acd7cfe3294ef0d260302d7884c1382c Author: Emmanuele Bassi Date: Wed Apr 26 17:21:07 2017 +0100 gsk: Mark private symbol as static The ellipsis_contains_point() function is not used anywhere else. gsk/gskroundedrect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ed2aaafa2c7af49ee46475c3d689cd478cd2b563 Author: Stas Solovey Date: Wed Apr 26 14:44:34 2017 +0000 Update Russian translation (cherry picked from commit edf00914e531f36d611b613b22b8d6ccb72e893a) po-properties/ru.po | 473 ++++++++++++++++++++++++++-------------------------- 1 file changed, 238 insertions(+), 235 deletions(-) commit 8308ce1e61dac255781894adbf2734b850b8f9c9 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 197355e15ac10bc05b7eed34c9eae6fa33b9f5c4 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 dfcde113e8c1f630e3656a41b44fe4345437a2e7 Author: Timm Bäder Date: Wed Apr 26 11:07:40 2017 +0200 GskRoundedRect: Include private header file So we don't have implementations without previous prototypes. gsk/gskroundedrect.c | 1 + 1 file changed, 1 insertion(+) commit 0105bf82c0e543b4fe2e05e1b9a3d186a1d7a126 Author: Timm Bäder Date: Wed Apr 26 11:06:55 2017 +0200 GskRenderNode: Fix set_scaling_filters function name The implementation sed _filters while the prototype used _filter. gsk/gskrendernode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6c7f1d88854f3f7a91baa31ce9a8e672c3f2a7a3 Author: Timm Bäder Date: Wed Apr 26 11:06:32 2017 +0200 GskRenderNode: add missing prototype gsk/gskrendernode.h | 3 +++ 1 file changed, 3 insertions(+) commit 57b8a136bfe33ea07d283d04c80b07cfc87ccbf5 Author: Timm Bäder Date: Tue Apr 25 20:55:56 2017 +0200 reftests: Remove reference to deleted files testsuite/reftests/Makefile.am | 2 -- 1 file changed, 2 deletions(-) commit 63642315713b3993cb39af477e86b2d4b3ae9e51 Author: Timm Bäder Date: Tue Apr 25 18:47:42 2017 +0200 testdnd2: Don't pass a toplevel to gtk_drag_set_icon_widget tests/testdnd2.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit db4b1d28f53c30e8d4d555775cece1cc8aefdcf3 Author: Timm Bäder Date: Tue Apr 25 17:26:49 2017 +0200 label: Remove angle property demos/gtk-demo/rotated_text.c | 2 - docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtklabel.c | 319 +++---------------------------- gtk/gtklabel.h | 5 - gtk/gtktoolbutton.c | 5 - gtk/gtktoolitemgroup.c | 7 - tests/testadjustsize.c | 12 +- tests/testellipsise.c | 2 - tests/testflowbox.c | 32 ---- tests/testgrid.c | 9 +- tests/testgtk.c | 68 ------- tests/testscrolledwindow.c | 32 ---- testsuite/reftests/align-expand.sh | 2 - testsuite/reftests/grid-spacing2.ref.ui | 8 - testsuite/reftests/grid-spacing2.ui | 8 - testsuite/reftests/label-shadows.ref.ui | 6 - testsuite/reftests/label-shadows.ui | 3 - testsuite/reftests/rotated-layout.ref.ui | 1 - testsuite/reftests/rotated-layout.ui | 1 - 19 files changed, 29 insertions(+), 495 deletions(-) commit cb80b32ee8c1c9ab6b6c483d75221e2cd63cab43 Author: Timm Bäder Date: Tue Apr 25 15:45:37 2017 +0200 label: Move if statement where it makes sense In the else branch of the if statement before this one, we're assigning *smallest = *widest anyway, so this if statement is never true. Move it to the if block before instead, where it can apply. gtk/gtklabel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4e0f10955ac0e246ab0c5f98e91a1e137cfffcb3 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 2fc92db25c9939cdf701b83bbc913cb043cf9100 Author: Timm Bäder Date: Tue Apr 25 15:39:46 2017 +0200 label: Remove useless if statement The if before this one already makes sure priv->wrap is TRUE. gtk/gtklabel.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6b12e3948e517c99ec0088961e193ba5297e2929 Author: Timm Bäder Date: Tue Apr 25 15:22:52 2017 +0200 gtkmain: Fix code example gtk_init doesn't take parameters anymore gtk/gtkmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29f7bde0233ff1b73f030fa70c5eb9d9d1fde5ed Author: Timm Bäder Date: Tue Apr 25 11:57:12 2017 +0200 label: Don't use gtk_widget_set_simple_clip The clip returned by gtk_css_gadget_allocate already includes the box-shadow size and we manually care about the text-shadow size. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b01b5267bbbac4f041d2f3c08f5ce8b3c7caab82 Author: Timm Bäder Date: Tue Apr 25 08:11:51 2017 +0200 frame: Compute clip directly gtk/gtkframe.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 167fc2b659f781736f93a47697c25a9cf6280e51 Author: Timm Bäder Date: Mon Apr 24 23:11:15 2017 +0200 listbox: Compute clips directly gtk/gtklistbox.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit fe429f8806ccc0047d1cac6b27bdd9dc016faddf Author: Timm Bäder Date: Mon Apr 24 19:07:59 2017 +0200 gtkwidget: Queue a resize on the parent when unparenting gtk_widget_set_parent (via gtk_widget_reposition_after) will queue a resize on the parent widget automatically when adding a child widget, so unparent should do the same gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 7e1373a08cf8861fe3519bd67227d2fb69b73269 Author: Timm Bäder Date: Mon Apr 24 19:07:15 2017 +0200 widget: Fix set_parent/unparent docs to not mention GtkContainer They can both be used by non-container widgets these days. gtk/gtkwidget.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 74ef45bfbf639f897bda8ec3cf55f32492beb432 Author: Timm Bäder Date: Mon Apr 24 18:23:53 2017 +0200 grid: Compute clip directly Instead of iterating over the children again in gtk_container_get_children_clip gtk/gtkgrid.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 0938183ae689f18ce9432b2878b82be75917d9eb Author: Timm Bäder Date: Mon Apr 24 18:12:03 2017 +0200 container: Use gtk_container_forall less Just iterate over the child widgets directly and produce a much nicer stack trace when debugging. gtk/gtkcontainer.c | 30 +++++++++++++----------------- 1 file changed, 13 insertions(+), 17 deletions(-) commit 927f2f5c064fbdb3d14f97450ba1a3737c18945c Author: Timm Bäder Date: Sun Apr 23 16:32:28 2017 +0200 box: Compute clips directly Instead of using _gtk_widget_set_simple_clip *and* gtk_container_get_children_clip gtk/gtkbox.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit ec1e063cb26993daf09a1b6e3057464cb8d81cfd Author: Timm Bäder Date: Sun Apr 23 14:36:36 2017 +0200 testsuite: Add widget ordering test case testsuite/gtk/Makefile.am | 1 + testsuite/gtk/widgetorder.c | 529 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 530 insertions(+) commit fb927d19935efe95130ebdbef14e458c71bac301 Author: Timm Bäder Date: Sun Apr 23 09:30:17 2017 +0200 box: Remove center child demos/widget-factory/widget-factory.ui | 8 +- docs/reference/gtk/gtk4-sections.txt | 2 - gtk/gtkbox.c | 493 +----------------------------- gtk/gtkbox.h | 6 - gtk/inspector/data-list.ui | 4 +- gtk/inspector/recorder.ui | 4 +- gtk/inspector/window.ui | 4 +- gtk/ui/gtkfilechooserwidget.ui | 4 +- tests/testbox.c | 1 - testsuite/css/nodes/box-packing.ltr.nodes | 1 - testsuite/css/nodes/box-packing.ltr.ui | 6 - testsuite/css/nodes/box-packing.rtl.nodes | 1 - testsuite/css/nodes/box-packing.rtl.ui | 6 - 13 files changed, 29 insertions(+), 511 deletions(-) commit f053a63d7480d1b15e4d556ba48461ee3426dc49 Author: Timm Bäder Date: Sat Apr 22 22:16:27 2017 +0200 container: Remove include_internals parameter from forall with include_internals=TRUE, this is the same as the (still private) gtk_widget_forall, or just using the children/sibling accessors in a loop. demos/gtk-demo/gtkfishbowl.c | 4 ---- gtk/gtkactionbar.c | 20 ++++++-------------- gtk/gtkapplicationwindow.c | 3 +-- gtk/gtkbin.c | 2 -- gtk/gtkbox.c | 2 -- gtk/gtkcombobox.c | 8 -------- gtk/gtkcontainer.c | 11 ++++------- gtk/gtkcontainer.h | 1 - gtk/gtkfixed.c | 2 -- gtk/gtkflowbox.c | 3 +-- gtk/gtkframe.c | 2 -- gtk/gtkgrid.c | 1 - gtk/gtkheaderbar.c | 10 ---------- gtk/gtkiconview.c | 2 -- gtk/gtklayout.c | 2 -- gtk/gtklistbox.c | 11 ++--------- gtk/gtkmenuitem.c | 2 -- gtk/gtkmenushell.c | 2 -- gtk/gtknotebook.c | 18 ------------------ gtk/gtkoverlay.c | 1 - gtk/gtkpaned.c | 2 -- gtk/gtkpathbar.c | 2 -- gtk/gtkscrolledwindow.c | 30 ------------------------------ gtk/gtkshortcutsgroup.c | 7 ++----- gtk/gtkshortcutssection.c | 14 +++----------- gtk/gtkshortcutswindow.c | 37 ++++++++++++++----------------------- gtk/gtkstack.c | 2 -- gtk/gtktextview.c | 2 -- gtk/gtktoolbar.c | 7 +------ gtk/gtktoolitemgroup.c | 4 ---- gtk/gtktoolpalette.c | 1 - gtk/gtktreeview.c | 15 --------------- gtk/gtkwindow.c | 15 +-------------- 33 files changed, 35 insertions(+), 210 deletions(-) commit 066c1983ba2c6f1f891e600c561ab03eac2074a6 Author: Timm Bäder Date: Sat Apr 22 20:18:17 2017 +0200 actionbar: Add explicit center widget The center widget in GtkBox was only introduced to use it in GtkActionBar. However, the implementation there is much more complex than it needs to be, so move the center widget into GtkActionBar instead and later remove it from GtkBox. gtk/Makefile.am | 6 +- gtk/gtkactionbar.c | 195 ++++++++++++++++++++++++++++++++------- gtk/gtkcenterbox.c | 226 ++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcenterboxprivate.h | 43 +++++++++ tests/testactionbar.c | 4 + 5 files changed, 441 insertions(+), 33 deletions(-) commit c92b7d4224b9cef1d08373fcc28f7fbd96c64e6d Author: Timm Bäder Date: Fri Apr 21 22:34:36 2017 +0200 box: Remove fill child property GtkWidget:halign and GtkWidget:valign are sufficient demos/gtk-demo/assistant.c | 6 +- demos/gtk-demo/button_box.c | 40 +- demos/gtk-demo/changedisplay.c | 12 +- demos/gtk-demo/clipboard.c | 20 +- demos/gtk-demo/colorsel.c | 4 +- demos/gtk-demo/combobox.c | 8 +- demos/gtk-demo/cursors.c | 4 +- demos/gtk-demo/dialog.c | 21 +- demos/gtk-demo/drawingarea.c | 8 +- demos/gtk-demo/editable_cells.c | 11 +- demos/gtk-demo/entry_buffer.c | 6 +- demos/gtk-demo/entry_completion.c | 4 +- demos/gtk-demo/expander.c | 14 +- demos/gtk-demo/iconview.c | 4 +- demos/gtk-demo/images.c | 18 +- demos/gtk-demo/infobar.c | 26 +- demos/gtk-demo/list_store.c | 4 +- demos/gtk-demo/listbox.c | 4 +- demos/gtk-demo/listbox.ui | 1 - demos/gtk-demo/menus.c | 8 +- demos/gtk-demo/overlay.c | 4 +- demos/gtk-demo/panes.c | 8 +- demos/gtk-demo/search_entry.c | 8 +- demos/gtk-demo/search_entry2.c | 20 +- demos/gtk-demo/sidebar.c | 6 +- demos/gtk-demo/sizegroup.c | 6 +- demos/gtk-demo/spinner.c | 2 +- demos/gtk-demo/textscroll.c | 2 +- demos/gtk-demo/toolpalette.c | 22 +- demos/gtk-demo/tree_store.c | 5 +- demos/widget-factory/widget-factory.c | 8 +- demos/widget-factory/widget-factory.ui | 46 +- docs/tools/widgets.c | 159 ++--- examples/search-bar.c | 4 +- gtk/gtkactionbar.c | 4 +- gtk/gtkappchooserdialog.c | 6 +- gtk/gtkassistant.c | 8 +- gtk/gtkbbox.c | 2 +- gtk/gtkbox.c | 162 +---- gtk/gtkbox.h | 8 +- gtk/gtkcolorchooserwidget.c | 4 +- gtk/gtkcustompaperunixdialog.c | 24 +- gtk/gtkentrycompletion.c | 2 +- gtk/gtkfilechooserwidget.c | 10 +- gtk/gtkheaderbar.c | 12 +- gtk/gtkinfobar.c | 3 +- gtk/gtkmenusectionbox.c | 12 +- gtk/gtkmenutoolbutton.c | 6 +- gtk/gtkmodelmenuitem.c | 4 +- gtk/gtkmountoperation.c | 32 +- gtk/gtkpathbar.c | 4 +- gtk/gtkprintbackend.c | 16 +- gtk/gtkprinteroptionwidget.c | 20 +- gtk/gtkprintunixdialog.c | 14 +- gtk/gtkrecentchooserdialog.c | 2 +- gtk/gtkshortcutssection.c | 2 +- gtk/gtktoolbutton.c | 12 +- gtk/gtktreeviewcolumn.c | 8 +- gtk/inspector/general.c | 8 +- gtk/inspector/prop-editor.c | 6 +- gtk/inspector/recorder.c | 8 +- gtk/inspector/size-groups.c | 4 +- gtk/inspector/strv-editor.c | 10 +- gtk/ui/gtkaboutdialog.ui | 19 - gtk/ui/gtkassistant.ui | 9 - gtk/ui/gtkcoloreditor.ui | 1 - gtk/ui/gtkfilechooserwidget.ui | 9 - gtk/ui/gtklockbutton.ui | 3 - gtk/ui/gtkmessagedialog.ui | 6 - gtk/ui/gtkplacesview.ui | 2 - gtk/ui/gtkprintunixdialog.ui | 37 -- gtk/ui/gtkrecentchooserdefault.ui | 3 - gtk/ui/gtkscalebutton.ui | 4 - gtk/ui/gtktooltipwindow.ui | 4 - tests/flicker.c | 42 +- tests/gdkgears.c | 10 +- tests/motion-compression.c | 6 +- tests/overlayscroll.c | 2 +- tests/print-editor.c | 6 +- tests/syncscroll.c | 6 +- tests/testaccel.c | 2 +- tests/testactionbar.c | 4 +- tests/testadjustsize.c | 4 +- tests/testanimation.c | 8 +- tests/testappchooserbutton.c | 10 +- tests/testassistant.c | 9 +- tests/testbaseline.c | 14 +- tests/testbbox.c | 12 +- tests/testbox.c | 41 +- tests/testboxcss.c | 14 +- tests/testcalendar.c | 69 +- tests/testcellarea.c | 52 +- tests/testcellrenderertext.c | 8 +- tests/testclipboard.c | 4 +- tests/testcombo.c | 26 +- tests/testcombochange.c | 24 +- tests/testellipsise.c | 6 +- tests/testentrycompletion.c | 4 +- tests/testexpand.c | 28 +- tests/testexpander.c | 2 +- tests/testfilechooserbutton.c | 26 +- tests/testflowbox.c | 44 +- tests/testframe.c | 6 +- tests/testgiconpixbuf.c | 12 +- tests/testgrid.c | 10 +- tests/testgtk.c | 722 ++++++++++----------- tests/testheaderbar.c | 8 +- tests/testheightforwidth.c | 2 +- tests/testiconview.c | 22 +- tests/testinput.c | 4 +- tests/testmultidisplay.c | 4 +- tests/testorientable.c | 18 +- tests/testoverlay.c | 4 +- tests/testpixbuf-scale.c | 10 +- tests/testrecentchoosermenu.c | 6 +- tests/testscale.c | 16 +- tests/testscrolledwindow.c | 68 +- tests/testselection.c | 6 +- tests/testsensitive.c | 8 +- tests/testspinbutton.c | 2 +- tests/teststack.c | 6 +- tests/testswitch.c | 12 +- tests/testtoolbar.c | 20 +- tests/testtooltips.c | 22 +- tests/testtoplevelembed.c | 4 +- tests/testtreecolumns.c | 31 +- tests/testtreecolumnsizing.c | 6 +- tests/testtreeedit.c | 12 +- tests/testtreeflow.c | 8 +- tests/testtreefocus.c | 8 +- tests/testtreesort.c | 18 +- tests/testwindowsize.c | 2 +- tests/treestoretest.c | 30 +- testsuite/a11y/placeholder-text.ui | 3 - testsuite/gtk/ui/container1.ui | 2 +- testsuite/gtk/ui/container8.ui | 2 +- testsuite/reftests/box-child-expand.ref.ui | 149 ----- testsuite/reftests/box-child-expand.ui | 163 ----- testsuite/reftests/box-order.ref.ui | 70 -- testsuite/reftests/box-order.ui | 82 --- testsuite/reftests/box-packing.ref.ui | 78 --- testsuite/reftests/box-packing.ui | 22 - testsuite/reftests/box-pseudo-classes.ref.ui | 40 -- testsuite/reftests/box-pseudo-classes.ui | 40 -- .../reftests/box-shadow-changes-modify-clip.ui | 2 - testsuite/reftests/button-wrapping.ref.ui | 8 - testsuite/reftests/button-wrapping.ui | 8 - testsuite/reftests/css-em-label-size.ref.ui | 28 - testsuite/reftests/css-em-label-size.ui | 28 - testsuite/reftests/css-match-siblings.ref.ui | 10 - testsuite/reftests/css-match-siblings.ui | 10 - testsuite/reftests/fixed-widget-stacking.ui | 2 - testsuite/reftests/font-sizes-names.ref.ui | 26 - testsuite/reftests/font-sizes-names.ui | 26 - testsuite/reftests/grid-spacing1.ref.ui | 9 - testsuite/reftests/grid-spacing2.ref.ui | 4 - testsuite/reftests/gtk-image-effect-inherit.ref.ui | 6 - testsuite/reftests/gtk-image-effect-inherit.ui | 6 - testsuite/reftests/icon-effect-missing.ref.ui | 6 - testsuite/reftests/icon-effect-missing.ui | 6 - testsuite/reftests/image-icon-shadow-clipping.ui | 2 - testsuite/reftests/image-load-from-file.ref.ui | 4 - testsuite/reftests/image-load-from-file.ui | 4 - testsuite/reftests/info-bar-message-types.ui | 15 - testsuite/reftests/inherit-and-initial.ref.ui | 129 ---- testsuite/reftests/inherit-and-initial.ui | 128 ---- testsuite/reftests/label-background.ui | 4 - testsuite/reftests/label-clipping.ui | 2 - .../label-text-shadow-changes-modify-clip.ui | 2 - testsuite/reftests/label-text-shadow-clipping.ui | 2 - .../reftests/label-width-chars-dont-shrink.ref.ui | 6 - .../reftests/label-width-chars-dont-shrink.ui | 6 - testsuite/reftests/linear-gradient.ref.ui | 8 - testsuite/reftests/linear-gradient.ui | 8 - testsuite/reftests/link-coloring.ref.ui | 6 - testsuite/reftests/link-coloring.ui | 6 - testsuite/reftests/nth-child.ui | 50 -- testsuite/reftests/opacity.ref.ui | 10 - testsuite/reftests/opacity.ui | 10 - testsuite/reftests/pseudoclass-on-box.ref.ui | 2 - testsuite/reftests/pseudoclass-on-box.ui | 2 - testsuite/reftests/separator-size.ui | 16 - testsuite/reftests/sibling-pseudoclasses.ref.ui | 4 - testsuite/reftests/sibling-pseudoclasses.ui | 4 - .../reftests/sizegroups-evolution-identity-page.ui | 8 - testsuite/reftests/style-properties-nth-child.ui | 8 - .../reftests/style-properties-only-child.ref.ui | 2 - testsuite/reftests/style-properties-only-child.ui | 2 - testsuite/reftests/window-height-for-width.ref.ui | 4 - testsuite/reftests/window-height-for-width.ui | 4 - 190 files changed, 1117 insertions(+), 2800 deletions(-) commit 5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 Author: Timm Bäder Date: Fri Apr 21 18:59:59 2017 +0200 box: Remove expand child property GtkWidget already has hexpand/vexpand properties. demos/gtk-demo/assistant.c | 6 +- demos/gtk-demo/button_box.c | 28 +- demos/gtk-demo/changedisplay.c | 12 +- demos/gtk-demo/clipboard.c | 20 +- demos/gtk-demo/colorsel.c | 4 +- demos/gtk-demo/combobox.c | 8 +- demos/gtk-demo/cursors.c | 4 +- demos/gtk-demo/demo.ui | 7 +- demos/gtk-demo/dialog.c | 20 +- demos/gtk-demo/drawingarea.c | 8 +- demos/gtk-demo/editable_cells.c | 10 +- demos/gtk-demo/entry_buffer.c | 6 +- demos/gtk-demo/entry_completion.c | 4 +- demos/gtk-demo/expander.c | 6 +- demos/gtk-demo/iconview.c | 5 +- demos/gtk-demo/images.c | 18 +- demos/gtk-demo/infobar.c | 26 +- demos/gtk-demo/list_store.c | 4 +- demos/gtk-demo/listbox.c | 5 +- demos/gtk-demo/main.ui | 2 +- demos/gtk-demo/menus.c | 8 +- demos/gtk-demo/overlay.c | 4 +- demos/gtk-demo/panes.c | 6 +- demos/gtk-demo/search_entry.c | 8 +- demos/gtk-demo/search_entry2.c | 20 +- demos/gtk-demo/sidebar.c | 6 +- demos/gtk-demo/sizegroup.c | 6 +- demos/gtk-demo/spinner.c | 2 +- demos/gtk-demo/textscroll.c | 2 +- demos/gtk-demo/toolpalette.c | 9 +- demos/gtk-demo/tree_store.c | 4 +- demos/widget-factory/widget-factory.c | 10 +- demos/widget-factory/widget-factory.ui | 72 +--- docs/tools/widgets.c | 138 ++++--- examples/search-bar.c | 8 +- gtk/gtkactionbar.c | 4 +- gtk/gtkappchooserdialog.c | 8 +- gtk/gtkassistant.c | 8 +- gtk/gtkbbox.c | 2 +- gtk/gtkbox.c | 86 +--- gtk/gtkbox.h | 4 - gtk/gtkcolorchooserwidget.c | 4 +- gtk/gtkcombobox.c | 3 +- gtk/gtkcustompaperunixdialog.c | 24 +- gtk/gtkentrycompletion.c | 7 +- gtk/gtkfilechooserwidget.c | 10 +- gtk/gtkheaderbar.c | 12 +- gtk/gtkinfobar.c | 2 +- gtk/gtkmenusectionbox.c | 18 +- gtk/gtkmenutoolbutton.c | 4 +- gtk/gtkmodelmenuitem.c | 4 +- gtk/gtkmountoperation.c | 28 +- gtk/gtkpathbar.c | 4 +- gtk/gtkprintbackend.c | 16 +- gtk/gtkprinteroptionwidget.c | 18 +- gtk/gtkprintunixdialog.c | 14 +- gtk/gtkrecentchooserdialog.c | 2 +- gtk/gtkshortcutssection.c | 2 +- gtk/gtktoolbutton.c | 12 +- gtk/gtktreeviewcolumn.c | 8 +- gtk/inspector/general.c | 8 +- gtk/inspector/general.ui | 57 +-- gtk/inspector/misc-info.ui | 89 ++--- gtk/inspector/prop-editor.c | 6 +- gtk/inspector/recorder.c | 8 +- gtk/inspector/size-groups.c | 4 +- gtk/inspector/strv-editor.c | 10 +- gtk/inspector/visual.ui | 89 ++--- gtk/ui/gtkaboutdialog.ui | 16 +- gtk/ui/gtkappchooserdialog.ui | 5 +- gtk/ui/gtkassistant.ui | 6 +- gtk/ui/gtkcolorchooserdialog.ui | 2 +- gtk/ui/gtkcoloreditor.ui | 1 - gtk/ui/gtkcombobox.ui | 1 + gtk/ui/gtkfilechooserdialog.ui | 2 +- gtk/ui/gtkfilechooserwidget.ui | 20 +- gtk/ui/gtkfontchooserdialog.ui | 2 +- gtk/ui/gtkinfobar.ui | 3 - gtk/ui/gtkmessagedialog.ui | 4 +- gtk/ui/gtkpagesetupunixdialog.ui | 4 +- gtk/ui/gtkplacesview.ui | 2 - gtk/ui/gtkprintunixdialog.ui | 32 +- gtk/ui/gtkrecentchooserdefault.ui | 4 +- gtk/ui/gtksearchbar.ui | 6 - gtk/ui/gtkstatusbar.ui | 5 +- tests/flicker.c | 42 +- tests/gdkgears.c | 10 +- tests/motion-compression.c | 7 +- tests/overlayscroll.c | 2 +- tests/print-editor.c | 6 +- tests/syncscroll.c | 6 +- tests/testaccel.c | 3 +- tests/testactionbar.c | 4 +- tests/testadjustsize.c | 4 +- tests/testanimation.c | 8 +- tests/testappchooserbutton.c | 10 +- tests/testassistant.c | 7 +- tests/testbaseline.c | 14 +- tests/testbbox.c | 12 +- tests/testbox.c | 44 +- tests/testboxcss.c | 17 +- tests/testcalendar.c | 64 +-- tests/testcellarea.c | 72 ++-- tests/testcellrenderertext.c | 10 +- tests/testclipboard.c | 4 +- tests/testcombo.c | 26 +- tests/testcombochange.c | 25 +- tests/testellipsise.c | 7 +- tests/testentrycompletion.c | 4 +- tests/testexpand.c | 20 +- tests/testexpander.c | 4 +- tests/testfilechooserbutton.c | 28 +- tests/testflowbox.c | 49 +-- tests/testframe.c | 5 +- tests/testgiconpixbuf.c | 12 +- tests/testgrid.c | 10 +- tests/testgtk.c | 705 +++++++++++++++++---------------- tests/testheaderbar.c | 9 +- tests/testheightforwidth.c | 2 +- tests/testiconview.c | 23 +- tests/testinput.c | 5 +- tests/testlist3.c | 3 +- tests/testmultidisplay.c | 4 +- tests/testorientable.c | 12 +- tests/testoverlay.c | 4 +- tests/testpixbuf-scale.c | 12 +- tests/testrecentchoosermenu.c | 6 +- tests/testscale.c | 16 +- tests/testscrolledwindow.c | 116 +++--- tests/testselection.c | 7 +- tests/testsensitive.c | 8 +- tests/testspinbutton.c | 2 +- tests/teststack.c | 7 +- tests/testswitch.c | 20 +- tests/testtoolbar.c | 20 +- tests/testtooltips.c | 22 +- tests/testtoplevelembed.c | 5 +- tests/testtreecolumns.c | 30 +- tests/testtreecolumnsizing.c | 7 +- tests/testtreeedit.c | 13 +- tests/testtreeflow.c | 9 +- tests/testtreefocus.c | 10 +- tests/testtreesort.c | 19 +- tests/testwindowsize.c | 3 +- tests/treestoretest.c | 31 +- testsuite/a11y/placeholder-text.ui | 3 - testsuite/gtk/builder.c | 6 - testsuite/gtk/ui/container1.ui | 2 +- testsuite/gtk/ui/container8.ui | 2 +- 149 files changed, 1291 insertions(+), 1584 deletions(-) commit 8f4c0bea6558dc98a2abd7e63436b1ce4caf689e Author: Timm Bäder Date: Fri Apr 7 20:14:26 2017 +0200 expander: Use widgets for title box and arrow gtk/gtkexpander.c | 111 +++++++++------------------------ testsuite/css/nodes/expander.ltr.nodes | 4 +- testsuite/css/nodes/expander.rtl.nodes | 4 +- 3 files changed, 34 insertions(+), 85 deletions(-) commit efa9601a105b28afcddd2921583a6626804e10eb Author: Timm Bäder Date: Fri Apr 7 20:13:42 2017 +0200 window: Make sure the decoration node stays at the beginning Otherwise, the gtk_widget_set_parent call might add the widget node of the child before the decoration node. gtk/gtkwindow.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 73c3579e783b153773923c89756502bbc063b034 Author: Timm Bäder Date: Fri Apr 7 10:01:23 2017 +0200 levelbar: Use widgets for all blocks This replaces all internal gadgets with widgets. Remaining problem: "block" nodes have a min-width of 32px in Adwaita, but when allocated in continuous mode, the levelbar doesn't care and underallocates them. gtk/gtklevelbar.c | 239 +++++++++++++++++++++++------------------------------- 1 file changed, 103 insertions(+), 136 deletions(-) commit 68a5f6519c6ef1ebed95b7ebd9e53f03d780a7c6 Author: Timm Bäder Date: Thu Apr 6 19:22:14 2017 +0200 progressbar: Use widgets for all subgadgets A GtkLabel for the possible text node and two GtkGizmos for the trough/progress gadgets. gtk/gtkprogressbar.c | 542 ++++++++++++++++++--------------------------------- 1 file changed, 186 insertions(+), 356 deletions(-) commit 2be675b538e1229ccd2d2771130a3bfe60deda6d Author: Timm Bäder Date: Thu Apr 6 19:17:29 2017 +0200 Add GtkGizmo GtkGizmo is the easiest possible widget to implement. It does nothing except give its creator a way to control measure/size-allocate/snapshot, so it can be used in a variety of use cases. gtk/Makefile.am | 6 +- gtk/gtkgizmo.c | 157 ++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkgizmoprivate.h | 58 +++++++++++++++++++ 3 files changed, 219 insertions(+), 2 deletions(-) commit ae1a606c8b959acc6f03240757293b4802b6d638 Author: Timm Bäder Date: Sun Apr 23 08:39:15 2017 +0200 overlay: Ensure proper child widget order Make sure the main widget stays below all the overlay children. gtk/gtkoverlay.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 9644bea2a5448237074068ba4d666019a19f1c6f Author: Timm Bäder Date: Mon Apr 24 21:47:24 2017 +0200 treeview: insert the column button css node in the right place Insert the css node before setting a parent widget on the column button, so the gtk_widget_set_parent won't attempt to add the css node as child of the parent widget css node. gtk/gtktreeview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit ba363fbb71909f497efb901f8f4bb4e18034ec9e Author: Timm Bäder Date: Wed Apr 5 19:57:11 2017 +0200 widget: Add gtk_widget_insert_before/after To insert a widget into the widget tree before or after a child widget of the soon-to-be parent. docs/reference/gtk/gtk4-sections.txt | 2 + gtk/gtkwidget.c | 200 +++++++++++++++++++++++++++++------ gtk/gtkwidget.h | 8 ++ 3 files changed, 177 insertions(+), 33 deletions(-) commit 5852da22bfc1cb36b2c5943137b4dbe89c90ccb4 Author: Timm Bäder Date: Sun Apr 9 11:54:02 2017 +0200 gdk: Add 3.92 version macros gdk/gdkversionmacros.h.in | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 2ab3da6741dca3eb9ac2c26b951ccdcfb834a558 Author: Timm Bäder Date: Tue Apr 25 20:16:59 2017 +0200 Bump version to 3.91.0 So we can use GDK_AVAILABLE_IN_3_92 without getting warnings configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5d94ee85842ed91007ebf6bdf6a1f54237987536 Author: Timm Bäder Date: Fri Apr 7 19:02:35 2017 +0200 listbox: Properly remove placeholders gtk/gtklistbox.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit 4945e28f08a759bbd5f6b3b217b5815882d31ed6 Author: Timm Bäder Date: Fri Apr 7 18:57:15 2017 +0200 widget-factory: Add dummy listbox placeholder It doesn't do anything and isn't visible anyway, but it tests that adding and removing placeholders works demos/widget-factory/widget-factory.ui | 5 +++++ 1 file changed, 5 insertions(+) commit 843cd7f22e75c765dd2590886f02b1a3d9642c67 Author: Daniel Boles Date: Tue Apr 25 10:57:55 2017 +0100 ProgressBar: Update node summary per last commit The node named "progress" is a child of the node named "trough". gtk/gtkprogressbar.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d703cc882d14971b20838d234c4fb457c20162ac 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 a919f0c7f3a75226be4e3eaf633409154c166160 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 0acb4041663a5c1635428e06a6c0fc756de762c3 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 68383cfcd331e022771a913e3ed52ee66c911d25 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 bd55396d39dcc32713145a4f17904a2f542c8f55 Author: Timm Bäder Date: Fri Apr 21 15:37:37 2017 +0200 filechooserbutton: Show/hide appropriate child gtk/gtkfilechooserbutton.c | 4 ++++ 1 file changed, 4 insertions(+) commit ccdc50e5401526991f915d4ca1d8d01b1edfcb49 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 cc00fee386417bebf8c5991e0e4bcdeac949834f Author: Timm Bäder Date: Sat Apr 22 12:16:03 2017 +0200 testboxcss: Fix custom CSS remove engine: parameter and add units to values tests/testboxcss.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit d5c6692104e1d9a723b02d52283b9dfaac86e699 Author: Timm Bäder Date: Wed Apr 5 19:58:35 2017 +0200 gtk4-sections: Add missing GtkWidget child/sibling accessors docs/reference/gtk/gtk4-sections.txt | 4 ++++ 1 file changed, 4 insertions(+) commit 911d71ae7a01ecdbf75a6264306ac7a05dd58fdb Author: Timm Bäder Date: Mon Apr 3 15:56:36 2017 +0200 levelbar: Remove unused define gtk/gtklevelbar.c | 2 -- 1 file changed, 2 deletions(-) commit d0f36a17931a6927c8778a994ea5341a0c68b9c1 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 72d13535b756d9bfc9e778b9dec467de43c19c7a Author: Carlos Soriano Date: Sat Apr 22 21:53:45 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 2fed741b405396b19d56fd7b3141f9acfcde42c1 Author: Matthias Clasen Date: Sat Apr 22 11:30:33 2017 -0400 Fix the build tests/testlist3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8644e5f34dc4f4b702168473edddf078beca4775 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 73d13fbdacd83db465b06b3362e61e898ef10325 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 2e7db0d6621b7bc0a7aab8fdd68c367b7a7c1a6e 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 ff8cca77a2b2c917b20e5628789928387f171c25 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 139b669196f63ccc567f8cd904f125b62997a017 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 | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) commit 400db31ad3466c2839ea6cc6d193db8023225247 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 767927aef309761754ce9da8062e20521761b6e0 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 529b8f81974e7d9948f4cbabfb8ec498e4a1d73b Author: gogo Date: Mon Apr 10 21:29:53 2017 +0000 Update Croatian translation po-properties/hr.po | 13871 ++++++++++++++++++++++++-------------------------- 1 file changed, 6685 insertions(+), 7186 deletions(-) commit 7176ab1e86e51a9aa51dae66ac8762c0e4bf5aa5 Author: gogo Date: Mon Apr 10 21:01:06 2017 +0000 Update Croatian translation po/hr.po | 2454 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1178 insertions(+), 1276 deletions(-) commit 313bb7655862fccf958f2b0cc0ff87711ac08a78 Author: gogo Date: Mon Apr 10 20:43:09 2017 +0000 Update Croatian translation (cherry picked from commit 6e87915b0550edc2556f764af86f6a212617bfb2) po/hr.po | 709 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 365 insertions(+), 344 deletions(-) commit 95d21ffc830a092df6765bc24a427f225a062a58 Author: gogo Date: Mon Apr 10 20:39:13 2017 +0000 Update Croatian translation (cherry picked from commit 4f3ff059430f5b120f3ca88e19a8c94205ef8d4a) po-properties/hr.po | 798 +++++++++++++++++++++++++++------------------------- 1 file changed, 418 insertions(+), 380 deletions(-) commit 79f817286e9b0455dceff9d6819124eef0753c1c Author: Tom Tryfonidis Date: Sat Apr 8 16:36:31 2017 +0000 Update Greek translation po/el.po | 2705 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 1303 insertions(+), 1402 deletions(-) commit acf50005ab302a51a41090232ce18098528051f6 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 7860e2d5cd736d31cbf2faf938da0a9c5017d45c 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 fc702671580b43a655122a2316d7b95abf8f81a0 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/gsk/gsk-docs.xml | 2 +- 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 +- 10 files changed, 205 insertions(+), 205 deletions(-) commit 183e5bb8a40a11c550d58ebb690b7b4293a3db6d Author: Jeremy Bicha Date: Mon Apr 3 12:27:50 2017 -0400 docs: Point links to correct versions https://bugzilla.gnome.org/show_bug.cgi?id=780878 docs/reference/gdk/gdk-docs.sgml | 8 ++++---- docs/reference/gsk/gsk-docs.xml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) commit 8b271e7b8c967247552d7d92a07676121ab89127 Author: William Hua Date: Mon Apr 3 12:59:50 2017 -0400 mir: clean up an ugly function gdk/mir/gdkmirscreen.c | 157 +++++++++++++++++-------------------------------- 1 file changed, 53 insertions(+), 104 deletions(-) commit c9a5d51539a07ff91dfaae798dc78f5a98e20f8f Author: Emmanuele Bassi Date: Sun Apr 2 17:27:44 2017 +0100 Use the newly added g_object_new_with_properties() Instead of the deprecated g_object_newv(). This requires some internal surgery to create our own vector of names and values, but it does not functionally change anything. gtk/gtkbuilder.c | 164 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 110 insertions(+), 54 deletions(-) commit 5e9f77670bb7bbc658ee02507aca81c982b054fb Author: Emmanuele Bassi Date: Sun Apr 2 17:25:46 2017 +0100 Bump up the required version of GLib GLib 2.53 deprecated g_object_newv() and GParameter. If we want to stop using those types without resorting to pretty convoluted pre-processor dancing, we will need to bump up the dependency inside GTK+. configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4471f274b9bd0ea8f9ff8cc8126f3d6fcb49077f 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 3d2c81c8f1dd890c6a47f778ee86078062e024e7 Author: Timm Bäder Date: Sun Apr 2 18:24:17 2017 +0200 filechooserwidget: Remove useless gtk_widget_show call gtk/gtkfilechooserwidget.c | 1 - 1 file changed, 1 deletion(-) commit 7dc8489c8c0cbba675d509bbb532496e76b7baf1 Author: Timm Bäder Date: Sat Apr 1 20:01:04 2017 +0200 stack combo: Inherit from GtkWidget gtk/inspector/gtkstackcombo.c | 55 +++++++++++++++++++++++++++++++++++++++---- 1 file changed, 50 insertions(+), 5 deletions(-) commit 98d9a05a0cfc7cfd203436b57c0afcac882ae7e8 Author: Tom Schoonjans Date: Tue Feb 28 21:54:46 2017 +0000 quartz: code cleanup removed unused static functions, unused class variables and a large comment section that was copied over from gdkdisplay-x11.h https://bugzilla.gnome.org/show_bug.cgi?id=779184 gdk/quartz/gdkdisplay-quartz.h | 112 ----------------------------------------- gdk/quartz/gdkmonitor-quartz.c | 31 ------------ gdk/quartz/gdkmonitor-quartz.h | 3 -- gdk/quartz/gdkscreen-quartz.c | 1 - 4 files changed, 147 deletions(-) commit 758d26738aff4b719ed0929d5521258dd7e3b7c7 Author: Tom Schoonjans Date: Mon Feb 27 21:38:46 2017 +0000 quartz: add support for Gtk+4 The addition of GdkMonitor broke the quartz backend. This patch restores that support by adding a new class GdkQuartzMonitor, and by modifying the existing classes GdkQuartzDisplay and GdkQuartzScreen where necessary. It should be noted that this patch is essentially a refactor as no new functionality that will impact the user has been added or removed. https://bugzilla.gnome.org/show_bug.cgi?id=779184 gdk/quartz/Makefile.am | 4 + gdk/quartz/gdkdisplay-quartz.c | 51 +++++++-- gdk/quartz/gdkdisplay-quartz.h | 235 +++++++++++++++++++++++++++++++++++++++++ gdk/quartz/gdkmonitor-quartz.c | 89 ++++++++++++++++ gdk/quartz/gdkmonitor-quartz.h | 44 ++++++++ gdk/quartz/gdkprivate-quartz.h | 67 ------------ gdk/quartz/gdkquartz.h | 1 + gdk/quartz/gdkquartzmonitor.h | 45 ++++++++ gdk/quartz/gdkscreen-quartz.c | 177 +++++++------------------------ gdk/quartz/gdkscreen-quartz.h | 3 - 10 files changed, 497 insertions(+), 219 deletions(-) commit d779d0cb3266bb826aef4f89464a239e55a12159 Author: Matthias Clasen Date: Sat Apr 1 11:51:51 2017 -0400 Avoid a compiler warning tests/rendernode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bee29ea6c80d4539d359cebb0d0a3713695e8318 Author: Emmanuele Bassi Date: Sat Apr 1 16:39:21 2017 +0100 build: Fix sassc detection configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f6cbd076dd5a7a76133d9b5166643b71dc68f98e Author: Emmanuele Bassi Date: Sat Apr 1 16:10:18 2017 +0100 Rebuild CSS on all SCSS file changes Adwaita and HighContrast CSS should be rebuild every time one of their dependent files change, not just the main entry point. https://bugzilla.gnome.org/show_bug.cgi?id=780041 gtk/Makefile.am | 18 +++++++------- gtk/theme/Adwaita/Gemfile | 2 -- gtk/theme/Adwaita/README | 47 ++++++++++++++++++------------------ gtk/theme/Adwaita/parse-sass.sh | 3 --- gtk/theme/Adwaita/render-assets.sh | 34 -------------------------- gtk/theme/HighContrast/Gemfile | 2 -- gtk/theme/HighContrast/parse-sass.sh | 3 --- 7 files changed, 33 insertions(+), 76 deletions(-) commit 94db94a78bb3d2b0768c84302cec0b60b58abf51 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 99c79d67690dda5fe857c91aac20d0c906d6aa00 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 | 57 +++++++++++++++++++++++++++++++++++++++++---------------- 2 files changed, 49 insertions(+), 16 deletions(-) commit d55249c6f1b4a02876a79280b832c1f2f9627891 Author: Timm Bäder Date: Sat Apr 1 16:15:10 2017 +0200 gsk: Add color shaders to resources gsk/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 98a78b0d61e71dca9f90ea99ecc37d225f69e870 Author: Timm Bäder Date: Sat Apr 1 08:30:20 2017 +0200 dnd: Remove unnecessary non-toplevel GtkWindow in set_icon_surface Instead of creating a GtkWindow, connecting to ::draw and drawing the surface in there, then adding that window to another GtkWindow... just use a GtkImage. This also gets rid of a bunch of utility functions used only in gtk_drag_set_icon_surface. gtk/gtkdnd.c | 118 +++++------------------------------------------------------ 1 file changed, 9 insertions(+), 109 deletions(-) commit 8985643966ef387e4a3e060ffc14eeeadaab030c 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 c638fb952c17c36e89b06ca6a340389b8ebf0cd1 Author: William Hua Date: Fri Mar 31 15:14:16 2017 -0400 mir: re-write settings implementation gdk/mir/gdkmirscreen.c | 694 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 507 insertions(+), 187 deletions(-)