Commit graph

252 commits

Author SHA1 Message Date
Ray Strode
2103fb014f dump output of boot buffer when showing details plugin 2008-05-19 23:19:13 -04:00
Ray Strode
227418f36b use "details" stub plugin when user presses escape 2008-05-19 23:18:42 -04:00
Ray Strode
038d5d6dd3 Create a buffer to hold boot messages and pass that buffer to plugin show functions 2008-05-19 22:54:46 -04:00
Ray Strode
b08048505b add hook to log all terminal session output to a user supplied buffer 2008-05-19 18:33:54 -04:00
Ray Strode
3aca1c4370 add stub plugin that will show details when the user presses escape 2008-05-19 18:17:42 -04:00
Ray Strode
b144acddbc move ply_window_detach_from_event_loop around so we can drop the forward declaration 2008-05-19 17:49:06 -04:00
Ray Strode
fe6a3b007a Create window at layer above boot splash and reuse when changing boot splashes
This requires keyboard handling to be changed, so that each
plugin can hook in their own keyboard hooks when switching
between them, and also handling escape completely above the boot
splash plugin level.
2008-05-19 17:48:15 -04:00
Ray Strode
8510193629 cancel event loop exit watch on window when window gets freed 2008-05-19 17:45:06 -04:00
Ray Strode
95e37c737e Reset keyboard to non-canonical mode every time we switch modes 2008-05-19 17:31:06 -04:00
Ray Strode
6722ead0de only detach fedora-fade-in plugin from event loop when there is an event loop to detach from 2008-05-19 17:25:05 -04:00
Ray Strode
5d7fe0d274 disable fedora-fade-in plugin animaton timeout when animation is stopped 2008-05-19 17:24:28 -04:00
Ray Strode
040161f8ea add new function to cancel pending timeouts 2008-05-19 17:09:02 -04:00
Ray Strode
fa33619b36 When removing exit handlers, remove all matches, not just the first 2008-05-19 17:08:23 -04:00
Ray Strode
fa8d0c2adb Intercept escape key before passing keyboard input to splash plugin
We want to pass escape to the layer that created the boot splash, so
that it can tear down the curren splash plugin and put up the
details view
2008-05-19 00:05:46 -04:00
Ray Strode
ea56f6e68c pass keyboard input on to plugins 2008-05-18 22:57:15 -04:00
Ray Strode
6b0f2e44af buffer key presses until full characters are read, and then dispatch characters to keyboard input handler 2008-05-18 22:56:07 -04:00
Ray Strode
3831d42dc2 export ply_buffer_decapitate function as ply_buffer_remove_bytes 2008-05-18 22:40:09 -04:00
Ray Strode
49aada170b Add new ply_buffer_append_from_fd function
This function just reads a chunk of bytes from and fd and adds the bytes to the buffer.
2008-05-18 20:12:38 -04:00
Ray Strode
05dd704985 add new ply-buffer class
Copy and paste ply-logger into a more general ply-buffer class,
so we have a facility to buffer key strokes and process them as necessary
2008-05-18 20:06:31 -04:00
Ray Strode
413270724b Set active terminal into non-canonical mode
We want to be able to gain access to key presses immediately,
so we can pass them on to the splash plugin to display to the
user in some form.  The "pass to the splash plugin" part isn't
implemented yet.
2008-05-18 19:09:16 -04:00
Ray Strode
64198914da change function signature to silence warning 2008-05-18 18:32:31 -04:00
Ray Strode
79f8236416 add function cast to silence warning 2008-05-18 18:31:35 -04:00
Ray Strode
3192199ed0 drop unused variable 2008-05-18 18:30:35 -04:00
Ray Strode
9cf51bcce4 add new ply_window_t type to manage text versus graphics mode,
and eventually key events
2008-05-17 02:16:22 -04:00
Ray Strode
262e8b5f75 add preliminary support for asking for password during boot sequence
(Only in text plugin so far)
2008-05-15 15:50:37 -04:00
Ray Strode
3b86388c3b add cast to prevent compiler warning 2008-05-14 09:02:25 -04:00
Ray Strode
d0698efdb6 fix some confusion with star placement in fedora-fade-in plugin
We did logo_width - frame_buffer_width instead of the other way
around, so we ended up with a negative width
2008-05-14 08:59:33 -04:00
Ray Strode
34b71dbfef fall back to text plugin if fedora-fade-in fails 2008-05-14 00:25:58 -04:00
Ray Strode
1c8114763f add initial cut of a barebones text splash 2008-05-14 00:25:16 -04:00
Ray Strode
dbc70af9da create /dev/tty1 in init phase 2008-05-14 00:20:52 -04:00
Ray Strode
288b96674a add some more debug statements and free boot server and splash on exit path 2008-05-14 00:18:39 -04:00
Ray Strode
0e0da7e0db disconnect event loop exit watch when hiding splash screen 2008-05-14 00:14:23 -04:00
Ray Strode
d0f4639a70 move detach_from_event_loop function up higher in file 2008-05-14 00:13:26 -04:00
Ray Strode
a216145235 Add new function to be able to cancel event loop exit watches 2008-05-14 00:12:28 -04:00
Ray Strode
4c9eacf999 put fedora-fade-in plugin back in graphics mode 2008-05-13 23:23:00 -04:00
Ray Strode
3808cc730c Fix infinite loop in add_star logic of fedora-fade-in plugin 2008-05-13 23:22:20 -04:00
Ray Strode
de7eb5f147 properly locate grub.conf when symlinks are relative 2008-05-13 14:11:21 -04:00
Ray Strode
ca633c95fb Fix bug where logo area was getting computed negative
Spotted by Dave Malcolm
2007-12-14 14:15:33 -05:00
Ray Strode
f5362a052c Drop localization bits / use CONFIG_AUX_DIR 2007-12-14 14:14:19 -05:00
Ray Strode
c12164c162 Copy a row at a time to the card instead of a pixel at a time 2007-12-13 17:12:53 -05:00
Ray Strode
c392c5d539 Apply patch from Peter Jones to fix video on systems with row stride different than resolution 2007-12-11 17:30:39 -05:00
Ray Strode
92c2bf0f4b Merge branch 'main-refactor' 2007-11-03 23:30:16 -04:00
Ray Strode
ab84465fa7 Fix up autogen to error out if it hits a problem and rerun autoreconf after intltoolize. 2007-11-01 01:03:55 -04:00
Ray Strode
a5081f516a add ply-copy-dir-test.c and ply-copy-test.c to fix build 2007-11-01 00:17:06 -04:00
Ray Strode
08db91348d add ply-copy-dir-test.am to fix build for fresh clones 2007-11-01 00:02:30 -04:00
Ray Strode
7df4cd35c3 add ply-copy-test.am to fix build for fresh clones 2007-10-31 23:59:09 -04:00
Ray Strode
d7e22a4654 Don't add new stars on top of old stars, or under the logo 2007-10-21 21:28:05 -04:00
Ray Strode
a234fea7ad move data to a ramfs and clean up mounts on exit
Shutdown was being noisy because we didn't unmount
/var/run/plymouth/{proc,dev/pts} etc.  Also we want
/var/run/plymouth to be a ramfs so that nash doesn't
go deleting it while its still running
2007-10-21 20:52:27 -04:00
Ray Strode
0ab5c82cd0 add ply_unmount_filesystem function to handle lazy umount
The lazy unmount flag isn't documented anywhere, so its
probably better to hide the nastiness behind a function
2007-10-21 20:45:27 -04:00
Ray Strode
35e608b03e reenable graphics mode in the fade in plugin 2007-10-21 19:59:06 -04:00