1 | Revision history for Perl extension EV |
1 | Revision history for Perl extension EV |
2 | |
2 | |
3 | TODO: document fork watchers |
3 | Changes marked with (libev) are changes in libev, and have more |
4 | TODO: implement loops |
4 | documentation in the libev Changes file. |
5 | TODO: implement embed watchers |
|
|
6 | |
5 | |
|
|
6 | - disable t/07* under automatic testing. |
|
|
7 | - increase t/09* timeouts as netbsd has *horribly* broken |
|
|
8 | select/kevent that *usually* sleep >>0.6s instead of 0.3. |
|
|
9 | - add constants EV::FLAG_NOSIGFD, EV::FLAG_NOINOTIFY and |
|
|
10 | EV::BACKEND_ALL. |
|
|
11 | - (libev) signalfd is no longer used by default. |
|
|
12 | - (libev) backport inotify code to C89. |
|
|
13 | - (libev) inotify file descriptors could leak into child processes. |
|
|
14 | - (libev) ev_stat watchers could keep an errornous extra ref on the loop. |
|
|
15 | - (libev) take advantage of inotify_init1, if available. |
|
|
16 | - (libev) the signal handling pipe wasn't always initialised under windows. |
|
|
17 | - changed minimum glibc requirement from glibc 2.9 to 2.7, for signalfd. |
|
|
18 | - (libev) only replace ev_stat.prev when we detect an actual difference. |
|
|
19 | |
|
|
20 | 3.8 Sun Aug 9 15:30:10 CEST 2009 |
|
|
21 | - implement $loop->signal/signal_ns. |
|
|
22 | - (libev) incompatible change: do not necessarily reset signal |
|
|
23 | handler to SIG_DFL when a sighandler is stopped. |
|
|
24 | - (libev) ev_default_destroy did not properly free or zero some |
|
|
25 | members, potentially causing crashes and memory corruption on |
|
|
26 | repated ev_default_destroy/ev_default_loop calls. |
|
|
27 | - (libev) take advantage of signalfd on GNU/Linux systems. |
|
|
28 | - (libev) document that the signal mask might be in an unspecified |
|
|
29 | state when using libev's signal handling. |
|
|
30 | - (libev) take advantage of some GNU/Linux calls to set |
|
|
31 | cloexec/nonblock on fd creation, to avoid race conditions. |
|
|
32 | - implement internal glue code to interface more efficiently |
|
|
33 | with AnyEvent. |
|
|
34 | |
|
|
35 | 3.7 Fri Jul 17 16:49:16 CEST 2009 |
|
|
36 | - add EV::loop_verify and EV::loop_depth. |
|
|
37 | - use output filehandle for i/o watchers waiting |
|
|
38 | for EV_WRITE, otherwise input filehandle. |
|
|
39 | - use common schmorp.h header. |
|
|
40 | - add EV::Timer->remaining. |
|
|
41 | - allow for subclassing of EV::Loop (see the exciting |
|
|
42 | EV::Loop::Async module for an example). |
|
|
43 | - added EV::invoke_pending and EV::pending_count. |
|
|
44 | |
|
|
45 | - (libev) ev_unloop and ev_loop wrongly used a global variable to |
|
|
46 | exit loops, instead of using a per-loop variable. |
|
|
47 | - (libev) the ev_set_io_collect_interval interpretation has changed. |
|
|
48 | - add new functionality: EV::invoke_pending, EV::pending_count. |
|
|
49 | - add $timer->remaining. |
|
|
50 | - add EV::loop_depth. |
|
|
51 | - (libev) calling unloop in fork/prepare watchers will no longer poll |
|
|
52 | for new events. |
|
|
53 | - (libev) use GetSystemTimeAsFileTime instead of _timeb on windows, |
|
|
54 | for slightly higher accuracy. |
|
|
55 | - (libev) actually 0-initialise struct sigaction when installing |
|
|
56 | signals. |
|
|
57 | |
|
|
58 | 3.6 Tue Apr 28 02:50:37 CEST 2009 |
|
|
59 | - keepalive(0) could decrease the refcount of the loop |
|
|
60 | permanently. |
|
|
61 | - add ev_suspend/ev_resume, also make ev_now_update |
|
|
62 | accessible via the XS API. |
|
|
63 | - most EV::<eventtype> constants were missing and have been |
|
|
64 | added :/. |
|
|
65 | - add EV::VERSION_MAJOR/VERSION_MINOR constants. |
|
|
66 | - (libev) multiple timers becoming ready within an event loop |
|
|
67 | iteration will be invoked in the "correct" order now. |
|
|
68 | - (libev) do not leave the event loop early just because we have |
|
|
69 | no active watchers, fixing a problem when embedding a kqueue |
|
|
70 | loop that has active kernel events but no registered watchers |
|
|
71 | (reported by blacksand blacksand). |
|
|
72 | - (libev) correctly zero the idx values for arrays, so destroying |
|
|
73 | and reinitialising the default loop actually works (patch by |
|
|
74 | Malek Hadj-Ali). |
|
|
75 | - (libev) new EV::CUSTOM revents flag for use by applications. |
|
|
76 | - (libev) add documentation section about priorites. |
|
|
77 | - (libev) add a glossary to the dcoumentation. |
|
|
78 | - (libev) extend the ev_fork description slightly. |
|
|
79 | - (libev) optimize a jump out of call_pending. |
|
|
80 | - t/03_keepalive could fail when there was no actual error. |
|
|
81 | |
|
|
82 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
|
|
83 | - (libev) on win32, the event loop creation could randomly fail |
|
|
84 | due to an initialised variable having the wrong value. |
|
|
85 | - (libev) probe for CLOCK_REALTIME support at runtime as well and |
|
|
86 | fall back to gettimeofday if there is an error, to support older |
|
|
87 | operating systems with newer header files/libraries. |
|
|
88 | - prefer gettimeofday over clock_gettime by default. |
|
|
89 | |
|
|
90 | 3.52 Wed Jan 7 21:46:14 CET 2009 |
|
|
91 | - (libev) fix some issues in the select backend when in fd_set mode. |
|
|
92 | - (libev) due to a thinko, instead of disabling everything but |
|
|
93 | select on the borked OS X platform, everything but select was |
|
|
94 | allowed (reported by Emanuele Giaquinta). |
|
|
95 | - (libev) actually verify that local and remote port are matching in |
|
|
96 | libev's socketpair emulation, which makes denial-of-service |
|
|
97 | attacks harder (but not impossible - it's windows). Make sure |
|
|
98 | it even works under vista, which thinks that getpeer/sockname |
|
|
99 | should return fantasy port numbers. |
|
|
100 | |
|
|
101 | 3.51 Wed Dec 24 23:01:59 CET 2008 |
|
|
102 | - do not cache the arguments passed to callbacks if the refcount |
|
|
103 | indicates that the callback has stolen them. |
|
|
104 | - (libev) try to avoid librt on GNU/Linux. |
|
|
105 | - (libev) check port_getn return value dfferently, might potentially |
|
|
106 | avoid problems. |
|
|
107 | - (libev) fix a bug with stat watchers possibly causing freezes. |
|
|
108 | - (libev) work around OS X 10.5 breaking poll, now select is the |
|
|
109 | only viable choice left on that pile of garbage. |
|
|
110 | - play tester whore: disable some tests that typically fail only |
|
|
111 | on cpan tester machines. |
|
|
112 | |
|
|
113 | 3.49 Wed Nov 19 11:26:53 CET 2008 |
|
|
114 | - fix typos in manpage (Alex Efros). |
|
|
115 | - increase timing even further, for the ever-overloaded cpan-tester |
|
|
116 | machines, and to the detriment of everybody else who wants a fast |
|
|
117 | make test. |
|
|
118 | - possible 5.6 compatibility. |
|
|
119 | - (libev) use inotify even on buggy kernels, but don't rely on it. |
|
|
120 | - (libev) use inotify only as an added hint on network filesystems. |
|
|
121 | |
|
|
122 | 3.48 Thu Oct 30 09:09:48 CET 2008 |
|
|
123 | - (libev) use a generation counter to detect spurious epoll events |
|
|
124 | and recreate the kernel in such a case (sorry, it's slow, but |
|
|
125 | I didn't design epoll...). |
|
|
126 | - (libev) optimise away an EPOLL_CTL_ADD/MOD combo in the epoll |
|
|
127 | backend in some cases. |
|
|
128 | - (libev) use memset to initialise most arrays now and do away |
|
|
129 | with the init functions. |
|
|
130 | - speed up event callback invocation further (~15%), by |
|
|
131 | not creating the object reference each time. |
|
|
132 | - EV::sleep was documented, but not implemented. fun. |
|
|
133 | |
|
|
134 | 3.45 Tue Oct 21 22:20:39 CEST 2008 |
|
|
135 | - (libev) disable inotify usage on linux <2.6.25 (kernel bug). |
|
|
136 | - (libev) ev_embed will now automatically follow fork. |
|
|
137 | - (libev) ev_once will now pass both io and timeout events to |
|
|
138 | the callback when both happen concurrently, instead of giving |
|
|
139 | one precedence. |
|
|
140 | - install C library documentation as EV::libev manpage (sorry, oesi). |
|
|
141 | - (libev) fix a minor performance bug in ev_stat handling. |
|
|
142 | |
|
|
143 | 3.44 Mon Sep 29 05:16:31 CEST 2008 |
|
|
144 | - (libev) add EV::now_update and $loop->now_update. |
|
|
145 | |
|
|
146 | 3.431 Sun Jul 13 00:19:02 CEST 2008 |
|
|
147 | - made the EV::embed callback optional again. reported by |
|
|
148 | Vladimir Timofeev. |
|
|
149 | |
|
|
150 | 3.43 Tue Jul 8 20:56:31 CEST 2008 |
|
|
151 | - disabled warnings in EV.pm, the CHECK issue is now understood |
|
|
152 | and harmless. |
|
|
153 | |
|
|
154 | 3.42 Mon May 26 07:36:46 CEST 2008 |
|
|
155 | - (libev) work around another bug in windows perls and |
|
|
156 | windows itself: failed connects do NOT set read or write |
|
|
157 | flags in select, but this version of libev will. |
|
|
158 | |
|
|
159 | 3.41 Thu May 22 01:39:40 CEST 2008 |
|
|
160 | - (libev) fix many heap-related bugs (timers, periodics). |
|
|
161 | - (libev) improve timing stability of timers and periodics. |
|
|
162 | - expose ev_loop_verify to perl code. |
|
|
163 | - clarify documentation for periodic reschedule callbacks. |
|
|
164 | - verify that the passed callback argument is indeed a code |
|
|
165 | reference, for earlier error reporting and a nice calling |
|
|
166 | speed increase (as well as saving memory). |
|
|
167 | |
|
|
168 | 3.4 Tue May 20 21:51:55 CEST 2008 |
|
|
169 | - (libev) work around both a windows bug and a bug in perl's |
|
|
170 | select on windows when not waiting for any file descriptors. |
|
|
171 | - bundle ev.pod into the tarball, just to increase its size |
|
|
172 | (and for the poor internetless person). |
|
|
173 | |
|
|
174 | 3.33 Sun May 18 12:43:04 CEST 2008 |
|
|
175 | - (libev) use numerous enhancements such as a more |
|
|
176 | cache-friendly 4-heap and heap index caching for timers. |
|
|
177 | - remove undocumented ev_timer->at accessor. |
|
|
178 | |
|
|
179 | 3.31 Wed Apr 16 20:48:59 CEST 2008 |
|
|
180 | - (libev) post-last-minute fix for ev_poll.c problem. |
|
|
181 | |
|
|
182 | 3.3 Wed Apr 16 19:04:47 CEST 2008 |
|
|
183 | - (libev) linux eventfd support. |
|
|
184 | - (libev) inline more with C99 compilers. |
|
|
185 | - (libev) work around a number of bugs in valgrind. |
|
|
186 | - (libev) work around broken realloc on openbsd and darwin. |
|
|
187 | - added example to EV::MakeMaker manpage. |
|
|
188 | - add async_pending method. |
|
|
189 | |
|
|
190 | 3.2 Wed Apr 2 17:08:16 CEST 2008 |
|
|
191 | - "ported" again to the Microsoft "C" language. |
|
|
192 | - relax testsuite timing for the benefit of freebsd users once more. |
|
|
193 | - fix EVAPI's ev_time and ev_sleep macros. |
|
|
194 | - (libev) fix select backend on 64 bit architetcures. |
|
|
195 | - (libev) ev_loop flags are now local to each invocation. |
|
|
196 | |
|
|
197 | 3.1 Sat Mar 8 11:41:14 CET 2008 |
|
|
198 | - add ev_sync_* and ev_fork_* to EVAPI.h. |
|
|
199 | - provide EV::Embed->sweep method. |
|
|
200 | - new watcher type: async (not very useful in perl). |
|
|
201 | |
|
|
202 | 3.0 Mon Jan 28 13:23:11 CET 2008 |
|
|
203 | - upgrade to libev-3.0. |
|
|
204 | - change child handler to incorporate tracing flag. |
|
|
205 | |
|
|
206 | 2.01 Mon Dec 31 01:59:19 CET 2007 |
|
|
207 | - found a minor problem in the testsuite that is only |
|
|
208 | caught by new Test::Harness versions (reported by Andreas |
|
|
209 | König). |
|
|
210 | |
|
|
211 | 2.0 Sat Dec 22 17:47:03 CET 2007 |
|
|
212 | - no longer force kqueue when enabled, enable it |
|
|
213 | on more systems (as its now by default not used on most). |
7 | - expose fork watchers. |
214 | - expose fork watchers. |
8 | - switch to libev's MULTIPLICITY API. |
215 | - switch to libev's MULTIPLICITY API. |
9 | - use a slightly different include file name strategy. |
216 | - use a slightly different include file name strategy. |
10 | - get rid of (unused) libevent emulation. |
217 | - get rid of (unused) libevent emulation. |
11 | - 5% watcher management speedup due to callback optimisation |
218 | - 5% watcher management speedup due to callback optimisation |
12 | when inline closures are used, 5% slowdown due to multiplicity. |
219 | when inline closures are used, 5% slowdown due to multiplicity. |
13 | - (libev) renamed ev_embed.loop to other. |
220 | - very minimal support for dynamic event loops and embed watchers. |
14 | - (libev) added exported Symbol tables. |
221 | - fix name of prepare start/stop methods. |
15 | - (libev) undefine member wrapper macros at the end of ev.c. |
222 | - create and export EV::sleep and EV::set_*_collect_interval. |
16 | - (libev) respect EV_H in ev++.h. |
223 | - fix typos in manpage (Alex Efros). |
17 | |
224 | |
18 | 1.86 Tue Dec 18 02:36:57 CET 2007 |
225 | 1.86 Tue Dec 18 02:36:57 CET 2007 |
19 | - (libev) fix memleak on loop destroy (not relevant for perl). |
|
|
20 | - add periodic->at methods. |
226 | - add periodic->at methods. |
21 | |
227 | |
22 | 1.85 Fri Dec 14 20:32:40 CET 2007 |
228 | 1.85 Fri Dec 14 20:32:40 CET 2007 |
23 | - further optimise epoll backend by adding a heuristic that |
229 | - further optimise epoll backend by adding a heuristic that |
24 | avoids EPOLL_CTL_DEL calls if possible. |
230 | avoids EPOLL_CTL_DEL calls if possible. |
25 | - EV::signal->start was not async-signal safe. |
231 | - EV::signal->start was not async-signal safe. |
26 | - (libev) fix some aliasing issues w.r.t. timers and periodics |
|
|
27 | (not relevant for perl). |
|
|
28 | - optimise start/stop when the fd hasn't changed. |
232 | - optimise start/stop when the fd hasn't changed. |
29 | |
233 | |
30 | 1.8 Tue Dec 11 22:17:46 CET 2007 |
234 | 1.8 Tue Dec 11 22:17:46 CET 2007 |
31 | - API version 3:0. |
235 | - API version 3:0. |
32 | - reduced fudge factor to zero for select, poll, epoll |
236 | - reduced fudge factor to zero for select, poll, epoll |