Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Relocated the COROUTINE_MANAGEMENT document... | Thomas Harning Jr | 2007-09-21 | 1 | -0/+0 |
| | |||||
* | CHANGELOG updated w/ version date for v0.2.0 | Thomas Harning Jr | 2007-09-21 | 1 | -1/+1 |
| | |||||
* | event_buffer: drain learned spec notes, get_data learned negative values, ↵ | Thomas Harning Jr | 2007-09-07 | 3 | -2/+64 |
| | | | | | | | | | many tests written The additional tests added were tests for: * Obtaining partial data using get_data * Reading lines using various line ending mixes/etc * Draining values w/ negative value | ||||
* | Learned event_buffer tests and added failure for 'add' if no args passed. | Thomas Harning Jr | 2007-09-07 | 2 | -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 Roth | 2007-09-07 | 1 | -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-descriptors | Thomas Harning Jr | 2007-09-07 | 2 | -0/+44 |
| | |||||
* | event_buffer learned to manage '#' and the __tostring metafield | Thomas Harning Jr | 2007-09-07 | 1 | -0/+4 |
| | |||||
* | event_buffer:add learned not to append to itself... | Thomas Harning Jr | 2007-09-07 | 1 | -0/+2 |
| | |||||
* | event_buffer learned readline and cleaned fn-list. | Thomas Harning Jr | 2007-09-07 | 2 | -6/+24 |
| | |||||
* | Documented event_buffer functions | Thomas Harning Jr | 2007-09-07 | 1 | -0/+25 |
| | |||||
* | event_buffer:get_data learned (len) and (begin,len) API | Thomas Harning Jr | 2007-09-06 | 1 | -1/+24 |
| | |||||
* | Quick compilation-fixes. | Thomas Harning Jr | 2007-09-06 | 1 | -5/+4 |
| | |||||
* | Updated changelog. event_buffer learned ↵ | Thomas Harning Jr | 2007-09-06 | 2 | -3/+66 |
| | | | | `get_data`,`length`,`drain`,`close`,`new` | ||||
* | Added event_buffer object + 'add' functionality | Thomas Harning Jr | 2007-09-06 | 3 | -0/+96 |
| | |||||
* | Added timertest. Prevented GC-ed events from causing an abort. | Thomas Harning Jr | 2007-09-06 | 2 | -1/+26 |
| | |||||
* | Fixed compilation issues | Thomas Harning Jr | 2007-09-05 | 2 | -4/+5 |
| | |||||
* | Added support for timeouts and timers. | Thomas Harning Jr | 2007-09-05 | 4 | -14/+49 |
| | |||||
* | Completely refactored event_callback creation out into event_callback. | Thomas Harning Jr | 2007-09-05 | 4 | -17/+29 |
| | |||||
* | Added missing license header | Thomas Harning Jr | 2007-09-05 | 1 | -0/+2 |
| | |||||
* | Beginning refactoring of the event_callback outside of the core | Thomas Harning Jr | 2007-09-05 | 4 | -56/+83 |
| | |||||
* | Unlearned get/setMainThread functions since they were unused. | Thomas Harning Jr | 2007-09-05 | 1 | -17/+2 |
| | |||||
* | Added preliminary git-ignore declaration file for this project. | Thomas Harning Jr | 2007-09-01 | 1 | -0/+5 |
| | |||||
* | Refactored luaevent.lua (unlearned borked fairness, collapsing useless code). | Thomas Harning Jr | 2007-09-01 | 2 | -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 CHANGELOG | Thomas Harning Jr | 2007-09-01 | 1 | -4/+4 |
| | |||||
* | Moved lua source into its own directory. | Thomas Harning Jr | 2007-08-31 | 2 | -1/+1 |
| | |||||
* | Update README w/ more project details. | Thomas Harning Jr | 2007-08-31 | 1 | -5/+19 |
| | |||||
* | Reformed project layout from 'luaevent/*' -> '*' | Thomas Harning Jr | 2007-08-31 | 12 | -0/+0 |
| | |||||
* | Updated readme w/ page & repo. | Thomas Harning Jr | 2007-08-28 | 1 | -1/+6 |
| | |||||
* | * Committing what will be version 0.1.2 | Thomas Harning Jr | 2007-08-18 | 7 | -173/+218 |
| | | | | | Main feature: Callback/coroutine issues resolved as described in COROUTINE_MANAGEMENT | ||||
* | Setup management of socket create/close. | Thomas Harning Jr | 2007-06-13 | 6 | -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 Jr | 2007-06-13 | 1 | -5/+6 |
| | |||||
* | Performed some refactoring... | Thomas Harning Jr | 2007-06-13 | 1 | -46/+50 |
| | |||||
* | Fixed the strange event error... it was adding events to a dead socket. | Thomas Harning Jr | 2007-06-13 | 1 | -7/+8 |
| | |||||
* | Reformatted changlog | Thomas Harning Jr | 2007-06-11 | 1 | -17/+18 |
| | |||||
* | Added changelog | Thomas Harning Jr | 2007-06-11 | 1 | -0/+19 |
| | |||||
* | Fixed stack overflow issue. (Forgot to pop error/integer) | Thomas Harning Jr | 2007-06-11 | 1 | -0/+2 |
| | |||||
* | * Added some cheap protection code for failures in callback | Thomas Harning Jr | 2007-06-11 | 2 | -10/+25 |
| | | | | functions. | ||||
* | * Completed mostly working version | Thomas Harning Jr | 2007-06-11 | 4 | -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 Jr | 2007-06-10 | 6 | -0/+525 |
| | |||||
* | Initial commit: | Thomas Harning Jr | 2007-06-10 | 7 | -0/+411 |
* Created tree structure * Committed current version |