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