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: use the eval-with-cb-call trick also to speed up JSON? |
|
|
6 | TODO: FAQ: common pitfalls? invoke-before-return |
|
|
7 | TODO: FAQ: scope-ids? hosts file order? |
|
|
8 | TODO: AnyEvent::Handle with AnyEvent::IO? |
4 | |
9 | |
5 | TOOD: stop internals abusing |
10 | - t/63* tests were wrongly in MANIFEST. |
|
|
11 | |
|
|
12 | 7.04 Thu Nov 15 02:23:58 CET 2012 |
|
|
13 | - debugging code left in. |
|
|
14 | |
|
|
15 | 7.03 Thu Nov 15 02:16:11 CET 2012 |
|
|
16 | - AnyEvent::Socket::inet_aton did not work when dns resolution was |
|
|
17 | used to find the addresses (analyzed and patch by Maxime Soulé). |
|
|
18 | - fix a memory leak in the /etc/hosts lookup code when hosts don't |
|
|
19 | resolve and are not in hosts (analyzed by sten). |
|
|
20 | |
|
|
21 | 7.02 Tue Aug 14 04:27:58 CEST 2012 |
|
|
22 | - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test |
|
|
23 | program by Yorhel). |
|
|
24 | - verified that AnyEvent::Socket follows RFC5952. |
|
|
25 | - try to parse "ADDR#PORT" in addition to "ADDR PORT". |
|
|
26 | |
|
|
27 | 7.01 Sun May 13 01:03:17 CEST 2012 |
|
|
28 | - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but |
|
|
29 | not available, instead of throwing an exception. |
|
|
30 | - use File::Spec to get the tmpdir in t/*, to avoid needless |
|
|
31 | failures on (most, not mine :) windows boxes. |
|
|
32 | - new handle read types: tls_detect and tls_autostart. |
|
|
33 | |
|
|
34 | 7.0 Fri Apr 13 06:33:30 CEST 2012 |
|
|
35 | - child watchers are broken in POE 1.352 (also many earlier |
|
|
36 | versions) and there seems to be no way to work around it, as POE |
|
|
37 | itself is inherently racy. Document this regression and add a delay |
|
|
38 | in t/68_poe_03_child.t for the time being. |
|
|
39 | - new module AnyEvent::IO, that is a frontend to either a pure-perl |
|
|
40 | synchronous I/O implementation (AnyEvent::IO::Perl), or to the |
|
|
41 | asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO). |
|
|
42 | - load /etc/hosts only when DNS has no answer. |
|
|
43 | - stat /etc/hosts on every access and reload it if it changed. |
|
|
44 | - load /etc/hosts via AnyEvent::IO - potentially asynchronous. |
|
|
45 | - fix a buggy croak in the dh parameter reading in AnyEvent::TLS. |
|
|
46 | - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As |
|
|
47 | a side effect, they now use true appending as opposed to libc |
|
|
48 | appending, and the file might not have been opened when the function |
|
|
49 | returns. |
|
|
50 | - the default logging level was not properly documented in a variety of |
|
|
51 | places, this has hopefully been rectified. |
|
|
52 | - updated uts46data.pl for unicode 6.1.0. |
|
|
53 | - made log messages generated by AnyEvent submodules not |
|
|
54 | include the package name anymore, as it will be logged |
|
|
55 | by default already. |
|
|
56 | - upgrade to the trick used by common-sense 3.5 to work |
|
|
57 | around extra warning torture/breakage under perl 5.15.x. |
|
|
58 | - log messages by anyevent are now ucfirst, are usually full |
|
|
59 | sentences and do no longer include the package name. |
|
|
60 | - the storable read type would sometimes throw an exception instead |
|
|
61 | of causing EBADMSG (analyzed by Maxime Soulé). |
|
|
62 | - work around a bug in openssl 1.0.1 which enforces a minimum rsa |
|
|
63 | keysize (reported by Paul Howarth). |
|
|
64 | - documented Rocco fabricating statements about AnyEvent and me. |
|
|
65 | |
|
|
66 | 6.14 Tue Jan 31 20:00:24 CET 2012 |
|
|
67 | - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside, |
|
|
68 | probably an editing mistake (reported by Darin McBride). |
|
|
69 | |
|
|
70 | 6.13 Thu Jan 12 07:27:01 CET 2012 |
|
|
71 | - AnyEvent::Util::fork_call checked for POSIX availability in the wrong way, |
|
|
72 | causing it to fail if POSIX wasn't loaded already (analysed by Rock Power). |
|
|
73 | - AnyEvent::Handle::push_read (line => did pass $1 directly, so |
|
|
74 | regex-matching inside the callback would change the parameter, despite |
|
|
75 | $1 being dynamically scoped per-block. this perl bug is now being |
|
|
76 | worked around (testcase by Cindy Wang). |
|
|
77 | |
|
|
78 | 6.12 Mon Dec 12 13:21:10 CET 2011 |
|
|
79 | - $! was clobbered by subsequent calls in tcp_connect, due to |
|
|
80 | the postpone not saving/restoring it (analyzed by Richard Garnish). |
|
|
81 | |
|
|
82 | 6.11 Tue Nov 22 10:36:05 CET 2011 |
|
|
83 | - Tk cannot create windows when tainted unless you set a title, so |
|
|
84 | set a dummy title for AnyEvent's dummy mainwindow. How dummy. |
|
|
85 | - escape any nonprintable/nonascii characters when stringifying |
|
|
86 | backtraces. |
|
|
87 | - log the reason loading an interface module fails to load at level debug. |
|
|
88 | |
|
|
89 | 6.1 Tue Oct 4 19:44:30 CEST 2011 |
6 | - INCOMPATIBLE CHANGE: the default log level is now "3" (critical |
90 | - INCOMPATIBLE CHANGE: the default log level is now "4" (error |
7 | and above), and some emssages inside AnyEvent have bene elevated |
91 | and above), and some messages inside AnyEvent have been elevated |
8 | to critical, so. |
92 | to higher log levels to print by default. |
|
|
93 | - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal. |
|
|
94 | - work around yet another signal race bug, newly introduced by POE. My |
|
|
95 | how that module sucks. |
9 | - add google public ipv6 dns as flalback servers, so AE::DNS can finally |
96 | - add google public ipv6 dns as fallback servers, so AE::DNS can finally |
10 | support ipv6-only operation even with defaults (also use ::1 instead |
97 | support ipv6-only operation even with defaults (also use ::1 instead |
11 | of 127.0.0.1). |
98 | of 127.0.0.1). |
12 | - give guidelines on how to chose a logging level. |
99 | - give better guidelines on how to chose a logging level. |
|
|
100 | - AnyEvent::Log can now cap (limit) log message priority by context. |
|
|
101 | - AE::log will now save and restore $! and $@, so callers don't have to. |
13 | - AE::Strict now checks that registered fds are still valid at regular |
102 | - AE::Strict now checks that registered fds are still valid at regular |
14 | intervals. |
103 | intervals. |
|
|
104 | - skip frequently called 'require' calls if the module appears loaded. |
15 | - increase signal latency test timer considerably for poor little osx. |
105 | - increase signal latency test timer considerably for poor little osx, |
|
|
106 | which can't be bothered with basic posix functionality such as signal |
|
|
107 | delivery. |
16 | - mention some debugging aids in the tutorial. |
108 | - mention some debugging aids in the tutorial. |
|
|
109 | - new env variable PERL_ANYEVENT_MAX_SIGNAL_LATENCY. |
|
|
110 | - private (%namespace) log contexts in PERL_ANYEVENT_LOG now have the name |
|
|
111 | of the context as title. |
|
|
112 | - AnyEvent::Strict would not restore read-write access to $_ when a callback |
|
|
113 | died - this is a user bug, but since AE::Strict exists to help dbeugging... |
|
|
114 | - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse |
|
|
115 | to work with it - the author is well aware of the issues but refuses |
|
|
116 | to fix them. This extreme step has been taken because the module actively |
|
|
117 | attacks the goals of AnyEvent and makes it harder for module authors to use |
|
|
118 | AnyEvent. |
17 | |
119 | |
18 | 6.02 Fri Aug 26 20:08:31 CEST 2011 |
120 | 6.02 Fri Aug 26 20:08:31 CEST 2011 |
19 | - log_to_syslog now accepts facility strings. |
121 | - log_to_syslog now accepts facility strings. |
20 | - log_to_syslog would not allow facilities - "$facility|$level" |
122 | - log_to_syslog would not allow facilities - "$facility|$level" |
21 | *literally* means that string. sheesh. |
123 | *literally* means that string. sheesh. |
… | |
… | |
51 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
153 | - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start |
52 | a debug shell. |
154 | a debug shell. |
53 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
155 | - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable |
54 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
156 | watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). |
55 | - new env variable, PERL_ANYEVENT_HOSTS, to override the place where |
157 | - new env variable, PERL_ANYEVENT_HOSTS, to override the place where |
56 | F</etc/hosts> can be found. |
158 | /etc/hosts can be found. |
57 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
159 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
58 | configuration. |
160 | configuration. |
59 | - env variables can now be specified using AE_xyz instead of |
161 | - env variables can now be specified using AE_xyz instead of |
60 | PERL_ANYEVENT_xyz, subject to some rules. |
162 | PERL_ANYEVENT_xyz, subject to some rules. |
61 | - lots of new AnyEvent::Debug functionality. |
163 | - lots of new AnyEvent::Debug functionality. |
62 | - AnyEvent::Strict now checks for modifications $_ by the callback |
164 | - AnyEvent::Strict now checks for modifications of $_ by the callback |
63 | (by setting it to readonly while executing the callback, if possible). |
165 | (by setting it to readonly while executing the callback, if possible). |
64 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
166 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
65 | Invest extra overhead to work around this peculiar behaviour. |
167 | Invest extra overhead to work around this peculiar behaviour. |
66 | - split the pure perl backend into a loop module and an impl |
168 | - split the pure perl backend into a loop module and an impl |
67 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
169 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |