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

Comparing AnyEvent/Changes (file contents):
Revision 1.189 by root, Sat Sep 6 10:54:32 2008 UTC vs.
Revision 1.293 by root, Sat Jul 18 22:24:17 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines