19478 Commits

Author SHA1 Message Date
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
Bilal Elmoussaoui
9b58704c5d build: Replace cogl-pango with pango dependency
As CoglPango will be merged with Clutter and GNOME Shell
only uses Pango directly, so depend on that instead

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3494>
2024-10-02 22:54:59 +02:00
Robert Mader
fa3124568c build: Disable asserts and cast checks
For non-debug and non-plain cases - i.e. mainly release builds - in
order to mirror Mutter.

One advantage of doing this is that it allows us to use non-trivial
asserts more generously, such as calling `g_list_length()`.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3099>
2024-10-02 08:56:23 +00:00
Florian Müllner
35f6056504 extensions-tool: Remove reference to compiled schemas
Since GNOME 44, schemas are compiled at install time, and the tool
stopped including compiled schemas in GNOME 46.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3490>
2024-10-01 15:02:19 +00:00
Brage Fuglseth
cdc665014f Update Norwegian Bokmål translation 2024-10-01 07:06:45 +00:00
Andrew Zaech
7fe05f6bc9 popupSwitchMenuItem: Emit correct switch state with toggled signal
The toggled signal was incorrectly emitting the pspec instead of the switch state.

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

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3493>
2024-09-29 22:43:15 +00:00
Daniel van Vugt
dde13b30c7 st/theme-node-drawing: Trace the correct path for inset box shadows
Previously we just copied the outer path and scaled it down, but that
resulted in an inconsistent thickness at the corners because the pivot
points for the arcs also moved inward.

So now we trace the inset path explicitly to maintain the correct
thickness (spread) around all the corners.

The spec actually mentions you need to do it in section 6.1 [1]:

> Note that for inner shadows, expanding the shadow (creating more
> shadow area) means contracting the shadow’s perimeter shape.

Despite the fact the example diagram gets it wrong in section 6.1.1 [2],
it does then follow with more confirmation that the shadow radius should
be reduced:

> To preserve the box’s shape when spread is applied, the corner radii
> of the shadow are also increased (decreased, for inner shadows) from
> the border-box (padding-box) radii by adding (subtracting) the spread
> distance (and flooring at zero).

[1] https://www.w3.org/TR/css-backgrounds-3/#box-shadow
[2] https://www.w3.org/TR/css-backgrounds-3/#shadow-shape

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7913
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3488>
2024-09-26 19:59:22 +08:00
Mahdi Hasan
934dbe5495 Update Bengali translation 2024-09-24 17:16:54 +00:00
Lukáš Tyrychtr
9fc5396742 quick-toggle: Make the subtitle the a11y description of the toggle
By doing that, more info is read by default, like the
connected bluetooth device and likely more.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3484>
2024-09-24 12:08:47 +02:00
Florian Müllner
58f8987c07 build: Bump mutter API version
We have branched, so mutter's API version was bumped for GNOME 48.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3482>
2024-09-23 13:31:25 +02:00
Alice Mikhaylenko
8887c67503 padOsd: Don't hardcode blue color
Missed this one, since it's not set from CSS.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3480>
2024-09-23 11:23:47 +00:00
Lukáš Tyrychtr
25a2a0156e quick-slider: Do not allow focusing the icon when it's not reactive
This hides a disabled unlabeled button from the focus order in the display
brightness status indicator, and may be others.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3481>
2024-09-23 12:43:02 +02:00
Florian Müllner
dad3d71a0c ci: Adjust to dnf5 plugin changes
F41 includes dnf5, which involves changes to the config-manager
plugin.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3479>
2024-09-20 21:20:53 +02:00
Florian Müllner
c33dc64d4c ci: Bump mutter image
The image was rebased to F41, pick that up.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3478>
2024-09-20 18:36:13 +00:00
Lukáš Tyrychtr
bd81a94d2c quick-slider: Label the menu opening button
One less unlabeled button, that's good.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3477>
2024-09-20 15:30:40 +02:00
Daniel Mustieles
19cb1bdaf4 Update Spanish translation 2024-09-18 07:27:17 +00:00
Aefgh Threenine
25b41c98a8 Update Thai translation 2024-09-17 18:40:32 +00:00
Aefgh Threenine
5770f47647 Update Thai translation 2024-09-16 15:10:27 +00:00
Florian Müllner
957504b1f6
Bump version to 47.0
Update NEWS.
2024-09-14 17:17:32 +02:00
Aefgh Threenine
697f090362 Update Thai translation 2024-09-12 09:12:23 +00:00
Marco Trevisan (Treviño)
c67ea8e771 gdm: Actually wait for pending messages being notified on failures
We had code to ensure that all the queued messages sent by a PAM module
were shown by waiting some time to give the user time to read them, but
due to a typo this code never executed.

Fixes commit dd97a2589b8b686f273550f3e9e6ce370b25c10d

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3466>
2024-09-10 22:47:55 +00:00
Florian Müllner
8bbe7514c9 ci: Restrict use of "Fixes #123"
Our convention is to use "Fixes" lines for references commits
(like belated "fixups") and use "closes" for issues.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>
2024-09-10 22:40:19 +00:00
Florian Müllner
efecae897b ci: Extend "closes" rule
Gitlab also recognizes variants like "close #123" or "Closed #123".

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>
2024-09-10 22:40:19 +00:00
Peter Hutterer
535959af4d ci: Deny a plain "Closes: #123" message in the commit message
We need the full link so let's warn contributors about this instead of
having reviewers pointing this out.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3465>
2024-09-10 22:40:19 +00:00
Balázs Úr
ab20a1b11a Update Hungarian translation 2024-09-10 20:57:58 +00:00
Rūdolfs Mazurs
c5ee252a67 Update Latvian translation 2024-09-10 19:31:44 +00:00
Ask Hjorth Larsen
449a7a1303 Update Danish translation 2024-09-08 17:01:00 +00:00
Andi Chandler
8c1183dc36 Update British English translation 2024-09-08 12:25:38 +00:00
Anders Jonsson
f0f15f26db Update Swedish translation 2024-09-06 21:07:58 +00:00
Alessandro Bono
31509e55ca locatePointer: Mark the animation as required
When the accessibility option "Reduce Animation" is turned on, the
accessibility option "Locate Pointer" stops to work. This is because
the animation is not marked as required. Mark it as such.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7472
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>
2024-09-06 13:01:39 +00:00
Alessandro Bono
fc7e2bc65b ripples: Allow to specify whether the ripple is required
The ripples are used both for the "Hot Corner" animation and for the
"Locate Pointer" animation. The latter one is an accessibility feature
and should always work, even when animations are disabled. Take this
into account.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>
2024-09-06 13:01:39 +00:00
Alessandro Bono
8c7965f048 environment: Allow marking animations as required
There are cases when we want to mark an animation as required. For
example, we want the "Locate Pointer" animation to work even when
the animation as marked as disabled. Take this into account when
easing an actor.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>
2024-09-06 13:01:39 +00:00