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