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