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