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

Comparing AnyEvent/Changes (file contents):
Revision 1.121 by root, Tue May 27 04:59:51 2008 UTC vs.
Revision 1.252 by root, Mon Jun 29 11:04:09 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3 - add some recommends to the META.yml. 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 - implement AnyEvent::Socket::format_ipv4/ipv6.
7 - slightly speed up portable_pipe/socketpair.
8 - expand condvar ebgin/end documentation.
9
104.42 Fri Jun 26 08:32:18 CEST 2009
11 - preliminary and neccesarily incomplete support for IO::Async.
12 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
13 case it was set to IGNORE, to ensure we can catch child statuses
14 even when the calling env acts stupidly.
15 - updated benchmarks with IO::Async, which performs very well.
16
174.412 Wed Jun 24 01:35:57 CEST 2009
18 - support an "untaint" attribute for AnyEvent::DNS
19 and set it on the default resolver.
20 - implement and document AnyEvent::Impl::Perl::loop.
21 - remove all anyevent-env variables from %ENV
22 when running in tainted mode.
23 - mention and extend the IO::Lambda benchmark.
24
254.411 Sun Jun 7 18:48:02 CEST 2009
26 - do not try to use F_SETFD on windows.
27
284.41 Thu May 14 06:40:11 CEST 2009
29 - work around issues in older perls (5.8.0?) when
30 a signal handler is deleted from the %SIG hash.
31 - use POSIX::_exit in child test, to avoid running
32 destructors.
33 - speed up CHLD handling by relying on SIGCHLD being
34 synchronously delivered, even when we roll our own
35 implementation.
36 - AnyEvent::DNS: add the "dname" resource record name
37 for cosmetic reasons.
38
394.4 Sun Apr 26 20:12:33 CEST 2009
40 - implemented idle watchers, where applicable.
41 - AnyEvent->time died when Event backend was in use.
42 - fix a memleak in the Tk backend.
43 - sped up Tk timer handling.
44 - clip negative "after" values to 0 in AnyEvent::Impl::Event
45 to avoid spamming out warning messages.
46 - fix Qt timers without interval.
47 - avoid Qt zero-timeout special case, in old libqt's.
48
494.352 Mon Apr 20 16:31:11 CEST 2009
50 - fix AnyEvent::Strict error messages for child watchers.
51 - fix/update Makefile.PL "recommends" versions.
52 - add AnyEvent->now_update.
53
544.351 Sat Apr 11 07:56:14 CEST 2009
55 - actually make the signal pipe work under win32.
56 - localise $! in signal handler to avoid changing $!, although
57 perl itself does not seem to save/restore errno either.
58 - set the cloexec flag on the signal pipe (normally set by perl too).
59
604.35 Fri Mar 27 11:48:20 CET 2009
61 - event models relying on AnyEvent's signal watcher emulation did
62 invoke the callback asynchronously, contradicting documentation
63 and causing signals to get lost (this includes AnyEvent's own
64 event loop). AnyEvent now uses the standard pipe trick to make
65 callback execution synchronous to the event loop.
66 - AnyEvent::Handle didn't free TLS context data on DESTROY
67 (patch by Pavel Shaydo).
68 - work around the ever-incompatibly-changing API of MakeMaker.
69 - document that changing global variables without restoring them
70 is a bad idea in Perl (noted by Adam Rosenstein).
71 - AnyEvent::Strict now barfs if ->io is passed a file.
72
734.34 Thu Feb 12 18:32:45 CET 2009
74 - separately buffer TLS read data, as otherwise the read queue could
75 deadlock as receiving data is not expected while draining the
76 read queue (which cna only happen with TLS).
77 - raise EBADMSG error on JSON decoding errors.
78 - fix some minor manpage bugs (reported by Maximilian Gaß).
79 - speed up select bitmask parsing quite a bit in the pure perl
80 backend.
81 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
82
834.331 Tue Jan 6 21:07:25 CET 2009
84 - socketpair fails on many vista machines because vista has
85 completely broken accept/getpeername and getsockname functions,
86 so we provide our own socketpair emulation that kind of works
87 (AnyEvent::Util::portable_pipe).
88 - new function: AnyEvent::Util::portable_socketpair.
89 - take advantage of the Guard module if it exists.
90
914.33 Fri Nov 21 02:35:40 CET 2008
92 - AnyEvent::Strict did errornously flag a fileno of 0 as
93 illegal.
94 - reduce memory usage and slightly speed up the pure perl backend
95 by only storing the file descriptor, not the file handle.
96 - add missing autocork method to AnyEvent::Handle (reported
97 by Adam Rosenstein).
98 - AnyEvent::DNS->resolve errornously documented an $rcode result
99 argument, but there isn't (spotted by Henrik Krohns).
100 - the naked truth about Tk - it's basically unmaintained.
101
1024.32 Mon Nov 3 22:46:32 CET 2008
103 - fix AnyEvent::Socket::resolve_sockaddr to properly support
104 unix sockets again and choose a proper default for
105 the socket type.
106 - fix call to resolve_sockaddr in tcp_connect.
107
1084.31 Thu Oct 30 04:41:48 CET 2008
109 - implemented AnyEvent::Handle->destroy method.
110 - hint about unexpected effects in TLS mode.
111 - speed up AnyEvent::Impl::Perl by using more arrays
112 instead of hashes without the slightest loss of readability :)
113 - work around a perl argument refcounting bug.
114 - with some perl patches applied, AnyEvent now seems leak-free.
115
1164.3 Fri Oct 3 09:18:43 CEST 2008
117 - AnyEvent will now install a no-op signal handler for SIGPIPE,
118 unless one has been installed already.
119 - warn about not loaidng AnyEvent::Impl::POE early enough
120 (patch by Adam Rosenstein).
121 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
122 - fix a bug in where in SSL connect mode, the
123 client would first wait for some data by the server and
124 otherwise hang. (reported and analyzed in an absolutely
125 exemplary manner by Adam Rosenstein).
126 - fix a bug in where SSL EOF would not be treated
127 as stream EOF, putting the connection into a hung state.
128 (reported and analyzed in an absolutely exemplary manner by Adam
129 Rosenstein).
130 - fix a potential segfault when the TLS context
131 would go missing in a read callback (e.g. due to stoptls) -
132 Net::SSLeay of course makes no type checking whatsoever.
133 - AnyEvent::Handle will not stop the read watcher in TLS mode.
134 - AnyEvent::Handle->stoptls will send a TLS close notify
135 instead of simply destroying the stream now.
136 - fix a bug where large blocks of data written in TLS mode
137 would not be sent unless triggered by receives.
138 - on_drain will now take the tls write buffer into account.
139 - SSL operations have been streamlined a bit and should be faster
140 now, more to come, though.
141 - added a FAQ section, will document nontrivial issues in there.
142
1434.234 Mon Sep 29 04:08:13 CEST 2008
144 - fix child watcher documentation: only child exits will be reported,
145 no trace events.
146 - mention SIGPIPE in AnyEvent::Handle.
147 - perl backend will now use POSIX::times as monotonic clock
148 when available and the monotonic clock option is not.
149 - run even without Time::HiRes in some cases now, but do not
150 provide sub-second accuracy (all *supported* perl versions have
151 Time::HiRes).
152
1534.233 Fri Aug 22 01:48:05 CEST 2008
154 - fix a bug in the testsuite, causing a hang.
155 - clarified lots of AnyEvent::Handle constructor arguments.
156
1574.232 Thu Aug 21 20:44:25 CEST 2008
158 - fix a bug in AnyEvent::Handle that could cause two fatal error
159 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
160 (testcase by Leon Brocard).
161 - clarified on_eof/on_error documentation a bit.
162
1634.231 Tue Jul 29 13:12:15 CEST 2008
164 - remove some debugging code left in AnyEvent::Util::fork_call
165 (and no, it's impossible to implement with the broken windows
166 perls without resource leaks or worse).
167
1684.23 Tue Jul 29 12:19:59 CEST 2008
169 - document the first parameter passed to condvar callbacks to be
170 the callback.
171 - add AnyEvent::Socket::{ntoa,aton} aliases.
172 - optimize the AE::Handle->push_read (line) for the default
173 eol marker.
174 - optimize push_read (packstring|storable) for small packets.
175 - invoke on_error callback when no on_eof callback is set.
176 - fix a bug in push_read (storable) of unknown impact.
177
1784.22 Sun Jul 20 16:34:13 CEST 2008
179 - new function AnyEvent::Socket::parse_hostport.
180 - as the bulkheads at microsoft can't even get getprotobyname reliably
181 working on their shitty fucking broken os we need to hardcode
182 some common protocol numbers in AnyEvent::Socket. How can
183 people even bother with such a pile of shit as windows.
184
1854.21 Thu Jul 17 14:40:05 CEST 2008
186 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
187 which is incompatible to previous invocation syntax.
188 - work around more windows perl bugs in fork_call. I cannot imagine
189 why anybody would bother implementing fork in such an obviously
190 unusable way.
191 - avoid calling $do_retry if the request has already finished in
192 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
193 K. Sharifulin).
194
1954.2 Sat Jul 12 22:42:11 CEST 2008
196 - support an "interval" argument for repeating timers.
197 - fix a bug in the pure perl event loop that caused timers to
198 be delayed under some circumstances.
199 - implement optional argument checking via PERL_ANYEVENT_STRICT.
200 - not importing anything from Event causes it to malfunction
201 and not use Time::HiRes, work around this bug.
202 - more bug workarounds against the endlessly broken Tk module,
203 seems to work now on 32 bit machines, but less so on 64 bit.
204 - minor optimisations applied to most backends.
205
2064.161 Fri Jul 4 14:24:48 CEST 2008
207 - fixed the t/handle/02_write.t, it read after write, with the
208 assumption that all data could be written before read
209 (reported by Jim Razmus).
210
2114.160 Thu Jul 3 04:02:21 CEST 2008
212 - re-registering signal watchers after unregistering one did
213 not work if a backend falls back on AnyEvent's default
214 implementation (also affected child watchers).
215 - new AnyEvent::Handle options: autocork and no_delay.
216
2174.152 Sun Jun 22 14:15:44 CEST 2008
218 - allow for 32-bit perls that implement shifts differently
219 on different architectures in parse_ipv4 (reported and
220 analysed by Keiichi DAIBA).
221
2224.151 Fri Jun 6 17:34:24 CEST 2008
223 - make sure specifying _only_ on_read and never pushing reads
224 works.
225
2264.15 Fri Jun 6 13:00:46 CEST 2008
227 - the pure perl backend would keep some watchers alive when more than
228 one watcher was registered for the same fd.
229 - new "packstring" and "storable" read and write types
230 for AnyEvent::Handle.
231 - allow on_eof handler to be called after on_error with EPIPE returns.
232 - do not immediately call on_read callback in handle constructor.
233
2344.14 Thu Jun 5 20:29:31 CEST 2008
235 - Fixed a bug in DNS SRV priority sorting.
236 - AnyEvent::Util::guard now reports runtime errors while
237 executing the guard block as warnings.
238 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
239
2404.13 Thu Jun 5 00:47:59 CEST 2008
241 - AnyEvent::DNS only followed cname chains with length 2,
242 contrary to documentation. bumped it up to 10, thanks to
243 microsoft, the current broken-dns-config-king.
244 - AnyEvent::DNS didn't check for socket return status
245 but instead relied on perl not creating filehandles in that
246 case - too bad it gives you a bogus file handle (reported
247 and analysed by Vladimir Timofeev).
248 - fix queue management logic in AnyEvent::Handle:
249 when on_read was registered, the queue was empty
250 and no progress could be made AnyEvent::Handle would
251 enter an endless loop.
252 - correctly start reading again when the handle became
253 busy again after idling.
254 - correctly treat tls shut-downs as EOF condition
255 (for the time being, would be nice to have a callback for that).
256 - correctly call eof callback under all conditions
257 (hopefully).
258 - the timeout callback did not expect that $self can go
259 away any time.
260
2614.12 Tue Jun 3 10:58:04 CEST 2008
262 - include AnyEvent::Intro, a tutorial for anyevent,
263 anyevent::socket and anyevent::handle.
264 - allow more options in on_error.
265
2664.11 Fri May 30 23:42:25 CEST 2008
267 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
268 reverse_lookup and reverse_verify to replace it, support
269 v4mapped and v4compat addresses.
270 - provide more documentation for the resolver class.
271 - really replace longest run of :0: by :: in format_address,
272 also properly convert :: and ::1 again.
273 - support NAPTR record name and decode it.
274 - implement random weight sampling for SRV records, as per
275 rfc 2782.
276 - correctly abort on srv-record targets of ".".
277 - added AnyEvent::DNS::wait_for_slot.
278 - in the unlikely event of a virtual circuit connection
279 being invalidated by a delayed udp reply, AnyEvent::DNS
280 could die. this has been fixed.
281 - plug a probable memleak in the DNS vc code.
282 - use configured timeout also for VC request phase.
283 - implement timeout and max_outstanding methods
284 for resolver class.
285 - update version numbers in all modules.
286
2874.1 Thu May 29 05:45:40 CEST 2008
288 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
289 which mirrors their purpose better (old names still available
290 for a while). Also moved AnyEvent::DNS::addr to
291 AnyEvent::Socket::resolve_sockaddr.
292 - implement AnyEvent->time and AnyEvent->now.
293 - fix IPv6 support in pack_sockaddr.
294 - officially un-experimentalise all newly introduced code.
295 - support unix domain sockets everywhere by specifying
296 a host of "unix/" and the pathname as service.
297 - implement an activity timeout in AnyEvent::Handle.
4 - added a a regex read type to AnyEvent::Handle. 298 - added a regex read type to AnyEvent::Handle.
299 - added a json read/write type to AnyEvent::Handle.
5 - always croak in on_error in AnyEvent::Handle. 300 - always croak in on_error in AnyEvent::Handle.
6 - document how to subclass AnyEvent::Handle. 301 - document how to subclass AnyEvent::Handle.
7 - implement AnyEvent::Util::fork_call. 302 - implement AnyEvent::Util::fork_call.
303 - add support for IPv6 nameservers and nameserver statements.
8 - work around _yet_ _another_ windows perl bug in where empty 304 - work around _yet_ _another_ windows perl bug in where empty
9 select masks cause errors in the pure perl backend (this 305 select masks cause errors in the pure perl backend (this
10 workaround cannot be implemented for the other event loops, 306 workaround cannot be implemented for the other event loops,
11 but EV also works around this). 307 but EV also works around this).
308 - supply AnyEvent::Socket::address_type and make good use of it.
309 - clarify and fix the Handle documentation w.r.t $self vs. $handle
310 vs. callback arguments.
311 - add some recommends to the META.yml.
12 312
134.05 Mon May 26 19:44:06 CEST 2008 3134.05 Mon May 26 19:44:06 CEST 2008
14 - some platforms ignore the rfc and prepend an extra sa_len member to 314 - some platforms ignore the rfc and prepend an extra sa_len member to
15 the sockaddr structure, cater for those. also use sockaddr_family, 315 the sockaddr structure, cater for those. also use sockaddr_family,
16 didn't know it was there, but comes in handy for the workaround. 316 didn't know it was there, but comes in handy for the workaround.
62 - support service names in tcp_connect and tcp_server. 362 - support service names in tcp_connect and tcp_server.
63 - work around netbsd/openbsd bug causing unix sockets not to 363 - work around netbsd/openbsd bug causing unix sockets not to
64 become writable until empty. 364 become writable until empty.
65 - only make a dummy read for error detection when getpeername 365 - only make a dummy read for error detection when getpeername
66 returns ENOTCONN. 366 returns ENOTCONN.
67 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 367 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
68 override. 368 override.
69 - new AnyEvent::Guard::cancel. 369 - new AnyEvent::Guard::cancel.
70 370
713.5 Sat May 17 23:17:14 CEST 2008 3713.5 Sat May 17 23:17:14 CEST 2008
72 - gracefully deal with systems not defining CLOCK_MONOTONIC 372 - gracefully deal with systems not defining CLOCK_MONOTONIC
86 386
873.41 Sun May 11 19:53:13 CEST 2008 3873.41 Sun May 11 19:53:13 CEST 2008
88 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 388 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
89 389
903.4 Sun May 11 00:29:25 CEST 2008 3903.4 Sun May 11 00:29:25 CEST 2008
91 - complete re-implementation of condvars with a hopefully much mroe useful 391 - complete re-implementation of condvars with a hopefully much more useful
92 API (backward compatible functions exist but are undocumented). 392 API (backward compatible functions exist but are undocumented).
93 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 393 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
94 (still subject to change). 394 (still subject to change).
95 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 395 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
96 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 396 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines