commit e56e747c699af5d0ddecf3c49a8430ba09a8cc93 Author: Matthias Clasen Date: Tue May 26 13:14:01 2015 -0400 3.17.2 NEWS | 101 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 4 +-- 2 files changed, 103 insertions(+), 2 deletions(-) commit 9aae351487cc916e157a8e261f1bc3a7677dbfab Author: Emmanuele Bassi Date: Tue May 19 16:14:49 2015 +0100 examples: Clean up the standalone Makefiles Do not hardcode GCC as the compiler; use $(shell) expansion instead of backticks; split the built source into its own variable. examples/application1/Makefile.example | 6 +++--- examples/application10/Makefile.example | 17 +++++++++-------- examples/application2/Makefile.example | 15 ++++++++------- examples/application3/Makefile.example | 15 ++++++++------- examples/application4/Makefile.example | 15 ++++++++------- examples/application5/Makefile.example | 17 +++++++++-------- examples/application6/Makefile.example | 17 +++++++++-------- examples/application7/Makefile.example | 17 +++++++++-------- examples/application8/Makefile.example | 17 +++++++++-------- examples/application9/Makefile.example | 17 +++++++++-------- 10 files changed, 81 insertions(+), 72 deletions(-) commit 9ff5d2e1accaed0babe54143a376f7f05704a2d9 Author: Carlos Garnacho Date: Thu May 21 11:34:58 2015 +0200 entry: Set up text drag icon within drag_begin() the drag_begin() vmethod is meant for this, and the internal DnD code will set up a drag icon if ::drag_begin didn't do so, which means we are first getting a "default" icon, and then replacing it with the text surface. This is completely harmless in X11, but causes issues on wayland as the DnD icon window is expected to remain unchanged during DnD there. https://bugzilla.gnome.org/show_bug.cgi?id=748763 gtk/gtkentry.c | 48 ++++++++++++++++++++++++++---------------------- 1 file changed, 26 insertions(+), 22 deletions(-) commit 3e60650fa8479d507b31965d09ee521ba4e91182 Author: Carlos Garnacho Date: Tue May 26 16:26:59 2015 +0200 notebook: Fix assert in ::drag-motion The drag destination might be empty, we shouldn't be checking whether it contains pages at all. Instead, check the source notebook, which ought to have a selected page if you're dragging something from there. https://bugzilla.gnome.org/show_bug.cgi?id=749893 gtk/gtknotebook.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 6724ea133123f1a04eeb7b834b7f8f05dda8594c Author: Christian Kirbach Date: Mon May 25 11:26:25 2015 +0000 Updated German translation po/de.po | 203 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 115 insertions(+), 88 deletions(-) commit 345f2a484b6d70fcdb2cd861fc66cca9c8c6f493 Author: Cosimo Cecchi Date: Mon May 18 17:26:25 2015 -0700 Use built-in gtk-update-icon-cache To generate the icon cache files. We want to avoid a dependency loop if possible; additionally, on some Debian-based systems gtk-update-icon-cache maps to the GTK2 version of the utility and the GTK3 version is renamed to gtk-update-icon-cache-3.0. To avoid a build dependency on GTK2, use the binary that we just built in-tree. https://bugzilla.gnome.org/show_bug.cgi?id=749593 demos/gtk-demo/Makefile.am | 2 +- demos/widget-factory/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) commit 02be88983eb700ac5524b5530ef64244ece7a0ec Author: Cosimo Cecchi Date: Thu May 14 11:32:10 2015 -0700 parse-sass: don't hardcode bash path It's /bin/bash on some systems; just use /bin/sh instead. https://bugzilla.gnome.org/show_bug.cgi?id=749593 gtk/theme/Adwaita/parse-sass.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cfbd862aaeff20dac6c372e07f4107622ee44b08 Author: Cosimo Cecchi Date: Tue May 19 10:25:00 2015 -0700 tests: wait for draw before fetching tree view style On some slower machines (e.g. an ARM OBS builder), this test is failing with a race condition where we're trying to fetch the style before it's applied. https://bugzilla.gnome.org/show_bug.cgi?id=749593 testsuite/gtk/treeview.c | 1 + 1 file changed, 1 insertion(+) commit 6ff19bcedcc5cd2213dec7cdaf472f426abf69f6 Author: Cosimo Cecchi Date: Sun May 24 12:06:42 2015 -0700 scrolledwindow: fix copy/paste typo fc2830394895f236352bea2024dda0e962dd2c53 refactored code into the get_scroll_unit() function but introduced a copy/paste typo. gtk/gtkscrolledwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit e0b1ea11ccfc8e1b357531d4854295ba552e6fb4 Author: Cosimo Cecchi Date: Sat May 23 16:14:39 2015 -0700 placessidebar: escape tooltip text before setting it gtk_tree_view_set_tooltip_column() specifies that markup in the text should be escaped. This fixes critical warnings when hovering over items in the sidebar for bookmarks that have markup characters in their names. https://bugzilla.gnome.org/show_bug.cgi?id=719683 gtk/gtkplacessidebar.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit 48bfabe59eb4e50a3546a633fd22a02cd08bea99 Author: Carlos Garnacho Date: Sat May 23 15:57:41 2015 +0200 scrolledwindow: Trigger builtin kinetic deceleration on libinput devices The libinput driver will send a 0/0 scroll event on touchpads and other devices where it knows scrolling stopped for sure. Use these events to trigger kinetic scrolling from there. The mechanism is similar to GtkGestureSwipe, we keep a backlog of the latest dx/dy till a previous point in time, and calculate the final velocities from there, with the difference we're dealing with scroll units, and not pixel distances. https://bugzilla.gnome.org/show_bug.cgi?id=749770 gtk/gtkscrolledwindow.c | 146 +++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 131 insertions(+), 15 deletions(-) commit fc2830394895f236352bea2024dda0e962dd2c53 Author: Carlos Garnacho Date: Sat May 23 15:51:11 2015 +0200 scrolledwindow: Refactor scroll unit guessing into a separate function Makes it clearer, and will be used in further places. https://bugzilla.gnome.org/show_bug.cgi?id=749770 gtk/gtkscrolledwindow.c | 48 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 32 insertions(+), 16 deletions(-) commit eb6b72424c54e5c9ac174e02ea59dec19ebe1a16 Author: Jordi Mas Date: Sun May 24 14:16:58 2015 +0200 Fixes to Catalan translation po-properties/ca.po | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) commit f00214e92206117a85b933745f89e5c998024c3d Author: Carlos Garnacho Date: Fri May 22 20:52:17 2015 +0200 scrolledwindow: reset more Indicator state on ::unmap If a GtkScrolledWindow is just unmapped and promptly mapped again, the indicators are left in a semi-visible state, so the GdkWindow isn't raised properly above scrolledwindow content. This inconsistent state went away the next time the indicator is hidden. So, reset all state about indicator window visibility, animation progress and conceil timer on ::unmap, this will be enough to make the indicators start out hidden like on newly created scrolledwindows. gtk/gtkscrolledwindow.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit 39f91d7cdbf0081e827bfece2dec034c15310e2d Author: Krzesimir Nowak Date: Fri May 22 14:39:53 2015 +0200 gdk: Fix a typo gdk/x11/gdkscreen-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 9dad9378f2ddcb96f3aaf5983f0b457b61c7eda1 Author: Matthias Clasen Date: Fri May 22 06:56:23 2015 -0400 Fix primary monitor determination with XRANDR 1.5 This was an oversight in the previous patch. gdk/x11/gdkscreen-x11.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) commit e670720d196bac1cef6f88313f6514cdd8c4a0c5 Author: Dave Airlie Date: Mon Feb 2 16:02:04 2015 +1000 gtk3: add randr 1.5 monitor support This patch introduces support for using the newly introduced monitor objects in the XRandR protocol. These objects are meant to be used to denote a set of rectangles representing a logical monitor, and are used to hide details like monitor tiling and virtual gpu outputs. This uses the new objects instead of crtc/outputs objects when they are available to create the monitor lists. X server 1.18 is required on the server side for randr 1.5. https://bugzilla.gnome.org/show_bug.cgi?id=749561 configure.ac | 3 +++ gdk/x11/gdkdisplay-x11.c | 5 +++++ gdk/x11/gdkdisplay-x11.h | 1 + gdk/x11/gdkscreen-x11.c | 58 ++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 67 insertions(+) commit 61cc10760d84f8600b6faf11046bb7b9a276e942 Author: Carlos Garnacho Date: Thu May 21 14:16:13 2015 +0200 iconview: Avoid usage of gdk_window_get_device_position() during DnD Just use the last coordinates given on XdndPosition/drag_motion() in order to trigger scrolling. When running on Xwayland, the pointer position is unknown at this stage on the X11 side, so the coordinates given here are bogus. This change avoids both roundtrips and this situation. https://bugzilla.gnome.org/show_bug.cgi?id=749679 gtk/gtkiconview.c | 32 +++++++++----------------------- 1 file changed, 9 insertions(+), 23 deletions(-) commit b666f14ef826051660241fddfa7c4b5b47cbb197 Author: Carlos Garnacho Date: Thu May 21 13:53:43 2015 +0200 treeview: Avoid usage of gdk_window_get_device_position() during DnD Just use the last coordinates given on XdndPosition/drag_motion() in order to trigger scrolling. When running on Xwayland, the pointer position is unknown at this stage on the X11 side, so the coordinates given here are bogus. This change avoids both roundtrips and this situation. https://bugzilla.gnome.org/show_bug.cgi?id=749679 gtk/gtktreeview.c | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) commit b54031d505dc4f9e65737549a92cc41900255998 Author: Carlos Garnacho Date: Thu May 21 11:58:11 2015 +0200 textview: Avoid usage of gdk_window_get_device_position() during DnD Just use the last coordinates given on XdndPosition/drag_motion() in order to trigger scrolling. When running on Xwayland, the pointer position is unknown at this stage on the X11 side, so the coordinates given here are bogus. This change avoids both roundtrips and this situation. https://bugzilla.gnome.org/show_bug.cgi?id=749679 gtk/gtktextview.c | 51 ++++++++++++++++----------------------------------- 1 file changed, 16 insertions(+), 35 deletions(-) commit 2ba7977114776de22afbba6b8ec61d0fe8c57a2d Author: Chun-wei Fan Date: Wed May 20 17:36:15 2015 +0800 gtk3-demo: Fix Visual Studio Builds Add the new cursors demo to the projects, so that gtk-demo will properly build. build/win32/vs10/gtk3-demo.vcxproj | 1 + build/win32/vs10/gtk3-demo.vcxproj.filters | 1 + build/win32/vs9/gtk3-demo.vcproj | 1 + 3 files changed, 3 insertions(+) commit 26c24328d57aa0c7d727008706c5d4aa46dac9b1 Author: Руслан Ижбулатов Date: Wed May 13 07:45:40 2015 +0000 GDK: Add cursor theme support to W32 backend Load themed cursors from the same places they are loaded on freedesktop systems, but use W32 API functions to do so (works for .cur/.ani cursors instead of X cursors). Refactor the code for cursor handling. Prefer loading cursors by name. Do not load actual cursors when loading the theme. Find the files and remember the arguments/calls for loading them instead. Keeping HCURSOR instance in the hashmap would result in multiple GdkCursors using the same HCURSOR. Given that we use DestroyCursor() to off them, this would cause problems (at the very least - DestroyCursor() would fail). Store GdkCursor instances in a cache. Update cached cursors when theme changes. Recognize "system" theme as a special (and default) case. When it is set, prefer system cursors and fall back to Adwaita cursors and (as a last resort) built-in X cursors. Otherwise prefer theme cursors and fall back to system and X cursors. Force GTK to use "left_ptr" cursor when no cursor is set. Using NULL makes it use the system default "arrow", which is not the intended behaviour when a non-system theme is selected. Ignore cursor size setting and query the OS for the required cursor size, as Windows (almost) does not allow setting cursors of arbitrary size. https://bugzilla.gnome.org/show_bug.cgi?id=749287 docs/reference/gtk/windows.sgml | 27 ++ gdk/win32/gdkcursor-win32.c | 639 +++++++++++++++++++++++++++++++++++----- gdk/win32/gdkdisplay-win32.c | 102 ++++++- gdk/win32/gdkdisplay-win32.h | 5 + gdk/win32/gdkprivate-win32.h | 39 +++ gdk/win32/gdkwin32display.h | 5 + gdk/win32/gdkwindow-win32.c | 5 +- gtk/gtksettings.c | 11 +- 8 files changed, 758 insertions(+), 75 deletions(-) commit 641fbd86d796bb0f7838b1d7387031a106386439 Author: Руслан Ижбулатов Date: Sun May 3 21:29:35 2015 +0000 GDK: Use GdkCursor objects to keep track of W32 cursors, not HCURSOR In particular this means that cursors are disposed of by the way of g_object_unref(), not DestroyCursor (which is documented to not to be used on certain kinds of cursors, and we can't tell which is which). It should also alleviate any concerns about destroying cursors that are still in use by other windows, except for cases where we would somehow get our hands on a HCURSOR that someone else is using and we make a GdkCursor out of it and later unref and finalize it while it is still in use. It also removes the need to call CopyCursor(), which makes animated cursors into non-animated ones as a side-effect (supposed to be a bug, but try explaining that to MS). Now cursors should be animated (if the are set up as such in the OS). https://bugzilla.gnome.org/show_bug.cgi?id=697477 gdk/win32/gdkdevice-virtual.c | 60 ++++++++++++++++--------------------------- gdk/win32/gdkevents-win32.c | 26 +++++++++---------- gdk/win32/gdkprivate-win32.h | 2 +- gdk/win32/gdkwindow-win32.c | 49 ++++++++--------------------------- gdk/win32/gdkwindow-win32.h | 2 +- 5 files changed, 47 insertions(+), 92 deletions(-) commit 7fef713224583ab906d0875eedcf7a76534eff0f Author: Jonas Ådahl Date: Mon May 18 16:38:34 2015 +0800 wayland: Use on globals closure for loading cursor themes Instead of putting a 'load cursor themes' call when receiving an wl_shm global, make it a closure that is prepared during initialization. https://bugzilla.gnome.org/show_bug.cgi?id=719819 gdk/wayland/gdkdisplay-wayland.c | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) commit 4e9be39518edbd1cbaa5959598d43d8415a32195 Author: Jonas Ådahl Date: Mon May 18 14:55:08 2015 +0800 wayland: Add global object depedency tracking Some features need certain globals to initialize. In order to deal with these dependencies, add a way to postpone closures that depend on a certain set of globals, that later will be invoked when required globals are all received. https://bugzilla.gnome.org/show_bug.cgi?id=719819 gdk/wayland/gdkdisplay-wayland.c | 147 +++++++++++++++++++++++++++++++++++++-- gdk/wayland/gdkdisplay-wayland.h | 7 ++ 2 files changed, 149 insertions(+), 5 deletions(-) commit 181e4399f6e2588b462eaa5689bdebd4063d8a6f Author: Jonas Ådahl Date: Mon May 18 16:02:45 2015 +0800 wayland: Don't round trip recursively during initialization Instead use asynchronous round trips that is synchronized in the end of the initialization. This makes it easier to track state, as we won't dispatch arbitrary Wayland messages while processing globals. https://bugzilla.gnome.org/show_bug.cgi?id=719819 gdk/wayland/gdkdisplay-wayland.c | 50 ++++++++++++++++++++++++++++++++++++---- gdk/wayland/gdkdisplay-wayland.h | 2 ++ 2 files changed, 48 insertions(+), 4 deletions(-) commit 688dcadafa6bea6f2f4d685091b3c401cd84acf9 Author: Dušan Kazik Date: Tue May 19 07:18:55 2015 +0000 Updated Slovak translation po/sk.po | 811 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 455 insertions(+), 356 deletions(-) commit f6d021512a3d076c8a559e52ea1d1c84ff5c4154 Author: Jonas Ådahl Date: Mon May 18 11:19:14 2015 +0800 GtkWindow: Don't assume no shadow width even when not supported Even if a window doesn't support client side shadow (gtk_window_supports_client_shadow returns FALSE), don't assume the shadow width is zero, as CSD may have been enabled anyway (meaning priv->client_decorated is TRUE). In that case we still need to report the correct width. https://bugzilla.gnome.org/show_bug.cgi?id=749451 gtk/gtkwindow.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit fdcb076b645b715a677f9af83f2b975b1f04cbc1 Author: Marek Černocký Date: Sun May 17 10:33:31 2015 +0200 Updated Czech translation po/cs.po | 346 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 178 insertions(+), 168 deletions(-) commit 3ae953092a4089c6073d1df1546e50daf7099e4c Author: Matthias Clasen Date: Sat May 16 23:55:09 2015 -0400 Don't force an icon window We were inadvertently forcing the use of an icon window in all cases. This patch makes it so that we once again use a combined cursor when possible. gtk/gtkdnd.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 8b902d58b9b69067e48775b390e24c8e2d86edb0 Author: Matthias Clasen Date: Sat May 16 18:04:40 2015 -0400 Remove some useless comments gtk/gtkdnd.h | 6 ------ 1 file changed, 6 deletions(-) commit 0a5e216d421e98ca926e14bacede84d929745c53 Author: Matthias Clasen Date: Sat May 16 17:54:01 2015 -0400 DND: Move private api to a private header gtk/Makefile.am | 1 + gtk/gtkdnd.c | 1 + gtk/gtkdnd.h | 5 ----- gtk/gtkdndprivate.h | 36 ++++++++++++++++++++++++++++++++++++ gtk/gtkmain.c | 2 +- 5 files changed, 39 insertions(+), 6 deletions(-) commit 987da43e71bc2781bfd65534a68d9855a7dfa4c7 Author: Matthias Clasen Date: Sat May 16 17:26:45 2015 -0400 Remove multi-screen handling in DND code We only have one screen nowadays. No need to carry around code for handling screen changes. gtk/gtkdnd.c | 109 ++++++----------------------------------------------------- 1 file changed, 11 insertions(+), 98 deletions(-) commit 3c8b80dce21aace1e64a993abe7eead057cb55ed Author: Pietro Gagliardi Date: Thu May 14 16:45:01 2015 -0400 Implemented most of the GDK named cursors on Mac OS X. Only "wait" and "all-scroll" are not implemented properly. OS X does not seem to have a proper interface to either cursor. Approximations are used instead; see the code. See bug 749178. gdk/quartz/gdkcursor-quartz.c | 157 +++++++++++++++++++++++++++++++----------- 1 file changed, 118 insertions(+), 39 deletions(-) commit 924a8eb40557486bf487d2d179c2dd7e682f5d91 Author: Matthias Clasen Date: Sat May 16 00:47:57 2015 -0400 GtkQuery: Drop unused mimetype functions These are not used, so drop them. gtk/gtkquery.c | 41 ----------------------------------------- gtk/gtkquery.h | 6 ------ 2 files changed, 47 deletions(-) commit 41fee7e5693ce9f53e983684383011b71146d6cf Author: Matthias Clasen Date: Sat May 16 00:45:25 2015 -0400 GtkQuery: Cleanups Strip leading underscores from GtkQuery api, and clean up the sources a bit. gtk/gtkfilechooserwidget.c | 8 ++++---- gtk/gtkquery.c | 42 +++++++++++++++++++++--------------------- gtk/gtkquery.h | 38 +++++++++++++++++++------------------- gtk/gtksearchenginequartz.c | 2 +- gtk/gtksearchenginesimple.c | 2 +- gtk/gtksearchenginetracker.c | 4 ++-- 6 files changed, 48 insertions(+), 48 deletions(-) commit 3f0f68e6ad834051c40e55324657747ac7e60d21 Author: Matthias Clasen Date: Sat May 16 00:38:21 2015 -0400 GtkFileChooser: Show remote search results too There is no reason not to show them. Removing this makes search on remote locations just work. gtk/gtkfilechooserwidget.c | 6 ------ 1 file changed, 6 deletions(-) commit 43e1eea1bb216985132f6193ae3bbf38ce533942 Author: Matthias Clasen Date: Sat May 16 00:37:07 2015 -0400 Rewrite search to be more similar to nautilus The main advantage here is that this code works for remote locations as well. gtk/gtkquery.c | 58 ++++++++++- gtk/gtkquery.h | 3 + gtk/gtksearchenginesimple.c | 239 ++++++++++++-------------------------------- 3 files changed, 124 insertions(+), 176 deletions(-) commit 3b6af25454b4ecd2d6a46e188b890e84a5cc8ed3 Author: Cédric Valmary Date: Fri May 15 16:13:45 2015 +0000 Updated Occitan translation po-properties/oc.po | 1 - 1 file changed, 1 deletion(-) commit 989221251e68fcaf595a3aa438103749403fc8d7 Author: Piotr Drąg Date: Fri May 15 17:56:44 2015 +0200 Updated Polish translation po/pl.po | 278 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 141 insertions(+), 137 deletions(-) commit 12ccebe2a4b1c626a3ec02165de891445297847d Author: Kjell Ahlstedt Date: Fri May 15 15:39:04 2015 +0200 gtkwindow: Fix a memory leak The private data GtkGesture* drag_gesture was added by commit 13e22e20300b7312e52bba7d077fc7e231695fc1, but it's never destroyed. Unref it in gtk_window_finalize(). https://bugzilla.gnome.org/show_bug.cgi?id=749425 gtk/gtkwindow.c | 3 +++ 1 file changed, 3 insertions(+) commit 90a8118838ddb38aa31ab1abb7989387cefc1698 Author: Matthias Clasen Date: Thu May 14 15:26:56 2015 -0400 Add a main category to desktop files This makes desktop-file-validate happy. demos/gtk-demo/gtk3-demo.desktop | 2 +- demos/icon-browser/gtk3-icon-browser.desktop | 2 +- demos/widget-factory/gtk3-widget-factory.desktop | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit dc41c59006fa3b8c80ce5dbbdec5345bd2076fe2 Author: Emmanuele Bassi Date: Thu May 14 16:56:00 2015 +0100 Amend deprecation warnings for GtkStyle API Not everything has a replacement in the API, as the drawing model changed considerably; nevertheless, this should help out developers porting from the deprecated GtkStyle API. gtk/deprecated/gtkstyle.h | 56 +++++++++++++++++++++++------------------------ 1 file changed, 28 insertions(+), 28 deletions(-) commit 97697701f7a7da415349aa690ffd33016c5cc481 Author: Kjartan Maraas Date: Thu May 14 16:55:29 2015 +0200 Updated Norwegian bokmål translation. po/nb.po | 616 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 344 insertions(+), 272 deletions(-) commit 8084ebda1460e2c8dce26f92d339c0717a4a423a Author: Marco Trevisan (Treviño) Date: Thu May 7 11:49:54 2015 +0200 configure.ac: Pull gio-unix dependency for all unix builds It's now needed by gtk-launch, so it's just the case to enable it for all the builds except the win32 one, instead of adding it for every unix backend. https://bugzilla.gnome.org/show_bug.cgi?id=744086 configure.ac | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) commit 92ecb117df50a4e4e7f1a1cc1fba0775caaa0969 Author: Yosef Or Boczko Date: Wed May 13 23:06:54 2015 +0300 Updated Hebrew translation po/he.po | 555 ++++++++++++++++++++++++++++++++------------------------------- 1 file changed, 284 insertions(+), 271 deletions(-) commit b4f06ca49f5ee23ee10fef51af483bd01211f273 Author: Marek Kasik Date: Fri Jul 11 11:33:30 2014 +0200 printing: Check connection to remote CUPS server on correct port Add parameter for specification of port to gtk_cups_connection_cups_new(). Use default port returned by ippPort() if the given port is lower than 0. https://bugzilla.gnome.org/show_bug.cgi?id=693738 modules/printbackends/cups/gtkcupsutils.c | 8 ++++++-- modules/printbackends/cups/gtkcupsutils.h | 3 ++- modules/printbackends/cups/gtkprintbackendcups.c | 8 +++++--- 3 files changed, 13 insertions(+), 6 deletions(-) commit 36678306a01f7c3e1ca7dca3253f82b79d77248a Author: Benjamin Otte Date: Tue May 12 18:27:19 2015 +0200 box: Fix RTL styling gtk/gtkbox.c | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) commit c32cf6ffb1a0570bed37b334c1b1d1293128d79d Author: Matthias Clasen Date: Tue May 12 08:24:52 2015 -0400 GtkPrintUnixDialog: Avoid deprecated properties Not needed here at all. gtk/ui/gtkprintunixdialog.ui | 9 --------- 1 file changed, 9 deletions(-) commit 5c84bc0fba29811a088b21a5bed08976c4802eea Author: Matthias Clasen Date: Tue May 12 08:22:56 2015 -0400 GtkPageSetupUnixDialog: Avoid deprecated properties Not needed at all. gtk/ui/gtkpagesetupunixdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit bce624e7a766ce312686c10d0d277bd2bda67e9e Author: Matthias Clasen Date: Tue May 12 08:20:35 2015 -0400 gtk3-demo: Add a page setup example This mainly so I can fix deprecation warnings in the page setup dialog. demos/gtk-demo/Makefile.am | 4 ++++ demos/gtk-demo/demo.gresource.xml | 1 + demos/gtk-demo/pagesetup.c | 38 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/printing.c | 2 +- 4 files changed, 44 insertions(+), 1 deletion(-) commit 2bb1ed69f0b317c82b2a2ef8663671104eb88ca4 Author: Matthias Clasen Date: Tue May 12 07:57:04 2015 -0400 GtkPopover: Clean up default widget on dispose We forgot to drop the ref we take. Thankfully our tests caught this. gtk/gtkpopover.c | 2 ++ 1 file changed, 2 insertions(+) commit 3dda1c5b64610c381624c17358f60b514ff03091 Author: Matthias Clasen Date: Tue May 12 07:44:44 2015 -0400 Docs: Typo fix gtk/gtktreestore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit fb51f447a24a8940b79977caa55d88641b8429ee Author: Matthias Clasen Date: Tue May 12 07:44:21 2015 -0400 Fix a11y tests The output of the about dialog test is affected by the keynav fixes. testsuite/a11y/about.txt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) commit dedfcd7d58922210bd5c5621217a13ff7fc79d95 Author: Matthias Clasen Date: Tue May 12 07:40:47 2015 -0400 Quiet the bitmask test Don't spew so many 0s and 1s. testsuite/gtk/bitmask.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit a1e418ebd527a227722c0a8e1191241fe35bfdcf Author: Ting-Wei Lan Date: Tue May 12 10:23:59 2015 +0800 Fix return value error in gtk_font_chooser_get_font_map https://bugzilla.gnome.org/show_bug.cgi?id=749248 gtk/gtkfontchooser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cfc07fdfcf4811e0edbaf941970ac2653d57afd8 Author: Matthias Clasen Date: Mon May 11 23:06:50 2015 -0400 gtk-demo: Don't rely on gdk_cursor_get_image This function is only implemented on X11. Instead, just use a fixed set of cursor images from resources. demos/gtk-demo/Makefile.am | 38 +++++++++++++++++++++++++++++++- demos/gtk-demo/alias_cursor.png | Bin 0 -> 1383 bytes demos/gtk-demo/all_scroll_cursor.png | Bin 0 -> 1776 bytes demos/gtk-demo/cell_cursor.png | Bin 0 -> 1155 bytes demos/gtk-demo/col_resize_cursor.png | Bin 0 -> 1479 bytes demos/gtk-demo/copy_cursor.png | Bin 0 -> 1325 bytes demos/gtk-demo/crosshair_cursor.png | Bin 0 -> 985 bytes demos/gtk-demo/cursors.c | 11 +++++++-- demos/gtk-demo/default_cursor.png | Bin 0 -> 1252 bytes demos/gtk-demo/demo.gresource.xml | 37 +++++++++++++++++++++++++++++++ demos/gtk-demo/e_resize_cursor.png | Bin 0 -> 1289 bytes demos/gtk-demo/ew_resize_cursor.png | Bin 0 -> 1479 bytes demos/gtk-demo/grab_cursor.png | Bin 0 -> 1392 bytes demos/gtk-demo/grabbing_cursor.png | Bin 0 -> 1216 bytes demos/gtk-demo/hand_cursor.png | Bin 0 -> 1416 bytes demos/gtk-demo/help_cursor.png | Bin 0 -> 1549 bytes demos/gtk-demo/move_cursor.png | Bin 0 -> 1601 bytes demos/gtk-demo/n_resize_cursor.png | Bin 0 -> 1287 bytes demos/gtk-demo/ne_resize_cursor.png | Bin 0 -> 1423 bytes demos/gtk-demo/nesw_resize_cursor.png | Bin 0 -> 1248 bytes demos/gtk-demo/no_drop_cursor.png | Bin 0 -> 1176 bytes demos/gtk-demo/none_cursor.png | Bin 0 -> 182 bytes demos/gtk-demo/not_allowed_cursor.png | Bin 0 -> 2280 bytes demos/gtk-demo/ns_resize_cursor.png | Bin 0 -> 1411 bytes demos/gtk-demo/nw_resize_cursor.png | Bin 0 -> 1545 bytes demos/gtk-demo/nwse_resize_cursor.png | Bin 0 -> 1223 bytes demos/gtk-demo/pointer_cursor.png | Bin 0 -> 1416 bytes demos/gtk-demo/progress_cursor.png | Bin 0 -> 1879 bytes demos/gtk-demo/row_resize_cursor.png | Bin 0 -> 1411 bytes demos/gtk-demo/s_resize_cursor.png | Bin 0 -> 1208 bytes demos/gtk-demo/se_resize_cursor.png | Bin 0 -> 1338 bytes demos/gtk-demo/sw_resize_cursor.png | Bin 0 -> 1369 bytes demos/gtk-demo/text_cursor.png | Bin 0 -> 844 bytes demos/gtk-demo/vertical_text_cursor.png | Bin 0 -> 823 bytes demos/gtk-demo/w_resize_cursor.png | Bin 0 -> 1355 bytes demos/gtk-demo/wait_cursor.png | Bin 0 -> 2013 bytes demos/gtk-demo/zoom_in_cursor.png | Bin 0 -> 2289 bytes demos/gtk-demo/zoom_out_cursor.png | Bin 0 -> 2170 bytes 38 files changed, 83 insertions(+), 3 deletions(-) commit be9915b16a1a820fa18bf5de800099923372568e Author: Matthias Clasen Date: Sat May 9 23:53:45 2015 -0400 quartz: Support css cursor names We want these to work across platforms, so do a best-effort approximation. We could do much better here by copying what webkit does. https://bugzilla.gnome.org/show_bug.cgi?id=749178 gdk/quartz/gdkcursor-quartz.c | 48 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 46 insertions(+), 2 deletions(-) commit 62b858cf0f74b44133a77d0e99c497cabc1a2ab0 Author: Matthias Clasen Date: Mon May 11 22:13:07 2015 -0400 Avoid a critical under weston The ordering of globals in connection setup under weston is different from mutter, and we end up creating a the dnd window before any outputs are present. Don't cause a critical warning in that case. gdk/wayland/gdkwindow-wayland.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 6663257bf000384fc1ff2ca470fe5bccad6029b0 Author: Matthias Clasen Date: Mon May 11 20:03:08 2015 -0400 GtkFontChooser: Refine 'no matches' pages Use a better icon, and put the text below. gtk/ui/gtkfontchooserwidget.ui | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) commit 0e267ce7ff2a2cc3233320856213bfade0b3ceb3 Author: Matthias Clasen Date: Mon May 11 19:44:30 2015 -0400 GtkFileChooser: Refine 'no matches' page Use a better icon, and put the text below. gtk/ui/gtkfilechooserwidget.ui | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit a8e5cacb911077c1b16a5d9bfc7589dd8b056a5d Author: Lars Uebernickel Date: Fri Apr 10 17:18:50 2015 +0200 Allow overriding WM_CLASS from the command line Even when the program itself calls gdk_set_program_class(). There's currently no way for this function to be called without breaking gdk's --class command line option, because you cannot call it before gtk_init(). https://bugzilla.gnome.org/show_bug.cgi?id=747634 gdk/gdk.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 9d921ec148bc91ef5e290250d6be5cb2177de957 Author: Matthias Clasen Date: Sun May 10 21:01:47 2015 -0400 gtk-demo: Port builder example away from GtkUIManager This makes gtk3-demo deprecation-free. demos/gtk-demo/builder.c | 72 ++++++- demos/gtk-demo/demo.ui | 530 +++++++++++++++++++++++++---------------------- 2 files changed, 349 insertions(+), 253 deletions(-) commit d89766ce4159fdda83043eb4c2d321696678f4f0 Author: Matthias Clasen Date: Sun May 10 21:00:08 2015 -0400 gtk-demo: Remove an unncessary define The changedisplay example no longer uses and deprecated API, so don't disable deprecations. demos/gtk-demo/changedisplay.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit 56ddf3f092151e704904148116afe606cb61b939 Author: Cédric Valmary Date: Sun May 10 19:44:36 2015 +0000 Updated Occitan translation po/oc.po | 12360 +++++++++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 8278 insertions(+), 4082 deletions(-) commit 6b8ef6e2e2ac04d8f953d7f8c355cc18e6352d97 Author: Matthias Clasen Date: Sun May 10 15:37:47 2015 -0400 Forgotten file gtk/gtkadjustment.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit becf1c25ceb004e55297ab512e3e7f4a84b4e395 Author: Piotr Drąg Date: Sun May 10 18:10:11 2015 +0200 Updated POTFILES.in po-properties/POTFILES.in | 1 + po/POTFILES.in | 1 + 2 files changed, 2 insertions(+) commit 2bafc7d195137b1a92ab65605b9780fb29ab9675 Author: Matthias Clasen Date: Sun May 10 02:35:52 2015 -0400 GtkAdjustment: Deprecate some redundant API Both gtk_adjustment_changed and gtk_adjustment_value_changed are unnecessary every since we've sealed the GtkAdjustment struct. https://bugzilla.gnome.org/show_bug.cgi?id=619493 gtk/gtkadjustment.c | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) commit 647889c2e3e86b3b31410c23bfed8d4b3db4af6d Author: Matthias Clasen Date: Sun May 10 02:35:07 2015 -0400 GtkIconView: Stop using gtk_adjustment_changed This should not be needed at all. gtk/gtkiconview.c | 6 ------ 1 file changed, 6 deletions(-) commit d90847b20ec52951ebcd2a3d1b565b654056788c Author: Matthias Clasen Date: Sun May 10 02:34:33 2015 -0400 GtkSpinButton: Stop using gtk_adjustment_value_changed This is just an unnecessary indirection. gtk/gtkspinbutton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 9a4f2669f704efd6f27087c03d93dbc48d07586b Author: Matthias Clasen Date: Sun May 10 02:10:21 2015 -0400 Trivial formatting fixes gtk/gtkadjustment.c | 181 ++++++++++++++++++++++++++-------------------------- 1 file changed, 91 insertions(+), 90 deletions(-) commit 648c3b39f3530040af343ecb95ebfd4b4b09aa2c Author: Matthias Clasen Date: Sun May 10 01:30:38 2015 -0400 input methods: Add a 'vertical text' hint This has been requested in https://bugzilla.gnome.org/show_bug.cgi?id=747150 gtk/gtkenums.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit afa2bc8b8d84925762fb9ba0a824024f9a237928 Author: Matthias Clasen Date: Sun May 10 01:05:52 2015 -0400 Revert "Work around a pkg-config bug" This reverts commit 57751fa391fce8b9f208c41260e8968dd4cdc800. I've been told that this is not, in fact, a pkg-config bug, but a pkg-config feature. configure.ac | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit 0c4deb656e6fe161a6c4cfdedbd2599e31b879d0 Author: Philip Chimento Date: Wed Apr 8 23:31:51 2015 -0700 quartz: Non-implementation of GdkGLContext This makes sure the Quartz backend returns an error when asked to create a GL context, rather than crashing because of a NULL vfunc. https://bugzilla.gnome.org/show_bug.cgi?id=740199 gdk/quartz/Makefile.am | 2 ++ gdk/quartz/gdkglcontext-quartz.c | 39 ++++++++++++++++++++++++++++++++++++++ gdk/quartz/gdkglcontext-quartz.h | 41 ++++++++++++++++++++++++++++++++++++++++ gdk/quartz/gdkwindow-quartz.c | 2 ++ 4 files changed, 84 insertions(+) commit 33d1bea42338ded18b44cc292b795b9ada39fef3 Author: Balázs Meskó Date: Sat May 9 12:44:41 2015 +0000 Updated Hungarian translation po-properties/hu.po | 2390 ++++++++++++++++++++------------------------------- 1 file changed, 949 insertions(+), 1441 deletions(-) commit b9119888fc2b6bb885388a77730228021ebdf074 Author: Gábor Kelemen Date: Sat May 9 12:43:46 2015 +0000 Updated Hungarian translation po/hu.po | 737 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 416 insertions(+), 321 deletions(-) commit 082b136b5096fd3cf1520213643709a7ec42ad0b Author: Alexandre Franke Date: Sat May 9 09:49:18 2015 +0000 Updated French translation po-properties/fr.po | 4405 ++++++++++++++++++++++++++------------------------- 1 file changed, 2203 insertions(+), 2202 deletions(-) commit ba9f146512ca01937d0a163ca99981faad042942 Author: Alexandre Franke Date: Sat May 9 08:31:37 2015 +0000 Updated French translation po/fr.po | 4036 ++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 2064 insertions(+), 1972 deletions(-) commit 3d81fe8617331e8463470c7fad9814517949ad3d Author: Matthias Clasen Date: Sat May 9 02:18:01 2015 -0400 Font chooser: Hide size controls with 'no match' The preview entry previews a font despite there being no results, that makes no sense. gtk/ui/gtkfontchooserwidget.ui | 144 ++++++++++++++++++++++------------------- 1 file changed, 78 insertions(+), 66 deletions(-) commit 972e59d05edf22cd66ddd511a902627b6c1fd4f7 Author: Matthias Clasen Date: Sat May 9 02:06:28 2015 -0400 Font chooser: Nice 'not found' message This copies the style that is used in the file chooser now. gtk/ui/gtkfontchooserwidget.ui | 40 +++++++++++++++++++++++++++++++++------- 1 file changed, 33 insertions(+), 7 deletions(-) commit 7a5329578cd9331b55ca5ef976cd347496dd831d Author: Matthias Clasen Date: Sat May 9 01:58:32 2015 -0400 Font chooser: Also apply font map to preview Otherwise, the preview is not showing a selected custom font. gtk/gtkfontchooserwidget.c | 3 +++ 1 file changed, 3 insertions(+) commit 647f0e6025960eeb9ada779605ddf4e269868d26 Author: Matthias Clasen Date: Fri May 8 14:21:11 2015 -0400 docs: Show less ugly X cursors Don't list examples in the gdk_cursor_new_for_display() docs, since we now have a list of recommended names for the from_name() call. gdk/gdkcursor.c | 20 -------------------- 1 file changed, 20 deletions(-) commit d3f1b3ee4185391a813c8b8a910f7f00ac3efa1c Author: Matthias Clasen Date: Fri May 8 13:19:14 2015 -0400 gtk-demo: Drop cursor name fallback code GdkCursor itself will now do whats necessary to support these names. demos/gtk-demo/cursors.c | 64 +----------------------------------------------- 1 file changed, 1 insertion(+), 63 deletions(-) commit 7d83edd4e01b34e83474f8b8b49d3e6c3acb610d Author: Matthias Clasen Date: Fri May 8 09:55:28 2015 -0400 Update docs docs/reference/gdk/Makefile.am | 37 ++++++++++++++++++- docs/reference/gdk/images/alias_cursor.png | Bin 0 -> 1383 bytes docs/reference/gdk/images/all_scroll_cursor.png | Bin 0 -> 1776 bytes docs/reference/gdk/images/cell_cursor.png | Bin 0 -> 1155 bytes docs/reference/gdk/images/col_resize_cursor.png | Bin 0 -> 1479 bytes docs/reference/gdk/images/copy_cursor.png | Bin 0 -> 1325 bytes docs/reference/gdk/images/crosshair_cursor.png | Bin 0 -> 985 bytes docs/reference/gdk/images/default_cursor.png | Bin 0 -> 1252 bytes docs/reference/gdk/images/e_resize_cursor.png | Bin 0 -> 1289 bytes docs/reference/gdk/images/ew_resize_cursor.png | Bin 0 -> 1479 bytes docs/reference/gdk/images/grab_cursor.png | Bin 0 -> 1392 bytes docs/reference/gdk/images/grabbing_cursor.png | Bin 0 -> 1216 bytes docs/reference/gdk/images/hand_cursor.png | Bin 0 -> 1416 bytes docs/reference/gdk/images/help_cursor.png | Bin 0 -> 1549 bytes docs/reference/gdk/images/move_cursor.png | Bin 0 -> 1601 bytes docs/reference/gdk/images/n_resize_cursor.png | Bin 0 -> 1287 bytes docs/reference/gdk/images/ne_resize_cursor.png | Bin 0 -> 1423 bytes docs/reference/gdk/images/nesw_resize_cursor.png | Bin 0 -> 1248 bytes docs/reference/gdk/images/no_drop_cursor.png | Bin 0 -> 1176 bytes docs/reference/gdk/images/not_allowed_cursor.png | Bin 0 -> 2280 bytes docs/reference/gdk/images/ns_resize_cursor.png | Bin 0 -> 1411 bytes docs/reference/gdk/images/nw_resize_cursor.png | Bin 0 -> 1545 bytes docs/reference/gdk/images/nwse_resize_cursor.png | Bin 0 -> 1223 bytes docs/reference/gdk/images/pointer_cursor.png | Bin 0 -> 1416 bytes docs/reference/gdk/images/progress_cursor.png | Bin 0 -> 1879 bytes docs/reference/gdk/images/row_resize_cursor.png | Bin 0 -> 1411 bytes docs/reference/gdk/images/s_resize_cursor.png | Bin 0 -> 1208 bytes docs/reference/gdk/images/se_resize_cursor.png | Bin 0 -> 1338 bytes docs/reference/gdk/images/sw_resize_cursor.png | Bin 0 -> 1369 bytes docs/reference/gdk/images/text_cursor.png | Bin 0 -> 844 bytes docs/reference/gdk/images/vertical_text_cursor.png | Bin 0 -> 823 bytes docs/reference/gdk/images/w_resize_cursor.png | Bin 0 -> 1355 bytes docs/reference/gdk/images/wait_cursor.png | Bin 0 -> 2013 bytes docs/reference/gdk/images/zoom_in_cursor.png | Bin 0 -> 2289 bytes docs/reference/gdk/images/zoom_out_cursor.png | Bin 0 -> 2170 bytes gdk/gdkcursor.c | 39 +++++++++++++++++++++ gdk/gdkcursor.h | 7 +++- 37 files changed, 81 insertions(+), 2 deletions(-) commit 5434609b2167c5a4e33f494af0c0a82cd3f2639e Author: Matthias Clasen Date: Fri May 8 09:38:56 2015 -0400 Wayland: Make css cursor names work Map css cursor names to traditional X cursor names to increase our chance of finding a good cursor in the cursor theme. gdk/wayland/gdkcursor-wayland.c | 51 ++++++++++++++++++++++++++++++++++++++++- 1 file changed, 50 insertions(+), 1 deletion(-) commit 17cd3c321838dc3d67c3588956d1e4d68ca70df3 Author: Matthias Clasen Date: Fri May 8 09:37:39 2015 -0400 X11: Make css cursor names work Map css cursor names to traditional X cursor names to increase our chance of finding a good cursor in the cursor theme. gdk/x11/gdkcursor-x11.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 54 insertions(+), 1 deletion(-) commit b1e10f5312394c143bd4d09700c8522863b159ff Author: Matthias Clasen Date: Fri May 8 09:00:15 2015 -0400 Wayland: trivial reshuffle Avoid a forward declaration by moving things around. gdk/wayland/gdkcursor-wayland.c | 73 +++++++++++++++++++---------------------- 1 file changed, 34 insertions(+), 39 deletions(-) commit 724cc00f9baa8a808195eebfea686cef1d63d12c Author: Lionel Landwerlin Date: Sun May 3 11:38:45 2015 +0100 gdk: define GdkRectangle structure for introspection scanning https://bugzilla.gnome.org/show_bug.cgi?id=748833 gdk/gdktypes.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 9a7e69a990b709a79f28a8a17e74626aedb359ae Author: Sjoerd Simons Date: Wed May 6 12:39:14 2015 +0200 notify test: Don't test object relying on dbus connections Don't test types that rely on a pre-existing dbus session bus. https://bugzilla.gnome.org/show_bug.cgi?id=749009 testsuite/gtk/notify.c | 4 ++++ 1 file changed, 4 insertions(+) commit 798789ee90f7db775bd32f6f7c9d162f00953d42 Author: Matthias Clasen Date: Thu May 7 22:36:00 2015 -0400 GtkRecentChooser: Use a better busy cursor gtk/gtkrecentchooserdefault.c | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) commit 99935b14c6db3a5953b00fc61f231e348c7d8546 Author: Matthias Clasen Date: Thu May 7 22:24:19 2015 -0400 GtkPrintUnixDialog: Use a better busy cursor gtk/gtkprintunixdialog.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit eb715c311868631c46d5d369c9afaf0266409d4a Author: Matthias Clasen Date: Thu May 7 22:07:41 2015 -0400 GtkProgressBar: Adjust docs to new style Don't talk about superimposed text, since we don't do that anymore. https://bugzilla.gnome.org/show_bug.cgi?id=748784 gtk/gtkprogressbar.c | 58 +++++++++++++++++++++++++++------------------------- 1 file changed, 30 insertions(+), 28 deletions(-) commit 36006eb91824612cb25031101143fd70be68aa9d Author: Matthias Clasen Date: Thu May 7 20:01:14 2015 -0400 gtk3-demo: Add a cursors demo demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/cursors.c | 221 ++++++++++++++++++++++++++++++++++++++ demos/gtk-demo/demo.gresource.xml | 1 + 3 files changed, 223 insertions(+) commit 36a2c507e236d155893a087a2ea473298edf43de Author: Matthias Clasen Date: Thu May 7 18:29:04 2015 -0400 testgtk: Add new Adwaita cursor names tests/testgtk.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) commit b122787a76977aa050a4e12bcf397e5dbbfe8a20 Author: Matthias Clasen Date: Thu May 7 18:28:39 2015 -0400 GtkFontChooser: Use a GtkStack gtk/gtkfontchooserwidget.c | 10 +++++----- gtk/ui/gtkfontchooserwidget.ui | 15 ++++++--------- 2 files changed, 11 insertions(+), 14 deletions(-) commit f3a390a6bf20fc017c1fb8e286d11bfc19d7fa31 Author: Garrett Regier Date: Tue May 5 22:24:16 2015 -0700 GtkFontChooserWidget: Remove unused struct field This was added accidentally in a recent patch. Signed-off-by: Garrett Regier https://bugzilla.gnome.org/show_bug.cgi?id=748992 gtk/gtkfontchooserwidget.c | 1 - 1 file changed, 1 deletion(-) commit 08e2f958f001a79b5d722d56c48bd7ec77208efe Author: Jonas Ådahl Date: Thu May 7 23:06:32 2015 +0800 GtkWindow: Manually set CSD should enable shadow width calculation If CSD is enabled with shadow even though it "shouldn't"*, the width should still be calculated correctly. This fixes a regression caused by b1e5ad469c753ea3eed967056ca814ecb0117c7b. * gtk_window_should_use_csd () returns false https://bugzilla.gnome.org/show_bug.cgi?id=748615 gtk/gtkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7c294fb5da3ca844705328447b880ad5918877a6 Author: Petr Kovar Date: Thu May 7 16:19:05 2015 +0200 Update Czech translation po/cs.po | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) commit 39e7afecb1ee882232e887e1b3e4c30ae0afe3a3 Author: Debarshi Ray Date: Wed May 6 15:19:55 2015 +0200 GtkStack: Don't emit notify::visible-child during destruction https://bugzilla.gnome.org/show_bug.cgi?id=749012 gtk/gtkstack.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 142c8a5c8d44fda8474f8ac8a7ad125f4a58f3e0 Author: Matthias Clasen Date: Thu May 7 07:32:40 2015 -0400 GtkFontChooser: Add an example to the docs gtk/gtkfontchooser.c | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) commit 049cbc8b74aa7a6fff1627c8c65cbfd3c86dfde8 Author: Matthias Clasen Date: Mon May 4 23:21:17 2015 -0400 GtkFontChooser: Allow a custom font map This lets applications show their own fonts instead of or in addition to system fonts. https://bugzilla.gnome.org/show_bug.cgi?id=748771 docs/reference/gtk/gtk3-sections.txt | 2 + gtk/gtkfontbutton.c | 41 ++++++++++++++---- gtk/gtkfontchooser.c | 56 +++++++++++++++++++++++++ gtk/gtkfontchooser.h | 5 +++ gtk/gtkfontchooserutils.c | 3 ++ gtk/gtkfontchooserutils.h | 1 + gtk/gtkfontchooserwidget.c | 81 ++++++++++++++++++++++++++++-------- tests/testfontchooserdialog.c | 24 ++++++++++- 8 files changed, 187 insertions(+), 26 deletions(-) commit 0c922a9443f5fbb71ceba4e1ad0330c069a7c779 Author: Jakub Steiner Date: Thu May 7 10:16:46 2015 +0200 Adwaita: tone down popover dropshadow gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) commit 26b03332a4cd6a08d85a81097762bee4eb21689d Author: Debarshi Ray Date: Wed May 6 16:53:43 2015 +0200 GtkStackSwitcher: Don't emit notify::visible-child when setting a stack Synchronizing the visible child with the switcher's toggle buttons can lead to GtkButton::clicked being emitted twice. Once for the button that was active before, and once for the button that we just activated. This leads to notify::visible-child being called twice and one of them is with the wrong child. Let's deal with this in the same way we handle the visible child changing underneath us. https://bugzilla.gnome.org/show_bug.cgi?id=749021 gtk/gtkstackswitcher.c | 2 ++ 1 file changed, 2 insertions(+) commit 6a51ac59f05b01d2fd1def67a6df589de4b423a5 Author: William Hua Date: Wed May 6 10:27:03 2015 -0400 mir: handle generic input events gdk/mir/gdkmireventsource.c | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) commit b1e5ad469c753ea3eed967056ca814ecb0117c7b Author: Jonas Ådahl Date: Wed Apr 29 15:08:44 2015 +0800 GtkWindow: Get the correct shadow width even before window is realized The window state 'client_decorated' will only be set the window is being realized. If anyone tries to get the shadow size before that it'd get the with as if there always was no shadow. This avoids negative sized opaque regions caused by the allocation being smaller than shadow. https://bugzilla.gnome.org/show_bug.cgi?id=748615 gtk/gtkwindow.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 17260240341d224d5c3dd56ea19dc31355614957 Author: Yuri Myasoedov Date: Wed May 6 13:38:01 2015 +0300 Fixed Russian translation po-properties/ru.po | 905 ++++++++++++++++++++++++++-------------------------- 1 file changed, 447 insertions(+), 458 deletions(-) commit fa6f9564893d38ac6266c317bae83ee541f520d2 Author: Christian Hergert Date: Tue May 5 12:19:10 2015 -0700 inspector: allow object read-only properties in prop-editor If we have a GObject property that is also a GObject, we should be able to view additional information on that object (even if the param spec is read-only). gtk/inspector/prop-editor.c | 8 ++++++++ 1 file changed, 8 insertions(+) commit 07f4c9c31505f25d1bc5e436a0dd260138171646 Author: Matthias Clasen Date: Wed May 6 00:52:23 2015 -0400 GtkFontChooserWidget: Listen for fontconfig changes We were relying on indirectly getting notify when fontconfig configuration changes, by GtkSettings translating the timestamp change into a style-invalidation, which gets fed through the css invalidation machinery. That machinery has gotten good enough at optimizing away redundant changes that it no longer emits ::style-updated in this case. So, instead make the font chooser listen directly to what it cares about: the fontconfig change notification from GtkSettings. gtk/gtkfontchooserwidget.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) commit 487332c458b8e6d24f00afbdf05c2ae2f615af74 Author: Emmanuele Bassi Date: Mon May 4 13:28:14 2015 +0100 settings: Wayland-only systems also use fontconfig We're relying on the X11 backend being compiled in, but that may not be the case. https://bugzilla.gnome.org/show_bug.cgi?id=748782 gtk/gtksettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit c6df17577ab3ee8ffebec049ddf580f486f356c8 Author: Emmanuele Bassi Date: Mon May 4 13:25:27 2015 +0100 fontchooser: Use gtk-fontconfig-timestamp setting We can use the GtkSettings:gtk-fontconfig-timestamp property to decide whether or not we should reload fonts on style and screen changes. This should avoid doing a lot of work with large font collections when only the theme has changed. https://bugzilla.gnome.org/show_bug.cgi?id=748782 gtk/gtkfontchooserwidget.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) commit 4c06d08e2d6cf4790af38fb2c40be36e65535f77 Author: Руслан Ижбулатов Date: Mon May 4 17:18:35 2015 +0000 W32: Add a mapping for "left_ptr_watch" cursor This is purely to support gdk_cursor_new_from_name(). In particular, its counterpart, gdk_cursor_new_for_display(), will not be affected, because there's no GDK_LEFT_PTR_WATCH cursor type, and because i don't have a fallback cursor bitmask for gdk/win32/xcursors.h gdk/win32/gdkcursor-win32.c | 1 + 1 file changed, 1 insertion(+) commit 79c863c59574eea24f9bcc5f6353c3244b3d9c17 Author: Руслан Ижбулатов Date: Mon May 4 15:32:22 2015 +0000 Use GDK_KEY_KP_Decimal instead of GDK_KP_Decimal Fixes the FTBFS introduced in 578043f97e891e423648c9f70ddf1d185f4615c4 gdk/win32/gdkkeys-win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 1f51c506c3ce0930c0c4fc616a176c5f96b34781 Author: Matthias Clasen Date: Mon May 4 09:27:02 2015 -0400 Fix precondition in gtk_popover_get_default_widget We need to return a value here. gtk/gtkpopover.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 5cce2051dd33a5cb01f61636a94b02d1b55d6bb0 Author: Jakub Steiner Date: Mon May 4 14:39:40 2015 +0200 HC: implement overlay scrollbar theming while the behavior was in place, the specific theming for overlay scrollbars was missing, and content was hidden. gtk/theme/HighContrast/_common.scss | 37 +++++++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 19 +++++++++++++++++++ 2 files changed, 56 insertions(+) commit ff558d3d392f5e0b7e50a0b7cd451100826b31a9 Author: Matthias Clasen Date: Mon May 4 08:01:36 2015 -0400 Drop PANGO_ENABLE_BACKEND Not needed for a long time now. https://bugzilla.gnome.org/show_bug.cgi?id=748783 gtk/gtksettings.c | 2 -- 1 file changed, 2 deletions(-) commit ea3190d0ac074350e90d88613da052c73f801326 Author: Matthias Clasen Date: Sat May 2 20:49:17 2015 -0400 gtk3-widget-factory: Simplify ui file demos/widget-factory/widget-factory.ui | 446 +-------------------------------- 1 file changed, 6 insertions(+), 440 deletions(-) commit c28275f4ec1d02698336aea7cffd4aabaa1e61b0 Author: Timm Bäder Date: Sun May 3 12:19:18 2015 +0200 GtkPopover: Don't ref NULL widgets gtk_window_get_default_widget returns NULL if the window does not have a default widget, so don't ref it in that case. gtk/gtkpopover.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 8c7e1f08ac189c898d3d197e6b065c9829d12ae0 Author: Piotr Drąg Date: Sun May 3 16:33:07 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit e31977eca169f4d92f495f53f68590c518699dbb Author: Marek Černocký Date: Sun May 3 13:51:14 2015 +0200 Updated Czech translation po/cs.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 954b6148cc5e9f9289f20945b507950ff78094b3 Author: Marek Černocký Date: Sun May 3 13:49:35 2015 +0200 Updated Czech translation po/cs.po | 586 +++++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 322 insertions(+), 264 deletions(-) commit adb58b2c84eb542f7971bd6f248e35c1e09bdcda Author: Matthias Clasen Date: Fri Apr 17 00:14:28 2015 -0400 file chooser: Set default widget in create folder popover This is using the new default widget functionality for popovers to make Enter in the entry activate the Create button. https://bugzilla.gnome.org/show_bug.cgi?id=747664 gtk/gtkfilechooserwidget.c | 3 +++ gtk/gtkplacessidebar.c | 3 +++ gtk/ui/gtkfilechooserwidget.ui | 2 ++ 3 files changed, 8 insertions(+) commit e1c1fc59e5cad92b4d81df94001c51be070fd905 Author: Matthias Clasen Date: Fri Apr 17 00:10:06 2015 -0400 Add default widget handling to popovers Add a new API, gtk_popover_set_default_widget, that can be used to make a widget act as default while the popover is shown. This is useful in dialog-like popovers. http://bugzilla.gnome.org/show_bug.cgi?id=747664 docs/reference/gtk/gtk3-sections.txt | 2 ++ gtk/gtkpopover.c | 69 ++++++++++++++++++++++++++++++++++++ gtk/gtkpopover.h | 6 ++++ 3 files changed, 77 insertions(+) commit 3682c761ed5a98319d8f415fee60b9e02bc2d04f Author: Matthias Clasen Date: Sat May 2 18:24:20 2015 -0400 GtkStatusbar: Simplify ui template gtk/ui/gtkstatusbar.ui | 17 ----------------- 1 file changed, 17 deletions(-) commit a921229246d99c28c14ffa060b3cc77ce4a649c1 Author: Matthias Clasen Date: Sat May 2 18:23:20 2015 -0400 GtkSearchBar: Simplify ui template gtk/ui/gtksearchbar.ui | 22 ---------------------- 1 file changed, 22 deletions(-) commit 52753b8162624763828e5d9a1df553dce469c421 Author: Matthias Clasen Date: Sat May 2 18:22:30 2015 -0400 GtkScaleButton: Simplify ui template gtk/ui/gtkscalebutton.ui | 7 ------- 1 file changed, 7 deletions(-) commit 307bdb2e6bbe71af30c5b43c10b4cbd52ed29c25 Author: Matthias Clasen Date: Sat May 2 18:21:38 2015 -0400 GtkRecentChooserDefault: Simplify ui template gtk/ui/gtkrecentchooserdefault.ui | 7 ------- 1 file changed, 7 deletions(-) commit 4fe01dec954d62091df4a037751fb066b3a6e16a Author: Matthias Clasen Date: Sat May 2 18:20:04 2015 -0400 GtkPrintUnixDialog: Simplify ui template gtk/ui/gtkprintunixdialog.ui | 356 +------------------------------------------ 1 file changed, 3 insertions(+), 353 deletions(-) commit c1876f892ab23d0126c30b132cc9b03b1219d5bc Author: Matthias Clasen Date: Sat May 2 18:17:38 2015 -0400 GtkPageSetupUnixDialog: Simplify ui template gtk/ui/gtkpagesetupunixdialog.ui | 83 ---------------------------------------- 1 file changed, 83 deletions(-) commit c258d225cbfb7b401d47693d77f9f0c0492fdf03 Author: Matthias Clasen Date: Sat May 2 18:11:29 2015 -0400 GtkMessageDialog: Simplify ui template gtk/ui/gtkmessagedialog.ui | 17 ----------------- 1 file changed, 17 deletions(-) commit 2487487e6a100cced0e1d8d47e13aac83d2e250e Author: Matthias Clasen Date: Sat May 2 18:10:37 2015 -0400 GtkLockButton: Simplify ui template gtk/ui/gtklockbutton.ui | 8 -------- 1 file changed, 8 deletions(-) commit 71681d61dfcd734027b17185f686a11603dfef52 Author: Matthias Clasen Date: Sat May 2 18:05:15 2015 -0400 GtkInfoBar: Simplify ui template gtk/ui/gtkinfobar.ui | 22 ---------------------- 1 file changed, 22 deletions(-) commit 68cf6264f1758a8af1b83149c54a2748955f3073 Author: Matthias Clasen Date: Sat May 2 18:04:30 2015 -0400 GtkFontChooserWidget: Simplify ui template gtk/ui/gtkfontchooserwidget.ui | 14 -------------- 1 file changed, 14 deletions(-) commit f20dbe08238aec1073485dfa95f64d85519eb0c7 Author: Matthias Clasen Date: Sat May 2 18:03:50 2015 -0400 GtkFontChooserDialog: Simplify ui template gtk/ui/gtkfontchooserdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit ab22285f159f939969c86695df89db50461abaa6 Author: Matthias Clasen Date: Sat May 2 18:03:08 2015 -0400 GtkFontButton: Simplify ui template gtk/ui/gtkfontbutton.ui | 12 ------------ 1 file changed, 12 deletions(-) commit bf9d32b9eef15b3d0ad647046d707fa159b735e7 Author: Matthias Clasen Date: Sat May 2 18:02:26 2015 -0400 GtkFileChooserWidget: Simplify ui template gtk/ui/gtkfilechooserwidget.ui | 9 --------- 1 file changed, 9 deletions(-) commit 232d6f84f0495e9effedc16d700fc13f5a6e3023 Author: Matthias Clasen Date: Sat May 2 18:01:04 2015 -0400 GtkFileChooserDialog: Simplify ui template gtk/ui/gtkfilechooserdialog.ui | 18 ------------------ 1 file changed, 18 deletions(-) commit 728f7db45f3c2bb3003a97a38d7a655e0ee579b1 Author: Matthias Clasen Date: Sat May 2 18:00:15 2015 -0400 GtkFileChooserButton: Simplify ui template gtk/ui/gtkfilechooserbutton.ui | 15 --------------- 1 file changed, 15 deletions(-) commit a94cedd2aede38df8fb46c4b19456ea91ba45667 Author: Matthias Clasen Date: Sat May 2 17:59:28 2015 -0400 GtkDialog: Simplify ui template gtk/ui/gtkdialog.ui | 12 ------------ 1 file changed, 12 deletions(-) commit f7c58c3be3abb5f79c3986e2162d9ef884424bf3 Author: Matthias Clasen Date: Sat May 2 17:57:28 2015 -0400 GtkColorEditor: Simplify ui template gtk/ui/gtkcoloreditor.ui | 57 ------------------------------------------------ 1 file changed, 57 deletions(-) commit ea2ac484d168314b2b8057bfcb0be1989e5fd479 Author: Matthias Clasen Date: Sat May 2 17:56:40 2015 -0400 GtkColorChooserDialog: Simplify ui template gtk/ui/gtkcolorchooserdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit 86383e63db64380f76ed5ae72b47baab0579ac28 Author: Matthias Clasen Date: Sat May 2 17:55:52 2015 -0400 GtkAssistant: Simplify ui template gtk/ui/gtkassistant.ui | 38 -------------------------------------- 1 file changed, 38 deletions(-) commit d6a698f70038037ff2c2fdc99e5b3018cc10bc0e Author: Matthias Clasen Date: Sat May 2 17:53:26 2015 -0400 GtkAppChooserWidget: Simplify ui template gtk/ui/gtkappchooserwidget.ui | 3 --- 1 file changed, 3 deletions(-) commit e966363b1a0e3666a129cb70e3722026abc130e6 Author: Matthias Clasen Date: Sat May 2 17:49:07 2015 -0400 GtkAppChooserDialog: Simplify ui template gtk/ui/gtkappchooserdialog.ui | 18 ------------------ 1 file changed, 18 deletions(-) commit ea0a54a4776ff294b64b6c0e3a9f3add97ca8479 Author: Matthias Clasen Date: Sat May 2 17:39:56 2015 -0400 GtkActionBar: Simplify ui template gtk/ui/gtkactionbar.ui | 6 ------ 1 file changed, 6 deletions(-) commit fb8294f5e43469d1d0050ee97946c0101a64d223 Author: Matthias Clasen Date: Sat May 2 17:37:54 2015 -0400 gtk-builder-tool: Run the tests installed too testsuite/tools/Makefile.am | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) commit d22f351e283616c588c1f346102e889b1f925678 Author: Matthias Clasen Date: Sat May 2 17:21:31 2015 -0400 gtk-builder-tool: Add some tests configure.ac | 1 + testsuite/Makefile.am | 2 +- testsuite/tools/Makefile.am | 26 ++++++++++++++++++++++++++ testsuite/tools/simplify/test1.expected | 5 +++++ testsuite/tools/simplify/test1.ui | 6 ++++++ testsuite/tools/simplify/test2.expected | 6 ++++++ testsuite/tools/simplify/test2.ui | 6 ++++++ testsuite/tools/simplify/test3.expected | 6 ++++++ testsuite/tools/simplify/test3.ui | 6 ++++++ testsuite/tools/simplify/test4.expected | 6 ++++++ testsuite/tools/simplify/test4.ui | 6 ++++++ testsuite/tools/simplify/test5.expected | 9 +++++++++ testsuite/tools/simplify/test5.ui | 12 ++++++++++++ testsuite/tools/simplify/test6.expected | 5 +++++ testsuite/tools/simplify/test6.ui | 6 ++++++ testsuite/tools/simplify/test7.expected | 8 ++++++++ testsuite/tools/simplify/test7.ui | 12 ++++++++++++ testsuite/tools/simplify/test8.expected | 11 +++++++++++ testsuite/tools/simplify/test8.ui | 12 ++++++++++++ testsuite/tools/test-simplify | 27 +++++++++++++++++++++++++++ 20 files changed, 177 insertions(+), 1 deletion(-) commit 4f115ad9401e2902582a4daa83544c6877643dfc Author: Matthias Clasen Date: Sat May 2 14:41:02 2015 -0400 gtk-builder-tool: Some refactoring Break out similar code into separate functions. gtk/gtk-builder-tool.c | 53 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 21 deletions(-) commit 9ff14a818819d89d4d7b8e3be398e13dfc430cff Author: Matthias Clasen Date: Sat May 2 14:39:35 2015 -0400 gtk-builder-tool: Strip placeholders glade likes to sprinkle all over the place - get rid of it. gtk/gtk-builder-tool.c | 75 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 61 insertions(+), 14 deletions(-) commit 3b0e71cf9b831478b8392402db1337b926994adf Author: Matthias Clasen Date: Sat May 2 14:44:15 2015 -0400 gtk-builder-tool: Simplify non-translatable properties gtk/gtk-builder-tool.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 932e2546888e53726f5553106512c77cc13424e9 Author: Matthias Clasen Date: Sat May 2 13:15:18 2015 -0400 gtk-builder-tool: Always emit translatable properties Seems unlikely that these would ever have a default value, but better safe than sorry. gtk/gtk-builder-tool.c | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) commit 060c4f9c6626172e03ae384f817849504584dbd4 Author: Matthias Clasen Date: Sat May 2 12:13:35 2015 -0400 gtk-builder-tool: Handle cell properties These were causing 'unknown property' warnings before. gtk/gtk-builder-tool.c | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) commit 712b7bd9f502dbdfa158507127a6e269a154551b Author: Yosef Or Boczko Date: Sat May 2 22:22:19 2015 +0300 Updated Hebrew translation po/he.po | 225 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 119 insertions(+), 106 deletions(-) commit 71bd0b05ad7eb4479f7632d3dffdfc92699ec184 Author: Matthias Clasen Date: Sat May 2 11:55:00 2015 -0400 docs: Add a note about button 4 & 5 gdk/gdktypes.h | 4 ++++ 1 file changed, 4 insertions(+) commit 2feaf8f970d93bf24d0e9036526e451413bc0f2f Author: Matthias Clasen Date: Sat May 2 11:51:38 2015 -0400 xi2: Don't set button mask 4 and 5 We interpret buttons 4-7 as old-school scroll events, so it does not make sense to add these to the mask. Also fix an off-by-one in the loop here, buttons_mask is 1-based. gdk/x11/gdkdevice-xi2.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) commit e478ec09b860d76fd61b95f594d5f9af4b69d8e2 Author: Matthias Clasen Date: Sat May 2 10:42:15 2015 -0400 GtkAboutDialog: Make credits section keyboard navigatable Its the right thing to do. gtk/gtkaboutdialog.c | 1 + 1 file changed, 1 insertion(+) commit 086d05b0cff58c9e8c2f2c18a3445a44b4cb77ae Author: Matthias Clasen Date: Sat May 2 10:26:07 2015 -0400 GtkAboutDialog: Fix some focus issues Making a container focusable is rarely the right thing to do. It typically breaks the focus chain, and makes the container contents unfocusable, as was the case here. gtk/ui/gtkaboutdialog.ui | 4 ---- 1 file changed, 4 deletions(-) commit 52bf6d52bb5f8ba10caf457115145d3e19a28847 Author: Matthias Clasen Date: Sat May 2 10:16:55 2015 -0400 gtk-builder-tool: Add more exceptions gtk/gtk-builder-tool.c | 5 +++++ 1 file changed, 5 insertions(+) commit da3f2eea7c0601b61209722fe897466afba5010c Author: Matthias Clasen Date: Sat May 2 10:12:54 2015 -0400 gtk-builder-tool: Improve docs docs/reference/gtk/gtk-builder-tool.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit b08a1702d12f4f70fe903515609a1b6cebc3f76e Author: Timm Bäder Date: Sat May 2 17:14:38 2015 +0200 inspector/misc-info: Fix typo gtk/inspector/misc-info.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 8492bc525613f9cc0c0bbc6b692303bdf9e7150f Author: Cédric Valmary Date: Sat May 2 15:24:35 2015 +0000 Updated Occitan translation po-properties/oc.po | 9583 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 5961 insertions(+), 3622 deletions(-) commit b8548d27a1b9ce23e75454c3dc27780ef631867b Author: Matthias Clasen Date: Sat May 2 07:35:35 2015 -0400 gtk-builder-tool: Start an exception list We have a number of cases where properties should have their default value overridden in a subclass, but haven't because thats annoying to do. We also have properties where the absence of an explicit value has context-dependent meaning. Add a list of exceptions for these cases. gtk/gtk-builder-tool.c | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) commit 354146143ef9618964ff61cab264e286c422ea73 Author: Matthias Clasen Date: Sat May 2 02:48:19 2015 -0400 Fix another ordering issue gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit 3fbaf3231e0df8305aa386bf6a40a1ef8cbf748e Author: Matthias Clasen Date: Sat May 2 02:42:25 2015 -0400 GtkPlacesSidebar: Use a popover for renaming bookmarks This is following the example in gnome-builder. gtk/gtkplacessidebar.c | 213 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 158 insertions(+), 55 deletions(-) commit 4336d02e243d60b1f49dc750c5467b4047221087 Author: Matthias Clasen Date: Sat May 2 01:04:01 2015 -0400 GtkFileChooser: Fix an ordering issue The previous commit removed default-valued properties, but apparently that has a negative effect for grid packing properties, so put the explicit value back. gtk/ui/gtkfilechooserwidget.ui | 1 + 1 file changed, 1 insertion(+) commit bdf49a7c3a8452c1a3eb647aac9e02bf476728ca Author: Matthias Clasen Date: Fri May 1 23:04:35 2015 -0400 GtkFileChooser: Indicate if search comes up empty This is a neice touch and helps to understand what is going on. gtk/gtkfilechooserwidget.c | 37 ++++---- gtk/gtksearchengine.c | 6 -- gtk/ui/gtkfilechooserwidget.ui | 207 +++++++++++++++++++++-------------------- 3 files changed, 124 insertions(+), 126 deletions(-) commit 05bde9d8dd539af36ed99cf3a2b00933d15562b0 Author: Matthias Clasen Date: Fri May 1 15:34:08 2015 -0400 GtkSearchEngine: Use all search engines Just using tracker does not work well if you are searching in non-indexed locations, such as git checkouts or network mounts. Ideally, we'd decide the 'best' engine to use for each location. Since that is not easy to do, just run them in parallel for now, which is the same strategy that nautilus uses. gtk/gtksearchengine.c | 218 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 209 insertions(+), 9 deletions(-) commit 4acbcf9e97d7aab6de28603dea291aa08749e982 Author: Руслан Ижбулатов Date: Thu Apr 30 17:46:27 2015 +0000 Rewrite simple search engine to use GFile and breadth order https://bugzilla.gnome.org/show_bug.cgi?id=746916 gtk/gtksearchenginesimple.c | 187 +++++++++++++++++++++++++++++--------------- 1 file changed, 125 insertions(+), 62 deletions(-) commit 4b508364426553ce7325c576d5e44b2885fe318c Author: Matthias Clasen Date: Fri May 1 12:44:11 2015 -0400 GtkSearchEngine: Drop unused functionality gtk/gtksearchengine.c | 9 --------- gtk/gtksearchengine.h | 4 +--- gtk/gtksearchenginequartz.c | 7 ------- gtk/gtksearchenginesimple.c | 7 ------- gtk/gtksearchenginetracker.c | 7 ------- 5 files changed, 1 insertion(+), 33 deletions(-) commit 578043f97e891e423648c9f70ddf1d185f4615c4 Author: Matthias Clasen Date: Fri May 1 07:03:49 2015 -0400 win32: Support the decimal point on the keypad Based on a patch by John Emmas. gdk/win32/gdkkeys-win32.c | 2 ++ 1 file changed, 2 insertions(+) commit ce1ad85694aae69d434f3f1c12bb5af22337f441 Author: Yosef Or Boczko Date: Fri May 1 11:14:58 2015 +0300 Update properties Hebrew translation po-properties/he.po | 537 ++++++++++++++++++++++++++-------------------------- 1 file changed, 269 insertions(+), 268 deletions(-) commit 066f3d8fa4dec713505c84224522dba63270b977 Author: Yosef Or Boczko Date: Fri May 1 11:14:37 2015 +0300 Updated Hebrew translation po/he.po | 162 +++++++++++++++++++++++++++++---------------------------------- 1 file changed, 75 insertions(+), 87 deletions(-) commit 1e9bfac18474c9eab337858ca005404ba3ca5a5f Author: Matthias Clasen Date: Thu Apr 30 22:42:49 2015 -0400 Drop a redundant call g_thread_supported() is always TRUE nowadays, so drop the call. gtk/gtksearchengine.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) commit 0113da486895a98525e12e3717ee56d83ebcd7e3 Author: Matthias Clasen Date: Thu Apr 30 22:40:45 2015 -0400 GtkFileChooser: Use a better busy cursor It is possible to interact with the file chooser while things are loading, so use a cursor that indicates this, if we have one. gtk/gtkfilechooserwidget.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 1432d23e983fa6b033411f6b03c4e72a97331f54 Author: Руслан Ижбулатов Date: Thu Apr 30 20:43:18 2015 +0000 Fix use-after-free in gdk_window_end_paint() It's a miracle that this code ever worked. gdk/gdkwindow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 7b9e9027e731af922f77aaf032cf46f8c8077f49 Author: Piotr Drąg Date: Thu Apr 30 19:13:22 2015 +0200 Updated POTFILES.in and POTFILES.skip po-properties/POTFILES.in | 1 + po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 3 files changed, 3 insertions(+) commit ea190a339a9e61a52db9d307568f12e0a234f52b Author: William Hua Date: Thu Apr 30 12:41:33 2015 -0400 mir: fix build failure due to changed api gdk/mir/gdkmir-debug.c | 245 ++++++++++++++------------------------------ gdk/mir/gdkmir-private.h | 8 +- gdk/mir/gdkmireventsource.c | 184 ++++++++++++++++++++------------- gdk/mir/gdkmirwindowimpl.c | 12 ++- 4 files changed, 202 insertions(+), 247 deletions(-) commit bfc64137877ce176675250487ca31dcc01d45906 Author: Lapo Calamandrei Date: Thu Apr 30 14:37:59 2015 +0200 Adwaita: remove duplicated selector. gtk/theme/Adwaita/_common.scss | 5 ----- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ---- gtk/theme/Adwaita/gtk-contained.css | 4 ---- 3 files changed, 13 deletions(-) commit bbd1c6cefad14752af9c3688e58e4b8a05f68f5e Author: Chun-wei Fan Date: Thu Apr 30 19:46:56 2015 +0800 gdkglcontext-win32.c: Remove Obsolete Comments We now have proper checks for gdk_screen_is_composited() and a proper implementation for gdk_screen_get_rgba_visual() for Windows, so we can remove the comments in this file stating that they aren't available for Windows. gdk/win32/gdkglcontext-win32.c | 7 ------- 1 file changed, 7 deletions(-) commit a2c12f582e5a21f00e97005824661253669fa760 Author: Matthias Clasen Date: Thu Apr 30 07:46:18 2015 -0400 Fix the build docs/reference/gtk/gtk-builder-tool.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 398399610adc51a11ca6779927d4fd462bdac6a6 Author: Matthias Clasen Date: Thu Apr 30 07:11:49 2015 -0400 gtk-builder-tool: Add an enumerate command This lists all the named objects from the .ui file. docs/reference/gtk/gtk-builder-tool.xml | 4 +++ gtk/gtk-builder-tool.c | 48 ++++++++++++++++++++++++++++++++- 2 files changed, 51 insertions(+), 1 deletion(-) commit ec053398585ec023f18ae7d1e72ea91222921755 Author: Matthias Clasen Date: Thu Apr 30 01:18:48 2015 -0400 gtk-builder-tool: Validate templates Catch an error that indicates the file looks like a template, and then try again, this time with the template parsing API of GtkBuilder. This is a little iffy, since we need to create a 'fake' type and instance to pass in, but it works ok in simple tests. gtk/gtk-builder-tool.c | 127 ++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 115 insertions(+), 12 deletions(-) commit 6535276c3e59461eb712a2c283e2b6b7367f3129 Author: Matthias Clasen Date: Thu Apr 30 01:21:26 2015 -0400 GtkBuilder: Emit a more detailed error for templates Add the class and parent class name to the error message. gtk-builder-tool will parse the error message and use the class names for trying again to parse the file as a template. gtk/gtkbuilderparser.c | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) commit 569d5ad763ff6a971b206373a89bfb97259bf33b Author: Matthias Clasen Date: Thu Apr 30 01:18:09 2015 -0400 GtkBuilder: Export the template parsing entry point This will let gtk-builder-tool validate templates. gtk/gtkbuilder.c | 16 +++++++++------- gtk/gtkbuilderprivate.h | 12 ++++++------ gtk/gtkwidget.c | 2 +- 3 files changed, 16 insertions(+), 14 deletions(-) commit f06cd304bd228e7ac2a05a81438b804daa1e794f Author: Matthias Clasen Date: Wed Apr 29 23:55:59 2015 -0400 Adjust tests testsuite/gtk/builder.c | 2 +- testsuite/gtk/ui/celllayout5.expected | 2 +- testsuite/gtk/ui/dialog5.expected | 2 +- testsuite/gtk/ui/filefilter10.expected | 2 +- testsuite/gtk/ui/infobar5.expected | 2 +- testsuite/gtk/ui/label5.expected | 2 +- testsuite/gtk/ui/levelbar6.expected | 2 +- testsuite/gtk/ui/scale7.expected | 2 +- testsuite/gtk/ui/test1.expected | 2 +- testsuite/gtk/ui/test2.expected | 4 ++-- testsuite/gtk/ui/test4.expected | 2 +- testsuite/gtk/ui/test6.expected | 2 +- testsuite/gtk/ui/test7.expected | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) commit 287ba6b94b290357614817ce8ec5b213857a046b Author: Matthias Clasen Date: Wed Apr 29 23:55:07 2015 -0400 Convert more GtkBuilder to g_markup_collect_attributes The core parser itself was left, so handle it as well. gtk/gtkbuilderparser.c | 499 +++++++++++++++++++++---------------------------- 1 file changed, 215 insertions(+), 284 deletions(-) commit 10860d229edecdc5d57b3286b524abdf58eb4dd0 Author: Matthias Clasen Date: Wed Apr 29 21:52:18 2015 -0400 Formatting fixes gtk/gtkbuilder.c | 607 +++++++++++++++++++++++++------------------------ gtk/gtkbuilderparser.c | 498 ++++++++++++++++++++-------------------- 2 files changed, 547 insertions(+), 558 deletions(-) commit eb2c9b433f203eb86854803d12dbb0d5be662a15 Author: Alexander Larsson Date: Thu Apr 30 10:26:52 2015 +0200 wayland: Don't send bogus values for cursor surface buffer/scale I was getting really weird values for scale for the blank cursor used when hiding the cursor in a GtkEntry when typing, this was caused by gdk_wayland_device_update_window_cursor sending random values when the returned buffer was NULL. We fix this by just not sending any buffer or scale updates in this case. gdk/wayland/gdkdevice-wayland.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit cd54a54346b4097c1ee26fba66c7acac32ec5e30 Author: Руслан Ижбулатов Date: Wed Apr 29 07:31:08 2015 +0000 GDK-W32: remove trailing whitespace everywhere gdk/win32/bdfcursor.c | 2 +- gdk/win32/gdkcursor-win32.c | 26 ++--- gdk/win32/gdkdevice-virtual.c | 6 +- gdk/win32/gdkdevice-win32.c | 2 +- gdk/win32/gdkdevicemanager-win32.c | 16 +-- gdk/win32/gdkdisplay-win32.c | 6 +- gdk/win32/gdkdnd-win32.c | 2 +- gdk/win32/gdkevents-win32.c | 114 ++++++++++---------- gdk/win32/gdkgeometry-win32.c | 8 +- gdk/win32/gdkglobals-win32.c | 2 +- gdk/win32/gdkinput.c | 4 +- gdk/win32/gdkkeys-win32.c | 56 +++++----- gdk/win32/gdkmain-win32.c | 28 ++--- gdk/win32/gdkprivate-win32.h | 8 +- gdk/win32/gdkproperty-win32.c | 22 ++-- gdk/win32/gdkselection-win32.c | 60 +++++------ gdk/win32/gdkvisual-win32.c | 4 +- gdk/win32/gdkwin32.h | 2 +- gdk/win32/gdkwin32cursor.h | 2 +- gdk/win32/gdkwin32display.h | 2 +- gdk/win32/gdkwin32id.c | 4 +- gdk/win32/gdkwin32screen.h | 2 +- gdk/win32/gdkwin32window.h | 2 +- gdk/win32/gdkwindow-win32.c | 208 ++++++++++++++++++------------------- gdk/win32/gdkwindow-win32.h | 6 +- 25 files changed, 297 insertions(+), 297 deletions(-) commit 5ed5d11632960525f652e8e73085d42ccf5bc4c6 Author: Руслан Ижбулатов Date: Wed Apr 29 07:24:35 2015 +0000 W32: bump _WIN32_WINNT and WINVER to 0x600 (Vista) Move gdkprivate-win32.h include to ensure that this change affects gdkevents-win32.c gdk/win32/gdkevents-win32.c | 3 ++- gdk/win32/gdkprivate-win32.h | 3 ++- gtk/gtkprint-win32.c | 3 ++- gtk/gtkprintoperation-win32.c | 3 ++- 4 files changed, 8 insertions(+), 4 deletions(-) commit d44921a152d14371dded7ce6e2c5260fd065a66b Author: Руслан Ижбулатов Date: Wed Apr 22 19:10:55 2015 +0000 Enable RGBA windows on W32 Requires Vista and newer. * Create surfaces with cairo_win32_surface_create_with_format * Provide an rgba visual that can be distinguished from the system visual * Make rgba visual the best available visual * Enable alpha-transparency for all windows that we control * Check for appropriate cairo capabilities at configure time (W32 - 1.14.3 newer than 2015-04-14; others - 1.14.0) * Check for composition support before enabling CSDs * Re-enable transparency on WM_DWMCOMPOSITIONCHANGED Windows that were created while composition was enabled and that were CSDed as a result and will look ugly (thick black borders or no borders at all) once composition is disabled. If composition is enabled afterwards, they will return back to normal. This happens, for example, when RDP session is opened to a desktop where a GTK application is running. For W7/Vista windows will only re-gain transparency after the RDP session is closed. For W8 transparency will only be gone momentarily. Windows that were created while composition was disabled will not be CSDed automatically and will use SSD (WM decorations), while windows that are CSDed manually will get a thin square border. If composition is enabled afterwards, these windows will not change. This is most noticeable for system menus (popup menus are often generated on the fly, system menus are created once) and some dialogues (About dialogue, for example). https://bugzilla.gnome.org/show_bug.cgi?id=727316 configure.ac | 15 ++++ gdk/win32/gdkevents-win32.c | 4 ++ gdk/win32/gdkprivate-win32.h | 4 ++ gdk/win32/gdkscreen-win32.c | 10 +-- gdk/win32/gdkvisual-win32.c | 160 ++++++++++++++++++++++++++----------------- gdk/win32/gdkwindow-win32.c | 53 +++++++++++++- gtk/gtkwindow.c | 3 + 7 files changed, 174 insertions(+), 75 deletions(-) commit 5271106250d27e826d6cfaab095a6f66066b0c29 Author: Matthias Clasen Date: Wed Apr 29 15:20:51 2015 -0400 Test the new error conditions testsuite/gtk/Makefile.am | 2 ++ testsuite/gtk/ui/image1.expected | 2 ++ testsuite/gtk/ui/image1.ui | 6 ++++++ testsuite/gtk/ui/image2.expected | 2 ++ testsuite/gtk/ui/image2.ui | 6 ++++++ 5 files changed, 18 insertions(+) commit d58500b3180492cc9396fdf8dcbf61b29f7f7464 Author: Matthias Clasen Date: Wed Apr 29 15:19:31 2015 -0400 GtkBuilder: Report more lookup failures as GError Report failures to lookup objects for property values and bindings via GError too, and provide location information while doing so. https://bugzilla.gnome.org/show_bug.cgi?id=748234 gtk/gtkbuilder.c | 40 ++++++++++++++++++++++++++++++++-------- gtk/gtkbuilderparser.c | 42 +++++++++++------------------------------- gtk/gtkbuilderprivate.h | 6 ++++++ 3 files changed, 49 insertions(+), 39 deletions(-) commit f5d7c5fef357bb60488cef41088fa75f93715d63 Author: Matthias Clasen Date: Wed Apr 29 14:04:26 2015 -0400 Fix inclusion of examples in docs in non-srcdir builds This is a bit messy, since xsltproc insists on stripping relative paths to the basename before consulting the paths. https://bugzilla.gnome.org/show_bug.cgi?id=748640 docs/reference/gtk/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) commit 5c1549a8c7c979e850b7c53fa21b3251e9f1a772 Author: Yosef Or Boczko Date: Wed Apr 29 14:28:49 2015 +0300 Updated Hebrew translation po/he.po | 3792 +++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 2045 insertions(+), 1747 deletions(-)