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

Comparing AnyEvent/Changes (file contents):
Revision 1.94 by root, Sat May 24 17:48:38 2008 UTC vs.
Revision 1.230 by root, Sun Apr 19 12:09:46 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.0 3 - fix AnyEvent::Strict error messages for child watchers.
4 - fix/update Makefile.PL "recommends" versions.
5 - add AnyEvent->now_update.
6
74.351 Sat Apr 11 07:56:14 CEST 2009
8 - actually make the signal pipe work under win32.
9 - localise $! in signal handler to avoid changing $!, although
10 perl itself does not seem to save/restore errno either.
11 - set the cloexec flag on the signal pipe (normally set by perl too).
12
134.35 Fri Mar 27 11:48:20 CET 2009
14 - event models relying on AnyEvent's signal watcher emulation did
15 invoke the callback asynchronously, contradicting documentation
16 and causing signals to get lost (this includes AnyEvent's own
17 event loop). AnyEvent now uses the standard pipe trick to make
18 callback execution synchronous to the event loop.
19 - AnyEvent::Handle didn't free TLS context data on DESTROY
20 (patch by Pavel Shaydo).
21 - work around the ever-incompatibly-changing API of MakeMaker.
22 - document that changing global variables without restoring them
23 is a bad idea in Perl (noted by Adam Rosenstein).
24 - AnyEvent::Strict now barfs if ->io is passed a file.
25
264.34 Thu Feb 12 18:32:45 CET 2009
27 - separately buffer TLS read data, as otherwise the read queue could
28 deadlock as receiving data is not expected while draining the
29 read queue (which cna only happen with TLS).
30 - raise EBADMSG error on JSON decoding errors.
31 - fix some minor manpage bugs (reported by Maximilian Gaß).
32 - speed up select bitmask parsing quite a bit in the pure perl
33 backend.
34 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
35
364.331 Tue Jan 6 21:07:25 CET 2009
37 - socketpair fails on many vista machines because vista has
38 completely broken accept/getpeername and getsockname functions,
39 so we provide our own socketpair emulation that kind of works
40 (AnyEvent::Util::portable_pipe).
41 - new function: AnyEvent::Util::portable_socketpair.
42 - take advantage of the Guard module if it exists.
43
444.33 Fri Nov 21 02:35:40 CET 2008
45 - AnyEvent::Strict did errornously flag a fileno of 0 as
46 illegal.
47 - reduce memory usage and slightly speed up the pure perl backend
48 by only storing the file descriptor, not the file handle.
49 - add missing autocork method to AnyEvent::Handle (reported
50 by Adam Rosenstein).
51 - AnyEvent::DNS->resolve errornously documented an $rcode result
52 argument, but there isn't (spotted by Henrik Krohns).
53 - the naked truth about Tk - it's basically unmaintained.
54
554.32 Mon Nov 3 22:46:32 CET 2008
56 - fix AnyEvent::Socket::resolve_sockaddr to properly support
57 unix sockets again and choose a proper default for
58 the socket type.
59 - fix call to resolve_sockaddr in tcp_connect.
60
614.31 Thu Oct 30 04:41:48 CET 2008
62 - implemented AnyEvent::Handle->destroy method.
63 - hint about unexpected effects in TLS mode.
64 - speed up AnyEvent::Impl::Perl by using more arrays
65 instead of hashes without the slightest loss of readability :)
66 - work around a perl argument refcounting bug.
67 - with some perl patches applied, AnyEvent now seems leak-free.
68
694.3 Fri Oct 3 09:18:43 CEST 2008
70 - AnyEvent will now install a no-op signal handler for SIGPIPE,
71 unless one has been installed already.
72 - warn about not loaidng AnyEvent::Impl::POE early enough
73 (patch by Adam Rosenstein).
74 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
75 - fix a bug in where in SSL connect mode, the
76 client would first wait for some data by the server and
77 otherwise hang. (reported and analyzed in an absolutely
78 exemplary manner by Adam Rosenstein).
79 - fix a bug in where SSL EOF would not be treated
80 as stream EOF, putting the connection into a hung state.
81 (reported and analyzed in an absolutely exemplary manner by Adam
82 Rosenstein).
83 - fix a potential segfault when the TLS context
84 would go missing in a read callback (e.g. due to stoptls) -
85 Net::SSLeay of course makes no type checking whatsoever.
86 - AnyEvent::Handle will not stop the read watcher in TLS mode.
87 - AnyEvent::Handle->stoptls will send a TLS close notify
88 instead of simply destroying the stream now.
89 - fix a bug where large blocks of data written in TLS mode
90 would not be sent unless triggered by receives.
91 - on_drain will now take the tls write buffer into account.
92 - SSL operations have been streamlined a bit and should be faster
93 now, more to come, though.
94 - added a FAQ section, will document nontrivial issues in there.
95
964.234 Mon Sep 29 04:08:13 CEST 2008
97 - fix child watcher documentation: only child exits will be reported,
98 no trace events.
99 - mention SIGPIPE in AnyEvent::Handle.
100 - perl backend will now use POSIX::times as monotonic clock
101 when available and the monotonic clock option is not.
102 - run even without Time::HiRes in some cases now, but do not
103 provide sub-second accuracy (all *supported* perl versions have
104 Time::HiRes).
105
1064.233 Fri Aug 22 01:48:05 CEST 2008
107 - fix a bug in the testsuite, causing a hang.
108 - clarified lots of AnyEvent::Handle constructor arguments.
109
1104.232 Thu Aug 21 20:44:25 CEST 2008
111 - fix a bug in AnyEvent::Handle that could cause two fatal error
112 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
113 (testcase by Leon Brocard).
114 - clarified on_eof/on_error documentation a bit.
115
1164.231 Tue Jul 29 13:12:15 CEST 2008
117 - remove some debugging code left in AnyEvent::Util::fork_call
118 (and no, it's impossible to implement with the broken windows
119 perls without resource leaks or worse).
120
1214.23 Tue Jul 29 12:19:59 CEST 2008
122 - document the first parameter passed to condvar callbacks to be
123 the callback.
124 - add AnyEvent::Socket::{ntoa,aton} aliases.
125 - optimize the AE::Handle->push_read (line) for the default
126 eol marker.
127 - optimize push_read (packstring|storable) for small packets.
128 - invoke on_error callback when no on_eof callback is set.
129 - fix a bug in push_read (storable) of unknown impact.
130
1314.22 Sun Jul 20 16:34:13 CEST 2008
132 - new function AnyEvent::Socket::parse_hostport.
133 - as the bulkheads at microsoft can't even get getprotobyname reliably
134 working on their shitty fucking broken os we need to hardcode
135 some common protocol numbers in AnyEvent::Socket. How can
136 people even bother with such a pile of shit as windows.
137
1384.21 Thu Jul 17 14:40:05 CEST 2008
139 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
140 which is incompatible to previous invocation syntax.
141 - work around more windows perl bugs in fork_call. I cannot imagine
142 why anybody would bother implementing fork in such an obviously
143 unusable way.
144 - avoid calling $do_retry if the request has already finished in
145 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
146 K. Sharifulin).
147
1484.2 Sat Jul 12 22:42:11 CEST 2008
149 - support an "interval" argument for repeating timers.
150 - fix a bug in the pure perl event loop that caused timers to
151 be delayed under some circumstances.
152 - implement optional argument checking via PERL_ANYEVENT_STRICT.
153 - not importing anything from Event causes it to malfunction
154 and not use Time::HiRes, work around this bug.
155 - more bug workarounds against the endlessly broken Tk module,
156 seems to work now on 32 bit machines, but less so on 64 bit.
157 - minor optimisations applied to most backends.
158
1594.161 Fri Jul 4 14:24:48 CEST 2008
160 - fixed the t/handle/02_write.t, it read after write, with the
161 assumption that all data could be written before read
162 (reported by Jim Razmus).
163
1644.160 Thu Jul 3 04:02:21 CEST 2008
165 - re-registering signal watchers after unregistering one did
166 not work if a backend falls back on AnyEvent's default
167 implementation (also affected child watchers).
168 - new AnyEvent::Handle options: autocork and no_delay.
169
1704.152 Sun Jun 22 14:15:44 CEST 2008
171 - allow for 32-bit perls that implement shifts differently
172 on different architectures in parse_ipv4 (reported and
173 analysed by Keiichi DAIBA).
174
1754.151 Fri Jun 6 17:34:24 CEST 2008
176 - make sure specifying _only_ on_read and never pushing reads
177 works.
178
1794.15 Fri Jun 6 13:00:46 CEST 2008
180 - the pure perl backend would keep some watchers alive when more than
181 one watcher was registered for the same fd.
182 - new "packstring" and "storable" read and write types
183 for AnyEvent::Handle.
184 - allow on_eof handler to be called after on_error with EPIPE returns.
185 - do not immediately call on_read callback in handle constructor.
186
1874.14 Thu Jun 5 20:29:31 CEST 2008
188 - Fixed a bug in DNS SRV priority sorting.
189 - AnyEvent::Util::guard now reports runtime errors while
190 executing the guard block as warnings.
191 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
192
1934.13 Thu Jun 5 00:47:59 CEST 2008
194 - AnyEvent::DNS only followed cname chains with length 2,
195 contrary to documentation. bumped it up to 10, thanks to
196 microsoft, the current broken-dns-config-king.
197 - AnyEvent::DNS didn't check for socket return status
198 but instead relied on perl not creating filehandles in that
199 case - too bad it gives you a bogus file handle (reported
200 and analysed by Vladimir Timofeev).
201 - fix queue management logic in AnyEvent::Handle:
202 when on_read was registered, the queue was empty
203 and no progress could be made AnyEvent::Handle would
204 enter an endless loop.
205 - correctly start reading again when the handle became
206 busy again after idling.
207 - correctly treat tls shut-downs as EOF condition
208 (for the time being, would be nice to have a callback for that).
209 - correctly call eof callback under all conditions
210 (hopefully).
211 - the timeout callback did not expect that $self can go
212 away any time.
213
2144.12 Tue Jun 3 10:58:04 CEST 2008
215 - include AnyEvent::Intro, a tutorial for anyevent,
216 anyevent::socket and anyevent::handle.
217 - allow more options in on_error.
218
2194.11 Fri May 30 23:42:25 CEST 2008
220 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
221 reverse_lookup and reverse_verify to replace it, support
222 v4mapped and v4compat addresses.
223 - provide more documentation for the resolver class.
224 - really replace longest run of :0: by :: in format_address,
225 also properly convert :: and ::1 again.
226 - support NAPTR record name and decode it.
227 - implement random weight sampling for SRV records, as per
228 rfc 2782.
229 - correctly abort on srv-record targets of ".".
230 - added AnyEvent::DNS::wait_for_slot.
231 - in the unlikely event of a virtual circuit connection
232 being invalidated by a delayed udp reply, AnyEvent::DNS
233 could die. this has been fixed.
234 - plug a probable memleak in the DNS vc code.
235 - use configured timeout also for VC request phase.
236 - implement timeout and max_outstanding methods
237 for resolver class.
238 - update version numbers in all modules.
239
2404.1 Thu May 29 05:45:40 CEST 2008
241 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
242 which mirrors their purpose better (old names still available
243 for a while). Also moved AnyEvent::DNS::addr to
244 AnyEvent::Socket::resolve_sockaddr.
245 - implement AnyEvent->time and AnyEvent->now.
246 - fix IPv6 support in pack_sockaddr.
247 - officially un-experimentalise all newly introduced code.
248 - support unix domain sockets everywhere by specifying
249 a host of "unix/" and the pathname as service.
250 - implement an activity timeout in AnyEvent::Handle.
251 - added a regex read type to AnyEvent::Handle.
252 - added a json read/write type to AnyEvent::Handle.
253 - always croak in on_error in AnyEvent::Handle.
254 - document how to subclass AnyEvent::Handle.
255 - implement AnyEvent::Util::fork_call.
256 - add support for IPv6 nameservers and nameserver statements.
257 - work around _yet_ _another_ windows perl bug in where empty
258 select masks cause errors in the pure perl backend (this
259 workaround cannot be implemented for the other event loops,
260 but EV also works around this).
261 - supply AnyEvent::Socket::address_type and make good use of it.
262 - clarify and fix the Handle documentation w.r.t $self vs. $handle
263 vs. callback arguments.
264 - add some recommends to the META.yml.
265
2664.05 Mon May 26 19:44:06 CEST 2008
267 - some platforms ignore the rfc and prepend an extra sa_len member to
268 the sockaddr structure, cater for those. also use sockaddr_family,
269 didn't know it was there, but comes in handy for the workaround.
270 - undo the import WIN32 hack.
271
2724.04 Mon May 26 08:03:31 CEST 2008
273 - try to work around yet another windows bug: failed connects are reported
274 as if it were out-of-band data. windows users: you suck. Only
275 EV, Glib, Event and the pure perl backend can handle this condition.
276 - optimize write algorithm in AnyEvent::Handle.
277 - properly parse PERL_ANYEVENT_PROTOCOLS and use the info correctly.
278 - tcp_connect now properly iterates through all targets.
279 - check wether IPv6 sockets can actually be created, otherwise, disable ipv6
280 support entirely. also hardcode some AF_INET6 constants for the
281 sake of perl 5.8.
282 - vastly improved nameserver/suffix detection algorithm for windows
283 (still a hack...)
284 - try to use a fallback dns server if no dns servers could be found.
285 - splatter around some local $SIG{__DIE__}'s to work around bad
286 die handlers.
287
2884.03 Sun May 25 05:05:57 CEST 2008
289 - work around perl bugs on windows, where perl returns undocumented
290 error codes for sysread, syswrite etc.
291 - fix AnyEvent::Handle::unshift_read to really unshift and not push.
292 - AnyEvent::Handle could sometimes stumble over 0-byte writes.
293 - fix unpack_sockaddr, now works for AF_INET6 sockaddr's.
294 - updated documentation.
295 - lots of workarounds for perl 5.8 quirks.
296 - implement a more flexible type system for both reads and writes
297 in AnyEvent::Handle.
298 - support IPv6 in tcp_server.
299 - pass local hostname and port to the prepare callback in tcp_server.
300 - make types extendable in AnyEvent::Handle.
301 - croak, not die, in AnyEvent::Handle;
302
3034.0 Sat May 24 19:58:08 CEST 2008
4 - added (experimental) AnyEvent::DNS module. 304 - added (experimental) AnyEvent::DNS module.
5 - added (experimental) AnyEvent::Socket module. 305 - added (experimental) AnyEvent::Socket module.
6 - added (experiemntal) support for TLS/SSL in AnyEvent::Handle. 306 - added (experiemntal) support for TLS/SSL in AnyEvent::Handle.
7 - make condvar->end call ->send as documented. 307 - make condvar->end call ->send as documented.
8 - make condvar constructor support the documented cb => argument. 308 - make condvar constructor support the documented cb => argument.
12 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore. 312 - AnyEvent::Socket::inet_aton will use AnyEvent::DNS now and not fork anymore.
13 - try very hard not to freeze on broken windows perls. 313 - try very hard not to freeze on broken windows perls.
14 - make on_eof optional in AnyEvent::Handle. 314 - make on_eof optional in AnyEvent::Handle.
15 - support service names in tcp_connect and tcp_server. 315 - support service names in tcp_connect and tcp_server.
16 - work around netbsd/openbsd bug causing unix sockets not to 316 - work around netbsd/openbsd bug causing unix sockets not to
17 become writable untill empty. 317 become writable until empty.
18 - only make a dummy read for error detection when getpeername 318 - only make a dummy read for error detection when getpeername
19 returns ENOTCONN. 319 returns ENOTCONN.
20 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 320 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
21 override. 321 override.
22 - new AnyEvent::Guard::cancel. 322 - new AnyEvent::Guard::cancel.
23 323
243.5 Sat May 17 23:17:14 CEST 2008 3243.5 Sat May 17 23:17:14 CEST 2008
25 - gracefully deal with systems not defining CLOCK_MONOTONIC 325 - gracefully deal with systems not defining CLOCK_MONOTONIC
39 339
403.41 Sun May 11 19:53:13 CEST 2008 3403.41 Sun May 11 19:53:13 CEST 2008
41 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 341 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
42 342
433.4 Sun May 11 00:29:25 CEST 2008 3433.4 Sun May 11 00:29:25 CEST 2008
44 - complete re-implementation of condvars with a hopefully much mroe useful 344 - complete re-implementation of condvars with a hopefully much more useful
45 API (backward compatible functions exist but are undocumented). 345 API (backward compatible functions exist but are undocumented).
46 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 346 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
47 (still subject to change). 347 (still subject to change).
48 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 348 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
49 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 349 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines