commit 2a8355f6790643f48ba0900baeedbf138d915211 Author: Matthias Clasen Date: Tue Mar 1 22:37:06 2016 -0500 3.19.11 NEWS | 13 +++++++------ configure.ac | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) commit 444703f2bb3388376598a3ec680a7a89e1bc065d Author: Matthias Clasen Date: Tue Mar 1 23:21:55 2016 -0500 css node tests: Update notebook results This is fallout from changing the tab states. testsuite/css/nodes/notebook-arrows.nodes | 2 +- testsuite/css/nodes/notebook-arrows2.nodes | 2 +- testsuite/css/nodes/notebook.bottom.ltr.nodes | 2 +- testsuite/css/nodes/notebook.bottom.rtl.nodes | 2 +- testsuite/css/nodes/notebook.left.ltr.nodes | 2 +- testsuite/css/nodes/notebook.left.rtl.nodes | 2 +- testsuite/css/nodes/notebook.right.ltr.nodes | 2 +- testsuite/css/nodes/notebook.right.rtl.nodes | 2 +- testsuite/css/nodes/notebook.top.ltr.nodes | 2 +- testsuite/css/nodes/notebook.top.rtl.nodes | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) commit de383809f668ae5670777f2219532c66bddec72a Author: Olivier Fourdan Date: Mon Feb 29 10:14:56 2016 +0100 wayland: Check actual impl type in transient loop If the parent of a transient is not a native Wayland window (e.g. offscreen window), the transient loop check will crash. Check for the actual type in the transient loop check and do not assume the parent is necessarily Wayland native. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=761156 Signed-off-by: Olivier Fourdan gdk/wayland/gdkwindow-wayland.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 9e2207b2b0d1a8c5bdca8f56f370750b4c791204 Author: Jonas Ådahl Date: Fri Feb 26 14:10:06 2016 +0800 gdk: Compress window state events If there are already a window state event for a given window queued when the window state is changed, drop that event and queue a new event with a changed_mask based on the state before last event that was queue without compression. https://bugzilla.gnome.org/show_bug.cgi?id=762468 gdk/gdkevents.c | 39 +++++++++++++++++++++++++++++++++++---- gdk/gdkinternals.h | 1 + 2 files changed, 36 insertions(+), 4 deletions(-) commit 956b2ff998d851c9161dfd231d4f5e1de080346b Author: Matthias Clasen Date: Tue Mar 1 16:00:30 2016 -0500 progressbar: Don't leave css nodes behind We create and destroy gadgets inside the hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkprogressbar.c | 2 ++ 1 file changed, 2 insertions(+) commit 577783a19db6f45deb732be6e24724c7cfeb28c0 Author: Matthias Clasen Date: Tue Mar 1 15:57:36 2016 -0500 scale: Don't leave css nodes behind We create and destroy gadgets inside the scale hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkscale.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 5889d2520f91b4a29f2b01af58f4e92ded2b4e2f Author: Cosimo Cecchi Date: Tue Mar 1 12:53:44 2016 -0800 Adwaita: fix outline for scale trough gtk/theme/Adwaita/_common.scss | 7 ++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 3 +++ gtk/theme/Adwaita/gtk-contained.css | 3 +++ 3 files changed, 12 insertions(+), 1 deletion(-) commit cb614cc8388bfde71928bbc29fe45456d216c154 Author: Matthias Clasen Date: Tue Mar 1 15:48:01 2016 -0500 range: Don't leave css nodes behind We create and destroy gadgets inside the range hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtkrange.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 37007c47a55cae23c120040fb6a2f9199481b14d Author: Matthias Clasen Date: Tue Mar 1 15:35:32 2016 -0500 level bar: Don't leave css nodes behind We create and destroy gadgets inside the levelbar hierarchy here, and if we don't explicitly remove their CSS nodes from the parent, they stick around. gtk/gtklevelbar.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 87e71afd50e64c3dcbd58284520037db795262ea Author: Matthias Clasen Date: Tue Mar 1 15:18:34 2016 -0500 cell renderer: Strip out :drop(active) state It does not make sense to render every cell in a treeview as drop target, even when the treeview itself is set as a drop destination. https://bugzilla.gnome.org/show_bug.cgi?id=761686 gtk/gtkcellrenderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6230319dba125998f789fb8e5bec4d379585171a Author: Matthias Clasen Date: Tue Mar 1 15:09:10 2016 -0500 Updates NEWS | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) commit eff97fd55f7f31103fa588a6a431a1e22c50c77e Author: Matthias Clasen Date: Tue Mar 1 07:58:12 2016 -0500 Take a reference on the im context for async ops This might fix the crash in yelp that some people continue to see. https://bugzilla.gnome.org/show_bug.cgi?id=762887 gtk/gtkimcontextsimple.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) commit 3607b9aa2e4b2c57489947efa5dcf47877d68e69 Author: Olivier Fourdan Date: Fri Feb 26 13:35:35 2016 +0100 wayland: Restore size when configure size is 0x0 According to xdg_shell, an xdg_surface.configure with size 0x0 should be interpreted as that it is up to the client to set a size. When transitioning from maximize or fullscreen state, this means the client should configure its size back to what it was before being maximize or fullscreen. This problem currently only occurs on weston because weston sends a configure with size 0x0 when transitioning back from maximize or fullscreen. bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=762713 gdk/wayland/gdkwindow-wayland.c | 58 +++++++++++++++++++++++++++++++++++++++-- 1 file changed, 56 insertions(+), 2 deletions(-) commit 9f080299660d05b5c6f6657bc92ba8f683fec6f8 Author: Anders Jonsson Date: Tue Mar 1 09:13:42 2016 +0000 Updated Swedish translation po-properties/sv.po | 758 ++++++++++++++++++++++++++-------------------------- 1 file changed, 381 insertions(+), 377 deletions(-) commit 61f5562f9f6fed7cd03118820c1eb0902dc52eeb Author: Benjamin Otte Date: Mon Feb 29 23:17:00 2016 +0100 notebook: Tell everyone we reordered stuff Fixes keybindings for reordering actually emitting signals and properly updating CSS/the screen. gtk/gtknotebook.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit a74bb0dec4d0a5032908e47619a82cc4f86b47a1 Author: Benjamin Otte Date: Mon Feb 29 21:57:19 2016 +0100 notebook: Reallocate tab gadgets when we reorder them Otherwise they stay in their position and don't cause a redraw. Which really confuses Epiphany users apparently. https://bugzilla.gnome.org/show_bug.cgi?id=762720 gtk/gtknotebook.c | 1 + 1 file changed, 1 insertion(+) commit fa43edd244b2bbf9dfd9aa9994449f88201fd42e Author: Paolo Borelli Date: Mon Feb 29 21:45:13 2016 +0100 gdk: implement gdk_display_list_devices using GdkSeat Now that the function is factored out in a single place, we can refactor it to not use deprecated API. gdk/gdkdisplay.c | 35 +++++++++-------------------------- 1 file changed, 9 insertions(+), 26 deletions(-) commit 4a6f8a065abace71c0ca32d959ec9b86628bffaa Author: Paolo Borelli Date: Mon Feb 29 20:59:36 2016 +0100 gdk: remove the display->list_devices vfunc gdk_display_list_devices is deprecated and all the backends implement the same fallback by delegating to the device manager and caching the list (caching it is needed since the method does not transfer ownership of the container). The compat code can be shared among all backends and we can initialize the list lazily only in the case someone calls the deprecated method. https://bugzilla.gnome.org/show_bug.cgi?id=762891 gdk/broadway/gdkdisplay-broadway.c | 50 ------------------------------------ gdk/broadway/gdkdisplay-broadway.h | 4 --- gdk/gdkdisplay.c | 39 +++++++++++++++++++++++++++- gdk/gdkdisplayprivate.h | 2 +- gdk/quartz/gdkdisplay-quartz.c | 51 ------------------------------------- gdk/wayland/gdkdisplay-wayland.c | 29 --------------------- gdk/wayland/gdkdisplay-wayland.h | 3 --- gdk/win32/gdkdisplay-win32.c | 38 +++++----------------------- gdk/win32/gdkdisplay-win32.h | 2 -- gdk/x11/gdkdisplay-x11.c | 52 -------------------------------------- gdk/x11/gdkdisplay-x11.h | 4 --- 11 files changed, 46 insertions(+), 228 deletions(-) commit d000b212c6baeb2b85a9dd75266af0c02a2efb27 Author: Cosimo Cecchi Date: Mon Feb 29 12:53:08 2016 -0800 range: fix fill level for vertical inverted scales gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5a83787dc0315df426f4ee5aae0b1068abb58449 Author: Cosimo Cecchi Date: Mon Feb 29 10:43:12 2016 -0800 Update CSS nodes documentation gtk/gtkscale.c | 25 +++++++++++++++++-------- gtk/gtkscrollbar.c | 19 ++++++++++--------- 2 files changed, 27 insertions(+), 17 deletions(-) commit bb55a1a95813e81436d88eaf9f0fd3d91dd63714 Author: Cosimo Cecchi Date: Sun Feb 28 21:13:54 2016 -0800 scale: add gadgets for indicator/label in scale marks This will allow us to theme them indepdendently, and specify a size for the indicator from the theme. gtk/gtkscale.c | 280 +++++++++++++++++++++---------- gtk/theme/Adwaita/_common.scss | 10 +- gtk/theme/Adwaita/gtk-contained-dark.css | 8 +- gtk/theme/Adwaita/gtk-contained.css | 8 +- 4 files changed, 209 insertions(+), 97 deletions(-) commit 7bd3d87eeb604b52912902b23e23aa38eb92a97d Author: Cosimo Cecchi Date: Sun Feb 28 13:45:48 2016 -0800 scale: add a gadget for every mark We want to add another gadget for the mark indicator. This will allow us to do so. gtk/gtkscale.c | 552 +++++++++++++++++++++++++++++++-------------------------- 1 file changed, 302 insertions(+), 250 deletions(-) commit 74a8bbfd3849b5d6dbe9ae620a0351d4fe8e8f2c Author: Cosimo Cecchi Date: Sun Feb 28 16:04:17 2016 -0800 Adwaita: add minimum size for marks It's still suboptimal, because there's no way to control the size of the indicator alone, but this does the job for now. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 10 insertions(+) commit 0fb50dc9a81d550a646bd9152d1fe38047525eda Author: Cosimo Cecchi Date: Sun Feb 28 14:52:14 2016 -0800 gadget: improve debug message gtk/gtkcssgadget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 0c8dbf07ce8b1341446c6f4a2cae0e7c63d2e614 Author: Cosimo Cecchi Date: Sun Feb 28 10:00:15 2016 -0800 range: draw slider on top of all contents This is so that e.g. the focus ring is drawn under the slider. gtk/gtkrange.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) commit cdd7a7bdcd29109985d3846324ef52c19ed3f70b Author: Cosimo Cecchi Date: Sun Feb 28 09:23:14 2016 -0800 scale: implement rendering for marks gadgets This completes the conversion of scale marks to gadgets. gtk/gtkscale.c | 242 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 129 insertions(+), 113 deletions(-) commit 1a8eb9fefa2693c274d7733c57727337dcba8b60 Author: Cosimo Cecchi Date: Sun Feb 28 00:12:22 2016 -0800 scale: implement size allocate for mark gadgets This allows to move the mark sections around with e.g. margins. gtk/gtkscale.c | 117 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 108 insertions(+), 9 deletions(-) commit 562a501f3b3ab55d8cd02c4461198e117608c19a Author: Cosimo Cecchi Date: Sat Feb 27 15:24:32 2016 -0800 scale: port marks size request to gadgets gtk/gtkscale.c | 220 ++++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 146 insertions(+), 74 deletions(-) commit 2f420d0e14160099862b7c5bf8738f527b811df7 Author: Cosimo Cecchi Date: Sat Feb 27 15:08:04 2016 -0800 scale: use gadgets instead of nodes for mark containers The gadget is not yet allocated though. gtk/gtkscale.c | 61 +++++++++++++++++++++++++++++----------------------------- 1 file changed, 30 insertions(+), 31 deletions(-) commit b73d274d55f02266212824cc6f3a30ffe5f220a8 Author: Cosimo Cecchi Date: Sat Feb 27 13:48:19 2016 -0800 scale: rename function arguments To make them clearer. No functional change here. gtk/gtkscale.c | 88 +++++++++++++++++++++++++++++++--------------------------- 1 file changed, 47 insertions(+), 41 deletions(-) commit 8d5d16ae56cb33c72496055d62f9792c0a2fd2aa Author: Cosimo Cecchi Date: Sat Feb 27 13:44:22 2016 -0800 scale: remove unused argument It's always GTK_POS_TOP. gtk/gtkscale.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit bc41ff8af4d645d425e15bf92adf471499acce75 Author: Cosimo Cecchi Date: Sat Feb 27 23:19:13 2016 -0800 range: better hack for GtkColorScale Just draw the slider, since that is the only thing GtkColorScale cares about. gtk/gtkrange.c | 21 +++++---------------- 1 file changed, 5 insertions(+), 16 deletions(-) commit 887b6d65a1e730d94332ec4e6d7fde905d798eed Author: Cosimo Cecchi Date: Sat Feb 27 13:37:01 2016 -0800 range: deprecate gtk_range_get/set_min_slider_size() Nothing uses these functions inside GTK anymore. gtk/gtkrange.c | 6 ++++++ gtk/gtkrange.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) commit 424f17c0fbd6a97132c73a3fb7f3fb374615384d Author: Cosimo Cecchi Date: Sat Feb 27 13:31:26 2016 -0800 range: don't use gtk_range_set_min_slider_size() The way this method is used from the GtkRange subclasses doesn't really work well when the slider properties change as a consequence of e.g. a style class being applied (e.g. the fine-tune style class). In fact, there's no need to read the minimum slider size out of band, and we can obtain the same result in a way that always work by setting a private property on GtkRange. gtk/gtkrange.c | 44 +++++++++++++++++++++++++++++++++----------- gtk/gtkrangeprivate.h | 4 +++- gtk/gtkscale.c | 37 ++++++++++++++----------------------- gtk/gtkscrollbar.c | 9 +-------- 4 files changed, 51 insertions(+), 43 deletions(-) commit 0468ff15459b4e01ca57e4a057908de70e502456 Author: Lapo Calamandrei Date: Thu Feb 25 17:49:12 2016 +0100 Adwaita: some more WIP theme work for the new scale gtk/theme/Adwaita/_common.scss | 50 +-- gtk/theme/Adwaita/gtk-contained-dark.css | 712 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 712 ++++++++++++++++--------------- 3 files changed, 737 insertions(+), 737 deletions(-) commit 3ff66edb6bdb1437e8c149f9c98dad19cb6040a5 Author: Cosimo Cecchi Date: Wed Feb 24 15:51:40 2016 -0800 gadget: simplify code gtk/gtkcssgadget.c | 40 +++++++++++++++------------------------- 1 file changed, 15 insertions(+), 25 deletions(-) commit 0883ff5eedf73b1197f2a49fb7e55ce227917335 Author: Cosimo Cecchi Date: Wed Feb 24 15:35:28 2016 -0800 range: use border box for slider area Since we can use negative margins, we should not use the margin box for the slider area. Use the border box instead, since that's what is typically mapped to the visible area. gtk/gtkrange.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 6ecab5ee6b311348be8dea43c71d5c87aa332d98 Author: Cosimo Cecchi Date: Wed Feb 24 14:29:52 2016 -0800 range: use new GtkCssGadget API instead of rolling our own gtk/gtkrange.c | 44 ++++++++++---------------------------------- 1 file changed, 10 insertions(+), 34 deletions(-) commit 44178c0541ca46f53c41953e32529eabc1931a2b Author: Cosimo Cecchi Date: Wed Feb 24 14:21:10 2016 -0800 gadget: add API to get various area boxes Compared to the function returning the allocation, these will return the box in gadget coordinates. gtk/gtkcssgadget.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssgadgetprivate.h | 6 ++++++ 2 files changed, 57 insertions(+) commit 2d2a81682debb5d17888314a087a0fc49734d283 Author: Cosimo Cecchi Date: Wed Feb 24 13:53:13 2016 -0800 range: simplify code Instead of directly accessing the widget allocation, we can use the gadget API to test whether the coordinates are in the main gadget. gtk/gtkrange.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit 622f5aef4e9ba4e7bd0fca4006910589d001ec0e Author: Lapo Calamandrei Date: Wed Feb 24 13:36:14 2016 -0800 Adwaita: WIP for new range theme gtk/theme/Adwaita/_common.scss | 83 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 1139 +++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 1155 +++++++++++++++--------------- 3 files changed, 1194 insertions(+), 1183 deletions(-) commit d1433c25f360e0cdae2cf481d88244d45b13de25 Author: Cosimo Cecchi Date: Wed Feb 24 13:28:54 2016 -0800 range: add a gadget for the whole widget area This commit introduces another node, called "contents", that holds the main contents of the range. This allows for the main gadget itself to span across the whole surface of the widget now. gtk/gtkrange.c | 148 ++++++++++++++++++++++++++++++++++++++++++--------------- 1 file changed, 110 insertions(+), 38 deletions(-) commit a9ea544f3d75c10541652c3df28a4204f4f05711 Author: Cosimo Cecchi Date: Wed Feb 24 12:24:41 2016 -0800 scale: always add marks at the beginning or the end Marks are always either the first or the last child of the scale. gtk/gtkrange.c | 6 ------ gtk/gtkrangeprivate.h | 1 - gtk/gtkscale.c | 4 ++-- 3 files changed, 2 insertions(+), 9 deletions(-) commit 1d047f00977bdb3b7c94344466cb47ab4a764d82 Author: Cosimo Cecchi Date: Wed Feb 24 12:01:07 2016 -0800 range: use new GtkBoxGadget API instead of counting children gtk/gtkrange.c | 26 +++++++++----------------- 1 file changed, 9 insertions(+), 17 deletions(-) commit 6370d6cb2780350ed9e8638e375d560dc821b194 Author: Cosimo Cecchi Date: Wed Feb 24 12:00:46 2016 -0800 boxgadget: add APIs to insert gadgets next to siblings gtk/gtkboxgadget.c | 34 ++++++++++++++++++++++++++++++++++ gtk/gtkboxgadgetprivate.h | 13 +++++++++++++ 2 files changed, 47 insertions(+) commit 6401e2405e19bd58db6dd826d7baa9926bcbd95f Author: Cosimo Cecchi Date: Wed Feb 24 11:43:06 2016 -0800 range: use new GtkBoxGadget API instead of removing/inserting gtk/gtkrange.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 06776d3d2fdfce734395739480bef721daf12608 Author: Cosimo Cecchi Date: Wed Feb 24 10:34:15 2016 -0800 boxgadget: add API to set expand/align flags for gadget child gtk/gtkboxgadget.c | 86 ++++++++++++++++++++++++++++++++++++++++++----- gtk/gtkboxgadgetprivate.h | 7 ++++ 2 files changed, 85 insertions(+), 8 deletions(-) commit 6827bd5e04d6e93140ca9aaa04b897fe37db27a1 Author: Cosimo Cecchi Date: Tue Feb 23 10:45:19 2016 -0800 range: move slider drawing where it belongs The slider gadget is a child of the trough gadget, so draw it from there. gtk/gtkrange.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f0d9afd3005206dfe0962965a2fa21baf9e1fa97 Author: Cosimo Cecchi Date: Mon Feb 22 22:00:57 2016 -0800 scrollbar: deprecate min-slider-length style property In favor of min-height/min-width, like we did for other similar properties. gtk/gtkscrollbar.c | 18 ++++++++++++++++-- gtk/theme/Adwaita/_common.scss | 5 ++--- gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++++--- gtk/theme/Adwaita/gtk-contained.css | 7 ++++--- 4 files changed, 26 insertions(+), 11 deletions(-) commit 0974b0d843116c285133c485011cef59a364a5da Author: Cosimo Cecchi Date: Mon Feb 22 21:31:31 2016 -0800 range: whitespace fix gtk/gtkrange.c | 1 - 1 file changed, 1 deletion(-) commit fb11cc1bafc3986024b41e20fb6fe609e42daeb8 Author: Cosimo Cecchi Date: Mon Feb 22 21:19:03 2016 -0800 range: remove border allocation hack We can achieve the same result with a negative margin. gtk/gtkrange.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit 1a116b9a95aac9e55e858a4614b888f06a8c156d Author: Cosimo Cecchi Date: Mon Feb 22 19:08:09 2016 -0800 colorscale: don't use style properties to determine slider size gtk/gtkcolorscale.c | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) commit 8b87eca11eae37a1e3357982b4ea7b6204b3d10d Author: Cosimo Cecchi Date: Mon Feb 22 18:54:24 2016 -0800 Revert "range: move GtkColorScale special case to GtkColorScale" This reverts commit d93d266ed9e3e26e382a4f6d4b5d4ea19eff3bcf. gtk/gtkcolorscale.c | 5 ----- gtk/gtkrange.c | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) commit b927fc0874437c217dbf845f9fb1cbd0ee9f4430 Author: Cosimo Cecchi Date: Mon Feb 22 18:54:16 2016 -0800 Revert "range: simplify code" This reverts commit a74f7dcaf8a02c96c6bfecab6969e1d33ecb9332. gtk/gtkrange.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit a7099d1468c4be397610595a94375f582afa79f7 Author: Cosimo Cecchi Date: Mon Feb 22 18:28:30 2016 -0800 range: simplify code Now that everything is in the main gadget, we can just let it propagate drawing to its children. gtk/gtkrange.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit b6f0b6be877e99ddc8e013ac58e1b6d5089e14ab Author: Cosimo Cecchi Date: Mon Feb 22 18:27:52 2016 -0800 range: move GtkColorScale special case to GtkColorScale Now we can just tweak the node visibility for it. gtk/gtkcolorscale.c | 5 +++++ gtk/gtkrange.c | 8 +------- 2 files changed, 6 insertions(+), 7 deletions(-) commit cbbe237c18a544f2eab9c7d13772fa9a426d0dac Author: Cosimo Cecchi Date: Mon Feb 22 18:18:37 2016 -0800 range: remove special case that's not needed We already set the gadget not to be visible in that case. gtk/gtkrange.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) commit ddb863e523484e3b0520eca48914d5d35b90446c Author: Cosimo Cecchi Date: Mon Feb 22 18:11:02 2016 -0800 range: move slider inside the trough This will require a rewrite of most of the theme, but it's the right thing to do. gtk/gtkrange.c | 190 +++++++++++++++++++++++---------------------------------- 1 file changed, 76 insertions(+), 114 deletions(-) commit d1c5ecfaefd045bdf4b46e12520899a7bd27002d Author: Cosimo Cecchi Date: Sun Feb 21 15:01:04 2016 -0800 scale: deprecate slider-length style property This can be achieved using min-height/min-width CSS properties now. gtk/gtkrange.c | 6 +++++ gtk/gtkrangeprivate.h | 2 ++ gtk/gtkscale.c | 40 +++++++++++++++++++++----------- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++-- gtk/theme/Adwaita/gtk-contained.css | 5 ++-- 6 files changed, 43 insertions(+), 19 deletions(-) commit c1eff2cce5d2b870343f2d727b4a7d47519b78e4 Author: Cosimo Cecchi Date: Sun Feb 21 00:33:36 2016 -0800 range: deprecate more style properties These are never read now. gtk/gtkrange.c | 35 +++++++++++++++++++++--- gtk/theme/Adwaita/_common.scss | 35 ++++++++++++++++-------- gtk/theme/Adwaita/gtk-contained-dark.css | 34 ++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 34 ++++++++++++----------- gtk/theme/HighContrast/_common.scss | 4 --- gtk/theme/HighContrast/gtk-contained-inverse.css | 5 +--- gtk/theme/HighContrast/gtk-contained.css | 5 +--- gtk/theme/win32/gtk-win32-base.css | 2 -- 8 files changed, 92 insertions(+), 62 deletions(-) commit 413b9d5b3c10e9b296b09a99f34558d0bf36a72c Author: Cosimo Cecchi Date: Tue Jan 19 07:22:33 2016 -0200 range: continue porting to GtkGadgets This commit rewrites a lot of the GtkRange internals to make full use of the gadget structure. gtk/gtkrange.c | 1267 ++++++++++++------------------ gtk/theme/Adwaita/_common.scss | 4 + gtk/theme/Adwaita/gtk-contained-dark.css | 48 ++ gtk/theme/Adwaita/gtk-contained.css | 48 ++ 4 files changed, 592 insertions(+), 775 deletions(-) commit e9fe46ea5f1a90991154d7564d28123fb25ec567 Author: Cosimo Cecchi Date: Tue Jan 19 07:21:46 2016 -0200 gadget: add hit test functions These will be useful in later commits. gtk/gtkcssgadget.c | 123 +++++++++++++++++++++++++++++++++++++++++----- gtk/gtkcssgadgetprivate.h | 10 ++++ 2 files changed, 122 insertions(+), 11 deletions(-) commit 8c43b3ee6004f0687456b7f9ca0e1d987b8938df Author: Cosimo Cecchi Date: Sun Jan 17 17:27:03 2016 -0200 range: remove unused code gtk/gtkrange.c | 3 --- 1 file changed, 3 deletions(-) commit 6c19947859c6477fbfc350ec52c152f258a09502 Author: Cosimo Cecchi Date: Sun Jan 17 17:24:01 2016 -0200 range: remove call that is not needed gtk_range_calc_slider() already calls the same function when needed. gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit 83a6471c4ea4eb0b33416cb7373dda07a895cf9b Author: Cosimo Cecchi Date: Sat Jan 16 16:44:50 2016 -0800 range: simplify code a bit gtk/gtkrange.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit d19215015e7d8f929c905504ac7564ffc1d3379c Author: Cosimo Cecchi Date: Sat Jan 16 16:30:59 2016 -0800 range: don't call gtk_range_calc_layout() in realize() This should not be needed, and we want to get rid of gtk_range_calc_layout(). gtk/gtkrange.c | 2 -- 1 file changed, 2 deletions(-) commit 1f9de3cfecc11b80a657f76a967e132310f6db47 Author: Cosimo Cecchi Date: Sat Jan 16 16:27:35 2016 -0800 range: deprecate arrow-scaling style property This can be done with CSS now. gtk/gtkrange.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3b37f2a42a5274383345c2ceab4d7db15bc84b60 Author: Cosimo Cecchi Date: Sat Jan 16 16:27:24 2016 -0800 range: use newer GtkCssGadget API gtk/gtkrange.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit d0c671ddfed5f9ebe7b7b95a3e134b575c801c2a Author: Cosimo Cecchi Date: Wed Jan 13 15:01:47 2016 -0800 range: deprecate trough-under-steppers It's not clear what this would do in a CSS world, and all the themes set it to TRUE anyway... gtk/gtkrange.c | 112 ++++------------------- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 3 +- gtk/theme/Adwaita/gtk-contained.css | 3 +- gtk/theme/HighContrast/_common.scss | 1 - gtk/theme/HighContrast/gtk-contained-inverse.css | 3 +- gtk/theme/HighContrast/gtk-contained.css | 3 +- 7 files changed, 22 insertions(+), 104 deletions(-) commit 4bb0a8db47050593fe24d121875ec70c053d0235 Author: Cosimo Cecchi Date: Sat Jan 9 14:00:09 2016 -0800 range: first pass at porting to gadgets There's still a lot to be done, but this is functional and we'll improve the loose ends in the next commits. gtk/gtkrange.c | 1023 +++++++++++++++--------------- gtk/theme/Adwaita/_common.scss | 18 + gtk/theme/Adwaita/gtk-contained-dark.css | 8 + gtk/theme/Adwaita/gtk-contained.css | 8 + 4 files changed, 545 insertions(+), 512 deletions(-) commit 10e24b8e190b0db1d2306c152ead05f76db687b9 Author: Matthias Clasen Date: Mon Feb 29 13:16:50 2016 -0500 Move the level bar release note to the right section README.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 33ac51ea721714a7235765cd40c9a0295cced8df Author: Paolo Borelli Date: Mon Feb 29 18:03:38 2016 +0100 win32: init wintab when the device manager is constructed No need to call a method explicitely after creating the object gdk/win32/gdkdevicemanager-win32.c | 9 +++++---- gdk/win32/gdkdisplay-win32.c | 2 -- gdk/win32/gdkprivate-win32.h | 1 - 3 files changed, 5 insertions(+), 7 deletions(-) commit e9d2a622e2e7e864f6c87ecd43088d085eb76fc9 Author: Paolo Borelli Date: Mon Feb 29 18:17:28 2016 +0100 win32: actually call _gdk_win32_screen_on_displaychange_event 41a371c435533aee5f050500c90507844cb1e45e factored out a method but I forgot to actually amend the commit to call the new function gdk/win32/gdkdisplay-win32.c | 1 + 1 file changed, 1 insertion(+) commit 316fe1dbbd6e0600e0002cebb4323473b4e2ec64 Author: Ray Strode Date: Sat Feb 27 16:17:38 2016 -0500 wayland: deal with staging buffer getting allocated prematurely The staging buffer gets allocated any time begin_paint is called on the window. This can happen even with an empty paint region, so we should cope with that situation. At the moment we crash trying to post a runtime warning. https://bugzilla.gnome.org/show_bug.cgi?id=762755 gdk/wayland/gdkwindow-wayland.c | 35 ++++++++++++++++++++++++----------- 1 file changed, 24 insertions(+), 11 deletions(-) commit 6ad67451f44d753942905dda574c65e66d071d8e Author: Jordi Mas Date: Mon Feb 29 16:34:30 2016 +0100 Fixes to Catalan translation po-properties/ca.po | 2 +- po/ca.po | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 41119057dda97549bf498cdf5787b8b98da541c7 Author: Timm Bäder Date: Fri Feb 26 14:07:49 2016 +0100 frame: Fix horizontal size request We were adding the border gadget size and the label widget size in any case, but when calculating the width, we want the maximum of those two, not the sum. https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) commit 38ad57948c5960cdcb8e2487153a2dfb94a5dfab Author: Paolo Borelli Date: Sun Feb 28 15:15:29 2016 +0100 gdk: remove the core_pointer field from GdkDisplay It is not used anymore, so no need to set it https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/broadway/gdkdisplay-broadway.c | 3 +-- gdk/gdkdisplayprivate.h | 1 - gdk/mir/gdkmirdevicemanager.c | 1 - gdk/quartz/gdkdisplay-quartz.c | 3 +-- gdk/wayland/gdkdisplay-wayland.c | 4 ++-- gdk/win32/gdkdisplay-win32.c | 6 ++---- gdk/x11/gdkdisplay-x11.c | 3 +-- 7 files changed, 7 insertions(+), 14 deletions(-) commit 502744be8557e67166020ce864b8115c02d17c0d Author: Paolo Borelli Date: Sun Feb 28 15:11:45 2016 +0100 quartz: get the core pointer from the device manager https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/quartz/gdkdisplay-quartz.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) commit 539b1083de487bb2b2f8689c23abd87c20585379 Author: Paolo Borelli Date: Sun Feb 28 15:06:53 2016 +0100 broadway: get the core pointer from the device manager https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/broadway/gdkdisplay-broadway.c | 23 +++-------------------- gdk/broadway/gdkeventsource.c | 32 ++++++++++++++++---------------- 2 files changed, 19 insertions(+), 36 deletions(-) commit 363f9c95715486106d188f56711afb941d00151f Author: Paolo Borelli Date: Sun Feb 28 15:05:32 2016 +0100 gdkdisplay: get the pointer device from the default seat https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/gdkdisplay.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) commit 807c0c0a56837b2ca991bb229d3cc7cabff79888 Author: Paolo Borelli Date: Sun Feb 28 15:04:40 2016 +0100 gdkwindow: get the pointer device from the default seat https://bugzilla.gnome.org/show_bug.cgi?id=762820 gdk/gdkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit ee217dc8236f0d7289f394b9954a9bc188738537 Author: Matthias Clasen Date: Sun Feb 28 21:29:35 2016 -0500 Add and use GDK_CHECK_DEBUG macro This is following what we've already done in GTK+. It avoids direct access to _gdk_debug_flags all over the place. gdk/gdkframeclockidle.c | 8 ++++---- gdk/gdkinternals.h | 7 +++++-- gdk/x11/gdkdevice-core-x11.c | 2 +- gdk/x11/gdkdevice-xi2.c | 2 +- gdk/x11/gdkdevicemanager-core-x11.c | 2 +- gdk/x11/gdkdisplay-x11.c | 4 ++-- gdk/x11/gdkdnd-x11.c | 4 ++-- gdk/x11/gdkscreen-x11.c | 2 +- gdk/x11/gdkvisual-x11.c | 2 +- gdk/x11/gdkwindow-x11.c | 2 +- 10 files changed, 19 insertions(+), 16 deletions(-) commit 2ad19c70ce41cf53b9de4606d114f6a13abd9bca Author: Matthias Clasen Date: Sun Feb 28 21:29:16 2016 -0500 x11: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/x11/gdkdevicemanager-x11.c | 4 +-- gdk/x11/gdkglcontext-x11.c | 56 +++++++++++++++++++++--------------------- gdk/x11/xsettings-client.c | 14 +++++------ 3 files changed, 37 insertions(+), 37 deletions(-) commit 29c1263c4b5bc7d75a932a9d82cb5142413c71ae Author: Matthias Clasen Date: Sun Feb 28 21:28:01 2016 -0500 wayland: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/wayland/gdkglcontext-wayland.c | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) commit 2a2d254a8b464e7d2176b9679a467f68fb45fb35 Author: Matthias Clasen Date: Sun Feb 28 21:26:26 2016 -0500 quartz: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/quartz/GdkQuartzView.c | 128 +++++++++++++++++++-------------------- gdk/quartz/gdkeventloop-quartz.c | 38 ++++++------ 2 files changed, 85 insertions(+), 81 deletions(-) commit 2801f3c8431c0516f56fa8acb86f51f41b515602 Author: Matthias Clasen Date: Sun Feb 28 15:39:05 2016 -0500 gdk: Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gdk/gdkframeclock.c | 26 ++++++++++++++++---------- gdk/gdkglcontext.c | 26 +++++++++++++------------- 2 files changed, 29 insertions(+), 23 deletions(-) commit b1d691dbfd9a778197fe0995f15a0520d5928a63 Author: Matthias Clasen Date: Sun Feb 28 15:36:14 2016 -0500 testsuite: Fix up icontheme test This test was relying on GtkIconTheme using g_print for debug spew. Adapt it to use g_logv instead. testsuite/gtk/icontheme.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) commit 2ee7fb1818598de6372dae48b89f5e6925e1d77b Author: Matthias Clasen Date: Sun Feb 28 15:33:18 2016 -0500 Don't use g_print for debug output The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG. gtk/deprecated/gtktrayicon-x11.c | 47 +++++++++++------------ gtk/gtkbuilder.c | 13 +++---- gtk/gtkbuilderparser.c | 14 ++++--- gtk/gtkglarea.c | 6 +-- gtk/gtkiconcache.c | 19 ++++------ gtk/gtkiconcachevalidator.c | 2 +- gtk/gtkicontheme.c | 43 ++++++++++----------- gtk/gtkmodules.c | 12 +++--- gtk/gtkrbtree.c | 82 ++++++++++++++++++++++++++-------------- gtk/gtksizerequest.c | 28 ++++++++------ gtk/gtkwidget.c | 20 +++++----- 11 files changed, 154 insertions(+), 132 deletions(-) commit 0ac71e81cf9e80fc3b7903e98e0c3cb059cb68ca Author: Matthias Clasen Date: Sun Feb 28 15:26:52 2016 -0500 Drop some unused debug printfs Remove some debug spew that has been ifdef'ed out for years and does not look useful enough to keep. gtk/deprecated/gtkstatusicon-quartz.c | 1 - gtk/deprecated/gtkuimanager.c | 20 -------------------- gtk/gtkimcontextsimple.c | 34 +++------------------------------- gtk/gtktextbtree.c | 12 ------------ gtk/gtktextbufferserialize.c | 22 ---------------------- gtk/gtktooltip.c | 34 ---------------------------------- gtk/gtktreeview.c | 4 ---- gtk/gtkwindow.c | 7 ------- 8 files changed, 3 insertions(+), 131 deletions(-) commit 8e1368e6de98dd0414f462c851386573465f331a Author: Cosimo Cecchi Date: Sun Feb 28 10:58:06 2016 -0800 widget: make sure to check all children for allocation needs GtkWidget uses gtk_container_foreach() to iterate over children and check whether they need their allocation reset. However, that leaves out internal children, such as scrollbars of a GtkScrolledWindow. Use gtk_container_forall() instead. gtk/gtkwidget.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 187027942c2878a76f569c70b931ac424de9f4a5 Author: Paolo Borelli Date: Sun Feb 28 19:00:41 2016 +0100 gdk: remove _gdk_event_queue_prepend It is never used gdk/gdkevents.c | 19 ------------------- gdk/gdkinternals.h | 2 -- 2 files changed, 21 deletions(-) commit e0caafbcdf6f1b200506ef5165f4da27b84a2df7 Author: Matthias Clasen Date: Sun Feb 28 12:31:20 2016 -0500 display: Don't change default seat in flight gdk_display_add_seat was prepending new seats to the list, which was effectively making the added seat the new default. Since that is probably not intended, append to the list. gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9dad9a4b592e979026a6cddd4906033694a65f33 Author: Matthias Clasen Date: Sun Feb 28 12:22:55 2016 -0500 testsuite: Strip newlines from g_warning and g_error g_logv adds one for us already. testsuite/gtk/gtktreemodelrefcount.c | 2 +- testsuite/gtk/rbtree.c | 2 +- testsuite/gtk/textbuffer.c | 18 +++++++++--------- testsuite/gtk/treemodel.c | 6 +++--- 4 files changed, 14 insertions(+), 14 deletions(-) commit 7bd1012e51e47c939572a584fbfc65be45596168 Author: Matthias Clasen Date: Sun Feb 28 12:21:29 2016 -0500 tests: Strip newlines from g_warning and g_error g_logv adds one for us already. tests/gtkoffscreenbox.c | 2 +- tests/scrolling-performance.c | 2 +- tests/testglarea.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit 664b16683842a2e0b1bf83c19a931ce110ccb743 Author: Matthias Clasen Date: Sun Feb 28 12:21:09 2016 -0500 wayland: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/wayland/gdkdisplay-wayland.c | 4 ++-- gdk/wayland/gdkselection-wayland.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) commit 4f422d1f5b26ebaeb9f50e42b5f76242b19088b3 Author: Matthias Clasen Date: Sun Feb 28 12:20:56 2016 -0500 quartz: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/quartz/gdkselection-quartz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1c887b22870a8fc6f6bcf6f13c1b70448c8ae634 Author: Matthias Clasen Date: Sun Feb 28 12:20:39 2016 -0500 gdk: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/gdkevents.c | 4 ++-- gdk/gdkgl.c | 2 +- gdk/gdkseatdefault.c | 2 +- gdk/gdkwindow.c | 6 +++--- 4 files changed, 7 insertions(+), 7 deletions(-) commit 697efcd4bc35ca98dd8da48d30069229472abc98 Author: Matthias Clasen Date: Sun Feb 28 12:19:58 2016 -0500 x11: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/x11/gdkdisplay-x11.c | 2 +- gdk/x11/gdkdnd-x11.c | 8 +++----- 2 files changed, 4 insertions(+), 6 deletions(-) commit 94342300a85999febbcc9e575b9a821176a04e4a Author: Matthias Clasen Date: Sun Feb 28 12:19:31 2016 -0500 broadway: Strip newlines from g_warning and g_error g_logv adds one for us already. gdk/broadway/broadway-output.c | 2 +- gdk/broadway/broadwayd.c | 2 +- gdk/broadway/gdkbroadway-server.c | 2 +- gdk/broadway/gdkselection-broadway.c | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) commit 492ea59698e148b2911868f5cc88644caaba9bde Author: Matthias Clasen Date: Sun Feb 28 12:19:09 2016 -0500 examples: Strip newlines from g_warning and g_error g_logv adds one for us already. examples/plugman.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 435c8c9f0d6a277ec77cd62e90b35aa27635793b Author: Matthias Clasen Date: Sun Feb 28 12:18:36 2016 -0500 gtk-demo: Strip newlines from g_warning and g_error g_logv adds one for us already. demos/gtk-demo/glarea.c | 4 ++-- demos/gtk-demo/main.c | 4 ++-- demos/gtk-demo/offscreen_window.c | 2 +- demos/gtk-demo/offscreen_window2.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit bbd94b5a9ffc83569c771d81fa07457dfd61d20d Author: Matthias Clasen Date: Sun Feb 28 11:06:25 2016 -0500 gtk: Strip newlines from g_warning and g_error g_logv adds one for us already. gtk/deprecated/gtkcolorsel.c | 4 ++-- gtk/deprecated/gtkrecentaction.c | 6 ++---- gtk/deprecated/gtkstock.c | 2 +- gtk/deprecated/gtkuimanager.c | 7 +++---- gtk/gtkcalendar.c | 8 ++++---- gtk/gtkcellrendererspinner.c | 2 +- gtk/gtkcolorswatch.c | 2 +- gtk/gtkcssprovider.c | 2 +- gtk/gtkcustompaperunixdialog.c | 2 +- gtk/gtkfilechoosernativewin32.c | 20 ++++++++++---------- gtk/gtkfilechooserwidget.c | 4 ++-- gtk/gtkflowbox.c | 2 +- gtk/gtkiconcache.c | 2 +- gtk/gtkiconhelper.c | 2 +- gtk/gtkicontheme.c | 4 ++-- gtk/gtklinkbutton.c | 2 +- gtk/gtklistbox.c | 4 ++-- gtk/gtkliststore.c | 12 ++++++------ gtk/gtkmain.c | 2 +- gtk/gtkmountoperation-x11.c | 2 +- gtk/gtkmountoperation.c | 6 +++--- gtk/gtkpaned.c | 2 +- gtk/gtkpapersize.c | 2 +- gtk/gtkpixelcache.c | 2 +- gtk/gtkprintbackend.c | 4 ++-- gtk/gtkprintoperation-unix.c | 2 +- gtk/gtkprintoperation-win32.c | 2 +- gtk/gtkrbtree.c | 2 +- gtk/gtkrecentchooserdefault.c | 4 ++-- gtk/gtksettings.c | 2 +- gtk/gtksocket.c | 8 ++++---- gtk/gtkstack.c | 2 +- gtk/gtktextbufferserialize.c | 4 ++-- gtk/gtktextview.c | 2 +- gtk/gtktreedatalist.c | 2 +- gtk/gtktreeselection.c | 2 +- gtk/gtktreestore.c | 12 ++++++------ gtk/gtkwidget.c | 4 ++-- gtk/gtkwin32.c | 6 +++--- gtk/gtkwindow.c | 8 ++++---- 40 files changed, 83 insertions(+), 86 deletions(-) commit 72b40266bde69effa75fabae960748c2c7832a4d Author: Paolo Borelli Date: Sun Feb 28 16:22:31 2016 +0100 gdkwindow: cleanup, avoid direct access to display members gdk/gdkdisplay.c | 8 ++++++++ gdk/gdkdisplayprivate.h | 2 ++ gdk/gdkwindow.c | 9 +++++---- 3 files changed, 15 insertions(+), 4 deletions(-) commit 450b39f4e4fd8a6c904ed8663d1b2257381c2eb8 Author: Piotr Drąg Date: Sun Feb 28 17:11:05 2016 +0100 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit aaed73671c2fa90490b875435ace29829379373d Author: Paolo Borelli Date: Sun Feb 28 15:33:28 2016 +0100 win32: close the screen when disposing the display gdk/win32/gdkdisplay-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit 54ebe5d3c5cb56a0235515a9a709362deb5cdaaf Author: Matthias Clasen Date: Sun Feb 28 09:38:31 2016 -0500 Add a release note about subclassing This is showing up in bug reports like https://bugzilla.gnome.org/show_bug.cgi?id=762754 so better add a note that gives a hint at the solution. README.in | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 870a5b424f4ff3b07d5524c581e61db5945497ff Author: Timm Bäder Date: Fri Feb 26 14:09:28 2016 +0100 frame: Don't move border gadget and child down Setting label-yalign should affect the border gadget, but we need to compensate for its position by moving the child down or up, depending on the border gadget's position, so the child never moves. https://bugzilla.gnome.org/show_bug.cgi?id=762123 gtk/gtkframe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d59c796a9d639e771c62e5aceadbbacad11e719a Author: Emmanuele Bassi Date: Sun Feb 28 12:21:26 2016 +0000 Fix builddir != srcdir The gdkprivate-wayland.h header file is included from the top-level gdk directory; this means that all included files referenced in the header must be relative to the `gdk` directory, otherwise the build will fail when the build directory is not equal to the source directory. This commit fixes a build failure under continuous: In file included from ../../gdk/gdkdisplaymanager.c:60:0: ../../gdk/wayland/gdkprivate-wayland.h:40:51: fatal error: gtk-primary-selection-client-protocol.h: No such file or directory #include "gtk-primary-selection-client-protocol.h" ^ compilation terminated. Makefile:1155: recipe for target 'libgdk_3_la-gdkdisplaymanager.lo' failed make[4]: *** [libgdk_3_la-gdkdisplaymanager.lo] Error 1 gdk/wayland/gdkprivate-wayland.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 41a371c435533aee5f050500c90507844cb1e45e Author: Paolo Borelli Date: Sun Feb 28 12:03:00 2016 +0100 win32: factor out on_displaychange_event method for the screen This allows us to make more initialization methods private to the screen object. gdk/win32/gdkdisplay-win32.c | 4 ---- gdk/win32/gdkprivate-win32.h | 3 +-- gdk/win32/gdkscreen-win32.c | 23 +++++++++++++++-------- 3 files changed, 16 insertions(+), 14 deletions(-) commit 48d693ea802ce418af3a2f9f798a0a3490f0f3cb Author: Paolo Borelli Date: Sun Feb 28 11:56:01 2016 +0100 win32: make init_root_window private to the screen object It can be called during the screen object initilization gdk/win32/gdkdisplay-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 1 - gdk/win32/gdkscreen-win32.c | 6 ++++-- 3 files changed, 4 insertions(+), 4 deletions(-) commit b20f80e65a7e1ab5905131a308b9e655312c217d Author: Paolo Borelli Date: Sun Feb 28 11:53:10 2016 +0100 win32: move function Just reorder code in preparation to calling functions defined before this one gdk/win32/gdkscreen-win32.c | 78 ++++++++++++++++++++++----------------------- 1 file changed, 39 insertions(+), 39 deletions(-) commit 00f396dea98e7ec718a18ad191f2a47f5de2374b Author: Paolo Borelli Date: Sun Feb 28 11:50:07 2016 +0100 win32: rename initialization function for clarity gdk/win32/gdkdisplay-win32.c | 3 +-- gdk/win32/gdkprivate-win32.h | 2 +- gdk/win32/gdkscreen-win32.c | 4 +++- 3 files changed, 5 insertions(+), 4 deletions(-) commit 58e169c04c281cf6c40453908af64bcd95ae85a8 Author: Paolo Borelli Date: Sun Feb 28 11:25:54 2016 +0100 win32: do not confuse gtk-doc gdk/win32/gdkevents-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e48bd2e00be2463bdd6c0a9f37331c2254c479b7 Author: Paolo Borelli Date: Sat Feb 27 15:23:19 2016 +0100 win32: move gdkvisual code in gdkscreen Except for the init function, all the visual related code is made of gdkscreen vfuncs, so let's move it to gdkscreen-win32. This way we avoid keeping other static variables and instead store the info inside the screen struct. gdk/Makefile.am | 1 - gdk/win32/Makefile.am | 1 - gdk/win32/gdkdisplay-win32.c | 1 - gdk/win32/gdkprivate-win32.h | 14 -- gdk/win32/gdkscreen-win32.c | 336 +++++++++++++++++++++++++++++++++++++++-- gdk/win32/gdkvisual-win32.c | 345 ------------------------------------------- gdk/win32/makefile.msc | 1 - 7 files changed, 325 insertions(+), 374 deletions(-) commit 0f3a211d35c57c6c909d245c4e49dec953af7227 Author: Matthias Clasen Date: Sat Feb 27 23:46:25 2016 -0500 gtk-demo: Simplify ui files a bit Strip unneeded IDs. demos/gtk-demo/application.ui | 18 +++++++++--------- demos/gtk-demo/font-features.ui | 6 +++--- demos/gtk-demo/main.ui | 18 +++++++++--------- demos/gtk-demo/stack.ui | 10 +++++----- demos/gtk-demo/theming.ui | 42 ++++++++++++++++++++--------------------- 5 files changed, 47 insertions(+), 47 deletions(-) commit 492fec62949019c8344c872e51b8bd0516948bba Author: Matthias Clasen Date: Sat Feb 27 23:43:06 2016 -0500 gtk-demo: Put hte app menu in a separate file No need to cram it in the same file as the main window. demos/gtk-demo/appmenu.ui | 19 +++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/main.c | 2 +- demos/gtk-demo/main.ui | 15 --------------- 4 files changed, 21 insertions(+), 16 deletions(-) commit 9d5ad67c91c76b71b31342f53c04f56c93773b35 Author: Matthias Clasen Date: Sat Feb 27 23:35:33 2016 -0500 gtk-demo: Add some padding in sidebar Add some padding on the right, to avoid the scrollbar and make the sidebar appear balanced. demos/gtk-demo/main.ui | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 213f74fe823f1d835c2d4fba04877a9a39d6d2f4 Author: Matthias Clasen Date: Sat Feb 27 23:28:17 2016 -0500 tutorial: Drop excessive margin from headerbar It is no longer necessary to add extra margins around the center child in a headerbar. examples/application10/window.ui | 1 - examples/application2/window.ui | 1 - examples/application3/window.ui | 1 - examples/application4/window.ui | 1 - examples/application5/window.ui | 1 - examples/application6/window.ui | 1 - examples/application7/window.ui | 1 - examples/application8/window.ui | 1 - examples/application9/window.ui | 1 - 9 files changed, 9 deletions(-) commit 87554eb57a101aa6a2e2f3a7a6ff5eaa09a5ede8 Author: Matthias Clasen Date: Sat Feb 27 23:12:15 2016 -0500 widget-factory: Make the sliding opt-in The sliding is a little disorienting, so turn it off by default and add a checkbutton for it in the gear menu. demos/widget-factory/widget-factory.c | 22 ++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 5 ++++- 2 files changed, 26 insertions(+), 1 deletion(-) commit 98a36955fec680b05675c7a6ba738897e65a37c9 Author: Matthias Clasen Date: Sat Feb 27 23:03:55 2016 -0500 file chooser: Don't ellipsize "Other Locations" It just looks wrong if the file chooser comes up with "Other Locations" ellipsized. Treat it like the other fixed entries. We only want to ellipsize bookmarks, because their length is unpredictable. gtk/gtksidebarrow.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) commit a7a934a60cc9e1e52fc6ded89f41c4ab3efefa9a Author: Matthias Clasen Date: Sat Feb 27 22:39:09 2016 -0500 gtk3-demo: Update css Clean up any deprecation warnings from the css examples in gtk3-demo. demos/gtk-demo/css_shadows.css | 4 +-- demos/gtk-demo/cssview.css | 10 ++++---- demos/gtk-demo/reset.css | 57 +----------------------------------------- 3 files changed, 8 insertions(+), 63 deletions(-) commit 9b71a9b4aec27aac3e11f0a2725e3bc9359952e1 Author: Jordi Mas Date: Sat Feb 27 20:22:55 2016 +0100 Update Catalan translation po/ca.po | 3939 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2116 insertions(+), 1823 deletions(-) commit 34630319298c98b65c744c8de945d24550a8a30a Author: Benjamin Otte Date: Sat Feb 27 17:02:59 2016 +0100 win32 theme: Implement GtkFrame gtk/gtkwin32draw.c | 44 ++++++++++++++++++++++---------------- gtk/theme/win32/gtk-win32-base.css | 35 ++++++++++++++++++++++++------ 2 files changed, 54 insertions(+), 25 deletions(-) commit 39bfac0876125aee0ee6013513c36c80875e322f Author: Benjamin Otte Date: Sat Feb 27 05:46:00 2016 +0100 win32 theme: Remove special case for notebooks The special case is coded into Wine, but it makes notebooks disappear wrong. So remove it. gtk/theme/win32/gtk-win32-base.css | 16 ---------------- 1 file changed, 16 deletions(-) commit 5d34ee729d45e362d5644cfabf3cac6ed9ab8ed2 Author: Benjamin Otte Date: Sat Feb 27 14:23:06 2016 +0100 win32: Implement fallback code for tabs This is naive code in that it doesn't do the rounded edges for the tab items yet. We can fix that later I guess. gtk/gtkwin32draw.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit b18e64e6c697dadfab002b3bd6ae578c6cc25fd9 Author: Benjamin Otte Date: Sat Feb 27 14:16:50 2016 +0100 win32: Add fallback drawing code for window frames gtk/gtkwin32draw.c | 49 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) commit 879333d226c0874042324b48db7473989c2466e9 Author: Benjamin Otte Date: Sat Feb 27 13:28:14 2016 +0100 win32: Finish button drawing code We now draw real Windows 95 buttons. Also split out a draw_edge() function that is supposed to emulate Windows' DrawEdge() function. I guess we'll need it in other places, too. gtk/gtkwin32draw.c | 107 ++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 94 insertions(+), 13 deletions(-) commit 70d689cddda0dc616af97e8ed047d0c0acf7c7a6 Author: Paolo Borelli Date: Sat Feb 27 11:43:18 2016 +0100 gdk: calculate pixel color shift and precision lazily This gets rid of the decompose_mask utility entirely and simplifies backend code. gdk/broadway/gdkvisual-broadway.c | 18 -------- gdk/gdkvisual.c | 92 +++++++++++++++++---------------------- gdk/gdkvisualprivate.h | 12 ----- gdk/quartz/gdkvisual-quartz.c | 10 ----- gdk/win32/gdkvisual-win32.c | 48 +++++++++----------- gdk/x11/gdkvisual-x11.c | 26 +---------- gdk/x11/gdkwindow-x11.c | 13 ++++-- 7 files changed, 73 insertions(+), 146 deletions(-) commit f73e7680ed1a29be2f13350b29d180ea9cfbcbec Author: Paolo Borelli Date: Sat Feb 27 10:46:59 2016 +0100 gdk: factor out utility shared among backends Removes duplicated code and makes sure we use the version which is safe against infinite loops gdk/broadway/gdkvisual-broadway.c | 32 -------------------------------- gdk/gdkvisual.c | 27 +++++++++++++++++++++++++++ gdk/gdkvisualprivate.h | 4 ++++ gdk/quartz/gdkvisual-quartz.c | 21 --------------------- gdk/win32/gdkvisual-win32.c | 25 ------------------------- gdk/x11/gdkvisual-x11.c | 30 ------------------------------ 6 files changed, 31 insertions(+), 108 deletions(-) commit 053e549dbccfb5c4155324546e95be91e3f34d39 Author: Benjamin Otte Date: Sat Feb 27 03:58:40 2016 +0100 notebook: Redo notebook implementation So far, this only reworks the tabs at top implementation. Windows doesn't have support for theming tabs at left/right/bottom so we need to figure out what to do there. Wine falls back to unthemed code. gtk/theme/win32/gtk-win32-base.css | 210 ++++++++++++++++++++++++++++++++- gtk/theme/win32/gtk.css | 234 ------------------------------------- 2 files changed, 206 insertions(+), 238 deletions(-) commit 245d217e06be3b84aae877aea50c1737732e0c15 Author: Benjamin Otte Date: Sat Feb 27 03:56:07 2016 +0100 boxgadget: Add ability to draw children in reverse This is necessary for GtkNotebook so that the stack is always drawn before the header. And that is necessary so that the active tab can use negative margins to overdraw the border of the stack to create a gap and simulate old GTK2-style visuals for notebooks. gtk/gtkboxgadget.c | 18 +++++++++++++++--- gtk/gtkboxgadgetprivate.h | 2 ++ gtk/gtknotebook.c | 5 +++++ 3 files changed, 22 insertions(+), 3 deletions(-) commit a2fa6471995a6cdda3c4e3884f30c90cddbe1143 Author: Benjamin Otte Date: Sat Feb 27 00:40:09 2016 +0100 cssimagewin32: IMplement printing Caveat: over() and margins() arent' printed, but they are soon gonna be removed anyway. gtk/gtkcssimagewin32.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit e45cb3340c5b1682b8d960431d262dd873da6194 Author: Benjamin Otte Date: Fri Feb 26 06:49:35 2016 +0100 window: Include decoration border and padding in resize area This is relevant for the Windows theme, which is the only theme that uses padding on decorations. All other themes are unaffected. gtk/gtkwindow.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit cdb1cda68bc484c5d52203888847f9a115b4afe0 Author: Benjamin Otte Date: Sat Feb 27 03:48:46 2016 +0100 notebook: The active tab is now :checked :active is reserved for "mouse button down on node", so we have to use something else. And stack switcher and radio buttons use :checked for the active widget, so it makes sense to use :checked for the active tab, too. Themes have been adapted. TODO: Implement :active for tabs. gtk/gtknotebook.c | 8 +- gtk/theme/Adwaita/_common.scss | 14 +- gtk/theme/Adwaita/gtk-contained-dark.css | 472 ++++++++-------- gtk/theme/Adwaita/gtk-contained.css | 488 ++++++++-------- gtk/theme/HighContrast/_common.scss | 10 +- gtk/theme/HighContrast/gtk-contained-inverse.css | 676 +++++++++++------------ gtk/theme/HighContrast/gtk-contained.css | 626 ++++++++++----------- 7 files changed, 1147 insertions(+), 1147 deletions(-) commit 6b4788c3ea3e74bab71e465456b815f3b8a279b4 Author: Benjamin Otte Date: Sat Feb 27 03:39:51 2016 +0100 textview: Support borders in text node gtk/gtktextview.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit d7bc0fd24cffe09cbd8b82b9119ec777ff570737 Author: Benjamin Otte Date: Sat Feb 27 03:26:52 2016 +0100 textview: Fix coordinates when background drawing of text node Fixes black areas in source view of gtk-demo. gtk/gtktextview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 914f7bd6e48a09025ae35927813fdee863a53881 Author: Matthias Clasen Date: Fri Feb 26 19:41:25 2016 -0500 wayland: Survive without primary selection I am testing GTK+ master against mutter 3.19.90, so I'd like GTK+ to survive even when the compositor does not support the primary selection interface. gdk/wayland/gdkdevice-wayland.c | 13 ++++++++----- gdk/wayland/gdkselection-wayland.c | 11 +++++++---- 2 files changed, 15 insertions(+), 9 deletions(-) commit b72996cde485049c9905ea4f563ba9f74c234eae Author: Cédric Valmary Date: Fri Feb 26 20:56:32 2016 +0000 Updated Occitan translation po/oc.po | 2635 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 1654 insertions(+), 981 deletions(-) commit ca3d87ce70e1a9c00a37d40eb0d8039d92368a1d Author: Matthias Clasen Date: Fri Feb 26 15:50:31 2016 -0500 Avoid an out-of-bounds access When the offset gets smaller than min_offset, we can't access the array at that position. gtk/gtktextiter.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 8ff40b5d149b041aae324e8cc4dff64a26bd09eb Author: Matthias Clasen Date: Fri Feb 26 15:50:08 2016 -0500 Plug a small memory leak testsuite/gtk/rbtree.c | 2 ++ 1 file changed, 2 insertions(+) commit 88e372cd090e9cc4ee81ca368d43f8b4fc91d8a8 Author: Matthias Clasen Date: Fri Feb 26 14:55:20 2016 -0500 infobar: Avoid a memory leak in an error case Parsing could sometimes fail to free some of the data, if a nonexisting widget is referenced. Found by gcc's leak sanitizer. gtk/gtkinfobar.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit c784d5d700c7d6c03680eb21de19c8391e8ffac3 Author: Matthias Clasen Date: Fri Feb 26 14:51:24 2016 -0500 levelbar: Avoid a use-after-free We were freeing the old offset before using its name to recreate a new one. Don't do that. Found by gcc's undefined behavior sanitizer. gtk/gtklevelbar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 5ca860dcaf0b636b50fe54cd2abff7e92091bdb3 Author: Matthias Clasen Date: Fri Feb 26 14:50:25 2016 -0500 dialog: Avoid a memory leak in an error case Parsing could sometimes fail to free some of the data, if a nonexisting widget is referenced. Found by gcc's leak sanitizer. gtk/gtkdialog.c | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) commit 6108c646c57c6c489225f5e5e6484ac282c07bdf Author: Matthias Clasen Date: Fri Feb 26 14:48:21 2016 -0500 cssselector: Don't invoke undefined behavior Avoid undefined behavior in the calculation of some hash values. Found by gcc's undefined behavior sanitizer. gtk/gtkcssselector.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2cabfcc80100b1863e82439e7b39eed024eb3a24 Author: Matthias Clasen Date: Fri Feb 26 14:47:16 2016 -0500 Avoid an a crash with GTK_DEBUG=builder We might cast objects to GtkBuildable even if they aren't, to print their names. Don't do that. Found by gcc's address sanitizer. gtk/gtkbuilder.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 9f37557ffc2441150f6855e04c17d9f4e793cfb1 Author: Matthias Clasen Date: Fri Feb 26 13:08:45 2016 -0500 Fix an memory overrun This was detected by gccs address sanitizer. gdk/wayland/gdkdisplay-wayland.c | 1 + 1 file changed, 1 insertion(+) commit 3084eca14b98be0ac94c5e0973c00022efdaa75c Author: Cédric Valmary Date: Fri Feb 26 20:35:37 2016 +0000 Updated Occitan translation po-properties/oc.po | 4357 ++++++++++++++++++++++++++++----------------------- 1 file changed, 2418 insertions(+), 1939 deletions(-) commit a2c575e34e6625a0813ebf57a100aafd314ec9ae Author: Carlos Garnacho Date: Fri Feb 26 00:28:05 2016 +0100 wayland: Use the page size as the selection buffer size And ensure we don't attempt to read EOF twice, once is enough. gdk/wayland/gdkselection-wayland.c | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) commit ed3c87df7a09ba1e0145c6b912a58f4a056d2925 Author: Carlos Garnacho Date: Thu Feb 4 17:33:51 2016 +0100 wayland: Implement the (so far internal) primary selection protocol Implement it using the internal copy of the protocol. Otherwise, we just deal with it the same than clipboard selection, just mapping it to the PRIMARY atom instead of the CLIPBOARD one. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/gdkdevice-wayland.c | 62 +++++++- gdk/wayland/gdkdisplay-wayland.c | 6 + gdk/wayland/gdkdisplay-wayland.h | 1 + gdk/wayland/gdkprivate-wayland.h | 13 +- gdk/wayland/gdkselection-wayland.c | 293 ++++++++++++++++++++++++++++++------- 5 files changed, 315 insertions(+), 60 deletions(-) commit f9f558671421762e4799e077eab3c64b8b873cfe Author: Carlos Garnacho Date: Tue Feb 23 20:32:31 2016 +0100 wayland: Make the function to get the last serial a seat one This will be useful for primary selection. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/gdkdevice-wayland.c | 12 +++++++----- gdk/wayland/gdkprivate-wayland.h | 4 ++-- gdk/wayland/gdkwindow-wayland.c | 16 +++++++--------- 3 files changed, 16 insertions(+), 16 deletions(-) commit 787e1d71133089668f0ef8ec19b4d50eb1d89e4e Author: Carlos Garnacho Date: Tue Feb 23 20:20:42 2016 +0100 wayland: Add gtk-primary-selection protocol This protocol is an internal mirror of the primary selection drafts being proposed for wayland-protocols. No changes besides prefix/suffix changes. https://bugzilla.gnome.org/show_bug.cgi?id=762561 gdk/wayland/Makefile.am | 3 + gdk/wayland/protocol/gtk-primary-selection.xml | 225 +++++++++++++++++++++++++ 2 files changed, 228 insertions(+) commit 4fd5ad2f07645363ecf80a0036b5b76c98d13ff8 Author: Lapo Calamandrei Date: Fri Feb 26 19:01:19 2016 +0100 Adwaita: notebook tab sizing fix gtk/theme/Adwaita/_common.scss | 3 +++ gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++++ gtk/theme/Adwaita/gtk-contained.css | 4 ++++ 3 files changed, 11 insertions(+) commit 0a6ee5e2cfe365e9ff6d391193edecf511d3a962 Author: Fredy Paquet Date: Fri Feb 26 17:21:26 2016 +0000 W32: Fix for commit 1f74f12d9, re-enabling decimal separator key 1f74f12d9 rendered entry of keypad decimal mark unuseable for several national keyboard layouts, this commit amends that, at least for W32, and makes GTK+ behave more or less the same way W32 behaves. The patch works like this: - When typing the first character at the keyboard or when switching keyboard layouts, the decimal mark character will be cached in the static variable "decimal_mark" within gdkkeys-win32.c - in case of WIN32, gdk_keyval_to_unicode() asks gdkkeys-win32.c for the current decimal_mark when converting GDK_KEY_KP_Decimal. https://bugzilla.gnome.org/show_bug.cgi?id=756751 gdk/gdkkeyuni.c | 12 ++++++++++++ gdk/win32/gdkkeys-win32.c | 22 ++++++++++++++++++++-- gdk/win32/gdkprivate-win32.h | 2 ++ 3 files changed, 34 insertions(+), 2 deletions(-) commit 9f606b827092e2edd887686507cd6e4bb368bb07 Author: Lapo Calamandrei Date: Fri Feb 26 13:15:37 2016 +0100 Adwaita: stricter selector for split headerbar separator with a descendant select was erroneusly catching normal headerbar separators in paned split headerabar case, see gedit. Using a child selector fixes. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 296a7c24f946c2c612ddb881a557158f48cbc460 Author: Lapo Calamandrei Date: Fri Feb 26 13:07:09 2016 +0100 Adwaita: simplify mixed buttons styling gtk/theme/Adwaita/_common.scss | 20 +++----------------- gtk/theme/Adwaita/gtk-contained-dark.css | 16 ++++------------ gtk/theme/Adwaita/gtk-contained.css | 16 ++++------------ 3 files changed, 11 insertions(+), 41 deletions(-) commit 1a0b6568fa9536682ab2929041e6b7296484d219 Author: Lapo Calamandrei Date: Fri Feb 26 12:53:02 2016 +0100 Adwaita: fix separator in non paned using split headerbar Fixes https://bugzilla.gnome.org/show_bug.cgi?id=762593 gtk/theme/Adwaita/_common.scss | 4 ++++ gtk/theme/Adwaita/gtk-contained-dark.css | 20 +++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 20 +++++++++----------- 3 files changed, 22 insertions(+), 22 deletions(-) commit ea9e8221b19f1145aa48a9c4f261ca7bd5057e64 Author: Carlos Soriano Date: Fri Feb 26 11:54:53 2016 +0100 gtkplacessidebar: use gpointers in trash row It's the right casting. Forgot to push it with the previous patch. gtk/gtkplacessidebar.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 377ac909b7919a12109b4dfb0877589afbbd5a46 Author: Carlos Soriano Date: Fri Feb 26 11:01:38 2016 +0100 gtkplacessidebar: clean up trash row on destroy Track with a weak ref the trash row, so we can clean up the data in the private struct. Spotted and reviewed by Christian Hergert. gtk/gtkplacessidebar.c | 7 +++++++ 1 file changed, 7 insertions(+) commit c3e56d3d83b59f4ca869f93434e168d00f42682d Author: Gábor Kelemen Date: Fri Feb 26 09:14:53 2016 +0000 Updated Hungarian translation po/hu.po | 819 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 468 insertions(+), 351 deletions(-) commit c61764b0f9248cf419bfef251184ccd81855b59c Author: Руслан Ижбулатов Date: Wed Feb 24 17:20:33 2016 +0000 GDK W32: Fix the filling of MINMAXINFO 1) MSDN says that the coordinates of the maximized window must be specified as if the window was on the primary display, even if nearest display where it ends up is not the primary display. So instead of using nearest display work area verbatim, use it only to account for taskbar size, while using primary display top-left corner (0:0) as the reference point. 2) MSDN says that max tracking size is a system property, we should just call GetSystemMetrics() and use that. https://bugzilla.gnome.org/show_bug.cgi?id=762629 gdk/win32/gdkevents-win32.c | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit d3f713529ab2c1fcbf1a35de0a3a38cf9fb49399 Author: Matthias Clasen Date: Fri Feb 26 00:13:34 2016 -0500 Document CSS win32 size support docs/reference/gtk/css-properties.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) commit 34e204952e1887a35468c34c802cc51436a53b2d Author: Benjamin Otte Date: Fri Feb 26 03:17:01 2016 +0100 win32 theme: Make titlebuttons look like they're the right size This is a hack because we can't really rtesize the buttons. Instead, we draw the background only over the area that they would be drawn if they were drawn by Windows. The button is still selectable outside of this area, but what can you do... gtk/theme/win32/gtk.css | 3 +++ 1 file changed, 3 insertions(+) commit ad204c88caaf8ffbe213ea5d2ba47c93bdfad71d Author: Benjamin Otte Date: Fri Feb 26 03:15:53 2016 +0100 win32 theme: Fix decorations ... and draw them properly. gtk/theme/win32/gtk.css | 42 +++++++++++++++++++++++++++++++++++++----- 1 file changed, 37 insertions(+), 5 deletions(-) commit 5522ce96498ba09b1cac31515b1d78443f9d3696 Author: Matthias Clasen Date: Thu Feb 25 21:19:31 2016 -0500 xi2: Add some more debug spew Log the valuators we use or ignore. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 8b93c013c37ec16bfe6ee74d9c763796e34852fe Author: Matthias Clasen Date: Thu Feb 25 20:49:09 2016 -0500 inspector: Simplify general tab setup Factor out the code to create a listbox row with two labels, and use it throughout. gtk/inspector/general.c | 216 +++++++++++++++--------------------------------- 1 file changed, 66 insertions(+), 150 deletions(-) commit 4f5f299266bb028ef9d9f18cae95f967428b7d48 Author: Matthias Clasen Date: Thu Feb 25 20:28:23 2016 -0500 inspector: React to device changes Recreate the device section in the general tab when devices come or go. gtk/inspector/general.c | 32 ++++++++++++++++++++++++++++---- 1 file changed, 28 insertions(+), 4 deletions(-) commit 5b2e8831616170e8a9c155700bf19c774d5cb6e9 Author: Matthias Clasen Date: Thu Feb 25 20:16:21 2016 -0500 Remove redundant words from docs An either without an or doesn't add anything. gdk/gdkseat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit f749152efea322006fdd4c87daeaaf3d853c9a64 Author: Matthias Clasen Date: Thu Feb 25 20:12:53 2016 -0500 Fix a copy-paste error gdk/gdkdisplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a051e5677edb1656173520f9aef20f722ff07ac0 Author: Matt Watson Date: Wed Feb 24 10:41:45 2016 -0800 widget-factory: transition pages https://bugzilla.gnome.org/show_bug.cgi?id=762642 demos/widget-factory/widget-factory.ui | 2 ++ 1 file changed, 2 insertions(+) commit 5df1e98b2ac8698539a7e7416fdb18d5c3ad36ed Author: Benjamin Otte Date: Thu Feb 25 23:20:31 2016 +0100 window: Draw decorations in the right place When we draw our own shadows, we need to offset the calls to render the background to the border rectangle. gtk/gtkwindow.c | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) commit 09b15710933d4727246079d2345b84c59e9defc3 Author: Matthias Clasen Date: Thu Feb 25 16:36:13 2016 -0500 Better baseline adjustment The way we were adjusting baselines if min-height forces a size increase was not quite working as intended. Redo it in a simpler way: just split up the excess and count half of it for above the baseline and half below. This fixes button labels in dialogs appearing too low. gtk/gtkcssgadget.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit a975e733dcb0c270255d64136f00461547140491 Author: Matthias Clasen Date: Thu Feb 25 16:17:34 2016 -0500 fix a typo gtk/gtkwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0213815d2f6d8abfaaf02346971ccab16f6500d1 Author: Timm Bäder Date: Thu Feb 25 19:23:40 2016 +0100 Move .keycap docs from GtkFrame to GtkLabel That's where .keycap is used nowadays. gtk/gtkframe.c | 3 +-- gtk/gtklabel.c | 3 ++- 2 files changed, 3 insertions(+), 3 deletions(-) commit 77594be976d3835ced3b583dd314e286892e168c Author: Timm Bäder Date: Thu Feb 25 18:41:24 2016 +0100 frame: Measure border gadget separately https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 51 +++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 43 insertions(+), 8 deletions(-) commit 3431451463b3567ed6addb9490e36ed84ebebb77 Author: Timm Bäder Date: Thu Feb 25 18:40:44 2016 +0100 frame: Let GtkContainer handle border-width https://bugzilla.gnome.org/show_bug.cgi?id=760482 gtk/gtkframe.c | 24 ++++++++++-------------- 1 file changed, 10 insertions(+), 14 deletions(-) commit abd781a2c99803d2e08665ad1bda5f08dba49723 Author: Matthias Clasen Date: Thu Feb 25 13:18:02 2016 -0500 icon helper: Don't set baseline to 0 It is clearly not the intention that the baseline of icons is at the very top. The visible effect of this was that spin buttons were higher than expeted, because the box gadget was trying to line up the baseline of the text with the top of the buttons, forcing extra height to be requested. Just don't set a baseline at all for now. gtk/gtkiconhelper.c | 5 ----- 1 file changed, 5 deletions(-) commit 8920b6a65091e48eb3e0276f1fb3762bc580982c Author: Artur de Aquino Morais Date: Thu Feb 25 16:30:11 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 680 +++++++++++++++++++++++++------------------------ 1 file changed, 344 insertions(+), 336 deletions(-) commit 40269f4e5dd91193a53f8bb6728d37b384d10359 Author: Piotr Drąg Date: Thu Feb 25 17:26:45 2016 +0100 Updated Polish translation po-properties/pl.po | 734 ++++++++++++++++++++++++++-------------------------- 1 file changed, 369 insertions(+), 365 deletions(-) commit 3a9ceffe12927fd229e91623d476b53a70618d42 Author: Benjamin Otte Date: Tue Feb 23 05:05:37 2016 +0100 win32 theme: Make entries and textview work gtk/gtkwin32draw.c | 41 ++++++++++++++++++++++++++++++++ gtk/theme/win32/gtk-win32-base.css | 48 ++++++++++++++++++++++++-------------- 2 files changed, 72 insertions(+), 17 deletions(-) commit 4e8fb33f5677e086e1ba9f5a5650a12be99da99c Author: Benjamin Otte Date: Thu Feb 25 16:14:37 2016 +0100 pixelcache: Don't have a style context argument That would imply the pixelcache monitors the style context for changes and it doesn't do that. Its only use case was opacity checks, so add gtk_pixel_cache_se_is_opaque() instead. gtk/gtkpixelcache.c | 23 +++++++++++------------ gtk/gtkpixelcacheprivate.h | 4 ++-- gtk/gtktextview.c | 11 +++++++++-- gtk/gtkviewport.c | 31 ++++++++++++++++++++++++------- 4 files changed, 46 insertions(+), 23 deletions(-) commit 71a9fd9d83f118abc2ed087792459f3e47a555dd Author: Benjamin Otte Date: Thu Feb 25 15:40:04 2016 +0100 stylecontext: Move background_is_opaque() function The new way, it no longer depends on the style context, but on the CssStyle. This will become relevant in the next commit. gtk/gtkpixelcache.c | 3 ++- gtk/gtkrenderbackground.c | 22 ++++++++++++++++++++++ gtk/gtkrenderbackgroundprivate.h | 16 +++++++++------- gtk/gtkstylecontext.c | 35 ++++++----------------------------- gtk/gtkstylecontextprivate.h | 2 -- 5 files changed, 39 insertions(+), 39 deletions(-) commit 374494b9285c88a5a16366a573eedc5e9537837f Author: Fran Dieguez Date: Thu Feb 25 15:34:16 2016 +0000 Updated Galician translation po/gl.po | 3947 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2117 insertions(+), 1830 deletions(-) commit 53fe9c2b0cfdcf42f5f05ed27d66ff109164d1b7 Author: Ignacio Casal Quinteiro Date: Thu Feb 25 15:25:19 2016 +0100 inspector: use guint to fix the windows build gtk/inspector/general.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 20cf42c9ea977fe441c297a531811990876575c7 Author: Carlos Soriano Date: Thu Feb 25 14:25:40 2016 +0100 gtkplacessidebar: avoid unresponsive UI while trashing We were updating the whole places sidebar when the trash changed. This effectively removes all rows and create new ones for every trash state change. Although when using GtkTreeView it was somehow ok, with the new implementation with GtkListBox this effectively locks the UI while the trash operations are being performed. When performing operations for i.e. 100 files, the UI can be locked for more than 1 minute since gvfs-trash usually takes time. To fix this just update the icon of the trash when the state of the trash change instead of the whole sidebar. https://bugzilla.gnome.org/show_bug.cgi?id=762677 gtk/gtkplacessidebar.c | 21 +++++++++++++++------ gtk/gtksidebarrow.c | 27 +++++++++++++++++++++------ gtk/gtksidebarrowprivate.h | 2 ++ 3 files changed, 38 insertions(+), 12 deletions(-) commit fe4602acc59d4853e23c205ba1ba6d43f55894e8 Author: Matthias Clasen Date: Thu Feb 25 08:26:34 2016 -0500 inspector: Show ::num-touches for touch devices This can be useful information. gtk/inspector/general.c | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) commit a4a7740b2fb73dd70d4462a3d6e2e61bb6ef7820 Author: Matthias Clasen Date: Thu Feb 25 08:25:50 2016 -0500 xi2: Set ::num-touches for touch devices XI2 has this information, so pass it on. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit f468f0fbb26a5f6199b30112420b12b9cc90a6db Author: Matthias Clasen Date: Thu Feb 25 08:25:14 2016 -0500 device: Add a num-touches property Some backends can provide this information for touch devices, and it can be useful to have, so add this property. gdk/gdkdevice.c | 25 +++++++++++++++++++++++++ gdk/gdkdeviceprivate.h | 1 + 2 files changed, 26 insertions(+) commit 197799412889659eec413b0e5cfd371cb64fc82e Author: Carlos Soriano Date: Thu Feb 25 13:39:23 2016 +0100 gtkplacesview: clean up mount server callback And fix a warning of unused variable. Reviewed by Nacho on IRC gtk/gtkplacesview.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) commit e12663378c3efdfc5995bd6222497700e01f54d9 Author: Matthias Clasen Date: Thu Feb 25 06:18:41 2016 -0500 x11: Update seat capabilities The default seat implementation was never returning capabilities, which is broken. It is visible too, since the inspector shows seat information now. gdk/gdkseatdefault.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) commit 84ba01d713df386fb8b141a5c6c1fc393509a3ba Author: Matthias Clasen Date: Thu Feb 25 01:21:27 2016 -0500 inspector: Update for screen config changes Repopulate the display section whenever the monitor configuration changes. gtk/inspector/general.c | 33 ++++++++++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 3 deletions(-) commit 15ccdcd25b2d81d08e3356db7cc5b3bd483081e5 Author: Matthias Clasen Date: Thu Feb 25 01:10:23 2016 -0500 inspector: Don't show numeric ids The vendor and product ids for input devices aren't useful as-is; need to figure out how to translate them to names. gtk/inspector/general.c | 58 ------------------------------------------------- 1 file changed, 58 deletions(-) commit 455935a06aadd70d9301239955f2f6dbc7237f61 Author: Matthias Clasen Date: Thu Feb 25 00:49:17 2016 -0500 inspector: Show more device information This adds vendor and product id and axes. This reveals that the GDK backends have quite different quality when it comes to returning meaningful information here. gtk/inspector/general.c | 138 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 135 insertions(+), 3 deletions(-) commit 03db14c2d62317166081d32c3da015fa56951cc9 Author: Matthias Clasen Date: Thu Feb 25 00:17:09 2016 -0500 inspector: Show some basic device information Add information about seats and their associated devices in the General tab. gtk/inspector/general.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++ gtk/inspector/general.ui | 15 +++++ 2 files changed, 181 insertions(+) commit dde33623ca3a26ab1c480d918bd86b7f2a24d0f2 Author: Matthias Clasen Date: Wed Feb 24 22:18:13 2016 -0500 gadget: Warn about missing size allocation When size_allocate is overridden in widgets, but draw is not, we can end up drawing a gadget that has not been given a size. Warn about this, and limp along by drawing the gadget over the full allocation of its owner widget. https://bugzilla.gnome.org/show_bug.cgi?id=762614 gtk/gtkcssgadget.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) commit c75a8336333f5bcc6c285cc50db8d6daf133311c Author: Matthias Clasen Date: Wed Feb 24 21:59:44 2016 -0500 x11: More fake tablet blacklisting Sigh. Now that we've neutered the QEMU USB tablet, I'm finding that spice is doing just the same nonsense. It has a fake "spice vdagent tablet". Blacklist that as well. gdk/x11/gdkdevicemanager-xi2.c | 1 + 1 file changed, 1 insertion(+) commit 760b540c8cb0bf0201eac3b59a698972d26ec59b Author: Benjamin Otte Date: Thu Feb 25 04:02:39 2016 +0100 treeview: Don't make things way too high If the size-request is larger than the dedicated size, don't increase the dedicated size by the size request, only increase it to the size request. gtk/gtktreeview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 8ed804f1b494c5d3f6bb3fb8c3ee4981f983ccf5 Author: Benjamin Otte Date: Thu Feb 25 03:57:47 2016 +0100 textview: Draw the background properly The background is *not* drawn relative to the clipping area. gtk/gtktextview.c | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) commit 9016a00eddbcbf70b3c8bb503439ab60d7da27b1 Author: Benjamin Otte Date: Thu Feb 25 03:57:11 2016 +0100 treeview: Fix positioning of editing widgets This looks like a thinko. gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 18abf86510042535128b85950337246230c0eec2 Author: Claude Paroz Date: Wed Feb 24 20:56:32 2016 +0100 Updated French translation po-properties/fr.po | 3222 +++++++++++++++++++++++++++------------------------ 1 file changed, 1678 insertions(+), 1544 deletions(-) commit e390e3b8e34fb7701f5996be3dec9bc12789bb72 Author: Ben Iofel Date: Wed Feb 24 14:37:35 2016 -0500 GtkIMContext: remove broken anchors in documentation gtk/gtkimcontext.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit acbb0c4bddc2839d225db3ca8640c1fec94b0b78 Author: William Hua Date: Wed Feb 24 13:24:14 2016 -0500 mir: fix warnings gdk/mir/gdkmir-debug.c | 16 ++++++++-------- gdk/mir/gdkmir-private.h | 10 ---------- gdk/mir/gdkmireventsource.c | 5 ++--- gdk/mir/gdkmirwindowimpl.c | 4 +++- 4 files changed, 13 insertions(+), 22 deletions(-) commit 594ba3071bec162a46d5c1b7d340b2674e3eff5a Author: William Hua Date: Wed Feb 24 13:23:18 2016 -0500 mir: fix GdkSeat-related deprecations gdk/mir/gdkmireventsource.c | 19 +++++++++++++++++-- gdk/mir/gdkmirwindowimpl.c | 10 +++++++++- 2 files changed, 26 insertions(+), 3 deletions(-) commit 60d7f4376ea5ff1722cd20aced72c167372d2a38 Author: Carlos Garnacho Date: Wed Feb 24 17:19:48 2016 +0100 GtkTextHandle: Look up for the first child of a scrolled window found Text handles use to connect to the first GtkScrollable up the hierarchy so they can be repositioned when scrolling. It makes more sense to look up the first child of a GtkScrolledWindow, it must be an scrollable too, and will be the scrollable that can actually change the position of the text handles. https://bugzilla.gnome.org/show_bug.cgi?id=761676 gtk/gtktexthandle.c | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) commit ffea7a267d8d9e3a3f8ae6585b1172970bfd0ff3 Author: Fabrício Godoy Date: Wed Feb 24 15:32:33 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 2 -- 1 file changed, 2 deletions(-) commit bf0ef08e508f4c2f9d80f582f5bf6e1b2231b36f Author: Jordi Mas Date: Wed Feb 24 16:32:23 2016 +0100 Update Catalan translation po/ca.po | 4210 ++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 2065 insertions(+), 2145 deletions(-)