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

Comparing AnyEvent/Changes (file contents):
Revision 1.194 by root, Thu Oct 2 06:42:39 2008 UTC vs.
Revision 1.283 by root, Thu Jul 16 20:55:38 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.3 3TODO: implement getprotobyname
4 - AnyEvent::CondVar's will now detect recursive blocking
5 waits and will croak.
6 - AnyEvent::Handle will now call ->destroy on itself after
7 executing the on_error callback, instead of doing some
8 half-baked internal shutdown, for fatal errors.
9 - clarify on_eof behaviour w.r.t. the read queue and
10 on_read callbacks.
11 - ignore some possible spurious wake-ups in tcp_connect.
12
134.82 Sat Jul 11 00:34:55 CEST 2009
14 - POE and Event backends didn't accept some callable objects as
15 callbacks.
16 - use Config module instead of POSIX module to detect signal names
17 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
18 module doesn't even have all POSIX signals :/.
19 - use more workarounds around the many refcnt/corruption bugs in
20 Event::Lib.
21 - work around a race condition in perl's select, causing t/03_child.t
22 to rarely fail.
23
244.81 Thu Jul 9 10:30:30 CEST 2009
25 - AnyEvent::Handle didn't properly diagnose write errors
26 (it expected -1 from syswrite, how lame... :).
27 - support file descriptors in addition to file handles
28 in AnyEvent->io.
29 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
30 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
31 and PERL_ANYEVENT_CA_PATH.
32 - provide a sensible synopsis section for AnyEvent::TLS.
33 - add a "supported backends" section to the manpage.
34 - added simple io watcher test to testsuite, using a
35 portable_socketpair.
36 - tried to improve the stability of the Event::Lib backend,
37 YMMV.
38
394.8 Mon Jul 6 23:45:16 CEST 2009
40 - AnyEvent::DNS did not properly follow CNAME records with
41 uppercase targets.
42 - AnyEvent::DNS would errornously return AAAA records
43 with v4 mapped addresses (a faulty record) as ipv4 addresses,
44 causing AnyEvent::Socket to throw an exception.
45 - added new module AnyEvent::TLS for easier SSL/TLS context
46 creation, with many options including hostname verification,
47 secure default configuration, lots of documentation and,
48 predefined diffie-hellman keys for perfect forward security
49 and much more. get it while it's still fresh!
50 - use AnyEvent::TLS in AnyEvent::Handle for context management.
51 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
52 so AnyEvent::Socket users have smaller memory footprint
53 in the common case.
54 - add AnyEvent::Handle->push_shutdown method.
55 - add an additional error message parameter to AnyEvent::Handle's
56 on_error callback (for TLS, $! is still available).
57 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
58 - make AnyEvent::Handle more robust against early conenction
59 failures (during new), and return C<undef> in that case
60 from the constructor.
61 - AnyEvent::Handle will now try to load only JSON::XS first,
62 then fall back to JSON.
63 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
64 and because it was documented that way.
65
664.451 Fri Jul 3 00:28:58 CEST 2009
67 - do not clear rbuf when shutting down an AnyEvent::Handle
68 object - doing so breaks AnyEvent::HTTP.
69
704.45 Mon Jun 29 22:59:26 CEST 2009
71 - a write error could cause AnyEvent::Handle to create
72 an I/O watcher with an undefined $fh.
73 - special-case mapped ipv4 addresses in both
74 AnyEvent::Socket::format_address and parse_address,
75 to treat them just like ipv4 addresses.
76 - updated and overhauled the AnyEvent::Intro doc.
77 - implement AnyEvent::Socket::format_ipv4/ipv6.
78 - slightly speed up portable_pipe/socketpair.
79 - expand condvar begin/end documentation.
80
814.42 Fri Jun 26 08:32:18 CEST 2009
82 - preliminary and neccesarily incomplete support for IO::Async.
83 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
84 case it was set to IGNORE, to ensure we can catch child statuses
85 even when the calling env acts stupidly.
86 - updated benchmarks with IO::Async, which performs very well.
87
884.412 Wed Jun 24 01:35:57 CEST 2009
89 - support an "untaint" attribute for AnyEvent::DNS
90 and set it on the default resolver.
91 - implement and document AnyEvent::Impl::Perl::loop.
92 - remove all anyevent-env variables from %ENV
93 when running in tainted mode.
94 - mention and extend the IO::Lambda benchmark.
95
964.411 Sun Jun 7 18:48:02 CEST 2009
97 - do not try to use F_SETFD on windows.
98
994.41 Thu May 14 06:40:11 CEST 2009
100 - work around issues in older perls (5.8.0?) when
101 a signal handler is deleted from the %SIG hash.
102 - use POSIX::_exit in child test, to avoid running
103 destructors.
104 - speed up CHLD handling by relying on SIGCHLD being
105 synchronously delivered, even when we roll our own
106 implementation.
107 - AnyEvent::DNS: add the "dname" resource record name
108 for cosmetic reasons.
109
1104.4 Sun Apr 26 20:12:33 CEST 2009
111 - implemented idle watchers, where applicable.
112 - AnyEvent->time died when Event backend was in use.
113 - fix a memleak in the Tk backend.
114 - sped up Tk timer handling.
115 - clip negative "after" values to 0 in AnyEvent::Impl::Event
116 to avoid spamming out warning messages.
117 - fix Qt timers without interval.
118 - avoid Qt zero-timeout special case, in old libqt's.
119
1204.352 Mon Apr 20 16:31:11 CEST 2009
121 - fix AnyEvent::Strict error messages for child watchers.
122 - fix/update Makefile.PL "recommends" versions.
123 - add AnyEvent->now_update.
124
1254.351 Sat Apr 11 07:56:14 CEST 2009
126 - actually make the signal pipe work under win32.
127 - localise $! in signal handler to avoid changing $!, although
128 perl itself does not seem to save/restore errno either.
129 - set the cloexec flag on the signal pipe (normally set by perl too).
130
1314.35 Fri Mar 27 11:48:20 CET 2009
132 - event models relying on AnyEvent's signal watcher emulation did
133 invoke the callback asynchronously, contradicting documentation
134 and causing signals to get lost (this includes AnyEvent's own
135 event loop). AnyEvent now uses the standard pipe trick to make
136 callback execution synchronous to the event loop.
137 - AnyEvent::Handle didn't free TLS context data on DESTROY
138 (patch by Pavel Shaydo).
139 - work around the ever-incompatibly-changing API of MakeMaker.
140 - document that changing global variables without restoring them
141 is a bad idea in Perl (noted by Adam Rosenstein).
142 - AnyEvent::Strict now barfs if ->io is passed a file.
143
1444.34 Thu Feb 12 18:32:45 CET 2009
145 - separately buffer TLS read data, as otherwise the read queue could
146 deadlock as receiving data is not expected while draining the
147 read queue (which cna only happen with TLS).
148 - raise EBADMSG error on JSON decoding errors.
149 - fix some minor manpage bugs (reported by Maximilian Gaß).
150 - speed up select bitmask parsing quite a bit in the pure perl
151 backend.
152 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
153
1544.331 Tue Jan 6 21:07:25 CET 2009
155 - socketpair fails on many vista machines because vista has
156 completely broken accept/getpeername and getsockname functions,
157 so we provide our own socketpair emulation that kind of works
158 (AnyEvent::Util::portable_pipe).
159 - new function: AnyEvent::Util::portable_socketpair.
160 - take advantage of the Guard module if it exists.
161
1624.33 Fri Nov 21 02:35:40 CET 2008
163 - AnyEvent::Strict did errornously flag a fileno of 0 as
164 illegal.
165 - reduce memory usage and slightly speed up the pure perl backend
166 by only storing the file descriptor, not the file handle.
167 - add missing autocork method to AnyEvent::Handle (reported
168 by Adam Rosenstein).
169 - AnyEvent::DNS->resolve errornously documented an $rcode result
170 argument, but there isn't (spotted by Henrik Krohns).
171 - the naked truth about Tk - it's basically unmaintained.
172
1734.32 Mon Nov 3 22:46:32 CET 2008
174 - fix AnyEvent::Socket::resolve_sockaddr to properly support
175 unix sockets again and choose a proper default for
176 the socket type.
177 - fix call to resolve_sockaddr in tcp_connect.
178
1794.31 Thu Oct 30 04:41:48 CET 2008
180 - implemented AnyEvent::Handle->destroy method.
181 - hint about unexpected effects in TLS mode.
182 - speed up AnyEvent::Impl::Perl by using more arrays
183 instead of hashes without the slightest loss of readability :)
184 - work around a perl argument refcounting bug.
185 - with some perl patches applied, AnyEvent now seems leak-free.
186
1874.3 Fri Oct 3 09:18:43 CEST 2008
188 - AnyEvent will now install a no-op signal handler for SIGPIPE,
189 unless one has been installed already.
190 - warn about not loaidng AnyEvent::Impl::POE early enough
191 (patch by Adam Rosenstein).
4 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 192 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
5 - fix a bug in where in SSL connect mode, the 193 - fix a bug in where in SSL connect mode, the
6 client would first wait for some data by the server and 194 client would first wait for some data by the server and
7 otherwise hang. (Reported and analyzed in an absolutely 195 otherwise hang. (reported and analyzed in an absolutely
8 exemplary manner by Adam Rosenstein). 196 exemplary manner by Adam Rosenstein).
9 - fix a bug in where SSL EOF would not be treated 197 - fix a bug in where SSL EOF would not be treated
10 as stream EOF, putting the connection into a hung state. 198 as stream EOF, putting the connection into a hung state.
11 (Reported and analyzed in an absolutely exemplary manner by Adam 199 (reported and analyzed in an absolutely exemplary manner by Adam
12 Rosenstein). 200 Rosenstein).
13 - fix a potential segfault when the TLS context 201 - fix a potential segfault when the TLS context
14 would go missing in a read callback (e.g. due to stoptls) - 202 would go missing in a read callback (e.g. due to stoptls) -
15 Net::SSLeay of course makes no type checking whatsoever. 203 Net::SSLeay of course makes no type checking whatsoever.
16 - AnyEvent::Handle will not stop the read watcher in TLS mode. 204 - AnyEvent::Handle will not stop the read watcher in TLS mode.
17 - AnyEvent::Handle->stoptls will send a TLS close notify 205 - AnyEvent::Handle->stoptls will send a TLS close notify
18 instead of simply destroying the stream now. 206 instead of simply destroying the stream now.
207 - fix a bug where large blocks of data written in TLS mode
208 would not be sent unless triggered by receives.
19 - on_drain will now take the tls write buffer into account. 209 - on_drain will now take the tls write buffer into account.
20 - SSL operations have been streamlined a bit and should be faster 210 - SSL operations have been streamlined a bit and should be faster
21 now, more to come, though. 211 now, more to come, though.
22 - added a FAQ section, will document nontrivial issues in there. 212 - added a FAQ section, will document nontrivial issues in there.
23 213

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines