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

Comparing AnyEvent/Changes (file contents):
Revision 1.150 by root, Thu Jun 5 16:28:48 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
34.14 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
4 - Fixed a bug in DNS SRV priority sorting. 275 - Fixed a bug in DNS SRV priority sorting.
5 - AnyEvent::Util::guard now reports runtime errors while 276 - AnyEvent::Util::guard now reports runtime errors while
6 executing the guard block as warnings. 277 executing the guard block as warnings.
278 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
7 279
84.13 Thu Jun 5 00:47:59 CEST 2008 2804.13 Thu Jun 5 00:47:59 CEST 2008
9 - AnyEvent::DNS only followed cname chains with length 2, 281 - AnyEvent::DNS only followed cname chains with length 2,
10 contrary to documentation. bumped it up to 10, thanks to 282 contrary to documentation. bumped it up to 10, thanks to
11 microsoft, the current broken-dns-config-king. 283 microsoft, the current broken-dns-config-king.
130 - support service names in tcp_connect and tcp_server. 402 - support service names in tcp_connect and tcp_server.
131 - work around netbsd/openbsd bug causing unix sockets not to 403 - work around netbsd/openbsd bug causing unix sockets not to
132 become writable until empty. 404 become writable until empty.
133 - only make a dummy read for error detection when getpeername 405 - only make a dummy read for error detection when getpeername
134 returns ENOTCONN. 406 returns ENOTCONN.
135 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 407 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
136 override. 408 override.
137 - new AnyEvent::Guard::cancel. 409 - new AnyEvent::Guard::cancel.
138 410
1393.5 Sat May 17 23:17:14 CEST 2008 4113.5 Sat May 17 23:17:14 CEST 2008
140 - gracefully deal with systems not defining CLOCK_MONOTONIC 412 - gracefully deal with systems not defining CLOCK_MONOTONIC
154 426
1553.41 Sun May 11 19:53:13 CEST 2008 4273.41 Sun May 11 19:53:13 CEST 2008
156 - 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.
157 429
1583.4 Sun May 11 00:29:25 CEST 2008 4303.4 Sun May 11 00:29:25 CEST 2008
159 - complete re-implementation of condvars with a hopefully much mroe useful 431 - complete re-implementation of condvars with a hopefully much more useful
160 API (backward compatible functions exist but are undocumented). 432 API (backward compatible functions exist but are undocumented).
161 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 433 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
162 (still subject to change). 434 (still subject to change).
163 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 435 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
164 - 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