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