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.305 by root, Tue Jul 28 12:56:17 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines