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

Comparing AnyEvent/Changes (file contents):
Revision 1.135 by root, Thu May 29 23:15:38 2008 UTC vs.
Revision 1.306 by root, Tue Jul 28 13:08:17 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: release a:i 1.0
4 - normalise signal numbers to names when using the ae's
5 signal handling, but do not document this (yet).
6
74.881 Tue Jul 28 12:51:53 CEST 2009
8 - work around a bug in local in pre-5.10 perls, causing
9 AnyEvent::Handle to recurse when it should not
10 (analyzed by elmex).
11
124.88 Tue Jul 28 04:04:37 CEST 2009
13 - re-bless the handle into a dummy package after calling
14 AnyEvent::Handle::destroy, so the user does not need to check
15 for errors after every push_write etc.
16 - do not attempt to run t/02_signals.t on obviously broken
17 platforms.
18
194.87 Sun Jul 26 02:06:16 CEST 2009
20 - do not attempt to linger when there is no longer a valid fh.
21 - enforce tls mode to be either accept or connect, do not simply
22 segfault in Net::SSLeay.
23 - AnyEvent::Handle can now call tcp_connect itself (new parameters
24 connect, on_prepare, on_connect and on_connect_error). Updated
25 tutorial accordingly.
26 - add AnyEvent::Impl::Irssi backend.
27
284.86 Mon Jul 20 23:52:29 CEST 2009
29 - since the verbose warning is not enough, explicitly document
30 that versions before 1.33 of Net::SSLeay are not secure.
31 - work around signal handling races in Event and (...) Event::Lib.
32 - try to align signal-race timer to full-second boundaries.
33 - work around Tk not liking negative timeouts.
34 - don't complain of different grades of environmental unfriendlyness
35 in IO::Async.
36
374.85 Sat Jul 18 06:16:14 CEST 2009
38 - nail the signal race problem in perl once and for all
39 (see $AnyEvent::MAX_SIGNAL_LATENCY).
40 - take advantage of Async::Interrupt if it is available.
41 - load Time::HiRes and Guard modules on demand only.
42 - add optional/recommended modules section to AnyEvent
43 documentation.
44 - reduce memory usage considerably (and reduce startup penalty)
45 by not using "strict", "warnings" and "overload" modules.
46 - work around buggy windows/openbsd perls and provide EBADMSG
47 and EPROTO ourselves when missing.
48 - improve perl 5.6 compatibility of the core event loop.
49 - made Net::SSLeay version 1.33 a soft requirement.
50
514.83 Fri Jul 17 16:56:26 CEST 2009
52 - implement AnyEvent::Socket::getprotobyname.
53 - AnyEvent::CondVar's will now detect recursive blocking
54 waits and will croak, as too many people fall into
55 this trap.
56 - AnyEvent::Handle will now call ->destroy on itself after
57 executing the on_error callback, instead of doing some
58 half-baked internal shutdown, for fatal errors.
59 - clarify on_eof behaviour w.r.t. the read queue and
60 on_read callbacks.
61 - ignore some possible spurious wake-ups in tcp_connect.
62
634.82 Sat Jul 11 00:34:55 CEST 2009
64 - POE and Event backends didn't accept some callable objects as
65 callbacks.
66 - use Config module instead of POSIX module to detect signal names
67 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
68 module doesn't even have all POSIX signals :/.
69 - use more workarounds around the many refcnt/corruption bugs in
70 Event::Lib.
71 - work around a race condition in perl's select, causing t/03_child.t
72 to rarely fail.
73
744.81 Thu Jul 9 10:30:30 CEST 2009
75 - AnyEvent::Handle didn't properly diagnose write errors
76 (it expected -1 from syswrite, how lame... :).
77 - support file descriptors in addition to file handles
78 in AnyEvent->io.
79 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
80 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
81 and PERL_ANYEVENT_CA_PATH.
82 - provide a sensible synopsis section for AnyEvent::TLS.
83 - add a "supported backends" section to the manpage.
84 - added simple io watcher test to testsuite, using a
85 portable_socketpair.
86 - tried to improve the stability of the Event::Lib backend,
87 YMMV.
88
894.8 Mon Jul 6 23:45:16 CEST 2009
90 - AnyEvent::DNS did not properly follow CNAME records with
91 uppercase targets.
92 - AnyEvent::DNS would errornously return AAAA records
93 with v4 mapped addresses (a faulty record) as ipv4 addresses,
94 causing AnyEvent::Socket to throw an exception.
95 - added new module AnyEvent::TLS for easier SSL/TLS context
96 creation, with many options including hostname verification,
97 secure default configuration, lots of documentation and,
98 predefined diffie-hellman keys for perfect forward security
99 and much more. get it while it's still fresh!
100 - use AnyEvent::TLS in AnyEvent::Handle for context management.
101 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
102 so AnyEvent::Socket users have smaller memory footprint
103 in the common case.
104 - add AnyEvent::Handle->push_shutdown method.
105 - add an additional error message parameter to AnyEvent::Handle's
106 on_error callback (for TLS, $! is still available).
107 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
108 - make AnyEvent::Handle more robust against early conenction
109 failures (during new), and return C<undef> in that case
110 from the constructor.
111 - AnyEvent::Handle will now try to load only JSON::XS first,
112 then fall back to JSON.
113 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
114 and because it was documented that way.
115
1164.451 Fri Jul 3 00:28:58 CEST 2009
117 - do not clear rbuf when shutting down an AnyEvent::Handle
118 object - doing so breaks AnyEvent::HTTP.
119
1204.45 Mon Jun 29 22:59:26 CEST 2009
121 - a write error could cause AnyEvent::Handle to create
122 an I/O watcher with an undefined $fh.
123 - special-case mapped ipv4 addresses in both
124 AnyEvent::Socket::format_address and parse_address,
125 to treat them just like ipv4 addresses.
126 - updated and overhauled the AnyEvent::Intro doc.
127 - implement AnyEvent::Socket::format_ipv4/ipv6.
128 - slightly speed up portable_pipe/socketpair.
129 - expand condvar begin/end documentation.
130
1314.42 Fri Jun 26 08:32:18 CEST 2009
132 - preliminary and neccesarily incomplete support for IO::Async.
133 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
134 case it was set to IGNORE, to ensure we can catch child statuses
135 even when the calling env acts stupidly.
136 - updated benchmarks with IO::Async, which performs very well.
137
1384.412 Wed Jun 24 01:35:57 CEST 2009
139 - support an "untaint" attribute for AnyEvent::DNS
140 and set it on the default resolver.
141 - implement and document AnyEvent::Impl::Perl::loop.
142 - remove all anyevent-env variables from %ENV
143 when running in tainted mode.
144 - mention and extend the IO::Lambda benchmark.
145
1464.411 Sun Jun 7 18:48:02 CEST 2009
147 - do not try to use F_SETFD on windows.
148
1494.41 Thu May 14 06:40:11 CEST 2009
150 - work around issues in older perls (5.8.0?) when
151 a signal handler is deleted from the %SIG hash.
152 - use POSIX::_exit in child test, to avoid running
153 destructors.
154 - speed up CHLD handling by relying on SIGCHLD being
155 synchronously delivered, even when we roll our own
156 implementation.
157 - AnyEvent::DNS: add the "dname" resource record name
158 for cosmetic reasons.
159
1604.4 Sun Apr 26 20:12:33 CEST 2009
161 - implemented idle watchers, where applicable.
162 - AnyEvent->time died when Event backend was in use.
163 - fix a memleak in the Tk backend.
164 - sped up Tk timer handling.
165 - clip negative "after" values to 0 in AnyEvent::Impl::Event
166 to avoid spamming out warning messages.
167 - fix Qt timers without interval.
168 - avoid Qt zero-timeout special case, in old libqt's.
169
1704.352 Mon Apr 20 16:31:11 CEST 2009
171 - fix AnyEvent::Strict error messages for child watchers.
172 - fix/update Makefile.PL "recommends" versions.
173 - add AnyEvent->now_update.
174
1754.351 Sat Apr 11 07:56:14 CEST 2009
176 - actually make the signal pipe work under win32.
177 - localise $! in signal handler to avoid changing $!, although
178 perl itself does not seem to save/restore errno either.
179 - set the cloexec flag on the signal pipe (normally set by perl too).
180
1814.35 Fri Mar 27 11:48:20 CET 2009
182 - event models relying on AnyEvent's signal watcher emulation did
183 invoke the callback asynchronously, contradicting documentation
184 and causing signals to get lost (this includes AnyEvent's own
185 event loop). AnyEvent now uses the standard pipe trick to make
186 callback execution synchronous to the event loop.
187 - AnyEvent::Handle didn't free TLS context data on DESTROY
188 (patch by Pavel Shaydo).
189 - work around the ever-incompatibly-changing API of MakeMaker.
190 - document that changing global variables without restoring them
191 is a bad idea in Perl (noted by Adam Rosenstein).
192 - AnyEvent::Strict now barfs if ->io is passed a file.
193
1944.34 Thu Feb 12 18:32:45 CET 2009
195 - separately buffer TLS read data, as otherwise the read queue could
196 deadlock as receiving data is not expected while draining the
197 read queue (which cna only happen with TLS).
198 - raise EBADMSG error on JSON decoding errors.
199 - fix some minor manpage bugs (reported by Maximilian Gaß).
200 - speed up select bitmask parsing quite a bit in the pure perl
201 backend.
202 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
203
2044.331 Tue Jan 6 21:07:25 CET 2009
205 - socketpair fails on many vista machines because vista has
206 completely broken accept/getpeername and getsockname functions,
207 so we provide our own socketpair emulation that kind of works
208 (AnyEvent::Util::portable_pipe).
209 - new function: AnyEvent::Util::portable_socketpair.
210 - take advantage of the Guard module if it exists.
211
2124.33 Fri Nov 21 02:35:40 CET 2008
213 - AnyEvent::Strict did errornously flag a fileno of 0 as
214 illegal.
215 - reduce memory usage and slightly speed up the pure perl backend
216 by only storing the file descriptor, not the file handle.
217 - add missing autocork method to AnyEvent::Handle (reported
218 by Adam Rosenstein).
219 - AnyEvent::DNS->resolve errornously documented an $rcode result
220 argument, but there isn't (spotted by Henrik Krohns).
221 - the naked truth about Tk - it's basically unmaintained.
222
2234.32 Mon Nov 3 22:46:32 CET 2008
224 - fix AnyEvent::Socket::resolve_sockaddr to properly support
225 unix sockets again and choose a proper default for
226 the socket type.
227 - fix call to resolve_sockaddr in tcp_connect.
228
2294.31 Thu Oct 30 04:41:48 CET 2008
230 - implemented AnyEvent::Handle->destroy method.
231 - hint about unexpected effects in TLS mode.
232 - speed up AnyEvent::Impl::Perl by using more arrays
233 instead of hashes without the slightest loss of readability :)
234 - work around a perl argument refcounting bug.
235 - with some perl patches applied, AnyEvent now seems leak-free.
236
2374.3 Fri Oct 3 09:18:43 CEST 2008
238 - AnyEvent will now install a no-op signal handler for SIGPIPE,
239 unless one has been installed already.
240 - warn about not loaidng AnyEvent::Impl::POE early enough
241 (patch by Adam Rosenstein).
242 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
243 - fix a bug in where in SSL connect mode, the
244 client would first wait for some data by the server and
245 otherwise hang. (reported and analyzed in an absolutely
246 exemplary manner by Adam Rosenstein).
247 - fix a bug in where SSL EOF would not be treated
248 as stream EOF, putting the connection into a hung state.
249 (reported and analyzed in an absolutely exemplary manner by Adam
250 Rosenstein).
251 - fix a potential segfault when the TLS context
252 would go missing in a read callback (e.g. due to stoptls) -
253 Net::SSLeay of course makes no type checking whatsoever.
254 - AnyEvent::Handle will not stop the read watcher in TLS mode.
255 - AnyEvent::Handle->stoptls will send a TLS close notify
256 instead of simply destroying the stream now.
257 - fix a bug where large blocks of data written in TLS mode
258 would not be sent unless triggered by receives.
259 - on_drain will now take the tls write buffer into account.
260 - SSL operations have been streamlined a bit and should be faster
261 now, more to come, though.
262 - added a FAQ section, will document nontrivial issues in there.
263
2644.234 Mon Sep 29 04:08:13 CEST 2008
265 - fix child watcher documentation: only child exits will be reported,
266 no trace events.
267 - mention SIGPIPE in AnyEvent::Handle.
268 - perl backend will now use POSIX::times as monotonic clock
269 when available and the monotonic clock option is not.
270 - run even without Time::HiRes in some cases now, but do not
271 provide sub-second accuracy (all *supported* perl versions have
272 Time::HiRes).
273
2744.233 Fri Aug 22 01:48:05 CEST 2008
275 - fix a bug in the testsuite, causing a hang.
276 - clarified lots of AnyEvent::Handle constructor arguments.
277
2784.232 Thu Aug 21 20:44:25 CEST 2008
279 - fix a bug in AnyEvent::Handle that could cause two fatal error
280 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
281 (testcase by Leon Brocard).
282 - clarified on_eof/on_error documentation a bit.
283
2844.231 Tue Jul 29 13:12:15 CEST 2008
285 - remove some debugging code left in AnyEvent::Util::fork_call
286 (and no, it's impossible to implement with the broken windows
287 perls without resource leaks or worse).
288
2894.23 Tue Jul 29 12:19:59 CEST 2008
290 - document the first parameter passed to condvar callbacks to be
291 the callback.
292 - add AnyEvent::Socket::{ntoa,aton} aliases.
293 - optimize the AE::Handle->push_read (line) for the default
294 eol marker.
295 - optimize push_read (packstring|storable) for small packets.
296 - invoke on_error callback when no on_eof callback is set.
297 - fix a bug in push_read (storable) of unknown impact.
298
2994.22 Sun Jul 20 16:34:13 CEST 2008
300 - new function AnyEvent::Socket::parse_hostport.
301 - as the bulkheads at microsoft can't even get getprotobyname reliably
302 working on their shitty fucking broken os we need to hardcode
303 some common protocol numbers in AnyEvent::Socket. How can
304 people even bother with such a pile of shit as windows.
305
3064.21 Thu Jul 17 14:40:05 CEST 2008
307 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
308 which is incompatible to previous invocation syntax.
309 - work around more windows perl bugs in fork_call. I cannot imagine
310 why anybody would bother implementing fork in such an obviously
311 unusable way.
312 - avoid calling $do_retry if the request has already finished in
313 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
314 K. Sharifulin).
315
3164.2 Sat Jul 12 22:42:11 CEST 2008
317 - support an "interval" argument for repeating timers.
318 - fix a bug in the pure perl event loop that caused timers to
319 be delayed under some circumstances.
320 - implement optional argument checking via PERL_ANYEVENT_STRICT.
321 - not importing anything from Event causes it to malfunction
322 and not use Time::HiRes, work around this bug.
323 - more bug workarounds against the endlessly broken Tk module,
324 seems to work now on 32 bit machines, but less so on 64 bit.
325 - minor optimisations applied to most backends.
326
3274.161 Fri Jul 4 14:24:48 CEST 2008
328 - fixed the t/handle/02_write.t, it read after write, with the
329 assumption that all data could be written before read
330 (reported by Jim Razmus).
331
3324.160 Thu Jul 3 04:02:21 CEST 2008
333 - re-registering signal watchers after unregistering one did
334 not work if a backend falls back on AnyEvent's default
335 implementation (also affected child watchers).
336 - new AnyEvent::Handle options: autocork and no_delay.
337
3384.152 Sun Jun 22 14:15:44 CEST 2008
339 - allow for 32-bit perls that implement shifts differently
340 on different architectures in parse_ipv4 (reported and
341 analysed by Keiichi DAIBA).
342
3434.151 Fri Jun 6 17:34:24 CEST 2008
344 - make sure specifying _only_ on_read and never pushing reads
345 works.
346
3474.15 Fri Jun 6 13:00:46 CEST 2008
348 - the pure perl backend would keep some watchers alive when more than
349 one watcher was registered for the same fd.
350 - new "packstring" and "storable" read and write types
351 for AnyEvent::Handle.
352 - allow on_eof handler to be called after on_error with EPIPE returns.
353 - do not immediately call on_read callback in handle constructor.
354
3554.14 Thu Jun 5 20:29:31 CEST 2008
356 - Fixed a bug in DNS SRV priority sorting.
357 - AnyEvent::Util::guard now reports runtime errors while
358 executing the guard block as warnings.
359 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
360
3614.13 Thu Jun 5 00:47:59 CEST 2008
362 - AnyEvent::DNS only followed cname chains with length 2,
363 contrary to documentation. bumped it up to 10, thanks to
364 microsoft, the current broken-dns-config-king.
365 - AnyEvent::DNS didn't check for socket return status
366 but instead relied on perl not creating filehandles in that
367 case - too bad it gives you a bogus file handle (reported
368 and analysed by Vladimir Timofeev).
369 - fix queue management logic in AnyEvent::Handle:
370 when on_read was registered, the queue was empty
371 and no progress could be made AnyEvent::Handle would
372 enter an endless loop.
373 - correctly start reading again when the handle became
374 busy again after idling.
375 - correctly treat tls shut-downs as EOF condition
376 (for the time being, would be nice to have a callback for that).
377 - correctly call eof callback under all conditions
378 (hopefully).
379 - the timeout callback did not expect that $self can go
380 away any time.
381
3824.12 Tue Jun 3 10:58:04 CEST 2008
383 - include AnyEvent::Intro, a tutorial for anyevent,
384 anyevent::socket and anyevent::handle.
385 - allow more options in on_error.
386
3874.11 Fri May 30 23:42:25 CEST 2008
3 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide 388 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
4 reverse_lookup and reverse_verify to replace it, support 389 reverse_lookup and reverse_verify to replace it, support
5 v4mapped and v4compat addresses. 390 v4mapped and v4compat addresses.
6 - provide more documentation for the resolver class. 391 - provide more documentation for the resolver class.
7 - really replace longest run of :0: by :: in format_address, 392 - really replace longest run of :0: by :: in format_address,
8 also properly convert :: and ::1 again. 393 also properly convert :: and ::1 again.
9 - support NAPTR record name and decode it. 394 - support NAPTR record name and decode it.
10 - implement random weight sampling for SRV records, as per 395 - implement random weight sampling for SRV records, as per
11 rfc 2782. 396 rfc 2782.
397 - correctly abort on srv-record targets of ".".
398 - added AnyEvent::DNS::wait_for_slot.
399 - in the unlikely event of a virtual circuit connection
400 being invalidated by a delayed udp reply, AnyEvent::DNS
401 could die. this has been fixed.
402 - plug a probable memleak in the DNS vc code.
403 - use configured timeout also for VC request phase.
404 - implement timeout and max_outstanding methods
405 for resolver class.
406 - update version numbers in all modules.
12 407
134.1 Thu May 29 05:45:40 CEST 2008 4084.1 Thu May 29 05:45:40 CEST 2008
14 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address 409 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
15 which mirrors their purpose better (old names still available 410 which mirrors their purpose better (old names still available
16 for a while). Also moved AnyEvent::DNS::addr to 411 for a while). Also moved AnyEvent::DNS::addr to
88 - support service names in tcp_connect and tcp_server. 483 - support service names in tcp_connect and tcp_server.
89 - work around netbsd/openbsd bug causing unix sockets not to 484 - work around netbsd/openbsd bug causing unix sockets not to
90 become writable until empty. 485 become writable until empty.
91 - only make a dummy read for error detection when getpeername 486 - only make a dummy read for error detection when getpeername
92 returns ENOTCONN. 487 returns ENOTCONN.
93 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 488 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
94 override. 489 override.
95 - new AnyEvent::Guard::cancel. 490 - new AnyEvent::Guard::cancel.
96 491
973.5 Sat May 17 23:17:14 CEST 2008 4923.5 Sat May 17 23:17:14 CEST 2008
98 - gracefully deal with systems not defining CLOCK_MONOTONIC 493 - gracefully deal with systems not defining CLOCK_MONOTONIC
112 507
1133.41 Sun May 11 19:53:13 CEST 2008 5083.41 Sun May 11 19:53:13 CEST 2008
114 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 509 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
115 510
1163.4 Sun May 11 00:29:25 CEST 2008 5113.4 Sun May 11 00:29:25 CEST 2008
117 - complete re-implementation of condvars with a hopefully much mroe useful 512 - complete re-implementation of condvars with a hopefully much more useful
118 API (backward compatible functions exist but are undocumented). 513 API (backward compatible functions exist but are undocumented).
119 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 514 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
120 (still subject to change). 515 (still subject to change).
121 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 516 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
122 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 517 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines