Commit graph

444 commits

Author SHA1 Message Date
Peter Jones
cb560ad782 Make ply-copy-dir-test.c work without the "detachable" functions. 2008-06-04 13:32:46 -04:00
Peter Jones
9ebe607e75 Remove ply_create_detachable_directory() and ply_detach_directory(), add
ply_mount_tmpfs() to do the part of that we still need.
2008-06-04 13:28:15 -04:00
Peter Jones
44ab737bd0 Make plymouth_should_be_running() be less manual, and add " init=" handler. 2008-06-04 12:55:32 -04:00
Peter Jones
a47e268609 Add ply_move_mount(). 2008-06-04 12:03:35 -04:00
Peter Jones
74c016281d Remove a bunch of chroot and fs mounting/unmounting code. 2008-06-04 11:55:59 -04:00
Peter Jones
484f013f6e 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)
2008-06-04 11:50:04 -04:00
Ray Strode
e2f2d38e94 invert conditional
When adding the password object in commit
f5a15611fb
I messed up and inverted a conditional.
2008-06-03 23:42:17 -04:00
Ray Strode
fe6ba292f5 Don't require argc > 1 2008-06-03 23:23:25 -04:00
Ray Strode
44c2e66f25 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.
2008-06-03 23:16:34 -04:00
Ray Strode
d1f5de39d1 Update TODO
Remove:
  - Allow plymouth to be started from nash instead of
    the other way around
2008-06-03 23:04:41 -04:00
Ray Strode
459b8cc09a 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.
2008-06-03 22:58:01 -04:00
Ray Strode
25507b1cf4 rename --as-daemon to --attach-to-session
It's a little clearer.
2008-06-03 21:58:09 -04:00
Ray Strode
bf22ecce1b s/int/bool/ for boolean variable 2008-06-03 21:52:55 -04:00
Ray Strode
a01727b297 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.
2008-06-03 21:33:56 -04:00
Ray Strode
c085ef5eb6 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
2008-06-03 21:15:01 -04:00
Peter Jones
fcf61c56be Add a script to populate an initrd from a directory specified on the command line. 2008-06-03 16:38:58 -04:00
Peter Jones
ab11e3374e Fix socket address creation off-by-one bug for abstract socket paths. 2008-06-03 16:07:05 -04:00
Peter Jones
3645686288 Handle invocation as "plymouthd --asdaemon <pty_master_fd>" 2008-06-03 15:16:27 -04:00
Peter Jones
c65d9337c5 Add ply_terminal_session_attach()
Make ply_terminal_session_new() not require argv.
2008-06-03 15:15:32 -04:00
Peter Jones
4c1b2fc6b7 Make ply_terminal_set_fd() update terminal->name . 2008-06-03 14:52:33 -04:00
Peter Jones
38170ab182 Merge branch 'master' of git+ssh://git.freedesktop.org/git/plymouth 2008-06-03 13:05:21 -04:00
Peter Jones
20f8093b72 Add ply_terminal_set_fd() 2008-06-03 13:05:11 -04:00
Ray Strode
4f003fd471 Don't assert if daemon returns empty string answer to client 2008-06-03 11:10:39 -04:00
Ray Strode
e79b8a7ec9 Reintroduce fix from eddf693c9b
It got dropped accidentally in commit
6e5fe71076 since the function the
fix happened in was renamed.
2008-06-02 17:54:29 -04:00
Ray Strode
1e03a9e52d Add back a FIXME back to the gradient code
I accidentally dropped the FIXME when I wrote my comments
in the last commit.
2008-06-02 16:06:51 -04:00
Ray Strode
f594e167b9 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
2008-06-02 15:40:42 -04:00
Kristian Høgsberg
1d740d3c22 Change color stops in fade-in gradient 2008-06-02 13:40:21 -04:00
Kristian Høgsberg
890d5fe357 Implement gradient support for ply-frame-buffer. 2008-06-02 11:54:40 -04:00
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