1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | 4.3 |
3 | TODO: Event seems to have some racy signal handling. |
|
|
4 | |
|
|
5 | - work around signal handling races in Event and (...) Event::Lib. |
|
|
6 | - don't complain of different grades of environmental unfriendlyness |
|
|
7 | in IO::ASync. |
|
|
8 | - try to align signal-race timer to full-second boundaries. |
|
|
9 | |
|
|
10 | 4.85 Sat Jul 18 06:16:14 CEST 2009 |
|
|
11 | - nail the signal race problem in perl once and for all |
|
|
12 | (see $AnyEvent::MAX_SIGNAL_LATENCY). |
|
|
13 | - take advantage of Async::Interrupt if it is available. |
|
|
14 | - load Time::HiRes and Guard modules on demand only. |
|
|
15 | - add optional/recommended modules section to AnyEvent |
|
|
16 | documentation. |
|
|
17 | - reduce memory usage considerably (and reduce startup penalty) |
|
|
18 | by not using "strict", "warnings" and "overload" modules. |
|
|
19 | - work around buggy windows/openbsd perls and provide EBADMSG |
|
|
20 | and EPROTO ourselves when missing. |
|
|
21 | - improve perl 5.6 compatibility of the core event loop. |
|
|
22 | - made Net::SSLeay version 1.33 a soft requirement. |
|
|
23 | |
|
|
24 | 4.83 Fri Jul 17 16:56:26 CEST 2009 |
|
|
25 | - implement AnyEvent::Socket::getprotobyname. |
|
|
26 | - AnyEvent::CondVar's will now detect recursive blocking |
|
|
27 | waits and will croak, as too many people fall into |
|
|
28 | this trap. |
|
|
29 | - AnyEvent::Handle will now call ->destroy on itself after |
|
|
30 | executing the on_error callback, instead of doing some |
|
|
31 | half-baked internal shutdown, for fatal errors. |
|
|
32 | - clarify on_eof behaviour w.r.t. the read queue and |
|
|
33 | on_read callbacks. |
|
|
34 | - ignore some possible spurious wake-ups in tcp_connect. |
|
|
35 | |
|
|
36 | 4.82 Sat Jul 11 00:34:55 CEST 2009 |
|
|
37 | - POE and Event backends didn't accept some callable objects as |
|
|
38 | callbacks. |
|
|
39 | - use Config module instead of POSIX module to detect signal names |
|
|
40 | in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX |
|
|
41 | module doesn't even have all POSIX signals :/. |
|
|
42 | - use more workarounds around the many refcnt/corruption bugs in |
|
|
43 | Event::Lib. |
|
|
44 | - work around a race condition in perl's select, causing t/03_child.t |
|
|
45 | to rarely fail. |
|
|
46 | |
|
|
47 | 4.81 Thu Jul 9 10:30:30 CEST 2009 |
|
|
48 | - AnyEvent::Handle didn't properly diagnose write errors |
|
|
49 | (it expected -1 from syswrite, how lame... :). |
|
|
50 | - support file descriptors in addition to file handles |
|
|
51 | in AnyEvent->io. |
|
|
52 | - new env variables: PERL_ANYEVENT_RESOLV_CONF, |
|
|
53 | PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE |
|
|
54 | and PERL_ANYEVENT_CA_PATH. |
|
|
55 | - provide a sensible synopsis section for AnyEvent::TLS. |
|
|
56 | - add a "supported backends" section to the manpage. |
|
|
57 | - added simple io watcher test to testsuite, using a |
|
|
58 | portable_socketpair. |
|
|
59 | - tried to improve the stability of the Event::Lib backend, |
|
|
60 | YMMV. |
|
|
61 | |
|
|
62 | 4.8 Mon Jul 6 23:45:16 CEST 2009 |
|
|
63 | - AnyEvent::DNS did not properly follow CNAME records with |
|
|
64 | uppercase targets. |
|
|
65 | - AnyEvent::DNS would errornously return AAAA records |
|
|
66 | with v4 mapped addresses (a faulty record) as ipv4 addresses, |
|
|
67 | causing AnyEvent::Socket to throw an exception. |
|
|
68 | - added new module AnyEvent::TLS for easier SSL/TLS context |
|
|
69 | creation, with many options including hostname verification, |
|
|
70 | secure default configuration, lots of documentation and, |
|
|
71 | predefined diffie-hellman keys for perfect forward security |
|
|
72 | and much more. get it while it's still fresh! |
|
|
73 | - use AnyEvent::TLS in AnyEvent::Handle for context management. |
|
|
74 | - load AnyEvent::Handle only on demand in AnyEvent::DNS, |
|
|
75 | so AnyEvent::Socket users have smaller memory footprint |
|
|
76 | in the common case. |
|
|
77 | - add AnyEvent::Handle->push_shutdown method. |
|
|
78 | - add an additional error message parameter to AnyEvent::Handle's |
|
|
79 | on_error callback (for TLS, $! is still available). |
|
|
80 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
|
|
81 | - make AnyEvent::Handle more robust against early conenction |
|
|
82 | failures (during new), and return C<undef> in that case |
|
|
83 | from the constructor. |
|
|
84 | - AnyEvent::Handle will now try to load only JSON::XS first, |
|
|
85 | then fall back to JSON. |
|
|
86 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |
|
|
87 | and because it was documented that way. |
|
|
88 | |
|
|
89 | 4.451 Fri Jul 3 00:28:58 CEST 2009 |
|
|
90 | - do not clear rbuf when shutting down an AnyEvent::Handle |
|
|
91 | object - doing so breaks AnyEvent::HTTP. |
|
|
92 | |
|
|
93 | 4.45 Mon Jun 29 22:59:26 CEST 2009 |
|
|
94 | - a write error could cause AnyEvent::Handle to create |
|
|
95 | an I/O watcher with an undefined $fh. |
|
|
96 | - special-case mapped ipv4 addresses in both |
|
|
97 | AnyEvent::Socket::format_address and parse_address, |
|
|
98 | to treat them just like ipv4 addresses. |
|
|
99 | - updated and overhauled the AnyEvent::Intro doc. |
|
|
100 | - implement AnyEvent::Socket::format_ipv4/ipv6. |
|
|
101 | - slightly speed up portable_pipe/socketpair. |
|
|
102 | - expand condvar begin/end documentation. |
|
|
103 | |
|
|
104 | 4.42 Fri Jun 26 08:32:18 CEST 2009 |
|
|
105 | - preliminary and neccesarily incomplete support for IO::Async. |
|
|
106 | - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in |
|
|
107 | case it was set to IGNORE, to ensure we can catch child statuses |
|
|
108 | even when the calling env acts stupidly. |
|
|
109 | - updated benchmarks with IO::Async, which performs very well. |
|
|
110 | |
|
|
111 | 4.412 Wed Jun 24 01:35:57 CEST 2009 |
|
|
112 | - support an "untaint" attribute for AnyEvent::DNS |
|
|
113 | and set it on the default resolver. |
|
|
114 | - implement and document AnyEvent::Impl::Perl::loop. |
|
|
115 | - remove all anyevent-env variables from %ENV |
|
|
116 | when running in tainted mode. |
|
|
117 | - mention and extend the IO::Lambda benchmark. |
|
|
118 | |
|
|
119 | 4.411 Sun Jun 7 18:48:02 CEST 2009 |
|
|
120 | - do not try to use F_SETFD on windows. |
|
|
121 | |
|
|
122 | 4.41 Thu May 14 06:40:11 CEST 2009 |
|
|
123 | - work around issues in older perls (5.8.0?) when |
|
|
124 | a signal handler is deleted from the %SIG hash. |
|
|
125 | - use POSIX::_exit in child test, to avoid running |
|
|
126 | destructors. |
|
|
127 | - speed up CHLD handling by relying on SIGCHLD being |
|
|
128 | synchronously delivered, even when we roll our own |
|
|
129 | implementation. |
|
|
130 | - AnyEvent::DNS: add the "dname" resource record name |
|
|
131 | for cosmetic reasons. |
|
|
132 | |
|
|
133 | 4.4 Sun Apr 26 20:12:33 CEST 2009 |
|
|
134 | - implemented idle watchers, where applicable. |
|
|
135 | - AnyEvent->time died when Event backend was in use. |
|
|
136 | - fix a memleak in the Tk backend. |
|
|
137 | - sped up Tk timer handling. |
|
|
138 | - clip negative "after" values to 0 in AnyEvent::Impl::Event |
|
|
139 | to avoid spamming out warning messages. |
|
|
140 | - fix Qt timers without interval. |
|
|
141 | - avoid Qt zero-timeout special case, in old libqt's. |
|
|
142 | |
|
|
143 | 4.352 Mon Apr 20 16:31:11 CEST 2009 |
|
|
144 | - fix AnyEvent::Strict error messages for child watchers. |
|
|
145 | - fix/update Makefile.PL "recommends" versions. |
|
|
146 | - add AnyEvent->now_update. |
|
|
147 | |
|
|
148 | 4.351 Sat Apr 11 07:56:14 CEST 2009 |
|
|
149 | - actually make the signal pipe work under win32. |
|
|
150 | - localise $! in signal handler to avoid changing $!, although |
|
|
151 | perl itself does not seem to save/restore errno either. |
|
|
152 | - set the cloexec flag on the signal pipe (normally set by perl too). |
|
|
153 | |
|
|
154 | 4.35 Fri Mar 27 11:48:20 CET 2009 |
|
|
155 | - event models relying on AnyEvent's signal watcher emulation did |
|
|
156 | invoke the callback asynchronously, contradicting documentation |
|
|
157 | and causing signals to get lost (this includes AnyEvent's own |
|
|
158 | event loop). AnyEvent now uses the standard pipe trick to make |
|
|
159 | callback execution synchronous to the event loop. |
|
|
160 | - AnyEvent::Handle didn't free TLS context data on DESTROY |
|
|
161 | (patch by Pavel Shaydo). |
|
|
162 | - work around the ever-incompatibly-changing API of MakeMaker. |
|
|
163 | - document that changing global variables without restoring them |
|
|
164 | is a bad idea in Perl (noted by Adam Rosenstein). |
|
|
165 | - AnyEvent::Strict now barfs if ->io is passed a file. |
|
|
166 | |
|
|
167 | 4.34 Thu Feb 12 18:32:45 CET 2009 |
|
|
168 | - separately buffer TLS read data, as otherwise the read queue could |
|
|
169 | deadlock as receiving data is not expected while draining the |
|
|
170 | read queue (which cna only happen with TLS). |
|
|
171 | - raise EBADMSG error on JSON decoding errors. |
|
|
172 | - fix some minor manpage bugs (reported by Maximilian Gaß). |
|
|
173 | - speed up select bitmask parsing quite a bit in the pure perl |
|
|
174 | backend. |
|
|
175 | - use CORE::select instead of just select in AnyEvent::Impl::Perl. |
|
|
176 | |
|
|
177 | 4.331 Tue Jan 6 21:07:25 CET 2009 |
|
|
178 | - socketpair fails on many vista machines because vista has |
|
|
179 | completely broken accept/getpeername and getsockname functions, |
|
|
180 | so we provide our own socketpair emulation that kind of works |
|
|
181 | (AnyEvent::Util::portable_pipe). |
|
|
182 | - new function: AnyEvent::Util::portable_socketpair. |
|
|
183 | - take advantage of the Guard module if it exists. |
|
|
184 | |
|
|
185 | 4.33 Fri Nov 21 02:35:40 CET 2008 |
|
|
186 | - AnyEvent::Strict did errornously flag a fileno of 0 as |
|
|
187 | illegal. |
|
|
188 | - reduce memory usage and slightly speed up the pure perl backend |
|
|
189 | by only storing the file descriptor, not the file handle. |
|
|
190 | - add missing autocork method to AnyEvent::Handle (reported |
|
|
191 | by Adam Rosenstein). |
|
|
192 | - AnyEvent::DNS->resolve errornously documented an $rcode result |
|
|
193 | argument, but there isn't (spotted by Henrik Krohns). |
|
|
194 | - the naked truth about Tk - it's basically unmaintained. |
|
|
195 | |
|
|
196 | 4.32 Mon Nov 3 22:46:32 CET 2008 |
|
|
197 | - fix AnyEvent::Socket::resolve_sockaddr to properly support |
|
|
198 | unix sockets again and choose a proper default for |
|
|
199 | the socket type. |
|
|
200 | - fix call to resolve_sockaddr in tcp_connect. |
|
|
201 | |
|
|
202 | 4.31 Thu Oct 30 04:41:48 CET 2008 |
|
|
203 | - implemented AnyEvent::Handle->destroy method. |
|
|
204 | - hint about unexpected effects in TLS mode. |
|
|
205 | - speed up AnyEvent::Impl::Perl by using more arrays |
|
|
206 | instead of hashes without the slightest loss of readability :) |
|
|
207 | - work around a perl argument refcounting bug. |
|
|
208 | - with some perl patches applied, AnyEvent now seems leak-free. |
|
|
209 | |
|
|
210 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
|
|
211 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
|
|
212 | unless one has been installed already. |
|
|
213 | - warn about not loaidng AnyEvent::Impl::POE early enough |
|
|
214 | (patch by Adam Rosenstein). |
|
|
215 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
4 | - fix a bug in AnyEvent::Handle where in SSL connect mode, the |
216 | - fix a bug in where in SSL connect mode, the |
5 | client would first wait for some data by the server and |
217 | client would first wait for some data by the server and |
6 | otherwise hang. (Reported and analyzed in an absolutely |
218 | otherwise hang. (reported and analyzed in an absolutely |
7 | exemplary manner by Adam Rosenstein). |
219 | exemplary manner by Adam Rosenstein). |
8 | - fix a bug in AnyEvent::Handle where SSL EOF would not be treated |
220 | - fix a bug in where SSL EOF would not be treated |
9 | as stream EOF, putting the connection into a hung state. |
221 | as stream EOF, putting the connection into a hung state. |
10 | (Reported and analyzed in an absolutely exemplary manner by Adam |
222 | (reported and analyzed in an absolutely exemplary manner by Adam |
11 | Rosenstein). |
223 | Rosenstein). |
12 | - fix a potential segfault in AnyEvent::Handle when the TLS context |
224 | - fix a potential segfault when the TLS context |
13 | would go missing in a read callback (e.g. due to stoptls) - |
225 | would go missing in a read callback (e.g. due to stoptls) - |
14 | Net::SSLeay of course makes no type checking whatsoever. |
226 | Net::SSLeay of course makes no type checking whatsoever. |
|
|
227 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |
|
|
228 | - AnyEvent::Handle->stoptls will send a TLS close notify |
|
|
229 | instead of simply destroying the stream now. |
|
|
230 | - fix a bug where large blocks of data written in TLS mode |
|
|
231 | would not be sent unless triggered by receives. |
|
|
232 | - on_drain will now take the tls write buffer into account. |
|
|
233 | - SSL operations have been streamlined a bit and should be faster |
|
|
234 | now, more to come, though. |
|
|
235 | - added a FAQ section, will document nontrivial issues in there. |
15 | |
236 | |
16 | 4.234 Mon Sep 29 04:08:13 CEST 2008 |
237 | 4.234 Mon Sep 29 04:08:13 CEST 2008 |
17 | - fix child watcher documentation: only child exits will be reported, |
238 | - fix child watcher documentation: only child exits will be reported, |
18 | no trace events. |
239 | no trace events. |
19 | - mention SIGPIPE in AnyEvent::Handle. |
240 | - mention SIGPIPE in AnyEvent::Handle. |