ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/Changes
(Generate patch)

Comparing AnyEvent/Changes (file contents):
Revision 1.112 by root, Mon May 26 06:03:20 2008 UTC vs.
Revision 1.294 by root, Mon Jul 20 22:39:57 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.86 Mon Jul 20 23:52:29 CEST 2009
4 - since the verbose warning is not enough, explicitly document
5 that versions before 1.33 of Net::SSLeay are not secure.
6 - work around signal handling races in Event and (...) Event::Lib.
7 - try to align signal-race timer to full-second boundaries.
8 - work around Tk not liking negative timeouts.
9 - don't complain of different grades of environmental unfriendlyness
10 in IO::ASync.
11
124.85 Sat Jul 18 06:16:14 CEST 2009
13 - nail the signal race problem in perl once and for all
14 (see $AnyEvent::MAX_SIGNAL_LATENCY).
15 - take advantage of Async::Interrupt if it is available.
16 - load Time::HiRes and Guard modules on demand only.
17 - add optional/recommended modules section to AnyEvent
18 documentation.
19 - reduce memory usage considerably (and reduce startup penalty)
20 by not using "strict", "warnings" and "overload" modules.
21 - work around buggy windows/openbsd perls and provide EBADMSG
22 and EPROTO ourselves when missing.
23 - improve perl 5.6 compatibility of the core event loop.
24 - made Net::SSLeay version 1.33 a soft requirement.
25
264.83 Fri Jul 17 16:56:26 CEST 2009
27 - implement AnyEvent::Socket::getprotobyname.
28 - AnyEvent::CondVar's will now detect recursive blocking
29 waits and will croak, as too many people fall into
30 this trap.
31 - AnyEvent::Handle will now call ->destroy on itself after
32 executing the on_error callback, instead of doing some
33 half-baked internal shutdown, for fatal errors.
34 - clarify on_eof behaviour w.r.t. the read queue and
35 on_read callbacks.
36 - ignore some possible spurious wake-ups in tcp_connect.
37
384.82 Sat Jul 11 00:34:55 CEST 2009
39 - POE and Event backends didn't accept some callable objects as
40 callbacks.
41 - use Config module instead of POSIX module to detect signal names
42 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
43 module doesn't even have all POSIX signals :/.
44 - use more workarounds around the many refcnt/corruption bugs in
45 Event::Lib.
46 - work around a race condition in perl's select, causing t/03_child.t
47 to rarely fail.
48
494.81 Thu Jul 9 10:30:30 CEST 2009
50 - AnyEvent::Handle didn't properly diagnose write errors
51 (it expected -1 from syswrite, how lame... :).
52 - support file descriptors in addition to file handles
53 in AnyEvent->io.
54 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
55 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
56 and PERL_ANYEVENT_CA_PATH.
57 - provide a sensible synopsis section for AnyEvent::TLS.
58 - add a "supported backends" section to the manpage.
59 - added simple io watcher test to testsuite, using a
60 portable_socketpair.
61 - tried to improve the stability of the Event::Lib backend,
62 YMMV.
63
644.8 Mon Jul 6 23:45:16 CEST 2009
65 - AnyEvent::DNS did not properly follow CNAME records with
66 uppercase targets.
67 - AnyEvent::DNS would errornously return AAAA records
68 with v4 mapped addresses (a faulty record) as ipv4 addresses,
69 causing AnyEvent::Socket to throw an exception.
70 - added new module AnyEvent::TLS for easier SSL/TLS context
71 creation, with many options including hostname verification,
72 secure default configuration, lots of documentation and,
73 predefined diffie-hellman keys for perfect forward security
74 and much more. get it while it's still fresh!
75 - use AnyEvent::TLS in AnyEvent::Handle for context management.
76 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
77 so AnyEvent::Socket users have smaller memory footprint
78 in the common case.
79 - add AnyEvent::Handle->push_shutdown method.
80 - add an additional error message parameter to AnyEvent::Handle's
81 on_error callback (for TLS, $! is still available).
82 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
83 - make AnyEvent::Handle more robust against early conenction
84 failures (during new), and return C<undef> in that case
85 from the constructor.
86 - AnyEvent::Handle will now try to load only JSON::XS first,
87 then fall back to JSON.
88 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
89 and because it was documented that way.
90
914.451 Fri Jul 3 00:28:58 CEST 2009
92 - do not clear rbuf when shutting down an AnyEvent::Handle
93 object - doing so breaks AnyEvent::HTTP.
94
954.45 Mon Jun 29 22:59:26 CEST 2009
96 - a write error could cause AnyEvent::Handle to create
97 an I/O watcher with an undefined $fh.
98 - special-case mapped ipv4 addresses in both
99 AnyEvent::Socket::format_address and parse_address,
100 to treat them just like ipv4 addresses.
101 - updated and overhauled the AnyEvent::Intro doc.
102 - implement AnyEvent::Socket::format_ipv4/ipv6.
103 - slightly speed up portable_pipe/socketpair.
104 - expand condvar begin/end documentation.
105
1064.42 Fri Jun 26 08:32:18 CEST 2009
107 - preliminary and neccesarily incomplete support for IO::Async.
108 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
109 case it was set to IGNORE, to ensure we can catch child statuses
110 even when the calling env acts stupidly.
111 - updated benchmarks with IO::Async, which performs very well.
112
1134.412 Wed Jun 24 01:35:57 CEST 2009
114 - support an "untaint" attribute for AnyEvent::DNS
115 and set it on the default resolver.
116 - implement and document AnyEvent::Impl::Perl::loop.
117 - remove all anyevent-env variables from %ENV
118 when running in tainted mode.
119 - mention and extend the IO::Lambda benchmark.
120
1214.411 Sun Jun 7 18:48:02 CEST 2009
122 - do not try to use F_SETFD on windows.
123
1244.41 Thu May 14 06:40:11 CEST 2009
125 - work around issues in older perls (5.8.0?) when
126 a signal handler is deleted from the %SIG hash.
127 - use POSIX::_exit in child test, to avoid running
128 destructors.
129 - speed up CHLD handling by relying on SIGCHLD being
130 synchronously delivered, even when we roll our own
131 implementation.
132 - AnyEvent::DNS: add the "dname" resource record name
133 for cosmetic reasons.
134
1354.4 Sun Apr 26 20:12:33 CEST 2009
136 - implemented idle watchers, where applicable.
137 - AnyEvent->time died when Event backend was in use.
138 - fix a memleak in the Tk backend.
139 - sped up Tk timer handling.
140 - clip negative "after" values to 0 in AnyEvent::Impl::Event
141 to avoid spamming out warning messages.
142 - fix Qt timers without interval.
143 - avoid Qt zero-timeout special case, in old libqt's.
144
1454.352 Mon Apr 20 16:31:11 CEST 2009
146 - fix AnyEvent::Strict error messages for child watchers.
147 - fix/update Makefile.PL "recommends" versions.
148 - add AnyEvent->now_update.
149
1504.351 Sat Apr 11 07:56:14 CEST 2009
151 - actually make the signal pipe work under win32.
152 - localise $! in signal handler to avoid changing $!, although
153 perl itself does not seem to save/restore errno either.
154 - set the cloexec flag on the signal pipe (normally set by perl too).
155
1564.35 Fri Mar 27 11:48:20 CET 2009
157 - event models relying on AnyEvent's signal watcher emulation did
158 invoke the callback asynchronously, contradicting documentation
159 and causing signals to get lost (this includes AnyEvent's own
160 event loop). AnyEvent now uses the standard pipe trick to make
161 callback execution synchronous to the event loop.
162 - AnyEvent::Handle didn't free TLS context data on DESTROY
163 (patch by Pavel Shaydo).
164 - work around the ever-incompatibly-changing API of MakeMaker.
165 - document that changing global variables without restoring them
166 is a bad idea in Perl (noted by Adam Rosenstein).
167 - AnyEvent::Strict now barfs if ->io is passed a file.
168
1694.34 Thu Feb 12 18:32:45 CET 2009
170 - separately buffer TLS read data, as otherwise the read queue could
171 deadlock as receiving data is not expected while draining the
172 read queue (which cna only happen with TLS).
173 - raise EBADMSG error on JSON decoding errors.
174 - fix some minor manpage bugs (reported by Maximilian Gaß).
175 - speed up select bitmask parsing quite a bit in the pure perl
176 backend.
177 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
178
1794.331 Tue Jan 6 21:07:25 CET 2009
180 - socketpair fails on many vista machines because vista has
181 completely broken accept/getpeername and getsockname functions,
182 so we provide our own socketpair emulation that kind of works
183 (AnyEvent::Util::portable_pipe).
184 - new function: AnyEvent::Util::portable_socketpair.
185 - take advantage of the Guard module if it exists.
186
1874.33 Fri Nov 21 02:35:40 CET 2008
188 - AnyEvent::Strict did errornously flag a fileno of 0 as
189 illegal.
190 - reduce memory usage and slightly speed up the pure perl backend
191 by only storing the file descriptor, not the file handle.
192 - add missing autocork method to AnyEvent::Handle (reported
193 by Adam Rosenstein).
194 - AnyEvent::DNS->resolve errornously documented an $rcode result
195 argument, but there isn't (spotted by Henrik Krohns).
196 - the naked truth about Tk - it's basically unmaintained.
197
1984.32 Mon Nov 3 22:46:32 CET 2008
199 - fix AnyEvent::Socket::resolve_sockaddr to properly support
200 unix sockets again and choose a proper default for
201 the socket type.
202 - fix call to resolve_sockaddr in tcp_connect.
203
2044.31 Thu Oct 30 04:41:48 CET 2008
205 - implemented AnyEvent::Handle->destroy method.
206 - hint about unexpected effects in TLS mode.
207 - speed up AnyEvent::Impl::Perl by using more arrays
208 instead of hashes without the slightest loss of readability :)
209 - work around a perl argument refcounting bug.
210 - with some perl patches applied, AnyEvent now seems leak-free.
211
2124.3 Fri Oct 3 09:18:43 CEST 2008
213 - AnyEvent will now install a no-op signal handler for SIGPIPE,
214 unless one has been installed already.
215 - warn about not loaidng AnyEvent::Impl::POE early enough
216 (patch by Adam Rosenstein).
217 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
218 - fix a bug in where in SSL connect mode, the
219 client would first wait for some data by the server and
220 otherwise hang. (reported and analyzed in an absolutely
221 exemplary manner by Adam Rosenstein).
222 - fix a bug in where SSL EOF would not be treated
223 as stream EOF, putting the connection into a hung state.
224 (reported and analyzed in an absolutely exemplary manner by Adam
225 Rosenstein).
226 - fix a potential segfault when the TLS context
227 would go missing in a read callback (e.g. due to stoptls) -
228 Net::SSLeay of course makes no type checking whatsoever.
229 - AnyEvent::Handle will not stop the read watcher in TLS mode.
230 - AnyEvent::Handle->stoptls will send a TLS close notify
231 instead of simply destroying the stream now.
232 - fix a bug where large blocks of data written in TLS mode
233 would not be sent unless triggered by receives.
234 - on_drain will now take the tls write buffer into account.
235 - SSL operations have been streamlined a bit and should be faster
236 now, more to come, though.
237 - added a FAQ section, will document nontrivial issues in there.
238
2394.234 Mon Sep 29 04:08:13 CEST 2008
240 - fix child watcher documentation: only child exits will be reported,
241 no trace events.
242 - mention SIGPIPE in AnyEvent::Handle.
243 - perl backend will now use POSIX::times as monotonic clock
244 when available and the monotonic clock option is not.
245 - run even without Time::HiRes in some cases now, but do not
246 provide sub-second accuracy (all *supported* perl versions have
247 Time::HiRes).
248
2494.233 Fri Aug 22 01:48:05 CEST 2008
250 - fix a bug in the testsuite, causing a hang.
251 - clarified lots of AnyEvent::Handle constructor arguments.
252
2534.232 Thu Aug 21 20:44:25 CEST 2008
254 - fix a bug in AnyEvent::Handle that could cause two fatal error
255 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
256 (testcase by Leon Brocard).
257 - clarified on_eof/on_error documentation a bit.
258
2594.231 Tue Jul 29 13:12:15 CEST 2008
260 - remove some debugging code left in AnyEvent::Util::fork_call
261 (and no, it's impossible to implement with the broken windows
262 perls without resource leaks or worse).
263
2644.23 Tue Jul 29 12:19:59 CEST 2008
265 - document the first parameter passed to condvar callbacks to be
266 the callback.
267 - add AnyEvent::Socket::{ntoa,aton} aliases.
268 - optimize the AE::Handle->push_read (line) for the default
269 eol marker.
270 - optimize push_read (packstring|storable) for small packets.
271 - invoke on_error callback when no on_eof callback is set.
272 - fix a bug in push_read (storable) of unknown impact.
273
2744.22 Sun Jul 20 16:34:13 CEST 2008
275 - new function AnyEvent::Socket::parse_hostport.
276 - as the bulkheads at microsoft can't even get getprotobyname reliably
277 working on their shitty fucking broken os we need to hardcode
278 some common protocol numbers in AnyEvent::Socket. How can
279 people even bother with such a pile of shit as windows.
280
2814.21 Thu Jul 17 14:40:05 CEST 2008
282 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
283 which is incompatible to previous invocation syntax.
284 - work around more windows perl bugs in fork_call. I cannot imagine
285 why anybody would bother implementing fork in such an obviously
286 unusable way.
287 - avoid calling $do_retry if the request has already finished in
288 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
289 K. Sharifulin).
290
2914.2 Sat Jul 12 22:42:11 CEST 2008
292 - support an "interval" argument for repeating timers.
293 - fix a bug in the pure perl event loop that caused timers to
294 be delayed under some circumstances.
295 - implement optional argument checking via PERL_ANYEVENT_STRICT.
296 - not importing anything from Event causes it to malfunction
297 and not use Time::HiRes, work around this bug.
298 - more bug workarounds against the endlessly broken Tk module,
299 seems to work now on 32 bit machines, but less so on 64 bit.
300 - minor optimisations applied to most backends.
301
3024.161 Fri Jul 4 14:24:48 CEST 2008
303 - fixed the t/handle/02_write.t, it read after write, with the
304 assumption that all data could be written before read
305 (reported by Jim Razmus).
306
3074.160 Thu Jul 3 04:02:21 CEST 2008
308 - re-registering signal watchers after unregistering one did
309 not work if a backend falls back on AnyEvent's default
310 implementation (also affected child watchers).
311 - new AnyEvent::Handle options: autocork and no_delay.
312
3134.152 Sun Jun 22 14:15:44 CEST 2008
314 - allow for 32-bit perls that implement shifts differently
315 on different architectures in parse_ipv4 (reported and
316 analysed by Keiichi DAIBA).
317
3184.151 Fri Jun 6 17:34:24 CEST 2008
319 - make sure specifying _only_ on_read and never pushing reads
320 works.
321
3224.15 Fri Jun 6 13:00:46 CEST 2008
323 - the pure perl backend would keep some watchers alive when more than
324 one watcher was registered for the same fd.
325 - new "packstring" and "storable" read and write types
326 for AnyEvent::Handle.
327 - allow on_eof handler to be called after on_error with EPIPE returns.
328 - do not immediately call on_read callback in handle constructor.
329
3304.14 Thu Jun 5 20:29:31 CEST 2008
331 - Fixed a bug in DNS SRV priority sorting.
332 - AnyEvent::Util::guard now reports runtime errors while
333 executing the guard block as warnings.
334 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
335
3364.13 Thu Jun 5 00:47:59 CEST 2008
337 - AnyEvent::DNS only followed cname chains with length 2,
338 contrary to documentation. bumped it up to 10, thanks to
339 microsoft, the current broken-dns-config-king.
340 - AnyEvent::DNS didn't check for socket return status
341 but instead relied on perl not creating filehandles in that
342 case - too bad it gives you a bogus file handle (reported
343 and analysed by Vladimir Timofeev).
344 - fix queue management logic in AnyEvent::Handle:
345 when on_read was registered, the queue was empty
346 and no progress could be made AnyEvent::Handle would
347 enter an endless loop.
348 - correctly start reading again when the handle became
349 busy again after idling.
350 - correctly treat tls shut-downs as EOF condition
351 (for the time being, would be nice to have a callback for that).
352 - correctly call eof callback under all conditions
353 (hopefully).
354 - the timeout callback did not expect that $self can go
355 away any time.
356
3574.12 Tue Jun 3 10:58:04 CEST 2008
358 - include AnyEvent::Intro, a tutorial for anyevent,
359 anyevent::socket and anyevent::handle.
360 - allow more options in on_error.
361
3624.11 Fri May 30 23:42:25 CEST 2008
363 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
364 reverse_lookup and reverse_verify to replace it, support
365 v4mapped and v4compat addresses.
366 - provide more documentation for the resolver class.
367 - really replace longest run of :0: by :: in format_address,
368 also properly convert :: and ::1 again.
369 - support NAPTR record name and decode it.
370 - implement random weight sampling for SRV records, as per
371 rfc 2782.
372 - correctly abort on srv-record targets of ".".
373 - added AnyEvent::DNS::wait_for_slot.
374 - in the unlikely event of a virtual circuit connection
375 being invalidated by a delayed udp reply, AnyEvent::DNS
376 could die. this has been fixed.
377 - plug a probable memleak in the DNS vc code.
378 - use configured timeout also for VC request phase.
379 - implement timeout and max_outstanding methods
380 for resolver class.
381 - update version numbers in all modules.
382
3834.1 Thu May 29 05:45:40 CEST 2008
384 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
385 which mirrors their purpose better (old names still available
386 for a while). Also moved AnyEvent::DNS::addr to
387 AnyEvent::Socket::resolve_sockaddr.
388 - implement AnyEvent->time and AnyEvent->now.
389 - fix IPv6 support in pack_sockaddr.
390 - officially un-experimentalise all newly introduced code.
391 - support unix domain sockets everywhere by specifying
392 a host of "unix/" and the pathname as service.
393 - implement an activity timeout in AnyEvent::Handle.
394 - added a regex read type to AnyEvent::Handle.
395 - added a json read/write type to AnyEvent::Handle.
396 - always croak in on_error in AnyEvent::Handle.
397 - document how to subclass AnyEvent::Handle.
398 - implement AnyEvent::Util::fork_call.
399 - add support for IPv6 nameservers and nameserver statements.
400 - work around _yet_ _another_ windows perl bug in where empty
401 select masks cause errors in the pure perl backend (this
402 workaround cannot be implemented for the other event loops,
403 but EV also works around this).
404 - supply AnyEvent::Socket::address_type and make good use of it.
405 - clarify and fix the Handle documentation w.r.t $self vs. $handle
406 vs. callback arguments.
407 - add some recommends to the META.yml.
408
4094.05 Mon May 26 19:44:06 CEST 2008
410 - some platforms ignore the rfc and prepend an extra sa_len member to
411 the sockaddr structure, cater for those. also use sockaddr_family,
412 didn't know it was there, but comes in handy for the workaround.
413 - undo the import WIN32 hack.
414
4154.04 Mon May 26 08:03:31 CEST 2008
3 - try to work around yet another windows bug: failed connects are reported 416 - try to work around yet another windows bug: failed connects are reported
4 as if it were out-of-band data. windows users: you suck. Only 417 as if it were out-of-band data. windows users: you suck. Only
5 EV, Glib, Event and the pure perl backend can handle this condition. 418 EV, Glib, Event and the pure perl backend can handle this condition.
6 - optimize write algorithm in AnyEvent::Handle. 419 - optimize write algorithm in AnyEvent::Handle.
7 - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. 420 - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly.
8 - tcp_connect now properly iterates through all targets. 421 - tcp_connect now properly iterates through all targets.
9 - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 422 - check wether IPv6 sockets can actually be created, otherwise, disable ipv6
10 support entirely. also hardcode some AF_INEt6 constants for the 423 support entirely. also hardcode some AF_INET6 constants for the
11 sake of perl 5.8. 424 sake of perl 5.8.
12 - vastly improved nameserver/suffix detection algorithm for windows 425 - vastly improved nameserver/suffix detection algorithm for windows
13 (still a hack...) 426 (still a hack...)
14 - try to use a fallback dns server if no dns servers could be found. 427 - try to use a fallback dns server if no dns servers could be found.
15 - splatter around some local $SIG{__DIE__}'s to work around bad 428 - splatter around some local $SIG{__DIE__}'s to work around bad
42 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. 455 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore.
43 - try very hard not to freeze on broken windows perls. 456 - try very hard not to freeze on broken windows perls.
44 - make on_eof optional in AnyEvent::Handle. 457 - make on_eof optional in AnyEvent::Handle.
45 - support service names in tcp_connect and tcp_server. 458 - support service names in tcp_connect and tcp_server.
46 - work around netbsd/openbsd bug causing unix sockets not to 459 - work around netbsd/openbsd bug causing unix sockets not to
47 become writable untill empty. 460 become writable until empty.
48 - only make a dummy read for error detection when getpeername 461 - only make a dummy read for error detection when getpeername
49 returns ENOTCONN. 462 returns ENOTCONN.
50 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 463 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
51 override. 464 override.
52 - new AnyEvent::Guard::cancel. 465 - new AnyEvent::Guard::cancel.
53 466
543.5 Sat May 17 23:17:14 CEST 2008 4673.5 Sat May 17 23:17:14 CEST 2008
55 - gracefully deal with systems not defining CLOCK_MONOTONIC 468 - gracefully deal with systems not defining CLOCK_MONOTONIC
69 482
703.41 Sun May 11 19:53:13 CEST 2008 4833.41 Sun May 11 19:53:13 CEST 2008
71 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 484 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
72 485
733.4 Sun May 11 00:29:25 CEST 2008 4863.4 Sun May 11 00:29:25 CEST 2008
74 - complete re-implementation of condvars with a hopefully much mroe useful 487 - complete re-implementation of condvars with a hopefully much more useful
75 API (backward compatible functions exist but are undocumented). 488 API (backward compatible functions exist but are undocumented).
76 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 489 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
77 (still subject to change). 490 (still subject to change).
78 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 491 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
79 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 492 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines