buffer_event learned get_read/get_write buffer accessors
[luaevent.git] / CHANGELOG
blob8525ef70caeaf53925a46bb4986ed62929fb8ef3
1 0.2.0 - 2007-09-21
2  + Reorganized project to better fit GIT
3  + Refactored and cleaned sources
4    * Broke event_callback into its own source file
5  + Added timer/timeout capabilities + minor test
6  + Added event_buffer object
7   * Can 'add' a sequence of strings/event_buffers
8   * Can 'get_data', 'length','drain','close' and create new instances
9   * Can 'readline', 'read' from file des, 'write' to file des
10   * Added lunit tests for basic functions (read/write from/to FD)
11 ======
12 0.1.2 - 2007-08-18
13 + Setup system to use new coro management as described in COROUTINE_MANAGEMENT
14   The callbacks are called from the event_loop 'thread' rather than that which they are
15   created in.  This will prevent the self-resume problem as well as dead-thread problems.
16 - Recognized issues to fix in next release:
17   * Socket/event closing needs to be cleaned
18   * luaevent.lua needs refactoring
19   * luaevent.[ch] need to be cleaned up
20 ======
21 0.1.1 - 2007-06-13
22 + Fixed event-handling code to cancel events on nothing being returned
23 + Added socket/object cleanup.
24 + Filed bug to libevent about the strange valgrind-released errors
25 - Recognized following issues:
26   Timeouts needed
27   Need to handle events setup from inside a coroutine... need to get a global Lua state from a thread...
28 ======
29 0.1.0 - 2007-06-10 22:00 EST
30 Completed mostly working version
31 * Moved to a mode where addevent calls a callback  rather than it being instantiated within.
32         If the callback returns -1, then no event is ever setup,
33         Otherwise the integer value is used to setup the event.
34   This allows for using coroutine.wrap rather than a cooked-up wrapper
35 * Tests work, although there are a few remaining issues:
36 * Need to figure a good way of preserving the event object,
37   not sure if current method is good enough, since the socket
38   is the only anchor, and it is only held inside the coro.. 
39   circular reference, something that Lua 'handles' well.
40 * Doing more than the maximum sockets the process is allows
41   causes strangeness to occur in libevent.. somehow
42   it is getting around to epoll_add which is causing valgrind
43   to barf.
44 * Added cheap protection code for failures in callback handlers
45 ======
46 0.0.0 - 2007-06-10 12:00 EST
47 Initial public version, was broken due to self-resume coroutines