1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | TODO: document TCP_*** constants |
3 | TODO: document TCP_*** constants |
4 | TODO: catch AE::xxx for anyevent strict and anyevent debug |
|
|
5 | TODO: anyevent::trace? or debug tracing all watchers? |
|
|
6 | TODO: anyevent strict checking for $_ changes? |
|
|
7 | |
4 | |
8 | TODO: Kevin Ryde (3.8K) 1 inbox Glib child processes |
5 | 6.01 |
9 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
6 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
10 | the TTL as fourth element - this affects ->resolve directly, |
7 | the TTL as fourth element - this affects ->resolve, ->request |
11 | and ->request and ->dns_unpack indirectly. Convenience functions |
8 | and ->dns_unpack indirectly. Convenience functions such as |
12 | such as AnyEvent::DNS::{a,txt,mx,srv} are not affected. |
9 | AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is |
|
|
10 | AnyEvent::Socket. |
|
|
11 | - INCOMPATIBLE CHANGE: backend authors now should not implement |
|
|
12 | one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll |
|
|
13 | methods. |
|
|
14 | - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see |
|
|
15 | AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details. |
|
|
16 | - DEPRECIATION: please change |
|
|
17 | "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and |
|
|
18 | "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" |
|
|
19 | in your programs, for future compatibility. |
|
|
20 | - *blush* idle watcher emulation was borked. |
|
|
21 | - AnyEvent::Strict now checks the AE::xxx functions as well. |
|
|
22 | - querying too long domain names would barf deep inside AnyEvent::DNS - since |
|
|
23 | this is hard to avoid for applications, AnyEvent:.DNS::request now checks for |
|
|
24 | for too long domain names explicitly and passes an undef to the callback |
|
|
25 | instead (reported by James Bromberger). |
|
|
26 | - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield). |
|
|
27 | - new functions: AnyEvent::postpone, AnyEvent::log. |
|
|
28 | - new module: AnyEvent::Log, for simple logging needs. |
|
|
29 | - new env variable, PERL_ANYEVENT_LOG, for fine-grained logging config. |
|
|
30 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
|
|
31 | a debug shell. |
|
|
32 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
|
|
33 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
|
|
34 | - new env variable, PERL_ANYEVENT_HOSTS, to override the place where |
|
|
35 | F</etc/hosts> can be found. |
|
|
36 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
|
|
37 | configuration. |
|
|
38 | - env variables can now be specified using AE_xyz instead of |
|
|
39 | PERL_ANYEVENT_xyz, subject to some rules. |
|
|
40 | - lots of new AnyEvent::Debug functionality. |
|
|
41 | - AnyEvent::Strict now checks for modifications $_ by the callback |
|
|
42 | (by setting it to readonly while executing the callback, if possible). |
|
|
43 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
|
|
44 | Invest extra overhead to work around this peculiar behaviour. |
|
|
45 | - split the pure perl backend into a loop module and an impl |
|
|
46 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
13 | - some read types (regex, netstring, json, storable) could |
47 | - some read types (regex, netstring, json, storable) could |
14 | errornously keep an AE::Handle object alive on their own |
48 | errornously keep an AE::Handle object alive on their own |
15 | (reported by Mohammad Toossi). |
49 | (reported by Mohammad Toossi). |
|
|
50 | - AnyEvent::Socket::resolve_sockaddr and all functions using it now |
|
|
51 | supports /etc/hosts overrides. |
16 | - add more workarounds around child watcher bugs in IO::Async |
52 | - add more workarounds around child watcher bugs in IO::Async |
17 | and (newly introduced) in POE. |
53 | and (newly introduced) in POE. |
18 | - use glib child watchers and try to work around its limitations, |
54 | - use glib child watchers and try to work around its limitations, |
19 | if possible (based on a patch by Kevin Ryde). |
55 | if possible (based on a patch by Kevin Ryde). |
20 | - add support for (currently third-party) AnyEvent::Impl::FLTK. |
56 | - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. |
21 | - many read types in AnyEvent::Handle would malfunction during |
57 | - many read types in AnyEvent::Handle would malfunction during |
22 | transitions to TLS because of a "delete $self->{rbuf}". |
58 | transitions to TLS because of a "delete $self->{rbuf}". |
23 | (reported by Gerald Galster). |
59 | (reported by Gerald Galster). |
24 | - resolve AnyEvent::Util::guard at first-use-time, not at load time, |
|
|
25 | for further speed and memory savings when not used. |
|
|
26 | - improve condvar blocking wait performance (probably only noticable |
60 | - improve condvar blocking wait performance (probably only noticable |
27 | with faster backends), also make it easier for event loops that |
61 | with faster backends), also make it easier for event loops that |
28 | do not support blocking waits. |
62 | do not support blocking waits. |
|
|
63 | - PERL_ANYEVENT_MODEL now also allows full module names, although |
|
|
64 | the usefulness of this feature is not yet clear. |
|
|
65 | - add tests for all supported event loops, conditional on PERL_ANYEVENT_LOOP_TESTS. |
|
|
66 | - add t/80_ssltext.t. |
|
|
67 | - no longer use AUTOLOAD for the initial loading (for no very good reason). |
|
|
68 | - tcp_server now tries to unlink unix domain sockets when it gets destroyed. |
|
|
69 | - do not run event loop detection multiple times when programs call their cached |
|
|
70 | copies of AnyEvent::detect. |
|
|
71 | - parse_hostport now accepts absolute paths als unix domain sockets. |
|
|
72 | - add Task::Weaken as dependency (as recommends only at this time). |
|
|
73 | - replace PF_UNSPEC by 0, for good old minix. |
|
|
74 | |
|
|
75 | 6.0 (not officially released, but was on CPAN for about 15 minutes :/) |
29 | |
76 | |
30 | 5.34 Thu May 12 09:59:41 CEST 2011 |
77 | 5.34 Thu May 12 09:59:41 CEST 2011 |
31 | - AE::TLS didn't support both cert_file and key at the same time, |
78 | - AE::TLS didn't support both cert_file and key at the same time, |
32 | due to some copy&paste bug (reported and analyzed by vti). |
79 | due to some copy&paste bug (reported and analyzed by vti). |
33 | - improve AE::Handle timeout documentation slightly. |
80 | - improve AE::Handle timeout documentation slightly. |