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

Comparing AnyEvent/Changes (file contents):
Revision 1.155 by root, Fri Jun 6 11:01:17 2008 UTC vs.
Revision 1.292 by root, Sat Jul 18 15:51:52 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines