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

Comparing AnyEvent/Changes (file contents):
Revision 1.154 by root, Fri Jun 6 10:49:20 2008 UTC vs.
Revision 1.296 by root, Wed Jul 22 23:07:13 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines