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

Comparing AnyEvent/Changes (file contents):
Revision 1.459 by root, Fri Aug 12 00:53:29 2011 UTC vs.
Revision 1.521 by root, Mon Dec 12 12:21:47 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: document TCP_*** constants 3TODO: document TCP_*** constants
4TODO: catch AE::xxx for anyevent strict and anyevent debug 4TODO: add debug/trace logging to some modules
5TODO: anyevent::trace? or debug tracing all watchers?
6TODO: anyevent strict checking for $_ changes?
7 5
8TODO: redesign Impl 66.12 Mon Dec 12 13:21:10 CET 2011
9TODO: make ae::run mroe robust against eintr, find out which env still causes these issues Andrew Suffield 7 - $! was clobbered by subsequent calls in tcp_connect, due to
10TODO: IO::Async sometimes cancels the wrong timer when you call cancel_timer. Invest extra overhead to work around this peculiar behaviour. 8 the postpone not saving/restoring it (analyzed by Richard Garnish).
9
106.11 Tue Nov 22 10:36:05 CET 2011
11 - Tk cannot create windows when tainted unless you set a title, so
12 set a dummy title for AnyEvent's dummy mainwindow. How dummy.
13 - escape any nonprintable/nonascii characters when stringifying
14 backtraces.
15 - log the reason loading an interface module fails to load at level debug.
16
176.1 Tue Oct 4 19:44:30 CEST 2011
18 - INCOMPATIBLE CHANGE: the default log level is now "4" (error
19 and above), and some messages inside AnyEvent have been elevated
20 to higher log levels to print by default.
21 - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal.
22 - work around yet another signal race bug, newly introduced by POE. My
23 how that module sucks.
24 - add google public ipv6 dns as fallback servers, so AE::DNS can finally
25 support ipv6-only operation even with defaults (also use ::1 instead
26 of 127.0.0.1).
27 - give better guidelines on how to chose a logging level.
28 - AnyEvent::Log can now cap (limit) log message priority by context.
29 - AE::log will now save and restore $! and $@, so callers don't have to.
30 - AE::Strict now checks that registered fds are still valid at regular
31 intervals.
32 - skip frequently called 'require' calls if the module appears loaded.
33 - increase signal latency test timer considerably for poor little osx,
34 which can't be bothered with basic posix functionality such as signal
35 delivery.
36 - mention some debugging aids in the tutorial.
37 - new env variable PERL_ANYEVENT_MAX_SIGNAL_LATENCY.
38 - private (%namespace) log contexts in PERL_ANYEVENT_LOG now have the name
39 of the context as title.
40 - AnyEvent::Strict would not restore read-write access to $_ when a callback
41 died - this is a user bug, but since AE::Strict exists to help dbeugging...
42 - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse
43 to work with it - the author is well aware of the issues but refuses
44 to fix them. This extreme step has been taken because the module actively
45 attacks the goals of AnyEvent and makes it harder for module authors to use
46 AnyEvent.
47
486.02 Fri Aug 26 20:08:31 CEST 2011
49 - log_to_syslog now accepts facility strings.
50 - log_to_syslog would not allow facilities - "$facility|$level"
51 *literally* means that string. sheesh.
52 - the CPAN parser got confused and thought we provide Sys::Syslog, try
53 to work around.
54 - renamed AnyEvent::Impl::FLTK2 to FLTK.
55
566.01 Fri Aug 26 07:04:11 CEST 2011
11 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include 57 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
12 the TTL as fourth element - this affects ->resolve directly, 58 the TTL as fourth element - this affects ->resolve, ->request
13 and ->request and ->dns_unpack indirectly. Convenience functions 59 and ->dns_unpack indirectly. Convenience functions such as
14 such as AnyEvent::DNS::{a,txt,mx,srv} are not affected. 60 AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is
61 AnyEvent::Socket.
15 - INCOMPATIBLE CHANGE: backend authors now should not implement 62 - INCOMPATIBLE CHANGE: backend authors now should not implement
16 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll 63 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll
17 methods. 64 methods.
65 - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see
66 AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details.
18 - DEPRECIATION: please change 67 - DEPRECIATION: please change
19 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and 68 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and
20 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" 69 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run"
21 in your programs, for future compatibility. 70 in your programs, for future compatibility.
71 - *blush* idle watcher emulation was borked.
72 - AnyEvent::Strict now checks the AE::xxx functions as well.
22 - querying too long domain names would barf deep inside AnyEvent::DNS - since 73 - querying too long domain names would barf deep inside AnyEvent::DNS - since
23 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for 74 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for
24 for too long domain names explicitly and passes an undef to the callback 75 for too long domain names explicitly and passes an undef to the callback
25 instead (reported by James Bromberger). 76 instead (reported by James Bromberger).
77 - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield).
26 - new function: AnyEvent::postpone. 78 - new functions: AnyEvent::postpone, AnyEvent::log.
79 - new module: AnyEvent::Log, for simple logging needs.
80 - new env variable, PERL_ANYEVENT_LOG, for fine-grained logging config.
81 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start
82 a debug shell.
83 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable
84 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap).
85 - new env variable, PERL_ANYEVENT_HOSTS, to override the place where
86 /etc/hosts can be found.
87 - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default
88 configuration.
89 - env variables can now be specified using AE_xyz instead of
90 PERL_ANYEVENT_xyz, subject to some rules.
91 - lots of new AnyEvent::Debug functionality.
92 - AnyEvent::Strict now checks for modifications $_ by the callback
93 (by setting it to readonly while executing the callback, if possible).
27 - IO::Async sometimes cancels the wrong timer when you call cancel_timer. 94 - IO::Async sometimes cancels the wrong timer when you call cancel_timer.
28 Invest extra overhead to work around this peculiar behaviour. 95 Invest extra overhead to work around this peculiar behaviour.
29 - split the pure perl backend into a loop module and an impl 96 - split the pure perl backend into a loop module and an impl
30 module (AnyEvent::Loop and AnyEvent::Impl::Perl). 97 module (AnyEvent::Loop and AnyEvent::Impl::Perl).
31 - some read types (regex, netstring, json, storable) could 98 - some read types (regex, netstring, json, storable) could
32 errornously keep an AE::Handle object alive on their own 99 errornously keep an AE::Handle object alive on their own
33 (reported by Mohammad Toossi). 100 (reported by Mohammad Toossi).
101 - AnyEvent::Socket::resolve_sockaddr and all functions using it now
102 supports /etc/hosts overrides.
34 - add more workarounds around child watcher bugs in IO::Async 103 - add more workarounds around child watcher bugs in IO::Async
35 and (newly introduced) in POE. 104 and (newly introduced) in POE.
36 - use glib child watchers and try to work around its limitations, 105 - use glib child watchers and try to work around its limitations,
37 if possible (based on a patch by Kevin Ryde). 106 if possible (based on a patch by Kevin Ryde).
38 - add support for (currently third-party) AnyEvent::Impl::FLTK. 107 - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2.
39 - many read types in AnyEvent::Handle would malfunction during 108 - many read types in AnyEvent::Handle would malfunction during
40 transitions to TLS because of a "delete $self->{rbuf}". 109 transitions to TLS because of a "delete $self->{rbuf}".
41 (reported by Gerald Galster). 110 (reported by Gerald Galster).
42 - resolve AnyEvent::Util::guard at first-use-time, not at load time,
43 for further speed and memory savings when not used.
44 - improve condvar blocking wait performance (probably only noticable 111 - improve condvar blocking wait performance (probably only noticable
45 with faster backends), also make it easier for event loops that 112 with faster backends), also make it easier for event loops that
46 do not support blocking waits. 113 do not support blocking waits.
47 - PERL_ANYEVENT_MODEL now also allows full module names, although 114 - PERL_ANYEVENT_MODEL now also allows full module names, although
48 the usefulness of this feature is not yet clear. 115 the usefulness of this feature is not yet clear.
116 - add tests for all supported event loops, conditional on PERL_ANYEVENT_LOOP_TESTS.
117 - add t/80_ssltext.t.
118 - no longer use AUTOLOAD for the initial loading (for no very good reason).
119 - tcp_server now tries to unlink unix domain sockets when it gets destroyed.
120 - do not run event loop detection multiple times when programs call their cached
121 copies of AnyEvent::detect.
122 - parse_hostport now accepts absolute paths als unix domain sockets.
123 - suppress the idiotic warning inside POE by patching the POE::Kernel
124 run flags instead of asking the user to jump through contortions.
125 - add Task::Weaken as dependency (as recommends only at this time).
126 - replace PF_UNSPEC by 0, for good old minix.
127
1286.0 (not officially released, but was on CPAN for about 15 minutes :/)
49 129
505.34 Thu May 12 09:59:41 CEST 2011 1305.34 Thu May 12 09:59:41 CEST 2011
51 - AE::TLS didn't support both cert_file and key at the same time, 131 - AE::TLS didn't support both cert_file and key at the same time,
52 due to some copy&paste bug (reported and analyzed by vti). 132 due to some copy&paste bug (reported and analyzed by vti).
53 - improve AE::Handle timeout documentation slightly. 133 - improve AE::Handle timeout documentation slightly.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines