]> git.ipfire.org Git - thirdparty/plymouth.git/log
thirdparty/plymouth.git
14 years agogdm: don't do legacy gdm transition at shutdown
Ray Strode [Tue, 29 Mar 2011 17:06:28 +0000 (13:06 -0400)] 
gdm: don't do legacy gdm transition at shutdown

14 years agosystemd: change instrumentation points for systemd
Ray Strode [Tue, 29 Mar 2011 06:18:36 +0000 (02:18 -0400)] 
systemd: change instrumentation points for systemd

We don't want to enable console verbosity until the splash is up,
and we want to disable it as soon as we aren't logging the console
anymore.

14 years agoconfigure: s/text/test/
Ray Strode [Tue, 29 Mar 2011 05:04:31 +0000 (01:04 -0400)] 
configure: s/text/test/

Just a typo from the previous commit

14 years agosystemd: toggle systemd messages when toggling console redirection
Ray Strode [Tue, 29 Mar 2011 02:14:34 +0000 (22:14 -0400)] 
systemd: toggle systemd messages when toggling console redirection

Normally systemd is very mute about messages.  It's important,
though for it to be chatty when plymouth is running so we can
show verbose messages to the user when they hit escape.

This commit adds a new --enable-systemd-integration configure
flag which explicitly tells systemd when to print messages to
the console.

This may get dropped in the future in lieu of init script
changes doing this instead of plymouth directly.

14 years agomain: consolidate ply_terminal_session_detach calls
Ray Strode [Tue, 29 Mar 2011 02:36:39 +0000 (22:36 -0400)] 
main: consolidate ply_terminal_session_detach calls

It's called in several places through the code. This commit
moves it into a function and just calls that function instead.

14 years agoclient: small leak fix
Ray Strode [Sat, 26 Mar 2011 05:02:49 +0000 (01:02 -0400)] 
client: small leak fix

14 years agoutils: drop some bizarre looking code
Ray Strode [Sat, 26 Mar 2011 04:56:30 +0000 (00:56 -0400)] 
utils: drop some bizarre looking code

14 years agosplash: add new spinner theme
Ray Strode [Wed, 23 Mar 2011 16:06:39 +0000 (12:06 -0400)] 
splash: add new spinner theme

This is a very simple theme with a small spinner on a dark background.

14 years agomain: add new --kernel-command-line option
Ray Strode [Wed, 23 Mar 2011 16:04:56 +0000 (12:04 -0400)] 
main: add new --kernel-command-line option

It's really annoying when you're running plymouthd in
debug mode and don't happen to have "splash" on your kernel
command line and then need to reboot.

This commit adds a new debug option to override the kernel
command line for ths system.

14 years agoprogress-animation: fail load if there are no frames
Ray Strode [Wed, 23 Mar 2011 16:04:05 +0000 (12:04 -0400)] 
progress-animation: fail load if there are no frames

If there are no progress animation frames we need to
fail from the load function so plugins can deal with it
gracefully..

14 years agotwo-step: make progress animation optional
Ray Strode [Wed, 23 Mar 2011 15:32:14 +0000 (11:32 -0400)] 
two-step: make progress animation optional

14 years agoupstart-bridge: add new helper program
Colin Watson [Sat, 12 Mar 2011 21:31:15 +0000 (16:31 -0500)] 
upstart-bridge: add new helper program

This commit adds a new program, plymouth-upstart-bridge,
the listens for upstart state changes and sends them to plymouth,
or prints them out as appropriate.

14 years agoclient: allow reply handlers to be optional.
Colin Watson [Sat, 12 Mar 2011 21:31:15 +0000 (16:31 -0500)] 
client: allow reply handlers to be optional.

This commit lightens the hard requirement that every
client request has to have a function handling the reply.

There's really no reason to be so strict, and it makes
life easier for none /bin/plymouth clients this way.

14 years agodrm: don't light up unlit monitors
Ray Strode [Wed, 9 Mar 2011 22:22:03 +0000 (17:22 -0500)] 
drm: don't light up unlit monitors

If a monitor is dark when plymouth is started, we shouldn't
try to light it up.  There are rules on which outputs can be
attached to which controllers and we're very likely to break
those rules just assigning things willy-nilly.

The kernel should set us up in the way it thinks is best anyway.
There's no reason to second guess the kernel here.

14 years agoterminal: Keep retrying to reopen tty on EIO after hang up
Ray Strode [Fri, 4 Mar 2011 19:57:52 +0000 (14:57 -0500)] 
terminal: Keep retrying to reopen tty on EIO after hang up

If the tty hangs up on us, the kernel will return EIO while it's
closing down.  As far as I know, there's no way to get notified
when it's back up again, so just keep retrying in a loop over
the course of a second or so.  Eventually give up, though.

This is really suboptimal and suggests we should get away from
using ttys for input at some point.

14 years agoclient: do not wait forever if daemon is not started
Andrey Borzenkov [Thu, 3 Mar 2011 01:51:32 +0000 (20:51 -0500)] 
client: do not wait forever if daemon is not started

Currently plymouth --wait will wait forever if daemon is not
started. This does not look right - we were asked to wait for
daemon to stop and daemon is obviously stopped. So make it
exit right away in this case.

This avoids timeouts during systemd boot if plymouth happened to be
stopped (or never started) before plymouth-quit-wait had chance to
start.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
14 years agoterminal: apply terminal settings immediately
Ray Strode [Tue, 1 Mar 2011 22:26:16 +0000 (17:26 -0500)] 
terminal: apply terminal settings immediately

14 years agoutils: don't depend on PAGE_SIZE
Ray Strode [Mon, 28 Feb 2011 18:01:39 +0000 (13:01 -0500)] 
utils: don't depend on PAGE_SIZE

It's not defined for all architectures.

We don't really need the page size anyway, we just need a reasonably
large value.

14 years agomain: convert tab to spaces
Ray Strode [Fri, 25 Feb 2011 18:59:16 +0000 (13:59 -0500)] 
main: convert tab to spaces

14 years agotests: don't run during make check
Ray Strode [Sat, 19 Feb 2011 22:10:34 +0000 (17:10 -0500)] 
tests: don't run during make check

They aren't unit tests so running them in make check is wrong.

Eventually, I'd like them to be unit tests, though, and not
just little scratch programs.

14 years agoterminal: unlock tty before mucking with it
Ray Strode [Fri, 18 Feb 2011 18:45:55 +0000 (13:45 -0500)] 
terminal: unlock tty before mucking with it

It seems that sometimes when the tty is stolen from us
it remains locked when we get it back.  That would be okay
if the attributes were still kosher, but they aren't.

This commit unlocks the tty before trying to reinitialize
the terminal with suitable attributes.

Debugged by Andrey Borzenkov <arvidjaar@gmail.com>

14 years agoclient: clean up warnings
Ray Strode [Wed, 9 Feb 2011 20:28:00 +0000 (15:28 -0500)] 
client: clean up warnings

14 years agodrm: clean up warnings
Ray Strode [Wed, 9 Feb 2011 20:26:59 +0000 (15:26 -0500)] 
drm: clean up warnings

14 years agoframe-buffer: clean up warnings
Ray Strode [Wed, 9 Feb 2011 20:26:21 +0000 (15:26 -0500)] 
frame-buffer: clean up warnings

14 years agotwo-step: fix warnings
Ray Strode [Wed, 9 Feb 2011 20:07:03 +0000 (15:07 -0500)] 
two-step: fix warnings

14 years agospace-flares: clean up warning
Ray Strode [Wed, 9 Feb 2011 20:03:43 +0000 (15:03 -0500)] 
space-flares: clean up warning

14 years agotext: clean up warning
Ray Strode [Wed, 9 Feb 2011 20:00:31 +0000 (15:00 -0500)] 
text: clean up warning

14 years agofade-throbber: clean up warnings
Ray Strode [Wed, 9 Feb 2011 19:59:45 +0000 (14:59 -0500)] 
fade-throbber: clean up warnings

14 years agothrobgress: clean up warnings
Ray Strode [Wed, 9 Feb 2011 19:58:33 +0000 (14:58 -0500)] 
throbgress: clean up warnings

14 years agolabel: clean up warnings
Ray Strode [Wed, 9 Feb 2011 19:56:58 +0000 (14:56 -0500)] 
label: clean up warnings

14 years agomain: detach from terminal session on failure
Ray Strode [Wed, 9 Feb 2011 19:54:06 +0000 (14:54 -0500)] 
main: detach from terminal session on failure

14 years agomain: make duplicate plymouthd's a silent error
Ray Strode [Wed, 9 Feb 2011 19:47:54 +0000 (14:47 -0500)] 
main: make duplicate plymouthd's a silent error

14 years agomain: clean up warnings
Ray Strode [Wed, 9 Feb 2011 19:44:56 +0000 (14:44 -0500)] 
main: clean up warnings

14 years agoimage: clean up warning
Ray Strode [Wed, 9 Feb 2011 19:40:20 +0000 (14:40 -0500)] 
image: clean up warning

14 years agotext-progress-bar: clean up warnings
Ray Strode [Wed, 9 Feb 2011 19:39:10 +0000 (14:39 -0500)] 
text-progress-bar: clean up warnings

14 years agoregion: clean up some warnings
Ray Strode [Wed, 9 Feb 2011 19:34:52 +0000 (14:34 -0500)] 
region: clean up some warnings

14 years agoarray: clean up a warning
Ray Strode [Wed, 9 Feb 2011 19:32:43 +0000 (14:32 -0500)] 
array: clean up a warning

14 years agoevent-loop: clean up some warnings
Ray Strode [Wed, 9 Feb 2011 19:31:01 +0000 (14:31 -0500)] 
event-loop: clean up some warnings

14 years agoanimation: add debug spew
Ray Strode [Wed, 9 Feb 2011 19:20:53 +0000 (14:20 -0500)] 
animation: add debug spew

14 years agotwo-step: Add more debug spew
Ray Strode [Wed, 9 Feb 2011 19:13:21 +0000 (14:13 -0500)] 
two-step: Add more debug spew

14 years agoboot-server: improve debug output
Ray Strode [Thu, 3 Feb 2011 20:28:05 +0000 (15:28 -0500)] 
boot-server: improve debug output

We've written "could not write bytes" in many different
places.  This changes the error message to be more domain
specific.

14 years agoboot-server: fix debug output when message is from init
Ray Strode [Thu, 3 Feb 2011 19:40:43 +0000 (14:40 -0500)] 
boot-server: fix debug output when message is from init

We were always trying to show the parent process name,
but init doesn't have a parent.

This commit special cases init, since it's a special case.

14 years agodrm: reduce minimum build requirements
Lucian Muresan [Tue, 1 Feb 2011 19:05:45 +0000 (14:05 -0500)] 
drm: reduce minimum build requirements

This patch adds the respective configure options to make it possible to
disable libdrm_intel, libdrm_radeon, libdrm_nouveau, and libkms
independently from each other.

https://bugs.freedesktop.org/show_bug.cgi?id=29804

14 years agopixel-buffer: Fix overflow in blend_two_pixel_values
Martin Pitt [Fri, 14 Jan 2011 23:32:10 +0000 (18:32 -0500)] 
pixel-buffer: Fix overflow in blend_two_pixel_values

It was using 16bit types to hold the intermiediate
results of the blend, but for high intensity,
low opacity input values it could need up to
17 bits to prevent overflow.

https://bugs.freedesktop.org/show_bug.cgi?id=33129

14 years agomain: remove tty0 from list of fallback ttys
Ray Strode [Sat, 20 Nov 2010 00:35:52 +0000 (19:35 -0500)] 
main: remove tty0 from list of fallback ttys

It's not a valid fallback tty since writing to
it would create a feedback loop (since it's
redirected with /dev/console)

14 years agomain: Always translate tty0 to tty1
Ray Strode [Sat, 20 Nov 2010 00:33:34 +0000 (19:33 -0500)] 
main: Always translate tty0 to tty1

Another bug in check_for_consoles...

We can't ever write to tty0 directly, because
it is redirected (just like /dev/console).  Previously
we would translate the call to tty1, but commit

c40fd792b6edf931a6bbe2ec23518b57483a4e2f

broke that.  This commit fixes it again.

14 years agoterminal: don't rely on strlen(bytes) for write size
Ray Strode [Fri, 19 Nov 2010 20:27:12 +0000 (15:27 -0500)] 
terminal: don't rely on strlen(bytes) for write size

We're printing stuff to the terminal.  This may include
NUL bytes once in a while.  We shouldn't rely on strlen()
to determine how many bytes to write.

14 years agoboot-client: fix fallback socket support
Andrey Borzenkov [Thu, 18 Nov 2010 18:35:11 +0000 (21:35 +0300)] 
boot-client: fix fallback socket support

Commit 3ec007a4820e53aed6713620173bd997957754ec did not
properly check for success when connecting to the fallback
socket path and instead always failed.

This commit fixes the code to properly check for success and
proceed.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
14 years agoutils: if concrete/abstract socket selection
Andrey Borzenkov [Thu, 18 Nov 2010 18:35:11 +0000 (21:35 +0300)] 
utils: if concrete/abstract socket selection

Commit 9de731ed29db4670c1641aedd945c56fd1a3feed caused
plymouth to erroneously drop the leading '\0' on the old
abstract socket making fallback socket support not work.
As result new clients (after update) can no longer communicate
with old running daemons (such as from the initrd).

This commit restores the leading '\0' for both
abstract sockets, trimmed and non-trimmed.

Commit 3ec007a4820e53aed6713620173bd997957754ec did not
check for success with old socket path and failed
always. Properly check for success and proceed.

Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
14 years agomain: don't pause on crash
Ray Strode [Mon, 15 Nov 2010 19:01:50 +0000 (14:01 -0500)] 
main: don't pause on crash

plymouthd would previously pause() when crashing if debug
mode was enabled so that it could be attached to with a debugger.

pausing indefinitely during boot up is often a bad idea though.

This commit changes it to sleep 30 seconds instead.

14 years agoterminal: Don't set ISTRIP in terminal attributes
Ray Strode [Mon, 15 Nov 2010 18:56:01 +0000 (13:56 -0500)] 
terminal: Don't set ISTRIP in terminal attributes

In certain error paths plymouth would erroneously set
ISTRIP on the terminal.  This is bogus in the same way
the changes fixed by commit ea394383c54dda771dcf59e7ec11280fa945280b
were bogus.

14 years agoconfigure: move with_gdm_autostart_file=no to else clause
Ray Strode [Tue, 2 Nov 2010 20:05:39 +0000 (16:05 -0400)] 
configure: move with_gdm_autostart_file=no to else clause

doing it unconditionally seems to confuse autogoo.

14 years agoviewer: always dist desktop file
Ray Strode [Tue, 2 Nov 2010 19:23:06 +0000 (15:23 -0400)] 
viewer: always dist desktop file

Even if we aren't installing it, we still want it to get shipped
when doing "make dist"

15 years agoboot-server: don't print error when client goes away
Ray Strode [Wed, 20 Oct 2010 14:04:24 +0000 (10:04 -0400)] 
boot-server: don't print error when client goes away

Right now, anytime the server is unable to respond to a
client it puts an ugly message on the screen:

"could not write bytes: Broken pipe"

or some such.  That message isn't really useful unless you're
debugging your distribution, so change it from a ply_error to
ply_trace.

15 years agopopulate-initrd: pre-expand logofile variable
Ray Strode [Wed, 13 Oct 2010 12:26:42 +0000 (08:26 -0400)] 
populate-initrd: pre-expand logofile variable

The logofile by default is $datadir/plymouth.png

$datadir contains a reference to $datarootdir, so
we need to preexpand the variable in configure, for
the right value to get written to plymouth-populate-initrd.

15 years agopopulate-initrd: don't hardcode client and daemon path
Brett Witherspoon [Tue, 12 Oct 2010 03:05:24 +0000 (22:05 -0500)] 
populate-initrd: don't hardcode client and daemon path

When not installing in system root, the populate initrd script would not
install the client or daemon due to the paths being hardcoded.
Environmental variables are also now available to override the defaults.

15 years agoimage: replace deprecated libpng function
Brett Witherspoon [Tue, 12 Oct 2010 03:23:47 +0000 (22:23 -0500)] 
image: replace deprecated libpng function

The png_set_gray_1_2_4_to_8 function is deprecated and has been removed
from libpng14. Now png_set_expand_gray_1_2_4_to_8 is used instead which
is compatible with libpng-1.2.9 and greater.

15 years agoviewer: don't build viewer by default
Ray Strode [Mon, 11 Oct 2010 14:33:37 +0000 (10:33 -0400)] 
viewer: don't build viewer by default

The viewer is useful for seeing boot messages after boot up.
It does this by showing a notification icon in the event there
is a problem during boot.

Notification icons aren't as en vogue as they once were, however.

Ideally, we would have a more structured and semantically aware
way to deal with specific boot problems.

This commit turns the icon off by default.  It can still be built
with a --with-log-viewer

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30724
Reported By: William Jon McCann <william.jon.mccann@gmail.com>

15 years agoboot-server: make update handling asyncrhonous
Ray Strode [Thu, 7 Oct 2010 19:34:08 +0000 (15:34 -0400)] 
boot-server: make update handling asyncrhonous

This call needs to be cheap since some distros
do a ton of updates.

15 years agoutils: use system default max for listen()
Ray Strode [Thu, 7 Oct 2010 19:08:47 +0000 (15:08 -0400)] 
utils: use system default max for listen()

There's apparently a define that gives the right value to
pass to listen.  So this commit makes us use that instead of
our arbitrary "32"

15 years agolist: drop node_set_data method
Ray Strode [Thu, 7 Oct 2010 16:58:19 +0000 (12:58 -0400)] 
list: drop node_set_data method

It's not used anywhere, so drop it.

15 years agoprogress: plug small memory leak
Ray Strode [Thu, 7 Oct 2010 17:18:26 +0000 (13:18 -0400)] 
progress: plug small memory leak

We weren't freeing the message structures.

15 years agomain: NULL initialize "console" variable
Ray Strode [Thu, 7 Oct 2010 16:47:47 +0000 (12:47 -0400)] 
main: NULL initialize "console" variable

check_for_consoles is a really small function, that has historically
been loaded with bugs.

This commit fixes another bug in it, where the consoles variable is
never initialized to NULL.

15 years agobranch-merge: clean up socket name
Ray Strode [Wed, 6 Oct 2010 22:07:08 +0000 (18:07 -0400)] 
branch-merge: clean up socket name

The plymouth client talks to the plymouth daemon via
an abstract socket.  There aren't a lot of "rules" for
the name of the abstract socket, and so plymouth has just
used "/ply-boot-protocol" for the name.  While this is
perfectly valid, a number programs (hal, udev, etc) use
the convention "/org/freedesktop/program".

"/org/freedesktop/plymouthd" is certainly much nicer than
"/ply-boot-protocol" so we're going to change to that, and
fall back to the old name for compatibility.

One other niggle is trailing zeros in the name.  The socket
address is stored in a fixed size buffer.  Traditionally,
programms would pass the size of the entire socket structure,
including the full size of the aaddress buffer to bind and
connect.  This means that any NUL bytes in the address buffer
after the address become part of the address.  This means users
looking at /proc/net/unix will see all the extra NUL bytes.

One trick that some programs employee to skirt around this problem,
is to pass only the size of the structure less the trailing
NUL bytes of the address buffer to bind and connected.  While maybe
not 100% kosher, this works okay in practice.

plymouth will now use that trick as well.

15 years agoprotocol: change socket path
Ray Strode [Wed, 6 Oct 2010 22:03:25 +0000 (18:03 -0400)] 
protocol: change socket path

Before we were using

  /ply-boot-protocol\0\0\0\0...\0

for our address which really uglifies /proc/net/unix
and doesn't match what a lot of other programs do.

This commit changes the address to just

  /org/freedesktop/plymouthd

which is much nicer.

15 years agoprotocol: drop leading \0 from socket path
Ray Strode [Wed, 6 Oct 2010 21:57:34 +0000 (17:57 -0400)] 
protocol: drop leading \0 from socket path

The socket path is currently defined to be:

 #define PLY_BOOT_PROTOCOL_SOCKET_PATH "\0/ply-boot-protocol"

The \0 is because it's an abstract socket, and abstract sockets
have a leading NUL.  The code always ignores the NUL though and
adds it back later, so it's not needed.

This commit just drops it.

15 years agoutils: add support for "trimmed abstract" sockets
Ray Strode [Wed, 6 Oct 2010 21:43:50 +0000 (17:43 -0400)] 
utils: add support for "trimmed abstract" sockets

Right now plymouth listens on an abstract socket with a name
that has a bunch of trailing NUL bytes.  These zeroes uglify
the output of /proc/net/unix among other things.

This commit adds support for a new "trimmed abstract" socket
type, which drops the zeroes.

A subsequent commit will actually change plymouthd to use the
new api.

15 years agoset-default-theme: redirect to /dev/null not /null
Ray Strode [Mon, 4 Oct 2010 13:47:24 +0000 (09:47 -0400)] 
set-default-theme: redirect to /dev/null not /null

The set-default-theme script was incorrectly redirecting
stderr from a grep command to /null instead of /dev/null.

This causes a /null file to get created on the filesystem.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=30576
Reported by: David LeBlanc <leblancdw@yahoo.com>

15 years agoviewer: Add a title to the status icon
Ray Strode [Thu, 30 Sep 2010 03:08:45 +0000 (23:08 -0400)] 
viewer: Add a title to the status icon

15 years agoset-default-theme: exit 0 at bottom of file
Ray Strode [Wed, 29 Sep 2010 17:25:22 +0000 (13:25 -0400)] 
set-default-theme: exit 0 at bottom of file

This is so that if there is no --rebuild-initrd it still
exits successfully.

15 years agoterminal-session: add debug messages
Ray Strode [Sun, 26 Sep 2010 23:14:47 +0000 (19:14 -0400)] 
terminal-session: add debug messages

15 years agoterminal-session: try to continue logging after tty disconnect
Ray Strode [Sun, 26 Sep 2010 22:17:47 +0000 (18:17 -0400)] 
terminal-session: try to continue logging after tty disconnect

Currently, we give up on boot logging after a tty disconnect.
This commit makes the terminal session reattach to the tty, and
continue logging.

15 years agoterminal-session: rename "session_done" to "session_hangup"
Ray Strode [Sun, 26 Sep 2010 21:59:23 +0000 (17:59 -0400)] 
terminal-session: rename "session_done" to "session_hangup"

In truth, we can get hangups at any time during boot.  It doesn't
mean the session is done, so use better terminology.

15 years agomain: add __DATE__ to debug prolog
Ray Strode [Fri, 17 Sep 2010 01:31:24 +0000 (21:31 -0400)] 
main: add __DATE__ to debug prolog

When looking at debug logs, it's often useful to know
how old the build of plymouth featured in the log is.

15 years agomain: add plymouthd: prefix to some error messages
Ray Strode [Fri, 17 Sep 2010 01:26:38 +0000 (21:26 -0400)] 
main: add plymouthd: prefix to some error messages

This will make it clear the error messages are coming
from plymouthd and not some other component during boot.

15 years agomain: use ply_error_without_new_line for help string
Ray Strode [Fri, 17 Sep 2010 01:17:50 +0000 (21:17 -0400)] 
main: use ply_error_without_new_line for help string

It already has new lines in it.

15 years agoutils: Improve debug spew in ply_create_daemon
Ray Strode [Fri, 17 Sep 2010 01:10:01 +0000 (21:10 -0400)] 
utils: Improve debug spew in ply_create_daemon

Right now if plymouthd dies while daemonizing, we show a horrible
error message on the console:

could not read byte from child: Success

This commit mops that up, so we give a little clue why plymouthd's
child process died in its infancy.

15 years agomain: Fix up check_for_consoles
Ray Strode [Fri, 10 Sep 2010 19:43:28 +0000 (15:43 -0400)] 
main: Fix up check_for_consoles

commit c40fd792b6edf931a6bbe2ec23518b57483a4e2f was just wrong.

Attempt to fix it up to be less awful.

15 years agoutils: plug memory leak
Ray Strode [Wed, 8 Sep 2010 15:48:08 +0000 (11:48 -0400)] 
utils: plug memory leak

commit ffdfb78be1bcda708fd89faf645b582f88c6f1d5 introduced
a memory leak because of a copy-and-paste-o.

15 years agoboot-server: print who is making requests
Ray Strode [Wed, 8 Sep 2010 14:31:31 +0000 (10:31 -0400)] 
boot-server: print who is making requests

One of the big painpoints in plymouth distro integration
out which distro scripts are calling into plymouthd.

This commit makes plymouthd output that information whenever
there is a request from a connected client.

15 years agogitignore: Ignore generated script string files
Charlie Brej [Wed, 8 Sep 2010 08:57:41 +0000 (09:57 +0100)] 
gitignore: Ignore generated script string files

15 years agoscript: Add compatibility redirect for set message function
Charlie Brej [Wed, 8 Sep 2010 08:54:33 +0000 (09:54 +0100)] 
script: Add compatibility redirect for set message function

15 years agoclient: Alias display-message command to message for backward compatibility
Charlie Brej [Tue, 7 Sep 2010 22:45:31 +0000 (23:45 +0100)] 
client: Alias display-message command to message for backward compatibility

15 years agocommand-parser: Allow commands to be aliased
Charlie Brej [Tue, 7 Sep 2010 22:44:43 +0000 (23:44 +0100)] 
command-parser: Allow commands to be aliased

Adds aliases to commands which allow backward compatibility to old names.

15 years agoscript: Implement hide message function in the example script theme
Charlie Brej [Tue, 7 Sep 2010 21:22:08 +0000 (22:22 +0100)] 
script: Implement hide message function in the example script theme

This leaves ugly spaces where messages used to be, but is simple.

15 years agoscript: Add hide message support to the script plugin themes
Charlie Brej [Tue, 7 Sep 2010 21:02:03 +0000 (22:02 +0100)] 
script: Add hide message support to the script plugin themes

This also renames SetMessageFunction to SetDisplayMessageFunction, and adds
SetHideMessageFunction

15 years agomain: Inform plugins of hidden messages
Charlie Brej [Tue, 7 Sep 2010 20:49:44 +0000 (21:49 +0100)] 
main: Inform plugins of hidden messages

Informs plugins of each message that is now hidden. Later could match on
wild-cards, but plugins will get a list of exact string matches.

15 years agoboot-splash: Add "hide message" splash plugin call
Charlie Brej [Tue, 7 Sep 2010 20:45:57 +0000 (21:45 +0100)] 
boot-splash: Add "hide message" splash plugin call

No splashes use this yet.

15 years agoboot-splash: Clean up indenting and function order
Charlie Brej [Tue, 7 Sep 2010 20:32:59 +0000 (21:32 +0100)] 
boot-splash: Clean up indenting and function order

Display normal, password, quastion should be together

15 years agoboot-splash: Clean up indenting
Charlie Brej [Tue, 7 Sep 2010 20:29:11 +0000 (21:29 +0100)] 
boot-splash: Clean up indenting

15 years agomain: Remove the hidden message from the message list
Charlie Brej [Tue, 7 Sep 2010 20:25:10 +0000 (21:25 +0100)] 
main: Remove the hidden message from the message list

The plugins are not updated unless they are switched off and on again

15 years agoboot-client: Add hide-message client command
Charlie Brej [Tue, 7 Sep 2010 20:23:14 +0000 (21:23 +0100)] 
boot-client: Add hide-message client command

This renames "message" command to "display-message".

15 years agoboot-server: Add "hide message" handler to boot server
Charlie Brej [Tue, 7 Sep 2010 19:53:48 +0000 (20:53 +0100)] 
boot-server: Add "hide message" handler to boot server

Main server currently sets this to NULL to disable this callback.

15 years agoprotocol: Add "hide message" command to the protocol
Charlie Brej [Tue, 7 Sep 2010 19:35:28 +0000 (20:35 +0100)] 
protocol: Add "hide message" command to the protocol

This also renames the "message" command to "show message".

15 years agodetails: Implement display_message
Colin Watson [Tue, 7 Sep 2010 17:56:37 +0000 (18:56 +0100)] 
details: Implement display_message

Messages are queued until any question or password entry prompts
complete.

https://bugs.freedesktop.org/show_bug.cgi?id=29035

15 years agomain: Open /proc/cmdline by absolute path
Colin Watson [Tue, 7 Sep 2010 14:18:52 +0000 (15:18 +0100)] 
main: Open /proc/cmdline by absolute path

Open /proc/cmdline, not proc/cmdline.  (Technically this doesn't matter
in the daemon, since it's already done chdir ("/"), but the client does
need this and it's clearer to have them match.)

15 years agoclient: Open /proc/cmdline by absolute path
Colin Watson [Tue, 7 Sep 2010 14:18:00 +0000 (15:18 +0100)] 
client: Open /proc/cmdline by absolute path

Open /proc/cmdline, not proc/cmdline.

15 years ago[script] Add font selection argument to text to image capability
Anisse Astier [Thu, 2 Sep 2010 15:53:25 +0000 (16:53 +0100)] 
[script] Add font selection argument to text to image capability

Enables scripts to choose the font they want with a sixth argument to
Image.Text API:
new_image = Image.Text("Hello", 1, 1, 1, 1, "DejaVu Bold,Italic 18");

15 years ago[label] Add font controls to label plugins
Anisse Astier [Thu, 2 Sep 2010 15:48:20 +0000 (16:48 +0100)] 
[label] Add font controls to label plugins

15 years ago[label] Factorize some font init code
Anisse Astier [Thu, 2 Sep 2010 15:41:41 +0000 (16:41 +0100)] 
[label] Factorize some font init code