]> git.ipfire.org Git - thirdparty/plymouth.git/log
thirdparty/plymouth.git
17 years agoDon't show timestamp and pid in verbose mode
Ray Strode [Thu, 22 May 2008 19:58:25 +0000 (15:58 -0400)] 
Don't show timestamp and pid in verbose mode

They haven't been useful recently and they add a lot of noise.

17 years agoAdd preliminary password support to fedora-fade-in
Ray Strode [Thu, 22 May 2008 19:19:59 +0000 (15:19 -0400)] 
Add preliminary password support to fedora-fade-in

We should really move a lot of the duplicate code between
the various splash plugins to the window code.  We also need
line editing support.

17 years agoDo the trivial cut-n-paste to bring password support to details plugin
Ray Strode [Thu, 22 May 2008 03:17:39 +0000 (23:17 -0400)] 
Do the trivial cut-n-paste to bring password support to details plugin

17 years agoAdd second cut at password support
Ray Strode [Thu, 22 May 2008 02:57:40 +0000 (22:57 -0400)] 
Add second cut at password support

This version works even in raw mode, by buffering key presses
passed from the window object, and replying to the client
after the user presses enter. There are a lot of layers of
function pointers getting passed around, so it may make
sense to introduce an opaque type for holding the password
and triggering the reply.

17 years agoFix some harmless typos in the reply code
Ray Strode [Wed, 21 May 2008 13:03:00 +0000 (09:03 -0400)] 
Fix some harmless typos in the reply code

17 years agoSimplify plugin interface by dropping attach_to_event_loop
Ray Strode [Wed, 21 May 2008 12:57:59 +0000 (08:57 -0400)] 
Simplify plugin interface by dropping attach_to_event_loop

Now we just pass the loop in directly to show and hide,
which makes its lifecycle more clear.

17 years agoOnly allow root clients to talk to daemon
Ray Strode [Wed, 21 May 2008 04:20:28 +0000 (00:20 -0400)] 
Only allow root clients to talk to daemon

We don't want normal users on the system to be able to
manipulate plymouth. This will be especially important
later when we run plymouth for post-bootup reasons. This
patch checks peer credentials and sends back a NAK to
clients who aren't root.

17 years agoUpdate TODO
Ray Strode [Wed, 21 May 2008 03:12:54 +0000 (23:12 -0400)] 
Update TODO

Remove:
- Don't start boot-splash automatically, rather wait until given command from client

17 years agoBuild in tracing by default and toggle on with ctrl-v
Ray Strode [Wed, 21 May 2008 03:02:51 +0000 (23:02 -0400)] 
Build in tracing by default and toggle on with ctrl-v

17 years agochange if (key == KEY_ESCAPE) to use switch statement instead
Ray Strode [Wed, 21 May 2008 02:56:54 +0000 (22:56 -0400)] 
change if (key == KEY_ESCAPE) to use switch statement instead

We'll be adding other global hotkeys here so it makes sense to
use a switch statement for future extensibility

17 years agoUpdate TODO
Ray Strode [Wed, 21 May 2008 02:42:15 +0000 (22:42 -0400)] 
Update TODO

Add:
- Drop all the make ram disk and copy code.  That was just to make bolting things
  on easier.  We can integrate now.
- check peer credentials on client to make sure it's not running unprivileged

17 years agos/rhgb-client/plymouth/ in the client usage string
Ray Strode [Wed, 21 May 2008 02:40:02 +0000 (22:40 -0400)] 
s/rhgb-client/plymouth/ in the client usage string

17 years agoDon't show splash by default, instead require client to request it
Ray Strode [Wed, 21 May 2008 02:37:01 +0000 (22:37 -0400)] 
Don't show splash by default, instead require client to request it

plymouthd gets started before the drm modesetting modules are loaded,
so we can't try to access the frame buffer right away.  The plan is to
load the drm modules as soon as possible in the initrd and then tell
plymouthd to put up the splash ASAP.

17 years agoPut in ChangeLog request to not use ChangeLog
Ray Strode [Tue, 20 May 2008 19:15:03 +0000 (15:15 -0400)] 
Put in ChangeLog request to not use ChangeLog

17 years agoUpdate TODO
Ray Strode [Tue, 20 May 2008 19:13:48 +0000 (15:13 -0400)] 
Update TODO

Add:
- Don't start boot-splash automatically, rather wait until given command from client
- Allow plymouth to be started from nash instead of the other way around

Remove:
- add the ability to watch for timeouts in the event loop

17 years agooverwrite existing rhgb-client compat symlink when doing make install
Ray Strode [Tue, 20 May 2008 16:33:23 +0000 (12:33 -0400)] 
overwrite existing rhgb-client compat symlink when doing make install

17 years agodon't generate .tar.gz on make dist
Ray Strode [Tue, 20 May 2008 16:01:01 +0000 (12:01 -0400)] 
don't generate .tar.gz on make dist

17 years agoAdd client tests directory to SUBDIRS
Ray Strode [Tue, 20 May 2008 15:51:07 +0000 (11:51 -0400)] 
Add client tests directory to SUBDIRS

17 years agorename rhgb-client to plymouth
Ray Strode [Tue, 20 May 2008 15:27:30 +0000 (11:27 -0400)] 
rename rhgb-client to plymouth

We'll keep a compat symlink in place until init scripts are moved over

17 years agorename the daemon from plymouth to plymouthd
Ray Strode [Tue, 20 May 2008 15:21:21 +0000 (11:21 -0400)] 
rename the daemon from plymouth to plymouthd

17 years agodetach text plugin from event loop when hiding it
Ray Strode [Tue, 20 May 2008 14:54:22 +0000 (10:54 -0400)] 
detach text plugin from event loop when hiding it

17 years agodisconnect from event loop in fedora-fade-in if show fails
Ray Strode [Tue, 20 May 2008 14:53:09 +0000 (10:53 -0400)] 
disconnect from event loop in fedora-fade-in if show fails

We really need to drop attach_to_event_loop and pass the
loop into show.

17 years agoUse the raw mode so we lose terminal echo
Ray Strode [Tue, 20 May 2008 12:54:38 +0000 (08:54 -0400)] 
Use the raw mode so we lose terminal echo

17 years agoAdd hook to ply-terminal-session to notify on boot output.
Ray Strode [Tue, 20 May 2008 03:45:50 +0000 (23:45 -0400)] 
Add hook to ply-terminal-session to notify on boot output.
Drop set_output_buffer api and propagate boot output to splash plugins

17 years agodump output of boot buffer when showing details plugin
Ray Strode [Tue, 20 May 2008 03:19:13 +0000 (23:19 -0400)] 
dump output of boot buffer when showing details plugin

17 years agouse "details" stub plugin when user presses escape
Ray Strode [Tue, 20 May 2008 03:18:42 +0000 (23:18 -0400)] 
use "details" stub plugin when user presses escape

17 years agoCreate a buffer to hold boot messages and pass that buffer to plugin show functions
Ray Strode [Tue, 20 May 2008 02:54:46 +0000 (22:54 -0400)] 
Create a buffer to hold boot messages and pass that buffer to plugin show functions

17 years agoadd hook to log all terminal session output to a user supplied buffer
Ray Strode [Mon, 19 May 2008 22:33:54 +0000 (18:33 -0400)] 
add hook to log all terminal session output to a user supplied buffer

17 years agoadd stub plugin that will show details when the user presses escape
Ray Strode [Mon, 19 May 2008 22:17:42 +0000 (18:17 -0400)] 
add stub plugin that will show details when the user presses escape

17 years agomove ply_window_detach_from_event_loop around so we can drop the forward declaration
Ray Strode [Mon, 19 May 2008 21:49:06 +0000 (17:49 -0400)] 
move ply_window_detach_from_event_loop around so we can drop the forward declaration

17 years agoCreate window at layer above boot splash and reuse when changing boot splashes
Ray Strode [Mon, 19 May 2008 21:46:10 +0000 (17:46 -0400)] 
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.

17 years agocancel event loop exit watch on window when window gets freed
Ray Strode [Mon, 19 May 2008 21:45:06 +0000 (17:45 -0400)] 
cancel event loop exit watch on window when window gets freed

17 years agoReset keyboard to non-canonical mode every time we switch modes
Ray Strode [Mon, 19 May 2008 21:31:06 +0000 (17:31 -0400)] 
Reset keyboard to non-canonical mode every time we switch modes

17 years agoonly detach fedora-fade-in plugin from event loop when there is an event loop to...
Ray Strode [Mon, 19 May 2008 21:25:05 +0000 (17:25 -0400)] 
only detach fedora-fade-in plugin from event loop when there is an event loop to detach from

17 years agodisable fedora-fade-in plugin animaton timeout when animation is stopped
Ray Strode [Mon, 19 May 2008 21:23:20 +0000 (17:23 -0400)] 
disable fedora-fade-in plugin animaton timeout when animation is stopped

17 years agoadd new function to cancel pending timeouts
Ray Strode [Mon, 19 May 2008 21:09:02 +0000 (17:09 -0400)] 
add new function to cancel pending timeouts

17 years agoWhen removing exit handlers, remove all matches, not just the first
Ray Strode [Mon, 19 May 2008 21:08:23 +0000 (17:08 -0400)] 
When removing exit handlers, remove all matches, not just the first

17 years agoIntercept escape key before passing keyboard input to splash plugin
Ray Strode [Mon, 19 May 2008 03:34:25 +0000 (23:34 -0400)] 
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

17 years agopass keyboard input on to plugins
Ray Strode [Mon, 19 May 2008 02:57:15 +0000 (22:57 -0400)] 
pass keyboard input on to plugins

17 years agobuffer key presses until full characters are read, and then dispatch characters to...
Ray Strode [Mon, 19 May 2008 02:40:56 +0000 (22:40 -0400)] 
buffer key presses until full characters are read, and then dispatch characters to keyboard input handler

17 years agoexport ply_buffer_decapitate function as ply_buffer_remove_bytes
Ray Strode [Mon, 19 May 2008 02:40:09 +0000 (22:40 -0400)] 
export ply_buffer_decapitate function as ply_buffer_remove_bytes

17 years agoAdd new ply_buffer_append_from_fd function
Ray Strode [Mon, 19 May 2008 00:12:38 +0000 (20:12 -0400)] 
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.

17 years agoadd new ply-buffer class
Ray Strode [Sun, 18 May 2008 23:41:59 +0000 (19:41 -0400)] 
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

17 years agoSet active terminal into non-canonical mode
Ray Strode [Sun, 18 May 2008 23:09:16 +0000 (19:09 -0400)] 
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.

17 years agochange function signature to silence warning
Ray Strode [Sun, 18 May 2008 22:32:31 +0000 (18:32 -0400)] 
change function signature to silence warning

17 years agoadd function cast to silence warning
Ray Strode [Sun, 18 May 2008 22:31:35 +0000 (18:31 -0400)] 
add function cast to silence warning

17 years agodrop unused variable
Ray Strode [Sun, 18 May 2008 22:30:35 +0000 (18:30 -0400)] 
drop unused variable

17 years agoadd new ply_window_t type to manage text versus graphics mode,
Ray Strode [Thu, 15 May 2008 19:52:19 +0000 (15:52 -0400)] 
add new ply_window_t type to manage text versus graphics mode,
and eventually key events

17 years agoadd preliminary support for asking for password during boot sequence
Ray Strode [Thu, 15 May 2008 19:48:59 +0000 (15:48 -0400)] 
add preliminary support for asking for password during boot sequence
(Only in text plugin so far)

17 years agoadd cast to prevent compiler warning
Ray Strode [Wed, 14 May 2008 13:02:25 +0000 (09:02 -0400)] 
add cast to prevent compiler warning

17 years agofix some confusion with star placement in fedora-fade-in plugin
Ray Strode [Wed, 14 May 2008 12:59:33 +0000 (08:59 -0400)] 
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

17 years agofall back to text plugin if fedora-fade-in fails
Ray Strode [Wed, 14 May 2008 04:25:58 +0000 (00:25 -0400)] 
fall back to text plugin if fedora-fade-in fails

17 years agoadd initial cut of a barebones text splash
Ray Strode [Wed, 14 May 2008 04:23:53 +0000 (00:23 -0400)] 
add initial cut of a barebones text splash

17 years agocreate /dev/tty1 in init phase
Ray Strode [Wed, 14 May 2008 04:20:52 +0000 (00:20 -0400)] 
create /dev/tty1 in init phase

17 years agoadd some more debug statements and free boot server and splash on exit path
Ray Strode [Wed, 14 May 2008 04:18:39 +0000 (00:18 -0400)] 
add some more debug statements and free boot server and splash on exit path

17 years agodisconnect event loop exit watch when hiding splash screen
Ray Strode [Wed, 14 May 2008 04:14:23 +0000 (00:14 -0400)] 
disconnect event loop exit watch when hiding splash screen

17 years agomove detach_from_event_loop function up higher in file
Ray Strode [Wed, 14 May 2008 04:13:26 +0000 (00:13 -0400)] 
move detach_from_event_loop function up higher in file

17 years agoAdd new function to be able to cancel event loop exit watches
Ray Strode [Wed, 14 May 2008 04:12:28 +0000 (00:12 -0400)] 
Add new function to be able to cancel event loop exit watches

