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

Comparing AnyEvent/Changes (file contents):
Revision 1.350 by root, Mon Sep 28 17:30:53 2009 UTC vs.
Revision 1.514 by root, Sun Oct 2 01:22:01 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines