Commit Graph

10984 Commits

Author SHA1 Message Date
Florian Müllner
92630f67c6 animations: Guard against empty animations
Our animation code not only relies on the animation being loaded
(which we handle), but also on having at least one frame - otherwise
the computation of the next frame index will turn up NaN through
division by zero. Guard against this case by treating empty animations
as not loaded.

https://bugzilla.gnome.org/show_bug.cgi?id=774805
2016-11-28 11:58:48 +01:00
Christian Kirbach
a829784c03 Update German translation 2016-11-26 10:13:16 +00:00
Stas Solovey
f395d3892c Update Russian translation 2016-11-23 21:08:29 +00:00
Debarshi Ray
25f3ce8c14 portalHelper: Address intermittent TLS failures
Users are currently experiencing intermittent (and hard to debug) TLS
errors when loading the portal authentication page. This could be
caused by using http://www.gnome.org/ for our connectivity checks
because it redirects to HTTPS.

We can completely remove TLS from the equation by not using HTTPS.
http://nmcheck.gnome.org/ is a good choice because it doesn't redirect
to HTTPS and was created for NetworkManager's connectivity check.

https://bugzilla.gnome.org/show_bug.cgi?id=769940
2016-11-23 21:37:19 +01:00
Balázs Meskó
8b523d36b8 Update Hungarian translation 2016-11-22 13:39:25 +00:00
Dušan Kazik
bf84939eef Update Slovak translation 2016-11-20 18:25:21 +00:00
Jiri Grönroos
d0e811214b Update Finnish translation 2016-11-19 17:11:32 +00:00
Baurzhan Muftakhidinov
52bbee80a0 Update Kazakh translation 2016-11-19 12:05:30 +00:00
Rafael Fontenelle
7098d6930f Update Brazilian Portuguese translation 2016-11-18 23:41:34 +00:00
Мирослав Николић
df4f2869f0 Updated Serbian translation 2016-11-18 09:08:47 +01:00
Marek Černocký
8fad615f4e Updated Czech translation 2016-11-18 00:43:34 +01:00
Piotr Drąg
b98df643d4 Update Polish translation 2016-11-18 00:05:25 +01:00
Florian Müllner
84649c8276 runDialog: Mark error message as translatable
https://bugzilla.gnome.org/show_bug.cgi?id=774643
2016-11-18 00:00:15 +01:00
Florian Müllner
803406d601 Bump version to 3.22.2
Update NEWS.
2016-11-10 14:52:38 +01:00
Florian Müllner
1bccc9a2d6 network: Always show primary icon when connected
The top bar's network menu only supports a subset of device types
supported by NetworkManager. While not having lesser used options
in the menu itself is perfectly reasonable, not showing any network
icon at all in the top bar when the system is fully connected is
weird.

https://bugzilla.gnome.org/show_bug.cgi?id=773890
2016-11-10 14:42:33 +01:00
Florian Müllner
cf6b44b4bd networkAgent: Invalidate VPN plugin cache on changes
Currently the cache is built once when the first VPN request is
handled, so plugins that are installed or uninstalled after that
aren't picked up. Fix this by invalidating the cache on changes
to the plugin directory.

https://bugzilla.gnome.org/show_bug.cgi?id=773893
2016-11-10 14:42:22 +01:00
Stas Solovey
5858b2266a Update Russian translation 2016-11-08 18:24:45 +00:00
Ray Strode
1878c84eef popupMenu: don't handle key presses directly if there are modifiers
commit 1d58ea25ab changed the
popupMenu code to handle key presses on source actors directly.

This fixed keynav into the session gear menu at the login screen.

Unfortunately, it also causes spurious pop ups if a modifier happens
to be held down.

This commit checks for modifiers and short circuits the up front
key handling if any are found.

https://bugzilla.gnome.org/show_bug.cgi?id=740043
2016-11-07 14:02:22 -05:00
Florian Müllner
931d364079 screenShield: Raise lightbox on blank
The lightboxes used for screen blanking are created during initialization
and shown each time the screen should blank. During the (potentially long)
time where the lightbox is hidden, any actor could be raised above the
lightbox - in particular any popup menu raises itself to the top when
opened. To not exclude those elements from screen blanking, raise the
lightbox every time it is shown.

https://bugzilla.gnome.org/show_bug.cgi?id=773875
2016-11-03 21:16:46 +01:00
Dan Williams
3fd65055f9 network: request periodic scans while the WiFi list is open
NM upstream would like to reduce periodic scanning, and that means
that clients should request scans themselves while their WiFi list
is open.  Similar to the Windows and macOS WiFi dialogs/lists.

https://bugzilla.gnome.org/show_bug.cgi?id=767918
2016-10-30 23:01:54 +01:00
Carlos Garcia Campos
6ed0c16dd0 browser-plugin: The NPObject returned by NPP_GetValue should be retained
The Mozilla documentation says: "And as always when working with
reference counted NPObjects, the caller is responsible for calling
NPN_ReleaseObject on the NPObject to drop the reference."

Browsers assume that the plugin does the right thing and always call
NPN_ReleaseObject. At some point the object is released and deallocated
and both the plugin and browser still have references to the object
thinking that it's still alive. That's why the crash is sometimes in the
plugin when it tries to use the np object, and sometimes in the browser.

https://bugzilla.gnome.org/post_bug.cgi
2016-10-29 09:13:11 +02:00
Piotr Drąg
dd250ec994 Update Polish translation 2016-10-22 16:09:09 +02:00
YunQiang Su
5f13468b35 zh_CN: fix translation of airplane mode 2016-10-18 17:35:21 +08:00
Philip Chimento
054ab6a1ed Update zh_CN translation 2016-10-18 17:30:44 +08:00
Fabio Tomat
0b8ae22aa3 Update Friulian translation 2016-10-17 10:24:34 +00:00
Fabio Tomat
25e1b2548c Update Friulian translation 2016-10-17 10:14:52 +00:00
Kjartan Maraas
5b21bca4f4 Updated Norwegian bokmål translation from Kjartan Maraas. 2016-10-16 19:41:59 +02:00
Cosimo Cecchi
5a08886ed6 osdWindow: always round-up sizes when updating allocation
This fixes the OSD window flickering horizontally at certain
resolutions.

https://bugzilla.gnome.org/show_bug.cgi?id=772287
2016-10-10 17:25:48 -07:00
Cosimo Cecchi
3679a8cdc4 osdWindow: relayout when scale factor changes
We currently rely on the "monitors-changed" signal of LayoutManager to
relayout the OSD window. That is not enough, since the scale factor also
changes the way the OSD window is sized, and that can be updated after
"monitors-changed" has been received.
The visual effect is that under some circumstances, the OSD window will
have the wrong size under HiDpi.

This commit fixes the issue by triggering another relayout when the
scale factor changes.

https://bugzilla.gnome.org/show_bug.cgi?id=772723
2016-10-10 17:25:47 -07:00
Florian Müllner
6ebabd50c6 Bump version to 3.22.1
Update NEWS.
2016-10-11 00:57:38 +02:00
Florian Müllner
0c22a21a24 window-tracker: Consider Flatpak ID for window matching
Our window matching currently fails frequently with Flatpak
applications, as one of the primary hints used to link windows
with .desktop files - the WM_CLASS - no longer matches when
flatpak renames the exported .desktop file. Worse, as Flatpak
applications are run in their own PID namespace, different
apps frequently share a common _NET_WM_PID, resulting in
unrelated apps being grouped together by one of the fallback
paths. To match Flatpak applications reliably, take the newly
exported Flatpak ID into account.

https://bugzilla.gnome.org/show_bug.cgi?id=772615
2016-10-10 23:40:39 +02:00
gogo
70a0c4211c Update Croatian translation 2016-10-10 18:16:38 +00:00
gogo
a21af541c4 Add Croatian translation 2016-10-09 19:23:52 +00:00
Cheng-Chia Tseng
e07ba91486 Update Chinese (Taiwan) translation 2016-10-09 14:14:46 +00:00
Carlos Garnacho
a22e9ce9cd st: Ignore filtered selection events not meant to our clipboard window
Other windows like the mutter Xwayland selection bridges might deal with
the clipboard, which would result in events visible on st-clipboard event
filters.

In order to avoid unintended results, ignore events that are not meant for
the clipboard window.

https://bugzilla.gnome.org/show_bug.cgi?id=760745
2016-10-09 10:57:47 +02:00
Florian Müllner
d4ce51b1b7 altTab: Consider attached modals for window order
Similar to bug 667552 for the app switcher, attached modal dialogs
can result in an unexpected window order in the window switcher:
Selecting a window with an attached dialog will focus the dialog
instead, but as the dialog itself is ignored in the window list,
its last-used timestamp is not taken into account for the position
in the MRU list. Fix this by fetching the list of all NORMAL windows
and filter out skip-taskbar windows ourselves, while making sure that
windows appear in the position of their attached modal dialog where
appropriate.

https://bugzilla.gnome.org/show_bug.cgi?id=747153
2016-10-07 14:51:15 +02:00
Milo Casagrande
830005069c Updated Italian translation 2016-10-06 11:48:53 +00:00
Milo Casagrande
8c49267658 Updated Italian translation 2016-10-03 09:38:47 +00:00
Florian Müllner
d0bab1f7ac network: Initialize primary and VPN connections on startup
We only connect to the corresponding property notifications after both
Client and RemoteSettings are ready, so we may miss the initial signal
emission. Make sure to pick up the connections in this case to fix the
network indicator not showing up.

https://bugzilla.gnome.org/show_bug.cgi?id=772249
2016-09-30 13:50:30 +02:00
Philip Chimento
f00826f3fb shell-js: Remove usage of deprecated API
This removes all usage of SpiderMonkey API that is deprecated in mozjs24
and will be removed in mozjs31.

https://bugzilla.gnome.org/show_bug.cgi?id=742249
2016-09-27 17:14:47 -07:00
BM
717c0ea19f Update Uzbek@cyrillic translation 2016-09-25 09:16:36 -04:00
Florian Müllner
3cd8dd0f32 global: Fix a small memory leak 2016-09-21 23:38:42 +02:00
Khaled Hosny
aedd616346 Update Arabic translation 2016-09-21 14:51:33 +02:00
Inaki Larranaga Murgoitio
b3de3ff00b Update Basque language 2016-09-19 13:37:26 +02:00
Florian Müllner
b66dff8aed Bump version to 3.22.0
Update NEWS.
2016-09-19 23:18:13 +02:00
Rui Matos
ff814df03a shell-screenshot: Avoid a crash when the cursor texture is NULL
Analogously to commit 2a7f9f70b8 for the
screen recorder, as a wayland compositor, the cursor texture might not
exist.

https://bugzilla.gnome.org/show_bug.cgi?id=771656
2016-09-19 22:41:51 +02:00
Ask Hjorth Larsen
c9a528025c Updated Danish translation 2016-09-19 20:35:22 +00:00
David King
5f3ec8a6f1 Update British English translation 2016-09-18 12:43:02 +02:00
Florian Müllner
becd29c50a altTab: Skip unminimize effect when cycling to a window
Similar to windows on another workspace, selecting a minimized window
doesn't look quite right - the selected window disappears, then animates
back in. Fix this by adding support for skipping the next effect to the
wm and use it to bypass the unminimize animation.

https://bugzilla.gnome.org/show_bug.cgi?id=771536
2016-09-18 11:00:54 +02:00
Florian Müllner
a029a35050 altTab: Improve cycling to a window on another workspace
Both 'cycle-group' and 'cycle-window' shortcuts allow cycling through
windows on all workspaces. While this works, it looks quite broken
since we started showing clones for highlighting: the selected window
vanishes (when its clone is destroyed), then slides back in with its
workspace. Instead, slide the selected window to its workspace like
we do for the 'move-to-workspace-*' shortcuts.

https://bugzilla.gnome.org/show_bug.cgi?id=771536
2016-09-18 11:00:54 +02:00