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 | |
|
|
5 | TODO: log message level redistribute? |
|
|
6 | TOOD: stop internals abusing |
|
|
7 | TODO: AE::logger |
|
|
8 | TODO: add debug/trace logging to some modules |
4 | TODO: add debug/trace logging to some modules |
9 | TODO: poe child watcher hang? |
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? |
|
|
9 | TODO: invalid. and localhost. specialcasing inside AEDNS and not AESocket (rfc6761) |
|
|
10 | TODO: maybe implement env variable to give hosts precedence |
|
|
11 | TODO: hosts always read? that's not expected |
|
|
12 | TODO: more formats for parse_ipv6 (single ipv6 address without port, ...p80, ...#80) |
|
|
13 | |
|
|
14 | - new function AnyEvent::Socket::tcp_bind. |
|
|
15 | - new functions AnyEvent::fh_block and AnyEvent::fh_unblock. |
|
|
16 | - aligned ipv6 address formatting with RFC 5952 (by not shortening |
|
|
17 | a single :0: to ::). |
|
|
18 | - added stability canary support. |
|
|
19 | |
|
|
20 | 7.09 Sat May 2 16:38:53 CEST 2015 |
|
|
21 | - AnyEvent::Debug called an internal function (AnyEvent::Log::ft) |
|
|
22 | that was renamed to AnyEvent::Log:format_time. uinder its old name |
|
|
23 | (analyzed by Michael Stovenour). |
|
|
24 | - update AnyEvent::DNS fallback resolver addresses: |
|
|
25 | seems google effectively killed most other free dns resolvers, |
|
|
26 | so remove them, but add cable and wireless (ecrc) since it was |
|
|
27 | stable for 20 years or so, official or not, and there should be |
|
|
28 | an alternative to google. |
|
|
29 | - perl5porters broke windows error codes in 5.20, and mapped |
|
|
30 | WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and |
|
|
31 | WSAEINPROGRESS into the incompatible ERINPROGRESS code, probably |
|
|
32 | because they were so cool. They probably broke other error codes |
|
|
33 | for no reason, too, but I didn't care for checking, it's too |
|
|
34 | depressing. This version only works around the WSAEWOULDBLOCK |
|
|
35 | issue, because I don't have a nice way to work around the |
|
|
36 | WSAEINPROGRESS bug. |
|
|
37 | |
|
|
38 | 7.08 Wed Dec 10 05:27:17 CET 2014 |
|
|
39 | - work around a newly introduced bug in Socket 2.011 (an |
|
|
40 | errornous sun_length check) (analyzed by Maxime Soulé). |
|
|
41 | - AnyEvent::TLS didn't load (but refer to) AnyEvent::Socket |
|
|
42 | (analyzed by Ben Magistro). |
|
|
43 | - AnyEvent::Strict will now confess, not croak. This is in line with |
|
|
44 | it being a development/debugging tool. |
|
|
45 | - work around a number of libglib bugs (debug builds of libglib enforce |
|
|
46 | certain undocumented behaviour patterns such as not being able to |
|
|
47 | remove a child watch source after it has fired, which we will try |
|
|
48 | to emulate to avoid "criticals". what where they thinking...). |
|
|
49 | - mention json security issues in AnyEvent::Handle, now that Douglas |
|
|
50 | Crockford has foolishly and incompatibly changed JSON. |
|
|
51 | - changed default dns resolver "max_outstanding" value from 1 to 10, |
|
|
52 | the latter beinfg the intended value all along |
|
|
53 | (reported by Ilya Chesnokov). |
|
|
54 | - added new "AnyEvent::Impl::UV" interface module to the UV event lib |
|
|
55 | (written by Mike Lowell). |
|
|
56 | |
|
|
57 | 7.07 Tue Dec 17 17:45:02 CET 2013 |
|
|
58 | - the documentation for custom tls verify schemes was wrong. make it agree |
|
|
59 | with the code (reported by Maxime Soulé). |
|
|
60 | - added cbor read and write types to AnyEvent::Handle (using CBOR::XS). |
|
|
61 | - work around an API change in openssl that could cause wrong tls connection |
|
|
62 | aborts, likely on windows only (analyzed by sten). |
|
|
63 | - calling AnyEvent->now_update with AnyEvent::Impl::Perl caused an |
|
|
64 | endless loop (reported by Dietrich Rebmann). |
|
|
65 | - add tlsv1_1 and tlsv1_2 protocols to AnyEvent::TLS |
|
|
66 | (patch by Maxime Soulé). |
|
|
67 | - document AnyEvent::Impl::IOAsync::set_loop and |
|
|
68 | $AnyEvent::Impl::IOAsync::LOOP. Though only documented now, this |
|
|
69 | functionality has _always_ been available. |
|
|
70 | - force a toplevel domain name in t/81_hosts.t (analyzed by |
|
|
71 | David Jack Wange Olrik). |
|
|
72 | - document that AnyEvent::Log uses AnyEvent::IO. |
|
|
73 | - warn about AnyEvent::Filesys::Notify performance. |
|
|
74 | - praise the joys of AnyEvent::Fork::*. |
|
|
75 | - time for an =encoding directive. |
|
|
76 | - do no longer use JSON to create a default json coder, use |
|
|
77 | JSON::XS or JSON::PP directly. |
|
|
78 | |
|
|
79 | 7.05 Wed Aug 21 10:38:08 CEST 2013 |
|
|
80 | - uts46data.pl couldn't be found due to wrong naming of the file |
|
|
81 | (reported by Fulko Hew). |
|
|
82 | - handle lone \015's properly in AE::Handle's default line read |
|
|
83 | (reported by various people). |
|
|
84 | - untaint ip addresses found in /etc/hosts (patch by José Micó). |
|
|
85 | - the memleak fix in 7.03 caused resolving via /etc/hosts to always |
|
|
86 | fail on first use (reported and testcase by Andrew Whatson). |
|
|
87 | - expose AnyEvent::Log::format_time, and allow users to redefine it. |
|
|
88 | - expose AnyEvent::Log::default_format, and allow redefinition. |
|
|
89 | - expose AnyEvent::Log::fatal_exit, to allow redefinition. |
|
|
90 | - AnyEvent::Debug shell can now run coro shell commands, if available. |
|
|
91 | - t/63* tests were wrongly in MANIFEST. |
|
|
92 | - kernel.org's finger server went MIA, switch to freebsd.org and |
|
|
93 | icculus.org. |
|
|
94 | - clarify that IO::AIO and AnyEvent::AIO are needed for AnyEvent::IO |
|
|
95 | to function asynchronously (reported by Daniel Carosone). |
|
|
96 | - hard-disable $^W in most tests, it generates too much garbage output. |
|
|
97 | - use a (hopefully) more future-proof method to emulate common::sense. |
|
|
98 | - upgrade to UTS-46:6.2.0. |
|
|
99 | - switch to INSTLIB from INSTLIBDIR, as INSTLIBDIR was wrongly |
|
|
100 | documented. should not affect anything. |
|
|
101 | |
|
|
102 | 7.04 Thu Nov 15 02:23:58 CET 2012 |
|
|
103 | - debugging code left in. |
|
|
104 | |
|
|
105 | 7.03 Thu Nov 15 02:16:11 CET 2012 |
|
|
106 | - AnyEvent::Socket::inet_aton did not work when dns resolution was |
|
|
107 | used to find the addresses (analyzed and patch by Maxime Soulé). |
|
|
108 | - fix a memory leak in the /etc/hosts lookup code when hosts don't |
|
|
109 | resolve and are not in hosts (analyzed by sten). |
|
|
110 | |
|
|
111 | 7.02 Tue Aug 14 04:27:58 CEST 2012 |
|
|
112 | - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test |
|
|
113 | program by Yorhel). |
|
|
114 | - verified that AnyEvent::Socket follows RFC5952. |
|
|
115 | - try to parse "ADDR#PORT" in addition to "ADDR PORT". |
|
|
116 | |
|
|
117 | 7.01 Sun May 13 01:03:17 CEST 2012 |
|
|
118 | - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but |
|
|
119 | not available, instead of throwing an exception. |
|
|
120 | - use File::Spec to get the tmpdir in t/*, to avoid needless |
|
|
121 | failures on (most, not mine :) windows boxes. |
|
|
122 | - new handle read types: tls_detect and tls_autostart. |
|
|
123 | |
|
|
124 | 7.0 Fri Apr 13 06:33:30 CEST 2012 |
|
|
125 | - child watchers are broken in POE 1.352 (also many earlier |
|
|
126 | versions) and there seems to be no way to work around it, as POE |
|
|
127 | itself is inherently racy. Document this regression and add a delay |
|
|
128 | in t/68_poe_03_child.t for the time being. |
|
|
129 | - new module AnyEvent::IO, that is a frontend to either a pure-perl |
|
|
130 | synchronous I/O implementation (AnyEvent::IO::Perl), or to the |
|
|
131 | asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO). |
|
|
132 | - load /etc/hosts only when DNS has no answer. |
|
|
133 | - stat /etc/hosts on every access and reload it if it changed. |
|
|
134 | - load /etc/hosts via AnyEvent::IO - potentially asynchronous. |
|
|
135 | - fix a buggy croak in the dh parameter reading in AnyEvent::TLS. |
|
|
136 | - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As |
|
|
137 | a side effect, they now use true appending as opposed to libc |
|
|
138 | appending, and the file might not have been opened when the function |
|
|
139 | returns. |
|
|
140 | - the default logging level was not properly documented in a variety of |
|
|
141 | places, this has hopefully been rectified. |
|
|
142 | - updated uts46data.pl for unicode 6.1.0. |
|
|
143 | - made log messages generated by AnyEvent submodules not |
|
|
144 | include the package name anymore, as it will be logged |
|
|
145 | by default already. |
|
|
146 | - upgrade to the trick used by common-sense 3.5 to work |
|
|
147 | around extra warning torture/breakage under perl 5.15.x. |
|
|
148 | - log messages by anyevent are now ucfirst, are usually full |
|
|
149 | sentences and do no longer include the package name. |
|
|
150 | - the storable read type would sometimes throw an exception instead |
|
|
151 | of causing EBADMSG (analyzed by Maxime Soulé). |
|
|
152 | - work around a bug in openssl 1.0.1 which enforces a minimum rsa |
|
|
153 | keysize (reported by Paul Howarth). |
|
|
154 | - documented Rocco fabricating statements about AnyEvent and me. |
|
|
155 | |
|
|
156 | 6.14 Tue Jan 31 20:00:24 CET 2012 |
|
|
157 | - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside, |
|
|
158 | probably an editing mistake (reported by Darin McBride). |
|
|
159 | |
|
|
160 | 6.13 Thu Jan 12 07:27:01 CET 2012 |
|
|
161 | - AnyEvent::Util::fork_call checked for POSIX availability in the wrong way, |
|
|
162 | causing it to fail if POSIX wasn't loaded already (analysed by Rock Power). |
|
|
163 | - AnyEvent::Handle::push_read (line => did pass $1 directly, so |
|
|
164 | regex-matching inside the callback would change the parameter, despite |
|
|
165 | $1 being dynamically scoped per-block. this perl bug is now being |
|
|
166 | worked around (testcase by Cindy Wang). |
|
|
167 | |
|
|
168 | 6.12 Mon Dec 12 13:21:10 CET 2011 |
|
|
169 | - $! was clobbered by subsequent calls in tcp_connect, due to |
|
|
170 | the postpone not saving/restoring it (analyzed by Richard Garnish). |
|
|
171 | |
|
|
172 | 6.11 Tue Nov 22 10:36:05 CET 2011 |
|
|
173 | - Tk cannot create windows when tainted unless you set a title, so |
|
|
174 | set a dummy title for AnyEvent's dummy mainwindow. How dummy. |
|
|
175 | - escape any nonprintable/nonascii characters when stringifying |
|
|
176 | backtraces. |
|
|
177 | - log the reason loading an interface module fails to load at level debug. |
|
|
178 | |
|
|
179 | 6.1 Tue Oct 4 19:44:30 CEST 2011 |
10 | - INCOMPATIBLE CHANGE: the default log level is now "4" (error |
180 | - INCOMPATIBLE CHANGE: the default log level is now "4" (error |
11 | and above), and some messages inside AnyEvent have been elevated |
181 | and above), and some messages inside AnyEvent have been elevated |
12 | to higher log levels to print by default. |
182 | to higher log levels to print by default. |
13 | - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal. |
183 | - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal. |
|
|
184 | - work around yet another signal race bug, newly introduced by POE. My |
|
|
185 | how that module sucks. |
14 | - add google public ipv6 dns as fallback servers, so AE::DNS can finally |
186 | - 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 |
187 | support ipv6-only operation even with defaults (also use ::1 instead |
16 | of 127.0.0.1). |
188 | of 127.0.0.1). |
17 | - give better guidelines on how to chose a logging level. |
189 | - give better guidelines on how to chose a logging level. |
|
|
190 | - AnyEvent::Log can now cap (limit) log message priority by context. |
|
|
191 | - AE::log will now save and restore $! and $@, so callers don't have to. |
18 | - AE::Strict now checks that registered fds are still valid at regular |
192 | - AE::Strict now checks that registered fds are still valid at regular |
19 | intervals. |
193 | intervals. |
20 | - skip frequently called 'require' calls if the module appears loaded. |
194 | - skip frequently called 'require' calls if the module appears loaded. |
21 | - increase signal latency test timer considerably for poor little osx. |
195 | - increase signal latency test timer considerably for poor little osx, |
|
|
196 | which can't be bothered with basic posix functionality such as signal |
|
|
197 | delivery. |
22 | - mention some debugging aids in the tutorial. |
198 | - mention some debugging aids in the tutorial. |
|
|
199 | - new env variable PERL_ANYEVENT_MAX_SIGNAL_LATENCY. |
|
|
200 | - private (%namespace) log contexts in PERL_ANYEVENT_LOG now have the name |
|
|
201 | of the context as title. |
|
|
202 | - AnyEvent::Strict would not restore read-write access to $_ when a callback |
|
|
203 | died - this is a user bug, but since AE::Strict exists to help dbeugging... |
|
|
204 | - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse |
|
|
205 | to work with it - the author is well aware of the issues but refuses |
|
|
206 | to fix them. This extreme step has been taken because the module actively |
|
|
207 | attacks the goals of AnyEvent and makes it harder for module authors to use |
|
|
208 | AnyEvent. |
23 | |
209 | |
24 | 6.02 Fri Aug 26 20:08:31 CEST 2011 |
210 | 6.02 Fri Aug 26 20:08:31 CEST 2011 |
25 | - log_to_syslog now accepts facility strings. |
211 | - log_to_syslog now accepts facility strings. |
26 | - log_to_syslog would not allow facilities - "$facility|$level" |
212 | - log_to_syslog would not allow facilities - "$facility|$level" |
27 | *literally* means that string. sheesh. |
213 | *literally* means that string. sheesh. |
… | |
… | |
63 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
249 | - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default |
64 | configuration. |
250 | configuration. |
65 | - env variables can now be specified using AE_xyz instead of |
251 | - env variables can now be specified using AE_xyz instead of |
66 | PERL_ANYEVENT_xyz, subject to some rules. |
252 | PERL_ANYEVENT_xyz, subject to some rules. |
67 | - lots of new AnyEvent::Debug functionality. |
253 | - lots of new AnyEvent::Debug functionality. |
68 | - AnyEvent::Strict now checks for modifications $_ by the callback |
254 | - AnyEvent::Strict now checks for modifications of $_ by the callback |
69 | (by setting it to readonly while executing the callback, if possible). |
255 | (by setting it to readonly while executing the callback, if possible). |
70 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
256 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
71 | Invest extra overhead to work around this peculiar behaviour. |
257 | Invest extra overhead to work around this peculiar behaviour. |
72 | - split the pure perl backend into a loop module and an impl |
258 | - split the pure perl backend into a loop module and an impl |
73 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
259 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
… | |
… | |
487 | in the common case. |
673 | in the common case. |
488 | - add AnyEvent::Handle->push_shutdown method. |
674 | - add AnyEvent::Handle->push_shutdown method. |
489 | - add an additional error message parameter to AnyEvent::Handle's |
675 | - add an additional error message parameter to AnyEvent::Handle's |
490 | on_error callback (for TLS, $! is still available). |
676 | on_error callback (for TLS, $! is still available). |
491 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
677 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
492 | - make AnyEvent::Handle more robust against early conenction |
678 | - make AnyEvent::Handle more robust against early connection |
493 | failures (during new), and return C<undef> in that case |
679 | failures (during new), and return C<undef> in that case |
494 | from the constructor. |
680 | from the constructor. |
495 | - AnyEvent::Handle will now try to load only JSON::XS first, |
681 | - AnyEvent::Handle will now try to load only JSON::XS first, |
496 | then fall back to JSON. |
682 | then fall back to JSON. |
497 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |
683 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |