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

Comparing AnyEvent/Changes (file contents):
Revision 1.138 by root, Fri May 30 08:17:10 2008 UTC vs.
Revision 1.303 by root, Tue Jul 28 11:02:19 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.881 Tue Jul 28 12:51:53 CEST 2009
4 - work around a bug in local in pre-5.10 perls, causing
5 AnyEvent::Handle to recurse when it should not.
6
74.88 Tue Jul 28 04:04:37 CEST 2009
8 - re-bless the handle into a dummy package after calling
9 AnyEvent::Handle::destroy, so the user does not need to check
10 for errors after every push_write etc.
11 - do not attempt to run t/02_signals.t on obviously broken
12 platforms.
13
144.87 Sun Jul 26 02:06:16 CEST 2009
15 - do not attempt to linger when there is no longer a valid fh.
16 - enforce tls mode to be either accept or connect, do not simply
17 segfault in Net::SSLeay.
18 - AnyEvent::Handle can now call tcp_connect itself (new parameters
19 connect, on_prepare, on_connect and on_connect_error). Updated
20 tutorial accordingly.
21 - add AnyEvent::Impl::Irssi backend.
22
234.86 Mon Jul 20 23:52:29 CEST 2009
24 - since the verbose warning is not enough, explicitly document
25 that versions before 1.33 of Net::SSLeay are not secure.
26 - work around signal handling races in Event and (...) Event::Lib.
27 - try to align signal-race timer to full-second boundaries.
28 - work around Tk not liking negative timeouts.
29 - don't complain of different grades of environmental unfriendlyness
30 in IO::Async.
31
324.85 Sat Jul 18 06:16:14 CEST 2009
33 - nail the signal race problem in perl once and for all
34 (see $AnyEvent::MAX_SIGNAL_LATENCY).
35 - take advantage of Async::Interrupt if it is available.
36 - load Time::HiRes and Guard modules on demand only.
37 - add optional/recommended modules section to AnyEvent
38 documentation.
39 - reduce memory usage considerably (and reduce startup penalty)
40 by not using "strict", "warnings" and "overload" modules.
41 - work around buggy windows/openbsd perls and provide EBADMSG
42 and EPROTO ourselves when missing.
43 - improve perl 5.6 compatibility of the core event loop.
44 - made Net::SSLeay version 1.33 a soft requirement.
45
464.83 Fri Jul 17 16:56:26 CEST 2009
47 - implement AnyEvent::Socket::getprotobyname.
48 - AnyEvent::CondVar's will now detect recursive blocking
49 waits and will croak, as too many people fall into
50 this trap.
51 - AnyEvent::Handle will now call ->destroy on itself after
52 executing the on_error callback, instead of doing some
53 half-baked internal shutdown, for fatal errors.
54 - clarify on_eof behaviour w.r.t. the read queue and
55 on_read callbacks.
56 - ignore some possible spurious wake-ups in tcp_connect.
57
584.82 Sat Jul 11 00:34:55 CEST 2009
59 - POE and Event backends didn't accept some callable objects as
60 callbacks.
61 - use Config module instead of POSIX module to detect signal names
62 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
63 module doesn't even have all POSIX signals :/.
64 - use more workarounds around the many refcnt/corruption bugs in
65 Event::Lib.
66 - work around a race condition in perl's select, causing t/03_child.t
67 to rarely fail.
68
694.81 Thu Jul 9 10:30:30 CEST 2009
70 - AnyEvent::Handle didn't properly diagnose write errors
71 (it expected -1 from syswrite, how lame... :).
72 - support file descriptors in addition to file handles
73 in AnyEvent->io.
74 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
75 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
76 and PERL_ANYEVENT_CA_PATH.
77 - provide a sensible synopsis section for AnyEvent::TLS.
78 - add a "supported backends" section to the manpage.
79 - added simple io watcher test to testsuite, using a
80 portable_socketpair.
81 - tried to improve the stability of the Event::Lib backend,
82 YMMV.
83
844.8 Mon Jul 6 23:45:16 CEST 2009
85 - AnyEvent::DNS did not properly follow CNAME records with
86 uppercase targets.
87 - AnyEvent::DNS would errornously return AAAA records
88 with v4 mapped addresses (a faulty record) as ipv4 addresses,
89 causing AnyEvent::Socket to throw an exception.
90 - added new module AnyEvent::TLS for easier SSL/TLS context
91 creation, with many options including hostname verification,
92 secure default configuration, lots of documentation and,
93 predefined diffie-hellman keys for perfect forward security
94 and much more. get it while it's still fresh!
95 - use AnyEvent::TLS in AnyEvent::Handle for context management.
96 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
97 so AnyEvent::Socket users have smaller memory footprint
98 in the common case.
99 - add AnyEvent::Handle->push_shutdown method.
100 - add an additional error message parameter to AnyEvent::Handle's
101 on_error callback (for TLS, $! is still available).
102 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
103 - make AnyEvent::Handle more robust against early conenction
104 failures (during new), and return C<undef> in that case
105 from the constructor.
106 - AnyEvent::Handle will now try to load only JSON::XS first,
107 then fall back to JSON.
108 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
109 and because it was documented that way.
110
1114.451 Fri Jul 3 00:28:58 CEST 2009
112 - do not clear rbuf when shutting down an AnyEvent::Handle
113 object - doing so breaks AnyEvent::HTTP.
114
1154.45 Mon Jun 29 22:59:26 CEST 2009
116 - a write error could cause AnyEvent::Handle to create
117 an I/O watcher with an undefined $fh.
118 - special-case mapped ipv4 addresses in both
119 AnyEvent::Socket::format_address and parse_address,
120 to treat them just like ipv4 addresses.
121 - updated and overhauled the AnyEvent::Intro doc.
122 - implement AnyEvent::Socket::format_ipv4/ipv6.
123 - slightly speed up portable_pipe/socketpair.
124 - expand condvar begin/end documentation.
125
1264.42 Fri Jun 26 08:32:18 CEST 2009
127 - preliminary and neccesarily incomplete support for IO::Async.
128 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
129 case it was set to IGNORE, to ensure we can catch child statuses
130 even when the calling env acts stupidly.
131 - updated benchmarks with IO::Async, which performs very well.
132
1334.412 Wed Jun 24 01:35:57 CEST 2009
134 - support an "untaint" attribute for AnyEvent::DNS
135 and set it on the default resolver.
136 - implement and document AnyEvent::Impl::Perl::loop.
137 - remove all anyevent-env variables from %ENV
138 when running in tainted mode.
139 - mention and extend the IO::Lambda benchmark.
140
1414.411 Sun Jun 7 18:48:02 CEST 2009
142 - do not try to use F_SETFD on windows.
143
1444.41 Thu May 14 06:40:11 CEST 2009
145 - work around issues in older perls (5.8.0?) when
146 a signal handler is deleted from the %SIG hash.
147 - use POSIX::_exit in child test, to avoid running
148 destructors.
149 - speed up CHLD handling by relying on SIGCHLD being
150 synchronously delivered, even when we roll our own
151 implementation.
152 - AnyEvent::DNS: add the "dname" resource record name
153 for cosmetic reasons.
154
1554.4 Sun Apr 26 20:12:33 CEST 2009
156 - implemented idle watchers, where applicable.
157 - AnyEvent->time died when Event backend was in use.
158 - fix a memleak in the Tk backend.
159 - sped up Tk timer handling.
160 - clip negative "after" values to 0 in AnyEvent::Impl::Event
161 to avoid spamming out warning messages.
162 - fix Qt timers without interval.
163 - avoid Qt zero-timeout special case, in old libqt's.
164
1654.352 Mon Apr 20 16:31:11 CEST 2009
166 - fix AnyEvent::Strict error messages for child watchers.
167 - fix/update Makefile.PL "recommends" versions.
168 - add AnyEvent->now_update.
169
1704.351 Sat Apr 11 07:56:14 CEST 2009
171 - actually make the signal pipe work under win32.
172 - localise $! in signal handler to avoid changing $!, although
173 perl itself does not seem to save/restore errno either.
174 - set the cloexec flag on the signal pipe (normally set by perl too).
175
1764.35 Fri Mar 27 11:48:20 CET 2009
177 - event models relying on AnyEvent's signal watcher emulation did
178 invoke the callback asynchronously, contradicting documentation
179 and causing signals to get lost (this includes AnyEvent's own
180 event loop). AnyEvent now uses the standard pipe trick to make
181 callback execution synchronous to the event loop.
182 - AnyEvent::Handle didn't free TLS context data on DESTROY
183 (patch by Pavel Shaydo).
184 - work around the ever-incompatibly-changing API of MakeMaker.
185 - document that changing global variables without restoring them
186 is a bad idea in Perl (noted by Adam Rosenstein).
187 - AnyEvent::Strict now barfs if ->io is passed a file.
188
1894.34 Thu Feb 12 18:32:45 CET 2009
190 - separately buffer TLS read data, as otherwise the read queue could
191 deadlock as receiving data is not expected while draining the
192 read queue (which cna only happen with TLS).
193 - raise EBADMSG error on JSON decoding errors.
194 - fix some minor manpage bugs (reported by Maximilian Gaß).
195 - speed up select bitmask parsing quite a bit in the pure perl
196 backend.
197 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
198
1994.331 Tue Jan 6 21:07:25 CET 2009
200 - socketpair fails on many vista machines because vista has
201 completely broken accept/getpeername and getsockname functions,
202 so we provide our own socketpair emulation that kind of works
203 (AnyEvent::Util::portable_pipe).
204 - new function: AnyEvent::Util::portable_socketpair.
205 - take advantage of the Guard module if it exists.
206
2074.33 Fri Nov 21 02:35:40 CET 2008
208 - AnyEvent::Strict did errornously flag a fileno of 0 as
209 illegal.
210 - reduce memory usage and slightly speed up the pure perl backend
211 by only storing the file descriptor, not the file handle.
212 - add missing autocork method to AnyEvent::Handle (reported
213 by Adam Rosenstein).
214 - AnyEvent::DNS->resolve errornously documented an $rcode result
215 argument, but there isn't (spotted by Henrik Krohns).
216 - the naked truth about Tk - it's basically unmaintained.
217
2184.32 Mon Nov 3 22:46:32 CET 2008
219 - fix AnyEvent::Socket::resolve_sockaddr to properly support
220 unix sockets again and choose a proper default for
221 the socket type.
222 - fix call to resolve_sockaddr in tcp_connect.
223
2244.31 Thu Oct 30 04:41:48 CET 2008
225 - implemented AnyEvent::Handle->destroy method.
226 - hint about unexpected effects in TLS mode.
227 - speed up AnyEvent::Impl::Perl by using more arrays
228 instead of hashes without the slightest loss of readability :)
229 - work around a perl argument refcounting bug.
230 - with some perl patches applied, AnyEvent now seems leak-free.
231
2324.3 Fri Oct 3 09:18:43 CEST 2008
233 - AnyEvent will now install a no-op signal handler for SIGPIPE,
234 unless one has been installed already.
235 - warn about not loaidng AnyEvent::Impl::POE early enough
236 (patch by Adam Rosenstein).
237 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
238 - fix a bug in where in SSL connect mode, the
239 client would first wait for some data by the server and
240 otherwise hang. (reported and analyzed in an absolutely
241 exemplary manner by Adam Rosenstein).
242 - fix a bug in where SSL EOF would not be treated
243 as stream EOF, putting the connection into a hung state.
244 (reported and analyzed in an absolutely exemplary manner by Adam
245 Rosenstein).
246 - fix a potential segfault when the TLS context
247 would go missing in a read callback (e.g. due to stoptls) -
248 Net::SSLeay of course makes no type checking whatsoever.
249 - AnyEvent::Handle will not stop the read watcher in TLS mode.
250 - AnyEvent::Handle->stoptls will send a TLS close notify
251 instead of simply destroying the stream now.
252 - fix a bug where large blocks of data written in TLS mode
253 would not be sent unless triggered by receives.
254 - on_drain will now take the tls write buffer into account.
255 - SSL operations have been streamlined a bit and should be faster
256 now, more to come, though.
257 - added a FAQ section, will document nontrivial issues in there.
258
2594.234 Mon Sep 29 04:08:13 CEST 2008
260 - fix child watcher documentation: only child exits will be reported,
261 no trace events.
262 - mention SIGPIPE in AnyEvent::Handle.
263 - perl backend will now use POSIX::times as monotonic clock
264 when available and the monotonic clock option is not.
265 - run even without Time::HiRes in some cases now, but do not
266 provide sub-second accuracy (all *supported* perl versions have
267 Time::HiRes).
268
2694.233 Fri Aug 22 01:48:05 CEST 2008
270 - fix a bug in the testsuite, causing a hang.
271 - clarified lots of AnyEvent::Handle constructor arguments.
272
2734.232 Thu Aug 21 20:44:25 CEST 2008
274 - fix a bug in AnyEvent::Handle that could cause two fatal error
275 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
276 (testcase by Leon Brocard).
277 - clarified on_eof/on_error documentation a bit.
278
2794.231 Tue Jul 29 13:12:15 CEST 2008
280 - remove some debugging code left in AnyEvent::Util::fork_call
281 (and no, it's impossible to implement with the broken windows
282 perls without resource leaks or worse).
283
2844.23 Tue Jul 29 12:19:59 CEST 2008
285 - document the first parameter passed to condvar callbacks to be
286 the callback.
287 - add AnyEvent::Socket::{ntoa,aton} aliases.
288 - optimize the AE::Handle->push_read (line) for the default
289 eol marker.
290 - optimize push_read (packstring|storable) for small packets.
291 - invoke on_error callback when no on_eof callback is set.
292 - fix a bug in push_read (storable) of unknown impact.
293
2944.22 Sun Jul 20 16:34:13 CEST 2008
295 - new function AnyEvent::Socket::parse_hostport.
296 - as the bulkheads at microsoft can't even get getprotobyname reliably
297 working on their shitty fucking broken os we need to hardcode
298 some common protocol numbers in AnyEvent::Socket. How can
299 people even bother with such a pile of shit as windows.
300
3014.21 Thu Jul 17 14:40:05 CEST 2008
302 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
303 which is incompatible to previous invocation syntax.
304 - work around more windows perl bugs in fork_call. I cannot imagine
305 why anybody would bother implementing fork in such an obviously
306 unusable way.
307 - avoid calling $do_retry if the request has already finished in
308 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
309 K. Sharifulin).
310
3114.2 Sat Jul 12 22:42:11 CEST 2008
312 - support an "interval" argument for repeating timers.
313 - fix a bug in the pure perl event loop that caused timers to
314 be delayed under some circumstances.
315 - implement optional argument checking via PERL_ANYEVENT_STRICT.
316 - not importing anything from Event causes it to malfunction
317 and not use Time::HiRes, work around this bug.
318 - more bug workarounds against the endlessly broken Tk module,
319 seems to work now on 32 bit machines, but less so on 64 bit.
320 - minor optimisations applied to most backends.
321
3224.161 Fri Jul 4 14:24:48 CEST 2008
323 - fixed the t/handle/02_write.t, it read after write, with the
324 assumption that all data could be written before read
325 (reported by Jim Razmus).
326
3274.160 Thu Jul 3 04:02:21 CEST 2008
328 - re-registering signal watchers after unregistering one did
329 not work if a backend falls back on AnyEvent's default
330 implementation (also affected child watchers).
331 - new AnyEvent::Handle options: autocork and no_delay.
332
3334.152 Sun Jun 22 14:15:44 CEST 2008
334 - allow for 32-bit perls that implement shifts differently
335 on different architectures in parse_ipv4 (reported and
336 analysed by Keiichi DAIBA).
337
3384.151 Fri Jun 6 17:34:24 CEST 2008
339 - make sure specifying _only_ on_read and never pushing reads
340 works.
341
3424.15 Fri Jun 6 13:00:46 CEST 2008
343 - the pure perl backend would keep some watchers alive when more than
344 one watcher was registered for the same fd.
345 - new "packstring" and "storable" read and write types
346 for AnyEvent::Handle.
347 - allow on_eof handler to be called after on_error with EPIPE returns.
348 - do not immediately call on_read callback in handle constructor.
349
3504.14 Thu Jun 5 20:29:31 CEST 2008
351 - Fixed a bug in DNS SRV priority sorting.
352 - AnyEvent::Util::guard now reports runtime errors while
353 executing the guard block as warnings.
354 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
355
3564.13 Thu Jun 5 00:47:59 CEST 2008
357 - AnyEvent::DNS only followed cname chains with length 2,
358 contrary to documentation. bumped it up to 10, thanks to
359 microsoft, the current broken-dns-config-king.
360 - AnyEvent::DNS didn't check for socket return status
361 but instead relied on perl not creating filehandles in that
362 case - too bad it gives you a bogus file handle (reported
363 and analysed by Vladimir Timofeev).
364 - fix queue management logic in AnyEvent::Handle:
365 when on_read was registered, the queue was empty
366 and no progress could be made AnyEvent::Handle would
367 enter an endless loop.
368 - correctly start reading again when the handle became
369 busy again after idling.
370 - correctly treat tls shut-downs as EOF condition
371 (for the time being, would be nice to have a callback for that).
372 - correctly call eof callback under all conditions
373 (hopefully).
374 - the timeout callback did not expect that $self can go
375 away any time.
376
3774.12 Tue Jun 3 10:58:04 CEST 2008
378 - include AnyEvent::Intro, a tutorial for anyevent,
379 anyevent::socket and anyevent::handle.
380 - allow more options in on_error.
381
3824.11 Fri May 30 23:42:25 CEST 2008
3 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide 383 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
4 reverse_lookup and reverse_verify to replace it, support 384 reverse_lookup and reverse_verify to replace it, support
5 v4mapped and v4compat addresses. 385 v4mapped and v4compat addresses.
6 - provide more documentation for the resolver class. 386 - provide more documentation for the resolver class.
7 - really replace longest run of :0: by :: in format_address, 387 - really replace longest run of :0: by :: in format_address,
14 - in the unlikely event of a virtual circuit connection 394 - in the unlikely event of a virtual circuit connection
15 being invalidated by a delayed udp reply, AnyEvent::DNS 395 being invalidated by a delayed udp reply, AnyEvent::DNS
16 could die. this has been fixed. 396 could die. this has been fixed.
17 - plug a probable memleak in the DNS vc code. 397 - plug a probable memleak in the DNS vc code.
18 - use configured timeout also for VC request phase. 398 - use configured timeout also for VC request phase.
399 - implement timeout and max_outstanding methods
400 for resolver class.
401 - update version numbers in all modules.
19 402
204.1 Thu May 29 05:45:40 CEST 2008 4034.1 Thu May 29 05:45:40 CEST 2008
21 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address 404 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
22 which mirrors their purpose better (old names still available 405 which mirrors their purpose better (old names still available
23 for a while). Also moved AnyEvent::DNS::addr to 406 for a while). Also moved AnyEvent::DNS::addr to
95 - support service names in tcp_connect and tcp_server. 478 - support service names in tcp_connect and tcp_server.
96 - work around netbsd/openbsd bug causing unix sockets not to 479 - work around netbsd/openbsd bug causing unix sockets not to
97 become writable until empty. 480 become writable until empty.
98 - only make a dummy read for error detection when getpeername 481 - only make a dummy read for error detection when getpeername
99 returns ENOTCONN. 482 returns ENOTCONN.
100 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 483 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
101 override. 484 override.
102 - new AnyEvent::Guard::cancel. 485 - new AnyEvent::Guard::cancel.
103 486
1043.5 Sat May 17 23:17:14 CEST 2008 4873.5 Sat May 17 23:17:14 CEST 2008
105 - gracefully deal with systems not defining CLOCK_MONOTONIC 488 - gracefully deal with systems not defining CLOCK_MONOTONIC
119 502
1203.41 Sun May 11 19:53:13 CEST 2008 5033.41 Sun May 11 19:53:13 CEST 2008
121 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 504 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
122 505
1233.4 Sun May 11 00:29:25 CEST 2008 5063.4 Sun May 11 00:29:25 CEST 2008
124 - complete re-implementation of condvars with a hopefully much mroe useful 507 - complete re-implementation of condvars with a hopefully much more useful
125 API (backward compatible functions exist but are undocumented). 508 API (backward compatible functions exist but are undocumented).
126 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 509 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
127 (still subject to change). 510 (still subject to change).
128 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 511 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
129 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 512 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines