1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | 4.2 |
3 | - special-case mapped ipv4 addresses in both |
|
|
4 | AnyEvent::Socket::format_address and parse_address, |
|
|
5 | to treat them just like ipv4 addresses. |
|
|
6 | - implement AnyEvent::Socket::format_ipv4/ipv6. |
|
|
7 | - slightly speed up portable_pipe/socketpair. |
|
|
8 | - expand condvar ebgin/end documentation. |
|
|
9 | |
|
|
10 | 4.42 Fri Jun 26 08:32:18 CEST 2009 |
|
|
11 | - preliminary and neccesarily incomplete support for IO::Async. |
|
|
12 | - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in |
|
|
13 | case it was set to IGNORE, to ensure we can catch child statuses |
|
|
14 | even when the calling env acts stupidly. |
|
|
15 | - updated benchmarks with IO::Async, which performs very well. |
|
|
16 | |
|
|
17 | 4.412 Wed Jun 24 01:35:57 CEST 2009 |
|
|
18 | - support an "untaint" attribute for AnyEvent::DNS |
|
|
19 | and set it on the default resolver. |
|
|
20 | - implement and document AnyEvent::Impl::Perl::loop. |
|
|
21 | - remove all anyevent-env variables from %ENV |
|
|
22 | when running in tainted mode. |
|
|
23 | - mention and extend the IO::Lambda benchmark. |
|
|
24 | |
|
|
25 | 4.411 Sun Jun 7 18:48:02 CEST 2009 |
|
|
26 | - do not try to use F_SETFD on windows. |
|
|
27 | |
|
|
28 | 4.41 Thu May 14 06:40:11 CEST 2009 |
|
|
29 | - work around issues in older perls (5.8.0?) when |
|
|
30 | a signal handler is deleted from the %SIG hash. |
|
|
31 | - use POSIX::_exit in child test, to avoid running |
|
|
32 | destructors. |
|
|
33 | - speed up CHLD handling by relying on SIGCHLD being |
|
|
34 | synchronously delivered, even when we roll our own |
|
|
35 | implementation. |
|
|
36 | - AnyEvent::DNS: add the "dname" resource record name |
|
|
37 | for cosmetic reasons. |
|
|
38 | |
|
|
39 | 4.4 Sun Apr 26 20:12:33 CEST 2009 |
|
|
40 | - implemented idle watchers, where applicable. |
|
|
41 | - AnyEvent->time died when Event backend was in use. |
|
|
42 | - fix a memleak in the Tk backend. |
|
|
43 | - sped up Tk timer handling. |
|
|
44 | - clip negative "after" values to 0 in AnyEvent::Impl::Event |
|
|
45 | to avoid spamming out warning messages. |
|
|
46 | - fix Qt timers without interval. |
|
|
47 | - avoid Qt zero-timeout special case, in old libqt's. |
|
|
48 | |
|
|
49 | 4.352 Mon Apr 20 16:31:11 CEST 2009 |
|
|
50 | - fix AnyEvent::Strict error messages for child watchers. |
|
|
51 | - fix/update Makefile.PL "recommends" versions. |
|
|
52 | - add AnyEvent->now_update. |
|
|
53 | |
|
|
54 | 4.351 Sat Apr 11 07:56:14 CEST 2009 |
|
|
55 | - actually make the signal pipe work under win32. |
|
|
56 | - localise $! in signal handler to avoid changing $!, although |
|
|
57 | perl itself does not seem to save/restore errno either. |
|
|
58 | - set the cloexec flag on the signal pipe (normally set by perl too). |
|
|
59 | |
|
|
60 | 4.35 Fri Mar 27 11:48:20 CET 2009 |
|
|
61 | - event models relying on AnyEvent's signal watcher emulation did |
|
|
62 | invoke the callback asynchronously, contradicting documentation |
|
|
63 | and causing signals to get lost (this includes AnyEvent's own |
|
|
64 | event loop). AnyEvent now uses the standard pipe trick to make |
|
|
65 | callback execution synchronous to the event loop. |
|
|
66 | - AnyEvent::Handle didn't free TLS context data on DESTROY |
|
|
67 | (patch by Pavel Shaydo). |
|
|
68 | - work around the ever-incompatibly-changing API of MakeMaker. |
|
|
69 | - document that changing global variables without restoring them |
|
|
70 | is a bad idea in Perl (noted by Adam Rosenstein). |
|
|
71 | - AnyEvent::Strict now barfs if ->io is passed a file. |
|
|
72 | |
|
|
73 | 4.34 Thu Feb 12 18:32:45 CET 2009 |
|
|
74 | - separately buffer TLS read data, as otherwise the read queue could |
|
|
75 | deadlock as receiving data is not expected while draining the |
|
|
76 | read queue (which cna only happen with TLS). |
|
|
77 | - raise EBADMSG error on JSON decoding errors. |
|
|
78 | - fix some minor manpage bugs (reported by Maximilian Gaß). |
|
|
79 | - speed up select bitmask parsing quite a bit in the pure perl |
|
|
80 | backend. |
|
|
81 | - use CORE::select instead of just select in AnyEvent::Impl::Perl. |
|
|
82 | |
|
|
83 | 4.331 Tue Jan 6 21:07:25 CET 2009 |
|
|
84 | - socketpair fails on many vista machines because vista has |
|
|
85 | completely broken accept/getpeername and getsockname functions, |
|
|
86 | so we provide our own socketpair emulation that kind of works |
|
|
87 | (AnyEvent::Util::portable_pipe). |
|
|
88 | - new function: AnyEvent::Util::portable_socketpair. |
|
|
89 | - take advantage of the Guard module if it exists. |
|
|
90 | |
|
|
91 | 4.33 Fri Nov 21 02:35:40 CET 2008 |
|
|
92 | - AnyEvent::Strict did errornously flag a fileno of 0 as |
|
|
93 | illegal. |
|
|
94 | - reduce memory usage and slightly speed up the pure perl backend |
|
|
95 | by only storing the file descriptor, not the file handle. |
|
|
96 | - add missing autocork method to AnyEvent::Handle (reported |
|
|
97 | by Adam Rosenstein). |
|
|
98 | - AnyEvent::DNS->resolve errornously documented an $rcode result |
|
|
99 | argument, but there isn't (spotted by Henrik Krohns). |
|
|
100 | - the naked truth about Tk - it's basically unmaintained. |
|
|
101 | |
|
|
102 | 4.32 Mon Nov 3 22:46:32 CET 2008 |
|
|
103 | - fix AnyEvent::Socket::resolve_sockaddr to properly support |
|
|
104 | unix sockets again and choose a proper default for |
|
|
105 | the socket type. |
|
|
106 | - fix call to resolve_sockaddr in tcp_connect. |
|
|
107 | |
|
|
108 | 4.31 Thu Oct 30 04:41:48 CET 2008 |
|
|
109 | - implemented AnyEvent::Handle->destroy method. |
|
|
110 | - hint about unexpected effects in TLS mode. |
|
|
111 | - speed up AnyEvent::Impl::Perl by using more arrays |
|
|
112 | instead of hashes without the slightest loss of readability :) |
|
|
113 | - work around a perl argument refcounting bug. |
|
|
114 | - with some perl patches applied, AnyEvent now seems leak-free. |
|
|
115 | |
|
|
116 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
|
|
117 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
|
|
118 | unless one has been installed already. |
|
|
119 | - warn about not loaidng AnyEvent::Impl::POE early enough |
|
|
120 | (patch by Adam Rosenstein). |
|
|
121 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
|
|
122 | - fix a bug in where in SSL connect mode, the |
|
|
123 | client would first wait for some data by the server and |
|
|
124 | otherwise hang. (reported and analyzed in an absolutely |
|
|
125 | exemplary manner by Adam Rosenstein). |
|
|
126 | - fix a bug in where SSL EOF would not be treated |
|
|
127 | as stream EOF, putting the connection into a hung state. |
|
|
128 | (reported and analyzed in an absolutely exemplary manner by Adam |
|
|
129 | Rosenstein). |
|
|
130 | - fix a potential segfault when the TLS context |
|
|
131 | would go missing in a read callback (e.g. due to stoptls) - |
|
|
132 | Net::SSLeay of course makes no type checking whatsoever. |
|
|
133 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |
|
|
134 | - AnyEvent::Handle->stoptls will send a TLS close notify |
|
|
135 | instead of simply destroying the stream now. |
|
|
136 | - fix a bug where large blocks of data written in TLS mode |
|
|
137 | would not be sent unless triggered by receives. |
|
|
138 | - on_drain will now take the tls write buffer into account. |
|
|
139 | - SSL operations have been streamlined a bit and should be faster |
|
|
140 | now, more to come, though. |
|
|
141 | - added a FAQ section, will document nontrivial issues in there. |
|
|
142 | |
|
|
143 | 4.234 Mon Sep 29 04:08:13 CEST 2008 |
|
|
144 | - fix child watcher documentation: only child exits will be reported, |
|
|
145 | no trace events. |
|
|
146 | - mention SIGPIPE in AnyEvent::Handle. |
|
|
147 | - perl backend will now use POSIX::times as monotonic clock |
|
|
148 | when available and the monotonic clock option is not. |
|
|
149 | - run even without Time::HiRes in some cases now, but do not |
|
|
150 | provide sub-second accuracy (all *supported* perl versions have |
|
|
151 | Time::HiRes). |
|
|
152 | |
|
|
153 | 4.233 Fri Aug 22 01:48:05 CEST 2008 |
|
|
154 | - fix a bug in the testsuite, causing a hang. |
|
|
155 | - clarified lots of AnyEvent::Handle constructor arguments. |
|
|
156 | |
|
|
157 | 4.232 Thu Aug 21 20:44:25 CEST 2008 |
|
|
158 | - fix a bug in AnyEvent::Handle that could cause two fatal error |
|
|
159 | callbacks on EOF, which caused AnyEvent::HTTP to signal success twice |
|
|
160 | (testcase by Leon Brocard). |
|
|
161 | - clarified on_eof/on_error documentation a bit. |
|
|
162 | |
|
|
163 | 4.231 Tue Jul 29 13:12:15 CEST 2008 |
|
|
164 | - remove some debugging code left in AnyEvent::Util::fork_call |
|
|
165 | (and no, it's impossible to implement with the broken windows |
|
|
166 | perls without resource leaks or worse). |
|
|
167 | |
|
|
168 | 4.23 Tue Jul 29 12:19:59 CEST 2008 |
|
|
169 | - document the first parameter passed to condvar callbacks to be |
|
|
170 | the callback. |
|
|
171 | - add AnyEvent::Socket::{ntoa,aton} aliases. |
|
|
172 | - optimize the AE::Handle->push_read (line) for the default |
|
|
173 | eol marker. |
|
|
174 | - optimize push_read (packstring|storable) for small packets. |
|
|
175 | - invoke on_error callback when no on_eof callback is set. |
|
|
176 | - fix a bug in push_read (storable) of unknown impact. |
|
|
177 | |
|
|
178 | 4.22 Sun Jul 20 16:34:13 CEST 2008 |
|
|
179 | - new function AnyEvent::Socket::parse_hostport. |
|
|
180 | - as the bulkheads at microsoft can't even get getprotobyname reliably |
|
|
181 | working on their shitty fucking broken os we need to hardcode |
|
|
182 | some common protocol numbers in AnyEvent::Socket. How can |
|
|
183 | people even bother with such a pile of shit as windows. |
|
|
184 | |
|
|
185 | 4.21 Thu Jul 17 14:40:05 CEST 2008 |
|
|
186 | - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype |
|
|
187 | which is incompatible to previous invocation syntax. |
|
|
188 | - work around more windows perl bugs in fork_call. I cannot imagine |
|
|
189 | why anybody would bother implementing fork in such an obviously |
|
|
190 | unusable way. |
|
|
191 | - avoid calling $do_retry if the request has already finished in |
|
|
192 | AnyEvent::DNS, thus avoiding an exception (reported by Anatoly |
|
|
193 | K. Sharifulin). |
|
|
194 | |
|
|
195 | 4.2 Sat Jul 12 22:42:11 CEST 2008 |
4 | - support an "interval" argument for repeating timers. |
196 | - support an "interval" argument for repeating timers. |
|
|
197 | - fix a bug in the pure perl event loop that caused timers to |
|
|
198 | be delayed under some circumstances. |
|
|
199 | - implement optional argument checking via PERL_ANYEVENT_STRICT. |
5 | - not importing anything from Event causes it to malfunction |
200 | - not importing anything from Event causes it to malfunction |
6 | and not use Time::HiRes, work around this bug. |
201 | and not use Time::HiRes, work around this bug. |
7 | - fix a bug in the pure perl event loop that caused timers to |
202 | - more bug workarounds against the endlessly broken Tk module, |
8 | be delayed under some circumstances. |
203 | seems to work now on 32 bit machines, but less so on 64 bit. |
9 | - minor optimisations applied to most backends. |
204 | - minor optimisations applied to most backends. |
10 | |
205 | |
11 | 4.161 Fri Jul 4 14:24:48 CEST 2008 |
206 | 4.161 Fri Jul 4 14:24:48 CEST 2008 |
12 | - fixed the t/handle/02_write.t, it read after write, with the |
207 | - fixed the t/handle/02_write.t, it read after write, with the |
13 | assumption that all data could be written before read |
208 | assumption that all data could be written before read |
… | |
… | |
167 | - support service names in tcp_connect and tcp_server. |
362 | - support service names in tcp_connect and tcp_server. |
168 | - work around netbsd/openbsd bug causing unix sockets not to |
363 | - work around netbsd/openbsd bug causing unix sockets not to |
169 | become writable until empty. |
364 | become writable until empty. |
170 | - only make a dummy read for error detection when getpeername |
365 | - only make a dummy read for error detection when getpeername |
171 | returns ENOTCONN. |
366 | returns ENOTCONN. |
172 | - defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
367 | - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal |
173 | override. |
368 | override. |
174 | - new AnyEvent::Guard::cancel. |
369 | - new AnyEvent::Guard::cancel. |
175 | |
370 | |
176 | 3.5 Sat May 17 23:17:14 CEST 2008 |
371 | 3.5 Sat May 17 23:17:14 CEST 2008 |
177 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
372 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
… | |
… | |
191 | |
386 | |
192 | 3.41 Sun May 11 19:53:13 CEST 2008 |
387 | 3.41 Sun May 11 19:53:13 CEST 2008 |
193 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
388 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
194 | |
389 | |
195 | 3.4 Sun May 11 00:29:25 CEST 2008 |
390 | 3.4 Sun May 11 00:29:25 CEST 2008 |
196 | - complete re-implementation of condvars with a hopefully much mroe useful |
391 | - complete re-implementation of condvars with a hopefully much more useful |
197 | API (backward compatible functions exist but are undocumented). |
392 | API (backward compatible functions exist but are undocumented). |
198 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
393 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
199 | (still subject to change). |
394 | (still subject to change). |
200 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
395 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
201 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |
396 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |