1 | Revision history for Perl extension AnyEvent. |
1 | Revision history for Perl extension AnyEvent. |
2 | |
2 | |
|
|
3 | - nail the signal race problem in perl once and for all |
|
|
4 | (see $AnyEvent::MAX_SIGNAL_LATENCY). |
|
|
5 | - take advantage of Async::Interrupt if it is available. |
|
|
6 | - load Time::HiRes and Guard modules on demand only. |
|
|
7 | - add optional/recommended modules section to AnyEvent |
|
|
8 | documentation. |
|
|
9 | - reduce memory usage considerably (and reduce startup penalty) |
|
|
10 | by not using "strict", "warnings" and "overload" modules. |
|
|
11 | - work around buggy windows/openbsd perls and provide EBADMSG |
|
|
12 | and EPROTO ourselves when missing. |
|
|
13 | - improve perl 5.6 compatibility of the core event loop. |
|
|
14 | - made Net::SSLeay version 1.33 a soft requirement. |
|
|
15 | |
|
|
16 | 4.83 Fri Jul 17 16:56:26 CEST 2009 |
|
|
17 | - implement AnyEvent::Socket::getprotobyname. |
|
|
18 | - AnyEvent::CondVar's will now detect recursive blocking |
|
|
19 | waits and will croak, as too many people fall into |
|
|
20 | this trap. |
|
|
21 | - AnyEvent::Handle will now call ->destroy on itself after |
|
|
22 | executing the on_error callback, instead of doing some |
|
|
23 | half-baked internal shutdown, for fatal errors. |
|
|
24 | - clarify on_eof behaviour w.r.t. the read queue and |
|
|
25 | on_read callbacks. |
|
|
26 | - ignore some possible spurious wake-ups in tcp_connect. |
|
|
27 | |
|
|
28 | 4.82 Sat Jul 11 00:34:55 CEST 2009 |
|
|
29 | - POE and Event backends didn't accept some callable objects as |
|
|
30 | callbacks. |
|
|
31 | - use Config module instead of POSIX module to detect signal names |
|
|
32 | in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX |
|
|
33 | module doesn't even have all POSIX signals :/. |
|
|
34 | - use more workarounds around the many refcnt/corruption bugs in |
|
|
35 | Event::Lib. |
|
|
36 | - work around a race condition in perl's select, causing t/03_child.t |
|
|
37 | to rarely fail. |
|
|
38 | |
|
|
39 | 4.81 Thu Jul 9 10:30:30 CEST 2009 |
|
|
40 | - AnyEvent::Handle didn't properly diagnose write errors |
|
|
41 | (it expected -1 from syswrite, how lame... :). |
|
|
42 | - support file descriptors in addition to file handles |
|
|
43 | in AnyEvent->io. |
|
|
44 | - new env variables: PERL_ANYEVENT_RESOLV_CONF, |
|
|
45 | PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE |
|
|
46 | and PERL_ANYEVENT_CA_PATH. |
|
|
47 | - provide a sensible synopsis section for AnyEvent::TLS. |
|
|
48 | - add a "supported backends" section to the manpage. |
|
|
49 | - added simple io watcher test to testsuite, using a |
|
|
50 | portable_socketpair. |
|
|
51 | - tried to improve the stability of the Event::Lib backend, |
|
|
52 | YMMV. |
|
|
53 | |
|
|
54 | 4.8 Mon Jul 6 23:45:16 CEST 2009 |
|
|
55 | - AnyEvent::DNS did not properly follow CNAME records with |
|
|
56 | uppercase targets. |
|
|
57 | - AnyEvent::DNS would errornously return AAAA records |
|
|
58 | with v4 mapped addresses (a faulty record) as ipv4 addresses, |
|
|
59 | causing AnyEvent::Socket to throw an exception. |
|
|
60 | - added new module AnyEvent::TLS for easier SSL/TLS context |
|
|
61 | creation, with many options including hostname verification, |
|
|
62 | secure default configuration, lots of documentation and, |
|
|
63 | predefined diffie-hellman keys for perfect forward security |
|
|
64 | and much more. get it while it's still fresh! |
|
|
65 | - use AnyEvent::TLS in AnyEvent::Handle for context management. |
|
|
66 | - load AnyEvent::Handle only on demand in AnyEvent::DNS, |
|
|
67 | so AnyEvent::Socket users have smaller memory footprint |
|
|
68 | in the common case. |
|
|
69 | - add AnyEvent::Handle->push_shutdown method. |
|
|
70 | - add an additional error message parameter to AnyEvent::Handle's |
|
|
71 | on_error callback (for TLS, $! is still available). |
|
|
72 | - add AnyEvent::Handle on_starttls/on_stoptls callbacks. |
|
|
73 | - make AnyEvent::Handle more robust against early conenction |
|
|
74 | failures (during new), and return C<undef> in that case |
|
|
75 | from the constructor. |
|
|
76 | - AnyEvent::Handle will now try to load only JSON::XS first, |
|
|
77 | then fall back to JSON. |
|
|
78 | - format_ipv4/format_ipv6 are now exported by default, for symmetry, |
|
|
79 | and because it was documented that way. |
|
|
80 | |
|
|
81 | 4.451 Fri Jul 3 00:28:58 CEST 2009 |
|
|
82 | - do not clear rbuf when shutting down an AnyEvent::Handle |
|
|
83 | object - doing so breaks AnyEvent::HTTP. |
|
|
84 | |
|
|
85 | 4.45 Mon Jun 29 22:59:26 CEST 2009 |
|
|
86 | - a write error could cause AnyEvent::Handle to create |
|
|
87 | an I/O watcher with an undefined $fh. |
|
|
88 | - special-case mapped ipv4 addresses in both |
|
|
89 | AnyEvent::Socket::format_address and parse_address, |
|
|
90 | to treat them just like ipv4 addresses. |
|
|
91 | - updated and overhauled the AnyEvent::Intro doc. |
|
|
92 | - implement AnyEvent::Socket::format_ipv4/ipv6. |
|
|
93 | - slightly speed up portable_pipe/socketpair. |
|
|
94 | - expand condvar begin/end documentation. |
|
|
95 | |
|
|
96 | 4.42 Fri Jun 26 08:32:18 CEST 2009 |
|
|
97 | - preliminary and neccesarily incomplete support for IO::Async. |
|
|
98 | - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in |
|
|
99 | case it was set to IGNORE, to ensure we can catch child statuses |
|
|
100 | even when the calling env acts stupidly. |
|
|
101 | - updated benchmarks with IO::Async, which performs very well. |
|
|
102 | |
|
|
103 | 4.412 Wed Jun 24 01:35:57 CEST 2009 |
|
|
104 | - support an "untaint" attribute for AnyEvent::DNS |
|
|
105 | and set it on the default resolver. |
|
|
106 | - implement and document AnyEvent::Impl::Perl::loop. |
|
|
107 | - remove all anyevent-env variables from %ENV |
|
|
108 | when running in tainted mode. |
|
|
109 | - mention and extend the IO::Lambda benchmark. |
|
|
110 | |
|
|
111 | 4.411 Sun Jun 7 18:48:02 CEST 2009 |
|
|
112 | - do not try to use F_SETFD on windows. |
|
|
113 | |
|
|
114 | 4.41 Thu May 14 06:40:11 CEST 2009 |
|
|
115 | - work around issues in older perls (5.8.0?) when |
|
|
116 | a signal handler is deleted from the %SIG hash. |
|
|
117 | - use POSIX::_exit in child test, to avoid running |
|
|
118 | destructors. |
|
|
119 | - speed up CHLD handling by relying on SIGCHLD being |
|
|
120 | synchronously delivered, even when we roll our own |
|
|
121 | implementation. |
|
|
122 | - AnyEvent::DNS: add the "dname" resource record name |
|
|
123 | for cosmetic reasons. |
|
|
124 | |
|
|
125 | 4.4 Sun Apr 26 20:12:33 CEST 2009 |
|
|
126 | - implemented idle watchers, where applicable. |
|
|
127 | - AnyEvent->time died when Event backend was in use. |
|
|
128 | - fix a memleak in the Tk backend. |
|
|
129 | - sped up Tk timer handling. |
|
|
130 | - clip negative "after" values to 0 in AnyEvent::Impl::Event |
|
|
131 | to avoid spamming out warning messages. |
|
|
132 | - fix Qt timers without interval. |
|
|
133 | - avoid Qt zero-timeout special case, in old libqt's. |
|
|
134 | |
|
|
135 | 4.352 Mon Apr 20 16:31:11 CEST 2009 |
|
|
136 | - fix AnyEvent::Strict error messages for child watchers. |
|
|
137 | - fix/update Makefile.PL "recommends" versions. |
|
|
138 | - add AnyEvent->now_update. |
|
|
139 | |
|
|
140 | 4.351 Sat Apr 11 07:56:14 CEST 2009 |
3 | - actually make the signal pipe work under win32. |
141 | - actually make the signal pipe work under win32. |
|
|
142 | - localise $! in signal handler to avoid changing $!, although |
|
|
143 | perl itself does not seem to save/restore errno either. |
4 | - set the cloexec flag on the signal pipe (normally set by perl too). |
144 | - set the cloexec flag on the signal pipe (normally set by perl too). |
5 | |
145 | |
6 | 4.35 Fri Mar 27 11:48:20 CET 2009 |
146 | 4.35 Fri Mar 27 11:48:20 CET 2009 |
7 | - event models relying on AnyEvent's signal watcher emulation did |
147 | - event models relying on AnyEvent's signal watcher emulation did |
8 | invoke the callback asynchronously, contradicting documentation |
148 | invoke the callback asynchronously, contradicting documentation |