1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | 3.51 |
3 | - separately buffer TLS read data, as otherwise the read queue could |
|
|
4 | deadlock as receiving data is not expected while draining the |
|
|
5 | read queue (which cna only happen with TLS). |
|
|
6 | - raise EBADMSG error on JSON decoding errors. |
|
|
7 | - fix some minor manpage bugs (reported by Maximilian Gaß). |
|
|
8 | - speed up select bitmask parsing quite a bit in the pure perl |
|
|
9 | backend. |
|
|
10 | - use CORE::select instead of just select in AnyEvent::Impl::Perl. |
|
|
11 | |
|
|
12 | 4.331 Tue Jan 6 21:07:25 CET 2009 |
|
|
13 | - socketpair fails on many vista machines because vista has |
|
|
14 | completely broken accept/getpeername and getsockname functions, |
|
|
15 | so we provide our own socketpair emulation that kind of works |
|
|
16 | (AnyEvent::Util::portable_pipe). |
|
|
17 | - new function: AnyEvent::Util::portable_socketpair. |
|
|
18 | - take advantage of the Guard module if it exists. |
|
|
19 | |
|
|
20 | 4.33 Fri Nov 21 02:35:40 CET 2008 |
|
|
21 | - AnyEvent::Strict did errornously flag a fileno of 0 as |
|
|
22 | illegal. |
|
|
23 | - reduce memory usage and slightly speed up the pure perl backend |
|
|
24 | by only storing the file descriptor, not the file handle. |
|
|
25 | - add missing autocork method to AnyEvent::Handle (reported |
|
|
26 | by Adam Rosenstein). |
|
|
27 | - AnyEvent::DNS->resolve errornously documented an $rcode result |
|
|
28 | argument, but there isn't (spotted by Henrik Krohns). |
|
|
29 | - the naked truth about Tk - it's basically unmaintained. |
|
|
30 | |
|
|
31 | 4.32 Mon Nov 3 22:46:32 CET 2008 |
|
|
32 | - fix AnyEvent::Socket::resolve_sockaddr to properly support |
|
|
33 | unix sockets again and choose a proper default for |
|
|
34 | the socket type. |
|
|
35 | - fix call to resolve_sockaddr in tcp_connect. |
|
|
36 | |
|
|
37 | 4.31 Thu Oct 30 04:41:48 CET 2008 |
|
|
38 | - implemented AnyEvent::Handle->destroy method. |
|
|
39 | - hint about unexpected effects in TLS mode. |
|
|
40 | - speed up AnyEvent::Impl::Perl by using more arrays |
|
|
41 | instead of hashes without the slightest loss of readability :) |
|
|
42 | - work around a perl argument refcounting bug. |
|
|
43 | - with some perl patches applied, AnyEvent now seems leak-free. |
|
|
44 | |
|
|
45 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
|
|
46 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
|
|
47 | unless one has been installed already. |
|
|
48 | - warn about not loaidng AnyEvent::Impl::POE early enough |
|
|
49 | (patch by Adam Rosenstein). |
|
|
50 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
|
|
51 | - fix a bug in where in SSL connect mode, the |
|
|
52 | client would first wait for some data by the server and |
|
|
53 | otherwise hang. (reported and analyzed in an absolutely |
|
|
54 | exemplary manner by Adam Rosenstein). |
|
|
55 | - fix a bug in where SSL EOF would not be treated |
|
|
56 | as stream EOF, putting the connection into a hung state. |
|
|
57 | (reported and analyzed in an absolutely exemplary manner by Adam |
|
|
58 | Rosenstein). |
|
|
59 | - fix a potential segfault when the TLS context |
|
|
60 | would go missing in a read callback (e.g. due to stoptls) - |
|
|
61 | Net::SSLeay of course makes no type checking whatsoever. |
|
|
62 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |
|
|
63 | - AnyEvent::Handle->stoptls will send a TLS close notify |
|
|
64 | instead of simply destroying the stream now. |
|
|
65 | - fix a bug where large blocks of data written in TLS mode |
|
|
66 | would not be sent unless triggered by receives. |
|
|
67 | - on_drain will now take the tls write buffer into account. |
|
|
68 | - SSL operations have been streamlined a bit and should be faster |
|
|
69 | now, more to come, though. |
|
|
70 | - added a FAQ section, will document nontrivial issues in there. |
|
|
71 | |
|
|
72 | 4.234 Mon Sep 29 04:08:13 CEST 2008 |
|
|
73 | - fix child watcher documentation: only child exits will be reported, |
|
|
74 | no trace events. |
|
|
75 | - mention SIGPIPE in AnyEvent::Handle. |
|
|
76 | - perl backend will now use POSIX::times as monotonic clock |
|
|
77 | when available and the monotonic clock option is not. |
|
|
78 | - run even without Time::HiRes in some cases now, but do not |
|
|
79 | provide sub-second accuracy (all *supported* perl versions have |
|
|
80 | Time::HiRes). |
|
|
81 | |
|
|
82 | 4.233 Fri Aug 22 01:48:05 CEST 2008 |
|
|
83 | - fix a bug in the testsuite, causing a hang. |
|
|
84 | - clarified lots of AnyEvent::Handle constructor arguments. |
|
|
85 | |
|
|
86 | 4.232 Thu Aug 21 20:44:25 CEST 2008 |
|
|
87 | - fix a bug in AnyEvent::Handle that could cause two fatal error |
|
|
88 | callbacks on EOF, which caused AnyEvent::HTTP to signal success twice |
|
|
89 | (testcase by Leon Brocard). |
|
|
90 | - clarified on_eof/on_error documentation a bit. |
|
|
91 | |
|
|
92 | 4.231 Tue Jul 29 13:12:15 CEST 2008 |
|
|
93 | - remove some debugging code left in AnyEvent::Util::fork_call |
|
|
94 | (and no, it's impossible to implement with the broken windows |
|
|
95 | perls without resource leaks or worse). |
|
|
96 | |
|
|
97 | 4.23 Tue Jul 29 12:19:59 CEST 2008 |
|
|
98 | - document the first parameter passed to condvar callbacks to be |
|
|
99 | the callback. |
|
|
100 | - add AnyEvent::Socket::{ntoa,aton} aliases. |
|
|
101 | - optimize the AE::Handle->push_read (line) for the default |
|
|
102 | eol marker. |
|
|
103 | - optimize push_read (packstring|storable) for small packets. |
|
|
104 | - invoke on_error callback when no on_eof callback is set. |
|
|
105 | - fix a bug in push_read (storable) of unknown impact. |
|
|
106 | |
|
|
107 | 4.22 Sun Jul 20 16:34:13 CEST 2008 |
|
|
108 | - new function AnyEvent::Socket::parse_hostport. |
|
|
109 | - as the bulkheads at microsoft can't even get getprotobyname reliably |
|
|
110 | working on their shitty fucking broken os we need to hardcode |
|
|
111 | some common protocol numbers in AnyEvent::Socket. How can |
|
|
112 | people even bother with such a pile of shit as windows. |
|
|
113 | |
|
|
114 | 4.21 Thu Jul 17 14:40:05 CEST 2008 |
|
|
115 | - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype |
|
|
116 | which is incompatible to previous invocation syntax. |
|
|
117 | - work around more windows perl bugs in fork_call. I cannot imagine |
|
|
118 | why anybody would bother implementing fork in such an obviously |
|
|
119 | unusable way. |
|
|
120 | - avoid calling $do_retry if the request has already finished in |
|
|
121 | AnyEvent::DNS, thus avoiding an exception (reported by Anatoly |
|
|
122 | K. Sharifulin). |
|
|
123 | |
|
|
124 | 4.2 Sat Jul 12 22:42:11 CEST 2008 |
|
|
125 | - support an "interval" argument for repeating timers. |
|
|
126 | - fix a bug in the pure perl event loop that caused timers to |
|
|
127 | be delayed under some circumstances. |
|
|
128 | - implement optional argument checking via PERL_ANYEVENT_STRICT. |
|
|
129 | - not importing anything from Event causes it to malfunction |
|
|
130 | and not use Time::HiRes, work around this bug. |
|
|
131 | - more bug workarounds against the endlessly broken Tk module, |
|
|
132 | seems to work now on 32 bit machines, but less so on 64 bit. |
|
|
133 | - minor optimisations applied to most backends. |
|
|
134 | |
|
|
135 | 4.161 Fri Jul 4 14:24:48 CEST 2008 |
|
|
136 | - fixed the t/handle/02_write.t, it read after write, with the |
|
|
137 | assumption that all data could be written before read |
|
|
138 | (reported by Jim Razmus). |
|
|
139 | |
|
|
140 | 4.160 Thu Jul 3 04:02:21 CEST 2008 |
|
|
141 | - re-registering signal watchers after unregistering one did |
|
|
142 | not work if a backend falls back on AnyEvent's default |
|
|
143 | implementation (also affected child watchers). |
|
|
144 | - new AnyEvent::Handle options: autocork and no_delay. |
|
|
145 | |
|
|
146 | 4.152 Sun Jun 22 14:15:44 CEST 2008 |
|
|
147 | - allow for 32-bit perls that implement shifts differently |
|
|
148 | on different architectures in parse_ipv4 (reported and |
|
|
149 | analysed by Keiichi DAIBA). |
|
|
150 | |
|
|
151 | 4.151 Fri Jun 6 17:34:24 CEST 2008 |
|
|
152 | - make sure specifying _only_ on_read and never pushing reads |
|
|
153 | works. |
|
|
154 | |
|
|
155 | 4.15 Fri Jun 6 13:00:46 CEST 2008 |
|
|
156 | - the pure perl backend would keep some watchers alive when more than |
|
|
157 | one watcher was registered for the same fd. |
|
|
158 | - new "packstring" and "storable" read and write types |
|
|
159 | for AnyEvent::Handle. |
|
|
160 | - allow on_eof handler to be called after on_error with EPIPE returns. |
|
|
161 | - do not immediately call on_read callback in handle constructor. |
|
|
162 | |
|
|
163 | 4.14 Thu Jun 5 20:29:31 CEST 2008 |
|
|
164 | - Fixed a bug in DNS SRV priority sorting. |
|
|
165 | - AnyEvent::Util::guard now reports runtime errors while |
|
|
166 | executing the guard block as warnings. |
|
|
167 | - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle. |
|
|
168 | |
|
|
169 | 4.13 Thu Jun 5 00:47:59 CEST 2008 |
|
|
170 | - AnyEvent::DNS only followed cname chains with length 2, |
|
|
171 | contrary to documentation. bumped it up to 10, thanks to |
|
|
172 | microsoft, the current broken-dns-config-king. |
|
|
173 | - AnyEvent::DNS didn't check for socket return status |
|
|
174 | but instead relied on perl not creating filehandles in that |
|
|
175 | case - too bad it gives you a bogus file handle (reported |
|
|
176 | and analysed by Vladimir Timofeev). |
|
|
177 | - fix queue management logic in AnyEvent::Handle: |
|
|
178 | when on_read was registered, the queue was empty |
|
|
179 | and no progress could be made AnyEvent::Handle would |
|
|
180 | enter an endless loop. |
|
|
181 | - correctly start reading again when the handle became |
|
|
182 | busy again after idling. |
|
|
183 | - correctly treat tls shut-downs as EOF condition |
|
|
184 | (for the time being, would be nice to have a callback for that). |
|
|
185 | - correctly call eof callback under all conditions |
|
|
186 | (hopefully). |
|
|
187 | - the timeout callback did not expect that $self can go |
|
|
188 | away any time. |
|
|
189 | |
|
|
190 | 4.12 Tue Jun 3 10:58:04 CEST 2008 |
|
|
191 | - include AnyEvent::Intro, a tutorial for anyevent, |
|
|
192 | anyevent::socket and anyevent::handle. |
|
|
193 | - allow more options in on_error. |
|
|
194 | |
|
|
195 | 4.11 Fri May 30 23:42:25 CEST 2008 |
|
|
196 | - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide |
|
|
197 | reverse_lookup and reverse_verify to replace it, support |
|
|
198 | v4mapped and v4compat addresses. |
|
|
199 | - provide more documentation for the resolver class. |
|
|
200 | - really replace longest run of :0: by :: in format_address, |
|
|
201 | also properly convert :: and ::1 again. |
|
|
202 | - support NAPTR record name and decode it. |
|
|
203 | - implement random weight sampling for SRV records, as per |
|
|
204 | rfc 2782. |
|
|
205 | - correctly abort on srv-record targets of ".". |
|
|
206 | - added AnyEvent::DNS::wait_for_slot. |
|
|
207 | - in the unlikely event of a virtual circuit connection |
|
|
208 | being invalidated by a delayed udp reply, AnyEvent::DNS |
|
|
209 | could die. this has been fixed. |
|
|
210 | - plug a probable memleak in the DNS vc code. |
|
|
211 | - use configured timeout also for VC request phase. |
|
|
212 | - implement timeout and max_outstanding methods |
|
|
213 | for resolver class. |
|
|
214 | - update version numbers in all modules. |
|
|
215 | |
|
|
216 | 4.1 Thu May 29 05:45:40 CEST 2008 |
|
|
217 | - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address |
|
|
218 | which mirrors their purpose better (old names still available |
|
|
219 | for a while). Also moved AnyEvent::DNS::addr to |
|
|
220 | AnyEvent::Socket::resolve_sockaddr. |
|
|
221 | - implement AnyEvent->time and AnyEvent->now. |
|
|
222 | - fix IPv6 support in pack_sockaddr. |
|
|
223 | - officially un-experimentalise all newly introduced code. |
|
|
224 | - support unix domain sockets everywhere by specifying |
|
|
225 | a host of "unix/" and the pathname as service. |
|
|
226 | - implement an activity timeout in AnyEvent::Handle. |
|
|
227 | - added a regex read type to AnyEvent::Handle. |
|
|
228 | - added a json read/write type to AnyEvent::Handle. |
|
|
229 | - always croak in on_error in AnyEvent::Handle. |
|
|
230 | - document how to subclass AnyEvent::Handle. |
|
|
231 | - implement AnyEvent::Util::fork_call. |
|
|
232 | - add support for IPv6 nameservers and nameserver statements. |
|
|
233 | - work around _yet_ _another_ windows perl bug in where empty |
|
|
234 | select masks cause errors in the pure perl backend (this |
|
|
235 | workaround cannot be implemented for the other event loops, |
|
|
236 | but EV also works around this). |
|
|
237 | - supply AnyEvent::Socket::address_type and make good use of it. |
|
|
238 | - clarify and fix the Handle documentation w.r.t $self vs. $handle |
|
|
239 | vs. callback arguments. |
|
|
240 | - add some recommends to the META.yml. |
|
|
241 | |
|
|
242 | 4.05 Mon May 26 19:44:06 CEST 2008 |
|
|
243 | - some platforms ignore the rfc and prepend an extra sa_len member to |
|
|
244 | the sockaddr structure, cater for those. also use sockaddr_family, |
|
|
245 | didn't know it was there, but comes in handy for the workaround. |
|
|
246 | - undo the import WIN32 hack. |
|
|
247 | |
|
|
248 | 4.04 Mon May 26 08:03:31 CEST 2008 |
|
|
249 | - try to work around yet another windows bug: failed connects are reported |
|
|
250 | as if it were out-of-band data. windows users: you suck. Only |
|
|
251 | EV, Glib, Event and the pure perl backend can handle this condition. |
|
|
252 | - optimize write algorithm in AnyEvent::Handle. |
|
|
253 | - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. |
|
|
254 | - tcp_connect now properly iterates through all targets. |
|
|
255 | - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 |
|
|
256 | support entirely. also hardcode some AF_INET6 constants for the |
|
|
257 | sake of perl 5.8. |
|
|
258 | - vastly improved nameserver/suffix detection algorithm for windows |
|
|
259 | (still a hack...) |
|
|
260 | - try to use a fallback dns server if no dns servers could be found. |
|
|
261 | - splatter around some local $SIG{__DIE__}'s to work around bad |
|
|
262 | die handlers. |
|
|
263 | |
|
|
264 | 4.03 Sun May 25 05:05:57 CEST 2008 |
|
|
265 | - work around perl bugs on windows, where perl returns undocumented |
|
|
266 | error codes for sysread, syswrite etc. |
|
|
267 | - fix AnyEvent::Handle::unshift_read to really unshift and not push. |
|
|
268 | - AnyEvent::Handle could sometimes stumble over 0-byte writes. |
|
|
269 | - fix unpack_sockaddr, now works for AF_INET6 sockaddr's. |
|
|
270 | - updated documentation. |
|
|
271 | - lots of workarounds for perl 5.8 quirks. |
|
|
272 | - implement a more flexible type system for both reads and writes |
|
|
273 | in AnyEvent::Handle. |
|
|
274 | - support IPv6 in tcp_server. |
|
|
275 | - pass local hostname and port to the prepare callback in tcp_server. |
|
|
276 | - make types extendable in AnyEvent::Handle. |
|
|
277 | - croak, not die, in AnyEvent::Handle; |
|
|
278 | |
|
|
279 | 4.0 Sat May 24 19:58:08 CEST 2008 |
4 | - added (experimental) AnyEvent::DNS module. |
280 | - added (experimental) AnyEvent::DNS module. |
5 | - added (experimental) AnyEvent::Socket module. |
281 | - added (experimental) AnyEvent::Socket module. |
|
|
282 | - added (experiemntal) support for TLS/SSL in AnyEvent::Handle. |
6 | - make condvar->end call ->send as documented. |
283 | - make condvar->end call ->send as documented. |
7 | - make condvar constructor support the documented cb => argument. |
284 | - make condvar constructor support the documented cb => argument. |
|
|
285 | - overload condvars so you can use them instead of code references. |
8 | - support more of the POSIX forms instead of a pure dooted quad for |
286 | - support more of the POSIX forms instead of a pure dotted quad for |
9 | verbatim ip addresses. |
287 | verbatim ip addresses. |
10 | - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. |
288 | - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. |
11 | - try very hard not to freeze on broken windows perls. |
289 | - try very hard not to freeze on broken windows perls. |
12 | - make on_eof optional in AnyEvent::Handle. |
290 | - make on_eof optional in AnyEvent::Handle. |
13 | - support service names in tcp_connect and tcp_server. |
291 | - support service names in tcp_connect and tcp_server. |
14 | - work around netbsd/openbsd bug causing unix sockets not to |
292 | - work around netbsd/openbsd bug causing unix sockets not to |
15 | become writable untill empty. |
293 | become writable until empty. |
16 | - only make a dummy read for error detection when getpeername |
294 | - only make a dummy read for error detection when getpeername |
17 | returns ENOTCONN. |
295 | returns ENOTCONN. |
18 | - defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
296 | - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal |
19 | override. |
297 | override. |
|
|
298 | - new AnyEvent::Guard::cancel. |
20 | |
299 | |
21 | 3.5 Sat May 17 23:17:14 CEST 2008 |
300 | 3.5 Sat May 17 23:17:14 CEST 2008 |
22 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
301 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
23 | (as opposed to not supporting the clock itself, which worked in 3.41). |
302 | (as opposed to not supporting the clock itself, which worked in 3.41). |
24 | - added AnyEvent::Util::tcp_connect and AnyEvent::Util::tcp_server |
303 | - added AnyEvent::Util::tcp_connect and AnyEvent::Util::tcp_server |
… | |
… | |
36 | |
315 | |
37 | 3.41 Sun May 11 19:53:13 CEST 2008 |
316 | 3.41 Sun May 11 19:53:13 CEST 2008 |
38 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
317 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
39 | |
318 | |
40 | 3.4 Sun May 11 00:29:25 CEST 2008 |
319 | 3.4 Sun May 11 00:29:25 CEST 2008 |
41 | - complete re-implementation of condvars with a hopefully much mroe useful |
320 | - complete re-implementation of condvars with a hopefully much more useful |
42 | API (backward compatible functions exist but are undocumented). |
321 | API (backward compatible functions exist but are undocumented). |
43 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
322 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
44 | (still subject to change). |
323 | (still subject to change). |
45 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
324 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
46 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |
325 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |