Florian Müllner
8a01141e7d
extensions-tool/create: Create schema template
...
When creating an extension with --settings-schema, rather than
just adding a corresponding entry in the metadata, generate the
gschema boilerplate as well.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2889 >
2023-08-26 17:10:28 +00:00
Florian Müllner
a9740d1a79
extensions-tool/create: Add --settings-schema flag
...
Like with the gettext domain, the GSettings schema ID can be
picked up from the metadata, so allow setting it via an
optional CLI flag.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2889 >
2023-08-26 17:10:28 +00:00
Florian Müllner
8b9d8d7bb8
extensions-tool/create: Add --gettext-domain flag
...
Our convenience API considers a `gettext-domain` field in the
metadata, so it makes sense for `gnome-extensions create` to
allow setting it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2889 >
2023-08-26 17:10:28 +00:00
Florian Müllner
aaa9cb88b9
extensions-tool: Add quick settings template
...
Extending quick settings has become popular enough to justify a
template.
Add a small indicator+quick-item example that exercises the
previously added API.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2894 >
2023-08-20 02:06:24 +02:00
Carlos Garnacho
412fad5643
Bump version to 45.beta.1
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2882 >
2023-08-11 01:22:08 +02:00
Florian Müllner
add49bcba1
Bump version to 45.beta
...
Update NEWS.
2023-08-08 12:36:03 +02:00
Evan Welsh
b81beece36
extensions: Port templates to ESM
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499 >
2023-08-05 22:16:23 +02:00
Florian Müllner
348a8e49fe
extension-tool: Use Extension base class in templates
...
The Extension/Preferences classes are where we will focus for
future extension convenience API, so developers should be
encouraged to use them as entry points.
Adjust the existing templates to do that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2838 >
2023-07-30 10:29:44 +03:00
Florian Müllner
393d9df375
extensions-tool: Adjust templates
...
Extensions are now loaded as modules, so adjust the templates
accordingly.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2795 >
2023-07-06 18:41:29 +00:00
Florian Müllner
0c6c45d426
Bump version to 45.alpha
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2817 >
2023-07-06 19:23:10 +02:00
Evan Welsh
1e9b906cbc
js: Split gi imports to be on new lines to prepare for ES modules
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2794 >
2023-06-21 04:50:33 -07:00
Florian Müllner
679fb5a11e
subprojects/extensions-tool: Support stylesheet variants
...
Now that extensions can provide dark/light variants of their
stylesheet, pick up those files automatically when packaging
an extension.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2324 >
2023-05-26 18:30:39 +02:00
Florian Müllner
b0ca64e777
Bump version to 44.1
...
Update NEWS.
2023-04-24 10:26:56 +02:00
Florian Müllner
6398ee8dc5
subprojects: Stop running meson without subcommand
...
Invoking meson with no command is deprecated in favor of
`meson setup`.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2712 >
2023-04-20 15:59:55 +00:00
Florian Müllner
43401b9d44
extension-tool: Set reminder for removing old compat code
...
GSettings schemas are now compiled at install time, so it is no
longer necessary to include the compiled schema in the archive.
However the `gnome-extensions pack` command hasn't been adjusted,
so that it can still be used to produce valid archives for all
supported versions.
To not let that code linger forever, error out when building
a version where GNOME 44 is the oldest supported release.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2639 >
2023-03-19 19:26:55 +00:00
Florian Müllner
b6a7cac28f
Bump version to 44.0
...
Update NEWS.
2023-03-19 11:58:32 +01:00
Florian Müllner
c4f36eefd6
Bump version to 44.rc
...
Update NEWS.
2023-03-06 18:37:38 +01:00
Florian Müllner
0dda7b524b
Bump version to 44.beta
...
Update NEWS.
2023-02-14 16:09:12 +01:00
Andy Holmes
1670b948c4
extensions-tool: Compile GSettings schemas after install
...
Extensions may soon stop shipping compiled GSchemas, so ensure the
schemas are compiled after install, as with GNOME Shell.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2638 >
2023-02-13 00:01:08 +00:00
Florian Müllner
007778880b
extension-tool: Fix falling back to GSettings
...
When we switched the tool to the public Extensions service, the
fallback to GSettings broke in the case GNOME is installed but
not running (because the service can be autostarted, albeit it'll
fail later).
Fix this by also falling back when we don't get a response from
gnome-shell.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6127
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2552 >
2023-02-03 17:23:42 +00:00
Evan Welsh
56beb6ff2b
extensionUtils: Add DISABLING and ENABLING extension states
...
Extensions can export asynchronous enable() and disable()
functions. To guard against re-entrancy when enabling or
disabling an extension, this commit adds two new states:
ENABLING and DISABLING which are set immediately prior
to calling enable() and disable() respectively.
This commit updates the extensions CLI and Extensions app
with new strings for these states.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2364 >
2022-12-01 12:59:32 +00:00
Florian Müllner
8b00255cc3
Bump version to 43.1
...
Update NEWS.
2022-11-04 11:19:53 +01:00
Florian Müllner
0bd73b79a6
Bump version to 43.0
...
Update NEWS.
2022-09-17 18:37:59 +02:00
Florian Müllner
316dc289f2
Bump version to 43.rc
...
Update NEWS.
2022-09-04 15:18:09 +02:00
Florian Müllner
0d2af8e29b
Bump version to 43.beta
...
Update NEWS.
2022-08-10 20:01:34 +02:00
Florian Müllner
022359f55b
Bump version to 43.alpha
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2376 >
2022-07-10 14:18:49 +02:00
Florian Müllner
bc533af73f
Bump version to 42.1
...
Update NEWS.
2022-05-05 22:56:53 +02:00
Florian Müllner
44b4b02c3f
Bump version to 42.0
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2239 >
2022-03-12 22:43:13 +01:00
Florian Müllner
c2bc101ff4
Bump version to 42.rc
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2232 >
2022-03-07 15:49:29 +01:00
Florian Müllner
7dab3667a7
Bump version to 42.beta
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2182 >
2022-02-14 21:07:17 +01:00
Florian Müllner
869560e054
extensions-tool: Request missing attribute
...
g_file_enumerator_iterate() requires an enumerator that was created
with standard::file.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2121 >
2022-01-22 13:05:30 +00:00
Florian Müllner
330894f84a
Bump version to 42.alpha
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2095 >
2022-01-10 19:20:59 +01:00
Florian Müllner
65450a836e
build: Drop incorrect positional arg
...
Unlike other targets that take a name, i18n.merge_file() does not.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2078 >
2021-12-23 18:43:25 +00:00
Florian Müllner
daf729de11
build: Replace deprecated meson functions
...
Replace deprecated functions with their direct replacements:
- dep.get_pkgconfig_variable() → dep.get_variable()
- prg.path() → prg.full_path()
- source/build_root() → project_source/build_root()
In one case we need meson.global_source_root() that was only
added in meson 0.58, so bump the requirement to that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2077 >
2021-12-23 15:52:21 +00:00
Florian Müllner
09ed1c533c
extensions-tool/prefs: Log D-Bus errors
...
We currently ignore any error that may occur when calling the
OpenExtensionPrefs D-Bus method. Right now such an error is highly
unlikely, given that we already checked that we are running under
gnome-shell and the extension in question exists and has prefs.
We'll soon make sure that only one dialog is shown at any time,
which is an error that we can realistically expect, so handle that
properly.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4564
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2013 >
2021-10-30 21:50:47 +00:00
Florian Müllner
79f448958b
extensions-tool: Add missing newline
...
Unlike g_warning() and friends, g_printerr() does not append
a trailing newline.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4564
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2013 >
2021-10-30 21:50:47 +00:00
Florian Müllner
0bf515eb10
Bump version to 41.0
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1981 >
2021-09-19 12:47:55 +02:00
Florian Müllner
72e3e60411
Bump version to 41.rc.1
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1976 >
2021-09-07 15:15:11 +02:00
Florian Müllner
743044291d
Bump version to 41.rc
...
Update NEWS.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1971 >
2021-09-05 09:35:45 +02:00
Florian Müllner
06c4929493
subprojects: Use meson compile to generate translations
...
... for the same cosmetic reasons as the previous commit.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1937 >
2021-08-24 08:18:26 +00:00
Florian Müllner
ea6433b2cb
extensions-tool: Remove GNOME Software reference from man page
...
It no longer manages extensions.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1956 >
2021-08-22 19:25:34 +00:00
Florian Müllner
aec128fdee
Bump versiont to 41.beta
...
Update NEWS.
2021-08-18 01:10:41 +02:00
Florian Müllner
1deb13e1aa
extensionUtils: Add gettext convenience helpers
...
We have initTranslations() for binding an extension's
gettext domain, but nothing to help with using gettext
from an extension.
Such help would be useful though, as an extension that
calls textdomain() like a normal application would
inadvertently changes the default domain for the whole
gnome-shell process.
Instead, extensions have to use domain-specific versions
of the gettext functions:
```js
const Gettext = imports.gettext.domain('my-extension');
const _ = Gettext.gettext;
```
Make this a bit easier by adding those functions directly
to the extensions object when initTranslations() is called,
then expose helper functions for calling them.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2594
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1941 >
2021-08-14 18:45:25 +00:00
Leleat
f8cd01c6dc
extension-tool: Always print extension location after its creation
...
The extension location was only printed, if there was no handler for
the newly created extension. This is confusing for new extension
developers. So always print the extension location.
Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2515 .
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1856 >
2021-05-25 18:30:25 +00:00
Florian Müllner
fe466fafce
Post-release version bump
2021-05-14 16:54:06 +02:00
Florian Müllner
bf6d668cab
Post-release version bump
2021-03-20 13:40:49 +01:00
Florian Müllner
55323e44af
Post-release version bump
2021-03-15 16:23:45 +01:00
Florian Müllner
fe4fa1d2b0
extension-tool/create: Update for new versioning scheme
...
The "shell-version" field generated by the create command still
uses the old even/odd schema instead of the new "alpha", "beta"
etc. one.
Do that now, and also drop the different behavior for stable/unstable
releases (that is, always use only the major number, i.e. "40").
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3787
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1719 >
2021-02-26 23:06:43 +01:00
Florian Müllner
5cd7434abd
Post-release version bump
2021-02-23 00:22:58 +01:00
Florian Müllner
ec0d8e3a72
extensions-tool: Remove menu arrow from extension template
...
We stopped putting arrows into the top bar, so we shouldn't encourage
new extensions to still do that.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1618 >
2021-02-01 11:40:03 +00:00