commit 0ef8ff7c3d4e491c7df351bd36e35b3a7dccd472 Author: Matthias Clasen Date: Wed Sep 2 01:04:08 2015 -0400 3.17.8 NEWS | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ configure.ac | 2 +- 2 files changed, 66 insertions(+), 1 deletion(-) commit 42864bc3381b7ff0db6c44020d1fc9fc9dd48860 Author: Matthias Clasen Date: Wed Sep 2 01:52:09 2015 -0400 Avoid some duplicate test names GLib considers these an bug now. testsuite/gtk/check-icon-names.c | 2 -- 1 file changed, 2 deletions(-) commit 6064ed5181087387cf325dcfcd977d18fb3ce3a7 Author: Matthias Clasen Date: Wed Sep 2 01:50:51 2015 -0400 places view: Avoid a crash in finalize When the places view is finalized before the network loading is finished, the async operation is cancelled, and the callback accesses the places view while it is already in a state of disrepair. Avoid that access. gtk/gtkplacesview.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit 6a4e4a9fe8ffb4b4acfbbb4d382278a5a22fdfb0 Author: Matthias Clasen Date: Wed Sep 2 01:28:57 2015 -0400 places view: Spew less warnings When running the testsuite with a local gvfs, we get a 'not supported' error here, and the g_warning makes the test fail. Avoid that. gtk/gtkplacesview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit b4da542980730ffa4c7246b43b6efc41ef6df10e Author: Lapo Calamandrei Date: Wed Sep 2 12:05:22 2015 +0200 Adwaita: sync sidebar color vars. gtk/theme/Adwaita/_colors.scss | 4 ++-- gtk/theme/Adwaita/_common.scss | 1 - gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) commit 4d31b2ca0de8a8e10396b031e3c0a3c6b9948a68 Author: Lapo Calamandrei Date: Wed Sep 2 11:01:08 2015 +0200 Adwaita: scales on selected list rows. gtk/theme/Adwaita/_common.scss | 18 ++++++++++++++++++ gtk/theme/Adwaita/gtk-contained-dark.css | 31 +++++++++++++++++++++++++++++++ gtk/theme/Adwaita/gtk-contained.css | 31 +++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+) commit d682aed55088a49e590b5e0e3fdb6ebb0d044d07 Author: Jonas Ådahl Date: Thu Aug 27 14:59:45 2015 +0800 wayland: Don't broadcast selection owner changes When receiving a selection or when a drag icon enter a window, it was targeted at a specific window. Lets emit the GDK_OWNER_CHANGE event only for this window, instead of broadcasting. Broadcasting has some nasty side effects. For example, if there was n GdkWindows, and one would for every "owner-change" signal handler receive n signals about the owner being changed. An example of where this went a bit out of hand was gnome-terminal, which added one listener per terminal window. This meant that if one had m number of terminal windows, each time any one would loose or gain keyboard focus, O(m^2) owner-change events would be emitted. https://bugzilla.gnome.org/show_bug.cgi?id=754158 gdk/wayland/gdkdevice-wayland.c | 39 ++++++++++++++++++++++----------------- 1 file changed, 22 insertions(+), 17 deletions(-) commit 9ad6ac0b4330b3d8fd3da101b594210464a9f942 Author: Sebastien Lafargue Date: Sat Aug 29 10:49:07 2015 +0200 GtkTextView: various scroll fixes The purpose of this patch is to fix regressions in GtkTextView scroll behaviours due to commit d138156. ( addition of padding and margins to the view ) Adding some padding is done by, for example, in inspector css tab with: GtkTextView { padding: 10px 10px 10px 10px; } and adding margins, by changing one of *-margin properties ( * standing for left/right/top/bottom ) or the corresponding accessor functions. Understand that none of these bugs are easy to trigger. What's happened is that a old and wrong version of the code of the code ( lost in the mean time ) was pushed. These bugs are best seen with wrap mode set to off. The commit 8baab8f fix a first regression. This one is about: - Cursor going out of the view at line ends instead of being visible or triggering the horizontal scroll. - Padding not displayed correctly when moving cursor at beginning/end of lines - When horizontal scroll position not at left, cursor can make scroll by more than one character (you need left padding to see this ) - Moving the cursor arround, the rendered text can be shitted in x or y. ( fixed by converting adjustment float values to integer before calculations ) It can be observed by going down with the cursor more than the view height then going up - retval return value of _gtk_text_view_scroll_to_iter wrong in some cases In addition, this patch re-factor priv->top_border in screen_dest.y calculation Of course, all GtkTextView and GtkSourceView based app were impacted by these bugs ( gedit for example, see bug 754147 ) https://bugzilla.gnome.org/show_bug.cgi?id=753815 https://bugzilla.gnome.org/show_bug.cgi?id=75815 gtk/gtktextview.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 90bcde5951c90f27e0b362d4689e1c2afdc0860c Author: Matthias Clasen Date: Tue Sep 1 22:05:46 2015 -0400 places sidebar: Disable 'Open' for selected rows If the row is selected, it is already opened, so we should not offer the Open action anymore. https://bugzilla.gnome.org/show_bug.cgi?id=754410 gtk/gtkplacessidebar.c | 2 ++ 1 file changed, 2 insertions(+) commit 06488adc9a91ad222a8e370198b53f78d1498b99 Author: Emmanuele Bassi Date: Tue Sep 1 23:46:40 2015 +0100 docs: Fix GtkSettings property stanzas Otherwise gtk-button-images and gtk-menu-images will not be recognised as properties. https://bugzilla.gnome.org/show_bug.cgi?id=754421 gtk/gtksettings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 573efb7b882f1aa638267183a39c196efda24623 Author: Muhammet Kara Date: Tue Sep 1 17:33:01 2015 +0000 Updated Turkish translation po/tr.po | 3854 ++++++++++++++------------------------------------------------ 1 file changed, 823 insertions(+), 3031 deletions(-) commit a9fd764b7706acc24fa07bb474444f37e6f6537c Author: Lapo Calamandrei Date: Tue Sep 1 18:52:20 2015 +0200 Adwaita: use currentColor for scale marks. So it should work ok when used in selected items. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 8 ++++---- gtk/theme/Adwaita/gtk-contained.css | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) commit 30ac073dd4e8ed1867b6a38ccb4e36bd7c31d978 Author: Lapo Calamandrei Date: Tue Sep 1 18:43:48 2015 +0200 Adwaita: contemplate selected insensitive items. gtk/theme/Adwaita/_common.scss | 12 +++++++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 6 ++++++ gtk/theme/Adwaita/gtk-contained.css | 6 ++++++ 3 files changed, 23 insertions(+), 1 deletion(-) commit c92c25b5d75368038ea29bdc25468d981d197a3d Author: Lapo Calamandrei Date: Tue Sep 1 18:14:45 2015 +0200 Adwaita: fix GtkPlacesSidebar styling. gtk/theme/Adwaita/_common.scss | 25 +++++++++---------------- gtk/theme/Adwaita/gtk-contained-dark.css | 17 +++++------------ gtk/theme/Adwaita/gtk-contained.css | 17 +++++------------ 3 files changed, 19 insertions(+), 40 deletions(-) commit 71c64aa677756339aa7950adaee10c89e3beb937 Author: Lapo Calamandrei Date: Tue Sep 1 16:03:02 2015 +0200 Adwaita: remove unneded background from list-row gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) commit cca97c5b0f6ab1573b8237023e216e78c7ab0966 Author: Lapo Calamandrei Date: Tue Sep 1 15:47:53 2015 +0200 Adwaita: remove bogus box-shadow in GtkComboBox gtk/theme/Adwaita/_common.scss | 2 -- gtk/theme/Adwaita/gtk-contained-dark.css | 1 - gtk/theme/Adwaita/gtk-contained.css | 1 - 3 files changed, 4 deletions(-) commit 528c576590eacddf9cacb083b06f09fab5f5469f Author: Carlos Soriano Date: Tue Sep 1 14:27:58 2015 +0200 gtkplacessidebar: add sidebar row style So designers can style it at their will. gtk/ui/gtksidebarrow.ui | 3 +++ 1 file changed, 3 insertions(+) commit b8f4e943fe5368a708e3caa45ae95daa4862d499 Author: Lapo Calamandrei Date: Tue Sep 1 13:30:07 2015 +0200 Adwaita: remove bogus @at-root from sidebar styling. See https://bugzilla.gnome.org/show_bug.cgi?id=754292 for details. gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/Adwaita/gtk-contained-dark.css | 556 +++++++++++++++---------------- gtk/theme/Adwaita/gtk-contained.css | 480 +++++++++++++------------- 3 files changed, 519 insertions(+), 519 deletions(-) commit 9fa1d6dd02d8e0d0682a2d212fa180e993eb8b3a Author: Andika Triwidada Date: Tue Sep 1 09:05:07 2015 +0000 Updated Indonesian translation po-properties/id.po | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) commit 0760261f9a421989423b1361697277c460214638 Author: Dušan Kazik Date: Tue Sep 1 08:50:45 2015 +0000 Updated Slovak translation po-properties/sk.po | 83 ++++++++++++++++++++++++++--------------------------- 1 file changed, 40 insertions(+), 43 deletions(-) commit c21a16e2bc57c4ee79b06eac3237a29098b2dabb Author: Jakub Steiner Date: Mon Aug 31 13:59:12 2015 +0200 Adwaita: make focus visible in GtkColorSwatch - use the same fg color as the selection icon - both dark & light to use the same opacity gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) commit e50c37c8a3e7eebdf0bb5cc7b2cd2d2e181aae49 Author: Matthias Clasen Date: Tue Sep 1 01:04:53 2015 -0400 Revert "GtkTextView: various scroll fixes" This reverts commit 016f6596e76a69844d2832cba07e10d9b60a2b28. Pushed prematurely by accident. gtk/gtktextview.c | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit b3a3e91f024785b36247ede0c524520e1f9242c7 Author: Matthias Clasen Date: Tue Sep 1 01:00:46 2015 -0400 file chooser: Make sure places view type is known Similar to how we handle GtkPathBar, make sure that the type for GtkPlacesView is registered before we load the template. https://bugzilla.gnome.org//show_bug.cgi?id=754133 gtk/gtkfilechooserwidget.c | 2 ++ 1 file changed, 2 insertions(+) commit 48ecad844e81585f4b7f3a64e8c8b724eee82142 Author: Matthias Clasen Date: Tue Sep 1 00:59:27 2015 -0400 glade: Add some more private widget types Add GtkColorEditor and GtkPlacesView to this list, on the assumption that all private widgets should be listed here. gtk/gtkgladecatalog.c | 4 ++++ 1 file changed, 4 insertions(+) commit 016f6596e76a69844d2832cba07e10d9b60a2b28 Author: Sebastien Lafargue Date: Sat Aug 29 10:49:07 2015 +0200 GtkTextView: various scroll fixes Due to the introduction of view's margin and padding, some bugs in scrolling behaviour have come. This commit fix them. https://bugzilla.gnome.org/show_bug.cgi?id=753815 gtk/gtktextview.c | 31 +++++++++++++++---------------- 1 file changed, 15 insertions(+), 16 deletions(-) commit 2aaba34f8a7c11797874c9a8f0a4faab6d32e5eb Author: Balázs Úr Date: Mon Aug 31 17:03:40 2015 +0000 Updated Hungarian translation po-properties/hu.po | 77 +++++++++++++++++++++++------------------------------ 1 file changed, 33 insertions(+), 44 deletions(-) commit db41f2c62cebfadf827ff42895ba7a53c6d60022 Author: Balázs Úr Date: Mon Aug 31 16:56:05 2015 +0000 Updated Hungarian translation po/hu.po | 89 ++++++++++++++++++++++++++++++++-------------------------------- 1 file changed, 44 insertions(+), 45 deletions(-) commit b7ad7ea91835bc13be1f0a2656e4029c08e8b74a Author: Matthias Clasen Date: Mon Aug 31 11:31:24 2015 -0400 Fix the build gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 9326f1a57c52cc991b5756d1811155a25fe6623c Author: Matthias Clasen Date: Mon Aug 31 11:08:25 2015 -0400 Turn off inspector keybindings by default This is a 'developer mode' feature, and it can and does interfere with preexisting key bindings in some applications, so keep it off by default in stable releases, at least. http://bugzilla.gnome.org/show_bug.cgi?id=754115 gtk/org.gtk.Settings.Debug.gschema.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 690a11b5b8a4d97b844cdbd82891e6c18a20f802 Author: Matthias Clasen Date: Mon Aug 31 11:04:10 2015 -0400 wayland: Stop key repeat on focus out This should address the occasional 'key repeat gone wild' issue that some people have been seeing in gnome-terminal under Wayland. http://bugzilla.gnome.org/show_bug.cgi?id=747684 gdk/wayland/gdkdevice-wayland.c | 2 ++ 1 file changed, 2 insertions(+) commit 77b506e22af93409903ac145ecaa6794747dde8c Author: Matthias Clasen Date: Mon Aug 31 11:02:51 2015 -0400 wayland: Stop key repeat when a seat goes away Seems unlikely, but it is the right thing to do. gdk/wayland/gdkdevice-wayland.c | 1 + 1 file changed, 1 insertion(+) commit cfeed32c4e0471e9c11a4f5a68c8a0844e471c6d Author: Matthias Clasen Date: Mon Aug 31 10:54:07 2015 -0400 wayland: Trivial refactor Break out a stop_key_repeat function instead of open-coding this in several places. gdk/wayland/gdkdevice-wayland.c | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) commit 04f3b52c387aa7b88defbeede455f7ec7a4fab39 Author: Christian Hergert Date: Mon Aug 31 05:18:09 2015 -0700 textview: handle NULL cursors gracefully Under some cases, we can get NULL back for the cursor. Simply use g_clear_object() to handle that case gracefully. gtk/gtktextview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 5dff95c981dafd734e48168fd92e30a7bfc9348e Author: Daniel Mustieles Date: Mon Aug 31 11:07:24 2015 +0200 Updated Spanish translation po-properties/es.po | 121 ++++++++++++++++++++++++++-------------------------- 1 file changed, 61 insertions(+), 60 deletions(-) commit 86aa1cb220c49a3a2269d601745ee11a94b72f8e Author: Daniel Mustieles Date: Mon Aug 31 11:06:47 2015 +0200 Updated Spanish translation po/es.po | 101 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 58 insertions(+), 43 deletions(-) commit 4d307db13c52f5e7802b967267feb12a73bc3102 Author: Jakub Steiner Date: Mon Aug 31 10:47:01 2015 +0200 Adwaita: rerender css - fixes previous commit - for some reason sass won't overwrite a confliced css gtk/theme/Adwaita/gtk-contained-dark.css | 579 ++++++++++++++----------------- gtk/theme/Adwaita/gtk-contained.css | 513 ++++++++++++--------------- 2 files changed, 498 insertions(+), 594 deletions(-) commit c5d195ccfea1af22e59d237f3e4e453a830b00de Author: Jakub Steiner Date: Thu Aug 27 16:25:46 2015 +0200 Adwaita, HighContrast: day names in GtkCalendar Ideally I'd like to mimic the treeview column-header style, but font-weight: bold; doesn't seem to work. Making them plain for now. https://bugzilla.gnome.org/show_bug.cgi?id=753357 gtk/theme/Adwaita/gtk-contained-dark.css | 43 ++++++++++++++++++++++-- gtk/theme/Adwaita/gtk-contained.css | 57 ++++++++++++++++++++++++++++++++ gtk/theme/HighContrast/gtk.css | 4 ++- 3 files changed, 101 insertions(+), 3 deletions(-) commit ed168197abe4fc39fabddcb18acf23f8a9c048c5 Author: Kalev Lember Date: Sun Aug 30 21:12:35 2015 +0200 Adwaita: Fix a few typos in README gtk/theme/Adwaita/README | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) commit 17411d348e53f49b3c5fc655157031f5069efd0f Author: Piotr Drąg Date: Sun Aug 30 15:33:27 2015 +0200 Updated Polish translation po-properties/pl.po | 40 ++++++++++++++++++++++++---------------- 1 file changed, 24 insertions(+), 16 deletions(-) commit 3cc2c9a7cabc1906c913c3ed11015cfd7054760f Author: Pedro Albuquerque Date: Sun Aug 30 10:00:44 2015 +0000 Updated Portuguese translation po-properties/pt.po | 125 +++++++++++++++++++++++++--------------------------- 1 file changed, 61 insertions(+), 64 deletions(-) commit a8892b0be61d4ee0db5d6853258a314a1a34d61c Author: Yosef Or Boczko Date: Sun Aug 30 11:09:16 2015 +0300 Updated Hebrew translation po-properties/he.po | 1425 +++++++++++++++++++++++++++------------------------ 1 file changed, 752 insertions(+), 673 deletions(-) commit 3cdf8fda37c1e6a8ea5a97ac2ff4860c73ceb551 Author: Carlos Soriano Date: Sat Aug 29 23:32:23 2015 +0200 gtkplacesview: don't warn for cancelled operations This was intended to filter out cancelled operations, not the other way around. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 0d93db7e68d8e00c5815d3717c5ec628cd315717 Author: Carlos Soriano Date: Sat Aug 29 22:57:15 2015 +0200 gtkplacesview: make consistent loading state Until now the code was not very clear about why the loading property is needed, since we didn't forced all the async operations to mark the view as loading. This cause that clients are not aware when the view is busy on those situations. For instance Nautilus uses the property for a few things, one of it is to show a busy spinner on the tab title. To improve the situation, mark as loading when a volume operation, a mount operation or a connect to server operation is being performed. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 72 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 13 deletions(-) commit 150bb6245c30c8d452f4f06b27fdf7222c0e0dad Author: Carlos Soriano Date: Sat Aug 29 21:16:34 2015 +0200 gtkplacesview: don't fetch networks if local only We were fetching networks even on local only mode. Avoid to do extra work if not necessary. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) commit 9fe9b784974a83aa442ff84b3efb37864b8bc4c5 Author: Carlos Soriano Date: Sat Aug 29 21:10:37 2015 +0200 gtkplacesview: dont invalidate headers if not necessary We were invalidating the headers after adding the placeholder row, but GtkListBox already update the header of that row in that case. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 3 --- 1 file changed, 3 deletions(-) commit 03cd8e95584e64b28e56fa2ea4bc7f27c786deed Author: Carlos Soriano Date: Sat Aug 29 20:36:48 2015 +0200 gtkplacesview: don't rely on widgets on headers We are showing a GtkSpinner on the networks header to provide feedback to the user if we are fetching networks, therefore we have to modify the spinner state when doing it. However GtkListBox doesn't give guarantees about the widgets set by gtk_list_box_set_header, and we could access an invalid widget. To avoid to access invalid widgets, bind the fetching networks view property to the networks header spinner active property instead of modifying directly the spinner in the private structure. Not having the spinner in the private structure also makes the code cleaner. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 72 +++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 59 insertions(+), 13 deletions(-) commit bdb17a089066fbd8af47b74c28c4df07f6980377 Author: Carlos Soriano Date: Sat Aug 29 20:35:10 2015 +0200 gtkplacesview: create placeholder before fetching networks If not we don't show the header at all. This was an accidental removal before commiting. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 1 + 1 file changed, 1 insertion(+) commit a427f1e82e1db8c56c1d198ffbd89a2953e08534 Author: Carlos Soriano Date: Thu Aug 27 20:58:27 2015 +0200 gtkplacesview: only filter out placeholder if searching We were filtering out placeholders if the list box filters while not searching, which is not what we want, since placeholders should only be hidden if the view is searching. https://bugzilla.gnome.org/show_bug.cgi?id=754150 gtk/gtkplacesview.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit e713faaf06397369d0807eacb3bf0e8abf181b21 Author: Dušan Kazik Date: Sun Aug 30 06:51:51 2015 +0000 Updated Slovak translation po-properties/sk.po | 102 ++++++++++++++++------------------------------------ 1 file changed, 31 insertions(+), 71 deletions(-) commit a662c0224b5613a8cd2cb766a5c7ba6a6f23465a Author: Andika Triwidada Date: Sun Aug 30 04:35:32 2015 +0000 Updated Indonesian translation po/id.po | 4503 +++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2531 insertions(+), 1972 deletions(-) commit 09567d19a73b7992f702605790d7dc43139650e9 Author: Matthias Clasen Date: Sat Aug 29 12:48:21 2015 -0400 gtk-demo: Change an accel The application demo had a "Blue" and a "Bold" menuitem both with the Ctrl-B accel. This is confusing, since only one of them works. Change the accelerator for bold to Ctrl-Shift-B, so they both work. demos/gtk-demo/menus.ui | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit b371fb09fb3034d3ca25c4eaba10e0b861478773 Author: Matthias Clasen Date: Sat Aug 29 12:23:18 2015 -0400 accel group: Make gtk_accelerator_get_default_mod_mask more lenient Make this function harmless to call without an open display connection. This happens during gobject introspection, which instantiates GTK+ types without calling gtk_init. gtk/gtkaccelgroup.c | 31 ++++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) commit e6b3805c27358065ced83b3c93f67ac66dd3203a Author: Dušan Kazik Date: Sat Aug 29 15:42:29 2015 +0000 Updated Slovak translation po-properties/sk.po | 268 ++++++++++++++++++++-------------------------------- 1 file changed, 102 insertions(+), 166 deletions(-) commit b8f103bfaacd1c20e9786633c7b670ff317bce5e Author: Emmanuele Bassi Date: Sat Aug 29 14:17:37 2015 +0100 build: Do not call gtk_init() It needs to open a display connection, which is obviously going to fail miserably on any headless build machine. Instead, we need to find where we started requiring to initialize GTK when calling a get_type() function, and stop doing that. This commit and commit 15cc85db295b3d54f85c541b3c82d7b703c851c8 fully revert commit 6838861d26bfec9af53438022bd1f5b60bab3bf4. gtk/Makefile.am | 1 - 1 file changed, 1 deletion(-) commit 15cc85db295b3d54f85c541b3c82d7b703c851c8 Author: Emmanuele Bassi Date: Sat Aug 29 13:35:43 2015 +0100 build: Do not force inclusion of gtk.h GCC will not do the right thing, and it will just break the build when trying to include gtk.h first. We'll have to live with the warning from the compiler about a missing gtk_init() — though it would be better not to have to init GTK at all to generate the introspection data. This commit unbreaks the build in GNOME Continuous introduced by commit 6838861d26bfec9af53438022bd1f5b60bab3bf4. gtk/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 281e5aa45ed7b911e7b4e70a6aea8f32279a233e Author: Dušan Kazik Date: Sat Aug 29 09:00:31 2015 +0000 Updated Slovak translation po/sk.po | 71 +++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 43 insertions(+), 28 deletions(-) commit e8c5bc8d7346a8d003fb3b763fc32340588e1098 Author: Matthias Clasen Date: Sat Aug 29 03:12:59 2015 -0400 accel label: Remove unneeded spaces Having these extra spaces in the accel string is a bit awkward, since they will be included in text decorations such as underlines. Removing them has no visible effect. gtk/gtkaccellabel.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) commit 6838861d26bfec9af53438022bd1f5b60bab3bf4 Author: Matthias Clasen Date: Sat Aug 29 03:11:01 2015 -0400 Fix introspection Calling our get_type functions without prior gtk_init() is not ok, and causes warnings now. Avoid that by teaching g-ir-scanner to put a gtk_init() call into its generated code. gtk/Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit f44358b76a362db5230e21946afe3bac618acdfb Author: Matthias Clasen Date: Sat Aug 29 00:47:32 2015 -0400 accel label: Allow a different font for the accelerator We were using the .accelerator style for rendering the accel string, but we need to explicitly set the font from this style for it to apply. gtk/gtkaccellabel.c | 51 ++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 42 insertions(+), 9 deletions(-) commit ecc5abfe3b6dc8be9abbc9b9f9b985d19be20d29 Author: Jakub Steiner Date: Thu Aug 27 16:25:46 2015 +0200 Adwaita, HighContrast: day names in GtkCalendar Ideally I'd like to mimic the treeview column-header style, but font-weight: bold; doesn't seem to work. Making them plain for now. https://bugzilla.gnome.org/show_bug.cgi?id=753357 gtk/theme/Adwaita/_common.scss | 2 +- gtk/theme/HighContrast/_common.scss | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) commit 454e7f3f210e29b4880a110a5f02aeba395605b1 Author: Matthias Clasen Date: Fri Aug 28 16:17:40 2015 -0400 places view: Always use the eject icon Otherwise, we end up using different metaphors in the place view and in the sidebar, and nobody is going to know what the disconnect icon means in this context. http://bugzilla.gnome.org/show_bug.cgi?id=754022 gtk/gtkplacesviewrow.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) commit ea66300cf94f01aa0983579b49447fc15b340f83 Author: Matthias Clasen Date: Fri Aug 28 14:16:21 2015 -0400 wayland: Make display closing work The code in _gdk_wayland_window_dispose was not safe against being called twice - it would call g_hash_table_destroy twice on the known_globals hash table, the second time operating on freed memory. It was also leaking the list of async_roundtrips. After fixing both of these issues, the displayclose testcase now works on Wayland. gdk/wayland/gdkdisplay-wayland.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) commit 0dc6726f021cc28413943cf0686063c4cbbe1d27 Author: Matthias Clasen Date: Fri Aug 28 13:55:23 2015 -0400 wayland: Be more careful when destroying windows We call gdk_wayland_window_hide_surface when the window gets destroyed, and in this case, the frame clock might not exist anymore. This was showing up in the displayclose testcase. gdk/wayland/gdkwindow-wayland.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit de684dac1bbf795a7482b3330ba231c581565fbe Author: Matthias Clasen Date: Fri Aug 28 13:51:11 2015 -0400 Trivial formatting fix gdk/wayland/gdkwindow-wayland.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit 578ba0f974c6e70e02a34266767618140b2c128b Author: Matthias Clasen Date: Fri Aug 28 13:48:46 2015 -0400 wayland: Don't assert non-recursing in gdk_window_destroy While we do not have subwindows in Wayland, we do create an artificial root window. When the display is closed, the root window gets destroyed, causing recursing to be true for the toplevel windows. gdk/wayland/gdkwindow-wayland.c | 2 -- 1 file changed, 2 deletions(-) commit dc79d4f50d821530b864240020769ff4a53f4fde Author: Matthias Clasen Date: Fri Aug 28 13:48:22 2015 -0400 Trivial formatting fix gdk/gdkwindow.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) commit c0956454373a39122bd1568718eb2795cbc0fecf Author: Tom Tryfonidis Date: Fri Aug 28 18:37:44 2015 +0000 Updated Greek translation po-properties/el.po | 908 ++++++++++++++++++++++++++++------------------------ 1 file changed, 491 insertions(+), 417 deletions(-) commit 0f6de214d4d30598b1fe562f98dcad07061f0737 Author: Tom Tryfonidis Date: Fri Aug 28 18:37:03 2015 +0000 Updated Greek translation po/el.po | 650 +++++++++++++++++++++++++++++++++------------------------------ 1 file changed, 338 insertions(+), 312 deletions(-) commit c32fa1aa8dcc0a62b18ce4ed0d17a248c1a7b27b Author: Lapo Calamandrei Date: Fri Aug 28 19:18:35 2015 +0200 Adwaita: remove .list-row.activatable reset. Since being 'activatable' istead of 'button' now that reset is not needed anymore, the patch is pretty noisy since sass interpreter changes, those look innocuous though. gtk/theme/Adwaita/_common.scss | 18 - gtk/theme/Adwaita/gtk-contained-dark.css | 807 ++++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 731 +++++++++++++++------------- 3 files changed, 816 insertions(+), 740 deletions(-) commit 3d7d2f245f2a849cf5f774c5aee570e120fd8074 Author: Matthias Clasen Date: Fri Aug 28 12:54:32 2015 -0400 Work towards succeeding make check under Wayland Skip tests that don't work under Wayland, such as tests for GtkPlug and GtkSocket. testsuite/gtk/expander.c | 14 ++++++++++++ testsuite/gtk/notify.c | 25 ++++++++++++++++++++- testsuite/gtk/window.c | 57 ++++++++++++++++++++++++------------------------ 3 files changed, 67 insertions(+), 29 deletions(-) commit aa3bf0ac143c8c53ac31a414fc7461330c3f1199 Author: Matthias Clasen Date: Fri Aug 28 12:48:02 2015 -0400 plug/socket: Warn if used outside X11 Give a clear warning when either of these are realized on a non-X11 screen. gtk/gtkplug.c | 15 +++++++++------ gtk/gtksocket.c | 13 ++++++++----- 2 files changed, 17 insertions(+), 11 deletions(-) commit cbe5e596af4f7b8659c2f392fd77bd048720e5b8 Author: Matthias Clasen Date: Fri Aug 28 12:26:25 2015 -0400 Make display test not fail under Wayland This test really only works under X, since it relies on modifying the DISPLAY env var. testsuite/gdk/display.c | 3 +++ 1 file changed, 3 insertions(+) commit 919f9b24d2071f50425a595546857e95c5caa8cf Author: Matthias Clasen Date: Fri Aug 28 12:15:39 2015 -0400 places view: Don't spew needlessly The check here was obviously meant to filter out cancellations, not warn for them. gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f14b7d303a0aa2199089a3b2f06828ca1e2e0777 Author: Andika Triwidada Date: Fri Aug 28 13:22:19 2015 +0000 Updated Indonesian translation po-properties/id.po | 4704 +++++++++++++++++++++++++++------------------------ 1 file changed, 2519 insertions(+), 2185 deletions(-) commit b87d719b9939caeff32ed0e9de744c1a10170ff3 Author: Christian Kirbach Date: Thu Aug 27 22:01:51 2015 +0000 Updated German translation po-properties/de.po | 4601 ++++++++++++++++++++++++++------------------------- 1 file changed, 2335 insertions(+), 2266 deletions(-) commit 2bde10db29750f6df01ea82930bd3abbae889768 Author: Yosef Or Boczko Date: Thu Aug 27 23:19:12 2015 +0300 Updated Hebrew translation po/he.po | 646 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 344 insertions(+), 302 deletions(-) commit 34941efc3a481cff8f81224f67d65b73c34df055 Author: Benjamin Otte Date: Thu Aug 27 20:18:40 2015 +0200 Adwaita: Make selector more specific A * selector applies to all widgets, so even GtkBox or GtkGrid - and most importantly GtkListBoxRow - need to recompute their style because of the * selector. By using a more specific one, these common cases aren't affected anymore. Fixes slowdowns in gtk3-demo's listbox demo and in gnome-software. gtk/theme/Adwaita/_common.scss | 7 ++++++- gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) commit 9ce91a12512e9306af4543e30921adaaa14fcdc5 Author: Benjamin Otte Date: Thu Aug 27 19:36:18 2015 +0200 combobox: Add a special class for the button in the combobox That way, the GTK engine doesn't think that the general .button CSS might potentially apply to it. And because combobox button is overly complex and stupid, it cannot be cached. So buttons thought they cannot ever cache anything because they might suddenly end up inside a combobox without noticing and then they'd need to round their corners differently. Of course they're just regular "Remove" buttons like all the other 100s of "Remove" buttons in gnome-software. But hey, better not cache anything for them and recompute their CSS every time the :hover state changes on one of the rows. gtk/theme/Adwaita/_common.scss | 42 ++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained-dark.css | 41 ++++++++++++++-------------- gtk/theme/Adwaita/gtk-contained.css | 46 +++++++++++++++++--------------- gtk/ui/gtkcombobox.ui | 3 +++ 4 files changed, 68 insertions(+), 64 deletions(-) commit dc060154e0c4e79ec79208a9b133aabfa21b3909 Author: Benjamin Otte Date: Thu Aug 27 14:07:10 2015 +0200 css: Add gtk_css_change_to_string() Nobody is able to look up those hex values. gtk/gtkcssprovider.c | 15 ++++++++-- gtk/gtkcsstypes.c | 73 ++++++++++++++++++++++++++++++++++++++++++++++++ gtk/gtkcsstypesprivate.h | 4 +++ 3 files changed, 89 insertions(+), 3 deletions(-) commit 4ebb5781eaf332da3f8ce5ffb5ecc8668a56f118 Author: Benjamin Otte Date: Thu Aug 27 14:06:13 2015 +0200 css: Fix GtkCssChange enum Get rid of unused values (POSITION_ENUM) and use different values for NAME and ID. gtk/gtkcsstypes.c | 3 ++ gtk/gtkcsstypesprivate.h | 75 +++++++++++++++++++++++++----------------------- 2 files changed, 42 insertions(+), 36 deletions(-) commit f1ca75d1812f95690f2bba7445ad6803b58d4780 Author: Benjamin Otte Date: Wed Aug 26 18:01:39 2015 +0200 cssnode: Loosen requirements for style caching We can actually share :first-child/:last-child related things now, because we special case them. So the only positions we cannot cache are nth-child/nth-last-child. This should take care of a lot of Adwaita's styling. gtk/gtkcssnode.c | 45 +++++++++++++++++++++++++++++++++++++++------ 1 file changed, 39 insertions(+), 6 deletions(-) commit 2080e7318c86dd19e79fa7417c5c1698a8d687bd Author: Gábor Kelemen Date: Thu Aug 27 15:06:37 2015 +0000 Updated Hungarian translation po-properties/hu.po | 1432 +++++++++++++++++++++++++++------------------------ 1 file changed, 754 insertions(+), 678 deletions(-) commit f7d5d83dd01033ced59e7d5cc6f7c0a413815dfb Author: Jakub Steiner Date: Thu Aug 27 11:08:23 2015 +0200 HighContrast: GtkListBox fixes Make flat buttons in list-rows work. gtk/theme/HighContrast/_common.scss | 83 +++++++++------------------- gtk/theme/HighContrast/gtk.css | 104 +++++------------------------------- 2 files changed, 38 insertions(+), 149 deletions(-) commit 64147dd2a8ba061e3037bd1f372fe1a99366c8ef Author: Pedro Albuquerque Date: Thu Aug 27 09:09:20 2015 +0000 Updated Portuguese translation po/pt.po | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) commit 407d3fae818aae0b335c8f13f536e2c0e84a9d40 Author: Matthias Clasen Date: Wed Aug 26 22:59:55 2015 -0400 Adwaita: Theme calendar day names differently Just to show how its done. This will need some tweaks. gtk/theme/Adwaita/_common.scss | 7 +++++-- gtk/theme/Adwaita/gtk-contained-dark.css | 5 ++++- 2 files changed, 9 insertions(+), 3 deletions(-) commit 692f60ebb0f33d6b0abe1ffbd0a43d212777fbf2 Author: Matthias Clasen Date: Wed Aug 26 19:57:15 2015 -0400 flow box: Avoid a critical in keynav We were not taking into account that gtk_flow_box_get_next_focusable can return NULL, in all callers. Fix that. gtk/gtkflowbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 29f5cdda100ef24b0e8b7415d78a58649988a05c Author: Matthias Clasen Date: Wed Aug 26 19:48:29 2015 -0400 testflowbox: Add an example with buttons This example populates a flow box with buttons, and makes the flow box children unfocusable, with the intention that the focus moves directly between the buttons. Currently, keynav does not work at all in this case. tests/testflowbox.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) commit 0f1c4a303e76502fd94c6a9f7fda77141f47b91e Author: Matthias Clasen Date: Wed Aug 26 18:26:56 2015 -0400 gdkgears: Add a popover As pointed out in bug 754143, this reveals a crash in the Wayland backend. tests/gdkgears.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) commit e69306944056bf02b4899c835877f5e8a0b19d13 Author: Piotr Drąg Date: Wed Aug 26 17:09:31 2015 +0200 Updated Polish translation po-properties/pl.po | 2876 +++++++++++++++++++++++++++------------------------ po/pl.po | 1592 +++++++++++++++++----------- 2 files changed, 2502 insertions(+), 1966 deletions(-) commit c75edd32abd59b38dfc4a3c4dc62b3ad74a2d3a9 Author: Piotr Drąg Date: Wed Aug 26 16:45:33 2015 +0200 places view row: Use proper gettext macros P_() is meant only for property nicks and blurbs. Everything else should use _(). Follow-up to 2d83dd62173fc5e651e7df95f331ad5cc46a29cf http://bugzilla.gnome.org/show_bug.cgi?id=754086 gtk/gtkplacesviewrow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit bffeae6203ffe5ea91988d4439571568abc95ab7 Author: Benjamin Otte Date: Wed Aug 26 16:33:52 2015 +0200 inspector: Handle object destruction without row references This way, we can live without row references. A side effect is that opening the inspector on the gtk-demo list box example now only takes 0.5s instead of the previous 3 minutes. gtk/inspector/object-tree.c | 53 +++++---------------------------------------- 1 file changed, 5 insertions(+), 48 deletions(-) commit 1f2bd47965db972c8d9abd5151e6996ed29b50b5 Author: Benjamin Otte Date: Wed Aug 26 15:44:55 2015 +0200 inspector: Implement find_object() without GtkTreeRowReference Tree row references are slow to update. And we update the widget list quite a bit, so when it grows it can get REALLY slow. gtk/inspector/object-tree.c | 52 ++++++++++++++++++++++++++++++++++----------- 1 file changed, 40 insertions(+), 12 deletions(-) commit c7ed2c21307efe26f2259bd28ef076bdff0a2b78 Author: Benjamin Otte Date: Wed Aug 26 15:28:22 2015 +0200 inspector: Refactor object tree construction Instead of having lots of if statements, create a vtable. This will be useful for the following patches. gtk/inspector/object-tree.c | 697 ++++++++++++++++++++++++++++++-------------- 1 file changed, 480 insertions(+), 217 deletions(-) commit 5037d134c56ab827a18b965442f5fcac95c9ee8a Author: Benjamin Otte Date: Tue Aug 25 19:46:09 2015 +0200 window: Only update the inspector once Instead of queueing a new idle handler every time we call gtk_window_update_debugging(), only queue one if none is queued that. Saves a lot of work, in particular when templates create context menus for every row in a large listbox as in the gtk-demo listbox example. gtk/gtkwindow.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) commit 207e593075b01815973c4bfcb5a0d90f1de8d11e Author: Benjamin Otte Date: Tue Aug 25 02:08:29 2015 +0200 listbox: Mark activatable rows with a .activatable style class Do not use .button anymore. This is for 2 reasons: 1. The styling is seperate in our themes, so it doesn't make sense to share the style class. 2. Due to the shared styling of .buton, listbox rows inherit all the special case styles that exist for buttons - such as linked buttons, header buttons, entry buttons, spinbutton buttons, etc. This means that the code has to check all these special cases all the time and for listbox rows, this is very slow. gtk/gtklistbox.c | 6 ++-- gtk/theme/Adwaita/_common.scss | 20 ++++++------ gtk/theme/Adwaita/gtk-contained-dark.css | 50 ++++++++++++++--------------- gtk/theme/Adwaita/gtk-contained.css | 50 ++++++++++++++--------------- gtk/theme/HighContrast/_common.scss | 22 ++++++------- gtk/theme/HighContrast/gtk.css | 54 ++++++++++++++++---------------- 6 files changed, 99 insertions(+), 103 deletions(-) commit 0897a7a43d7ef946e2dab606b0c6a0db3254d5a0 Author: Gábor Kelemen Date: Wed Aug 26 12:55:27 2015 +0000 Updated Hungarian translation po/hu.po | 150 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 67 insertions(+), 83 deletions(-) commit 571da2a8b34cf0652a0ba14adc35093b86631ea5 Author: Timm Bäder Date: Wed Aug 26 11:54:01 2015 +0200 Inspector: Protect against childless windows gtk/inspector/inspect-button.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) commit 7051c322f47ef2bba6d1519d0aa8e07b43dd45d3 Author: Pedro Albuquerque Date: Wed Aug 26 05:33:35 2015 +0000 Updated Portuguese translation po/pt.po | 35 +++++++++++++++++++++-------------- 1 file changed, 21 insertions(+), 14 deletions(-) commit 2d83dd62173fc5e651e7df95f331ad5cc46a29cf Author: Matthias Clasen Date: Tue Aug 25 23:28:56 2015 -0400 places view: Use proper gettext macros P_() is meant only for property nicks and blurbs. Everything else should use _(). http://bugzilla.gnome.org/show_bug.cgi?id=754086 gtk/gtkplacesview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) commit b287412249936f60bc6cb93e55c1abee1cec7e83 Author: Chao-Hsiung Liao Date: Tue Aug 25 22:41:58 2015 +0000 Updated Chinese (Taiwan) translation po-properties/zh_TW.po | 4862 +++++++++++++++++++++++++----------------------- 1 file changed, 2536 insertions(+), 2326 deletions(-) commit 82ab8fade06ad47bbfeee488515c73d6c12e85c9 Author: Chao-Hsiung Liao Date: Tue Aug 25 22:40:15 2015 +0000 Updated Chinese (Taiwan) translation po/zh_TW.po | 4436 ++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 2445 insertions(+), 1991 deletions(-) commit 9cc41307d1c0ced7de427bf12aa44f5455caf45c Author: Matthias Clasen Date: Tue Aug 25 13:58:40 2015 -0400 flow box: Document incompatible configurations Explain in the docs that using a model is incompatible with using filter or sort functions. gtk/gtkflowbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit c0998598726040ba496d9f442f7ea6baccdf44cd Author: Matthias Clasen Date: Tue Aug 25 13:28:49 2015 -0400 flow box: Warn for nonworking configurations GtkFlowBox sort and filter functionality does not work with models. Issue a warning in this case. gtk/gtkflowbox.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) commit 808ea8645a38f96839e09568105d793920d9c184 Author: Matthias Clasen Date: Tue Aug 25 13:20:53 2015 -0400 list box: Document incompatible configurations Explain in the docs that using a model is incompatible with using filter or sort functions. http://bugzilla.gnome.org/show_bug.cgi?id=752615 gtk/gtklistbox.c | 10 ++++++++++ 1 file changed, 10 insertions(+) commit a27309c6e47bd1e0ec747f8af40aea9b32b8a12b Author: Matthias Clasen Date: Tue Aug 25 13:16:24 2015 -0400 list box: Warn for nonworking configurations GtkListBox sort and filter functionality does not work with models. Issue a warning in this case. http://bugzilla.gnome.org/show_bug.cgi?id=752615 gtk/gtklistbox.c | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) commit a5e2256770db712d2ca3f9866309cd3cd5f3d6c7 Author: Matthias Clasen Date: Thu Jan 8 23:16:39 2015 -0500 Fix a startup ordering problem Defer a11y initialization until we have a display. A11y initialization causes widget classes to be initalized, which in turn needs some backend-specific information about modifier masks that can't be obtained before we have a display. https://bugzilla.gnome.org/show_bug.cgi?id=736125 gtk/gtkmain.c | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) commit c55ff6e41fb3c6272b5e7a084c8273dea60d7dee Author: John Ralls Date: Wed Dec 24 16:10:12 2014 -0800 Bug 736125 - The default gtk accelerator mod mask does not include all default backend modifiers gdk/gdkkeys.c | 4 ++++ gdk/gdktypes.h | 8 +++++++- gdk/quartz/gdkkeys-quartz.c | 5 +++++ gtk/gtkaccelgroup.c | 12 ++++++------ 4 files changed, 22 insertions(+), 7 deletions(-) commit 30d56933d44d88c3f99b9f5e0c8d5264694026c3 Author: Timm Bäder Date: Mon Aug 24 16:06:08 2015 +0200 Inspector: Make monitor rows unactivatable gtk/inspector/general.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) commit 826ac52e434915f1573156ab2a5fdbda4f3de3b3 Author: Piotr Drąg Date: Tue Aug 25 17:11:17 2015 +0200 Fix grammar in "No networks locations found" gtk/gtkplacesview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit f7655fa24f5052eed5c9bcc92a4f32ed80e41207 Author: Fran Dieguez Date: Tue Aug 25 16:43:42 2015 +0200 Update Galician translations po-properties/gl.po | 3138 +++++++++++++++++++++++++++------------------------ 1 file changed, 1690 insertions(+), 1448 deletions(-) commit f004c11a29dc6ef911a37d2038f26348780f2663 Author: Fran Dieguez Date: Tue Aug 25 16:29:19 2015 +0200 Updated Galician translations po/gl.po | 105 +++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 62 insertions(+), 43 deletions(-) commit 9e7204d332942dfb5d62b4350f613ff3a0cdffa2 Author: Daniel Mustieles Date: Tue Aug 25 11:07:47 2015 +0200 Updated Spanish translation po-properties/es.po | 20106 +++++++++++++++++++++++++------------------------- 1 file changed, 10055 insertions(+), 10051 deletions(-) commit fcc0f74b8663ee09c9d6a943317d1ecffa5e06e7 Author: Daniel Mustieles Date: Tue Aug 25 11:07:23 2015 +0200 Updated Spanish translation po/es.po | 13005 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 6509 insertions(+), 6496 deletions(-) commit d8994973ee09a733067653fa631dbd0407294827 Author: Pedro Albuquerque Date: Tue Aug 25 06:13:59 2015 +0000 Updated Portuguese translation po/pt.po | 154 ++++++++++++++++++++++++++++++++++++--------------------------- 1 file changed, 89 insertions(+), 65 deletions(-) commit 14bcc780f4c4d45f0de7c409b138a1fe625ffe56 Author: Pedro Albuquerque Date: Tue Aug 25 06:10:53 2015 +0000 Updated Portuguese translation po-properties/pt.po | 269 +++++++++++++++++++++++++++++----------------------- 1 file changed, 149 insertions(+), 120 deletions(-) commit df5ee78c2840f82784762d9f382fded75ac31eb8 Author: Benjamin Otte Date: Mon Aug 24 21:23:49 2015 +0200 gtk-demo: Update listbox example with longer list Add all 388 tweets of the @GTKtoolkit account. This shows the performance behavior of the listbox (not good with that many rows) and allows us to quickly notice when things get worse (or better). And just so I have a place where I can dump how I generated this file: First, I got Timm Bäder to download me the json for the twitter feed into a file gtk.json, then I ran the jq tool on it like this: jq ".[] | if .retweeted_status then .retweeted_status.user.name + \"|\" + .retweeted_status.user.screen_name else .user.name + \"|\" + .user.screen_name end + \"|\" + .text" gtk.json | cat -n | sed "s/\\s*\([0-9]*\)\t\"\(.*\)\"/\\1|\\2/" > messages.start jq ".[] | .created_at" gtk.json | sed "s/\"\(.*\)\"/\1/" | while read in; do date +%s -d "$in"; done > dates jq ".[] | \"0|\" + if .retweeted_status then .user.screen_name else \"\" end + \"|\" + (.favorite_count | tostring) + \"|\" + (.retweet_count | tostring)" gtk.json | sed "s/\"\(.*\)\"/\\1/" > messages.end paste -d\| messages.start dates messages.end > messages.txt This whole machinery of going through 3 intermediate files was only necessary to onvert the dates from ISO format to unix timestamps, otherwise this could have been a single line. demos/gtk-demo/messages.txt | 396 +++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 388 insertions(+), 8 deletions(-) commit a7f40fc0ea24a50237fd3e56e047747855a67b97 Author: Benjamin Otte Date: Mon Aug 24 21:23:29 2015 +0200 gtk-demo: Order tweets newest first in listbox example demos/gtk-demo/listbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ca4823c250a1e43c23beeedb601ab118c8116225 Author: Dušan Kazik Date: Mon Aug 24 16:30:15 2015 +0000 Updated Slovak translation po/sk.po | 414 ++++++++++++++++++++++++++++++++++++++++----------------------- 1 file changed, 267 insertions(+), 147 deletions(-) commit 338d97eba1a726b1cd8f4285151b69c4e95bfe60 Author: Dušan Kazik Date: Mon Aug 24 16:08:34 2015 +0000 Updated Slovak translation po-properties/sk.po | 4211 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 2535 insertions(+), 1676 deletions(-) commit 8e975b28ff460db3bf8ea99f5a07fb9d709c4f1c Author: Paolo Borelli Date: Sat Aug 22 18:20:17 2015 +0200 filechooser: check if we can access the parent folder If we manually enter an unaccessible path in the entry, e.g "/root/foo.txt", we should receive an error saying that the folder is not accessible instead of showing the replace confirmation dialog. https://bugzilla.gnome.org/show_bug.cgi?id=753969 gtk/gtkfilechooserwidget.c | 52 +++++++++++++++++++++++++++------------------- 1 file changed, 31 insertions(+), 21 deletions(-) commit 2bf97567ceef6b33e2ea7d05e02d826aa448c01c Author: Matthias Clasen Date: Sat Aug 22 11:22:27 2015 -0400 Revert "gtkoverlay: Optimize size allocations" This reverts commit 93171cf4f346c0a5e71f274d012c3cacfe3880ba. This broke overlay controls in page 3 of widget-factory, gnome-photos, gnome-documents, etc. gtk/gtkoverlay.c | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) commit 1d2ff9a069a3f1a8d2510dfcf7177420d2b076e3 Author: Matthias Clasen Date: Fri Aug 21 20:51:03 2015 -0400 list box: Make focusable headers possible Previously we were assuming that only list box rows could occur as focus children of a list box, and would crash if that wasn't the case. This commit handles this case, and integrates focusable headers into directional keynav and the focus chain. The typical case of using separators as headers is not affected by this change. https://bugzilla.gnome.org/show_bug.cgi?id=753694 gtk/gtklistbox.c | 42 +++++++++++++++++++++++++++++++++++++++--- 1 file changed, 39 insertions(+), 3 deletions(-) commit bff28ac6b00c3420e2b0304b84c1b253abcb9aa8 Author: Matthias Clasen Date: Fri Aug 21 18:19:26 2015 -0400 GtkOverlay: Update the description State that the overlays are placed wrt to the GtkOverlay, not with respect to the main widget. This makes a difference for small main widgets which are not configured to fill the entire GtkOverlay. gtk/gtkoverlay.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) commit 58f363c852553b62b404da917d49cf6b360dfcc7 Author: Matthias Clasen Date: Fri Aug 21 18:08:30 2015 -0400 Revert "popover: Optimize the transition" This reverts commit 84bd32a09a25bee24ae7740e30bd75727695d744. It turned out that this did break the transition in some places. gtk/gtkpopover.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 00b17651b1d00cdaf60c7d75fcd5fc4945812361 Author: Carlos Soriano Date: Fri Aug 21 19:57:07 2015 +0200 gtkplacesview: bail out if operation cancelled When an operation is cancelled it's never safe to access the object itself or the private struct, since it could be called (and probably is) during finalize. In case the operation is cancelled, just bail out to fix the crashes. gtk/gtkplacesview.c | 42 +++++++++++++++++++++++++++--------------- 1 file changed, 27 insertions(+), 15 deletions(-) commit 232ab9d30de5881ab085cb0b721286d12485f6ad Author: Jordi Mas Date: Fri Aug 21 18:21:06 2015 +0200 Upload Catalan translator po-properties/ca.po | 36 +- po/ca.po | 3869 +++++++++++++++++++++++++++------------------------ 2 files changed, 2110 insertions(+), 1795 deletions(-) commit 6d0edd0056fa22fe349b0af3bcd1a193e73080f9 Author: Carlos Soriano Date: Fri Aug 21 15:00:07 2015 +0200 gtkplacessidebar: order mounts by label We were not ordering them at all, and therefore they were jumping around https://bugzilla.gnome.org/show_bug.cgi?id=753925 gtk/gtkplacessidebar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit d0c45f19b82b3fc9541674b72fb8b08083f0ee1c Author: Carlos Soriano Date: Fri Aug 21 14:49:11 2015 +0200 gtkplacesview: use g_utf8_collate for sorting Also rename the variable, since we usually use location for GFiles variables. gtk/gtkplacesview.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) commit 036ba25eb19569a51f68bb2bf9648b10e2e7020a Author: Carlos Soriano Date: Wed Aug 19 14:46:34 2015 +0200 gtkplacesview: add a loading property So clients of the view can know if the view is busy. https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 39 +++++++++++++++++++++++++++++++++++++++ gtk/gtkplacesviewprivate.h | 3 +++ 2 files changed, 42 insertions(+) commit 89a34210cb2804a0908ea91a9d38769cc3ab09b6 Author: Carlos Soriano Date: Tue Aug 18 23:26:07 2015 +0200 gtkplacesview: improve networks feedback Add a spinner when networks are being fetched and make the network section permanent and show a placeholder with a message that no networks were found in case there are no networks. In this way users from previous versions won't be confused with the fact that no networks are shown. https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 147 +++++++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 139 insertions(+), 8 deletions(-) commit 7347a69328f889a193aaf3565747df3872a066f5 Author: Carlos Soriano Date: Tue Aug 18 17:58:41 2015 +0200 gtkplacesview: add networks in network:/// Previously we had a network item in the sidebar, which now is replaced by the network section on other-locations view. However we were not exposing the networks in network:///. Fetch them and add them in the network section of other-locations view. https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 164 +++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 151 insertions(+), 13 deletions(-) commit 16bea59b785704a7f6d73de3481f0a0582fb41e4 Author: Carlos Soriano Date: Tue Aug 18 09:43:48 2015 +0200 gtkplacesview: style fix https://bugzilla.gnome.org/show_bug.cgi?id=753786 gtk/gtkplacesview.c | 1 - 1 file changed, 1 deletion(-) commit 8891640c47127f9b4c0f0a354ac06902adf04153 Author: Dušan Kazik Date: Fri Aug 21 08:55:24 2015 +0000 Updated Slovak translation po/sk.po | 106 ++++++++++++++++++++++++++++++++++----------------------------- 1 file changed, 58 insertions(+), 48 deletions(-) commit 32cd1a744700c365f70410ac4090b113b1921598 Author: Jonas Ådahl Date: Thu Aug 20 11:38:43 2015 +0800 wayland: Only bind supported unstable pointer gestures global As the protocol is still considered unstable (meaning not backward compatible), we should, as stated in the protocol, only bind the version advertised is the version we implement. https://bugzilla.gnome.org/show_bug.cgi?id=753856 gdk/wayland/gdkdisplay-wayland.c | 6 ++++-- gdk/wayland/gdkdisplay-wayland.h | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) commit 80265759473b3c806354d9f204e4016ec70a602b Author: Benjamin Otte Date: Fri Aug 21 00:46:35 2015 +0200 overlay: Always align widgets relative to the overlay ... not to the contained widget, which might not occupy the whole overlay when an align mode is set. gtk/gtkoverlay.c | 7 ------- 1 file changed, 7 deletions(-) commit 2039ab8853c10e2b34a0bd7d0bd17b2ef5855db0 Author: Benjamin Otte Date: Fri Aug 21 00:44:17 2015 +0200 overlay: Use actual size of the overlay when positioning Previously we were using the natural requested size which is unrelated. gtk/gtkoverlay.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 2607aae7dd4bcbfd0cb6501af74602fc6005bd08 Author: Aurimas Černius Date: Thu Aug 20 23:01:41 2015 +0300 Updated Lithuanian translation po-properties/lt.po | 4667 +++++++++++++++++++++++++++------------------------ po/lt.po | 219 +-- 2 files changed, 2535 insertions(+), 2351 deletions(-) commit b37400752bdc282888e13c9d74aa3e904bab8283 Author: Christian Hergert Date: Thu Aug 20 11:13:30 2015 -0700 treeview: check for pixel cache before setting property Code exists in the wild that calls this function after the widget has been destroyed (and the pixel cache released). Simply check that the pixel cache exists to preserve the existing state. gtk/gtktreeview.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) commit 391149fc0ac802a8dd49162c91c258e6175b0940 Author: Jordi Mas Date: Thu Aug 20 19:04:10 2015 +0200 Update Catalan translation po-properties/ca.po | 390 +++++++++++++++++++++++++++---------------------- po/ca.po | 407 ++++++++++++++++++++++++++-------------------------- 2 files changed, 422 insertions(+), 375 deletions(-) commit c6219c913fc0b22fa9f729c52ebac2cc9f090121 Author: Benjamin Otte Date: Tue Aug 18 20:45:34 2015 +0200 immodule: Remove unused parameter gtk/gtkimmodule.c | 3 +-- gtk/gtkimmoduleprivate.h | 2 +- gtk/gtkimmulticontext.c | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) commit 8ed4e439e4c2aa317cfc0c4c651a46318c8ee1d6 Author: Piotr Drąg Date: Thu Aug 20 13:01:14 2015 +0200 Updated POTFILES.skip po-properties/POTFILES.skip | 1 + po/POTFILES.skip | 1 + 2 files changed, 2 insertions(+) commit 4d9a94333820edb8dfbd8584605e661d18467e64 Author: Matthias Clasen Date: Wed Aug 19 23:17:01 2015 -0400 gtk-demo: Add a model button demo This shows how to hook model buttons up to various action types, or how to create them manually. demos/gtk-demo/Makefile.am | 1 + demos/gtk-demo/demo.gresource.xml | 4 + demos/gtk-demo/modelbutton.c | 69 ++++++++++++++++ demos/gtk-demo/modelbutton.ui | 168 ++++++++++++++++++++++++++++++++++++++ 4 files changed, 242 insertions(+) commit 8baab8f33d0dd1163152c11b4002967167e7edcd Author: Sebastien Lafargue Date: Wed Aug 19 12:33:06 2015 +0200 GtkTextView: fix margin/padding scroll behaviour When you move line by line, only padding is automaticly shown and you need to use Page key to show margin. This commit also fix cursor going out of the screen bug. gtk/gtktextview.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) commit 25557c1c5d977acb5659e13394961524b67c2ec0 Author: Carlos Garnacho Date: Mon Aug 3 17:22:29 2015 +0200 gdkevent: Hold refs to device/source_device The extra reference will be held from GdkEventPrivate data, so there's a common place to all events. Without this, events queued after devices/ capabilities disappear (eg. on TTY switch) might hold invalid pointers. Windowing level operations on those devices (queries, grabs...) are expected to fail at that time, but we should hold meaningful data for the regular event handling paths. https://bugzilla.gnome.org/show_bug.cgi?id=753185 gdk/gdkevents.c | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) commit 8599f209c1a0c766429429275027284491ded7ac Author: Carlos Garnacho Date: Wed Aug 19 18:45:50 2015 +0200 gtkscrolledwindow: Fold kinetic deceleration handling into scroll_event() In order to play along with child widgets that use scroll events for anything else than scrolling, it will be better to do this in the bubble phase, so the child widget has an opportunity to GDK_EVENT_STOP the event before we trigger kinetic scrolling. This of course won't work for widgets that choose to reimplement scroll event handling themselves, they should be smart at resorting to GtkScrolledWindow's scroll event handling. This fixes kinetic scrolling kicking in too pervasively on widgets that eg. implement zoom on scroll events. https://bugzilla.gnome.org/show_bug.cgi?id=753495 gtk/gtkscrolledwindow.c | 56 ++++++++++++++++++++++++------------------------- 1 file changed, 27 insertions(+), 29 deletions(-) commit ee8c80a531c4ac034019c4622dfe935b2143ff50 Author: Gábor Kelemen Date: Wed Aug 19 10:07:21 2015 +0000 Updated Hungarian translation po/hu.po | 970 ++++++++++++++++++++++++++++++++++++++------------------------- 1 file changed, 591 insertions(+), 379 deletions(-) commit 88edada0d90f09efba7e82639e88a154c5c2e61d Author: Georges Basile Stavracas Neto Date: Tue Aug 18 19:34:21 2015 -0300 placessidebar: set Other Locations uri By assigning an URI to Other Locations item, we can programaticaly select it. Fixes a bug in Nautilus, where the Other Locations item is unselected imediately after being clicked. gtk/gtkplacessidebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 24174e5528018c36868c4e4f834a8614b460bafb Author: Matthias Clasen Date: Tue Aug 18 15:42:56 2015 -0400 multipress: Only emit preedit signals if needed When clearing the compose buffer, don't emit preedit-changed unconditionally. This triggers a recursion which leads to a crash. https://bugzilla.gnome.org/show_bug.cgi?id=753644 modules/input/gtkimcontextmultipress.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) commit 9f9c5ca49ada3e9345a48fd8d642883c0f7339fb Author: Paolo Borelli Date: Mon Aug 17 18:31:15 2015 +0200 print operation: let subclasses use a custom paginate GtkPrintOperation was emitting paginate only if a signal was connected, this meant that subclassing and overriding the paginate vfunc lead to the unexpected result that paginate did not run. Instead we always emit the signal and use a custom accumulator: if there is a signal we just run that and avoid the default handler, otherwise we run the default handler which can be the one by the subclass or the default handler that just skips pagination. Patch by Yevgen Muntyan, fixes #345345 gtk/gtkprintoperation.c | 36 +++++++++++++++++++++++++++--------- 1 file changed, 27 insertions(+), 9 deletions(-) commit 31efc4097e51c1615d101d20b9ea75643dfb0558 Author: Daniel Mustieles Date: Tue Aug 18 13:56:26 2015 +0200 Updated Spanish translation po-properties/es.po | 20088 +++++++++++++++++++++++++------------------------- 1 file changed, 10051 insertions(+), 10037 deletions(-) commit e4f36d0657a28ecaed5f9939a58867b62750fe7a Author: Daniel Mustieles Date: Tue Aug 18 13:56:16 2015 +0200 Updated Spanish translation po/es.po | 12982 +++++++++++++++++++++++++++++++------------------------------ 1 file changed, 6496 insertions(+), 6486 deletions(-)