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