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

Comparing AnyEvent/Changes (file contents):
Revision 1.149 by elmex, Thu Jun 5 07:13:07 2008 UTC vs.
Revision 1.291 by root, Sat Jul 18 05:47:44 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines