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
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
Ray Strode
524de59fbe
Change lock icon to match spinfinity
...
The other lock icon was too big.
2008-10-27 22:17:55 -04:00
Charlie Brej
d3584b4e85
Dither colors in non-default low depth color path
...
This patch modifies the low color mode (slow) path
to dither the colors before flushing them to the
scanout buffer. This improves the output quality
in those corner cases.
2008-10-27 12:49:06 -04:00
Charlie Brej
23530e8f84
Rework progress bar in solar plugin
2008-10-24 13:30:53 -04:00
Ray Strode
aec6642fd8
If started with debug, log it to boot.log
2008-10-24 13:24:53 -04:00
Ray Strode
99f9d7fa69
ignore sigpipe signal
2008-10-24 13:24:53 -04:00
Charles Brej
8113281e5b
Remove halo from around the logo image
2008-10-24 16:20:19 +01:00
Ray Strode
ccf97b0cf6
bump so name
2008-10-23 23:27:23 -04:00
Ray Strode
43735d445c
Make sure set_buffered_input() works
...
There are cases, it seems, where we end up stuck in
raw mode on exit. This should make sure that won't happen.
2008-10-23 17:07:43 -04:00
Charles Brej
335764227a
Add recording and recalling of status event times to estimate progress
2008-10-23 21:33:35 +01:00
Ray Strode
4be7901218
Force disconnected epoll source removal
...
Rather than relying on disconnected sources to
get automatically removed from epoll, we
explicitly remove them on disconnection events.
2008-10-21 12:50:29 -04:00
Ray Strode
52c0bbc1c5
Revert "Don't free...unless dest... refcount is 0"
...
This reverts commit
5c151fb52d , because
the condition check is already enforced by an
assertion higher up in the code.
2008-10-21 09:10:07 -04:00
Ray Strode
ea15d24f3e
At exit do on_hide_splash not ply_boot_splash_hide
...
Calling just ply_boot_splash_hide meant that the
terminal wasn't getting reset properly causing
tty1 to misbehave.
2008-10-20 16:51:35 -04:00
Ray Strode
de268c7531
Add "closing windows" debug message
2008-10-20 16:47:10 -04:00
Charles Brej
2d7f68e467
Move the progress data from boot_splash up a level.
...
This allows the progress to be retained between calls to splash plugins.
2008-10-18 20:49:17 +01:00
Ray Strode
8f7cf9a139
Gut plymouth-update-initrd
...
It's broken and people keep using it, so change it so that it's
useful.
2008-10-17 15:49:31 -04:00
Ray Strode
8931fdb0ef
Clear screen in details plugin after boot up
2008-10-17 15:43:15 -04:00
Charles Brej
5c151fb52d
Don't free ply_event_source unless destinations refcount is 0
2008-10-16 11:44:40 +01:00
Jeremy Katz
00edb5e736
Don't free windows on --hide-splash
...
We still need them to be around for subsequent
--show-splash calls.
2008-10-15 17:30:36 -04:00
Ray Strode
3498084a4e
Don't frob text cursor in window for all plugins
...
Instead only set it to 0,0 for text plugin and
clear screen for others (except details where we
don't do anything).
2008-10-15 14:11:24 -04:00
Ray Strode
6f82e0d122
whitespace clean up in ply-logger.c
2008-10-14 13:26:48 -04:00
Ray Strode
7f35ddd44a
Whitespace clean up in ply-event-loop.c
2008-10-14 13:25:20 -04:00
Ray Strode
39ba11e363
whitespace clean up in ply-logger.h
2008-10-14 13:20:53 -04:00
Saleem Abdulrasool
ef85bff015
ply_boot_splash_load_plugin -> ply_boot_splash_load
2008-10-14 12:38:51 -04:00
Saleem Abdulrasool
fde5abb890
insufficient parameters passed to ply_boot_splash_add_window
2008-10-14 12:38:19 -04:00
Saleem Abdulrasool
b5f945e162
update for api changes
2008-10-14 12:37:52 -04:00
Saleem Abdulrasool
8a355087c3
fix typo: spalsh -> splash
2008-10-14 12:37:05 -04:00
Charles Brej
ea1ba09015
Set appropreate wakeup_time to stop using 100% CPU.
2008-10-12 20:53:56 +01:00
Charles Brej
53307819ff
Add a highlighting halo effect arround the logo to stop it from blending with the background
2008-10-09 19:29:54 +01:00
Charles Brej
f8968dbbbb
Add progress bar and remove planets from solar plugin
2008-10-09 09:59:54 -04:00
Ray Strode
f585f972eb
Make window_open succeed more frequently
...
Serial devices can't do some of the things that
makes ply_window_open fail. We make those failures
non-fatal now.
2008-10-08 13:55:39 -04:00
Ray Strode
a1a8434478
Add some logging messages to main.c
2008-10-08 13:55:39 -04:00
Ray Strode
1156315bfb
If console=tty0 is asked for use tty1
...
tty0 means "use current tty", which is tty1
for us.
2008-10-08 13:55:39 -04:00
Ray Strode
9b9cc47c10
Only set escape handler on window if it's open
2008-10-08 13:55:39 -04:00