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

Comparing AnyEvent/Changes (file contents):
Revision 1.131 by root, Thu May 29 17:51:33 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
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.
3 - provide more documentation for the resolver class. 223 - provide more documentation for the resolver class.
4 - really replace longest run of :0: by :: in format_address, 224 - really replace longest run of :0: by :: in format_address,
5 also properly convert :: and ::1 again. 225 also properly convert :: and ::1 again.
6 - support naptr name and decode it 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.
7 239
84.1 Thu May 29 05:45:40 CEST 2008 2404.1 Thu May 29 05:45:40 CEST 2008
9 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address 241 - INCOMPATIBLE CHANGE: renamed xxx_ip functions to xxx_address
10 which mirrors their purpose better (old names still available 242 which mirrors their purpose better (old names still available
11 for a while). Also moved AnyEvent::DNS::addr to 243 for a while). Also moved AnyEvent::DNS::addr to
83 - support service names in tcp_connect and tcp_server. 315 - support service names in tcp_connect and tcp_server.
84 - work around netbsd/openbsd bug causing unix sockets not to 316 - work around netbsd/openbsd bug causing unix sockets not to
85 become writable until empty. 317 become writable until empty.
86 - only make a dummy read for error detection when getpeername 318 - only make a dummy read for error detection when getpeername
87 returns ENOTCONN. 319 returns ENOTCONN.
88 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 320 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
89 override. 321 override.
90 - new AnyEvent::Guard::cancel. 322 - new AnyEvent::Guard::cancel.
91 323
923.5 Sat May 17 23:17:14 CEST 2008 3243.5 Sat May 17 23:17:14 CEST 2008
93 - gracefully deal with systems not defining CLOCK_MONOTONIC 325 - gracefully deal with systems not defining CLOCK_MONOTONIC
107 339
1083.41 Sun May 11 19:53:13 CEST 2008 3403.41 Sun May 11 19:53:13 CEST 2008
109 - 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.
110 342
1113.4 Sun May 11 00:29:25 CEST 2008 3433.4 Sun May 11 00:29:25 CEST 2008
112 - complete re-implementation of condvars with a hopefully much mroe useful 344 - complete re-implementation of condvars with a hopefully much more useful
113 API (backward compatible functions exist but are undocumented). 345 API (backward compatible functions exist but are undocumented).
114 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 346 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
115 (still subject to change). 347 (still subject to change).
116 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 348 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
117 - 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