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

Comparing AnyEvent/Changes (file contents):
Revision 1.186 by root, Thu Aug 21 23:48:35 2008 UTC vs.
Revision 1.296 by root, Wed Jul 22 23:07:13 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines