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

Comparing AnyEvent/Changes (file contents):
Revision 1.163 by root, Fri Jul 4 12:25:44 2008 UTC vs.
Revision 1.277 by root, Thu Jul 9 22:49:18 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines