aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Learned event_buffer tests and added failure for 'add' if no args passed.Thomas Harning Jr2007-09-072-0/+119
| | | | | | lunit-based unit tests for event_buffer have been added. They are currently not complete but are in the works to help manage corner cases/etc. These should also get behaviors well-defined.
* Added lunit 0.4a from Michael Roth (author of Lua-sqlite3)Michael Roth2007-09-071-0/+693
| | | | Gleaned from lua-sqlite3 since the `public` version of lunit is 0.3a
* event_buffer learned how to read/write from/to sockets/file-descriptorsThomas Harning Jr2007-09-072-0/+44
|
* event_buffer learned to manage '#' and the __tostring metafieldThomas Harning Jr2007-09-071-0/+4
|
* event_buffer:add learned not to append to itself...Thomas Harning Jr2007-09-071-0/+2
|
* event_buffer learned readline and cleaned fn-list.Thomas Harning Jr2007-09-072-6/+24
|
* Documented event_buffer functionsThomas Harning Jr2007-09-071-0/+25
|
* event_buffer:get_data learned (len) and (begin,len) APIThomas Harning Jr2007-09-061-1/+24
|
* Quick compilation-fixes.Thomas Harning Jr2007-09-061-5/+4
|
* Updated changelog. event_buffer learned ↵Thomas Harning Jr2007-09-062-3/+66
| | | | `get_data`,`length`,`drain`,`close`,`new`
* Added event_buffer object + 'add' functionalityThomas Harning Jr2007-09-063-0/+96
|
* Added timertest. Prevented GC-ed events from causing an abort.Thomas Harning Jr2007-09-062-1/+26
|
* Fixed compilation issuesThomas Harning Jr2007-09-052-4/+5
|
* Added support for timeouts and timers.Thomas Harning Jr2007-09-054-14/+49
|
* Completely refactored event_callback creation out into event_callback.Thomas Harning Jr2007-09-054-17/+29
|
* Added missing license headerThomas Harning Jr2007-09-051-0/+2
|
* Beginning refactoring of the event_callback outside of the coreThomas Harning Jr2007-09-054-56/+83
|
* Unlearned get/setMainThread functions since they were unused.Thomas Harning Jr2007-09-051-17/+2
|
* Added preliminary git-ignore declaration file for this project.Thomas Harning Jr2007-09-011-0/+5
|
* Refactored luaevent.lua (unlearned borked fairness, collapsing useless code).Thomas Harning Jr2007-09-012-38/+17
| | | | | | | | | luaevent.lua: * Unlearned fairness since it was likely to be broken... fairness will need to be implemented at app-level where it should be. * Collapsed duplicate code into a local function testClient.lua: * Added a completion message (since the test was so quick I thought it was broken)
* Removed no-longer-applicable 'Revision' numbers from CHANGELOGThomas Harning Jr2007-09-011-4/+4
|
* Moved lua source into its own directory.Thomas Harning Jr2007-08-312-1/+1
|
* Update README w/ more project details.Thomas Harning Jr2007-08-311-5/+19
|
* Reformed project layout from 'luaevent/*' -> '*'Thomas Harning Jr2007-08-3112-0/+0
|
* Updated readme w/ page & repo.Thomas Harning Jr2007-08-281-1/+6
|
* * Committing what will be version 0.1.2Thomas Harning Jr2007-08-187-173/+218
| | | | | Main feature: Callback/coroutine issues resolved as described in COROUTINE_MANAGEMENT
* Setup management of socket create/close.Thomas Harning Jr2007-06-136-16/+33
| | | | | Recognized new bug: cannot create threads within threads... C contains reference to closed thread, not global.
* Fixed up return-value handling.Thomas Harning Jr2007-06-131-5/+6
|
* Performed some refactoring...Thomas Harning Jr2007-06-131-46/+50
|
* Fixed the strange event error... it was adding events to a dead socket.Thomas Harning Jr2007-06-131-7/+8
|
* Reformatted changlogThomas Harning Jr2007-06-111-17/+18
|
* Added changelogThomas Harning Jr2007-06-111-0/+19
|
* Fixed stack overflow issue. (Forgot to pop error/integer)Thomas Harning Jr2007-06-111-0/+2
|
* * Added some cheap protection code for failures in callbackThomas Harning Jr2007-06-112-10/+25
| | | | functions.
* * Completed mostly working versionThomas Harning Jr2007-06-114-63/+83
| | | | | | | | | | | | | | | | | * Moved to a mode where addevent calls a callback rather than it being instantiated within. * If the callback returns -1, then no event is ever setup * Otherwise the integer value is used to setup the event * This allows for using coroutine.wrap rather than a cooked-up wrapper * Tests work, although there are a few remaining issues: * Need to figure a good way of preserving the event object, not sure if current method is good enough, since the socket is the only anchor, and it is only held inside the coro.. circular reference, something that Lua 'handles' well. * Doing more than the maximum sockets the process is allows causes strangeness to occur in libevent.. somehow it is getting around to epoll_add which is causing valgrind to barf.
* * Adjusted licensing and added README.Thomas Harning Jr2007-06-106-0/+525
|
* Initial commit:Thomas Harning Jr2007-06-107-0/+411
* Created tree structure * Committed current version