Ray Strode
bfaa6f7c60
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}
2008-06-08 17:44:36 -04:00
Ray Strode
253487ba7c
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
2008-06-08 02:00:49 -04:00
Ray Strode
b245e20f46
Improve command parser help output
2008-06-08 01:58:14 -04:00
Ray Strode
2c16b42392
Add some functions to command parser header
...
ply_command_parser_get_help_string and
ply_command_parser_get_options never got added
2008-06-08 01:52:33 -04:00
Ray Strode
e21a85a630
s/rhgb-client.c/plymouth.c/ in comment
2008-06-08 01:20:22 -04:00
Ray Strode
0ec143f995
Add .gitignore file
2008-06-08 01:19:49 -04:00
Ray Strode
5a69d45d0a
Update TODO
...
Add:
- rotate boot.log per boot cycle (might be easiest to just fork/exec out to logrotate directly)
2008-06-08 00:47:30 -04:00
Ray Strode
21f6e51793
Add the start of a command line parser
...
This will be useful for changing the client to use a
plymouth subcommand --option1 --option2
format
2008-06-08 00:45:48 -04:00
Ray Strode
6ab3f42dd7
Adapt boot splash test program to take a vt to switch to
2008-06-04 16:36:56 -04:00
Ray Strode
ded60a7900
Fix boot splash test program
...
It hadn't been converted over to the new window api
2008-06-04 16:31:12 -04:00
Ray Strode
b5ffa35740
Support passing in a 0 to ply_window_new to mean "current vt"
2008-06-04 16:29:38 -04:00
Ray Strode
869a4d4afe
move the "get active vt" guts out of switch_to_vt
...
We'll be needing to get the active vt when not
switching.
2008-06-04 16:25:44 -04:00
Ray Strode
129f3bd681
Use vt7 by default
2008-06-04 15:43:45 -04:00
Ray Strode
7db467501e
Add new window apis to change which vt is active
...
This allows us to make sure the window is currently
on/off screen.
2008-06-04 15:05:19 -04:00
Ray Strode
34d6c76b2f
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.
2008-06-04 15:05:19 -04:00
Peter Jones
cd9a67bcaf
Fix install path for plymouth and plymouthd
2008-06-04 14:24:36 -04:00
Peter Jones
5b40b18bc7
Remove ply-copy-dir-test.
2008-06-04 13:49:18 -04:00
Peter Jones
d3c681f1b6
Get rid of ply-copy-test.
2008-06-04 13:46:53 -04:00
Peter Jones
e3ceb7f906
Remove items I've done.
2008-06-04 13:45:44 -04:00
Peter Jones
1836d8b52c
Get rid of everything about directory switching and PLY_WORKING_DIRECTORY.
2008-06-04 13:44:52 -04:00
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