commit 1b36fbfc5edbbfd1433b1e8cd72b78c1ce38b198 Author: Matthias Clasen Date: Tue Feb 16 19:35:19 2016 -0500 3.19.9 NEWS | 3 +++ configure.ac | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) commit da47ceb4c0cb9be72dfdd727a6afe18e5be3dc79 Author: Matthias Clasen Date: Tue Feb 16 19:20:22 2016 -0500 places sidebar: Use the right marshallers We are passing the mount operation as argument, so use a marshaller that expects an object argument. gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b8e2ebb840e6daea88c9cdd5a2e58b796d165a52 Author: Carlos Soriano Date: Mon Feb 15 19:09:54 2016 +0100 gtkplacessidebar: remove notification handling We were notifying when an unmount operation was performed. However, creating notifications from the gtk+ library is not that expected, and makes notification handling difficult to do from the application point of view since we cannot dismiss those notifications. This cause issues like notifications of unmount drives stay there after a system reboot, which confuses the user. Instead of that, remove the notification handling for mount operations on gtk+ and instead create a new signal on the gtkplacessidebar in order to inform applications using it about an operation about to start. Only drawback about this is that the GtkFileChooser loses its notifications when unmounting, that although we could use the new signal to do it, we actually don't want to notify from any part of gtk+ for now. https://bugzilla.gnome.org/show_bug.cgi?id=753351 gtk/gtkplacessidebar.c | 167 +++++++++++++++++++++++-------------------------- 1 file changed, 79 insertions(+), 88 deletions(-) commit 13e5e837985b9154873c82408ef77a8e20dfa30e Author: Matthias Clasen Date: Tue Feb 16 18:33:16 2016 -0500 Add message contexts to translated strings The string "None" is used in multiple contexts; add message contexts to give translators a chance to translate them accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=762165 gtk/gtkfontbutton.c | 2 +- gtk/inspector/general.c | 4 ++-- gtk/inspector/gestures.c | 8 ++++---- gtk/inspector/prop-editor.c | 2 +- gtk/inspector/size-groups.c | 8 ++++---- 5 files changed, 12 insertions(+), 12 deletions(-) commit a64dd9ccf36739d892bb181ca4622b4f7bee108e Author: Matthias Clasen Date: Tue Feb 16 18:05:32 2016 -0500 printing: Add message contexts Some of the translated strings in the cups printbackend are short and generic and might occur in other contexts. Give them disambiguating message contexts to avoid translation problems. modules/printbackends/cups/gtkprintbackendcups.c | 121 ++++++++++++++--------- 1 file changed, 72 insertions(+), 49 deletions(-) commit 38b1f15f1257003fffd69f6017caefa57f56a24e Author: Jonas Ådahl Date: Tue Feb 16 13:05:25 2016 +0800 wayland: Only attach the buffer if there was damage There is no point in attaching and then committing the same buffer if there was no damage. This will also make us do less unnecessary backfill read backs, for the cases where we paint with an empty paint region. https://bugzilla.gnome.org/show_bug.cgi?id=762120 gdk/wayland/gdkwindow-wayland.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 64c9ec14fea2a68377f7a9c5297fb24b365bf50e Author: Jonas Ådahl Date: Tue Feb 16 12:41:57 2016 +0800 wayland: Handle after-paint invocations when nothing was painted If a after-paint was scheduled but nothing was painted, for example when the it was scheduled by a subsurface wanting to update its position, we'd still try to read back from the backfill cairo surface and update the committed cairo surface reference even though no buffer was attached. Fix this by adding a new state, 'pending_buffer_attached', which is only true if a buffer was attached during frame. Only when this is true will the backfill be read back and the committed cairo surface reference be updated. https://bugzilla.gnome.org/show_bug.cgi?id=762120 gdk/wayland/gdkwindow-wayland.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit f945fb6ec40db6da31be17703f8c67345ea2e1fe Author: Lapo Calamandrei Date: Tue Feb 16 20:49:05 2016 +0100 Adwaita: add a top border to the filechooser bottom bar gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 5de7a5fdea72f669e04443f653f71e73e914e606 Author: Lapo Calamandrei Date: Tue Feb 16 20:44:16 2016 +0100 Adwaita: use Matthias provided ID for the previous commit style gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit bdee6b11ac0b2998b3c99f68df44568e672d4dc6 Author: Lapo Calamandrei Date: Tue Feb 16 20:39:25 2016 +0100 Adwaita: add back a bottom border on the pathbar/entry box gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 3a4922a76f856f43604d56d397b4b29a96655c4a Author: Matthias Clasen Date: Tue Feb 16 14:36:32 2016 -0500 file chooser: Add an ID to the box around the pathbar Having an ID makes it easier to style this appropriately. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 03ec21d61290aa2871300353654d6eb23357221f Author: Lapo Calamandrei Date: Tue Feb 16 20:27:06 2016 +0100 Adwaita: make tab child not cover the active tab indication in the process make the focus outline clearer. gtk/theme/Adwaita/_common.scss | 17 ++++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 14 +++++++------- gtk/theme/Adwaita/gtk-contained.css | 14 +++++++------- 3 files changed, 24 insertions(+), 21 deletions(-) commit af2cc8140aee94aaac0208a37612292dcde3160f Author: Lapo Calamandrei Date: Tue Feb 16 20:17:43 2016 +0100 Adwaita: places sidebar eject button sizing gtk/theme/Adwaita/_common.scss | 9 ++++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 11 +++++++---- gtk/theme/Adwaita/gtk-contained.css | 11 +++++++---- 3 files changed, 20 insertions(+), 11 deletions(-) commit d3a153a45e75621bd4c5a89eb4555392bab62d3c Author: Lapo Calamandrei Date: Tue Feb 16 18:23:09 2016 +0100 Adwaita: places sidebar sizing with min-height... ...more to come. gtk/theme/Adwaita/_common.scss | 7 ++++--- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +++++--- gtk/theme/Adwaita/gtk-contained.css | 8 +++++--- 3 files changed, 14 insertions(+), 9 deletions(-) commit 7c799bbc6591a58cec3ac4d9e0b4cb88fa4d1cfb Author: Lapo Calamandrei Date: Tue Feb 16 17:54:31 2016 +0100 Adwaita: make tab buttons square once again gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 6085bba0a5960390497e429e7a9e41746ff80ac4 Author: Lapo Calamandrei Date: Tue Feb 16 17:40:13 2016 +0100 Adwaita: be more specific about menu items height setting a 16px min-height (same as a check/radio) and resetting margins on check/radio to workaround a sizing issues there. gtk/theme/Adwaita/_common.scss | 8 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 37 ++++++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 37 ++++++++++++++++++-------------- 3 files changed, 48 insertions(+), 34 deletions(-) commit 3a15aa2a957b7a4fc5ecdb21d800b2e81bb2ea47 Author: Christoph Reiter Date: Tue Feb 16 15:49:23 2016 +0100 Add -gtk-image-effect alias for -gtk-icon-effect The property name was changed in 2396265523dfc6. This makes sure apps using it don't break and get a helpful warning instead. gtk/gtkcssstylepropertyimpl.c | 1 + 1 file changed, 1 insertion(+) commit c2cfbc8df1fcec997ba36fb8715b8913dbc08149 Author: Matthias Clasen Date: Mon Feb 15 23:05:06 2016 -0500 Updates NEWS | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 80 insertions(+) commit e32da776ce23a32cc95ab033e4b2cb3b1253b79a Author: Matthias Clasen Date: Mon Feb 15 22:43:56 2016 -0500 Add a release note about level bar changes README.in | 5 +++++ 1 file changed, 5 insertions(+) commit b9a1472fc52a8478ae79d5bdb32537476aa64b0a Author: Matthias Clasen Date: Mon Feb 15 22:17:41 2016 -0500 Add a release note about window size saving README.in | 8 ++++++++ 1 file changed, 8 insertions(+) commit 8f71060ef9569fb476d53e190b2afd7c7d898a8a Author: Matthias Clasen Date: Mon Feb 15 22:06:17 2016 -0500 file chooser: Reload current dir when switching from search mode The need for this was pointed out by Evangelos Foutras in https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit ab1906952e11a11737aec41e86ba81c050886845 Author: Benjamin Otte Date: Tue Feb 16 02:41:44 2016 +0100 cellrenderertoggle: Change "indicator-size" handling The following changes were done to (hopefully) achieve backwards compatibility while allowing themes to change the size of the indicator. (1) Deprecate the property. (2) Change the default value of the property to 0. If it is not 0, use the property's value for the indicator size. This should make all programs that actually set it keep the size they set it to. (3) If set to other values than 0, use min-width/min-height of the check/radio node to size the indicator. This allows themes to change the size. (4) Fall back to the previous default size of 16px. This way themes that do not set the size keep the same behavior. gtk/gtkcellrenderertoggle.c | 36 ++++++++++++++++++++++++++++++------ 1 file changed, 30 insertions(+), 6 deletions(-) commit 3c0cd8aea4e0e91459985ef42ece02f5dd683fc7 Author: Benjamin Otte Date: Tue Feb 16 00:22:40 2016 +0100 win32 theme: Include the default win32 colors gtk/gtkwin32theme.c | 44 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 43 insertions(+), 1 deletion(-) commit 92fca23244f59f0df0336814f553b8e668223c0b Author: Benjamin Otte Date: Tue Feb 16 00:22:12 2016 +0100 win32 theme: Always include the win32 theme It's not very useful outside of Windows so far, but that will hopefully change. gtk/Makefile.am | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit a1cbcc18b3735438ec2e585b4f8a45a3a7e82f8e Author: Lapo Calamandrei Date: Tue Feb 16 02:11:12 2016 +0100 Adwaita: stop using assets for treeview check/radio... ...the sizing is still off, waiting for Benjamin to add the magic, probably the icon shadow is missing, not sure since it's blurry. This needs to be reverted in case the sizing won't get fixed. gtk/theme/Adwaita/_common.scss | 95 +- gtk/theme/Adwaita/assets.svg | 6563 +++++------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 339 +- gtk/theme/Adwaita/gtk-contained.css | 453 +-- 4 files changed, 1194 insertions(+), 6256 deletions(-) commit c30d542a17e78cfff1dd0a949dfa4f7df942604f Author: Matthias Clasen Date: Mon Feb 15 14:20:48 2016 -0500 Some more CSS node tests for notebooks testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/notebook-arrows.nodes | 16 +++++++++++ testsuite/css/nodes/notebook-arrows.ui | 42 +++++++++++++++++++++++++++++ testsuite/css/nodes/notebook-arrows2.nodes | 16 +++++++++++ testsuite/css/nodes/notebook-arrows2.ui | 43 ++++++++++++++++++++++++++++++ 5 files changed, 119 insertions(+) commit 38d0d0a687c0c7416188cd6095ae4ebf69dc4f53 Author: Carlos Garnacho Date: Mon Feb 15 18:56:42 2016 +0100 gdkdnd: Stick to the first gdk_drag_drop_done() result That way we can let ::cancel callers to override the visual result of the operation (eg. when detaching notebook tabs on NO_TARGET). Also, document gdk_drag_drop_done() so it is mentioned that this is a one-shot call. https://bugzilla.gnome.org/show_bug.cgi?id=761954 gdk/gdkdnd.c | 9 +++++++++ gdk/gdkdndprivate.h | 2 ++ 2 files changed, 11 insertions(+) commit d26801c92309ea9bf9dfb4e755ae5e8db80b4cce Author: Lapo Calamandrei Date: Mon Feb 15 18:39:50 2016 +0100 Adwaita: correctly style arrows wrt tab position gtk/theme/Adwaita/_common.scss | 55 +++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained-dark.css | 39 +++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 39 +++++++++++++++------- 3 files changed, 100 insertions(+), 33 deletions(-) commit bc3b399809ec1f60c6583a1566da437f787dc2ff Author: Anders Jonsson Date: Mon Feb 15 17:39:17 2016 +0000 Updated Swedish translation po/sv.po | 1800 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 965 insertions(+), 835 deletions(-) commit 9bd15e001a3ebe6fe2ae68dd7f3c44c56e91cce6 Author: Anders Jonsson Date: Mon Feb 15 17:38:07 2016 +0000 Updated Swedish translation po-properties/sv.po | 4171 +++++++++++++++++++++++++++------------------------ 1 file changed, 2233 insertions(+), 1938 deletions(-) commit 4636552a76e3935621b79367dc329a896a0d981a Author: Carlos Garnacho Date: Mon Feb 15 17:05:50 2016 +0100 gdkdnd: Make GtkDragContext::cancel RUN_LAST The default implementation code should act as a catch-all fallback, we let the connected handlers to run first then. https://bugzilla.gnome.org/show_bug.cgi?id=761954 gdk/gdkdnd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit aad3135e4c30c977c80ba39a65f28623aa4c4592 Author: Carlos Garnacho Date: Mon Feb 15 17:02:14 2016 +0100 gdk: Add GdkDragCancelReason enum as argument to GdkDragContext::cancel We should conform to a minimal set of reasons for the gtk side to emit a better GtkDragResult than GTK_DRAG_RESULT_ERROR. This fixes the notebook tab DnD feature, where we rely on GTK_DRAG_RESULT_NO_TARGET. In the wayland side, unfortunately we can't honor either NO_TARGET nor USER_CANCELLED, we don't know of the latter, so we could return false positives on the former. https://bugzilla.gnome.org/show_bug.cgi?id=761954 docs/reference/gdk/gdk3-sections.txt | 1 + gdk/gdkdnd.c | 9 +++++---- gdk/gdkdnd.h | 16 ++++++++++++++++ gdk/gdkdndprivate.h | 6 ++++-- gdk/wayland/gdkdnd-wayland.c | 3 ++- gdk/wayland/gdkselection-wayland.c | 2 +- gdk/x11/gdkdnd-x11.c | 14 ++++++++------ gtk/gtkdnd.c | 27 ++++++++++++++++++++++----- 8 files changed, 59 insertions(+), 19 deletions(-) commit 1ee3df5161e243a54a1254ff203282ed678f70ae Author: Benjamin Otte Date: Mon Feb 15 18:16:32 2016 +0100 cellrendertoggle: Draw background + frame for mark Also compute padding and borders properly for the marks. gtk/gtkcellrenderertoggle.c | 40 ++++++++++++++++++++++++++++++++-------- 1 file changed, 32 insertions(+), 8 deletions(-) commit 46f46ed36e18096b2c816afe46a9c1bc590d5439 Author: Benjamin Otte Date: Mon Feb 15 18:08:14 2016 +0100 cellrenderertoggle: Split out a function gtk/gtkcellrenderertoggle.c | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) commit d10bd41e43acaac31b4ccf41331659ca0df3c61b Author: Benjamin Otte Date: Mon Feb 15 18:06:28 2016 +0100 widget-factory: Add myself Actually, I wanted to have a radio toggle cell renderer for testing. But hey, the commit message is supposed to say the important things! demos/widget-factory/widget-factory.ui | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 1b1d6551c712a57f5f69ccdae3b9dfd6c46600f9 Author: Lapo Calamandrei Date: Mon Feb 15 16:56:01 2016 +0100 Adwaita: correct size for ssd titlebars fixes https://bugzilla.gnome.org/show_bug.cgi?id=762032 gtk/theme/Adwaita/_common.scss | 10 ++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 12 +++++++----- gtk/theme/Adwaita/gtk-contained.css | 12 +++++++----- 3 files changed, 20 insertions(+), 14 deletions(-) commit cb43af090b175a7afef20d3511d12594120cef34 Author: Matthias Clasen Date: Mon Feb 15 10:38:13 2016 -0500 notebook: Fix a misplaced tab label Sometimes default tab labels ("Page ") get created on-demand, and in that case, we were forgetting to put them below the tab node in the CSS node tree. The visible result of this is that the heuristics for when to give notebooks background in Adwaita fail in some cases. So, make sure to always place the label below the tab node. gtk/gtknotebook.c | 2 ++ 1 file changed, 2 insertions(+) commit 1d65e8b601afbdb5b6ce4586dbe5ceba6453a350 Author: Caolán McNamara Date: Mon Feb 15 13:06:23 2016 +0000 gtk-demo: add menu separator demo doesn't much look like the menu separator in a real menu though. https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit ee9c1c144954edde5fc3af46a48edaf219265f1e Author: Caolán McNamara Date: Mon Feb 15 12:38:52 2016 +0000 gtk-demo: add combobox demos https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 51 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit 1131ae27a0f38e9b406d5b9e04d58c2dac4646cb Author: Caolán McNamara Date: Thu Feb 11 16:48:51 2016 +0000 gtk-demo: add menu check and radio examples note that if the "menu" context has no parent then the GTK_STATE_FLAG_NORMAL menu entries are invisible against the white background. https://bugzilla.gnome.org/show_bug.cgi?id=762080 demos/gtk-demo/foreigndrawing.c | 59 ++++++++++++++++++++++++++++++++++++----- 1 file changed, 52 insertions(+), 7 deletions(-) commit 1140a514ea3f33a02dbf4f704adf6c579afb13c6 Author: Lapo Calamandrei Date: Mon Feb 15 14:25:30 2016 +0100 Adwaita: notebook fixes make the tab close button a tad bigger, use header 'paddings' in place of 'tabs' margins for spacing. gtk/theme/Adwaita/_common.scss | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained-dark.css | 20 ++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 20 ++++++++++---------- 3 files changed, 30 insertions(+), 30 deletions(-) commit 4e2674edbb155163d0d50c8ccc19e88428cd8cd4 Author: Matthias Clasen Date: Mon Feb 15 08:23:12 2016 -0500 Expand the docs for gtk_window_set_default_size() Mention that this function should be used together with gtk_window_get_size() when saving and restoring window sizes. gtk/gtkwindow.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit e10f44e896a316b8cf7f0b4e3545aabff64147d8 Author: Matthias Clasen Date: Mon Feb 15 08:02:27 2016 -0500 places sidebar: use a box No need for a grid here. Patch by Timm Bäder. gtk/ui/gtksidebarrow.ui | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) commit 88c68f2eefc715039df09179e163ff68991c856f Author: Lapo Calamandrei Date: Mon Feb 15 13:52:41 2016 +0100 Adwaita: sidebar background-color it was covered by the contained list background, which is now transparent. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 6 insertions(+) commit 0b1aeceb6e7fe4cb0646c633427eb3f72f2c9bbf Author: Lapo Calamandrei Date: Mon Feb 15 13:30:37 2016 +0100 Adwaita: no rounded corner for tiled backdrop windows fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 3 files changed, 7 insertions(+), 3 deletions(-) commit aed7ca1b3d05c4da6988f93d4f6ea557d6b6e55f Author: Lapo Calamandrei Date: Mon Feb 15 13:28:46 2016 +0100 Revert "Adwaita: no rounded corners for backdrop tiled windows" This reverts commit aa4b385398e99fed6dd71791eb5a9e2e5ea4db9d. Erroneusly pushed unfinished stuff... gtk/theme/Adwaita/_common.scss | 17 ++++++------- gtk/theme/Adwaita/_drawing.scss | 9 ------- gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++++++++++------------ 4 files changed, 62 insertions(+), 50 deletions(-) commit 4d266400450f681eafc4b28c0adbf035a049da59 Author: Lapo Calamandrei Date: Mon Feb 15 13:07:37 2016 +0100 Adwaita: shortcutswindow fixes use darker text and tweak the keycap vertical centering, addresses https://bugzilla.gnome.org/show_bug.cgi?id=761778 gtk/theme/Adwaita/_common.scss | 5 +++-- gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) commit aa4b385398e99fed6dd71791eb5a9e2e5ea4db9d Author: Lapo Calamandrei Date: Mon Feb 15 12:34:55 2016 +0100 Adwaita: no rounded corners for backdrop tiled windows fixes https://bugzilla.gnome.org/show_bug.cgi?id=762067 gtk/theme/Adwaita/_common.scss | 17 +++++++------ gtk/theme/Adwaita/_drawing.scss | 9 +++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++-------------------- gtk/theme/Adwaita/gtk-contained.css | 43 ++++++++++++-------------------- 4 files changed, 50 insertions(+), 62 deletions(-) commit 0e9f24b5a47dff33c681b055df304bda3018c7f1 Author: Chun-wei Fan Date: Mon Feb 15 17:22:00 2016 +0800 gtk/gtkentry.c: Fix build on pre-C99 This file now uses nearbyint(), so include fallback-c89.c so that compilers that don't provide the function will not get upset. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f3f3a1c75077f0f1a616dcac6fea63c20cc6ce26 Author: Chun-wei Fan Date: Mon Feb 15 14:34:12 2016 +0800 Fix 'make dist' gtk/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit beb76936d9f562fbaed46fc6eb22957733aa8b36 Author: Benjamin Otte Date: Mon Feb 15 04:40:03 2016 +0100 cellrenderertoggle: Use "check" and "radio" names ... instead of just adding a style class. gtk/gtkcellrenderertoggle.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit a4a158e8853daf96947041552d1f3ddc7c0f4506 Author: Benjamin Otte Date: Mon Feb 15 04:28:13 2016 +0100 win32 theme: Remove a bunch of workarounds that are no longer necessary gtk/theme/win32/gtk-win32-base.css | 37 ------------------------------------- 1 file changed, 37 deletions(-) commit b227d023f3b2fc512d364b2297d885184d4444c2 Author: Benjamin Otte Date: Mon Feb 15 01:47:43 2016 +0100 win32 theme: Draw checkmarks and radiomarks properly Instead of drawing them as the background, use -gtk-icon-source. Also size the marks properly. Because Windows doesn't have indeterminate radio buttons, use a cross-fade between checked and unchecked radiomark instead. But unlike previously, use CSS cross-fade() syntax to draw it. gtk/theme/win32/gtk-win32-base.css | 223 ++++++++++++++++++++++++------------- 1 file changed, 148 insertions(+), 75 deletions(-) commit de38435921ebec9a1a31640140a3eea86c907d4e Author: Benjamin Otte Date: Mon Feb 15 01:46:29 2016 +0100 cssimagecrossfade: Fix order of images when parsing/printing The syntax is cross-fade( , ), not the other way around. That's because the percentage refers to the end image. gtk/gtkcssimagecrossfade.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit f425b5549c49146ba3b751672e79f70d5e5572d7 Author: Benjamin Otte Date: Mon Feb 15 00:49:29 2016 +0100 win32: Add support for -gtk-win32-part-width/height to CSS It's unused by now, but I want it for min-width of checks/radios. gtk/gtkcssnumbervalue.c | 8 +- gtk/gtkcsswin32sizevalue.c | 214 ++++++++++++++++++++++++++++++++++++++------- gtk/gtkwin32theme.c | 53 ++++++++++- gtk/gtkwin32themeprivate.h | 6 ++ 4 files changed, 245 insertions(+), 36 deletions(-) commit b43844f9f91d4c24ef1300c2a088050ef960bc6b Author: Benjamin Otte Date: Sun Feb 14 20:36:38 2016 +0100 win32 theme: Don't set the color on * Instead, set it on .background, so it gets inherited everywhere. gtk/theme/win32/gtk-win32-base.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 6d909018f753a4cb6b2a3bb0b70f63fa791744ea Author: Benjamin Otte Date: Sun Feb 14 18:01:07 2016 +0100 win32 theme: Use same spinner as Adwaita gtk/theme/win32/gtk-win32-base.css | 345 ++----------------------------------- 1 file changed, 15 insertions(+), 330 deletions(-) commit 3597baf272816a0f2573c4c5b755969399b722e9 Author: Benjamin Otte Date: Sun Feb 14 16:18:56 2016 +0100 win32: Update color handling to recent GtkWin32Theme changes gtk/gtkcsscolorvalue.c | 62 +++++++++++++++++++++++++++------------------- gtk/gtkwin32theme.c | 43 +++++++++++++++----------------- gtk/gtkwin32themeprivate.h | 12 ++++----- 3 files changed, 63 insertions(+), 54 deletions(-) commit a1617c6d6d2e84abe6f6cc1c0df1ac38c144b550 Author: Benjamin Otte Date: Sun Feb 14 04:51:37 2016 +0100 win32: Canonicalize theme-name before adding to hash table This way, we get rid of du0plicates. gtk/gtkwin32theme.c | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) commit d584e22e021b15446e60ef451160211ae3347bb7 Author: Benjamin Otte Date: Sun Feb 14 01:11:57 2016 +0100 win32: Add gtk_win32_theme_parse() So all places can use this function instead of parsing things themselves. gtk/gtkcssimagewin32.c | 13 +++---------- gtk/gtkcsswin32sizevalue.c | 19 ++++++------------- gtk/gtkwin32theme.c | 21 ++++++++++++++++++++- gtk/gtkwin32themeprivate.h | 2 +- 4 files changed, 30 insertions(+), 25 deletions(-) commit 3b19db425e63fb6f16b1daf4c8da288c631e1cc0 Author: Benjamin Otte Date: Sun Feb 14 00:54:37 2016 +0100 css: Add a number value handling win32 sizes gtk/Makefile.am | 2 + gtk/gtkcssnumbervalue.c | 6 +- gtk/gtkcssstylefuncs.c | 46 +++++---- gtk/gtkcsswin32sizevalue.c | 196 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcsswin32sizevalueprivate.h | 32 +++++++ gtk/gtkwin32theme.c | 99 ++++++------------- gtk/gtkwin32themeprivate.h | 10 +- 7 files changed, 295 insertions(+), 96 deletions(-) commit 915fe87a629319c3a089874c148ec5b4319e3f09 Author: Lapo Calamandrei Date: Sun Feb 14 22:30:32 2016 +0100 Adwaita: fix treeview dnd column headers gtk/theme/Adwaita/_common.scss | 30 +++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 24 +++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 24 +++++++++++++++++------- 3 files changed, 49 insertions(+), 29 deletions(-) commit 54b378b3df0e3c89bed0b715977d4e8cc8dee090 Author: Lapo Calamandrei Date: Sun Feb 14 21:48:31 2016 +0100 Adwaita: flatten up search bars and inline toolbars gtk/theme/Adwaita/_common.scss | 8 +++----- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +-- gtk/theme/Adwaita/gtk-contained.css | 3 +-- 3 files changed, 5 insertions(+), 9 deletions(-) commit f1b34a719e92847a6eb5429f0389350cb2e577e8 Author: Lapo Calamandrei Date: Sun Feb 14 21:06:38 2016 +0100 Adwaita: image-button sizing fix gtk/theme/Adwaita/_common.scss | 6 ++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++++ gtk/theme/Adwaita/gtk-contained.css | 5 +++++ 3 files changed, 16 insertions(+) commit 3c9a63bcb1336449f76432606fc7dcc838c5a1a4 Author: Matthias Clasen Date: Sun Feb 14 14:54:49 2016 -0500 Adwaita: Fix a padding problem in action bars Padding adds up. A selector like "actionbar box" matches any box inside an actionbar, so nested boxes accumulate more and more padding. The intention clearly was to just give padding to the topmost box that is the direct child of the actionbar's revealer. https://bugzilla.gnome.org/show_bug.cgi?id=762036 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit e0bf1289b96c99e67ece70c8c960dab875ed085a Author: Matthias Clasen Date: Sun Feb 14 10:49:22 2016 -0500 gtk3-demo: Fontify all source files demos/gtk-demo/main.c | 51 +++++++++++++++++++++++++++------------------------ 1 file changed, 27 insertions(+), 24 deletions(-) commit c0a61c2da3c358e71f0d29ceda2e761f5b6878af Author: Matthias Clasen Date: Sun Feb 14 09:39:15 2016 -0500 gtk-demo: Streamline application Avoid the odd #ifdef STANDALONE construction; we can show multiple source files nowadays. demos/gtk-demo/Makefile.am | 4 +- demos/gtk-demo/application-standalone.c | 3 - demos/gtk-demo/application.c | 101 +------------------------------- demos/gtk-demo/application_demo.c | 95 ++++++++++++++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 5 +- 5 files changed, 102 insertions(+), 106 deletions(-) commit fc90bd5e302f0146ee7fa4cdcaf06b6ffef41e7c Author: Matthias Clasen Date: Sun Feb 14 09:29:55 2016 -0500 gtk-demo: Fix the size saving for CSD We need to use gtk_window_get_size to get the correct size that we can pass to gtk_window_set_default_size regardless of CSD or not. demos/gtk-demo/application.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 601e762973e9f79e6429f85804a9346d73f41bb8 Author: Lapo Calamandrei Date: Sun Feb 14 16:38:42 2016 +0100 Adwaita: correct spacing for mixed buttons gtk/theme/Adwaita/_common.scss | 19 +++++++++++++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 22 ++++++++++++++++------ gtk/theme/Adwaita/gtk-contained.css | 22 ++++++++++++++++------ 3 files changed, 49 insertions(+), 14 deletions(-) commit 6edb420e510e5bed5f5d67b1a3b48670fba32287 Author: Benjamin Otte Date: Sun Feb 14 16:10:07 2016 +0100 paned: Fix drawing Clip children to their window's size. That way no overdraw happens for these widgets. But don't clip the handle. We might in the future consider not clipping un-shrinkable children. https://bugzilla.gnome.org/show_bug.cgi?id=762021 gtk/gtkpaned.c | 39 +++++++++++++++++++++++++++++---------- 1 file changed, 29 insertions(+), 10 deletions(-) commit 88f0885638674295bb73171e0c852fc78662106a Author: Benjamin Otte Date: Sun Feb 14 16:07:06 2016 +0100 paned: Use content allocation instead of widget allocation We don't want to include padding and borders in our calculations involving the handle. gtk/gtkpaned.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 7e47418d0cf93acc73a6ad2d274aa0ac45470d8c Author: Benjamin Otte Date: Sun Feb 14 15:52:19 2016 +0100 paned: rtl-flip with the correct rectangle gtk/gtkpaned.c | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) commit 1bfbd23a0c692cf8b19dd86448eaa9ba8e6cb8af Author: Lapo Calamandrei Date: Sun Feb 14 14:44:57 2016 +0100 Adwaita: don't set a border for drop targets to avoid active drop targets to grow. gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 ++- gtk/theme/Adwaita/gtk-contained.css | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) commit bf45d06a7915b5cf212aebe341187f2af6a6de5e Author: Lapo Calamandrei Date: Sun Feb 14 14:33:30 2016 +0100 Adwaita: scss cosmetic changes gtk/theme/Adwaita/_common.scss | 53 ++++++++++++++++++++---------------------- 1 file changed, 25 insertions(+), 28 deletions(-) commit 72db203672e706c05f3129f54b549199805c21fb Author: Lapo Calamandrei Date: Sun Feb 14 14:21:01 2016 +0100 Adwaita: fix scale popup button size gtk/theme/Adwaita/_common.scss | 13 +++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 9 +++------ gtk/theme/Adwaita/gtk-contained.css | 9 +++------ 3 files changed, 11 insertions(+), 20 deletions(-) commit ea423318f17ae1167da3f955533c73c0a5303682 Author: Michael Catanzaro Date: Sat Feb 13 22:14:55 2016 -0600 Fix a typo gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3a499d61dce4c2dbcafc7a401d17bce3de127bd9 Author: Matthias Clasen Date: Sat Feb 13 22:53:16 2016 -0500 gtk-demo: Add window size saving example Implement the recommendations from https://wiki.gnome.org/HowDoI/SaveWindowState in the Application Class example. demos/gtk-demo/application.c | 151 ++++++++++++++++++++++++++++---- demos/gtk-demo/application.ui | 11 +-- demos/gtk-demo/org.gtk.Demo.gschema.xml | 9 ++ 3 files changed, 148 insertions(+), 23 deletions(-) commit 7bca66e1ff816f45f02682733346469675b2c915 Author: Matthias Clasen Date: Sat Feb 13 21:46:40 2016 -0500 gtk-demo: modernize the application demo Subclass GtkApplication and GtkApplicationWindow and use a template. demos/gtk-demo/application.c | 185 ++++++++++++++++++++---------------------- demos/gtk-demo/application.ui | 166 +++++++++++++++++++++---------------- 2 files changed, 186 insertions(+), 165 deletions(-) commit 7f2d4400ba429a1f660bbece8bad3a8548f707f0 Author: Lapo Calamandrei Date: Sun Feb 14 02:35:28 2016 +0100 Adwaita: try being smarter wrt extending buttons. gtk/theme/Adwaita/_common.scss | 119 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 1375 +++++++++++------------------- gtk/theme/Adwaita/gtk-contained.css | 1373 +++++++++++------------------ 3 files changed, 1097 insertions(+), 1770 deletions(-) commit adddd1a9eb54f88df920fb6952f557a4e6b29bff Author: Lapo Calamandrei Date: Sun Feb 14 01:20:02 2016 +0100 Revert "Adwaita: remove an unneded selector." This reverts commit 05dff4ccb014e32b572505fb098006aa80a72387. It was needed actually... gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 251 +++++++++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 251 +++++++++++++++++++++++-------- 3 files changed, 373 insertions(+), 130 deletions(-) commit 05dff4ccb014e32b572505fb098006aa80a72387 Author: Lapo Calamandrei Date: Sun Feb 14 00:34:29 2016 +0100 Adwaita: remove an unneded selector. gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 251 ++++++++----------------------- gtk/theme/Adwaita/gtk-contained.css | 251 ++++++++----------------------- 3 files changed, 130 insertions(+), 373 deletions(-) commit 12daac76d78b7bfd25db5042e03ed10c408ef2db Author: Lapo Calamandrei Date: Sun Feb 14 00:25:04 2016 +0100 Adwaita: notebook arrow styling. gtk/theme/Adwaita/_common.scss | 33 +- gtk/theme/Adwaita/gtk-contained-dark.css | 646 ++++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained.css | 646 ++++++++++++++++++++++--------- 3 files changed, 975 insertions(+), 350 deletions(-) commit 29a7373802da8130f39435cda620cdc18fc50a9e Author: Matthias Clasen Date: Sat Feb 13 17:11:59 2016 -0500 widget-factory: Add an inline toolbar example This pattern is still used in applications, so we should have it represented here to keep it working well. demos/widget-factory/widget-factory.c | 128 +++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 66 +++++++++++++---- 2 files changed, 182 insertions(+), 12 deletions(-) commit 35bed27b9d37eea418472a75ecfe3ae852eaaea6 Author: Matthias Clasen Date: Fri Feb 12 23:40:26 2016 -0500 Docuemnt calc() support in CSS docs/reference/gtk/css-properties.xml | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) commit 3f4f914fb46edb379f1a1477c7738d026a00046c Author: Chao-Hsiung Liao Date: Sat Feb 13 06:19:31 2016 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 3585 +++++++++++++++++++++++++----------------------- 1 file changed, 1863 insertions(+), 1722 deletions(-) commit ecdd420b55184a56372bb2af657fea8a380d19ed Author: Chao-Hsiung Liao Date: Sat Feb 13 06:17:15 2016 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 1793 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 964 insertions(+), 829 deletions(-) commit d3e8cf87aa5cfa3f10f6732c5a36c00e4ae82639 Author: Benjamin Otte Date: Sat Feb 13 06:41:29 2016 +0100 testsuite: Don't use deprecated APIs testsuite/gtk/gestures.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) commit e7470be7bf2d59b5e54538a728d5be3a8d90140c Author: Benjamin Otte Date: Sat Feb 13 06:26:42 2016 +0100 tests: Port testlockbutton to GTask Get rid of deprecations that way. tests/testlockbutton.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 93eec3e52f31f958ca7790e0eaa002e6975c4b57 Author: Benjamin Otte Date: Sat Feb 13 04:47:51 2016 +0100 css: Implement transitions for numbers of different units We now can transition from 10px to 100%. Note that this requires a teensy tiny hack in gtk_css_value_transition(), but so be it. gtk/gtkcsscalcvalue.c | 11 +---------- gtk/gtkcssdimensionvalue.c | 17 +---------------- gtk/gtkcssnumbervalue.c | 19 +++++++++++++++++++ gtk/gtkcssnumbervalueprivate.h | 4 ++++ gtk/gtkcssvalue.c | 4 +++- 5 files changed, 28 insertions(+), 27 deletions(-) commit 0cda3ba3e8fb70d3b88b2b810ee7b988ef5f631d Author: Benjamin Otte Date: Sat Feb 13 04:12:45 2016 +0100 calc: Allow subterms with '(' ')' bracketing Some more tests included. gtk/gtkcsscalcvalue.c | 19 +++++++++++++++++++ testsuite/css/parser/calc-errors.css | 16 ++++++++++++++++ testsuite/css/parser/calc-errors.errors | 4 ++++ testsuite/css/parser/calc.css | 16 ++++++++++++++++ testsuite/css/parser/calc.ref.css | 16 ++++++++++++++++ 5 files changed, 71 insertions(+) commit 63d1f8074287e4001b74b2f52018f32fe0b9cb7b Author: Benjamin Otte Date: Sat Feb 13 03:56:12 2016 +0100 css: Add support for '*' and '/' to calc() More tests are included. gtk/gtkcsscalcvalue.c | 101 ++++++++++++++++++++++++++++++- testsuite/css/parser/Makefile.am | 3 + testsuite/css/parser/calc-errors.css | 59 ++++++++++++++++++ testsuite/css/parser/calc-errors.errors | 15 +++++ testsuite/css/parser/calc-errors.ref.css | 0 testsuite/css/parser/calc.css | 4 ++ testsuite/css/parser/calc.ref.css | 4 ++ 7 files changed, 183 insertions(+), 3 deletions(-) commit 4a9fa1e7505651c3074b1a620047f6bfc5158a5a Author: Benjamin Otte Date: Sat Feb 13 02:31:47 2016 +0100 css: Add API to handle order when printing calc() Also, add some tests and update old ones to print calc() statements correctly. gtk/gtkcsscalcvalue.c | 20 +++++++++++++++++++- gtk/gtkcssdimensionvalue.c | 30 +++++++++++++++++++++++++++++- gtk/gtkcssnumbervalue.c | 21 +++++++++++++++++++++ gtk/gtkcssnumbervalueprivate.h | 2 ++ testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/calc.css | 14 +++++++++++++- testsuite/css/parser/calc.ref.css | 19 +++++++++++++++++++ 7 files changed, 104 insertions(+), 3 deletions(-) commit 65dd9da44a0a9d5ee211e36c6a779a682469e106 Author: Benjamin Otte Date: Fri Feb 12 07:59:06 2016 +0100 css: Add support for sums to calc() This requires adding code to do math on number values: gtk_css_number_value_multiply() and gtk_css_number_value_try_add() were added to achieve that. Some tests are included. gtk/gtkcsscalcvalue.c | 282 ++++++++++++++++++++++++++++++++++----- gtk/gtkcsscalcvalueprivate.h | 3 + gtk/gtkcssdimensionvalue.c | 21 ++- gtk/gtkcssnumbervalue.c | 36 +++++ gtk/gtkcssnumbervalueprivate.h | 10 ++ testsuite/css/parser/Makefile.am | 1 + testsuite/css/parser/calc.css | 7 + 7 files changed, 324 insertions(+), 36 deletions(-) commit cd6dc954f2bd173903d805fe3c4810ae25e82490 Author: Benjamin Otte Date: Fri Feb 12 06:56:14 2016 +0100 css: Add initial support for calc() So far, calc() only supports literals, ie it's completely useless. gtk/Makefile.am | 2 + gtk/gtkcsscalcvalue.c | 152 +++++++++++++++++++++++++++++++ gtk/gtkcsscalcvalueprivate.h | 30 ++++++ gtk/gtkcssnumbervalue.c | 7 +- testsuite/css/parser/Makefile.am | 2 + testsuite/css/parser/calc-simple.css | 31 +++++++ testsuite/css/parser/calc-simple.ref.css | 41 +++++++++ 7 files changed, 264 insertions(+), 1 deletion(-) commit a52ecd2be61ee46b41267614484ed0401ac5cbc1 Author: Benjamin Otte Date: Fri Feb 12 06:45:06 2016 +0100 css: Add gtk_css_number_value_can_parse() Use it instead of _gtk_css_parser_has_number(). We need that once we introduce calc() support. gtk/gtkcssbgsizevalue.c | 2 +- gtk/gtkcssbordervalue.c | 2 +- gtk/gtkcsscornervalue.c | 2 +- gtk/gtkcssimagecrossfade.c | 2 +- gtk/gtkcssimagelinear.c | 4 ++-- gtk/gtkcssimageradial.c | 6 +++--- gtk/gtkcssnumbervalue.c | 6 ++++++ gtk/gtkcssnumbervalueprivate.h | 1 + gtk/gtkcsspositionvalue.c | 4 ++-- gtk/gtkcssshadowvalue.c | 6 +++--- gtk/gtkcssshorthandpropertyimpl.c | 14 +++++++------- 11 files changed, 28 insertions(+), 21 deletions(-) commit b246d55472cdf7f8589a8cd8627e9dc4aead2fdd Author: Benjamin Otte Date: Fri Feb 12 06:25:50 2016 +0100 css: Turn number values into a virtual type GtkCssNumberValue is now a base class for numbers. Actual numbers are now implemented in GtkCssDimensionValue. The name is borrowed from the CSS spec, so there. gtk/Makefile.am | 2 + gtk/gtkcssdimensionvalue.c | 293 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcssdimensionvalueprivate.h | 35 +++++ gtk/gtkcssnumbervalue.c | 266 +++------------------------------- gtk/gtkcssnumbervalueprivate.h | 12 +- gtk/gtkcssparser.c | 9 +- 6 files changed, 365 insertions(+), 252 deletions(-) commit e2d966eda52ed8833ebdafdc7d6d43284a503453 Author: Benjamin Otte Date: Fri Feb 12 04:40:35 2016 +0100 cssnumbervalue: Remove gtk_css_number_value_get_unit() This is in preparation for calc(), as calc(50% - 5px) is valid CSS but has 2 units. Instead, add a function to query a value's dimension (so we can differentiate lengths from numbers) and add a function to query if the value contains percentages. gtk/gtkcssimageradial.c | 2 +- gtk/gtkcssnumbervalue.c | 16 ++++++++++++---- gtk/gtkcssnumbervalueprivate.h | 4 +++- gtk/gtkcssshorthandpropertyimpl.c | 2 +- gtk/gtkcsstypes.c | 38 ++++++++++++++++++++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 10 ++++++++++ gtk/gtkrenderborder.c | 4 ++-- 7 files changed, 67 insertions(+), 9 deletions(-) commit 7b301fcece6a9f2a18afc2e5e2169da9b6545bbf Author: Benjamin Otte Date: Fri Feb 12 04:09:44 2016 +0100 linear-gradient: Remove the hack using NUMBER Instead, add a "side" member to the struct that keeps sides explicitly. gtk/gtkcssimagelinear.c | 63 ++++++++++++++++++++---------------------- gtk/gtkcssimagelinearprivate.h | 3 +- 2 files changed, 32 insertions(+), 34 deletions(-) commit 06454250461f2586cdc4d62fdf4504eb1ba8e163 Author: Benjamin Otte Date: Fri Feb 12 21:22:23 2016 +0100 cssimageradial: Don't print 2 spaces gtk/gtkcssimageradial.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 51af70495ae1be03c4faadbbfe91234f165ddcaa Author: Matthias Clasen Date: Fri Feb 12 22:26:04 2016 -0500 gadget: Be careful in geometry calculations Margins can be negative, and if we are not careful, then content+padding+margin can end up with negative dimensions, which can upset pixman and others. This commit ensures that a gadget will not request or draw boxes with negative dimensions, and get_border_allocation and get_content_allocation will not return boxes with negative dimensions. This fixes a crash in the paned separator drawing code that can be reproduced by setting separator padding to 0. https://bugzilla.gnome.org/show_bug.cgi?id=759657 gtk/gtkcssgadget.c | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) commit 71559c603e8cfdbe7cba03344f244a6ce84545a4 Author: Matthias Clasen Date: Fri Feb 12 22:05:40 2016 -0500 file chooser: Avoid nonworking search+save combinations With the location entry up in the header bar in save mode, we can end up with the search model being in use when the user types in the location entry. In this case, we don't make the Save button sensitive as we should. Having two entries in the dialog is somewhat confusing anyway, so just stop the search when the user starts typing in the location entry. https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 811a9b21c1bb226236d2a880f9cbbcbcf6028c2e Author: Matthias Clasen Date: Fri Feb 12 20:35:26 2016 -0500 file chooser: Use the right model when getting the selection We don't need to make assumptions about which model is currently used since gtk_tree_selection_get_selection hands us the model. https://bugzilla.gnome.org/show_bug.cgi?id=761757 gtk/gtkfilechooserwidget.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 4c37719639ee5121d729c81d8ab30a23670de559 Author: Matthias Clasen Date: Fri Feb 12 18:24:20 2016 -0500 Adwaita: Insensitive notebook arrows Just make insensitive notebook arrows gray until better styling appears. https://bugzilla.gnome.org/show_bug.cgi?id=761716 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 3 files changed, 8 insertions(+) commit 102b3bfddf9a5d76c4b70d8e6106aac088b6f22b Author: Matthias Clasen Date: Fri Feb 12 18:09:41 2016 -0500 paned: Draw handle before children gtk/gtkpaned.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit d55b8151f27857ff4663ce05cbf6636b5ae50a02 Author: Carlos Garnacho Date: Fri Feb 12 21:59:29 2016 +0100 x11: Avoid setting has_pointer_focus if a EWMH compliant WM is present This is mostly useful to have focus behave sanely on lack of WM, so avoid any check there if we're positive there is a WM handling focus. https://bugzilla.gnome.org/show_bug.cgi?id=677329 gdk/x11/gdkdevicemanager-core-x11.c | 6 +++++- gdk/x11/gdkeventsource.c | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) commit 48d7219296084e73adcde7b09a8e550d7323deb7 Author: Matthias Clasen Date: Fri Feb 12 15:01:58 2016 -0500 paned: Don't overdraw When moving children 'off', we can't allow them to draw outside the paned allocation, so clip when drawing. https://bugzilla.gnome.org/show_bug.cgi?id=761903 gtk/gtkpaned.c | 34 ++++++++-------------------------- 1 file changed, 8 insertions(+), 26 deletions(-) commit 5562f4f273200f4617ccacf7f0c4198dfdbdd5f4 Author: Caolán McNamara Date: Thu Feb 11 17:22:31 2016 +0000 gtk-demo: spinbutton and menubar examples https://bugzilla.gnome.org/show_bug.cgi?id=761900 demos/gtk-demo/foreigndrawing.c | 87 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 86 insertions(+), 1 deletion(-) commit eb90c4f9ed2a786585a1f425f815a385bdab2faf Author: Jakub Steiner Date: Fri Feb 12 14:38:03 2016 +0100 Adwaita: make popovers less 1995 - use regular bgcolor gtk/theme/Adwaita/_colors.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit 170cb016759c4a949c7cd81291da498395f18fb3 Author: Carlos Garcia Campos Date: Fri Feb 12 13:21:14 2016 +0100 Revert "Remove _gtk_box_get_children" This reverts commit 572e9a04027e213082a5b257e5d662a5daa32667. _gtk_box_get_children was not doing exactly the same than gtk_container_get_children does, because the latter uses the forall implementation of GtkBox that takes into account the children pack mode while the former just iterated the list of children. This broke the order of the buttons in a GtkButtonBox when they were packaged with PACK_END. gtk/gtkbbox.c | 4 ++-- gtk/gtkbox.c | 24 ++++++++++++++++++++++++ gtk/gtkboxprivate.h | 1 + 3 files changed, 27 insertions(+), 2 deletions(-) commit 452d25b13ddfdcd194a56df9605f83c80f86af95 Author: Matthias Clasen Date: Thu Feb 11 22:51:35 2016 -0500 placessidebar: Increase padding This should bring us back to the look of 3.18. https://bugzilla.gnome.org/show_bug.cgi?id=761791 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit a47d9a7b65166eedd5b1ab5acb34a38f46725c31 Author: Colomban Wendling Date: Wed Feb 10 19:43:34 2016 +0100 treeview: Make sure the editing widget's top left is always visible https://bugzilla.gnome.org/show_bug.cgi?id=761838 gtk/gtktreeview.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 32804e098e02dc3ffcffaf954b41bc6f30944746 Author: Matthias Clasen Date: Thu Feb 11 22:35:11 2016 -0500 Adwaita: Don't grow flat entries Entries in treeviews and similar embedded situations don't really work well if their height is forced to be big. Take out the min-height for these. https://bugzilla.gnome.org/show_bug.cgi?id=761686 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 1 + gtk/theme/Adwaita/gtk-contained.css | 1 + 3 files changed, 3 insertions(+) commit 85b44a3e20d203ce9084ab515a284c2872e12294 Author: Caolán McNamara Date: Tue Jan 26 12:08:01 2016 +0000 cannot not -> must https://bugzilla.gnome.org/show_bug.cgi?id=761826 gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 56ba81530ab4b863122a55f5f90191e4ea5a1be5 Author: Matthias Clasen Date: Thu Feb 11 22:15:43 2016 -0500 placesview: Fix some minor issues Make the button not grow too big, and ensure that the actionbar has a background. https://bugzilla.gnome.org/show_bug.cgi?id=761792 gtk/ui/gtkplacesview.ui | 4 ++++ 1 file changed, 4 insertions(+) commit 23d2f2d0e1531a63b6a9cbfd3528a9aa87f2ddcf Author: Matthias Clasen Date: Thu Feb 11 22:03:47 2016 -0500 Adwaita: tone down treeview separators gtk/theme/Adwaita/_common.scss | 3 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 5 +++-- gtk/theme/Adwaita/gtk-contained.css | 5 +++-- 3 files changed, 8 insertions(+), 5 deletions(-) commit 3bf1151051045591243e23c900a01c55cc057d42 Author: John Ralls Date: Thu Feb 11 13:49:07 2016 -0800 Fix Quartz clipboard image retrieval. It does no good to iterate through a series of mime types to call a function when the eventually-called function, _gtk_quartz_get_selection_data_from_pasteboard() in this case, gives the wrong answer and stops the iteration on all but one especially if that one isn't first. The one is "image/tiff" and the quartz pasteboard function will return any image type Quartz knows about for it, so lose the iteration and use only "image/tiff". gtk/gtkclipboard-quartz.c | 119 ++++++++++++++++++++++------------------------ 1 file changed, 57 insertions(+), 62 deletions(-) commit 1bd0431ab2ad90c59b81516e8375298a5f1aaa8b Author: Lapo Calamandrei Date: Thu Feb 11 18:38:31 2016 +0100 Adwaita: fix bogus selector... ...ruining the indeterminate check animation gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 460aa64c58b6b12d49b132b7c4df0eadf0070e34 Author: Lapo Calamandrei Date: Thu Feb 11 18:27:25 2016 +0100 Adwaita: animate check and radios gtk/theme/Adwaita/_common.scss | 31 ++++++++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 33 +++++++++++++++++++++++++++++++- gtk/theme/Adwaita/gtk-contained.css | 33 +++++++++++++++++++++++++++++++- 3 files changed, 95 insertions(+), 2 deletions(-) commit 90d5c7f9e85cf251db18d889181b0a8878f82309 Author: Emmanuele Bassi Date: Thu Feb 11 11:59:12 2016 +0000 mir: Add C++ guards Avoid missing symbols when compiling C++ including the GDK Mir backend header. https://bugzilla.gnome.org/show_bug.cgi?id=761829 gdk/mir/gdkmir.h | 4 ++++ 1 file changed, 4 insertions(+) commit bb15c53966db36a691f65fac5739f0829ffab330 Author: Matthias Clasen Date: Thu Feb 11 06:47:28 2016 -0500 notebook: fix arrow states Some code was confusing 0 with ARROW_NONE, causing us to not properly update the state of the arrow gadgets. gtk/gtknotebook.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit f5d4fb1a0b24647a7fa90f5388902fa0e2c5c5d2 Author: Benjamin Otte Date: Thu Feb 11 04:14:56 2016 +0100 inspector: Don't use unused variables Windows-specific refactorings broke this. gtk/inspector/general.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 88b7dfdb1eebddf6be7ecd008b4419661480d645 Author: Benjamin Otte Date: Thu Feb 11 04:14:28 2016 +0100 win32: Move init code into windows-specific code Avoids warnings about undefined functions on non-windows. gtk/gtkwin32theme.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 4dfbaccd6760ed01066f7e0dbbe08b802dbd06e1 Author: Benjamin Otte Date: Mon Feb 8 04:07:40 2016 +0100 win32 theme: Add a GtkWin32Theme object This object wraps a HTHEME and takes care of recreating it on theme changes. gtk/gtkcssimagewin32.c | 24 +++- gtk/gtkcssimagewin32private.h | 2 +- gtk/gtkwin32theme.c | 253 +++++++++++++++++++++++++++--------------- gtk/gtkwin32themeprivate.h | 34 +++--- 4 files changed, 199 insertions(+), 114 deletions(-) commit 15198018785257d9dd305de810af6d73b23154b3 Author: Benjamin Otte Date: Mon Feb 8 02:49:34 2016 +0100 win32: Capture WM_THEMECHANGED We're not doing anything useful with it yet. This will follow in the coming commits. gtk/gtkwin32theme.c | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) commit 99153ed585a798c7364dccb7349b46e875b74922 Author: Benjamin Otte Date: Mon Feb 8 02:26:26 2016 +0100 win32: Remove XP-specific code We don't support XP anymore. gtk/gtkwin32theme.c | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) commit a620a1d688958fc1f5522e03920a98e825bc4d7a Author: Benjamin Otte Date: Mon Feb 8 02:26:07 2016 +0100 win32: Remove unused functions / header includes gtk/deprecated/gtkstyleproperties.c | 1 - gtk/gtkcssstylepropertyimpl.c | 1 - gtk/gtksettings.c | 4 ---- gtk/gtkwin32theme.c | 12 ------------ gtk/gtkwin32themeprivate.h | 1 - 5 files changed, 19 deletions(-) commit 033fb5a879b0d3043e768e278e418255467d81d3 Author: Benjamin Otte Date: Sun Feb 7 23:48:46 2016 +0100 win32: Always pass a window to the default event filters This has to happen or the event filter cannot identify what type of display the event is from (ie if it's an XEvent, a broadway event or a win32 MSG. gdk/win32/gdkevents-win32.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit f9c2982ddc93e7431c29f194de2f9707691c229c Author: Benjamin Otte Date: Sun Feb 7 20:14:02 2016 +0100 testsuite: No warnings on type conversions please long is 32bit on win64, so it's int cast to pointer of different size, and gcc doesn't like that. testsuite/gtk/object.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 9efb275a13a82bc251c1d30d648811e0dddf7527 Author: Benjamin Otte Date: Sun Feb 7 19:20:09 2016 +0100 filechoosernativewin32: Remove unused variables gtk/gtkfilechoosernativewin32.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit dda959332f5a9b1d479f308b85e7b566a0b20a28 Author: Benjamin Otte Date: Sun Feb 7 19:19:36 2016 +0100 imcontextsimple: Remove unused variable on win32 gtk/gtkimcontextsimple.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit b561af25ece7d07d3ee99d232617e76217f2c4b3 Author: Benjamin Otte Date: Sun Feb 7 19:18:18 2016 +0100 testgtk: Compile without warnings on win32 tests/testgtk.c | 2 ++ 1 file changed, 2 insertions(+) commit 34db80c28b11f147dd0c2389a3fda0e013ad1bb9 Author: Benjamin Otte Date: Sun Feb 7 19:18:00 2016 +0100 tests: Remove unused variable tests/gtkoffscreenbox.c | 3 --- 1 file changed, 3 deletions(-) commit ce8a98e21b96e7bc37abfb013791a895d38f9313 Author: Benjamin Otte Date: Sun Feb 7 04:11:55 2016 +0100 win32 theme: Get rid of deprecated style properties That's pretty easy, because we can just delete them. The theme is broken either way. gtk/theme/win32/gtk-win32-base.css | 19 ++++++++----------- gtk/theme/win32/gtk.css | 2 -- 2 files changed, 8 insertions(+), 13 deletions(-) commit 9c700b2bc62e35c37d7d9d8b3c11b79526b82b41 Author: Benjamin Otte Date: Sun Feb 7 04:00:46 2016 +0100 win32 theme: Replace pseudoclasses with undeprecated ones gtk/theme/win32/gtk-win32-base.css | 356 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 84 ++++----- 2 files changed, 220 insertions(+), 220 deletions(-) commit 93ecb1d187f4a4d8a2353be88d5ddcdad7694072 Author: Benjamin Otte Date: Sun Feb 7 03:54:17 2016 +0100 win32 theme: Do a quick'n'dirty search/replace Try to replace the old style names with then new style names. The theme is still entirely way too broken. But at least one can see something. gtk/theme/win32/gtk-win32-base.css | 625 ++++++++++++++++++------------------- gtk/theme/win32/gtk.css | 132 ++++---- 2 files changed, 377 insertions(+), 380 deletions(-) commit ec3ce21bebc30d787be7e95b1f94e531878a140f Author: Benjamin Otte Date: Sat Feb 6 06:35:41 2016 +0100 win32: Remove _gdk_display usge from dnd code gdk/win32/gdkdnd-win32.c | 52 ++++++++++++++++-------------------------------- 1 file changed, 17 insertions(+), 35 deletions(-) commit 7f266e1a0357ee65a8e64c330b1652371afea6f9 Author: Benjamin Otte Date: Sat Feb 6 05:53:51 2016 +0100 win32: Make cursor code work without _gdk_display gdk/win32/gdkcursor-win32.c | 24 ++++++++---------------- 1 file changed, 8 insertions(+), 16 deletions(-) commit 76e56c503850c6f9a699d6cc1a5c4bf518a885b2 Author: Benjamin Otte Date: Sat Feb 6 05:46:09 2016 +0100 win32: Stop using _gdk_display global in device code Use gdk_device_get_display() instead. gdk/win32/gdkdevice-virtual.c | 2 +- gdk/win32/gdkdevicemanager-win32.c | 21 +++++++++++---------- gdk/win32/gdkdevicemanager-win32.h | 7 ++++--- gdk/win32/gdkevents-win32.c | 2 +- gtk/inspector/general.c | 11 +++++------ 5 files changed, 22 insertions(+), 21 deletions(-) commit ccbfa64d6793d244bf9fac4aea33c462f5a1bdbe Author: Benjamin Otte Date: Sat Feb 6 05:23:32 2016 +0100 win32embedwidget: Mark deprecated sections gtk/gtkwin32embedwidget.c | 4 ++++ 1 file changed, 4 insertions(+) commit ccc7e3058cc39fd971830e8413c29ed2dfec1f0a Author: Benjamin Otte Date: Sat Feb 6 04:33:50 2016 +0100 filechoosernativewin32: Silence gcc gtk/gtkfilechoosernativewin32.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 068f8a3da128b9cda12969e65012812f59ef764e Author: Benjamin Otte Date: Sat Feb 6 04:33:14 2016 +0100 filechoosernativewin32: Add missing return type Looks like a line accidentally was deleted there. gtk/gtkfilechoosernativewin32.c | 1 + 1 file changed, 1 insertion(+) commit 117e303b4494e802638693c74ea95691964089de Author: Benjamin Otte Date: Sat Feb 6 04:24:39 2016 +0100 filechoosernativewin32: Define MSC_VER at top of file The headers we include might include windows headers which define _MSC_VER already. gtk/gtkfilechoosernativewin32.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 0ea9131ff7bac876d5e1affcb1fadfdf0727127f Author: Benjamin Otte Date: Sat Feb 6 04:24:23 2016 +0100 printoperation-win32: Silence gcc gtk/gtkprintoperation-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 573f51cb29887d83c5c95e17378aaf7aa6aa9f32 Author: Benjamin Otte Date: Sat Feb 6 03:58:39 2016 +0100 mountoperation: Silence gcc Also, printf()ing a GPid should be forbidden. gtk/gtkmountoperation-stub.c | 2 +- gtk/gtkmountoperation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 1d980192fa16fc4585151239c18afc1c988da397 Author: Benjamin Otte Date: Sat Feb 6 03:38:37 2016 +0100 immodule: Stop gcc from complaining gtk/gtkimmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 766b1b9886cd98ce2a27a054b07c401aa8cd6d4e Author: Benjamin Otte Date: Sat Feb 6 02:18:54 2016 +0100 win32: Remove deprecation warnings in dnd code gdk/win32/gdkdnd-win32.c | 42 +++++++++++++++--------------------------- 1 file changed, 15 insertions(+), 27 deletions(-) commit 4ce6d1060104e7072eec347370999bfd3fe69dc0 Author: Benjamin Otte Date: Sat Feb 6 02:18:28 2016 +0100 win32: Remove deprecation warnings in devicemanager code gdk/win32/gdkdevicemanager-win32.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) commit 584931e94dbe21084ba71b3732a108b7e6da2928 Author: Benjamin Otte Date: Sat Feb 6 02:17:43 2016 +0100 win32: Use g_set_object() ... instead of a hand-rolled version that does the same thing. gdk/win32/gdkevents-win32.c | 34 ++++++++++------------------------ 1 file changed, 10 insertions(+), 24 deletions(-) commit 788951c543eb99134cf9ae221809a4c6d92eaad8 Author: Benjamin Otte Date: Sat Feb 6 02:14:37 2016 +0100 win32: Fix empty body warning gdk/win32/gdkwindow-win32.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit bfd254c932e0c2d6552d306d754516ac71138d0e Author: Matthias Clasen Date: Wed Feb 10 21:20:34 2016 -0500 gtk-demo: Add more foreign drawing examples Add a notebook with an active tab. Based on a patch by Caolan McNamara. demos/gtk-demo/foreigndrawing.c | 49 +++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 22 deletions(-) commit 671552043ca3b9b90b42ec111b7e1efa5fdf7246 Author: Caolán McNamara Date: Wed Feb 10 21:01:54 2016 +0000 gtk-demo: attempt at a notebook with active box-shadow in tab demos/gtk-demo/foreigndrawing.c | 49 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) commit 8e6cc260cabc175fab90b10c9d3a44e3ec5f34d1 Author: Matthias Clasen Date: Wed Feb 10 16:10:23 2016 -0500 testgtk: Remove an unused variable tests/testgtk.c | 97 --------------------------------------------------------- 1 file changed, 97 deletions(-) commit 701cdda3dc74e25c4d5678b9b21040df55ddba9a Author: Caolán McNamara Date: Wed Feb 10 13:39:24 2016 +0000 gtk-demo: Add a menu to foreigndrawing and demo that the block arrows require GTK_STATE_FLAG_DIR_LTR or GTK_STATE_FLAG_DIR_RTL set to appear https://bugzilla.gnome.org/show_bug.cgi?id=761828 demos/gtk-demo/foreigndrawing.c | 60 +++++++++++++++++++++++++++++++++++------ 1 file changed, 52 insertions(+), 8 deletions(-) commit 751b69cbaeeb5344874e7843c1b21ea474f427fa Author: Rafael Fontenelle Date: Wed Feb 10 16:55:55 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 1180 ++++++++++++++++++++++++------------------------ 1 file changed, 594 insertions(+), 586 deletions(-) commit becfd18b07ed9230a68f3f03419dd4a8a0971704 Author: Timm Bäder Date: Wed Feb 10 14:03:56 2016 +0100 overlay: set css name gtk/gtkoverlay.c | 2 ++ 1 file changed, 2 insertions(+) commit bdd182f38ce6d5fba0872a2ace72f89c0197bde9 Author: Timm Bäder Date: Wed Feb 10 14:03:39 2016 +0100 frame: Set border gadget state after creating it gtk/gtkframe.c | 2 ++ 1 file changed, 2 insertions(+) commit c44364f1d1a0295034e7c59afdcf49870334f785 Author: Timm Bäder Date: Wed Feb 10 12:30:35 2016 +0100 spinbutton: Free the gadget in finalize gtk/gtkspinbutton.c | 1 + 1 file changed, 1 insertion(+) commit 8ea573b473067292dbe2a5695bec225336933c85 Author: Timm Bäder Date: Wed Feb 10 12:28:32 2016 +0100 css node tree: Fix crash This function would return "" whenever the state of the css node was unset, causing a crash when selecting the css node tree from the sidebar. gtk/inspector/css-node-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7ad6043478a4b0de9a1c322e0f5b2620d7cd3f50 Author: Matthias Clasen Date: Wed Feb 10 00:07:37 2016 -0500 gtk-demo: Improve the tag implementation Add margins and make it so that clicking on margins next to links does not activate them. demos/gtk-demo/hypertext.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit a3a5cf1087278e3e727a74c75f2532bcb14ddca6 Author: Matthias Clasen Date: Wed Feb 10 00:01:54 2016 -0500 text view: Improve tag pointer tracking A problem that has been observed in polari is that links in tags are clickable all the way into the margin. This problem is caused by gtk_text_view_get_iter_at_position ignoring the return value of pango_layout_xy_to_index. Instead, pass it back as a boolean return value. This is technically an API break, but we've allowed ourselves to change return types from void to gboolean before. gtk/gtktextlayout.c | 39 ++++++++++++++++++++++++--------------- gtk/gtktextlayout.h | 20 ++++++++++---------- gtk/gtktextview.c | 48 +++++++++++++++++++++++++----------------------- gtk/gtktextview.h | 4 ++-- 4 files changed, 61 insertions(+), 50 deletions(-) commit 019dab7c38a0891f494749e9e8fb27c30e8a5f25 Author: Rui Matos Date: Tue Feb 9 15:30:00 2016 +0100 gtkmagnifier: Avoid a crash if the inspected widget is finalized If the inspected widget is finalized and we then try to disconnect from its signals we'll crash. https://bugzilla.gnome.org/show_bug.cgi?id=761775 gtk/gtkmagnifier.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 1331b60029fdc29f76a9a53d0c75521ea57c66ae Author: Timm Bäder Date: Tue Feb 9 08:05:16 2016 +0100 A few more documentation fixes gtk/gtkstacksidebar.c | 4 ++-- gtk/gtkswitch.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit c5369356e86171c5d955cf9252e5c6bcde88d554 Author: Timm Bäder Date: Mon Feb 8 22:49:01 2016 +0100 Various documentation fixes Always have Since: annotations at the very bottom, use the correct ClassName::signal-name/ClassName:property-name syntax, fix a few typos in type names, wrong function names, non-existing type names, etc. gtk/gtkfontchooserwidget.c | 4 ++-- gtk/gtkgesture.c | 4 ++-- gtk/gtkgesturedrag.c | 4 ++-- gtk/gtkgesturelongpress.c | 2 +- gtk/gtklabel.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtkmodelbutton.c | 2 +- gtk/gtknotebook.c | 2 +- gtk/gtkshortcutsshortcut.c | 2 +- gtk/gtkshortcutswindow.c | 2 +- gtk/gtkspinbutton.c | 2 +- gtk/gtkstack.c | 2 +- gtk/gtkstylecontext.c | 2 +- 13 files changed, 16 insertions(+), 16 deletions(-) commit 76fedc188289c595ec3cf965b77803e362020973 Author: Rico Tzschichholz Date: Mon Feb 8 14:02:25 2016 +0100 gtk: Fix some return-values annotations (transfer none/full) gtk/gtkgesture.c | 2 +- gtk/gtkstacksidebar.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit eb555979dbd457f3afddada4daf8b73f2cd66db6 Author: Ignacio Casal Quinteiro Date: Mon Feb 8 13:20:02 2016 +0100 win32: properly handle show and focus The first time a window is shown we should always call SW_SHOWNORMAL. Understand whether to call SW_SHOW or SW_SHOWNORMAL and the specific ones for the temporary windows depending on IsWindowVisible. This also fixes the problem when calling gtk_window_present and the window is snapped to the left or right of the screen. This patch is based on the patches provided by Yevgen Muntyan and Aleksander Morgado. https://bugzilla.gnome.org/show_bug.cgi?id=698652 gdk/win32/gdkwindow-win32.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 07a994c89f5892fd0d7fcf6b5f3448c28e75055b Author: Yevgen Muntyan Date: Mon Feb 8 09:24:12 2016 +0100 win32: on focus restore the window if iconified If the window is iconified we want to restore the window to get the proper size instead of showing it normal which would change the size of the window. https://bugzilla.gnome.org/show_bug.cgi?id=698652 gdk/win32/gdkwindow-win32.c | 3 +++ 1 file changed, 3 insertions(+) commit 76d0311ae36f43060c93f68dcef37c11178c7fe1 Author: Baurzhan Muftakhidinov Date: Mon Feb 8 08:54:59 2016 +0000 Updated Kazakh translation po/kk.po | 1686 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 904 insertions(+), 782 deletions(-) commit dc407dbc8fc09bf3c41cb88eb1b90c7640097dfe Author: Matthias Clasen Date: Mon Feb 8 09:34:24 2016 +0100 inspector: Avoid crash in magnifier We can't use gtk_widget_draw on widgets that are not allocated. gtk/inspector/magnifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0f31ab7bb97980494cd9b98ce8ca85f74de47ba Author: Matthias Clasen Date: Mon Feb 8 09:15:39 2016 +0100 Add css node tests for box packing More tests to ensure that CSS node order is always physical left-to-right. testsuite/css/nodes/Makefile.am | 2 ++ testsuite/css/nodes/box-packing.ltr.nodes | 6 +++++ testsuite/css/nodes/box-packing.ltr.ui | 38 +++++++++++++++++++++++++++++++ testsuite/css/nodes/box-packing.rtl.nodes | 6 +++++ testsuite/css/nodes/box-packing.rtl.ui | 38 +++++++++++++++++++++++++++++++ 5 files changed, 90 insertions(+) commit 486a0a467d045afdb23999041a2879f56992f470 Author: Timm Bäder Date: Sun Feb 7 08:29:49 2016 +0100 image: _get_style_context never returns NULL gtk/gtkimage.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit ded745a4b980874f15e351ff07a6b5eb787a8346 Author: Timm Bäder Date: Sat Feb 6 18:51:48 2016 +0100 Make gtk_icon_helper_invalidate private gtk/gtkiconhelper.c | 2 +- gtk/gtkiconhelperprivate.h | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) commit 0bd6c48315079978f36d00e2681d94ae8e504c78 Author: Timm Bäder Date: Sat Feb 6 09:24:36 2016 +0100 Add and use gtk_icon_helper_invalidate_for_change gtk/gtkiconhelper.c | 19 +++++++++++++++++-- gtk/gtkiconhelperprivate.h | 3 +++ gtk/gtkimage.c | 3 +-- 3 files changed, 21 insertions(+), 4 deletions(-) commit 0c80210685e2b60addbd7dd22c86b8536a79b142 Author: Timm Bäder Date: Sat Feb 6 09:23:11 2016 +0100 iconhelper: Save whether the surface is symbolic gtk/gtkiconhelper.c | 9 +++++++++ 1 file changed, 9 insertions(+) commit 0ec4c76d8f54a7e2127cafb1ba8c4bbe68fd30fa Author: Timm Bäder Date: Fri Feb 5 09:28:11 2016 +0100 stylepropertyimpl: Use GTK_CSS_AFFECTS_SYMBOLIC_ICON Things like color affect symbolic icons, but not colored icons, while other css properties like -gtk-icon-effect affect colored icons, but not symbolic ones. gtk/gtkcssstylepropertyimpl.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 2d8db26cbf7ff5fea0b6dc80752419968bcf7a59 Author: Timm Bäder Date: Fri Feb 5 09:27:37 2016 +0100 csstypes: Add GTK_CSS_AFFECTS_SYMBOLIC_ICON gtk/gtkcsstypesprivate.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit d3a0dfe81a67ec39e12652f022fc43c16b421a67 Author: Timm Bäder Date: Fri Feb 5 10:28:13 2016 +0100 cssstylechange: Add helper function to print change So I don't have to print both styles to the console, paste them both into a file and then run diff on the 2 files anymore. gtk/gtkcssstylechange.c | 44 ++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstylechangeprivate.h | 2 ++ 2 files changed, 46 insertions(+) commit 2902063f2437d8f8838234dbbba71e9db52b4bb1 Author: Timm Bäder Date: Sat Feb 6 09:27:00 2016 +0100 iconhelper: Un-duplicate some code gtk/gtkiconhelper.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit c360b5fb498985ca8d351e9c9d518b0d78b834ba Author: Timm Bäder Date: Fri Feb 5 10:00:46 2016 +0100 Remove more unnecessary redraws The call to gtk_widget_set_state_flags immediately before these already queues a redraw/allocate/resize in case they have to be queued. gtk/gtkcolorchooserwidget.c | 6 +----- gtk/gtkcombobox.c | 2 -- gtk/gtkflowbox.c | 2 -- gtk/gtklistbox.c | 2 -- gtk/gtkwindow.c | 2 -- 5 files changed, 1 insertion(+), 13 deletions(-) commit 667069cff28bfe172573e05d2966930682b39949 Author: Matthias Clasen Date: Sun Feb 7 18:00:29 2016 +0100 Adwaita: No rounded corners for fullscreen If the theme has rounded corners for fullscreen, we don't tell the window manager that we are now fully opaque, which then makes things less efficient than they should be. https://bugzilla.gnome.org//show_bug.cgi?id=761571 gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) commit af64a60466bd0a8cdcd16d68731f3fc125a62dec Author: Matthias Clasen Date: Sun Feb 7 15:08:56 2016 +0100 box gadget: Fix allocation without baseline When we don't get a baseline passed in, we want to basically center the children inside the allocation. There was an attempt in the code to do 'internal baseline alignment', but it had the side effect of moving the contents to the top when we don't get a baseline passed in. Remove it for now, this needs some more infrastructure to do properly. https://bugzilla.gnome.org/show_bug.cgi?id=761363 gtk/gtkboxgadget.c | 21 --------------------- 1 file changed, 21 deletions(-) commit 5f01e6924f9abb56bade811cef21f0e436371b1e Author: Matthias Clasen Date: Sun Feb 7 15:00:58 2016 +0100 widget-factory: Update levelbar example Set reasonable level offsets. demos/widget-factory/widget-factory.ui | 5 +++++ 1 file changed, 5 insertions(+) commit 72a3f25a5e0c024925dbec6036c73bcb2caa771c Author: Daniel Mustieles Date: Sun Feb 7 13:18:58 2016 +0100 Updated Spanish translation po-properties/es.po | 510 ++++++++++++++++++++++++++-------------------------- 1 file changed, 258 insertions(+), 252 deletions(-) commit a1839a7a92200a2ec34e77d387f05f718329e6d2 Author: Daniel Mustieles Date: Sun Feb 7 13:18:49 2016 +0100 Updated Spanish translation po/es.po | 288 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 155 insertions(+), 133 deletions(-) commit 4a465e6832a7caadbe683a9723f907ba17c0f50a Author: Matthias Clasen Date: Sun Feb 7 11:37:30 2016 +0100 Fix levelbar css node tests These were affected by the recent change to level offset handling. At the same time, make the test files more realistic by updating the level offsets when we set a custom range. testsuite/css/nodes/levelbar.ltr.nodes | 30 +++++++++++++++--------------- testsuite/css/nodes/levelbar.ltr.ui | 15 +++++++++++++++ testsuite/css/nodes/levelbar.rtl.nodes | 30 +++++++++++++++--------------- testsuite/css/nodes/levelbar.rtl.ui | 15 +++++++++++++++ 4 files changed, 60 insertions(+), 30 deletions(-) commit c3c01d8cbcac8515ce8bd16ceef661dbe9920b1f Author: Matthias Clasen Date: Sun Feb 7 11:28:08 2016 +0100 level bar: Document buildable syntax gtk/gtklevelbar.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 1a524f374c2baeb035a1dd5e51a42cbf92b1d586 Author: Piotr Drąg Date: Sat Feb 6 19:32:03 2016 +0100 Updated Polish translation po-properties/pl.po | 2871 +++++++++++++++++++++++++++------------------------ po/pl.po | 1490 +++++++++++++------------- 2 files changed, 2294 insertions(+), 2067 deletions(-) commit ccd8c76ff2d73215e0785db8568ec500ed7a238d Author: Matthias Clasen Date: Sat Feb 6 16:42:25 2016 +0100 level bar: Fix offset behavior We had some odd special-casing for the lowest and highest offset that did not quite work. The new rule is simple: If the value is between offset n-1 and n, it gets the style for offset n. https://bugzilla.gnome.org/show_bug.cgi?id=761416 gtk/gtklevelbar.c | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) commit 1a71579b61a51d9ae357f4919ac026a89ca0e195 Author: Matthias Clasen Date: Sat Feb 6 16:19:13 2016 +0100 level bar: Improve documentation The docs were not explaining at all what happens to existing level offsets when the min- or max-value of a level bar are changed. gtk/gtklevelbar.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 8776bb53240318a03a46da6dae22d119075518fd Author: Matthias Clasen Date: Sat Feb 6 16:11:17 2016 +0100 level bar: Make the full offset official We are adding 3 offsets, not just two. Add a define for the third one, and mention it in the docs. docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtklevelbar.c | 9 +++++---- gtk/gtklevelbar.h | 9 +++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) commit 7b668660a9cb3db089ca2b840f3f2eb5ec3cc8c4 Author: Dušan Kazik Date: Sat Feb 6 14:16:02 2016 +0000 Updated Slovak translation po/sk.po | 649 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 333 insertions(+), 316 deletions(-) commit 2ebae407ca743d09a82fd9a383b34779100c9fe6 Merge: 1cfa2f4 c80dd549 Author: Ray Strode Date: Sat Feb 6 08:03:27 2016 -0500 wayland: rework buffer management code (3 changes) There are a couple of issues with the way that buffers are handled in wayland in right. These issues mean that: - buffers can get leaked at a fairly fast clip under the right conditions. This leads to the OOM killer kicking in and gnome-shell and gnome-terminal (for instance) showing memory usage in the high gigabytes range. - drawing can happen to a shared memory buffer at the same time the compositor is reading out the pixels. This can lead to glitching in drawing and other undefined behavior by the compositor. This changeset reworks how buffer management is done in the code to try to address both problems. The first change (commit 2c300081) addresses the leak by dropping code that has an unchecked cairo_surface_reference call. The code is dropped rather than fixed, because it has a more serious issue: it's overarching purpose is to deal with shared memory buffer contention with the compositor, but it does it in a racy way and so fails at that mission. The second change (commit 40e91195a) moves what layer of the code buffer release events are handled. This is an organizational change in the code, with no functional changes, but it's important for the last change in the changeset. The last change (commit c80dd549) adds back code for dealing with shared member buffer contention in a race free way. The new code is careful to never reuse a buffer that hasn't been explicitly released by the compositor. commit c80dd549242abff7dfbf8f636da8a5e2c7d97b8f Author: Ray Strode Date: Fri Jan 29 11:19:03 2016 -0500 wayland: stage uncommitted changes to dedicated buffer Right now we use one buffer for both staged changes (freshly painted changes waiting for the frame clock to send to the compositor) and committed changes (changes actively being read by the compositor process). This creates a problem in the event we need to stage updates at the same time the compositor is processing committed updates: we can't change what the compositor is actively processing. The current solution for handling this contention is to allocate a temporary buffer on the spot at the time the updates are staged, and to copy that buffer back to the shared buffer later. The problem, though, is that the copy to the shared buffer currently happens as soon as the updates are finished being staged, not when the shared buffer is done being processed by the compositor. In order to address that problem, this commit changes the code to always stage changes to a dedicated staging buffer. The staging buffer is used exclusively by the client until the client is done with it, and then once that staging buffer is committed, the client never writes to that buffer again. If the client needs to stage new updates, it allocates a brand new staging buffer, draws to it, and back fills the undrawn parts of the buffer from a copy of the contents of the committed buffer. As an optimization, the compositor has the option of releasing the committed buffer back to the client. If it does so before the client needs to stage new updates, then the client will reuse the buffer for staging future updates. This optimization prevents having to allocate a new staging buffer and the associated cost of back filling that new buffer with a readback of the committed buffer. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 193 +++++++++++++++++++++++++++++++++------- 1 file changed, 159 insertions(+), 34 deletions(-) commit 40e91195ad8a20c073789dad192e7aaaf9af6eca Author: Ray Strode Date: Tue Feb 2 14:36:25 2016 -0500 wayland: don't handle buffer release centrally Right now we handle buffer releases coming from the compositor in a central place. We add a listener when first creating the shared buffers. This is problematic because a buffer can only have one listener on it at once so users of the buffer can't get notified when it's released. This commit moves the buffer listener code from the centrally managed display code to the cursor and window code. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkcursor-wayland.c | 18 ++++++++++++++++++ gdk/wayland/gdkdisplay-wayland.c | 14 -------------- gdk/wayland/gdkwindow-wayland.c | 16 ++++++++++++++++ 3 files changed, 34 insertions(+), 14 deletions(-) commit 2c300081c4fc4db6a345041cbf4942cb99cea793 Author: Ray Strode Date: Tue Feb 2 12:20:22 2016 -0500 wayland: always return FALSE from begin_paint The client and compositor share access to the window pixel buffers. After the client hands off (commits) the buffer to the compositor it's not supposed to write to it again until it's released by the compositor. The code tries to deal with this contention by allocating a temporary buffer and using that in the mean time. This temporary buffer is allocated by a higher layer of the code when begin_paint returns TRUE. Unfortunately, that layer of the code has no idea when the buffer is released, so it ends up blitting the temporary buffer back to the shared buffer prematurely. This commit changes begin_paint to always return FALSE. A future commit will address the contention problem in a different way. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkdisplay-wayland.c | 19 ------------------- gdk/wayland/gdkprivate-wayland.h | 2 -- gdk/wayland/gdkwindow-wayland.c | 9 +-------- 3 files changed, 1 insertion(+), 29 deletions(-) commit 1cfa2f41345d37c6efba30796cedf3817f396b8e Author: Ray Strode Date: Tue Feb 2 20:43:12 2016 -0500 wayland: use g_clear_pointer when destroying cairo surfaces There are a few places where we destroy a cairo surface and then nullify it. This commit changes those to use g_clear_pointer instead. It also drops a cairo_surface_finish call that is unnecessary https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) commit e6f92df57efaae67163c1364e53801c8d9ebee8b Author: Ray Strode Date: Wed Feb 3 10:12:23 2016 -0500 wayland: rename cairo surface user data key to be more specific This commit renames the key name to be more specific for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkdisplay-wayland.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 3ac78ea0bee7507067f68c88bd7af20f1b8462f5 Author: Ray Strode Date: Tue Feb 2 11:42:52 2016 -0500 wayland: move server proxy objects to substructure This commit moves the server proxy objects to a substructure for clarity. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 249 ++++++++++++++++++++-------------------- 1 file changed, 124 insertions(+), 125 deletions(-) commit f90db30b9e4a98375a77e861fd7a5f3947f9f1a4 Author: Ray Strode Date: Tue Feb 2 11:27:54 2016 -0500 wayland: rename window->surface to window->wl_surface The name surface is really overloaded when dealing with wayland windows. To alleviate ambiguity, this commit changes the name of the "surface" and "subsurface" members to have a wl_ prefix. https://bugzilla.gnome.org/show_bug.cgi?id=761312 gdk/wayland/gdkwindow-wayland.c | 88 ++++++++++++++++++++--------------------- 1 file changed, 44 insertions(+), 44 deletions(-) commit 4d40bd447421eb3ce3fa8b12235c1c4472115d48 Author: Matthias Clasen Date: Sat Feb 6 09:58:46 2016 +0100 Fix stylecontext tests This was broken by f7ec9c98ef0ef8740c93f96af9d971b0211118c1, since type names are no longer used at all in CSS matching. testsuite/gtk/stylecontext.c | 30 ++++++++++++++++-------------- 1 file changed, 16 insertions(+), 14 deletions(-) commit 2d1f1f3b81dcbdf2da54bb501a28f465bab4b1c3 Author: Matthias Clasen Date: Sat Feb 6 09:28:51 2016 +0100 Update CSS docs regarding type names We no longer use type names at all. docs/reference/gtk/css-overview.xml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) commit d48d3b359cdd0ab3cc615f7c194029d3265d9983 Author: Benjamin Otte Date: Fri Feb 5 23:47:48 2016 +0100 cssselector: Remove type references We don't use types anymore. gtk/gtkcssselector.c | 79 ++++++---------------------------------------------- 1 file changed, 8 insertions(+), 71 deletions(-) commit e8fca5bbbe6a40c15fd19d8c899b5f4fa7f17876 Author: Benjamin Otte Date: Fri Feb 5 23:43:05 2016 +0100 cssmatcher: Remove type argument from name matcher We no longer use types when matching names. gtk/gtkcssmatcher.c | 33 ++++++++------------------------- gtk/gtkcssmatcherprivate.h | 8 +++----- gtk/gtkcssselector.c | 2 +- 3 files changed, 12 insertions(+), 31 deletions(-) commit fe6d4cbdf5a2e09b10d8640b43f037accfbd2fe9 Author: Benjamin Otte Date: Fri Feb 5 19:31:03 2016 +0100 inspector: Drop type name from node list It's not used anymore in the CSS, so people don't need to see it. gtk/inspector/css-node-tree.c | 6 ------ gtk/inspector/css-node-tree.ui | 28 +++++++--------------------- 2 files changed, 7 insertions(+), 27 deletions(-) commit 0c126012083e55532e1da961edc4fad3303186f3 Author: Benjamin Otte Date: Fri Feb 5 19:01:48 2016 +0100 cssimageradial: Only allow at "" after other props Don't allow syntax like at top left circle but follow the spec about requiring the at right before the comma. This is porbably because circle at 10px 10px could be interpreted as circle 10px at 10px with the now disallowed syntax, too. Test included. gtk/gtkcssimageradial.c | 36 +++++++++++++++------------ testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/radial-positions.css | 9 +++++++ testsuite/css/parser/radial-positions.errors | 3 +++ testsuite/css/parser/radial-positions.ref.css | 0 5 files changed, 35 insertions(+), 16 deletions(-) commit 982da040b234f8c2da349a45111972d04c98f4a8 Author: Benjamin Otte Date: Fri Feb 5 18:30:28 2016 +0100 cssimageradial: Only emit one error for wrong position Test included. gtk/gtkcssimageradial.c | 5 +---- testsuite/css/parser/Makefile.am | 3 +++ testsuite/css/parser/radial-background-position-error.css | 3 +++ testsuite/css/parser/radial-background-position-error.errors | 1 + testsuite/css/parser/radial-background-position-error.ref.css | 0 5 files changed, 8 insertions(+), 4 deletions(-) commit f2e08d3a9c2edd68796c87526066f9d26594b70d Author: Matthias Clasen Date: Fri Feb 5 15:54:50 2016 +0100 css tests: Fix style tests Commit d0fd7990c3f2c738f86185418ccd76b14da8a776 changed the location of builtin themes, breaking the loading of the empty theme in test-css-style. testsuite/css/style/Empty.css | 0 testsuite/css/style/gtk.css | 0 testsuite/css/style/test-css-style.gresource.xml | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) commit 132abb8749f6c175a4277056ec04b7ed826a7d5e Author: Matthias Clasen Date: Fri Feb 5 15:50:35 2016 +0100 css tests: Fix expected output This is fallout from f7ec9c98ef0ef8740c93f96af9d971b0211118c1. testsuite/css/nodes/buttons.nodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5444442974f55df857b0c5169e481ac8abc93ea7 Author: Benjamin Otte Date: Fri Feb 5 14:50:37 2016 +0100 css: Convert numbers with GTK's dpi Don't hardcode 96 for dpi, but instead use the value of the -gtk-dpi property (that mirrors the GdkScreen's dpi if it wasn't set explicitly). This makes these values scale when the large font setting in control-center is enabled. gtk/gtkcssnumbervalue.c | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) commit e35e6abbb2ea824afd6db2d54d10666cd23ad54c Author: Benjamin Otte Date: Fri Feb 5 14:42:41 2016 +0100 css: Properly convert em, ex and rem to pixels The previous code converted to pt. gtk/gtkcssnumbervalue.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit 56b1b08bb8239ffa2431969cd037f0f7241a7c64 Author: Lapo Calamandrei Date: Fri Feb 5 14:10:36 2016 +0100 Adwaita: darker background for popovers gtk/theme/Adwaita/_colors.scss | 2 ++ gtk/theme/Adwaita/_common.scss | 8 ++++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 +++- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 4 files changed, 14 insertions(+), 4 deletions(-) commit 61307deaf750569a833c093c219d1af1e9ceff6b Author: Matthias Clasen Date: Fri Feb 5 11:53:50 2016 +0100 levelbar: Make discrete levelbars behave as before During the gadget conversion, the drawing of discrete levelbars was unintentionally changed to draw a wide trough but narrow blocks, which does not look great. So go back to the previous way of drawing things. https://bugzilla.gnome.org/show_bug.cgi?id=761428 gtk/gtklevelbar.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 339023dee510dc4e5b0ee7c24631e09817726cfa Author: Matthias Clasen Date: Fri Feb 5 11:42:28 2016 +0100 Fix indentation gcc 6 complains about this. gtk/gtksizerequest.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit f60e144038a50c48ebbb928f4bf1bd8208d48f86 Author: Matthias Clasen Date: Fri Feb 5 06:53:11 2016 +0100 Document rem as CSS unit docs/reference/gtk/css-properties.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 680ec087ab22c300a6b938a20f8a9f95caf88c70 Author: Timm Bäder Date: Thu Feb 4 19:03:37 2016 +0100 switch: Don't queue draws after setting state flags gtk/gtkswitch.c | 4 ---- 1 file changed, 4 deletions(-) commit 0e7691c12ec2249b80e6f7d46f5e8f2aeecf345a Author: Benjamin Otte Date: Thu Feb 4 19:37:44 2016 +0100 css: Add rem unit Good luck, Lapo. gtk/gtkcssnumbervalue.c | 9 ++++----- gtk/gtkcssparser.c | 1 + gtk/gtkcsstypesprivate.h | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) commit f7ec9c98ef0ef8740c93f96af9d971b0211118c1 Author: Benjamin Otte Date: Thu Feb 4 17:22:39 2016 +0100 widget: Set a css name Now selecting a widget by class name no longer works. This is probably most relevant for users outside of GTK that want to style their own widgets. Those widgets should now either add their own style classes (if they want to adjust existing CSS) or use gtk_widget_class_set_css_name() themselves (if they want to get rid of all "upstream" styling). gtk/gtkwidget.c | 1 + 1 file changed, 1 insertion(+) commit 35cd0be46863b94eb7b1e0d214a1fbbca9187457 Author: Timm Bäder Date: Mon Feb 1 11:25:51 2016 +0100 Range: Group all three gestures And reset the grab_location in the ::released handler of the multipress gesture. Previously, when leaving fine-tune mode, the ::released handler of the multipress gesture would call stop_scrolling, which calls range_grab_remove and resets the grab_location. The ::drag-end handler is executed after that, and only unsets priv->in_drag if the grab_location is MOUSE_OUTSIDE, which it never was, since the ::released handler already reset it. This lead to priv->in_drag being set even though no dragging was in progress anymore, which e.g. made shift pressed after leaving the fine-tune mode entering it again. https://bugzilla.gnome.org/show_bug.cgi?id=761402 gtk/gtkrange.c | 21 ++------------------- 1 file changed, 2 insertions(+), 19 deletions(-) commit 7b88e304c779ad23b7c2945cb42a0f8a20f9060e Author: William Hua Date: Tue Feb 2 15:33:33 2016 -0500 x11: don't apply scaling factor twice The fallback behaviour of get_work_area () divides the screen width and height by the window scaling factor, but those values are already scaled down. https://bugzilla.gnome.org/show_bug.cgi?id=761474 gdk/x11/gdkscreen-x11.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 4a49d8d14fa8a3e037364eb231f25c2e8bce0fa5 Author: Руслан Ижбулатов Date: Thu Feb 4 11:23:12 2016 +0000 Don't do remote checks on NULL files Calling _gtk_file_consider_as_remote() with a NULL argument results in warnings being thrown. Note that query->priv->location being NULL is a state that does not seem to be invalid by itself. This could happen if you do search-as-you-type in a filechooser, which has a filter that does not match anything *and* the current "place" selected is "Recent". https://bugzilla.gnome.org/show_bug.cgi?id=761552 gtk/gtkfilechooserwidget.c | 3 ++- gtk/gtksearchenginesimple.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) commit 3756d92367c2485c20a9c64d0f95e089bc187a95 Author: Matthias Clasen Date: Thu Feb 4 13:37:50 2016 +0100 Move private widget path functions away We don't put private functions in public headers anymore. https://bugzilla.gnome.org/show_bug.cgi?id=761339 gtk/Makefile.am | 1 + gtk/gtkcssnodedeclaration.c | 1 + gtk/gtkwidget.c | 1 + gtk/gtkwidgetpath.c | 1 + gtk/gtkwidgetpath.h | 5 ----- gtk/gtkwidgetpathprivate.h | 31 +++++++++++++++++++++++++++++++ 6 files changed, 35 insertions(+), 5 deletions(-) commit 8d515409c6200467c71353d2e2a79ba3e2faaf88 Author: Benjamin Otte Date: Thu Feb 4 14:25:46 2016 +0100 win32: Get rid of XP theme XP is not supported anymore. And we can massively simplify the win32 theme if we don't have to support 2 versions. gtk/Makefile.am | 6 +- gtk/theme/win32/gtk-win32-xp.css | 164 ------------------- gtk/theme/win32/gtk-win32.css | 344 --------------------------------------- gtk/theme/win32/gtk.css | 344 +++++++++++++++++++++++++++++++++++++++ 4 files changed, 346 insertions(+), 512 deletions(-) commit 7d4bf49cffe50fbfd0305b65257e31ad3f108d1a Author: Benjamin Otte Date: Thu Feb 4 14:23:08 2016 +0100 win32: Delete classic theme Well, actually, stop adding an extra version of raleigh gtk/Makefile.am | 2 -- gtk/theme/win32/gtk-win32-classic.css | 4 ---- 2 files changed, 6 deletions(-) commit 27901c779457af1eb21e33eefc5f3d86f5405004 Author: Benjamin Otte Date: Thu Feb 4 14:19:02 2016 +0100 build: Don't break windows build Hardcode the existing files instead of doing a for loop and attempting string-fudging magic. gtk/Makefile.am | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) commit 6cdca1e124e314782b6e3d8ac9809e62b5d3bba5 Author: Lapo Calamandrei Date: Thu Feb 4 14:13:42 2016 +0100 Adwaita: removed some old cruft from _drawing.scss resulting in a nice number of non working selectors ditched. gtk/theme/Adwaita/_drawing.scss | 4 - gtk/theme/Adwaita/gtk-contained-dark.css | 184 ------------------------------- gtk/theme/Adwaita/gtk-contained.css | 184 ------------------------------- 3 files changed, 372 deletions(-) commit b783670820b36ccbada1bc24f7a79081a787816b Author: Benjamin Otte Date: Thu Feb 4 13:34:34 2016 +0100 inspector: Don't hardcode builtin themes Insteead, enumerate the resources that are available. Fixes windows themes not being listed in the inspector. gtk/inspector/visual.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit d0fd7990c3f2c738f86185418ccd76b14da8a776 Author: Benjamin Otte Date: Thu Feb 4 13:28:21 2016 +0100 cssprovider: Change location of builtin themes Instead of /org/gtk/libgtk/theme/$THEME-$VARIANT.css look at /org/gtk/libgtk/theme/$THEME/gtk-$VARIANT.css and that way mirror the directory layout of real themes. gtk/Makefile.am | 13 +++++++------ gtk/gtkcssprovider.c | 4 ++-- 2 files changed, 9 insertions(+), 8 deletions(-) commit 6bc096d7488309abdfa5f574197543135269cf83 Author: Timm Bäder Date: Wed Feb 3 19:39:04 2016 +0100 actionbar: Remove unnecessary map/unmap implementations These just do what the default implementations do anyway. gtk/gtkactionbar.c | 20 -------------------- 1 file changed, 20 deletions(-) commit 641e703882f9e81d1216147b297732a06ab2f1e2 Author: Timm Bäder Date: Mon Feb 1 15:25:42 2016 +0100 statusbar: Remove unused include gtk/gtkstatusbar.c | 1 - 1 file changed, 1 deletion(-) commit 572e9a04027e213082a5b257e5d662a5daa32667 Author: Timm Bäder Date: Mon Feb 1 15:25:10 2016 +0100 Remove _gtk_box_get_children It's doing exactly the same thing as gtk_container_get_children. gtk/gtkbbox.c | 4 ++-- gtk/gtkbox.c | 24 ------------------------ gtk/gtkboxprivate.h | 1 - 3 files changed, 2 insertions(+), 27 deletions(-) commit 2929621d0565d007825ba1adbe9b3d6c9ae6ce33 Author: Timm Bäder Date: Mon Feb 1 15:15:56 2016 +0100 colorswatch: Remove unused constant gtk/gtkcolorswatch.c | 1 - 1 file changed, 1 deletion(-) commit c95087c70a13730798c2d0ee46713b2965973faf Author: Benjamin Otte Date: Thu Feb 4 12:24:34 2016 +0100 entry: queue an allocate when pulsing We need to reposition the progress gadget and that's done during allocation. gtk/gtkentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8eb261988869608604c78ed90de5579beb4ef2b0 Author: Alberts Muktupāvels Date: Thu Feb 4 11:52:07 2016 +0200 gdkwindow-x11: always set _GTK_THEME_VARIANT property Set _GTK_THEME_VARIANT to empty string when default theme variant is used. This will allow to understand whether _GTK_THEME_VARIANT is not supported or default variant is requested. https://bugzilla.gnome.org/show_bug.cgi?id=761476 gdk/x11/gdkwindow-x11.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 7ac337a9af03b58723cc7e13121e09850de24f7f Author: Alberts Muktupāvels Date: Wed Feb 3 15:48:52 2016 +0200 gtksettings: fix critical warning Commit 5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 introduced critical warning - g_value_copy: assertion 'g_value_type_compatible (...)' failed. https://bugzilla.gnome.org/show_bug.cgi?id=761381 gtk/gtksettings.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit a2ac9524bc8d7be4224331e02aa3ad2d54527e88 Author: Benjamin Otte Date: Wed Feb 3 23:07:05 2016 +0100 broadway: Define variables where they are used Avoids gcc warnings about unused variables. gdk/broadway/broadwayd.c | 3 ++- gdk/broadway/gdkbroadway-server.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) commit 9708ecdd5bfdfdd10f8cf811bd229d250bbbf725 Author: Benjamin Otte Date: Wed Feb 3 23:06:53 2016 +0100 composetable: Fix gcc warnings gtk/gtkcomposetable.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit be6f65a08e65da9af4c76b380adf82926568d202 Author: Benjamin Otte Date: Wed Feb 3 22:50:03 2016 +0100 immodule: Use correct sign for function prototype gtk/gtkimmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 429bec54e5b6c276cbdc5abad80ba9c21456ed72 Author: Benjamin Otte Date: Wed Feb 3 20:44:06 2016 +0100 entry: Turn progress node into a gadget gtk/gtkentry.c | 200 ++++++++++++++++++++++++--------------------------------- 1 file changed, 83 insertions(+), 117 deletions(-) commit 3316d69abbb05146a2e54e2876500f47845087a9 Author: Benjamin Otte Date: Tue Feb 2 15:44:28 2016 +0100 entry: Simplify drawing code gtk/gtkentry.c | 52 +++++++++++++++++++++++----------------------------- 1 file changed, 23 insertions(+), 29 deletions(-) commit 207a842bfd5861932738693d444871c4d1173c41 Author: Lapo Calamandrei Date: Wed Feb 3 18:32:51 2016 +0100 Adwaita: fix headerbar spinbutton size fixes https://bugzilla.gnome.org/show_bug.cgi?id=761484 gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 11 insertions(+) commit 9b08853537ee26b207eb837795c312240ea99951 Author: William Hua Date: Wed Feb 3 10:20:30 2016 -0500 gdkborder: remove unneeded definition This reverts 54fa65f544bef281640d18a4a725005f6199a956, 5190d010d95010a845715c719c3b85a75e0c513a, and a6e4de28842002e7bfdf73def26c4c52d9f9126a. https://bugzilla.gnome.org/show_bug.cgi?id=756579 docs/reference/gdk/gdk3-sections.txt | 3 --- gdk/gdktypes.h | 20 -------------------- 2 files changed, 23 deletions(-) commit 0bcd8603ebf861de29dfe3316c9f3c04d78f50f3 Author: Matthias Clasen Date: Wed Feb 3 16:06:05 2016 +0100 print dialog: Fix layout preview drawing Use the CSS name paper for this as well, and make sure Adwaita sets a color that makes the text visible in the dark theme as well. gtk/gtkprintunixdialog.c | 1 + gtk/theme/Adwaita/_common.scss | 5 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 ++ gtk/theme/Adwaita/gtk-contained.css | 2 ++ 4 files changed, 9 insertions(+), 1 deletion(-) commit a0363e5f0a10703a98ae14971fe13f8aed138aba Author: Lapo Calamandrei Date: Wed Feb 3 15:23:17 2016 +0100 Adwaita: notebook with hidden header style fix the stack styling is applied only when there is a header, hence when the stack node is not the notebook only child, should cure https://bugzilla.gnome.org/show_bug.cgi?id=760996 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit f734db16044b95f70f52c1b33c9e52603ee34f06 Author: Lapo Calamandrei Date: Wed Feb 3 15:03:39 2016 +0100 Adwaita: fix vertical spinbutton style correct sizing and workaround disabled entry text colors. gtk/theme/Adwaita/_common.scss | 16 ++++++++++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 16 +++++++++++----- 3 files changed, 34 insertions(+), 14 deletions(-) commit feabf353716007833cab18d64499180348a5c22a Author: Carlos Garcia Campos Date: Tue Feb 2 18:50:58 2016 +0100 notebook: Do not reorder tabs after a grab notify if there isn't an ongoing reorder operation This broke in f535251507a6a0af68aed6348ae80cbdac9b1f4a that removed during_reorder in favor of using the current operation, but removed the check from gtk_notebook_stop_reorder(). gtk/gtknotebook.c | 31 +++++++++++++++++-------------- 1 file changed, 17 insertions(+), 14 deletions(-) commit cc881531305c18cc3899ebc7015ee8eec93dd291 Author: Alexandre Franke Date: Tue Feb 2 16:32:30 2016 +0000 Updated French translation (cherry picked from commit 85fb4c1c0a17906a65e0b732770b88353b6214c4) po-properties/fr.po | 1737 ++++++++++++++++++++++++++------------------------- 1 file changed, 870 insertions(+), 867 deletions(-) commit 5186aeb90f52c941a2642b04ebfb54e9d8f8ea11 Author: Alberts Muktupāvels Date: Mon Feb 1 22:38:28 2016 +0200 gtksettings: reset property to correct default value https://bugzilla.gnome.org/show_bug.cgi?id=76138 gtk/gtksettings.c | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) commit a85384135c34dda29a6a344a8cc5836baa8422a3 Author: Emmanuele Bassi Date: Tue Feb 2 15:08:10 2016 +0000 Revert "Add missing (out) annotation to gdk_rgba_parse" This reverts commit 695860958a9a2e7c825bcec4d0d42b427f0fb47e. The change introduced an introspection ABI break. See also: https://bugzilla.gnome.org/show_bug.cgi?id=682125 If we want to move the parse() method to be a constructor or a class method, we'll need to do more testing or add new API. https://bugzilla.gnome.org/show_bug.cgi?id=754990 gdk/gdkrgba.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bfb727d37e6d5806869a5dee8c35cc1e953ea00b Author: Benjamin Otte Date: Mon Feb 1 14:47:43 2016 +0100 entry: Draw progress in the right place gtk/gtkentry.c | 41 ++++++----------------------------------- 1 file changed, 6 insertions(+), 35 deletions(-) commit 9d18539d366ccb6f3fd54804494d1733b207c109 Author: Balázs Meskó Date: Tue Feb 2 13:22:12 2016 +0000 Updated Hungarian translation po/hu.po | 144 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 71 insertions(+), 73 deletions(-) commit 44b060c83f039e674aff88c256f9fda12f135bda Author: Mario Blättermann Date: Mon Feb 1 19:51:46 2016 +0100 Updated German translation po/de.po | 377 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 193 insertions(+), 184 deletions(-) commit 34467600607c86e70aca6cd2fee3abceb703f494 Author: Matthias Clasen Date: Sun Jan 31 16:53:53 2016 -0500 reftests: Make separator-size test pass in HighContrastInverse After neutralizing the stack background, the notebook itself was peeking through. testsuite/reftests/separator-size.css | 1 + 1 file changed, 1 insertion(+) commit 9f4b0b8ca58a44fa051458db5195249585f2bfbf Author: Daniel Mustieles Date: Sun Jan 31 22:30:39 2016 +0100 Updated Spanish translation po-properties/es.po | 1755 ++++++++++++++++++++++++++------------------------- 1 file changed, 885 insertions(+), 870 deletions(-) commit 5a095d5135d448a895ccd551779efbe02375f638 Author: Daniel Mustieles Date: Sun Jan 31 22:30:29 2016 +0100 Updated Spanish translation po/es.po | 485 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 246 insertions(+), 239 deletions(-) commit 6e2c74aaad1c81fdab45d4e6d9febc5e193253bf Author: Matthias Clasen Date: Sun Jan 31 14:10:13 2016 -0500 Trivial formatting fix testsuite/reftests/reftest-snapshot.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 1e0ca71ecad59f4349837b1858dc8d2c27155c33 Author: Matthias Clasen Date: Sun Jan 31 14:08:35 2016 -0500 reftests: Make label-text-shadow-changes-modify-clip test more reliable This test was failing in continuous, where the tests are running in a VM with disabled animations. Make the test adapt to that situation by changing the rui on the fly if we find that animations are disabled. .../reftests/label-text-shadow-changes-modify-clip.c | 18 ++++++++++++++++++ .../reftests/label-text-shadow-changes-modify-clip.ui | 1 + 2 files changed, 19 insertions(+) commit 2423eb11e3024b03ecce6090a6a6698170629d88 Author: Matthias Clasen Date: Sun Jan 31 14:06:34 2016 -0500 reftests: Add a message to the test output Emit a message that ends up in the test output if we are modifying the test on the fly. testsuite/reftests/animation-direction.c | 2 ++ 1 file changed, 2 insertions(+) commit a898dc6e9f60103cde6f5dea2890779c215ba686 Author: Matthias Clasen Date: Sun Jan 31 14:00:08 2016 -0500 reftests: Rename a source file Easier to keep track of things if the sources are names after the test they are used in. testsuite/reftests/Makefile.am | 2 +- testsuite/reftests/animation-direction.c | 46 ++++++++++++++++++++++++++++++++ testsuite/reftests/label-attributes.c | 46 -------------------------------- 3 files changed, 47 insertions(+), 47 deletions(-) commit 6e2c5518968529bb1acab66b54f2e61dcaacf000 Author: Timm Bäder Date: Sun Jan 31 16:17:03 2016 +0100 entry: Fix icon areas Do the same thing we already do in gtk_entry_get_text_area. gtk/gtkentry.c | 4 ++++ 1 file changed, 4 insertions(+) commit 033c6c82d0172a18723e672ff1dae7b921726f93 Author: Timm Bäder Date: Sun Jan 31 00:01:31 2016 +0100 widget: Annotate out params of _translate_coordinates as optional gtk/gtkwidget.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5a2feab8c0e856ae3536817b8f120d0ff13bb623 Author: Matthias Clasen Date: Sun Jan 31 13:51:54 2016 -0500 reftests: Make animation-direction test more reliable This test was failing in continuous, where the tests are running in a VM with disabled animations. Make the test adapt to that situation by changing the reference ui on the fly if we find that animations are disabled. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/animation-direction.ref.ui | 32 +++++++++++++++++++ testsuite/reftests/label-attributes.c | 46 +++++++++++++++++++++++++++ 3 files changed, 79 insertions(+) commit 073f8bc44bd5fae222d1d94cba31c872a8502826 Author: Matthias Clasen Date: Sun Jan 31 12:57:50 2016 -0500 gtk-builder-tool: Expand the preview command Make the preview command parse options properly, turn the ID into an --id=ID option, and add a --css=FILE option that allows to specify a css file to use for previewing. This is useful for e.g. previewing the reftest .ui files with their corresponding .css. docs/reference/gtk/gtk-builder-tool.xml | 22 +++++- gtk/gtk-builder-tool.c | 116 +++++++++++++++++++++++--------- 2 files changed, 105 insertions(+), 33 deletions(-) commit bc882a679d7e51baf1e61d31cfa75202e5a70e9b Author: Matthias Clasen Date: Sun Jan 31 12:05:35 2016 -0500 gtk-launch: Add --version Support --version. Also improve the --help output cosmetically. docs/reference/gtk/gtk-launch.xml | 9 ++++++++- gtk/gtk-launch.c | 29 +++++++++++++++++++---------- 2 files changed, 27 insertions(+), 11 deletions(-) commit 836bd6540863d036981ae545ae37f99d3b71e088 Author: Matthias Clasen Date: Sun Jan 31 11:01:46 2016 -0500 gtk-builder-tool: Accept --help Saying 'Failed to open file '--help' is not polite or smart. Catch this case and show usage information. gtk/gtk-builder-tool.c | 3 +++ 1 file changed, 3 insertions(+) commit f793da54a992d87da42c1f98e3cd5e9556c670ab Author: Matthias Clasen Date: Sat Jan 30 23:07:56 2016 -0500 file chooser: Avoid a crash Since 39c2d12330b6d4405ca8a5599c12017c58626fcf, priv->operation_mode == OPERATION_MODE_BROWSE no longer guarantees that priv->browse_files_model is the current model of the list - we are only switching the models after loading the new directory. Avoid triggering the assertion in show_and_select_files by checking if we have right model before calling it. https://bugzilla.gnome.org/show_bug.cgi?id=761209 gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 6f74de53312cd8b874e5ad658171af4cdf372b12 Author: Matthias Clasen Date: Sat Jan 30 22:52:13 2016 -0500 Don't include the builtin sequence table in multiple places The table is defined as static const guint16 [], so it really should only be included in one source file. gtk/gtkimcontextsimple.c | 1 + gtk/gtkimcontextsimpleprivate.h | 7 ------- 2 files changed, 1 insertion(+), 7 deletions(-) commit 3c4f36f62238b45863b49c85c2a8462f556da31f Author: Matthias Clasen Date: Sat Jan 30 22:50:54 2016 -0500 combobox: Avoid a misleading indentation gcc 6 warns about this sort of thing. There were also some stray ; here. gtk/gtkcombobox.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit a66287a62e5604aaa9b8d144e3394627767b149e Author: Matthias Clasen Date: Sat Jan 30 21:50:00 2016 -0500 Fix the border-image-excess-size reftest This was failing because the grid is now respecting border width too. Making the selector more specific so it only applies to the toolbars fixes this. testsuite/reftests/border-image-excess-size.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 27b4bfc1cf273c922cedba59ca2b03169070222a Author: Matthias Clasen Date: Sat Jan 30 21:43:49 2016 -0500 Fix another reftest Make sure the notebook in the separator-size reftest does not peek through, by giving it a transparent background. testsuite/reftests/Makefile.am | 1 + testsuite/reftests/separator-size.css | 3 +++ 2 files changed, 4 insertions(+) commit bbfc547b898d315ef256bfcb8c7332d17f8bba26 Author: Matthias Clasen Date: Sat Jan 30 21:08:19 2016 -0500 Fix some reftests under wayland Tests need to use popup windows, in order to avoid differences due to CSD. testsuite/reftests/expander.ref.ui | 2 +- testsuite/reftests/expander.ui | 1 + testsuite/reftests/nth-child.ref.ui | 1 + testsuite/reftests/nth-child.ui | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) commit f42cd18779b7391c0d6f7e18a45638a697d33fce Author: Matthias Clasen Date: Sat Jan 30 20:56:17 2016 -0500 wayland: Reduce warning level for parentless temporaries Temp windows without parent are used frequently in our testsuite; using g_warning on them causes the tests to fail, which is not useful. Reduce the warning to a g_message. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7d16b8df29824adf1bd0cc1a8f2651b0c04c7f4c Author: Matthias Clasen Date: Sat Jan 30 18:31:30 2016 -0500 treeview: Draw background when empty We have a function we call for drawing the empty case, but it only renders a focus rectangle. Make it draw the background as well. https://bugzilla.gnome.org/show_bug.cgi?id=761309 gtk/gtktreeview.c | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) commit 16726e31f00438a728947be48ae80fd48327db97 Author: Timm Bäder Date: Sat Jan 30 22:31:27 2016 +0100 colorchooserwidgeet: Reset the selected swatch when removing Otherwise, priv->current points to garbage and subsequently leads to a crash, e.g. when adding another custom color. gtk/gtkcolorchooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit dd322f715f0ac97155e0e443eaf7a73f8727a134 Author: Matthias Clasen Date: Sat Jan 30 16:09:15 2016 -0500 Document gtk_parse_args limitations Mention that some things won't work without a display connection. gtk/gtkmain.c | 4 ++++ 1 file changed, 4 insertions(+) commit bbe48d06246ce208ce4d0e00aef45180b7c71dbd Author: Matthias Clasen Date: Sat Jan 30 16:06:59 2016 -0500 Throw an error when a display is missing Creating style context won't work without a display, so give a clear error message and abort instead of segfaulting later on. https://bugzilla.gnome.org/show_bug.cgi?id=761332 gtk/gtkstylecontext.c | 3 +++ 1 file changed, 3 insertions(+)