1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
|
|
3 | - added a a regex read type to AnyEvent::Handle. |
|
|
4 | |
|
|
5 | 4.05 Mon May 26 19:44:06 CEST 2008 |
|
|
6 | - some platforms ignore the rfc and prepend an extra sa_len member to |
|
|
7 | the sockaddr structure, cater for those. also use sockaddr_family, |
|
|
8 | didn't know it was there, but comes in handy for the workaround. |
|
|
9 | - undo the import WIN32 hack. |
|
|
10 | |
|
|
11 | 4.04 Mon May 26 08:03:31 CEST 2008 |
|
|
12 | - try to work around yet another windows bug: failed connects are reported |
|
|
13 | as if it were out-of-band data. windows users: you suck. Only |
|
|
14 | EV, Glib, Event and the pure perl backend can handle this condition. |
|
|
15 | - optimize write algorithm in AnyEvent::Handle. |
|
|
16 | - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. |
|
|
17 | - tcp_connect now properly iterates through all targets. |
|
|
18 | - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 |
|
|
19 | support entirely. also hardcode some AF_INET6 constants for the |
|
|
20 | sake of perl 5.8. |
|
|
21 | - vastly improved nameserver/suffix detection algorithm for windows |
|
|
22 | (still a hack...) |
|
|
23 | - try to use a fallback dns server if no dns servers could be found. |
|
|
24 | - splatter around some local $SIG{__DIE__}'s to work around bad |
|
|
25 | die handlers. |
|
|
26 | |
|
|
27 | 4.03 Sun May 25 05:05:57 CEST 2008 |
|
|
28 | - work around perl bugs on windows, where perl returns undocumented |
|
|
29 | error codes for sysread, syswrite etc. |
|
|
30 | - fix AnyEvent::Handle::unshift_read to really unshift and not push. |
|
|
31 | - AnyEvent::Handle could sometimes stumble over 0-byte writes. |
|
|
32 | - fix unpack_sockaddr, now works for AF_INET6 sockaddr's. |
|
|
33 | - updated documentation. |
|
|
34 | - lots of workarounds for perl 5.8 quirks. |
|
|
35 | - implement a more flexible type system for both reads and writes |
|
|
36 | in AnyEvent::Handle. |
|
|
37 | - support IPv6 in tcp_server. |
|
|
38 | - pass local hostname and port to the prepare callback in tcp_server. |
|
|
39 | - make types extendable in AnyEvent::Handle. |
|
|
40 | - croak, not die, in AnyEvent::Handle; |
|
|
41 | |
|
|
42 | 4.0 Sat May 24 19:58:08 CEST 2008 |
|
|
43 | - added (experimental) AnyEvent::DNS module. |
|
|
44 | - added (experimental) AnyEvent::Socket module. |
|
|
45 | - added (experiemntal) support for TLS/SSL in AnyEvent::Handle. |
|
|
46 | - make condvar->end call ->send as documented. |
|
|
47 | - make condvar constructor support the documented cb => argument. |
|
|
48 | - overload condvars so you can use them instead of code references. |
|
|
49 | - support more of the POSIX forms instead of a pure dotted quad for |
|
|
50 | verbatim ip addresses. |
|
|
51 | - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. |
|
|
52 | - try very hard not to freeze on broken windows perls. |
|
|
53 | - make on_eof optional in AnyEvent::Handle. |
|
|
54 | - support service names in tcp_connect and tcp_server. |
|
|
55 | - work around netbsd/openbsd bug causing unix sockets not to |
|
|
56 | become writable untill empty. |
|
|
57 | - only make a dummy read for error detection when getpeername |
|
|
58 | returns ENOTCONN. |
|
|
59 | - defend AnyEvent::Util::inet_aton against Coro::LWP brutal |
|
|
60 | override. |
|
|
61 | - new AnyEvent::Guard::cancel. |
|
|
62 | |
|
|
63 | 3.5 Sat May 17 23:17:14 CEST 2008 |
|
|
64 | - gracefully deal with systems not defining CLOCK_MONOTONIC |
|
|
65 | (as opposed to not supporting the clock itself, which worked in 3.41). |
|
|
66 | - added AnyEvent::Util::tcp_connect and AnyEvent::Util::tcp_server |
|
|
67 | helpers, to replace the ill-designed AnyEvent::Socket class. |
|
|
68 | - added some examples (eg/connect, eg/handle). |
|
|
69 | - added AnyEvent::Util::guard. |
|
|
70 | - AnyEvent::Util now exports most of its functions. |
|
|
71 | - fixed a bug in *_read_chunk, where the callback was called with $self as |
|
|
72 | first and second argument. |
|
|
73 | - simplified and fixed regex handling in AnyEvent::Handle::*_read_line. |
|
|
74 | - fix manpage condvars examples to use new syntax. |
|
|
75 | - considerably improve inet_aton with EV::ADNS backend to support |
|
|
76 | cname chains (common dns configuration bug, e.g. with www.google.de) |
|
|
77 | and aaaa records if no a record could be found. |
|
|
78 | |
|
|
79 | 3.41 Sun May 11 19:53:13 CEST 2008 |
|
|
80 | - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. |
|
|
81 | |
|
|
82 | 3.4 Sun May 11 00:29:25 CEST 2008 |
|
|
83 | - complete re-implementation of condvars with a hopefully much mroe useful |
|
|
84 | API (backward compatible functions exist but are undocumented). |
|
|
85 | - AnyEvent::Handle fully rewritten with a hopefully more powerful API |
|
|
86 | (still subject to change). |
|
|
87 | - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. |
|
|
88 | - provide AnyEvent::post_detect and @AnyEvent::post_detect, which |
|
|
89 | allows module authors to avoid forcing event loop detection. |
|
|
90 | (used by Coro::AIO, Coro::BDB, Coro::AnyEvent for example). |
|
|
91 | - remove coro backends: Coro now provides generic support for AnyEvent |
|
|
92 | via Coro::AnyEvent. |
|
|
93 | |
|
|
94 | 3.3 Mon Apr 28 09:51:06 CEST 2008 |
|
|
95 | - added AnyEvent::Handle, AnyEvent::Socket and AnyEvent::Util modules. |
3 | - fix a bug in the pure perl backend that kept watchers alive |
96 | - fix a bug in the pure perl backend that kept watchers alive |
4 | when multiple watchers were registered for the same fh/poll combo. |
97 | when multiple watchers were registered for the same fh/poll combo. |
5 | - add a benchmark section showing AnyEvent overhead and comparing |
98 | - add a benchmark section showing AnyEvent overhead and comparing |
6 | the different event loops with each other. |
99 | the different event loops with each other. |
7 | - prefer pure perl over tk when autoprobing, as it's about as fast, |
100 | - prefer pure perl over tk when autoprobing, as it's about as fast, |
8 | but doesn't crash with many watchers. |
101 | but doesn't crash with many watchers. |
9 | - make Qt support non-experimental. |
102 | - declare Qt support non-experimental. |
10 | - clarify the confusing section about the file descriptor being |
103 | - clarify the confusing section about the file descriptor being |
11 | kept alive. |
104 | kept alive. |
12 | - document the race between loading of an event module and |
105 | - document the race between loading of an event module and |
13 | child processes exiting. |
106 | child processes exiting. |
14 | - support POE as "backend" (with some caveats, POE is not generic |
107 | - support POE as "backend" (with some caveats, POE is not generic |
15 | enough, and darn slow). |
108 | enough, and darn slow). |
16 | - support Wx and Prima through POE. |
109 | - support Wx and Prima through POE. |
17 | - optimise perl backend to use 20% less memory and to be roughly |
110 | - optimise perl backend to use 20% less memory and take advantage |
18 | 2-3 times faster in the common case of sparsely-active file |
111 | of typical timeout behaviour. It can now compete with |
19 | descriptors. It can now compete with select/poll-based C event |
112 | select/poll-based C event loops in most cases (it is usually |
20 | loops in most cases (it is usually faster than Event and Glib :). |
113 | faster than Event and Glib :). |
21 | - roughly cut EV memory use in half and increase its speed by 30%, |
114 | - roughly cut EV memory use in half and increase its speed by 30%, |
22 | by removing undocumented functionality. |
115 | by removing undocumented functionality. Did something similar |
|
|
116 | to other event loops where possible. |
23 | |
117 | |
24 | 3.2 Thu Apr 24 10:10:40 CEST 2008 |
118 | 3.2 Thu Apr 24 10:10:40 CEST 2008 |
25 | - do not die when anyevent watchers are destroyed while running callbacks |
119 | - do not die when anyevent watchers are destroyed while running callbacks |
26 | in the pureperl backend (could only happen when two watchers are registered |
120 | in the pureperl backend (could only happen when two watchers are registered |
27 | for the same fh/poll combo). |
121 | for the same fh/poll combo). |