Commit graph

3077 commits

Author SHA1 Message Date
MK73DS
64dd9df183 Add an optional HorizontalAnchor and VerticalAnchor for positioning the throbber more precicely on a wider range of displays. 2026-02-08 16:05:02 +00:00
D Scott Phillips
45655f12fa ply-keyboard: Fix hang on read of incomplete terminal control sequence
It's possible for a read from the terminal to provide a partial command
sequence, starting with the CSI ('\x1b\x5b') but not terminating with
its function character ('\x40'..'\x7e'). In that case, the input byte
handling loop would not terminate, causing plymouthd to hang both itself
and possibly completion of the boot.

Break from the input byte handling loop when an incomplete command
sequence is found so that the program does not hang. The incomplete
command sequence will remain in the input buffer so that a later
completion of the command sequence can be handled.

Fixes: b41e40e065 ("Add support for CSI sequences")
Fixes: plymouth/plymouth#321
Link: https://bugzilla.redhat.com/show_bug.cgi?id=2433079
2026-01-27 10:14:30 +01:00
n3rdopolis
94c82d86dd Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!375
2026-01-25 21:58:18 +00:00
Mate Babos
d08eb40857 Translated using Weblate (Hungarian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Mate Babos <hunorjani17@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/hu/
Translation: plymouth/main
2026-01-19 15:58:32 +00:00
Baurzhan Muftakhidinov
514169789f Translated using Weblate (Kazakh)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Baurzhan Muftakhidinov <baurthefirst@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/kk/
Translation: plymouth/main
2026-01-19 15:58:32 +00:00
n3rdopolis
6b99e31577 Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!374
2026-01-18 23:17:21 +00:00
김인수
67f610629a Translated using Weblate (Korean)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/ko/
Translation: plymouth/main
2026-01-17 13:58:23 +00:00
Hosted Weblate
d1aaa740f1 Update translation files
Updated by "Update LINGUAS file" hook in Weblate.

Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/
Translation: plymouth/main
2026-01-17 13:58:23 +00:00
Languages add-on
00f6661b0a Added translation using Weblate (Korean)
Co-authored-by: Languages add-on <noreply-addon-languages@weblate.org>
2026-01-17 13:58:23 +00:00
n3rdopolis
10316e526f Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!371
2025-12-29 14:58:33 +00:00
Omer I.S.
c4641a72e5 Translated using Weblate (Hebrew)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Omer I.S. <omeritzicschwartz@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/he/
Translation: plymouth/main
2025-12-29 03:58:22 +00:00
Hans de Goede
b7c2475dfb Merge branch 'lichangze512-main-patch-7dfc' into 'main'
systemd: fix plymouth-switch-root-initramfs.service

See merge request plymouth/plymouth!339
2025-12-22 08:37:17 +01:00
李昌泽
bd58eda078 systemd: fix plymouth-switch-root-initramfs.service
remove repeat service config
2025-12-19 14:30:55 +08:00
n3rdopolis
56ba18056c Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!370
2025-12-16 01:57:20 +00:00
Priit Jõerüüt
15549f50c3 Translated using Weblate (Estonian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Priit Jõerüüt <jrtkbfdr@users.noreply.translate.fedoraproject.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/et/
Translation: plymouth/main
2025-12-15 04:13:32 +00:00
Weblate Translation Memory
5d62b9cf67 Translated using Weblate (Estonian)
Currently translated at 100.0% (8 of 8 strings)

Translated using Weblate (Estonian)

Currently translated at 100.0% (8 of 8 strings)

Translated using Weblate (Estonian)

Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/et/
Translation: plymouth/main
2025-12-15 04:13:31 +00:00
Priit Jõerüüt
5db060a2fc Added translation using Weblate (Estonian)
Co-authored-by: Priit Jõerüüt <jrtkbfdr@users.noreply.translate.fedoraproject.org>
2025-12-15 04:13:31 +00:00
Hans de Goede
c5164794de Merge branch 'fixkeymapdisplay' into 'main'
Display the first specified XKBLAYOUT as the active one, instead of the last

See merge request plymouth/plymouth!369
2025-12-06 12:56:11 +01:00
n3rdopolis
b609687e8d Display the first specified XKBLAYOUT as the active one, instead of the last
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=2416197
This corrects the keymap display when users specify multiple keymaps
in /etc/vconsole.conf
2025-12-06 12:54:40 +01:00
n3rdopolis
3718895891 Merge branch 'fix_parse' into 'main'
key-file: ignore empty lines before the first group

Closes #307

See merge request plymouth/plymouth!364
2025-12-04 13:43:36 +00:00
Leon Marz
dfdf8ccac1 key-file: ignore empty lines before the first group
Fixes: plymouth/plymouth#307
2025-12-04 13:43:25 +00:00
n3rdopolis
9f3bb1c0b2 Merge branch 'feature/fix-freetype-hidpi' into 'main'
label-freetype: fix UAF in set_font_for_control() with hidpi

See merge request plymouth/plymouth!366
2025-12-01 15:19:51 +00:00
Ferdinand Bachmann
dcf23c0adc label-freetype: fix UAF in set_font_for_control() with hidpi (scale_factor 2)
On hidpi screens, label-freetype will trigger a use-after-free in
set_font_for_control() via the call in update_scale_factor_from_pixel_buffer().

That call passes label->font as the font parameter to set_font_for_control().
set_font_for_control() then calls strdup() on its font argument, and
frees label->font. In this case this causes font to point into freed
memory, causing a read use-after-free in the following strstr() and
strrchr() calls.

Fix the issue by only using the freshly strdup()'d new_font variable
after freeing label->font.
2025-12-01 15:05:48 +00:00
n3rdopolis
8d4f57abe2 Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!367
2025-12-01 15:05:18 +00:00
Yauhen Bugamol
37316fd814 Translated using Weblate (Belarusian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Yauhen Bugamol <bugamol@users.noreply.translate.fedoraproject.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/be/
Translation: plymouth/main
2025-12-01 15:01:23 +00:00
Aleksandr Sidorenko
ede3b24f67 Translated using Weblate (Russian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Aleksandr Sidorenko <auroragamesproject@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/ru/
Translation: plymouth/main
2025-12-01 15:01:23 +00:00
Ondrej Sulek
77a89384eb Translated using Weblate (Slovak)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Ondrej Sulek <feonsu@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/sk/
Translation: plymouth/main
2025-12-01 15:01:23 +00:00
n3rdopolis
43e57266f4 Merge branch 'fix-more-displays' into 'main'
Fix: script: Ensure Window.GetX/Y() returns 0 for correct multi-display centering

See merge request plymouth/plymouth!368
2025-12-01 14:51:36 +00:00
xinpeng wang
8d3827fc99 Fix: script: Ensure Window.GetX/Y() returns 0 for correct multi-display centering
When multiple displays of different resolutions are attached, the Plymouth script
plugin uses a virtual "max canvas" (defined by max_width and max_height) for
rendering. Individual displays calculate their offsets (display->x, display->y)
relative to this max canvas for mirroring/centering.

The script-level centering formula, as seen in example themes:
logo.sprite.SetX (Window.GetX() + Window.GetWidth() / 2 - logo.image.GetWidth() / 2);

Issue:
For the script to correctly calculate the absolute center position on the max canvas,
Window.GetX() must conceptually return the origin of the max canvas, which is 0.

However, the non-indexed implementation of sprite_window_get_x (and GetY) currently
returns the maximum calculated display offset (MAX(display->x)), which corresponds to
the offset of the smallest display. This incorrect, non-zero return value introduces
an unintended shift, pushing sprites (like the logo) off-center, and breaking the
centering logic.

Solution:
Update sprite_window_get_x and sprite_window_get_y to return the minimum calculated
display offset (MIN(display->x)). Since the largest display always has an offset of 0,
this guarantees that Window.GetX() and Window.GetY() return 0 when called without
parameters, correctly anchoring the script-calculated center position to the absolute
max canvas origin.

Signed-off-by: xinpeng.wang <wangxinpeng@uniontech.com>
2025-12-01 16:22:01 +08:00
Hans de Goede
e88c403bda Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!362
2025-10-22 15:01:23 +02:00
A S Alam
afd5c96419 Translated using Weblate (Punjabi)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: A S Alam <aalam@users.noreply.translate.fedoraproject.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/pa/
Translation: plymouth/main
2025-10-16 19:54:22 +02:00
Salvatore Cocuzza
f8e227ac59 Translated using Weblate (Italian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Salvatore Cocuzza <info@salvatorecocuzza.it>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/it/
Translation: plymouth/main
2025-10-16 19:54:22 +02:00
Arif Budiman
a19297bd74 Translated using Weblate (Indonesian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Arif Budiman <arifpedia@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/id/
Translation: plymouth/main
2025-10-16 19:54:22 +02:00
Oğuz Ersen
380374fb33 Translated using Weblate (Turkish)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/tr/
Translation: plymouth/main
2025-10-16 19:54:22 +02:00
Ettore Atalan
9606679581 Translated using Weblate (German)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Ettore Atalan <atalanttore@googlemail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/de/
Translation: plymouth/main
2025-10-16 19:54:22 +02:00
lumingzh
27d63ab829 Translated using Weblate (Chinese (Simplified) (zh_CN))
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: lumingzh <lumingzh@qq.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/zh_CN/
Translation: plymouth/main
2025-10-16 19:54:22 +02:00
naly zzwd
adab891bc5 Translated using Weblate (Catalan)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: naly zzwd <xeanhort007@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/ca/
Translation: plymouth/main
2025-10-16 19:54:22 +02:00
Matjaž Jeran
b60bfe0147 Translated using Weblate (Slovenian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Matjaž Jeran <matjaz.jeran@amis.net>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/sl/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Léane GRASSER
9f3fcc4a7d Translated using Weblate (French)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/fr/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Remus-Gabriel Chelu
3370aed9ad Translated using Weblate (Romanian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Remus-Gabriel Chelu <remusgabriel.chelu@disroot.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/ro/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Ricky Tigg
38707acf4b Translated using Weblate (Finnish)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Ricky Tigg <ricky.tigg@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/fi/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Jim Spentzos
7f55d20038 Translated using Weblate (Greek)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/el/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Daniel Rusek
5f2ba2209b Translated using Weblate (Czech)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Daniel Rusek <mail@asciiwolf.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/cs/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Anders Jonsson
efa5d880cb Translated using Weblate (Swedish)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Anders Jonsson <anders.jonsson@norsjovallen.se>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/sv/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Piotr Drąg
c699cb97d4 Translated using Weblate (Polish)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/pl/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Ahmed Najmawi
c63c384681 Translated using Weblate (Arabic)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Ahmed Najmawi <iramosu@protonmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/ar/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Temuri Doghonadze
d4516564bc Translated using Weblate (Georgian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/ka/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Yuri Chornoivan
d4355daa78 Translated using Weblate (Ukrainian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/uk/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Rafael Fontenelle
fee7cda536 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/pt_BR/
Translation: plymouth/main
2025-10-16 19:54:21 +02:00
Américo Monteiro
372a4120d9 Translated using Weblate (Portuguese)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Américo Monteiro <a_monteiro@gmx.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/pt/
Translation: plymouth/main
2025-10-16 19:54:20 +02:00