ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/AnyEvent/Changes
Revision: 1.451
Committed: Sun Jul 24 14:24:03 2011 UTC (12 years, 9 months ago) by root
Branch: MAIN
Changes since 1.450: +2 -1 lines
Log Message:
*** empty log message ***

File Contents

# Content
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: 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
23 5.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
28 5.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
43 5.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
55 5.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
68 5.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
84 5.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
105 5.271 Tue Jun 8 12:05:46 CEST 2010
106 - backport to perl 5.8.x.
107
108 5.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
117 5.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
121 5.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
135 5.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
140 5.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
159 5.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
165 5.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
172 5.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
186 5.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
195 5.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
202 5.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
208 5.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
219 5.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
232 5.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
237 5.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
244 5.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
249 5.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
257 5.01 Mon Aug 10 03:16:32 CEST 2009
258 - last release broke EV child watchers :/.
259
260 5.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
277 4.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
286 4.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
308 4.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
313 4.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
320 4.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
329 4.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
338 4.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
352 4.83 Fri Jul 17 16:56:26 CEST 2009
353 - implement AnyEvent::Socket::getprotobyname.
354 - AnyEvent::CondVar's will now detect recursive blocking
355 waits and will croak, as too many people fall into
356 this trap.
357 - AnyEvent::Handle will now call ->destroy on itself after
358 executing the on_error callback, instead of doing some
359 half-baked internal shutdown, for fatal errors.
360 - clarify on_eof behaviour w.r.t. the read queue and
361 on_read callbacks.
362 - ignore some possible spurious wake-ups in tcp_connect.
363
364 4.82 Sat Jul 11 00:34:55 CEST 2009
365 - POE and Event backends didn't accept some callable objects as
366 callbacks.
367 - use Config module instead of POSIX module to detect signal names
368 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
369 module doesn't even have all POSIX signals :/.
370 - use more workarounds around the many refcnt/corruption bugs in
371 Event::Lib.
372 - work around a race condition in perl's select, causing t/03_child.t
373 to rarely fail.
374
375 4.81 Thu Jul 9 10:30:30 CEST 2009
376 - AnyEvent::Handle didn't properly diagnose write errors
377 (it expected -1 from syswrite, how lame... :).
378 - support file descriptors in addition to file handles
379 in AnyEvent->io.
380 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
381 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
382 and PERL_ANYEVENT_CA_PATH.
383 - provide a sensible synopsis section for AnyEvent::TLS.
384 - add a "supported backends" section to the manpage.
385 - added simple io watcher test to testsuite, using a
386 portable_socketpair.
387 - tried to improve the stability of the Event::Lib backend,
388 YMMV.
389
390 4.8 Mon Jul 6 23:45:16 CEST 2009
391 - AnyEvent::DNS did not properly follow CNAME records with
392 uppercase targets.
393 - AnyEvent::DNS would errornously return AAAA records
394 with v4 mapped addresses (a faulty record) as ipv4 addresses,
395 causing AnyEvent::Socket to throw an exception.
396 - added new module AnyEvent::TLS for easier SSL/TLS context
397 creation, with many options including hostname verification,
398 secure default configuration, lots of documentation and,
399 predefined diffie-hellman keys for perfect forward security
400 and much more. get it while it's still fresh!
401 - use AnyEvent::TLS in AnyEvent::Handle for context management.
402 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
403 so AnyEvent::Socket users have smaller memory footprint
404 in the common case.
405 - add AnyEvent::Handle->push_shutdown method.
406 - add an additional error message parameter to AnyEvent::Handle's
407 on_error callback (for TLS, $! is still available).
408 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
409 - make AnyEvent::Handle more robust against early conenction
410 failures (during new), and return C<undef> in that case
411 from the constructor.
412 - AnyEvent::Handle will now try to load only JSON::XS first,
413 then fall back to JSON.
414 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
415 and because it was documented that way.
416
417 4.451 Fri Jul 3 00:28:58 CEST 2009
418 - do not clear rbuf when shutting down an AnyEvent::Handle
419 object - doing so breaks AnyEvent::HTTP.
420
421 4.45 Mon Jun 29 22:59:26 CEST 2009
422 - a write error could cause AnyEvent::Handle to create
423 an I/O watcher with an undefined $fh.
424 - special-case mapped ipv4 addresses in both
425 AnyEvent::Socket::format_address and parse_address,
426 to treat them just like ipv4 addresses.
427 - updated and overhauled the AnyEvent::Intro doc.
428 - implement AnyEvent::Socket::format_ipv4/ipv6.
429 - slightly speed up portable_pipe/socketpair.
430 - expand condvar begin/end documentation.
431
432 4.42 Fri Jun 26 08:32:18 CEST 2009
433 - preliminary and neccesarily incomplete support for IO::Async.
434 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
435 case it was set to IGNORE, to ensure we can catch child statuses
436 even when the calling env acts stupidly.
437 - updated benchmarks with IO::Async, which performs very well.
438
439 4.412 Wed Jun 24 01:35:57 CEST 2009
440 - support an "untaint" attribute for AnyEvent::DNS
441 and set it on the default resolver.
442 - implement and document AnyEvent::Impl::Perl::loop.
443 - remove all anyevent-env variables from %ENV
444 when running in tainted mode.
445 - mention and extend the IO::Lambda benchmark.
446
447 4.411 Sun Jun 7 18:48:02 CEST 2009
448 - do not try to use F_SETFD on windows.
449
450 4.41 Thu May 14 06:40:11 CEST 2009
451 - work around issues in older perls (5.8.0?) when
452 a signal handler is deleted from the %SIG hash.
453 - use POSIX::_exit in child test, to avoid running
454 destructors.
455 - speed up CHLD handling by relying on SIGCHLD being
456 synchronously delivered, even when we roll our own
457 implementation.
458 - AnyEvent::DNS: add the "dname" resource record name
459 for cosmetic reasons.
460
461 4.4 Sun Apr 26 20:12:33 CEST 2009
462 - implemented idle watchers, where applicable.
463 - AnyEvent->time died when Event backend was in use.
464 - fix a memleak in the Tk backend.
465 - sped up Tk timer handling.
466 - clip negative "after" values to 0 in AnyEvent::Impl::Event
467 to avoid spamming out warning messages.
468 - fix Qt timers without interval.
469 - avoid Qt zero-timeout special case, in old libqt's.
470
471 4.352 Mon Apr 20 16:31:11 CEST 2009
472 - fix AnyEvent::Strict error messages for child watchers.
473 - fix/update Makefile.PL "recommends" versions.
474 - add AnyEvent->now_update.
475
476 4.351 Sat Apr 11 07:56:14 CEST 2009
477 - actually make the signal pipe work under win32.
478 - localise $! in signal handler to avoid changing $!, although
479 perl itself does not seem to save/restore errno either.
480 - set the cloexec flag on the signal pipe (normally set by perl too).
481
482 4.35 Fri Mar 27 11:48:20 CET 2009
483 - event models relying on AnyEvent's signal watcher emulation did
484 invoke the callback asynchronously, contradicting documentation
485 and causing signals to get lost (this includes AnyEvent's own
486 event loop). AnyEvent now uses the standard pipe trick to make
487 callback execution synchronous to the event loop.
488 - AnyEvent::Handle didn't free TLS context data on DESTROY
489 (patch by Pavel Shaydo).
490 - work around the ever-incompatibly-changing API of MakeMaker.
491 - document that changing global variables without restoring them
492 is a bad idea in Perl (noted by Adam Rosenstein).
493 - AnyEvent::Strict now barfs if ->io is passed a file.
494
495 4.34 Thu Feb 12 18:32:45 CET 2009
496 - separately buffer TLS read data, as otherwise the read queue could
497 deadlock as receiving data is not expected while draining the
498 read queue (which cna only happen with TLS).
499 - raise EBADMSG error on JSON decoding errors.
500 - fix some minor manpage bugs (reported by Maximilian Gaß).
501 - speed up select bitmask parsing quite a bit in the pure perl
502 backend.
503 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
504
505 4.331 Tue Jan 6 21:07:25 CET 2009
506 - socketpair fails on many vista machines because vista has
507 completely broken accept/getpeername and getsockname functions,
508 so we provide our own socketpair emulation that kind of works
509 (AnyEvent::Util::portable_pipe).
510 - new function: AnyEvent::Util::portable_socketpair.
511 - take advantage of the Guard module if it exists.
512
513 4.33 Fri Nov 21 02:35:40 CET 2008
514 - AnyEvent::Strict did errornously flag a fileno of 0 as
515 illegal.
516 - reduce memory usage and slightly speed up the pure perl backend
517 by only storing the file descriptor, not the file handle.
518 - add missing autocork method to AnyEvent::Handle (reported
519 by Adam Rosenstein).
520 - AnyEvent::DNS->resolve errornously documented an $rcode result
521 argument, but there isn't (spotted by Henrik Krohns).
522 - the naked truth about Tk - it's basically unmaintained.
523
524 4.32 Mon Nov 3 22:46:32 CET 2008
525 - fix AnyEvent::Socket::resolve_sockaddr to properly support
526 unix sockets again and choose a proper default for
527 the socket type.
528 - fix call to resolve_sockaddr in tcp_connect.
529
530 4.31 Thu Oct 30 04:41:48 CET 2008
531 - implemented AnyEvent::Handle->destroy method.
532 - hint about unexpected effects in TLS mode.
533 - speed up AnyEvent::Impl::Perl by using more arrays
534 instead of hashes without the slightest loss of readability :)
535 - work around a perl argument refcounting bug.
536 - with some perl patches applied, AnyEvent now seems leak-free.
537
538 4.3 Fri Oct 3 09:18:43 CEST 2008
539 - AnyEvent will now install a no-op signal handler for SIGPIPE,
540 unless one has been installed already.
541 - warn about not loaidng AnyEvent::Impl::POE early enough
542 (patch by Adam Rosenstein).
543 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
544 - fix a bug in where in SSL connect mode, the
545 client would first wait for some data by the server and
546 otherwise hang. (reported and analysed in an absolutely
547 exemplary manner by Adam Rosenstein).
548 - fix a bug in where SSL EOF would not be treated
549 as stream EOF, putting the connection into a hung state.
550 (reported and analysed in an absolutely exemplary manner by Adam
551 Rosenstein).
552 - fix a potential segfault when the TLS context
553 would go missing in a read callback (e.g. due to stoptls) -
554 Net::SSLeay of course makes no type checking whatsoever.
555 - AnyEvent::Handle will not stop the read watcher in TLS mode.
556 - AnyEvent::Handle->stoptls will send a TLS close notify
557 instead of simply destroying the stream now.
558 - fix a bug where large blocks of data written in TLS mode
559 would not be sent unless triggered by receives.
560 - on_drain will now take the tls write buffer into account.
561 - SSL operations have been streamlined a bit and should be faster
562 now, more to come, though.
563 - added a FAQ section, will document nontrivial issues in there.
564
565 4.234 Mon Sep 29 04:08:13 CEST 2008
566 - fix child watcher documentation: only child exits will be reported,
567 no trace events.
568 - mention SIGPIPE in AnyEvent::Handle.
569 - perl backend will now use POSIX::times as monotonic clock
570 when available and the monotonic clock option is not.
571 - run even without Time::HiRes in some cases now, but do not
572 provide sub-second accuracy (all *supported* perl versions have
573 Time::HiRes).
574
575 4.233 Fri Aug 22 01:48:05 CEST 2008
576 - fix a bug in the testsuite, causing a hang.
577 - clarified lots of AnyEvent::Handle constructor arguments.
578
579 4.232 Thu Aug 21 20:44:25 CEST 2008
580 - fix a bug in AnyEvent::Handle that could cause two fatal error
581 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
582 (testcase by Leon Brocard).
583 - clarified on_eof/on_error documentation a bit.
584
585 4.231 Tue Jul 29 13:12:15 CEST 2008
586 - remove some debugging code left in AnyEvent::Util::fork_call
587 (and no, it's impossible to implement with the broken windows
588 perls without resource leaks or worse).
589
590 4.23 Tue Jul 29 12:19:59 CEST 2008
591 - document the first parameter passed to condvar callbacks to be
592 the callback.
593 - add AnyEvent::Socket::{ntoa,aton} aliases.
594 - optimize the AE::Handle->push_read (line) for the default
595 eol marker.
596 - optimize push_read (packstring|storable) for small packets.
597 - invoke on_error callback when no on_eof callback is set.
598 - fix a bug in push_read (storable) of unknown impact.
599
600 4.22 Sun Jul 20 16:34:13 CEST 2008
601 - new function AnyEvent::Socket::parse_hostport.
602 - as the bulkheads at microsoft can't even get getprotobyname reliably
603 working on their shitty fucking broken os we need to hardcode
604 some common protocol numbers in AnyEvent::Socket. How can
605 people even bother with such a pile of shit as windows.
606
607 4.21 Thu Jul 17 14:40:05 CEST 2008
608 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
609 which is incompatible to previous invocation syntax.
610 - work around more windows perl bugs in fork_call. I cannot imagine
611 why anybody would bother implementing fork in such an obviously
612 unusable way.
613 - avoid calling $do_retry if the request has already finished in
614 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
615 K. Sharifulin).
616
617 4.2 Sat Jul 12 22:42:11 CEST 2008
618 - support an "interval" argument for repeating timers.
619 - fix a bug in the pure perl event loop that caused timers to
620 be delayed under some circumstances.
621 - implement optional argument checking via PERL_ANYEVENT_STRICT.
622 - not importing anything from Event causes it to malfunction
623 and not use Time::HiRes, work around this bug.
624 - more bug workarounds against the endlessly broken Tk module,
625 seems to work now on 32 bit machines, but less so on 64 bit.
626 - minor optimisations applied to most backends.
627
628 4.161 Fri Jul 4 14:24:48 CEST 2008
629 - fixed the t/handle/02_write.t, it read after write, with the
630 assumption that all data could be written before read
631 (reported by Jim Razmus).
632
633 4.160 Thu Jul 3 04:02:21 CEST 2008
634 - re-registering signal watchers after unregistering one did
635 not work if a backend falls back on AnyEvent's default
636 implementation (also affected child watchers).
637 - new AnyEvent::Handle options: autocork and no_delay.
638
639 4.152 Sun Jun 22 14:15:44 CEST 2008
640 - allow for 32-bit perls that implement shifts differently
641 on different architectures in parse_ipv4 (reported and
642 analysed by Keiichi DAIBA).
643
644 4.151 Fri Jun 6 17:34:24 CEST 2008
645 - make sure specifying _only_ on_read and never pushing reads
646 works.
647
648 4.15 Fri Jun 6 13:00:46 CEST 2008
649 - the pure perl backend would keep some watchers alive when more than
650 one watcher was registered for the same fd.
651 - new "packstring" and "storable" read and write types
652 for AnyEvent::Handle.
653 - allow on_eof handler to be called after on_error with EPIPE returns.
654 - do not immediately call on_read callback in handle constructor.
655
656 4.14 Thu Jun 5 20:29:31 CEST 2008
657 - Fixed a bug in DNS SRV priority sorting.
658 - AnyEvent::Util::guard now reports runtime errors while
659 executing the guard block as warnings.
660 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
661
662 4.13 Thu Jun 5 00:47:59 CEST 2008
663 - AnyEvent::DNS only followed cname chains with length 2,
664 contrary to documentation. bumped it up to 10, thanks to
665 microsoft, the current broken-dns-config-king.
666 - AnyEvent::DNS didn't check for socket return status
667 but instead relied on perl not creating filehandles in that
668 case - too bad it gives you a bogus file handle (reported
669 and analysed by Vladimir Timofeev).
670 - fix queue management logic in AnyEvent::Handle:
671 when on_read was registered, the queue was empty
672 and no progress could be made AnyEvent::Handle would
673 enter an endless loop.
674 - correctly start reading again when the handle became
675 busy again after idling.
676 - correctly treat tls shut-downs as EOF condition
677 (for the time being, would be nice to have a callback for that).
678 - correctly call eof callback under all conditions
679 (hopefully).
680 - the timeout callback did not expect that $self can go
681 away any time.
682
683 4.12 Tue Jun 3 10:58:04 CEST 2008
684 - include AnyEvent::Intro, a tutorial for anyevent,
685 anyevent::socket and anyevent::handle.
686 - allow more options in on_error.
687
688 4.11 Fri May 30 23:42:25 CEST 2008
689 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
690 reverse_lookup and reverse_verify to replace it, support
691 v4mapped and v4compat addresses.
692 - provide more documentation for the resolver class.
693 - really replace longest run of :0: by :: in format_address,
694 also properly convert :: and ::1 again.
695 - support NAPTR record name and decode it.
696 - implement random weight sampling for SRV records, as per
697 rfc 2782.
698 - correctly abort on srv-record targets of ".".
699 - added AnyEvent::DNS::wait_for_slot.
700 - in the unlikely event of a virtual circuit connection
701 being invalidated by a delayed udp reply, AnyEvent::DNS
702 could die. this has been fixed.
703 - plug a probable memleak in the DNS vc code.
704 - use configured timeout also for VC request phase.
705 - implement timeout and max_outstanding methods
706 for resolver class.
707 - update version numbers in all modules.
708
709 4.1 Thu May 29 05:45:40 CEST 2008
710 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
711 which mirrors their purpose better (old names still available
712 for a while). Also moved AnyEvent::DNS::addr to
713 AnyEvent::Socket::resolve_sockaddr.
714 - implement AnyEvent->time and AnyEvent->now.
715 - fix IPv6 support in pack_sockaddr.
716 - officially un-experimentalise all newly introduced code.
717 - support unix domain sockets everywhere by specifying
718 a host of "unix/" and the pathname as service.
719 - implement an activity timeout in AnyEvent::Handle.
720 - added a regex read type to AnyEvent::Handle.
721 - added a json read/write type to AnyEvent::Handle.
722 - always croak in on_error in AnyEvent::Handle.
723 - document how to subclass AnyEvent::Handle.
724 - implement AnyEvent::Util::fork_call.
725 - add support for IPv6 nameservers and nameserver statements.
726 - work around _yet_ _another_ windows perl bug in where empty
727 select masks cause errors in the pure perl backend (this
728 workaround cannot be implemented for the other event loops,
729 but EV also works around this).
730 - supply AnyEvent::Socket::address_type and make good use of it.
731 - clarify and fix the Handle documentation w.r.t $self vs. $handle
732 vs. callback arguments.
733 - add some recommends to the META.yml.
734
735 4.05 Mon May 26 19:44:06 CEST 2008
736 - some platforms ignore the rfc and prepend an extra sa_len member to
737 the sockaddr structure, cater for those. also use sockaddr_family,
738 didn't know it was there, but comes in handy for the workaround.
739 - undo the import WIN32 hack.
740
741 4.04 Mon May 26 08:03:31 CEST 2008
742 - try to work around yet another windows bug: failed connects are reported
743 as if it were out-of-band data. windows users: you suck. Only
744 EV, Glib, Event and the pure perl backend can handle this condition.
745 - optimize write algorithm in AnyEvent::Handle.
746 - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly.
747 - tcp_connect now properly iterates through all targets.
748 - check wether IPv6 sockets can actually be created, otherwise, disable ipv6
749 support entirely. also hardcode some AF_INET6 constants for the
750 sake of perl 5.8.
751 - vastly improved nameserver/suffix detection algorithm for windows
752 (still a hack...)
753 - try to use a fallback dns server if no dns servers could be found.
754 - splatter around some local $SIG{__DIE__}'s to work around bad
755 die handlers.
756
757 4.03 Sun May 25 05:05:57 CEST 2008
758 - work around perl bugs on windows, where perl returns undocumented
759 error codes for sysread, syswrite etc.
760 - fix AnyEvent::Handle::unshift_read to really unshift and not push.
761 - AnyEvent::Handle could sometimes stumble over 0-byte writes.
762 - fix unpack_sockaddr, now works for AF_INET6 sockaddr's.
763 - updated documentation.
764 - lots of workarounds for perl 5.8 quirks.
765 - implement a more flexible type system for both reads and writes
766 in AnyEvent::Handle.
767 - support IPv6 in tcp_server.
768 - pass local hostname and port to the prepare callback in tcp_server.
769 - make types extendable in AnyEvent::Handle.
770 - croak, not die, in AnyEvent::Handle;
771
772 4.0 Sat May 24 19:58:08 CEST 2008
773 - added (experimental) AnyEvent::DNS module.
774 - added (experimental) AnyEvent::Socket module.
775 - added (experiemntal) support for TLS/SSL in AnyEvent::Handle.
776 - make condvar->end call ->send as documented.
777 - make condvar constructor support the documented cb => argument.
778 - overload condvars so you can use them instead of code references.
779 - support more of the POSIX forms instead of a pure dotted quad for
780 verbatim ip addresses.
781 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore.
782 - try very hard not to freeze on broken windows perls.
783 - make on_eof optional in AnyEvent::Handle.
784 - support service names in tcp_connect and tcp_server.
785 - work around netbsd/openbsd bug causing unix sockets not to
786 become writable until empty.
787 - only make a dummy read for error detection when getpeername
788 returns ENOTCONN.
789 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
790 override.
791 - new AnyEvent::Guard::cancel.
792
793 3.5 Sat May 17 23:17:14 CEST 2008
794 - gracefully deal with systems not defining CLOCK_MONOTONIC
795 (as opposed to not supporting the clock itself, which worked in 3.41).
796 - added AnyEvent::Util::tcp_connect and AnyEvent::Util::tcp_server
797 helpers, to replace the ill-designed AnyEvent::Socket class.
798 - added some examples (eg/connect, eg/handle).
799 - added AnyEvent::Util::guard.
800 - AnyEvent::Util now exports most of its functions.
801 - fixed a bug in *_read_chunk, where the callback was called with $self as
802 first and second argument.
803 - simplified and fixed regex handling in AnyEvent::Handle::*_read_line.
804 - fix manpage condvars examples to use new syntax.
805 - considerably improve inet_aton with EV::ADNS backend to support
806 cname chains (common dns configuration bug, e.g. with www.google.de)
807 and aaaa records if no a record could be found.
808
809 3.41 Sun May 11 19:53:13 CEST 2008
810 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
811
812 3.4 Sun May 11 00:29:25 CEST 2008
813 - complete re-implementation of condvars with a hopefully much more useful
814 API (backward compatible functions exist but are undocumented).
815 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
816 (still subject to change).
817 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
818 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which
819 allows module authors to avoid forcing event loop detection.
820 (used by Coro::AIO, Coro::BDB, Coro::AnyEvent for example).
821 - remove coro backends: Coro now provides generic support for AnyEvent
822 via Coro::AnyEvent.
823
824 3.3 Mon Apr 28 09:51:06 CEST 2008
825 - added AnyEvent::Handle, AnyEvent::Socket and AnyEvent::Util modules.
826 - fix a bug in the pure perl backend that kept watchers alive
827 when multiple watchers were registered for the same fh/poll combo.
828 - add a benchmark section showing AnyEvent overhead and comparing
829 the different event loops with each other.
830 - prefer pure perl over tk when autoprobing, as it's about as fast,
831 but doesn't crash with many watchers.
832 - declare Qt support non-experimental.
833 - clarify the confusing section about the file descriptor being
834 kept alive.
835 - document the race between loading of an event module and
836 child processes exiting.
837 - support POE as "backend" (with some caveats, POE is not generic
838 enough, and darn slow).
839 - support Wx and Prima through POE.
840 - optimise perl backend to use 20% less memory and take advantage
841 of typical timeout behaviour. It can now compete with
842 select/poll-based C event loops in most cases (it is usually
843 faster than Event and Glib :).
844 - roughly cut EV memory use in half and increase its speed by 30%,
845 by removing undocumented functionality. Did something similar
846 to other event loops where possible.
847
848 3.2 Thu Apr 24 10:10:40 CEST 2008
849 - do not die when anyevent watchers are destroyed while running callbacks
850 in the pureperl backend (could only happen when two watchers are registered
851 for the same fh/poll combo).
852 - support autoloading for child watchers, was broken in all versions.
853 - implement PERL_ANYEVENT_MODEL env variable.
854 - (experimental) implement interface to the (very crashy/buggy) Event::Lib module.
855 - (experimental) implement interface to the Qt module (cannot be autoprobed).
856 - this release is IO:AnyEvent-proof.
857
858 3.12 Tue Apr 22 07:11:46 CEST 2008
859 - reinstate AUTHOR section that got lost somehow.
860 - do not hang in the testsuite with badly broken perls (activestate,
861 strawberry...), but instead diagnose the problem and continue.
862 - use INT instead of CHLD in an attempt to support broken windows perls
863 better (this decreases the test quality, unfortunately).
864 - do not send the signal to the process group
865 (no problem for CHLD, bad for INT :).
866
867 3.11 Sat Apr 19 06:57:31 CEST 2008
868 - major documentation rework.
869 - document the fact that child watchers only watch for zombies.
870 - fix the child watcher example.
871
872 3.1 Wed Apr 16 17:09:01 CEST 2008
873 - work around recurring bugs in Tk by dup'ing filehandles, the
874 only method with good success chances on Tk (the bugs apparently
875 don't get fixed anytime soon).
876 - lift the restriction of only one watcher per fh direction
877 (as the Tk bug workaround also lifts it and only Tk imposed
878 such strong limits).
879 - changed probe order to prefer coro adaptors.
880 - explain why recursion into the event loop is not supported
881 unless the backend supports it (only Coro::EV does without
882 any restrictions...).
883 - add simple manpages for all backend modules.
884
885 3.0 Mon Apr 7 21:30:23 CEST 2008
886 - Coro::Signal changed semantics, roll our own, also cleaning
887 up the Coro implementation in general.
888 - rename Coro backend to CoroEvent.
889 - add some decision helping paragraph to the manpage that should
890 help people to decide whether AnyEvent is the right thing for them.
891
892 2.9 Mon Jan 28 13:31:54 CET 2008
893 - update for EV 3.0 API changes.
894
895 2.8 Sun Nov 25 15:06:03 CET 2007
896 - waitpid can validly return 0. accept this fact of life
897 instead of reporting it to any watchers.
898
899 2.7 Fri Nov 23 11:41:14 CET 2007
900 - force use of AnyEvent::Impl::Perl in testsuite, there is
901 too much breakage outside AnyEvent.
902 - deliver signals synchronously in AnyEvent::Impl::Perl
903 or any other event loop that relies on AnyEvents child
904 watcher emulation. *Could* help with hanging testsuite
905 (except when Event or EV are installed).
906
907 2.6 Fri Nov 9 20:36:35 CET 2007
908 - fix bug in testsuite.
909 - move EV adaptor modules to AnyEvent.
910 - add Coro+EV adaptor module.
911
912 2.55 Tue Nov 6 17:41:32 CET 2007
913 - add EV to the list of supported event models.
914 - do not auto-reset pid watchers, pass pid and status to them.
915 - allow a pid of zero to watch for all children in child watchers.
916
917 2.54 Wed Jul 18 17:36:23 CEST 2007
918 - work around a perl bug that results in
919 BEGIN not safe after errors--compilation aborted without
920 any discernible reason or error message by once
921 again not use'ing strict.
922
923 2.53 Sun Jul 8 10:51:53 CEST 2007
924 - make Glib interface work again (spotted by elmex).
925
926 2.52 Wed Mar 7 18:36:16 CET 2007
927 - child watchers stopped working permanently when
928 all current child watchers were destroyed.
929
930 2.51 Mon Dec 11 21:33:24 CET 2006
931 - work around bugs in perl where eval "require Module" returns
932 true even if the module couldn't be loaded :/.
933
934 2.5 Mon Dec 11 02:15:28 CET 2006
935 - avoid $AUTOLOAD because many perls corrupt it.
936 - AnyEvent::detect forces autodetection.
937 - implement signal watchers (experimental)
938 (Tk does not support async signals (<= 804.027 at least),
939 so they might get delayed indefinitely on Tk).
940 - implement child watchers (experimental).
941 - moved default condvar implementation into base module, simplifying
942 most implementation modules.
943
944 2.1 Fri Nov 24 15:50:48 CET 2006
945 - better docs.
946 - simple testsuite.
947 - added AnyEvent->one_event method for special purposes.
948
949 2.0 Wed Nov 1 02:21:30 CET 2006
950 - INCOMPATIBLE CHANGE: poll can now either be "r" or "w" but not both.
951 - INCOMPATIBLE CHANGE: io watcher callbacks have no arguments anymore.
952 - EXPERIMENTAL:
953 new pure-perl model added, AnyEvent now always finds a suitable
954 event model.
955 - improved documentation.
956 - reduced cpu overhead.
957
958 1.02 Fri Jan 13 14:15:40 CET 2006
959 - add COPYING to clarify license.
960
961 1.01 Sun Jan 8 05:48:09 CET 2006
962 - correctly cancel Event timers, avoid memory leaks.
963
964 1.0 Sun Jan 8 05:40:58 CET 2006
965 - allow third-party interfaces to be added at runtime.
966 - fix version number.
967
968 0.9 Fri Dec 30 02:25:41 CET 2005
969 - fixed errors in the documentation.
970 - going back to using $VERSION as "load check",
971 as suggested by Jörn Reder. Let's see why I stopped using
972 this method.
973 - add 'hup' to the list of events to receive for glib
974 and generate 'rw' events for it, as some versions of
975 glib seem to require this, while this breaks other
976 (older) versions of glib.
977 - implemented PERL_ANYEVENT_VERBOSE env variable.
978
979 0.3 Sun Dec 4 10:43:33 CET 2005
980 - no changes to the code.
981 - fixed documentation.
982 - clarified some corner cases.
983 - vastly improved documentation with a long example.
984
985 0.2 Thu Dec 1 22:18:49 CET 2005
986 - check whether a valid method was called, to avoid endless loops.
987 - move condvars into their own class (cleaner, safer).
988 - don't die when some modules are not available.
989 - Tk is too broken to allow for words. Will work once Tk works.
990
991 0.1 Thu Dec 1 19:44:57 CET 2005
992 - spiced up and cleaned up for release.
993
994 0.01 Tue Sep 21 18:12:09 CEST 2004
995 - original version; copied from Convert::Scalar.
996