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

Comparing AnyEvent/Changes (file contents):
Revision 1.142 by root, Sat May 31 01:42:11 2008 UTC vs.
Revision 1.234 by root, Sun Apr 26 18:12:53 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3 - include AnyEvent::Intro as a beginner tutorial. 34.4 Sun Apr 26 20:12:33 CEST 2009
4 - implemented idle watchers, where applicable.
5 - AnyEvent->time died when Event backend was in use.
6 - fix a memleak in the Tk backend.
7 - sped up Tk timer handling.
8 - clip negative "after" values to 0 in AnyEvent::Impl::Event
9 to avoid spamming out warning messages.
10 - fix Qt timers without interval.
11 - avoid Qt zero-timeout specialcase, in old libqt's.
12
134.352 Mon Apr 20 16:31:11 CEST 2009
14 - fix AnyEvent::Strict error messages for child watchers.
15 - fix/update Makefile.PL "recommends" versions.
16 - add AnyEvent->now_update.
17
184.351 Sat Apr 11 07:56:14 CEST 2009
19 - actually make the signal pipe work under win32.
20 - localise $! in signal handler to avoid changing $!, although
21 perl itself does not seem to save/restore errno either.
22 - set the cloexec flag on the signal pipe (normally set by perl too).
23
244.35 Fri Mar 27 11:48:20 CET 2009
25 - event models relying on AnyEvent's signal watcher emulation did
26 invoke the callback asynchronously, contradicting documentation
27 and causing signals to get lost (this includes AnyEvent's own
28 event loop). AnyEvent now uses the standard pipe trick to make
29 callback execution synchronous to the event loop.
30 - AnyEvent::Handle didn't free TLS context data on DESTROY
31 (patch by Pavel Shaydo).
32 - work around the ever-incompatibly-changing API of MakeMaker.
33 - document that changing global variables without restoring them
34 is a bad idea in Perl (noted by Adam Rosenstein).
35 - AnyEvent::Strict now barfs if ->io is passed a file.
36
374.34 Thu Feb 12 18:32:45 CET 2009
38 - separately buffer TLS read data, as otherwise the read queue could
39 deadlock as receiving data is not expected while draining the
40 read queue (which cna only happen with TLS).
41 - raise EBADMSG error on JSON decoding errors.
42 - fix some minor manpage bugs (reported by Maximilian Gaß).
43 - speed up select bitmask parsing quite a bit in the pure perl
44 backend.
45 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
46
474.331 Tue Jan 6 21:07:25 CET 2009
48 - socketpair fails on many vista machines because vista has
49 completely broken accept/getpeername and getsockname functions,
50 so we provide our own socketpair emulation that kind of works
51 (AnyEvent::Util::portable_pipe).
52 - new function: AnyEvent::Util::portable_socketpair.
53 - take advantage of the Guard module if it exists.
54
554.33 Fri Nov 21 02:35:40 CET 2008
56 - AnyEvent::Strict did errornously flag a fileno of 0 as
57 illegal.
58 - reduce memory usage and slightly speed up the pure perl backend
59 by only storing the file descriptor, not the file handle.
60 - add missing autocork method to AnyEvent::Handle (reported
61 by Adam Rosenstein).
62 - AnyEvent::DNS->resolve errornously documented an $rcode result
63 argument, but there isn't (spotted by Henrik Krohns).
64 - the naked truth about Tk - it's basically unmaintained.
65
664.32 Mon Nov 3 22:46:32 CET 2008
67 - fix AnyEvent::Socket::resolve_sockaddr to properly support
68 unix sockets again and choose a proper default for
69 the socket type.
70 - fix call to resolve_sockaddr in tcp_connect.
71
724.31 Thu Oct 30 04:41:48 CET 2008
73 - implemented AnyEvent::Handle->destroy method.
74 - hint about unexpected effects in TLS mode.
75 - speed up AnyEvent::Impl::Perl by using more arrays
76 instead of hashes without the slightest loss of readability :)
77 - work around a perl argument refcounting bug.
78 - with some perl patches applied, AnyEvent now seems leak-free.
79
804.3 Fri Oct 3 09:18:43 CEST 2008
81 - AnyEvent will now install a no-op signal handler for SIGPIPE,
82 unless one has been installed already.
83 - warn about not loaidng AnyEvent::Impl::POE early enough
84 (patch by Adam Rosenstein).
85 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
86 - fix a bug in where in SSL connect mode, the
87 client would first wait for some data by the server and
88 otherwise hang. (reported and analyzed in an absolutely
89 exemplary manner by Adam Rosenstein).
90 - fix a bug in where SSL EOF would not be treated
91 as stream EOF, putting the connection into a hung state.
92 (reported and analyzed in an absolutely exemplary manner by Adam
93 Rosenstein).
94 - fix a potential segfault when the TLS context
95 would go missing in a read callback (e.g. due to stoptls) -
96 Net::SSLeay of course makes no type checking whatsoever.
97 - AnyEvent::Handle will not stop the read watcher in TLS mode.
98 - AnyEvent::Handle->stoptls will send a TLS close notify
99 instead of simply destroying the stream now.
100 - fix a bug where large blocks of data written in TLS mode
101 would not be sent unless triggered by receives.
102 - on_drain will now take the tls write buffer into account.
103 - SSL operations have been streamlined a bit and should be faster
104 now, more to come, though.
105 - added a FAQ section, will document nontrivial issues in there.
106
1074.234 Mon Sep 29 04:08:13 CEST 2008
108 - fix child watcher documentation: only child exits will be reported,
109 no trace events.
110 - mention SIGPIPE in AnyEvent::Handle.
111 - perl backend will now use POSIX::times as monotonic clock
112 when available and the monotonic clock option is not.
113 - run even without Time::HiRes in some cases now, but do not
114 provide sub-second accuracy (all *supported* perl versions have
115 Time::HiRes).
116
1174.233 Fri Aug 22 01:48:05 CEST 2008
118 - fix a bug in the testsuite, causing a hang.
119 - clarified lots of AnyEvent::Handle constructor arguments.
120
1214.232 Thu Aug 21 20:44:25 CEST 2008
122 - fix a bug in AnyEvent::Handle that could cause two fatal error
123 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
124 (testcase by Leon Brocard).
125 - clarified on_eof/on_error documentation a bit.
126
1274.231 Tue Jul 29 13:12:15 CEST 2008
128 - remove some debugging code left in AnyEvent::Util::fork_call
129 (and no, it's impossible to implement with the broken windows
130 perls without resource leaks or worse).
131
1324.23 Tue Jul 29 12:19:59 CEST 2008
133 - document the first parameter passed to condvar callbacks to be
134 the callback.
135 - add AnyEvent::Socket::{ntoa,aton} aliases.
136 - optimize the AE::Handle->push_read (line) for the default
137 eol marker.
138 - optimize push_read (packstring|storable) for small packets.
139 - invoke on_error callback when no on_eof callback is set.
140 - fix a bug in push_read (storable) of unknown impact.
141
1424.22 Sun Jul 20 16:34:13 CEST 2008
143 - new function AnyEvent::Socket::parse_hostport.
144 - as the bulkheads at microsoft can't even get getprotobyname reliably
145 working on their shitty fucking broken os we need to hardcode
146 some common protocol numbers in AnyEvent::Socket. How can
147 people even bother with such a pile of shit as windows.
148
1494.21 Thu Jul 17 14:40:05 CEST 2008
150 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
151 which is incompatible to previous invocation syntax.
152 - work around more windows perl bugs in fork_call. I cannot imagine
153 why anybody would bother implementing fork in such an obviously
154 unusable way.
155 - avoid calling $do_retry if the request has already finished in
156 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
157 K. Sharifulin).
158
1594.2 Sat Jul 12 22:42:11 CEST 2008
160 - support an "interval" argument for repeating timers.
161 - fix a bug in the pure perl event loop that caused timers to
162 be delayed under some circumstances.
163 - implement optional argument checking via PERL_ANYEVENT_STRICT.
164 - not importing anything from Event causes it to malfunction
165 and not use Time::HiRes, work around this bug.
166 - more bug workarounds against the endlessly broken Tk module,
167 seems to work now on 32 bit machines, but less so on 64 bit.
168 - minor optimisations applied to most backends.
169
1704.161 Fri Jul 4 14:24:48 CEST 2008
171 - fixed the t/handle/02_write.t, it read after write, with the
172 assumption that all data could be written before read
173 (reported by Jim Razmus).
174
1754.160 Thu Jul 3 04:02:21 CEST 2008
176 - re-registering signal watchers after unregistering one did
177 not work if a backend falls back on AnyEvent's default
178 implementation (also affected child watchers).
179 - new AnyEvent::Handle options: autocork and no_delay.
180
1814.152 Sun Jun 22 14:15:44 CEST 2008
182 - allow for 32-bit perls that implement shifts differently
183 on different architectures in parse_ipv4 (reported and
184 analysed by Keiichi DAIBA).
185
1864.151 Fri Jun 6 17:34:24 CEST 2008
187 - make sure specifying _only_ on_read and never pushing reads
188 works.
189
1904.15 Fri Jun 6 13:00:46 CEST 2008
191 - the pure perl backend would keep some watchers alive when more than
192 one watcher was registered for the same fd.
193 - new "packstring" and "storable" read and write types
194 for AnyEvent::Handle.
195 - allow on_eof handler to be called after on_error with EPIPE returns.
196 - do not immediately call on_read callback in handle constructor.
197
1984.14 Thu Jun 5 20:29:31 CEST 2008
199 - Fixed a bug in DNS SRV priority sorting.
200 - AnyEvent::Util::guard now reports runtime errors while
201 executing the guard block as warnings.
202 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
203
2044.13 Thu Jun 5 00:47:59 CEST 2008
205 - AnyEvent::DNS only followed cname chains with length 2,
206 contrary to documentation. bumped it up to 10, thanks to
207 microsoft, the current broken-dns-config-king.
208 - AnyEvent::DNS didn't check for socket return status
209 but instead relied on perl not creating filehandles in that
210 case - too bad it gives you a bogus file handle (reported
211 and analysed by Vladimir Timofeev).
212 - fix queue management logic in AnyEvent::Handle:
213 when on_read was registered, the queue was empty
214 and no progress could be made AnyEvent::Handle would
215 enter an endless loop.
216 - correctly start reading again when the handle became
217 busy again after idling.
218 - correctly treat tls shut-downs as EOF condition
219 (for the time being, would be nice to have a callback for that).
220 - correctly call eof callback under all conditions
221 (hopefully).
222 - the timeout callback did not expect that $self can go
223 away any time.
224
2254.12 Tue Jun 3 10:58:04 CEST 2008
226 - include AnyEvent::Intro, a tutorial for anyevent,
227 anyevent::socket and anyevent::handle.
228 - allow more options in on_error.
4 229
54.11 Fri May 30 23:42:25 CEST 2008 2304.11 Fri May 30 23:42:25 CEST 2008
6 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide 231 - INCOMPATIBLE CHANGE: replace ptr by real PTR lookup, provide
7 reverse_lookup and reverse_verify to replace it, support 232 reverse_lookup and reverse_verify to replace it, support
8 v4mapped and v4compat addresses. 233 v4mapped and v4compat addresses.
101 - support service names in tcp_connect and tcp_server. 326 - support service names in tcp_connect and tcp_server.
102 - work around netbsd/openbsd bug causing unix sockets not to 327 - work around netbsd/openbsd bug causing unix sockets not to
103 become writable until empty. 328 become writable until empty.
104 - only make a dummy read for error detection when getpeername 329 - only make a dummy read for error detection when getpeername
105 returns ENOTCONN. 330 returns ENOTCONN.
106 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 331 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
107 override. 332 override.
108 - new AnyEvent::Guard::cancel. 333 - new AnyEvent::Guard::cancel.
109 334
1103.5 Sat May 17 23:17:14 CEST 2008 3353.5 Sat May 17 23:17:14 CEST 2008
111 - gracefully deal with systems not defining CLOCK_MONOTONIC 336 - gracefully deal with systems not defining CLOCK_MONOTONIC
125 350
1263.41 Sun May 11 19:53:13 CEST 2008 3513.41 Sun May 11 19:53:13 CEST 2008
127 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 352 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
128 353
1293.4 Sun May 11 00:29:25 CEST 2008 3543.4 Sun May 11 00:29:25 CEST 2008
130 - complete re-implementation of condvars with a hopefully much mroe useful 355 - complete re-implementation of condvars with a hopefully much more useful
131 API (backward compatible functions exist but are undocumented). 356 API (backward compatible functions exist but are undocumented).
132 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 357 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
133 (still subject to change). 358 (still subject to change).
134 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 359 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
135 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 360 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines