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