ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/Changes
(Generate patch)

Comparing AnyEvent/Changes (file contents):
Revision 1.283 by root, Thu Jul 16 20:55:38 2009 UTC vs.
Revision 1.451 by root, Sun Jul 24 14:24:03 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: implement getprotobyname 3TODO: document TCP_*** constants
4TODO: catch AE::xxx for anyevent strict and anyevent debug
5TODO: anyevent::trace? or debug tracing all watchers?
6TODO: anyevent strict checking for $_ changes?
7
8TODO: Kevin Ryde (3.8K) 1 inbox Glib child processes
9 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
10 the TTL as fourth element - this affects ->resolve directly,
11 and ->request and ->dns_unpack indirectly. Convenience functions
12 such as AnyEvent::DNS::{a,txt,mx,srv} are not affected.
13 - some read types (regex, netstring, json, storable) could
14 errornously keep an AE::Handle object alive on their own
15 (reported by Mohammad Toossi).
16 - add support for (currently third-party) AnyEvent::Impl::FLTK.
17 - many read types in AnyEvent::Handle would malfunction during
18 transitions to TLS because of a "delete $self->{rbuf}".
19 (reported by Gerald Galster).
20 - resolve AnyEvent::Util::guard at first-use-time, not at load time,
21 for further speed and memory savings when not used.
22
235.34 Thu May 12 09:59:41 CEST 2011
24 - AE::TLS didn't support both cert_file and key at the same time,
25 due to some copy&paste bug (reported and analyzed by vti).
26 - improve AE::Handle timeout documentation slightly.
27
285.33 Mon Feb 7 21:51:41 CET 2011
29 - never appeared on CPAN, for unknown reasons.
30 - AnyEvent::Handle on_connect_error - do not try to destroy a handle
31 object when it's already gone (analyzed by Ryan Bullock).
32 - update idna algorithm(s) to UTS#46 version 6.0.0.
33 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
34 uts46 says it's an error, and testsuite makes more sense.
35 - remove leading dots in idn_to_ascii - testsuite says to remove,
36 uts46 says it's an error, and testsuite makes more sense.
37 - fixed a bug in idn ignored character processing.
38 - passes the uts46 6.0.0 testsuite except for three cases which
39 apparently are bugs in the testsuite itself.
40 - passes the uts46 6.0.1 testsuite except for eleven cases which
41 apparently are bugs in the testsuite itself.
42
435.31 Sun Jan 23 11:49:19 CET 2011
44 - work around a POE bug where POE would first poll for new events and
45 invoke handlers BEFORE handling the message queue.
46 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
47 - stop_read now does just that in TLS mode. see its
48 documentation for caveats.
49 - update to common::sense 3.4 warning set (some warnings in perl impose
50 an arbitrary 32kb limit on regex matches, which affects
51 AnyEvent::Handle).
52 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
53 - new experimental AE::Handle::resettls method.
54
555.3 Fri Dec 31 05:48:13 CET 2010
56 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
57 issues with IO::Async have been solved in that version, including
58 the availabilty of a default loop!
59 - implement new wbuf_max parameter for AnyEvent::Handle.
60 - added Cocoa::EventLoop backend by Daisuke Murase.
61 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
62 - clarify handle on_prepare documentation.
63 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
64 to avoid leaking them to any child processes.
65 - try to force files into the arch-dependend lib directory, for the
66 half-"turly obsessive compulsive person"(s) that depend on it.
67
685.29 Sun Dec 5 10:49:21 CET 2010
69 - convert EV backend to EV 4.00 API (so better upgrade EV too).
70 - AE::Handle: implement dynamic read_size adjustment, add
71 max_read_size parameter, reduce default read_size to 2048.
72 - add some FAQ entries for servers and/or on_eof vs. on_error.
73 - work around OS bugs (cygwin again) when lingering in AE::Handle.
74 - reduce memory usage slightly when connect was used in AE::Handle.
75 - wrok around more segfaults in Tk.
76 - document tls_ctx => undef as valid.
77 - detect WNOHANG value at compiletime.
78 - include some probably linux-only support for building AnyEvent
79 as part of the perl core.
80 - improve compatibility of t/08_idna.t to perl 5.8.
81 - make AnyEvent::Strict truly optional (in case somebody builds a
82 minimal perl...).
83
845.28 Wed Oct 13 04:14:23 CEST 2010
85 - due to a glitch, AnyEvent's internal getprotobyname wasn't
86 actually used in tcp_server.
87 - implement AnyEvent::CondVar->new method, which was documented but
88 missing.
89 - support autoloading of read types in unshift_read.
90 - AnyEvent::Strict: do the test for invalid fh arguments differently,
91 resulting in more informative error messages.
92 - new AnyEvent::FAQ manpage.
93 - clarify that you can actually call push_read etc. in on_read.
94 - put keys and certs in /tmp, not into the current directory,
95 and document this in the SECURITY CONSIDERATIONS sections
96 of AnyEvent::TLS.
97 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
98 requested by Ron Isaacson.
99 - document $AnyEvent::DNS::RESOLVER variable.
100 - incorporated major typo patches by Abhijit Menon-Sen.
101 - AnyEvent::Handle now croaks when negative timeouts are passed.
102 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
103 undocumented, but who knows when they might come in handy.
104
1055.271 Tue Jun 8 12:05:46 CEST 2010
106 - backport to perl 5.8.x.
107
1085.27 Sun Jun 6 12:12:05 CEST 2010
109 - postpone differently in AnyEvent::Socket now, as
110 when not, canceling the connection attempt might fail
111 (found by Felix Antonius Wilhelm Ostmann).
112 - explicitly check for non-stream sockets in AE::Handle, too many
113 clueless people fell into the trap of this somehow working.
114 - simplified and reworked the "OTHER MODULES" section.
115 - better/more condvar examples.
116
1175.261 Wed Apr 28 16:13:36 CEST 2010
118 - AF_INET6 was not properly used from Socket6 during configuration
119 time (found by Andy Grundman).
120
1215.26 Mon Apr 12 04:49:35 CEST 2010
122 - don't generate spurious readyness notifications when select
123 returns EINTR in the pure perl backend (analysed and testcase
124 by Bas Denissen).
125 - give same examples in SYNOPSIS sections of AnyEvent and AE.
126 - provider faster implementations for AE::time/now/now_update for
127 EV and Perl backends.
128 - provide faster AE::cv and AE::time implementations for all
129 backends.
130 - no longer support lower/mixed-case signal names (this was
131 never documented nor universally supported).
132 - some more memory ยต-optimisations, and somewhat less messy
133 code to cope with both AnyEvent and AE APIs.
134
1355.251 Sat Mar 13 00:58:21 CET 2010
136 - make test failed if it was run before make install on perl <=
137 5.8.8, and older versions of perl make our live very difficult,
138 so write constants.pl during Makefile.PL time.
139
1405.25 Sat Mar 13 00:23:14 CET 2010
141 - fix a race condition in AnyEvent::Handle that would cause
142 a "bio_read: unsupported method" error (in _another_
143 ssl connection) after user code threw an exception.
144 - added AnyEvent::Handle->destroyed method.
145 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
146 - the AnyEvent::Util::fh_nonblocking function worked only
147 by lucky accident on win32.
148 - smaller and faster AnyEvent::Util::fh_nonblocking.
149 - when the (required!) Time::HiRes module is missing, AnyEvent
150 did not fall back to built-in time properly.
151 - do not load Fcntl at runtime, saving memory and loading time.
152 - precompile a number of constants and use them instead of runtime
153 detection and eval.
154 - free detection code after detection and similar memory optimisations.
155 - Perl backend timer interval best effort drift has been improved
156 (same algorithm as EV).
157 - update unicode idna mapping table.
158
1595.24 Tue Jan 5 11:39:43 CET 2010
160 - cygwin never reports errors from failed connects. 1.5 just gives
161 you continous readyness and EAGAIN, 1.7 is even more broken and
162 just hangs. work around both issues in a cygwin-specific hack.
163 - improve idle watcher documentation slightly.
164
1655.23 Sun Dec 20 23:48:00 CET 2009
166 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
167 - implement punycode_encode/decode, idn_nameprep,
168 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
169 - provide $AE::VERSION.
170 - removed traces of "no strict 'refs'".
171
1725.22 Sat Dec 5 03:51:13 CET 2009
173 - downgrade-or-fail in AnyEvent::Handle::push_write, to
174 diagnose encoding failures earlier and more succinctly.
175 (this works around bugs in perl, throwing away encoding info
176 when passing scalar data to extensions).
177 - add more examples to AnyEvent::Socket manpage.
178 - upgrade internal warning set to the same as common::sense 2.03.
179 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
180 (John Beppu).
181 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
182 - add google public dns servers to fallback server set and make sure
183 we load-balance properly between the three sets. also add all
184 fallback dns servers, not just a random one, to each dns config.
185
1865.21 Thu Nov 19 02:48:47 CET 2009
187 - fix a problem where socket constants were called with parameters
188 (spotted by David Friedland).
189 - fork_call never use'd POSIX (reported by Daisuke Maki).
190 - improve perl 5.6 compatibility further (but it still won't work
191 unless you rip out everything but the core).
192 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
193 uses 10MB of RAM, but doesn't open a console window. *sigh*.
194
1955.202 Wed Oct 14 22:35:44 CEST 2009
196 - AnyEvent::DNS would unexpectedly clobber $_ under windows
197 (analysed by Matthias Waldorf).
198 - AnyEvent::Handle::run_cmd can now pass the PID of the
199 newly-created process, which is much less useful than it might
200 sound (based on patch by Yann Kerherve).
201
2025.201 Tue Sep 29 12:09:25 CEST 2009
203 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
204 (reported by Torsten Foertsch).
205 - common::sense 2.0 could cause tcp_server to throw an exception
206 (analysed by elmex).
207
2085.2 Mon Sep 14 07:04:49 CEST 2009
209 - INCOMPATIBLE CHANGE: do no longer support register_read_type
210 and register_write_type in AnyEvent::Handle, instead support
211 package names (the facility was mostly abused).
212 - implement "packagename-as-read/write type" support in
213 AnyEvent::Handle.
214 - AnyEvent::Handle: new options "keepalive" and "oobinline".
215 - oobinline set by default to avoid security issues.
216 - the pure-perl event loop backend wrongly detected times() fallback
217 support (spotted by Pavel Boldin).
218
2195.12 Tue Sep 1 20:26:50 CEST 2009
220 - be more lenient when parsing resolv.conf files, as some people
221 use hashmarks as comment indicator inside directives (reported
222 by Michael S. Fischer).
223 - use same set of warnings as common::sense 2.0.
224 - fix a potential 32 bit overflow issue due to perl having problems
225 with large hex constants in the Perl backend.
226 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
227 by default.
228 - fix some prototypes.
229 - (optionally) require Async::Interrupt 1.02.
230 - replace opendns fallbacks by verizon/level3 public dns servers.
231
2325.112 Fri Aug 21 13:59:04 CEST 2009
233 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
234 using starttls with an illegal/uncreatable tls context.
235 - port to broken win32 perls.
236
2375.111 Sun Aug 16 18:44:36 CEST 2009
238 - perl errornously requires sockaddr_un structures returned by the
239 kernel to have a specific length. work around this bug by padding
240 sockaddr_un structures (found to fail on OS X, as perl only uses
241 the correct code for GNU/Linux, but likely to fail on other
242 OSes as well).
243
2445.11 Wed Aug 12 17:49:37 CEST 2009
245 - fixed a bug in run_cmd with input from filename.
246 - create a json coder object when none is given in write direction
247 to reduce dependency on JSON.
248
2495.1 Tue Aug 11 03:17:32 CEST 2009
250 - tcp_connect now reports the correct error in $!, not an unrelated
251 one (was broken since 4.91).
252 - AE::Handle did not properly clear rtimeout/wtimeout watchers
253 when retrying a tcp_connect.
254 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
255 - fixed wrong documentation in AE::Socket.
256
2575.01 Mon Aug 10 03:16:32 CEST 2009
258 - last release broke EV child watchers :/.
259
2605.0 Sun Aug 9 17:32:09 CEST 2009
261 - officially introduce and document the AE API.
262 - lowering the timeout at runtime did not have immediate effect
263 in AnyEvent::Handle.
264 - AE::Handle now has separate and independent read and write timeout
265 settings.
266 - probe for Guard module when AnyEvent::Util is loaded, not at
267 runtime (Event doesn't like eval "use" from callbacks, and it avoids
268 exporting the probe function).
269 - Impl::IOAsync's io watchers did not use the filehandle emulation
270 code to work around it's watcher limits.
271 - work around IO::Async's problems with overloaded objects.
272 - try to disable wearnings inside IO::Async, it's just too buggy.
273 - do no longer use Event by default, only EV or Perl, Event is too buggy.
274 - hackishly provide fast AE:: interface when EV or Perl is the backend.
275 - inherit VERSION from AnyEvent::VERSION in most modules.
276
2774.91 Thu Aug 6 15:42:45 CEST 2009
278 - AE::Handle::starttls could get out of sync when the read buffer
279 already contains some TLS handshake.
280 - AE::Handle did not properly free the TLS session, causing bigger
281 memory leaks in Net::SSLeay than expected (reported by toaster).
282 - AE::Socket::tcp_connect will now artificially delay invoking
283 the callback to avoid returning after invoking the callback.
284 - convert many internal watcher uses to AE API.
285
2864.9 Sat Aug 1 11:07:01 CEST 2009
287 - Glib silently fails when registering a timeout with
288 a negative value, so avoid that.
289 - call condvar callback immediately when it is set
290 after the condition is already signalled.
291 - check rbuf_max condition only after trying to consume
292 data.
293 - normalise signal numbers to names when using the ae's
294 signal handling, but do not document this (yet).
295 - pure perl signal emulation did not properly set nonblocking
296 mode on the signal pipe on win32 (this is unlikely to have caused
297 any issues).
298 - new module: AnyEvent::Debug.
299 - AnyEvent::Strict now checks that a signal was specified
300 by name (not name or number).
301 - reduce memory footprint in typical cases by ~50kb by
302 only compiling signal code when necessary.
303 - add AnyEvent::Handle->rbuf_max.
304 - grab the AE namespace for future new API, implement stubs for
305 said future/alternative API.
306 - new function: AnyEvent::Socket::format_hostport.
307
3084.881 Tue Jul 28 12:51:53 CEST 2009
309 - work around a bug in local in pre-5.10 perls, causing
310 AnyEvent::Handle to recurse when it should not
311 (analysed by elmex).
312
3134.88 Tue Jul 28 04:04:37 CEST 2009
314 - re-bless the handle into a dummy package after calling
315 AnyEvent::Handle::destroy, so the user does not need to check
316 for errors after every push_write etc.
317 - do not attempt to run t/02_signals.t on obviously broken
318 platforms.
319
3204.87 Sun Jul 26 02:06:16 CEST 2009
321 - do not attempt to linger when there is no longer a valid fh.
322 - enforce tls mode to be either accept or connect, do not simply
323 segfault in Net::SSLeay.
324 - AnyEvent::Handle can now call tcp_connect itself (new parameters
325 connect, on_prepare, on_connect and on_connect_error). Updated
326 tutorial accordingly.
327 - add AnyEvent::Impl::Irssi backend.
328
3294.86 Mon Jul 20 23:52:29 CEST 2009
330 - since the verbose warning is not enough, explicitly document
331 that versions before 1.33 of Net::SSLeay are not secure.
332 - work around signal handling races in Event and (...) Event::Lib.
333 - try to align signal-race timer to full-second boundaries.
334 - work around Tk not liking negative timeouts.
335 - don't complain of different grades of environmental unfriendlyness
336 in IO::Async.
337
3384.85 Sat Jul 18 06:16:14 CEST 2009
339 - nail the signal race problem in perl once and for all
340 (see $AnyEvent::MAX_SIGNAL_LATENCY).
341 - take advantage of Async::Interrupt if it is available.
342 - load Time::HiRes and Guard modules on demand only.
343 - add optional/recommended modules section to AnyEvent
344 documentation.
345 - reduce memory usage considerably (and reduce startup penalty)
346 by not using "strict", "warnings" and "overload" modules.
347 - work around buggy windows/openbsd perls and provide EBADMSG
348 and EPROTO ourselves when missing.
349 - improve perl 5.6 compatibility of the core event loop.
350 - made Net::SSLeay version 1.33 a soft requirement.
351
3524.83 Fri Jul 17 16:56:26 CEST 2009
353 - implement AnyEvent::Socket::getprotobyname.
4 - AnyEvent::CondVar's will now detect recursive blocking 354 - AnyEvent::CondVar's will now detect recursive blocking
5 waits and will croak. 355 waits and will croak, as too many people fall into
356 this trap.
6 - AnyEvent::Handle will now call ->destroy on itself after 357 - AnyEvent::Handle will now call ->destroy on itself after
7 executing the on_error callback, instead of doing some 358 executing the on_error callback, instead of doing some
8 half-baked internal shutdown, for fatal errors. 359 half-baked internal shutdown, for fatal errors.
9 - clarify on_eof behaviour w.r.t. the read queue and 360 - clarify on_eof behaviour w.r.t. the read queue and
10 on_read callbacks. 361 on_read callbacks.
1874.3 Fri Oct 3 09:18:43 CEST 2008 5384.3 Fri Oct 3 09:18:43 CEST 2008
188 - AnyEvent will now install a no-op signal handler for SIGPIPE, 539 - AnyEvent will now install a no-op signal handler for SIGPIPE,
189 unless one has been installed already. 540 unless one has been installed already.
190 - warn about not loaidng AnyEvent::Impl::POE early enough 541 - warn about not loaidng AnyEvent::Impl::POE early enough
191 (patch by Adam Rosenstein). 542 (patch by Adam Rosenstein).
192 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 543 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
193 - fix a bug in where in SSL connect mode, the 544 - fix a bug in where in SSL connect mode, the
194 client would first wait for some data by the server and 545 client would first wait for some data by the server and
195 otherwise hang. (reported and analyzed in an absolutely 546 otherwise hang. (reported and analysed in an absolutely
196 exemplary manner by Adam Rosenstein). 547 exemplary manner by Adam Rosenstein).
197 - fix a bug in where SSL EOF would not be treated 548 - fix a bug in where SSL EOF would not be treated
198 as stream EOF, putting the connection into a hung state. 549 as stream EOF, putting the connection into a hung state.
199 (reported and analyzed in an absolutely exemplary manner by Adam 550 (reported and analysed in an absolutely exemplary manner by Adam
200 Rosenstein). 551 Rosenstein).
201 - fix a potential segfault when the TLS context 552 - fix a potential segfault when the TLS context
202 would go missing in a read callback (e.g. due to stoptls) - 553 would go missing in a read callback (e.g. due to stoptls) -
203 Net::SSLeay of course makes no type checking whatsoever. 554 Net::SSLeay of course makes no type checking whatsoever.
204 - AnyEvent::Handle will not stop the read watcher in TLS mode. 555 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines