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