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

Comparing AnyEvent/Changes (file contents):
Revision 1.167 by root, Tue Jul 8 23:44:51 2008 UTC vs.
Revision 1.281 by root, Thu Jul 16 03:48:33 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.2 3TODO: implement getprotobyname
4 - AnyEvent::Handle will now call ->destroy on itself after
5 executing the on_error callback, instead of doing some
6 half-baked internal shutdown, for fatal errors.
7 - ignore some possible spurious wake-ups in tcp_connect.
8
94.82 Sat Jul 11 00:34:55 CEST 2009
10 - POE and Event backends didn't accept some callable objects as
11 callbacks.
12 - use Config module instead of POSIX module to detect signal names
13 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
14 module doesn't even have all POSIX signals :/.
15 - use more workarounds around the many refcnt/corruption bugs in
16 Event::Lib.
17 - work around a race condition in perl's select, causing t/03_child.t
18 to rarely fail.
19
204.81 Thu Jul 9 10:30:30 CEST 2009
21 - AnyEvent::Handle didn't properly diagnose write errors
22 (it expected -1 from syswrite, how lame... :).
23 - support file descriptors in addition to file handles
24 in AnyEvent->io.
25 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
26 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
27 and PERL_ANYEVENT_CA_PATH.
28 - provide a sensible synopsis section for AnyEvent::TLS.
29 - add a "supported backends" section to the manpage.
30 - added simple io watcher test to testsuite, using a
31 portable_socketpair.
32 - tried to improve the stability of the Event::Lib backend,
33 YMMV.
34
354.8 Mon Jul 6 23:45:16 CEST 2009
36 - AnyEvent::DNS did not properly follow CNAME records with
37 uppercase targets.
38 - AnyEvent::DNS would errornously return AAAA records
39 with v4 mapped addresses (a faulty record) as ipv4 addresses,
40 causing AnyEvent::Socket to throw an exception.
41 - added new module AnyEvent::TLS for easier SSL/TLS context
42 creation, with many options including hostname verification,
43 secure default configuration, lots of documentation and,
44 predefined diffie-hellman keys for perfect forward security
45 and much more. get it while it's still fresh!
46 - use AnyEvent::TLS in AnyEvent::Handle for context management.
47 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
48 so AnyEvent::Socket users have smaller memory footprint
49 in the common case.
50 - add AnyEvent::Handle->push_shutdown method.
51 - add an additional error message parameter to AnyEvent::Handle's
52 on_error callback (for TLS, $! is still available).
53 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
54 - make AnyEvent::Handle more robust against early conenction
55 failures (during new), and return C<undef> in that case
56 from the constructor.
57 - AnyEvent::Handle will now try to load only JSON::XS first,
58 then fall back to JSON.
59 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
60 and because it was documented that way.
61
624.451 Fri Jul 3 00:28:58 CEST 2009
63 - do not clear rbuf when shutting down an AnyEvent::Handle
64 object - doing so breaks AnyEvent::HTTP.
65
664.45 Mon Jun 29 22:59:26 CEST 2009
67 - a write error could cause AnyEvent::Handle to create
68 an I/O watcher with an undefined $fh.
69 - special-case mapped ipv4 addresses in both
70 AnyEvent::Socket::format_address and parse_address,
71 to treat them just like ipv4 addresses.
72 - updated and overhauled the AnyEvent::Intro doc.
73 - implement AnyEvent::Socket::format_ipv4/ipv6.
74 - slightly speed up portable_pipe/socketpair.
75 - expand condvar begin/end documentation.
76
774.42 Fri Jun 26 08:32:18 CEST 2009
78 - preliminary and neccesarily incomplete support for IO::Async.
79 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
80 case it was set to IGNORE, to ensure we can catch child statuses
81 even when the calling env acts stupidly.
82 - updated benchmarks with IO::Async, which performs very well.
83
844.412 Wed Jun 24 01:35:57 CEST 2009
85 - support an "untaint" attribute for AnyEvent::DNS
86 and set it on the default resolver.
87 - implement and document AnyEvent::Impl::Perl::loop.
88 - remove all anyevent-env variables from %ENV
89 when running in tainted mode.
90 - mention and extend the IO::Lambda benchmark.
91
924.411 Sun Jun 7 18:48:02 CEST 2009
93 - do not try to use F_SETFD on windows.
94
954.41 Thu May 14 06:40:11 CEST 2009
96 - work around issues in older perls (5.8.0?) when
97 a signal handler is deleted from the %SIG hash.
98 - use POSIX::_exit in child test, to avoid running
99 destructors.
100 - speed up CHLD handling by relying on SIGCHLD being
101 synchronously delivered, even when we roll our own
102 implementation.
103 - AnyEvent::DNS: add the "dname" resource record name
104 for cosmetic reasons.
105
1064.4 Sun Apr 26 20:12:33 CEST 2009
107 - implemented idle watchers, where applicable.
108 - AnyEvent->time died when Event backend was in use.
109 - fix a memleak in the Tk backend.
110 - sped up Tk timer handling.
111 - clip negative "after" values to 0 in AnyEvent::Impl::Event
112 to avoid spamming out warning messages.
113 - fix Qt timers without interval.
114 - avoid Qt zero-timeout special case, in old libqt's.
115
1164.352 Mon Apr 20 16:31:11 CEST 2009
117 - fix AnyEvent::Strict error messages for child watchers.
118 - fix/update Makefile.PL "recommends" versions.
119 - add AnyEvent->now_update.
120
1214.351 Sat Apr 11 07:56:14 CEST 2009
122 - actually make the signal pipe work under win32.
123 - localise $! in signal handler to avoid changing $!, although
124 perl itself does not seem to save/restore errno either.
125 - set the cloexec flag on the signal pipe (normally set by perl too).
126
1274.35 Fri Mar 27 11:48:20 CET 2009
128 - event models relying on AnyEvent's signal watcher emulation did
129 invoke the callback asynchronously, contradicting documentation
130 and causing signals to get lost (this includes AnyEvent's own
131 event loop). AnyEvent now uses the standard pipe trick to make
132 callback execution synchronous to the event loop.
133 - AnyEvent::Handle didn't free TLS context data on DESTROY
134 (patch by Pavel Shaydo).
135 - work around the ever-incompatibly-changing API of MakeMaker.
136 - document that changing global variables without restoring them
137 is a bad idea in Perl (noted by Adam Rosenstein).
138 - AnyEvent::Strict now barfs if ->io is passed a file.
139
1404.34 Thu Feb 12 18:32:45 CET 2009
141 - separately buffer TLS read data, as otherwise the read queue could
142 deadlock as receiving data is not expected while draining the
143 read queue (which cna only happen with TLS).
144 - raise EBADMSG error on JSON decoding errors.
145 - fix some minor manpage bugs (reported by Maximilian Gaß).
146 - speed up select bitmask parsing quite a bit in the pure perl
147 backend.
148 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
149
1504.331 Tue Jan 6 21:07:25 CET 2009
151 - socketpair fails on many vista machines because vista has
152 completely broken accept/getpeername and getsockname functions,
153 so we provide our own socketpair emulation that kind of works
154 (AnyEvent::Util::portable_pipe).
155 - new function: AnyEvent::Util::portable_socketpair.
156 - take advantage of the Guard module if it exists.
157
1584.33 Fri Nov 21 02:35:40 CET 2008
159 - AnyEvent::Strict did errornously flag a fileno of 0 as
160 illegal.
161 - reduce memory usage and slightly speed up the pure perl backend
162 by only storing the file descriptor, not the file handle.
163 - add missing autocork method to AnyEvent::Handle (reported
164 by Adam Rosenstein).
165 - AnyEvent::DNS->resolve errornously documented an $rcode result
166 argument, but there isn't (spotted by Henrik Krohns).
167 - the naked truth about Tk - it's basically unmaintained.
168
1694.32 Mon Nov 3 22:46:32 CET 2008
170 - fix AnyEvent::Socket::resolve_sockaddr to properly support
171 unix sockets again and choose a proper default for
172 the socket type.
173 - fix call to resolve_sockaddr in tcp_connect.
174
1754.31 Thu Oct 30 04:41:48 CET 2008
176 - implemented AnyEvent::Handle->destroy method.
177 - hint about unexpected effects in TLS mode.
178 - speed up AnyEvent::Impl::Perl by using more arrays
179 instead of hashes without the slightest loss of readability :)
180 - work around a perl argument refcounting bug.
181 - with some perl patches applied, AnyEvent now seems leak-free.
182
1834.3 Fri Oct 3 09:18:43 CEST 2008
184 - AnyEvent will now install a no-op signal handler for SIGPIPE,
185 unless one has been installed already.
186 - warn about not loaidng AnyEvent::Impl::POE early enough
187 (patch by Adam Rosenstein).
188 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
189 - fix a bug in where in SSL connect mode, the
190 client would first wait for some data by the server and
191 otherwise hang. (reported and analyzed in an absolutely
192 exemplary manner by Adam Rosenstein).
193 - fix a bug in where SSL EOF would not be treated
194 as stream EOF, putting the connection into a hung state.
195 (reported and analyzed in an absolutely exemplary manner by Adam
196 Rosenstein).
197 - fix a potential segfault when the TLS context
198 would go missing in a read callback (e.g. due to stoptls) -
199 Net::SSLeay of course makes no type checking whatsoever.
200 - AnyEvent::Handle will not stop the read watcher in TLS mode.
201 - AnyEvent::Handle->stoptls will send a TLS close notify
202 instead of simply destroying the stream now.
203 - fix a bug where large blocks of data written in TLS mode
204 would not be sent unless triggered by receives.
205 - on_drain will now take the tls write buffer into account.
206 - SSL operations have been streamlined a bit and should be faster
207 now, more to come, though.
208 - added a FAQ section, will document nontrivial issues in there.
209
2104.234 Mon Sep 29 04:08:13 CEST 2008
211 - fix child watcher documentation: only child exits will be reported,
212 no trace events.
213 - mention SIGPIPE in AnyEvent::Handle.
214 - perl backend will now use POSIX::times as monotonic clock
215 when available and the monotonic clock option is not.
216 - run even without Time::HiRes in some cases now, but do not
217 provide sub-second accuracy (all *supported* perl versions have
218 Time::HiRes).
219
2204.233 Fri Aug 22 01:48:05 CEST 2008
221 - fix a bug in the testsuite, causing a hang.
222 - clarified lots of AnyEvent::Handle constructor arguments.
223
2244.232 Thu Aug 21 20:44:25 CEST 2008
225 - fix a bug in AnyEvent::Handle that could cause two fatal error
226 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
227 (testcase by Leon Brocard).
228 - clarified on_eof/on_error documentation a bit.
229
2304.231 Tue Jul 29 13:12:15 CEST 2008
231 - remove some debugging code left in AnyEvent::Util::fork_call
232 (and no, it's impossible to implement with the broken windows
233 perls without resource leaks or worse).
234
2354.23 Tue Jul 29 12:19:59 CEST 2008
236 - document the first parameter passed to condvar callbacks to be
237 the callback.
238 - add AnyEvent::Socket::{ntoa,aton} aliases.
239 - optimize the AE::Handle->push_read (line) for the default
240 eol marker.
241 - optimize push_read (packstring|storable) for small packets.
242 - invoke on_error callback when no on_eof callback is set.
243 - fix a bug in push_read (storable) of unknown impact.
244
2454.22 Sun Jul 20 16:34:13 CEST 2008
246 - new function AnyEvent::Socket::parse_hostport.
247 - as the bulkheads at microsoft can't even get getprotobyname reliably
248 working on their shitty fucking broken os we need to hardcode
249 some common protocol numbers in AnyEvent::Socket. How can
250 people even bother with such a pile of shit as windows.
251
2524.21 Thu Jul 17 14:40:05 CEST 2008
253 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
254 which is incompatible to previous invocation syntax.
255 - work around more windows perl bugs in fork_call. I cannot imagine
256 why anybody would bother implementing fork in such an obviously
257 unusable way.
258 - avoid calling $do_retry if the request has already finished in
259 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
260 K. Sharifulin).
261
2624.2 Sat Jul 12 22:42:11 CEST 2008
4 - support an "interval" argument for repeating timers. 263 - support an "interval" argument for repeating timers.
5 - not importing anything from Event causes it to malfunction
6 and not use Time::HiRes, work around this bug.
7 - fix a bug in the pure perl event loop that caused timers to 264 - fix a bug in the pure perl event loop that caused timers to
8 be delayed under some circumstances. 265 be delayed under some circumstances.
9 - implement optional argument checking via PERL_ANYEVENT_STRICT. 266 - implement optional argument checking via PERL_ANYEVENT_STRICT.
267 - not importing anything from Event causes it to malfunction
268 and not use Time::HiRes, work around this bug.
269 - more bug workarounds against the endlessly broken Tk module,
270 seems to work now on 32 bit machines, but less so on 64 bit.
10 - minor optimisations applied to most backends. 271 - minor optimisations applied to most backends.
11 272
124.161 Fri Jul 4 14:24:48 CEST 2008 2734.161 Fri Jul 4 14:24:48 CEST 2008
13 - fixed the t/handle/02_write.t, it read after write, with the 274 - fixed the t/handle/02_write.t, it read after write, with the
14 assumption that all data could be written before read 275 assumption that all data could be written before read
168 - support service names in tcp_connect and tcp_server. 429 - support service names in tcp_connect and tcp_server.
169 - work around netbsd/openbsd bug causing unix sockets not to 430 - work around netbsd/openbsd bug causing unix sockets not to
170 become writable until empty. 431 become writable until empty.
171 - only make a dummy read for error detection when getpeername 432 - only make a dummy read for error detection when getpeername
172 returns ENOTCONN. 433 returns ENOTCONN.
173 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 434 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
174 override. 435 override.
175 - new AnyEvent::Guard::cancel. 436 - new AnyEvent::Guard::cancel.
176 437
1773.5 Sat May 17 23:17:14 CEST 2008 4383.5 Sat May 17 23:17:14 CEST 2008
178 - gracefully deal with systems not defining CLOCK_MONOTONIC 439 - gracefully deal with systems not defining CLOCK_MONOTONIC
192 453
1933.41 Sun May 11 19:53:13 CEST 2008 4543.41 Sun May 11 19:53:13 CEST 2008
194 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 455 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
195 456
1963.4 Sun May 11 00:29:25 CEST 2008 4573.4 Sun May 11 00:29:25 CEST 2008
197 - complete re-implementation of condvars with a hopefully much mroe useful 458 - complete re-implementation of condvars with a hopefully much more useful
198 API (backward compatible functions exist but are undocumented). 459 API (backward compatible functions exist but are undocumented).
199 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 460 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
200 (still subject to change). 461 (still subject to change).
201 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 462 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
202 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 463 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines