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

Comparing AnyEvent/Changes (file contents):
Revision 1.151 by root, Thu Jun 5 16:53:11 2008 UTC vs.
Revision 1.313 by root, Fri Jul 31 07:34:00 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines