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