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