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

Comparing AnyEvent/Changes (file contents):
Revision 1.165 by root, Tue Jul 8 19:33:40 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: document repeat or use interval. 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
4 - support an "interval" argument for repeating timers. 225 - support an "interval" argument for repeating timers.
5 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.
6 - not importing anything from Event causes it to malfunction 229 - not importing anything from Event causes it to malfunction
7 and not use Time::HiRes, work around this bug. 230 and not use Time::HiRes, work around this bug.
8 - fix a bug in the pure perl event loop that caused timers to 231 - more bug workarounds against the endlessly broken Tk module,
9 be delayed under some circumstances. 232 seems to work now on 32 bit machines, but less so on 64 bit.
10 - minor optimisations applied to most backends. 233 - minor optimisations applied to most backends.
11 234
124.161 Fri Jul 4 14:24:48 CEST 2008 2354.161 Fri Jul 4 14:24:48 CEST 2008
13 - fixed the t/handle/02_write.t, it read after write, with the 236 - fixed the t/handle/02_write.t, it read after write, with the
14 assumption that all data could be written before read 237 assumption that all data could be written before read
168 - support service names in tcp_connect and tcp_server. 391 - support service names in tcp_connect and tcp_server.
169 - work around netbsd/openbsd bug causing unix sockets not to 392 - work around netbsd/openbsd bug causing unix sockets not to
170 become writable until empty. 393 become writable until empty.
171 - only make a dummy read for error detection when getpeername 394 - only make a dummy read for error detection when getpeername
172 returns ENOTCONN. 395 returns ENOTCONN.
173 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 396 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
174 override. 397 override.
175 - new AnyEvent::Guard::cancel. 398 - new AnyEvent::Guard::cancel.
176 399
1773.5 Sat May 17 23:17:14 CEST 2008 4003.5 Sat May 17 23:17:14 CEST 2008
178 - gracefully deal with systems not defining CLOCK_MONOTONIC 401 - gracefully deal with systems not defining CLOCK_MONOTONIC
192 415
1933.41 Sun May 11 19:53:13 CEST 2008 4163.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. 417 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
195 418
1963.4 Sun May 11 00:29:25 CEST 2008 4193.4 Sun May 11 00:29:25 CEST 2008
197 - complete re-implementation of condvars with a hopefully much mroe useful 420 - complete re-implementation of condvars with a hopefully much more useful
198 API (backward compatible functions exist but are undocumented). 421 API (backward compatible functions exist but are undocumented).
199 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 422 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
200 (still subject to change). 423 (still subject to change).
201 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 424 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
202 - 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