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: IO::Async sometimes cancels the wrong timer when you call cancel_timer -wait for IO::Async release. |
5 | TODO: ae::log examples |
9 | TODO: wrap |
6 | TODO: trace-per-watcher AnyEvent::Debug |
10 | TODO: parse_unix??? |
7 | TODO: logging during AnyEvent::detect |
11 | TODO: logging? |
8 | TODO: AnyEvent::Filesys::Notify |
|
|
9 | 6.01 |
12 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
10 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
13 | the TTL as fourth element - this affects ->resolve directly, |
11 | the TTL as fourth element - this affects ->resolve, ->request |
14 | and ->request and ->dns_unpack indirectly. Convenience functions |
12 | and ->dns_unpack indirectly. Convenience functions such as |
15 | such as AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither |
13 | AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is |
16 | is AnyEvent::Socket. |
14 | AnyEvent::Socket. |
17 | - INCOMPATIBLE CHANGE: backend authors now should not implement |
15 | - INCOMPATIBLE CHANGE: backend authors now should not implement |
18 | 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 |
19 | methods. |
17 | methods. |
|
|
18 | - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see |
|
|
19 | AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details. |
20 | - DEPRECIATION: please change |
20 | - DEPRECIATION: please change |
21 | "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and |
21 | "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and |
22 | "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" |
22 | "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" |
23 | in your programs, for future compatibility. |
23 | in your programs, for future compatibility. |
24 | - *blush* idle watcher emulation was borked. |
24 | - *blush* idle watcher emulation was borked. |
… | |
… | |
26 | - 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 |
27 | 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 |
28 | 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 |
29 | instead (reported by James Bromberger). |
29 | instead (reported by James Bromberger). |
30 | - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield). |
30 | - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield). |
31 | - 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. |
32 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
34 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
33 | a debug shell. |
35 | a debug shell. |
34 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
36 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
35 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
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). |
36 | - 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. |
37 | Invest extra overhead to work around this peculiar behaviour. |
48 | Invest extra overhead to work around this peculiar behaviour. |
38 | - 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 |
39 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
50 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
40 | - some read types (regex, netstring, json, storable) could |
51 | - some read types (regex, netstring, json, storable) could |
41 | errornously keep an AE::Handle object alive on their own |
52 | errornously keep an AE::Handle object alive on their own |
42 | (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. |
43 | - add more workarounds around child watcher bugs in IO::Async |
56 | - add more workarounds around child watcher bugs in IO::Async |
44 | and (newly introduced) in POE. |
57 | and (newly introduced) in POE. |
45 | - use glib child watchers and try to work around its limitations, |
58 | - use glib child watchers and try to work around its limitations, |
46 | if possible (based on a patch by Kevin Ryde). |
59 | if possible (based on a patch by Kevin Ryde). |
47 | - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. |
60 | - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. |
48 | - many read types in AnyEvent::Handle would malfunction during |
61 | - many read types in AnyEvent::Handle would malfunction during |
49 | transitions to TLS because of a "delete $self->{rbuf}". |
62 | transitions to TLS because of a "delete $self->{rbuf}". |
50 | (reported by Gerald Galster). |
63 | (reported by Gerald Galster). |
51 | - resolve AnyEvent::Util::guard at first-use-time, not at load time, |
|
|
52 | for further speed and memory savings when not used. |
|
|
53 | - improve condvar blocking wait performance (probably only noticable |
64 | - improve condvar blocking wait performance (probably only noticable |
54 | with faster backends), also make it easier for event loops that |
65 | with faster backends), also make it easier for event loops that |
55 | do not support blocking waits. |
66 | do not support blocking waits. |
56 | - PERL_ANYEVENT_MODEL now also allows full module names, although |
67 | - PERL_ANYEVENT_MODEL now also allows full module names, although |
57 | the usefulness of this feature is not yet clear. |
68 | the usefulness of this feature is not yet clear. |
58 | - 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. |
59 | - add t/80_ssltext.t. |
70 | - add t/80_ssltext.t. |
60 | - no longer use AUTOLOAD for the initial loading (for no very good reason). |
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 :/) |
61 | |
79 | |
62 | 5.34 Thu May 12 09:59:41 CEST 2011 |
80 | 5.34 Thu May 12 09:59:41 CEST 2011 |
63 | - 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, |
64 | due to some copy&paste bug (reported and analyzed by vti). |
82 | due to some copy&paste bug (reported and analyzed by vti). |
65 | - improve AE::Handle timeout documentation slightly. |
83 | - improve AE::Handle timeout documentation slightly. |