Commit graph

366 commits

Author SHA1 Message Date
Kristian Høgsberg
f11cd0f666 Factor out background drawing in plugins. 2008-06-02 11:54:40 -04:00
Kristian Høgsberg
a54c748d3d Fix typo in configure.ac logo filename. 2008-06-02 11:54:40 -04:00
Ray Strode
f5a15611fb Port password handling over to using new answer object 2008-06-02 11:49:00 -04:00
Ray Strode
ccd9567258 add new answer object for giving a deferred response
Right now we have this hack tower of function pointers
cutting through layers of code to get the password
from the splash plugin to the client.  I'd like to cut
most of that out by just having one answer object that
the bottom layer and the the top layer know directly,
without the middle layers having to get too involved.
2008-06-02 11:03:28 -04:00
Ray Strode
0af64a60e2 Respond with password of "" if splash-plugin can't ask for password 2008-06-02 10:19:40 -04:00
Ray Strode
9cb9af7c20 Remove superfluous asterisk in function prototype
We were passing a pointer to a function pointer instead
of just a function pointer.
2008-06-02 10:19:18 -04:00
Ray Strode
b4842e3c74 Respond with password of "" if boot splash plugin isn't loaded 2008-06-02 10:11:35 -04:00
Ray Strode
1c3a90801e Fix one more place in spinifinity that wasn't honoring configured color 2008-05-30 14:30:11 -04:00
Ray Strode
c4e9d540fa Update TODO
Add:
- clean up /var/run/plymouth before nash switchroots
2008-05-30 14:22:01 -04:00
Ray Strode
fa4c1d5e83 Update license in spec file to be more specific 2008-05-30 13:17:59 -04:00
Ray Strode
b4e1c21886 create /var/run/plymouth during install 2008-05-30 13:10:42 -04:00
Ray Strode
7f743227c3 add bizcom logo to rpm file list 2008-05-30 13:10:19 -04:00
Ray Strode
d99d2283fa Don't install bizcom logo if alternate logo supplied 2008-05-30 13:09:57 -04:00
Ray Strode
3e911d01ac Bump version to 0.1.0 2008-05-30 12:02:19 -04:00
Ray Strode
800b047b3d Update email address in configure.ac and AUTHORS 2008-05-30 12:01:57 -04:00
Ray Strode
a01264d0ea Update README 2008-05-30 11:58:25 -04:00
Ray Strode
4aacfff360 Restore terminal to canonical mode when closing window 2008-05-30 11:22:49 -04:00
Ray Strode
cfc075c300 Mark ply_window_set_unbuffered_input static 2008-05-30 11:22:15 -04:00
Ray Strode
8aeea7fb15 fill lock screen with configured color in spinfinity plugin 2008-05-30 11:05:21 -04:00
Ray Strode
6c96b2fa3c Point plymouth-update-initrd at the configured logo 2008-05-30 11:04:02 -04:00
Ray Strode
2efc4cd81a Fix up throbber to use correct color, too 2008-05-30 10:39:46 -04:00
Ray Strode
d3c7fbe880 Change splash plugins to honor configured background color
Previously, they were still using blue.
2008-05-30 10:34:51 -04:00
Ray Strode
4ea6b9c8b7 add new function ply_frame_buffer_fill_with_hex_color_at_opacity
It's sometimes useful to specify an opacity to fill with for the
passed in color, too, independent of its alpha.
2008-05-30 10:23:22 -04:00
Ray Strode
d685333c90 Add new function ply_frame_buffer_fill_with_hex_color
The current function for filling the frame buffer with
a block color takes 4 doubles.  In some cases, it's
easier to give the hex value directly.
2008-05-30 10:18:27 -04:00
Ray Strode
398eda4203 Use "bizcom" pseudologo for installs that don't specify a logo
We want this to work out of the box, so don't depend on
/usr/share/pixmaps/system-logo-white.png existing.
2008-05-30 09:56:49 -04:00
Ray Strode
9d34239801 Read default kernel after removing graphic boot entry from grub.conf
That may fix a bug with plymouth-update-initrd that causes it to
sometimes pick the wrong kernel for the initrd it uses.
2008-05-30 09:34:08 -04:00
Ray Strode
3bb498ca0a Free window in splash test program on exit 2008-05-30 09:11:54 -04:00
Ray Strode
10df5c98bf Remove krh's evil emacs tabs from test program 2008-05-30 09:05:46 -04:00
Ray Strode
545b50c350 Update ply-boot-splash test code to point to fade-in
We renamed it from fedora-fade-in to fade-in
2008-05-30 09:04:06 -04:00
Ray Strode
4f635e04a6 Conditionalize tests with configure option
We do this so we can disable them from distcheck,
but still build them easily when not doing distcheck.
2008-05-30 00:21:05 -04:00
Ray Strode
5caee621a2 Don't run plymouth-update-initrd during distcheck 2008-05-30 00:10:51 -04:00
Ray Strode
2a72db3a22 Don't build tests since they break distcheck 2008-05-30 00:01:27 -04:00
Ray Strode
fd14ecb2c0 Removed dropped tests directory from configure.ac 2008-05-29 17:29:32 -04:00
Ray Strode
9cfcfdf231 remove dropped tests directory from makefile 2008-05-29 17:23:26 -04:00
Ray Strode
c6e47eaf1a Drop unused tests directory 2008-05-29 17:11:42 -04:00
Ray Strode
3f91989cf3 Allow distro/system builder to specify path to logo
Previously we've just hard coded the location to the fedora
logo.  Now it's a configure time flag.  We also have a configure
time flag for a background color that goes with the logo, but
none of the splash plugins make use of it yet.
2008-05-29 16:54:00 -04:00
Ray Strode
6226cd1119 Fix bug in union and intersection functions
The x and y values of the flush area are bogus just after
a flush when the flush area has a width of 0.  We need to
special case that situation to perform the union/intersection
operations without looking at x and y.
2008-05-29 15:01:03 -04:00
Ray Strode
895c827a9f More s/fedora// work 2008-05-29 14:57:50 -04:00
Ray Strode
3493c2919f Add an optimization for full width fills on some hardware
If we know the rowstride is the same width as the frame buffer
then we can memcpy multiple rows at one time.
2008-05-29 14:34:35 -04:00
Ray Strode
697dc98ebb Drop defunct prototype for ply_frame_buffer_copy_to_device
We no longer have that function.
2008-05-29 14:03:22 -04:00
Kristian Høgsberg
fa9c59f86c Hook up xrgb32 flush function. 2008-05-29 10:30:38 -04:00
Kristian Høgsberg
6e5fe71076 Do the shadow buffer to frame buffer copy through a function pointer.
This allows us to hook in pixel format specific functions for this,
but for now the patch just sets up the old code as the generic fallback.
2008-05-29 10:30:38 -04:00
Ray Strode
ddabea638d Only close frame buffer when closing window if it was open 2008-05-29 10:25:04 -04:00
Ray Strode
fee3d6d876 Reset graphics mode before drawing throbber
This ensures keyboard input stays in raw mode
2008-05-29 01:40:55 -04:00
Ray Strode
458b2c81e3 Add window source files to plugins that were lacking it
We may want to do another convenience lib for plugin
specific apis, or fold window into libply
2008-05-29 01:39:10 -04:00
Ray Strode
788359b9ec Change throbber to take window instead of framebuffer
We want the throbber to know about the window it's in,
so that it will be easier to move drawing code to a
draw handler model
2008-05-29 01:12:17 -04:00
Ray Strode
cae6ca26f3 Have window manage frame buffer instead of plugins
This is a first step toward making the window provide
an draw handler interface, so we can hide the details
of pause/unpause, resetting raw mode, and graphics mode,
etc from the individual plugins.
2008-05-29 00:46:02 -04:00
Ray Strode
93ac9f7b1c Set up event loop exit handler in plugins on show success
Previously we were setting up the exit handler at the top
of the show vtable function.  This meant having to remove
the exit handler if the show fails. It's much easier to
not set up the handler until after we know we're going to
succeed.
2008-05-29 00:16:08 -04:00
Ray Strode
dd3e2229d7 Drop line editing plugin vtable functions. Use window directly.
There was a sort useless layer of indirection between the
window object and splash plugins.  It ended up with
functions like:

void
on_backspace (ply_splash_plugin_t *plugin)
{
  plugin->interface->on_backspace (plugin);
}

Since the individual plugins are aware of the window object
anyway, they can register their own on_backspace et al handlers
without going through the ply_splash_plugin_t layer.
2008-05-29 00:02:22 -04:00
Ray Strode
d76fcfed45 Rename fedora-fade-in to fade-in
The plugin doesn't need to be distro specific
2008-05-28 23:58:46 -04:00