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

Comparing AnyEvent/Changes (file contents):
Revision 1.153 by root, Fri Jun 6 10:23:50 2008 UTC vs.
Revision 1.248 by root, Thu Jun 25 14:27:18 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3 - new "packstring" read and write type for AnyEvent::Handle. 3 - preliminary and neccesarily incomplete support for IO::Async.
4 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
5 case it was set to IGNORE, to ensure we can catch child statuses
6 even when the calling env acts stupidly.
7 - updated benchmarks with IO::Async, which performs very well.
8
94.412 Wed Jun 24 01:35:57 CEST 2009
10 - support an "untaint" attribute for AnyEvent::DNS
11 and set it on the default resolver.
12 - implement and document AnyEvent::Impl::Perl::loop.
13 - remove all anyevent-env variables from %ENV
14 when running in tainted mode.
15 - mention and extend the IO::Lambda benchmark.
16
174.411 Sun Jun 7 18:48:02 CEST 2009
18 - do not try to use F_SETFD on windows.
19
204.41 Thu May 14 06:40:11 CEST 2009
21 - work around issues in older perls (5.8.0?) when
22 a signal handler is deleted from the %SIG hash.
23 - use POSIX::_exit in child test, to avoid running
24 destructors.
25 - speed up CHLD handling by relying on SIGCHLD being
26 synchronously delivered, even when we roll our own
27 implementation.
28 - AnyEvent::DNS: add the "dname" resource record name
29 for cosmetic reasons.
30
314.4 Sun Apr 26 20:12:33 CEST 2009
32 - implemented idle watchers, where applicable.
33 - AnyEvent->time died when Event backend was in use.
34 - fix a memleak in the Tk backend.
35 - sped up Tk timer handling.
36 - clip negative "after" values to 0 in AnyEvent::Impl::Event
37 to avoid spamming out warning messages.
38 - fix Qt timers without interval.
39 - avoid Qt zero-timeout special case, in old libqt's.
40
414.352 Mon Apr 20 16:31:11 CEST 2009
42 - fix AnyEvent::Strict error messages for child watchers.
43 - fix/update Makefile.PL "recommends" versions.
44 - add AnyEvent->now_update.
45
464.351 Sat Apr 11 07:56:14 CEST 2009
47 - actually make the signal pipe work under win32.
48 - localise $! in signal handler to avoid changing $!, although
49 perl itself does not seem to save/restore errno either.
50 - set the cloexec flag on the signal pipe (normally set by perl too).
51
524.35 Fri Mar 27 11:48:20 CET 2009
53 - event models relying on AnyEvent's signal watcher emulation did
54 invoke the callback asynchronously, contradicting documentation
55 and causing signals to get lost (this includes AnyEvent's own
56 event loop). AnyEvent now uses the standard pipe trick to make
57 callback execution synchronous to the event loop.
58 - AnyEvent::Handle didn't free TLS context data on DESTROY
59 (patch by Pavel Shaydo).
60 - work around the ever-incompatibly-changing API of MakeMaker.
61 - document that changing global variables without restoring them
62 is a bad idea in Perl (noted by Adam Rosenstein).
63 - AnyEvent::Strict now barfs if ->io is passed a file.
64
654.34 Thu Feb 12 18:32:45 CET 2009
66 - separately buffer TLS read data, as otherwise the read queue could
67 deadlock as receiving data is not expected while draining the
68 read queue (which cna only happen with TLS).
69 - raise EBADMSG error on JSON decoding errors.
70 - fix some minor manpage bugs (reported by Maximilian Gaß).
71 - speed up select bitmask parsing quite a bit in the pure perl
72 backend.
73 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
74
754.331 Tue Jan 6 21:07:25 CET 2009
76 - socketpair fails on many vista machines because vista has
77 completely broken accept/getpeername and getsockname functions,
78 so we provide our own socketpair emulation that kind of works
79 (AnyEvent::Util::portable_pipe).
80 - new function: AnyEvent::Util::portable_socketpair.
81 - take advantage of the Guard module if it exists.
82
834.33 Fri Nov 21 02:35:40 CET 2008
84 - AnyEvent::Strict did errornously flag a fileno of 0 as
85 illegal.
86 - reduce memory usage and slightly speed up the pure perl backend
87 by only storing the file descriptor, not the file handle.
88 - add missing autocork method to AnyEvent::Handle (reported
89 by Adam Rosenstein).
90 - AnyEvent::DNS->resolve errornously documented an $rcode result
91 argument, but there isn't (spotted by Henrik Krohns).
92 - the naked truth about Tk - it's basically unmaintained.
93
944.32 Mon Nov 3 22:46:32 CET 2008
95 - fix AnyEvent::Socket::resolve_sockaddr to properly support
96 unix sockets again and choose a proper default for
97 the socket type.
98 - fix call to resolve_sockaddr in tcp_connect.
99
1004.31 Thu Oct 30 04:41:48 CET 2008
101 - implemented AnyEvent::Handle->destroy method.
102 - hint about unexpected effects in TLS mode.
103 - speed up AnyEvent::Impl::Perl by using more arrays
104 instead of hashes without the slightest loss of readability :)
105 - work around a perl argument refcounting bug.
106 - with some perl patches applied, AnyEvent now seems leak-free.
107
1084.3 Fri Oct 3 09:18:43 CEST 2008
109 - AnyEvent will now install a no-op signal handler for SIGPIPE,
110 unless one has been installed already.
111 - warn about not loaidng AnyEvent::Impl::POE early enough
112 (patch by Adam Rosenstein).
113 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
114 - fix a bug in where in SSL connect mode, the
115 client would first wait for some data by the server and
116 otherwise hang. (reported and analyzed in an absolutely
117 exemplary manner by Adam Rosenstein).
118 - fix a bug in where SSL EOF would not be treated
119 as stream EOF, putting the connection into a hung state.
120 (reported and analyzed in an absolutely exemplary manner by Adam
121 Rosenstein).
122 - fix a potential segfault when the TLS context
123 would go missing in a read callback (e.g. due to stoptls) -
124 Net::SSLeay of course makes no type checking whatsoever.
125 - AnyEvent::Handle will not stop the read watcher in TLS mode.
126 - AnyEvent::Handle->stoptls will send a TLS close notify
127 instead of simply destroying the stream now.
128 - fix a bug where large blocks of data written in TLS mode
129 would not be sent unless triggered by receives.
130 - on_drain will now take the tls write buffer into account.
131 - SSL operations have been streamlined a bit and should be faster
132 now, more to come, though.
133 - added a FAQ section, will document nontrivial issues in there.
134
1354.234 Mon Sep 29 04:08:13 CEST 2008
136 - fix child watcher documentation: only child exits will be reported,
137 no trace events.
138 - mention SIGPIPE in AnyEvent::Handle.
139 - perl backend will now use POSIX::times as monotonic clock
140 when available and the monotonic clock option is not.
141 - run even without Time::HiRes in some cases now, but do not
142 provide sub-second accuracy (all *supported* perl versions have
143 Time::HiRes).
144
1454.233 Fri Aug 22 01:48:05 CEST 2008
146 - fix a bug in the testsuite, causing a hang.
147 - clarified lots of AnyEvent::Handle constructor arguments.
148
1494.232 Thu Aug 21 20:44:25 CEST 2008
150 - fix a bug in AnyEvent::Handle that could cause two fatal error
151 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
152 (testcase by Leon Brocard).
153 - clarified on_eof/on_error documentation a bit.
154
1554.231 Tue Jul 29 13:12:15 CEST 2008
156 - remove some debugging code left in AnyEvent::Util::fork_call
157 (and no, it's impossible to implement with the broken windows
158 perls without resource leaks or worse).
159
1604.23 Tue Jul 29 12:19:59 CEST 2008
161 - document the first parameter passed to condvar callbacks to be
162 the callback.
163 - add AnyEvent::Socket::{ntoa,aton} aliases.
164 - optimize the AE::Handle->push_read (line) for the default
165 eol marker.
166 - optimize push_read (packstring|storable) for small packets.
167 - invoke on_error callback when no on_eof callback is set.
168 - fix a bug in push_read (storable) of unknown impact.
169
1704.22 Sun Jul 20 16:34:13 CEST 2008
171 - new function AnyEvent::Socket::parse_hostport.
172 - as the bulkheads at microsoft can't even get getprotobyname reliably
173 working on their shitty fucking broken os we need to hardcode
174 some common protocol numbers in AnyEvent::Socket. How can
175 people even bother with such a pile of shit as windows.
176
1774.21 Thu Jul 17 14:40:05 CEST 2008
178 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
179 which is incompatible to previous invocation syntax.
180 - work around more windows perl bugs in fork_call. I cannot imagine
181 why anybody would bother implementing fork in such an obviously
182 unusable way.
183 - avoid calling $do_retry if the request has already finished in
184 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
185 K. Sharifulin).
186
1874.2 Sat Jul 12 22:42:11 CEST 2008
188 - support an "interval" argument for repeating timers.
189 - fix a bug in the pure perl event loop that caused timers to
190 be delayed under some circumstances.
191 - implement optional argument checking via PERL_ANYEVENT_STRICT.
192 - not importing anything from Event causes it to malfunction
193 and not use Time::HiRes, work around this bug.
194 - more bug workarounds against the endlessly broken Tk module,
195 seems to work now on 32 bit machines, but less so on 64 bit.
196 - minor optimisations applied to most backends.
197
1984.161 Fri Jul 4 14:24:48 CEST 2008
199 - fixed the t/handle/02_write.t, it read after write, with the
200 assumption that all data could be written before read
201 (reported by Jim Razmus).
202
2034.160 Thu Jul 3 04:02:21 CEST 2008
204 - re-registering signal watchers after unregistering one did
205 not work if a backend falls back on AnyEvent's default
206 implementation (also affected child watchers).
207 - new AnyEvent::Handle options: autocork and no_delay.
208
2094.152 Sun Jun 22 14:15:44 CEST 2008
210 - allow for 32-bit perls that implement shifts differently
211 on different architectures in parse_ipv4 (reported and
212 analysed by Keiichi DAIBA).
213
2144.151 Fri Jun 6 17:34:24 CEST 2008
215 - make sure specifying _only_ on_read and never pushing reads
216 works.
217
2184.15 Fri Jun 6 13:00:46 CEST 2008
219 - the pure perl backend would keep some watchers alive when more than
220 one watcher was registered for the same fd.
221 - new "packstring" and "storable" read and write types
222 for AnyEvent::Handle.
4 - allow on_eof handler to be called after on_errro with EPIPE returns. 223 - allow on_eof handler to be called after on_error with EPIPE returns.
5 - do not immediately call on_read callback in handle constructor. 224 - do not immediately call on_read callback in handle constructor.
6 225
74.14 Thu Jun 5 20:29:31 CEST 2008 2264.14 Thu Jun 5 20:29:31 CEST 2008
8 - Fixed a bug in DNS SRV priority sorting. 227 - Fixed a bug in DNS SRV priority sorting.
9 - AnyEvent::Util::guard now reports runtime errors while 228 - AnyEvent::Util::guard now reports runtime errors while
135 - support service names in tcp_connect and tcp_server. 354 - support service names in tcp_connect and tcp_server.
136 - work around netbsd/openbsd bug causing unix sockets not to 355 - work around netbsd/openbsd bug causing unix sockets not to
137 become writable until empty. 356 become writable until empty.
138 - only make a dummy read for error detection when getpeername 357 - only make a dummy read for error detection when getpeername
139 returns ENOTCONN. 358 returns ENOTCONN.
140 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 359 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
141 override. 360 override.
142 - new AnyEvent::Guard::cancel. 361 - new AnyEvent::Guard::cancel.
143 362
1443.5 Sat May 17 23:17:14 CEST 2008 3633.5 Sat May 17 23:17:14 CEST 2008
145 - gracefully deal with systems not defining CLOCK_MONOTONIC 364 - gracefully deal with systems not defining CLOCK_MONOTONIC
159 378
1603.41 Sun May 11 19:53:13 CEST 2008 3793.41 Sun May 11 19:53:13 CEST 2008
161 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 380 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
162 381
1633.4 Sun May 11 00:29:25 CEST 2008 3823.4 Sun May 11 00:29:25 CEST 2008
164 - complete re-implementation of condvars with a hopefully much mroe useful 383 - complete re-implementation of condvars with a hopefully much more useful
165 API (backward compatible functions exist but are undocumented). 384 API (backward compatible functions exist but are undocumented).
166 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 385 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
167 (still subject to change). 386 (still subject to change).
168 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 387 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
169 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 388 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines