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