1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
3 | TODO: release a:i 1.0 |
3 | 5.271 Tue Jun 8 12:05:46 CEST 2010 |
|
|
4 | - backport to perl 5.8.x. |
|
|
5 | |
|
|
6 | 5.27 Sun Jun 6 12:12:05 CEST 2010 |
|
|
7 | - postpone differently in AnyEvent::Socket now, as |
|
|
8 | when not, canceling the connection attempt might fail |
|
|
9 | (found by Felix Antonius Wilhelm Ostmann). |
|
|
10 | - explicitly check for non-stream sockets in AE::Handle, too many |
|
|
11 | clueless people fell into the trap of this somehow working. |
|
|
12 | - simplified and reworked the "OTHER MODULES" section. |
|
|
13 | - better/more condvar examples. |
|
|
14 | |
|
|
15 | 5.261 Wed Apr 28 16:13:36 CEST 2010 |
|
|
16 | - AF_INET6 was not properly used from Socket6 during configuration |
|
|
17 | time (found by Andy Grundman). |
|
|
18 | |
|
|
19 | 5.26 Mon Apr 12 04:49:35 CEST 2010 |
|
|
20 | - don't generate spurious readyness notifications when select |
|
|
21 | returns EINTR in the pure perl backend (analysed and testcase |
|
|
22 | by Bas Denissen). |
|
|
23 | - give same examples in SYNOPSIS sections of AnyEvent and AE. |
|
|
24 | - provider faster implementations for AE::time/now/now_update for |
|
|
25 | EV and Perl backends. |
|
|
26 | - provide faster AE::cv and AE::time implementations for all |
|
|
27 | backends. |
|
|
28 | - no longer support lower/mixed-case signal names (this was |
|
|
29 | never documented nor universally supported). |
|
|
30 | - some more memory ยต-optimisations, and somewhat less messy |
|
|
31 | code to cope with both AnyEvent and AE APIs. |
|
|
32 | |
|
|
33 | 5.251 Sat Mar 13 00:58:21 CET 2010 |
|
|
34 | - make test failed if it was run before make install on perl <= |
|
|
35 | 5.8.8, and older versions of perl make our live very difficult, |
|
|
36 | so write constants.pl during Makefile.PL time. |
|
|
37 | |
|
|
38 | 5.25 Sat Mar 13 00:23:14 CET 2010 |
|
|
39 | - fix a race condition in AnyEvent::Handle that would cause |
|
|
40 | a "bio_read: unsupported method" error (in _another_ |
|
|
41 | ssl connection) after user code threw an exception. |
|
|
42 | - added AnyEvent::Handle->destroyed method. |
|
|
43 | - speed up AnyEvent::Socket::format_address and ::format_ipv6. |
|
|
44 | - the AnyEvent::Util::fh_nonblocking function worked only |
|
|
45 | by lucky accident on win32. |
|
|
46 | - smaller and faster AnyEvent::Util::fh_nonblocking. |
|
|
47 | - when the (required!) Time::HiRes module is missing, AnyEvent |
|
|
48 | did not fall back to built-in time properly. |
|
|
49 | - do not load Fcntl at runtime, saving memory and loading time. |
|
|
50 | - precompile a number of constants and use them instead of runtime |
|
|
51 | detection and eval. |
|
|
52 | - free detection code after detection and similar memory optimisations. |
|
|
53 | - Perl backend timer interval best effort drift has been improved |
|
|
54 | (same algorithm as EV). |
|
|
55 | - update unicode idna mapping table. |
|
|
56 | |
|
|
57 | 5.24 Tue Jan 5 11:39:43 CET 2010 |
|
|
58 | - cygwin never reports errors from failed connects. 1.5 just gives |
|
|
59 | you continous readyness and EAGAIN, 1.7 is even more broken and |
|
|
60 | just hangs. work around both issues in a cygwin-specific hack. |
|
|
61 | - improve idle watcher documentation slightly. |
|
|
62 | |
|
|
63 | 5.23 Sun Dec 20 23:48:00 CET 2009 |
|
|
64 | - support IDNs in resolve_sockaddr, and therefore in tcp_connect. |
|
|
65 | - implement punycode_encode/decode, idn_nameprep, |
|
|
66 | idn_to_ascii and idn_to_unicode operations in AnyEvent::Util. |
|
|
67 | - provide $AE::VERSION. |
|
|
68 | - removed traces of "no strict 'refs'". |
|
|
69 | |
|
|
70 | 5.22 Sat Dec 5 03:51:13 CET 2009 |
|
|
71 | - downgrade-or-fail in AnyEvent::Handle::push_write, to |
|
|
72 | diagnose encoding failures earlier and more succinctly. |
|
|
73 | (this works around bugs in perl, throwing away encoding info |
|
|
74 | when passing scalar data to extensions). |
|
|
75 | - add more examples to AnyEvent::Socket manpage. |
|
|
76 | - upgrade internal warning set to the same as common::sense 2.03. |
|
|
77 | - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS |
|
|
78 | (John Beppu). |
|
|
79 | - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented. |
|
|
80 | - add google public dns servers to fallback server set and make sure |
|
|
81 | we load-balance properly between the three sets. also add all |
|
|
82 | fallback dns servers, not just a random one, to each dns config. |
|
|
83 | |
|
|
84 | 5.21 Thu Nov 19 02:48:47 CET 2009 |
|
|
85 | - fix a problem where socket constants were called with parameters |
|
|
86 | (spotted by David Friedland). |
|
|
87 | - fork_call never use'd POSIX (reported by Daisuke Maki). |
|
|
88 | - improve perl 5.6 compatibility further (but it still won't work |
|
|
89 | unless you rip out everything but the core). |
|
|
90 | - prefer Net::DNS::Resolver over ipconfig, if installed, on win32. |
|
|
91 | uses 10MB of RAM, but doesn't open a console window. *sigh*. |
|
|
92 | |
|
|
93 | 5.202 Wed Oct 14 22:35:44 CEST 2009 |
|
|
94 | - AnyEvent::DNS would unexpectedly clobber $_ under windows |
|
|
95 | (analysed by Matthias Waldorf). |
|
|
96 | - AnyEvent::Handle::run_cmd can now pass the PID of the |
|
|
97 | newly-created process, which is much less useful than it might |
|
|
98 | sound (based on patch by Yann Kerherve). |
|
|
99 | |
|
|
100 | 5.201 Tue Sep 29 12:09:25 CEST 2009 |
|
|
101 | - AnyEvent:Handle::on_starttls/on_stoptls methods were broken |
|
|
102 | (reported by Torsten Foertsch). |
|
|
103 | - common::sense 2.0 could cause tcp_server to throw an exception |
|
|
104 | (analysed by elmex). |
|
|
105 | |
|
|
106 | 5.2 Mon Sep 14 07:04:49 CEST 2009 |
|
|
107 | - INCOMPATIBLE CHANGE: do no longer support register_read_type |
|
|
108 | and register_write_type in AnyEvent::Handle, instead support |
|
|
109 | package names (the facility was mostly abused). |
|
|
110 | - implement "packagename-as-read/write type" support in |
|
|
111 | AnyEvent::Handle. |
|
|
112 | - AnyEvent::Handle: new options "keepalive" and "oobinline". |
|
|
113 | - oobinline set by default to avoid security issues. |
|
|
114 | - the pure-perl event loop backend wrongly detected times() fallback |
|
|
115 | support (spotted by Pavel Boldin). |
|
|
116 | |
|
|
117 | 5.12 Tue Sep 1 20:26:50 CEST 2009 |
|
|
118 | - be more lenient when parsing resolv.conf files, as some people |
|
|
119 | use hashmarks as comment indicator inside directives (reported |
|
|
120 | by Michael S. Fischer). |
|
|
121 | - use same set of warnings as common::sense 2.0. |
|
|
122 | - fix a potential 32 bit overflow issue due to perl having problems |
|
|
123 | with large hex constants in the Perl backend. |
|
|
124 | - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS |
|
|
125 | by default. |
|
|
126 | - fix some prototypes. |
|
|
127 | - (optionally) require Async::Interrupt 1.02. |
|
|
128 | - replace opendns fallbacks by verizon/level3 public dns servers. |
|
|
129 | |
|
|
130 | 5.112 Fri Aug 21 13:59:04 CEST 2009 |
|
|
131 | - AnyEvent::Handle could cause hard crashes in Net::SSLeay when |
|
|
132 | using starttls with an illegal/uncreatable tls context. |
|
|
133 | - port to broken win32 perls. |
|
|
134 | |
|
|
135 | 5.111 Sun Aug 16 18:44:36 CEST 2009 |
|
|
136 | - perl errornously requires sockaddr_un structures returned by the |
|
|
137 | kernel to have a specific length. work around this bug by padding |
|
|
138 | sockaddr_un structures (found to fail on OS X, as perl only uses |
|
|
139 | the correct code for GNU/Linux, but likely to fail on other |
|
|
140 | OSes as well). |
|
|
141 | |
|
|
142 | 5.11 Wed Aug 12 17:49:37 CEST 2009 |
|
|
143 | - fixed a bug in run_cmd with input from filename. |
|
|
144 | - create a json coder object when none is given in write direction |
|
|
145 | to reduce dependency on JSON. |
|
|
146 | |
|
|
147 | 5.1 Tue Aug 11 03:17:32 CEST 2009 |
|
|
148 | - tcp_connect now reports the correct error in $!, not an unrelated |
|
|
149 | one (was broken since 4.91). |
|
|
150 | - AE::Handle did not properly clear rtimeout/wtimeout watchers |
|
|
151 | when retrying a tcp_connect. |
|
|
152 | - new functions: AnyEvent::Util::run_cmd and close_all_fds_except. |
|
|
153 | - fixed wrong documentation in AE::Socket. |
|
|
154 | |
|
|
155 | 5.01 Mon Aug 10 03:16:32 CEST 2009 |
|
|
156 | - last release broke EV child watchers :/. |
|
|
157 | |
|
|
158 | 5.0 Sun Aug 9 17:32:09 CEST 2009 |
|
|
159 | - officially introduce and document the AE API. |
|
|
160 | - lowering the timeout at runtime did not have immediate effect |
|
|
161 | in AnyEvent::Handle. |
|
|
162 | - AE::Handle now has separate and independent read and write timeout |
|
|
163 | settings. |
|
|
164 | - probe for Guard module when AnyEvent::Util is loaded, not at |
|
|
165 | runtime (Event doesn't like eval "use" from callbacks, and it avoids |
|
|
166 | exporting the probe function). |
|
|
167 | - Impl::IOAsync's io watchers did not use the filehandle emulation |
|
|
168 | code to work around it's watcher limits. |
|
|
169 | - work around IO::Async's problems with overloaded objects. |
|
|
170 | - try to disable wearnings inside IO::Async, it's just too buggy. |
|
|
171 | - do no longer use Event by default, only EV or Perl, Event is too buggy. |
|
|
172 | - hackishly provide fast AE:: interface when EV or Perl is the backend. |
|
|
173 | - inherit VERSION from AnyEvent::VERSION in most modules. |
|
|
174 | |
|
|
175 | 4.91 Thu Aug 6 15:42:45 CEST 2009 |
|
|
176 | - AE::Handle::starttls could get out of sync when the read buffer |
|
|
177 | already contains some TLS handshake. |
|
|
178 | - AE::Handle did not properly free the TLS session, causing bigger |
|
|
179 | memory leaks in Net::SSLeay than expected (reported by toaster). |
|
|
180 | - AE::Socket::tcp_connect will now artificially delay invoking |
|
|
181 | the callback to avoid returning after invoking the callback. |
|
|
182 | - convert many internal watcher uses to AE API. |
|
|
183 | |
|
|
184 | 4.9 Sat Aug 1 11:07:01 CEST 2009 |
4 | - Glib silently fails when registering a timeout with |
185 | - Glib silently fails when registering a timeout with |
5 | a negative value, so avoid that. |
186 | a negative value, so avoid that. |
|
|
187 | - call condvar callback immediately when it is set |
|
|
188 | after the condition is already signalled. |
|
|
189 | - check rbuf_max condition only after trying to consume |
|
|
190 | data. |
6 | - normalise signal numbers to names when using the ae's |
191 | - normalise signal numbers to names when using the ae's |
7 | signal handling, but do not document this (yet). |
192 | signal handling, but do not document this (yet). |
8 | - pure perl signal emulation did not properly set nonblocking |
193 | - pure perl signal emulation did not properly set nonblocking |
9 | mode on the signal pipe on win32 (this is unlikely to have caused |
194 | mode on the signal pipe on win32 (this is unlikely to have caused |
10 | any issues). |
195 | any issues). |
|
|
196 | - new module: AnyEvent::Debug. |
11 | - AnyEvent::Strict now checks that a signal was specified |
197 | - AnyEvent::Strict now checks that a signal was specified |
12 | by name (not name or number). |
198 | by name (not name or number). |
13 | - reduce memory footprint in typical cases by ~50kb by |
199 | - reduce memory footprint in typical cases by ~50kb by |
14 | only compiling signal code when necessary. |
200 | only compiling signal code when necessary. |
|
|
201 | - add AnyEvent::Handle->rbuf_max. |
|
|
202 | - grab the AE namespace for future new API, implement stubs for |
|
|
203 | said future/alternative API. |
|
|
204 | - new function: AnyEvent::Socket::format_hostport. |
15 | |
205 | |
16 | 4.881 Tue Jul 28 12:51:53 CEST 2009 |
206 | 4.881 Tue Jul 28 12:51:53 CEST 2009 |
17 | - work around a bug in local in pre-5.10 perls, causing |
207 | - work around a bug in local in pre-5.10 perls, causing |
18 | AnyEvent::Handle to recurse when it should not |
208 | AnyEvent::Handle to recurse when it should not |
19 | (analyzed by elmex). |
209 | (analysed by elmex). |
20 | |
210 | |
21 | 4.88 Tue Jul 28 04:04:37 CEST 2009 |
211 | 4.88 Tue Jul 28 04:04:37 CEST 2009 |
22 | - re-bless the handle into a dummy package after calling |
212 | - re-bless the handle into a dummy package after calling |
23 | AnyEvent::Handle::destroy, so the user does not need to check |
213 | AnyEvent::Handle::destroy, so the user does not need to check |
24 | for errors after every push_write etc. |
214 | for errors after every push_write etc. |
… | |
… | |
246 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
436 | 4.3 Fri Oct 3 09:18:43 CEST 2008 |
247 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
437 | - AnyEvent will now install a no-op signal handler for SIGPIPE, |
248 | unless one has been installed already. |
438 | unless one has been installed already. |
249 | - warn about not loaidng AnyEvent::Impl::POE early enough |
439 | - warn about not loaidng AnyEvent::Impl::POE early enough |
250 | (patch by Adam Rosenstein). |
440 | (patch by Adam Rosenstein). |
251 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
441 | - fixed a great number of bugs and corner cases in AnyEvent::Handle. |
252 | - fix a bug in where in SSL connect mode, the |
442 | - fix a bug in where in SSL connect mode, the |
253 | client would first wait for some data by the server and |
443 | client would first wait for some data by the server and |
254 | otherwise hang. (reported and analyzed in an absolutely |
444 | otherwise hang. (reported and analysed in an absolutely |
255 | exemplary manner by Adam Rosenstein). |
445 | exemplary manner by Adam Rosenstein). |
256 | - fix a bug in where SSL EOF would not be treated |
446 | - fix a bug in where SSL EOF would not be treated |
257 | as stream EOF, putting the connection into a hung state. |
447 | as stream EOF, putting the connection into a hung state. |
258 | (reported and analyzed in an absolutely exemplary manner by Adam |
448 | (reported and analysed in an absolutely exemplary manner by Adam |
259 | Rosenstein). |
449 | Rosenstein). |
260 | - fix a potential segfault when the TLS context |
450 | - fix a potential segfault when the TLS context |
261 | would go missing in a read callback (e.g. due to stoptls) - |
451 | would go missing in a read callback (e.g. due to stoptls) - |
262 | Net::SSLeay of course makes no type checking whatsoever. |
452 | Net::SSLeay of course makes no type checking whatsoever. |
263 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |
453 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |