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