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

Comparing AnyEvent/Changes (file contents):
Revision 1.193 by root, Wed Oct 1 15:10:39 2008 UTC vs.
Revision 1.298 by root, Fri Jul 24 22:47:04 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines