1365 Commits

Author SHA1 Message Date
Florian Müllner
a85764a0ab Bump version to 3.29.2
Update NEWS.
3.29.2
2018-05-24 19:04:07 +02:00
Florian Müllner
eaa2c7857e Update submodule URL
gnome-shell-sass was migrated to gitlab, so update to the correct URL
instead of relying on the redirect.
2018-05-24 19:04:07 +02:00
Florian Müllner
6e1b5bc346 Update sass submodule 2018-05-24 19:01:36 +02:00
Florian Müllner
f59ab1272d drive-menu: Disconnect volume monitor signals
The handler IDs were renamed at some point, resulting in the signals
not being disconnected on disable.
2018-05-10 18:56:23 +02:00
Florian Müllner
f25ffe6f63 build: Include translations in uploaded zip files
The meson port accidentally dropped translations from the generated
zip files for uploading to extensions.gnome.org, add them back.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/69
2018-05-07 12:00:19 +02:00
Florian Müllner
6746061898 Bump version to 3.28.1
Update NEWS.
3.28.1
2018-04-13 20:30:56 +02:00
Florian Müllner
3dc9f2e4ff cleanup: Use Array.includes() to check for element existence
This is a relatively recent addition to the standard we can use where we
don't care about the actual position of an element inside the array.
(Array.includes() and Array.indexOf() do behave differently in edge cases,
for example in the handling of NaN, but those don't matter to us)
2018-04-12 11:05:41 +02:00
Florian Müllner
682d6a8fd1 window-list: Handle no overrides settings
We can only know about override settings that are provided by the
upstream GNOME or GNOME Classic sessions, but not any custom sessions
created by admins, users or distributions. Handle that case by falling
back to the original settings.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/62
2018-04-12 11:05:41 +02:00
Dz Chen
d3ea985e14 Update zh_CN translation 2018-03-21 19:21:17 +08:00
Xiaoguang Wang
496ae16cf1 apps-menu: Duplicate destroy actor
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/59
2018-03-13 09:06:00 +08:00
Florian Müllner
0554e0deb9 Bump version to 3.28.0
Update NEWS.
3.28.0
2018-03-12 21:57:46 +01:00
Bruce Cowan
c0c938977c Update British English translation 2018-03-10 18:05:48 +00:00
Aman Alam
8ee207d74d Update Punjabi translation 2018-03-10 15:37:59 +00:00
Xiaoguang Wang
0e625bedba data: Remove nautilus classic
nautilus doesn't support nautilus classic from version 3.27
2018-03-07 12:49:37 +08:00
Florian Müllner
127b5e6c25 ci: Install mozjs-devel instead of gjs-devel
All we are really interested in is mozjs' js52 utility for running
syntax checks - gjs has significantly more dependencies, so cut
down on time and bandwidth spent on downloading and installing
unneeded packages.

This cuts down the number of packages we install from 202 to 13,
and the download size from 133M to 17M.
2018-03-06 01:07:43 +01:00
Florian Müllner
64c17acc0a ci: Use latest stable Fedora
Rawhide is being very rawhide right now, so unbreak CI by using
the latest stable release.
2018-03-05 23:58:42 +01:00
Florian Müllner
0102b2800a Bump version to 3.27.92
Update NEWS.
3.27.92
2018-03-05 23:42:34 +01:00
Daniel Șerbănescu
7c66434616 Update Romanian translation 2018-03-03 13:06:18 +00:00
GNOME Translation Robot
f9ae518c9d Update Scottish Gaelic translation
(cherry picked from commit 0f2baf3e566a7b96f9c472db1fe2802a2354aeba)
2018-02-26 12:54:09 +00:00
Piotr Drąg
55ba3c086a Fix Spanish translation header 2018-02-24 00:20:16 +01:00
Florian Müllner
d22e603686 build: Fix classic .session definition
Session files should be installed with the .session extension, not
.desktop ...
2018-02-22 15:26:36 +01:00
Florian Müllner
3e0d8bd56f build: Fix xsession installation dir 2018-02-22 15:26:36 +01:00
Florian Müllner
45ac2cd403 Bump version to 3.27.91
Update NEWS.
3.27.91
2018-02-22 13:40:15 +01:00
Florian Müllner
a808380d04 Update sass submodule 2018-02-22 13:40:15 +01:00
Florian Müllner
5c0ef12d13 build: Require sassc for classic style
Meson has a strict separation of source- and build directory, and
expects anything generated in the latter. That means that in order
to maintain our current setup - shipping the generated CSS in the
repo while also optionally updating it automatically when sassc is
found - we have to fight the build system to some extent, which makes
it less reliable than we would like.

Since we switched to sassc which is a more acceptable build-time
dependency than the original ruby-based tool, just drop the CSS
from the repo and unconditionally generate it from SASS if classic
mode is enabled.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/28
2018-02-22 10:59:55 +00:00
Piotr Drąg
b80aa8ee11 Remove po/Makevars
Meson doesn’t use it, and Damned Lies learned to read po/meson.build.
2018-02-21 00:05:55 +01:00
Jeremy Bicha
7de345fc8b data: Adjust to another g-s-d plugin removal 2018-02-17 15:54:41 -05:00
Jonas Kümmerlin
ff3adb8429 classic: fix panel gradient in overview
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/40
2018-01-28 20:22:41 +01:00
Jonas Kümmerlin
3398e74005 classic: never show drop shadow for panel icons
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/39
2018-01-28 20:21:24 +01:00
Jonas Kümmerlin
f9ad051367 classic: make notifications legible again
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/41

As requested in discussion about !26, this is resolved by
switching to a light background.
2018-01-28 01:15:10 +01:00
Florian Müllner
ae65a82fdd classic: Fix "Clear All" button readability
Most buttons appear in modal dialogs which keep their normal
appearance in the classic theme, except for the calendar's
"Clear All" which needs a dark text color to be readable on
the light background.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/26
2018-01-18 13:53:09 +01:00
Florian Müllner
2dbe692a31 Revert last two commits
Gah, nasty accident :-(
2018-01-18 13:44:54 +01:00
Florian Müllner
7de28858e1 WIP: Disable places-menu extension
For whatever reason it prevents the classic session to come up?!
2018-01-18 13:26:15 +01:00
Florian Müllner
8881fbcc9d classic: Fix "Clear All" button readability 2018-01-18 13:26:15 +01:00
Florian Müllner
3b5a1486de auto-move-windows: Track apps' windows instead of window creation
We currently track window creation to decide whether the new window
should be moved or not. In order for this to work, the window must
already have been matched to the correct application, which is only
the case when the properties used for app matching were supplied
during window creation.

This is usually the case on X11, but never on wayland. To avoid this
issue altogether, stop listening for raw window creations, and instead
track when a window is added to an application we are interested in.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/33
2018-01-18 13:26:15 +01:00
Florian Müllner
0721ed6504 auto-move-windows: Cache app configuration in map
While reading the configuration, processing it and iterating over the
configured apps to find a match isn't terribly expensive, but caching
the configuration in a map does save a bit of work, and makes for much
cleaner code in findAndMove().

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/33
2018-01-18 13:26:15 +01:00
Florian Müllner
ec98cff9d9 auto-move-windows: Minor style cleanups
Use camelCase for variable names, call the first index variable 'i'
instead of 'j', and fix some whitespace errors.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/33
2018-01-18 13:26:15 +01:00
Florian Müllner
9ecd6bbb13 auto-move-windows: Remove unused imports
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/33
2018-01-18 13:26:15 +01:00
Florian Müllner
3b6cd04a59 auto-move-windows: Do not copy checkWorkspaces() method
When overriding an upstream method, copying the original method code
should always be a last resort, as the two code bases tend to get
out of sync and it often becomes hard to spot the modifications done
by the override. Both those issues can be avoided when figuring out
a way to split out the modifications and call the unmodified upstream
method - we are in luck with our checkWorkspaces() override, as we
can trick the upstream method into not removing workspaces we want
to keep instead of copying the method altogether.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/33
2018-01-18 13:26:15 +01:00
Florian Müllner
3284fe81d7 places-menu: Don't force dispose() of uninitialized proxies
Trying to dispose a proxy object before it has been properly
initialized triggers an "uncatchable exception", which gjs
treats as a fatal error since commit c7bdcaab4. We only have
anything to clean up once the proxy is initialized anyway, so
don't force dispose() before that.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/44
2018-01-17 22:48:45 +01:00
Florian Müllner
39274f286c places-menu: Minor style tweak
Reindent function parameters to fit the old-fart 80-character limit
for better readability.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/44
2018-01-17 22:48:31 +01:00
Florian Müllner
eba3cfccfe build: Include UUID suffix in classic mode description
The shortnames we use elsewhere don't match the actual UUID, so we
effectively don't enable any extensions in classic mode at the moment.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/45
2018-01-17 19:04:48 +01:00
Florian Müllner
f5c69cbfdc build: Fix generated classic session definition
The list of enabled extensions should be an array of strings, so add
quotes instead of just dumping the extension names into the file.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/45
2018-01-17 19:04:37 +01:00
Florian Müllner
c668392462 build: Install schema overrides for classic mode
This was lost accidentally when porting to meson.

https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/45
2018-01-17 19:04:22 +01:00
Florian Müllner
22e416c09b window-list: Fix icons not showing for some windows on wayland
On wayland, the properties that are used for application matching
are generally set after the window has been created, so it is
normal that buttons start with the fallback icon. While we already
track the properties that are relevant for app matching, our signal
handler may run before the window is matched to its app.

Make sure the WindowTracker gets to process those signals first by
using connect_after() for our own handlers.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/10.
2017-12-25 10:29:20 +01:00
Iñigo Martínez
9dc183af23 build: Fix description of the enable_extensions option
The description of the `enable_extensions` was wrong since it
changed to the `array` type, because the extension separator
is now a comma instead of space.
2017-12-20 17:41:24 +01:00
Iñigo Martínez
6a0a247668 build: Use the new array type
meson 0.44 features a new option type called `array` that allows
more than one string to be passed.

This feature fits perfectly the `enable_extensions` option needs,
so it has been changed to be an `array` type. the option has not
been limited to a set of choices to avoid duplication.
2017-12-20 10:41:30 +01:00
Florian Müllner
2aaf4370b6 meta: Update description note for reporting bugs
We no longer take bugs in bugzilla.
2017-12-01 21:04:02 +01:00
Florian Müllner
ba27cc4a64 cleanup: Get rid of Lang.bind()
After replacing Lang.Class with ES6 classes and adopting arrow notation
for anonymous callbacks, we only use the Lang module to bind `this` to
named callbacks. However since ES5, this functionality is already provided
by Function.prototype.bind() - in fact, Lang.bind() itself uses it when
no extra arguments are specified.

So just use the built-in function directly instead of the wrapper.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
2017-12-01 20:50:52 +01:00
Florian Müllner
acb44de469 cleanup: Port GObject classes to ES6 classes
GJS added API for defining GObject classes with ES6 class syntax
last cycle, use it to port the remaining Lang.Class classes to
the new syntax.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
2017-12-01 20:50:52 +01:00