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

Comparing AnyEvent/Changes (file contents):
Revision 1.167 by root, Tue Jul 8 23:44:51 2008 UTC vs.
Revision 1.307 by root, Wed Jul 29 12:39:21 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines