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

Comparing AnyEvent/Changes (file contents):
Revision 1.216 by root, Sun Feb 8 00:20:53 2009 UTC vs.
Revision 1.314 by root, Fri Jul 31 07:57:43 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines