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

Comparing AnyEvent/Changes (file contents):
Revision 1.196 by root, Thu Oct 2 15:11:01 2008 UTC vs.
Revision 1.303 by root, Tue Jul 28 11:02:19 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines