Evan Welsh
e48ff53a78
extensions: Port app to ESM
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499 >
2023-08-05 22:16:23 +02:00
Evan Welsh
64aa871a8a
js: Add JSDoc to exported functions and fix incorrect JSDoc formatting
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499 >
2023-08-05 22:16:23 +02:00
Florian Müllner
f0ba468664
extensions-app: Stop setting VERSION in config
...
We set it because it was referenced by (here unused) code
in ExtensionUtils. This changed in commit 4a0b0e26c7
, so
stop setting it.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2844 >
2023-07-23 15:36:10 +02:00
Florian Müllner
27ffc37668
extensions-app: Style development window
...
Libadwaita includes a standard style class to distinguish
nightly/development versions from regular instances, but
we never to around applying it.
Do that now.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2841 >
2023-07-13 15:33:06 +00:00
Florian Müllner
c67614b522
extensions-app: Include a non-fake Config
...
We currently include a fake config.js file to satisfy the indirect
import from ExtensionUtils. However we're about to need to pass
build-time information into the program ourselves, so generate
a proper file.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2841 >
2023-07-13 15:33:06 +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
Florian Müllner
80ac32a268
extensions-app: Port to ESM
...
The extensions app is another part of the code base that is largely
separate from the main code base, and can therefore be ported to
ESM before the big switch.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2786 >
2023-06-21 13:26:42 +02:00
Christopher Davis
1d1e2b2313
window: Move search button to the start
...
Matches AdwPreferencesWindow.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802 >
2023-06-18 21:33:06 -04:00
Christopher Davis
382434103c
window: Port to AdwToolbarView
...
Applications should use AdwToolbarView going forward to contain
their headerbar and content.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802 >
2023-06-18 20:55:38 -04:00
Christopher Davis
55ae4c0806
window: Port to AdwApplicationWindow
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2802 >
2023-06-18 20:53:30 -04:00
Martin Zurowietz
9e5dfa2221
extensions-app: Extend build instructions
...
Related to #6575
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2799 >
2023-06-13 21:44:53 +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
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
sunflowerskater
2d00320a4b
general: Rename "application" to "app"
...
Several places in Shell use the word "application". However,"app"
is a more common term nowadays, so update strings accordingly.
https://gitlab.gnome.org/Teams/Design/initiatives/-/issues/123
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6202
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2614 >
2023-02-07 14:46:28 +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
637ee7386e
js: Use async D-Bus wrappers
...
After porting the more complex cases - in particular those that
affect a module's API - we are left with straight-forward D-Bus
method calls that can be moved to promise-based wrappers in one
go.
For consistency, this also switches from Remote to Async where
the call result is ignored.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2344 >
2022-08-01 18:51:14 +00:00
Florian Müllner
a3dc9817f2
extensions-app: Use new add_action_entries() override
...
g_action_map_add_entries() is a C convenience API that isn't
introspectable, but gjs recently added a JS override for it.
Use it to save some boilerplate.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2371 >
2022-08-01 13:03:32 +02:00
Christopher Davis
9d47062c32
extensions-app: Use apps.gnome.org as website
...
apps.gnome.org provides a more user-friendly overview of
the Extensions app than linking to the source code.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2373 >
2022-07-13 17:10:25 -04:00
Christopher Davis
f7b817a6a0
extensions-app: Port about to AdwAboutWindow
...
libadwaita has a new About window, and GNOME apps are expected
to use it going forward instead of GtkAboutDialog.
Comments are meant to be detailed, and are no longer shown in the
main view. So we remove the old comments.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2373 >
2022-07-13 17:08:25 -04:00
Florian Müllner
06d17d6d67
build: Specify check kwarg in run_command
...
Meson now warns that the default will change in a future version,
so set it explicitly to maintain the existing behavior (and shut
up the meson warning).
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2350 >
2022-07-11 14:21:58 +00: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
Simon McVittie
7f4f328a7f
Specify API versions for all public GIR APIs, except GLib
...
If one of these libraries breaks its GIR API in future, then upgrading
packages unrelated to gnome-shell might pull in the newer version,
causing gnome-shell to crash when it gets a newer GIR API that is
incompatible with its expectations. For example, this seems to be
happening in Debian testing at the moment, when GNOME Shell 41.4
imports GWeather and can get version 4.0 instead of the version 3.0 that
it expected.
Adding explicit API versions at the time the newer version is released
is too late, because that will still let the newer version of the GIR API
break pre-existing GNOME Shell packages. Prevent similar crashes in
future by making the desired versions explicit.
This is done for all third-party libraries except GLib, similar to the
common practice in Python code; if GLib breaks API, then that will be
a disruptive change to the whole GLib/GObject ecosystem, regardless.
Gvc, Meta, Shell, Shew, St are not included because they're private
(only exist in a non-default search path entry).
Clutter and Cogl *are* included, because we need to import the fork of
them that comes with Meta, as opposed to their deprecated standalone
versions.
Signed-off-by: Simon McVittie <smcv@debian.org>
Bug-Debian: https://bugs.debian.org/1008926
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2261 >
2022-04-04 17:55:25 +01: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
Romain Vigier
eef77abe5b
extensions-app: Update screenshots with the latest design
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
1087a0f6c1
extensions-app: Update authors list
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
77bd26fe07
extensions-app: Enable/disable an extension by activating the row
...
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
859ded5790
extensions-app: Remove extension row revealer
...
Make all the actions (open website, open preferences, remove extension) and
information (description, version number) readily available.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
db39b792c2
extensions-app: Change lists style class to .boxed-list
...
The previous `.content` style class is deprecated.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Romain Vigier
bd82a335f3
extensions-app: Move headerbar content to the main view
...
With the new borderless style of libadwaita, the global switch in the headerbar
did not look good. Moving it to the main view is the opportunity to also move
the content of the information popover.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2114 >
2022-02-12 14:51:30 +00:00
Florian Müllner
a1dd1b25d8
js: Use templates for non-translatable strings
...
This reverts commit 9d941f8202
and replaces all additional
instances of .format() that have been added since.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2160 >
2022-02-12 12:29:52 +00:00
Florian Müllner
5442266f28
js: Simplify promisify() calls
...
If the finish function isn't specified, promisify will now try
to use the async name without '_async'/'_begin' suffix (if any)
and '_finish' appended.
Everything except IBus uses a variation of that pattern, so there's
quite a bit of boilerplate we get to remove…
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2174 >
2022-02-11 16:24:01 +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
Romain Vigier
ab5977713b
extensions-app: Use AdwPreferencesPage and AdwPreferencesGroup
...
Give consistent styling and sizing to extensions lists.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
1359cedc00
extensions-app: Vertically center updates bar text
...
With the new stylesheet, the text is too close to the bar border.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
e0f2674d8b
extensions-app: Replace empty views with AdwStatusPage
...
AdwStatusPage provides consistent styling for empty views.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
35b26229bc
extensions-app: Use .content
class for lists
...
Since the `.content` class comes with its own separators, we
don't need the property `use-separators` on the list.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Romain Vigier
ec0ee7eaec
extensions-app: Use .heading
class for headings
...
Don't hardcode headings styling.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:47 +01:00
Florian Müllner
f0754431bf
extensions-app: Use Adw.Application's automatic style loading
...
Now that we switched to AdwApplication, we can automate loading
the custom stylesheet by simply using the expected name and
resource prefix.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 15:50:43 +01:00
Romain Vigier
891978b4eb
extensions-app: Use AdwApplication
...
Initialize libadwaita, which loads the libadwaita stylesheet
and allow following the dark style preference of the system.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1997 >
2022-01-05 14:33:35 +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
00e5f40ddd
build: Use meson's gnome.post_install()
...
... instead of the external script.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2077 >
2021-12-23 15:52:21 +00:00