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

Comparing AnyEvent/Changes (file contents):
Revision 1.473 by root, Mon Aug 15 18:58:29 2011 UTC vs.
Revision 1.539 by root, Fri Mar 30 21:31:52 2012 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? 5TODO: AnyEvent::IO
6TODO: anyevent strict checking for $_ changes? 6tODO: maxim souffle handle storable
7TODO: document import tags aeio, also ae_ naming
8TODO: t/io
9TODO: use the eval-with-cb-call trick also to speed up JSON?
10lib/AnyEvent/DNS.pm: open my $fh, "<", $resolv_conf
11lib/AnyEvent/DNS.pm: if (open my $fh, "ipconfig /all |") {
12lib/AnyEvent/Log.pm: open my $fh, ">>", $path
13lib/AnyEvent/Log.pm: open my $fh, ">>", $path
14lib/AnyEvent/TLS.pm: or croak "$dh_file: failed to open DH parameter file: $!";
15TODO: disable logging to a context while it is being logged to?
7 16
8TODO: parse_unix??? 176.2
9TODO: logging? / trace_level 18 - child watchers are broken in POE 1.352 (also many earlier
19 versions)and there seems to be no way to work around it, as POE
20 itself is inherently racy. Document this regression and sleep a
21 second in t/68_poe_03_child.t for the time being.
22 - new module AnyEvent::IO, that is a frontend to either a pure-perl
23 synchronous I/O implementation (AnyEvent::IO::Perl), or to the
24 asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO).
25 - load /etc/hosts only when dns fails has no answer.
26 - stat /etc/hosts on every access and reload it if it changed.
27 - load /etc/hosts via AnyEvent::IO - potentially asynchronous.
28 - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As
29 a side effect, they now use true appending as opposed to libc
30 appending, and the file might not have been opened when the function
31 returns.
32 - the default logging level was not properly documented in a variety of
33 places, this has hopefully been rectified.
34 - updated uts46data.pl for unicode 6.1.0.
35 - made log messages genearted by AnyEvent submodules not
36 include the package name anymore, as it will be logged
37 by default already.
38 - upgrade to the trick used by common-sense 3.5 to work
39 around extra warning torture/breakage under perl 5.15.x.
40 - log messages by anyevent are now ucfirst, are usually full
41 sentences and do no longer include the package name.
42 - the storable read type would sometimes throw an exception instead
43 of causing EBADMSG (analyzed by Maxime Soulé).
44 - documented Rocco fabricating statements about AnyEvent and me.
10 45
116.01 466.14 Tue Jan 31 20:00:24 CET 2012
47 - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside,
48 probably an editing mistake (reported by Darin McBride).
12 49
136.0 (not officially released) 506.13 Thu Jan 12 07:27:01 CET 2012
51 - AnyEvent::Util::fork_call checked for POSIX availability in the wrong way,
52 causing it to fail if POSIX wasn't loaded already (analysed by Rock Power).
53 - AnyEvent::Handle::push_read (line => did pass $1 directly, so
54 regex-matching inside the callback would change the parameter, despite
55 $1 being dynamically scoped per-block. this perl bug is now being
56 worked around (testcase by Cindy Wang).
57
586.12 Mon Dec 12 13:21:10 CET 2011
59 - $! was clobbered by subsequent calls in tcp_connect, due to
60 the postpone not saving/restoring it (analyzed by Richard Garnish).
61
626.11 Tue Nov 22 10:36:05 CET 2011
63 - Tk cannot create windows when tainted unless you set a title, so
64 set a dummy title for AnyEvent's dummy mainwindow. How dummy.
65 - escape any nonprintable/nonascii characters when stringifying
66 backtraces.
67 - log the reason loading an interface module fails to load at level debug.
68
696.1 Tue Oct 4 19:44:30 CEST 2011
70 - INCOMPATIBLE CHANGE: the default log level is now "4" (error
71 and above), and some messages inside AnyEvent have been elevated
72 to higher log levels to print by default.
73 - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal.
74 - work around yet another signal race bug, newly introduced by POE. My
75 how that module sucks.
76 - add google public ipv6 dns as fallback servers, so AE::DNS can finally
77 support ipv6-only operation even with defaults (also use ::1 instead
78 of 127.0.0.1).
79 - give better guidelines on how to chose a logging level.
80 - AnyEvent::Log can now cap (limit) log message priority by context.
81 - AE::log will now save and restore $! and $@, so callers don't have to.
82 - AE::Strict now checks that registered fds are still valid at regular
83 intervals.
84 - skip frequently called 'require' calls if the module appears loaded.
85 - increase signal latency test timer considerably for poor little osx,
86 which can't be bothered with basic posix functionality such as signal
87 delivery.
88 - mention some debugging aids in the tutorial.
89 - new env variable PERL_ANYEVENT_MAX_SIGNAL_LATENCY.
90 - private (%namespace) log contexts in PERL_ANYEVENT_LOG now have the name
91 of the context as title.
92 - AnyEvent::Strict would not restore read-write access to $_ when a callback
93 died - this is a user bug, but since AE::Strict exists to help dbeugging...
94 - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse
95 to work with it - the author is well aware of the issues but refuses
96 to fix them. This extreme step has been taken because the module actively
97 attacks the goals of AnyEvent and makes it harder for module authors to use
98 AnyEvent.
99
1006.02 Fri Aug 26 20:08:31 CEST 2011
101 - log_to_syslog now accepts facility strings.
102 - log_to_syslog would not allow facilities - "$facility|$level"
103 *literally* means that string. sheesh.
104 - the CPAN parser got confused and thought we provide Sys::Syslog, try
105 to work around.
106 - renamed AnyEvent::Impl::FLTK2 to FLTK.
107
1086.01 Fri Aug 26 07:04:11 CEST 2011
14 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include 109 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
15 the TTL as fourth element - this affects ->resolve directly, 110 the TTL as fourth element - this affects ->resolve, ->request
16 and ->request and ->dns_unpack indirectly. Convenience functions 111 and ->dns_unpack indirectly. Convenience functions such as
17 such as AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither 112 AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is
18 is AnyEvent::Socket. 113 AnyEvent::Socket.
19 - INCOMPATIBLE CHANGE: backend authors now should not implement 114 - INCOMPATIBLE CHANGE: backend authors now should not implement
20 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll 115 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll
21 methods. 116 methods.
117 - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see
118 AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details.
22 - DEPRECIATION: please change 119 - DEPRECIATION: please change
23 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and 120 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and
24 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run" 121 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run"
25 in your programs, for future compatibility. 122 in your programs, for future compatibility.
26 - *blush* idle watcher emulation was borked. 123 - *blush* idle watcher emulation was borked.
28 - querying too long domain names would barf deep inside AnyEvent::DNS - since 125 - querying too long domain names would barf deep inside AnyEvent::DNS - since
29 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for 126 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for
30 for too long domain names explicitly and passes an undef to the callback 127 for too long domain names explicitly and passes an undef to the callback
31 instead (reported by James Bromberger). 128 instead (reported by James Bromberger).
32 - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield). 129 - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield).
33 - new function: AnyEvent::postpone. 130 - new functions: AnyEvent::postpone, AnyEvent::log.
131 - new module: AnyEvent::Log, for simple logging needs.
132 - new env variable, PERL_ANYEVENT_LOG, for fine-grained logging config.
34 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start 133 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start
35 a debug shell. 134 a debug shell.
36 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable 135 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable
37 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). 136 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap).
137 - new env variable, PERL_ANYEVENT_HOSTS, to override the place where
138 /etc/hosts can be found.
139 - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default
140 configuration.
141 - env variables can now be specified using AE_xyz instead of
142 PERL_ANYEVENT_xyz, subject to some rules.
38 - lots of new AnyEvent::Debug functionality. 143 - lots of new AnyEvent::Debug functionality.
39 - AnyEvent::Strict now checks for modifications $_ by the callback. 144 - AnyEvent::Strict now checks for modifications of $_ by the callback
145 (by setting it to readonly while executing the callback, if possible).
40 - IO::Async sometimes cancels the wrong timer when you call cancel_timer. 146 - IO::Async sometimes cancels the wrong timer when you call cancel_timer.
41 Invest extra overhead to work around this peculiar behaviour. 147 Invest extra overhead to work around this peculiar behaviour.
42 - split the pure perl backend into a loop module and an impl 148 - split the pure perl backend into a loop module and an impl
43 module (AnyEvent::Loop and AnyEvent::Impl::Perl). 149 module (AnyEvent::Loop and AnyEvent::Impl::Perl).
44 - some read types (regex, netstring, json, storable) could 150 - some read types (regex, netstring, json, storable) could
45 errornously keep an AE::Handle object alive on their own 151 errornously keep an AE::Handle object alive on their own
46 (reported by Mohammad Toossi). 152 (reported by Mohammad Toossi).
153 - AnyEvent::Socket::resolve_sockaddr and all functions using it now
154 supports /etc/hosts overrides.
47 - add more workarounds around child watcher bugs in IO::Async 155 - add more workarounds around child watcher bugs in IO::Async
48 and (newly introduced) in POE. 156 and (newly introduced) in POE.
49 - use glib child watchers and try to work around its limitations, 157 - use glib child watchers and try to work around its limitations,
50 if possible (based on a patch by Kevin Ryde). 158 if possible (based on a patch by Kevin Ryde).
51 - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2. 159 - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2.
62 - no longer use AUTOLOAD for the initial loading (for no very good reason). 170 - no longer use AUTOLOAD for the initial loading (for no very good reason).
63 - tcp_server now tries to unlink unix domain sockets when it gets destroyed. 171 - tcp_server now tries to unlink unix domain sockets when it gets destroyed.
64 - do not run event loop detection multiple times when programs call their cached 172 - do not run event loop detection multiple times when programs call their cached
65 copies of AnyEvent::detect. 173 copies of AnyEvent::detect.
66 - parse_hostport now accepts absolute paths als unix domain sockets. 174 - parse_hostport now accepts absolute paths als unix domain sockets.
175 - suppress the idiotic warning inside POE by patching the POE::Kernel
176 run flags instead of asking the user to jump through contortions.
177 - add Task::Weaken as dependency (as recommends only at this time).
178 - replace PF_UNSPEC by 0, for good old minix.
179
1806.0 (not officially released, but was on CPAN for about 15 minutes :/)
67 181
685.34 Thu May 12 09:59:41 CEST 2011 1825.34 Thu May 12 09:59:41 CEST 2011
69 - AE::TLS didn't support both cert_file and key at the same time, 183 - AE::TLS didn't support both cert_file and key at the same time,
70 due to some copy&paste bug (reported and analyzed by vti). 184 due to some copy&paste bug (reported and analyzed by vti).
71 - improve AE::Handle timeout documentation slightly. 185 - improve AE::Handle timeout documentation slightly.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines