summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* automatically add new lines to log messages unless explicitlyRay Strode2007-05-231-0/+4
| | | | called _without_new_line
* add support for default error loggingRay Strode2007-05-232-18/+67
| | | | | | | | This commit adds a convience macros, ply_error (), that will by default log error messages to the standard error. This commit also adds a new api for specifying a policy for determining when to automatically flush the log buffer.
* fix up some of the convenience macros after some api churnRay Strode2007-05-231-4/+4
|
* split off image libs separate from project global libsRay Strode2007-05-233-6/+12
|
* s/program/file/ in copyright block for ply-event-loop.cRay Strode2007-05-231-4/+4
|
* add hook to get notified when the terminal session endsRay Strode2007-05-232-6/+38
|
* hook up the terminal session class to the event loopRay Strode2007-05-226-18/+89
|
* remove one of the functions just added, it was broken by designRay Strode2007-05-222-13/+4
|
* add a few more api functions for reading bytesRay Strode2007-05-222-9/+53
|
* remove some more bogus bool return valuesRay Strode2007-05-222-24/+19
|
* add ply_logger_inject_bytes apiRay Strode2007-05-222-3/+19
|
* rewrite the ply_event_loop_run function to be simplerRay Strode2007-05-221-8/+2
|
* add a new api ply_event_loop_watch_for_exitRay Strode2007-05-222-11/+93
| | | | | This api allows the caller to register a handler to be invoked once the event loop has been quit.
* drop some bogus failure cases in the event loop codeRay Strode2007-05-222-28/+19
|
* fix up copyright headers/assignmentRay Strode2007-05-226-6/+113
|
* first cut at an event loopRay Strode2007-05-224-0/+703
|
* add new ply_read() function (like the ply_write() function)Ray Strode2007-05-222-0/+35
|
* add new linked list implementationRay Strode2007-05-224-0/+310
|
* begin to hook up new logging interfaces to ply-terminal-sessionRay Strode2007-05-213-4/+44
|
* add start of new classes for handling loggingRay Strode2007-05-214-0/+574
|
* add new ply_get_timestamp() functionRay Strode2007-05-212-0/+15
| | | | | This commit adds a function, ply_get_timestamp(), that returns the current time in seconds since the epoch as a double.
* move static functions in ply-terminal-session.c to topRay Strode2007-05-211-25/+29
|
* add ply-terminal-session-test to MakefileRay Strode2007-05-211-0/+1
|
* add new ply-terminal-session classRay Strode2007-05-214-0/+264
| | | | | This commit features the first cut of a class that can run a program and direct its console to a pseudoterminal.
* fix up string array duplicating functions to compileRay Strode2007-05-192-2/+97
| | | | add new function to close all open fds
* add new function to free a string arrayRay Strode2007-05-182-0/+18
|
* add new api to duplicate a string arrayRay Strode2007-05-182-2/+20
|
* fix the frame buffer compositing code.Ray Strode2007-05-182-25/+11
| | | | | | It was always doing full screen updates instead of just the area that changed and even that was an accident. The code was totally broken.
* make the ply-init-control test redirect messages to aRay Strode2007-05-161-11/+37
| | | | | pseudoterminal and then echo them from the psuedoterminal to stdout
* Make ply_fd_has_data return false on hangupsRay Strode2007-05-161-1/+3
|
* Improve the ply-terminal apiRay Strode2007-05-162-15/+15
| | | | | | | | | | | | | | | | | | Previously, the api for creating the pseudo-terminal was ply_terminal_open (). This is a bit confusing of an api because often a program will want to open the pseudo-terminal after creating it, so you end up with: ply_terminal_open (terminal); pts_fd = open (ply_terminal_get_name (terminal), O_RDWR); or whatever. Now it would be something like: ply_terminal_create_device (terminal); device_name = ply_terminal_get_device_name (terminal); pts_fd = open (device_name, O_RDWR); which I think is a little clearer.
* add ply_fd_has_data and ply_fd_can_take_data apisRay Strode2007-05-162-0/+31
| | | | | The calls in this commit just do a one-off poll of the passed in fd to see if the fd is read for read or write call
* add "fix tests" to the TODO fileRay Strode2007-05-162-8/+96
|
* Add a tests/ directory to keep tests inRay Strode2007-05-166-0/+52
| | | | | Note the tests that are there now aren't really suited for automated testing, so make check is hosed right now
* Make ply_terminal_get_name return a non-freeable stringRay Strode2007-05-162-4/+4
| | | | | Previously ply_terminal_get_name would return a duplicated copy of its name that the caller would have to free.
* add the beginning of an api for managing ptysRay Strode2007-05-162-0/+216
|
* add the start of an api for controlling /bin/initRay Strode2007-05-162-0/+204
| | | | | | This lets you redirect init messages to /dev/null. Eventually, we'll need to redirect a psuedoterminal that we log for post boot up.
* Add new ply_write apiRay Strode2007-05-162-0/+36
| | | | | It wraps write(), but blocks until all bytes are written and handles EINTR.
* fix a cut-and-paste-o in the ply-image headerRay Strode2007-05-141-1/+1
|
* fix up spacing in ply-image.cRay Strode2007-05-141-2/+2
|
* fix the last commit up to compileRay Strode2007-05-142-1/+7
|
* add new wrapper around the pipe() syscallRay Strode2007-05-142-0/+42
|
* standardize the vim mode line and move to the bottom of each fileRay Strode2007-05-126-12/+13
|
* change coding style of types from FooBar to foo_bar_tRay Strode2007-05-124-97/+97
|
* fix up ply-image to use the new name for ply-frame-bufferRay Strode2007-05-121-14/+14
|
* rename ply-video-buffer to ply-frame-bufferRay Strode2007-05-122-116/+116
|
* refactor video buffer code to have less functionsRay Strode2007-05-121-69/+17
|
* fix typo in alpha blending codeRay Strode2007-05-111-1/+1
|
* Tweak image demoRay Strode2007-05-111-5/+4
| | | | | | This commit changes the background from the previous bluish clor to black. It also changes the animation timing so that the image sits at full opacity for a while before fading down
* Hide cursor in image demoRay Strode2007-05-111-0/+14
| | | | | previously the image demo would have a little blinking cursor in the corner that would get in the way. remove it.