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

Comparing AnyEvent/Changes (file contents):
Revision 1.199 by root, Thu Oct 23 19:03:30 2008 UTC vs.
Revision 1.320 by root, Thu Aug 6 13:31:01 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines