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

Comparing AnyEvent/Changes (file contents):
Revision 1.143 by root, Mon Jun 2 11:03:40 2008 UTC vs.
Revision 1.254 by root, Mon Jun 29 20:55:58 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines