commit 49bd5a97ce9a4bfd1267133c13b1f8883b7e76b9 Author: Matthias Clasen Date: Mon Jun 20 14:17:07 2016 -0400 3.21.3 NEWS | 2 ++ configure.ac | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) commit 1ebfe1db56cc881102d70b8723456093ae811102 Author: Matthias Clasen Date: Mon Jun 20 15:26:26 2016 -0400 Skip GdkDrawingContext in some tests GdkDrawingContext is not freely constructible, so we need to skip it in the notify and finalize tests. testsuite/gtk/notify.c | 1 + testsuite/gtk/objects-finalize.c | 1 + 2 files changed, 2 insertions(+) commit 0eeaa935b9a38cc1f4735b53c21ec0d9e507563e Author: Olivier Fourdan Date: Mon Jun 20 15:52:32 2016 +0200 wayland: do not set PRIMARY selection if focus is lost If keyboard focus is (already) lost, do not advertise PRIMARY selection. https://bugzilla.gnome.org/show_bug.cgi?id=767848 gdk/wayland/gdkdevice-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit dff61b02baf67d3f21d4c3920cbf710ded2dc7d0 Author: Matthias Clasen Date: Mon Jun 20 00:20:01 2016 -0400 Updates NEWS | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 69 insertions(+) commit e01f35ef5f6d4520cc8e10ce284348ca542f2b89 Author: Matthias Clasen Date: Sun Jun 19 23:54:07 2016 -0400 gtk3-demo: Make the filter model example more interesting Allow editing values in the first treeview, to see the derived models update in real time. demos/gtk-demo/filtermodel.c | 30 +++++++++++++++++++++++++++++- demos/gtk-demo/filtermodel.ui | 16 ++++++++++++++-- 2 files changed, 43 insertions(+), 3 deletions(-) commit 8a2812217b9fbf92bfe2ad287f188fed9fe3e1e8 Author: Matthias Clasen Date: Sun Jun 19 23:24:44 2016 -0400 shortcuts: Try harder to disambiguate search items I noticed that some of the gestures did not show up in the search results in the builder example in gtk3-demo, because they share the same title and don't have an accelerator to disambiguate. Include the shortcut type to handle this case. gtk/gtkshortcutswindow.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit 815cc23c4cad2664752965b1739bddbc28df1ab2 Author: Matthias Clasen Date: Sun Jun 19 23:07:17 2016 -0400 gtk-demo: Use max-content-height in the popover example This is what the property was invented for. demos/gtk-demo/popover.c | 3 --- demos/gtk-demo/popover.ui | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) commit c2534af15ef8e8fb1173d9e7501fe8e505471308 Author: Matthias Clasen Date: Sun Jun 19 22:56:20 2016 -0400 gtk3-demo: Fix the modelbutton example The color menu buttons didn't have the necessary target property to be successfully activated. demos/gtk-demo/modelbutton.ui | 3 +++ 1 file changed, 3 insertions(+) commit 2fd984987d1f66a01f0667aad461fdea5963af4c Author: Matthias Clasen Date: Sun Jun 19 22:47:57 2016 -0400 gtk-demo: Fix up some warnings The search entry example was a bit sloppy in cleaning up its sources, causing warnings. demos/gtk-demo/search_entry.c | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) commit 76af90767634f5caea622c2abc13d21adb41550c Author: Matthias Clasen Date: Sun Jun 19 22:23:06 2016 -0400 Add a release note for scrolled windows Mention the changed sizing behavior and how to address it. docs/reference/gtk/migrating-3xtoy.xml | 9 +++++++++ 1 file changed, 9 insertions(+) commit 37e913d76bea6b58a38db1b7996958b81984a114 Author: Matthias Clasen Date: Sun Jun 19 22:16:11 2016 -0400 widget factory: Adapt to new scrolled window behavior Set a max-content-width on some of the scrolled windows to keep things looking mostly the same, now that GtkScrolledWindow passes along the natural size of its child. demos/widget-factory/widget-factory.ui | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit e33e23a6d9403f634003e6fc611ba7d02b5cf950 Author: Carlos Garnacho Date: Mon Jun 13 23:44:31 2016 +0200 treeview: Ensure the treeview has the implicit grab before grabbing focus The cellrenderer signals might be taking the grab somewhere else, at which point it's dubious we should attempt to take the keyboard focus into the treeview. This concretely breaks popovers triggered from cellrenderer signals on button press, because the treeview will attempt to grab focus inconditionally then. https://bugzilla.gnome.org/show_bug.cgi?id=767468 gtk/gtktreeview.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 51799d41e46553633a7e98a3b721eadba67bd5ba Author: Matthew Leeds Date: Wed Jun 15 16:41:58 2016 -0400 GtkActionHelper: Change a message to a warning It's almost certainly a programmer error if an action isn't activatable because its target and parameter type don't match. This commit changes the existing g_message to a g_warning. https://bugzilla.gnome.org/show_bug.cgi?id=767705 gtk/gtkactionhelper.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 76bacfde6e5305021c765ae690972efb1832682d Author: Philip Chimento Date: Wed Jun 15 23:02:11 2016 -0400 style cascade: Allow cascades with more ancestors Previously a style cascade's parent could not have a parent itself. That represented the two levels at which you could add a style provider: at the screen level, with gtk_style_context_add_provider_for_screen(), and at the style context level, with gtk_style_context_add_provider(). This commit changes no functionality, but this change will be necessary for adding style providers in the future that apply to a subtree of the widget tree. It relaxes the requirement that a style cascade's parent must not have a parent, since in the future a style context may be affected by any number of parent widgets' style contexts. https://bugzilla.gnome.org/show_bug.cgi?id=751409 gtk/gtkstylecascade.c | 99 +++++++++++-------- testsuite/gtk/stylecontext.c | 230 +++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 288 insertions(+), 41 deletions(-) commit 1c6b878e090666898acd16664851d82067fb5c9e Author: Matthias Clasen Date: Sun Jun 19 17:49:03 2016 -0400 shortcuts window: Fix handling of significant xml chars We are using markup in the labels, so we need to escape things like < and >. https://bugzilla.gnome.org/show_bug.cgi?id=767795 gtk/gtkshortcutlabel.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit ed2bb7e012989804eae3a02968944cbd70568ae5 Author: Rafael Fontenelle Date: Sat Jun 18 00:29:01 2016 +0000 Updated Brazilian Portuguese translation po-properties/pt_BR.po | 1767 +++++++++++++++++++++++++----------------------- 1 file changed, 919 insertions(+), 848 deletions(-) commit 552e4361289fdaeee69556df9254b0763d861e2e Author: Rafael Fontenelle Date: Fri Jun 17 23:53:20 2016 +0000 Updated Brazilian Portuguese translation po/pt_BR.po | 718 ++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 403 insertions(+), 315 deletions(-) commit 631f6b536485829a0bd00532f5826ad302b4951b Author: Misty De Meo Date: Thu Jun 16 15:59:27 2016 -0700 configure: fix detecting CUPS 2.x https://bugzilla.gnome.org/show_bug.cgi?id=767766 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2f3cb31e55d698fe6ddcc8126b9d1342268a1a98 Author: Ray Strode Date: Thu May 12 15:52:12 2016 -0400 wayland: fall back to shm_open if memfd unavailable Debian stable currently ships with a 3.16 kernel, so it doesn't have memfd available. This commit adds shm_open fall back code for that case (for now). https://bugzilla.gnome.org/show_bug.cgi?id=766341 configure.ac | 3 +++ gdk/wayland/gdkdisplay-wayland.c | 41 +++++++++++++++++++++++++++++++++++++--- 2 files changed, 41 insertions(+), 3 deletions(-) commit bb2ca3b94d53c009c78d0f364c41ae0220ea2c9e Author: Ray Strode Date: Mon May 16 10:20:10 2016 -0400 wayland: fix error handling for memfd_create We currently use syscall() directly to invoke memfd_create, since the function isn't available in libc headers yet. The code, though, mishandles how errors are passed from syscall(). It assumes syscall returns the error code directly (but negative), when in fact, syscall() uses errno. Also, the code fails to retry on EINTR. This commit moves the handling of memfd create to a helper function, and changes the code to use errno and handle EINTR. https://bugzilla.gnome.org/show_bug.cgi?id=766341 gdk/wayland/gdkdisplay-wayland.c | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) commit 080fdfa7f9495fc6cc8c286cbfefc7ecf6d61656 Author: Krzesimir Nowak Date: Thu Jun 16 12:19:54 2016 +0200 docs: Fix a typo in GDK sections file docs/reference/gdk/gdk3-sections.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 847f9f40cf05edaf1f82d5fea4006076572cc720 Author: Matthias Clasen Date: Thu Jun 9 08:05:11 2016 -0400 Mention single-stop gradients in the release notes This is something people stumble over in their custom CSS. docs/reference/gtk/migrating-3xtoy.xml | 6 ++++++ 1 file changed, 6 insertions(+) commit 7246538a9c024fa782505fe55d62f1cfbcce8461 Author: Daniel Mustieles Date: Mon Jun 13 13:17:11 2016 +0000 Updated Spanish translation po-properties/es.po | 1356 ++++++++++++++++++++++++++------------------------- 1 file changed, 687 insertions(+), 669 deletions(-) commit 0ca59bf85a13b8dc5b516d311df9c37e43566c1f Author: Emmanuele Bassi Date: Sun Jun 12 18:55:34 2016 +0100 gdk: Unset the DrawingContext <-> cairo_t link on dispose When disposing a GdkDrawingContext we should unset the association between the instance and the Cairo context; this avoids stale pointers in case a reference that has acquired on the Cairo context survives the lifetime of the GdkDrawingContext. gdk/gdkdrawingcontext.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 222bcf1a71dbd879fe39bfb9239c093b1da6bb4d Author: Emmanuele Bassi Date: Fri Jun 10 17:00:29 2016 +0100 gdk: Try harder at tracking drawing contexts If gdk_cairo_create() is called within a frame draw operation, we can still associate the Cairo context with a GdkDrawingContext. gdk/gdkdrawingcontext.c | 2 +- gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 17 +++++++---------- 3 files changed, 10 insertions(+), 11 deletions(-) commit 32a37351cf8a3758febff4291659d52cfb96f294 Author: GNOME Translation Robot Date: Sat Jun 11 07:54:43 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 472 +++++++++++++++++++++------------------------------- 1 file changed, 188 insertions(+), 284 deletions(-) commit 2118b838d17e9fe2998c63ada7c8dd46dec8ca50 Author: GNOME Translation Robot Date: Fri Jun 10 15:35:34 2016 +0000 Updated Scottish Gaelic translation po-properties/gd.po | 3406 ++++++++++++++++++++++++++------------------------- 1 file changed, 1745 insertions(+), 1661 deletions(-) commit beb3fd662147a6723a29f22c28dee95b57de4064 Author: GNOME Translation Robot Date: Fri Jun 10 15:15:27 2016 +0000 Updated Scottish Gaelic translation po/gd.po | 357 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 192 insertions(+), 165 deletions(-) commit c3f4fe334dbf9aacf2e1404ac1362c180bd7274b Author: Emmanuele Bassi Date: Fri Jun 10 13:55:30 2016 +0100 Deprecate gtk_widget_send_expose() We have various replacements for what this function does, and we are not calling it internally any more. gtk/gtkwidget.c | 9 +++++++-- gtk/gtkwidget.h | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) commit a9a59ac55e01333f8e72ac8807eb6d4c9a9f5017 Author: Tristan Van Berkom Date: Fri Jun 10 21:16:53 2016 +0900 scrolledwindow: Fix calls to gdk_window_move_resize() This is a bit of fallout from 34feba1, now that we resolve the has_indicators value earlier than realize, it becomes possible to call gdk_window_move_resize() before realization. Just added the appropriate checks. gtk/gtkscrolledwindow.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 32675db49086c42d9d58f572740c16e52243031d Author: Stefan Sauer Date: Thu Jun 9 22:37:53 2016 +0200 docs: point to suggested api for deprecated functions We deprecated a bunch of _focus_on_click() functions. Point to the new API in GtkWidget. gtk/gtkbutton.c | 18 ++++++++++-------- gtk/gtkcombobox.c | 4 ++++ gtk/gtkfilechooserbutton.c | 22 +++++++++++++--------- 3 files changed, 27 insertions(+), 17 deletions(-) commit c9916fbc58923f0a43b233934ecdad0592a0ebda Author: Emmanuele Bassi Date: Thu Jun 9 21:35:36 2016 +0100 docs: Add deprecation notice for GtkButton.set_focus_on_click() To match the deprecation annotation on the function declaration. gtk/gtkbutton.c | 2 ++ 1 file changed, 2 insertions(+) commit ddfe3374e3d79c27eabfcf10b31f1ae23457c74f Author: Emmanuele Bassi Date: Thu Jun 9 21:00:13 2016 +0100 Avoid a deprecation warning Some debugging code in GdkWindow still calls gdk_cairo_create(). gdk/gdkwindow.c | 4 ++++ 1 file changed, 4 insertions(+) commit ad78daaf8081d8ea72006832ee3dd5df2e1ed3f9 Author: Emmanuele Bassi Date: Tue Jun 7 17:06:47 2016 +0100 gdk: Deprecate gdk_cairo_create() We have GdkDrawingContext, now, which is in charge of creating Cairo contexts for drawing on a GdkWindow. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkcairo.h | 2 +- gdk/gdkwindow.c | 11 +++++++++++ tests/print-editor.c | 5 +++++ tests/testinput.c | 2 ++ 4 files changed, 19 insertions(+), 1 deletion(-) commit 2d38c40f789ecc5df4de0720c13496eee0429cd7 Author: Emmanuele Bassi Date: Tue Jun 7 16:52:50 2016 +0100 gdk: Explicitly create a cairo context inside GdkDrawingContext Instead of using gdk_cairo_create(), which we'll soon deprecate. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkdrawingcontext.c | 13 +++++++++++-- gdk/gdkinternals.h | 2 ++ gdk/gdkwindow.c | 26 ++++++++++++++++++++++++++ 3 files changed, 39 insertions(+), 2 deletions(-) commit c5d0522a23fbeaccb4b7301df896012fb5288650 Author: Emmanuele Bassi Date: Tue Jun 7 16:40:43 2016 +0100 Deprecate the gdk_window_begin/end_paint family of functions They are replaced by the more appropriate gdk_window_begin_draw_frame() and gdk_window_end_draw_frame() functions. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/gdkwindow.c | 8 +++++--- gdk/gdkwindow.h | 6 +++--- gtk/gtkwidget.c | 8 ++++---- 3 files changed, 12 insertions(+), 10 deletions(-) commit dda6a0d385852ca93badfe4cac02e1e4ae247b09 Author: Emmanuele Bassi Date: Tue Jun 7 16:34:50 2016 +0100 Associate the drawing context to the Cairo context Instead of associating the GdkWindow that created the GdkDrawingContext we can directly bind the Cairo context to the GDK drawing context. Cairo contexts created via gdk_cairo_create() go back to not having a GdkWindow associated to them, like they did before we introduced the gdk_window_begin_draw_frame() API. https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk3-sections.txt | 2 +- gdk/gdkcairo.h | 6 ++++-- gdk/gdkdrawingcontext.c | 31 +++++++++++++++++++++++++++++++ gdk/gdkwindow.c | 29 ----------------------------- gtk/gtkwidget.c | 29 ++++++++++++++++++----------- 5 files changed, 54 insertions(+), 43 deletions(-) commit 01b4bf19208ed65760d3c0f07871701e1094b55f Author: Emmanuele Bassi Date: Mon Jun 6 12:30:46 2016 +0100 docs: Add GdkDrawingContext to the GDK API reference https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk-docs.sgml | 1 + docs/reference/gdk/gdk3-sections.txt | 16 ++++++++++++++++ docs/reference/gdk/gdk3.types | 1 + 3 files changed, 18 insertions(+) commit a7ef37da2af0ef5b51b1320476970827a2fdb350 Author: Emmanuele Bassi Date: Mon May 30 09:44:30 2016 +0100 Add GdkDrawingContext Instead of giving out Cairo contexts, GdkWindow should provide a "drawing context", which can then create Cairo contexts on demand; this allows us to future proof the API for when we're going to use a different rendering pipeline, like OpenGL. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gdk/Makefile.am | 3 + gdk/gdk.h | 1 + gdk/gdkdrawingcontext.c | 275 +++++++++++++++++++++++++++++++++++++++++ gdk/gdkdrawingcontext.h | 53 ++++++++ gdk/gdkdrawingcontextprivate.h | 29 +++++ gdk/gdkinternals.h | 4 + gdk/gdkwindow.c | 91 +++++++++++--- gdk/gdkwindow.h | 7 +- gdk/gdkwindowimpl.h | 5 + gtk/gtkwidget.c | 6 +- 10 files changed, 453 insertions(+), 21 deletions(-) commit 2c7b21718f18ab743cd79784ae28cad582f58503 Author: Emmanuele Bassi Date: Fri May 20 16:59:51 2016 +0100 Simplify the widget rendering entry point Now that GDK has the appropriate API, we can simplify the widget drawing code into a single function. https://bugzilla.gnome.org/show_bug.cgi?id=766675 gtk/gtkmain.c | 27 +----------- gtk/gtkwidget.c | 114 +++++++++++++++++++++++++++++-------------------- gtk/gtkwidgetprivate.h | 5 +++ 3 files changed, 74 insertions(+), 72 deletions(-) commit fc569f1ac6ff108afc17f7f439480273826af3a6 Author: Emmanuele Bassi Date: Fri May 20 16:55:12 2016 +0100 Add frame drawing API to GdkWindow Existing code drawing on a GDK window has to handle the direct drawing and the buffered drawing by itself, by checking the window type and whether or not the window is backed by a native windowing surface. After that, the calling code has to create a Cairo context from the window and keep an association between the context and the window itself. This is completely unnecessary: GDK can determine whether or not it should use a backing store to draw on a GdkWindow as well as create a Cairo context, and keep track of it. This allows to simplify the calling code, and enforce some of the drawing behavior we want to guarantee to users. https://bugzilla.gnome.org/show_bug.cgi?id=766675 docs/reference/gdk/gdk3-sections.txt | 4 + gdk/gdkcairo.h | 2 + gdk/gdkwindow.c | 450 ++++++++++++++++++++++------------- gdk/gdkwindow.h | 8 + 4 files changed, 302 insertions(+), 162 deletions(-) commit d6187c9a028f678287cc2a7f72e1ea9997fd19d0 Author: Tristan Van Berkom Date: Tue Jun 7 14:02:37 2016 +0900 scrolledwindow test: Check natural width for max content size The maximum content size does not increase the minimum request but only ensures that both minimum and natural requests do not exceed the maximum setting. testsuite/gtk/scrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 34feba1e7c5c86164592588bde479c97a5b96160 Author: Tristan Van Berkom Date: Tue Jun 7 14:09:28 2016 +0900 scrolledwindow: Resolve whether we use overlay scrollbars early. Widgets should support size requests before being realized in general, otherwise this can cause flicker/resize at initial display time as the toplevel window can make a request before realize/allocate. This also makes the added testsuite/gtk/scrolledwindow.c test work again, this was broken because we only ever calculate whether we are going to use overlay scrollbars once the scrolled window is realized (and the test case does not realize any window). gtk/gtkscrolledwindow.c | 37 ++++++++++++++++++++++++------------- 1 file changed, 24 insertions(+), 13 deletions(-) commit d7e242eec03a1056cdc0808aef6bcf1002b4df8b Author: Tristan Van Berkom Date: Tue Jun 7 14:04:42 2016 +0900 scrolledwindow: Bug 766569 - General size request fixes. This patch does a couple of things: o Removes the obscure 'extra_width' and 'extra_height' variables making the request code exceedingly difficult to read o Fixes the max-content-size properties introduced in bug 742281 so that they do not grow the minimum request. o Cleanup of request code in general: - min/max content sizes are clamped around the child request as needed - scrollbar requests are only added in one place, after child request sizes are calculated and without the extra_width/height thing. gtk/gtkscrolledwindow.c | 110 ++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 73 deletions(-) commit 32885605c7d589773930f095b4ef55c902cbf36d Author: Emmanuele Bassi Date: Wed Jun 8 14:20:02 2016 +0100 Fix build Commit 023f406c9617284ee3b88727df489f20cd066fd6 has a typo that results in this error: ../../../testsuite/gtk/notify.c: In function 'test_type': ../../../testsuite/gtk/notify.c:679:54: error: expected expression before ')' token (g_str_equal (pspec->name, "max-content-width") ||) ^ testsuite/gtk/notify.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit d9a6517d5f9371648c625e75b3deb413f960c2f3 Author: Timm Bäder Date: Wed Jun 8 07:31:45 2016 +0200 wayland: Make sure window titles fit into a wl_buffer A wl_buffer has a max size of 4096 bytes, of which 8 are needed for the header and another 4 for the string argument length (in this case), so make sure the we only save the first 4083 bytes that are still valid UTF8. https://bugzilla.gnome.org/show_bug.cgi?id=767241 gdk/wayland/gdkwindow-wayland.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) commit 023f406c9617284ee3b88727df489f20cd066fd6 Author: Matthias Clasen Date: Wed Jun 8 09:03:12 2016 -0400 test: Skip GtkScrolledWindow::max-content- properties The allowed values for the max-content- properties depend on the value of the min-content- properties, in a way that our simple test is not prepared to deal with. Just skip them for now. testsuite/gtk/notify.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 85407180cf81946db15bb51c783526387931594f Author: Olivier Fourdan Date: Wed May 25 15:07:51 2016 +0200 wayland: add extended state for tiled xdg-shell allows desktop environments to extend the list of states within a given range. Use this possibility to add a new state for tiled so that gtk+ can benefit from this. https://bugzilla.gnome.org/show_bug.cgi?id=766860 gdk/wayland/gdkwindow-wayland.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit 6de0ecb78eaf9e987353c83039304b7ef379cdca Author: Jakub Steiner Date: Wed Jun 8 12:15:55 2016 +0200 HC: focus outline more prominent - make visible regardless of colors used - make larger and more inset https://bugzilla.gnome.org/show_bug.cgi?id=767310 gtk/theme/HighContrast/_common.scss | 13 +++---------- gtk/theme/HighContrast/gtk-contained-inverse.css | 19 ++++++------------- gtk/theme/HighContrast/gtk-contained.css | 19 ++++++------------- 3 files changed, 15 insertions(+), 36 deletions(-) commit 199ad2c14ba9a2ed305858d23f19913c33c1178e Author: Lapo Calamandrei Date: Wed Jun 8 13:39:39 2016 +0200 Adwaita: .osd button.color remove box-shadow from colorbutton colorswatch when an ancestor has the osd styleclass applied. gtk/theme/Adwaita/_common.scss | 16 +++++++++++----- gtk/theme/Adwaita/gtk-contained.css | 4 +++- 2 files changed, 14 insertions(+), 6 deletions(-) commit a0ee8f7f0a511f251da050a430da5ec93d7a1396 Author: Lapo Calamandrei Date: Wed Jun 8 13:28:07 2016 +0200 Adwaita: centralize outline-color define outline-color generally using alpha(currentColor, 0.3), which avoids setting it in a bunch of different places. gtk/theme/Adwaita/_common.scss | 7 +------ gtk/theme/Adwaita/gtk-contained-dark.css | 7 ++----- gtk/theme/Adwaita/gtk-contained.css | 10 +++------- 3 files changed, 6 insertions(+), 18 deletions(-) commit ff5304ee13ad734b066d9b2c08185e20f137cf06 Author: Kjell Ahlstedt Date: Wed Jun 8 10:30:22 2016 +0200 Make gtk_scrolled_window_remove() smart If gtk_scrolled_window_add() has added a GtkViewport, gtk_container_remove (GTK_CONTAINER (scrolled_window), child_widget); or gtk_container_remove(GTK_CONTAINER(scrolled_window), gtk_bin_get_child(GTK_BIN(scrolled_window))); removes both the added child widget and the viewport. https://bugzilla.gnome.org/show_bug.cgi?id=710471 gtk/gtkscrolledwindow.c | 50 +++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 48 insertions(+), 2 deletions(-) commit 3f3a226090aad1f583f40cd954eb9c15f568b62d Author: Matthias Clasen Date: Tue Jun 7 23:40:32 2016 -0400 Update GtkLabel::angle docs We can have wrapped or ellipsized labels at an angle nowadays. Still no selections though. gtk/gtklabel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f23e99b063857a4a3f9e2fc81ff62021820edb77 Author: Matthias Clasen Date: Tue Jun 7 23:04:40 2016 -0400 scale, spinbutton: Avoid -0.0 This is a very longstanding bug; time to finally put it to rest. https://bugzilla.gnome.org/show_bug.cgi?id=118959 gtk/gtkscale.c | 18 +++++++++++++++++- gtk/gtkspinbutton.c | 15 ++++++++++++++- 2 files changed, 31 insertions(+), 2 deletions(-) commit 7f06f2818aaef1994cb7224d95522b956bfd4ab8 Author: Matthias Clasen Date: Tue Jun 7 21:28:44 2016 -0400 Ensure that GtkRange allocates enough space for the value This is a long-standing problem of GtkScale. https://bugzilla.gnome.org/show_bug.cgi?id=766372 https://bugzilla.gnome.org/show_bug.cgi?id=578626 https://bugzilla.gnome.org/show_bug.cgi?id=79229 gtk/gtkrange.c | 11 +++++++++++ gtk/gtkrange.h | 6 +++++- gtk/gtkscale.c | 26 ++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) commit dce4003c20bfd0a5100bd60dc0e923277b89684b Author: Matthias Clasen Date: Tue Jun 7 16:35:06 2016 -0400 Fix preconditions in set_max_content_size setters We must allow resetting the properties to -1. gtk/gtkscrolledwindow.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 775e277ab9753609b45063eb8c0171b3103a252d Author: Benjamin Otte Date: Tue Jun 7 16:08:52 2016 +0200 widget: Add classes to widget path even if no style context exists yet This removes leftover code from when classes where added to the style context. Now that they get added directly to css nodes, the classes can exist without a style context. https://bugzilla.gnome.org/show_bug.cgi?id=767312 gtk/gtkwidget.c | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) commit 0d407bcd6c5ad8e9279d667dfb8225991b998d02 Author: Carlos Garnacho Date: Tue Jun 7 00:27:19 2016 +0200 searchenginetracker: Fix prefix searches With the FTS5 query syntax, when using quotes to delimit the search phrase the '*' token must happen after the quote, or will otherwise be considered a character to match, go through the tokenizer, and end up ignored in result. gtk/gtksearchenginetracker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 289fc9640bbeba1096f15bb0b735d0361cf4c9dc Author: Matthias Clasen Date: Mon Jun 6 14:29:27 2016 -0400 Revert "scrolledwindow: Bug 766569 - Report child natural size unconditionally" This reverts commit 0943c9f6b2c3ad5827ae5d8f3742f75e72782e41. The commit caused unexpected breakage in gtk3-widget-factory, and also broke the just-added max-content-size properties. gtk/gtkscrolledwindow.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 5892bd72fa5dec120a8aadbe04c01c806e29ae86 Author: Matthias Clasen Date: Mon Jun 6 14:33:25 2016 -0400 widget-factory: Use max-content-size in a popover This gives a nice example of these properties in action, in the "Open" popover on page 3. demos/widget-factory/widget-factory.ui | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 03742e83fb0b12588a5461465a39f3e2587feafb Author: Tristan Van Berkom Date: Mon Jun 6 11:55:44 2016 +0900 scrolledwindow: Bug 767238 - Fixing up for max content sizes Needed to adjust this again after applying commit 4e5ecb7 for bug 742281. Now that we also have max content size properties, pushed the addition of possible scrollbar sizes to after the clause which clamps the child request size into min/max content sizes. gtk/gtkscrolledwindow.c | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) commit 72ea348ad624c184aed437704e5a31e5eefb16cc Author: Phillip Wood Date: Mon Apr 25 13:16:21 2016 +0100 Fix hiding popover when focus moves outside Commit a01fe14 changed the behaviour of popovers when the focus leaves them to stop child popovers being hidden when the focus leaves their parent. However they are now a bit too reluctant to hide - if the focus passes to an unrelated popover the first popover is not hidden. Also if the focus passes to another widget that does not perform a gtk grab then the popover isn't hidden until the user presses a non-movement key or clicks outside the popover. The solution is to go back to checking if the focused widget is a descendant of the popover, but to include popovers and their related widgets in the ancestry chain. https://bugzilla.gnome.org/show_bug.cgi?id=765595 gtk/gtkpopover.c | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) commit 0943c9f6b2c3ad5827ae5d8f3742f75e72782e41 Author: Tristan Van Berkom Date: Sat Jun 4 20:57:23 2016 +0900 scrolledwindow: Bug 766569 - Report child natural size unconditionally This patch causes the scrolled window default behavior to change in such a way that the natural size request of the child is unconditionally reported, which probably should have been the case since day 1. This should not cause significant fallout since a scrolled window is normally used to expand/fill, eating up remaining space for scrollable content - it will however cause the scrolled window to compete for additional space with siblings, proportionally to the size of the scrolled window's content. gtk/gtkscrolledwindow.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit c4224bf9d0483ebc029e3567ba5e3c9a61e0eb28 Author: Matthias Clasen Date: Sun Jun 5 22:20:38 2016 -0400 treeview: fix an off-by-one error gtk_tree_view_get_path_at_pos() mistakenly identifies the first pixel of all but the first column in a tree view as belonging to the previous column. https://bugzilla.gnome.org/show_bug.cgi?id=708148 gtk/gtktreeview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b97c490b8761a165c995b169e4f29e7fd572e288 Author: Christian Dywan Date: Tue Oct 14 12:33:00 2008 +0000 object test: Also test object type properties Old patch found in bugzilla, it still applies and doesn't cause the test to fail. https://bugzilla.gnome.org/show_bug.cgi?id=556254 testsuite/gtk/object.c | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) commit 321ddb8697a22cbff67979de9e838b5233c546de Author: Matthias Clasen Date: Sun Jun 5 21:47:16 2016 -0400 Make gtk_tooltip_trigger_tooltip_query work again This was broken ever since we started looking at the source device of the event. https://bugzilla.gnome.org/show_bug.cgi?id=674215 gtk/gtktooltip.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 57d00e004abc32297dc229cc4d84aa79b280f3a8 Author: Matthias Clasen Date: Sun Jun 5 20:54:49 2016 -0400 inspector: Ellipsize accessible description. This string can be long, and we don't want to break the ui gtk/inspector/misc-info.ui | 2 ++ 1 file changed, 2 insertions(+) commit c8cab6a79ae9adbfc34b2a73e95c553d7980f39e Author: Matthias Clasen Date: Sun Jun 5 19:36:36 2016 -0400 viewport: Free gadgets in finalize This is the right place for this. gtk/gtkviewport.c | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) commit b4ebe4e5c1166b38ebb6230fea73873c7ebf5ac9 Author: Matthias Clasen Date: Sun Jun 5 19:36:09 2016 -0400 scrolled window: Free gestures and gadgets in finalize This is the right place for this. gtk/gtkscrolledwindow.c | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) commit 9a8335a135f9d983d9f28696b585a08edfbc1a4b Author: Matthias Clasen Date: Sun Jun 5 19:35:36 2016 -0400 range: Free gadgets in finalize This is the right place for this. gtk/gtkrange.c | 41 ++++++++++++++++++++++++++--------------- 1 file changed, 26 insertions(+), 15 deletions(-) commit ca43f6ee28b7d83a92628c2562d078c0188decc2 Author: Matthias Clasen Date: Sun Jun 5 19:35:12 2016 -0400 notebook: Free gadgets in finalize This is the right place for this. gtk/gtknotebook.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit eff09fabfad0b46b985b3af21e9c1e1d875c1a90 Author: Matthias Clasen Date: Sun Jun 5 19:34:30 2016 -0400 menu: Free gadgets in finalize This is the right place to do this. gtk/gtkmenu.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) commit 9c50b8bc2f93c487064a45db471b3035e3a8ccdb Author: Matthias Clasen Date: Sun Jun 5 19:33:21 2016 -0400 button: Free gadgets and gestures in finalize This is the right place to free them. gtk/gtkbutton.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 3962b907bb346fd86b1a95c446120b89c0bddf7f Author: Georges Basile Stavracas Neto Date: Thu Jun 2 22:32:56 2016 -0300 testsuite: add tests for scrolledwindow This patch adds a set of tests for scrolled window sizing, covering both min- and max-content width and height. https://bugzilla.gnome.org/show_bug.cgi?id=742281 testsuite/gtk/Makefile.am | 1 + testsuite/gtk/scrolledwindow.c | 139 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) commit 657fcd0717e543f0b7187e5221de9130427ac94b Author: Georges Basile Stavracas Neto Date: Wed Jun 1 23:32:35 2016 -0300 tests: adapt testscrolledwindow to have max content sizes This patch adpats the current test to show a popover with max-content-width and -height properties set. https://bugzilla.gnome.org/show_bug.cgi?id=742281 tests/testscrolledwindow.c | 147 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 145 insertions(+), 2 deletions(-) commit 4e5ecb705247df55979891cd9e4c1c0617a9b71a Author: Georges Basile Stavracas Neto Date: Wed Jun 1 23:18:37 2016 -0300 scrolledwindow: add ::max-content-width and -height properties The GtkScrolledWindow has support to set the minimum content size (both width and height) which controls the minimum space allocated, but does not exposes any way to control the maximum size the content can grow. After the introduction of GtkPopover, which always uses the minimum size of it's children widgets, the lack of max-content-width and -height properties became a concrete use case. This patch introduces the GtkScrolledWindow::max-content-width and -height properties. The properties will alter the minimum size of the scrolled window, making it grow up to the set value. They also respect the previously set ::min-content-width and -height. https://bugzilla.gnome.org/show_bug.cgi?id=742281 gtk/gtkscrolledwindow.c | 190 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkscrolledwindow.h | 11 +++ 2 files changed, 201 insertions(+) commit bd86715ed3e8dec5caab605fa3afc04ce013906a Author: Руслан Ижбулатов Date: Sun Jun 5 07:37:02 2016 +0000 GDK W32: Fix dragging AeroSnap application The original patch for commit b420c53773ca5119afb43f0f351cb8f33c2bcaf9 was applied incorrectly, doing the actual snapping in the wrong place. Move the code. gdk/win32/gdkwindow-win32.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit b42d4b5b9aff549320e2279ad839c2ecb6357845 Author: Matthias Clasen Date: Fri Jun 3 16:30:00 2016 -0400 progressbar: Render text with the text css node This is the same fix that was just applied to GtkScale. gtk/gtkprogressbar.c | 57 +++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 48 insertions(+), 9 deletions(-) commit 3f3c1768c947f8be1a4c43111bf04a74e016ab77 Author: Matthias Clasen Date: Fri Jun 3 10:49:29 2016 -0400 scale: Also queue a resize if font changes As Benjamin pointed out, what AFFECTS_FONT can also affect size, but the implication is not automatic, so queue a resize manually. gtk/gtkscale.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) commit b18ebbb164a89029f6f25f82da1ddf0d3162469a Author: Pavel Grunt Date: Thu Jun 2 15:35:38 2016 +0200 gdktypes: Update docs for GDK_GRAB_FAILED Mention in documentation that it is available since 3.16 https://bugzilla.gnome.org/show_bug.cgi?id=767165 gdk/gdktypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fd9f7babf6635c00a54e144049aa4bd932e46d8c Author: Matthias Clasen Date: Fri Jun 3 00:30:59 2016 -0400 scale: Apply css style to text Use the new functions we have to apply CSS styles to the value and marks text from their respective subnodes. gtk/gtkscale.c | 104 +++++++++++++++++++++++++++++++++++++++++++++------------ 1 file changed, 83 insertions(+), 21 deletions(-) commit db50849d7918cc4337042e22b29ce13377e3d454 Author: Matthias Clasen Date: Fri Jun 3 00:29:05 2016 -0400 Add a function to get a font from a css style Similar in spirit to gtk_style_context_get (ctx, state, "font", ...) but avoids the need for a style context. This will be used to for css-styled text rendering from css subnodes. gtk/gtkcssstyle.c | 19 +++++++++++++++++++ gtk/gtkcssstyleprivate.h | 1 + 2 files changed, 20 insertions(+) commit 7b0929ad388d26e7c24620c5b8e93f9401eb8859 Author: Matthias Clasen Date: Fri Jun 3 00:19:24 2016 -0400 Add a function to turn a css style into pango attributes This is _gtk_style_context_get_pango_attributes, decoupled from the GtkStyleContext. This will be used to drive css-styled text rendering from css subnodes of widgets, e.g. for the value in GtkScale. gtk/gtkcssstyle.c | 76 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcssstyleprivate.h | 2 ++ gtk/gtkstylecontext.c | 71 +------------------------------------------- 3 files changed, 79 insertions(+), 70 deletions(-) commit a961b05200d7a9fb8f7fc97babbd04c19b37c2cb Author: Timm Bäder Date: Thu Jun 2 21:52:11 2016 +0200 widget: Avoid a deprecation warning gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit de8af768974b12e6b290fb813ed45bbb66a24f16 Author: Matthias Clasen Date: Tue May 31 23:33:54 2016 -0400 Show a scroll cursor when appropriate When doing two-finger scrolling or click scrolling using a trackpoint, show the all-scroll cursor to indicate what is going on. https://bugzilla.gnome.org/show_bug.cgi?id=753202 gtk/gtkscrolledwindow.c | 55 +++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 51 insertions(+), 4 deletions(-) commit 3d0f76801d008facae8aa3b6f0cdf439712775aa Author: Matthias Clasen Date: Tue May 31 23:14:30 2016 -0400 wayland: Provide information about scroll devices The Wayland protocol does not share XI2's wealth of information about individual devices, but it does provide discriminating information about the source for scroll events. Pass this on to the application by creating separate slave devices for these, and setting them as source device on the scroll events. These devices can be discriminated by their input-source property: wheel - GDK_SOURCE_MOUSE finger - GDK_SOURCE_TOUCHPAD continuous - GDK_SOURCE_TRACKPOINT https://bugzilla.gnome.org/show_bug.cgi?id=767093 fix up gdk/wayland/gdkdevice-wayland.c | 154 ++++++++++++++++++++++++++++++++++++---- 1 file changed, 139 insertions(+), 15 deletions(-) commit 5264209bf1537682833c689ba96544b9403f87be Author: Matthias Clasen Date: Wed Jun 1 14:18:46 2016 -0400 a11y tests: Update expected output These changes were caused by the introduction of GtkStackAccessible. testsuite/a11y/about.txt | 142 ----------------------------------------- testsuite/a11y/menubutton2.txt | 4 +- testsuite/a11y/menubutton3.txt | 4 +- testsuite/a11y/stack.txt | 16 ----- 4 files changed, 4 insertions(+), 162 deletions(-) commit 1dbbe7f251787fe189e5877540852aa75120a3ed Author: Matthias Clasen Date: Wed Jun 1 13:12:19 2016 -0400 button css node test: Update for switch style changes We no longer add the redundant .slider style class in GtkSwitch. Update expected results to reflect that. testsuite/css/nodes/buttons.nodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 28b9e16272d3b3b5505c73be355a06b61c691bb6 Author: Matthias Clasen Date: Wed Jun 1 13:11:27 2016 -0400 css node tests: Update expected results We were not propagating direction changes in some places, evidently. Now we do. testsuite/css/nodes/box-packing.rtl.nodes | 8 ++++---- testsuite/css/nodes/box.rtl.nodes | 8 ++++---- testsuite/css/nodes/checkbutton.rtl.nodes | 6 +++--- testsuite/css/nodes/expander.rtl.nodes | 4 ++-- testsuite/css/nodes/levelbar.rtl.nodes | 2 +- testsuite/css/nodes/notebook.bottom.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.left.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.right.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/notebook.top.rtl.nodes | 24 ++++++++++++------------ testsuite/css/nodes/paned.rtl.nodes | 6 +++--- 10 files changed, 65 insertions(+), 65 deletions(-) commit f3f64d17c2451d2a4f002cf3941e5dc53887cec8 Author: Matthias Clasen Date: Wed Jun 1 11:52:20 2016 -0400 popover menu: Improved labeled separators Embed the label in the middle of the separators instead of putting it above the separator. https://bugzilla.gnome.org/show_bug.cgi?id=767108 gtk/gtkmenusectionbox.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) commit bb6cce4e6f9452280b09ad41513bb9c748b6b9cc Author: Bastien Nocera Date: Wed Jun 1 15:58:22 2016 +0200 Separators not correctly placed What it should look like: Bold ---- /Size/ x 0.5 x 1.0 What it looks like: Bold /Size/ ---- x 0.5 x 1.0 https://bugzilla.gnome.org/show_bug.cgi?id=767108 tests/testgmenu.c | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) commit 743d18c0f8655de44b1e7c96e040847a900acc34 Author: Matthias Clasen Date: Wed Jun 1 07:01:37 2016 -0400 scrolled window: Remove trackpoint heuristics This is now done in GDK, so we can just use the input type here. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gtk/gtkscrolledwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 660c8b8f9bb35bd5d2819f5506b609f289382efd Author: Matthias Clasen Date: Wed Jun 1 06:58:43 2016 -0400 x11: Mark trackpoints as GDK_SOURCE_TRACKPOINT This uses the same heuristics that are currently used in GtkScrolledWindow. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gdk/x11/gdkdevicemanager-xi2.c | 3 +++ 1 file changed, 3 insertions(+) commit a9f14846e40ee67abb9d4085ca62db42803fe20f Author: Matthias Clasen Date: Wed Jun 1 06:57:46 2016 -0400 gdk: Add GDK_SOURCE_TRACKPOINT Having this as an input source type will let us do the heuristics in the GDK backends. https://bugzilla.gnome.org/show_bug.cgi?id=767100 gdk/gdkdevice.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3ab7645ac180355d9c20ae0f4bd0e1046981a3bf Author: Matthias Clasen Date: Wed Jun 1 07:00:18 2016 -0400 Avoid a deprecation warning gtk/gtksizegroup.c | 2 ++ 1 file changed, 2 insertions(+) commit 7c397c621cb6ba7ba3575083b1510f226e7e25f4 Author: Olivier Fourdan Date: Tue May 31 15:25:52 2016 +0200 headerbar: do not show buttons for modals/transients GtkHeadeBar checks the window type hint to determine if the regular buttons such as menu, maximize or iconify should be visible in the header bar. However, an application may very well use a "normal" toplevel window and set it transient and modal afterwards. In such a case, the iconify button would remain visible, and the user can hide the window, but being a modal, the parent window would remain insensitive. Check for the window type, modality and transient relationship to decide whether or not the regular toplevel buttons should be visible in the header bar. https://bugzilla.gnome.org/show_bug.cgi?id=767052 gtk/gtkheaderbar.c | 14 ++++++++------ gtk/gtkwindow.c | 4 ++++ 2 files changed, 12 insertions(+), 6 deletions(-) commit 11e22aadda28160d8c62438c7af3cec0d8b054d5 Author: Matthias Clasen Date: Tue May 31 22:05:58 2016 -0400 wayland: Better debug info for scroll axes Print human readable names for axes and axis sources. gdk/wayland/gdkdevice-wayland.c | 52 +++++++++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 7 deletions(-) commit dbe499bcfef2504204c24eda6404bf2269fda67a Author: Matthias Clasen Date: Tue May 31 16:33:18 2016 -0400 docs: Add a release note about GtkSizeGroup::ignore-hidden docs/reference/gtk/migrating-3xtoy.xml | 8 ++++++++ 1 file changed, 8 insertions(+) commit 430916973abc2e640d8b9eca3d1028b2e980d09d Author: Matthias Clasen Date: Tue May 31 16:32:20 2016 -0400 GtkShortcutsSection: avoid deprecation warnings We could just as well remove these calls here, since they have no effect. gtk/gtkshortcutssection.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit d76c07836bce88c33c71ca75a82d1fbfa8a5f2bc Author: Matthias Clasen Date: Tue May 31 16:19:52 2016 -0400 Document GtkSizeGroup::ignore-hidden as broken ...and deprecate it, recommending GtkStack as an alternative. gtk/gtksizegroup.c | 29 +++++++++++++++++++++++++---- gtk/gtksizegroup.h | 4 ++-- 2 files changed, 27 insertions(+), 6 deletions(-) commit 69f8b4bb7776210faa64dae60d53636b5106d1be Author: Lapo Calamandrei Date: Tue May 31 20:58:35 2016 +0200 Adwaita: ensure menuitem labels are not overridden see https://bugzilla.gnome.org/show_bug.cgi?id=767058 gtk/theme/Adwaita/_common.scss | 7 +++- gtk/theme/Adwaita/gtk-contained-dark.css | 58 ++++++++++++++++++++++---------- gtk/theme/Adwaita/gtk-contained.css | 58 ++++++++++++++++++++++---------- 3 files changed, 88 insertions(+), 35 deletions(-) commit 4dbe7c99c2390a9613fb79a436c6e8b6384808f8 Author: Timm Bäder Date: Sun May 29 18:34:35 2016 +0200 entry: Fix undershoot position wrt entry icons Draw them inside of the icons, which is where the text scrolls. gtk/gtkentry.c | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) commit 14e33ab0f58fe11f973ff8f7615b3044b2113889 Author: Matthias Clasen Date: Mon May 30 20:24:13 2016 -0400 README: Refer to release notes online We don't want to maintain this information in two places, so just link to the online documentation here. README.in | 291 ++------------------------------------------------------------ 1 file changed, 5 insertions(+), 286 deletions(-) commit 3bed458723b7dfb162f9498fc5a50b32eebdf224 Author: Matthias Clasen Date: Mon May 30 20:21:48 2016 -0400 docs: Fix a duplicate ID This was causing navigation in the online docs to be confused. docs/reference/gtk/migrating-3xtoy.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f168de3ada3a074df7184010ff43714fc8864dbe Author: Matthias Clasen Date: Mon May 30 16:14:36 2016 -0400 Add a warning for a broken situation When we emit ::draw, the widget should not have alloc_needed set anymore. If this happens, it indicates a broken situation. Add a warning to help tracking down why this might occur. See https://bugzilla.gnome.org/show_bug.cgi?id=765410 gtk/gtkwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit d36f866b27e148bfdcd88fcd27c3a2f03a5157a5 Author: Matthias Clasen Date: Mon May 30 16:07:52 2016 -0400 gtk3-demo: Fix some css warnings Update the font: syntax to follow css. demos/gtk-demo/css_accordion.css | 2 +- demos/gtk-demo/cssview.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 9d5fe264202dd92eec7611541537e7faa79f112a Author: Timm Bäder Date: Mon May 30 20:40:43 2016 +0200 build: add GtkStack accessible private header at the right place gtk/a11y/Makefile.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1a9845c17609d98d04efc55969cb2ffff3cf1709 Author: Daniel Mustieles Date: Mon May 30 19:16:21 2016 +0200 Updated Spanish translation po/es.po | 144 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 70 insertions(+), 74 deletions(-) commit 6301827dacc0c3e1a25ab99c65022f3e581cb2bc Author: Timm Bäder Date: Sun May 22 08:24:46 2016 +0200 range: Properly indent closing brace Make sure it's obvious what if block it belongs to. gtk/gtkrange.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0b0d4765a00706be78f2485ab0937bc8cbb04031 Author: Timm Bäder Date: Sun May 29 13:51:02 2016 +0200 Add GtkStackAccessible Show only the currently visible child to a11y. gtk/a11y/Makefile.inc | 3 + gtk/a11y/gtkstackaccessible.c | 109 +++++++++++++++++++++++++++++++++++ gtk/a11y/gtkstackaccessible.h | 54 +++++++++++++++++ gtk/a11y/gtkstackaccessibleprivate.h | 32 ++++++++++ gtk/gtkstack.c | 7 +++ 5 files changed, 205 insertions(+) commit 5029e1147362b3c723da558dcaa59e5c1e08d339 Author: Timm Bäder Date: Mon May 30 08:59:46 2016 +0200 tests/scrolling-performance: Define MyTextView The type is used in widget-factory.ui, so add a dummy definition here to keep the test working. tests/scrolling-performance.c | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) commit 106bc95771b9ad25cce7d5327bf528266bfc8022 Author: Cédric Valmary Date: Mon May 30 16:59:28 2016 +0000 Updated Occitan translation po/oc.po | 294 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 152 insertions(+), 142 deletions(-) commit 73708b39ac69c5444964afe465a3b7cbba85ada1 Author: Cédric Valmary Date: Mon May 30 16:58:07 2016 +0000 Updated Occitan translation po-properties/oc.po | 955 ++++++++++++++++++++++++++-------------------------- 1 file changed, 482 insertions(+), 473 deletions(-) commit 0c387b27ee9b0ac2f4041c78404cd0b489207d82 Author: Lapo Calamandrei Date: Mon May 30 14:20:33 2016 +0200 Adwaita: explicitelly set label caret-color to currentColor since it doesn't always inherit 'color' color as it should. gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 26 ++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 26 ++++++++++++++------------ 3 files changed, 30 insertions(+), 24 deletions(-) commit f54e28177c51c663100a2eb8e0401fd17cc0556c Author: Lapo Calamandrei Date: Mon May 30 13:56:23 2016 +0200 Adwaita: make selection on infobars visible see https://bugzilla.gnome.org/show_bug.cgi?id=745622 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 14 ++++---------- gtk/theme/Adwaita/gtk-contained.css | 14 ++++---------- 3 files changed, 9 insertions(+), 21 deletions(-) commit 77ef33b095e9c9401e501a4ea4220fc9664c7e85 Author: Theppitak Karoonboonyanan Date: Mon May 30 12:45:19 2016 +0700 Updated Thai translation po/th.po | 376 ++++++++++++++++++++++----------------------------------------- 1 file changed, 129 insertions(+), 247 deletions(-) commit e13f04a9fae4925ae349975b71d7aa67129d0bca Author: Jordi Mas Date: Sat May 28 07:27:51 2016 +0200 Fixes to Catalan translation po/ca.po | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 1fcf9c8f6d671a6dd0768d3a2d6b3e9c0267e841 Author: Jordi Mas Date: Sat May 28 07:21:39 2016 +0200 Update Catalan translation po-properties/ca.po | 1831 ++++++++++++++++++++++++++------------------------- 1 file changed, 936 insertions(+), 895 deletions(-) commit d1d763ce58889dda7fa537927f7b15abecfdf06c Author: Lapo Calamandrei Date: Fri May 27 11:34:47 2016 +0200 Adwaita: remove textview border see https://bugzilla.gnome.org/show_bug.cgi?id=764203 gtk/theme/Adwaita/_common.scss | 28 +--------------------------- gtk/theme/Adwaita/gtk-contained-dark.css | 18 +----------------- gtk/theme/Adwaita/gtk-contained.css | 18 +----------------- 3 files changed, 3 insertions(+), 61 deletions(-) commit a7e069509341cdbbf48a28a677548fd174cf32af Author: Theppitak Karoonboonyanan Date: Fri May 27 15:49:58 2016 +0700 Updated Thai translation po/th.po | 1510 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 801 insertions(+), 709 deletions(-) commit 694ba1298ed85ffd8ae6fc8c342c9e7f360d0baa Author: Rico Tzschichholz Date: Fri May 27 09:27:53 2016 +0200 x11: Replace RROutput with XID as used in GdkX11Monitor This avoids an unconditional use of XRandr symbol. gdk/x11/gdkscreen-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e7765daf64efc4660ff619c2af6737c77283886c Author: Thomas Lange Date: Wed May 25 20:16:04 2016 +0200 placesview: Do not mark icon name as translatable https://bugzilla.gnome.org/show_bug.cgi?id=766878 gtk/ui/gtkplacesview.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)