]>
git.ipfire.org Git - thirdparty/plymouth.git/log
Ray Strode [Thu, 21 Aug 2008 19:00:40 +0000 (15:00 -0400)]
Make daemon pass client sent password prompt to splash plugins
They don't currently do anything with the message but they
at least now get it so they conceivably could.
Ray Strode [Thu, 21 Aug 2008 18:11:24 +0000 (14:11 -0400)]
Add --prompt option to ask-for-password client command
We want to be able to ask the user a question instead
of assuming they know what question to answer. This
will be important if /opt and /home get encrypted with
different passwords.
Ray Strode [Wed, 27 Aug 2008 03:48:54 +0000 (23:48 -0400)]
Count and pair frame buffer pause and unpause calls
We don't want a nested unpause() to cause a premature
flush of the shadow buffer out to the front buffer.
Ray Strode [Thu, 21 Aug 2008 21:12:38 +0000 (17:12 -0400)]
Fix up compile error in boot server test
Ray Strode [Thu, 21 Aug 2008 17:45:04 +0000 (13:45 -0400)]
fix typo (transposed letters in 'ask for passowrd')
Ray Strode [Thu, 21 Aug 2008 17:32:24 +0000 (13:32 -0400)]
White space clean up
Ray Strode [Wed, 20 Aug 2008 19:40:51 +0000 (15:40 -0400)]
fix up string array splitting code
p = q should have been q = p
Ray Strode [Wed, 20 Aug 2008 19:47:39 +0000 (15:47 -0400)]
Before asking for passwords try old passwords first
Frequently, the user will choose the same password
for multiple encrypted block devices. Rather than
asking them for the same information multiple times,
we try to use old passwords first.
Ray Strode [Wed, 20 Aug 2008 19:46:30 +0000 (15:46 -0400)]
Add client object support for mutiple answers
If the daemon sends a reply with multiple answers,
deserialize it into an array and dispatch to a
multireply handler.
Ray Strode [Wed, 20 Aug 2008 17:37:09 +0000 (13:37 -0400)]
Return cached passwords if asked for them
We return them in the form
password1\0password2\0password3\0password4\0
so the client doesn't have to ask the user for
the same information more than once.
Ray Strode [Wed, 20 Aug 2008 15:45:49 +0000 (11:45 -0400)]
add new "multiple answer" reply type to protocol
When returning cached answers we'll need to return
an entire list. This provides a way for the client
to know if it needs to read in more than one answer
or not.
Ray Strode [Wed, 20 Aug 2008 19:37:15 +0000 (15:37 -0400)]
Make ply_buffer_clear actually clear the buffer
Before it was just setting size to 0 causing old
stale contents to get reused occassionally.
Ray Strode [Wed, 20 Aug 2008 17:44:06 +0000 (13:44 -0400)]
Fix wrong type being used in password response
Can't take the address of a size_t and only write
8 bits out, even if the value is less than 255.
Ray Strode [Wed, 20 Aug 2008 15:28:14 +0000 (11:28 -0400)]
Add new api for getting string answer after handler is called
Since we're caching answers, we'll need to be able to look
at them again.
Ray Strode [Tue, 19 Aug 2008 20:54:35 +0000 (16:54 -0400)]
Cache answers to previous questions instead of freeing them
We'll probably need to mark the answers in some way if we ever end
up getting asked a question other than "what's the password?"
Ray Strode [Tue, 19 Aug 2008 20:42:27 +0000 (16:42 -0400)]
add new protocol type for cached passwords
It will be used for the client to communicate to the
daemon that it would prefer the daemon return any
previous password responses instead of asking the user.
Ray Strode [Tue, 19 Aug 2008 20:03:44 +0000 (16:03 -0400)]
bump configure.ac version to 0.6.0
Should do another release soon.
Ray Strode [Tue, 19 Aug 2008 18:37:46 +0000 (14:37 -0400)]
Force details plugin if serial console is present
It's the only plugin that supports a NULL window right
now, and it's also what the user probably wants if
they're using a serial console.
Ray Strode [Tue, 19 Aug 2008 18:36:52 +0000 (14:36 -0400)]
Detect serial console and redirect messages if present
Previously, we were hard coding tty1. Now we send messages
to whatever is specified as the console, if a console is
specified.
Ray Strode [Tue, 19 Aug 2008 18:32:33 +0000 (14:32 -0400)]
Allow details plugin to work without window
If it's NULL send a NOANSWER reply to any
questions asked by the client and make the
client handle NOANSWER by asking the user
itself.
Ray Strode [Tue, 19 Aug 2008 18:23:54 +0000 (14:23 -0400)]
Add new api to say "I don't know the answer to your question"
This will be important when the client asks the daemon a question
it can't ask the user. In particular, "What's the password?" when
there isn't any splash that accepts input.
Peter Jones [Wed, 13 Aug 2008 17:48:28 +0000 (13:48 -0400)]
Don't go back into the event loop after we get a SIGABRT or SIGSEGV;
that causes a busy loop and is bad.
Ray Strode [Wed, 13 Aug 2008 03:56:00 +0000 (23:56 -0400)]
Ship a gdm autostart file with viewer
This way when there is an error the user can see it
at the login screen.
Ray Strode [Tue, 12 Aug 2008 21:49:04 +0000 (17:49 -0400)]
Make log viewer check spool directory for errors instead
of parsing boot log
Parsing the boot log is a bit messy since it's translated.
Ray Strode [Tue, 12 Aug 2008 21:18:29 +0000 (17:18 -0400)]
Fix up top blurb in viewer code
It still had remanents from being out of tree.
Ray Strode [Tue, 12 Aug 2008 21:16:43 +0000 (17:16 -0400)]
if an error happens during boot up spool it for the viewer
We store a link to the boot log in /var/spool/plymouth so that
the viewer can detect if boot up failed. It will do this by
checking if /var/log/boot.log and /var/spool/plymouth/boot.log
are the same file
Ray Strode [Tue, 12 Aug 2008 21:07:17 +0000 (17:07 -0400)]
Recreate boot log at each boot instead of appending
It's confusing to see multiple boots in the file
Ray Strode [Tue, 12 Aug 2008 17:28:13 +0000 (13:28 -0400)]
Make boot.log world readable by default
Before we were only making it readable by root, but
that doesn't make sense. It's not secret information
or anything.
Ray Strode [Tue, 29 Jul 2008 18:01:09 +0000 (14:01 -0400)]
Add initial boot log viewer from Matthias
Since plymouth conceals boot messages from the user during boot
up, it should provide a way for users to get at the boot
messages after login. In particular, if there was a problem
during boot up, the user should get notified at the login
screen.
This commit adds the first cut at a log viewer without
any of the login screen integration bits.
Ray Strode [Fri, 8 Aug 2008 18:19:20 +0000 (14:19 -0400)]
Restore color palette when stopping text plugin
If we don't restore the color palette then the
details view / post boot up messages get drawn
with the wrong colors.
Ray Strode [Tue, 12 Aug 2008 15:02:41 +0000 (11:02 -0400)]
fix typo in previous commit
It had things of the form if (supports_color); { ... }
Ray Strode [Fri, 8 Aug 2008 17:44:59 +0000 (13:44 -0400)]
Don't make failure to fiddle with the console color map fatal
This breaks serial console.
Ray Strode [Thu, 7 Aug 2008 20:33:28 +0000 (16:33 -0400)]
Don't call popen since it doesn't work in the initrd
popen relies on /bin/sh which may not be available in
the initrd. This commit changes ask-for-password to
call fork() directly. The code could use some clean ups
and a better command spliting function than split_string.
Ray Strode [Thu, 7 Aug 2008 20:32:47 +0000 (16:32 -0400)]
add \r to log messages to prevent stair stepping
Ray Strode [Thu, 7 Aug 2008 02:37:37 +0000 (22:37 -0400)]
remove set -e from plymouth-populate-initrd
It screws up since some of the mkinitrd functions return non-zero
Ray Strode [Thu, 7 Aug 2008 02:24:08 +0000 (22:24 -0400)]
Add some precondition checks to an api entry point
ply_event_loop_stop_watching_fd wasn't ensuring that
the caller passes non-NULL arguments.
Ray Strode [Thu, 7 Aug 2008 02:22:55 +0000 (22:22 -0400)]
Don't try to remove watches that have already been removed
This prevents some assertions from getting thrown by the
client under some circumstances
Ray Strode [Tue, 5 Aug 2008 21:22:16 +0000 (17:22 -0400)]
Remove all entry bullets if the user presses enter
Previously if the user mistyped their password they
would get shown and entry with their old bullets still
there.
Ray Strode [Tue, 5 Aug 2008 21:21:47 +0000 (17:21 -0400)]
Detect if the entry is hidden and don't draw it in that case
Ray Strode [Tue, 5 Aug 2008 21:19:36 +0000 (17:19 -0400)]
Don't enforce bizarre assertion that lists need unique user data
Ray Strode [Tue, 5 Aug 2008 21:19:02 +0000 (17:19 -0400)]
Add --debug command to client
Ray Strode [Tue, 5 Aug 2008 21:18:31 +0000 (17:18 -0400)]
Don't die from SIGPIPE on daemon disconnect
Casey Dahlin [Tue, 5 Aug 2008 19:41:06 +0000 (15:41 -0400)]
Increase logger max injection size
Casey Dahlin [Tue, 5 Aug 2008 19:40:41 +0000 (15:40 -0400)]
Don't default to last known option when setting flags
Casey Dahlin [Tue, 5 Aug 2008 19:41:46 +0000 (15:41 -0400)]
Add --wait option to client to block until daemon quits
Ray Strode [Tue, 5 Aug 2008 19:09:30 +0000 (15:09 -0400)]
Handle flags and booleans better in command parser
We were occasionally misattributing one command for another
Ray Strode [Fri, 1 Aug 2008 17:51:16 +0000 (13:51 -0400)]
Update readme to reflect new boot log path
It was /var/log/bootmessages.log, now it is /var/log/boot.log
Ray Strode [Thu, 31 Jul 2008 19:22:34 +0000 (15:22 -0400)]
Port fade-in over to use new entry in libplybootsplash
Ray Strode [Thu, 31 Jul 2008 18:48:28 +0000 (14:48 -0400)]
Port spinfinity over to use new entry in libplybootsplash
Ray Strode [Tue, 29 Jul 2008 20:22:49 +0000 (16:22 -0400)]
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.
Peter Jones [Wed, 30 Jul 2008 14:31:40 +0000 (10:31 -0400)]
Don't do library installation twice. Also fix some typos.
Peter Jones [Tue, 29 Jul 2008 19:22:38 +0000 (15:22 -0400)]
Make plymouth-populate-initrd use utility functions from mkinitrd
Ray Strode [Wed, 16 Jul 2008 20:55:15 +0000 (16:55 -0400)]
Add ctrl-l "redraw" hot key
Ray Strode [Wed, 16 Jul 2008 20:46:02 +0000 (16:46 -0400)]
Make fade-in plugin provide erase/draw handlers
Ray Strode [Wed, 16 Jul 2008 20:48:26 +0000 (16:48 -0400)]
Make spinfinity plugin provide erase/draw handlers
Ray Strode [Sat, 19 Jul 2008 22:56:08 +0000 (18:56 -0400)]
Move text plugin over to new draw/erase handlers
Ray Strode [Wed, 16 Jul 2008 15:46:26 +0000 (11:46 -0400)]
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.
Ray Strode [Fri, 11 Jul 2008 12:57:46 +0000 (08:57 -0400)]
Show detailed plugin if ask-for-password is called when no splash visible
Ray Strode [Fri, 11 Jul 2008 12:47:46 +0000 (08:47 -0400)]
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
Ray Strode [Fri, 11 Jul 2008 12:46:15 +0000 (08:46 -0400)]
Rearrange functions to drop forward declaration
Ray Strode [Fri, 11 Jul 2008 12:43:46 +0000 (08:43 -0400)]
Use details plugin instead of bailing if no rhgb on kernel cmdline
We still want things like ask-for-password and logging to work.
Ray Strode [Thu, 10 Jul 2008 01:31:20 +0000 (21:31 -0400)]
Compute libdir using yet a different heuristic
The previous one falls over for ia64
Ray Strode [Wed, 9 Jul 2008 21:36:44 +0000 (17:36 -0400)]
Add debugging feature to restore text palette
Ray Strode [Tue, 1 Jul 2008 19:18:17 +0000 (15:18 -0400)]
Bump version to 0.5.0
Ray Strode [Tue, 1 Jul 2008 18:57:17 +0000 (14:57 -0400)]
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.
Ray Strode [Tue, 1 Jul 2008 18:55:11 +0000 (14:55 -0400)]
Clear screen to black before asking for password
Ray Strode [Tue, 1 Jul 2008 15:20:44 +0000 (11:20 -0400)]
Drop print_usage function
It was hard coded, and we generate help dynamically now.
Ray Strode [Tue, 1 Jul 2008 15:15:46 +0000 (11:15 -0400)]
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.
Ray Strode [Mon, 30 Jun 2008 21:54:42 +0000 (17:54 -0400)]
Add hack to make maintenance mode probably work when
plymouth is running
It was showing up completely blank before because console
was still redirected
Ray Strode [Mon, 30 Jun 2008 21:52:44 +0000 (17:52 -0400)]
Don't watch tty for input in two places
Ray Strode [Mon, 30 Jun 2008 19:59:38 +0000 (15:59 -0400)]
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.
Ray Strode [Fri, 27 Jun 2008 19:36:14 +0000 (15:36 -0400)]
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
Ray Strode [Fri, 27 Jun 2008 19:20:30 +0000 (15:20 -0400)]
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.
Ray Strode [Fri, 27 Jun 2008 19:03:11 +0000 (15:03 -0400)]
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
Ray Strode [Fri, 27 Jun 2008 18:20:56 +0000 (14:20 -0400)]
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.
Ray Strode [Fri, 27 Jun 2008 15:14:33 +0000 (11:14 -0400)]
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
Ray Strode [Thu, 26 Jun 2008 20:50:32 +0000 (16:50 -0400)]
bump configure version to 0.4.5
Ray Strode [Thu, 26 Jun 2008 20:43:52 +0000 (16:43 -0400)]
restore color palette when closing window
We should probably do it when changing vts as well
Ray Strode [Thu, 26 Jun 2008 20:39:00 +0000 (16:39 -0400)]
mark look up geometry as static since it's internel
Ray Strode [Thu, 26 Jun 2008 20:38:48 +0000 (16:38 -0400)]
move functions around to avoid prototype at top
Ray Strode [Thu, 26 Jun 2008 20:37:02 +0000 (16:37 -0400)]
Store palette in window object and only read it once when opening device
Ray Strode [Thu, 26 Jun 2008 20:24:13 +0000 (16:24 -0400)]
Make default color mid between default gradient color stops
Ray Strode [Thu, 26 Jun 2008 20:21:49 +0000 (16:21 -0400)]
Change colors of text splash screen to configured colors
We pass colors into configure, so we should use them
Ray Strode [Thu, 26 Jun 2008 20:20:07 +0000 (16:20 -0400)]
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
Ray Strode [Thu, 26 Jun 2008 19:29:57 +0000 (15:29 -0400)]
Update TODO
Add
- consider moving text code from ply-window to a ply-text-buffer analog of ply-frame-buffer
Ray Strode [Thu, 26 Jun 2008 19:24:15 +0000 (15:24 -0400)]
Add blue background to text plugin
Ray Strode [Thu, 26 Jun 2008 19:14:58 +0000 (15:14 -0400)]
Draw spindicator in a brown trough
Ray Strode [Wed, 25 Jun 2008 21:48:32 +0000 (17:48 -0400)]
Change text pulser to use space instead of line drawing characters to prevent
scramblage at font change
Ray Strode [Wed, 25 Jun 2008 21:47:59 +0000 (17:47 -0400)]
add new apis to set foreground and background colors in text mode
Ray Strode [Wed, 25 Jun 2008 19:54:07 +0000 (15:54 -0400)]
Properly stop animation when asking for password in text plugin
Ray Strode [Wed, 25 Jun 2008 12:57:39 +0000 (08:57 -0400)]
clear and move cursor to 0,0 when hiding and showing
Ray Strode [Tue, 24 Jun 2008 15:21:20 +0000 (11:21 -0400)]
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
Ray Strode [Tue, 24 Jun 2008 15:07:30 +0000 (11:07 -0400)]
Reset cursor to 0,0 on clear
Ray Strode [Mon, 23 Jun 2008 23:26:33 +0000 (19:26 -0400)]
Make --reset chooser the most recent plugin not the oldest
Ray Strode [Mon, 23 Jun 2008 17:08:07 +0000 (13:08 -0400)]
change to root directory before trying to access files
This fixes running plymouth after bootup
Ray Strode [Sun, 22 Jun 2008 05:19:18 +0000 (01:19 -0400)]
/Really/ exit cleanly if rhgb isn't present on kernel cmdline
Unlike
b7f4399294fad3d70029526cd7334c50d8673214 which was
broken
Ray Strode [Sun, 22 Jun 2008 04:53:55 +0000 (00:53 -0400)]
Bump version to 0.4.0
Ray Strode [Sun, 22 Jun 2008 04:49:02 +0000 (00:49 -0400)]
ship bizcom unconditionally
Ray Strode [Sun, 22 Jun 2008 04:48:47 +0000 (00:48 -0400)]
hide /var/log behind a define
Ray Strode [Sun, 22 Jun 2008 04:36:23 +0000 (00:36 -0400)]
Exit cleanly if rhgb is not on the command line