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

Comparing AnyEvent/Changes (file contents):
Revision 1.180 by root, Sun Jul 27 07:25:39 2008 UTC vs.
Revision 1.308 by root, Wed Jul 29 13:10:58 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: release a:i 1.0
4TODO: ae::strict should chekc for signal names (enforced)
5 - Glib silently fails when registering a timeout with
6 a negative value, so avoid that.
7 - normalise signal numbers to names when using the ae's
8 signal handling, but do not document this (yet).
9 - pure perl signal emulation did not properly set nonblocking
10 mode on the signal pipe on win32 (this is unlikely to have caused
11 any issues).
12 - reduce memory footprint int ypical cases by ~50kb by
13 only compiling signal code when necessary.
14
154.881 Tue Jul 28 12:51:53 CEST 2009
16 - work around a bug in local in pre-5.10 perls, causing
17 AnyEvent::Handle to recurse when it should not
18 (analyzed by elmex).
19
204.88 Tue Jul 28 04:04:37 CEST 2009
21 - re-bless the handle into a dummy package after calling
22 AnyEvent::Handle::destroy, so the user does not need to check
23 for errors after every push_write etc.
24 - do not attempt to run t/02_signals.t on obviously broken
25 platforms.
26
274.87 Sun Jul 26 02:06:16 CEST 2009
28 - do not attempt to linger when there is no longer a valid fh.
29 - enforce tls mode to be either accept or connect, do not simply
30 segfault in Net::SSLeay.
31 - AnyEvent::Handle can now call tcp_connect itself (new parameters
32 connect, on_prepare, on_connect and on_connect_error). Updated
33 tutorial accordingly.
34 - add AnyEvent::Impl::Irssi backend.
35
364.86 Mon Jul 20 23:52:29 CEST 2009
37 - since the verbose warning is not enough, explicitly document
38 that versions before 1.33 of Net::SSLeay are not secure.
39 - work around signal handling races in Event and (...) Event::Lib.
40 - try to align signal-race timer to full-second boundaries.
41 - work around Tk not liking negative timeouts.
42 - don't complain of different grades of environmental unfriendlyness
43 in IO::Async.
44
454.85 Sat Jul 18 06:16:14 CEST 2009
46 - nail the signal race problem in perl once and for all
47 (see $AnyEvent::MAX_SIGNAL_LATENCY).
48 - take advantage of Async::Interrupt if it is available.
49 - load Time::HiRes and Guard modules on demand only.
50 - add optional/recommended modules section to AnyEvent
51 documentation.
52 - reduce memory usage considerably (and reduce startup penalty)
53 by not using "strict", "warnings" and "overload" modules.
54 - work around buggy windows/openbsd perls and provide EBADMSG
55 and EPROTO ourselves when missing.
56 - improve perl 5.6 compatibility of the core event loop.
57 - made Net::SSLeay version 1.33 a soft requirement.
58
594.83 Fri Jul 17 16:56:26 CEST 2009
60 - implement AnyEvent::Socket::getprotobyname.
61 - AnyEvent::CondVar's will now detect recursive blocking
62 waits and will croak, as too many people fall into
63 this trap.
64 - AnyEvent::Handle will now call ->destroy on itself after
65 executing the on_error callback, instead of doing some
66 half-baked internal shutdown, for fatal errors.
67 - clarify on_eof behaviour w.r.t. the read queue and
68 on_read callbacks.
69 - ignore some possible spurious wake-ups in tcp_connect.
70
714.82 Sat Jul 11 00:34:55 CEST 2009
72 - POE and Event backends didn't accept some callable objects as
73 callbacks.
74 - use Config module instead of POSIX module to detect signal names
75 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
76 module doesn't even have all POSIX signals :/.
77 - use more workarounds around the many refcnt/corruption bugs in
78 Event::Lib.
79 - work around a race condition in perl's select, causing t/03_child.t
80 to rarely fail.
81
824.81 Thu Jul 9 10:30:30 CEST 2009
83 - AnyEvent::Handle didn't properly diagnose write errors
84 (it expected -1 from syswrite, how lame... :).
85 - support file descriptors in addition to file handles
86 in AnyEvent->io.
87 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
88 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
89 and PERL_ANYEVENT_CA_PATH.
90 - provide a sensible synopsis section for AnyEvent::TLS.
91 - add a "supported backends" section to the manpage.
92 - added simple io watcher test to testsuite, using a
93 portable_socketpair.
94 - tried to improve the stability of the Event::Lib backend,
95 YMMV.
96
974.8 Mon Jul 6 23:45:16 CEST 2009
98 - AnyEvent::DNS did not properly follow CNAME records with
99 uppercase targets.
100 - AnyEvent::DNS would errornously return AAAA records
101 with v4 mapped addresses (a faulty record) as ipv4 addresses,
102 causing AnyEvent::Socket to throw an exception.
103 - added new module AnyEvent::TLS for easier SSL/TLS context
104 creation, with many options including hostname verification,
105 secure default configuration, lots of documentation and,
106 predefined diffie-hellman keys for perfect forward security
107 and much more. get it while it's still fresh!
108 - use AnyEvent::TLS in AnyEvent::Handle for context management.
109 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
110 so AnyEvent::Socket users have smaller memory footprint
111 in the common case.
112 - add AnyEvent::Handle->push_shutdown method.
113 - add an additional error message parameter to AnyEvent::Handle's
114 on_error callback (for TLS, $! is still available).
115 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
116 - make AnyEvent::Handle more robust against early conenction
117 failures (during new), and return C<undef> in that case
118 from the constructor.
119 - AnyEvent::Handle will now try to load only JSON::XS first,
120 then fall back to JSON.
121 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
122 and because it was documented that way.
123
1244.451 Fri Jul 3 00:28:58 CEST 2009
125 - do not clear rbuf when shutting down an AnyEvent::Handle
126 object - doing so breaks AnyEvent::HTTP.
127
1284.45 Mon Jun 29 22:59:26 CEST 2009
129 - a write error could cause AnyEvent::Handle to create
130 an I/O watcher with an undefined $fh.
131 - special-case mapped ipv4 addresses in both
132 AnyEvent::Socket::format_address and parse_address,
133 to treat them just like ipv4 addresses.
134 - updated and overhauled the AnyEvent::Intro doc.
135 - implement AnyEvent::Socket::format_ipv4/ipv6.
136 - slightly speed up portable_pipe/socketpair.
137 - expand condvar begin/end documentation.
138
1394.42 Fri Jun 26 08:32:18 CEST 2009
140 - preliminary and neccesarily incomplete support for IO::Async.
141 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
142 case it was set to IGNORE, to ensure we can catch child statuses
143 even when the calling env acts stupidly.
144 - updated benchmarks with IO::Async, which performs very well.
145
1464.412 Wed Jun 24 01:35:57 CEST 2009
147 - support an "untaint" attribute for AnyEvent::DNS
148 and set it on the default resolver.
149 - implement and document AnyEvent::Impl::Perl::loop.
150 - remove all anyevent-env variables from %ENV
151 when running in tainted mode.
152 - mention and extend the IO::Lambda benchmark.
153
1544.411 Sun Jun 7 18:48:02 CEST 2009
155 - do not try to use F_SETFD on windows.
156
1574.41 Thu May 14 06:40:11 CEST 2009
158 - work around issues in older perls (5.8.0?) when
159 a signal handler is deleted from the %SIG hash.
160 - use POSIX::_exit in child test, to avoid running
161 destructors.
162 - speed up CHLD handling by relying on SIGCHLD being
163 synchronously delivered, even when we roll our own
164 implementation.
165 - AnyEvent::DNS: add the "dname" resource record name
166 for cosmetic reasons.
167
1684.4 Sun Apr 26 20:12:33 CEST 2009
169 - implemented idle watchers, where applicable.
170 - AnyEvent->time died when Event backend was in use.
171 - fix a memleak in the Tk backend.
172 - sped up Tk timer handling.
173 - clip negative "after" values to 0 in AnyEvent::Impl::Event
174 to avoid spamming out warning messages.
175 - fix Qt timers without interval.
176 - avoid Qt zero-timeout special case, in old libqt's.
177
1784.352 Mon Apr 20 16:31:11 CEST 2009
179 - fix AnyEvent::Strict error messages for child watchers.
180 - fix/update Makefile.PL "recommends" versions.
181 - add AnyEvent->now_update.
182
1834.351 Sat Apr 11 07:56:14 CEST 2009
184 - actually make the signal pipe work under win32.
185 - localise $! in signal handler to avoid changing $!, although
186 perl itself does not seem to save/restore errno either.
187 - set the cloexec flag on the signal pipe (normally set by perl too).
188
1894.35 Fri Mar 27 11:48:20 CET 2009
190 - event models relying on AnyEvent's signal watcher emulation did
191 invoke the callback asynchronously, contradicting documentation
192 and causing signals to get lost (this includes AnyEvent's own
193 event loop). AnyEvent now uses the standard pipe trick to make
194 callback execution synchronous to the event loop.
195 - AnyEvent::Handle didn't free TLS context data on DESTROY
196 (patch by Pavel Shaydo).
197 - work around the ever-incompatibly-changing API of MakeMaker.
198 - document that changing global variables without restoring them
199 is a bad idea in Perl (noted by Adam Rosenstein).
200 - AnyEvent::Strict now barfs if ->io is passed a file.
201
2024.34 Thu Feb 12 18:32:45 CET 2009
203 - separately buffer TLS read data, as otherwise the read queue could
204 deadlock as receiving data is not expected while draining the
205 read queue (which cna only happen with TLS).
206 - raise EBADMSG error on JSON decoding errors.
207 - fix some minor manpage bugs (reported by Maximilian Gaß).
208 - speed up select bitmask parsing quite a bit in the pure perl
209 backend.
210 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
211
2124.331 Tue Jan 6 21:07:25 CET 2009
213 - socketpair fails on many vista machines because vista has
214 completely broken accept/getpeername and getsockname functions,
215 so we provide our own socketpair emulation that kind of works
216 (AnyEvent::Util::portable_pipe).
217 - new function: AnyEvent::Util::portable_socketpair.
218 - take advantage of the Guard module if it exists.
219
2204.33 Fri Nov 21 02:35:40 CET 2008
221 - AnyEvent::Strict did errornously flag a fileno of 0 as
222 illegal.
223 - reduce memory usage and slightly speed up the pure perl backend
224 by only storing the file descriptor, not the file handle.
225 - add missing autocork method to AnyEvent::Handle (reported
226 by Adam Rosenstein).
227 - AnyEvent::DNS->resolve errornously documented an $rcode result
228 argument, but there isn't (spotted by Henrik Krohns).
229 - the naked truth about Tk - it's basically unmaintained.
230
2314.32 Mon Nov 3 22:46:32 CET 2008
232 - fix AnyEvent::Socket::resolve_sockaddr to properly support
233 unix sockets again and choose a proper default for
234 the socket type.
235 - fix call to resolve_sockaddr in tcp_connect.
236
2374.31 Thu Oct 30 04:41:48 CET 2008
238 - implemented AnyEvent::Handle->destroy method.
239 - hint about unexpected effects in TLS mode.
240 - speed up AnyEvent::Impl::Perl by using more arrays
241 instead of hashes without the slightest loss of readability :)
242 - work around a perl argument refcounting bug.
243 - with some perl patches applied, AnyEvent now seems leak-free.
244
2454.3 Fri Oct 3 09:18:43 CEST 2008
246 - AnyEvent will now install a no-op signal handler for SIGPIPE,
247 unless one has been installed already.
248 - warn about not loaidng AnyEvent::Impl::POE early enough
249 (patch by Adam Rosenstein).
250 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
251 - fix a bug in where in SSL connect mode, the
252 client would first wait for some data by the server and
253 otherwise hang. (reported and analyzed in an absolutely
254 exemplary manner by Adam Rosenstein).
255 - fix a bug in where SSL EOF would not be treated
256 as stream EOF, putting the connection into a hung state.
257 (reported and analyzed in an absolutely exemplary manner by Adam
258 Rosenstein).
259 - fix a potential segfault when the TLS context
260 would go missing in a read callback (e.g. due to stoptls) -
261 Net::SSLeay of course makes no type checking whatsoever.
262 - AnyEvent::Handle will not stop the read watcher in TLS mode.
263 - AnyEvent::Handle->stoptls will send a TLS close notify
264 instead of simply destroying the stream now.
265 - fix a bug where large blocks of data written in TLS mode
266 would not be sent unless triggered by receives.
267 - on_drain will now take the tls write buffer into account.
268 - SSL operations have been streamlined a bit and should be faster
269 now, more to come, though.
270 - added a FAQ section, will document nontrivial issues in there.
271
2724.234 Mon Sep 29 04:08:13 CEST 2008
273 - fix child watcher documentation: only child exits will be reported,
274 no trace events.
275 - mention SIGPIPE in AnyEvent::Handle.
276 - perl backend will now use POSIX::times as monotonic clock
277 when available and the monotonic clock option is not.
278 - run even without Time::HiRes in some cases now, but do not
279 provide sub-second accuracy (all *supported* perl versions have
280 Time::HiRes).
281
2824.233 Fri Aug 22 01:48:05 CEST 2008
283 - fix a bug in the testsuite, causing a hang.
284 - clarified lots of AnyEvent::Handle constructor arguments.
285
2864.232 Thu Aug 21 20:44:25 CEST 2008
287 - fix a bug in AnyEvent::Handle that could cause two fatal error
288 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
289 (testcase by Leon Brocard).
290 - clarified on_eof/on_error documentation a bit.
291
2924.231 Tue Jul 29 13:12:15 CEST 2008
293 - remove some debugging code left in AnyEvent::Util::fork_call
294 (and no, it's impossible to implement with the broken windows
295 perls without resource leaks or worse).
296
2974.23 Tue Jul 29 12:19:59 CEST 2008
3 - document the first parameter passed to condvar callbacks to be 298 - document the first parameter passed to condvar callbacks to be
4 the callback. 299 the callback.
5 - add AnyEvent::Socket::{ntoa,aton} aliases. 300 - add AnyEvent::Socket::{ntoa,aton} aliases.
6 - optimize the AE::Handle->push_read (line) for the default 301 - optimize the AE::Handle->push_read (line) for the default
7 eol marker. 302 eol marker.
8 - optimize push_read (packstring|storable) for small packets. 303 - optimize push_read (packstring|storable) for small packets.
304 - invoke on_error callback when no on_eof callback is set.
9 - fix a bug in push_read (storable) of unknown impact. 305 - fix a bug in push_read (storable) of unknown impact.
10 306
114.22 Sun Jul 20 16:34:13 CEST 2008 3074.22 Sun Jul 20 16:34:13 CEST 2008
12 - new function AnyEvent::Socket::parse_hostport. 308 - new function AnyEvent::Socket::parse_hostport.
13 - as the bulkheads at microsoft can't even get getprotobyname reliably 309 - as the bulkheads at microsoft can't even get getprotobyname reliably
195 - support service names in tcp_connect and tcp_server. 491 - support service names in tcp_connect and tcp_server.
196 - work around netbsd/openbsd bug causing unix sockets not to 492 - work around netbsd/openbsd bug causing unix sockets not to
197 become writable until empty. 493 become writable until empty.
198 - only make a dummy read for error detection when getpeername 494 - only make a dummy read for error detection when getpeername
199 returns ENOTCONN. 495 returns ENOTCONN.
200 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 496 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
201 override. 497 override.
202 - new AnyEvent::Guard::cancel. 498 - new AnyEvent::Guard::cancel.
203 499
2043.5 Sat May 17 23:17:14 CEST 2008 5003.5 Sat May 17 23:17:14 CEST 2008
205 - gracefully deal with systems not defining CLOCK_MONOTONIC 501 - gracefully deal with systems not defining CLOCK_MONOTONIC
219 515
2203.41 Sun May 11 19:53:13 CEST 2008 5163.41 Sun May 11 19:53:13 CEST 2008
221 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 517 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
222 518
2233.4 Sun May 11 00:29:25 CEST 2008 5193.4 Sun May 11 00:29:25 CEST 2008
224 - complete re-implementation of condvars with a hopefully much mroe useful 520 - complete re-implementation of condvars with a hopefully much more useful
225 API (backward compatible functions exist but are undocumented). 521 API (backward compatible functions exist but are undocumented).
226 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 522 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
227 (still subject to change). 523 (still subject to change).
228 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 524 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
229 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 525 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines