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

Comparing AnyEvent/Changes (file contents):
Revision 1.92 by root, Sat May 24 05:57:11 2008 UTC vs.
Revision 1.243 by root, Tue Jun 23 12:21:34 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines