]> git.ipfire.org Git - thirdparty/plymouth.git/log
thirdparty/plymouth.git
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.

17 years agoSet up event loop exit handler in plugins on show success
Ray Strode [Thu, 29 May 2008 04:16:08 +0000 (00:16 -0400)] 
Set up event loop exit handler in plugins on show success

Previously we were setting up the exit handler at the top
of the show vtable function.  This meant having to remove
the exit handler if the show fails. It's much easier to
not set up the handler until after we know we're going to
succeed.

17 years agoDrop line editing plugin vtable functions. Use window directly.
Ray Strode [Thu, 29 May 2008 04:02:22 +0000 (00:02 -0400)] 
Drop line editing plugin vtable functions. Use window directly.

There was a sort useless layer of indirection between the
window object and splash plugins.  It ended up with
functions like:

void
on_backspace (ply_splash_plugin_t *plugin)
{
  plugin->interface->on_backspace (plugin);
}

Since the individual plugins are aware of the window object
anyway, they can register their own on_backspace et al handlers
without going through the ply_splash_plugin_t layer.

17 years agoRename fedora-fade-in to fade-in
Ray Strode [Thu, 29 May 2008 02:59:11 +0000 (22:59 -0400)] 
Rename fedora-fade-in to fade-in

The plugin doesn't need to be distro specific

17 years agoMerge branch 'master' of git+ssh://halfline@git.freedesktop.org/git/plymouth
Ray Strode [Thu, 29 May 2008 02:12:12 +0000 (22:12 -0400)] 
Merge branch 'master' of git+ssh://halfline@git.freedesktop.org/git/plymouth

17 years agoRename all the plugins from <plugin-name>.c -> main.c
Ray Strode [Thu, 29 May 2008 02:07:20 +0000 (22:07 -0400)] 
Rename all the plugins from <plugin-name>.c -> main.c

Just makes things more consistent.

17 years agoRename all the plugins from <plugin-name>.c -> main.c
Ray Strode [Thu, 29 May 2008 02:07:20 +0000 (22:07 -0400)] 
Rename all the plugins from <plugin-name>.c -> main.c

Just makes things more consistent.

17 years agoUpdate TODO
Ray Strode [Wed, 28 May 2008 22:33:07 +0000 (18:33 -0400)] 
Update TODO

Add:
- add expose handler for plugins to draw from.
  We need to reset some state every frame of the animation,
  so better to hide that.

17 years agoUpdate spec file to be more current
Ray Strode [Wed, 28 May 2008 22:02:23 +0000 (18:02 -0400)] 
Update spec file to be more current

Package the individual plugins as subpackages and
get the file lists up to date.  Also, drop
plymouth-update-initrd %post call since it's not
meant to be used in packages

17 years agoAdd ctrl-u and ctrl-w to erase password line
Ray Strode [Wed, 28 May 2008 21:16:57 +0000 (17:16 -0400)] 
Add ctrl-u and ctrl-w to erase password line

Right now we do it in the cheesiest way possible, by
calling the backspace function over and over again on
behalf of the user.  It might make more sense to export
another window callback specifically for erase line. It
probably doesn't make sense to do that until we fix the
TODO item:

- have plugins hook into line editing through window
  directly, instead of via vtable functions

though.

17 years agomove backspace handling in window to its own function
Ray Strode [Wed, 28 May 2008 20:57:34 +0000 (16:57 -0400)] 
move backspace handling in window to its own function

17 years agoRearrange two cases in a switch block to be clearer
Ray Strode [Wed, 28 May 2008 20:43:12 +0000 (16:43 -0400)] 
Rearrange two cases in a switch block to be clearer

17 years agoUse more descriptive format for control code #defines
Ray Strode [Wed, 28 May 2008 20:38:10 +0000 (16:38 -0400)] 
Use more descriptive format for control code #defines

The previous format was just the ascii value directly
in octal.  I'm getting sick of typing 'man ascii' to look
it up though.  The new format is just, e.g.,

('\100' ^ 'U')

which not only means I can add new entries without looking
them up, but also has the added advantage that it looks
sort of similiar to, e.g., ^U, which is a common notation
for respresenting control characters.

17 years agoDon't crash if the user presses enter when a password isn't being asked for
Ray Strode [Wed, 28 May 2008 19:41:27 +0000 (15:41 -0400)] 
Don't crash if the user presses enter when a password isn't being asked for

17 years agoswitch over to spinfinity plugin by default
Ray Strode [Wed, 28 May 2008 19:18:53 +0000 (15:18 -0400)] 
switch over to spinfinity plugin by default

17 years agoMake the throbber less choppy, by always showing every frame
Ray Strode [Wed, 28 May 2008 18:33:01 +0000 (14:33 -0400)] 
Make the throbber less choppy, by always showing every frame

17 years agoMake throbber continue to work after stop and start
Ray Strode [Wed, 28 May 2008 18:19:51 +0000 (14:19 -0400)] 
Make throbber continue to work after stop and start

17 years agoAdd the ability to toggle off graphics mode with ctrl-T
Ray Strode [Wed, 28 May 2008 17:50:49 +0000 (13:50 -0400)] 
Add the ability to toggle off graphics mode with ctrl-T

When debugging it's useful to be able to force text mode so
text messages become visible on screen.  ctrl-t and ctrl-v
combined make it a lot easier to see what's going on.

17 years agoIf no frames could be loaded for the throbber, noop instead of crash
Ray Strode [Wed, 28 May 2008 15:53:40 +0000 (11:53 -0400)] 
If no frames could be loaded for the throbber, noop instead of crash

17 years agoMove images in splash-plugins to subdirectories, so they don't clash
Ray Strode [Wed, 28 May 2008 15:53:04 +0000 (11:53 -0400)] 
Move images in splash-plugins to subdirectories, so they don't clash

17 years agoWhen copying a directory, be sure the destination directory is in place first
root [Wed, 28 May 2008 15:28:41 +0000 (11:28 -0400)] 
When copying a directory, be sure the destination directory is in place first

17 years agoExit plymouth early if going to single user mode
Ray Strode [Wed, 28 May 2008 14:52:38 +0000 (10:52 -0400)] 
Exit plymouth early if going to single user mode

17 years agoRead /proc/cmdline and enable debugging if plymouth:debug is there
Ray Strode [Wed, 28 May 2008 14:50:38 +0000 (10:50 -0400)] 
Read /proc/cmdline and enable debugging if plymouth:debug is there

Currently we toggle verbose messges if the user presses ctrl-v.
That's fine, but doesn't help to debug problems that happen before
a splash screen is shown.  This provides a mechanism to enable messages
earlier

17 years agoRandom spacing clean ups
Ray Strode [Wed, 28 May 2008 12:50:09 +0000 (08:50 -0400)] 
Random spacing clean ups

17 years agoAdd a throbber to the splash screen and build spinfinity
Ray Strode [Wed, 28 May 2008 12:41:39 +0000 (08:41 -0400)] 
Add a throbber to the splash screen and build spinfinity

17 years agoCompute correct offset when copying from shadow buffer to frame buffer
Ray Strode [Tue, 27 May 2008 21:52:27 +0000 (17:52 -0400)] 
Compute correct offset when copying from shadow buffer to frame buffer

When I added commit c12164c1622a2209fe07555e682cc479c6854e7e
to copy an entire row at a time to the framebuffer, I miscalculated the
offset to copy from/to.  Their may be uninitialized data at the
beginning and end of the temporary row buffer, if only part of the row
is getting copied.  We need to make sure we jump passed that junk in
memory and copy just the part that got filled in.

17 years agoDrop some unused declarations that are fall out from cut-n-paste
Ray Strode [Tue, 27 May 2008 18:31:10 +0000 (14:31 -0400)] 
Drop some unused declarations that are fall out from cut-n-paste

17 years agoAdd new array type to make managing arrays easier
Ray Strode [Tue, 27 May 2008 18:28:48 +0000 (14:28 -0400)] 
Add new array type to make managing arrays easier

This is just a thin wrapper around the buffer object,
that keeps the data in terms of "elements" instead of
bytes, and always null terminates the result.

17 years agoAdd new ply_buffer_steal_bytes method
Ray Strode [Tue, 27 May 2008 18:24:58 +0000 (14:24 -0400)] 
Add new ply_buffer_steal_bytes method

This function disowns the bytes in the buffer and returns
them to the caller. It's useful for freeing the buffer, but
keeping the bytes around without doing a copy.

17 years agoAdd frames for spinfinity throbber
Ray Strode [Tue, 27 May 2008 04:18:22 +0000 (00:18 -0400)] 
Add frames for spinfinity throbber

17 years agoCall ply_boot_splash_hide in on_quit handler in test case.
Kristian Høgsberg [Wed, 28 May 2008 02:22:57 +0000 (22:22 -0400)] 
Call ply_boot_splash_hide in on_quit handler in test case.

17 years agoMerge branch 'master' of git+ssh://halfline@git.freedesktop.org/git/plymouth
Ray Strode [Sat, 24 May 2008 05:44:55 +0000 (01:44 -0400)] 
Merge branch 'master' of git+ssh://halfline@git.freedesktop.org/git/plymouth

17 years agoCopy and modify fedora-fade-in to new spinfinity plugin
Ray Strode [Sat, 24 May 2008 05:39:27 +0000 (01:39 -0400)] 
Copy and modify fedora-fade-in to new spinfinity plugin

The idea is to make a plugin that matches mockups done by
Mike Langlie.  The mockups feature a throbber that spins
in the shape of an infinity sign.  This is just a placeholder.
Most of the mockup isn't implemented yet.

17 years agoFix same bug in ply_frame_buffer_area_intersect().
Kristian Høgsberg [Sat, 24 May 2008 01:47:09 +0000 (21:47 -0400)] 
Fix same bug in ply_frame_buffer_area_intersect().

17 years agoFactor out area union code from ply_frame_buffer_add_area_to_flush_area.
Kristian Høgsberg [Fri, 23 May 2008 23:45:39 +0000 (19:45 -0400)] 
Factor out area union code from ply_frame_buffer_add_area_to_flush_area.

17 years agoFix bug in area union code.
Kristian Høgsberg [Fri, 23 May 2008 23:36:22 +0000 (19:36 -0400)] 
Fix bug in area union code.

ply_frame_buffer_add_area_to_flush_area() computes the wrong area
when the new area right of the current area but is wider than the
old area.

The easiest way to get rectangle intersection right is to just do
it on absolute coordinates and then convert back to width and height
afterwards.

17 years agoPick plymouth from bindir and plymouthd from libexec in install script.
Kristian Høgsberg [Fri, 23 May 2008 13:45:23 +0000 (09:45 -0400)] 
Pick plymouth from bindir and plymouthd from libexec in install script.

17 years agoUpdate TODO
Ray Strode [Fri, 23 May 2008 19:39:47 +0000 (15:39 -0400)] 
Update TODO

Add:
- Add limited text support
- Make --ask-for-password take a prompt message
- consider making details plugin have stdin hooked
  up to the pty instead of tty so input works
- consider making details plugin go back to pretty
  plugin if user presses escape

17 years agoClear old contents before recompositing to prevent ad-hoc fade effect
Ray Strode [Fri, 23 May 2008 14:33:23 +0000 (10:33 -0400)] 
Clear old contents before recompositing to prevent ad-hoc fade effect

17 years agoDon't leak entry
Ray Strode [Fri, 23 May 2008 05:15:01 +0000 (01:15 -0400)] 
Don't leak entry

17 years agoMove keyboard handling to window so we can do line editing
Ray Strode [Fri, 23 May 2008 05:00:28 +0000 (01:00 -0400)] 
Move keyboard handling to window so we can do line editing

The logic for line editing is a little complicated, so it's
best not to duplicate it across all the plugins.  Now we
manage it all from the window.  The plugins now access the
various editing events via there vtable, but that's an
extra layer of indirection that doesn't matter given that
we pass the window to the plugins anyway.  We should drop
that and just have the plugins register for edit events
directly.

17 years agoAdd new ply_buffer_remove_bytes_at_end
Ray Strode [Thu, 22 May 2008 21:01:09 +0000 (17:01 -0400)] 
Add new ply_buffer_remove_bytes_at_end

This function is like ply_buffer_remove_bytes, but it
truncates away the end of the buffer instead of shifting
the contents over the start of the buffer.

17 years agoOn keyboard input pass size of character to handlers
Ray Strode [Thu, 22 May 2008 20:25:57 +0000 (16:25 -0400)] 
On keyboard input pass size of character to handlers

This prevents each handler from having to run mbrlen on
its own.

17 years agorename window->buffer to window->keyboard_input_buffer
Ray Strode [Thu, 22 May 2008 20:17:49 +0000 (16:17 -0400)] 
rename window->buffer to window->keyboard_input_buffer

The new name is more obvious.