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

Comparing AnyEvent/Changes (file contents):
Revision 1.38 by root, Mon Apr 7 19:23:58 2008 UTC vs.
Revision 1.230 by root, Sun Apr 19 12:09:46 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
33.0 3 - fix AnyEvent::Strict error messages for child watchers.
4 - fix/update Makefile.PL "recommends" versions.
5 - add AnyEvent->now_update.
6
74.351 Sat Apr 11 07:56:14 CEST 2009
8 - actually make the signal pipe work under win32.
9 - localise $! in signal handler to avoid changing $!, although
10 perl itself does not seem to save/restore errno either.
11 - set the cloexec flag on the signal pipe (normally set by perl too).
12
134.35 Fri Mar 27 11:48:20 CET 2009
14 - event models relying on AnyEvent's signal watcher emulation did
15 invoke the callback asynchronously, contradicting documentation
16 and causing signals to get lost (this includes AnyEvent's own
17 event loop). AnyEvent now uses the standard pipe trick to make
18 callback execution synchronous to the event loop.
19 - AnyEvent::Handle didn't free TLS context data on DESTROY
20 (patch by Pavel Shaydo).
21 - work around the ever-incompatibly-changing API of MakeMaker.
22 - document that changing global variables without restoring them
23 is a bad idea in Perl (noted by Adam Rosenstein).
24 - AnyEvent::Strict now barfs if ->io is passed a file.
25
264.34 Thu Feb 12 18:32:45 CET 2009
27 - separately buffer TLS read data, as otherwise the read queue could
28 deadlock as receiving data is not expected while draining the
29 read queue (which cna only happen with TLS).
30 - raise EBADMSG error on JSON decoding errors.
31 - fix some minor manpage bugs (reported by Maximilian Gaß).
32 - speed up select bitmask parsing quite a bit in the pure perl
33 backend.
34 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
35
364.331 Tue Jan 6 21:07:25 CET 2009
37 - socketpair fails on many vista machines because vista has
38 completely broken accept/getpeername and getsockname functions,
39 so we provide our own socketpair emulation that kind of works
40 (AnyEvent::Util::portable_pipe).
41 - new function: AnyEvent::Util::portable_socketpair.
42 - take advantage of the Guard module if it exists.
43
444.33 Fri Nov 21 02:35:40 CET 2008
45 - AnyEvent::Strict did errornously flag a fileno of 0 as
46 illegal.
47 - reduce memory usage and slightly speed up the pure perl backend
48 by only storing the file descriptor, not the file handle.
49 - add missing autocork method to AnyEvent::Handle (reported
50 by Adam Rosenstein).
51 - AnyEvent::DNS->resolve errornously documented an $rcode result
52 argument, but there isn't (spotted by Henrik Krohns).
53 - the naked truth about Tk - it's basically unmaintained.
54
554.32 Mon Nov 3 22:46:32 CET 2008
56 - fix AnyEvent::Socket::resolve_sockaddr to properly support
57 unix sockets again and choose a proper default for
58 the socket type.
59 - fix call to resolve_sockaddr in tcp_connect.
60
614.31 Thu Oct 30 04:41:48 CET 2008
62 - implemented AnyEvent::Handle->destroy method.
63 - hint about unexpected effects in TLS mode.
64 - speed up AnyEvent::Impl::Perl by using more arrays
65 instead of hashes without the slightest loss of readability :)
66 - work around a perl argument refcounting bug.
67 - with some perl patches applied, AnyEvent now seems leak-free.
68
694.3 Fri Oct 3 09:18:43 CEST 2008
70 - AnyEvent will now install a no-op signal handler for SIGPIPE,
71 unless one has been installed already.
72 - warn about not loaidng AnyEvent::Impl::POE early enough
73 (patch by Adam Rosenstein).
74 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
75 - fix a bug in where in SSL connect mode, the
76 client would first wait for some data by the server and
77 otherwise hang. (reported and analyzed in an absolutely
78 exemplary manner by Adam Rosenstein).
79 - fix a bug in where SSL EOF would not be treated
80 as stream EOF, putting the connection into a hung state.
81 (reported and analyzed in an absolutely exemplary manner by Adam
82 Rosenstein).
83 - fix a potential segfault when the TLS context
84 would go missing in a read callback (e.g. due to stoptls) -
85 Net::SSLeay of course makes no type checking whatsoever.
86 - AnyEvent::Handle will not stop the read watcher in TLS mode.
87 - AnyEvent::Handle->stoptls will send a TLS close notify
88 instead of simply destroying the stream now.
89 - fix a bug where large blocks of data written in TLS mode
90 would not be sent unless triggered by receives.
91 - on_drain will now take the tls write buffer into account.
92 - SSL operations have been streamlined a bit and should be faster
93 now, more to come, though.
94 - added a FAQ section, will document nontrivial issues in there.
95
964.234 Mon Sep 29 04:08:13 CEST 2008
97 - fix child watcher documentation: only child exits will be reported,
98 no trace events.
99 - mention SIGPIPE in AnyEvent::Handle.
100 - perl backend will now use POSIX::times as monotonic clock
101 when available and the monotonic clock option is not.
102 - run even without Time::HiRes in some cases now, but do not
103 provide sub-second accuracy (all *supported* perl versions have
104 Time::HiRes).
105
1064.233 Fri Aug 22 01:48:05 CEST 2008
107 - fix a bug in the testsuite, causing a hang.
108 - clarified lots of AnyEvent::Handle constructor arguments.
109
1104.232 Thu Aug 21 20:44:25 CEST 2008
111 - fix a bug in AnyEvent::Handle that could cause two fatal error
112 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
113 (testcase by Leon Brocard).
114 - clarified on_eof/on_error documentation a bit.
115
1164.231 Tue Jul 29 13:12:15 CEST 2008
117 - remove some debugging code left in AnyEvent::Util::fork_call
118 (and no, it's impossible to implement with the broken windows
119 perls without resource leaks or worse).
120
1214.23 Tue Jul 29 12:19:59 CEST 2008
122 - document the first parameter passed to condvar callbacks to be
123 the callback.
124 - add AnyEvent::Socket::{ntoa,aton} aliases.
125 - optimize the AE::Handle->push_read (line) for the default
126 eol marker.
127 - optimize push_read (packstring|storable) for small packets.
128 - invoke on_error callback when no on_eof callback is set.
129 - fix a bug in push_read (storable) of unknown impact.
130
1314.22 Sun Jul 20 16:34:13 CEST 2008
132 - new function AnyEvent::Socket::parse_hostport.
133 - as the bulkheads at microsoft can't even get getprotobyname reliably
134 working on their shitty fucking broken os we need to hardcode
135 some common protocol numbers in AnyEvent::Socket. How can
136 people even bother with such a pile of shit as windows.
137
1384.21 Thu Jul 17 14:40:05 CEST 2008
139 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
140 which is incompatible to previous invocation syntax.
141 - work around more windows perl bugs in fork_call. I cannot imagine
142 why anybody would bother implementing fork in such an obviously
143 unusable way.
144 - avoid calling $do_retry if the request has already finished in
145 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
146 K. Sharifulin).
147
1484.2 Sat Jul 12 22:42:11 CEST 2008
149 - support an "interval" argument for repeating timers.
150 - fix a bug in the pure perl event loop that caused timers to
151 be delayed under some circumstances.
152 - implement optional argument checking via PERL_ANYEVENT_STRICT.
153 - not importing anything from Event causes it to malfunction
154 and not use Time::HiRes, work around this bug.
155 - more bug workarounds against the endlessly broken Tk module,
156 seems to work now on 32 bit machines, but less so on 64 bit.
157 - minor optimisations applied to most backends.
158
1594.161 Fri Jul 4 14:24:48 CEST 2008
160 - fixed the t/handle/02_write.t, it read after write, with the
161 assumption that all data could be written before read
162 (reported by Jim Razmus).
163
1644.160 Thu Jul 3 04:02:21 CEST 2008
165 - re-registering signal watchers after unregistering one did
166 not work if a backend falls back on AnyEvent's default
167 implementation (also affected child watchers).
168 - new AnyEvent::Handle options: autocork and no_delay.
169
1704.152 Sun Jun 22 14:15:44 CEST 2008
171 - allow for 32-bit perls that implement shifts differently
172 on different architectures in parse_ipv4 (reported and
173 analysed by Keiichi DAIBA).
174
1754.151 Fri Jun 6 17:34:24 CEST 2008
176 - make sure specifying _only_ on_read and never pushing reads
177 works.
178
1794.15 Fri Jun 6 13:00:46 CEST 2008
180 - the pure perl backend would keep some watchers alive when more than
181 one watcher was registered for the same fd.
182 - new "packstring" and "storable" read and write types
183 for AnyEvent::Handle.
184 - allow on_eof handler to be called after on_error with EPIPE returns.
185 - do not immediately call on_read callback in handle constructor.
186
1874.14 Thu Jun 5 20:29:31 CEST 2008
188 - Fixed a bug in DNS SRV priority sorting.
189 - AnyEvent::Util::guard now reports runtime errors while
190 executing the guard block as warnings.
191 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
192
1934.13 Thu Jun 5 00:47:59 CEST 2008
194 - AnyEvent::DNS only followed cname chains with length 2,
195 contrary to documentation. bumped it up to 10, thanks to
196 microsoft, the current broken-dns-config-king.
197 - AnyEvent::DNS didn't check for socket return status
198 but instead relied on perl not creating filehandles in that
199 case - too bad it gives you a bogus file handle (reported
200 and analysed by Vladimir Timofeev).
201 - fix queue management logic in AnyEvent::Handle:
202 when on_read was registered, the queue was empty
203 and no progress could be made AnyEvent::Handle would
204 enter an endless loop.
205 - correctly start reading again when the handle became
206 busy again after idling.
207 - correctly treat tls shut-downs as EOF condition
208 (for the time being, would be nice to have a callback for that).
209 - correctly call eof callback under all conditions
210 (hopefully).
211 - the timeout callback did not expect that $self can go
212 away any time.
213
2144.12 Tue Jun 3 10:58:04 CEST 2008
215 - include AnyEvent::Intro, a tutorial for anyevent,
216 anyevent::socket and anyevent::handle.
217 - allow more options in on_error.
218
2194.11 Fri May 30 23:42:25 CEST 2008
220 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
221 reverse_lookup and reverse_verify to replace it, support
222 v4mapped and v4compat addresses.
223 - provide more documentation for the resolver class.
224 - really replace longest run of :0: by :: in format_address,
225 also properly convert :: and ::1 again.
226 - support NAPTR record name and decode it.
227 - implement random weight sampling for SRV records, as per
228 rfc 2782.
229 - correctly abort on srv-record targets of ".".
230 - added AnyEvent::DNS::wait_for_slot.
231 - in the unlikely event of a virtual circuit connection
232 being invalidated by a delayed udp reply, AnyEvent::DNS
233 could die. this has been fixed.
234 - plug a probable memleak in the DNS vc code.
235 - use configured timeout also for VC request phase.
236 - implement timeout and max_outstanding methods
237 for resolver class.
238 - update version numbers in all modules.
239
2404.1 Thu May 29 05:45:40 CEST 2008
241 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
242 which mirrors their purpose better (old names still available
243 for a while). Also moved AnyEvent::DNS::addr to
244 AnyEvent::Socket::resolve_sockaddr.
245 - implement AnyEvent->time and AnyEvent->now.
246 - fix IPv6 support in pack_sockaddr.
247 - officially un-experimentalise all newly introduced code.
248 - support unix domain sockets everywhere by specifying
249 a host of "unix/" and the pathname as service.
250 - implement an activity timeout in AnyEvent::Handle.
251 - added a regex read type to AnyEvent::Handle.
252 - added a json read/write type to AnyEvent::Handle.
253 - always croak in on_error in AnyEvent::Handle.
254 - document how to subclass AnyEvent::Handle.
255 - implement AnyEvent::Util::fork_call.
256 - add support for IPv6 nameservers and nameserver statements.
257 - work around _yet_ _another_ windows perl bug in where empty
258 select masks cause errors in the pure perl backend (this
259 workaround cannot be implemented for the other event loops,
260 but EV also works around this).
261 - supply AnyEvent::Socket::address_type and make good use of it.
262 - clarify and fix the Handle documentation w.r.t $self vs. $handle
263 vs. callback arguments.
264 - add some recommends to the META.yml.
265
2664.05 Mon May 26 19:44:06 CEST 2008
267 - some platforms ignore the rfc and prepend an extra sa_len member to
268 the sockaddr structure, cater for those. also use sockaddr_family,
269 didn't know it was there, but comes in handy for the workaround.
270 - undo the import WIN32 hack.
271
2724.04 Mon May 26 08:03:31 CEST 2008
273 - try to work around yet another windows bug: failed connects are reported
274 as if it were out-of-band data. windows users: you suck. Only
275 EV, Glib, Event and the pure perl backend can handle this condition.
276 - optimize write algorithm in AnyEvent::Handle.
277 - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly.
278 - tcp_connect now properly iterates through all targets.
279 - check wether IPv6 sockets can actually be created, otherwise, disable ipv6
280 support entirely. also hardcode some AF_INET6 constants for the
281 sake of perl 5.8.
282 - vastly improved nameserver/suffix detection algorithm for windows
283 (still a hack...)
284 - try to use a fallback dns server if no dns servers could be found.
285 - splatter around some local $SIG{__DIE__}'s to work around bad
286 die handlers.
287
2884.03 Sun May 25 05:05:57 CEST 2008
289 - work around perl bugs on windows, where perl returns undocumented
290 error codes for sysread, syswrite etc.
291 - fix AnyEvent::Handle::unshift_read to really unshift and not push.
292 - AnyEvent::Handle could sometimes stumble over 0-byte writes.
293 - fix unpack_sockaddr, now works for AF_INET6 sockaddr's.
294 - updated documentation.
295 - lots of workarounds for perl 5.8 quirks.
296 - implement a more flexible type system for both reads and writes
297 in AnyEvent::Handle.
298 - support IPv6 in tcp_server.
299 - pass local hostname and port to the prepare callback in tcp_server.
300 - make types extendable in AnyEvent::Handle.
301 - croak, not die, in AnyEvent::Handle;
302
3034.0 Sat May 24 19:58:08 CEST 2008
304 - added (experimental) AnyEvent::DNS module.
305 - added (experimental) AnyEvent::Socket module.
306 - added (experiemntal) support for TLS/SSL in AnyEvent::Handle.
307 - make condvar->end call ->send as documented.
308 - make condvar constructor support the documented cb => argument.
309 - overload condvars so you can use them instead of code references.
310 - support more of the POSIX forms instead of a pure dotted quad for
311 verbatim ip addresses.
312 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore.
313 - try very hard not to freeze on broken windows perls.
314 - make on_eof optional in AnyEvent::Handle.
315 - support service names in tcp_connect and tcp_server.
316 - work around netbsd/openbsd bug causing unix sockets not to
317 become writable until empty.
318 - only make a dummy read for error detection when getpeername
319 returns ENOTCONN.
320 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
321 override.
322 - new AnyEvent::Guard::cancel.
323
3243.5 Sat May 17 23:17:14 CEST 2008
325 - gracefully deal with systems not defining CLOCK_MONOTONIC
326 (as opposed to not supporting the clock itself, which worked in 3.41).
327 - added AnyEvent::Util::tcp_connect and AnyEvent::Util::tcp_server
328 helpers, to replace the ill-designed AnyEvent::Socket class.
329 - added some examples (eg/connect, eg/handle).
330 - added AnyEvent::Util::guard.
331 - AnyEvent::Util now exports most of its functions.
332 - fixed a bug in *_read_chunk, where the callback was called with $self as
333 first and second argument.
334 - simplified and fixed regex handling in AnyEvent::Handle::*_read_line.
335 - fix manpage condvars examples to use new syntax.
336 - considerably improve inet_aton with EV::ADNS backend to support
337 cname chains (common dns configuration bug, e.g. with www.google.de)
338 and aaaa records if no a record could be found.
339
3403.41 Sun May 11 19:53:13 CEST 2008
341 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
342
3433.4 Sun May 11 00:29:25 CEST 2008
344 - complete re-implementation of condvars with a hopefully much more useful
345 API (backward compatible functions exist but are undocumented).
346 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
347 (still subject to change).
348 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
349 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which
350 allows module authors to avoid forcing event loop detection.
351 (used by Coro::AIO, Coro::BDB, Coro::AnyEvent for example).
352 - remove coro backends: Coro now provides generic support for AnyEvent
353 via Coro::AnyEvent.
354
3553.3 Mon Apr 28 09:51:06 CEST 2008
356 - added AnyEvent::Handle, AnyEvent::Socket and AnyEvent::Util modules.
357 - fix a bug in the pure perl backend that kept watchers alive
358 when multiple watchers were registered for the same fh/poll combo.
359 - add a benchmark section showing AnyEvent overhead and comparing
360 the different event loops with each other.
361 - prefer pure perl over tk when autoprobing, as it's about as fast,
362 but doesn't crash with many watchers.
363 - declare Qt support non-experimental.
364 - clarify the confusing section about the file descriptor being
365 kept alive.
366 - document the race between loading of an event module and
367 child processes exiting.
368 - support POE as "backend" (with some caveats, POE is not generic
369 enough, and darn slow).
370 - support Wx and Prima through POE.
371 - optimise perl backend to use 20% less memory and take advantage
372 of typical timeout behaviour. It can now compete with
373 select/poll-based C event loops in most cases (it is usually
374 faster than Event and Glib :).
375 - roughly cut EV memory use in half and increase its speed by 30%,
376 by removing undocumented functionality. Did something similar
377 to other event loops where possible.
378
3793.2 Thu Apr 24 10:10:40 CEST 2008
380 - do not die when anyevent watchers are destroyed while running callbacks
381 in the pureperl backend (could only happen when two watchers are registered
382 for the same fh/poll combo).
383 - support autoloading for child watchers, was broken in all versions.
384 - implement PERL_ANYEVENT_MODEL env variable.
385 - (experimental) implement interface to the (very crashy/buggy) Event::Lib module.
386 - (experimental) implement interface to the Qt module (cannot be autoprobed).
387 - this release is IO:AnyEvent-proof.
388
3893.12 Tue Apr 22 07:11:46 CEST 2008
390 - reinstate AUTHOR section that got lost somehow.
391 - do not hang in the testsuite with badly broken perls (activestate,
392 strawberry...), but instead diagnose the problem and continue.
393 - use INT instead of CHLD in an attempt to support broken windows perls
394 better (this decreases the test quality, unfortunately).
395 - do not send the signal to the process group
396 (no problem for CHLD, bad for INT :).
397
3983.11 Sat Apr 19 06:57:31 CEST 2008
399 - major documentation rework.
400 - document the fact that child watchers only watch for zombies.
401 - fix the child watcher example.
402
4033.1 Wed Apr 16 17:09:01 CEST 2008
404 - work around recurring bugs in Tk by dup'ing filehandles, the
405 only method with good success chances on Tk (the bugs apparently
406 don't get fixed anytime soon).
407 - lift the restriction of only one watcher per fh direction
408 (as the Tk bug workaround also lifts it and only Tk imposed
409 such strong limits).
410 - changed probe order to prefer coro adaptors.
411 - explain why recursion into the event loop is not supported
412 unless the backend supports it (only Coro::EV does without
413 any restrictions...).
414 - add simple manpages for all backend modules.
415
4163.0 Mon Apr 7 21:30:23 CEST 2008
4 - Coro::Signal changed semantics, roll our own, also cleaning 417 - Coro::Signal changed semantics, roll our own, also cleaning
5 up the Coro implementation in general. 418 up the Coro implementation in general.
6 - rename Coro backend to CoroEvent. 419 - rename Coro backend to CoroEvent.
7 - add some decision helping paragraph to the manpage that should 420 - add some decision helping paragraph to the manpage that should
8 help people to decide wether AnyEvent is the right thing for them. 421 help people to decide whether AnyEvent is the right thing for them.
9 422
102.9 Mon Jan 28 13:31:54 CET 2008 4232.9 Mon Jan 28 13:31:54 CET 2008
11 - update for EV 3.0 API changes. 424 - update for EV 3.0 API changes.
12 425
132.8 Sun Nov 25 15:06:03 CET 2007 4262.8 Sun Nov 25 15:06:03 CET 2007
99 - fixed documentation. 512 - fixed documentation.
100 - clarified some corner cases. 513 - clarified some corner cases.
101 - vastly improved documentation with a long example. 514 - vastly improved documentation with a long example.
102 515
1030.2 Thu Dec 1 22:18:49 CET 2005 5160.2 Thu Dec 1 22:18:49 CET 2005
104 - check wether a valid method was called, to avoid endless loops. 517 - check whether a valid method was called, to avoid endless loops.
105 - move condvars into their own class (cleaner, safer). 518 - move condvars into their own class (cleaner, safer).
106 - don't die when some modules are not available. 519 - don't die when some modules are not available.
107 - Tk is too broken to allow for words. Will work once Tk works. 520 - Tk is too broken to allow for words. Will work once Tk works.
108 521
1090.1 Thu Dec 1 19:44:57 CET 2005 5220.1 Thu Dec 1 19:44:57 CET 2005

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines