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