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