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