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