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