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

Comparing AnyEvent/Changes (file contents):
Revision 1.190 by root, Mon Sep 29 02:08:57 2008 UTC vs.
Revision 1.287 by root, Fri Jul 17 22:05:12 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2
3 - improve perl 5.6 compatibility of the core event loop.
4 - nail the signal race problem in perl once and for all
5 (see $AnyEvent::MAX_SIGNAL_LATENCY).
6 - take advantage of Async::Interrupt if it is available.
7 - load Time::HiRes and Guard modules on demand only.
8 - add optional/recommended modules section to AnyEvent
9 documentation.
10
114.83 Fri Jul 17 16:56:26 CEST 2009
12 - implement AnyEvent::Socket::getprotobyname.
13 - AnyEvent::CondVar's will now detect recursive blocking
14 waits and will croak, as too many people fall into
15 this trap.
16 - AnyEvent::Handle will now call ->destroy on itself after
17 executing the on_error callback, instead of doing some
18 half-baked internal shutdown, for fatal errors.
19 - clarify on_eof behaviour w.r.t. the read queue and
20 on_read callbacks.
21 - ignore some possible spurious wake-ups in tcp_connect.
22
234.82 Sat Jul 11 00:34:55 CEST 2009
24 - POE and Event backends didn't accept some callable objects as
25 callbacks.
26 - use Config module instead of POSIX module to detect signal names
27 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
28 module doesn't even have all POSIX signals :/.
29 - use more workarounds around the many refcnt/corruption bugs in
30 Event::Lib.
31 - work around a race condition in perl's select, causing t/03_child.t
32 to rarely fail.
33
344.81 Thu Jul 9 10:30:30 CEST 2009
35 - AnyEvent::Handle didn't properly diagnose write errors
36 (it expected -1 from syswrite, how lame... :).
37 - support file descriptors in addition to file handles
38 in AnyEvent->io.
39 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
40 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
41 and PERL_ANYEVENT_CA_PATH.
42 - provide a sensible synopsis section for AnyEvent::TLS.
43 - add a "supported backends" section to the manpage.
44 - added simple io watcher test to testsuite, using a
45 portable_socketpair.
46 - tried to improve the stability of the Event::Lib backend,
47 YMMV.
48
494.8 Mon Jul 6 23:45:16 CEST 2009
50 - AnyEvent::DNS did not properly follow CNAME records with
51 uppercase targets.
52 - AnyEvent::DNS would errornously return AAAA records
53 with v4 mapped addresses (a faulty record) as ipv4 addresses,
54 causing AnyEvent::Socket to throw an exception.
55 - added new module AnyEvent::TLS for easier SSL/TLS context
56 creation, with many options including hostname verification,
57 secure default configuration, lots of documentation and,
58 predefined diffie-hellman keys for perfect forward security
59 and much more. get it while it's still fresh!
60 - use AnyEvent::TLS in AnyEvent::Handle for context management.
61 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
62 so AnyEvent::Socket users have smaller memory footprint
63 in the common case.
64 - add AnyEvent::Handle->push_shutdown method.
65 - add an additional error message parameter to AnyEvent::Handle's
66 on_error callback (for TLS, $! is still available).
67 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
68 - make AnyEvent::Handle more robust against early conenction
69 failures (during new), and return C<undef> in that case
70 from the constructor.
71 - AnyEvent::Handle will now try to load only JSON::XS first,
72 then fall back to JSON.
73 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
74 and because it was documented that way.
75
764.451 Fri Jul 3 00:28:58 CEST 2009
77 - do not clear rbuf when shutting down an AnyEvent::Handle
78 object - doing so breaks AnyEvent::HTTP.
79
804.45 Mon Jun 29 22:59:26 CEST 2009
81 - a write error could cause AnyEvent::Handle to create
82 an I/O watcher with an undefined $fh.
83 - special-case mapped ipv4 addresses in both
84 AnyEvent::Socket::format_address and parse_address,
85 to treat them just like ipv4 addresses.
86 - updated and overhauled the AnyEvent::Intro doc.
87 - implement AnyEvent::Socket::format_ipv4/ipv6.
88 - slightly speed up portable_pipe/socketpair.
89 - expand condvar begin/end documentation.
90
914.42 Fri Jun 26 08:32:18 CEST 2009
92 - preliminary and neccesarily incomplete support for IO::Async.
93 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
94 case it was set to IGNORE, to ensure we can catch child statuses
95 even when the calling env acts stupidly.
96 - updated benchmarks with IO::Async, which performs very well.
97
984.412 Wed Jun 24 01:35:57 CEST 2009
99 - support an "untaint" attribute for AnyEvent::DNS
100 and set it on the default resolver.
101 - implement and document AnyEvent::Impl::Perl::loop.
102 - remove all anyevent-env variables from %ENV
103 when running in tainted mode.
104 - mention and extend the IO::Lambda benchmark.
105
1064.411 Sun Jun 7 18:48:02 CEST 2009
107 - do not try to use F_SETFD on windows.
108
1094.41 Thu May 14 06:40:11 CEST 2009
110 - work around issues in older perls (5.8.0?) when
111 a signal handler is deleted from the %SIG hash.
112 - use POSIX::_exit in child test, to avoid running
113 destructors.
114 - speed up CHLD handling by relying on SIGCHLD being
115 synchronously delivered, even when we roll our own
116 implementation.
117 - AnyEvent::DNS: add the "dname" resource record name
118 for cosmetic reasons.
119
1204.4 Sun Apr 26 20:12:33 CEST 2009
121 - implemented idle watchers, where applicable.
122 - AnyEvent->time died when Event backend was in use.
123 - fix a memleak in the Tk backend.
124 - sped up Tk timer handling.
125 - clip negative "after" values to 0 in AnyEvent::Impl::Event
126 to avoid spamming out warning messages.
127 - fix Qt timers without interval.
128 - avoid Qt zero-timeout special case, in old libqt's.
129
1304.352 Mon Apr 20 16:31:11 CEST 2009
131 - fix AnyEvent::Strict error messages for child watchers.
132 - fix/update Makefile.PL "recommends" versions.
133 - add AnyEvent->now_update.
134
1354.351 Sat Apr 11 07:56:14 CEST 2009
136 - actually make the signal pipe work under win32.
137 - localise $! in signal handler to avoid changing $!, although
138 perl itself does not seem to save/restore errno either.
139 - set the cloexec flag on the signal pipe (normally set by perl too).
140
1414.35 Fri Mar 27 11:48:20 CET 2009
142 - event models relying on AnyEvent's signal watcher emulation did
143 invoke the callback asynchronously, contradicting documentation
144 and causing signals to get lost (this includes AnyEvent's own
145 event loop). AnyEvent now uses the standard pipe trick to make
146 callback execution synchronous to the event loop.
147 - AnyEvent::Handle didn't free TLS context data on DESTROY
148 (patch by Pavel Shaydo).
149 - work around the ever-incompatibly-changing API of MakeMaker.
150 - document that changing global variables without restoring them
151 is a bad idea in Perl (noted by Adam Rosenstein).
152 - AnyEvent::Strict now barfs if ->io is passed a file.
153
1544.34 Thu Feb 12 18:32:45 CET 2009
155 - separately buffer TLS read data, as otherwise the read queue could
156 deadlock as receiving data is not expected while draining the
157 read queue (which cna only happen with TLS).
158 - raise EBADMSG error on JSON decoding errors.
159 - fix some minor manpage bugs (reported by Maximilian Gaß).
160 - speed up select bitmask parsing quite a bit in the pure perl
161 backend.
162 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
163
1644.331 Tue Jan 6 21:07:25 CET 2009
165 - socketpair fails on many vista machines because vista has
166 completely broken accept/getpeername and getsockname functions,
167 so we provide our own socketpair emulation that kind of works
168 (AnyEvent::Util::portable_pipe).
169 - new function: AnyEvent::Util::portable_socketpair.
170 - take advantage of the Guard module if it exists.
171
1724.33 Fri Nov 21 02:35:40 CET 2008
173 - AnyEvent::Strict did errornously flag a fileno of 0 as
174 illegal.
175 - reduce memory usage and slightly speed up the pure perl backend
176 by only storing the file descriptor, not the file handle.
177 - add missing autocork method to AnyEvent::Handle (reported
178 by Adam Rosenstein).
179 - AnyEvent::DNS->resolve errornously documented an $rcode result
180 argument, but there isn't (spotted by Henrik Krohns).
181 - the naked truth about Tk - it's basically unmaintained.
182
1834.32 Mon Nov 3 22:46:32 CET 2008
184 - fix AnyEvent::Socket::resolve_sockaddr to properly support
185 unix sockets again and choose a proper default for
186 the socket type.
187 - fix call to resolve_sockaddr in tcp_connect.
188
1894.31 Thu Oct 30 04:41:48 CET 2008
190 - implemented AnyEvent::Handle->destroy method.
191 - hint about unexpected effects in TLS mode.
192 - speed up AnyEvent::Impl::Perl by using more arrays
193 instead of hashes without the slightest loss of readability :)
194 - work around a perl argument refcounting bug.
195 - with some perl patches applied, AnyEvent now seems leak-free.
196
1974.3 Fri Oct 3 09:18:43 CEST 2008
198 - AnyEvent will now install a no-op signal handler for SIGPIPE,
199 unless one has been installed already.
200 - warn about not loaidng AnyEvent::Impl::POE early enough
201 (patch by Adam Rosenstein).
202 - fixed a great number of bugs and corner cases in AnyEvent::Handle:
203 - fix a bug in where in SSL connect mode, the
204 client would first wait for some data by the server and
205 otherwise hang. (reported and analyzed in an absolutely
206 exemplary manner by Adam Rosenstein).
207 - fix a bug in where SSL EOF would not be treated
208 as stream EOF, putting the connection into a hung state.
209 (reported and analyzed in an absolutely exemplary manner by Adam
210 Rosenstein).
211 - fix a potential segfault when the TLS context
212 would go missing in a read callback (e.g. due to stoptls) -
213 Net::SSLeay of course makes no type checking whatsoever.
214 - AnyEvent::Handle will not stop the read watcher in TLS mode.
215 - AnyEvent::Handle->stoptls will send a TLS close notify
216 instead of simply destroying the stream now.
217 - fix a bug where large blocks of data written in TLS mode
218 would not be sent unless triggered by receives.
219 - on_drain will now take the tls write buffer into account.
220 - SSL operations have been streamlined a bit and should be faster
221 now, more to come, though.
222 - added a FAQ section, will document nontrivial issues in there.
2 223
34.234 Mon Sep 29 04:08:13 CEST 2008 2244.234 Mon Sep 29 04:08:13 CEST 2008
4 - fix child watcher documentation: only child exits will be reported, 225 - fix child watcher documentation: only child exits will be reported,
5 no trace events. 226 no trace events.
6 - mention SIGPIPE in AnyEvent::Handle. 227 - mention SIGPIPE in AnyEvent::Handle.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines