Commit graph

3092 commits

Author SHA1 Message Date
n3rdopolis
016708af97 Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!392
2026-05-01 03:17:02 +00:00
Марко Костић (Marko Kostić)
50df9eea47 Translated using Weblate (Serbian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Марко Костић (Marko Kostić) <marko.m.kostic@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/sr/
Translation: plymouth/main
2026-04-30 20:59:06 +00:00
n3rdopolis
77c6e8fd75 Merge branch 'date-order' into 'main'
generate-version: Specify options before format

See merge request plymouth/plymouth!377
2026-04-30 03:15:15 +00:00
Daniel van Vugt
037acfd532 generate-version: Specify options before format
This is strongly implied in the command line help and man page.

While GNU date doesn't care about ordering, uutils (Rust) date does
enforce the ordering (in current releases). Use the ordering suggested
by date's own documentation and supported by all implementations.

It was fixed upstream this week:
https://github.com/uutils/coreutils/issues/10972
https://github.com/uutils/coreutils/issues/10910
2026-04-30 03:12:56 +00:00
n3rdopolis
e8bfed43ad Merge branch 'esc-pwrbtn' into 'main'
allow configuring an additional key for Escape

See merge request plymouth/plymouth!381
2026-04-30 03:09:44 +00:00
Clayton Craft
50c01a0de8 allow configuring an additional key for Escape
Some devices (phones/tablets) don't have keyboards, so this allows
specifying an additional key using a new config option
(XkbExtraEscButton) that works like Esc e.g. for hiding the splash.
2026-04-30 03:05:37 +00:00
n3rdopolis
6cd04f781a Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!387
2026-04-23 02:26:18 +00:00
Марко Костић (Marko Kostić)
01b000eaab Translated using Weblate (Serbian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Марко Костић (Marko Kostić) <marko.m.kostic@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/sr/
Translation: plymouth/main
2026-04-15 12:02:08 +00:00
n3rdopolis
e72b0fa557 Merge branch 'main' into 'main'
ply-device-manager: fix build failure when udev support is disabled

See merge request plymouth/plymouth!382
2026-03-28 20:39:17 +00:00
Aaron Andersen
f1ce787644 ply-device-manager: fix build failure when udev support is disabled
The input device management functions (on_each_renderer_add_input_device,
add_input_device_to_renderers, on_each_input_device_add_to_renderer,
add_input_devices_to_renderer, on_each_input_device_remove_from_renderer,
remove_input_device_from_renderers) were placed inside the #ifdef HAVE_UDEV
block, but are called unconditionally from
create_devices_for_terminal_and_renderer_type(). This caused an
"implicit declaration" build error when udev support is disabled.

Move these functions outside the #ifdef HAVE_UDEV guard, and place the
genuinely udev-specific functions (drm_device_in_use,
fb_device_has_drm_device) into their own #ifdef HAVE_UDEV block.
2026-03-08 16:37:45 -04:00
n3rdopolis
082c606b43 Merge branch 'xkb-layout-fallback' into 'main'
ply-device-manager: fall back to default XKB keymap when no layout is configured

See merge request plymouth/plymouth!380
2026-03-08 13:21:04 +00:00
Clayton Craft
9d6a8d4358 ply-device-manager: fall back to default XKB keymap when no layout is configured
Plymouth was skipping all input devices when no XKB layout was configured.
Passing NULL to xkb_keymap_new_from_names to lets libxkbcommon use
its own defaults, so input devices are used regardless of whether
the system has a keyboard layout configured in vconsole.conf.
2026-03-07 19:35:37 +01:00
n3rdopolis
a19323257e Merge branch 'weblate-plymouth-master' into 'main'
Translations update from Fedora Weblate

See merge request plymouth/plymouth!376
2026-03-07 01:06:11 +00:00
Emir SARI
ebaceebd0a Translated using Weblate (Turkish)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Emir SARI <emir_sari@icloud.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/tr/
Translation: plymouth/main
2026-02-19 18:58:24 +00:00
twlvnn kraftwerk
b71b651a96 Translated using Weblate (Bulgarian)
Currently translated at 100.0% (8 of 8 strings)

Added translation using Weblate (Bulgarian)

Co-authored-by: twlvnn kraftwerk <kraft_werk@tutanota.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/bg/
Translation: plymouth/main
2026-02-19 18:58:24 +00:00
Marija Grineviciute
a110da00c3 Translated using Weblate (Lithuanian)
Currently translated at 100.0% (8 of 8 strings)

Co-authored-by: Marija Grineviciute <marijagrine@protonmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/lt/
Translation: plymouth/main
2026-02-19 18:58:24 +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