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