Ray Strode
dc1eb48ac9
Add Charlie Brej to copyright holder lists
...
He added some new functions that he owns
copyright to.
2008-09-20 18:59:21 -04:00
Charlie Brej
caf2ac5839
Add new functions for filling fb within clip rect
2008-09-20 18:25:57 -04:00
Charlie Brej
8b2aebbc0b
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.
2008-09-20 18:25:36 -04:00
Charlie Brej
e7304b9b76
Skip pixel blending if alpha is 0
...
It would be pointless to do the computation.
2008-09-20 18:20:59 -04:00
Charlie Brej
88c85c116d
Add new list functions
...
Add function to clear list of all nodes, function to sort
nodes in list, and function set node user data.
2008-09-20 18:18:16 -04:00
Charlie Brej
3e34fba653
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.
2008-09-20 18:12:02 -04:00
Charlie Brej
527301416a
Plug various memory leaks
2008-09-20 17:56:43 -04:00
Christoph Brill
b6da503604
Fix sandbox builds (by using DESTDIR)
...
plymouth-update-initrd was getting passed
the logo location without DESTDIR
2008-09-11 23:01:37 -04:00
Christoph Brill
26b95a63de
Fix the build order of scripts/ and images/
...
The image needs to be installed before it can be
processed with the script.
2008-09-11 22:59:27 -04:00
Ray Strode
69cec67904
Don't reset cursor position when closing window
...
The splash plugins should clear screen on their own.
2008-09-10 19:29:41 -04:00
Ray Strode
dee4a85787
Require plymouthd to be run as root
2008-09-10 14:19:47 -04:00
Ray Strode
ea53cbf0e8
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)
2008-09-10 13:31:47 -04:00
Ray Strode
de640c616f
Fix typo
...
forgot a state->
2008-09-10 13:09:03 -04:00
Ray Strode
be0130677f
don't assert if no window could be made
2008-09-10 10:47:16 -04:00
Ray Strode
a284953e42
Actually fix serial console loop
2008-09-10 10:46:33 -04:00
Ray Strode
ca07ac0c34
Fix console iterating patch from two commits ago
...
It was an infinite loop
2008-09-05 15:09:07 -04:00
Ray Strode
d12ae10a70
Strip out , when parsing console
...
Options can be passed to the console, we should
ignore them when opening the console.
2008-09-05 14:31:08 -04:00
Ray Strode
a07d23afd4
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
2008-09-05 14:30:19 -04:00
Ray Strode
335db187c6
Show password prompts for details plugin
2008-09-05 11:23:52 -04:00
Ray Strode
eaabb6a04b
Reset details to raw mode when getting password
...
For some reason it's getting reset during boot up.
2008-09-05 11:20:54 -04:00
Ray Strode
223a6fca83
Don't send ack in addition to cached response
...
Just a missing return statement
2008-09-04 17:43:26 -04:00
Ray Strode
e962a0bbd9
respond w/ "" if user hits esc to password prompt
...
This is so when we load the next plugin it won't
get confused.
2008-08-27 16:01:28 -04:00
Ray Strode
5534d814aa
Don't try to print prompt in text plugin, if there is not prompt
...
Fixes a crasher.
2008-08-27 14:08:12 -04:00
Ray Strode
6da3b8ffa6
Don't try to use cached passwords if none get returned
...
It causes a pretty instant crash.
2008-08-27 12:10:08 -04:00
Ray Strode
8fc9c8f513
Add ply-label-plugin.h to Makefile
2008-08-27 11:41:08 -04:00
Ray Strode
38e261ac9a
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.
2008-08-27 10:55:38 -04:00
Ray Strode
99ebae5db2
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.
2008-08-27 10:55:38 -04:00
Ray Strode
2c40451ab2
add Pango check to configure
...
We're going to need it to render text
2008-08-27 10:55:37 -04:00
Ray Strode
2f915a471c
Move splash-plugins to plugins/splash
...
We're going to have non-splash plugins shortly.
2008-08-27 10:55:37 -04:00
Ray Strode
45894b7dfb
Add empty on_root_mounted function
2008-08-27 10:55:37 -04:00
Ray Strode
3822e3573d
Add notification to splash plugins when / gets mounted
...
We'll need it to know when we can dlopen support libraries
for rendering text.
2008-08-27 10:55:37 -04:00
Ray Strode
7391072b93
Show the prompt with the text plugin
...
It's a little ugly atm, might be able to do better.
2008-08-27 10:55:37 -04:00
Ray Strode
5933f71f43
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.
2008-08-27 10:55:37 -04:00
Ray Strode
dbe8e595d3
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.
2008-08-27 10:55:36 -04:00
Ray Strode
774d86dbde
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.
2008-08-27 10:55:36 -04:00
Ray Strode
d3ec877aae
Fix up compile error in boot server test
2008-08-27 10:55:36 -04:00
Ray Strode
6f60a782e5
fix typo (transposed letters in 'ask for passowrd')
2008-08-21 13:45:25 -04:00
Ray Strode
d6b2d64ed0
White space clean up
2008-08-21 13:32:24 -04:00
Ray Strode
ab7bffea8c
fix up string array splitting code
...
p = q should have been q = p
2008-08-20 15:50:56 -04:00
Ray Strode
808b18f767
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.
2008-08-20 15:50:56 -04:00
Ray Strode
f4946d6269
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.
2008-08-20 15:50:55 -04:00
Ray Strode
55e1ff1698
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.
2008-08-20 15:50:55 -04:00
Ray Strode
ffa35e667f
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.
2008-08-20 15:50:49 -04:00
Ray Strode
90a9e3f450
Make ply_buffer_clear actually clear the buffer
...
Before it was just setting size to 0 causing old
stale contents to get reused occassionally.
2008-08-20 15:50:48 -04:00
Ray Strode
777830f556
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.
2008-08-20 15:50:48 -04:00
Ray Strode
ca19eb48ca
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.
2008-08-20 15:50:48 -04:00
Ray Strode
1142082f80
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?"
2008-08-20 15:50:24 -04:00
Ray Strode
eaf21780d3
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.
2008-08-19 16:42:27 -04:00
Ray Strode
87acb9c279
bump configure.ac version to 0.6.0
...
Should do another release soon.
2008-08-19 16:03:44 -04:00
Ray Strode
3141ec7afc
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.
2008-08-19 14:44:14 -04:00