1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | TODO: Event seems to have some racy signal handling. |
3 | - speed up AnyEvent::Socket::format_address and ::format_ipv6. |
|
|
4 | - the AnyEvent::Util::fh_nonblocking function worked only |
|
|
5 | by lucky accident on win32. |
|
|
6 | - smaller and faster AnyEvent::Util::fh_nonblocking. |
|
|
7 | - when the (required!) Time::HiRes module is missing, AnyEvent |
|
|
8 | did not fall back to built-in time properly. |
|
|
9 | - free detection code after detection and other memory optimisations. |
4 | |
10 | |
|
|
11 | 5.24 Tue Jan 5 11:39:43 CET 2010 |
|
|
12 | - cygwin never reports errors from failed connects. 1.5 just gives |
|
|
13 | you continous readyness and EAGAIN, 1.7 is even more broken and |
|
|
14 | just hangs. work around both issues in a cygwin-specific hack. |
|
|
15 | - improve idle watcher documentation slightly. |
|
|
16 | |
|
|
17 | 5.23 Sun Dec 20 23:48:00 CET 2009 |
|
|
18 | - support IDNs in resolve_sockaddr, and therefore in tcp_connect. |
|
|
19 | - implement punycode_encode/decode, idn_nameprep, |
|
|
20 | idn_to_ascii and idn_to_unicode operations in AnyEvent::Util. |
|
|
21 | - provide $AE::VERSION. |
|
|
22 | - removed traces of "no strict 'refs'". |
|
|
23 | |
|
|
24 | 5.22 Sat Dec 5 03:51:13 CET 2009 |
|
|
25 | - downgrade-or-fail in AnyEvent::Handle::push_write, to |
|
|
26 | diagnose encoding failures earlier and more succinctly. |
|
|
27 | (this works around bugs in perl, throwing away encoding info |
|
|
28 | when passing scalar data to extensions). |
|
|
29 | - add more examples to AnyEvent::Socket manpage. |
|
|
30 | - upgrade internal warning set to the same as common::sense 2.03. |
|
|
31 | - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS |
|
|
32 | (John Beppu). |
|
|
33 | - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented. |
|
|
34 | - add google public dns servers to fallback server set and make sure |
|
|
35 | we load-balance properly between the three sets. also add all |
|
|
36 | fallback dns servers, not just a random one, to each dns config. |
|
|
37 | |
|
|
38 | 5.21 Thu Nov 19 02:48:47 CET 2009 |
|
|
39 | - fix a problem where socket constants were called with parameters |
|
|
40 | (spotted by David Friedland). |
|
|
41 | - fork_call never use'd POSIX (reported by Daisuke Maki). |
|
|
42 | - improve perl 5.6 compatibility further (but it still won't work |
|
|
43 | unless you rip out everything but the core). |
|
|
44 | - prefer Net::DNS::Resolver over ipconfig, if installed, on win32. |
|
|
45 | uses 10MB of RAM, but doesn't open a console window. *sigh*. |
|
|
46 | |
|
|
47 | 5.202 Wed Oct 14 22:35:44 CEST 2009 |
|
|
48 | - AnyEvent::DNS would unexpectedly clobber $_ under windows |
|
|
49 | (analysed by Matthias Waldorf). |
|
|
50 | - AnyEvent::Handle::run_cmd can now pass the PID of the |
|
|
51 | newly-created process, which is much less useful than it might |
|
|
52 | sound (based on patch by Yann Kerherve). |
|
|
53 | |
|
|
54 | 5.201 Tue Sep 29 12:09:25 CEST 2009 |
|
|
55 | - AnyEvent:Handle::on_starttls/on_stoptls methods were broken |
|
|
56 | (reported by Torsten Foertsch). |
|
|
57 | - common::sense 2.0 could cause tcp_server to throw an exception |
|
|
58 | (analysed by elmex). |
|
|
59 | |
|
|
60 | 5.2 Mon Sep 14 07:04:49 CEST 2009 |
|
|
61 | - INCOMPATIBLE CHANGE: do no longer support register_read_type |
|
|
62 | and register_write_type in AnyEvent::Handle, instead support |
|
|
63 | package names (the facility was mostly abused). |
|
|
64 | - implement "packagename-as-read/write type" support in |
|
|
65 | AnyEvent::Handle. |
|
|
66 | - AnyEvent::Handle: new options "keepalive" and "oobinline". |
|
|
67 | - oobinline set by default to avoid security issues. |
|
|
68 | - the pure-perl event loop backend wrongly detected times() fallback |
|
|
69 | support (spotted by Pavel Boldin). |
|
|
70 | |
|
|
71 | 5.12 Tue Sep 1 20:26:50 CEST 2009 |
|
|
72 | - be more lenient when parsing resolv.conf files, as some people |
|
|
73 | use hashmarks as comment indicator inside directives (reported |
|
|
74 | by Michael S. Fischer). |
|
|
75 | - use same set of warnings as common::sense 2.0. |
|
|
76 | - fix a potential 32 bit overflow issue due to perl having problems |
|
|
77 | with large hex constants in the Perl backend. |
|
|
78 | - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS |
|
|
79 | by default. |
|
|
80 | - fix some prototypes. |
|
|
81 | - (optionally) require Async::Interrupt 1.02. |
|
|
82 | - replace opendns fallbacks by verizon/level3 public dns servers. |
|
|
83 | |
|
|
84 | 5.112 Fri Aug 21 13:59:04 CEST 2009 |
|
|
85 | - AnyEvent::Handle could cause hard crashes in Net::SSLeay when |
|
|
86 | using starttls with an illegal/uncreatable tls context. |
|
|
87 | - port to broken win32 perls. |
|
|
88 | |
|
|
89 | 5.111 Sun Aug 16 18:44:36 CEST 2009 |
|
|
90 | - perl errornously requires sockaddr_un structures returned by the |
|
|
91 | kernel to have a specific length. work around this bug by padding |
|
|
92 | sockaddr_un structures (found to fail on OS X, as perl only uses |
|
|
93 | the correct code for GNU/Linux, but likely to fail on other |
|
|
94 | OSes as well). |
|
|
95 | |
|
|
96 | 5.11 Wed Aug 12 17:49:37 CEST 2009 |
|
|
97 | - fixed a bug in run_cmd with input from filename. |
|
|
98 | - create a json coder object when none is given in write direction |
|
|
99 | to reduce dependency on JSON. |
|
|
100 | |
|
|
101 | 5.1 Tue Aug 11 03:17:32 CEST 2009 |
|
|
102 | - tcp_connect now reports the correct error in $!, not an unrelated |
|
|
103 | one (was broken since 4.91). |
|
|
104 | - AE::Handle did not properly clear rtimeout/wtimeout watchers |
|
|
105 | when retrying a tcp_connect. |
|
|
106 | - new functions: AnyEvent::Util::run_cmd and close_all_fds_except. |
|
|
107 | - fixed wrong documentation in AE::Socket. |
|
|
108 | |
|
|
109 | 5.01 Mon Aug 10 03:16:32 CEST 2009 |
|
|
110 | - last release broke EV child watchers :/. |
|
|
111 | |
|
|
112 | 5.0 Sun Aug 9 17:32:09 CEST 2009 |
|
|
113 | - officially introduce and document the AE API. |
|
|
114 | - lowering the timeout at runtime did not have immediate effect |
|
|
115 | in AnyEvent::Handle. |
|
|
116 | - AE::Handle now has separate and independent read and write timeout |
|
|
117 | settings. |
|
|
118 | - probe for Guard module when AnyEvent::Util is loaded, not at |
|
|
119 | runtime (Event doesn't like eval "use" from callbacks, and it avoids |
|
|
120 | exporting the probe function). |
|
|
121 | - Impl::IOAsync's io watchers did not use the filehandle emulation |
|
|
122 | code to work around it's watcher limits. |
|
|
123 | - work around IO::Async's problems with overloaded objects. |
|
|
124 | - try to disable wearnings inside IO::Async, it's just too buggy. |
|
|
125 | - do no longer use Event by default, only EV or Perl, Event is too buggy. |
|
|
126 | - hackishly provide fast AE:: interface when EV or Perl is the backend. |
|
|
127 | - inherit VERSION from AnyEvent::VERSION in most modules. |
|
|
128 | |
|
|
129 | 4.91 Thu Aug 6 15:42:45 CEST 2009 |
|
|
130 | - AE::Handle::starttls could get out of sync when the read buffer |
|
|
131 | already contains some TLS handshake. |
|
|
132 | - AE::Handle did not properly free the TLS session, causing bigger |
|
|
133 | memory leaks in Net::SSLeay than expected (reported by toaster). |
|
|
134 | - AE::Socket::tcp_connect will now artificially delay invoking |
|
|
135 | the callback to avoid returning after invoking the callback. |
|
|
136 | - convert many internal watcher uses to AE API. |
|
|
137 | |
|
|
138 | 4.9 Sat Aug 1 11:07:01 CEST 2009 |
|
|
139 | - Glib silently fails when registering a timeout with |
|
|
140 | a negative value, so avoid that. |
|
|
141 | - call condvar callback immediately when it is set |
|
|
142 | after the condition is already signalled. |
|
|
143 | - check rbuf_max condition only after trying to consume |
|
|
144 | data. |
|
|
145 | - normalise signal numbers to names when using the ae's |
|
|
146 | signal handling, but do not document this (yet). |
|
|
147 | - pure perl signal emulation did not properly set nonblocking |
|
|
148 | mode on the signal pipe on win32 (this is unlikely to have caused |
|
|
149 | any issues). |
|
|
150 | - new module: AnyEvent::Debug. |
|
|
151 | - AnyEvent::Strict now checks that a signal was specified |
|
|
152 | by name (not name or number). |
|
|
153 | - reduce memory footprint in typical cases by ~50kb by |
|
|
154 | only compiling signal code when necessary. |
|
|
155 | - add AnyEvent::Handle->rbuf_max. |
|
|
156 | - grab the AE namespace for future new API, implement stubs for |
|
|
157 | said future/alternative API. |
|
|
158 | - new function: AnyEvent::Socket::format_hostport. |
|
|
159 | |
|
|
160 | 4.881 Tue Jul 28 12:51:53 CEST 2009 |
|
|
161 | - work around a bug in local in pre-5.10 perls, causing |
|
|
162 | AnyEvent::Handle to recurse when it should not |
|
|
163 | (analysed by elmex). |
|
|
164 | |
|
|
165 | 4.88 Tue Jul 28 04:04:37 CEST 2009 |
|
|
166 | - re-bless the handle into a dummy package after calling |
|
|
167 | AnyEvent::Handle::destroy, so the user does not need to check |
|
|
168 | for errors after every push_write etc. |
|
|
169 | - do not attempt to run t/02_signals.t on obviously broken |
|
|
170 | platforms. |
|
|
171 | |
|
|
172 | 4.87 Sun Jul 26 02:06:16 CEST 2009 |
|
|
173 | - do not attempt to linger when there is no longer a valid fh. |
|
|
174 | - enforce tls mode to be either accept or connect, do not simply |
|
|
175 | segfault in Net::SSLeay. |
|
|
176 | - AnyEvent::Handle can now call tcp_connect itself (new parameters |
|
|
177 | connect, on_prepare, on_connect and on_connect_error). Updated |
|
|
178 | tutorial accordingly. |
|
|
179 | - add AnyEvent::Impl::Irssi backend. |
|
|
180 | |
|
|
181 | 4.86 Mon Jul 20 23:52:29 CEST 2009 |
|
|
182 | - since the verbose warning is not enough, explicitly document |
|
|
183 | that versions before 1.33 of Net::SSLeay are not secure. |
5 | - work around signal handling races in Event and (...) Event::Lib. |
184 | - work around signal handling races in Event and (...) Event::Lib. |
|
|
185 | - try to align signal-race timer to full-second boundaries. |
|
|
186 | - work around Tk not liking negative timeouts. |
6 | - don't complain of different grades of environmental unfriendlyness |
187 | - don't complain of different grades of environmental unfriendlyness |
7 | in IO::ASync. |
188 | in IO::Async. |
8 | - try to align signal-race timer to full-second boundaries. |
|
|
9 | |
189 | |
10 | 4.85 Sat Jul 18 06:16:14 CEST 2009 |
190 | 4.85 Sat Jul 18 06:16:14 CEST 2009 |
11 | - nail the signal race problem in perl once and for all |
191 | - nail the signal race problem in perl once and for all |
12 | (see $AnyEvent::MAX_SIGNAL_LATENCY). |
192 | (see $AnyEvent::MAX_SIGNAL_LATENCY). |
13 | - take advantage of Async::Interrupt if it is available. |
193 | - take advantage of Async::Interrupt if it is available. |
… | |
… | |
213 | - warn about not loaidng AnyEvent::Impl::POE early enough |
393 | - warn about not loaidng AnyEvent::Impl::POE early enough |
214 | (patch by Adam Rosenstein). |
394 | (patch by Adam Rosenstein). |
215 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
395 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
216 | - fix a bug in where in SSL connect mode, the |
396 | - fix a bug in where in SSL connect mode, the |
217 | client would first wait for some data by the server and |
397 | client would first wait for some data by the server and |
218 | otherwise hang. (reported and analyzed in an absolutely |
398 | otherwise hang. (reported and analysed in an absolutely |
219 | exemplary manner by Adam Rosenstein). |
399 | exemplary manner by Adam Rosenstein). |
220 | - fix a bug in where SSL EOF would not be treated |
400 | - fix a bug in where SSL EOF would not be treated |
221 | as stream EOF, putting the connection into a hung state. |
401 | as stream EOF, putting the connection into a hung state. |
222 | (reported and analyzed in an absolutely exemplary manner by Adam |
402 | (reported and analysed in an absolutely exemplary manner by Adam |
223 | Rosenstein). |
403 | Rosenstein). |
224 | - fix a potential segfault when the TLS context |
404 | - fix a potential segfault when the TLS context |
225 | would go missing in a read callback (e.g. due to stoptls) - |
405 | would go missing in a read callback (e.g. due to stoptls) - |
226 | Net::SSLeay of course makes no type checking whatsoever. |
406 | Net::SSLeay of course makes no type checking whatsoever. |
227 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |
407 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |