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

Comparing AnyEvent/Changes (file contents):
Revision 1.507 by root, Mon Sep 5 07:21:53 2011 UTC vs.
Revision 1.598 by root, Wed Apr 1 19:59:01 2015 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: document TCP_*** constants 3TODO: document TCP_*** constants
4
5TODO: log message level redistribute?
6TOOD: stop internals abusing
7TODO: AE::logger
8TODO: add debug/trace logging to some modules 4TODO: add debug/trace logging to some modules
9TODO: poe child watcher hang? 5TODO: use the eval-with-cb-call trick also to speed up JSON?
10TODO: $autload model kill? 6TODO: FAQ: common pitfalls? invoke-before-return
7TODO: FAQ: scope-ids? hosts file order?
8TODO: AnyEvent::Handle with AnyEvent::IO?
9TODO: invalid. and localhost. specialcasing inside AEDNS and not AESocket (rfc6761)
10TODO: maybe implement env variable to give hosts precedence
11TODO: hosts always read? that's not expected
12
13 - AnyEvent::Debug called an internal function (AnyEvent::Log::ft)
14 that was renamed to AnyEvent::Log:format_time. uinder its old name
15 (analyzed by Michael Stovenour).
16 - update AnyEvent::DNS fallback resolver addresses:
17 seems google effectively killed most other free dns resolvers,
18 so remove them, but add cable and wireless (ecrc) since it was
19 stable for 20 years or so, official or not, and there should be
20 an alternative to google.
21 - perl5porters broke windows error codes in 5.20, and mapped
22 WSAEWOULDBLOCK on the (different) EWOULDBLOCK error code, and
23 WSAEINPROGRESS into the incompatible ERINPROGRESS code, probably
24 because they were so cool. They probably broke other error codes
25 for no reason, too, but I didn't care for checking, it's too
26 depressing. This version only works around the WSAEWOULDBLOCK
27 issue, because I don't have a nice way to work around the
28 WSAEINPROGRESS bug.
29
307.08 Wed Dec 10 05:27:17 CET 2014
31 - work around a newly introduced bug in Socket 2.011 (an
32 errornous sun_length check) (analyzed by Maxime Soulé).
33 - AnyEvent::TLS didn't load (but refer to) AnyEvent::Socket
34 (analyzed by Ben Magistro).
35 - AnyEvent::Strict will now confess, not croak. This is in line with
36 it being a development/debugging tool.
37 - work around a number of libglib bugs (debug builds of libglib enforce
38 certain undocumented behaviour patterns such as not being able to
39 remove a child watch source after it has fired, which we will try
40 to emulate to avoid "criticals". what where they thinking...).
41 - mention json security issues in AnyEvent::Handle, now that Douglas
42 Crockford has foolishly and incompatibly changed JSON.
43 - changed default dns resolver "max_outstanding" value from 1 to 10,
44 the latter beinfg the intended value all along
45 (reported by Ilya Chesnokov).
46 - added new "AnyEvent::Impl::UV" interface module to the UV event lib
47 (written by Mike Lowell).
48
497.07 Tue Dec 17 17:45:02 CET 2013
50 - the documentation for custom tls verify schemes was wrong. make it agree
51 with the code (reported by Maxime Soulé).
52 - added cbor read and write types to AnyEvent::Handle (using CBOR::XS).
53 - work around an API change in openssl that could cause wrong tls connection
54 aborts, likely on windows only (analyzed by sten).
55 - calling AnyEvent->now_update with AnyEvent::Impl::Perl caused an
56 endless loop (reported by Dietrich Rebmann).
57 - add tlsv1_1 and tlsv1_2 protocols to AnyEvent::TLS
58 (patch by Maxime Soulé).
59 - document AnyEvent::Impl::IOAsync::set_loop and
60 $AnyEvent::Impl::IOAsync::LOOP. Though only documented now, this
61 functionality has _always_ been available.
62 - force a toplevel domain name in t/81_hosts.t (analyzed by
63 David Jack Wange Olrik).
64 - document that AnyEvent::Log uses AnyEvent::IO.
65 - warn about AnyEvent::Filesys::Notify performance.
66 - praise the joys of AnyEvent::Fork::*.
67 - time for an =encoding directive.
68 - do no longer use JSON to create a default json coder, use
69 JSON::XS or JSON::PP directly.
70
717.05 Wed Aug 21 10:38:08 CEST 2013
72 - uts46data.pl couldn't be found due to wrong naming of the file
73 (reported by Fulko Hew).
74 - handle lone \015's properly in AE::Handle's default line read
75 (reported by various people).
76 - untaint ip addresses found in /etc/hosts (patch by José Micó).
77 - the memleak fix in 7.03 caused resolving via /etc/hosts to always
78 fail on first use (reported and testcase by Andrew Whatson).
79 - expose AnyEvent::Log::format_time, and allow users to redefine it.
80 - expose AnyEvent::Log::default_format, and allow redefinition.
81 - expose AnyEvent::Log::fatal_exit, to allow redefinition.
82 - AnyEvent::Debug shell can now run coro shell commands, if available.
83 - t/63* tests were wrongly in MANIFEST.
84 - kernel.org's finger server went MIA, switch to freebsd.org and
85 icculus.org.
86 - clarify that IO::AIO and AnyEvent::AIO are needed for AnyEvent::IO
87 to function asynchronously (reported by Daniel Carosone).
88 - hard-disable $^W in most tests, it generates too much garbage output.
89 - use a (hopefully) more future-proof method to emulate common::sense.
90 - upgrade to UTS-46:6.2.0.
91 - switch to INSTLIB from INSTLIBDIR, as INSTLIBDIR was wrongly
92 documented. should not affect anything.
93
947.04 Thu Nov 15 02:23:58 CET 2012
95 - debugging code left in.
96
977.03 Thu Nov 15 02:16:11 CET 2012
98 - AnyEvent::Socket::inet_aton did not work when dns resolution was
99 used to find the addresses (analyzed and patch by Maxime Soulé).
100 - fix a memory leak in the /etc/hosts lookup code when hosts don't
101 resolve and are not in hosts (analyzed by sten).
102
1037.02 Tue Aug 14 04:27:58 CEST 2012
104 - AnyEvent::Util::run_cmd could block indefinitely (analyzed and test
105 program by Yorhel).
106 - verified that AnyEvent::Socket follows RFC5952.
107 - try to parse "ADDR#PORT" in addition to "ADDR PORT".
108
1097.01 Sun May 13 01:03:17 CEST 2012
110 - fail with EPROTO in AnyEvent::Handle wqhen TLS is requested but
111 not available, instead of throwing an exception.
112 - use File::Spec to get the tmpdir in t/*, to avoid needless
113 failures on (most, not mine :) windows boxes.
114 - new handle read types: tls_detect and tls_autostart.
115
1167.0 Fri Apr 13 06:33:30 CEST 2012
117 - child watchers are broken in POE 1.352 (also many earlier
118 versions) and there seems to be no way to work around it, as POE
119 itself is inherently racy. Document this regression and add a delay
120 in t/68_poe_03_child.t for the time being.
121 - new module AnyEvent::IO, that is a frontend to either a pure-perl
122 synchronous I/O implementation (AnyEvent::IO::Perl), or to the
123 asynchronous I/O extension IO::AIO (AnyEvent::IO::IOAIO).
124 - load /etc/hosts only when DNS has no answer.
125 - stat /etc/hosts on every access and reload it if it changed.
126 - load /etc/hosts via AnyEvent::IO - potentially asynchronous.
127 - fix a buggy croak in the dh parameter reading in AnyEvent::TLS.
128 - AnyEvent::Log log_to_file and log_to_path now use AnyEvent::IO. As
129 a side effect, they now use true appending as opposed to libc
130 appending, and the file might not have been opened when the function
131 returns.
132 - the default logging level was not properly documented in a variety of
133 places, this has hopefully been rectified.
134 - updated uts46data.pl for unicode 6.1.0.
135 - made log messages generated by AnyEvent submodules not
136 include the package name anymore, as it will be logged
137 by default already.
138 - upgrade to the trick used by common-sense 3.5 to work
139 around extra warning torture/breakage under perl 5.15.x.
140 - log messages by anyevent are now ucfirst, are usually full
141 sentences and do no longer include the package name.
142 - the storable read type would sometimes throw an exception instead
143 of causing EBADMSG (analyzed by Maxime Soulé).
144 - work around a bug in openssl 1.0.1 which enforces a minimum rsa
145 keysize (reported by Paul Howarth).
146 - documented Rocco fabricating statements about AnyEvent and me.
147
1486.14 Tue Jan 31 20:00:24 CET 2012
149 - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside,
150 probably an editing mistake (reported by Darin McBride).
151
1526.13 Thu Jan 12 07:27:01 CET 2012
153 - AnyEvent::Util::fork_call checked for POSIX availability in the wrong way,
154 causing it to fail if POSIX wasn't loaded already (analysed by Rock Power).
155 - AnyEvent::Handle::push_read (line => did pass $1 directly, so
156 regex-matching inside the callback would change the parameter, despite
157 $1 being dynamically scoped per-block. this perl bug is now being
158 worked around (testcase by Cindy Wang).
159
1606.12 Mon Dec 12 13:21:10 CET 2011
161 - $! was clobbered by subsequent calls in tcp_connect, due to
162 the postpone not saving/restoring it (analyzed by Richard Garnish).
163
1646.11 Tue Nov 22 10:36:05 CET 2011
165 - Tk cannot create windows when tainted unless you set a title, so
166 set a dummy title for AnyEvent's dummy mainwindow. How dummy.
167 - escape any nonprintable/nonascii characters when stringifying
168 backtraces.
169 - log the reason loading an interface module fails to load at level debug.
170
1716.1 Tue Oct 4 19:44:30 CEST 2011
11 - INCOMPATIBLE CHANGE: the default log level is now "4" (error 172 - INCOMPATIBLE CHANGE: the default log level is now "4" (error
12 and above), and some messages inside AnyEvent have been elevated 173 and above), and some messages inside AnyEvent have been elevated
13 to higher log levels to print by default. 174 to higher log levels to print by default.
175 - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal.
176 - work around yet another signal race bug, newly introduced by POE. My
177 how that module sucks.
14 - add google public ipv6 dns as fallback servers, so AE::DNS can finally 178 - add google public ipv6 dns as fallback servers, so AE::DNS can finally
15 support ipv6-only operation even with defaults (also use ::1 instead 179 support ipv6-only operation even with defaults (also use ::1 instead
16 of 127.0.0.1). 180 of 127.0.0.1).
17 - give better guidelines on how to chose a logging level. 181 - give better guidelines on how to chose a logging level.
182 - AnyEvent::Log can now cap (limit) log message priority by context.
183 - AE::log will now save and restore $! and $@, so callers don't have to.
18 - AE::Strict now checks that registered fds are still valid at regular 184 - AE::Strict now checks that registered fds are still valid at regular
19 intervals. 185 intervals.
20 - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal.
21 - skip frequently called 'require' calls if the module appears loaded. 186 - skip frequently called 'require' calls if the module appears loaded.
22 - increase signal latency test timer considerably for poor little osx. 187 - increase signal latency test timer considerably for poor little osx,
188 which can't be bothered with basic posix functionality such as signal
189 delivery.
23 - mention some debugging aids in the tutorial. 190 - mention some debugging aids in the tutorial.
191 - new env variable PERL_ANYEVENT_MAX_SIGNAL_LATENCY.
192 - private (%namespace) log contexts in PERL_ANYEVENT_LOG now have the name
193 of the context as title.
194 - AnyEvent::Strict would not restore read-write access to $_ when a callback
195 died - this is a user bug, but since AE::Strict exists to help dbeugging...
196 - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse
197 to work with it - the author is well aware of the issues but refuses
198 to fix them. This extreme step has been taken because the module actively
199 attacks the goals of AnyEvent and makes it harder for module authors to use
200 AnyEvent.
24 201
256.02 Fri Aug 26 20:08:31 CEST 2011 2026.02 Fri Aug 26 20:08:31 CEST 2011
26 - log_to_syslog now accepts facility strings. 203 - log_to_syslog now accepts facility strings.
27 - log_to_syslog would not allow facilities - "$facility|$level" 204 - log_to_syslog would not allow facilities - "$facility|$level"
28 *literally* means that string. sheesh. 205 *literally* means that string. sheesh.
58 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start 235 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start
59 a debug shell. 236 a debug shell.
60 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable 237 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable
61 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap). 238 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap).
62 - new env variable, PERL_ANYEVENT_HOSTS, to override the place where 239 - new env variable, PERL_ANYEVENT_HOSTS, to override the place where
63 F</etc/hosts> can be found. 240 /etc/hosts can be found.
64 - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default 241 - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default
65 configuration. 242 configuration.
66 - env variables can now be specified using AE_xyz instead of 243 - env variables can now be specified using AE_xyz instead of
67 PERL_ANYEVENT_xyz, subject to some rules. 244 PERL_ANYEVENT_xyz, subject to some rules.
68 - lots of new AnyEvent::Debug functionality. 245 - lots of new AnyEvent::Debug functionality.
69 - AnyEvent::Strict now checks for modifications $_ by the callback 246 - AnyEvent::Strict now checks for modifications of $_ by the callback
70 (by setting it to readonly while executing the callback, if possible). 247 (by setting it to readonly while executing the callback, if possible).
71 - IO::Async sometimes cancels the wrong timer when you call cancel_timer. 248 - IO::Async sometimes cancels the wrong timer when you call cancel_timer.
72 Invest extra overhead to work around this peculiar behaviour. 249 Invest extra overhead to work around this peculiar behaviour.
73 - split the pure perl backend into a loop module and an impl 250 - split the pure perl backend into a loop module and an impl
74 module (AnyEvent::Loop and AnyEvent::Impl::Perl). 251 module (AnyEvent::Loop and AnyEvent::Impl::Perl).
488 in the common case. 665 in the common case.
489 - add AnyEvent::Handle->push_shutdown method. 666 - add AnyEvent::Handle->push_shutdown method.
490 - add an additional error message parameter to AnyEvent::Handle's 667 - add an additional error message parameter to AnyEvent::Handle's
491 on_error callback (for TLS, $! is still available). 668 on_error callback (for TLS, $! is still available).
492 - add AnyEvent::Handle on_starttls/on_stoptls callbacks. 669 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
493 - make AnyEvent::Handle more robust against early conenction 670 - make AnyEvent::Handle more robust against early connection
494 failures (during new), and return C<undef> in that case 671 failures (during new), and return C<undef> in that case
495 from the constructor. 672 from the constructor.
496 - AnyEvent::Handle will now try to load only JSON::XS first, 673 - AnyEvent::Handle will now try to load only JSON::XS first,
497 then fall back to JSON. 674 then fall back to JSON.
498 - format_ipv4/format_ipv6 are now exported by default, for symmetry, 675 - format_ipv4/format_ipv6 are now exported by default, for symmetry,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines