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

Comparing AnyEvent/Changes (file contents):
Revision 1.201 by root, Tue Oct 28 08:18:34 2008 UTC vs.
Revision 1.317 by root, Mon Aug 3 20:51:01 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines