Commit graph

564 commits

Author SHA1 Message Date
Casey Dahlin
89a852cefb Increase logger max injection size 2008-08-05 16:31:47 -04:00
Casey Dahlin
e4191b5d38 Don't default to last known option when setting flags 2008-08-05 16:31:09 -04:00
Casey Dahlin
3baeb92e99 Add --wait option to client to block until daemon quits 2008-08-05 16:26:27 -04:00
Ray Strode
a05890e55c Handle flags and booleans better in command parser
We were occasionally misattributing one command for another
2008-08-05 15:19:10 -04:00
Ray Strode
e587fa6a45 Update readme to reflect new boot log path
It was /var/log/bootmessages.log, now it is /var/log/boot.log
2008-08-01 13:51:16 -04:00
Ray Strode
6a78783e7b Port fade-in over to use new entry in libplybootsplash 2008-08-01 10:37:50 -04:00
Ray Strode
354e04a7d9 Port spinfinity over to use new entry in libplybootsplash 2008-08-01 10:37:49 -04:00
Ray Strode
af73ed3b8b Add an entry control
Right now we have some cut and paste code between the
splash plugins for a password entry. This new file will
move some of the repeated code into libplybootsplash.
2008-08-01 10:37:49 -04:00
Peter Jones
a17deea7ca Don't do library installation twice. Also fix some typos. 2008-07-30 10:31:40 -04:00
Peter Jones
c01d237689 Make plymouth-populate-initrd use utility functions from mkinitrd 2008-07-29 15:27:20 -04:00
Ray Strode
b7dd9dcb77 Add ctrl-l "redraw" hot key 2008-07-29 15:15:52 -04:00
Ray Strode
a5065a3495 Make fade-in plugin provide erase/draw handlers 2008-07-29 15:15:51 -04:00
Ray Strode
0470ae47ed Make spinfinity plugin provide erase/draw handlers 2008-07-29 15:15:51 -04:00
Ray Strode
4848ce9c05 Move text plugin over to new draw/erase handlers 2008-07-29 15:15:51 -04:00
Ray Strode
d4d3ca4c51 Add new hooks for clearing and drawing parts of the screen
We now have a few controls in libplybootsplash that don't
don't the specific details of the loaded splash plugins
background.  These hooks will make it possible for the
controls to clear the screen prior to doing alpha composition.
2008-07-29 15:15:51 -04:00
Ray Strode
186fb1f6ed Show detailed plugin if ask-for-password is called when no splash visible 2008-07-11 08:57:46 -04:00
Ray Strode
78bb3d17cd Rearrange functions to prevent forward declaration
We're going to be calling show_detailed_splash before
implicitly in cases when there is no splash, so we
need to make sure it's high enough up in the file
2008-07-11 08:48:01 -04:00
Ray Strode
254292def2 Rearrange functions to drop forward declaration 2008-07-11 08:46:15 -04:00
Ray Strode
a68a8b736a Use details plugin instead of bailing if no rhgb on kernel cmdline
We still want things like ask-for-password and logging to work.
2008-07-11 08:43:46 -04:00
Ray Strode
d8086a93a3 Compute libdir using yet a different heuristic
The previous one falls over for ia64
2008-07-09 21:31:20 -04:00
Ray Strode
d10b3eb6da Add debugging feature to restore text palette 2008-07-09 17:36:44 -04:00
Ray Strode
86c642baca Bump version to 0.5.0 2008-07-01 15:18:17 -04:00
Ray Strode
2290b78360 Add new subcommand "ask-for-password"
This command obsoletes --ask-for-password and supports an
optional --command for specifying what command to feed the
password to.  If the command fails, then the client will
ask the daemon to ask for the password again.
2008-07-01 14:57:17 -04:00
Ray Strode
b85a8051a3 Clear screen to black before asking for password 2008-07-01 14:55:11 -04:00
Ray Strode
09378c11a5 Drop print_usage function
It was hard coded, and we generate help dynamically now.
2008-07-01 11:20:44 -04:00
Ray Strode
82922539c6 Add state structure to client to consolidate the various state
This will be important when switching to subcommands, since we'll
need to be able to access the command parser, boot client, and
event loop.
2008-07-01 11:15:46 -04:00
Ray Strode
70b2e61d62 Add hack to make maintenance mode probably work when
plymouth is running

It was showing up completely blank before because console
was still redirected
2008-06-30 17:55:15 -04:00
Ray Strode
f0412cefff Don't watch tty for input in two places 2008-06-30 17:52:44 -04:00
Ray Strode
dfbde72557 Stay on tty1 for now
Using tty7 is making X go to vt8 and putting us on
the wrong vt for runlevel 3. Eventually, we'll need
to make X start ont he same vt as plymouth, and go
back to vt1 if doing runlevel 3.
2008-06-30 15:59:49 -04:00
Ray Strode
10fb9add6e Update TODO
Remove:
  - Add limited text support
  - consider making details plugin have stdin hooked up
    to the pty instead of tty so input works
  - More on the last point, we need to have an escape
    hatch for fsck etc
2008-06-27 15:38:23 -04:00
Ray Strode
21b8637cac If stop_watching_signal is called on a signal that isn't being watched, ignore
Previously it would assert.  Really we should switch the api to have a signal_watch
object much like the fd_watch object we have for watch_fd.
2008-06-27 15:21:49 -04:00
Ray Strode
b95a46bf06 don't require window to be around at quit time
It's created on show-splash now, so it may not exist at quit time
2008-06-27 15:03:11 -04:00
Ray Strode
c46f2a10a7 Add --hide-splash option
We want to be able to hide the splash screen in the event
the user needs to interact with start up from the console.
2008-06-27 14:20:56 -04:00
Ray Strode
f1378a5218 Create window when showing splash screen instead of at startup
This will make it easier to add a --hide-splash option, which
will provide an escape hatch for repair mode etc
2008-06-27 11:14:57 -04:00
Ray Strode
baea12f03d bump configure version to 0.4.5 2008-06-26 16:50:32 -04:00
Ray Strode
979c8b993c restore color palette when closing window
We should probably do it when changing vts as well
2008-06-26 16:45:06 -04:00
Ray Strode
28f1f6ad51 mark look up geometry as static since it's internel 2008-06-26 16:39:00 -04:00
Ray Strode
705f8d53dd move functions around to avoid prototype at top 2008-06-26 16:38:48 -04:00
Ray Strode
72783abcb1 Store palette in window object and only read it once when opening device 2008-06-26 16:38:07 -04:00
Ray Strode
9d4b6623f8 Make default color mid between default gradient color stops 2008-06-26 16:24:13 -04:00
Ray Strode
876a5cd8c8 Change colors of text splash screen to configured colors
We pass colors into configure, so we should use them
2008-06-26 16:21:49 -04:00
Ray Strode
aae9a4da8f Add api for messing with color palette in text mode
This is important so we have more flexibility over
what colors show up in the text splash
2008-06-26 16:21:00 -04:00
Ray Strode
77073321d9 Update TODO
Add
  - consider moving text code from ply-window to a ply-text-buffer analog of ply-frame-buffer
2008-06-26 15:29:57 -04:00
Ray Strode
209f8bb1d2 Add blue background to text plugin 2008-06-26 15:24:15 -04:00
Ray Strode
036c7ddbea Draw spindicator in a brown trough 2008-06-26 15:14:58 -04:00
Ray Strode
ba2cd476b9 Change text pulser to use space instead of line drawing characters to prevent
scramblage at font change
2008-06-25 17:48:32 -04:00
Ray Strode
19c8002f9c add new apis to set foreground and background colors in text mode 2008-06-25 17:47:59 -04:00
Ray Strode
a33a76fc14 Properly stop animation when asking for password in text plugin 2008-06-25 15:54:07 -04:00
Ray Strode
2fbf6db3b3 clear and move cursor to 0,0 when hiding and showing 2008-06-25 08:57:39 -04:00
Ray Strode
645f474d65 Make details plugin go back to default plugin if escape is pressed again
This fixes the TODO item:

  - consider making details plugin go back to pretty plugin
    if user presses escape
2008-06-24 11:21:20 -04:00