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

Comparing AnyEvent/Changes (file contents):
Revision 1.108 by root, Mon May 26 03:28:34 2008 UTC vs.
Revision 1.267 by root, Tue Jul 7 06:58:58 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines