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

Comparing AnyEvent/Changes (file contents):
Revision 1.171 by root, Wed Jul 16 20:09:50 2008 UTC vs.
Revision 1.284 by root, Thu Jul 16 23:27:46 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines