commit 415ab252f455618b85eef28ef6f6dacc1ae2bf87 Author: Matthias Clasen Date: Thu Feb 19 21:34:46 2015 -0500 3.15.8 NEWS | 31 +++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) commit fa48b42ef1b1e43b1728d0fea51f68e760dd37b0 Author: Carlos Garnacho Date: Fri Feb 20 13:33:09 2015 +0100 menubutton: Fix possible button/popover state inconsistences While a popover is hiding, the modal grab is already gone and the toggle button is clickable again, but clicking again at that time will result in gtk_widget_show() trying to show an already shown widget (although fading out and hidden soon) and the toggle button activated. So let the menubutton set the active status only if the menu/popover widget wasn't already shown, and ensure this doesn't get triggered by double/triple button press events. gtk/gtkmenubutton.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) commit 85ad434290bc92ecdd92eb86b997bf103b658f1d Author: Carlos Garnacho Date: Fri Feb 20 12:46:52 2015 +0100 inspector: Destroy popovers on unmap As an implementation detail, the popover hooks the fade out animation on ::hide. Destroying the popover right away here is not a problem, but prevents the animation from actually running. ::unmap will be run after the animation is finished, so destroy the popover there. gtk/inspector/prop-list.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cff1694c99227dbf0b52525d7436fc4771859e00 Author: Carlos Garnacho Date: Fri Jan 9 16:10:29 2015 +0100 popover: Add show/hide transitions These have the same visual effect and timing than the gnome-shell ones. During the hide animation, the popover has been made to take focus elsewhere, and refuse to take any pointer/keyboard input until the popover is shown again. This has been based on work from Timm Bäder. https://bugzilla.gnome.org/show_bug.cgi?id=741405 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkpopover.c | 307 +++++++++++++++++++++++++++++++++-- gtk/gtkpopover.h | 6 + 3 files changed, 298 insertions(+), 17 deletions(-) commit 3a671994d4f4de61a48df6198353a188b7862baa Author: Matthias Clasen Date: Fri Feb 20 08:24:47 2015 -0500 scrolled window: Avoid a crash gtk_scrolled_window_allocate_scrollbar was calling gtk_scrolled_window_allocate_child just to get the relative allocation, overlooking the fact that that function is only safe to call if the scrolled window _has_ a child. Unfortunately, gtk_scrolled_window_allocate_scrollbar will sometimes get called when that is not the case. Since we are really only interested in the relative allocation, just get that directly. This fixes a segfault in the style-properties-nth-child reftest. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4fc98ae34566a8416a345ebdd2a51828f8192632 Author: Matthias Clasen Date: Fri Feb 20 08:23:53 2015 -0500 scrolled window: Drop dead code The allocation is never used in this function, so don't bother getting it. gtk/gtkscrolledwindow.c | 3 --- 1 file changed, 3 deletions(-) commit 00f9f1cc6bda6b6dd1d8091d8b8278be8af61a88 Author: Marek Kasik Date: Fri Feb 20 12:22:26 2015 +0100 printing: Use correct units for margins taken via IPP cups_printer_get_hard_margins() returned margins in millimeters for margins taken via IPP request instead of Units used before. modules/printbackends/cups/gtkprintbackendcups.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit cc780116a2e576922a3fd7694ab57409b4e3e4d4 Author: Carlos Garnacho Date: Thu Feb 19 16:44:18 2015 +0100 dnd: Set the parent DnD wayland surface on gtk_drag_set_icon_window() This is a better place to call this, both lets us remove all other calls, and additionally handles the gtk_drag_set_icon_widget() entry point. gtk/gtkdnd.c | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) commit 4a7da1e14387076e5cec6acd138de068afa5a352 Author: Ignacio Casal Quinteiro Date: Thu Feb 19 14:44:34 2015 +0100 Do not return on void functions gtk/gtkbitmaskprivateimpl.h | 4 ++-- gtk/gtkcssshorthandproperty.c | 2 +- gtk/gtkpaned.c | 4 ++-- gtk/gtkstyleproperty.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) commit b8005f4de920ad367ac5da03e54db7101172441f Author: Ignacio Casal Quinteiro Date: Thu Feb 19 14:44:56 2015 +0100 pathbar: use the same parameter as in the declaration gtk/gtkpathbar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 8b4863f0c410ddd4d9fe574e60ad1a4d7555891c Author: Philip Withnall Date: Wed Feb 18 11:33:36 2015 +0000 docs: Add extra symbol links to input handling documentation Cross-reference to the API documentation more consistently. https://bugzilla.gnome.org/show_bug.cgi?id=744054 docs/reference/gtk/input-handling.xml | 50 +++++++++++++++++------------------ 1 file changed, 25 insertions(+), 25 deletions(-) commit 09bb109f01e4455f8c286da91fb5314ffac037f5 Author: Philip Withnall Date: Wed Feb 18 11:13:28 2015 +0000 docs: Expand input handling documentation to cover event masks Also try and clarify a few things about event propagation. Move input-handling.xml into gtk-doc’s expand_content_files variable so it automatically links to widget documentation. Add links from gtk_widget_add_events() and friends to the new documentation. https://bugzilla.gnome.org/show_bug.cgi?id=744054 docs/reference/gtk/Makefile.am | 1 + docs/reference/gtk/gtk-docs.sgml | 2 +- docs/reference/gtk/input-handling.xml | 133 ++++++++++++++++++++++++++++------ gdk/gdktypes.h | 3 + gdk/gdkwindow.c | 4 + gtk/gtkwidget.c | 8 +- 6 files changed, 123 insertions(+), 28 deletions(-) commit 668d5d8665d91110461da00caf80dcaf1cfc0bd4 Author: Philip Withnall Date: Tue Feb 17 14:37:28 2015 +0000 docs: Mention events in the input handling documentation title Make it a little easier to find these docs when searching for ‘event’. https://bugzilla.gnome.org/show_bug.cgi?id=744054 docs/reference/gtk/input-handling.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit b397dd04c495a9df5b145471ab613476f160428b Author: Philip Withnall Date: Tue Feb 17 16:57:57 2015 +0000 gtk: Remove documentation references to the GTK_NO_WINDOW flag It has been removed entirely, and replaced by gtk_widget_get_has_window(). https://bugzilla.gnome.org/show_bug.cgi?id=744054 gtk/gtklabel.c | 3 ++- gtk/gtktestutils.c | 6 ++++-- gtk/gtkwidget.c | 29 ++++++++++++++--------------- 3 files changed, 20 insertions(+), 18 deletions(-) commit 5091ae5e04ba8489d53ffc92eb610f274d950b18 Author: Fran Dieguez Date: Thu Feb 19 09:56:49 2015 +0100 Updated Galician translations po/gl.po | 1191 ++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 655 insertions(+), 536 deletions(-) commit c85e32d56e3737aaf414f6286c7812cad760ba59 Author: Matthias Clasen Date: Wed Feb 18 17:26:20 2015 -0500 color scale: simplify code a bit It is not necessary to call gtk_widget_get_accessible repeatedly. gtk/gtkcolorscale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 50c848a992282f411511d0fef4642026dec6bef6 Author: Matthias Clasen Date: Wed Feb 18 17:25:05 2015 -0500 Explicitly set the a11y role of tooltip windows This seems better than trying to identify the 'tooltipness' of the window on the other side. https://bugzilla.gnome.org/show_bug.cgi?id=744683 gtk/gtktooltip.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 7624418ddffdadf894c7db943708d6100800cde3 Author: Matthias Clasen Date: Wed Feb 18 17:24:29 2015 -0500 Drop nonworking code to set a11y roles of tooltips This code relied on widget names, and we don't set those anymore. gtk/a11y/gtkwindowaccessible.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) commit e1100813e6c49d8b1ecf22c8b9228764003fb4e3 Author: Matthias Clasen Date: Tue Feb 17 19:25:22 2015 -0500 widget factory: Don't make file chooser local-only There's no reason to. demos/widget-factory/widget-factory.ui | 1 + 1 file changed, 1 insertion(+) commit 11960fa9169d7b61b36a5d67bf3d9df5a533ed8e Author: Balázs Úr Date: Wed Feb 18 22:20:45 2015 +0000 Updated Hungarian translation po-properties/hu.po | 67 +++++++++++++++++++++++++++-------------------------- 1 file changed, 34 insertions(+), 33 deletions(-) commit 359fc25aad14af2b69b60dbbc19d10cb28c85b9c Author: Ting-Wei Lan Date: Thu Feb 19 00:16:15 2015 +0800 build: Don't use shopt in the build command shopt command only works in bash, so we should not use it in gtk/Makefile.am. https://bugzilla.gnome.org/show_bug.cgi?id=743647 gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 3d88899072362a01bbc3207da2138e405a6f0dba Author: Philip Withnall Date: Wed Feb 18 10:57:05 2015 +0000 gtk: Fix various tiny typos in documentation comments e.g. Invalid syntax in introspection annotations, typos in object names, accidentally using a gtk-doc comment for an internal function. gtk/gtkcssstyleproperty.c | 2 +- gtk/gtklistbox.c | 2 +- gtk/gtklistbox.h | 1 + gtk/gtkmodelbutton.c | 2 +- gtk/gtksettings.c | 2 +- gtk/gtkwin32.c | 2 +- 6 files changed, 6 insertions(+), 5 deletions(-) commit e160befdf899180267fa9df04477ca8c563cb9c0 Author: Philip Withnall Date: Wed Feb 18 10:55:58 2015 +0000 docs: Remove non-existent symbols from gtk3-sections.txt Eliminate a couple of gtk-doc warnings. docs/reference/gtk/gtk3-sections.txt | 3 --- 1 file changed, 3 deletions(-) commit 8c32f403fb65ef4363303c5e2b019e4ade02c0c5 Author: Philip Withnall Date: Wed Feb 18 10:55:34 2015 +0000 docs: Ignore generated files when building documentation docs/reference/gdk/Makefile.am | 1 + docs/reference/gtk/Makefile.am | 2 ++ 2 files changed, 3 insertions(+) commit a0a1ea10a8d412b60285beea22acd127e50c0fdd Author: Rico Tzschichholz Date: Wed Feb 18 11:38:29 2015 +0100 AppChooserDialog: Fix memleak gtk/gtkappchooserdialog.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 7233281d05e06a73ca84916a80c1335f8a0636ac Author: Daniel Mustieles Date: Wed Feb 18 10:55:57 2015 +0100 Updated Spanish translation po/es.po | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) commit eb995ce4538076a5fd823a9e26840e478996ac05 Author: Milo Casagrande Date: Wed Feb 18 08:14:48 2015 +0000 Updated Italian translation po/it.po | 158 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 69 insertions(+), 89 deletions(-) commit e43ec48e837b6b458a1b89658ecc19bff9f90265 Author: Carlos Garnacho Date: Tue Feb 17 19:45:50 2015 +0100 wayland: Use display from GdkDragContext device It will be useless to check the source window on the destination side, it's at the moment always NULL. Fetch the display from the device instead, which will be set for every GdkDragContext. gdk/wayland/gdkdnd-wayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 4162fccaa29d2c22ca3050520fa217c4edf3dc72 Author: Daniel Mustieles Date: Tue Feb 17 18:36:57 2015 +0100 Updated Spanish translation po-properties/es.po | 240 ++++++++++++++++++++++++++-------------------------- 1 file changed, 119 insertions(+), 121 deletions(-) commit bf22ac8337e9151ef66c1adf0322221c08406b11 Author: Daniel Mustieles Date: Tue Feb 17 18:36:41 2015 +0100 Updated Spanish translation po/es.po | 200 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 111 insertions(+), 89 deletions(-) commit 5a907cc094d518e5a69848ea573832bc0a7f11f1 Author: Carlos Garnacho Date: Tue Feb 17 16:21:42 2015 +0100 scrolledwindow: Ensure indicator windows are created at the right place At the time of creating the indicator window, the scrollbar allocation is poked and reused as the initial window dimensions. This usually happens on two circumstances, either initially (so a ::size-allocate is emitted, relocating the windows in the right places), or post-initialization when calling set_overlay_scrolling() (so the scrollbars already have a valid size allocation) However, if the scrolledwindow is unrealized, and later re-realized again, the scrollbars will already have a valid allocation, although 0,0 based due to being contained in the previous indicator window. This comes out wrong then, and the indicator window is given 0,0 based coordinates too. Fix this by refactoring the scrollbar allocation code out of size_allocate, and also use that given size at the time of creating the indicator windows, this will provide the right widget-relative allocation anytime. gtk/gtkscrolledwindow.c | 220 +++++++++++++++++++++++++++--------------------- 1 file changed, 125 insertions(+), 95 deletions(-) commit c473afbdc9dac6c425d41a5827f5539140c38252 Author: Carlos Garnacho Date: Tue Feb 17 16:15:26 2015 +0100 scrolledwindow: Fully reset indicators' state on unrealize This avoids timers to run after realize(), and inconsistent initial states if the scrolledwindow is just realized again. gtk/gtkscrolledwindow.c | 41 +++++++++++++++++++++++++++++++++++++---- 1 file changed, 37 insertions(+), 4 deletions(-) commit b3043e429b6b3851c321643066d85ae91ad3471b Author: Matthias Clasen Date: Tue Feb 17 09:30:56 2015 -0500 Avoid a crash in the inspector under wayland The Wayland-specific popover code in GtkWindow was not doing the right thing with the separate display connection we use for the inspector. gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f4510c93b7f1e73fd52666ae2a508448ac98e6f4 Author: Paolo Borelli Date: Tue Feb 17 14:17:53 2015 +0100 Do not use "return" when chaining up to a void function gdk/gdkwindow.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 0cf63ec8928e996de673514ac39fd48ac14da025 Author: Milo Casagrande Date: Tue Feb 17 13:43:52 2015 +0000 Updated Italian translation po/it.po | 3461 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2198 insertions(+), 1263 deletions(-) commit 0a4879b9ac5b3ab7766f91dcbb8f518a265b3a6b Author: Emmanuele Bassi Date: Tue Feb 17 10:21:41 2015 +0000 glarea: Better error handling Currently, GtkGLArea will leak GError instances set during the context creation, if an error is set. If any error is set post-context creation, it should be displayed even in the case a GL context exists; for instance, we can use the error display facility for shader compilation errors. gtk/gtkglarea.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit da559c08f93d6832f4b9d3199cf5a22ac7f035f9 Author: Benjamin Otte Date: Mon Feb 16 16:58:17 2015 +0100 switch: Have a priv varibale in the constructor gtk/gtkswitch.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) commit e1081bc4719c9e8cfef0d931d29838316412fa41 Author: Benjamin Otte Date: Mon Feb 16 06:25:44 2015 +0100 switch: Change handle_x to handle_pos Make that variable go from 0.0 to 1.0 where 0.0 means inactive (slider is on the left) and 1.0 means active (slider is on the right). The math is simpler that way and most importantly the value is independent of size. gtk/gtkswitch.c | 57 ++++++++++++++++----------------------------------------- 1 file changed, 16 insertions(+), 41 deletions(-) commit 86a41b108e34c69ca03f65838fd67bf9c124aadf Author: Benjamin Otte Date: Mon Feb 16 05:22:00 2015 +0100 switch: Get rid of offset member variable We can compute it on-demand whereever we need it. gtk/gtkswitch.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit 1b171e812ea603c0a32940ce02891e7cd1d39adc Author: Benjamin Otte Date: Mon Feb 16 03:24:38 2015 +0100 switch: Remove unused variables from private struct gtk/gtkswitch.c | 2 -- 1 file changed, 2 deletions(-) commit 295b8aab0c1be8bf4437637f9b69ed1c368df489 Author: Benjamin Otte Date: Sun Feb 15 05:37:19 2015 +0100 css: Implement animations for font-weight property gtk/gtkcssenumvalue.c | 18 +++++++++++++++++- gtk/gtkcssstylepropertyimpl.c | 2 +- 2 files changed, 18 insertions(+), 2 deletions(-) commit 0c4a42e6295bd2546263502fb9867c3f075a2bf4 Author: Benjamin Otte Date: Sun Feb 15 05:02:33 2015 +0100 css: Implement "bolder" and "lighter" font weights gtk/gtkcssenumvalue.c | 60 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) commit a414faa99736fba99c8488f2e497d492a717c667 Author: Yosef Or Boczko Date: Mon Feb 16 22:22:57 2015 +0200 Updated Hebrew Property translation po-properties/he.po | 445 ++++++++++++++++++++++++++-------------------------- 1 file changed, 222 insertions(+), 223 deletions(-) commit 36fcd7327c3194e769d38976cf82ceff8e5245ba Author: Yosef Or Boczko Date: Mon Feb 16 22:21:51 2015 +0200 Updated Hebrew translation po/he.po | 215 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 113 insertions(+), 102 deletions(-) commit 1500626d4467656a92f1be9af21ad8646b7266ad Author: A S Alam Date: Mon Feb 16 14:15:28 2015 -0600 update Punjabi Translation po-properties/pa.po | 3023 ++++++++++++++++++++++++++++----------------------- po/pa.po | 2419 +++++++++++++++++++++++++---------------- 2 files changed, 3146 insertions(+), 2296 deletions(-) commit 978c36484787efc6088f5a5f52b13f6a237e06b6 Author: Matej Urbančič Date: Mon Feb 16 20:54:10 2015 +0100 Updated Slovenian translation po/sl.po | 2171 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 1244 insertions(+), 927 deletions(-) commit 26cc941a9e558a6cf7305ba19b15add84a965963 Author: Matej Urbančič Date: Mon Feb 16 20:41:39 2015 +0100 Updated Slovenian translation po/sl.po | 2521 ++++++++++++++++++++++---------------------------------------- 1 file changed, 875 insertions(+), 1646 deletions(-) commit 0550ba4208c225d8934e1a3196cfafd68e5d7013 Author: Kjartan Maraas Date: Mon Feb 16 18:33:56 2015 +0100 Updated Norwegian bokmål translation. po/nb.po | 186 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 95 insertions(+), 91 deletions(-)