17 years agoput fedora-fade-in plugin back in graphics mode
Ray Strode [Wed, 14 May 2008 03:23:00 +0000 (23:23 -0400)] 
put fedora-fade-in plugin back in graphics mode

17 years agoFix infinite loop in add_star logic of fedora-fade-in plugin
Ray Strode [Wed, 14 May 2008 03:22:20 +0000 (23:22 -0400)] 
Fix infinite loop in add_star logic of fedora-fade-in plugin

17 years agoproperly locate grub.conf when symlinks are relative
Ray Strode [Tue, 13 May 2008 18:11:21 +0000 (14:11 -0400)] 
properly locate grub.conf when symlinks are relative

18 years agoFix bug where logo area was getting computed negative
Ray Strode [Fri, 14 Dec 2007 19:15:06 +0000 (14:15 -0500)] 
Fix bug where logo area was getting computed negative
Spotted by Dave Malcolm

18 years agoDrop localization bits / use CONFIG_AUX_DIR
Ray Strode [Fri, 14 Dec 2007 19:14:19 +0000 (14:14 -0500)] 
Drop localization bits / use CONFIG_AUX_DIR

18 years agoCopy a row at a time to the card instead of a pixel at a time
Ray Strode [Thu, 13 Dec 2007 22:12:53 +0000 (17:12 -0500)] 
Copy a row at a time to the card instead of a pixel at a time

18 years agoApply patch from Peter Jones to fix video on systems with row stride different than...
Ray Strode [Tue, 11 Dec 2007 22:30:39 +0000 (17:30 -0500)] 
Apply patch from Peter Jones to fix video on systems with row stride different than resolution

18 years agoMerge branch 'main-refactor'
Ray Strode [Sun, 4 Nov 2007 03:30:16 +0000 (23:30 -0400)] 
Merge branch 'main-refactor'

18 years agoFix up autogen to error out if it hits a problem and rerun autoreconf after intltoolize.
Ray Strode [Thu, 1 Nov 2007 05:03:55 +0000 (01:03 -0400)] 
Fix up autogen to error out if it hits a problem and rerun autoreconf after intltoolize.

18 years agoadd ply-copy-dir-test.c and ply-copy-test.c to fix build
Ray Strode [Thu, 1 Nov 2007 04:17:06 +0000 (00:17 -0400)] 
add ply-copy-dir-test.c and ply-copy-test.c to fix build

18 years agoadd ply-copy-dir-test.am to fix build for fresh clones
Ray Strode [Thu, 1 Nov 2007 04:02:30 +0000 (00:02 -0400)] 
add ply-copy-dir-test.am to fix build for fresh clones

18 years agoadd ply-copy-test.am to fix build for fresh clones
Ray Strode [Thu, 1 Nov 2007 03:59:09 +0000 (23:59 -0400)] 
add ply-copy-test.am to fix build for fresh clones

18 years agoDon't add new stars on top of old stars, or under the logo
Ray Strode [Mon, 22 Oct 2007 01:28:05 +0000 (21:28 -0400)] 
Don't add new stars on top of old stars, or under the logo

18 years agomove data to a ramfs and clean up mounts on exit
Ray Strode [Mon, 22 Oct 2007 00:52:27 +0000 (20:52 -0400)] 
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

18 years agoadd ply_unmount_filesystem function to handle lazy umount
Ray Strode [Mon, 22 Oct 2007 00:45:27 +0000 (20:45 -0400)] 
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

18 years agoreenable graphics mode in the fade in plugin
Ray Strode [Sun, 21 Oct 2007 23:59:06 +0000 (19:59 -0400)] 
reenable graphics mode in the fade in plugin

18 years agocall chroot right before exec instead of right after fork
Ray Strode [Sun, 21 Oct 2007 23:49:44 +0000 (19:49 -0400)] 
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

18 years agochroot back to original / before spawning nash.
Ray Strode [Sun, 21 Oct 2007 22:37:30 +0000 (18:37 -0400)] 
chroot back to original / before spawning nash.
Also use ply-utils ls functiona and add random multilib fixes

18 years agodon't error out if the directory already exists in the mkdir function
Ray Strode [Sun, 21 Oct 2007 22:34:11 +0000 (18:34 -0400)] 
don't error out if the directory already exists in the mkdir function

18 years agoadd ply_list_directory function
Ray Strode [Sun, 21 Oct 2007 22:31:12 +0000 (18:31 -0400)] 
add ply_list_directory function
It just does ls -R basically, but it's useful for debugging.

18 years agoUse posix_openpt instead of open ("/dev/ptmx", ...)
Ray Strode [Sun, 21 Oct 2007 22:29:08 +0000 (18:29 -0400)] 
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.

18 years agoMake ply_trace restore errno appropriately
Ray Strode [Sun, 21 Oct 2007 22:24:08 +0000 (18:24 -0400)] 
Make ply_trace restore errno appropriately

18 years agoChange plugin path in Makefile to contain less magic
Ray Strode [Sun, 21 Oct 2007 22:22:54 +0000 (18:22 -0400)] 
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)

18 years agofix typo in function name
Ray Strode [Sat, 20 Oct 2007 23:18:49 +0000 (19:18 -0400)] 
fix typo in function name

18 years agoMake ply_create_directory more robust about trailing slashes
Ray Strode [Fri, 19 Oct 2007 19:27:45 +0000 (15:27 -0400)] 
Make ply_create_directory more robust about trailing slashes

18 years agoClean up old plymouth entries before running grubby, since dupes confuse it
Ray Strode [Fri, 19 Oct 2007 18:00:47 +0000 (14:00 -0400)] 
Clean up old plymouth entries before running grubby, since dupes confuse it

18 years agoautomatically pull in deps from binaries to initrd instead of hardcoding them
Ray Strode [Fri, 19 Oct 2007 05:30:11 +0000 (01:30 -0400)] 
automatically pull in deps from binaries to initrd instead of hardcoding them

18 years agochange some hardcoded /lib to /$LIB in update-initrd script
Ray Strode [Fri, 19 Oct 2007 03:14:14 +0000 (23:14 -0400)] 
change some hardcoded /lib to /$LIB in update-initrd script

18 years agofix up rhgb-client makefile more
Ray Strode [Fri, 19 Oct 2007 02:34:16 +0000 (22:34 -0400)] 
fix up rhgb-client makefile more

18 years agoadd missing makefile
Ray Strode [Wed, 17 Oct 2007 19:56:03 +0000 (15:56 -0400)] 
add missing makefile

18 years agoadd forgotton Makefile.am to version control
Ray Strode [Mon, 25 Jun 2007 21:27:56 +0000 (17:27 -0400)] 
add forgotton Makefile.am to version control

18 years agodump everything i'm working on into the main refactor branch for now
Ray Strode [Thu, 21 Jun 2007 13:51:32 +0000 (09:51 -0400)] 
dump everything i'm working on into the main refactor branch for now

18 years agoinclude errno.h into ply-logger.h
Ray Strode [Wed, 13 Jun 2007 23:24:26 +0000 (19:24 -0400)] 
include errno.h into ply-logger.h

18 years agochange ply_create_scratch directory to be a two step,
Ray Strode [Wed, 13 Jun 2007 22:15:27 +0000 (18:15 -0400)] 
change ply_create_scratch directory to be a two step,
ply_create_detachable_directory/ply_detach_directory process,
because the former semantics couldn't actually work

18 years agoreturn true in the success path to ply_file_copy
Ray Strode [Wed, 13 Jun 2007 21:01:07 +0000 (17:01 -0400)] 
return true in the success path to ply_file_copy

18 years agodon't leak fds in copy function
Ray Strode [Wed, 13 Jun 2007 20:45:04 +0000 (16:45 -0400)] 
don't leak fds in copy function

18 years agofix up the copy dir function
Ray Strode [Tue, 12 Jun 2007 16:02:40 +0000 (12:02 -0400)] 
fix up the copy dir function

18 years agoadd a fade out to the splash on exit
Ray Strode [Tue, 12 Jun 2007 15:52:27 +0000 (11:52 -0400)] 
add a fade out to the splash on exit

18 years agodrop lame ply_filesystem_is_mounted function
Ray Strode [Mon, 11 Jun 2007 18:38:09 +0000 (14:38 -0400)] 
drop lame ply_filesystem_is_mounted function

18 years agoadd new untested ply_create_scratch_directory that creates
Ray Strode [Mon, 11 Jun 2007 18:24:09 +0000 (14:24 -0400)] 
add new untested ply_create_scratch_directory that creates
a directory that's only visible to the current process

18 years agolook for fedora-fade-in module in correct place
Ray Strode [Mon, 11 Jun 2007 16:44:09 +0000 (12:44 -0400)] 
look for fedora-fade-in module in correct place

18 years agowhen copying an image to the frame buffer always read from the original width,
Ray Strode [Mon, 11 Jun 2007 16:27:50 +0000 (12:27 -0400)] 
when copying an image to the frame buffer always read from the original width,
even if the image gets clipped