Commit graph

2415 commits

Author SHA1 Message Date
Ray Strode
c4ced2a2d7 Merge branch 'use-fallback-image-if-bgrt-is-not-supported' into 'master'
Use fallback image if BGRT is not supported

See merge request plymouth/plymouth!125
2020-12-07 22:39:07 +00:00
Marius Meisenzahl
3ed2a1a92c Use fallback image if BGRT is not supported 2020-12-07 22:39:07 +00:00
Brian Murray
53c83cc8d6 client: Don't wait forever for a ping reply
In the event that plymouthd is not responding the plymouth client will
wait forever when sending a ping to the daemon.

This commit introduces a timeout of 30 seconds to better cope with a
hung plymouthd process.

(Some small changes to original patch by Ray Strode)

https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/130
2020-10-28 10:07:27 -04:00
Ray Strode
03e7789503 Revert "Don't wait forever for a ping reply."
This reverts commit 55902cedde
2020-10-28 14:00:22 +00:00
Ray Strode
a3798ec4c5 Merge branch 'timeout-on-pings' into 'master'
Don't wait forever for a ping reply.

See merge request plymouth/plymouth!124
2020-10-26 19:54:16 +00:00
Brian Murray
55902cedde Don't wait forever for a ping reply.
In the event that plymouthd is not responding the plymouth client will wait
forever when sending a ping to the daemon. Instead of waiting forever timeout
after a while.

https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/130
2020-10-26 20:13:20 +01:00
Rafael Fontenelle
1253f7a2cb Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (7 of 7 strings)

Co-authored-by: Rafael Fontenelle <rafaelff@gnome.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/pt_BR/
Translation: plymouth/master
2020-09-25 13:29:46 +02:00
Charles Lee
bb2a3fbdd8 Translated using Weblate (Chinese (Simplified))
Currently translated at 71.4% (5 of 7 strings)

Co-authored-by: Charles Lee <lchopn@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/zh_CN/
Translation: plymouth/master
2020-09-25 13:29:43 +02:00
Yuri Chornoivan
1f0846089c Translated using Weblate (Ukrainian)
Currently translated at 100.0% (7 of 7 strings)

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/uk/
Translation: plymouth/master
2020-09-25 13:29:39 +02:00
Piotr Drąg
23cafb1a08 Translated using Weblate (Polish)
Currently translated at 100.0% (7 of 7 strings)

Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/pl/
Translation: plymouth/master
2020-09-25 13:29:36 +02:00
Oğuz Ersen
97ef6c3d48 Translated using Weblate (Turkish)
Currently translated at 100.0% (5 of 5 strings)

Co-authored-by: Oğuz Ersen <oguzersen@protonmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/tr/
Translation: plymouth/master
2020-09-25 13:29:33 +02:00
Hans de Goede
20778f2efa Merge remote-tracking branch 'weblate/master' into master
Merge weblate updated/generated .po files from:
https://translate.fedoraproject.org/projects/plymouth/master/
into master
2020-09-21 15:30:28 +02:00
Weblate
bec341ae2d Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/plymouth/master/
Translation: plymouth/master
2020-09-20 14:53:12 +02:00
Ray Strode
f28deaefdc Merge branch 'wip/fix-client-disconnect-crash' into 'master'
boot-server: Handle client disconnecting while trigger pending

See merge request plymouth/plymouth!123
2020-09-18 20:53:01 +00:00
Ray Strode
9f89239367 boot-server: Handle client disconnecting while trigger pending
At the moment if a client disconnects while the daemon is completely
an asynchronous request, the daemon crashes trying to access a freed
connection object.

This commit changes the boot server code to keep the connection object
alive after the client disconnects, if there's pending work to do.

https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/125
2020-09-18 20:48:59 +00:00
Ray Strode
104d83d5f5 boot-server: Ref count the connections
This commit adds reference counting to ply_boot_connection_t.

This will be needed by a subsequent commit to fix a crasher bug.
2020-09-18 20:48:59 +00:00
Ray Strode
5ee1aa665e Merge branch 'update-l10n' into 'master'
Update translations

Closes #87

See merge request plymouth/plymouth!85
2020-09-16 17:16:23 +00:00
Rafael Fontenelle
85b72d61e5 Update translations from Zanata
Download latest translations from Fedora Zanata
2020-09-16 17:12:11 +00:00
Hans de Goede
15d80bd115 Merge branch 'drm-usermode' into 'master'
drm: Honor modes selected by the user through video= kernel cmdline argument

See merge request plymouth/plymouth!84
2020-09-16 16:57:41 +00:00
Hans de Goede
8dba434b2d NL translation update 2020-09-15 09:45:35 +02:00
Hans de Goede
18f87e81aa drm: Honor modes selected by the user through video= kernel cmdline argument
Before this commit we would skip preferred-mode selection if a video=
kernel cmdline is argument, instead relying on the kernel to have activated
all the outputs and then we would inherit those modes.

But this relies on fbcon having initialized the outputs, which it does not
do when deferred-fbcon-takeover is used. Deferred-fbcon-takeover is
necessary for flickerfree boot, so this is now the default in many distros.

Instead of relying on the kernel having setup everything for us, honor
the video= mode selection by checking for modes with a DRM_MODE_TYPE_USERDEF
flag before checking for modes with a DRM_MODE_TYPE_PREFERRED flag.

Note that the DRM_MODE_TYPE_USERDEF flag is only ever set based on a
video= argument. So on systems without a video= argument on the kernel
cmdline nothing changes.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2020-09-15 09:45:35 +02:00
Ray Strode
9a55f5866e Merge branch 'patch-mismatched-monitors' into 'master'
use resolution of higher res monitor for window size

Closes #122

See merge request plymouth/plymouth!121
2020-08-24 14:51:52 +00:00
Kayran Schmidt
b2bf5d5cc9 use resolution of higher res monitor for window size 2020-08-23 11:24:48 +00:00
Hans de Goede
8176dc59b7 Merge branch 'translations-set-locale' into 'master'
Enable translations by having the init calling setlocale

See merge request plymouth/plymouth!120
2020-08-08 09:27:35 +00:00
Sebastien
f33e2014a8 Initialize the translations on start if they are available
setlocale was already called on filesystem mounting but that's not enough
to cover all the cases. The call needs to be conditional because doing it
at a time where the locales are not available (in the initrd) would
result in translations to not be working.
2020-08-07 16:51:35 +02:00
Ray Strode
6465e779c6 Merge branch 'master' into 'master'
Use the correct key name for title and subtitle

See merge request plymouth/plymouth!119
2020-08-01 00:47:24 +00:00
Sebastien
66bf171eae Use the correct key name for title and subtitle
The '_' was removed in the conversion to use gettext
2020-07-31 14:45:46 +00:00
Ray Strode
ab986a9582 autogoo: use /proc/self/fd/0 instead of /dev/stdin
The symlink isn't available in some sandboxes:

99bf64efdc (note_860312)
2020-07-09 09:34:36 -04:00
Ray Strode
e3a2cb9566 configure: bump to 0.9.6 2020-07-08 16:48:19 -04:00
Ray Strode
60c8359f2b Merge branch 'ci' into 'master'
Add CI pipeline for Plymouth

See merge request plymouth/plymouth!48
2020-07-08 20:01:28 +00:00
Emmanuele Bassi
d4741329c4 Apply suggestion to .gitlab-ci.yml 2020-07-08 19:20:46 +00:00
Emmanuele Bassi
f76485a560 ci: Add a distcheck step
We want to ensure that the CI is "release ready".
2020-07-08 19:20:46 +00:00
Emmanuele Bassi
9b485f6655 Add CI pipeline for Plymouth
We can use GitLab's CI/CD support to run a build.
2020-07-08 19:20:46 +00:00
Ray Strode
480f3e6daa Merge branch 'drop-intltool' into 'master'
Drop intltool

See merge request plymouth/plymouth!117
2020-07-08 19:20:30 +00:00
Ray Strode
e5baa1a4c5 configure: quiet a warning
I really don't like autogoo
2020-07-08 15:14:40 -04:00
Ray Strode
6114e48404 po: drop intltool usage
gettext can do most everything intltool can do anyway, so just
drop intltool.
2020-07-08 15:12:54 -04:00
Ray Strode
1e36e303e0 Merge branch 'docs-man-page-xref' into 'master'
docs: fix man page cross-reference

See merge request plymouth/plymouth!116
2020-05-30 13:07:50 +00:00
Jan Pokorný
a0d3f52551
docs: fix man page cross-reference 2020-05-30 13:51:47 +02:00
Ray Strode
23afdeb212 Merge branch 'not-a-percentage' into 'master'
Rename 'percent_done' to 'fraction_done'

See merge request plymouth/plymouth!111
2020-05-01 15:29:49 +00:00
Daniel van Vugt
6e8542f95f Rename 'percent_done' to 'fraction_done'
Because they are not percentages but fractional values in the range [0,1]
2020-04-21 13:38:21 +08:00
Ray Strode
14e91cc8d2 Merge branch 'optional-theme' into 'master'
main: Don't bail out of load_settings if "Theme" is missing

See merge request plymouth/plymouth!109
2020-04-18 12:40:50 +00:00
Daniel van Vugt
3a4b35b69f main: Don't bail out of load_settings if "Theme" is missing
Because on some systems (like Ubuntu with its alternatives) the "Theme="
line will be missing from plymouthd.defaults. And bailing out early was
causing other settings like DeviceTimeout to never be loaded, which would
then cause the graphics renderers to fail.
2020-04-17 17:27:12 +08:00
Ray Strode
6ca4b5b24d Merge branch 'wip/close-the-log' into 'master'
main: switch log file when switching mode

See merge request plymouth/plymouth!102
2020-04-07 13:28:48 +00:00
Laurent Bigonville
702fd05feb main: fix mode changing before splash is shown
At the moment switching modes affects two aspects of how plymouth
runs.

1) What log file is opened (i.e., boot.log or no log file at all)
2) What type of splash gets shown (the details of which are relegated
   to the individual splash plugins)

The mode change handler has a check in place to avoid changing the
type of splash getting shown in the event no splash is supposed to
be shown yet.  This check just makes the function return without
doing anything.

Unfortunately, the check is placed at the top of the function, so
it runs before the log file is changed.

This commit moves the check lower down, so the log file gets properly
updated when the mode is changed.
2020-04-07 09:22:02 -04:00
Ray Strode
5cb1ad3af5 main: switch log file when switching mode
plymouthd can be run in various modes, for, e.g., boot up,
shutdown, and software upgrades.

The mode plymouthd is using can be changed at runtime.

The "boot" mode keeps a log of the console messages that
happen during boot up.  At the moment, when changing from
the "boot" mode to any other mode, the log file is kept
open.

That open file can cause problems during shutdown.

This commit makes sure the log file is properly closed when
the mode is changed from boot to another mode.

https://gitlab.freedesktop.org/plymouth/plymouth/issues/88
2020-04-07 09:19:44 -04:00
Ray Strode
8c42f8e1ff Merge branch 'fix-99' into 'master'
two-step: Center message text within labels if labels are centered

Closes #99

See merge request plymouth/plymouth!103
2020-04-06 18:23:46 +00:00
Daniel van Vugt
7a63f395d3 two-step: Center message text within labels if labels are centered
This makes a difference when you start rendering multiple lines in
a single label. For a single line label you won't see any difference.

Closes: https://gitlab.freedesktop.org/plymouth/plymouth/-/issues/99
2020-04-06 18:23:40 +00:00
Ray Strode
451aad42ea Merge branch 'master' into 'master'
Added Indonesian translation

See merge request plymouth/plymouth!107
2020-04-06 18:20:51 +00:00
Andika Triwidada
1d6c2feec4 po: add Indonesian translation 2020-04-06 18:20:51 +00:00
Hans de Goede
e31c81f984 Merge branch 'drm-probe-speedups' into 'master'
drm/kms probe speedups

See merge request plymouth/plymouth!101
2020-03-25 19:27:11 +00:00