Commit graph

988 commits

Author SHA1 Message Date
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
Ray Strode
431924effe call chroot right before exec instead of right after fork
This is because we still need access to /dev/pts/1 until
right before exec
2007-10-21 19:49:44 -04:00
Ray Strode
78302f06c3 chroot back to original / before spawning nash.
Also use ply-utils ls functiona and add random multilib fixes
2007-10-21 18:37:30 -04:00
Ray Strode
d12eaca105 don't error out if the directory already exists in the mkdir function 2007-10-21 18:34:11 -04:00
Ray Strode
b41b2a8ed4 add ply_list_directory function
It just does ls -R basically, but it's useful for debugging.
2007-10-21 18:33:34 -04:00
Ray Strode
b347d89b7b Use posix_openpt instead of open ("/dev/ptmx", ...)
I don't remember why I had posix_openpt disabled, but
undisabling it seems to work fine, so better to use it
unless I find some reason (again?) to disable it.
2007-10-21 18:29:08 -04:00
Ray Strode
122daae898 Make ply_trace restore errno appropriately 2007-10-21 18:24:08 -04:00
Ray Strode
c7d567ee92 Change plugin path in Makefile to contain less magic
Previously, the plugin path contained the magic value
${LIB} which dlopen knows to translate to lib or lib64
appropriately.  Now I use the path in contexts other than
dlopen, though, so I need to remove the magic (I'm not sure
why it was there in the first place)
2007-10-21 18:22:54 -04:00
Ray Strode
31e5f9d12d fix typo in function name 2007-10-20 19:18:49 -04:00
Ray Strode
3e93636726 Make ply_create_directory more robust about trailing slashes 2007-10-19 15:27:45 -04:00
Ray Strode
ac1e206825 Clean up old plymouth entries before running grubby, since dupes confuse it 2007-10-19 14:00:47 -04:00
Ray Strode
390d7b883a automatically pull in deps from binaries to initrd instead of hardcoding them 2007-10-19 01:30:11 -04:00
Ray Strode
e515fa41d6 change some hardcoded /lib to /$LIB in update-initrd script 2007-10-18 23:14:14 -04:00
Ray Strode
d86e595d9f fix up rhgb-client makefile more 2007-10-18 22:34:16 -04:00
Ray Strode
6ba8f5f27e add missing makefile 2007-10-17 15:56:03 -04:00