1 | Revision history for Perl extension EV |
1 | Revision history for Perl extension EV |
|
|
2 | |
|
|
3 | Changes marked with (libev) are changes in libev, and might have more |
|
|
4 | documentation in the libev Changes file. |
|
|
5 | |
|
|
6 | 4.33 Wed Mar 18 13:31:12 CET 2020 |
|
|
7 | - the enable assertion makefile question failed to enable |
|
|
8 | assertions due to a typo. |
|
|
9 | - try harder to avoid perl's assert () which does not actually |
|
|
10 | behave correctly. |
|
|
11 | - updated libecb to make it compile under more windows environments. |
|
|
12 | |
|
|
13 | 4.32 Fri Jan 24 14:21:35 CET 2020 |
|
|
14 | - (libev) fixed a bug introduced in 4.31 when timerfds and signalfds were |
|
|
15 | used at the same time. |
|
|
16 | - (libev) 0 is now allowed as requested event mask in io watchers. |
|
|
17 | - (libev) once-per-minute wakeups will now be optimized away when |
|
|
18 | timerfds are available |
|
|
19 | - use the new ev_io_modify in EV::IO->events, instead of the potentially |
|
|
20 | slower ev_io_set. |
|
|
21 | - add a bunch of mutator methods, mostly untested(!): EV::Timer->repeat, |
|
|
22 | EV::Periodic->offset, EV::Periodic->interval, |
|
|
23 | EV::Periodic->reschedule_cb. |
|
|
24 | - minor optimisations and bugfixes. |
|
|
25 | |
|
|
26 | 4.31 Fri Dec 20 21:57:00 CET 2019 |
|
|
27 | - (libev) handle backends with minimum wait time a bit better by |
|
|
28 | not waiting in the presence of already-expired timers |
|
|
29 | (behaviour reported by Felipe Gasper). |
|
|
30 | - (libev) use timerfd to detect timejumps. |
|
|
31 | - (libev) new loop flag: EVFLAG_NOTIMERFD. |
|
|
32 | |
|
|
33 | 4.30 Fri Nov 22 21:00:00 CET 2019 |
|
|
34 | - (libev) use a different and hopefully even more portable |
|
|
35 | test to disable io_uring when header files are too old, |
|
|
36 | by directly testing LINUX_VERSION_CODE. |
|
|
37 | - (libev) fix a bug in the io_uring backend that polled the wrong |
|
|
38 | backend fd, causing it to not work in many cases. |
|
|
39 | |
|
|
40 | 4.29 Fri Nov 22 15:34:29 CET 2019 |
|
|
41 | - (libev) add io uring autoconf and non-autoconf detection, |
|
|
42 | the latter of which should disable io_uring compilation |
|
|
43 | on old systems. |
|
|
44 | |
|
|
45 | 4.28 Tue Nov 19 13:55:39 CET 2019 |
|
|
46 | - (libev) fix ev_port backend, thanks to David H. Gutteridge for |
|
|
47 | - (libev) many bugfixes in linuxaio backend. |
|
|
48 | - (libev) experimental io uring interface. |
|
|
49 | reminding me to actually release the fix. |
|
|
50 | - try to name ev.h more explicitly, to hopefully improve portability. |
|
|
51 | - opportunistically round up wait times for poll and epoll backend, |
|
|
52 | to avoid unnecessary loop iterations. |
|
|
53 | - add build dependency on ev_linuxaio.c. |
|
|
54 | - quickly (re)-ported to minix 3.3 before minix crashed again. |
|
|
55 | |
|
|
56 | 4.27 Thu Jun 27 09:39:58 CEST 2019 |
|
|
57 | - (libev) completely rewritten linuxaio backend, maybe |
|
|
58 | usable as a general-use backend. |
|
|
59 | - (libev) use more aggressive assertions to catch |
|
|
60 | more usage errors. |
|
|
61 | - allow users to re-enable assert() in case it is disabled |
|
|
62 | by perl (which is typically the case). |
|
|
63 | |
|
|
64 | 4.26 Mon Jun 24 23:39:40 CEST 2019 |
|
|
65 | - (libev) included experimental linux aio backend. |
|
|
66 | - allow the linux aio backend to be used by default |
|
|
67 | only when explicitly configured during Makefile.PL time. |
|
|
68 | |
|
|
69 | 4.25 Fri Dec 21 08:04:26 CET 2018 |
|
|
70 | - (libev) updated to libev 4.25, minor fixes and enhancements. |
|
|
71 | - document the requirement to "use EV" when using EV::MakeMaker. |
|
|
72 | - only use __register_atfork with glibc and uclibc, as musl |
|
|
73 | defines __linux__, but doesn't implement the linux standard |
|
|
74 | base ABI, nor makes itself detectable via a macro, both apparently |
|
|
75 | by design, winning the "broken by design 2016 award" - well done. |
|
|
76 | - correct EV::periodic example 24h after midnight -> one day after |
|
|
77 | midnight (reported by Felix Ostmann). |
|
|
78 | |
|
|
79 | 4.22 Sun Dec 20 02:34:39 CET 2015 |
|
|
80 | - (libev) when epoll detects unremovable fds in the fd set, rebuild |
|
|
81 | only the epoll descriptor, not the signal pipe, to avoid |
|
|
82 | SIGPIPE in ev_async_send. This doesn't solve it on fork, |
|
|
83 | so document what needs to be done in ev_loop_fork |
|
|
84 | (analyzed by Benjamin Mahler). |
|
|
85 | - (libev) remove superfluous sys/timeb.h include on win32 |
|
|
86 | (analyzed by Jason Madden). |
|
|
87 | - updated libecb. |
|
|
88 | |
|
|
89 | 4.21 Mon Jul 13 21:47:33 CEST 2015 |
|
|
90 | - allow argument in timer->again. |
|
|
91 | - document timer->remaining. |
|
|
92 | - document default repeat value for timer->set. |
|
|
93 | |
|
|
94 | 4.20 Sat Jun 20 13:07:34 CEST 2015 |
|
|
95 | - added stability canary support. |
|
|
96 | - truly rely on automatic configuration for clock_gettime and others. |
|
|
97 | unfortunately, this doesn't help with activeperl and similar perls, |
|
|
98 | which define _POSIX_TIMERS without actually implementing any of it. |
|
|
99 | - (libev, ecb) make it compile as C++ again. |
|
|
100 | - (libev) fix a potential aliasing issue when accessing watcher cbs. |
|
|
101 | |
|
|
102 | 4.18 Sat Sep 6 20:37:23 CEST 2014 |
|
|
103 | - use slightly better weay to find includes, to support multiarch |
|
|
104 | on newer perls. |
|
|
105 | |
|
|
106 | 4.17 Fri Apr 11 06:22:38 CEST 2014 |
|
|
107 | - perl5porters broke Async::Interrupt, BDB, EV, IO::AIO, OpenCL |
|
|
108 | without warning by switching the meaning of USE_SOCKETS_AS_HANDLES |
|
|
109 | in 5.18. What's so attractive about giving a shit about backwards |
|
|
110 | compatibility - I will never understand. |
|
|
111 | |
|
|
112 | 4.16 Sat Mar 8 16:49:05 CET 2014 |
|
|
113 | - make sure EV::CHECK is available at all times. |
|
|
114 | - avoid a spurious warning when perl -w overrides "no warnings". |
|
|
115 | - use perl's signal implementation on WIN32. |
|
|
116 | - ensure extern "C" function pointers are used for externally-visible |
|
|
117 | pointers. |
|
|
118 | - (libev) mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). |
|
|
119 | - (ecb) support m68k, m88k and sh (patch by Miod Vallat). |
|
|
120 | - (libev) in the absence of autoconf, do not use the clock syscall |
|
|
121 | on glibc >= 2.17 (avoids the syscall AND -lrt on systems |
|
|
122 | doing clock_gettime in userspace). |
|
|
123 | - (ecb) work around memory barriers and volatile apparently both being |
|
|
124 | broken in visual studio 2008 and later (analysed and patch by Nicolas Noble). |
|
|
125 | |
|
|
126 | 4.15 Fri Mar 1 12:15:53 CET 2013 |
|
|
127 | - (libev) upgrade to 4.15 - too many changes to list. |
|
|
128 | - EV::run now returns a boolean. |
|
|
129 | - API version 5:1. |
|
|
130 | - document that cleanup watchers are not available via perl. |
|
|
131 | - cast I32 to int in error message printf. |
|
|
132 | - remove dependencies on librt and libpthreads on GNU/Linux. |
|
|
133 | |
|
|
134 | 4.11 Sat Feb 4 19:56:26 CET 2012 |
|
|
135 | - (libev) implement memory fences for (obsolete) llvm-gcc. |
|
|
136 | |
|
|
137 | 4.10 Thu Jan 19 18:54:23 CET 2012 |
|
|
138 | - (libev) fix a race where the workaround against the epoll fork |
|
|
139 | bugs caused signals to not be handled anymore. |
|
|
140 | - (libev) correct backend_fudge for most backends, and implement |
|
|
141 | a windows specific workaround to avoid looping because we call |
|
|
142 | both select and Sleep, both with different time resolutions. |
|
|
143 | - e_new wasn't declared static (causing very minor .so bloat). |
|
|
144 | - replace more old api names by new ones. |
|
|
145 | |
|
|
146 | 4.03 Tue Jan 11 14:51:05 CET 2011 |
|
|
147 | - do not avoid the clock_gettime call on GNU/Linux anymore, as EV |
|
|
148 | links against -lpthread anyways - as a result, EV might now take |
|
|
149 | advantage of fast userspace clock_gettime implementations, |
|
|
150 | but also links against -lrt. |
|
|
151 | - (libev) lots of event port bug workarounds. |
|
|
152 | - (libev) officially support files in I/O watchers. |
|
|
153 | - (libev) new function ev_feed_signal. |
|
|
154 | - fix documentation parts still refering to the 3.x API. |
|
|
155 | |
|
|
156 | 4.02 Thu Dec 30 08:27:41 CET 2010 |
|
|
157 | - the revents argument did not stringify correctly, as only the |
|
|
158 | numeric value was updated, while the string value was kept from |
|
|
159 | previous invocations. |
|
|
160 | |
|
|
161 | 4.01 Sun Dec 5 12:42:13 CET 2010 |
|
|
162 | - fully support EV_COMPAT3=0. |
|
|
163 | - default_fork was stupidly defined as inline. |
|
|
164 | - ask cpan to upgrade AnyEvent if < 5.29. |
|
|
165 | - support EV_EXTRA_DEFS during configuration. |
|
|
166 | - support -DEV_NO_LOOPS for snakker build. |
|
|
167 | |
|
|
168 | 4.00 Mon Oct 25 13:30:09 CEST 2010 |
|
|
169 | - many API changes, see the manual. |
|
|
170 | - (libev) lots and lots of bugfixes, see the ev documentation. |
|
|
171 | - fix a bug where inotify usage would parse the same event |
|
|
172 | multiple times, causing various forms of breakage. |
|
|
173 | - greatly reduce stack usage for inotify (8kb to <0.5kb). |
|
|
174 | - expose ev_depth and ev_verify via the XS API. |
|
|
175 | - implement ev_cleanup watchers. |
|
|
176 | - (libev) ev_embed_stop did not correctly stop the watcher. |
|
|
177 | - (libev) disable poll backend on AIX. |
|
|
178 | - (libev) rename EV_TIMEOUT to EV_TIMER. |
|
|
179 | - (libev) add section on accept() problems to the manpage. |
|
|
180 | - (libev) no child watchers on win32. |
|
|
181 | - make code more aliasing compliant, in case perl is ever |
|
|
182 | translated to C. |
|
|
183 | - document the EV::CHECK runtime unavailability. |
|
|
184 | - ported to minix 3.1.7. |
|
|
185 | |
|
|
186 | 3.9 Thu Dec 31 07:59:59 CET 2009 |
|
|
187 | - disable t/07* under automatic testing. |
|
|
188 | - increase t/09* timeouts as netbsd has *horribly* broken |
|
|
189 | select/kevent that *usually* sleep >>0.6s instead of 0.3. |
|
|
190 | - add constants EV::FLAG_NOSIGFD, EV::FLAG_NOINOTIFY and |
|
|
191 | EV::BACKEND_ALL. |
|
|
192 | - (libev) signalfd is no longer used by default. |
|
|
193 | - (libev) backport inotify code to C89. |
|
|
194 | - (libev) inotify file descriptors could leak into child processes. |
|
|
195 | - (libev) ev_stat watchers could keep an errornous extra ref on the loop. |
|
|
196 | - (libev) take advantage of inotify_init1, if available. |
|
|
197 | - (libev) the signal handling pipe wasn't always initialised under windows. |
|
|
198 | - changed minimum glibc requirement from glibc 2.9 to 2.7, for signalfd. |
|
|
199 | - (libev) only replace ev_stat.prev when we detect an actual difference. |
|
|
200 | |
|
|
201 | 3.8 Sun Aug 9 15:30:10 CEST 2009 |
|
|
202 | - implement $loop->signal/signal_ns. |
|
|
203 | - (libev) incompatible change: do not necessarily reset signal |
|
|
204 | handler to SIG_DFL when a sighandler is stopped. |
|
|
205 | - (libev) ev_default_destroy did not properly free or zero some |
|
|
206 | members, potentially causing crashes and memory corruption on |
|
|
207 | repated ev_default_destroy/ev_default_loop calls. |
|
|
208 | - (libev) take advantage of signalfd on GNU/Linux systems. |
|
|
209 | - (libev) document that the signal mask might be in an unspecified |
|
|
210 | state when using libev's signal handling. |
|
|
211 | - (libev) take advantage of some GNU/Linux calls to set |
|
|
212 | cloexec/nonblock on fd creation, to avoid race conditions. |
|
|
213 | - implement internal glue code to interface more efficiently |
|
|
214 | with AnyEvent. |
2 | |
215 | |
3 | 3.7 Fri Jul 17 16:49:16 CEST 2009 |
216 | 3.7 Fri Jul 17 16:49:16 CEST 2009 |
4 | - add EV::loop_verify and EV::loop_depth. |
217 | - add EV::loop_verify and EV::loop_depth. |
5 | - use output filehandle for i/o watchers waiting |
218 | - use output filehandle for i/o watchers waiting |
6 | for EV_WRITE, otherwise input filehandle. |
219 | for EV_WRITE, otherwise input filehandle. |