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

Comparing AnyEvent/Changes (file contents):
Revision 1.192 by root, Wed Oct 1 14:49:23 2008 UTC vs.
Revision 1.281 by root, Thu Jul 16 03:48:33 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines