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

Comparing AnyEvent/Changes (file contents):
Revision 1.146 by root, Wed Jun 4 09:55:16 2008 UTC vs.
Revision 1.272 by root, Wed Jul 8 13:46:46 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.801
4 - AnyEvent::Handle didn't properly diagnose write errors
5 (it expected -1 from syswrite, how lame... :).
6 - support file descriptors in addition to file handles
7 in AnyEvent->io.
8 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
9 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
10 and PERL_ANYEVENT_CA_PATH.
11 - provide a sensible synopsis section for AnyEvent::TLS.
12 - added simple io watcher test to testsuite, using a
13 portable_socketpair.
14 - tried to improve the stability of the Event::Lib backend,
15 YMMV.
16
174.8 Mon Jul 6 23:45:16 CEST 2009
18 - AnyEvent::DNS did not properly follow CNAME records with
19 uppercase targets.
20 - AnyEvent::DNS would errornously return AAAA records
21 with v4 mapped addresses (a faulty record) as ipv4 addresses,
22 causing AnyEvent::Socket to throw an exception.
23 - added new module AnyEvent::TLS for easier SSL/TLS context
24 creation, with many options including hostname verification,
25 secure default configuration, lots of documentation and,
26 predefined diffie-hellman keys for perfect forward security
27 and much more. get it while it's still fresh!
28 - use AnyEvent::TLS in AnyEvent::Handle for context management.
29 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
30 so AnyEvent::Socket users have smaller memory footprint
31 in the common case.
32 - add AnyEvent::Handle->push_shutdown method.
33 - add an additional error message parameter to AnyEvent::Handle's
34 on_error callback (for TLS, $! is still available).
35 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
36 - make AnyEvent::Handle more robust against early conenction
37 failures (during new), and return C<undef> in that case
38 from the constructor.
39 - AnyEvent::Handle will now try to load only JSON::XS first,
40 then fall back to JSON.
41 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
42 and because it was documented that way.
43
444.451 Fri Jul 3 00:28:58 CEST 2009
45 - do not clear rbuf when shutting down an AnyEvent::Handle
46 object - doing so breaks AnyEvent::HTTP.
47
484.45 Mon Jun 29 22:59:26 CEST 2009
49 - a write error could cause AnyEvent::Handle to create
50 an I/O watcher with an undefined $fh.
51 - special-case mapped ipv4 addresses in both
52 AnyEvent::Socket::format_address and parse_address,
53 to treat them just like ipv4 addresses.
54 - updated and overhauled the AnyEvent::Intro doc.
55 - implement AnyEvent::Socket::format_ipv4/ipv6.
56 - slightly speed up portable_pipe/socketpair.
57 - expand condvar begin/end documentation.
58
594.42 Fri Jun 26 08:32:18 CEST 2009
60 - preliminary and neccesarily incomplete support for IO::Async.
61 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
62 case it was set to IGNORE, to ensure we can catch child statuses
63 even when the calling env acts stupidly.
64 - updated benchmarks with IO::Async, which performs very well.
65
664.412 Wed Jun 24 01:35:57 CEST 2009
67 - support an "untaint" attribute for AnyEvent::DNS
68 and set it on the default resolver.
69 - implement and document AnyEvent::Impl::Perl::loop.
70 - remove all anyevent-env variables from %ENV
71 when running in tainted mode.
72 - mention and extend the IO::Lambda benchmark.
73
744.411 Sun Jun 7 18:48:02 CEST 2009
75 - do not try to use F_SETFD on windows.
76
774.41 Thu May 14 06:40:11 CEST 2009
78 - work around issues in older perls (5.8.0?) when
79 a signal handler is deleted from the %SIG hash.
80 - use POSIX::_exit in child test, to avoid running
81 destructors.
82 - speed up CHLD handling by relying on SIGCHLD being
83 synchronously delivered, even when we roll our own
84 implementation.
85 - AnyEvent::DNS: add the "dname" resource record name
86 for cosmetic reasons.
87
884.4 Sun Apr 26 20:12:33 CEST 2009
89 - implemented idle watchers, where applicable.
90 - AnyEvent->time died when Event backend was in use.
91 - fix a memleak in the Tk backend.
92 - sped up Tk timer handling.
93 - clip negative "after" values to 0 in AnyEvent::Impl::Event
94 to avoid spamming out warning messages.
95 - fix Qt timers without interval.
96 - avoid Qt zero-timeout special case, in old libqt's.
97
984.352 Mon Apr 20 16:31:11 CEST 2009
99 - fix AnyEvent::Strict error messages for child watchers.
100 - fix/update Makefile.PL "recommends" versions.
101 - add AnyEvent->now_update.
102
1034.351 Sat Apr 11 07:56:14 CEST 2009
104 - actually make the signal pipe work under win32.
105 - localise $! in signal handler to avoid changing $!, although
106 perl itself does not seem to save/restore errno either.
107 - set the cloexec flag on the signal pipe (normally set by perl too).
108
1094.35 Fri Mar 27 11:48:20 CET 2009
110 - event models relying on AnyEvent's signal watcher emulation did
111 invoke the callback asynchronously, contradicting documentation
112 and causing signals to get lost (this includes AnyEvent's own
113 event loop). AnyEvent now uses the standard pipe trick to make
114 callback execution synchronous to the event loop.
115 - AnyEvent::Handle didn't free TLS context data on DESTROY
116 (patch by Pavel Shaydo).
117 - work around the ever-incompatibly-changing API of MakeMaker.
118 - document that changing global variables without restoring them
119 is a bad idea in Perl (noted by Adam Rosenstein).
120 - AnyEvent::Strict now barfs if ->io is passed a file.
121
1224.34 Thu Feb 12 18:32:45 CET 2009
123 - separately buffer TLS read data, as otherwise the read queue could
124 deadlock as receiving data is not expected while draining the
125 read queue (which cna only happen with TLS).
126 - raise EBADMSG error on JSON decoding errors.
127 - fix some minor manpage bugs (reported by Maximilian Gaß).
128 - speed up select bitmask parsing quite a bit in the pure perl
129 backend.
130 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
131
1324.331 Tue Jan 6 21:07:25 CET 2009
133 - socketpair fails on many vista machines because vista has
134 completely broken accept/getpeername and getsockname functions,
135 so we provide our own socketpair emulation that kind of works
136 (AnyEvent::Util::portable_pipe).
137 - new function: AnyEvent::Util::portable_socketpair.
138 - take advantage of the Guard module if it exists.
139
1404.33 Fri Nov 21 02:35:40 CET 2008
141 - AnyEvent::Strict did errornously flag a fileno of 0 as
142 illegal.
143 - reduce memory usage and slightly speed up the pure perl backend
144 by only storing the file descriptor, not the file handle.
145 - add missing autocork method to AnyEvent::Handle (reported
146 by Adam Rosenstein).
147 - AnyEvent::DNS->resolve errornously documented an $rcode result
148 argument, but there isn't (spotted by Henrik Krohns).
149 - the naked truth about Tk - it's basically unmaintained.
150
1514.32 Mon Nov 3 22:46:32 CET 2008
152 - fix AnyEvent::Socket::resolve_sockaddr to properly support
153 unix sockets again and choose a proper default for
154 the socket type.
155 - fix call to resolve_sockaddr in tcp_connect.
156
1574.31 Thu Oct 30 04:41:48 CET 2008
158 - implemented AnyEvent::Handle->destroy method.
159 - hint about unexpected effects in TLS mode.
160 - speed up AnyEvent::Impl::Perl by using more arrays
161 instead of hashes without the slightest loss of readability :)
162 - work around a perl argument refcounting bug.
163 - with some perl patches applied, AnyEvent now seems leak-free.
164
1654.3 Fri Oct 3 09:18:43 CEST 2008
166 - AnyEvent will now install a no-op signal handler for SIGPIPE,
167 unless one has been installed already.
168 - warn about not loaidng AnyEvent::Impl::POE early enough
169 (patch by Adam Rosenstein).
170 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
171 - fix a bug in where in SSL connect mode, the
172 client would first wait for some data by the server and
173 otherwise hang. (reported and analyzed in an absolutely
174 exemplary manner by Adam Rosenstein).
175 - fix a bug in where SSL EOF would not be treated
176 as stream EOF, putting the connection into a hung state.
177 (reported and analyzed in an absolutely exemplary manner by Adam
178 Rosenstein).
179 - fix a potential segfault when the TLS context
180 would go missing in a read callback (e.g. due to stoptls) -
181 Net::SSLeay of course makes no type checking whatsoever.
182 - AnyEvent::Handle will not stop the read watcher in TLS mode.
183 - AnyEvent::Handle->stoptls will send a TLS close notify
184 instead of simply destroying the stream now.
185 - fix a bug where large blocks of data written in TLS mode
186 would not be sent unless triggered by receives.
187 - on_drain will now take the tls write buffer into account.
188 - SSL operations have been streamlined a bit and should be faster
189 now, more to come, though.
190 - added a FAQ section, will document nontrivial issues in there.
191
1924.234 Mon Sep 29 04:08:13 CEST 2008
193 - fix child watcher documentation: only child exits will be reported,
194 no trace events.
195 - mention SIGPIPE in AnyEvent::Handle.
196 - perl backend will now use POSIX::times as monotonic clock
197 when available and the monotonic clock option is not.
198 - run even without Time::HiRes in some cases now, but do not
199 provide sub-second accuracy (all *supported* perl versions have
200 Time::HiRes).
201
2024.233 Fri Aug 22 01:48:05 CEST 2008
203 - fix a bug in the testsuite, causing a hang.
204 - clarified lots of AnyEvent::Handle constructor arguments.
205
2064.232 Thu Aug 21 20:44:25 CEST 2008
207 - fix a bug in AnyEvent::Handle that could cause two fatal error
208 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
209 (testcase by Leon Brocard).
210 - clarified on_eof/on_error documentation a bit.
211
2124.231 Tue Jul 29 13:12:15 CEST 2008
213 - remove some debugging code left in AnyEvent::Util::fork_call
214 (and no, it's impossible to implement with the broken windows
215 perls without resource leaks or worse).
216
2174.23 Tue Jul 29 12:19:59 CEST 2008
218 - document the first parameter passed to condvar callbacks to be
219 the callback.
220 - add AnyEvent::Socket::{ntoa,aton} aliases.
221 - optimize the AE::Handle->push_read (line) for the default
222 eol marker.
223 - optimize push_read (packstring|storable) for small packets.
224 - invoke on_error callback when no on_eof callback is set.
225 - fix a bug in push_read (storable) of unknown impact.
226
2274.22 Sun Jul 20 16:34:13 CEST 2008
228 - new function AnyEvent::Socket::parse_hostport.
229 - as the bulkheads at microsoft can't even get getprotobyname reliably
230 working on their shitty fucking broken os we need to hardcode
231 some common protocol numbers in AnyEvent::Socket. How can
232 people even bother with such a pile of shit as windows.
233
2344.21 Thu Jul 17 14:40:05 CEST 2008
235 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
236 which is incompatible to previous invocation syntax.
237 - work around more windows perl bugs in fork_call. I cannot imagine
238 why anybody would bother implementing fork in such an obviously
239 unusable way.
240 - avoid calling $do_retry if the request has already finished in
241 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
242 K. Sharifulin).
243
2444.2 Sat Jul 12 22:42:11 CEST 2008
245 - support an "interval" argument for repeating timers.
246 - fix a bug in the pure perl event loop that caused timers to
247 be delayed under some circumstances.
248 - implement optional argument checking via PERL_ANYEVENT_STRICT.
249 - not importing anything from Event causes it to malfunction
250 and not use Time::HiRes, work around this bug.
251 - more bug workarounds against the endlessly broken Tk module,
252 seems to work now on 32 bit machines, but less so on 64 bit.
253 - minor optimisations applied to most backends.
254
2554.161 Fri Jul 4 14:24:48 CEST 2008
256 - fixed the t/handle/02_write.t, it read after write, with the
257 assumption that all data could be written before read
258 (reported by Jim Razmus).
259
2604.160 Thu Jul 3 04:02:21 CEST 2008
261 - re-registering signal watchers after unregistering one did
262 not work if a backend falls back on AnyEvent's default
263 implementation (also affected child watchers).
264 - new AnyEvent::Handle options: autocork and no_delay.
265
2664.152 Sun Jun 22 14:15:44 CEST 2008
267 - allow for 32-bit perls that implement shifts differently
268 on different architectures in parse_ipv4 (reported and
269 analysed by Keiichi DAIBA).
270
2714.151 Fri Jun 6 17:34:24 CEST 2008
272 - make sure specifying _only_ on_read and never pushing reads
273 works.
274
2754.15 Fri Jun 6 13:00:46 CEST 2008
276 - the pure perl backend would keep some watchers alive when more than
277 one watcher was registered for the same fd.
278 - new "packstring" and "storable" read and write types
279 for AnyEvent::Handle.
280 - allow on_eof handler to be called after on_error with EPIPE returns.
281 - do not immediately call on_read callback in handle constructor.
282
2834.14 Thu Jun 5 20:29:31 CEST 2008
284 - Fixed a bug in DNS SRV priority sorting.
285 - AnyEvent::Util::guard now reports runtime errors while
286 executing the guard block as warnings.
287 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
288
2894.13 Thu Jun 5 00:47:59 CEST 2008
3 - AnyEvent::DNS only followed cname chains with length 2, 290 - AnyEvent::DNS only followed cname chains with length 2,
4 contrary to documentation. bumped it up to 10, thanks to 291 contrary to documentation. bumped it up to 10, thanks to
5 microsoft, the current broken-dns-config-king. 292 microsoft, the current broken-dns-config-king.
293 - AnyEvent::DNS didn't check for socket return status
294 but instead relied on perl not creating filehandles in that
295 case - too bad it gives you a bogus file handle (reported
296 and analysed by Vladimir Timofeev).
6 - fix queue management logic in AnyEvent::Handle: 297 - fix queue management logic in AnyEvent::Handle:
7 when on_read was registered, the queue was empty 298 when on_read was registered, the queue was empty
8 and no progress could be made AnyEvent::Handle would 299 and no progress could be made AnyEvent::Handle would
9 enter an endless loop. 300 enter an endless loop.
10 - correctly start reading again when the handle became 301 - correctly start reading again when the handle became
120 - support service names in tcp_connect and tcp_server. 411 - support service names in tcp_connect and tcp_server.
121 - work around netbsd/openbsd bug causing unix sockets not to 412 - work around netbsd/openbsd bug causing unix sockets not to
122 become writable until empty. 413 become writable until empty.
123 - only make a dummy read for error detection when getpeername 414 - only make a dummy read for error detection when getpeername
124 returns ENOTCONN. 415 returns ENOTCONN.
125 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 416 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
126 override. 417 override.
127 - new AnyEvent::Guard::cancel. 418 - new AnyEvent::Guard::cancel.
128 419
1293.5 Sat May 17 23:17:14 CEST 2008 4203.5 Sat May 17 23:17:14 CEST 2008
130 - gracefully deal with systems not defining CLOCK_MONOTONIC 421 - gracefully deal with systems not defining CLOCK_MONOTONIC
144 435
1453.41 Sun May 11 19:53:13 CEST 2008 4363.41 Sun May 11 19:53:13 CEST 2008
146 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 437 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
147 438
1483.4 Sun May 11 00:29:25 CEST 2008 4393.4 Sun May 11 00:29:25 CEST 2008
149 - complete re-implementation of condvars with a hopefully much mroe useful 440 - complete re-implementation of condvars with a hopefully much more useful
150 API (backward compatible functions exist but are undocumented). 441 API (backward compatible functions exist but are undocumented).
151 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 442 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
152 (still subject to change). 443 (still subject to change).
153 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 444 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
154 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 445 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines