commit f9422ab2236f090809fe9f0e9ae88b9f5602841c Author: Matthias Clasen Date: Tue Jun 23 13:11:26 2015 -0400 3.17.4 NEWS | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 67 insertions(+), 1 deletion(-) commit 23ce2562bfa9ba7f598d009cfb56aea1bd5ae1ba Author: Matthias Clasen Date: Tue Jun 23 17:27:09 2015 -0400 Fix up doc comments gdk/gdkwindow.c | 3 +-- gdk/gdkwindow.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) commit 68aa48cc44ab087b9b2f0b2000a9e671a3f8acd5 Author: Matthias Clasen Date: Tue Jun 23 17:07:38 2015 -0400 Fix up expected results of a11y tests These changed due to th extra box that GtkAssistant now inserts for each page. testsuite/a11y/assistant.txt | 2 ++ 1 file changed, 2 insertions(+) commit 3b97a0b940cfc99c5235af6ba4b65a12e7a02e55 Author: Matthias Clasen Date: Tue Jun 23 16:46:07 2015 -0400 Fix an oversight gtk/gtkoverlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7f0606509d839855ec697e9d10f7069e82deecd7 Author: Matthias Clasen Date: Tue Jun 23 16:28:18 2015 -0400 GtkPlacesSidebar: Simplify sidebar code Make this code follow GTK+ styles and conventions better. gtk/gtksidebarrow.c | 360 +++++++++++++++++++--------------------------------- 1 file changed, 128 insertions(+), 232 deletions(-) commit ae8c07c67cfa83d967a760899ba91ea06bf8d616 Author: Matthias Clasen Date: Tue Jun 23 16:06:30 2015 -0400 GktPlacesSidebar: Plug a ton of leaks If you don't keep in mind that g_object_get() returns references to objects and copies fo strings, things leak all over the place. gtk/gtkplacessidebar.c | 276 +++++++++++++++++++++++++++++++++++-------------- 1 file changed, 197 insertions(+), 79 deletions(-) commit f2a8ddfecf0868fe381ce287205156a7db84729c Author: Matthias Clasen Date: Tue Jun 23 14:42:57 2015 -0400 sidebarrow: Avoid object-valued properties They tend to leak...as these do. gtk/gtkplacessidebar.c | 18 +++++------ gtk/gtksidebarrow.c | 74 ++++++++++++++++------------------------------ gtk/gtksidebarrowprivate.h | 3 ++ 3 files changed, 38 insertions(+), 57 deletions(-) commit 9f27ee7f5abf49a20ac95d57b306ecd4294b49c6 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 335c070f9b97d840252dc5806d8bf2105deb1c40 Author: Christoph Reiter Date: Tue Jun 23 10:54:39 2015 +0200 GtkHeaderBar: reduce minimum title width The minimum title width affects the minimum window width for CSD windows. To allow smaller windows like without CSD reduce it a bit (276px vs 156px min width) https://bugzilla.gnome.org/show_bug.cgi?id=751341 gtk/gtkheaderbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 84e99b20ac806ee5fafd8646b599252057079961 Author: Christoph Reiter Date: Mon Jun 22 20:36:50 2015 +0200 GtkWindow: fix default empty window size with CSD In the non-CSD case we checked for 0x0 window size requisition and replaced it with 200x200 so the window was still visible. This no longer works in case of CSD as the shadow and title bar are always added to the requisition resulting in a titlebar/shadow only window in case there is no child widget (this is currently visible under wayland or when setting GTK_CSD=1). Instead of special casing the final window size, special case the child requisition paths instead. This gives us the same requisition in both, CSD and non-CSD cases (the header bar has a too large minimum width atm so the resulting window is still not the same) https://bugzilla.gnome.org/show_bug.cgi?id=751341 gtk/gtkwindow.c | 45 ++++++++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 13 deletions(-) commit da14dbe4e5a40fccf9155f4cd87c97457f9439d6 Author: William Hua Date: Mon Jun 22 12:31:32 2015 -0400 mir: fix toggling between maximized and restored gdk/mir/gdkmireventsource.c | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) commit e083eb42e916dbd2f75e213956a4e513e892d165 Author: William Hua Date: Sun Jun 21 22:13:27 2015 -0400 mir: fix wheel scrolling in both directions gdk/mir/gdkmireventsource.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8fac1f688e662de9fdbbcf370a32adfe7c78151a Author: William Hua Date: Sun Jun 21 22:07:44 2015 -0400 mir: emit GDK_ENTER_NOTIFY on pointer enter gdk/mir/gdkmireventsource.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 2374a1b50b6b54b8818a37e70ecef4d0e06bebba Author: William Hua Date: Fri Jun 19 15:16:27 2015 -0400 mir: remove non-useful logging gdk/mir/gdkmirdisplay.c | 72 ++++++++++++++++++++++----------------------- gdk/mir/gdkmireventsource.c | 4 --- gdk/mir/gdkmirscreen.c | 42 +++++++++++++------------- gdk/mir/gdkmirwindowimpl.c | 68 +++++++++++++++++++++--------------------- 4 files changed, 91 insertions(+), 95 deletions(-) commit 19f66c781f41ab44c2ed4b33b7bf9b4943833acd Author: William Hua Date: Fri Jun 19 11:29:08 2015 -0400 mir: don't need dummy egl surface gdk/mir/gdkmirwindowimpl.c | 7 ------- 1 file changed, 7 deletions(-) commit be068607f68b185483154371548e0ea2123b0fcb Author: William Hua Date: Thu Jun 18 10:39:28 2015 -0400 mir: emit configure event on window move/resize Without this, some windows don't restart the paint clock needed to actually render the contents. gdk/mir/gdkmirwindowimpl.c | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) commit 9800d83a721fd21b34df6dd36684d3e0e2a9fd7b Author: William Hua Date: Fri Jun 12 12:43:47 2015 -0400 mir: fix build due to missing api gdk/mir/gdkmirwindowimpl.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit ec9a39977a4341feabed2ad6477789217ee39438 Author: Lapo Calamandrei Date: Tue Jun 23 19:11:15 2015 +0200 Adwaita: scale marks visible on the dark variant gtk/theme/Adwaita/_common.scss | 2 ++ gtk/theme/Adwaita/gtk-contained-dark.css | 12 ++++++++---- gtk/theme/Adwaita/gtk-contained.css | 12 ++++++++---- 3 files changed, 18 insertions(+), 8 deletions(-) commit aa052c6d2925730b858793808dfa1b6584499c08 Author: Balázs Úr Date: Tue Jun 23 13:59:34 2015 +0000 Updated Hungarian translation po-properties/hu.po | 2673 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 1606 insertions(+), 1067 deletions(-) commit 1ed21ad3d4d90076f74c2c2fe616938d0c7d6026 Author: Matthias Clasen Date: Tue Jun 23 09:33:30 2015 -0400 GtkScale: More work on mark spacing Try harder not to push the scale out of balance by marks. With this change, the remaining difference in the drawing is down to asymmetric assets and margins coming out of the theme. To fully support such asymmetric rendering, we need implement baseline alignment for scales. https://bugzilla.gnome.org/show_bug.cgi?id=749650 gtk/gtkscale.c | 25 +++++++++++-------------- 1 file changed, 11 insertions(+), 14 deletions(-) commit 4e4a2fe17ef70e44dcd368cc927c9552d4f80b3b Author: Marek Kasik Date: Tue Jun 23 13:28:21 2015 +0200 printing: Get output bin via IPP Request "output-bin-supported" and "output-bin-default" attributes through IPP if there is no PPD for selected printer. Pass "output-bin" option with other options in printer_get_options(). Translate standard IPP values of "output-bin" option. https://bugzilla.gnome.org/show_bug.cgi?id=725441 modules/printbackends/cups/gtkprintbackendcups.c | 139 +++++++++++++++++++++-- modules/printbackends/cups/gtkprintercups.c | 5 + modules/printbackends/cups/gtkprintercups.h | 2 + 3 files changed, 135 insertions(+), 11 deletions(-) commit 7ce96cb6ac28eeb62e003dcb9e0a8ce7d48e09e0 Author: Matthias Clasen Date: Tue Jun 23 06:44:31 2015 -0400 GtkStack: Avoid some unnecessary complication We already have an in-destruction flag, so use it. gtk/gtkstack.c | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) commit 3c9cca596fac6c5e72f7d6147eeb78f16be549dd Author: Christoph Reiter Date: Sat Jun 20 13:27:20 2015 +0200 Fix calculation of edge input window size in case the real window is too small. This error resulted in warnings like "pixman_region32_init_rect: Invalid rectangle passed" In case the window is smaller than handle_size * 2 the resulting edge window got a negative size. Prevent that by limiting the handle size to half the respective edge length. This also prevents the corner windows from overlapping in case the window is too small. gtk/gtkwindow.c | 59 ++++++++++++++++++++++++++++++--------------------------- 1 file changed, 31 insertions(+), 28 deletions(-) commit 97e728580cba385c7d8e193b7119f67ab507d511 Author: Emmanuele Bassi Date: Mon Jun 22 14:19:29 2015 +0100 Revert "window: Check if we can use CSD before enabling them" This reverts commit c5e5ee67490e7e7af56052d8f8beb75db002c2f1. It turns out that this commit breaks the default sizing of GtkWindow, which in turn causes the window to be smaller than the handle size, which ends up sending invalid rectangles to Cairo. We'll have to find another way to fix the CSD issue. See also: https://bugzilla.gnome.org/show_bug.cgi?id=751140 https://bugzilla.gnome.org/show_bug.cgi?id=750343 gtk/gtkwindow.c | 50 +++++++++++++++++++------------------------------- 1 file changed, 19 insertions(+), 31 deletions(-) commit 4e155d784dda384cd4bba6653134b1a0542ee569 Author: Paolo Borelli Date: Sun Feb 16 22:22:59 2014 +0100 Avoid spurious operations on destroy When the stack is destroyed we do not want to waste time running animations and notifying listeners about which is our current visible child. This is not only an optimization, but it is important for the stack switcher widgets: since they are in another branch of the hieratchy we do not want to get notifications while the stack is being destroyed. Based on a patch by Paolo Borelli https://bugzilla.gnome.org/show_bug.cgi?id=724506 gtk/gtkstack.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) commit 3b43951ba4da9869e5f79f674e8c8a2fc16c78a9 Author: Matthias Clasen Date: Sat Jun 20 20:29:18 2015 -0400 Pacify gobject-introspection gobject-introspection complains about the parameter names of vfuncs. Why, you ask ? No idea. gtk/gtkfontchooser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 93f9a81ac5d1a4239ad1aef60a126446810ef1ab 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 27dabaefa6f6edee78e05e6a76fccf20be2c7679 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 b4a88c7287c0e63ba3bbd2a105e2341d7f796add 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 b684e70dd5639a5874a25aadb54f2c6ebda6804f Author: Matthias Clasen Date: Sat Jun 20 10:52:44 2015 -0400 GtkOverlay: Sync up parameter names gtk-doc gets confused if the parameter names between header, source and doc comment don't match up. gtk/gtkoverlay.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) commit 3c711cc98a533d31197083bcc815b127181c9cd5 Author: Matthias Clasen Date: Sat Jun 20 10:52:01 2015 -0400 Fix a typo gtk-doc complained about a multi-line Since: tag, but the real culprit was a typo in the Deprecated: tag. gtk/deprecated/gtkalignment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8bd9604fe6afac5b3a9129fffe20984ffd22301a Author: Matthias Clasen Date: Sat Jun 20 10:47:18 2015 -0400 Tell gtk-doc to ignore private headers Tell gtk-doc to ignore new private headers as well, otherwise it complains about undocumented symbols in them. docs/reference/gtk/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit d642ae78fc3bd98cd6c6223637fda7b09c08aabb Author: Matthias Clasen Date: Sat Jun 20 10:36:09 2015 -0400 GtkWindow: Small documentation addition gtk/gtkwindow.h | 2 ++ 1 file changed, 2 insertions(+) commit 5981e1511562d677bc03b702856e7bf110c2cf2b Author: Matthias Clasen Date: Sat Jun 20 10:33:56 2015 -0400 GtkTextView: Small documentation addition gtk/gtktextview.h | 2 ++ 1 file changed, 2 insertions(+) commit 2caa1deb5b8109352b64f5dae1429d0982d6c0e7 Author: Matthias Clasen Date: Sat Jun 20 10:28:03 2015 -0400 Fix up index for some 3.14 symbols Marking these as "Since: 3.14.1" may be more accurate, but it causes gtk-doc to not put these symbols in any versioned index at all (it generates an unused index for 3.14.1). So, lets lie a little, and say these symbols were added in 3.14. gtk/gtksettings.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit eab0df12a84e975c044e0b7966b9b9c2baf9411d Author: Matthias Clasen Date: Fri Jun 19 22:03:19 2015 -0400 gtk-demo: Add forgotten source file The font_features.c file was not added as a resource, so that gtk3-demo could not display it. demos/gtk-demo/demo.gresource.xml | 1 + 1 file changed, 1 insertion(+) commit 0a601b093c151d4f8d7383b5acb4312af9f75c1d Author: Matthias Clasen Date: Fri Jun 19 21:59:15 2015 -0400 gtk-demo: Many cosmetic fixes Mostly update window titles, and some addition to descriptions. demos/gtk-demo/builder.c | 10 +--- demos/gtk-demo/button_box.c | 2 +- demos/gtk-demo/changedisplay.c | 14 ++--- demos/gtk-demo/clipboard.c | 2 +- demos/gtk-demo/combobox.c | 2 +- demos/gtk-demo/css_accordion.c | 12 ++--- demos/gtk-demo/css_basics.c | 13 +++-- demos/gtk-demo/css_multiplebgs.c | 3 +- demos/gtk-demo/css_pixbufs.c | 5 +- demos/gtk-demo/css_shadows.c | 5 +- demos/gtk-demo/demo.ui | 4 +- demos/gtk-demo/dialog.c | 4 +- demos/gtk-demo/editable_cells.c | 2 +- demos/gtk-demo/entry_buffer.c | 5 +- demos/gtk-demo/entry_completion.c | 2 +- demos/gtk-demo/event_axes.c | 1 + demos/gtk-demo/expander.c | 104 +++++++++++++++++++++++++----------- demos/gtk-demo/font_features.c | 3 ++ demos/gtk-demo/gestures.c | 2 +- demos/gtk-demo/glarea.c | 2 +- demos/gtk-demo/iconview.c | 2 +- demos/gtk-demo/infobar.c | 2 +- demos/gtk-demo/list_store.c | 2 +- demos/gtk-demo/menus.c | 7 +-- demos/gtk-demo/offscreen_window.c | 2 +- demos/gtk-demo/panes.c | 16 +++--- demos/gtk-demo/search_entry2.c | 2 +- demos/gtk-demo/sidebar.c | 2 +- demos/gtk-demo/sizegroup.c | 2 +- demos/gtk-demo/spinner.c | 2 +- demos/gtk-demo/stack.c | 9 +--- demos/gtk-demo/stack.ui | 2 +- demos/gtk-demo/textscroll.c | 1 + demos/gtk-demo/textview.c | 2 +- demos/gtk-demo/transparent.c | 109 +++++++++++++++++++------------------- demos/gtk-demo/tree_store.c | 2 +- 36 files changed, 193 insertions(+), 168 deletions(-) commit 2f8e4f2685a38d92bfb7b03159bc2640f6eff011 Author: Matthias Clasen Date: Fri Jun 19 21:56:29 2015 -0400 GtkAssistant: Fix criticals on dispose After the recent change thta introduced boxes between the pages and the notebook, we were no longer careful enough when disposing the assistant. Fix that up. gtk/gtkassistant.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit d6a52218d185cae483db11d7f9b46804034b4241 Author: Matthias Clasen Date: Fri Jun 19 20:08:15 2015 -0400 gtk3-demo: Improve the overlay demo Add some more information to the description. demos/gtk-demo/overlay.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit afd75070a24e7407c829a96229559c6719ba488e Author: Matthias Clasen Date: Fri Jun 19 18:13:34 2015 -0400 gtk-demo: A better overlay demo This shows the new passthrough feature. demos/gtk-demo/overlay.c | 185 ++++++++++++----------------------------------- 1 file changed, 45 insertions(+), 140 deletions(-) commit d4b0694c02d7d361e35e211f13a97c901713bd55 Author: Christian Kirbach Date: Fri Jun 19 20:58:12 2015 +0000 Updated German translation po/de.po | 841 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 456 insertions(+), 385 deletions(-) commit 5ac6b82b823f59054846f50bd6ae96d9643ede19 Author: Piotr Drąg Date: Fri Jun 19 22:20:08 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 28b8541847eeb0a0e05562946a41ed52770fd816 Author: Chun-wei Fan Date: Wed May 20 17:31:02 2015 +0800 gtk-demo: Don't Distribute demos.h Since demos.h is now generated according to the platform for which GTK+ is built, don't distribute it. Generate a Windows-specific demos.h.win32 and distribute that instead, in which the Visual Studio build files will copy it to demos.h, so that the build will proceed normally. https://bugzilla.gnome.org/show_bug.cgi?id=749622 build/win32/vs10/gtk-gen-srcs.props | 4 +++ build/win32/vs10/gtk-prebuild.vcxproj | 26 ++++++++++++++++ build/win32/vs9/gtk-gen-srcs.vsprops | 4 +++ build/win32/vs9/gtk-prebuild.vcproj | 58 +++++++++++++++++++++++++++++++++++ demos/gtk-demo/Makefile.am | 19 ++++++++---- 5 files changed, 105 insertions(+), 6 deletions(-) commit c207b8d36341d320ca3bf88ece63d2721a63c7b6 Author: Matthias Clasen Date: Fri Jun 19 09:33:39 2015 -0400 Bump Pango requirement The font features demo that was just added uses bleeding-edge pango features. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 010a120351e410ba5cd53eb439dc4a211630e965 Author: Matthias Clasen Date: Fri Jun 19 09:28:09 2015 -0400 Add a font features demo This started life as a standalone tool, but it is nicer to have it integrated in gtk3-demo. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 3 + demos/gtk-demo/font-features.ui | 1346 +++++++++++++++++++++++++++++++++++++ demos/gtk-demo/font_features.c | 202 ++++++ 4 files changed, 1552 insertions(+) commit a4dcc6bc5254d95823c2e7773ea75a17ee7dd81c Author: Matthias Clasen Date: Fri Jun 19 01:04:42 2015 -0400 file chooser: Small cleanup Ask the search model if it is empty, instead of maintaining this information manually in the file chooser widget. gtk/gtkfilechooserwidget.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) commit 66b5d2e5237cb00d0a217f4c34903250a5550498 Author: Matthias Clasen Date: Fri Jun 19 01:03:42 2015 -0400 GtkSearchEngineTracker: Fix SPARQL syntax The function is called tracker:uri-is-descendant, not tracker-uri-is-descendant. gtk/gtksearchenginetracker.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 489b48d0b58bc0a4360570503e5a7d41414a2835 Author: Matthias Clasen Date: Fri Jun 19 01:03:28 2015 -0400 Forgotten file gtk/gtksearchenginesimple.h | 13 ------------- 1 file changed, 13 deletions(-) commit 9426fb08ce131b9868a2fc5725655cddc5905426 Author: Matthias Clasen Date: Fri Jun 19 00:48:29 2015 -0400 GtkSearchEngineSimple: Avoid a private struct We can just make this type final, and avoid the private struct. gtk/gtksearchenginesimple.c | 72 ++++++++++++++++++++------------------------- 1 file changed, 32 insertions(+), 40 deletions(-) commit ca31662630d16e877695a813e8ef292107f8d470 Author: Matthias Clasen Date: Fri Jun 19 00:41:10 2015 -0400 GtkSearchEngineTracker: Avoid a private struct We can just make this type final, and avoid the private struct. gtk/gtksearchenginetracker.c | 71 ++++++++++++++++++++++---------------------- gtk/gtksearchenginetracker.h | 13 -------- 2 files changed, 36 insertions(+), 48 deletions(-) commit d9a22e7e30093ee83231d28ff217b2e4582152cd Author: Matthias Clasen Date: Fri Jun 19 00:34:28 2015 -0400 Avoid an unnecessary check We create the indexed_locations array unconditionally. gtk/gtksearchenginetracker.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit ed50772b4154fb7fa3d48be3c37785199ed21276 Author: Matthias Clasen Date: Fri Jun 19 00:32:49 2015 -0400 GtkSearchEngine: Avoid a crash Add a destroy notify for the data of the callback, so we don't end up leaving a dangling pointer behind for a short while if the native engine is finalized before the simple one. This was showing up as crash when typing and backspacing in the search entry of the file chooser. gtk/gtksearchengine.c | 3 ++- gtk/gtksearchenginesimple.c | 15 ++++++++++++++- gtk/gtksearchenginesimple.h | 3 ++- 3 files changed, 18 insertions(+), 3 deletions(-) commit d12c7186b6c6db74b507c95b6af11b7d16e99f8a Author: Matthias Clasen Date: Fri Jun 19 00:12:46 2015 -0400 GtkSearchEngine: Avoid crawling indexed locations Implement the IsIndexed callback for tracker. This requires reading settings of the tracker file miner. We are careful to avoid a hard dependency on the tracker schemas. gtk/gtksearchengine.c | 11 ++-- gtk/gtksearchenginetracker.c | 120 ++++++++++++++++++++++++++++++++++++++----- gtk/gtksearchenginetracker.h | 2 + 3 files changed, 115 insertions(+), 18 deletions(-) commit c7d86ef4e404e4a0e9ee9c48fa0d5e15c3f6fb6e Author: Matthias Clasen Date: Fri Jun 19 00:11:01 2015 -0400 GtkSearchEngine: Avoid crawling indexed locations Add a framework to the simple engine that allows to skip locations which are indexed by the native engine. gtk/gtksearchenginesimple.c | 35 ++++++++++++++++++++++++++++++++++- gtk/gtksearchenginesimple.h | 6 ++++++ 2 files changed, 40 insertions(+), 1 deletion(-) commit 33e2d12e908ad29f1d16505e591547abb4fb8d95 Author: Matthias Clasen Date: Fri Jun 19 00:06:14 2015 -0400 GtkSearchEngine: Initialize recursive flag Otherwise all our searches become non-recursive, which was not the intention. gtk/gtksearchengine.c | 2 ++ 1 file changed, 2 insertions(+) commit a3a58fa7d9997c2296f7bcfed6169f6b936cb8d1 Author: Matthias Clasen Date: Thu Jun 18 22:44:11 2015 -0400 GtkSearchEngine: Add recursive flag Add a flag for recursive search, and implement non-recursive search in both the tracker and simple search engines. This is not currently used in the file chooser. gtk/gtksearchengine.c | 26 ++++++++++++++++++++++++++ gtk/gtksearchengine.h | 3 +++ gtk/gtksearchenginesimple.c | 4 +++- gtk/gtksearchenginetracker.c | 16 +++++++++++++--- 4 files changed, 45 insertions(+), 4 deletions(-) commit 15a41e0bf587b370c52044f12c33e4fae3a76f17 Author: Matthias Clasen Date: Thu Jun 18 22:40:49 2015 -0400 Remove an unused field gtk/gtksearchengine.h | 2 -- 1 file changed, 2 deletions(-) commit d260d2c46685e645e48edd5b3b7c19e05202d2a6 Author: Matthias Clasen Date: Thu Jun 18 17:08:09 2015 -0400 GtkSearchEngine: Remove unused code Nothing ever uses or emits the hits-subtracted signal. Nautilus dropped it a few years ago. Time to follow suit. gtk/gtksearchengine.c | 22 ---------------------- gtk/gtksearchengine.h | 4 ---- 2 files changed, 26 deletions(-) commit 1d63335c8e51aee978521afdc77880a912b9f743 Author: Matthias Clasen Date: Thu Jun 18 15:18:30 2015 -0400 Use infos from search engine instead of getting them again When the search engine provides hits with GFileInfo, use that to add the hits to the model directly, without going through another round of async get_info calls. To do this, we add a batched variant of the _gtk_file_system_model_update_file call that takes lists of GFiles and GFileInfos. Again, we can avoid repeated resorting that happens when the files are updated individually. gtk/gtkfilechooserwidget.c | 21 ++++++++++++++++----- gtk/gtkfilesystemmodel.c | 17 +++++++++++++++++ gtk/gtkfilesystemmodel.h | 3 +++ 3 files changed, 36 insertions(+), 5 deletions(-) commit 1b755c546e5ab0693ae921f7febc1c8bb439193f Author: Matthias Clasen Date: Thu Jun 18 15:14:54 2015 -0400 Fix an oversight in the previous commit We lost the line marking the search model as non-empty, causing us to show the 'no results' page despite there being results. gtk/gtkfilechooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 56c05c429f954ec9e993af68e5993facd258e585 Author: Matthias Clasen Date: Thu Jun 18 14:37:23 2015 -0400 Request the right attributes in the simple search engine This change makes it so that the file info passed along from the simple search engine has all the attributes that the file system model wants. gtk/gtksearchenginesimple.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit abe4829e363abeb09d6ae2eef7e0e1bae573865d Author: Matthias Clasen Date: Thu Jun 18 14:31:02 2015 -0400 search engine: Pass file infos along for hits gtk/gtkfilechooserwidget.c | 5 ++--- gtk/gtksearchengine.c | 49 +++++++++++++++++++++++++++++++++++++++++--- gtk/gtksearchengine.h | 13 ++++++++++++ gtk/gtksearchenginesimple.c | 33 +++++++++++++++++------------ gtk/gtksearchenginetracker.c | 28 +++++++------------------ 5 files changed, 88 insertions(+), 40 deletions(-) commit 4b8df8c546a769d578437cec8bbf4e5d61d12965 Author: Matthias Clasen Date: Thu Jun 18 12:20:21 2015 -0400 file chooser: Use batched insertion for search results This helps avoiding excess work when procesing many search results, as typically happens with short search strings and recursive search. https://bugzilla.gnome.org/show_bug.cgi?id=751169 gtk/gtkfilechooserwidget.c | 47 +++++++++++++++++++--------------------------- 1 file changed, 19 insertions(+), 28 deletions(-) commit b2ceadb057011a120ff271c74bff5d2cbd6572bd Author: Matthias Clasen Date: Thu Jun 18 12:19:06 2015 -0400 file system model: Add batched insertion Add a batched version of gtk_file_system_model_add_and_query_file that takes a list of files and avoids resorting the model for each individual insertion. The querying is still done one-file-at-a-time, so more optimization is certainly possible. gtk/gtkfilesystemmodel.c | 36 ++++++++++++++++++++++++++++++++++++ gtk/gtkfilesystemmodel.h | 9 ++++++--- 2 files changed, 42 insertions(+), 3 deletions(-) commit 9590879e2f550a29d230099680081a9d3a90d414 Author: Emmanuele Bassi Date: Thu Jun 18 16:10:36 2015 +0100 Revert "window: Reinstate logic for should_use_csd()" This reverts commit f043fd532dc66a7abb1d4ea57c666655330cc429. The whole point of having can_use_csd() return TRUE when GTK_CSD is unset is to use it inside enable_csd(). https://bugzilla.gnome.org/show_bug.cgi?id=751140 gtk/gtkwindow.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f043fd532dc66a7abb1d4ea57c666655330cc429 Author: Emmanuele Bassi Date: Thu Jun 18 14:48:58 2015 +0100 window: Reinstate logic for should_use_csd() The old should_use_csd() function would return FALSE if the GTK_CSD environment variable is unset; the change in commit c5e5ee67490e7e7 made it return TRUE if GTK_CSD is unset. This has a cascade effect on the window size, which causes invalid rectangles to bubble down to Pixman. https://bugzilla.gnome.org/show_bug.cgi?id=751140 gtk/gtkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c82ce07d8055c79871f782c3430440866170b04b Author: Timm Bäder Date: Thu Jun 18 15:37:23 2015 +0200 gtkdialog: Remove 2px border gtk/ui/gtkdialog.ui | 1 + 1 file changed, 1 insertion(+) commit b61d79e354c4d81c902035ffa7b362576eaa45ba Author: Timm Bäder Date: Thu Jun 18 15:36:03 2015 +0200 messagedialog: remove 2px border gtk/ui/gtkmessagedialog.ui | 1 + 1 file changed, 1 insertion(+) commit a97a3d6a5beae72e7cace1cee3d75e34e80ea949 Author: Timm Bäder Date: Thu Jun 18 11:55:29 2015 +0200 filechooserdialog: Remove space between window and content Was removed in 232d6f84f0495e9effedc16d700fc13f5a6e302. gtk/ui/gtkfilechooserdialog.ui | 1 + 1 file changed, 1 insertion(+) commit dc8cc6291beab5be92f60e4088dfe16e9c316d54 Author: Jakub Steiner Date: Thu Jun 18 13:08:45 2015 +0200 Adwaita: indentation - lapo was shouting at me. gtk/theme/Adwaita/_common.scss | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) commit 3a462b174daccf25af5279b6ab4d8e980127bd18 Author: Lapo Calamandrei Date: Thu Jun 18 12:46:00 2015 +0200 Adwaita: volume button and scale button padding I was assuming that GtkVolumeButton and GtkScaleButton could only contain a icon, now they get the image-button padding by default, but if the text-button class is applied it is not overridden. gtk/theme/Adwaita/_common.scss | 9 ++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 28 ++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 28 ++++++++++++++++------------ 3 files changed, 40 insertions(+), 25 deletions(-) commit 5e616e02985d2902ea07a998f87f356adb66117c Author: Lapo Calamandrei Date: Thu Jun 18 12:33:04 2015 +0200 Adwaita: scale popup quick fix gtk/theme/Adwaita/_common.scss | 29 ++++++++++++++++++++--------- gtk/theme/Adwaita/gtk-contained-dark.css | 10 ++++++++-- gtk/theme/Adwaita/gtk-contained.css | 10 ++++++++-- 3 files changed, 36 insertions(+), 13 deletions(-) commit 58813a0db12a8e988d3857b8016bd35f329d4367 Author: Jakub Steiner Date: Thu Jun 18 12:01:12 2015 +0200 Adwaita: markup cleanup - move touch selection selectors to its own section - use scss style markup for .button common elsewhere (more compact and legible) gtk/theme/Adwaita/_common.scss | 90 ++++---- gtk/theme/Adwaita/gtk-contained-dark.css | 376 +++++++++++++++++++------------ gtk/theme/Adwaita/gtk-contained.css | 376 +++++++++++++++++++------------ 3 files changed, 505 insertions(+), 337 deletions(-) commit ff20abda8ee1aa78e9ee82bca02e3e1093183983 Author: Jakub Steiner Date: Wed Jun 17 13:05:02 2015 +0200 HC: touch text selection styling - sync with Adwaita - try to avoid using image assets https://bugzilla.gnome.org/show_bug.cgi?id=750883 gtk/theme/HighContrast/_common.scss | 86 +++++++++++++++-- gtk/theme/HighContrast/gtk.css | 188 ++++++++++++++++++++++++++++++++++-- 2 files changed, 258 insertions(+), 16 deletions(-) commit f85db624eb2bb0e6491ac7942433b65147a89696 Author: Ting-Wei Lan Date: Thu Jun 18 12:14:05 2015 +0800 Fix return value error in _gtk_window_get_popover_parent gtk/gtkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 00616bc19910541ba28b07b904d84b997db96d7d Author: Matthias Clasen Date: Wed Jun 17 20:24:29 2015 -0400 Cosmetic change gtk/ui/gtksidebarrow.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0f7857f66a647085f83f6667e0a48fb4b53c1e61 Author: Matthias Clasen Date: Wed Jun 17 20:07:24 2015 -0400 GtkPlacesSidebar: Fix rtl appearance Apply the necessary directional variants for asymmetric css padding. https://bugzilla.gnome.org/show_bug.cgi?id=751084 gtk/theme/Adwaita/_common.scss | 6 +- gtk/theme/Adwaita/gtk-contained-dark.css | 789 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 711 ++++++++++++---------------- 3 files changed, 667 insertions(+), 839 deletions(-) commit 9c7b0f0491d24d950387244fe5b4e750f11fa1e4 Author: Cosimo Cecchi Date: Tue Jun 16 12:02:41 2015 -0700 overlay: remove gtk_overlay_add_pass_through_overlay() The API to access this functionality will be the setter we just added in the previous commit. https://bugzilla.gnome.org/show_bug.cgi?id=750568 docs/reference/gtk/gtk3-sections.txt | 1 - gtk/gtkoverlay.c | 43 ------------------------------------ gtk/gtkoverlay.h | 3 --- tests/testoverlay.c | 3 ++- 4 files changed, 2 insertions(+), 48 deletions(-) commit 3b1b171be54dc45dc566595d6fe245f6742fa042 Author: Cosimo Cecchi Date: Tue Jun 16 12:01:30 2015 -0700 overlay: add setters and getters for pass-through child property This will make the API easier to use from bindings too. https://bugzilla.gnome.org/show_bug.cgi?id=750568 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkoverlay.c | 52 ++++++++++++++++++++++++++++++++++++ gtk/gtkoverlay.h | 8 +++++- 3 files changed, 61 insertions(+), 1 deletion(-) commit 1e6ccf5c86e34df543206e61e0ab93d1925d9f79 Author: Cosimo Cecchi Date: Tue Jun 16 11:58:46 2015 -0700 docs: add new GtkOverlay methods to gtk3-sections.txt https://bugzilla.gnome.org/show_bug.cgi?id=750568 docs/reference/gtk/gtk3-sections.txt | 2 ++ 1 file changed, 2 insertions(+) commit 94a149c8ea69ecfacd4d605afd7ad9c1d9f439dd 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 8612942fe2f47d5e2c7f92e55bba578136b77df7 Author: Matthias Clasen Date: Wed Jun 17 06:09:59 2015 -0400 file chooser: Drop unused variables gtk/gtkfilechooserwidget.c | 9 --------- gtk/ui/gtkfilechooserwidget.ui | 6 +++--- 2 files changed, 3 insertions(+), 12 deletions(-) commit 916cf8f61ecaa5610216c206f8ec2bda190d4809 Author: Matthias Clasen Date: Tue Jun 16 23:46:34 2015 -0400 file chooser: Use a revealer Use a revealer to manage the visibility of the header area where we show the pathbar, the location entry or search. This is a bit smoother, and makes search more similar to a search bar. gtk/gtkfilechooserwidget.c | 19 +++--- gtk/ui/gtkfilechooserwidget.ui | 150 +++++++++++++++++++++-------------------- 2 files changed, 86 insertions(+), 83 deletions(-) commit 15bb9acc8ad0cb53969d402025aab64aa52972cd Author: Carlos Garnacho Date: Wed Jun 17 15:58:55 2015 +0200 texthandle: Avoid double rendering of background/frame gtk_render_handle() already renders background/frame itself, avoid doing this twice. gtk/gtktexthandle.c | 2 -- 1 file changed, 2 deletions(-) commit 77d429bc4debc3840ccbed9faf5616792c3e4fb5 Author: Carlos Garnacho Date: Mon Jun 15 14:07:40 2015 +0200 gtkmain: Ignore grab for events in child popovers Popovers may be spawn when there's GTK+ grabs somewhere else (eg. text selection popover/handles in an entry in a modal popover). When this happens, events go to the grab widget (in this case the modal popover) and are effectively ignored by the event widget, even though it's can be conceptually a child of the grab widget. To get away with this, tweak a bit gtk_main_do_event(), so events going to popovers that are related to grab_widget or a child of it are received, as it would happen with regular children of grab_widget. https://bugzilla.gnome.org/show_bug.cgi?id=750993 gtk/gtkmain.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) commit 76dc8aced5517b409e2cc7897e1d49a20a0c8ade Author: Carlos Garnacho Date: Mon Jun 15 14:05:00 2015 +0200 window: Add concept of popover "parent" This will be the widget that the popover relates to (::pointing-to in GtkPopover, ::parent in GtkTextHandle). Additional API to check the popover/parent relationship between widgets has been added, which will be useful wherever this is necessary in a generic manner. https://bugzilla.gnome.org/show_bug.cgi?id=750993 gtk/gtkpopover.c | 4 ++-- gtk/gtktexthandle.c | 2 +- gtk/gtkwindow.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkwindowprivate.h | 8 +++++++- 4 files changed, 62 insertions(+), 5 deletions(-) commit 3955d93e9de2afee80b9600e45df54ca85f671a9 Author: Ting-Wei Lan Date: Wed Jun 17 18:01:48 2015 +0800 Fix return value error in gdk_window_set_pass_through https://bugzilla.gnome.org/show_bug.cgi?id=751099 gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0dab37c78fe261fc914e4a12d48e732726f13d43 Author: Jonas Ådahl Date: Wed Jun 17 17:31:19 2015 +0800 wayland: Always request transient commit when mapping subsurface A subsurface positioning operation only takes effect when the parent surfaces state is applied. If a subsurface is mapped and positioned, but the parent surface state is not immediately committed, the relative position of the subsurface is undefined and may be placed incorrectly. To avoid this undefined state, always request that the parent surface should be committed after mapping a subsurface so that the position operation will take effect. https://bugzilla.gnome.org/show_bug.cgi?id=751098 gdk/wayland/gdkwindow-wayland.c | 3 +++ 1 file changed, 3 insertions(+) commit fb06b6e4b8cc312f56322b38b91af5b4c726bc33 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 6a2143ab31beaa69fb685a3db6882831fc372cc2 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 3665a17102b3d2c0b8289f6925dd71ce0e067c5e Author: Yosef Or Boczko Date: Wed Jun 17 03:24:12 2015 +0300 Updated Hebrew translation po/he.po | 376 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 195 insertions(+), 181 deletions(-) commit 213b92e644645d4228b98ec86a0db4e84ef48120 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 569e59b2c580be4261e5e82252ee197a016697a2 Author: Carlos Soriano Date: Tue Jun 16 16:54:24 2015 +0200 gtkplacessidebar: improve variable name gtk/gtkplacessidebar.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 0bb82bf1de1cc156422bc376d8a1b670fad0ce88 Author: Carlos Soriano Date: Tue Jun 16 16:25:33 2015 +0200 gtkplacessidebar: Remove some old comments We didn't made up our minds until now from some of them, and for the others no progress has been made or bugs reported, so probably they are fine. gtk/gtkplacessidebar.c | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) commit fbbad5deecb635af34a890a540e8e272b95c4d9b Author: Carlos Soriano Date: Wed May 6 23:07:17 2015 +0200 gtkplacesidebar: use GtkListBox We were using GTkTreeView in a simple list. Also, as we know, GtkCellRenderers are not the best way to theme and manipulate widgets. So instead use a GtkListBox to modernize the GtkPlacesSidebar, and in the way clean up some parts of the code (like headings) which were not used anymore. Also we don't use a model anymore, since the data is simple enough to manage it in a subclass of the row itself. gtk/Makefile.am | 6 +- gtk/gtkplacessidebar.c | 2700 +++++++++++------------------- gtk/gtkplacessidebarprivate.h | 54 + gtk/gtksidebarrow.c | 629 +++++++ gtk/gtksidebarrowprivate.h | 53 + gtk/theme/Adwaita/_colors.scss | 4 +- gtk/theme/Adwaita/_common.scss | 84 +- gtk/theme/Adwaita/gtk-contained-dark.css | 378 +++-- gtk/theme/Adwaita/gtk-contained.css | 378 +++-- gtk/ui/gtksidebarrow.ui | 86 + 10 files changed, 2287 insertions(+), 2085 deletions(-) commit d881b1534914398046f7e5237321f978ff073441 Author: Carlos Soriano Date: Mon Jun 8 19:01:45 2015 +0200 theme: decrease list row transition It was somewhat annoying given the "trace" of it. Decrease the time to avoid too much "trace" gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 566 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 488 +++++++++++++------------- 3 files changed, 528 insertions(+), 528 deletions(-) commit 43a4843b9caf745823210fdbca95123cd560e48b Author: Carlos Soriano Date: Sat Apr 11 17:36:41 2015 +0200 gtkfilechooserwidget: show drop hints on gtkplacessidebar Now with the API addition on gtkplacessidebar, we can show some hints for the drop targets. https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkfilechooserwidget.c | 25 +++++++++++++++++++++++++ gtk/ui/gtkfilechooserwidget.ui | 2 ++ 2 files changed, 27 insertions(+) commit 4499174e32f73aeb24494c3e8d309c7486170cd7 Author: Carlos Soriano Date: Mon May 11 19:12:32 2015 +0200 gtkplacessidebar: make insensitive invalid drop targets https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkplacessidebar.c | 55 +++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit fb034f38b31e31b1e4a4cc67889d45ee8615ade4 Author: Carlos Soriano Date: Sat Apr 11 17:46:59 2015 +0200 gtkplacessidebar: add new bookmark icon Following design mockups https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkplacessidebar.c | 4 ++++ 1 file changed, 4 insertions(+) commit a9b698b265f4b0c909b1baabc6b2c8bcec719a46 Author: Carlos Soriano Date: Thu Jun 11 18:55:24 2015 +0200 gtkplacesidebar: remove obsolete drop state We didn't use those for some time now. gtk/gtkplacessidebar.c | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) commit 91e1e808624f35f617a8544b7d70591efe280c19 Author: Carlos Soriano Date: Sat Apr 11 17:35:23 2015 +0200 gtkplacessidebar: add API for show drop hints It is convenient to allow applications to show all the drop targets at once. This improves the user experience with drag an drop. The new API allows the application to set the gtkplacessidebar in a mode where invalid drop targets are insensitive and it adds a "new bookmark" row. This mode is intended to be set when the application is aware of a dnd operation and needs to be stopped kwhen the application is aware that dnd operation was cancelled or ended in a different part than gtkplacesisdebar. The context parameter is unused in this patch, but will be used in next patches when the sidebar will use a GtkListBox. The reason of being unused now is just convenience. https://bugzilla.gnome.org/show_bug.cgi?id=747793 docs/reference/gtk/gtk3-sections.txt | 1 + gtk/gtkplacessidebar.c | 122 ++++++++++++++++++++++++++++------- gtk/gtkplacessidebar.h | 4 ++ 3 files changed, 105 insertions(+), 22 deletions(-) commit 4371cc8f0162d00c5e74b52499dd5587b8f0b4b8 Author: Carlos Soriano Date: Sat Apr 11 13:53:18 2015 +0200 gtkplacessidebar: new bookmark row only at first position Following the new mockups, put the new bookmark row always in the first position, so it's easier to drop an item. https://bugzilla.gnome.org/show_bug.cgi?id=747793 gtk/gtkplacessidebar.c | 141 ++++++++++++++++++++++++++----------------------- 1 file changed, 74 insertions(+), 67 deletions(-) commit e367c4baa0395c9cc7e7fafc70459c9e63b66322 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 002699402dd045e71bd108463a3f8cc7442ec538 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 f99375f91ed3e785d2e2bb0bb398f84202f71fed 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 9fc19b5a26e34568c46b90f7cb7357a2898e78b0 Author: Alexander Larsson Date: Mon Jun 15 16:32:50 2015 +0200 gtkoverlay: Fix issues with remove The iteration now progresses past a delete, so make sure we iterate safely. Also, don't chain up if we removed a child. gtk/gtkoverlay.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 5cf289630833a83cd0ea46063073425e9aaec275 Author: Alexander Larsson Date: Mon Jun 15 11:00:40 2015 +0200 testoverlay: Fix indentation tests/testoverlay.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) commit 1a44a85847cc1889eff1c31aeb27837a53e2c71f Author: Alexander Larsson Date: Tue Jun 9 10:23:19 2015 +0200 testoverlay: Add test for overlay z ordering https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 tests/testoverlay.c | 67 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) commit a9bf6532b4ac4d6a3bc0bccd87d8bacb7e828c7e Author: Alexander Larsson Date: Mon Jun 8 16:30:40 2015 +0200 testoverlay: Fix test by using add_pass_through_overlay https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 tests/testoverlay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4dd66b0c53166d9a399dd9840e02bbe0e98dca12 Author: Alexander Larsson Date: Tue Jun 9 10:26:31 2015 +0200 GtkOverlay: Add support for input pass-through overlays For these widgets we set pass-through on the child window so that input over these widgets (that are not on a child input window) goes to the window below the overlay. https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 gtk/gtkoverlay.c | 70 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkoverlay.h | 3 +++ 2 files changed, 73 insertions(+) commit 76ba5a03b94157423bb37039bc214eedf29312b3 Author: Alexander Larsson Date: Mon Jun 8 16:28:32 2015 +0200 overlay: Add reorder_overlay() This allows you to control the z-ordering of overlay children https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 gtk/gtkoverlay.c | 199 ++++++++++++++++++++++++++++++++++++++++++++++++++++++- gtk/gtkoverlay.h | 5 ++ 2 files changed, 203 insertions(+), 1 deletion(-) commit 4c3eece6638aa36fbcd8379109dcb4e27323a306 Author: Alexander Larsson Date: Mon Jun 8 15:36:43 2015 +0200 gdk: Add gdk_window_set_pass_through An pass_through window is something you can draw in but does not affect event handling. Normally if a window has with no event mask set for a particular event then input events in it go to its parent window (X11 semantics), whereas if pass_through is enabled the window below the window will get the event. The later mode is useful when the window is partially transparent. Note that an pass-through windows can have child windows that are not pass-through so they can still get events on some parts. Semantically, this behaves the same as an regular window with gdk_window_set_child_input_shapes() called on it (and re-called any time a child is changed), but its far more efficient and easy to use. This allows us to fix the testoverlay input stacking test. https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 gdk/gdkinternals.h | 1 + gdk/gdkwindow.c | 125 +++++++++++++++++++++++++++++++++++++++++++++++++++-- gdk/gdkwindow.h | 6 +++ 3 files changed, 128 insertions(+), 4 deletions(-) commit ccc4b192ec994ee06817fbf19ff8c662be8d995a Author: Alexander Larsson Date: Mon Jun 8 15:31:02 2015 +0200 testoverlay: Add new input stacking test In this case we have a bunch of interactive main children of the overlay, and then a centered overlay that contains both non-interactive (labels) and interactive (entry) widgets. This shows off a problem where the non-interactive parts (the labels) steals input from the overlay main children (breaks button click and hover effects). https://bugzilla.gnome.org/show_bug.cgi?id=750568 https://bugs.freedesktop.org/show_bug.cgi?id=90917 tests/testoverlay.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) commit 3271eb2141950e5861aeac01d57bff1635b52a43 Author: Daniel Mustieles Date: Mon Jun 15 08:55:00 2015 +0000 Updated Spanish translation po-properties/es.po | 643 +++++++++++++++++++++++++++------------------------- 1 file changed, 329 insertions(+), 314 deletions(-) commit da4e83e70771e569aa88c0f3244b2a68b1d8fc60 Author: Dimitris Spingos Date: Mon Jun 15 11:14:00 2015 +0300 Updated Greek translation po-properties/el.po | 1822 ++++++++++++++++++++++++++------------------------- po/el.po | 965 +++++++++++++++------------ 2 files changed, 1475 insertions(+), 1312 deletions(-) commit fe51ac273c8045279a222c22a52d297d5ede4169 Author: Benjamin Otte Date: Mon Jun 15 04:30:50 2015 +0200 stylecontext: Change fallback behavior on state mismatch For functions that take state flags as an argument we need to special case the situation where the passed in flags don't match the current state. Previously we would create a copy of the style info, change its state and do the lookup from there. Now that GtkCssNode has replaced style infos, this doesn't work as well anymore as copying a GtkCssNode is not possible. However, unike style infos, GtkCssNodes are instant-apply, so we don't need to copy anymore, we can just change the state of the node. This causes some invalidations to be queued, but we can take that performance hit as this is fallback code. https://bugzilla.redhat.com/show_bug.cgi?id=1228852 gtk/gtkstylecontext.c | 60 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 24 deletions(-) commit fa29a01c26e078b0ef486c1083e41ed7a0c1536e Author: Matthias Clasen Date: Sun Jun 14 21:37:58 2015 -0400 widget-factory: Make the circular button do something demos/widget-factory/widget-factory.c | 2 ++ demos/widget-factory/widget-factory.ui | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) commit 675467063ee25b5b9c80466d89fc890d0b1a763b Author: Matthias Clasen Date: Sun Jun 14 21:30:01 2015 -0400 testassistant: Remove padding from the filechooser page This tests the new assistant api to remove padding from pages. tests/testassistant.c | 1 + 1 file changed, 1 insertion(+) commit c3a0880cd6d839efdeb4a52ca64d27e2bb0aaff0 Author: Matthias Clasen Date: Sun Jun 14 21:29:09 2015 -0400 GtkAssistant: Add a way to have pages without padding This can be useful when embedding complex widgets like a file chooser as a page. https://bugzilla.gnome.org/show_bug.cgi?id=750631 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkassistant.c | 86 +++++++++++++++++++++++++++++++++++- gtk/gtkassistant.h | 8 ++++ 3 files changed, 95 insertions(+), 1 deletion(-) commit 43fcae91f19e587c3abb88cc7497cf3cf76d5f2c Author: Matthias Clasen Date: Sun Jun 14 21:05:49 2015 -0400 Add a filechooser-in-assistant example This is one of the cases where one wants a page without any padding. tests/testassistant.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 6cc65260f4ba54ea0ca9f93068050435bd6b9f1a Author: Matthias Clasen Date: Sun Jun 14 21:04:15 2015 -0400 GtkAssistant: Redo page margins Instead of having padding outside the notebook containing all pages, put each page in an extra box and add the padding there. This is in preparation for allowing pages without padding. gtk/gtkassistant.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit cfd85dee03509fa88b1c50326ffad6b0446af326 Author: Matthias Clasen Date: Fri Jun 12 06:35:23 2015 -0400 assistant: Drop hardcoded padding This means the pages themselves will be responsible for setting suitable padding. https://bugzilla.gnome.org/show_bug.cgi?id=750631 gtk/ui/gtkassistant.ui | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit ef8ad1c7341e1bac7fd36e7e7da0a7a513855f83 Author: Jordi Mas Date: Sun Jun 14 08:32:03 2015 +0200 Fixes to Catalan translation po-properties/ca.po | 16 ++++++++-------- po/ca.po | 8 ++++---- 2 files changed, 12 insertions(+), 12 deletions(-) commit 9fbd71394c172d783422622d9acd32c68d748701 Author: Matthias Clasen Date: Sat Jun 13 23:00:41 2015 -0400 Only build testfontchooserdialog on linux We are using this to test pango functionality that uses fontconfig apis, so this doesn't build on OS X or Windows anymore. https://bugzilla.gnome.org/show_bug.cgi?id=750892 tests/Makefile.am | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d1f2e5896b3b0faedb05a68a4151e33eba687b51 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 822886edbc7d4630c980a16ed6517f48e82db207 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 98a3fac6ab357259d8fb50d5293578dffb79edd6 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 1bba3b0a3866f6f4cd7c5b7f5813eb9db56267ce Author: Matthias Clasen Date: Sat Jun 13 17:57:19 2015 -0400 Avoid uninitialized variables clang complains that these may be used uninitialized. gtk/gtkplacessidebar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 8cbed0b04ac639f24a2b3ee2e1609fd2ddd84b20 Author: Matthias Clasen Date: Sat Jun 13 17:57:09 2015 -0400 entry: Drop an unused variable gtk/gtkentry.c | 1 - 1 file changed, 1 deletion(-) commit 047ad11353b066437d2430fcfcafff78d7bc5c10 Author: Matthias Clasen Date: Sat Jun 13 17:56:55 2015 -0400 Drop an unused variable gtk/deprecated/gtkrc.c | 83 -------------------------------------------------- 1 file changed, 83 deletions(-) commit 7aec96b95f1f1cbe36edee4a076b4025b70077b0 Author: Matthias Clasen Date: Sat Jun 13 17:49:54 2015 -0400 Remove unused variables gdk/x11/gdkproperty-x11.c | 93 ++--------------------------------------------- 1 file changed, 3 insertions(+), 90 deletions(-) commit 5a446284b7e4710e11daf9cf5e412e5fbf18e4b9 Author: Matthias Clasen Date: Sat Jun 13 17:49:20 2015 -0400 Ensure a variable is initialized clang complained about transient_for being used uninitialized. gdk/wayland/gdkwindow-wayland.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 577e9a33bb5e3a7409dd8a0b131e8224cbbb3844 Author: Matthias Clasen Date: Sat Jun 13 17:49:06 2015 -0400 Remove an unused variable gdk/gdkwindow.c | 2 -- 1 file changed, 2 deletions(-) commit 85a6cafd81f6a68f8594d7315c1341d9443ca358 Author: Matthias Clasen Date: Sat Jun 13 17:47:56 2015 -0400 broadway: Avoid compiler warnings clang doesn't like self-assignment. gdk/broadway/broadway-buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5b162fa44ac6106856a34c3b6a15b125ec95d10b Author: Matthias Clasen Date: Sat Jun 13 16:57:32 2015 -0400 GtkColorEditor: Remove old todo Most of this is done, and the rest will not happen because of this note. gtk/gtkcoloreditor.c | 7 ------- 1 file changed, 7 deletions(-) commit 2af218934715632b67ac8559efe9e58c53b654f9 Author: Matthias Clasen Date: Sat Jun 13 13:45:57 2015 -0400 widget-factory: More popover examples Add an example for text input in a popover. This leads to nested popovers with touch selection, and does not currently work. demos/widget-factory/widget-factory.c | 16 +++++++ demos/widget-factory/widget-factory.ui | 83 +++++++++++++++++++++++++++++++++- 2 files changed, 98 insertions(+), 1 deletion(-) commit 94fc9f521173c8032b1254be296b09ed557028cb Author: Matthias Clasen Date: Sat Jun 13 12:02:33 2015 -0400 widget-factory: Add horizontally linked entries It happens in some places, so artists need an example to make it look good. demos/widget-factory/widget-factory.ui | 52 ++++++++++++++++++++++++++++++++-- 1 file changed, 49 insertions(+), 3 deletions(-) commit 41b6993a66a6173434d1bca3f71d2596f094b121 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 d8657a815629103f1cd3ec1b463f694cb0493d6f Author: Ting-Wei Lan Date: Sat Jun 13 13:44:24 2015 +0800 Fix return value error in _gtk_text_handle_set_direction https://bugzilla.gnome.org/show_bug.cgi?id=750888 gtk/gtktexthandle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6f955a7df67222b6ee4b2502eb5e1428f9c91d20 Author: Matthias Clasen Date: Fri Jun 12 23:55:30 2015 -0400 Redo font map support in GtkFontChooser We can't add properties to the interface, since it breaks 3rd party implementations of the GtkFontChooser interface. These exist, for example in gnumeric. So, instead of a new property, add getter/setter vfuncs. gtk/gtkfontbutton.c | 24 ++++++++++++++---------- gtk/gtkfontchooser.c | 20 +++++--------------- gtk/gtkfontchooser.h | 7 ++++++- gtk/gtkfontchooserutils.c | 18 +++++++++++++++--- gtk/gtkfontchooserutils.h | 1 - gtk/gtkfontchooserwidget.c | 24 ++++++++++++++---------- 6 files changed, 54 insertions(+), 40 deletions(-) commit 8c6130e68a6e62980251cb19a0fbcd50505700f1 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(-) commit a01fe140565f0af0838714daa6a99308f164d11c Author: Carlos Garnacho Date: Fri Jun 12 15:05:33 2015 +0200 popover: Avoid hiding modal popovers if another popover is taking focus Due to popover modality itself, there's quite high chances the popover stealing focus has been triggered from within, so stay friendly to it. Hiding the popover here will only hide the grabbing popover too if this happens. https://bugzilla.gnome.org/show_bug.cgi?id=750741 gtk/gtkpopover.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit a0ff35f032643af888ff3bebe114d1f2968272c4 Author: Carlos Garnacho Date: Fri Jun 12 15:03:41 2015 +0200 window: Avoid rising the window of already shown popovers This breaks stacking, as popovers are repositioned sort of frequently (even more after show/hide animations). https://bugzilla.gnome.org/show_bug.cgi?id=750741 gtk/gtkwindow.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) commit 131abe28a442220fb542d1a0a12c69833e40fcfc 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 0093b156d72cdf1ed4156c746236efb0de6d03df 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 06df94ff7bf8fe924226c5a5f3223c2fcf27ee10 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 e847c27aac17feed799ae14aeac90d68165a322e 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 a2d1d5244b400074b247dc8bdfbacc54dbe1be55 Author: Carlos Garnacho Date: Fri Jun 12 13:30:34 2015 +0200 entry: Ensure we unset the magnifier widget on ::destroy Otherwise there's dangling signal handlers which cause warnings at the time we attempt to disconnect these. gtk/gtkentry.c | 3 +++ 1 file changed, 3 insertions(+) commit 5c38991367d0c9815060a59754813e653ca84036 Author: Carlos Garnacho Date: Fri Jun 12 13:04:45 2015 +0200 textview: Set handles' mode to "none" if showing the bubble show_or_hide_handles() tries to disable visibility when the popover is shown, although it triggers a bit late, and lets the handles flash briefly if both popover and handles try to show at the same time (eg. when pressing on the selection of a previously unfocused textview, the handles were previously hidden, so they try to show again on focus in). gtk/gtktextview.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit c11906fcdbe12bab387ae74830703bcd919249a2 Author: Carlos Garnacho Date: Fri Jun 12 12:45:03 2015 +0200 textview: Perform tougher handle visibility checks after hiding the popover The handles might fall outside the visible area, and shouldn't be shown then. Just call gtk_text_view_update_handles() which will perform these checks, and keep the handle conveniently hidden. This was leading to unexpectedly visible handles (and in the wrong/previous position, the handle code doesn't relocate the widget it's about to hide) when "select all" was selected in the popover on a textview needing scrollbars. and extending the selection beyond the view above and/or below. gtk/gtktextview.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 2be6d09c9ea7341478ac699c144178c2a001a197 Author: Carlos Garnacho Date: Fri Jun 12 11:59:47 2015 +0200 popover: Be lenient wrt visibility of popovers too close to widget borders The check used to hide the popover if the pointed area fell partly out of the widget allocation, textviews now can trigger that with text selections too close to the visible edge, as a small extra area around is now reserved. The check has been changed to only hide the popover if the pointed area falls completely outside the widget allocation. gtk/gtkpopover.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5a499ef3e165a0e0788fd2d92bf506f1453d68d9 Author: Carlos Garnacho Date: Thu Jun 11 17:10:54 2015 +0200 texthandle: Remove knowledge about window borders We need to expand beyond these if necessary, so don't artificially limit things here. gtk/gtktexthandle.c | 6 ------ 1 file changed, 6 deletions(-) commit 551931c1c6d8bc7a5d052c86538b8a5587eb2e35 Author: Carlos Garnacho Date: Wed Jun 10 21:02:34 2015 +0200 window: Allow more space at edges for popovers We're clamping to the visible window edge, which misplaces text handles. gtk/gtkwindow.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 10cb7f90e442a17501ad0a62316661aca201608b Author: Carlos Garnacho Date: Thu Jun 11 16:18:02 2015 +0200 entry: Set text direction information on text handles This way the handles point to the right side on the presence of rtl/ltr text. gtk/gtkentry.c | 1 + 1 file changed, 1 insertion(+) commit 8d56346f9bdb8a82c16fe56708148e9392d9025f Author: Carlos Garnacho Date: Wed Jun 10 20:53:12 2015 +0200 textview: set text direction information on text handles This makes them point to the correct place, given the theme supports this. gtk/gtktextview.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 3a7689bae0005e003037785ea8a51ce9a4b4a07f Author: Carlos Garnacho Date: Wed Jun 10 20:52:02 2015 +0200 texthandle: Handle ltr/rtl positioning This setting is per handle, as is dependent on the selected text, rather than the locale. gtk/gtktexthandle.c | 29 ++++++++++++++++++++++++++++- gtk/gtktexthandleprivate.h | 3 +++ 2 files changed, 31 insertions(+), 1 deletion(-) commit cd5f70357cf79479540936b9aeeb5e4be23f2d7d Author: Carlos Garnacho Date: Wed Jun 10 20:54:09 2015 +0200 Adwaita: support rtl on text handles Just use the opposite variant for the opposite LTR side. gtk/theme/Adwaita/_common.scss | 6 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 54 +++++++++++++++++++++----------- gtk/theme/Adwaita/gtk-contained.css | 54 +++++++++++++++++++++----------- 3 files changed, 75 insertions(+), 39 deletions(-) commit fc6871b43bd5f48237dabb70969f4e895c883065 Author: Carlos Garnacho Date: Wed Jun 10 19:54:34 2015 +0200 texthandles: Move start handle to bottom The asset is going to change to point upwards, so physically place the handle below the text position. https://bugzilla.gnome.org/show_bug.cgi?id=750692 gtk/gtktexthandle.c | 39 ++++++++++++--------------------------- 1 file changed, 12 insertions(+), 27 deletions(-) commit c8d70c8d8c52fd562511b67298a331fb75a50da7 Author: Jakub Steiner Date: Wed Jun 10 19:36:48 2015 +0200 Adwaita: update text selection handles - we'll put both handles to teh bottom - renamed top, bottom to start and end. will be easier for rtl too. https://bugzilla.gnome.org/show_bug.cgi?id=750692 gtk/theme/Adwaita/_common.scss | 4 +- gtk/theme/Adwaita/assets.svg | 502 +++++++++++---------- gtk/theme/Adwaita/assets.txt | 24 +- .../assets/text-select-bottom-active-dark.png | Bin 928 -> 0 bytes .../assets/text-select-bottom-active-dark@2.png | Bin 2070 -> 0 bytes .../Adwaita/assets/text-select-bottom-active.png | Bin 992 -> 0 bytes .../Adwaita/assets/text-select-bottom-active@2.png | Bin 2072 -> 0 bytes .../Adwaita/assets/text-select-bottom-dark.png | Bin 913 -> 0 bytes .../Adwaita/assets/text-select-bottom-dark@2.png | Bin 1995 -> 0 bytes .../assets/text-select-bottom-hover-dark.png | Bin 916 -> 0 bytes .../assets/text-select-bottom-hover-dark@2.png | Bin 2058 -> 0 bytes .../Adwaita/assets/text-select-bottom-hover.png | Bin 960 -> 0 bytes .../Adwaita/assets/text-select-bottom-hover@2.png | Bin 1972 -> 0 bytes gtk/theme/Adwaita/assets/text-select-bottom.png | Bin 947 -> 0 bytes gtk/theme/Adwaita/assets/text-select-bottom@2.png | Bin 1952 -> 0 bytes .../Adwaita/assets/text-select-end-active-dark.png | Bin 0 -> 928 bytes .../assets/text-select-end-active-dark@2.png | Bin 0 -> 2070 bytes .../Adwaita/assets/text-select-end-active.png | Bin 0 -> 992 bytes .../Adwaita/assets/text-select-end-active@2.png | Bin 0 -> 2072 bytes gtk/theme/Adwaita/assets/text-select-end-dark.png | Bin 0 -> 913 bytes .../Adwaita/assets/text-select-end-dark@2.png | Bin 0 -> 1995 bytes .../Adwaita/assets/text-select-end-hover-dark.png | Bin 0 -> 916 bytes .../assets/text-select-end-hover-dark@2.png | Bin 0 -> 2058 bytes gtk/theme/Adwaita/assets/text-select-end-hover.png | Bin 0 -> 960 bytes .../Adwaita/assets/text-select-end-hover@2.png | Bin 0 -> 1972 bytes gtk/theme/Adwaita/assets/text-select-end.png | Bin 0 -> 947 bytes gtk/theme/Adwaita/assets/text-select-end@2.png | Bin 0 -> 1952 bytes .../assets/text-select-start-active-dark.png | Bin 0 -> 895 bytes .../assets/text-select-start-active-dark@2.png | Bin 0 -> 1931 bytes .../Adwaita/assets/text-select-start-active.png | Bin 0 -> 958 bytes .../Adwaita/assets/text-select-start-active@2.png | Bin 0 -> 1946 bytes .../Adwaita/assets/text-select-start-dark.png | Bin 0 -> 859 bytes .../Adwaita/assets/text-select-start-dark@2.png | Bin 0 -> 1828 bytes .../assets/text-select-start-hover-dark.png | Bin 0 -> 868 bytes .../assets/text-select-start-hover-dark@2.png | Bin 0 -> 1899 bytes .../Adwaita/assets/text-select-start-hover.png | Bin 0 -> 911 bytes .../Adwaita/assets/text-select-start-hover@2.png | Bin 0 -> 1842 bytes gtk/theme/Adwaita/assets/text-select-start.png | Bin 0 -> 861 bytes gtk/theme/Adwaita/assets/text-select-start@2.png | Bin 0 -> 1838 bytes .../Adwaita/assets/text-select-top-active-dark.png | Bin 914 -> 0 bytes .../assets/text-select-top-active-dark@2.png | Bin 1989 -> 0 bytes .../Adwaita/assets/text-select-top-active.png | Bin 862 -> 0 bytes .../Adwaita/assets/text-select-top-active@2.png | Bin 1794 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top-dark.png | Bin 892 -> 0 bytes .../Adwaita/assets/text-select-top-dark@2.png | Bin 1881 -> 0 bytes .../Adwaita/assets/text-select-top-hover-dark.png | Bin 910 -> 0 bytes .../assets/text-select-top-hover-dark@2.png | Bin 1948 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top-hover.png | Bin 824 -> 0 bytes .../Adwaita/assets/text-select-top-hover@2.png | Bin 1683 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top.png | Bin 887 -> 0 bytes gtk/theme/Adwaita/assets/text-select-top@2.png | Bin 1856 -> 0 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 12 +- gtk/theme/Adwaita/gtk-contained.css | 12 +- 53 files changed, 288 insertions(+), 266 deletions(-) commit 1600d5401258c68ae3eb47f39034780ae99a2597 Author: Piotr Drąg Date: Thu Jun 11 15:50:15 2015 +0200 docs: Fix some minor typos in comments in GtkWidget gtk/gtkwidget.c | 84 ++++++++++++++++++++++++++++----------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) commit 8b069003622932891830eba528533681d033d117 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 b2cbe7ba79da5137e9c93b652b4b30894e4c9bc6 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 7410a4a994eb4b0f0696cab9651c5b834ffc76cd 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 d11e81257e220c2a78acdcc4fab6f0bee99128c4 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 b493bf091af34d8085cd71c2d6e9fe16ab2a20f2 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 56faf49b8e9d456177fbac17f05c39f5f29f8cdb 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 5a612469460d99f8f1d9b695b3d4e42822bc4513 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 715777154bfa493d16639922f2216f09042e58e9 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 e74d2b7564d1ea4a45d17a472c29aa0b43e9a1e9 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 90a331c84a498341f880a32f7e963826e7a89ac6 Author: Matthias Clasen Date: Wed Jun 10 06:20:18 2015 -0400 entry: Select word on double tap The same approach as taken for GtkTextView in the previous commit. gtk/gtkentry.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit ac5fcc6b729e03281a1639ab60189c7745360b3f Author: Matthias Clasen Date: Tue Jun 9 23:29:47 2015 -0400 text view: Select word on double tap This is an initial attempt at implementing double-tap selection. gtk/gtktextview.c | 44 ++++++++++++++++++++++++++++++++++++++------ 1 file changed, 38 insertions(+), 6 deletions(-) commit 06726b4d4bbc3031158e484f4089c236fdbaffaa Author: Matthias Clasen Date: Tue Jun 9 22:29:26 2015 -0400 gtk-demo: Make hypertext demo work with touch Make tapping on the links work. demos/gtk-demo/hypertext.c | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) commit 85635457bc2204783a6a7b27435774aa5a93df35 Author: Jonas Ådahl Date: Fri Jun 5 13:29:22 2015 +0800 wayland: Improve guessing of popup placement for detached popup menus If a menu was not attached to any widget, we try to calculate its position given where the grabbed pointer is and what window has its focus. Previously we failed to do so if a "transfer window" was used for the grab, and this patch adds a code path that, if the menu window itself didn't have the grab, look for the transfer window and get the grab device from there. https://bugzilla.gnome.org/show_bug.cgi?id=748951 gdk/wayland/gdkwindow-wayland.c | 36 +++++++++++++++++++++++++++++++++--- 1 file changed, 33 insertions(+), 3 deletions(-) commit 9e464252c02e65425179d6c583c76d5685880ba4 Author: Jonas Ådahl Date: Fri Jun 5 13:35:21 2015 +0800 wayland: Don't try to guess the popup menu placement when it was set If a position was already explicitly set, don't try to guess the position of popup menus by looking at the pointer position, just use the set coordinates. https://bugzilla.gnome.org/show_bug.cgi?id=748951 gdk/wayland/gdkwindow-wayland.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit 0f47d1bac4e859fd99fac30b41f3523cb5db7f7e Author: Jonas Ådahl Date: Fri May 22 16:39:31 2015 +0800 wayland: Position popups relative to the parent surface According to the xdg-shell protocol specification the (x, y) coordinates passed when creating a popup surface is relative to top left corner of the parent surface, but prior to this patch, if the parent surface was an xdg_surface, we'd position it relative to top left corner of the window geometry of that xdg_surface. https://bugzilla.gnome.org/show_bug.cgi?id=749717 gdk/wayland/gdkwindow-wayland.c | 6 ------ 1 file changed, 6 deletions(-) commit ecebdfc58ce93f1988a0a2765aac3536607b4e1d Author: Matthias Clasen Date: Tue Jun 9 21:19:17 2015 -0400 GtkTextHandle: Improve handle positioning When we are close the window edge, we need to shrink the 'invisible border' around the handle to avoid mispositioning it. A fiddly calculation, but it works. gtk/gtktexthandle.c | 66 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 54 insertions(+), 12 deletions(-) commit df5a2e7152470dca4699b0e6ff72c136d36b929d Author: Matthias Clasen Date: Tue Jun 9 19:07:34 2015 -0400 GtkTextHandle: drop non-implemented functions gtk/gtktexthandleprivate.h | 3 --- 1 file changed, 3 deletions(-) commit 0b3835a93f0cd8c373e67ab691d337a1e1a0cbcc Author: Matthias Clasen Date: Tue Jun 9 17:06:27 2015 -0400 GtkTextHandle: position handles properly Move the handles so that the asymmetric assets align with the start/end of the selection. gtk/gtktexthandle.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) commit fe219a25b754feb6794bd2660e06796be1a75270 Author: Matthias Clasen Date: Tue Jun 9 15:50:50 2015 -0400 widget-factory: Improve touch selection example Make the check buttons not take focus on click, so the popover stays open. demos/widget-factory/widget-factory.c | 1 + 1 file changed, 1 insertion(+) commit 70f1e2306daf2a5f79638089baff1030c6f5be48 Author: Matthias Clasen Date: Tue Jun 9 15:50:30 2015 -0400 entry: Make touch selection work with mouse The buttons on the popover where stealing the focus from the text view on click, causing the popover to be dismissed before the action was taken. Fix this by making the buttons not take focus on click. gtk/gtkentry.c | 1 + 1 file changed, 1 insertion(+) commit 8ad0ef27a11832b77416bc34378b4ad12af49617 Author: Matthias Clasen Date: Tue Jun 9 15:49:10 2015 -0400 text view: Make touch selection work with mouse The buttons on the popover where stealing the focus from the text view on click, causing the popover to be dismissed before the action was taken. Fix this by making the buttons not take focus on click. gtk/gtktextview.c | 1 + 1 file changed, 1 insertion(+) commit ac798dc307d3af2b3110fa54f56e85b3e47b922a Author: Jakub Steiner Date: Tue Jun 9 15:02:39 2015 +0200 adwaita: style tweaks to touch selections - use dark theme assets for the checkboxes and radios - darken the popover for legibility (white bg/black text is really the most problematic background to have). unfortunatley in terms of SCSS structure this is further digging us into the hole of specificity. It would be much nicer to set the .osd class on the popover and have everything just work. I'm sure we'll end up using OSD styled popovers outside the touch context. https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/theme/Adwaita/_common.scss | 25 ++- gtk/theme/Adwaita/gtk-contained-dark.css | 277 ++++++++++++++++++++++++------- gtk/theme/Adwaita/gtk-contained.css | 277 ++++++++++++++++++++++++------- 3 files changed, 460 insertions(+), 119 deletions(-) commit 41453ffed1e6e188e7e0e6edd65af50a18efa5d4 Author: Jordi Mas Date: Tue Jun 9 08:07:05 2015 +0200 Update Catalan translation po/ca.po | 3297 +++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 2104 insertions(+), 1193 deletions(-) commit ca077a085c88f67738b8237beb2316e031ec7281 Author: Matthias Clasen Date: Mon Jun 8 19:04:06 2015 -0400 entry: Avoid criticals After the recent changes, we could end up calling gtk_entry_update_handles in cases where the text_handle has not be created (e.g. when dragging text from an entry). Avoid that. gtk/gtkentry.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 1cc8de24124aa0cd8d0a5975c50196d345f54ec7 Author: Benjamin Otte Date: Mon Jun 8 20:28:10 2015 +0200 widget: Clarify docs on gtk_widget_set_double_buffered() Also make them more scary so people really really don't use it as a random knob when trying to make things go fast. //bugzilla.gnome.org/show_bug.cgi?id=750505 gtk/gtkwidget.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) commit ef93257db767a52ebd31e89e8560bddf512220cc Author: Rui Matos Date: Fri Jun 5 19:21:40 2015 +0200 main: Push the current event on the stack before we start needing it The changes in commit 13e22e20300b7312e52bba7d077fc7e231695fc1 made _gtk_window_check_handle_wm_event() indirectly depend on gtk_get_current_event_time() which relies on the current event being available on the current_events stack. Since the current event is only pushed on the stack afterwards we get an invalid timestamp which breaks ewmh window moving. This fixes the issue by pushing the current event before we start relying on it being there in gtk_main_do_event() and, as a byproduct, also fixes a potential memory leak when we have a rewritten event and return early due to _gtk_window_check_handle_wm_event() being TRUE. https://bugzilla.gnome.org/show_bug.cgi?id=750384 gtk/gtkmain.c | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) commit 3c1a2c8d24cce22ebfa67a8ec4548c09e4e700d2 Author: Matthias Clasen Date: Sun Jun 7 21:52:35 2015 -0400 entry: Always clear handles for mouse interaction There were some cases where we left a handle visible during mouse interaction, which is a little weird. gtk/gtkentry.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit d055f8e64c6bb5cc6fff34a01af8005790ef0f7a Author: Matthias Clasen Date: Sun Jun 7 21:13:16 2015 -0400 entry: Move touch selection a little further away Otherwise, it looks cramped, and we end up under the finger. gtk/gtkentry.c | 5 +++++ 1 file changed, 5 insertions(+) commit 3e386e0abb79c1f291adf52879e22ff1dda7499e Author: Matthias Clasen Date: Sun Jun 7 20:41:16 2015 -0400 entry: Hide popover when touching elsewhere Otherwise, the popover becomes 'sticky' and hard-to-dismiss. gtk/gtkentry.c | 33 +++++++++++++++++++-------------- 1 file changed, 19 insertions(+), 14 deletions(-) commit bd65c14813630fcc2a28d1ffd012325625628002 Author: Matthias Clasen Date: Sun Jun 7 20:14:43 2015 -0400 entry: Use the drag-started signal Use the drag-started signal to differentiate between drags that move a handle and taps on a handle. Show the touch selection popup for the latter, but not the former. gtk/gtkentry.c | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) commit 79b09cccce6565d25b217826b78824b1ff2fe1f5 Author: Matthias Clasen Date: Sun Jun 7 19:31:06 2015 -0400 entry: Make handles come back reliably We were setting the text handle mode to NONE too aggressively. gtk/gtkentry.c | 44 +++++++++++++++++++++++++++----------------- 1 file changed, 27 insertions(+), 17 deletions(-) commit a219e6b4cd1e0863b4e9db11a3131e40f89acdda Author: Matthias Clasen Date: Sun Jun 7 14:01:39 2015 -0400 entry: Never show handles and popover at the same time Hide the handles when the popover appears, and brind them back when it disappears. This will need revisiting if we start using the popover for mouse interaction as well, where we may not want handles to show up. gtk/gtkentry.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 1bd10f2a7bc2164541829c48b48d338d199015f2 Author: Matthias Clasen Date: Sun Jun 7 13:55:09 2015 -0400 entry: Shorten touch selection timeout We don't want the popup to appear spontaneously, so eventually the timeout may go away altogether. For now, shorten it to 50ms, to avoid rewriting all the places where the timeout is set or unset. gtk/gtkentry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 0a2b1b68fabba32add0cb95f2aa5c05539f935c5 Author: Matthias Clasen Date: Sun Jun 7 21:48:35 2015 -0400 text view: Always clear handles for mouse interaction There were some cases where we left a handle visible during mouse interaction, which is a little weird. gtk/gtktextview.c | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) commit 76836dcd813927abb404d61ad6d0a027ff7fc7de Author: Matthias Clasen Date: Sun Jun 7 12:59:21 2015 -0400 text view: Move touch selection a little further away Otherwise, it looks cramped, and we end up under the finger. gtk/gtktextview.c | 5 +++++ 1 file changed, 5 insertions(+) commit 4511ff76fa3d03526686bc1e3529827a4c41ff3b Author: Matthias Clasen Date: Sun Jun 7 12:46:11 2015 -0400 text view: Use the drag-started signal Use the drag-started signal to differentiate between drags that move a handle and taps on a handle. Show the touch selection popup for the latter, but not the former. gtk/gtktextview.c | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) commit 805fa78221efef8bcdbbd8083bd9f7c5492b2914 Author: Matthias Clasen Date: Sun Jun 7 12:45:34 2015 -0400 GtkTextHandle: add a drag-started signal This will be used to discriminate drags from taps. gtk/gtktexthandle.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 32be35010f85e7c82424c6da75ffceff3522edb0 Author: Matthias Clasen Date: Sun Jun 7 12:19:16 2015 -0400 text view: Don't popup after drag selection Don't show the touch selection popover after a selection drag ends. Instead, the popover will be triggered by an explicit touch on the selection. gtk/gtktextview.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) commit aff47da9502f90aceed200fe8793f9b754c2d1ed Author: Matthias Clasen Date: Sun Jun 7 12:12:43 2015 -0400 text view: Never show handles and popover at the same time Hide the handles when the popover appears, and brind them back when it disappears. This will need revisiting if we start using the popover for mouse interaction as well, where we may not want handles to show up. gtk/gtktextview.c | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) commit 0c6205d538bd2176970e5c5322dc310a999dedab Author: Matthias Clasen Date: Sun Jun 7 12:09:59 2015 -0400 text view: Shorten touch selection timeout We don't want the popover to appear spontaneously, so eventually the timeout may go away altogether. For now, shorten it to 50ms, to avoid rewriting all the places where the timeout is set or unset. gtk/gtktextview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit a82a686149665ca4649c96eaf7d441e6bf190fdf Author: Daniel Mustieles Date: Mon Jun 8 07:56:59 2015 +0000 Updated Spanish translation po/es.po | 350 +++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 173 insertions(+), 177 deletions(-) commit 0dbac864070a943499d031f7d29faf08044053de Author: Daniel Mustieles Date: Mon Jun 8 07:56:26 2015 +0000 Updated Spanish translation po-properties/es.po | 189 ++++++++++++++++++++++++++-------------------------- 1 file changed, 96 insertions(+), 93 deletions(-) commit 359d1951bc2b7fcf7524bf4d1e78abcd41c7b26b Author: Matthias Clasen Date: Sun Jun 7 01:24:13 2015 -0400 widget-factory: Improve context menu example Show the text formatting in the menu / popover. demos/widget-factory/widget-factory.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) commit e1942a8bb9578b7c99ecea3231c23e1a3a9d94de Author: Matthias Clasen Date: Sun Jun 7 01:12:18 2015 -0400 widget-factory: Demonstrate custom context menu items Add bold/italics/underline styling to the context menu of the 'Lorem ipsum...' text view in page 1. The point is not to show good UI for this kind of styling, but to demonstrate custom actions in the context menu / touch selection. demos/widget-factory/widget-factory.c | 91 ++++++++++++++++++++++++++++++++++ demos/widget-factory/widget-factory.ui | 22 ++++++++ 2 files changed, 113 insertions(+) commit 1ff1040c206a26c3adf6cb8178390bedc6c711cb Author: Matthias Clasen Date: Sun Jun 7 01:11:32 2015 -0400 Adwaita: Some touch selection updates Make touch selection popovers use osd style. gtk/theme/Adwaita/_common.scss | 41 ++++- gtk/theme/Adwaita/gtk-contained-dark.css | 274 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 274 +++++++++++++++---------------- 3 files changed, 292 insertions(+), 297 deletions(-) commit 6bbaa70c4cd6453271ffe565773b4bec09afedad Author: Matthias Clasen Date: Sun Jun 7 01:08:33 2015 -0400 Update touch selection style Update style for touch selection in GtkEntry and GtkTextView according to https://wiki.gnome.org/Design/OS/Selections Add 'Select All' to the default actions, change actions to use icons and move the popover to the bottom. If there is no selection, just offer to paste. gtk/gtkentry.c | 61 +++++++++++++++++++++++++++++++++++++------------------ gtk/gtktextview.c | 61 +++++++++++++++++++++++++++++++++++++------------------ 2 files changed, 82 insertions(+), 40 deletions(-) commit 6bbe48ad3dda6e7b75520e2488e0ec0158ac9eed Author: Timm Bäder Date: Sat Jun 6 11:45:11 2015 +0200 gtkfilechooserbutton: Align the label to the left Using GtkLabel's xalign property so the label doesn't jump around when the button gets resized. https://bugzilla.gnome.org/show_bug.cgi?id=750477 gtk/ui/gtkfilechooserbutton.ui | 1 + 1 file changed, 1 insertion(+) commit a8191e7113672abbfdfe5d2f62c6eeddf730c9dd Author: Matthias Clasen Date: Sat Jun 6 17:13:22 2015 -0400 places sidebar: Make 'recent' work on other platforms Since nautilus merge, we were not showing 'Recent' in the sidebar if GIO did not support the recent: scheme. But the file chooser can show recent files independent of gvfs - it loads the recent files manually. This is relevant on Windows and OS X, where gvfs is typically not used. This commit adds a show-recent property which can be used to override the recent: scheme check. We use it in the file chooser. https://bugzilla.gnome.org/show_bug.cgi?id=750068 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkfilechooserwidget.c | 20 +---------- gtk/gtkplacessidebar.c | 68 +++++++++++++++++++++++++++++++++++- gtk/gtkplacessidebar.h | 6 ++++ gtk/ui/gtkfilechooserwidget.ui | 1 + 5 files changed, 77 insertions(+), 20 deletions(-) commit 1e8be1c446d2c9dc695c5a378c9422b5c576e1f6 Author: Carlos Garnacho Date: Thu Jun 4 19:49:33 2015 +0200 texthandle: Set prelight state on the pointer-interacted handle This will be useful with the theming changes to come. https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/gtktexthandle.c | 11 +++++++++++ 1 file changed, 11 insertions(+) commit 88d88591d2cd539f75a70f5e4fc8f4331be78bec Author: Carlos Garnacho Date: Thu Jun 4 19:46:20 2015 +0200 texthandle: Allow setting individual states, and separately to handles Now each handle gets its individual current state, and we can accumulate more than one state on these. https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/gtktexthandle.c | 33 +++++++++++++++++++++------------ 1 file changed, 21 insertions(+), 12 deletions(-) commit 9c53f76cbdd3efc2a05359e66356ccae73015c6b Author: Jakub Steiner Date: Thu Jun 4 19:36:25 2015 +0200 Adwaita: updates style for text selection - use consistent widget style. unfortunately using assets - light/dark variant - new assets for text selestions, using existing slider asset for insertion point https://bugzilla.gnome.org/show_bug.cgi?id=750396 gtk/theme/Adwaita/_common.scss | 24 +- gtk/theme/Adwaita/assets.svg | 1022 +++++++++++++++----- gtk/theme/Adwaita/assets.txt | 12 + .../assets/text-select-bottom-active-dark.png | Bin 0 -> 928 bytes .../assets/text-select-bottom-active-dark@2.png | Bin 0 -> 2070 bytes .../Adwaita/assets/text-select-bottom-active.png | Bin 0 -> 992 bytes .../Adwaita/assets/text-select-bottom-active@2.png | Bin 0 -> 2072 bytes .../Adwaita/assets/text-select-bottom-dark.png | Bin 0 -> 913 bytes .../Adwaita/assets/text-select-bottom-dark@2.png | Bin 0 -> 1995 bytes .../assets/text-select-bottom-hover-dark.png | Bin 0 -> 916 bytes .../assets/text-select-bottom-hover-dark@2.png | Bin 0 -> 2058 bytes .../Adwaita/assets/text-select-bottom-hover.png | Bin 0 -> 960 bytes .../Adwaita/assets/text-select-bottom-hover@2.png | Bin 0 -> 1972 bytes gtk/theme/Adwaita/assets/text-select-bottom.png | Bin 0 -> 947 bytes gtk/theme/Adwaita/assets/text-select-bottom@2.png | Bin 0 -> 1952 bytes .../Adwaita/assets/text-select-top-active-dark.png | Bin 0 -> 914 bytes .../assets/text-select-top-active-dark@2.png | Bin 0 -> 1989 bytes .../Adwaita/assets/text-select-top-active.png | Bin 0 -> 862 bytes .../Adwaita/assets/text-select-top-active@2.png | Bin 0 -> 1794 bytes gtk/theme/Adwaita/assets/text-select-top-dark.png | Bin 0 -> 892 bytes .../Adwaita/assets/text-select-top-dark@2.png | Bin 0 -> 1881 bytes .../Adwaita/assets/text-select-top-hover-dark.png | Bin 0 -> 910 bytes .../assets/text-select-top-hover-dark@2.png | Bin 0 -> 1948 bytes gtk/theme/Adwaita/assets/text-select-top-hover.png | Bin 0 -> 824 bytes .../Adwaita/assets/text-select-top-hover@2.png | Bin 0 -> 1683 bytes gtk/theme/Adwaita/assets/text-select-top.png | Bin 0 -> 887 bytes gtk/theme/Adwaita/assets/text-select-top@2.png | Bin 0 -> 1856 bytes gtk/theme/Adwaita/gtk-contained-dark.css | 27 +- gtk/theme/Adwaita/gtk-contained.css | 27 +- 29 files changed, 885 insertions(+), 227 deletions(-) commit dee0da30b65cea3bf59fcbe1ff147dff266f09f7 Author: Matthias Clasen Date: Fri Jun 5 08:33:59 2015 -0400 Add a tree dnd testcase This shows a minimal setup for enabling non-row DND from a treeview. tests/Makefile.am | 5 ++ tests/testtreednd.c | 135 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) commit 245daa415edcdd91a525bc244cec2a2bd40567ec Author: Alberts Muktupāvels Date: Thu Jun 4 23:40:38 2015 +0300 gtkplug: set decorated to FALSE by default The change in c5e5ee67490e7e7af56052d8f8beb75db002c2f1 introduced a regression - all GtkPlug windows has unexpected extra space. Fix this by setting decorated to FALSE for GtkPlug window. https://bugzilla.gnome.org/show_bug.cgi?id=750424 gtk/gtkplug.c | 2 ++ 1 file changed, 2 insertions(+) commit c37f569ae8fed4e5306f78ec44a89aeefd4aec64 Author: Carlos Soriano Date: Wed Jun 3 14:58:04 2015 +0200 gtkrevealer: add css padding support Add css padding support to GtkRevealer. As a future work, GtkRevealer still needs to support the border property. https://bugzilla.gnome.org/show_bug.cgi?id=750338 gtk/gtkrevealer.c | 205 ++++++++++++++++++++++++++++++++++++++++-------------- 1 file changed, 151 insertions(+), 54 deletions(-) commit 3d82fc6d7e4a749b3dfc165b55f17e7acf4c81ec Author: Matthias Clasen Date: Thu Jun 4 19:58:40 2015 -0400 GtkScale: Move marks inward We don't want scale marks to affect scale sizing and positioning, so draw them inside the range recangle. This avoids size changes for marks that don't have labels, at least. https://bugzilla.gnome.org/show_bug.cgi?id=749650 gtk/gtkscale.c | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) commit 99e6796dd379da8b039c45326d85f52625f637fd Author: Balázs Úr Date: Thu Jun 4 20:54:38 2015 +0000 Updated Hungarian translation po/hu.po | 446 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 225 insertions(+), 221 deletions(-) commit 557f96c0feafc3a9f8021885a5e0a18e9f9f810b Author: Matthias Clasen Date: Thu Jun 4 15:14:04 2015 -0400 Trivial: remove outdated comment gtk/gtkfilechooserwidget.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) commit 6d4d2766e035d8cdc68a85eb9af2337b4a1e1ac6 Author: Lapo Calamandrei Date: Thu Jun 4 16:19:05 2015 +0200 Adwaita: entry linking logic change. Use the same linking logic of buttons for entries, this avoids specialcasing rtl. gtk/theme/Adwaita/_common.scss | 88 ++++++++++++++------------ gtk/theme/Adwaita/gtk-contained-dark.css | 105 ++++++++++++------------------- gtk/theme/Adwaita/gtk-contained.css | 105 ++++++++++++------------------- 3 files changed, 127 insertions(+), 171 deletions(-) commit a32a1fa9e4d47bfccbebebdab52826aa7134b66c Author: Victor Ibragimov Date: Thu Jun 4 05:43:19 2015 +0000 Updated Tajik translation po/tg.po | 237 +++++++++++++++++++++++---------------------------------------- 1 file changed, 85 insertions(+), 152 deletions(-) commit c5e5ee67490e7e7af56052d8f8beb75db002c2f1 Author: Emmanuele Bassi Date: Wed Jun 3 14:07:29 2015 +0100 window: Check if we can use CSD before enabling them The change in 03213b9509fc1df16c66194ea168aed6c15110e9 changed the rules as to when CSD can be enabled, but it also unconditionally enables CSD with the implicit assumption that client-side shadows were the real issue, and that we could work around that by drawing our own borders. This also means that setting a titlebar for a GtkWindow will enable CSD unconditionally. In reality, some window managers (like Matchbox) *only* support server-side decorations, and will ignore all hints to the contrary, to the point of drawing decorations at random locations on top of the window. Since CSD are enabled unconditionally, the GTK_CSD environment variable is also not a suitable escape hatch. In the grand tradition of asking ourselves if we should do something just because we can, we should split the environment checks from the checks on what the user requested; by doing that, we can also check when enabling client-side decorations, and ideally bail out if needed. https://bugzilla.gnome.org/show_bug.cgi?id=750343 gtk/gtkwindow.c | 50 +++++++++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 19 deletions(-) commit d37f94a524c7109cf1990eb864006111150f20fe Author: William Hua Date: Thu May 21 11:48:27 2015 -0500 mir: keep reference on queued events gdk/mir/gdkmireventsource.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f1c11740c1e5c7d429a3d33c9847a52974aa5b3f Author: William Hua Date: Thu May 21 09:41:42 2015 -0500 mir: gdk_mir_window_impl_set_surface_type gdk/mir/gdkmirwindowimpl.c | 6 ++++++ 1 file changed, 6 insertions(+) commit e1c958e70df7227b598d6d16adf9770e95a9f998 Author: William Hua Date: Wed May 20 17:24:20 2015 -0500 mir: Create the correct surface gdk/mir/gdkmirwindowimpl.c | 162 +++++++++++++++++++++++---------------------- 1 file changed, 82 insertions(+), 80 deletions(-) commit a57636f057c6c9bc16a6b60a51b973c9dc8573ca Author: William Hua Date: Wed May 20 15:02:31 2015 -0500 mir: Remove redundant calls gdk/mir/gdkmirwindowimpl.c | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) commit aebac40d3819114d55bf33301d30ff5a2fd6ad1a Author: William Hua Date: Wed May 20 13:27:36 2015 -0500 mir: log input events properly gdk/mir/gdkmir-debug.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit e6b3bae7871df3d5b03dae0e36e4748c41971d1b Author: William Hua Date: Wed May 20 10:38:16 2015 -0500 mir: Resolve warnings gdk/mir/gdkmirwindowimpl.c | 12 ------------ 1 file changed, 12 deletions(-) commit a43efc665576c0da58771931774f56d4faffb1b8 Author: William Hua Date: Wed May 20 09:47:44 2015 -0500 mir: Update cursor position gdk/mir/gdkmireventsource.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit d43f5258ffc4fc0ef22e47eb00b5a3742e3716da Author: William Hua Date: Tue May 19 17:58:38 2015 -0500 mir: Remove child window rendering hack gdk/mir/gdkmir-private.h | 12 ---- gdk/mir/gdkmireventsource.c | 88 ++------------------------ gdk/mir/gdkmirwindowimpl.c | 147 +------------------------------------------- 3 files changed, 7 insertions(+), 240 deletions(-) commit b84d9ea7ff3f30e4101e98853cefda1762bcb86d Author: Carlos Garnacho Date: Mon Jun 1 14:55:20 2015 +0100 wayland: Move DnD grab breaking function into gdkdevice-wayland.c This has little to do with GdkDragContext, and a lot to do with the GdkDevice that triggered it, seems to make more sense in gdkdevice-wayland.c. gdk/wayland/gdkdevice-wayland.c | 61 ++++++++++++++++++++++++++++++++++---- gdk/wayland/gdkdnd-wayland.c | 53 --------------------------------- gdk/wayland/gdkprivate-wayland.h | 4 +-- gdk/wayland/gdkselection-wayland.c | 4 +-- 4 files changed, 59 insertions(+), 63 deletions(-) commit d34b1225eb294da71e84c391dc86cc8b2964383f Author: Carlos Garnacho Date: Mon Jun 1 14:53:11 2015 +0100 wayland: Split keyboard/button modifiers internally On wl_keyboard.key/modifiers, we're just forgetting about currently pressed mouse buttons. Fix this by storing button and key modifiers separately, and put these together when creating the GdkEvents. gdk/wayland/gdkdevice-wayland.c | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) commit 243cfd21a292ec4554d1aaf9e8839f4ca00083f9 Author: Carlos Garnacho Date: Mon Jun 1 16:21:20 2015 +0100 textview: Update handles after flushing scroll changes Text insertion/pasting might trigger scroll, so we'd have to wait until the text was revalidated and the scrolling truly happened before we can check the new handle(s) position. gtk/gtktextview.c | 4 ++++ 1 file changed, 4 insertions(+) commit a0e805684860306b80109814499d0cdaba5fd6ba Author: Carlos Garnacho Date: Wed May 27 14:22:00 2015 +0200 dnd: Remove emission of fake button release event Nowadays (and for quite some years now) we rely on GdkEventGrabBroken events to be received. This fake button event seems a remnant of the early Gtk 2.x days, and is currently even inconsistent with our event delivery model, so just remove it. https://bugzilla.gnome.org/show_bug.cgi?id=749737 gtk/gtkdnd.c | 28 ---------------------------- 1 file changed, 28 deletions(-) commit ab72da0c41999ce0253259338051f8a87eea1a21 Author: Rico Tzschichholz Date: Tue Jun 2 17:12:18 2015 +0200 build: Fix make dist Revert 2 hunks introduced by 36c65c1acabfd8fb1b5b85d7b128bfd4361b6fc3 build/win32/vs10/gdk.vcxprojin | 2 +- build/win32/vs9/gdk.vcprojin | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 291af4e359bf2738bcef3e827a8cef8c9c124e72 Author: Rico Tzschichholz Date: Tue Jun 2 17:11:08 2015 +0200 configure: Require pango >= 1.37.0 Needed since 049cbc8b74aa7a6fff1627c8c65cbfd3c86dfde8 configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cb6615b55742b8f128af4579eaa0dc8cf0e14250 Author: Matthias Clasen Date: Sat May 30 21:31:07 2015 -0400 updateiconcache: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/updateiconcache.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit e96d258495683f93fa9451fa047f17dd2b42cb26 Author: Matthias Clasen Date: Sat May 30 21:30:53 2015 -0400 queryimmodules: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/queryimmodules.c | 1 - 1 file changed, 1 deletion(-) commit cd8a50ef11a25771a88829e66c0f62fa51ce2c5b Author: Matthias Clasen Date: Sat May 30 21:30:40 2015 -0400 xembed: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkxembed.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit b9919153b2bd1602de618269e01afac1a27bfab4 Author: Matthias Clasen Date: Sat May 30 21:30:26 2015 -0400 widget path: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkwidgetpath.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit 165861323a03bf7051c0acd42f72c8fdcd6950c5 Author: Matthias Clasen Date: Sat May 30 21:30:11 2015 -0400 widget: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkwidget.c | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) commit 121c1955219027d16a1c0c559b0fb29863e7c94b Author: Matthias Clasen Date: Sat May 30 21:29:48 2015 -0400 tree view: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktreeselection.c | 2 -- gtk/gtktreeview.c | 30 +++++++++++++----------------- 2 files changed, 13 insertions(+), 19 deletions(-) commit 3dd7f12f783e9442ccac327f280d225b06bdb6ba Author: Matthias Clasen Date: Sat May 30 21:29:21 2015 -0400 tree model sort: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktreemodelsort.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit bed26edfd1232aa20459ef697585fd63e8a6797e Author: Matthias Clasen Date: Sat May 30 21:29:03 2015 -0400 tree model filter: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktreemodelfilter.c | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) commit 555663c68679c9b512a3aac164eb2adc9637ddc9 Author: Matthias Clasen Date: Sat May 30 21:28:44 2015 -0400 tool palette: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktoolpalette.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) commit 5dc440295e63cc43d46b6a3cf4edac2b0d21e12b Author: Matthias Clasen Date: Sat May 30 21:28:30 2015 -0400 text buffer: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtktextbtree.c | 34 +++++++++++++++++----------------- gtk/gtktextbufferrichtext.c | 11 +++++------ 2 files changed, 22 insertions(+), 23 deletions(-) commit a111f6ee23046ac2d0d3319dae53dc8862152876 Author: Matthias Clasen Date: Sat May 30 21:28:08 2015 -0400 print operation: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkprintoperation.c | 1 - 1 file changed, 1 deletion(-) commit 9bb121c55d005c23ef3a1c482ce28178f0e3d661 Author: Matthias Clasen Date: Sat May 30 21:27:57 2015 -0400 paned: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkpaned.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit a0dddbbafae2d99fa0d4672d8582414b3a186e1a Author: Matthias Clasen Date: Sat May 30 21:27:45 2015 -0400 menu: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkmenu.c | 18 +++++++----------- gtk/gtkmenuitem.c | 1 - gtk/gtkmenutracker.c | 18 +++++++++--------- 3 files changed, 16 insertions(+), 21 deletions(-) commit 9545c017644b0e3de37b2479fbecd78cc0950a91 Author: Matthias Clasen Date: Sat May 30 21:27:24 2015 -0400 kinetic scrolling: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkkineticscrolling.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) commit 6ee9281a2410b6c1309cb3ba30f5bb889a476e9e Author: Matthias Clasen Date: Sat May 30 21:27:05 2015 -0400 im context: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkimcontextsimple.c | 3 --- 1 file changed, 3 deletions(-) commit 138e958614fe4d11a6c7635972ff4f32079053ab Author: Matthias Clasen Date: Sat May 30 21:26:27 2015 -0400 icon view: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkiconview.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 85b4eef0047d762208b372339d46c65f1f03a6f0 Author: Matthias Clasen Date: Sat May 30 21:26:09 2015 -0400 icon theme: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkicontheme.c | 1 - 1 file changed, 1 deletion(-) commit 359d3669ff242537acbdd42bc9e9cee4d36080c5 Author: Matthias Clasen Date: Sat May 30 21:25:48 2015 -0400 file chooser: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkfilechooserwidget.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit d71c5bf9830b15fd5731483e346aef289d1a00e4 Author: Matthias Clasen Date: Sat May 30 21:25:32 2015 -0400 entry: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkentry.c | 35 +++++++++++++++++++---------------- 1 file changed, 19 insertions(+), 16 deletions(-) commit 2a0d5c39d90add4c353a6400321f118ebeb1f47c Author: Matthias Clasen Date: Sat May 30 21:25:05 2015 -0400 dnd: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkdnd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 29ab70b801aded2b63a418b822c8636513d040b4 Author: Matthias Clasen Date: Sat May 30 21:24:48 2015 -0400 css: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkcssimagewin32.c | 12 ++++++------ gtk/gtkcssinitialvalue.c | 8 +++++--- gtk/gtkcssshadowvalue.c | 8 ++++---- 3 files changed, 15 insertions(+), 13 deletions(-) commit f16fc99391e4de44d96ea0993e7c923679e6c161 Author: Matthias Clasen Date: Sat May 30 21:24:23 2015 -0400 combo box: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkcombobox.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) commit 1f525e263eb9561e22990f3b991f0408d24f8d65 Author: Matthias Clasen Date: Sat May 30 21:24:03 2015 -0400 builder: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkbuilder-menus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 75f0146c69a90f40f20def87c961be361dcd9754 Author: Matthias Clasen Date: Sat May 30 21:23:39 2015 -0400 application: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkapplication.c | 1 - 1 file changed, 1 deletion(-) commit 7c03f62206fdcb45ac4e888b4f33e295cdf52e81 Author: Matthias Clasen Date: Sat May 30 21:22:38 2015 -0400 accel map: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkaccelmap.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 94825c1777f13b60c81a90347083987722496a22 Author: Matthias Clasen Date: Sat May 30 21:21:37 2015 -0400 about dialog: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/gtkaboutdialog.c | 1 - 1 file changed, 1 deletion(-) commit 00236c0d216edd758c1b33da9352d3a53dbc898e Author: Matthias Clasen Date: Sat May 30 21:21:00 2015 -0400 Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gtk/deprecated/gtkrc.c | 4 ---- gtk/deprecated/gtkrecentaction.c | 5 ++--- gtk/deprecated/gtkstyleproperties.c | 19 +++++++++---------- gtk/deprecated/gtktable.c | 8 ++++---- gtk/deprecated/gtkuimanager.c | 6 +++--- 5 files changed, 18 insertions(+), 24 deletions(-) commit 23032587dba46c281fffae5ddd23672cc6f6c777 Author: Matthias Clasen Date: Sat May 30 21:19:13 2015 -0400 printing: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. .../cloudprint/gtkcloudprintaccount.c | 6 +-- modules/printbackends/cups/gtkcupssecretsutils.c | 19 ++++---- modules/printbackends/cups/gtkprintbackendcups.c | 54 +++++++++------------- 3 files changed, 32 insertions(+), 47 deletions(-) commit fdb9a8e142becbb3b00d56e741fba1f1a33ee86b Author: Matthias Clasen Date: Sat May 30 21:17:45 2015 -0400 x11: Fix compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gdk/x11/gdkasync.c | 8 ++++---- gdk/x11/gdkdevice-core-x11.c | 3 +-- gdk/x11/gdkdevice-xi2.c | 2 +- gdk/x11/gdkdevicemanager-xi2.c | 7 ++----- gdk/x11/gdkgeometry-x11.c | 10 +++++----- gdk/x11/gdkkeys-x11.c | 10 +++++----- gdk/x11/gdkvisual-x11.c | 14 -------------- 7 files changed, 18 insertions(+), 36 deletions(-) commit 393df9f7e104f452f0ad686fd80959b76c825524 Author: Matthias Clasen Date: Sat May 30 21:15:33 2015 -0400 wayland: Avoid compiler warnings Fix warnings due to -Wdeclaration-after-statement and -Wshadow. gdk/wayland/gdkselection-wayland.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit 73693381b2faedf8d5dc4897d3a596dd471f042a Author: Victor Ibragimov Date: Tue Jun 2 05:20:50 2015 +0000 Updated Tajik translation po/tg.po | 5555 ++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 3377 insertions(+), 2178 deletions(-) commit 13c303fec532388ee920ec4a3bdbbc4064684665 Author: John Ralls Date: Sun May 31 11:52:35 2015 -0700 Bug 745957 - GTK+/Quartz >= 3.14.8: Symbol not found: _gtk_drag_cancel Implement gtk_drag_cancel, made public in c160ba069 and 62616a71, in gtkdnd-quartz.c. gtk/gtkdnd-quartz.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit f5b245ff04ca65bbabc7fb8367cc75e9a4848840 Author: Matthias Clasen Date: Sat May 30 09:43:56 2015 -0400 GtkStack: Don't mix code and declarations gtk/gtkstack.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 833dbd65cd582346aa52e7dbb122e0e709cd3b7b Author: Matthias Clasen Date: Sat May 30 09:36:51 2015 -0400 Trivial: Use a convenience macro g_strstrip is less obscure than the two individual functions, so lets use it here. gtk/gtkprintbackend.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 4c971c6f5eef9693a8c6a6d12a798901c9689f96 Author: Matthias Clasen Date: Sat May 30 09:21:16 2015 -0400 file chooser: Respect recent settings When recent files are not supported in gvfs, or turned off by settings, we should not try to load them even if the startup mode says so. This prevents inconsistency with the places sidebar where 'Recent' will not appear in this case. gtk/gtkfilechooserwidget.c | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) commit 4de444ca615529dcc7afdcccbd6c2fcbcb29d9c5 Author: Matthias Clasen Date: Sat May 30 09:20:27 2015 -0400 placessidebar: Simplify some code Use existing functions, instead of open-coding manipulation of string arrays. gtk/gtkplacessidebar.c | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) commit 5984bc78ee4babba0daf09a5e04a2fdcfc640e48 Author: Benjamin Otte Date: Sat May 30 05:59:55 2015 +0200 flowbox: Fix compiler warnings Introduced in e59e38b58120f8d998b5e204506fc552e2efd00d gtk/gtkflowbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 91fac8b5aa44bf045b912d4b3720e84a4a51e70c Author: Benjamin Otte Date: Sat May 30 05:43:54 2015 +0200 cssnode: Fix position invalidation The previous code was overly complicated and wrong. gtk/gtkcssnode.c | 31 +++++++------------------------ gtk/gtkcssnodeprivate.h | 1 - 2 files changed, 7 insertions(+), 25 deletions(-) commit e59e38b58120f8d998b5e204506fc552e2efd00d Author: Matthias Clasen Date: Fri May 29 23:37:42 2015 -0400 GtkFlowBox: support positional css selectors As in the previous commit for GtkListBox, support :first-child, :last-child, :nth-child() and :last-nth-child() selectors here. gtk/gtkflowbox.c | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) commit aa07c40748777d38b726863475794255551bb52b Author: Christian Hergert Date: Fri May 29 20:03:11 2015 -0700 listbox: add support for :first-child, :last-child and others This applies the proper CSS child ordering semantics using GtkCssNode to GtkListBox. You can now use :first-child, :last-child, :nth-child(), and :last-nth-child() selectors. For example, this allows styling row separators using CSS while ignoring the separator on the last row. GtkListBoxRow { border-bottom: 1px solid @borders; } GtkListBoxRow:last-child { border-bottom: none; } When the sort ordering of the listbox changes, we also update the CSS node ordering. gtk/gtklistbox.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) commit bb93c1cecd23e487d04e005cb89eb09f8d4e2d0b Author: Cédric Valmary Date: Fri May 29 21:50:59 2015 +0000 Updated Occitan translation po/oc.po | 15149 ++++++++++++++++++++++++------------------------------------- 1 file changed, 6032 insertions(+), 9117 deletions(-) commit 205db2013c67c2e42a9ce6768e4947f4e115c4cc Author: John Ralls Date: Fri May 29 13:04:07 2015 -0700 Fix DnD Introspection on Quartz Backend. Don't exclude the -quartz.c files from introspection_files. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 4d75d6203310a39c1f0a8b79c1f8177bb8c2cc6b Author: Timm Bäder Date: Sun May 24 21:27:33 2015 +0200 GtkStack: Interpolate between size changes gtk/gtkstack.c | 62 +++++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 48 insertions(+), 14 deletions(-) commit 0eddfcedb91429722914cdaa865a1dd687d93c69 Author: Timm Bäder Date: Sun May 24 21:20:48 2015 +0200 GtkStack: Remove some useless function calls We will call gtk_widget_queue_resize anyway later when finishing the (maybe non-running) transition, which will also cause the stack to be repainted. gtk/gtkstack.c | 3 --- 1 file changed, 3 deletions(-) commit 24193a38f05b3145eeac84fa056cdf98a14afb42 Author: Timm Bäder Date: Sun May 24 21:15:44 2015 +0200 GtkStack: Keep the last_visible_child around during transitions We need it later. gtk/gtkstack.c | 43 +++++++++++++++++++------------------------ 1 file changed, 19 insertions(+), 24 deletions(-) commit dc55a895ed10f68e564ef3ee218b88b59d5bd97f Author: Timm Bäder Date: Sun May 24 21:12:34 2015 +0200 GtkStack: Misc indentation fixes gtk/gtkstack.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 6d25e52a4da758c7ddc28ebbd07fe936404f82d5 Author: Timm Bäder Date: Sun May 24 21:08:00 2015 +0200 GtkStack: Remove useless cast gtk/gtkstack.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit c0d535a718de8e0a3798e186174ec4aad017a5f9 Author: Timm Bäder Date: Sun May 24 20:58:01 2015 +0200 GtkStack: Remove useless function calls These both just use the default values anyway. gtk/gtkstack.c | 2 -- 1 file changed, 2 deletions(-) commit bdabea3ae38e1cd1d0029681369de65f19866d05 Author: Timm Bäder Date: Sun May 24 16:55:34 2015 +0200 GtkStack: Save last visible widget size When interpolating the stack size, we compute the current size by using the prefered/minimum current size and the last size. We can't use the last_visible_surface_allocation because that is not available until the first _draw call and it doesn't include the child's margins. gtk/gtkstack.c | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) commit b3bbe990010ef44fdeeabe3f379394f91593f20d Author: Timm Bäder Date: Fri May 22 15:43:44 2015 +0200 GtkStack: Remove gtk_widget_set_opacity call The corresponding call with 0.999 opacity is gone, so we don't need to reset the opacity anymore. gtk/gtkstack.c | 1 - 1 file changed, 1 deletion(-) commit d3a18de97e1033e7be7f5695a6abcdb48f48469f Author: Timm Bäder Date: Tue Mar 17 19:34:43 2015 +0100 gtkpopover: Update the menu's alignment ... when the popover position changes. gtk/gtkmenusectionbox.c | 36 ++++++++++++++++++++++++++++++++++-- gtk/gtkmenusectionbox.h | 4 +++- gtk/gtkpopover.c | 5 ++++- 3 files changed, 41 insertions(+), 4 deletions(-) commit 36c65c1acabfd8fb1b5b85d7b128bfd4361b6fc3 Author: Chun-wei Fan Date: Fri May 29 18:10:59 2015 +0800 Fix GDK MSVC Projects We need to link to dwmapi.lib for all configs, not just the Broadway ones, so fix the build. build/win32/vs10/gdk.vcxprojin | 10 +++++----- build/win32/vs9/gdk.vcprojin | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) commit 02e2f7dc56736ee03946ce764a76a7bca319db90 Author: Matthias Clasen Date: Thu May 28 23:42:14 2015 -0400 Fix a cornercase crash If gtk_text_layout_move_cursor_visually is called with a count of 0, we were passing NULL to a free function that can't handle it. Don't do that. https://bugzilla.gnome.org/show_bug.cgi?id=750058 gtk/gtktextlayout.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 03312371daafe3a94d888474eb53d7361d5ed432 Author: Benjamin Otte Date: Thu May 28 17:40:55 2015 +0200 cssmatcher: Speed up common matching first-child and last-child are the most common usages of the nth-child machinery, so special-casing them makes sense. gtk/gtkcssmatcher.c | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) commit 59a7739fce02627e5e24b03d9e0837c8ce01aa7b Author: Benjamin Otte Date: Thu May 28 17:12:57 2015 +0200 cssmatcher: Rewrite nth-child matcher Instead of trying to be smart, be stupid but correct. Fixes nth-child reftest. gtk/gtkcssmatcher.c | 28 ++++++++++++---------------- 1 file changed, 12 insertions(+), 16 deletions(-) commit 4847eff6c42a45c95d8115bf9c1dc294a9c108ba Author: Benjamin Otte Date: Thu May 28 17:06:53 2015 +0200 cssmatcher: Simplify code Instead of copy/paste, pass the only difference as an argument The code still doesn't work right, but at least it's easier to fix now. gtk/gtkcssmatcher.c | 41 +++++++---------------------------------- 1 file changed, 7 insertions(+), 34 deletions(-) commit 9df707da223f081475737829b2fadc253fead9ee Author: Benjamin Otte Date: Thu May 28 16:54:03 2015 +0200 gtk: Add deprecation guards for newest pango deprecations gtk/gtkimmodule.c | 2 ++ gtk/gtkmodules.c | 4 ++++ gtk/queryimmodules.c | 2 ++ 3 files changed, 8 insertions(+) commit d921a4fe84eb81d2ef8014fa21bc8f7c8cf2a6fd Author: Benjamin Otte Date: Thu May 28 16:53:53 2015 +0200 testsuite: Add deprecation guards testsuite/gtk/adjustment.c | 2 ++ 1 file changed, 2 insertions(+) commit d8885777a1c26f0df86ede79d2c59062b51b83d8 Author: Daniel Mustieles Date: Thu May 28 06:42:39 2015 +0000 Updated Spanish translation po-properties/es.po | 19728 +++++++++++++++++++++++++------------------------- 1 file changed, 9870 insertions(+), 9858 deletions(-)