Apply http://prosody.im/patches/luaevent-catch-errors-1.patch
[luaevent.git] / CHANGELOG
blob33a1608022bd87ef635103d1e877a8019389d943
1 0.4.1 - 2012-04-12
2  * Fixes event_callback handling to handle the no-return-value case better
3  * Cleans up timertest formatting
4 ======
5 0.4.0 - 2012-04-10
6  * Fixes buffer event tests to work with current bufferevent behavior
7  * Fixed buffer event and related tests to be compatible with Lua 5.2
8  * Makes core segment compatible with Lua 5.2
9    * Remove use of 'module' in sources
10    * Remove assumption that luaevent will set globals
11      - Only 'core' will modify global table (creating luaevent.core)
12  * Fixes bug in merge for receivePartial
13 ======
14 0.3.2 - 2011-07-06
15  * Fixed recorded version in Lua
16 0.3.1 - 2011-01-15
17  * Merged all of luaevent-prosody (0.1.1) changes (missed updates)
18 0.3.0 - 2011-01-15
19  * Fixed libevent 2.0 compilation errors
20  * Merged all of luaevent-prosody (0.1.0) changes
21  * Removes low-level read access to watermark & timeout values that break API
22  * Switches to watermark write accessor function to avoid API break
23 ======
24 luaevent-prosody 0.1.1 - 2010-02-25
25  * Fix overflow with high event timeouts
26 ======
27 luaevent-prosody 0.1.0 - 2010-02-15
28  * Fixed stack slot leak in event callbacks
29  * Fixed stack slot leak when error occurs in callback
30  * Various compilation fixes for Windows/ANSI C
31  * Silence some compiler warnings
32  + Add base:loopexit() method, with timeout support
33  + Add base:method() to discover backend in use
34  + Add core.libevent_version() to detect libevent version
35  + Add _NAME and _VERSION fields to module table
36  + base:addevent() now accepts integer fd to watch
37  + Switched from premake to standard Makefile for building
38 ======
39 0.2.0 - 2007-09-21
40  + Reorganized project to better fit GIT
41  + Refactored and cleaned sources
42    * Broke event_callback into its own source file
43  + Added timer/timeout capabilities + minor test
44  + Added event_buffer object
45   * Can 'add' a sequence of strings/event_buffers
46   * Can 'get_data', 'length','drain','close' and create new instances
47   * Can 'readline', 'read' from file des, 'write' to file des
48   * Added lunit tests for basic functions (read/write from/to FD)
49 ======
50 0.1.2 - 2007-08-18
51 + Setup system to use new coro management as described in COROUTINE_MANAGEMENT
52   The callbacks are called from the event_loop 'thread' rather than that which they are
53   created in.  This will prevent the self-resume problem as well as dead-thread problems.
54 - Recognized issues to fix in next release:
55   * Socket/event closing needs to be cleaned
56   * luaevent.lua needs refactoring
57   * luaevent.[ch] need to be cleaned up
58 ======
59 0.1.1 - 2007-06-13
60 + Fixed event-handling code to cancel events on nothing being returned
61 + Added socket/object cleanup.
62 + Filed bug to libevent about the strange valgrind-released errors
63 - Recognized following issues:
64   Timeouts needed
65   Need to handle events setup from inside a coroutine... need to get a global Lua state from a thread...
66 ======
67 0.1.0 - 2007-06-10 22:00 EST
68 Completed mostly working version
69 * Moved to a mode where addevent calls a callback  rather than it being instantiated within.
70         If the callback returns -1, then no event is ever setup,
71         Otherwise the integer value is used to setup the event.
72   This allows for using coroutine.wrap rather than a cooked-up wrapper
73 * Tests work, although there are a few remaining issues:
74 * Need to figure a good way of preserving the event object,
75   not sure if current method is good enough, since the socket
76   is the only anchor, and it is only held inside the coro.. 
77   circular reference, something that Lua 'handles' well.
78 * Doing more than the maximum sockets the process is allows
79   causes strangeness to occur in libevent.. somehow
80   it is getting around to epoll_add which is causing valgrind
81   to barf.
82 * Added cheap protection code for failures in callback handlers
83 ======
84 0.0.0 - 2007-06-10 12:00 EST
85 Initial public version, was broken due to self-resume coroutines