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: add debug/trace logging to some modules |
|
|
5 | TODO: document import tags aeio, also ae_ naming |
|
|
6 | TODO: use the eval-with-cb-call trick also to speed up JSON? |
|
|
7 | lib/AnyEvent/DNS.pm: open my $fh, "<", $resolv_conf |
|
|
8 | lib/AnyEvent/DNS.pm: if (open my $fh, "ipconfig /all |") { |
|
|
9 | lib/AnyEvent/TLS.pm: or croak "$dh_file: failed to open DH parameter file: $!"; |
|
|
10 | TODO: disable logging to a context while it is being logged to? |
|
|
11 | TODO: testsuite truncate, chmod, utime? |
4 | |
12 | |
5 | TODO: ae::log examples |
13 | 6.2 |
6 | TODO: trace-per-watcher AnyEvent::Debug |
14 | - child watchers are broken in POE 1.352 (also many earlier |
7 | TODO: logging during AnyEvent::detect |
15 | versions)and there seems to be no way to work around it, as POE |
8 | TODO: AnyEvent::Filesys::Notify |
16 | itself is inherently racy. Document this regression and sleep a |
9 | TODO: maybe study log4perl and see how they could interface? |
17 | second in t/68_poe_03_child.t for the time being. |
10 | TODO: ae::now vs. ae::time - make configurable? |
18 | - new module AnyEvent::IO, that is a frontend to either a pure-perl |
11 | TODO: AE_VERBOSE=8 mt |
19 | synchronous I/O implementation (AnyEvent::IO::Perl), or to the |
12 | 6.01 |
20 | asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO). |
|
|
21 | - load /etc/hosts only when dns fails has no answer. |
|
|
22 | - stat /etc/hosts on every access and reload it if it changed. |
|
|
23 | - load /etc/hosts via AnyEvent::IO - potentially asynchronous. |
|
|
24 | - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As |
|
|
25 | a side effect, they now use true appending as opposed to libc |
|
|
26 | appending, and the file might not have been opened when the function |
|
|
27 | returns. |
|
|
28 | - the default logging level was not properly documented in a variety of |
|
|
29 | places, this has hopefully been rectified. |
|
|
30 | - updated uts46data.pl for unicode 6.1.0. |
|
|
31 | - made log messages genearted by AnyEvent submodules not |
|
|
32 | include the package name anymore, as it will be logged |
|
|
33 | by default already. |
|
|
34 | - upgrade to the trick used by common-sense 3.5 to work |
|
|
35 | around extra warning torture/breakage under perl 5.15.x. |
|
|
36 | - log messages by anyevent are now ucfirst, are usually full |
|
|
37 | sentences and do no longer include the package name. |
|
|
38 | - the storable read type would sometimes throw an exception instead |
|
|
39 | of causing EBADMSG (analyzed by Maxime Soulé). |
|
|
40 | - documented Rocco fabricating statements about AnyEvent and me. |
|
|
41 | |
|
|
42 | 6.14 Tue Jan 31 20:00:24 CET 2012 |
|
|
43 | - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside, |
|
|
44 | probably an editing mistake (reported by Darin McBride). |
|
|
45 | |
|
|
46 | 6.13 Thu Jan 12 07:27:01 CET 2012 |
|
|
47 | - AnyEvent::Util::fork_call checked for POSIX availability in the wrong way, |
|
|
48 | causing it to fail if POSIX wasn't loaded already (analysed by Rock Power). |
|
|
49 | - AnyEvent::Handle::push_read (line => did pass $1 directly, so |
|
|
50 | regex-matching inside the callback would change the parameter, despite |
|
|
51 | $1 being dynamically scoped per-block. this perl bug is now being |
|
|
52 | worked around (testcase by Cindy Wang). |
|
|
53 | |
|
|
54 | 6.12 Mon Dec 12 13:21:10 CET 2011 |
|
|
55 | - $! was clobbered by subsequent calls in tcp_connect, due to |
|
|
56 | the postpone not saving/restoring it (analyzed by Richard Garnish). |
|
|
57 | |
|
|
58 | 6.11 Tue Nov 22 10:36:05 CET 2011 |
|
|
59 | - Tk cannot create windows when tainted unless you set a title, so |
|
|
60 | set a dummy title for AnyEvent's dummy mainwindow. How dummy. |
|
|
61 | - escape any nonprintable/nonascii characters when stringifying |
|
|
62 | backtraces. |
|
|
63 | - log the reason loading an interface module fails to load at level debug. |
|
|
64 | |
|
|
65 | 6.1 Tue Oct 4 19:44:30 CEST 2011 |
|
|
66 | - INCOMPATIBLE CHANGE: the default log level is now "4" (error |
|
|
67 | and above), and some messages inside AnyEvent have been elevated |
|
|
68 | to higher log levels to print by default. |
|
|
69 | - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal. |
|
|
70 | - work around yet another signal race bug, newly introduced by POE. My |
|
|
71 | how that module sucks. |
|
|
72 | - add google public ipv6 dns as fallback servers, so AE::DNS can finally |
|
|
73 | support ipv6-only operation even with defaults (also use ::1 instead |
|
|
74 | of 127.0.0.1). |
|
|
75 | - give better guidelines on how to chose a logging level. |
|
|
76 | - AnyEvent::Log can now cap (limit) log message priority by context. |
|
|
77 | - AE::log will now save and restore $! and $@, so callers don't have to. |
|
|
78 | - AE::Strict now checks that registered fds are still valid at regular |
|
|
79 | intervals. |
|
|
80 | - skip frequently called 'require' calls if the module appears loaded. |
|
|
81 | - increase signal latency test timer considerably for poor little osx, |
|
|
82 | which can't be bothered with basic posix functionality such as signal |
|
|
83 | delivery. |
|
|
84 | - mention some debugging aids in the tutorial. |
|
|
85 | - new env variable PERL_ANYEVENT_MAX_SIGNAL_LATENCY. |
|
|
86 | - private (%namespace) log contexts in PERL_ANYEVENT_LOG now have the name |
|
|
87 | of the context as title. |
|
|
88 | - AnyEvent::Strict would not restore read-write access to $_ when a callback |
|
|
89 | died - this is a user bug, but since AE::Strict exists to help dbeugging... |
|
|
90 | - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse |
|
|
91 | to work with it - the author is well aware of the issues but refuses |
|
|
92 | to fix them. This extreme step has been taken because the module actively |
|
|
93 | attacks the goals of AnyEvent and makes it harder for module authors to use |
|
|
94 | AnyEvent. |
|
|
95 | |
|
|
96 | 6.02 Fri Aug 26 20:08:31 CEST 2011 |
|
|
97 | - log_to_syslog now accepts facility strings. |
|
|
98 | - log_to_syslog would not allow facilities - "$facility|$level" |
|
|
99 | *literally* means that string. sheesh. |
|
|
100 | - the CPAN parser got confused and thought we provide Sys::Syslog, try |
|
|
101 | to work around. |
|
|
102 | - renamed AnyEvent::Impl::FLTK2 to FLTK. |
|
|
103 | |
|
|
104 | 6.01 Fri Aug 26 07:04:11 CEST 2011 |
13 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
105 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
14 | the TTL as fourth element - this affects ->resolve, ->request |
106 | the TTL as fourth element - this affects ->resolve, ->request |
15 | and ->dns_unpack indirectly. Convenience functions such as |
107 | and ->dns_unpack indirectly. Convenience functions such as |
16 | AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is |
108 | AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is |
17 | AnyEvent::Socket. |
109 | AnyEvent::Socket. |
… | |
… | |
37 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
129 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
38 | a debug shell. |
130 | a debug shell. |
39 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
131 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
40 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
132 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
41 | - new env variable, PERL_ANYEVENT_HOSTS, to override the place where |
133 | - new env variable, PERL_ANYEVENT_HOSTS, to override the place where |
42 | F</etc/hosts> can be found. |
134 | /etc/hosts can be found. |
43 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
135 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
44 | configuration. |
136 | configuration. |
45 | - env variables can now be specified using AE_xyz instead of |
137 | - env variables can now be specified using AE_xyz instead of |
46 | PERL_ANYEVENT_xyz, subject to some rules. |
138 | PERL_ANYEVENT_xyz, subject to some rules. |
47 | - lots of new AnyEvent::Debug functionality. |
139 | - lots of new AnyEvent::Debug functionality. |
48 | - AnyEvent::Strict now checks for modifications $_ by the callback |
140 | - AnyEvent::Strict now checks for modifications of $_ by the callback |
49 | (by setting it to readonly while executing the callback, if possible). |
141 | (by setting it to readonly while executing the callback, if possible). |
50 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
142 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
51 | Invest extra overhead to work around this peculiar behaviour. |
143 | Invest extra overhead to work around this peculiar behaviour. |
52 | - split the pure perl backend into a loop module and an impl |
144 | - split the pure perl backend into a loop module and an impl |
53 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
145 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
… | |
… | |
74 | - no longer use AUTOLOAD for the initial loading (for no very good reason). |
166 | - 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. |
167 | - 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 |
168 | - do not run event loop detection multiple times when programs call their cached |
77 | copies of AnyEvent::detect. |
169 | copies of AnyEvent::detect. |
78 | - parse_hostport now accepts absolute paths als unix domain sockets. |
170 | - parse_hostport now accepts absolute paths als unix domain sockets. |
|
|
171 | - suppress the idiotic warning inside POE by patching the POE::Kernel |
|
|
172 | run flags instead of asking the user to jump through contortions. |
79 | - add Task::Weaken as dependency (as recommends only at this time). |
173 | - add Task::Weaken as dependency (as recommends only at this time). |
|
|
174 | - replace PF_UNSPEC by 0, for good old minix. |
80 | |
175 | |
81 | 6.0 (not officially released, but was on CPAN for about 15 minutes :/) |
176 | 6.0 (not officially released, but was on CPAN for about 15 minutes :/) |
82 | |
177 | |
83 | 5.34 Thu May 12 09:59:41 CEST 2011 |
178 | 5.34 Thu May 12 09:59:41 CEST 2011 |
84 | - AE::TLS didn't support both cert_file and key at the same time, |
179 | - AE::TLS didn't support both cert_file and key at the same time, |