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