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