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

Comparing AnyEvent/Changes (file contents):
Revision 1.347 by root, Thu Sep 3 19:48:27 2009 UTC vs.
Revision 1.501 by root, Thu Sep 1 04:07:17 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: packagename for ae types 3TODO: document TCP_*** constants
4 4
5TODO: ae::stritc, regulalry check for invalid fds?
6TODO: critical messages log by default?
7TODO: document- boosted default logging level to critical.
8TOOD: stop internals abusing
9TODO: set loglevel to warn, even, as thats recommended?
10TODO: document default loglevel in table
11TODO: AE_LOG in tutorial?
12TODO: add google ipv6 public dns
13 - increase signal latency test timer considerably for poor little osx.
14
156.02 Fri Aug 26 20:08:31 CEST 2011
16 - log_to_syslog now accepts facility strings.
17 - log_to_syslog would not allow facilities - "$facility|$level"
18 *literally* means that string. sheesh.
19 - the CPAN parser got confused and thought we provide Sys::Syslog, try
20 to work around.
21 - renamed AnyEvent::Impl::FLTK2 to FLTK.
22
236.01 Fri Aug 26 07:04:11 CEST 2011
24 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
25 the TTL as fourth element - this affects ->resolve, ->request
26 and ->dns_unpack indirectly. Convenience functions such as
27 AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is
28 AnyEvent::Socket.
29 - INCOMPATIBLE CHANGE: backend authors now should not implement
30 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll
31 methods.
32 - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see
33 AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details.
34 - DEPRECIATION: please change
35 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and
36 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run"
37 in your programs, for future compatibility.
38 - *blush* idle watcher emulation was borked.
39 - AnyEvent::Strict now checks the AE::xxx functions as well.
40 - querying too long domain names would barf deep inside AnyEvent::DNS - since
41 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for
42 for too long domain names explicitly and passes an undef to the callback
43 instead (reported by James Bromberger).
44 - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield).
45 - new functions: AnyEvent::postpone, AnyEvent::log.
46 - new module: AnyEvent::Log, for simple logging needs.
47 - new env variable, PERL_ANYEVENT_LOG, for fine-grained logging config.
48 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start
49 a debug shell.
50 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable
51 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap).
52 - new env variable, PERL_ANYEVENT_HOSTS, to override the place where
53 F</etc/hosts> can be found.
54 - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default
55 configuration.
56 - env variables can now be specified using AE_xyz instead of
57 PERL_ANYEVENT_xyz, subject to some rules.
58 - lots of new AnyEvent::Debug functionality.
59 - AnyEvent::Strict now checks for modifications $_ by the callback
60 (by setting it to readonly while executing the callback, if possible).
61 - IO::Async sometimes cancels the wrong timer when you call cancel_timer.
62 Invest extra overhead to work around this peculiar behaviour.
63 - split the pure perl backend into a loop module and an impl
64 module (AnyEvent::Loop and AnyEvent::Impl::Perl).
65 - some read types (regex, netstring, json, storable) could
66 errornously keep an AE::Handle object alive on their own
67 (reported by Mohammad Toossi).
68 - AnyEvent::Socket::resolve_sockaddr and all functions using it now
69 supports /etc/hosts overrides.
70 - add more workarounds around child watcher bugs in IO::Async
71 and (newly introduced) in POE.
72 - use glib child watchers and try to work around its limitations,
73 if possible (based on a patch by Kevin Ryde).
74 - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2.
75 - many read types in AnyEvent::Handle would malfunction during
76 transitions to TLS because of a "delete $self->{rbuf}".
77 (reported by Gerald Galster).
78 - improve condvar blocking wait performance (probably only noticable
79 with faster backends), also make it easier for event loops that
80 do not support blocking waits.
81 - PERL_ANYEVENT_MODEL now also allows full module names, although
82 the usefulness of this feature is not yet clear.
83 - add tests for all supported event loops, conditional on PERL_ANYEVENT_LOOP_TESTS.
84 - add t/80_ssltext.t.
85 - no longer use AUTOLOAD for the initial loading (for no very good reason).
86 - tcp_server now tries to unlink unix domain sockets when it gets destroyed.
87 - do not run event loop detection multiple times when programs call their cached
88 copies of AnyEvent::detect.
89 - parse_hostport now accepts absolute paths als unix domain sockets.
90 - suppress the idiotic warning inside POE by patching the POE::Kernel
91 run flags instead of asking the user to jump through contortions.
92 - add Task::Weaken as dependency (as recommends only at this time).
93 - replace PF_UNSPEC by 0, for good old minix.
94
956.0 (not officially released, but was on CPAN for about 15 minutes :/)
96
975.34 Thu May 12 09:59:41 CEST 2011
98 - AE::TLS didn't support both cert_file and key at the same time,
99 due to some copy&paste bug (reported and analyzed by vti).
100 - improve AE::Handle timeout documentation slightly.
101
1025.33 Mon Feb 7 21:51:41 CET 2011
103 - never appeared on CPAN, for unknown reasons.
104 - AnyEvent::Handle on_connect_error - do not try to destroy a handle
105 object when it's already gone (analyzed by Ryan Bullock).
106 - update idna algorithm(s) to UTS#46 version 6.0.0.
107 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
108 uts46 says it's an error, and testsuite makes more sense.
109 - remove leading dots in idn_to_ascii - testsuite says to remove,
110 uts46 says it's an error, and testsuite makes more sense.
111 - fixed a bug in idn ignored character processing.
112 - passes the uts46 6.0.0 testsuite except for three cases which
113 apparently are bugs in the testsuite itself.
114 - passes the uts46 6.0.1 testsuite except for eleven cases which
115 apparently are bugs in the testsuite itself.
116
1175.31 Sun Jan 23 11:49:19 CET 2011
118 - work around a POE bug where POE would first poll for new events and
119 invoke handlers BEFORE handling the message queue.
120 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
121 - stop_read now does just that in TLS mode. see its
122 documentation for caveats.
123 - update to common::sense 3.4 warning set (some warnings in perl impose
124 an arbitrary 32kb limit on regex matches, which affects
125 AnyEvent::Handle).
126 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
127 - new experimental AE::Handle::resettls method.
128
1295.3 Fri Dec 31 05:48:13 CET 2010
130 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
131 issues with IO::Async have been solved in that version, including
132 the availabilty of a default loop!
133 - implement new wbuf_max parameter for AnyEvent::Handle.
134 - added Cocoa::EventLoop backend by Daisuke Murase.
135 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
136 - clarify handle on_prepare documentation.
137 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
138 to avoid leaking them to any child processes.
139 - try to force files into the arch-dependend lib directory, for the
140 half-"turly obsessive compulsive person"(s) that depend on it.
141
1425.29 Sun Dec 5 10:49:21 CET 2010
143 - convert EV backend to EV 4.00 API (so better upgrade EV too).
144 - AE::Handle: implement dynamic read_size adjustment, add
145 max_read_size parameter, reduce default read_size to 2048.
146 - add some FAQ entries for servers and/or on_eof vs. on_error.
147 - work around OS bugs (cygwin again) when lingering in AE::Handle.
148 - reduce memory usage slightly when connect was used in AE::Handle.
149 - wrok around more segfaults in Tk.
150 - document tls_ctx => undef as valid.
151 - detect WNOHANG value at compiletime.
152 - include some probably linux-only support for building AnyEvent
153 as part of the perl core.
154 - improve compatibility of t/08_idna.t to perl 5.8.
155 - make AnyEvent::Strict truly optional (in case somebody builds a
156 minimal perl...).
157
1585.28 Wed Oct 13 04:14:23 CEST 2010
159 - due to a glitch, AnyEvent's internal getprotobyname wasn't
160 actually used in tcp_server.
161 - implement AnyEvent::CondVar->new method, which was documented but
162 missing.
163 - support autoloading of read types in unshift_read.
164 - AnyEvent::Strict: do the test for invalid fh arguments differently,
165 resulting in more informative error messages.
166 - new AnyEvent::FAQ manpage.
167 - clarify that you can actually call push_read etc. in on_read.
168 - put keys and certs in /tmp, not into the current directory,
169 and document this in the SECURITY CONSIDERATIONS sections
170 of AnyEvent::TLS.
171 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
172 requested by Ron Isaacson.
173 - document $AnyEvent::DNS::RESOLVER variable.
174 - incorporated major typo patches by Abhijit Menon-Sen.
175 - AnyEvent::Handle now croaks when negative timeouts are passed.
176 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
177 undocumented, but who knows when they might come in handy.
178
1795.271 Tue Jun 8 12:05:46 CEST 2010
180 - backport to perl 5.8.x.
181
1825.27 Sun Jun 6 12:12:05 CEST 2010
183 - postpone differently in AnyEvent::Socket now, as
184 when not, canceling the connection attempt might fail
185 (found by Felix Antonius Wilhelm Ostmann).
186 - explicitly check for non-stream sockets in AE::Handle, too many
187 clueless people fell into the trap of this somehow working.
188 - simplified and reworked the "OTHER MODULES" section.
189 - better/more condvar examples.
190
1915.261 Wed Apr 28 16:13:36 CEST 2010
192 - AF_INET6 was not properly used from Socket6 during configuration
193 time (found by Andy Grundman).
194
1955.26 Mon Apr 12 04:49:35 CEST 2010
196 - don't generate spurious readyness notifications when select
197 returns EINTR in the pure perl backend (analysed and testcase
198 by Bas Denissen).
199 - give same examples in SYNOPSIS sections of AnyEvent and AE.
200 - provider faster implementations for AE::time/now/now_update for
201 EV and Perl backends.
202 - provide faster AE::cv and AE::time implementations for all
203 backends.
204 - no longer support lower/mixed-case signal names (this was
205 never documented nor universally supported).
206 - some more memory ยต-optimisations, and somewhat less messy
207 code to cope with both AnyEvent and AE APIs.
208
2095.251 Sat Mar 13 00:58:21 CET 2010
210 - make test failed if it was run before make install on perl <=
211 5.8.8, and older versions of perl make our live very difficult,
212 so write constants.pl during Makefile.PL time.
213
2145.25 Sat Mar 13 00:23:14 CET 2010
215 - fix a race condition in AnyEvent::Handle that would cause
216 a "bio_read: unsupported method" error (in _another_
217 ssl connection) after user code threw an exception.
218 - added AnyEvent::Handle->destroyed method.
219 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
220 - the AnyEvent::Util::fh_nonblocking function worked only
221 by lucky accident on win32.
222 - smaller and faster AnyEvent::Util::fh_nonblocking.
223 - when the (required!) Time::HiRes module is missing, AnyEvent
224 did not fall back to built-in time properly.
225 - do not load Fcntl at runtime, saving memory and loading time.
226 - precompile a number of constants and use them instead of runtime
227 detection and eval.
228 - free detection code after detection and similar memory optimisations.
229 - Perl backend timer interval best effort drift has been improved
230 (same algorithm as EV).
231 - update unicode idna mapping table.
232
2335.24 Tue Jan 5 11:39:43 CET 2010
234 - cygwin never reports errors from failed connects. 1.5 just gives
235 you continous readyness and EAGAIN, 1.7 is even more broken and
236 just hangs. work around both issues in a cygwin-specific hack.
237 - improve idle watcher documentation slightly.
238
2395.23 Sun Dec 20 23:48:00 CET 2009
240 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
241 - implement punycode_encode/decode, idn_nameprep,
242 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
243 - provide $AE::VERSION.
244 - removed traces of "no strict 'refs'".
245
2465.22 Sat Dec 5 03:51:13 CET 2009
247 - downgrade-or-fail in AnyEvent::Handle::push_write, to
248 diagnose encoding failures earlier and more succinctly.
249 (this works around bugs in perl, throwing away encoding info
250 when passing scalar data to extensions).
251 - add more examples to AnyEvent::Socket manpage.
252 - upgrade internal warning set to the same as common::sense 2.03.
253 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
254 (John Beppu).
255 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
256 - add google public dns servers to fallback server set and make sure
257 we load-balance properly between the three sets. also add all
258 fallback dns servers, not just a random one, to each dns config.
259
2605.21 Thu Nov 19 02:48:47 CET 2009
261 - fix a problem where socket constants were called with parameters
262 (spotted by David Friedland).
263 - fork_call never use'd POSIX (reported by Daisuke Maki).
264 - improve perl 5.6 compatibility further (but it still won't work
265 unless you rip out everything but the core).
266 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
267 uses 10MB of RAM, but doesn't open a console window. *sigh*.
268
2695.202 Wed Oct 14 22:35:44 CEST 2009
270 - AnyEvent::DNS would unexpectedly clobber $_ under windows
271 (analysed by Matthias Waldorf).
272 - AnyEvent::Handle::run_cmd can now pass the PID of the
273 newly-created process, which is much less useful than it might
274 sound (based on patch by Yann Kerherve).
275
2765.201 Tue Sep 29 12:09:25 CEST 2009
277 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
278 (reported by Torsten Foertsch).
279 - common::sense 2.0 could cause tcp_server to throw an exception
280 (analysed by elmex).
281
2825.2 Mon Sep 14 07:04:49 CEST 2009
5 - INCOMPATIBLE CHANGE: do no longer support register_read_type 283 - INCOMPATIBLE CHANGE: do no longer support register_read_type
6 and register_write_type in AnyEvent::Handle, instead support 284 and register_write_type in AnyEvent::Handle, instead support
7 package names (the facility was mostly abused). 285 package names (the facility was mostly abused).
8 - implement "packagename-as-read/write type" support in AnyEvent::Handle. 286 - implement "packagename-as-read/write type" support in
287 AnyEvent::Handle.
9 - AnyEvent::Handle: new options "keepalive" and "oobinline". 288 - AnyEvent::Handle: new options "keepalive" and "oobinline".
10 - oobinline set by default to avoid security issues. 289 - oobinline set by default to avoid security issues.
290 - the pure-perl event loop backend wrongly detected times() fallback
291 support (spotted by Pavel Boldin).
11 292
125.12 Tue Sep 1 20:26:50 CEST 2009 2935.12 Tue Sep 1 20:26:50 CEST 2009
13 - be more lenient when parsing resolv.conf files, as some people 294 - be more lenient when parsing resolv.conf files, as some people
14 use hashmarks as comment indicator inside directives (reported 295 use hashmarks as comment indicator inside directives (reported
15 by Michael S. Fischer). 296 by Michael S. Fischer).
99 - new function: AnyEvent::Socket::format_hostport. 380 - new function: AnyEvent::Socket::format_hostport.
100 381
1014.881 Tue Jul 28 12:51:53 CEST 2009 3824.881 Tue Jul 28 12:51:53 CEST 2009
102 - work around a bug in local in pre-5.10 perls, causing 383 - work around a bug in local in pre-5.10 perls, causing
103 AnyEvent::Handle to recurse when it should not 384 AnyEvent::Handle to recurse when it should not
104 (analyzed by elmex). 385 (analysed by elmex).
105 386
1064.88 Tue Jul 28 04:04:37 CEST 2009 3874.88 Tue Jul 28 04:04:37 CEST 2009
107 - re-bless the handle into a dummy package after calling 388 - re-bless the handle into a dummy package after calling
108 AnyEvent::Handle::destroy, so the user does not need to check 389 AnyEvent::Handle::destroy, so the user does not need to check
109 for errors after every push_write etc. 390 for errors after every push_write etc.
3314.3 Fri Oct 3 09:18:43 CEST 2008 6124.3 Fri Oct 3 09:18:43 CEST 2008
332 - AnyEvent will now install a no-op signal handler for SIGPIPE, 613 - AnyEvent will now install a no-op signal handler for SIGPIPE,
333 unless one has been installed already. 614 unless one has been installed already.
334 - warn about not loaidng AnyEvent::Impl::POE early enough 615 - warn about not loaidng AnyEvent::Impl::POE early enough
335 (patch by Adam Rosenstein). 616 (patch by Adam Rosenstein).
336 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 617 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
337 - fix a bug in where in SSL connect mode, the 618 - fix a bug in where in SSL connect mode, the
338 client would first wait for some data by the server and 619 client would first wait for some data by the server and
339 otherwise hang. (reported and analyzed in an absolutely 620 otherwise hang. (reported and analysed in an absolutely
340 exemplary manner by Adam Rosenstein). 621 exemplary manner by Adam Rosenstein).
341 - fix a bug in where SSL EOF would not be treated 622 - fix a bug in where SSL EOF would not be treated
342 as stream EOF, putting the connection into a hung state. 623 as stream EOF, putting the connection into a hung state.
343 (reported and analyzed in an absolutely exemplary manner by Adam 624 (reported and analysed in an absolutely exemplary manner by Adam
344 Rosenstein). 625 Rosenstein).
345 - fix a potential segfault when the TLS context 626 - fix a potential segfault when the TLS context
346 would go missing in a read callback (e.g. due to stoptls) - 627 would go missing in a read callback (e.g. due to stoptls) -
347 Net::SSLeay of course makes no type checking whatsoever. 628 Net::SSLeay of course makes no type checking whatsoever.
348 - AnyEvent::Handle will not stop the read watcher in TLS mode. 629 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines