Charles Brej
426a4ec6f5
Update progress as soon as the splash is shown
2008-11-19 16:18:08 +00:00
Ray Strode
b0273ca055
Don't error if default.so doesn't exist
...
There are cases where we don't set a default and instead
fallback at runtime to text.so. Don't make that an error
condition.
2008-11-17 15:31:59 -05:00
Ray Strode
5d84dba994
Only tell gdm to keep vt if told to retain splash
...
See http://bugzilla.redhat.com/471785
2008-11-17 10:47:08 -05:00
Ray Strode
6d0f6de153
remove superfluous prototype
2008-11-17 09:55:18 -05:00
Ray Strode
1c18c72097
Don't loop forever when tty returns NUL bytes
...
Somehow a user was running into a case where plymouthd
would busy loop taking 100% cpu. gdb revealed that it
was stuck trying to process keyboard input. This is
apparently because we were looping forever when mbrlen()
got a NUL byte.
2008-11-17 09:55:18 -05:00
Charles Brej
6a246596e6
Tweak ply-progress to not progress too far beyond where it expects the next status update
...
This stops the progress from reaching 100% in cases such as fsck and timeouts.
It also averages the progress times from the previous one with the current one
to average out occasional slow tasks.
2008-11-17 14:41:58 +00:00
Charlie Brej
a19625a2c1
Generate background instead of using image
...
The background image previously was low resolution
and created various artifacts when being upscaled
to the native resolution of the panel. This patch
ditches the background image and instead generates
a similar type of background dynamically, custom
fit to the screen it's being displayed on. As an
added bonus, since we're doing it dynamically, we
can make some of the stars in the background
lightly twinkle.
2008-11-14 11:25:04 -05:00
Ray Strode
b038572c63
Don't reset LIB="lib" when LIB is in environment
...
It was causing scriptlet failures.
2008-11-12 16:26:16 -05:00
Charles Brej
150b41b087
Update star.png to remove a dark artifact
...
Fixes "artifact in solar plugin"
https://bugzilla.redhat.com/show_bug.cgi?id=471113
2008-11-12 11:54:49 +00:00
Ray Strode
ae66146be7
drop unused variable
2008-11-11 14:44:48 -05:00
Ray Strode
784a365711
Don't dump details on hide if already hidden
2008-11-11 14:43:42 -05:00
Ray Strode
6f5d90014f
set redirected, attached to false after tty detach
...
This makes --show-splash after --hide-splash not look
confused.
2008-11-11 14:38:45 -05:00
Ray Strode
5237f84949
Don't clear screen when tracing
2008-11-11 14:22:36 -05:00
Ray Strode
0254a231a6
Hide kernel messages for text mode splashes
...
They tend to screw up the display
2008-11-11 13:56:20 -05:00
Charlie Brej
6569d41f72
Update flares on solar plugin to be more airy
2008-11-11 13:13:00 -05:00
Ray Strode
3022a696fc
Hide splash if init=/bin/bash is on command line
...
Previously, we were just showing detailed splash,
but that causes keystrokes to get eaten.
2008-11-11 10:02:02 -05:00
Ray Strode
8eb0bee921
Add new ply_string_has_prefix function
...
New api to help with kernel command line parsing.
2008-11-11 09:48:26 -05:00
Ray Strode
b10b3f2fda
Disable fdatasync on log flush
...
It was making boot up choppy
2008-11-11 09:24:41 -05:00
Ray Strode
2910e2076b
Drop comet for now
...
Due to popular demand, we're dropping the comet.
The tail direction wasn't accurate and fixing it
made the comet look unnatural.
2008-11-10 14:33:18 -05:00
Charles Brej
517c68cde8
Generate a dynamicly animated comet in solar plugin
...
This removes the need for the comet1.png
2008-11-10 14:23:25 -05:00
Ray Strode
8baa0ca41e
Don't clear screen when hiding details plugin
2008-11-10 13:15:10 -05:00
Ray Strode
057bb4a5bf
Add some forward declarations
...
Fixes build warnings.
2008-11-10 13:15:04 -05:00
Ray Strode
283d8d0977
Rework how terminals are disconnected from tty
...
It was causing some problems on hide-splash before
that should be better now.
2008-11-10 13:12:20 -05:00
Ray Strode
e66b42a4c4
Don't abort if no splash when root is mounted
2008-11-10 11:52:59 -05:00
Jeremy Katz
218064c122
Make populate-initrd default plugin tweakable
...
It's occasionally useful to be able to specify
the which plugin to use with plymouth-populate-initrd.
2008-11-10 11:16:24 -05:00
Ray Strode
b67ba5977e
Don't log debug msgs to file with plymouth:debug
...
It creates a feedback loop. We'll need to cut
that first before we can log to boot.log.
What'd I'd like to do is have several log targets
plymouth:log=boot.log or plymouth:log=/dev/ttyS0,
or plymouth:log=/dev/tty0
2008-11-10 11:13:15 -05:00
Ray Strode
85f15f2f5e
Add more debugging statements
...
Will make it easier to catch problems.
2008-11-10 11:13:15 -05:00
Ray Strode
a739a8ecaf
Track "attached" versus "redirected" separately
...
We only want to try to attach the terminal session
to a terminal if it's not already attached. It may
be legitimately unredirected if plymouth:nolog is
passed.
2008-11-10 11:13:15 -05:00
Ray Strode
90abd28a02
Don't make hang ups on terminal fd fatal
...
We get them when redirecting the console, etc,
so let's just log them for now.
2008-11-10 11:12:29 -05:00
Charles Brej
a5bf3d00c5
Revert "Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth"
...
This reverts commit 65aae81e94 .
2008-11-08 05:58:38 +00:00
Charles Brej
e655704d7b
Revert "Generate a dynamicly animated comet in solar plugin"
...
This reverts commit c9db5adf26 .
2008-11-08 05:56:33 +00:00
Charles Brej
65aae81e94
Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth
2008-11-08 05:50:53 +00:00
Ray Strode
0e47e4c6a8
Add some function declarations to header
...
Previously they were being used without a prototype,
which was causing a compile warning.
2008-11-06 10:47:27 -05:00
Ray Strode
faeabda5f4
unredirect console messages terminal-session
...
Previously, we did it manually using the ioctl
straight from main.c. Now, there's a
ply_terminal_session_detach call that does it
for us. This allows us to detach from the terminal
during --hide-splash, and reattach during --show-splash
2008-11-06 10:44:03 -05:00
Ray Strode
aac31c33ae
Don't clear screen if in debugging mode
...
Otherwise, some of the debugging messages
get lost.
2008-11-06 10:42:00 -05:00
Ray Strode
aee59571a4
Actually hide text progress bar when it's hidden
2008-11-05 16:14:04 -05:00
Ray Strode
c799211ba9
show cursor and reset colors when hiding
...
So we need to reset colors and show cursor when
quiting but not hiding, and we also need to reset colors
and show cursor when hiding but not quiting.
2008-11-05 15:30:18 -05:00
Ray Strode
dea547274b
ignore hangups if terminal is not redirected
2008-11-05 15:28:59 -05:00
Ray Strode
b02dba2d04
Reset colors and show text cursor on remove_window
...
Now that we retain the splash on screen and don't
explicitly hide it on quit, we need to make sure
that we leave the window as we found it when we
remove the window from the splash.
2008-11-05 14:09:26 -05:00
Charles Brej
c9db5adf26
Generate a dynamicly animated comet in solar plugin
...
This removes the need for the comet1.png
2008-11-05 15:04:58 +00:00
Charles Brej
be225ddfe0
Add 1 to replies from get width/height of control to allow for shading
2008-10-30 22:07:12 +00:00
Ray Strode
683811b4a6
Add bevel to text so it's more readable
...
Now it's black *and* white so should look
good on many different backgrounds.
2008-10-30 16:42:45 -04:00
Ray Strode
f281592ad9
Don't try to start/stop animation twice in a row
...
Protect against multiple calls to start/stop animation.
This prevents crashes if the user presses escape when
the animation is already stopped, and prevents
super fast animations if --show-splash gets called twice
in a row.
2008-10-30 15:56:05 -04:00
Charlie Brej
2e506f15b3
Make password prompt in "Solar" plugin prettier
...
Previously it used the blank spinfinity password
dialog. This one matches the rest of the solar
theme much better.
2008-10-30 14:03:29 -04:00
Ray Strode
602d997200
Reset window mode in splash plugins before drawing
...
At some point during boot up the terminal gets kicked
out of raw mode. By resetting the window mode before
drawing we ensure it stays in raw mode, so things like
password characters draw correctly.
2008-10-30 12:58:54 -04:00
Ray Strode
4fc5d6b5bd
Force windows to get closed on quit
...
If plymouth was called with --retain-splash, the
window wasn't getting closed which caused the tty
to not get reset correctly.
2008-10-30 12:58:53 -04:00
Ray Strode
845f4dd500
Don't require plymouth to set default plugin
...
Package ordering requires set-default-plugin
to get called early.
2008-10-30 12:58:53 -04:00
Charles Brej
7bf73f0749
Update solar graphics to F10 release versions.
2008-10-30 16:29:21 +00:00
Charles Brej
740c86dc63
Add taper to the progress bar leading edge in the solar plugin.
2008-10-28 11:01:08 +00:00
Charles Brej
4381272369
Remove progress_box.png and its halo option from solar plugin
2008-10-28 10:23:15 +00:00