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

Comparing AnyEvent/Changes (file contents):
Revision 1.109 by root, Mon May 26 04:30:30 2008 UTC vs.
Revision 1.261 by root, Sat Jul 4 23:58:52 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines