1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
|
|
2 | |
|
|
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 | |
|
|
8 | TODO: redesign Impl |
|
|
9 | TODO: make ae::run mroe robust against eintr, Andrew Suffield |
|
|
10 | TODO: IO::Async sometimes cancels the wrong timer when you call cancel_timer -wait for IO::Async release. |
|
|
11 | - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include |
|
|
12 | the TTL as fourth element - this affects ->resolve directly, |
|
|
13 | and ->request and ->dns_unpack indirectly. Convenience functions |
|
|
14 | such as AnyEvent::DNS::{a,txt,mx,srv} are not affected. |
|
|
15 | - INCOMPATIBLE CHANGE: backend authors now should not implement |
|
|
16 | one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll |
|
|
17 | methods. |
|
|
18 | - DEPRECIATION: please change |
|
|
19 | "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and |
|
|
20 | "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" |
|
|
21 | in your programs, for future compatibility. |
|
|
22 | - *blush* idle watcher emulation was borked. |
|
|
23 | - querying too long domain names would barf deep inside AnyEvent::DNS - since |
|
|
24 | this is hard to avoid for applications, AnyEvent:.DNS::request now checks for |
|
|
25 | for too long domain names explicitly and passes an undef to the callback |
|
|
26 | instead (reported by James Bromberger). |
|
|
27 | - new function: AnyEvent::postpone. |
|
|
28 | - IO::Async sometimes cancels the wrong timer when you call cancel_timer. |
|
|
29 | Invest extra overhead to work around this peculiar behaviour. |
|
|
30 | - split the pure perl backend into a loop module and an impl |
|
|
31 | module (AnyEvent::Loop and AnyEvent::Impl::Perl). |
|
|
32 | - some read types (regex, netstring, json, storable) could |
|
|
33 | errornously keep an AE::Handle object alive on their own |
|
|
34 | (reported by Mohammad Toossi). |
|
|
35 | - add more workarounds around child watcher bugs in IO::Async |
|
|
36 | and (newly introduced) in POE. |
|
|
37 | - use glib child watchers and try to work around its limitations, |
|
|
38 | if possible (based on a patch by Kevin Ryde). |
|
|
39 | - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. |
|
|
40 | - many read types in AnyEvent::Handle would malfunction during |
|
|
41 | transitions to TLS because of a "delete $self->{rbuf}". |
|
|
42 | (reported by Gerald Galster). |
|
|
43 | - resolve AnyEvent::Util::guard at first-use-time, not at load time, |
|
|
44 | for further speed and memory savings when not used. |
|
|
45 | - improve condvar blocking wait performance (probably only noticable |
|
|
46 | with faster backends), also make it easier for event loops that |
|
|
47 | do not support blocking waits. |
|
|
48 | - PERL_ANYEVENT_MODEL now also allows full module names, although |
|
|
49 | the usefulness of this feature is not yet clear. |
|
|
50 | - add tests for all supported event loops, conditional on PERL_ANYEVENT_LOOP_TESTS. |
|
|
51 | - add t/80_ssltext.t. |
|
|
52 | |
|
|
53 | 5.34 Thu May 12 09:59:41 CEST 2011 |
|
|
54 | - AE::TLS didn't support both cert_file and key at the same time, |
|
|
55 | due to some copy&paste bug (reported and analyzed by vti). |
|
|
56 | - improve AE::Handle timeout documentation slightly. |
|
|
57 | |
|
|
58 | 5.33 Mon Feb 7 21:51:41 CET 2011 |
|
|
59 | - never appeared on CPAN, for unknown reasons. |
|
|
60 | - AnyEvent::Handle on_connect_error - do not try to destroy a handle |
|
|
61 | object when it's already gone (analyzed by Ryan Bullock). |
|
|
62 | - update idna algorithm(s) to UTS#46 version 6.0.0. |
|
|
63 | - preserve trailing dot in idn_to_ascii - testsuite says to preserve, |
|
|
64 | uts46 says it's an error, and testsuite makes more sense. |
|
|
65 | - remove leading dots in idn_to_ascii - testsuite says to remove, |
|
|
66 | uts46 says it's an error, and testsuite makes more sense. |
|
|
67 | - fixed a bug in idn ignored character processing. |
|
|
68 | - passes the uts46 6.0.0 testsuite except for three cases which |
|
|
69 | apparently are bugs in the testsuite itself. |
|
|
70 | - passes the uts46 6.0.1 testsuite except for eleven cases which |
|
|
71 | apparently are bugs in the testsuite itself. |
|
|
72 | |
|
|
73 | 5.31 Sun Jan 23 11:49:19 CET 2011 |
|
|
74 | - work around a POE bug where POE would first poll for new events and |
|
|
75 | invoke handlers BEFORE handling the message queue. |
|
|
76 | - fix parsing of "domain" statement in resolv.conf (Johannes Plunien). |
|
|
77 | - stop_read now does just that in TLS mode. see its |
|
|
78 | documentation for caveats. |
|
|
79 | - update to common::sense 3.4 warning set (some warnings in perl impose |
|
|
80 | an arbitrary 32kb limit on regex matches, which affects |
|
|
81 | AnyEvent::Handle). |
|
|
82 | - AE::Handle had a broken rbuf_max method and missing wbuf_max method. |
|
|
83 | - new experimental AE::Handle::resettls method. |
|
|
84 | |
|
|
85 | 5.3 Fri Dec 31 05:48:13 CET 2010 |
|
|
86 | - major IOAsync patch by Paul Evans - 0.33 is required, as the major |
|
|
87 | issues with IO::Async have been solved in that version, including |
|
|
88 | the availabilty of a default loop! |
|
|
89 | - implement new wbuf_max parameter for AnyEvent::Handle. |
|
|
90 | - added Cocoa::EventLoop backend by Daisuke Murase. |
|
|
91 | - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans). |
|
|
92 | - clarify handle on_prepare documentation. |
|
|
93 | - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd, |
|
|
94 | to avoid leaking them to any child processes. |
|
|
95 | - try to force files into the arch-dependend lib directory, for the |
|
|
96 | half-"turly obsessive compulsive person"(s) that depend on it. |
|
|
97 | |
|
|
98 | 5.29 Sun Dec 5 10:49:21 CET 2010 |
|
|
99 | - convert EV backend to EV 4.00 API (so better upgrade EV too). |
|
|
100 | - AE::Handle: implement dynamic read_size adjustment, add |
|
|
101 | max_read_size parameter, reduce default read_size to 2048. |
|
|
102 | - add some FAQ entries for servers and/or on_eof vs. on_error. |
|
|
103 | - work around OS bugs (cygwin again) when lingering in AE::Handle. |
|
|
104 | - reduce memory usage slightly when connect was used in AE::Handle. |
|
|
105 | - wrok around more segfaults in Tk. |
|
|
106 | - document tls_ctx => undef as valid. |
|
|
107 | - detect WNOHANG value at compiletime. |
|
|
108 | - include some probably linux-only support for building AnyEvent |
|
|
109 | as part of the perl core. |
|
|
110 | - improve compatibility of t/08_idna.t to perl 5.8. |
|
|
111 | - make AnyEvent::Strict truly optional (in case somebody builds a |
|
|
112 | minimal perl...). |
|
|
113 | |
|
|
114 | 5.28 Wed Oct 13 04:14:23 CEST 2010 |
|
|
115 | - due to a glitch, AnyEvent's internal getprotobyname wasn't |
|
|
116 | actually used in tcp_server. |
|
|
117 | - implement AnyEvent::CondVar->new method, which was documented but |
|
|
118 | missing. |
|
|
119 | - support autoloading of read types in unshift_read. |
|
|
120 | - AnyEvent::Strict: do the test for invalid fh arguments differently, |
|
|
121 | resulting in more informative error messages. |
|
|
122 | - new AnyEvent::FAQ manpage. |
|
|
123 | - clarify that you can actually call push_read etc. in on_read. |
|
|
124 | - put keys and certs in /tmp, not into the current directory, |
|
|
125 | and document this in the SECURITY CONSIDERATIONS sections |
|
|
126 | of AnyEvent::TLS. |
|
|
127 | - support ";" as resolv.conf comment character in AnyEvent::DNS, as |
|
|
128 | requested by Ron Isaacson. |
|
|
129 | - document $AnyEvent::DNS::RESOLVER variable. |
|
|
130 | - incorporated major typo patches by Abhijit Menon-Sen. |
|
|
131 | - AnyEvent::Handle now croaks when negative timeouts are passed. |
|
|
132 | - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util, |
|
|
133 | undocumented, but who knows when they might come in handy. |
|
|
134 | |
|
|
135 | 5.271 Tue Jun 8 12:05:46 CEST 2010 |
|
|
136 | - backport to perl 5.8.x. |
|
|
137 | |
|
|
138 | 5.27 Sun Jun 6 12:12:05 CEST 2010 |
|
|
139 | - postpone differently in AnyEvent::Socket now, as |
|
|
140 | when not, canceling the connection attempt might fail |
|
|
141 | (found by Felix Antonius Wilhelm Ostmann). |
|
|
142 | - explicitly check for non-stream sockets in AE::Handle, too many |
|
|
143 | clueless people fell into the trap of this somehow working. |
|
|
144 | - simplified and reworked the "OTHER MODULES" section. |
|
|
145 | - better/more condvar examples. |
|
|
146 | |
|
|
147 | 5.261 Wed Apr 28 16:13:36 CEST 2010 |
|
|
148 | - AF_INET6 was not properly used from Socket6 during configuration |
|
|
149 | time (found by Andy Grundman). |
|
|
150 | |
|
|
151 | 5.26 Mon Apr 12 04:49:35 CEST 2010 |
|
|
152 | - don't generate spurious readyness notifications when select |
|
|
153 | returns EINTR in the pure perl backend (analysed and testcase |
|
|
154 | by Bas Denissen). |
|
|
155 | - give same examples in SYNOPSIS sections of AnyEvent and AE. |
|
|
156 | - provider faster implementations for AE::time/now/now_update for |
|
|
157 | EV and Perl backends. |
|
|
158 | - provide faster AE::cv and AE::time implementations for all |
|
|
159 | backends. |
|
|
160 | - no longer support lower/mixed-case signal names (this was |
|
|
161 | never documented nor universally supported). |
|
|
162 | - some more memory ยต-optimisations, and somewhat less messy |
|
|
163 | code to cope with both AnyEvent and AE APIs. |
|
|
164 | |
|
|
165 | 5.251 Sat Mar 13 00:58:21 CET 2010 |
|
|
166 | - make test failed if it was run before make install on perl <= |
|
|
167 | 5.8.8, and older versions of perl make our live very difficult, |
|
|
168 | so write constants.pl during Makefile.PL time. |
2 | |
169 | |
3 | 5.25 Sat Mar 13 00:23:14 CET 2010 |
170 | 5.25 Sat Mar 13 00:23:14 CET 2010 |
4 | - fix a race condition in AnyEvent::Handle that would cause |
171 | - fix a race condition in AnyEvent::Handle that would cause |
5 | a "bio_read: unsupported method" error (in _another_ |
172 | a "bio_read: unsupported method" error (in _another_ |
6 | ssl connection) after user code threw an exception. |
173 | ssl connection) after user code threw an exception. |
… | |
… | |
14 | - do not load Fcntl at runtime, saving memory and loading time. |
181 | - do not load Fcntl at runtime, saving memory and loading time. |
15 | - precompile a number of constants and use them instead of runtime |
182 | - precompile a number of constants and use them instead of runtime |
16 | detection and eval. |
183 | detection and eval. |
17 | - free detection code after detection and similar memory optimisations. |
184 | - free detection code after detection and similar memory optimisations. |
18 | - Perl backend timer interval best effort drift has been improved |
185 | - Perl backend timer interval best effort drift has been improved |
19 | (ame algorithm as EV). |
186 | (same algorithm as EV). |
20 | - update unicode idna mapping table. |
187 | - update unicode idna mapping table. |
21 | |
188 | |
22 | 5.24 Tue Jan 5 11:39:43 CET 2010 |
189 | 5.24 Tue Jan 5 11:39:43 CET 2010 |
23 | - cygwin never reports errors from failed connects. 1.5 just gives |
190 | - cygwin never reports errors from failed connects. 1.5 just gives |
24 | you continous readyness and EAGAIN, 1.7 is even more broken and |
191 | you continous readyness and EAGAIN, 1.7 is even more broken and |
… | |
… | |
401 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
568 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
402 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
569 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
403 | unless one has been installed already. |
570 | unless one has been installed already. |
404 | - warn about not loaidng AnyEvent::Impl::POE early enough |
571 | - warn about not loaidng AnyEvent::Impl::POE early enough |
405 | (patch by Adam Rosenstein). |
572 | (patch by Adam Rosenstein). |
406 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
573 | - fixed a great number of bugs and corner cases in AnyEvent::Handle. |
407 | - fix a bug in where in SSL connect mode, the |
574 | - fix a bug in where in SSL connect mode, the |
408 | client would first wait for some data by the server and |
575 | client would first wait for some data by the server and |
409 | otherwise hang. (reported and analysed in an absolutely |
576 | otherwise hang. (reported and analysed in an absolutely |
410 | exemplary manner by Adam Rosenstein). |
577 | exemplary manner by Adam Rosenstein). |
411 | - fix a bug in where SSL EOF would not be treated |
578 | - fix a bug in where SSL EOF would not be treated |