Commit graph

988 commits

Author SHA1 Message Date
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
Ray Strode
f0d9ecf425 Reset cursor to 0,0 on clear 2008-06-24 11:07:30 -04:00
Ray Strode
ad6d1eb75f Make --reset chooser the most recent plugin not the oldest 2008-06-23 19:26:33 -04:00
Ray Strode
eb47bef71c change to root directory before trying to access files
This fixes running plymouth after bootup
2008-06-23 13:08:07 -04:00
Ray Strode
cc0fc4e577 /Really/ exit cleanly if rhgb isn't present on kernel cmdline
Unlike b7f4399294 which was
broken
2008-06-22 01:19:18 -04:00
Ray Strode
a5eb75a75a Bump version to 0.4.0 2008-06-22 00:53:55 -04:00
Ray Strode
bb7ee86d6b ship bizcom unconditionally 2008-06-22 00:49:24 -04:00
Ray Strode
47fc6b6e39 hide /var/log behind a define 2008-06-22 00:48:47 -04:00
Ray Strode
b7f4399294 Exit cleanly if rhgb is not on the command line 2008-06-22 00:36:23 -04:00
Ray Strode
1fd28b7e97 change over text plugin to use pulsing progress bar 2008-06-21 23:49:03 -04:00
Ray Strode
0c7456d996 Add text pulsing progress bar widget thing 2008-06-21 23:48:59 -04:00
Ray Strode
f4b9383208 use window hide/show cursor functions in text plugin 2008-06-20 13:50:41 -04:00
Ray Strode
435034695d move show_cursor and hide_cursor to window 2008-06-20 13:48:45 -04:00
Ray Strode
630533b7f3 add ifndef guards around some defines 2008-06-20 13:48:45 -04:00
Ray Strode
9e553a1fb2 Use libplybootsplash clear screen function 2008-06-20 13:48:45 -04:00
Ray Strode
4b09238531 Add clear screen method to window class
Just a convenience function for the plugins
2008-06-20 13:48:40 -04:00
Ray Strode
ca3f3f7364 s/SEQUNCE/SEQUENCE/ 2008-06-20 12:16:07 -04:00
Ray Strode
eae4d16381 Don't create plugin specific data dir in initrd unless it has one 2008-06-19 16:57:26 -04:00
Ray Strode
695c017a2c Center dots in text plugin 2008-06-19 16:51:15 -04:00
Ray Strode
73bcd971fe Fix the ply_window_set_text_cursor_position function 2008-06-19 16:49:15 -04:00
Ray Strode
2261967587 Update TODO
Add:
  - we need to have an escape hatch for fsck etc
2008-06-19 16:21:46 -04:00
Ray Strode
3592a97414 Only run if rhgb is on the command line 2008-06-19 16:17:41 -04:00
Ray Strode
25663f934b Go back to text mode on quit 2008-06-19 16:17:32 -04:00
Ray Strode
16c196da06 Go to text mode before showing details 2008-06-19 14:41:53 -04:00
Ray Strode
4f7a0dbfac Don't unwatch a signal if there is no loop 2008-06-19 14:41:27 -04:00
Ray Strode
36e3dd8abe initialize structure to 0 2008-06-19 11:24:25 -04:00
Ray Strode
4239c79497 only free old splash plugin on escape if there was an old one 2008-06-19 10:53:24 -04:00