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

Comparing AnyEvent/Changes (file contents):
Revision 1.120 by root, Tue May 27 02:34:30 2008 UTC vs.
Revision 1.287 by root, Fri Jul 17 22:05:12 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3 - add some recommends to the META.yml. 3 - improve perl 5.6 compatibility of the core event loop.
4 - nail the signal race problem in perl once and for all
5 (see $AnyEvent::MAX_SIGNAL_LATENCY).
6 - take advantage of Async::Interrupt if it is available.
7 - load Time::HiRes and Guard modules on demand only.
8 - add optional/recommended modules section to AnyEvent
9 documentation.
10
114.83 Fri Jul 17 16:56:26 CEST 2009
12 - implement AnyEvent::Socket::getprotobyname.
13 - AnyEvent::CondVar's will now detect recursive blocking
14 waits and will croak, as too many people fall into
15 this trap.
16 - AnyEvent::Handle will now call ->destroy on itself after
17 executing the on_error callback, instead of doing some
18 half-baked internal shutdown, for fatal errors.
19 - clarify on_eof behaviour w.r.t. the read queue and
20 on_read callbacks.
21 - ignore some possible spurious wake-ups in tcp_connect.
22
234.82 Sat Jul 11 00:34:55 CEST 2009
24 - POE and Event backends didn't accept some callable objects as
25 callbacks.
26 - use Config module instead of POSIX module to detect signal names
27 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
28 module doesn't even have all POSIX signals :/.
29 - use more workarounds around the many refcnt/corruption bugs in
30 Event::Lib.
31 - work around a race condition in perl's select, causing t/03_child.t
32 to rarely fail.
33
344.81 Thu Jul 9 10:30:30 CEST 2009
35 - AnyEvent::Handle didn't properly diagnose write errors
36 (it expected -1 from syswrite, how lame... :).
37 - support file descriptors in addition to file handles
38 in AnyEvent->io.
39 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
40 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
41 and PERL_ANYEVENT_CA_PATH.
42 - provide a sensible synopsis section for AnyEvent::TLS.
43 - add a "supported backends" section to the manpage.
44 - added simple io watcher test to testsuite, using a
45 portable_socketpair.
46 - tried to improve the stability of the Event::Lib backend,
47 YMMV.
48
494.8 Mon Jul 6 23:45:16 CEST 2009
50 - AnyEvent::DNS did not properly follow CNAME records with
51 uppercase targets.
52 - AnyEvent::DNS would errornously return AAAA records
53 with v4 mapped addresses (a faulty record) as ipv4 addresses,
54 causing AnyEvent::Socket to throw an exception.
55 - added new module AnyEvent::TLS for easier SSL/TLS context
56 creation, with many options including hostname verification,
57 secure default configuration, lots of documentation and,
58 predefined diffie-hellman keys for perfect forward security
59 and much more. get it while it's still fresh!
60 - use AnyEvent::TLS in AnyEvent::Handle for context management.
61 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
62 so AnyEvent::Socket users have smaller memory footprint
63 in the common case.
64 - add AnyEvent::Handle->push_shutdown method.
65 - add an additional error message parameter to AnyEvent::Handle's
66 on_error callback (for TLS, $! is still available).
67 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
68 - make AnyEvent::Handle more robust against early conenction
69 failures (during new), and return C<undef> in that case
70 from the constructor.
71 - AnyEvent::Handle will now try to load only JSON::XS first,
72 then fall back to JSON.
73 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
74 and because it was documented that way.
75
764.451 Fri Jul 3 00:28:58 CEST 2009
77 - do not clear rbuf when shutting down an AnyEvent::Handle
78 object - doing so breaks AnyEvent::HTTP.
79
804.45 Mon Jun 29 22:59:26 CEST 2009
81 - a write error could cause AnyEvent::Handle to create
82 an I/O watcher with an undefined $fh.
83 - special-case mapped ipv4 addresses in both
84 AnyEvent::Socket::format_address and parse_address,
85 to treat them just like ipv4 addresses.
86 - updated and overhauled the AnyEvent::Intro doc.
87 - implement AnyEvent::Socket::format_ipv4/ipv6.
88 - slightly speed up portable_pipe/socketpair.
89 - expand condvar begin/end documentation.
90
914.42 Fri Jun 26 08:32:18 CEST 2009
92 - preliminary and neccesarily incomplete support for IO::Async.
93 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
94 case it was set to IGNORE, to ensure we can catch child statuses
95 even when the calling env acts stupidly.
96 - updated benchmarks with IO::Async, which performs very well.
97
984.412 Wed Jun 24 01:35:57 CEST 2009
99 - support an "untaint" attribute for AnyEvent::DNS
100 and set it on the default resolver.
101 - implement and document AnyEvent::Impl::Perl::loop.
102 - remove all anyevent-env variables from %ENV
103 when running in tainted mode.
104 - mention and extend the IO::Lambda benchmark.
105
1064.411 Sun Jun 7 18:48:02 CEST 2009
107 - do not try to use F_SETFD on windows.
108
1094.41 Thu May 14 06:40:11 CEST 2009
110 - work around issues in older perls (5.8.0?) when
111 a signal handler is deleted from the %SIG hash.
112 - use POSIX::_exit in child test, to avoid running
113 destructors.
114 - speed up CHLD handling by relying on SIGCHLD being
115 synchronously delivered, even when we roll our own
116 implementation.
117 - AnyEvent::DNS: add the "dname" resource record name
118 for cosmetic reasons.
119
1204.4 Sun Apr 26 20:12:33 CEST 2009
121 - implemented idle watchers, where applicable.
122 - AnyEvent->time died when Event backend was in use.
123 - fix a memleak in the Tk backend.
124 - sped up Tk timer handling.
125 - clip negative "after" values to 0 in AnyEvent::Impl::Event
126 to avoid spamming out warning messages.
127 - fix Qt timers without interval.
128 - avoid Qt zero-timeout special case, in old libqt's.
129
1304.352 Mon Apr 20 16:31:11 CEST 2009
131 - fix AnyEvent::Strict error messages for child watchers.
132 - fix/update Makefile.PL "recommends" versions.
133 - add AnyEvent->now_update.
134
1354.351 Sat Apr 11 07:56:14 CEST 2009
136 - actually make the signal pipe work under win32.
137 - localise $! in signal handler to avoid changing $!, although
138 perl itself does not seem to save/restore errno either.
139 - set the cloexec flag on the signal pipe (normally set by perl too).
140
1414.35 Fri Mar 27 11:48:20 CET 2009
142 - event models relying on AnyEvent's signal watcher emulation did
143 invoke the callback asynchronously, contradicting documentation
144 and causing signals to get lost (this includes AnyEvent's own
145 event loop). AnyEvent now uses the standard pipe trick to make
146 callback execution synchronous to the event loop.
147 - AnyEvent::Handle didn't free TLS context data on DESTROY
148 (patch by Pavel Shaydo).
149 - work around the ever-incompatibly-changing API of MakeMaker.
150 - document that changing global variables without restoring them
151 is a bad idea in Perl (noted by Adam Rosenstein).
152 - AnyEvent::Strict now barfs if ->io is passed a file.
153
1544.34 Thu Feb 12 18:32:45 CET 2009
155 - separately buffer TLS read data, as otherwise the read queue could
156 deadlock as receiving data is not expected while draining the
157 read queue (which cna only happen with TLS).
158 - raise EBADMSG error on JSON decoding errors.
159 - fix some minor manpage bugs (reported by Maximilian Gaß).
160 - speed up select bitmask parsing quite a bit in the pure perl
161 backend.
162 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
163
1644.331 Tue Jan 6 21:07:25 CET 2009
165 - socketpair fails on many vista machines because vista has
166 completely broken accept/getpeername and getsockname functions,
167 so we provide our own socketpair emulation that kind of works
168 (AnyEvent::Util::portable_pipe).
169 - new function: AnyEvent::Util::portable_socketpair.
170 - take advantage of the Guard module if it exists.
171
1724.33 Fri Nov 21 02:35:40 CET 2008
173 - AnyEvent::Strict did errornously flag a fileno of 0 as
174 illegal.
175 - reduce memory usage and slightly speed up the pure perl backend
176 by only storing the file descriptor, not the file handle.
177 - add missing autocork method to AnyEvent::Handle (reported
178 by Adam Rosenstein).
179 - AnyEvent::DNS->resolve errornously documented an $rcode result
180 argument, but there isn't (spotted by Henrik Krohns).
181 - the naked truth about Tk - it's basically unmaintained.
182
1834.32 Mon Nov 3 22:46:32 CET 2008
184 - fix AnyEvent::Socket::resolve_sockaddr to properly support
185 unix sockets again and choose a proper default for
186 the socket type.
187 - fix call to resolve_sockaddr in tcp_connect.
188
1894.31 Thu Oct 30 04:41:48 CET 2008
190 - implemented AnyEvent::Handle->destroy method.
191 - hint about unexpected effects in TLS mode.
192 - speed up AnyEvent::Impl::Perl by using more arrays
193 instead of hashes without the slightest loss of readability :)
194 - work around a perl argument refcounting bug.
195 - with some perl patches applied, AnyEvent now seems leak-free.
196
1974.3 Fri Oct 3 09:18:43 CEST 2008
198 - AnyEvent will now install a no-op signal handler for SIGPIPE,
199 unless one has been installed already.
200 - warn about not loaidng AnyEvent::Impl::POE early enough
201 (patch by Adam Rosenstein).
202 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
203 - fix a bug in where in SSL connect mode, the
204 client would first wait for some data by the server and
205 otherwise hang. (reported and analyzed in an absolutely
206 exemplary manner by Adam Rosenstein).
207 - fix a bug in where SSL EOF would not be treated
208 as stream EOF, putting the connection into a hung state.
209 (reported and analyzed in an absolutely exemplary manner by Adam
210 Rosenstein).
211 - fix a potential segfault when the TLS context
212 would go missing in a read callback (e.g. due to stoptls) -
213 Net::SSLeay of course makes no type checking whatsoever.
214 - AnyEvent::Handle will not stop the read watcher in TLS mode.
215 - AnyEvent::Handle->stoptls will send a TLS close notify
216 instead of simply destroying the stream now.
217 - fix a bug where large blocks of data written in TLS mode
218 would not be sent unless triggered by receives.
219 - on_drain will now take the tls write buffer into account.
220 - SSL operations have been streamlined a bit and should be faster
221 now, more to come, though.
222 - added a FAQ section, will document nontrivial issues in there.
223
2244.234 Mon Sep 29 04:08:13 CEST 2008
225 - fix child watcher documentation: only child exits will be reported,
226 no trace events.
227 - mention SIGPIPE in AnyEvent::Handle.
228 - perl backend will now use POSIX::times as monotonic clock
229 when available and the monotonic clock option is not.
230 - run even without Time::HiRes in some cases now, but do not
231 provide sub-second accuracy (all *supported* perl versions have
232 Time::HiRes).
233
2344.233 Fri Aug 22 01:48:05 CEST 2008
235 - fix a bug in the testsuite, causing a hang.
236 - clarified lots of AnyEvent::Handle constructor arguments.
237
2384.232 Thu Aug 21 20:44:25 CEST 2008
239 - fix a bug in AnyEvent::Handle that could cause two fatal error
240 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
241 (testcase by Leon Brocard).
242 - clarified on_eof/on_error documentation a bit.
243
2444.231 Tue Jul 29 13:12:15 CEST 2008
245 - remove some debugging code left in AnyEvent::Util::fork_call
246 (and no, it's impossible to implement with the broken windows
247 perls without resource leaks or worse).
248
2494.23 Tue Jul 29 12:19:59 CEST 2008
250 - document the first parameter passed to condvar callbacks to be
251 the callback.
252 - add AnyEvent::Socket::{ntoa,aton} aliases.
253 - optimize the AE::Handle->push_read (line) for the default
254 eol marker.
255 - optimize push_read (packstring|storable) for small packets.
256 - invoke on_error callback when no on_eof callback is set.
257 - fix a bug in push_read (storable) of unknown impact.
258
2594.22 Sun Jul 20 16:34:13 CEST 2008
260 - new function AnyEvent::Socket::parse_hostport.
261 - as the bulkheads at microsoft can't even get getprotobyname reliably
262 working on their shitty fucking broken os we need to hardcode
263 some common protocol numbers in AnyEvent::Socket. How can
264 people even bother with such a pile of shit as windows.
265
2664.21 Thu Jul 17 14:40:05 CEST 2008
267 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
268 which is incompatible to previous invocation syntax.
269 - work around more windows perl bugs in fork_call. I cannot imagine
270 why anybody would bother implementing fork in such an obviously
271 unusable way.
272 - avoid calling $do_retry if the request has already finished in
273 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
274 K. Sharifulin).
275
2764.2 Sat Jul 12 22:42:11 CEST 2008
277 - support an "interval" argument for repeating timers.
278 - fix a bug in the pure perl event loop that caused timers to
279 be delayed under some circumstances.
280 - implement optional argument checking via PERL_ANYEVENT_STRICT.
281 - not importing anything from Event causes it to malfunction
282 and not use Time::HiRes, work around this bug.
283 - more bug workarounds against the endlessly broken Tk module,
284 seems to work now on 32 bit machines, but less so on 64 bit.
285 - minor optimisations applied to most backends.
286
2874.161 Fri Jul 4 14:24:48 CEST 2008
288 - fixed the t/handle/02_write.t, it read after write, with the
289 assumption that all data could be written before read
290 (reported by Jim Razmus).
291
2924.160 Thu Jul 3 04:02:21 CEST 2008
293 - re-registering signal watchers after unregistering one did
294 not work if a backend falls back on AnyEvent's default
295 implementation (also affected child watchers).
296 - new AnyEvent::Handle options: autocork and no_delay.
297
2984.152 Sun Jun 22 14:15:44 CEST 2008
299 - allow for 32-bit perls that implement shifts differently
300 on different architectures in parse_ipv4 (reported and
301 analysed by Keiichi DAIBA).
302
3034.151 Fri Jun 6 17:34:24 CEST 2008
304 - make sure specifying _only_ on_read and never pushing reads
305 works.
306
3074.15 Fri Jun 6 13:00:46 CEST 2008
308 - the pure perl backend would keep some watchers alive when more than
309 one watcher was registered for the same fd.
310 - new "packstring" and "storable" read and write types
311 for AnyEvent::Handle.
312 - allow on_eof handler to be called after on_error with EPIPE returns.
313 - do not immediately call on_read callback in handle constructor.
314
3154.14 Thu Jun 5 20:29:31 CEST 2008
316 - Fixed a bug in DNS SRV priority sorting.
317 - AnyEvent::Util::guard now reports runtime errors while
318 executing the guard block as warnings.
319 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
320
3214.13 Thu Jun 5 00:47:59 CEST 2008
322 - AnyEvent::DNS only followed cname chains with length 2,
323 contrary to documentation. bumped it up to 10, thanks to
324 microsoft, the current broken-dns-config-king.
325 - AnyEvent::DNS didn't check for socket return status
326 but instead relied on perl not creating filehandles in that
327 case - too bad it gives you a bogus file handle (reported
328 and analysed by Vladimir Timofeev).
329 - fix queue management logic in AnyEvent::Handle:
330 when on_read was registered, the queue was empty
331 and no progress could be made AnyEvent::Handle would
332 enter an endless loop.
333 - correctly start reading again when the handle became
334 busy again after idling.
335 - correctly treat tls shut-downs as EOF condition
336 (for the time being, would be nice to have a callback for that).
337 - correctly call eof callback under all conditions
338 (hopefully).
339 - the timeout callback did not expect that $self can go
340 away any time.
341
3424.12 Tue Jun 3 10:58:04 CEST 2008
343 - include AnyEvent::Intro, a tutorial for anyevent,
344 anyevent::socket and anyevent::handle.
345 - allow more options in on_error.
346
3474.11 Fri May 30 23:42:25 CEST 2008
348 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
349 reverse_lookup and reverse_verify to replace it, support
350 v4mapped and v4compat addresses.
351 - provide more documentation for the resolver class.
352 - really replace longest run of :0: by :: in format_address,
353 also properly convert :: and ::1 again.
354 - support NAPTR record name and decode it.
355 - implement random weight sampling for SRV records, as per
356 rfc 2782.
357 - correctly abort on srv-record targets of ".".
358 - added AnyEvent::DNS::wait_for_slot.
359 - in the unlikely event of a virtual circuit connection
360 being invalidated by a delayed udp reply, AnyEvent::DNS
361 could die. this has been fixed.
362 - plug a probable memleak in the DNS vc code.
363 - use configured timeout also for VC request phase.
364 - implement timeout and max_outstanding methods
365 for resolver class.
366 - update version numbers in all modules.
367
3684.1 Thu May 29 05:45:40 CEST 2008
369 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
370 which mirrors their purpose better (old names still available
371 for a while). Also moved AnyEvent::DNS::addr to
372 AnyEvent::Socket::resolve_sockaddr.
373 - implement AnyEvent->time and AnyEvent->now.
374 - fix IPv6 support in pack_sockaddr.
375 - officially un-experimentalise all newly introduced code.
376 - support unix domain sockets everywhere by specifying
377 a host of "unix/" and the pathname as service.
378 - implement an activity timeout in AnyEvent::Handle.
4 - added a a regex read type to AnyEvent::Handle. 379 - added a regex read type to AnyEvent::Handle.
380 - added a json read/write type to AnyEvent::Handle.
5 - always croak in on_error in AnyEvent::Handle. 381 - always croak in on_error in AnyEvent::Handle.
6 - document how to subclass AnyEvent::Handle. 382 - document how to subclass AnyEvent::Handle.
7 - implement AnyEvent::Util::fork_call. 383 - implement AnyEvent::Util::fork_call.
384 - add support for IPv6 nameservers and nameserver statements.
385 - work around _yet_ _another_ windows perl bug in where empty
386 select masks cause errors in the pure perl backend (this
387 workaround cannot be implemented for the other event loops,
388 but EV also works around this).
389 - supply AnyEvent::Socket::address_type and make good use of it.
390 - clarify and fix the Handle documentation w.r.t $self vs. $handle
391 vs. callback arguments.
392 - add some recommends to the META.yml.
8 393
94.05 Mon May 26 19:44:06 CEST 2008 3944.05 Mon May 26 19:44:06 CEST 2008
10 - some platforms ignore the rfc and prepend an extra sa_len member to 395 - some platforms ignore the rfc and prepend an extra sa_len member to
11 the sockaddr structure, cater for those. also use sockaddr_family, 396 the sockaddr structure, cater for those. also use sockaddr_family,
12 didn't know it was there, but comes in handy for the workaround. 397 didn't know it was there, but comes in handy for the workaround.
55 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. 440 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore.
56 - try very hard not to freeze on broken windows perls. 441 - try very hard not to freeze on broken windows perls.
57 - make on_eof optional in AnyEvent::Handle. 442 - make on_eof optional in AnyEvent::Handle.
58 - support service names in tcp_connect and tcp_server. 443 - support service names in tcp_connect and tcp_server.
59 - work around netbsd/openbsd bug causing unix sockets not to 444 - work around netbsd/openbsd bug causing unix sockets not to
60 become writable untill empty. 445 become writable until empty.
61 - only make a dummy read for error detection when getpeername 446 - only make a dummy read for error detection when getpeername
62 returns ENOTCONN. 447 returns ENOTCONN.
63 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 448 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
64 override. 449 override.
65 - new AnyEvent::Guard::cancel. 450 - new AnyEvent::Guard::cancel.
66 451
673.5 Sat May 17 23:17:14 CEST 2008 4523.5 Sat May 17 23:17:14 CEST 2008
68 - gracefully deal with systems not defining CLOCK_MONOTONIC 453 - gracefully deal with systems not defining CLOCK_MONOTONIC
82 467
833.41 Sun May 11 19:53:13 CEST 2008 4683.41 Sun May 11 19:53:13 CEST 2008
84 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 469 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
85 470
863.4 Sun May 11 00:29:25 CEST 2008 4713.4 Sun May 11 00:29:25 CEST 2008
87 - complete re-implementation of condvars with a hopefully much mroe useful 472 - complete re-implementation of condvars with a hopefully much more useful
88 API (backward compatible functions exist but are undocumented). 473 API (backward compatible functions exist but are undocumented).
89 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 474 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
90 (still subject to change). 475 (still subject to change).
91 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 476 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
92 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 477 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines