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