1355 Commits

Author SHA1 Message Date
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
Florian Müllner
48399d46c0 cleanup: Port non-GObject classes to ES6 classes
ES6 finally adds standard class syntax to the language, so we can
replace our custom Lang.Class framework with the new syntax. Any
classes that inherit from GObject will need special treatment,
so limit the port to regular javascript classes for now.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
2017-12-01 20:50:46 +01:00
Florian Müllner
30e7ff5a8f cleanup: Use method syntax
Modern javascript has a short-hand for function properties, embrace
it for better readability and to prepare for porting to ES6 classes.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
2017-12-01 20:50:28 +01:00
Florian Müllner
968ae427f1 cleanup: Use arrow-notation for anonymous functions
Arrow notation is great, but as we only started using it recently,
we currently have a wild mix of Lang.bind(), function() and () => {}.
To make the style consistent again, change all anonymous functions
to arrow notation.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
2017-12-01 20:40:32 +01:00
Florian Müllner
4ee30a5445 cleanup: Replace tabs with spaces
Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
2017-12-01 20:38:38 +01:00
Florian Müllner
d3bbeb1b0c cleanup: Fix some coding style issues
Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/30
2017-12-01 20:38:38 +01:00
Florian Müllner
9d5b149428 ci: Add initial gitlab continuous integration
Continuous integration is good, in particular when used before
merging a change to master as allowed by gitlab. And now that
we enabled some basic syntax checking of source files, we even
have something useful to test for ...

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/32
2017-12-01 20:30:48 +01:00
Florian Müllner
b90c99b87c build: Optionally syntax-check sources
As a pure javascript project, building is really just a glorified
copy operation, so success doesn't even indicate that sources are
syntactically correct (a.k.a. "compile-tested"). We can at least
get some minimal testing by performing some basic syntax checking
when SpilderMonkey's JS shell is available.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/32
2017-12-01 18:58:17 +01:00
Florian Müllner
ba38019049 build: Remove autotools support
Complete the switch to meson and drop autotools support ...

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/31
2017-12-01 17:43:21 +01:00
Florian Müllner
406f4cd170 docs: Update instructions for extension additions for meson
The steps for adding a new extension are clearly different in meson,
so update the instructions accordingly. Don't bother with keeping
the existing autotools steps - supporting both build systems in
parallel is just temporary, autotools is on its way out.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/31
2017-12-01 17:43:21 +01:00
Florian Müllner
a2c63a46d3 build: Add utility script to export zip files
We currently do have some Makefile magic to export zip files suitable
for uploading to extensions.gnome.org. As this is not easily replicated
in meson, add a small non-magic script for the same purpose.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/31
2017-12-01 17:41:07 +01:00