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

Comparing AnyEvent/Changes (file contents):
Revision 1.162 by elmex, Fri Jul 4 12:19:00 2008 UTC vs.
Revision 1.287 by root, Fri Jul 17 22:05:12 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines