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

Comparing AnyEvent/Changes (file contents):
Revision 1.107 by root, Mon May 26 02:30:33 2008 UTC vs.
Revision 1.249 by root, Fri Jun 26 06:33:17 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.42 Fri Jun 26 08:32:18 CEST 2009
4 - preliminary and neccesarily incomplete support for IO::Async.
5 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
6 case it was set to IGNORE, to ensure we can catch child statuses
7 even when the calling env acts stupidly.
8 - updated benchmarks with IO::Async, which performs very well.
9
104.412 Wed Jun 24 01:35:57 CEST 2009
11 - support an "untaint" attribute for AnyEvent::DNS
12 and set it on the default resolver.
13 - implement and document AnyEvent::Impl::Perl::loop.
14 - remove all anyevent-env variables from %ENV
15 when running in tainted mode.
16 - mention and extend the IO::Lambda benchmark.
17
184.411 Sun Jun 7 18:48:02 CEST 2009
19 - do not try to use F_SETFD on windows.
20
214.41 Thu May 14 06:40:11 CEST 2009
22 - work around issues in older perls (5.8.0?) when
23 a signal handler is deleted from the %SIG hash.
24 - use POSIX::_exit in child test, to avoid running
25 destructors.
26 - speed up CHLD handling by relying on SIGCHLD being
27 synchronously delivered, even when we roll our own
28 implementation.
29 - AnyEvent::DNS: add the "dname" resource record name
30 for cosmetic reasons.
31
324.4 Sun Apr 26 20:12:33 CEST 2009
33 - implemented idle watchers, where applicable.
34 - AnyEvent->time died when Event backend was in use.
35 - fix a memleak in the Tk backend.
36 - sped up Tk timer handling.
37 - clip negative "after" values to 0 in AnyEvent::Impl::Event
38 to avoid spamming out warning messages.
39 - fix Qt timers without interval.
40 - avoid Qt zero-timeout special case, in old libqt's.
41
424.352 Mon Apr 20 16:31:11 CEST 2009
43 - fix AnyEvent::Strict error messages for child watchers.
44 - fix/update Makefile.PL "recommends" versions.
45 - add AnyEvent->now_update.
46
474.351 Sat Apr 11 07:56:14 CEST 2009
48 - actually make the signal pipe work under win32.
49 - localise $! in signal handler to avoid changing $!, although
50 perl itself does not seem to save/restore errno either.
51 - set the cloexec flag on the signal pipe (normally set by perl too).
52
534.35 Fri Mar 27 11:48:20 CET 2009
54 - event models relying on AnyEvent's signal watcher emulation did
55 invoke the callback asynchronously, contradicting documentation
56 and causing signals to get lost (this includes AnyEvent's own
57 event loop). AnyEvent now uses the standard pipe trick to make
58 callback execution synchronous to the event loop.
59 - AnyEvent::Handle didn't free TLS context data on DESTROY
60 (patch by Pavel Shaydo).
61 - work around the ever-incompatibly-changing API of MakeMaker.
62 - document that changing global variables without restoring them
63 is a bad idea in Perl (noted by Adam Rosenstein).
64 - AnyEvent::Strict now barfs if ->io is passed a file.
65
664.34 Thu Feb 12 18:32:45 CET 2009
67 - separately buffer TLS read data, as otherwise the read queue could
68 deadlock as receiving data is not expected while draining the
69 read queue (which cna only happen with TLS).
70 - raise EBADMSG error on JSON decoding errors.
71 - fix some minor manpage bugs (reported by Maximilian Gaß).
72 - speed up select bitmask parsing quite a bit in the pure perl
73 backend.
74 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
75
764.331 Tue Jan 6 21:07:25 CET 2009
77 - socketpair fails on many vista machines because vista has
78 completely broken accept/getpeername and getsockname functions,
79 so we provide our own socketpair emulation that kind of works
80 (AnyEvent::Util::portable_pipe).
81 - new function: AnyEvent::Util::portable_socketpair.
82 - take advantage of the Guard module if it exists.
83
844.33 Fri Nov 21 02:35:40 CET 2008
85 - AnyEvent::Strict did errornously flag a fileno of 0 as
86 illegal.
87 - reduce memory usage and slightly speed up the pure perl backend
88 by only storing the file descriptor, not the file handle.
89 - add missing autocork method to AnyEvent::Handle (reported
90 by Adam Rosenstein).
91 - AnyEvent::DNS->resolve errornously documented an $rcode result
92 argument, but there isn't (spotted by Henrik Krohns).
93 - the naked truth about Tk - it's basically unmaintained.
94
954.32 Mon Nov 3 22:46:32 CET 2008
96 - fix AnyEvent::Socket::resolve_sockaddr to properly support
97 unix sockets again and choose a proper default for
98 the socket type.
99 - fix call to resolve_sockaddr in tcp_connect.
100
1014.31 Thu Oct 30 04:41:48 CET 2008
102 - implemented AnyEvent::Handle->destroy method.
103 - hint about unexpected effects in TLS mode.
104 - speed up AnyEvent::Impl::Perl by using more arrays
105 instead of hashes without the slightest loss of readability :)
106 - work around a perl argument refcounting bug.
107 - with some perl patches applied, AnyEvent now seems leak-free.
108
1094.3 Fri Oct 3 09:18:43 CEST 2008
110 - AnyEvent will now install a no-op signal handler for SIGPIPE,
111 unless one has been installed already.
112 - warn about not loaidng AnyEvent::Impl::POE early enough
113 (patch by Adam Rosenstein).
114 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
115 - fix a bug in where in SSL connect mode, the
116 client would first wait for some data by the server and
117 otherwise hang. (reported and analyzed in an absolutely
118 exemplary manner by Adam Rosenstein).
119 - fix a bug in where SSL EOF would not be treated
120 as stream EOF, putting the connection into a hung state.
121 (reported and analyzed in an absolutely exemplary manner by Adam
122 Rosenstein).
123 - fix a potential segfault when the TLS context
124 would go missing in a read callback (e.g. due to stoptls) -
125 Net::SSLeay of course makes no type checking whatsoever.
126 - AnyEvent::Handle will not stop the read watcher in TLS mode.
127 - AnyEvent::Handle->stoptls will send a TLS close notify
128 instead of simply destroying the stream now.
129 - fix a bug where large blocks of data written in TLS mode
130 would not be sent unless triggered by receives.
131 - on_drain will now take the tls write buffer into account.
132 - SSL operations have been streamlined a bit and should be faster
133 now, more to come, though.
134 - added a FAQ section, will document nontrivial issues in there.
135
1364.234 Mon Sep 29 04:08:13 CEST 2008
137 - fix child watcher documentation: only child exits will be reported,
138 no trace events.
139 - mention SIGPIPE in AnyEvent::Handle.
140 - perl backend will now use POSIX::times as monotonic clock
141 when available and the monotonic clock option is not.
142 - run even without Time::HiRes in some cases now, but do not
143 provide sub-second accuracy (all *supported* perl versions have
144 Time::HiRes).
145
1464.233 Fri Aug 22 01:48:05 CEST 2008
147 - fix a bug in the testsuite, causing a hang.
148 - clarified lots of AnyEvent::Handle constructor arguments.
149
1504.232 Thu Aug 21 20:44:25 CEST 2008
151 - fix a bug in AnyEvent::Handle that could cause two fatal error
152 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
153 (testcase by Leon Brocard).
154 - clarified on_eof/on_error documentation a bit.
155
1564.231 Tue Jul 29 13:12:15 CEST 2008
157 - remove some debugging code left in AnyEvent::Util::fork_call
158 (and no, it's impossible to implement with the broken windows
159 perls without resource leaks or worse).
160
1614.23 Tue Jul 29 12:19:59 CEST 2008
162 - document the first parameter passed to condvar callbacks to be
163 the callback.
164 - add AnyEvent::Socket::{ntoa,aton} aliases.
165 - optimize the AE::Handle->push_read (line) for the default
166 eol marker.
167 - optimize push_read (packstring|storable) for small packets.
168 - invoke on_error callback when no on_eof callback is set.
169 - fix a bug in push_read (storable) of unknown impact.
170
1714.22 Sun Jul 20 16:34:13 CEST 2008
172 - new function AnyEvent::Socket::parse_hostport.
173 - as the bulkheads at microsoft can't even get getprotobyname reliably
174 working on their shitty fucking broken os we need to hardcode
175 some common protocol numbers in AnyEvent::Socket. How can
176 people even bother with such a pile of shit as windows.
177
1784.21 Thu Jul 17 14:40:05 CEST 2008
179 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
180 which is incompatible to previous invocation syntax.
181 - work around more windows perl bugs in fork_call. I cannot imagine
182 why anybody would bother implementing fork in such an obviously
183 unusable way.
184 - avoid calling $do_retry if the request has already finished in
185 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
186 K. Sharifulin).
187
1884.2 Sat Jul 12 22:42:11 CEST 2008
189 - support an "interval" argument for repeating timers.
190 - fix a bug in the pure perl event loop that caused timers to
191 be delayed under some circumstances.
192 - implement optional argument checking via PERL_ANYEVENT_STRICT.
193 - not importing anything from Event causes it to malfunction
194 and not use Time::HiRes, work around this bug.
195 - more bug workarounds against the endlessly broken Tk module,
196 seems to work now on 32 bit machines, but less so on 64 bit.
197 - minor optimisations applied to most backends.
198
1994.161 Fri Jul 4 14:24:48 CEST 2008
200 - fixed the t/handle/02_write.t, it read after write, with the
201 assumption that all data could be written before read
202 (reported by Jim Razmus).
203
2044.160 Thu Jul 3 04:02:21 CEST 2008
205 - re-registering signal watchers after unregistering one did
206 not work if a backend falls back on AnyEvent's default
207 implementation (also affected child watchers).
208 - new AnyEvent::Handle options: autocork and no_delay.
209
2104.152 Sun Jun 22 14:15:44 CEST 2008
211 - allow for 32-bit perls that implement shifts differently
212 on different architectures in parse_ipv4 (reported and
213 analysed by Keiichi DAIBA).
214
2154.151 Fri Jun 6 17:34:24 CEST 2008
216 - make sure specifying _only_ on_read and never pushing reads
217 works.
218
2194.15 Fri Jun 6 13:00:46 CEST 2008
220 - the pure perl backend would keep some watchers alive when more than
221 one watcher was registered for the same fd.
222 - new "packstring" and "storable" read and write types
223 for AnyEvent::Handle.
224 - allow on_eof handler to be called after on_error with EPIPE returns.
225 - do not immediately call on_read callback in handle constructor.
226
2274.14 Thu Jun 5 20:29:31 CEST 2008
228 - Fixed a bug in DNS SRV priority sorting.
229 - AnyEvent::Util::guard now reports runtime errors while
230 executing the guard block as warnings.
231 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
232
2334.13 Thu Jun 5 00:47:59 CEST 2008
234 - AnyEvent::DNS only followed cname chains with length 2,
235 contrary to documentation. bumped it up to 10, thanks to
236 microsoft, the current broken-dns-config-king.
237 - AnyEvent::DNS didn't check for socket return status
238 but instead relied on perl not creating filehandles in that
239 case - too bad it gives you a bogus file handle (reported
240 and analysed by Vladimir Timofeev).
241 - fix queue management logic in AnyEvent::Handle:
242 when on_read was registered, the queue was empty
243 and no progress could be made AnyEvent::Handle would
244 enter an endless loop.
245 - correctly start reading again when the handle became
246 busy again after idling.
247 - correctly treat tls shut-downs as EOF condition
248 (for the time being, would be nice to have a callback for that).
249 - correctly call eof callback under all conditions
250 (hopefully).
251 - the timeout callback did not expect that $self can go
252 away any time.
253
2544.12 Tue Jun 3 10:58:04 CEST 2008
255 - include AnyEvent::Intro, a tutorial for anyevent,
256 anyevent::socket and anyevent::handle.
257 - allow more options in on_error.
258
2594.11 Fri May 30 23:42:25 CEST 2008
260 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
261 reverse_lookup and reverse_verify to replace it, support
262 v4mapped and v4compat addresses.
263 - provide more documentation for the resolver class.
264 - really replace longest run of :0: by :: in format_address,
265 also properly convert :: and ::1 again.
266 - support NAPTR record name and decode it.
267 - implement random weight sampling for SRV records, as per
268 rfc 2782.
269 - correctly abort on srv-record targets of ".".
270 - added AnyEvent::DNS::wait_for_slot.
271 - in the unlikely event of a virtual circuit connection
272 being invalidated by a delayed udp reply, AnyEvent::DNS
273 could die. this has been fixed.
274 - plug a probable memleak in the DNS vc code.
275 - use configured timeout also for VC request phase.
276 - implement timeout and max_outstanding methods
277 for resolver class.
278 - update version numbers in all modules.
279
2804.1 Thu May 29 05:45:40 CEST 2008
281 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
282 which mirrors their purpose better (old names still available
283 for a while). Also moved AnyEvent::DNS::addr to
284 AnyEvent::Socket::resolve_sockaddr.
285 - implement AnyEvent->time and AnyEvent->now.
286 - fix IPv6 support in pack_sockaddr.
287 - officially un-experimentalise all newly introduced code.
288 - support unix domain sockets everywhere by specifying
289 a host of "unix/" and the pathname as service.
290 - implement an activity timeout in AnyEvent::Handle.
291 - added a regex read type to AnyEvent::Handle.
292 - added a json read/write type to AnyEvent::Handle.
293 - always croak in on_error in AnyEvent::Handle.
294 - document how to subclass AnyEvent::Handle.
295 - implement AnyEvent::Util::fork_call.
296 - add support for IPv6 nameservers and nameserver statements.
297 - work around _yet_ _another_ windows perl bug in where empty
298 select masks cause errors in the pure perl backend (this
299 workaround cannot be implemented for the other event loops,
300 but EV also works around this).
301 - supply AnyEvent::Socket::address_type and make good use of it.
302 - clarify and fix the Handle documentation w.r.t $self vs. $handle
303 vs. callback arguments.
304 - add some recommends to the META.yml.
305
3064.05 Mon May 26 19:44:06 CEST 2008
307 - some platforms ignore the rfc and prepend an extra sa_len member to
308 the sockaddr structure, cater for those. also use sockaddr_family,
309 didn't know it was there, but comes in handy for the workaround.
310 - undo the import WIN32 hack.
311
3124.04 Mon May 26 08:03:31 CEST 2008
313 - try to work around yet another windows bug: failed connects are reported
314 as if it were out-of-band data. windows users: you suck. Only
315 EV, Glib, Event and the pure perl backend can handle this condition.
316 - optimize write algorithm in AnyEvent::Handle.
3 - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly. 317 - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly.
318 - tcp_connect now properly iterates through all targets.
4 - check wether IPv6 sockets can actually be created, otherwise, disable ipv6 319 - check wether IPv6 sockets can actually be created, otherwise, disable ipv6
5 support entirely. also hardcode some AF_INEt6 constants for the 320 support entirely. also hardcode some AF_INET6 constants for the
6 sake of perl 5.8. 321 sake of perl 5.8.
7 - vastly improved nameserver/suffix detection algorithm for windows 322 - vastly improved nameserver/suffix detection algorithm for windows
8 (still a hack...) 323 (still a hack...)
9 - try to use a fallback dns server if no dns servers could be found. 324 - try to use a fallback dns server if no dns servers could be found.
325 - splatter around some local $SIG{__DIE__}'s to work around bad
326 die handlers.
10 327
114.03 Sun May 25 05:05:57 CEST 2008 3284.03 Sun May 25 05:05:57 CEST 2008
12 - work around perl bugs on windows, where perl returns undocumented 329 - work around perl bugs on windows, where perl returns undocumented
13 error codes for sysread, syswrite etc. 330 error codes for sysread, syswrite etc.
14 - fix AnyEvent::Handle::unshift_read to really unshift and not push. 331 - fix AnyEvent::Handle::unshift_read to really unshift and not push.
35 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. 352 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore.
36 - try very hard not to freeze on broken windows perls. 353 - try very hard not to freeze on broken windows perls.
37 - make on_eof optional in AnyEvent::Handle. 354 - make on_eof optional in AnyEvent::Handle.
38 - support service names in tcp_connect and tcp_server. 355 - support service names in tcp_connect and tcp_server.
39 - work around netbsd/openbsd bug causing unix sockets not to 356 - work around netbsd/openbsd bug causing unix sockets not to
40 become writable untill empty. 357 become writable until empty.
41 - only make a dummy read for error detection when getpeername 358 - only make a dummy read for error detection when getpeername
42 returns ENOTCONN. 359 returns ENOTCONN.
43 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 360 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
44 override. 361 override.
45 - new AnyEvent::Guard::cancel. 362 - new AnyEvent::Guard::cancel.
46 363
473.5 Sat May 17 23:17:14 CEST 2008 3643.5 Sat May 17 23:17:14 CEST 2008
48 - gracefully deal with systems not defining CLOCK_MONOTONIC 365 - gracefully deal with systems not defining CLOCK_MONOTONIC
62 379
633.41 Sun May 11 19:53:13 CEST 2008 3803.41 Sun May 11 19:53:13 CEST 2008
64 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 381 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
65 382
663.4 Sun May 11 00:29:25 CEST 2008 3833.4 Sun May 11 00:29:25 CEST 2008
67 - complete re-implementation of condvars with a hopefully much mroe useful 384 - complete re-implementation of condvars with a hopefully much more useful
68 API (backward compatible functions exist but are undocumented). 385 API (backward compatible functions exist but are undocumented).
69 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 386 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
70 (still subject to change). 387 (still subject to change).
71 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 388 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
72 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 389 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines