]>
git.ipfire.org Git - thirdparty/plymouth.git/log
Ray Strode [Tue, 23 Sep 2008 13:26:36 +0000 (09:26 -0400)]
move function around to fix build
Ray Strode [Mon, 22 Sep 2008 21:54:38 +0000 (17:54 -0400)]
Go back to text mode when hiding spinfinity splash
Ray Strode [Mon, 22 Sep 2008 21:52:47 +0000 (17:52 -0400)]
Remove exit handler at plugin unload time
Plugin might get unloaded without being hidden.
If so we need to detach from the event loop.
Ray Strode [Mon, 22 Sep 2008 03:49:15 +0000 (23:49 -0400)]
implement become_idle interface in spinfinity
This means extending throbber to optionally take
a trigger to stop when ready.
Ray Strode [Mon, 22 Sep 2008 03:12:12 +0000 (23:12 -0400)]
Add new interface to make splash plugin go to idle
There are times when we want to make the splash
screen stop any pending animations and got to an
idle state. For instance, right before resuming,
or right before loading up GDM. It may take a
few frames for the splash screen to get there though.
This interface tells the splash screen it needs to
idle and provides a trigger for it to fire when it's
actually made it to an idle state.
Ray Strode [Mon, 22 Sep 2008 02:44:19 +0000 (22:44 -0400)]
Add new trigger object
This just calls a closure at a later point in time.
It will get used for having the splash plugin perform
tasks that will make the daemon defer responding to
the client.
Ray Strode [Fri, 19 Sep 2008 18:25:25 +0000 (14:25 -0400)]
Conditionalize transition
Ray Strode [Sat, 13 Sep 2008 17:58:38 +0000 (13:58 -0400)]
Tell GDM to do a smooth transition for spinfinity
If spinfinity ran and we end up exiting with it
still on screen, tell GDM so that it can open
X up on the same display and do a smooth transition.
Ray Strode [Sat, 13 Sep 2008 17:57:38 +0000 (13:57 -0400)]
Track visibility state of spinfinity plugin
If it's still visible when it's destroyed,
we'll want to tell GDM to do a smooth
transition.
Ray Strode [Sat, 13 Sep 2008 17:49:43 +0000 (13:49 -0400)]
Fix up earlier add/remove window change
Ray Strode [Sat, 13 Sep 2008 17:38:49 +0000 (13:38 -0400)]
Add "quit" subcommand to boot client
It's like --quit but has a --retain-splash option,
so the boot splash can stay on screen after plymouthd
exits.
Ray Strode [Sat, 13 Sep 2008 17:30:46 +0000 (13:30 -0400)]
Only hide boot splash on quit if told to do so
Extend the daemon-client protocol to include a
"retain-splash" flag to the quit request. If
it's set then we don't hide the boot splash.
Ray Strode [Sat, 13 Sep 2008 15:56:14 +0000 (11:56 -0400)]
Add {add,remove}_window funcs to splash plugins
We'll be able to have more than one window for
serial consoles, etc.
Ray Strode [Sat, 13 Sep 2008 15:08:10 +0000 (11:08 -0400)]
Don't unload plugin when hiding it
Since it gets unloaded on free() now, we need to
make sure it doesn't get unloaded on hide.
Ray Strode [Sat, 13 Sep 2008 15:05:26 +0000 (11:05 -0400)]
Unload plugin instead of hiding it on free()
We basically don't want to ever implicitly hide on
the shutdown path, only when asked to explictly,
or when the splash plugin itself deems it
necessary.
Ray Strode [Sat, 13 Sep 2008 15:01:53 +0000 (11:01 -0400)]
Unload splash plugin instead of hiding on quit
It may decide to keep the splash up after it
exits.
Ray Strode [Sat, 13 Sep 2008 14:51:26 +0000 (10:51 -0400)]
Don't force text mode on quit
Leave it up to the splash plugin to decide
Ray Strode [Sat, 20 Sep 2008 22:59:21 +0000 (18:59 -0400)]
Add Charlie Brej to copyright holder lists
He added some new functions that he owns
copyright to.
Charlie Brej [Sat, 20 Sep 2008 22:25:57 +0000 (18:25 -0400)]
Add new functions for filling fb within clip rect
Charlie Brej [Sat, 20 Sep 2008 22:23:24 +0000 (18:23 -0400)]
Allow fb areas to have out of bounds x and y values
Sprites may move partially past the edge of the screen.
Allow that, and just clip to the screen when necessary.
Charlie Brej [Sat, 20 Sep 2008 22:20:59 +0000 (18:20 -0400)]
Skip pixel blending if alpha is 0
It would be pointless to do the computation.
Charlie Brej [Sat, 20 Sep 2008 22:18:16 +0000 (18:18 -0400)]
Add new list functions
Add function to clear list of all nodes, function to sort
nodes in list, and function set node user data.
Charlie Brej [Sat, 20 Sep 2008 22:12:02 +0000 (18:12 -0400)]
Add resize and rotate methods to image object
Some splash plugins may want to rotate and scale
sprites on screen, so these functions may be useful.
Charlie Brej [Sat, 20 Sep 2008 21:46:47 +0000 (17:46 -0400)]
Plug various memory leaks
Christoph Brill [Fri, 12 Sep 2008 03:01:37 +0000 (23:01 -0400)]
Fix sandbox builds (by using DESTDIR)
plymouth-update-initrd was getting passed
the logo location without DESTDIR
Christoph Brill [Fri, 12 Sep 2008 02:59:27 +0000 (22:59 -0400)]
Fix the build order of scripts/ and images/
The image needs to be installed before it can be
processed with the script.
Ray Strode [Wed, 10 Sep 2008 23:29:41 +0000 (19:29 -0400)]
Don't reset cursor position when closing window
The splash plugins should clear screen on their own.
Ray Strode [Wed, 10 Sep 2008 18:19:47 +0000 (14:19 -0400)]
Require plymouthd to be run as root
Ray Strode [Wed, 10 Sep 2008 17:31:47 +0000 (13:31 -0400)]
Force shadow frame buffer to have cairo compatible row stride
Previously it would keep the rowstride of the scanout buffer,
which isn't right. The entire point of the shadow buffer is
that it has a known at compile time constant memory layout.
(This change fixes password prompts on some hardware)
Ray Strode [Wed, 10 Sep 2008 17:09:03 +0000 (13:09 -0400)]
Fix typo
forgot a state->
Ray Strode [Wed, 10 Sep 2008 14:47:16 +0000 (10:47 -0400)]
don't assert if no window could be made
Ray Strode [Wed, 10 Sep 2008 14:46:33 +0000 (10:46 -0400)]
Actually fix serial console loop
Ray Strode [Fri, 5 Sep 2008 19:09:07 +0000 (15:09 -0400)]
Fix console iterating patch from two commits ago
It was an infinite loop
Ray Strode [Fri, 5 Sep 2008 18:31:08 +0000 (14:31 -0400)]
Strip out , when parsing console
Options can be passed to the console, we should
ignore them when opening the console.
Ray Strode [Fri, 5 Sep 2008 18:30:19 +0000 (14:30 -0400)]
Use the last console instead of first console
If the kernel command line specifies more than
one console, then the last console is /dev/console
Ray Strode [Fri, 5 Sep 2008 15:23:52 +0000 (11:23 -0400)]
Show password prompts for details plugin
Ray Strode [Fri, 5 Sep 2008 15:20:54 +0000 (11:20 -0400)]
Reset details to raw mode when getting password
For some reason it's getting reset during boot up.
Ray Strode [Thu, 4 Sep 2008 21:43:26 +0000 (17:43 -0400)]
Don't send ack in addition to cached response
Just a missing return statement
Ray Strode [Wed, 27 Aug 2008 20:01:28 +0000 (16:01 -0400)]
respond w/ "" if user hits esc to password prompt
This is so when we load the next plugin it won't
get confused.
Ray Strode [Wed, 27 Aug 2008 18:08:12 +0000 (14:08 -0400)]
Don't try to print prompt in text plugin, if there is not prompt
Fixes a crasher.
Ray Strode [Wed, 27 Aug 2008 16:10:08 +0000 (12:10 -0400)]
Don't try to use cached passwords if none get returned
It causes a pretty instant crash.
Ray Strode [Wed, 27 Aug 2008 15:41:08 +0000 (11:41 -0400)]
Add ply-label-plugin.h to Makefile
Ray Strode [Wed, 27 Aug 2008 03:51:59 +0000 (23:51 -0400)]
Add start of font rendering support
We now have a plugin that we load after / is mounted.
It links against pango for text support. In
libplybootsplash we have a new label control
that will call into the plugin if it's loaded or
render invisible otherwise.
Ray Strode [Wed, 27 Aug 2008 03:47:55 +0000 (23:47 -0400)]
Add ply_frame_buffer_get_bytes
It's going to be used to get access to the frame buffer
bytes directly, so they can be used with cairo.
Ray Strode [Fri, 22 Aug 2008 12:48:08 +0000 (08:48 -0400)]
add Pango check to configure
We're going to need it to render text
Ray Strode [Thu, 21 Aug 2008 21:09:58 +0000 (17:09 -0400)]
Move splash-plugins to plugins/splash
We're going to have non-splash plugins shortly.
Ray Strode [Thu, 21 Aug 2008 20:58:26 +0000 (16:58 -0400)]
Add empty on_root_mounted function
Ray Strode [Thu, 21 Aug 2008 20:04:35 +0000 (16:04 -0400)]
Add notification to splash plugins when / gets mounted
We'll need it to know when we can dlopen support libraries
for rendering text.
Ray Strode [Thu, 21 Aug 2008 19:27:12 +0000 (15:27 -0400)]
Show the prompt with the text plugin
It's a little ugly atm, might be able to do better.
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.