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

Comparing AnyEvent/Changes (file contents):
Revision 1.156 by root, Fri Jun 6 15:32:54 2008 UTC vs.
Revision 1.310 by root, Thu Jul 30 03:24:56 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines