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

Comparing AnyEvent/Changes (file contents):
Revision 1.145 by root, Tue Jun 3 16:15:30 2008 UTC vs.
Revision 1.247 by root, Thu Jun 25 11:16:08 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: fix start_read documentation 3 - preliminary and neecssarily incomplete support for IO::Async.
4 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
5 case it was set to IGNORE, to ensure we can catch child statuses
6 even when the calling env acts stupidly.
7
84.412 Wed Jun 24 01:35:57 CEST 2009
9 - support an "untaint" attribute for AnyEvent::DNS
10 and set it on the default resolver.
11 - implement and document AnyEvent::Impl::Perl::loop.
12 - remove all anyevent-env variables from %ENV
13 when running in tainted mode.
14 - mention and extend the IO::Lambda benchmark.
15
164.411 Sun Jun 7 18:48:02 CEST 2009
17 - do not try to use F_SETFD on windows.
18
194.41 Thu May 14 06:40:11 CEST 2009
20 - work around issues in older perls (5.8.0?) when
21 a signal handler is deleted from the %SIG hash.
22 - use POSIX::_exit in child test, to avoid running
23 destructors.
24 - speed up CHLD handling by relying on SIGCHLD being
25 synchronously delivered, even when we roll our own
26 implementation.
27 - AnyEvent::DNS: add the "dname" resource record name
28 for cosmetic reasons.
29
304.4 Sun Apr 26 20:12:33 CEST 2009
31 - implemented idle watchers, where applicable.
32 - AnyEvent->time died when Event backend was in use.
33 - fix a memleak in the Tk backend.
34 - sped up Tk timer handling.
35 - clip negative "after" values to 0 in AnyEvent::Impl::Event
36 to avoid spamming out warning messages.
37 - fix Qt timers without interval.
38 - avoid Qt zero-timeout special case, in old libqt's.
39
404.352 Mon Apr 20 16:31:11 CEST 2009
41 - fix AnyEvent::Strict error messages for child watchers.
42 - fix/update Makefile.PL "recommends" versions.
43 - add AnyEvent->now_update.
44
454.351 Sat Apr 11 07:56:14 CEST 2009
46 - actually make the signal pipe work under win32.
47 - localise $! in signal handler to avoid changing $!, although
48 perl itself does not seem to save/restore errno either.
49 - set the cloexec flag on the signal pipe (normally set by perl too).
50
514.35 Fri Mar 27 11:48:20 CET 2009
52 - event models relying on AnyEvent's signal watcher emulation did
53 invoke the callback asynchronously, contradicting documentation
54 and causing signals to get lost (this includes AnyEvent's own
55 event loop). AnyEvent now uses the standard pipe trick to make
56 callback execution synchronous to the event loop.
57 - AnyEvent::Handle didn't free TLS context data on DESTROY
58 (patch by Pavel Shaydo).
59 - work around the ever-incompatibly-changing API of MakeMaker.
60 - document that changing global variables without restoring them
61 is a bad idea in Perl (noted by Adam Rosenstein).
62 - AnyEvent::Strict now barfs if ->io is passed a file.
63
644.34 Thu Feb 12 18:32:45 CET 2009
65 - separately buffer TLS read data, as otherwise the read queue could
66 deadlock as receiving data is not expected while draining the
67 read queue (which cna only happen with TLS).
68 - raise EBADMSG error on JSON decoding errors.
69 - fix some minor manpage bugs (reported by Maximilian Gaß).
70 - speed up select bitmask parsing quite a bit in the pure perl
71 backend.
72 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
73
744.331 Tue Jan 6 21:07:25 CET 2009
75 - socketpair fails on many vista machines because vista has
76 completely broken accept/getpeername and getsockname functions,
77 so we provide our own socketpair emulation that kind of works
78 (AnyEvent::Util::portable_pipe).
79 - new function: AnyEvent::Util::portable_socketpair.
80 - take advantage of the Guard module if it exists.
81
824.33 Fri Nov 21 02:35:40 CET 2008
83 - AnyEvent::Strict did errornously flag a fileno of 0 as
84 illegal.
85 - reduce memory usage and slightly speed up the pure perl backend
86 by only storing the file descriptor, not the file handle.
87 - add missing autocork method to AnyEvent::Handle (reported
88 by Adam Rosenstein).
89 - AnyEvent::DNS->resolve errornously documented an $rcode result
90 argument, but there isn't (spotted by Henrik Krohns).
91 - the naked truth about Tk - it's basically unmaintained.
92
934.32 Mon Nov 3 22:46:32 CET 2008
94 - fix AnyEvent::Socket::resolve_sockaddr to properly support
95 unix sockets again and choose a proper default for
96 the socket type.
97 - fix call to resolve_sockaddr in tcp_connect.
98
994.31 Thu Oct 30 04:41:48 CET 2008
100 - implemented AnyEvent::Handle->destroy method.
101 - hint about unexpected effects in TLS mode.
102 - speed up AnyEvent::Impl::Perl by using more arrays
103 instead of hashes without the slightest loss of readability :)
104 - work around a perl argument refcounting bug.
105 - with some perl patches applied, AnyEvent now seems leak-free.
106
1074.3 Fri Oct 3 09:18:43 CEST 2008
108 - AnyEvent will now install a no-op signal handler for SIGPIPE,
109 unless one has been installed already.
110 - warn about not loaidng AnyEvent::Impl::POE early enough
111 (patch by Adam Rosenstein).
112 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
113 - fix a bug in where in SSL connect mode, the
114 client would first wait for some data by the server and
115 otherwise hang. (reported and analyzed in an absolutely
116 exemplary manner by Adam Rosenstein).
117 - fix a bug in where SSL EOF would not be treated
118 as stream EOF, putting the connection into a hung state.
119 (reported and analyzed in an absolutely exemplary manner by Adam
120 Rosenstein).
121 - fix a potential segfault when the TLS context
122 would go missing in a read callback (e.g. due to stoptls) -
123 Net::SSLeay of course makes no type checking whatsoever.
124 - AnyEvent::Handle will not stop the read watcher in TLS mode.
125 - AnyEvent::Handle->stoptls will send a TLS close notify
126 instead of simply destroying the stream now.
127 - fix a bug where large blocks of data written in TLS mode
128 would not be sent unless triggered by receives.
129 - on_drain will now take the tls write buffer into account.
130 - SSL operations have been streamlined a bit and should be faster
131 now, more to come, though.
132 - added a FAQ section, will document nontrivial issues in there.
133
1344.234 Mon Sep 29 04:08:13 CEST 2008
135 - fix child watcher documentation: only child exits will be reported,
136 no trace events.
137 - mention SIGPIPE in AnyEvent::Handle.
138 - perl backend will now use POSIX::times as monotonic clock
139 when available and the monotonic clock option is not.
140 - run even without Time::HiRes in some cases now, but do not
141 provide sub-second accuracy (all *supported* perl versions have
142 Time::HiRes).
143
1444.233 Fri Aug 22 01:48:05 CEST 2008
145 - fix a bug in the testsuite, causing a hang.
146 - clarified lots of AnyEvent::Handle constructor arguments.
147
1484.232 Thu Aug 21 20:44:25 CEST 2008
149 - fix a bug in AnyEvent::Handle that could cause two fatal error
150 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
151 (testcase by Leon Brocard).
152 - clarified on_eof/on_error documentation a bit.
153
1544.231 Tue Jul 29 13:12:15 CEST 2008
155 - remove some debugging code left in AnyEvent::Util::fork_call
156 (and no, it's impossible to implement with the broken windows
157 perls without resource leaks or worse).
158
1594.23 Tue Jul 29 12:19:59 CEST 2008
160 - document the first parameter passed to condvar callbacks to be
161 the callback.
162 - add AnyEvent::Socket::{ntoa,aton} aliases.
163 - optimize the AE::Handle->push_read (line) for the default
164 eol marker.
165 - optimize push_read (packstring|storable) for small packets.
166 - invoke on_error callback when no on_eof callback is set.
167 - fix a bug in push_read (storable) of unknown impact.
168
1694.22 Sun Jul 20 16:34:13 CEST 2008
170 - new function AnyEvent::Socket::parse_hostport.
171 - as the bulkheads at microsoft can't even get getprotobyname reliably
172 working on their shitty fucking broken os we need to hardcode
173 some common protocol numbers in AnyEvent::Socket. How can
174 people even bother with such a pile of shit as windows.
175
1764.21 Thu Jul 17 14:40:05 CEST 2008
177 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
178 which is incompatible to previous invocation syntax.
179 - work around more windows perl bugs in fork_call. I cannot imagine
180 why anybody would bother implementing fork in such an obviously
181 unusable way.
182 - avoid calling $do_retry if the request has already finished in
183 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
184 K. Sharifulin).
185
1864.2 Sat Jul 12 22:42:11 CEST 2008
187 - support an "interval" argument for repeating timers.
188 - fix a bug in the pure perl event loop that caused timers to
189 be delayed under some circumstances.
190 - implement optional argument checking via PERL_ANYEVENT_STRICT.
191 - not importing anything from Event causes it to malfunction
192 and not use Time::HiRes, work around this bug.
193 - more bug workarounds against the endlessly broken Tk module,
194 seems to work now on 32 bit machines, but less so on 64 bit.
195 - minor optimisations applied to most backends.
196
1974.161 Fri Jul 4 14:24:48 CEST 2008
198 - fixed the t/handle/02_write.t, it read after write, with the
199 assumption that all data could be written before read
200 (reported by Jim Razmus).
201
2024.160 Thu Jul 3 04:02:21 CEST 2008
203 - re-registering signal watchers after unregistering one did
204 not work if a backend falls back on AnyEvent's default
205 implementation (also affected child watchers).
206 - new AnyEvent::Handle options: autocork and no_delay.
207
2084.152 Sun Jun 22 14:15:44 CEST 2008
209 - allow for 32-bit perls that implement shifts differently
210 on different architectures in parse_ipv4 (reported and
211 analysed by Keiichi DAIBA).
212
2134.151 Fri Jun 6 17:34:24 CEST 2008
214 - make sure specifying _only_ on_read and never pushing reads
215 works.
216
2174.15 Fri Jun 6 13:00:46 CEST 2008
218 - the pure perl backend would keep some watchers alive when more than
219 one watcher was registered for the same fd.
220 - new "packstring" and "storable" read and write types
221 for AnyEvent::Handle.
222 - allow on_eof handler to be called after on_error with EPIPE returns.
223 - do not immediately call on_read callback in handle constructor.
224
2254.14 Thu Jun 5 20:29:31 CEST 2008
226 - Fixed a bug in DNS SRV priority sorting.
227 - AnyEvent::Util::guard now reports runtime errors while
228 executing the guard block as warnings.
229 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
230
2314.13 Thu Jun 5 00:47:59 CEST 2008
232 - AnyEvent::DNS only followed cname chains with length 2,
233 contrary to documentation. bumped it up to 10, thanks to
234 microsoft, the current broken-dns-config-king.
235 - AnyEvent::DNS didn't check for socket return status
236 but instead relied on perl not creating filehandles in that
237 case - too bad it gives you a bogus file handle (reported
238 and analysed by Vladimir Timofeev).
4 - fix queue management logic in AnyEvent::Handle: 239 - fix queue management logic in AnyEvent::Handle:
5 when on_read was registered, the queue was empty 240 when on_read was registered, the queue was empty
6 and no progress could be made AnyEvent::Handle would 241 and no progress could be made AnyEvent::Handle would
7 enter an endless loop. 242 enter an endless loop.
8 - correctly start reading again when the handle became 243 - correctly start reading again when the handle became
9 busy again after idling. 244 busy again after idling.
245 - correctly treat tls shut-downs as EOF condition
246 (for the time being, would be nice to have a callback for that).
10 - correctly call eof callback under all conditions 247 - correctly call eof callback under all conditions
11 (hopefully). 248 (hopefully).
249 - the timeout callback did not expect that $self can go
250 away any time.
12 251
134.12 Tue Jun 3 10:58:04 CEST 2008 2524.12 Tue Jun 3 10:58:04 CEST 2008
14 - include AnyEvent::Intro, a tutorial for anyevent, 253 - include AnyEvent::Intro, a tutorial for anyevent,
15 anyevent::socket and anyevent::handle. 254 anyevent::socket and anyevent::handle.
16 - allow more options in on_error. 255 - allow more options in on_error.
114 - support service names in tcp_connect and tcp_server. 353 - support service names in tcp_connect and tcp_server.
115 - work around netbsd/openbsd bug causing unix sockets not to 354 - work around netbsd/openbsd bug causing unix sockets not to
116 become writable until empty. 355 become writable until empty.
117 - only make a dummy read for error detection when getpeername 356 - only make a dummy read for error detection when getpeername
118 returns ENOTCONN. 357 returns ENOTCONN.
119 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 358 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
120 override. 359 override.
121 - new AnyEvent::Guard::cancel. 360 - new AnyEvent::Guard::cancel.
122 361
1233.5 Sat May 17 23:17:14 CEST 2008 3623.5 Sat May 17 23:17:14 CEST 2008
124 - gracefully deal with systems not defining CLOCK_MONOTONIC 363 - gracefully deal with systems not defining CLOCK_MONOTONIC
138 377
1393.41 Sun May 11 19:53:13 CEST 2008 3783.41 Sun May 11 19:53:13 CEST 2008
140 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 379 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
141 380
1423.4 Sun May 11 00:29:25 CEST 2008 3813.4 Sun May 11 00:29:25 CEST 2008
143 - complete re-implementation of condvars with a hopefully much mroe useful 382 - complete re-implementation of condvars with a hopefully much more useful
144 API (backward compatible functions exist but are undocumented). 383 API (backward compatible functions exist but are undocumented).
145 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 384 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
146 (still subject to change). 385 (still subject to change).
147 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 386 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
148 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 387 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines