]> git.ipfire.org Git - thirdparty/plymouth.git/log
thirdparty/plymouth.git
16 years agoClearword entry and moving password entry to a higher level. input-rework
Charles Brej [Wed, 3 Dec 2008 16:03:25 +0000 (16:03 +0000)] 
Clearword entry and moving password entry to a higher level.

16 years agoKeystroke sensitifity
Charles Brej [Sun, 30 Nov 2008 13:30:02 +0000 (13:30 +0000)] 
Keystroke sensitifity

16 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/plymouth
Charles Brej [Fri, 21 Nov 2008 17:00:46 +0000 (17:00 +0000)] 
Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth

16 years agoWhen fail when a command parser command is not in list then fail.
Charles Brej [Fri, 21 Nov 2008 16:58:25 +0000 (16:58 +0000)] 
When fail when a command parser command is not in list then fail.
Previously it returned the last in the list.

16 years agoCall --reset when giving default plugin if needed
Ray Strode [Fri, 21 Nov 2008 16:49:53 +0000 (11:49 -0500)] 
Call --reset when giving default plugin if needed

Previously, we tried to do this but failed because
of a buggy conditional.

16 years agoUpdate .gitignore
Ray Strode [Thu, 20 Nov 2008 02:31:08 +0000 (21:31 -0500)] 
Update .gitignore

There were a few bits of noise in git-status output

16 years agoword wrap README
Ray Strode [Wed, 19 Nov 2008 20:58:38 +0000 (15:58 -0500)] 
word wrap README

16 years agoUpdate README to reflect current state of things
Ray Strode [Wed, 19 Nov 2008 20:56:28 +0000 (15:56 -0500)] 
Update README to reflect current state of things

Some of the file paths and other information were out of date.

16 years agoAdd --list to plymouth-set-default-plugin
Ray Strode [Wed, 19 Nov 2008 19:18:48 +0000 (14:18 -0500)] 
Add --list to plymouth-set-default-plugin

https://bugs.freedesktop.org/show_bug.cgi?id=18298 requests
the ability to a get a list of plugins.

16 years agoAdd a --rebuild-initrd arg for set-default-plugin
Ray Strode [Wed, 19 Nov 2008 16:21:13 +0000 (11:21 -0500)] 
Add a --rebuild-initrd arg for set-default-plugin

Normally when a user runs plymouth-set-default-plugin
to change which plugin plymouth uses, the change doesn't
take effect until a new kernel is installed and the initrd
is rebuilt.

This new --rebuild-initrd argument forces the currently
running initrd to get rebuilt immediately (bug 18297).

16 years agoAdd usage info to plymouth-set-default-plugin
Ray Strode [Wed, 19 Nov 2008 15:40:40 +0000 (10:40 -0500)] 
Add usage info to plymouth-set-default-plugin

16 years agoTypo missing semicolon.
Charles Brej [Wed, 19 Nov 2008 16:22:01 +0000 (16:22 +0000)] 
Typo missing semicolon.

16 years agoUpdate progress as soon as the splash is shown
Charles Brej [Wed, 19 Nov 2008 16:18:08 +0000 (16:18 +0000)] 
Update progress as soon as the splash is shown

16 years agoDon't error if default.so doesn't exist
Ray Strode [Mon, 17 Nov 2008 20:31:59 +0000 (15:31 -0500)] 
Don't error if default.so doesn't exist

There are cases where we don't set a default and instead
fallback at runtime to text.so.  Don't make that an error
condition.

16 years agoOnly tell gdm to keep vt if told to retain splash
Ray Strode [Mon, 17 Nov 2008 15:47:08 +0000 (10:47 -0500)] 
Only tell gdm to keep vt if told to retain splash

See http://bugzilla.redhat.com/471785

16 years agoremove superfluous prototype
Ray Strode [Mon, 17 Nov 2008 14:54:41 +0000 (09:54 -0500)] 
remove superfluous prototype

16 years agoDon't loop forever when tty returns NUL bytes
Ray Strode [Fri, 14 Nov 2008 18:25:56 +0000 (13:25 -0500)] 
Don't loop forever when tty returns NUL bytes

Somehow a user was running into a case where plymouthd
would busy loop taking 100% cpu.  gdb revealed that it
was stuck trying to process keyboard input.  This is
apparently because we were looping forever when mbrlen()
got a NUL byte.

16 years agoTweak ply-progress to not progress too far beyond where it expects the next status...
Charles Brej [Mon, 17 Nov 2008 14:41:58 +0000 (14:41 +0000)] 
Tweak ply-progress to not progress too far beyond where it expects the next status update

This stops the progress from reaching 100% in cases such as fsck and timeouts.
It also averages the progress times from the previous one with the current one
to average out occasional slow tasks.

16 years agoGenerate background instead of using image
Charlie Brej [Fri, 14 Nov 2008 16:25:04 +0000 (11:25 -0500)] 
Generate background instead of using image

The background image previously was low resolution
and created various artifacts when being upscaled
to the native resolution of the panel.  This patch
ditches the background image and instead generates
a similar type of background dynamically, custom
fit to the screen it's being displayed on.  As an
added bonus, since we're doing it dynamically, we
can make some of the stars in the background
lightly twinkle.

16 years agoDon't reset LIB="lib" when LIB is in environment
Ray Strode [Wed, 12 Nov 2008 21:26:16 +0000 (16:26 -0500)] 
Don't reset LIB="lib" when LIB is in environment

It was causing scriptlet failures.

16 years agoUpdate star.png to remove a dark artifact
Charles Brej [Wed, 12 Nov 2008 11:54:49 +0000 (11:54 +0000)] 
Update star.png to remove a dark artifact
Fixes "artifact in solar plugin"
https://bugzilla.redhat.com/show_bug.cgi?id=471113

16 years agodrop unused variable
Ray Strode [Tue, 11 Nov 2008 19:44:48 +0000 (14:44 -0500)] 
drop unused variable

16 years agoDon't dump details on hide if already hidden
Ray Strode [Tue, 11 Nov 2008 19:43:42 +0000 (14:43 -0500)] 
Don't dump details on hide if already hidden

16 years agoset redirected, attached to false after tty detach
Ray Strode [Tue, 11 Nov 2008 19:38:45 +0000 (14:38 -0500)] 
set redirected, attached to false after tty detach

This makes --show-splash after --hide-splash not look
confused.

16 years agoDon't clear screen when tracing
Ray Strode [Tue, 11 Nov 2008 19:22:36 +0000 (14:22 -0500)] 
Don't clear screen when tracing

16 years agoHide kernel messages for text mode splashes
Ray Strode [Tue, 11 Nov 2008 18:56:20 +0000 (13:56 -0500)] 
Hide kernel messages for text mode splashes

They tend to screw up the display

16 years agoUpdate flares on solar plugin to be more airy
Charlie Brej [Tue, 11 Nov 2008 18:13:00 +0000 (13:13 -0500)] 
Update flares on solar plugin to be more airy

16 years agoHide splash if init=/bin/bash is on command line
Ray Strode [Tue, 11 Nov 2008 15:01:08 +0000 (10:01 -0500)] 
Hide splash if init=/bin/bash is on command line

Previously, we were just showing detailed splash,
but that causes keystrokes to get eaten.

16 years agoAdd new ply_string_has_prefix function
Ray Strode [Tue, 11 Nov 2008 14:48:26 +0000 (09:48 -0500)] 
Add new ply_string_has_prefix function

New api to help with kernel command line parsing.

16 years agoDisable fdatasync on log flush
Ray Strode [Tue, 11 Nov 2008 14:24:41 +0000 (09:24 -0500)] 
Disable fdatasync on log flush

It was making boot up choppy

16 years agoDrop comet for now
Ray Strode [Mon, 10 Nov 2008 19:33:18 +0000 (14:33 -0500)] 
Drop comet for now

Due to popular demand, we're dropping the comet.
The tail direction wasn't accurate and fixing it
made the comet look unnatural.

16 years agoGenerate a dynamicly animated comet in solar plugin
Charles Brej [Wed, 5 Nov 2008 15:04:58 +0000 (15:04 +0000)] 
Generate a dynamicly animated comet in solar plugin

This removes the need for the comet1.png

16 years agoDon't clear screen when hiding details plugin
Ray Strode [Mon, 10 Nov 2008 18:15:10 +0000 (13:15 -0500)] 
Don't clear screen when hiding details plugin

16 years agoAdd some forward declarations
Ray Strode [Mon, 10 Nov 2008 18:14:31 +0000 (13:14 -0500)] 
Add some forward declarations

Fixes build warnings.

16 years agoRework how terminals are disconnected from tty
Ray Strode [Mon, 10 Nov 2008 18:12:20 +0000 (13:12 -0500)] 
Rework how terminals are disconnected from tty

It was causing some problems on hide-splash before
that should be better now.

16 years agoDon't abort if no splash when root is mounted
Ray Strode [Mon, 10 Nov 2008 16:52:59 +0000 (11:52 -0500)] 
Don't abort if no splash when root is mounted

16 years agoMake populate-initrd default plugin tweakable
Jeremy Katz [Mon, 10 Nov 2008 16:16:24 +0000 (11:16 -0500)] 
Make populate-initrd default plugin tweakable

It's occasionally useful to be able to specify
the which plugin to use with plymouth-populate-initrd.

16 years agoDon't log debug msgs to file with plymouth:debug
Ray Strode [Mon, 10 Nov 2008 16:09:35 +0000 (11:09 -0500)] 
Don't log debug msgs to file with plymouth:debug

It creates a feedback loop.  We'll need to cut
that first before we can log to boot.log.

What'd I'd like to do is have several log targets
plymouth:log=boot.log or plymouth:log=/dev/ttyS0,
or plymouth:log=/dev/tty0

16 years agoAdd more debugging statements
Ray Strode [Mon, 10 Nov 2008 16:08:32 +0000 (11:08 -0500)] 
Add more debugging statements

Will make it easier to catch problems.

16 years agoTrack "attached" versus "redirected" separately
Ray Strode [Mon, 10 Nov 2008 16:07:06 +0000 (11:07 -0500)] 
Track "attached" versus "redirected" separately

We only want to try to attach the terminal session
to a terminal if it's not already attached.  It may
be legitimately unredirected if plymouth:nolog is
passed.

16 years agoDon't make hang ups on terminal fd fatal
Ray Strode [Mon, 10 Nov 2008 16:00:24 +0000 (11:00 -0500)] 
Don't make hang ups on terminal fd fatal

We get them when redirecting the console, etc,
so let's just log them for now.

16 years agoRevert "Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth"
Charles Brej [Sat, 8 Nov 2008 05:58:38 +0000 (05:58 +0000)] 
Revert "Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth"

This reverts commit 65aae81e942f63f075e08910f2e8fb0a2b2c3230.

16 years agoRevert "Generate a dynamicly animated comet in solar plugin"
Charles Brej [Sat, 8 Nov 2008 05:56:33 +0000 (05:56 +0000)] 
Revert "Generate a dynamicly animated comet in solar plugin"

This reverts commit c9db5adf269dfee5276103cb11602532be5bc28a.

16 years agoMerge branch 'master' of ssh://git.freedesktop.org/git/plymouth
Charles Brej [Sat, 8 Nov 2008 05:50:53 +0000 (05:50 +0000)] 
Merge branch 'master' of ssh://git.freedesktop.org/git/plymouth

16 years agoAdd some function declarations to header
Ray Strode [Thu, 6 Nov 2008 15:47:27 +0000 (10:47 -0500)] 
Add some function declarations to header

Previously they were being used without a prototype,
which was causing a compile warning.

16 years agounredirect console messages terminal-session
Ray Strode [Thu, 6 Nov 2008 15:44:03 +0000 (10:44 -0500)] 
unredirect console messages terminal-session

Previously, we did it manually using the ioctl
straight from main.c.  Now, there's a
ply_terminal_session_detach call that does it
for us.  This allows us to detach from the terminal
during --hide-splash, and reattach during --show-splash

16 years agoDon't clear screen if in debugging mode
Ray Strode [Thu, 6 Nov 2008 15:42:00 +0000 (10:42 -0500)] 
Don't clear screen if in debugging mode

Otherwise, some of the debugging messages
get lost.

16 years agoActually hide text progress bar when it's hidden
Ray Strode [Wed, 5 Nov 2008 21:14:04 +0000 (16:14 -0500)] 
Actually hide text progress bar when it's hidden

16 years agoshow cursor and reset colors when hiding
Ray Strode [Wed, 5 Nov 2008 20:30:18 +0000 (15:30 -0500)] 
show cursor and reset colors when hiding

So we need to reset colors and show cursor when
quiting but not hiding, and we also need to reset colors
and show cursor when hiding but not quiting.

16 years agoignore hangups if terminal is not redirected
Ray Strode [Wed, 5 Nov 2008 20:28:59 +0000 (15:28 -0500)] 
ignore hangups if terminal is not redirected

16 years agoReset colors and show text cursor on remove_window
Ray Strode [Wed, 5 Nov 2008 19:09:26 +0000 (14:09 -0500)] 
Reset colors and show text cursor on remove_window

Now that we retain the splash on screen and don't
explicitly hide it on quit, we need to make sure
that we leave the window as we found it when we
remove the window from the splash.

16 years agoGenerate a dynamicly animated comet in solar plugin
Charles Brej [Wed, 5 Nov 2008 15:04:58 +0000 (15:04 +0000)] 
Generate a dynamicly animated comet in solar plugin

This removes the need for the comet1.png

16 years agoAdd 1 to replies from get width/height of control to allow for shading
Charles Brej [Thu, 30 Oct 2008 22:07:12 +0000 (22:07 +0000)] 
Add 1 to replies from get width/height of control to allow for shading

16 years agoAdd bevel to text so it's more readable
Ray Strode [Thu, 30 Oct 2008 20:42:45 +0000 (16:42 -0400)] 
Add bevel to text so it's more readable

Now it's black *and* white so should look
good on many different backgrounds.

16 years agoDon't try to start/stop animation twice in a row
Ray Strode [Thu, 30 Oct 2008 19:56:05 +0000 (15:56 -0400)] 
Don't try to start/stop animation twice in a row

Protect against multiple calls to start/stop animation.
This prevents crashes if the user presses escape when
the animation is already stopped, and prevents
super fast animations if --show-splash gets called twice
in a row.

16 years agoMake password prompt in "Solar" plugin prettier
Charlie Brej [Thu, 30 Oct 2008 18:03:29 +0000 (14:03 -0400)] 
Make password prompt in "Solar" plugin prettier

Previously it used the blank spinfinity password
dialog.  This one matches the rest of the solar
theme much better.

16 years agoReset window mode in splash plugins before drawing
Ray Strode [Thu, 30 Oct 2008 16:57:35 +0000 (12:57 -0400)] 
Reset window mode in splash plugins before drawing

At some point during boot up the terminal gets kicked
out of raw mode.  By resetting the window mode before
drawing we ensure it stays in raw mode, so things like
password characters draw correctly.

16 years agoForce windows to get closed on quit
Ray Strode [Thu, 30 Oct 2008 16:56:46 +0000 (12:56 -0400)] 
Force windows to get closed on quit

If plymouth was called with --retain-splash, the
window wasn't getting closed which caused the tty
to not get reset correctly.

16 years agoDon't require plymouth to set default plugin
Ray Strode [Thu, 30 Oct 2008 14:59:43 +0000 (10:59 -0400)] 
Don't require plymouth to set default plugin

Package ordering requires set-default-plugin
to get called early.

16 years agoUpdate solar graphics to F10 release versions.
Charles Brej [Thu, 30 Oct 2008 16:29:21 +0000 (16:29 +0000)] 
Update solar graphics to F10 release versions.

16 years agoAdd taper to the progress bar leading edge in the solar plugin.
Charles Brej [Tue, 28 Oct 2008 11:01:08 +0000 (11:01 +0000)] 
Add taper to the progress bar leading edge in the solar plugin.

16 years agoRemove progress_box.png and its halo option from solar plugin
Charles Brej [Tue, 28 Oct 2008 10:23:15 +0000 (10:23 +0000)] 
Remove progress_box.png and its halo option from solar plugin

16 years agoChange lock icon to match spinfinity
Ray Strode [Tue, 28 Oct 2008 02:17:55 +0000 (22:17 -0400)] 
Change lock icon to match spinfinity

The other lock icon was too big.

16 years agoDither colors in non-default low depth color path
Charlie Brej [Mon, 27 Oct 2008 16:49:06 +0000 (12:49 -0400)] 
Dither colors in non-default low depth color path

This patch modifies the low color mode (slow) path
to dither the colors before flushing them to the
scanout buffer.  This improves the output quality
in those corner cases.

16 years agoRework progress bar in solar plugin
Charlie Brej [Fri, 24 Oct 2008 17:30:53 +0000 (13:30 -0400)] 
Rework progress bar in solar plugin

16 years agoIf started with debug, log it to boot.log
Ray Strode [Fri, 24 Oct 2008 17:06:49 +0000 (13:06 -0400)] 
If started with debug, log it to boot.log

16 years agoignore sigpipe signal
Ray Strode [Fri, 24 Oct 2008 16:56:07 +0000 (12:56 -0400)] 
ignore sigpipe signal

16 years agoRemove halo from around the logo image
Charles Brej [Fri, 24 Oct 2008 15:20:19 +0000 (16:20 +0100)] 
Remove halo from around the logo image

16 years agobump so name
Ray Strode [Fri, 24 Oct 2008 03:27:23 +0000 (23:27 -0400)] 
bump so name

16 years agoMake sure set_buffered_input() works
Ray Strode [Thu, 23 Oct 2008 21:06:28 +0000 (17:06 -0400)] 
Make sure set_buffered_input() works

There are cases, it seems, where we end up stuck in
raw mode on exit.  This should make sure that won't happen.

16 years agoAdd recording and recalling of status event times to estimate progress
Charles Brej [Thu, 23 Oct 2008 20:33:35 +0000 (21:33 +0100)] 
Add recording and recalling of status event times to estimate progress

16 years agoForce disconnected epoll source removal
Ray Strode [Tue, 21 Oct 2008 16:50:29 +0000 (12:50 -0400)] 
Force disconnected epoll source removal

Rather than relying on disconnected sources to
get automatically removed from epoll, we
explicitly remove them on disconnection events.

16 years agoRevert "Don't free...unless dest... refcount is 0"
Ray Strode [Tue, 21 Oct 2008 13:10:07 +0000 (09:10 -0400)] 
Revert "Don't free...unless dest... refcount is 0"

This reverts commit
5c151fb52d5445352c04b24ac85964744ba00b37, because
the condition check is already enforced by an
assertion higher up in the code.

16 years agoAt exit do on_hide_splash not ply_boot_splash_hide
Ray Strode [Mon, 20 Oct 2008 20:51:35 +0000 (16:51 -0400)] 
At exit do on_hide_splash not ply_boot_splash_hide

Calling just ply_boot_splash_hide meant that the
terminal wasn't getting reset properly causing
tty1 to misbehave.

16 years agoAdd "closing windows" debug message
Ray Strode [Mon, 20 Oct 2008 20:47:10 +0000 (16:47 -0400)] 
Add "closing windows" debug message

16 years agoMove the progress data from boot_splash up a level.
Charles Brej [Sat, 18 Oct 2008 19:49:17 +0000 (20:49 +0100)] 
Move the progress data from boot_splash up a level.
This allows the progress to be retained between calls to splash plugins.

16 years agoGut plymouth-update-initrd
Ray Strode [Fri, 17 Oct 2008 19:49:31 +0000 (15:49 -0400)] 
Gut plymouth-update-initrd

It's broken and people keep using it, so change it so that it's
useful.

16 years agoClear screen in details plugin after boot up
Ray Strode [Fri, 17 Oct 2008 19:43:15 +0000 (15:43 -0400)] 
Clear screen in details plugin after boot up

16 years agoDon't free ply_event_source unless destinations refcount is 0
Charles Brej [Thu, 16 Oct 2008 10:44:40 +0000 (11:44 +0100)] 
Don't free ply_event_source unless destinations refcount is 0

16 years agoDon't free windows on --hide-splash
Jeremy Katz [Wed, 15 Oct 2008 21:30:36 +0000 (17:30 -0400)] 
Don't free windows on --hide-splash

We still need them to be around for subsequent
--show-splash calls.

16 years agoDon't frob text cursor in window for all plugins
Ray Strode [Wed, 15 Oct 2008 18:11:24 +0000 (14:11 -0400)] 
Don't frob text cursor in window for all plugins

Instead only set it to 0,0 for text plugin and
clear screen for others (except details where we
don't do anything).

16 years agowhitespace clean up in ply-logger.c
Ray Strode [Tue, 14 Oct 2008 17:26:26 +0000 (13:26 -0400)] 
whitespace clean up in ply-logger.c

16 years agoWhitespace clean up in ply-event-loop.c
Ray Strode [Tue, 14 Oct 2008 17:25:20 +0000 (13:25 -0400)] 
Whitespace clean up in ply-event-loop.c

16 years agowhitespace clean up in ply-logger.h
Ray Strode [Tue, 14 Oct 2008 17:20:53 +0000 (13:20 -0400)] 
whitespace clean up in ply-logger.h

16 years agoply_boot_splash_load_plugin -> ply_boot_splash_load
Saleem Abdulrasool [Tue, 14 Oct 2008 16:38:51 +0000 (12:38 -0400)] 
ply_boot_splash_load_plugin -> ply_boot_splash_load

16 years agoinsufficient parameters passed to ply_boot_splash_add_window
Saleem Abdulrasool [Tue, 14 Oct 2008 16:38:19 +0000 (12:38 -0400)] 
insufficient parameters passed to ply_boot_splash_add_window

16 years agoupdate for api changes
Saleem Abdulrasool [Tue, 14 Oct 2008 16:37:52 +0000 (12:37 -0400)] 
update for api changes

16 years agofix typo: spalsh -> splash
Saleem Abdulrasool [Tue, 14 Oct 2008 16:37:05 +0000 (12:37 -0400)] 
fix typo: spalsh -> splash

16 years agoSet appropreate wakeup_time to stop using 100% CPU.
Charles Brej [Sun, 12 Oct 2008 19:53:56 +0000 (20:53 +0100)] 
Set appropreate wakeup_time to stop using 100% CPU.

16 years agoAdd a highlighting halo effect arround the logo to stop it from blending with the...
Charles Brej [Thu, 9 Oct 2008 18:29:54 +0000 (19:29 +0100)] 
Add a highlighting halo effect arround the logo to stop it from blending with the background

16 years agoAdd progress bar and remove planets from solar plugin
Charles Brej [Thu, 9 Oct 2008 12:58:52 +0000 (13:58 +0100)] 
Add progress bar and remove planets from solar plugin

16 years agoMake window_open succeed more frequently
Ray Strode [Wed, 8 Oct 2008 17:39:00 +0000 (13:39 -0400)] 
Make window_open succeed more frequently

Serial devices can't do some of the things that
makes ply_window_open fail.  We make those failures
non-fatal now.

16 years agoAdd some logging messages to main.c
Ray Strode [Wed, 8 Oct 2008 17:36:45 +0000 (13:36 -0400)] 
Add some logging messages to main.c

16 years agoIf console=tty0 is asked for use tty1
Ray Strode [Wed, 8 Oct 2008 17:35:03 +0000 (13:35 -0400)] 
If console=tty0 is asked for use tty1

tty0 means "use current tty", which is tty1
for us.

16 years agoOnly set escape handler on window if it's open
Ray Strode [Wed, 8 Oct 2008 17:32:34 +0000 (13:32 -0400)] 
Only set escape handler on window if it's open

16 years agoNew nolog option to disable console redirection
Ray Strode [Tue, 7 Oct 2008 14:24:46 +0000 (10:24 -0400)] 
New nolog option to disable console redirection

It seems like there may be cases where it's better
to not do the whole TIOCCONS song and dance.  This
provides an escape hatch.

16 years agoMove details plugin to support n windows
Ray Strode [Fri, 3 Oct 2008 16:22:23 +0000 (12:22 -0400)] 
Move details plugin to support n windows

16 years agoCreate a separate window for each console
Ray Strode [Fri, 3 Oct 2008 14:40:14 +0000 (10:40 -0400)] 
Create a separate window for each console

Since we may end up with multiple outputs
(if using serial console), we need to have
multiple windows one for each console line.

16 years agoAdd new ply_window_is_open method
Ray Strode [Thu, 2 Oct 2008 20:54:55 +0000 (16:54 -0400)] 
Add new ply_window_is_open method

Will be useful for determing which windows are
available for the bootsplash to use.

16 years agochange ply_window_new to take a device instead of vt number
Ray Strode [Wed, 1 Oct 2008 19:09:07 +0000 (15:09 -0400)] 
change ply_window_new to take a device instead of vt number

We're going to wrap windows around serial devices, too.