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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines