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

Comparing AnyEvent/Changes (file contents):
Revision 1.139 by root, Fri May 30 09:40:41 2008 UTC vs.
Revision 1.246 by root, Wed Jun 24 10:03:42 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines