Iain Lane
cc2a2ca153
Finalise changelog
debian/3.31.92-1
2019-03-06 15:45:15 +00:00
Iain Lane
2307b639dd
New upstream release
2019-03-06 15:41:51 +00:00
Iain Lane
1e0ea36a81
Update upstream source from tag 'upstream/3.31.92'
...
Update to upstream version '3.31.92'
with Debian dir d20ac803ed
2019-03-06 15:39:48 +00:00
Iain Lane
b70059ac4d
New upstream version 3.31.92
upstream/3.31.92
2019-03-06 15:39:47 +00:00
Florian Müllner
e7e6b882a3
Bump version to 3.31.92
...
Update NEWS.
3.31.92
2019-03-05 06:07:01 +01:00
Florian Müllner
53f92f2910
Update sass submodule
2019-03-05 06:05:05 +01:00
Florian Müllner
a26380d56e
user-theme: Clarify some code
...
Commit 2582ab accidentally pointed out that the current theme loading code
obfuscates which directories are searched for themes. Rewrite it with modern
JS features to make it more obvious.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:18 +01:00
Florian Müllner
ab334d95e0
Revert "User theme: compatibility with XDG Base Directory"
...
We already handled themes in XDG_DATA_HOME before commit 2582ab
by prepending it to the system dirs.
This reverts commit 2582ab4fd0 .
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
7e5726e632
apps-menu: Promisify marking file as trusted
...
Use async/await to make nested operations easier to read.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
95b40069bf
apps-menu: Remove unnecessary check
...
The function is always called with an array parameter (albeit it may
be empty), so remove the unnecessary check and cut down on indentation.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
bd9f1cfd91
apps-menu: Avoid deep nesting
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
81548ced69
native-window-placement: Clarify some code
...
Add some intermediate variables for better legibility.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
a378e5fc34
placesDisplay: Promisify launching
...
Use async/await to make nested async operations easier to read.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
56d19ad480
placesMenu: Add early return to reduce indentation level
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
a071685c13
auto-move-windows: Clarify some code
...
Apply some tricks to align column numbers with their corresponding
values for better legibility.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
599428d292
auto-move-windows: De-duplicate row appending
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
1f1f9664a6
cleanup: Share unmount/eject arugments
...
Besides the callback, eject and unmount share the same arguments.
Make this explicit by sharing the common arguments between branches.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
fb039c0fb5
cleanup: Use Meta.MaximizeFlags.BOTH
...
This shorthand has been around for a long time, use it make (un)maximize
code more readable.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/60
2019-03-04 19:35:10 +01:00
Florian Müllner
6e63edd737
lint: Sync with gjs
...
Some of our custom rules have been upstreamed[0], update the
rule sets accordingly.
[0] https://gitlab.gnome.org/GNOME/gjs/merge_requests/272
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/59
2019-03-03 05:54:58 +01:00
Florian Müllner
55ecd3939e
ci: Switch to extension-ci image
...
gnome-shell now provides a docker image with useful tools for extension CI;
as it contains everything we need, we can speed up CI by not running the
package manager.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/58
2019-02-28 23:54:46 +01:00
Florian Müllner
d83d6e857a
style: Use single-quotes for translated strings
...
The coding style of using double quotes for translatable strings
and single quotes otherwise is unnecessarily complex and cannot
be enforced with an eslint rule.
Simply use single quotes consistently for all strings.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/57
2019-02-28 23:29:31 +01:00
Florian Müllner
db35d7ae7c
style: Change indentation style of object literals
...
Instead of keeping the first property on the same line as the opening
brace and aligning the properties, use a four-space indent. This brings
us closer to gjs' coding style, and as a bonus helps keeping lines in
the soft 80 character limit.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/57
2019-02-28 23:29:24 +01:00
Florian Müllner
d34b5030b9
style: Use a consistent style for array literals
...
Most array literals already use a four-space indent, except the ones in
GObject metainfo and function parameters. Reindent those as well to make
the style consistent and bring it closer to gjs' coding style.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/57
2019-02-28 23:29:14 +01:00
Florian Müllner
7f8f1234ae
style: Stop using braces for single-line arrow functions
...
Braces are optional for single-line arrow functions, but there's a
subtle difference:
Without braces, the expression is implicitly used as return value; with
braces, the function returns nothing unless there's an explicit return.
We currently reflect that in our style by only omitting braces when the
function is expected to have a return value, but that's not very obvious,
not an important differentiation to make, and not easy to express in an
automatic rule.
So just omit braces consistently as mandated by gjs' coding style.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/57
2019-02-28 23:29:05 +01:00
Florian Müllner
9b25a227c6
style: Don't exempt ternary expressions from indent rule
...
It turns out we can comply with gjs' coding style and still align the
branches if line breaks are required, so do that to reduce diversion
from the canonical GNOME style.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/57
2019-02-28 23:28:55 +01:00
Florian Müllner
78580bc3a8
lint: Remove unused rules
...
We picked those up from Polari, which had those for
- object arrays:
let foo = [
{ bar: 42,
quz: true },
{ bar: 23,
quz: false }
];
- "enums":
let Options = {
ONE: 0,
TWO: 1,
THREE: 2
};
We don't have either of those, so drop the rules to minimise divergence
with gjs.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/57
2019-02-28 23:28:44 +01:00
Florian Müllner
b50074fd37
lint: Restrict deprecated Lang API
...
Now that we moved to ES standard replacements, let's make sure they
don't creep back in accidentally.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/57
2019-02-28 23:28:33 +01:00
Florian Müllner
d5a1044244
Bump version to 3.31.91
...
Update NEWS.
3.31.91
2019-02-21 22:41:20 +01:00
Florian Müllner
11cad1f3b3
Update sass submodule
...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/56
2019-02-21 22:23:52 +01:00
Iain Lane
4e1250a6ba
Finalise changelog
debian/3.31.90-1
2019-02-21 10:33:13 +00:00
Iain Lane
56d2852004
Update changelog
2019-02-21 10:15:11 +00:00
Iain Lane
3fa8edcb1a
rules: alternate-tab is dropped; stop trying to enable it
2019-02-21 10:15:11 +00:00
Iain Lane
edb14ea03c
New upstream release
2019-02-21 10:08:47 +00:00
Iain Lane
a2f554bc1e
Update upstream source from tag 'upstream/3.31.90'
...
Update to upstream version '3.31.90'
with Debian dir f0ccfd59b6
2019-02-21 10:08:47 +00:00
Iain Lane
eb567c1120
New upstream version 3.31.90
upstream/3.31.90
2019-02-21 10:08:46 +00:00
Iain Lane
a289bbfb93
debian/watch: Watch for unstable releases
2019-02-21 10:08:08 +00:00
Tomasz Gąsior
2582ab4fd0
User theme: compatibility with XDG Base Directory
...
See https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/55
2019-02-20 01:15:49 +01:00
Gun Chleoc
5a06de606d
Update Scottish Gaelic translation
...
(cherry picked from commit c394dbefba216e685fb01c4268c7bb0db93728ff)
2019-02-16 09:34:54 +00:00
Florian Müllner
4671c24b78
places-menu: Stop using deprecated Mainloop module
...
Just use the underlying GLib functions directly.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/54
2019-02-16 00:49:44 +01:00
Florian Müllner
0d41643866
cleanup: Use destructuring for imports from GI
...
This is *much* nicer than repetitive "imports.gi" lines ...
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/54
2019-02-16 00:49:44 +01:00
Florian Müllner
d8f7d70c10
apps-menu: Remove outdated legacy-tray handling
...
The tray is long gone, so trying to access it will result in
warnings.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/53
2019-02-16 00:40:55 +01:00
Florian Müllner
cbd981351e
ci: Check for issue/MR URLs in commit messages
...
Commit messages should include the full URL to an issue or merge
request to keep associated information easily available in future
log digging.
Jonas came up with a script to enforce that policy for mutter and
gnome-shell. It's an excellent idea, so adopt it here as well.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/52
2019-02-16 00:03:49 +01:00
Matej Urbančič
434185ba03
Added Slovenian translation
2019-02-12 20:52:31 +01:00
Florian Müllner
abc8877d11
Update sass submodule
2019-02-07 17:44:44 +01:00
Florian Müllner
a7ff9f401e
Bump version to 3.31.90
...
Update NEWS.
3.31.90
2019-02-06 22:34:06 +01:00
Florian Müllner
bab4be1a59
extensions: Drop Convenience library
...
Its methods are now provided by gnome-shell itself and can be used
as an easy drop-in replacement.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/44
2019-02-06 20:17:59 +01:00
Florian Müllner
47beeb1a8e
ci: Allow gradual switch to new style
...
It doesn't make too much sense to declare parts of the existing style
"legacy", but then enforce it via CI. To allow for a gradual switch,
generate a report with all issues that eslint considers errors in both
configurations.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
2019-01-28 06:51:36 +01:00
Florian Müllner
945eddbc26
ci: Add "source_check" stage
...
More testing is always good, and the static analysis that eslint
provides goes well beyond what js60 offers, so run it as part of
the CI.
This will also ensure that new contributions comply with the style
rules we have set up.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
2019-01-28 06:51:30 +01:00
Florian Müllner
c37ba0878a
ci: Don't use global image/before_script
...
We are about to add another job that will use different parameters,
so it makes sense to set them under the job they belong to rather
than globally.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
2019-01-28 06:51:25 +01:00
Florian Müllner
3861ffae31
extensions: Mark exported symbols
...
eslint obviously doesn't know about gnome-shell's extension API, so
the various entry points trigger unused-variable errors. To fix,
explicitly mark those symbols as exported.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/50
2019-01-28 06:51:20 +01:00