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

Comparing AnyEvent/Changes (file contents):
Revision 1.242 by root, Mon Jun 22 11:57:05 2009 UTC vs.
Revision 1.350 by root, Mon Sep 28 17:30:53 2009 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: document ->loop, and maybe one_event. 3 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
4TODO: iolae.pl 4 (reported by Torsten Foertsch).
5
65.2 Mon Sep 14 07:04:49 CEST 2009
7 - INCOMPATIBLE CHANGE: do no longer support register_read_type
8 and register_write_type in AnyEvent::Handle, instead support
9 package names (the facility was mostly abused).
10 - implement "packagename-as-read/write type" support in
11 AnyEvent::Handle.
12 - AnyEvent::Handle: new options "keepalive" and "oobinline".
13 - oobinline set by default to avoid security issues.
14 - the pure-perl event loop backend wrongly detected times() fallback
15 support (spotted by Pavel Boldin).
16
175.12 Tue Sep 1 20:26:50 CEST 2009
18 - be more lenient when parsing resolv.conf files, as some people
19 use hashmarks as comment indicator inside directives (reported
20 by Michael S. Fischer).
21 - use same set of warnings as common::sense 2.0.
22 - fix a potential 32 bit overflow issue due to perl having problems
23 with large hex constants in the Perl backend.
24 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
25 by default.
26 - fix some prototypes.
27 - (optionally) require Async::Interrupt 1.02.
28 - replace opendns fallbacks by verizon/level3 public dns servers.
29
305.112 Fri Aug 21 13:59:04 CEST 2009
31 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
32 using starttls with an illegal/uncreatable tls context.
33 - port to broken win32 perls.
34
355.111 Sun Aug 16 18:44:36 CEST 2009
36 - perl errornously requires sockaddr_un structures returned by the
37 kernel to have a specific length. work around this bug by padding
38 sockaddr_un structures (found to fail on OS X, as perl only uses
39 the correct code for GNU/Linux, but likely to fail on other
40 OSes as well).
41
425.11 Wed Aug 12 17:49:37 CEST 2009
43 - fixed a bug in run_cmd with input from filename.
44 - create a json coder object when none is given in write direction
45 to reduce dependency on JSON.
46
475.1 Tue Aug 11 03:17:32 CEST 2009
48 - tcp_connect now reports the correct error in $!, not an unrelated
49 one (was broken since 4.91).
50 - AE::Handle did not properly clear rtimeout/wtimeout watchers
51 when retrying a tcp_connect.
52 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
53 - fixed wrong documentation in AE::Socket.
54
555.01 Mon Aug 10 03:16:32 CEST 2009
56 - last release broke EV child watchers :/.
57
585.0 Sun Aug 9 17:32:09 CEST 2009
59 - officially introduce and document the AE API.
60 - lowering the timeout at runtime did not have immediate effect
61 in AnyEvent::Handle.
62 - AE::Handle now has separate and independent read and write timeout
63 settings.
64 - probe for Guard module when AnyEvent::Util is loaded, not at
65 runtime (Event doesn't like eval "use" from callbacks, and it avoids
66 exporting the probe function).
67 - Impl::IOAsync's io watchers did not use the filehandle emulation
68 code to work around it's watcher limits.
69 - work around IO::Async's problems with overloaded objects.
70 - try to disable wearnings inside IO::Async, it's just too buggy.
71 - do no longer use Event by default, only EV or Perl, Event is too buggy.
72 - hackishly provide fast AE:: interface when EV or Perl is the backend.
73 - inherit VERSION from AnyEvent::VERSION in most modules.
74
754.91 Thu Aug 6 15:42:45 CEST 2009
76 - AE::Handle::starttls could get out of sync when the read buffer
77 already contains some TLS handshake.
78 - AE::Handle did not properly free the TLS session, causing bigger
79 memory leaks in Net::SSLeay than expected (reported by toaster).
80 - AE::Socket::tcp_connect will now artificially delay invoking
81 the callback to avoid returning after invoking the callback.
82 - convert many internal watcher uses to AE API.
83
844.9 Sat Aug 1 11:07:01 CEST 2009
85 - Glib silently fails when registering a timeout with
86 a negative value, so avoid that.
87 - call condvar callback immediately when it is set
88 after the condition is already signalled.
89 - check rbuf_max condition only after trying to consume
90 data.
91 - normalise signal numbers to names when using the ae's
92 signal handling, but do not document this (yet).
93 - pure perl signal emulation did not properly set nonblocking
94 mode on the signal pipe on win32 (this is unlikely to have caused
95 any issues).
96 - new module: AnyEvent::Debug.
97 - AnyEvent::Strict now checks that a signal was specified
98 by name (not name or number).
99 - reduce memory footprint in typical cases by ~50kb by
100 only compiling signal code when necessary.
101 - add AnyEvent::Handle->rbuf_max.
102 - grab the AE namespace for future new API, implement stubs for
103 said future/alternative API.
104 - new function: AnyEvent::Socket::format_hostport.
105
1064.881 Tue Jul 28 12:51:53 CEST 2009
107 - work around a bug in local in pre-5.10 perls, causing
108 AnyEvent::Handle to recurse when it should not
109 (analyzed by elmex).
110
1114.88 Tue Jul 28 04:04:37 CEST 2009
112 - re-bless the handle into a dummy package after calling
113 AnyEvent::Handle::destroy, so the user does not need to check
114 for errors after every push_write etc.
115 - do not attempt to run t/02_signals.t on obviously broken
116 platforms.
117
1184.87 Sun Jul 26 02:06:16 CEST 2009
119 - do not attempt to linger when there is no longer a valid fh.
120 - enforce tls mode to be either accept or connect, do not simply
121 segfault in Net::SSLeay.
122 - AnyEvent::Handle can now call tcp_connect itself (new parameters
123 connect, on_prepare, on_connect and on_connect_error). Updated
124 tutorial accordingly.
125 - add AnyEvent::Impl::Irssi backend.
126
1274.86 Mon Jul 20 23:52:29 CEST 2009
128 - since the verbose warning is not enough, explicitly document
129 that versions before 1.33 of Net::SSLeay are not secure.
130 - work around signal handling races in Event and (...) Event::Lib.
131 - try to align signal-race timer to full-second boundaries.
132 - work around Tk not liking negative timeouts.
133 - don't complain of different grades of environmental unfriendlyness
134 in IO::Async.
135
1364.85 Sat Jul 18 06:16:14 CEST 2009
137 - nail the signal race problem in perl once and for all
138 (see $AnyEvent::MAX_SIGNAL_LATENCY).
139 - take advantage of Async::Interrupt if it is available.
140 - load Time::HiRes and Guard modules on demand only.
141 - add optional/recommended modules section to AnyEvent
142 documentation.
143 - reduce memory usage considerably (and reduce startup penalty)
144 by not using "strict", "warnings" and "overload" modules.
145 - work around buggy windows/openbsd perls and provide EBADMSG
146 and EPROTO ourselves when missing.
147 - improve perl 5.6 compatibility of the core event loop.
148 - made Net::SSLeay version 1.33 a soft requirement.
149
1504.83 Fri Jul 17 16:56:26 CEST 2009
151 - implement AnyEvent::Socket::getprotobyname.
152 - AnyEvent::CondVar's will now detect recursive blocking
153 waits and will croak, as too many people fall into
154 this trap.
155 - AnyEvent::Handle will now call ->destroy on itself after
156 executing the on_error callback, instead of doing some
157 half-baked internal shutdown, for fatal errors.
158 - clarify on_eof behaviour w.r.t. the read queue and
159 on_read callbacks.
160 - ignore some possible spurious wake-ups in tcp_connect.
161
1624.82 Sat Jul 11 00:34:55 CEST 2009
163 - POE and Event backends didn't accept some callable objects as
164 callbacks.
165 - use Config module instead of POSIX module to detect signal names
166 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
167 module doesn't even have all POSIX signals :/.
168 - use more workarounds around the many refcnt/corruption bugs in
169 Event::Lib.
170 - work around a race condition in perl's select, causing t/03_child.t
171 to rarely fail.
172
1734.81 Thu Jul 9 10:30:30 CEST 2009
174 - AnyEvent::Handle didn't properly diagnose write errors
175 (it expected -1 from syswrite, how lame... :).
176 - support file descriptors in addition to file handles
177 in AnyEvent->io.
178 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
179 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
180 and PERL_ANYEVENT_CA_PATH.
181 - provide a sensible synopsis section for AnyEvent::TLS.
182 - add a "supported backends" section to the manpage.
183 - added simple io watcher test to testsuite, using a
184 portable_socketpair.
185 - tried to improve the stability of the Event::Lib backend,
186 YMMV.
187
1884.8 Mon Jul 6 23:45:16 CEST 2009
189 - AnyEvent::DNS did not properly follow CNAME records with
190 uppercase targets.
191 - AnyEvent::DNS would errornously return AAAA records
192 with v4 mapped addresses (a faulty record) as ipv4 addresses,
193 causing AnyEvent::Socket to throw an exception.
194 - added new module AnyEvent::TLS for easier SSL/TLS context
195 creation, with many options including hostname verification,
196 secure default configuration, lots of documentation and,
197 predefined diffie-hellman keys for perfect forward security
198 and much more. get it while it's still fresh!
199 - use AnyEvent::TLS in AnyEvent::Handle for context management.
200 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
201 so AnyEvent::Socket users have smaller memory footprint
202 in the common case.
203 - add AnyEvent::Handle->push_shutdown method.
204 - add an additional error message parameter to AnyEvent::Handle's
205 on_error callback (for TLS, $! is still available).
206 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
207 - make AnyEvent::Handle more robust against early conenction
208 failures (during new), and return C<undef> in that case
209 from the constructor.
210 - AnyEvent::Handle will now try to load only JSON::XS first,
211 then fall back to JSON.
212 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
213 and because it was documented that way.
214
2154.451 Fri Jul 3 00:28:58 CEST 2009
216 - do not clear rbuf when shutting down an AnyEvent::Handle
217 object - doing so breaks AnyEvent::HTTP.
218
2194.45 Mon Jun 29 22:59:26 CEST 2009
220 - a write error could cause AnyEvent::Handle to create
221 an I/O watcher with an undefined $fh.
222 - special-case mapped ipv4 addresses in both
223 AnyEvent::Socket::format_address and parse_address,
224 to treat them just like ipv4 addresses.
225 - updated and overhauled the AnyEvent::Intro doc.
226 - implement AnyEvent::Socket::format_ipv4/ipv6.
227 - slightly speed up portable_pipe/socketpair.
228 - expand condvar begin/end documentation.
229
2304.42 Fri Jun 26 08:32:18 CEST 2009
231 - preliminary and neccesarily incomplete support for IO::Async.
232 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
233 case it was set to IGNORE, to ensure we can catch child statuses
234 even when the calling env acts stupidly.
235 - updated benchmarks with IO::Async, which performs very well.
236
2374.412 Wed Jun 24 01:35:57 CEST 2009
5 - support an "untaint" attribute for AnyEvent::DNS 238 - support an "untaint" attribute for AnyEvent::DNS
6 and set it on the default resolver. 239 and set it on the default resolver.
7 - implement and document AnyEvent::Impl::Perl::loop. 240 - implement and document AnyEvent::Impl::Perl::loop.
8 - remove all anyevent-env variables from %ENV 241 - remove all anyevent-env variables from %ENV
9 when running in tainted mode. 242 when running in tainted mode.
243 - mention and extend the IO::Lambda benchmark.
10 244
114.411 Sun Jun 7 18:48:02 CEST 2009 2454.411 Sun Jun 7 18:48:02 CEST 2009
12 - do not try to use F_SETFD on windows. 246 - do not try to use F_SETFD on windows.
13 247
144.41 Thu May 14 06:40:11 CEST 2009 2484.41 Thu May 14 06:40:11 CEST 2009

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines