summaryrefslogtreecommitdiffstats
path: root/src/splash-plugins/text/text.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename all the plugins from <plugin-name>.c -> main.cRay Strode2008-05-281-225/+0
| | | | Just makes things more consistent.
* Move keyboard handling to window so we can do line editingRay Strode2008-05-231-23/+25
| | | | | | | | | | | 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.
* On keyboard input pass size of character to handlersRay Strode2008-05-221-8/+2
| | | | | This prevents each handler from having to run mbrlen on its own.
* Add second cut at password supportRay Strode2008-05-211-24/+48
| | | | | | | | | This version works even in raw mode, by buffering key presses passed from the window object, and replying to the client after the user presses enter. There are a lot of layers of function pointers getting passed around, so it may make sense to introduce an opaque type for holding the password and triggering the reply.
* Simplify plugin interface by dropping attach_to_event_loopRay Strode2008-05-211-21/+15
| | | | | Now we just pass the loop in directly to show and hide, which makes its lifecycle more clear.
* detach text plugin from event loop when hiding itRay Strode2008-05-201-5/+8
|
* Create a buffer to hold boot messages and pass that buffer to plugin show ↵Ray Strode2008-05-191-1/+2
| | | | functions
* pass keyboard input on to pluginsRay Strode2008-05-181-0/+7
|
* change function signature to silence warningRay Strode2008-05-181-1/+2
|
* add new ply_window_t type to manage text versus graphics mode,Ray Strode2008-05-171-10/+3
| | | | and eventually key events
* add preliminary support for asking for password during boot sequenceRay Strode2008-05-151-2/+32
| | | | (Only in text plugin so far)
* add cast to prevent compiler warningRay Strode2008-05-141-0/+1
|
* add initial cut of a barebones text splashRay Strode2008-05-141-0/+175