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

Comparing AnyEvent/Changes (file contents):
Revision 1.314 by root, Fri Jul 31 07:57:43 2009 UTC vs.
Revision 1.437 by root, Fri Jan 21 13:20:38 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.9 3TODO: document TCP_*** constants
4TODO: catch AE::xxx for anyevent strict and anyevent debug
5TODO: anyevent::trace? or debug tracing all watchers?
6TODO: anyevent strict checking for $_ changes?
7
8TODO: resetttls?
9 - work around a POE bug where POE would first poll for new events and
10 invoke handlers BEFORE handling the message queue.
11 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
12 - stop_read now does just that in TLS mode. see its
13 documentation for caveats.
14 - update to common::sense 3.4 warning set.
15
165.3 Fri Dec 31 05:48:13 CET 2010
17 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
18 issues with IO::Async have been solved in that version, including
19 the availabilty of a default loop!
20 - implement new wbuf_max parameter for AnyEvent::Handle.
21 - added Cocoa::EventLoop backend by Daisuke Murase.
22 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
23 - clarify handle on_prepare documentation.
24 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
25 to avoid leaking them to any child processes.
26 - try to force files into the arch-dependend lib directory, for the
27 half-"turly obsessive compulsive person"(s) that depend on it.
28
295.29 Sun Dec 5 10:49:21 CET 2010
30 - convert EV backend to EV 4.00 API (so better upgrade EV too).
31 - AE::Handle: implement dynamic read_size adjustment, add
32 max_read_size parameter, reduce default read_size to 2048.
33 - add some FAQ entries for servers and/or on_eof vs. on_error.
34 - work around OS bugs (cygwin again) when lingering in AE::Handle.
35 - reduce memory usage slightly when connect was used in AE::Handle.
36 - wrok around more segfaults in Tk.
37 - document tls_ctx => undef as valid.
38 - detect WNOHANG value at compiletime.
39 - include some probably linux-only support for building AnyEvent
40 as part of the perl core.
41 - improve compatibility of t/08_idna.t to perl 5.8.
42 - make AnyEvent::Strict truly optional (in case somebody builds a
43 minimal perl...).
44
455.28 Wed Oct 13 04:14:23 CEST 2010
46 - due to a glitch, AnyEvent's internal getprotobyname wasn't
47 actually used in tcp_server.
48 - implement AnyEvent::CondVar->new method, which was documented but
49 missing.
50 - support autoloading of read types in unshift_read.
51 - AnyEvent::Strict: do the test for invalid fh arguments differently,
52 resulting in more informative error messages.
53 - new AnyEvent::FAQ manpage.
54 - clarify that you can actually call push_read etc. in on_read.
55 - put keys and certs in /tmp, not into the current directory,
56 and document this in the SECURITY CONSIDERATIONS sections
57 of AnyEvent::TLS.
58 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
59 requested by Ron Isaacson.
60 - document $AnyEvent::DNS::RESOLVER variable.
61 - incorporated major typo patches by Abhijit Menon-Sen.
62 - AnyEvent::Handle now croaks when negative timeouts are passed.
63 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
64 undocumented, but who knows when they might come in handy.
65
665.271 Tue Jun 8 12:05:46 CEST 2010
67 - backport to perl 5.8.x.
68
695.27 Sun Jun 6 12:12:05 CEST 2010
70 - postpone differently in AnyEvent::Socket now, as
71 when not, canceling the connection attempt might fail
72 (found by Felix Antonius Wilhelm Ostmann).
73 - explicitly check for non-stream sockets in AE::Handle, too many
74 clueless people fell into the trap of this somehow working.
75 - simplified and reworked the "OTHER MODULES" section.
76 - better/more condvar examples.
77
785.261 Wed Apr 28 16:13:36 CEST 2010
79 - AF_INET6 was not properly used from Socket6 during configuration
80 time (found by Andy Grundman).
81
825.26 Mon Apr 12 04:49:35 CEST 2010
83 - don't generate spurious readyness notifications when select
84 returns EINTR in the pure perl backend (analysed and testcase
85 by Bas Denissen).
86 - give same examples in SYNOPSIS sections of AnyEvent and AE.
87 - provider faster implementations for AE::time/now/now_update for
88 EV and Perl backends.
89 - provide faster AE::cv and AE::time implementations for all
90 backends.
91 - no longer support lower/mixed-case signal names (this was
92 never documented nor universally supported).
93 - some more memory ยต-optimisations, and somewhat less messy
94 code to cope with both AnyEvent and AE APIs.
95
965.251 Sat Mar 13 00:58:21 CET 2010
97 - make test failed if it was run before make install on perl <=
98 5.8.8, and older versions of perl make our live very difficult,
99 so write constants.pl during Makefile.PL time.
100
1015.25 Sat Mar 13 00:23:14 CET 2010
102 - fix a race condition in AnyEvent::Handle that would cause
103 a "bio_read: unsupported method" error (in _another_
104 ssl connection) after user code threw an exception.
105 - added AnyEvent::Handle->destroyed method.
106 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
107 - the AnyEvent::Util::fh_nonblocking function worked only
108 by lucky accident on win32.
109 - smaller and faster AnyEvent::Util::fh_nonblocking.
110 - when the (required!) Time::HiRes module is missing, AnyEvent
111 did not fall back to built-in time properly.
112 - do not load Fcntl at runtime, saving memory and loading time.
113 - precompile a number of constants and use them instead of runtime
114 detection and eval.
115 - free detection code after detection and similar memory optimisations.
116 - Perl backend timer interval best effort drift has been improved
117 (same algorithm as EV).
118 - update unicode idna mapping table.
119
1205.24 Tue Jan 5 11:39:43 CET 2010
121 - cygwin never reports errors from failed connects. 1.5 just gives
122 you continous readyness and EAGAIN, 1.7 is even more broken and
123 just hangs. work around both issues in a cygwin-specific hack.
124 - improve idle watcher documentation slightly.
125
1265.23 Sun Dec 20 23:48:00 CET 2009
127 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
128 - implement punycode_encode/decode, idn_nameprep,
129 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
130 - provide $AE::VERSION.
131 - removed traces of "no strict 'refs'".
132
1335.22 Sat Dec 5 03:51:13 CET 2009
134 - downgrade-or-fail in AnyEvent::Handle::push_write, to
135 diagnose encoding failures earlier and more succinctly.
136 (this works around bugs in perl, throwing away encoding info
137 when passing scalar data to extensions).
138 - add more examples to AnyEvent::Socket manpage.
139 - upgrade internal warning set to the same as common::sense 2.03.
140 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
141 (John Beppu).
142 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
143 - add google public dns servers to fallback server set and make sure
144 we load-balance properly between the three sets. also add all
145 fallback dns servers, not just a random one, to each dns config.
146
1475.21 Thu Nov 19 02:48:47 CET 2009
148 - fix a problem where socket constants were called with parameters
149 (spotted by David Friedland).
150 - fork_call never use'd POSIX (reported by Daisuke Maki).
151 - improve perl 5.6 compatibility further (but it still won't work
152 unless you rip out everything but the core).
153 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
154 uses 10MB of RAM, but doesn't open a console window. *sigh*.
155
1565.202 Wed Oct 14 22:35:44 CEST 2009
157 - AnyEvent::DNS would unexpectedly clobber $_ under windows
158 (analysed by Matthias Waldorf).
159 - AnyEvent::Handle::run_cmd can now pass the PID of the
160 newly-created process, which is much less useful than it might
161 sound (based on patch by Yann Kerherve).
162
1635.201 Tue Sep 29 12:09:25 CEST 2009
164 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
165 (reported by Torsten Foertsch).
166 - common::sense 2.0 could cause tcp_server to throw an exception
167 (analysed by elmex).
168
1695.2 Mon Sep 14 07:04:49 CEST 2009
170 - INCOMPATIBLE CHANGE: do no longer support register_read_type
171 and register_write_type in AnyEvent::Handle, instead support
172 package names (the facility was mostly abused).
173 - implement "packagename-as-read/write type" support in
174 AnyEvent::Handle.
175 - AnyEvent::Handle: new options "keepalive" and "oobinline".
176 - oobinline set by default to avoid security issues.
177 - the pure-perl event loop backend wrongly detected times() fallback
178 support (spotted by Pavel Boldin).
179
1805.12 Tue Sep 1 20:26:50 CEST 2009
181 - be more lenient when parsing resolv.conf files, as some people
182 use hashmarks as comment indicator inside directives (reported
183 by Michael S. Fischer).
184 - use same set of warnings as common::sense 2.0.
185 - fix a potential 32 bit overflow issue due to perl having problems
186 with large hex constants in the Perl backend.
187 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
188 by default.
189 - fix some prototypes.
190 - (optionally) require Async::Interrupt 1.02.
191 - replace opendns fallbacks by verizon/level3 public dns servers.
192
1935.112 Fri Aug 21 13:59:04 CEST 2009
194 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
195 using starttls with an illegal/uncreatable tls context.
196 - port to broken win32 perls.
197
1985.111 Sun Aug 16 18:44:36 CEST 2009
199 - perl errornously requires sockaddr_un structures returned by the
200 kernel to have a specific length. work around this bug by padding
201 sockaddr_un structures (found to fail on OS X, as perl only uses
202 the correct code for GNU/Linux, but likely to fail on other
203 OSes as well).
204
2055.11 Wed Aug 12 17:49:37 CEST 2009
206 - fixed a bug in run_cmd with input from filename.
207 - create a json coder object when none is given in write direction
208 to reduce dependency on JSON.
209
2105.1 Tue Aug 11 03:17:32 CEST 2009
211 - tcp_connect now reports the correct error in $!, not an unrelated
212 one (was broken since 4.91).
213 - AE::Handle did not properly clear rtimeout/wtimeout watchers
214 when retrying a tcp_connect.
215 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
216 - fixed wrong documentation in AE::Socket.
217
2185.01 Mon Aug 10 03:16:32 CEST 2009
219 - last release broke EV child watchers :/.
220
2215.0 Sun Aug 9 17:32:09 CEST 2009
222 - officially introduce and document the AE API.
223 - lowering the timeout at runtime did not have immediate effect
224 in AnyEvent::Handle.
225 - AE::Handle now has separate and independent read and write timeout
226 settings.
227 - probe for Guard module when AnyEvent::Util is loaded, not at
228 runtime (Event doesn't like eval "use" from callbacks, and it avoids
229 exporting the probe function).
230 - Impl::IOAsync's io watchers did not use the filehandle emulation
231 code to work around it's watcher limits.
232 - work around IO::Async's problems with overloaded objects.
233 - try to disable wearnings inside IO::Async, it's just too buggy.
234 - do no longer use Event by default, only EV or Perl, Event is too buggy.
235 - hackishly provide fast AE:: interface when EV or Perl is the backend.
236 - inherit VERSION from AnyEvent::VERSION in most modules.
237
2384.91 Thu Aug 6 15:42:45 CEST 2009
239 - AE::Handle::starttls could get out of sync when the read buffer
240 already contains some TLS handshake.
241 - AE::Handle did not properly free the TLS session, causing bigger
242 memory leaks in Net::SSLeay than expected (reported by toaster).
243 - AE::Socket::tcp_connect will now artificially delay invoking
244 the callback to avoid returning after invoking the callback.
245 - convert many internal watcher uses to AE API.
246
2474.9 Sat Aug 1 11:07:01 CEST 2009
4 - Glib silently fails when registering a timeout with 248 - Glib silently fails when registering a timeout with
5 a negative value, so avoid that. 249 a negative value, so avoid that.
250 - call condvar callback immediately when it is set
251 after the condition is already signalled.
6 - check rbuf_max condition only after trying to consume 252 - check rbuf_max condition only after trying to consume
7 data. 253 data.
8 - normalise signal numbers to names when using the ae's 254 - normalise signal numbers to names when using the ae's
9 signal handling, but do not document this (yet). 255 signal handling, but do not document this (yet).
10 - pure perl signal emulation did not properly set nonblocking 256 - pure perl signal emulation did not properly set nonblocking
16 - reduce memory footprint in typical cases by ~50kb by 262 - reduce memory footprint in typical cases by ~50kb by
17 only compiling signal code when necessary. 263 only compiling signal code when necessary.
18 - add AnyEvent::Handle->rbuf_max. 264 - add AnyEvent::Handle->rbuf_max.
19 - grab the AE namespace for future new API, implement stubs for 265 - grab the AE namespace for future new API, implement stubs for
20 said future/alternative API. 266 said future/alternative API.
267 - new function: AnyEvent::Socket::format_hostport.
21 268
224.881 Tue Jul 28 12:51:53 CEST 2009 2694.881 Tue Jul 28 12:51:53 CEST 2009
23 - work around a bug in local in pre-5.10 perls, causing 270 - work around a bug in local in pre-5.10 perls, causing
24 AnyEvent::Handle to recurse when it should not 271 AnyEvent::Handle to recurse when it should not
25 (analyzed by elmex). 272 (analysed by elmex).
26 273
274.88 Tue Jul 28 04:04:37 CEST 2009 2744.88 Tue Jul 28 04:04:37 CEST 2009
28 - re-bless the handle into a dummy package after calling 275 - re-bless the handle into a dummy package after calling
29 AnyEvent::Handle::destroy, so the user does not need to check 276 AnyEvent::Handle::destroy, so the user does not need to check
30 for errors after every push_write etc. 277 for errors after every push_write etc.
2524.3 Fri Oct 3 09:18:43 CEST 2008 4994.3 Fri Oct 3 09:18:43 CEST 2008
253 - AnyEvent will now install a no-op signal handler for SIGPIPE, 500 - AnyEvent will now install a no-op signal handler for SIGPIPE,
254 unless one has been installed already. 501 unless one has been installed already.
255 - warn about not loaidng AnyEvent::Impl::POE early enough 502 - warn about not loaidng AnyEvent::Impl::POE early enough
256 (patch by Adam Rosenstein). 503 (patch by Adam Rosenstein).
257 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 504 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
258 - fix a bug in where in SSL connect mode, the 505 - fix a bug in where in SSL connect mode, the
259 client would first wait for some data by the server and 506 client would first wait for some data by the server and
260 otherwise hang. (reported and analyzed in an absolutely 507 otherwise hang. (reported and analysed in an absolutely
261 exemplary manner by Adam Rosenstein). 508 exemplary manner by Adam Rosenstein).
262 - fix a bug in where SSL EOF would not be treated 509 - fix a bug in where SSL EOF would not be treated
263 as stream EOF, putting the connection into a hung state. 510 as stream EOF, putting the connection into a hung state.
264 (reported and analyzed in an absolutely exemplary manner by Adam 511 (reported and analysed in an absolutely exemplary manner by Adam
265 Rosenstein). 512 Rosenstein).
266 - fix a potential segfault when the TLS context 513 - fix a potential segfault when the TLS context
267 would go missing in a read callback (e.g. due to stoptls) - 514 would go missing in a read callback (e.g. due to stoptls) -
268 Net::SSLeay of course makes no type checking whatsoever. 515 Net::SSLeay of course makes no type checking whatsoever.
269 - AnyEvent::Handle will not stop the read watcher in TLS mode. 516 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines