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

Comparing AnyEvent/Changes (file contents):
Revision 1.140 by root, Fri May 30 21:38:46 2008 UTC vs.
Revision 1.283 by root, Thu Jul 16 20:55:38 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines