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