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