- May 06, 2010
-
-
Ray Strode authored
-
Ray Strode authored
These are just a few more bits for themes to optionally make use of. The throbber gets overlaid with the progress animation, so they need to be concentric. The header gets put on top.
-
Ray Strode authored
We've historically used a expontial function for boot up, to make it "feel" faster. This equation was invented by Will Woods. Making progress linear with boot up is also useful though. This commit makes it configurable.
-
Ray Strode authored
The cache file record milestones during boot, so we should write it out: 1) only after the root filesystem is mounted 2) as soon as we're no longer going to get updates about boot progress.
-
Ray Strode authored
This potentially allows themes to move their progress bars to the end before quiting.
-
Ray Strode authored
The throbber has a function for determining which frame to show based on the current time. This function was: ƒrame(t) = number_of_frames ∙ (⅟₂ sin(t) + ⅟₂) Which basically oscillates between 0 and number_of_frames - 1, over and over again. There are two problems with this function; - after it runs through all the frames in order, it then procedes to run through them backward. - This function also starts in the middle of the set of throbber frames. These problems don't matter for spinfinity, but will look wrong for most other themes. The new function is this: ƒrame(t) = number_of_frames ∙ (1⁄duration)(t mod duration) This function solves both problems. At time 0 it uses frame 0, and after the last frame it jumps back to the first frame.
-
Ray Strode authored
The throbber variable has an is_stopped state variable that decides whether or not draws happen. It starts off false, and gets toggled when started. Unfortunately, it never gets reset to false after be stopped. This commit fixes that.
-
- May 03, 2010
-
-
Colin Watson authored
boot_buffer may be NULL if plymouthd failed to attach to the console session (e.g. if booting without an initramfs so /dev/pts isn't mounted yet). Handle this gracefully rather than segfaulting.
-
Colin Watson authored
If plymouth:splash or plymouth:debug is the last argument in /proc/cmdline, then it will be terminated with '\n' rather than ' '. Handle this.
-
Colin Watson authored
Short-circuit evaluation meant that the path variable was never set if plymouth:debug=file: was used. Switch the ordering around to fix this.
-
- Apr 29, 2010
-
-
Ray Strode authored
After changing the active vt during start up, we get a signal when it finishes, because we're in VT_PROCESS mode, so we don't need to explicitly block waiting for it to finish. During the quit path, though, we aren't in VT_PROCESS mode anymore, won't get any signals, and still need to know that the VT switch is finished before informing the client that the quit is finished. This commit forces ply_terminal_deactivate_vt to block until the VT switch it initiates finishes.
-
Ray Strode authored
-
- Apr 21, 2010
-
-
Frederic Crozat authored
Export configuration and policy directories used by plymouth.
-
Frederic Crozat authored
state->keyboard is set already in set_keyboard, there is no need to do the work twice.
-
- Apr 20, 2010
-
-
Charles Brej authored
-
Charles Brej authored
An example in the script.plymouth shows a value being set. These values are then present at the first execution of the script set in the global scope.
-
Charles Brej authored
Supplying a callback function, you can get each group/key/value triple. Allows accessing values in the key file for which you may not know the keys.
-
Charles Brej authored
If NULL or no variable was passed, the aplha variable would be read as NaN which gets clamped to 0 so the text would be completely transparent.
-
The system now keeps a list of messages so they can be shown again when the user flips themes or if the messages were passed before the splash was shown. This also enables the splashes to show multiple messages (should they choose to do so). There will later be a way of undisplaying a message.
-
- Apr 18, 2010
-
-
Charles Brej authored
Was looking at the width rather than the height of the second image
-
Charles Brej authored
Must have been left over from some debugging
-
Charles Brej authored
-
Charles Brej authored
-
Charles Brej authored
There was a "_convert_" in the middle of the function name from a clumsy copy paste.
-
Charles Brej authored
-
Charles Brej authored
Default color is black.
-
Charles Brej authored
The text was not being shown because show was not called. Also the default colour is white which was not showing up on white background.
-
Charles Brej authored
-
Charles Brej authored
-
Charles Brej authored
Adds ply_image_convert_get_buffer to get the image buffer without destroying the image. Forgot to add the .c.
-
Charles Brej authored
Adds ply_image_convert_get_buffer to get the image buffer without destroying the image.
-
Charles Brej authored
The sprite area no longer needs to be calculated as the buffer holds that information.
-
Charles Brej authored
-
Charles Brej authored
-
Charles Brej authored
-
Charles Brej authored
These draw the content of one buffer into another. This is cleaner than using the raw data and passing the width and height of the data separately.
-
Charles Brej authored
The frames are now stored as pixel-buffers which will be cleaner to draw from in the future.
-
Charles Brej authored
The frames are now stored as pixel-buffers which will be cleaner to draw from in the future.
-
Charles Brej authored
These were accessible by the get_size function, but individual functions are more convenient.
-
- Apr 14, 2010
-
-
Ray Strode authored
There is a small window after plymouth is told to quit or deactivate before it actually does. During this window, if the user happens to hit escape, bad things could happen. We really don't want to mess with, e.g., the tty settings when we're about to exit. This commit puts plymouth in a sort of "degraded" mode while it's deactivating. During this time frame, user input is ignored.
-