1 | Revision history for Perl extension EV and the embedded libev library |
1 | Revision history for Perl extension EV |
2 | |
2 | |
|
|
3 | Changes marked with (libev) are changes in libev, and have more |
|
|
4 | documentation in the libev Changes file. |
|
|
5 | |
|
|
6 | 4.00 |
|
|
7 | - many API changes, see the manual. |
|
|
8 | - fix a bug where inotify usage would parse the same event |
|
|
9 | multiple times, causing various forms of breakage. |
|
|
10 | - greatly reduce stack usage for inotify (8kb to <0.5kb). |
|
|
11 | - renamed loop_verify to verify, loop_count to iteration and |
|
|
12 | loop_depth to depth. |
|
|
13 | - expose ev_depth and ev_verify via the XS API. |
|
|
14 | - (libev) ev_embed_stop did not correctly stop the watcher. |
|
|
15 | - (libev) disable poll backend on AIX. |
|
|
16 | - (libev) rename EV_TIMEOUT to EV_TIMER. |
|
|
17 | - (libev) add section on accept() problems to the manpage. |
|
|
18 | - (libev) no child watchers on win32. |
|
|
19 | - make code more aliasing compliant, in case perl is ever |
|
|
20 | translated to C. |
|
|
21 | - document the EV::CHECK runtime unavailability. |
|
|
22 | - ported to minix 3.1.7. |
|
|
23 | |
|
|
24 | 3.9 Thu Dec 31 07:59:59 CET 2009 |
|
|
25 | - disable t/07* under automatic testing. |
|
|
26 | - increase t/09* timeouts as netbsd has *horribly* broken |
|
|
27 | select/kevent that *usually* sleep >>0.6s instead of 0.3. |
|
|
28 | - add constants EV::FLAG_NOSIGFD, EV::FLAG_NOINOTIFY and |
|
|
29 | EV::BACKEND_ALL. |
|
|
30 | - (libev) signalfd is no longer used by default. |
|
|
31 | - (libev) backport inotify code to C89. |
|
|
32 | - (libev) inotify file descriptors could leak into child processes. |
|
|
33 | - (libev) ev_stat watchers could keep an errornous extra ref on the loop. |
|
|
34 | - (libev) take advantage of inotify_init1, if available. |
|
|
35 | - (libev) the signal handling pipe wasn't always initialised under windows. |
|
|
36 | - changed minimum glibc requirement from glibc 2.9 to 2.7, for signalfd. |
|
|
37 | - (libev) only replace ev_stat.prev when we detect an actual difference. |
|
|
38 | |
|
|
39 | 3.8 Sun Aug 9 15:30:10 CEST 2009 |
|
|
40 | - implement $loop->signal/signal_ns. |
|
|
41 | - (libev) incompatible change: do not necessarily reset signal |
|
|
42 | handler to SIG_DFL when a sighandler is stopped. |
|
|
43 | - (libev) ev_default_destroy did not properly free or zero some |
|
|
44 | members, potentially causing crashes and memory corruption on |
|
|
45 | repated ev_default_destroy/ev_default_loop calls. |
|
|
46 | - (libev) take advantage of signalfd on GNU/Linux systems. |
|
|
47 | - (libev) document that the signal mask might be in an unspecified |
|
|
48 | state when using libev's signal handling. |
|
|
49 | - (libev) take advantage of some GNU/Linux calls to set |
|
|
50 | cloexec/nonblock on fd creation, to avoid race conditions. |
|
|
51 | - implement internal glue code to interface more efficiently |
|
|
52 | with AnyEvent. |
|
|
53 | |
|
|
54 | 3.7 Fri Jul 17 16:49:16 CEST 2009 |
|
|
55 | - add EV::loop_verify and EV::loop_depth. |
|
|
56 | - use output filehandle for i/o watchers waiting |
|
|
57 | for EV_WRITE, otherwise input filehandle. |
|
|
58 | - use common schmorp.h header. |
|
|
59 | - add EV::Timer->remaining. |
|
|
60 | - allow for subclassing of EV::Loop (see the exciting |
|
|
61 | EV::Loop::Async module for an example). |
|
|
62 | - added EV::invoke_pending and EV::pending_count. |
|
|
63 | |
|
|
64 | - (libev) ev_unloop and ev_loop wrongly used a global variable to |
|
|
65 | exit loops, instead of using a per-loop variable. |
|
|
66 | - (libev) the ev_set_io_collect_interval interpretation has changed. |
|
|
67 | - add new functionality: EV::invoke_pending, EV::pending_count. |
|
|
68 | - add $timer->remaining. |
|
|
69 | - add EV::loop_depth. |
|
|
70 | - (libev) calling unloop in fork/prepare watchers will no longer poll |
|
|
71 | for new events. |
|
|
72 | - (libev) use GetSystemTimeAsFileTime instead of _timeb on windows, |
|
|
73 | for slightly higher accuracy. |
|
|
74 | - (libev) actually 0-initialise struct sigaction when installing |
|
|
75 | signals. |
|
|
76 | |
|
|
77 | 3.6 Tue Apr 28 02:50:37 CEST 2009 |
|
|
78 | - keepalive(0) could decrease the refcount of the loop |
|
|
79 | permanently. |
|
|
80 | - add ev_suspend/ev_resume, also make ev_now_update |
|
|
81 | accessible via the XS API. |
|
|
82 | - most EV::<eventtype> constants were missing and have been |
|
|
83 | added :/. |
|
|
84 | - add EV::VERSION_MAJOR/VERSION_MINOR constants. |
|
|
85 | - (libev) multiple timers becoming ready within an event loop |
|
|
86 | iteration will be invoked in the "correct" order now. |
|
|
87 | - (libev) do not leave the event loop early just because we have |
|
|
88 | no active watchers, fixing a problem when embedding a kqueue |
|
|
89 | loop that has active kernel events but no registered watchers |
|
|
90 | (reported by blacksand blacksand). |
|
|
91 | - (libev) correctly zero the idx values for arrays, so destroying |
|
|
92 | and reinitialising the default loop actually works (patch by |
|
|
93 | Malek Hadj-Ali). |
|
|
94 | - (libev) new EV::CUSTOM revents flag for use by applications. |
|
|
95 | - (libev) add documentation section about priorites. |
|
|
96 | - (libev) add a glossary to the dcoumentation. |
|
|
97 | - (libev) extend the ev_fork description slightly. |
|
|
98 | - (libev) optimize a jump out of call_pending. |
|
|
99 | - t/03_keepalive could fail when there was no actual error. |
|
|
100 | |
|
|
101 | 3.53 Sun Feb 15 02:38:20 CET 2009 |
|
|
102 | - (libev) on win32, the event loop creation could randomly fail |
|
|
103 | due to an initialised variable having the wrong value. |
|
|
104 | - (libev) probe for CLOCK_REALTIME support at runtime as well and |
|
|
105 | fall back to gettimeofday if there is an error, to support older |
|
|
106 | operating systems with newer header files/libraries. |
|
|
107 | - prefer gettimeofday over clock_gettime by default. |
|
|
108 | |
|
|
109 | 3.52 Wed Jan 7 21:46:14 CET 2009 |
|
|
110 | - (libev) fix some issues in the select backend when in fd_set mode. |
|
|
111 | - (libev) due to a thinko, instead of disabling everything but |
|
|
112 | select on the borked OS X platform, everything but select was |
|
|
113 | allowed (reported by Emanuele Giaquinta). |
|
|
114 | - (libev) actually verify that local and remote port are matching in |
|
|
115 | libev's socketpair emulation, which makes denial-of-service |
|
|
116 | attacks harder (but not impossible - it's windows). Make sure |
|
|
117 | it even works under vista, which thinks that getpeer/sockname |
|
|
118 | should return fantasy port numbers. |
|
|
119 | |
|
|
120 | 3.51 Wed Dec 24 23:01:59 CET 2008 |
|
|
121 | - do not cache the arguments passed to callbacks if the refcount |
|
|
122 | indicates that the callback has stolen them. |
|
|
123 | - (libev) try to avoid librt on GNU/Linux. |
|
|
124 | - (libev) check port_getn return value dfferently, might potentially |
|
|
125 | avoid problems. |
|
|
126 | - (libev) fix a bug with stat watchers possibly causing freezes. |
|
|
127 | - (libev) work around OS X 10.5 breaking poll, now select is the |
|
|
128 | only viable choice left on that pile of garbage. |
|
|
129 | - play tester whore: disable some tests that typically fail only |
|
|
130 | on cpan tester machines. |
|
|
131 | |
|
|
132 | 3.49 Wed Nov 19 11:26:53 CET 2008 |
|
|
133 | - fix typos in manpage (Alex Efros). |
|
|
134 | - increase timing even further, for the ever-overloaded cpan-tester |
|
|
135 | machines, and to the detriment of everybody else who wants a fast |
|
|
136 | make test. |
|
|
137 | - possible 5.6 compatibility. |
|
|
138 | - (libev) use inotify even on buggy kernels, but don't rely on it. |
|
|
139 | - (libev) use inotify only as an added hint on network filesystems. |
|
|
140 | |
|
|
141 | 3.48 Thu Oct 30 09:09:48 CET 2008 |
|
|
142 | - (libev) use a generation counter to detect spurious epoll events |
|
|
143 | and recreate the kernel in such a case (sorry, it's slow, but |
|
|
144 | I didn't design epoll...). |
|
|
145 | - (libev) optimise away an EPOLL_CTL_ADD/MOD combo in the epoll |
|
|
146 | backend in some cases. |
|
|
147 | - (libev) use memset to initialise most arrays now and do away |
|
|
148 | with the init functions. |
|
|
149 | - speed up event callback invocation further (~15%), by |
|
|
150 | not creating the object reference each time. |
|
|
151 | - EV::sleep was documented, but not implemented. fun. |
|
|
152 | |
|
|
153 | 3.45 Tue Oct 21 22:20:39 CEST 2008 |
|
|
154 | - (libev) disable inotify usage on linux <2.6.25 (kernel bug). |
|
|
155 | - (libev) ev_embed will now automatically follow fork. |
|
|
156 | - (libev) ev_once will now pass both io and timeout events to |
|
|
157 | the callback when both happen concurrently, instead of giving |
|
|
158 | one precedence. |
|
|
159 | - install C library documentation as EV::libev manpage (sorry, oesi). |
|
|
160 | - (libev) fix a minor performance bug in ev_stat handling. |
|
|
161 | |
|
|
162 | 3.44 Mon Sep 29 05:16:31 CEST 2008 |
|
|
163 | - (libev) add EV::now_update and $loop->now_update. |
|
|
164 | |
|
|
165 | 3.431 Sun Jul 13 00:19:02 CEST 2008 |
|
|
166 | - made the EV::embed callback optional again. reported by |
|
|
167 | Vladimir Timofeev. |
|
|
168 | |
|
|
169 | 3.43 Tue Jul 8 20:56:31 CEST 2008 |
|
|
170 | - disabled warnings in EV.pm, the CHECK issue is now understood |
|
|
171 | and harmless. |
|
|
172 | |
|
|
173 | 3.42 Mon May 26 07:36:46 CEST 2008 |
3 | - (libev) work around another bug in windows perls and |
174 | - (libev) work around another bug in windows perls and |
4 | windows itself: failed connects do NOT set read or write |
175 | windows itself: failed connects do NOT set read or write |
5 | flags in select, but this version of libev will. |
176 | flags in select, but this version of libev will. |
6 | |
177 | |
7 | 3.41 Thu May 22 01:39:40 CEST 2008 |
178 | 3.41 Thu May 22 01:39:40 CEST 2008 |