AnyEvent
view release on metacpan or search on metacpan
- implement AnyEvent::CondVar->new method, which was documented but
missing.
- support autoloading of read types in unshift_read.
- AnyEvent::Strict: do the test for invalid fh arguments differently,
resulting in more informative error messages.
- new AnyEvent::FAQ manpage.
- clarify that you can actually call push_read etc. in on_read.
- put keys and certs in /tmp, not into the current directory,
and document this in the SECURITY CONSIDERATIONS sections
of AnyEvent::TLS.
- support ";" as resolv.conf comment character in AnyEvent::DNS, as
requested by Ron Isaacson.
- document $AnyEvent::DNS::RESOLVER variable.
- incorporated major typo patches by Abhijit Menon-Sen.
- AnyEvent::Handle now croaks when negative timeouts are passed.
- add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
undocumented, but who knows when they might come in handy.
5.271 Tue Jun 8 12:05:46 CEST 2010
- backport to perl 5.8.x.
5.27 Sun Jun 6 12:12:05 CEST 2010
- postpone differently in AnyEvent::Socket now, as
when not, canceling the connection attempt might fail
(found by Felix Antonius Wilhelm Ostmann).
- explicitly check for non-stream sockets in AE::Handle, too many
clueless people fell into the trap of this somehow working.
- simplified and reworked the "OTHER MODULES" section.
- better/more condvar examples.
5.261 Wed Apr 28 16:13:36 CEST 2010
- AF_INET6 was not properly used from Socket6 during configuration
time (found by Andy Grundman).
5.26 Mon Apr 12 04:49:35 CEST 2010
- don't generate spurious readyness notifications when select
returns EINTR in the pure perl backend (analysed and testcase
by Bas Denissen).
- give same examples in SYNOPSIS sections of AnyEvent and AE.
- provider faster implementations for AE::time/now/now_update for
EV and Perl backends.
- provide faster AE::cv and AE::time implementations for all
backends.
- no longer support lower/mixed-case signal names (this was
never documented nor universally supported).
- some more memory µ-optimisations, and somewhat less messy
code to cope with both AnyEvent and AE APIs.
5.251 Sat Mar 13 00:58:21 CET 2010
- make test failed if it was run before make install on perl <=
5.8.8, and older versions of perl make our live very difficult,
so write constants.pl during Makefile.PL time.
5.25 Sat Mar 13 00:23:14 CET 2010
- fix a race condition in AnyEvent::Handle that would cause
a "bio_read: unsupported method" error (in _another_
ssl connection) after user code threw an exception.
- added AnyEvent::Handle->destroyed method.
- speed up AnyEvent::Socket::format_address and ::format_ipv6.
- the AnyEvent::Util::fh_nonblocking function worked only
by lucky accident on win32.
- smaller and faster AnyEvent::Util::fh_nonblocking.
- when the (required!) Time::HiRes module is missing, AnyEvent
did not fall back to built-in time properly.
- do not load Fcntl at runtime, saving memory and loading time.
- precompile a number of constants and use them instead of runtime
detection and eval.
- free detection code after detection and similar memory optimisations.
- Perl backend timer interval best effort drift has been improved
(same algorithm as EV).
- update unicode idna mapping table.
5.24 Tue Jan 5 11:39:43 CET 2010
- cygwin never reports errors from failed connects. 1.5 just gives
you continous readyness and EAGAIN, 1.7 is even more broken and
just hangs. work around both issues in a cygwin-specific hack.
- improve idle watcher documentation slightly.
5.23 Sun Dec 20 23:48:00 CET 2009
- support IDNs in resolve_sockaddr, and therefore in tcp_connect.
- implement punycode_encode/decode, idn_nameprep,
idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
- provide $AE::VERSION.
- removed traces of "no strict 'refs'".
5.22 Sat Dec 5 03:51:13 CET 2009
- downgrade-or-fail in AnyEvent::Handle::push_write, to
diagnose encoding failures earlier and more succinctly.
(this works around bugs in perl, throwing away encoding info
when passing scalar data to extensions).
- add more examples to AnyEvent::Socket manpage.
- upgrade internal warning set to the same as common::sense 2.03.
- use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
(John Beppu).
- AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
- add google public dns servers to fallback server set and make sure
we load-balance properly between the three sets. also add all
fallback dns servers, not just a random one, to each dns config.
5.21 Thu Nov 19 02:48:47 CET 2009
- fix a problem where socket constants were called with parameters
(spotted by David Friedland).
- fork_call never use'd POSIX (reported by Daisuke Maki).
- improve perl 5.6 compatibility further (but it still won't work
unless you rip out everything but the core).
- prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
uses 10MB of RAM, but doesn't open a console window. *sigh*.
5.202 Wed Oct 14 22:35:44 CEST 2009
- AnyEvent::DNS would unexpectedly clobber $_ under windows
(analysed by Matthias Waldorf).
- AnyEvent::Handle::run_cmd can now pass the PID of the
newly-created process, which is much less useful than it might
sound (based on patch by Yann Kerherve).
5.201 Tue Sep 29 12:09:25 CEST 2009
- AnyEvent:Handle::on_starttls/on_stoptls methods were broken
(reported by Torsten Foertsch).
- common::sense 2.0 could cause tcp_server to throw an exception
(analysed by elmex).
- prefer pure perl over tk when autoprobing, as it's about as fast,
but doesn't crash with many watchers.
- declare Qt support non-experimental.
- clarify the confusing section about the file descriptor being
kept alive.
- document the race between loading of an event module and
child processes exiting.
- support POE as "backend" (with some caveats, POE is not generic
enough, and darn slow).
- support Wx and Prima through POE.
- optimise perl backend to use 20% less memory and take advantage
of typical timeout behaviour. It can now compete with
select/poll-based C event loops in most cases (it is usually
faster than Event and Glib :).
- roughly cut EV memory use in half and increase its speed by 30%,
by removing undocumented functionality. Did something similar
to other event loops where possible.
3.2 Thu Apr 24 10:10:40 CEST 2008
- do not die when anyevent watchers are destroyed while running callbacks
in the pureperl backend (could only happen when two watchers are registered
for the same fh/poll combo).
- support autoloading for child watchers, was broken in all versions.
- implement PERL_ANYEVENT_MODEL env variable.
- (experimental) implement interface to the (very crashy/buggy) Event::Lib module.
- (experimental) implement interface to the Qt module (cannot be autoprobed).
- this release is IO:AnyEvent-proof.
3.12 Tue Apr 22 07:11:46 CEST 2008
- reinstate AUTHOR section that got lost somehow.
- do not hang in the testsuite with badly broken perls (activestate,
strawberry...), but instead diagnose the problem and continue.
- use INT instead of CHLD in an attempt to support broken windows perls
better (this decreases the test quality, unfortunately).
- do not send the signal to the process group
(no problem for CHLD, bad for INT :).
3.11 Sat Apr 19 06:57:31 CEST 2008
- major documentation rework.
- document the fact that child watchers only watch for zombies.
- fix the child watcher example.
3.1 Wed Apr 16 17:09:01 CEST 2008
- work around recurring bugs in Tk by dup'ing filehandles, the
only method with good success chances on Tk (the bugs apparently
don't get fixed anytime soon).
- lift the restriction of only one watcher per fh direction
(as the Tk bug workaround also lifts it and only Tk imposed
such strong limits).
- changed probe order to prefer coro adaptors.
- explain why recursion into the event loop is not supported
unless the backend supports it (only Coro::EV does without
any restrictions...).
- add simple manpages for all backend modules.
3.0 Mon Apr 7 21:30:23 CEST 2008
- Coro::Signal changed semantics, roll our own, also cleaning
up the Coro implementation in general.
- rename Coro backend to CoroEvent.
- add some decision helping paragraph to the manpage that should
help people to decide whether AnyEvent is the right thing for them.
2.9 Mon Jan 28 13:31:54 CET 2008
- update for EV 3.0 API changes.
2.8 Sun Nov 25 15:06:03 CET 2007
- waitpid can validly return 0. accept this fact of life
instead of reporting it to any watchers.
2.7 Fri Nov 23 11:41:14 CET 2007
- force use of AnyEvent::Impl::Perl in testsuite, there is
too much breakage outside AnyEvent.
- deliver signals synchronously in AnyEvent::Impl::Perl
or any other event loop that relies on AnyEvents child
watcher emulation. *Could* help with hanging testsuite
(except when Event or EV are installed).
2.6 Fri Nov 9 20:36:35 CET 2007
- fix bug in testsuite.
- move EV adaptor modules to AnyEvent.
- add Coro+EV adaptor module.
2.55 Tue Nov 6 17:41:32 CET 2007
- add EV to the list of supported event models.
- do not auto-reset pid watchers, pass pid and status to them.
- allow a pid of zero to watch for all children in child watchers.
2.54 Wed Jul 18 17:36:23 CEST 2007
- work around a perl bug that results in
BEGIN not safe after errors--compilation aborted without
any discernible reason or error message by once
again not use'ing strict.
2.53 Sun Jul 8 10:51:53 CEST 2007
- make Glib interface work again (spotted by elmex).
2.52 Wed Mar 7 18:36:16 CET 2007
- child watchers stopped working permanently when
all current child watchers were destroyed.
2.51 Mon Dec 11 21:33:24 CET 2006
- work around bugs in perl where eval "require Module" returns
true even if the module couldn't be loaded :/.
2.5 Mon Dec 11 02:15:28 CET 2006
- avoid $AUTOLOAD because many perls corrupt it.
- AnyEvent::detect forces autodetection.
- implement signal watchers (experimental)
(Tk does not support async signals (<= 804.027 at least),
so they might get delayed indefinitely on Tk).
- implement child watchers (experimental).
- moved default condvar implementation into base module, simplifying
most implementation modules.
2.1 Fri Nov 24 15:50:48 CET 2006
- better docs.
- simple testsuite.
- added AnyEvent->one_event method for special purposes.
2.0 Wed Nov 1 02:21:30 CET 2006
- INCOMPATIBLE CHANGE: poll can now either be "r" or "w" but not both.
( run in 0.765 second using v1.01-cache-2.11-cpan-39bf76dae61 )