]> git.ipfire.org Git - thirdparty/plymouth.git/log
thirdparty/plymouth.git
17 years agoUpdate spec file
Ray Strode [Mon, 9 Jun 2008 16:55:58 +0000 (12:55 -0400)] 
Update spec file

Add -libs and -devel subpackages as well as incoporating
the changes that went into the Fedora package after its
package review.

17 years agoDon't show [subcommands ...] in usage line if there are no subcommands
Ray Strode [Mon, 9 Jun 2008 15:38:18 +0000 (11:38 -0400)] 
Don't show [subcommands ...] in usage line if there are no subcommands

17 years agoCreate new libplybootsplash
Ray Strode [Mon, 9 Jun 2008 14:18:39 +0000 (10:18 -0400)] 
Create new libplybootsplash

The old approach of including the same source files into
multiple places is less than pretty.  But moving the code
to libply didn't seem right either, since libply is fairly
generic and could in theory get swapped out with a standard
runtime at some point.

Also, exposing libplybootsplash as an external library will
facilitate creating out of tree splash plugins.

17 years agoImprove --help output spacing
Ray Strode [Mon, 9 Jun 2008 02:16:06 +0000 (22:16 -0400)] 
Improve --help output spacing

17 years agoUpdate TODO
Ray Strode [Sun, 8 Jun 2008 22:26:31 +0000 (18:26 -0400)] 
Update TODO

Add:
    - fix error handling.  In particular, ply_open_module gets it completely
      wrong (replies on errno instead of dlerror())

17 years agoAdd new FLAG type to command parser api
Ray Strode [Sun, 8 Jun 2008 21:44:36 +0000 (17:44 -0400)] 
Add new FLAG type to command parser api

It's just like boolean but doesn't advertise that it can
take the form --flag=false.  This makes the --help output
for --help say --help instead of --help={true|false}

17 years agoPort client over to using new command line parsing code
Ray Strode [Sun, 8 Jun 2008 06:00:49 +0000 (02:00 -0400)] 
Port client over to using new command line parsing code

For now, we still use the "--command" format.  Soon we'll
switch to the "command --option" format

17 years agoImprove command parser help output
Ray Strode [Sun, 8 Jun 2008 05:58:14 +0000 (01:58 -0400)] 
Improve command parser help output

17 years agoAdd some functions to command parser header
Ray Strode [Sun, 8 Jun 2008 05:35:32 +0000 (01:35 -0400)] 
Add some functions to command parser header
ply_command_parser_get_help_string and
ply_command_parser_get_options never got added

17 years agos/rhgb-client.c/plymouth.c/ in comment
Ray Strode [Sun, 8 Jun 2008 05:20:22 +0000 (01:20 -0400)] 
s/rhgb-client.c/plymouth.c/ in comment

17 years agoAdd .gitignore file
Ray Strode [Sun, 8 Jun 2008 05:19:49 +0000 (01:19 -0400)] 
Add .gitignore file

17 years agoUpdate TODO
Ray Strode [Fri, 6 Jun 2008 19:50:55 +0000 (15:50 -0400)] 
Update TODO

Add:
  - rotate boot.log per boot cycle (might be easiest to just fork/exec out to logrotate directly)

17 years agoAdd the start of a command line parser
Ray Strode [Thu, 5 Jun 2008 22:21:18 +0000 (18:21 -0400)] 
Add the start of a command line parser

This will be useful for changing the client to use a

plymouth subcommand --option1 --option2

format

17 years agoAdapt boot splash test program to take a vt to switch to
Ray Strode [Wed, 4 Jun 2008 20:36:56 +0000 (16:36 -0400)] 
Adapt boot splash test program to take a vt to switch to

17 years agoFix boot splash test program
Ray Strode [Wed, 4 Jun 2008 20:30:27 +0000 (16:30 -0400)] 
Fix boot splash test program

It hadn't been converted over to the new window api

17 years agoSupport passing in a 0 to ply_window_new to mean "current vt"
Ray Strode [Wed, 4 Jun 2008 20:29:38 +0000 (16:29 -0400)] 
Support passing in a 0 to ply_window_new to mean "current vt"

17 years agomove the "get active vt" guts out of switch_to_vt
Ray Strode [Wed, 4 Jun 2008 20:25:44 +0000 (16:25 -0400)] 
move the "get active vt" guts out of switch_to_vt

We'll be needing to get the active vt when not
switching.

17 years agoUse vt7 by default
Ray Strode [Wed, 4 Jun 2008 19:43:45 +0000 (15:43 -0400)] 
Use vt7 by default

17 years agoAdd new window apis to change which vt is active
Ray Strode [Wed, 4 Jun 2008 19:03:27 +0000 (15:03 -0400)] 
Add new window apis to change which vt is active

This allows us to make sure the window is currently
on/off screen.

17 years agoChange window to take a vt number instead of a tty device file
Ray Strode [Wed, 4 Jun 2008 18:20:18 +0000 (14:20 -0400)] 
Change window to take a vt number instead of a tty device file

We are going to want to change to the vt of the tty that we're
using for the window.  This means we need to know the vt number
instead of the device file.  From the number we can derive the
device filename.

17 years agoFix install path for plymouth and plymouthd
Peter Jones [Wed, 4 Jun 2008 18:24:36 +0000 (14:24 -0400)] 
Fix install path for plymouth and plymouthd

17 years agoRemove ply-copy-dir-test.
Peter Jones [Wed, 4 Jun 2008 17:49:18 +0000 (13:49 -0400)] 
Remove ply-copy-dir-test.

17 years agoGet rid of ply-copy-test.
Peter Jones [Wed, 4 Jun 2008 17:46:53 +0000 (13:46 -0400)] 
Get rid of ply-copy-test.

17 years agoRemove items I've done.
Peter Jones [Wed, 4 Jun 2008 17:45:44 +0000 (13:45 -0400)] 
Remove items I've done.

17 years agoGet rid of everything about directory switching and PLY_WORKING_DIRECTORY.
Peter Jones [Wed, 4 Jun 2008 17:44:52 +0000 (13:44 -0400)] 
Get rid of everything about directory switching and PLY_WORKING_DIRECTORY.

17 years agoMake ply-copy-dir-test.c work without the "detachable" functions.
Peter Jones [Wed, 4 Jun 2008 17:32:46 +0000 (13:32 -0400)] 
Make ply-copy-dir-test.c work without the "detachable" functions.

17 years agoRemove ply_create_detachable_directory() and ply_detach_directory(), add
Peter Jones [Wed, 4 Jun 2008 17:28:15 +0000 (13:28 -0400)] 
Remove ply_create_detachable_directory() and ply_detach_directory(), add
ply_mount_tmpfs() to do the part of that we still need.

17 years agoMake plymouth_should_be_running() be less manual, and add " init=" handler.
Peter Jones [Wed, 4 Jun 2008 16:55:32 +0000 (12:55 -0400)] 
Make plymouth_should_be_running() be less manual, and add " init=" handler.

17 years agoAdd ply_move_mount().
Peter Jones [Wed, 4 Jun 2008 16:03:35 +0000 (12:03 -0400)] 
Add ply_move_mount().

17 years agoRemove a bunch of chroot and fs mounting/unmounting code.
Peter Jones [Wed, 4 Jun 2008 15:55:59 +0000 (11:55 -0400)] 
Remove a bunch of chroot and fs mounting/unmounting code.

17 years agoMake sure create_unix_address_from_path() doesn't get passed the abstract
Peter Jones [Wed, 4 Jun 2008 15:46:16 +0000 (11:46 -0400)] 
Make sure create_unix_address_from_path() doesn't get passed the abstract
socket name (i.e. it gets path+1 and is_abstract=1 instead)

17 years agoinvert conditional
Ray Strode [Wed, 4 Jun 2008 03:42:17 +0000 (23:42 -0400)] 
invert conditional

When adding the password object in commit
f5a15611fb5fe1d36f8922e1c2a6f751ab0b8df7
I messed up and inverted a conditional.

17 years agoDon't require argc > 1
Ray Strode [Wed, 4 Jun 2008 03:23:25 +0000 (23:23 -0400)] 
Don't require argc > 1

17 years agos/sun_family/sun_path/ in assertion
Ray Strode [Wed, 4 Jun 2008 03:16:34 +0000 (23:16 -0400)] 
s/sun_family/sun_path/ in assertion

When Peter fixed the bug that was making the socket
patch always be 0, it exposed this other bug where
the assertion was making the wrong check.

17 years agoUpdate TODO
Ray Strode [Wed, 4 Jun 2008 03:04:41 +0000 (23:04 -0400)] 
Update TODO

Remove:
  - Allow plymouth to be started from nash instead of
    the other way around

17 years agoDaemonize after starting boot server
Ray Strode [Wed, 4 Jun 2008 02:58:01 +0000 (22:58 -0400)] 
Daemonize after starting boot server

Previously we would daemonize when spawning the
terminal session.  We don't do that now, since
we attach to an existing already running terminal
session.

17 years agorename --as-daemon to --attach-to-session
Ray Strode [Wed, 4 Jun 2008 01:58:09 +0000 (21:58 -0400)] 
rename --as-daemon to --attach-to-session

It's a little clearer.

17 years agos/int/bool/ for boolean variable
Ray Strode [Wed, 4 Jun 2008 01:52:55 +0000 (21:52 -0400)] 
s/int/bool/ for boolean variable

17 years agoDrop PLY_DAEMON_ONLY macro and just look at asdaemon
Ray Strode [Wed, 4 Jun 2008 01:33:56 +0000 (21:33 -0400)] 
Drop PLY_DAEMON_ONLY macro and just look at asdaemon

Since we no longer support starting a session, only
attaching to an existing one, we can just key off
asdaemon to know whether to run the terminal session
code.

17 years agoDrop support for starting a session from within plymouth
Ray Strode [Wed, 4 Jun 2008 01:15:01 +0000 (21:15 -0400)] 
Drop support for starting a session from within plymouth

We aren't going to be supporting the

       #!/bin/plymouth nash

form anymore, instead we're going to require

       #!/bin/nash
       plymouth --asdaemon

17 years agoAdd a script to populate an initrd from a directory specified on the command line.
Peter Jones [Tue, 3 Jun 2008 20:38:58 +0000 (16:38 -0400)] 
Add a script to populate an initrd from a directory specified on the command line.

17 years agoFix socket address creation off-by-one bug for abstract socket paths.
Peter Jones [Tue, 3 Jun 2008 20:07:05 +0000 (16:07 -0400)] 
Fix socket address creation off-by-one bug for abstract socket paths.

17 years agoHandle invocation as "plymouthd --asdaemon <pty_master_fd>"
Peter Jones [Tue, 3 Jun 2008 19:16:27 +0000 (15:16 -0400)] 
Handle invocation as "plymouthd --asdaemon <pty_master_fd>"

17 years agoAdd ply_terminal_session_attach()
Peter Jones [Tue, 3 Jun 2008 19:15:32 +0000 (15:15 -0400)] 
Add ply_terminal_session_attach()
Make ply_terminal_session_new() not require argv.

17 years agoMake ply_terminal_set_fd() update terminal->name .
Peter Jones [Tue, 3 Jun 2008 18:52:33 +0000 (14:52 -0400)] 
Make ply_terminal_set_fd() update terminal->name .

17 years agoMerge branch 'master' of git+ssh://git.freedesktop.org/git/plymouth
Peter Jones [Tue, 3 Jun 2008 17:05:21 +0000 (13:05 -0400)] 
Merge branch 'master' of git+ssh://git.freedesktop.org/git/plymouth

17 years agoAdd ply_terminal_set_fd()
Peter Jones [Tue, 3 Jun 2008 17:05:11 +0000 (13:05 -0400)] 
Add ply_terminal_set_fd()

17 years agoDon't assert if daemon returns empty string answer to client
Ray Strode [Tue, 3 Jun 2008 15:07:39 +0000 (11:07 -0400)] 
Don't assert if daemon returns empty string answer to client

17 years agoReintroduce fix from eddf693c9ba1efd5fcc4af7ec03a2c3386d4b649
Ray Strode [Mon, 2 Jun 2008 21:52:07 +0000 (17:52 -0400)] 
Reintroduce fix from eddf693c9ba1efd5fcc4af7ec03a2c3386d4b649

It got dropped accidentally in commit
6e5fe71076fe38e5236f68d4c05dcc5bcbc4dbd7 since the function the
fix happened in was renamed.

17 years agoAdd back a FIXME back to the gradient code
Ray Strode [Mon, 2 Jun 2008 20:06:51 +0000 (16:06 -0400)] 
Add back a FIXME back to the gradient code

I accidentally dropped the FIXME when I wrote my comments
in the last commit.

17 years agoAdd some comments and macros to krh's nifty new gradient code
Ray Strode [Mon, 2 Jun 2008 19:40:42 +0000 (15:40 -0400)] 
Add some comments and macros to krh's nifty new gradient code

It took me a while to understand how the gradient code was
preventing banding, so this commit just adds some comments
explaing how it works, and moves some constants to preprocessor
defines for clarity

17 years agoChange color stops in fade-in gradient
Kristian Høgsberg [Mon, 2 Jun 2008 17:19:47 +0000 (13:19 -0400)] 
Change color stops in fade-in gradient

17 years agoImplement gradient support for ply-frame-buffer.
Kristian Høgsberg [Mon, 2 Jun 2008 15:54:34 +0000 (11:54 -0400)] 
Implement gradient support for ply-frame-buffer.

17 years agoFactor out background drawing in plugins.
Kristian Høgsberg [Mon, 2 Jun 2008 15:09:43 +0000 (11:09 -0400)] 
Factor out background drawing in plugins.

17 years agoFix typo in configure.ac logo filename.
Kristian Høgsberg [Sat, 31 May 2008 22:33:01 +0000 (18:33 -0400)] 
Fix typo in configure.ac logo filename.

17 years agoPort password handling over to using new answer object
Ray Strode [Mon, 2 Jun 2008 15:49:00 +0000 (11:49 -0400)] 
Port password handling over to using new answer object

17 years agoadd new answer object for giving a deferred response
Ray Strode [Mon, 2 Jun 2008 15:03:28 +0000 (11:03 -0400)] 
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.

17 years agoRespond with password of "" if splash-plugin can't ask for password
Ray Strode [Mon, 2 Jun 2008 14:19:40 +0000 (10:19 -0400)] 
Respond with password of "" if splash-plugin can't ask for password

17 years agoRemove superfluous asterisk in function prototype
Ray Strode [Mon, 2 Jun 2008 14:19:18 +0000 (10:19 -0400)] 
Remove superfluous asterisk in function prototype

We were passing a pointer to a function pointer instead
of just a function pointer.

17 years agoRespond with password of "" if boot splash plugin isn't loaded
Ray Strode [Mon, 2 Jun 2008 14:11:35 +0000 (10:11 -0400)] 
Respond with password of "" if boot splash plugin isn't loaded

17 years agoFix one more place in spinifinity that wasn't honoring configured color 0.1.0
Ray Strode [Fri, 30 May 2008 18:30:11 +0000 (14:30 -0400)] 
Fix one more place in spinifinity that wasn't honoring configured color

17 years agoUpdate TODO
Ray Strode [Fri, 30 May 2008 18:22:01 +0000 (14:22 -0400)] 
Update TODO

Add:
- clean up /var/run/plymouth before nash switchroots

17 years agoUpdate license in spec file to be more specific
Ray Strode [Fri, 30 May 2008 17:17:59 +0000 (13:17 -0400)] 
Update license in spec file to be more specific

17 years agocreate /var/run/plymouth during install
Ray Strode [Fri, 30 May 2008 17:10:42 +0000 (13:10 -0400)] 
create /var/run/plymouth during install

17 years agoadd bizcom logo to rpm file list
Ray Strode [Fri, 30 May 2008 17:10:19 +0000 (13:10 -0400)] 
add bizcom logo to rpm file list

17 years agoDon't install bizcom logo if alternate logo supplied
Ray Strode [Fri, 30 May 2008 17:09:57 +0000 (13:09 -0400)] 
Don't install bizcom logo if alternate logo supplied

17 years agoBump version to 0.1.0
Ray Strode [Fri, 30 May 2008 16:02:19 +0000 (12:02 -0400)] 
Bump version to 0.1.0

17 years agoUpdate email address in configure.ac and AUTHORS
Ray Strode [Fri, 30 May 2008 16:01:17 +0000 (12:01 -0400)] 
Update email address in configure.ac and AUTHORS

17 years agoUpdate README
Ray Strode [Fri, 30 May 2008 15:58:25 +0000 (11:58 -0400)] 
Update README

17 years agoRestore terminal to canonical mode when closing window
Ray Strode [Fri, 30 May 2008 15:22:49 +0000 (11:22 -0400)] 
Restore terminal to canonical mode when closing window

17 years agoMark ply_window_set_unbuffered_input static
Ray Strode [Fri, 30 May 2008 15:22:15 +0000 (11:22 -0400)] 
Mark ply_window_set_unbuffered_input static

17 years agofill lock screen with configured color in spinfinity plugin
Ray Strode [Fri, 30 May 2008 15:05:21 +0000 (11:05 -0400)] 
fill lock screen with configured color in spinfinity plugin

17 years agoPoint plymouth-update-initrd at the configured logo
Ray Strode [Fri, 30 May 2008 15:04:02 +0000 (11:04 -0400)] 
Point plymouth-update-initrd at the configured logo

17 years agoFix up throbber to use correct color, too
Ray Strode [Fri, 30 May 2008 14:39:46 +0000 (10:39 -0400)] 
Fix up throbber to use correct color, too

17 years agoChange splash plugins to honor configured background color
Ray Strode [Fri, 30 May 2008 14:34:51 +0000 (10:34 -0400)] 
Change splash plugins to honor configured background color

Previously, they were still using blue.

17 years agoadd new function ply_frame_buffer_fill_with_hex_color_at_opacity
Ray Strode [Fri, 30 May 2008 14:23:22 +0000 (10:23 -0400)] 
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.

17 years agoAdd new function ply_frame_buffer_fill_with_hex_color
Ray Strode [Fri, 30 May 2008 14:06:26 +0000 (10:06 -0400)] 
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.

17 years agoUse "bizcom" pseudologo for installs that don't specify a logo
Ray Strode [Fri, 30 May 2008 13:56:49 +0000 (09:56 -0400)] 
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.

17 years agoRead default kernel after removing graphic boot entry from grub.conf
Ray Strode [Fri, 30 May 2008 13:34:08 +0000 (09:34 -0400)] 
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.

17 years agoFree window in splash test program on exit
Ray Strode [Fri, 30 May 2008 13:11:54 +0000 (09:11 -0400)] 
Free window in splash test program on exit

17 years agoRemove krh's evil emacs tabs from test program
Ray Strode [Fri, 30 May 2008 13:05:46 +0000 (09:05 -0400)] 
Remove krh's evil emacs tabs from test program

17 years agoUpdate ply-boot-splash test code to point to fade-in
Ray Strode [Fri, 30 May 2008 13:04:06 +0000 (09:04 -0400)] 
Update ply-boot-splash test code to point to fade-in

We renamed it from fedora-fade-in to fade-in

17 years agoConditionalize tests with configure option
Ray Strode [Fri, 30 May 2008 04:21:05 +0000 (00:21 -0400)] 
Conditionalize tests with configure option

We do this so we can disable them from distcheck,
but still build them easily when not doing distcheck.

17 years agoDon't run plymouth-update-initrd during distcheck
Ray Strode [Fri, 30 May 2008 04:10:51 +0000 (00:10 -0400)] 
Don't run plymouth-update-initrd during distcheck

17 years agoDon't build tests since they break distcheck
Ray Strode [Fri, 30 May 2008 04:01:27 +0000 (00:01 -0400)] 
Don't build tests since they break distcheck

17 years agoRemoved dropped tests directory from configure.ac
Ray Strode [Thu, 29 May 2008 21:29:32 +0000 (17:29 -0400)] 
Removed dropped tests directory from configure.ac

17 years agoremove dropped tests directory from makefile
Ray Strode [Thu, 29 May 2008 21:23:26 +0000 (17:23 -0400)] 
remove dropped tests directory from makefile

17 years agoDrop unused tests directory
Ray Strode [Thu, 29 May 2008 21:11:42 +0000 (17:11 -0400)] 
Drop unused tests directory

17 years agoAllow distro/system builder to specify path to logo
Ray Strode [Thu, 29 May 2008 20:54:00 +0000 (16:54 -0400)] 
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.

17 years agoFix bug in union and intersection functions
Ray Strode [Thu, 29 May 2008 19:01:03 +0000 (15:01 -0400)] 
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.

17 years agoMore s/fedora// work
Ray Strode [Thu, 29 May 2008 18:57:50 +0000 (14:57 -0400)] 
More s/fedora// work

17 years agoAdd an optimization for full width fills on some hardware
Ray Strode [Thu, 29 May 2008 18:34:35 +0000 (14:34 -0400)] 
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.

17 years agoDrop defunct prototype for ply_frame_buffer_copy_to_device
Ray Strode [Thu, 29 May 2008 18:03:22 +0000 (14:03 -0400)] 
Drop defunct prototype for ply_frame_buffer_copy_to_device

We no longer have that function.

17 years agoHook up xrgb32 flush function.
Kristian Høgsberg [Thu, 29 May 2008 14:28:37 +0000 (10:28 -0400)] 
Hook up xrgb32 flush function.

17 years agoDo the shadow buffer to frame buffer copy through a function pointer.
Kristian Høgsberg [Wed, 28 May 2008 22:22:33 +0000 (18:22 -0400)] 
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.

17 years agoOnly close frame buffer when closing window if it was open
Ray Strode [Thu, 29 May 2008 14:25:04 +0000 (10:25 -0400)] 
Only close frame buffer when closing window if it was open

17 years agoReset graphics mode before drawing throbber
Ray Strode [Thu, 29 May 2008 05:40:55 +0000 (01:40 -0400)] 
Reset graphics mode before drawing throbber

This ensures keyboard input stays in raw mode

17 years agoAdd window source files to plugins that were lacking it
Ray Strode [Thu, 29 May 2008 05:39:10 +0000 (01:39 -0400)] 
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

17 years agoChange throbber to take window instead of framebuffer
Ray Strode [Thu, 29 May 2008 05:12:17 +0000 (01:12 -0400)] 
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

17 years agoHave window manage frame buffer instead of plugins
Ray Strode [Thu, 29 May 2008 04:46:02 +0000 (00:46 -0400)] 
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.