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