19209 Commits

Author SHA1 Message Date
Марко Костић
b4e949b834 Update Serbian translation
(cherry picked from commit 3ff31accf8dec46dfb448654fc2be9b41db94ec9)
2024-11-02 05:15:36 +00:00
Bilal Elmoussaoui
715b47bddc Adapt to renamed Clutter threading functions
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3501>
2024-10-30 08:38:41 +01:00
Artur S0
bab37d3286 Update Russian translation 2024-10-28 14:12:57 +00:00
Nathan Follens
e5d85e722a Update Dutch translation
(cherry picked from commit c19783fb3bc948ee5f8c5790bd61590f8b1caa13)
2024-10-27 22:36:13 +00:00
Bilal Elmoussaoui
c3cd21cc16 texture-cache: Add missing cairo include
As the indirect include has been moved in Mutter.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3527>
2024-10-23 22:17:10 +02:00
Vasil Pupkin
7c6e286282 Update Belarusian translation 2024-10-22 14:22:07 +00:00
Florian Müllner
30f99e11c1 shell/plugin: Stop implementing plugin_info()
The hook would be optional if anything called `meta_plugin_get_info()`,
except that nothing has done so for the last ten years.

It seems a bit pointless to export information that is completely
unused, in particular as we never updated it ("version 0.1"?!),
so just stop doing that.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3524>
2024-10-22 10:57:36 +00:00
Sebastian Keller
50434f0138 st/theme-node-drawing: Don't skip square top left inset shadow corners
When the inner radius of the top left corner is 0, the corresponding arc
does not get drawn, resulting in a path going from the bottom left
corner to the top right corner when the path is closed.

Fix this by always including a line_to from the bottom left to the top
left corner.

Fixes: dde13b30c ("st/theme-node-drawing: Trace the correct path for inset box shadows")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7996
2024-10-21 22:17:35 +02:00
Florian Müllner
86be4e31a6 build: Use SPDX identifier for license field
SPDX has become the established standard for expressing FLOSS
licenses, and is what meson itself strongly recommends for the
license field.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3521>
2024-10-21 10:57:21 +00:00
Bilal Elmoussaoui
38cca6279c docs: Port various parts to gi-docgen annotations
So they properly show up in the docs.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3518>
2024-10-21 10:25:45 +00:00
Florian Müllner
a79d517c12 build: Stop using appstream-util for metainfo validation
Everything, including flathub[0], should be using appstreamcli
now, so stop supporting the old tool as well.

[0] https://docs.flathub.org/blog/improved-build-validation

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>
2024-10-21 10:18:05 +00:00
Florian Müllner
7405f7c360 build: Do not require appstream-util for metainfo version check
appstream-util is deprecated in favor of appstreamcli. The new tool
does not have a `validate-version` command, so implement the check
in directly in the check-version.py script.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>
2024-10-21 10:18:05 +00:00
Bilal Elmoussaoui
fd8d923a34 Adapt to exposed CoglSnippetHook
It was exposed few cycles back, so get rid of the duplicated type.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3519>
2024-10-21 12:03:23 +02:00
Fabio Tomat
e091cccec8 Update Friulian translation 2024-10-20 21:23:57 +00:00
Emilio Sepúlveda
d60bdc95fa Update Interlingua translation 2024-10-19 23:55:26 +00:00
Aefgh Threenine
7b598e6de8 Update Thai translation 2024-10-19 03:11:30 +00:00
Florian Müllner
bf848a629a build: Rename meson_options.txt to meson.options
The name is a bit cleaner, and has been the preferred option(!)
since meson 1.1.

Mutter recently updated the name, so follow suite.

The meson version bump shouldn't be an issue, given that several
hard dependencies like mutter and glib already require higher
versions.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3515>
2024-10-18 17:22:04 +02:00
Florian Müllner
5b26b75137 style: Also restore padding for all password entries
Quoting Sam:
  "It is meant to be a general property of password entries
  (same as on .run-dialog-entry) and should be restored harder also."

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3514>
2024-10-18 14:42:16 +02:00
Florian Müllner
e8265c17dc style: Restore password entry width harder
Commit ee0538807 restored the fixed password entry width, but only
for entries nested under .prompt-dialog-password-layout. That
does not include the network secret dialog, so go back to the
original styling prior to commit 8d065b558e where the width
is set for all password entries, and the mount operation overrides
it with a more specific rule.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3514>
2024-10-18 12:20:59 +00:00
Aefgh Threenine
37b6f242a8 Update Thai translation
(cherry picked from commit bc82a0fa165c92a18bc16552315f30c360e23fcf)
2024-10-18 06:23:55 +00:00
Florian Müllner
ee05388071 style: Restore password entry width
Commit removed the fixed width that is used by polkit/keyring
prompts, with the result that the entries now start at their
natural size, and grow as text is entered.

Restore the original behavior, but nest the style under
.prompt-dialog-password-layout (polkit/keyring) to better
differentiate it from entries under ..prompt-dialog-password-grid
(mount operations).

Fixes: 8d065b558e ("style: Clean up dialogs stylesheet to fix layout issues")
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3511>
2024-10-17 19:39:23 +02:00
Martin
ecdb062a4a Update Slovenian translation 2024-10-16 21:40:50 +00:00
Sam Hewitt
37e5b31408 style: Saner padding and margins in notification headers
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7920
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3486>
2024-10-16 16:52:41 +00:00
Lukáš Tyrychtr
3bd68fcfd7 bluetooth: When the placeholder is shown, announce it when reaching the toggle
Previously, the menu would be just empty, without any indication why.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3485>
2024-10-16 16:47:09 +00:00
Lukáš Tyrychtr
4b04fc49b5 bluetooth: Name the device items for a11y
By doing that, they're finally announced by a screen reader.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3485>
2024-10-16 16:47:09 +00:00
Sam Hewitt
8d065b558e style: Clean up dialogs stylesheet to fix layout issues
- remove unnecessary dialog type-specific padding, spacing and margin definitions that led to layout to problems
- bump the size of user avatar in authentication dialog
- nest css classes in the sass to better reflect the structure of dialog elements
- sync style of audio device selector with switcher-popup style
- sync text and padding styles with other elements
- fix incorrect button order in audio selection dialog

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7876
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3473>
2024-10-16 16:41:40 +00:00
Florian Müllner
c52ac4baa8 tests: Add extensionUtils unit test
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>
2024-10-16 16:16:08 +00:00
Florian Müllner
74dcf99ea5 extensionSystem: Split out loadExtensionMetadata()
There is no need for sharing the functionality, but moving
the code into extensionUtils allows adding unit tests for it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>
2024-10-16 16:16:08 +00:00
Florian Müllner
0188c453b9 extensionUtils: Include arrays and objects in serialization
We currently only handle simple types when (de)serializing,
which means we miss keys like "shell-version" and "session-modes".

While there is no immediate use for those, handing arrays and
objects will allow to support the newly added "donate" metadata
in the Extensions app in the future.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/6575

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3379>
2024-10-16 16:16:08 +00:00
Bilal Elmoussaoui
ad0e2c940b st: Use macros to generate type boilerplate
Also mark certain types as final when they are not meant to be used
externally

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3506>
2024-10-16 17:37:43 +02:00
Bilal Elmoussaoui
31119228a8 st/focus-manager: Mark as final type
Nothing can derive this type. Also squeeze in a macro usage for cleanup

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3508>
2024-10-16 12:29:19 +00:00
Bilal Elmoussaoui
7aee2ca854 st: Remove useless HAVE_CONFIG
That doesn't exists anymore

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>
2024-10-16 13:50:52 +02:00
Bilal Elmoussaoui
5cbd847c84 Prefer using pragma once
Similar to what we did in mutter

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3507>
2024-10-16 13:17:45 +02:00
Bilal Elmoussaoui
aa0f2c4915 Use NULL for nick/blurb in GObject params
As they are only used by gstreamer for gst-inspect & other tools.
Projects like Mutter/gtk have completely dropped them as well, so follow
their path

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3505>
2024-10-16 10:19:41 +00:00
Guacamolie
91a9409b1d js: Update Meta.KeyHandlerFunc arguments
The Meta keybinding API now exposes the Clutter event to GJS, which was
previously hidden due to it being a gpointer. Since this moves the
binding argument one argument to the right on the GJS side, any code
that was using the binding argument needs to be updated.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3502>
2024-10-15 17:12:45 +00:00
Florian Müllner
8694f891ad windowMenu: Add context to screenshot action
The string "Take Screenshot" is used both by the action in the
window menu and the screenshot/recording toggle in the UI.

However in some languages, it would be best to use different
strings for the two use cases.

Address this by adding context to the window menu string, so
it can be differentiated from the string in the screenshot UI.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7979
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3503>
2024-10-15 16:02:24 +00:00
Florian Müllner
33e1d42820 ci: Use project include type where possible
No need to pull in templates from the same gitlab instance via
http.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3504>
2024-10-15 17:25:08 +02:00
Florian Müllner
fb58ceb4c5 status/keyboard: Always released held keyboard after activating source
As the keyboard is released asynchronously after setting the ibus
engine, there's a possibility that the `this._reloading` property
changed in the meantime.

To ensure that `holdKeyboard()` and `releaseKeyboard()` are correctly
paired, record the condition in a local variable so that it maintains
its value in the callback.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>
2024-10-15 15:06:36 +00:00
Florian Müllner
0a3c12f8d6 status/keyboard: Fix execution order when activating source
When commit ce89b15bb123d made the code async, it did not only
delay releasing the keyboard until after the engine has been
updated, but also the following code that updates the current
input source.

One result is that the current source is now initialized later,
which breaks any code that relies on the source being set.

This affects the login screen in particular (which uses different
`InputSourceSettings` than the regular session): It fails to come
up entirely if the OSK is enabled.

To fix the issue, use a .then() callback to release the keyboard,
instead of blocking all following code with await.

Fixes: ce89b15bb1 ("ibusManager: Use async await instead of callbacks")
Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7912
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3476>
2024-10-15 15:06:36 +00:00
Bogi Napoleon Wennerström
e106822004 Add Faroese translation
(cherry picked from commit f68111275143423df1d0a70d54f31347b8891d66)
2024-10-15 06:15:39 +00:00
Sundeep Mediratta
5309f747fa slider: Consider text direction when handling arrow keys
Currently the right arrow key always increases the slider value,
even in RTL locales where the slider itself increases leftwards.

Fix that, so that the arrow keys always correspond to the
direction of the slider.

Closes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7963

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3500>
2024-10-12 11:06:24 +00:00
Florian Müllner
ab46e89171 Ignore meson-wrap subprojects
Both gvc and jasmine-gjs use a subproject wrap, so we never want to
check in the checked out sources.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3499>
2024-10-09 11:36:15 +00:00
Florian Müllner
ae58a827b9 tools/toolbox: Skip install step with --dist
The dist command only needs an up-to-date build directory, it
does not require the project to be installed first.

While the install step is generally quick, leaving the container
file system alone can save a rebuild after the dist is done
(for instance when testing a branch, then temporarily switching
to the release branch for dist).

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>
2024-10-09 11:30:16 +00:00
Florian Müllner
1b8f67055b tools/toolbox: Small refactor
Handing the various options to different meson commands in meson-build
gets a bit tedious. Instead of handling them all on the toplevel,
split out *_command() functions that generate the commandline for
the corresponding meson command.

That way, options are handled locally where they matter, which
makes future changes and additions a bit easier.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>
2024-10-09 11:30:16 +00:00
Florian Müllner
4bd13f2228 ci: Improve install-meson-project usage output
Most of the options require a parameter, indicate that in the
usage output.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3497>
2024-10-09 11:30:16 +00:00
Fabio Tomat
b815f1ac5b Update Friulian translation 2024-10-07 15:03:25 +00:00
Athmane MOKRAOUI
cefaf63a4a Update Kabyle translation 2024-10-07 08:40:17 +00:00
Athmane MOKRAOUI
0f923a6a2d Update Kabyle translation 2024-10-06 15:31:41 +00:00
Athmane MOKRAOUI
1076bac5da Update Kabyle translation 2024-10-06 14:00:38 +00:00
Marco Trevisan (Treviño)
368a685717 extensionSystem: Catch and log session update errors
If sessionUpdated() fails we get a js failure but not information about
where the actual problem was, so catch for error properly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3495>
2024-10-03 18:07:47 +02:00