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: parse_unix??? |
5 | TODO: AE::logger |
9 | TODO: logging? / trace_level |
6 | TODO: add debug/trace logging to some modules |
10 | TODO: check wrap for leaks - check Carp::longmess for leaks, or rather, how to avoid them |
7 | TODO: poe child watcher hang? |
|
|
8 | TODO: general log level "cap" |
|
|
9 | TODO: timer increase for arm(?) |
|
|
10 | - INCOMPATIBLE CHANGE: the default log level is now "4" (error |
|
|
11 | and above), and some messages inside AnyEvent have been elevated |
|
|
12 | to higher log levels to print by default. |
|
|
13 | - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal. |
|
|
14 | - add google public ipv6 dns as fallback servers, so AE::DNS can finally |
|
|
15 | support ipv6-only operation even with defaults (also use ::1 instead |
|
|
16 | of 127.0.0.1). |
|
|
17 | - give better guidelines on how to chose a logging level. |
|
|
18 | - AE::Strict now checks that registered fds are still valid at regular |
|
|
19 | intervals. |
|
|
20 | - skip frequently called 'require' calls if the module appears loaded. |
|
|
21 | - increase signal latency test timer considerably for poor little osx. |
|
|
22 | - mention some debugging aids in the tutorial. |
|
|
23 | - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse |
|
|
24 | to work with it - the author is well aware of the issues but refuses |
|
|
25 | to fix them. This extreme step has been taken because the module actively |
|
|
26 | attacks the goals of AnyEvent and makes it harder for module authors to use |
|
|
27 | AnyEvent. |
11 | |
28 | |
12 | 6.01 |
29 | 6.02 Fri Aug 26 20:08:31 CEST 2011 |
|
|
30 | - log_to_syslog now accepts facility strings. |
|
|
31 | - log_to_syslog would not allow facilities - "$facility|$level" |
|
|
32 | *literally* means that string. sheesh. |
|
|
33 | - the CPAN parser got confused and thought we provide Sys::Syslog, try |
|
|
34 | to work around. |
|
|
35 | - renamed AnyEvent::Impl::FLTK2 to FLTK. |
13 | |
36 | |
14 | 6.0 (not officially released) |
37 | 6.01 Fri Aug 26 07:04:11 CEST 2011 |
15 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
38 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
16 | the TTL as fourth element - this affects ->resolve directly, |
39 | the TTL as fourth element - this affects ->resolve, ->request |
17 | and ->request and ->dns_unpack indirectly. Convenience functions |
40 | and ->dns_unpack indirectly. Convenience functions such as |
18 | such as AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither |
41 | AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is |
19 | is AnyEvent::Socket. |
42 | AnyEvent::Socket. |
20 | - INCOMPATIBLE CHANGE: backend authors now should not implement |
43 | - INCOMPATIBLE CHANGE: backend authors now should not implement |
21 | one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll |
44 | one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll |
22 | methods. |
45 | methods. |
|
|
46 | - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see |
|
|
47 | AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details. |
23 | - DEPRECIATION: please change |
48 | - DEPRECIATION: please change |
24 | "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and |
49 | "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and |
25 | "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" |
50 | "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" |
26 | in your programs, for future compatibility. |
51 | in your programs, for future compatibility. |
27 | - *blush* idle watcher emulation was borked. |
52 | - *blush* idle watcher emulation was borked. |
… | |
… | |
29 | - querying too long domain names would barf deep inside AnyEvent::DNS - since |
54 | - querying too long domain names would barf deep inside AnyEvent::DNS - since |
30 | this is hard to avoid for applications, AnyEvent:.DNS::request now checks for |
55 | this is hard to avoid for applications, AnyEvent:.DNS::request now checks for |
31 | for too long domain names explicitly and passes an undef to the callback |
56 | for too long domain names explicitly and passes an undef to the callback |
32 | instead (reported by James Bromberger). |
57 | instead (reported by James Bromberger). |
33 | - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield). |
58 | - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield). |
34 | - new function: AnyEvent::postpone. |
59 | - new functions: AnyEvent::postpone, AnyEvent::log. |
|
|
60 | - new module: AnyEvent::Log, for simple logging needs. |
|
|
61 | - new env variable, PERL_ANYEVENT_LOG, for fine-grained logging config. |
35 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
62 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
36 | a debug shell. |
63 | a debug shell. |
37 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
64 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
38 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
65 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
|
|
66 | - new env variable, PERL_ANYEVENT_HOSTS, to override the place where |
|
|
67 | /etc/hosts can be found. |
|
|
68 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
|
|
69 | configuration. |
|
|
70 | - env variables can now be specified using AE_xyz instead of |
|
|
71 | PERL_ANYEVENT_xyz, subject to some rules. |
|
|
72 | - lots of new AnyEvent::Debug functionality. |
39 | - AnyEvent::Strict now checks for modifications $_ by the callback. |
73 | - AnyEvent::Strict now checks for modifications $_ by the callback |
|
|
74 | (by setting it to readonly while executing the callback, if possible). |
40 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
75 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
41 | Invest extra overhead to work around this peculiar behaviour. |
76 | Invest extra overhead to work around this peculiar behaviour. |
42 | - split the pure perl backend into a loop module and an impl |
77 | - split the pure perl backend into a loop module and an impl |
43 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
78 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
44 | - some read types (regex, netstring, json, storable) could |
79 | - some read types (regex, netstring, json, storable) could |
45 | errornously keep an AE::Handle object alive on their own |
80 | errornously keep an AE::Handle object alive on their own |
46 | (reported by Mohammad Toossi). |
81 | (reported by Mohammad Toossi). |
|
|
82 | - AnyEvent::Socket::resolve_sockaddr and all functions using it now |
|
|
83 | supports /etc/hosts overrides. |
47 | - add more workarounds around child watcher bugs in IO::Async |
84 | - add more workarounds around child watcher bugs in IO::Async |
48 | and (newly introduced) in POE. |
85 | and (newly introduced) in POE. |
49 | - use glib child watchers and try to work around its limitations, |
86 | - use glib child watchers and try to work around its limitations, |
50 | if possible (based on a patch by Kevin Ryde). |
87 | if possible (based on a patch by Kevin Ryde). |
51 | - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. |
88 | - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. |
… | |
… | |
62 | - no longer use AUTOLOAD for the initial loading (for no very good reason). |
99 | - 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. |
100 | - tcp_server now tries to unlink unix domain sockets when it gets destroyed. |
64 | - do not run event loop detection multiple times when programs call their cached |
101 | - do not run event loop detection multiple times when programs call their cached |
65 | copies of AnyEvent::detect. |
102 | copies of AnyEvent::detect. |
66 | - parse_hostport now accepts absolute paths als unix domain sockets. |
103 | - parse_hostport now accepts absolute paths als unix domain sockets. |
|
|
104 | - suppress the idiotic warning inside POE by patching the POE::Kernel |
|
|
105 | run flags instead of asking the user to jump through contortions. |
|
|
106 | - add Task::Weaken as dependency (as recommends only at this time). |
|
|
107 | - replace PF_UNSPEC by 0, for good old minix. |
|
|
108 | |
|
|
109 | 6.0 (not officially released, but was on CPAN for about 15 minutes :/) |
67 | |
110 | |
68 | 5.34 Thu May 12 09:59:41 CEST 2011 |
111 | 5.34 Thu May 12 09:59:41 CEST 2011 |
69 | - AE::TLS didn't support both cert_file and key at the same time, |
112 | - AE::TLS didn't support both cert_file and key at the same time, |
70 | due to some copy&paste bug (reported and analyzed by vti). |
113 | due to some copy&paste bug (reported and analyzed by vti). |
71 | - improve AE::Handle timeout documentation slightly. |
114 | - improve AE::Handle timeout documentation slightly. |