1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
|
|
2 | |
|
|
3 | - AnyEvent:Handle::on_starttls/on_stoptls methods were broken |
|
|
4 | (reported by Torsten Foertsch). |
|
|
5 | - common::sense 2.0 could cause tcp_server to throw an exception |
|
|
6 | (analysed by elmex). |
|
|
7 | |
|
|
8 | 5.2 Mon Sep 14 07:04:49 CEST 2009 |
|
|
9 | - INCOMPATIBLE CHANGE: do no longer support register_read_type |
|
|
10 | and register_write_type in AnyEvent::Handle, instead support |
|
|
11 | package names (the facility was mostly abused). |
|
|
12 | - implement "packagename-as-read/write type" support in |
|
|
13 | AnyEvent::Handle. |
|
|
14 | - AnyEvent::Handle: new options "keepalive" and "oobinline". |
|
|
15 | - oobinline set by default to avoid security issues. |
|
|
16 | - the pure-perl event loop backend wrongly detected times() fallback |
|
|
17 | support (spotted by Pavel Boldin). |
|
|
18 | |
|
|
19 | 5.12 Tue Sep 1 20:26:50 CEST 2009 |
|
|
20 | - be more lenient when parsing resolv.conf files, as some people |
|
|
21 | use hashmarks as comment indicator inside directives (reported |
|
|
22 | by Michael S. Fischer). |
|
|
23 | - use same set of warnings as common::sense 2.0. |
|
|
24 | - fix a potential 32 bit overflow issue due to perl having problems |
|
|
25 | with large hex constants in the Perl backend. |
|
|
26 | - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS |
|
|
27 | by default. |
|
|
28 | - fix some prototypes. |
|
|
29 | - (optionally) require Async::Interrupt 1.02. |
|
|
30 | - replace opendns fallbacks by verizon/level3 public dns servers. |
|
|
31 | |
|
|
32 | 5.112 Fri Aug 21 13:59:04 CEST 2009 |
|
|
33 | - AnyEvent::Handle could cause hard crashes in Net::SSLeay when |
|
|
34 | using starttls with an illegal/uncreatable tls context. |
|
|
35 | - port to broken win32 perls. |
|
|
36 | |
|
|
37 | 5.111 Sun Aug 16 18:44:36 CEST 2009 |
|
|
38 | - perl errornously requires sockaddr_un structures returned by the |
|
|
39 | kernel to have a specific length. work around this bug by padding |
|
|
40 | sockaddr_un structures (found to fail on OS X, as perl only uses |
|
|
41 | the correct code for GNU/Linux, but likely to fail on other |
|
|
42 | OSes as well). |
|
|
43 | |
|
|
44 | 5.11 Wed Aug 12 17:49:37 CEST 2009 |
|
|
45 | - fixed a bug in run_cmd with input from filename. |
|
|
46 | - create a json coder object when none is given in write direction |
|
|
47 | to reduce dependency on JSON. |
|
|
48 | |
|
|
49 | 5.1 Tue Aug 11 03:17:32 CEST 2009 |
|
|
50 | - tcp_connect now reports the correct error in $!, not an unrelated |
|
|
51 | one (was broken since 4.91). |
|
|
52 | - AE::Handle did not properly clear rtimeout/wtimeout watchers |
|
|
53 | when retrying a tcp_connect. |
|
|
54 | - new functions: AnyEvent::Util::run_cmd and close_all_fds_except. |
|
|
55 | - fixed wrong documentation in AE::Socket. |
|
|
56 | |
|
|
57 | 5.01 Mon Aug 10 03:16:32 CEST 2009 |
|
|
58 | - last release broke EV child watchers :/. |
|
|
59 | |
|
|
60 | 5.0 Sun Aug 9 17:32:09 CEST 2009 |
|
|
61 | - officially introduce and document the AE API. |
|
|
62 | - lowering the timeout at runtime did not have immediate effect |
|
|
63 | in AnyEvent::Handle. |
|
|
64 | - AE::Handle now has separate and independent read and write timeout |
|
|
65 | settings. |
|
|
66 | - probe for Guard module when AnyEvent::Util is loaded, not at |
|
|
67 | runtime (Event doesn't like eval "use" from callbacks, and it avoids |
|
|
68 | exporting the probe function). |
|
|
69 | - Impl::IOAsync's io watchers did not use the filehandle emulation |
|
|
70 | code to work around it's watcher limits. |
|
|
71 | - work around IO::Async's problems with overloaded objects. |
|
|
72 | - try to disable wearnings inside IO::Async, it's just too buggy. |
|
|
73 | - do no longer use Event by default, only EV or Perl, Event is too buggy. |
|
|
74 | - hackishly provide fast AE:: interface when EV or Perl is the backend. |
|
|
75 | - inherit VERSION from AnyEvent::VERSION in most modules. |
|
|
76 | |
|
|
77 | 4.91 Thu Aug 6 15:42:45 CEST 2009 |
|
|
78 | - AE::Handle::starttls could get out of sync when the read buffer |
|
|
79 | already contains some TLS handshake. |
|
|
80 | - AE::Handle did not properly free the TLS session, causing bigger |
|
|
81 | memory leaks in Net::SSLeay than expected (reported by toaster). |
|
|
82 | - AE::Socket::tcp_connect will now artificially delay invoking |
|
|
83 | the callback to avoid returning after invoking the callback. |
|
|
84 | - convert many internal watcher uses to AE API. |
|
|
85 | |
|
|
86 | 4.9 Sat Aug 1 11:07:01 CEST 2009 |
|
|
87 | - Glib silently fails when registering a timeout with |
|
|
88 | a negative value, so avoid that. |
|
|
89 | - call condvar callback immediately when it is set |
|
|
90 | after the condition is already signalled. |
|
|
91 | - check rbuf_max condition only after trying to consume |
|
|
92 | data. |
|
|
93 | - normalise signal numbers to names when using the ae's |
|
|
94 | signal handling, but do not document this (yet). |
|
|
95 | - pure perl signal emulation did not properly set nonblocking |
|
|
96 | mode on the signal pipe on win32 (this is unlikely to have caused |
|
|
97 | any issues). |
|
|
98 | - new module: AnyEvent::Debug. |
|
|
99 | - AnyEvent::Strict now checks that a signal was specified |
|
|
100 | by name (not name or number). |
|
|
101 | - reduce memory footprint in typical cases by ~50kb by |
|
|
102 | only compiling signal code when necessary. |
|
|
103 | - add AnyEvent::Handle->rbuf_max. |
|
|
104 | - grab the AE namespace for future new API, implement stubs for |
|
|
105 | said future/alternative API. |
|
|
106 | - new function: AnyEvent::Socket::format_hostport. |
|
|
107 | |
|
|
108 | 4.881 Tue Jul 28 12:51:53 CEST 2009 |
|
|
109 | - work around a bug in local in pre-5.10 perls, causing |
|
|
110 | AnyEvent::Handle to recurse when it should not |
|
|
111 | (analysed by elmex). |
|
|
112 | |
|
|
113 | 4.88 Tue Jul 28 04:04:37 CEST 2009 |
|
|
114 | - re-bless the handle into a dummy package after calling |
|
|
115 | AnyEvent::Handle::destroy, so the user does not need to check |
|
|
116 | for errors after every push_write etc. |
|
|
117 | - do not attempt to run t/02_signals.t on obviously broken |
|
|
118 | platforms. |
|
|
119 | |
|
|
120 | 4.87 Sun Jul 26 02:06:16 CEST 2009 |
|
|
121 | - do not attempt to linger when there is no longer a valid fh. |
|
|
122 | - enforce tls mode to be either accept or connect, do not simply |
|
|
123 | segfault in Net::SSLeay. |
|
|
124 | - AnyEvent::Handle can now call tcp_connect itself (new parameters |
|
|
125 | connect, on_prepare, on_connect and on_connect_error). Updated |
|
|
126 | tutorial accordingly. |
|
|
127 | - add AnyEvent::Impl::Irssi backend. |
|
|
128 | |
|
|
129 | 4.86 Mon Jul 20 23:52:29 CEST 2009 |
|
|
130 | - since the verbose warning is not enough, explicitly document |
|
|
131 | that versions before 1.33 of Net::SSLeay are not secure. |
|
|
132 | - work around signal handling races in Event and (...) Event::Lib. |
|
|
133 | - try to align signal-race timer to full-second boundaries. |
|
|
134 | - work around Tk not liking negative timeouts. |
|
|
135 | - don't complain of different grades of environmental unfriendlyness |
|
|
136 | in IO::Async. |
|
|
137 | |
|
|
138 | 4.85 Sat Jul 18 06:16:14 CEST 2009 |
|
|
139 | - nail the signal race problem in perl once and for all |
|
|
140 | (see $AnyEvent::MAX_SIGNAL_LATENCY). |
|
|
141 | - take advantage of Async::Interrupt if it is available. |
|
|
142 | - load Time::HiRes and Guard modules on demand only. |
|
|
143 | - add optional/recommended modules section to AnyEvent |
|
|
144 | documentation. |
|
|
145 | - reduce memory usage considerably (and reduce startup penalty) |
|
|
146 | by not using "strict", "warnings" and "overload" modules. |
|
|
147 | - work around buggy windows/openbsd perls and provide EBADMSG |
|
|
148 | and EPROTO ourselves when missing. |
|
|
149 | - improve perl 5.6 compatibility of the core event loop. |
|
|
150 | - made Net::SSLeay version 1.33 a soft requirement. |
|
|
151 | |
|
|
152 | 4.83 Fri Jul 17 16:56:26 CEST 2009 |
|
|
153 | - implement AnyEvent::Socket::getprotobyname. |
|
|
154 | - AnyEvent::CondVar's will now detect recursive blocking |
|
|
155 | waits and will croak, as too many people fall into |
|
|
156 | this trap. |
|
|
157 | - AnyEvent::Handle will now call ->destroy on itself after |
|
|
158 | executing the on_error callback, instead of doing some |
|
|
159 | half-baked internal shutdown, for fatal errors. |
|
|
160 | - clarify on_eof behaviour w.r.t. the read queue and |
|
|
161 | on_read callbacks. |
|
|
162 | - ignore some possible spurious wake-ups in tcp_connect. |
2 | |
163 | |
3 | 4.82 Sat Jul 11 00:34:55 CEST 2009 |
164 | 4.82 Sat Jul 11 00:34:55 CEST 2009 |
4 | - POE and Event backends didn't accept some callable objects as |
165 | - POE and Event backends didn't accept some callable objects as |
5 | callbacks. |
166 | callbacks. |
6 | - use Config module instead of POSIX module to detect signal names |
167 | - use Config module instead of POSIX module to detect signal names |
… | |
… | |
180 | - warn about not loaidng AnyEvent::Impl::POE early enough |
341 | - warn about not loaidng AnyEvent::Impl::POE early enough |
181 | (patch by Adam Rosenstein). |
342 | (patch by Adam Rosenstein). |
182 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
343 | - fixed a great number of bugs and corner cases in AnyEvent::Handle: |
183 | - fix a bug in where in SSL connect mode, the |
344 | - fix a bug in where in SSL connect mode, the |
184 | client would first wait for some data by the server and |
345 | client would first wait for some data by the server and |
185 | otherwise hang. (reported and analyzed in an absolutely |
346 | otherwise hang. (reported and analysed in an absolutely |
186 | exemplary manner by Adam Rosenstein). |
347 | exemplary manner by Adam Rosenstein). |
187 | - fix a bug in where SSL EOF would not be treated |
348 | - fix a bug in where SSL EOF would not be treated |
188 | as stream EOF, putting the connection into a hung state. |
349 | as stream EOF, putting the connection into a hung state. |
189 | (reported and analyzed in an absolutely exemplary manner by Adam |
350 | (reported and analysed in an absolutely exemplary manner by Adam |
190 | Rosenstein). |
351 | Rosenstein). |
191 | - fix a potential segfault when the TLS context |
352 | - fix a potential segfault when the TLS context |
192 | would go missing in a read callback (e.g. due to stoptls) - |
353 | would go missing in a read callback (e.g. due to stoptls) - |
193 | Net::SSLeay of course makes no type checking whatsoever. |
354 | Net::SSLeay of course makes no type checking whatsoever. |
194 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |
355 | - AnyEvent::Handle will not stop the read watcher in TLS mode. |