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