19209 Commits

Author SHA1 Message Date
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
Alessandro Bono
27878aa096 animationUtils: 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 is marked as disabled. Take this into account when
adjusting the animation time.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>
2024-09-06 13:01:39 +00:00
Alessandro Bono
a52a931fb1 environment: Adjust optional delay parameter
All timing parameters should take the `slow-down-factor` and
`enable-animations` settings into account, but the delay parameter
of property/adjustment animations was forgotten.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>
2024-09-06 13:01:39 +00:00
Alessandro Bono
91ae7de3ad environment: Make more explicit what are the default values
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2986>
2024-09-06 13:01:39 +00:00
Martin Abente Lahaye
a2c789ddb7 ci: Limit sysext-build jobs to x86_64_v3 runners
We have recently bumped GNOME OS baseline to x86_64_v3 and
this caused issues with x86_64_v2 runners.

See https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1665

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3464>
2024-09-06 08:05:49 -04:00
Sundeep Mediratta
39a3da654d ibusManager: Simplify code and logic for setEngine()
Reword names, functions and refactor code to make code execution logic
simpler to understand.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>
2024-09-05 13:09:38 +02:00
Sundeep Mediratta
961ca226bd keyboard: Replace oskCompletion setter with public method
The underlying value only changes asynchronously, which makes a
setter a bit awkward, so replace it with a public async function.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>
2024-09-05 13:09:38 +02:00
Sundeep Mediratta
2975afaf1d ibusManager: Change return value of setCompletionEnabled()
The return value currently indicates whether the request was
successful, namely `setCompletionEnabled(false)` will return
`true` if completions were successfully disabled.

However the only caller that uses the value uses it to indicate
whether completions were enabled.

Given that nothing else uses the value, change the meaning to
match the caller, and indicate whether completions are enabled
after the call returns.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>
2024-09-05 13:09:38 +02:00
Sundeep Mediratta
ce89b15bb1 ibusManager: Use async await instead of callbacks
Code that uses async/await is often easier to follow than callbacks, in
particular as part of the code is already async.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3439>
2024-09-05 13:09:38 +02:00
Balló György
8af1a1dfb9 metainfo: Add URL to contribute
See: https://gitlab.gnome.org/GNOME/Initiatives/-/issues/51

# Conflicts:
#	subprojects/extensions-app/data/metainfo/org.gnome.Extensions.metainfo.xml.in

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3374>
2024-09-04 13:11:46 +00:00
Fran Dieguez
31591727c4 Update Galician translation 2024-09-02 21:25:44 +00:00
Thore Sommer
cdf0e5fc6e status/network: Add user permissions to new wifi connections
When creating a new NM connection they are by default system connections. A
user cannot create them if they don't have the correct polkit permissions
(org.freedesktop.NetworkManager.settings.modify.system).

If a user tried to add a new connection in the drop down menu, then they got
no password prompt and NM logged the following:
[...] audit: op="connection-add-activate" pid=1872 uid=1000 result="fail" \
reason="Insufficient privileges"

This change adds the current user to the user permissions for the new
connection, if the user has no permissions to modify the system connections,
which copies the behavior of GNOME Settings.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3462>
2024-09-02 21:01:35 +00:00
Aurimas Černius
2e659472f6 Update Lithuanian translation 2024-09-02 19:39:47 +00:00
Alessandro Bono
5445b705f1 authPrompt: Allow to set a custom ShellUserVerifer
Move ShellUserVerifier creation to its own function so that
extensions can easily override it.

Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7828
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3446>
2024-09-02 10:43:24 +00:00
Daniel Mustieles
3b862b40c4 Update Spanish translation 2024-09-02 09:43:14 +00:00
Alexander Shopov
da27b29f64 Update Bulgarian translation 2024-09-02 08:35:57 +00:00
twlvnn kraftwerk
378311df90 Update Bulgarian translation
(cherry picked from commit 4b3bc8f1cc21f04137419ef972c201354dcd3273)
2024-09-02 08:27:35 +00:00
Irénée THIRION
64256a36e5 Update French translation 2024-09-02 07:17:13 +00:00
Aefgh Threenine
dbe80f1fd1 Update Thai translation 2024-09-02 06:38:47 +00:00
Florian Müllner
092fd6334d
Bump version to 47.rc
Update NEWS.
2024-09-01 13:53:34 +02:00