commit 85ff269adf9e402c7301ec3bd6d67e5f62e04780 Author: Matthias Clasen Date: Tue Jul 7 10:51:45 2015 -0400 3.16.5 NEWS | 26 ++++++++++++++++++++++++++ configure.ac | 4 ++-- 2 files changed, 28 insertions(+), 2 deletions(-) commit 92933fd3adf218adc2989e5167dfa13edaf913ac Author: Cosimo Cecchi Date: Wed Jun 10 20:21:57 2015 -0700 reftests: fix style class syntax in CSS file Fixes reftests. https://bugzilla.gnome.org/show_bug.cgi?id=750605 testsuite/reftests/label-text-shadow-changes-modify-clip.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 28e77210758a28acfa7dcad792c506065a545f4d Author: Jasper St. Pierre Date: Sun Jul 5 15:45:49 2015 -0700 gdkdisplay-x11: The leader window should be an input-only window This prevents it from creating a _NET_WM_USER_TIME_WINDOW, which can confuse mutter / other window managers, and also me, when debugging. gdk/x11/gdkdisplay-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a074d86842b0185394e6b3205616aebaeafce907 Author: Emmanuele Bassi Date: Sat Jul 4 19:33:23 2015 +0100 docs: Drop deprecated symbolic icon names Do not suggest using icons that do not exist. gtk/deprecated/gtkarrow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 9ff88ce2c7a44484c9898ba6f1be9ada72d93b94 Author: Emmanuele Bassi Date: Sat Jul 4 19:30:22 2015 +0100 container: Update the add() warning Now that gtk_widget_reparent() has been deprecated, we should not suggest it. gtk/gtkcontainer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit d509888580e8d207b8e54e70d8ddf46f7a0fcff3 Author: Matthias Clasen Date: Wed Jul 1 18:02:57 2015 -0700 GtkSwitch: fix a reentry issue The introduction of state broke some users which relied on being able to set active in a notify::active handler. https://bugzilla.gnome.org/show_bug.cgi?id=751754 gtk/gtkswitch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 3d9cce79cf16bce335599b3b78b6bd0a04e37560 Author: Carlos Garnacho Date: Tue Jun 23 18:11:07 2015 +0200 x11: Query pointer devices' scroll valuators on toplevel enter events We used to "invalidate" scroll valuators, so the next scroll event could be used as the base for the next scroll deltas. This has the inconvenience that it invariably consumes the first event received after enter and, due to interactions with WM overeager passive button grabs, there's a possibility we don't scroll at all if we receive interleaved "smooth scroll" XI_Motion events and XI_Enter events (Normally triggered by regular scroll wheels in mice). In order to fix this, and at the expense of some sync-call overhead on XI_Enter events (one XIQueryDevice call per slave device), query the current scroll valuator state for all the slaves of the entered pointer, so we do know beforehand the right base values. If new devices are plugged while the pointer is on top of the client, the initialized scroll values will match the valuators'. https://bugzilla.gnome.org/show_bug.cgi?id=750994 https://bugzilla.gnome.org/show_bug.cgi?id=750870 gdk/x11/gdkdevice-xi2.c | 39 +++++++++++++++++++++++---------------- gdk/x11/gdkdevicemanager-xi2.c | 15 +++++---------- gdk/x11/gdkprivate-x11.h | 2 ++ 3 files changed, 30 insertions(+), 26 deletions(-) commit a90c7f191fb8527cd5b79c57f6c47e3776af1f5f Author: Carlos Garnacho Date: Tue Jun 30 19:04:13 2015 +0200 x11: Avoid X error traps within server grabs gdk_x11_device_xi2_window_at_position() may attempt to push/pop a few error trap pairs while traversing the window tree. Move it outside the server grab, and around the multiple XIQueryPointer calls we may do here. https://bugzilla.gnome.org/show_bug.cgi?id=751739 gdk/x11/gdkdevice-xi2.c | 73 +++++++++++++++++++++++++++++-------------------- 1 file changed, 43 insertions(+), 30 deletions(-) commit 45767b8eaa934f5c72384820eb4abd326bc94cad Author: Krzesimir Nowak Date: Tue Jun 30 22:55:59 2015 +0200 broadway: Fix memleak in error case https://bugzilla.gnome.org/show_bug.cgi?id=751752 gdk/broadway/broadway-server.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 4223812fdcf49cb9b8ce012f2f2a83a264d2e23d Author: Jasper St. Pierre Date: Mon Jun 29 14:16:49 2015 -0700 window: Don't send startup notifications for offscreen / popup windows The WM isn't aware of O-R (popup) or offscreen windows. If somebody maps an offscreen or a popup GTK+ window before the main window, we'll complete the sequence before a "real" window is mapped. Make sure to ignore these for startup notifies. gtk/gtkwindow.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit facf2ac2bbf98a160eb20eec19668e0a1e3ad592 Author: Alexander Larsson Date: Thu Jun 25 21:15:46 2015 +0200 broadway: Handle shm_open failing by falling back on tmp files This is required if /dev/shm is not mounted on your system, which can happen for instance in certain container configurations. gdk/broadway/broadway-server.c | 18 +++++++++++++--- gdk/broadway/gdkbroadway-server.c | 45 +++++++++++++++++++++++++++++++-------- 2 files changed, 51 insertions(+), 12 deletions(-) commit 533f4bf9662d25381cc8e519c8490bba34a88c69 Author: cedlemo Date: Wed Jun 24 13:59:00 2015 +0000 GtkImage: Make resource property work properly gtk_image_set_from_resource was setting the resource_path, only to have it overwritten again before returning. That is not as it should be, so change things to set the resource path late. https://bugzilla.gnome.org/show_bug.cgi?id=751443 gtk/gtkimage.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 905ccd18625eabe71f3914c93bd4f1f338723dc9 Author: Matthias Clasen Date: Sat Jun 20 20:26:42 2015 -0400 GtkRange: Improve zoom handling a bit The calculation to update the initial slider position on zoom changes was not working correctly when using keys to toggle zoom on and off for scales. Avoid it by updating the position beforehand. gtk/gtkrange.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 8d3fb714f0842dd05f5d34a9ebea6cc6858ccf0f Author: Matthias Clasen Date: Sat Jun 20 18:37:15 2015 -0400 GtkRange: Make drag gesture less agressive Moving the mouse while pressing one of the steppers was making the slider jump to the end, unexpectedly. This was caused by the drag gesture kicking in when it shouldn't. Fix this by making all drag gesture signal handlers only do something if we are in a drag thats started on the slider. https://bugzilla.gnome.org/show_bug.cgi?id=751050 gtk/gtkrange.c | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) commit 8da9fc8d4f7a790eb9f7cf2d37dd46c70a873f7a Author: Caolán McNamara Date: Fri Jun 19 15:47:53 2015 +0100 file chooser: Avoid tall combos The filter combo box in the file chooser was stretching to match the height of the extra widgets next to it. Since, stretched combo boxes are not a pretty sight, make it stick to the top instead. Patch by Caolán McNamara, https://bugzilla.gnome.org/show_bug.cgi?id=751227 gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 5abc4af10a5c7b9aa2f655133a918096e413922f Author: Alexander Larsson Date: Wed Jun 17 17:35:18 2015 +0200 configure: test have_docbook_style != yes, not have_docbook_dtd configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 22d0c317c2526a49b7d8fbc408f9c11070204a70 Author: Christian Hergert Date: Tue Jun 16 16:50:44 2015 -0700 treeview: always pixelcache widget contents GtkTreeView has a particularly expensive drawing path. This can cause issues when part of animated widget sequences. Caching the content while a model is attached helps reduce the number of full redraws during exposure greatly. https://bugzilla.gnome.org/show_bug.cgi?id=751082 gtk/gtktreeview.c | 2 ++ 1 file changed, 2 insertions(+) commit b33270aa7cbebe28bf344ec21a3fcd51f7f6d4cb Author: Christian Hergert Date: Tue Jun 16 16:46:24 2015 -0700 pixelcache: allow widgets to always require cached content Some widgets have very expensive drawing paths. So caching the content can be useful even when not scrolling. This can help speed up widgets that are part of animation sequences and thereby go through spurious expose events. https://bugzilla.gnome.org/show_bug.cgi?id=751082 gtk/gtkpixelcache.c | 23 ++++++++++++++++++++--- gtk/gtkpixelcacheprivate.h | 45 ++++++++++++++++++++++++--------------------- 2 files changed, 44 insertions(+), 24 deletions(-) commit 0af53e9d5a66646424aab870f564f75d63d8139c Author: Christian Hergert Date: Tue Jun 16 14:40:09 2015 -0700 gdkwindow: avoid updating background pattern if it matches previous Background patterns are often updated when style changes. In many cases, the new pattern will match the previous. We can optimize out the invalidation that will occur upon resetting the same pattern. gdk/gdkwindow.c | 15 +++++++++++++++ 1 file changed, 15 insertions(+) commit db690c621dd604e8ab7d7fc838b017dcdc752677 Author: Matthias Clasen Date: Mon Jun 15 19:46:33 2015 -0400 Deal with events from wrong display GtkInspector is opening a separate display connection, which makes it more likely that gtk_get_current_event() returns an event from the "wrong" display. gtk/gtkmenu.c | 8 ++++++-- gtk/gtkmenubutton.c | 3 ++- 2 files changed, 8 insertions(+), 3 deletions(-) commit cf120a0fa8f198e785390f03cb3f77a18ddcbe9b Author: Matthias Clasen Date: Mon Jun 15 19:42:47 2015 -0400 GtkMenuButton: Make programmatic toggling work again This was broken in 0796d7b6ff9393746d. https://bugzilla.gnome.org/show_bug.cgi?id=751018 gtk/gtkmenubutton.c | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) commit f770957d6ac0380178cb038e4dddb7950db23680 Author: Matthias Clasen Date: Mon Jun 15 18:54:13 2015 -0400 GtkMenuButton: Avoid direct button access We were getting ourselves in trouble by casting touch events to GdkEventButton and poking directly at their internals. Instead, use GdkEvent API to get what we need. This fixes a crash when using the gear menu in epiphany with touch. The same crash also occurred in testmenubutton. gtk/gtkmenubutton.c | 30 ++++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) commit 37e36e7f1db0b113d5d249e7cc7e7b579e40e68a Author: Matthias Clasen Date: Sat Jun 13 22:32:05 2015 -0400 color editor: make popups toggleable The popups on the color editor are somewhat hard to get rid of. Arrange things so that clicking the same control again dismisses the current popup. gtk/gtkcoloreditor.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 356edc5483f22dca552c6a4dd88e11952fea5e6f Author: Matthias Clasen Date: Sat Jun 13 21:57:07 2015 -0400 Don't show a menu on the color editor swatch There's nothing to customize here, so no need to show a menu. gtk/ui/gtkcoloreditor.ui | 1 + 1 file changed, 1 insertion(+) commit 6f7f1028faf275ef21f9796483ee195762e13b19 Author: Matthias Clasen Date: Sat Jun 13 21:56:41 2015 -0400 Add a way to avoid menu on color swatches gtk/gtkcolorswatch.c | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) commit 72d298229f5c5d6e0eea1d0d451d36bbebab0b1b Author: Ting-Wei Lan Date: Sat Jun 13 13:45:57 2015 +0800 Fix 'void function should not return void expression' warning for clang https://bugzilla.gnome.org/show_bug.cgi?id=750888 gdk/gdkwindow.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 3139588797f99cd05c93f874a02fc562fe787121 Author: Cosimo Cecchi Date: Wed Jun 10 20:52:14 2015 -0700 testsuite: add a test for non-square symbolic icons To verify the previous fix. https://bugzilla.gnome.org/show_bug.cgi?id=750605 testsuite/gtk/Makefile.am | 1 + .../gtk/icons/scalable/nonsquare-symbolic.svg | 12 +++++ testsuite/gtk/icontheme.c | 55 ++++++++++++++++++++++ 3 files changed, 68 insertions(+) commit 5cd3714de43cddaf231c3ce50d307919564293fa Author: Cosimo Cecchi Date: Mon Jun 8 16:35:31 2015 -0700 icontheme: don't modify symbolic SVG dimensions when recoloring When recoloring symbolic SVG, do not modify the original width and height of the passed-in file; the function later will scale the image through gdk_pixbuf_new_from_stream_at_scale(), but we should still use the original size to create the proxy SVG, or the image will possibly be doubly-resized or blurry. https://bugzilla.gnome.org/show_bug.cgi?id=750605 gtk/gtkicontheme.c | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) commit f123bd92bb094ec11037189e7b93e32a2c64271c Author: Matthias Clasen Date: Fri Jun 12 08:26:18 2015 -0400 recent chooser: Make it expand It is expected that the list fills the available space. https://bugzilla.gnome.org/show_bug.cgi?id=750690 gtk/ui/gtkrecentchooserdefault.ui | 1 + 1 file changed, 1 insertion(+) commit 39cb51bb07660cf43e46f9d026bcd8eda818d95c Author: Emmanuele Bassi Date: Thu Jun 11 11:43:35 2015 +0100 settings: Fix the type annotation for color-hash The (element-type) annotation cannot be used with properties that return container types like GHashTable; we need to use the (type) annotation. https://bugzilla.gnome.org/show_bug.cgi?id=750489 gtk/gtksettings.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ba750ec9d2df22dcbf16581f4f3e575902946777 Author: Emmanuele Bassi Date: Thu Jun 11 11:40:37 2015 +0100 builder: Skip introspecting lookup_callback_symbol() Opaque function pointers as return values are not really usable in high level languages, even via introspection. gtk/gtkbuilder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 21b616e2b373b06d3903188ae866f14345884fd0 Author: Emmanuele Bassi Date: Thu Jun 11 11:39:38 2015 +0100 docs: Fix annotation for GtkGLArea::resize signal We need to document all arguments for the signal, for both gtk-doc and introspection. gtk/gtkglarea.c | 2 ++ 1 file changed, 2 insertions(+) commit 13b84cd35f4fe755b1568eb015cf5015b06b9114 Author: Emmanuele Bassi Date: Wed Jun 10 17:16:41 2015 +0100 docs: Improve deprecation notices for GtkSettings The button and menu item icons settings are deprecated; application developers should control whether or not a widget should show an icon, using the existing API. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/gtksettings.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) commit 5ae01c4f2c0feb749006715326fd80c7f1944bc7 Author: Emmanuele Bassi Date: Wed Jun 10 17:12:02 2015 +0100 docs: Improve deprecation notices for GtkMisc Point to the replacement properties and functions. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/deprecated/gtkmisc.c | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) commit dacdf753bf9e8ac5db77c678415438a749167b8c Author: Emmanuele Bassi Date: Wed Jun 10 17:07:41 2015 +0100 docs: Improve deprecation notice for rules-hint property Specify that the theme is wholly in control. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/gtktreeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit ddade37d79740346be5b3fe96b801c6bf02584ed Author: Emmanuele Bassi Date: Wed Jun 10 17:06:46 2015 +0100 docs: Improve deprecation notices for GtkImageMenuItem properties Should help porting code away from the deprecated GtkImageMenuItem class. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/deprecated/gtkimagemenuitem.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit 3b0be42f72f112ade1812d3ec8569b4ddd6d4eac Author: Emmanuele Bassi Date: Wed Jun 10 17:00:56 2015 +0100 docs: Add deprecation notices for GtkAlignment properties We want people to port their code away from deprecated classes, and this helps finding a replacement. https://bugzilla.gnome.org/show_bug.cgi?id=750718 gtk/deprecated/gtkalignment.c | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) commit d67cf43be927b558a4a1f4487ccb926a4ebe41a7 Author: Carlos Soriano Date: Wed Jun 10 17:42:10 2015 +0200 gtklistboxrow: propagate in the draw vfunc So objects connected by g_signal_connect_after actually get the signal. This was causing an issue in the dnd highlight, since there a cairo rectangle is draw using g_signal_connect_after on the draw signal. gtk/gtklistbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 227b5a81bc97fe056dbda0f562a42ad8f412cab4 Author: Benjamin Otte Date: Tue Jun 23 21:45:33 2015 +0200 render: Fix ridge/groove border rendering The typo strikes again! gtk/gtkrenderborder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3258d5ba2e3e89d3305a2777a1b554112496f0db Author: Niels Nesse Date: Mon Mar 23 22:15:08 2015 +0000 x11/gl: Removing some more legacy GL calls They are not required any more. http://bugzilla.gnome.org/show_bug.cgi?id=746668 (cherry picked from commit 641e280311316d8aad6ea9050b8fdd181598e59d) Signed-off-by: Emmanuele Bassi gdk/x11/gdkglcontext-x11.c | 7 ------- 1 file changed, 7 deletions(-) commit b45caa89991f9f4a2fe134e026f54ce26f8bd4e8 Author: Emmanuele Bassi Date: Mon Mar 23 22:03:00 2015 +0000 x11/gl: Do not call glEnable/glDisable with GL_TEXTURE_2D These are fixed pipeline functions, and Mesa will warn (if debugging messages are enabled). At best, they are poinless calls. (cherry picked from commit 6bd7526ee78828b99bb52cd01f5e43481fb4b995) Signed-off-by: Emmanuele Bassi gdk/x11/gdkglcontext-x11.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 8e4cd4cc7a95752d971dacd1d584f6a8e3cc7153 Author: Christian Kirbach Date: Sun Jun 14 08:53:41 2015 +0000 Updated German translation po/de.po | 3911 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 1955 insertions(+), 1956 deletions(-) commit ebdd24ac3a97a6b72dd04ed79b0b30f47625bd5d Author: Benjamin Otte Date: Fri Jun 12 21:23:34 2015 +0200 fontchooser: Don't cause "row-changed" signal in cell data func The font chooser delays creating the font description from the font face as long as possible (it's slow). Because we use fixed height mode, we only have to create font descriptions for rows we are actually going to show. This was achieved by looking at the font description column and if it was NULL, we created a font description and gtk_list_stiore_set() it. Unfortunately this caused a "row-changed" signal to be emitted and this emission could happen during the cell data func. And that caused infinite loops with accessibility when you were unlucky. This change replaces the NULL font description with an empty one and instead of setting the correct font description, we pango_font_description_merge() it in. This way, the list store doesn't change and no signals are emitted. https://bugzilla.redhat.com/show_bug.cgi?id=1197267 gtk/gtkfontchooserwidget.c | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-)