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

Comparing AnyEvent/Changes (file contents):
Revision 1.370 by root, Tue Dec 15 06:02:42 2009 UTC vs.
Revision 1.528 by root, Thu Mar 22 00:48:22 2012 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: use idna stuff in socket/dns 3TODO: document TCP_*** constants
4TODO: add nfc check for punycdoe-decoded labels 4TODO: add debug/trace logging to some modules
5TODO: AnyEvent::IO
6
7 - documented Rocco fabricating statements about AnyEvent and me.
8 - updated uts46data.pl for unicode 6.1.0.
9 - made log messages genearted by AnyEvent submodules not
10 include the package name anymore, as it will be logged
11 by default already.
12
136.14 Tue Jan 31 20:00:24 CET 2012
14 - AnyEvent::Impl::Tk was broken due to a mysterious "die" inside,
15 probably an editing mistake (reported by Darin McBride).
16
176.13 Thu Jan 12 07:27:01 CET 2012
18 - AnyEvent::Util::fork_call checked for POSIX availability in the wrong way,
19 causing it to fail if POSIX wasn't loaded already (analysed by Rock Power).
20 - AnyEvent::Handle::push_read (line => did pass $1 directly, so
21 regex-matching inside the callback would change the parameter, despite
22 $1 being dynamically scoped per-block. this perl bug is now being
23 worked around (testcase by Cindy Wang).
24
256.12 Mon Dec 12 13:21:10 CET 2011
26 - $! was clobbered by subsequent calls in tcp_connect, due to
27 the postpone not saving/restoring it (analyzed by Richard Garnish).
28
296.11 Tue Nov 22 10:36:05 CET 2011
30 - Tk cannot create windows when tainted unless you set a title, so
31 set a dummy title for AnyEvent's dummy mainwindow. How dummy.
32 - escape any nonprintable/nonascii characters when stringifying
33 backtraces.
34 - log the reason loading an interface module fails to load at level debug.
35
366.1 Tue Oct 4 19:44:30 CEST 2011
37 - INCOMPATIBLE CHANGE: the default log level is now "4" (error
38 and above), and some messages inside AnyEvent have been elevated
39 to higher log levels to print by default.
40 - AnyEvent::log, unlike AnyEvent::Log::log, did not always exit on fatal.
41 - work around yet another signal race bug, newly introduced by POE. My
42 how that module sucks.
43 - add google public ipv6 dns as fallback servers, so AE::DNS can finally
44 support ipv6-only operation even with defaults (also use ::1 instead
45 of 127.0.0.1).
46 - give better guidelines on how to chose a logging level.
47 - AnyEvent::Log can now cap (limit) log message priority by context.
48 - AE::log will now save and restore $! and $@, so callers don't have to.
49 - AE::Strict now checks that registered fds are still valid at regular
50 intervals.
51 - skip frequently called 'require' calls if the module appears loaded.
52 - increase signal latency test timer considerably for poor little osx,
53 which can't be bothered with basic posix functionality such as signal
54 delivery.
55 - mention some debugging aids in the tutorial.
56 - new env variable PERL_ANYEVENT_MAX_SIGNAL_LATENCY.
57 - private (%namespace) log contexts in PERL_ANYEVENT_LOG now have the name
58 of the context as title.
59 - AnyEvent::Strict would not restore read-write access to $_ when a callback
60 died - this is a user bug, but since AE::Strict exists to help dbeugging...
61 - detect the extremely evil IO::Async::Loop::AnyEvent module and refuse
62 to work with it - the author is well aware of the issues but refuses
63 to fix them. This extreme step has been taken because the module actively
64 attacks the goals of AnyEvent and makes it harder for module authors to use
65 AnyEvent.
66
676.02 Fri Aug 26 20:08:31 CEST 2011
68 - log_to_syslog now accepts facility strings.
69 - log_to_syslog would not allow facilities - "$facility|$level"
70 *literally* means that string. sheesh.
71 - the CPAN parser got confused and thought we provide Sys::Syslog, try
72 to work around.
73 - renamed AnyEvent::Impl::FLTK2 to FLTK.
74
756.01 Fri Aug 26 07:04:11 CEST 2011
76 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
77 the TTL as fourth element - this affects ->resolve, ->request
78 and ->dns_unpack indirectly. Convenience functions such as
79 AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is
80 AnyEvent::Socket.
81 - INCOMPATIBLE CHANGE: backend authors now should not implement
82 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll
83 methods.
84 - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see
85 AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details.
86 - DEPRECIATION: please change
87 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and
88 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run"
89 in your programs, for future compatibility.
90 - *blush* idle watcher emulation was borked.
91 - AnyEvent::Strict now checks the AE::xxx functions as well.
92 - querying too long domain names would barf deep inside AnyEvent::DNS - since
93 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for
94 for too long domain names explicitly and passes an undef to the callback
95 instead (reported by James Bromberger).
96 - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield).
97 - new functions: AnyEvent::postpone, AnyEvent::log.
98 - new module: AnyEvent::Log, for simple logging needs.
99 - new env variable, PERL_ANYEVENT_LOG, for fine-grained logging config.
100 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start
101 a debug shell.
102 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable
103 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap).
104 - new env variable, PERL_ANYEVENT_HOSTS, to override the place where
105 /etc/hosts can be found.
106 - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default
107 configuration.
108 - env variables can now be specified using AE_xyz instead of
109 PERL_ANYEVENT_xyz, subject to some rules.
110 - lots of new AnyEvent::Debug functionality.
111 - AnyEvent::Strict now checks for modifications $_ by the callback
112 (by setting it to readonly while executing the callback, if possible).
113 - IO::Async sometimes cancels the wrong timer when you call cancel_timer.
114 Invest extra overhead to work around this peculiar behaviour.
115 - split the pure perl backend into a loop module and an impl
116 module (AnyEvent::Loop and AnyEvent::Impl::Perl).
117 - some read types (regex, netstring, json, storable) could
118 errornously keep an AE::Handle object alive on their own
119 (reported by Mohammad Toossi).
120 - AnyEvent::Socket::resolve_sockaddr and all functions using it now
121 supports /etc/hosts overrides.
122 - add more workarounds around child watcher bugs in IO::Async
123 and (newly introduced) in POE.
124 - use glib child watchers and try to work around its limitations,
125 if possible (based on a patch by Kevin Ryde).
126 - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2.
127 - many read types in AnyEvent::Handle would malfunction during
128 transitions to TLS because of a "delete $self->{rbuf}".
129 (reported by Gerald Galster).
130 - improve condvar blocking wait performance (probably only noticable
131 with faster backends), also make it easier for event loops that
132 do not support blocking waits.
133 - PERL_ANYEVENT_MODEL now also allows full module names, although
134 the usefulness of this feature is not yet clear.
135 - add tests for all supported event loops, conditional on PERL_ANYEVENT_LOOP_TESTS.
136 - add t/80_ssltext.t.
137 - no longer use AUTOLOAD for the initial loading (for no very good reason).
138 - tcp_server now tries to unlink unix domain sockets when it gets destroyed.
139 - do not run event loop detection multiple times when programs call their cached
140 copies of AnyEvent::detect.
141 - parse_hostport now accepts absolute paths als unix domain sockets.
142 - suppress the idiotic warning inside POE by patching the POE::Kernel
143 run flags instead of asking the user to jump through contortions.
144 - add Task::Weaken as dependency (as recommends only at this time).
145 - replace PF_UNSPEC by 0, for good old minix.
146
1476.0 (not officially released, but was on CPAN for about 15 minutes :/)
148
1495.34 Thu May 12 09:59:41 CEST 2011
150 - AE::TLS didn't support both cert_file and key at the same time,
151 due to some copy&paste bug (reported and analyzed by vti).
152 - improve AE::Handle timeout documentation slightly.
153
1545.33 Mon Feb 7 21:51:41 CET 2011
155 - never appeared on CPAN, for unknown reasons.
156 - AnyEvent::Handle on_connect_error - do not try to destroy a handle
157 object when it's already gone (analyzed by Ryan Bullock).
158 - update idna algorithm(s) to UTS#46 version 6.0.0.
159 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
160 uts46 says it's an error, and testsuite makes more sense.
161 - remove leading dots in idn_to_ascii - testsuite says to remove,
162 uts46 says it's an error, and testsuite makes more sense.
163 - fixed a bug in idn ignored character processing.
164 - passes the uts46 6.0.0 testsuite except for three cases which
165 apparently are bugs in the testsuite itself.
166 - passes the uts46 6.0.1 testsuite except for eleven cases which
167 apparently are bugs in the testsuite itself.
168
1695.31 Sun Jan 23 11:49:19 CET 2011
170 - work around a POE bug where POE would first poll for new events and
171 invoke handlers BEFORE handling the message queue.
172 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
173 - stop_read now does just that in TLS mode. see its
174 documentation for caveats.
175 - update to common::sense 3.4 warning set (some warnings in perl impose
176 an arbitrary 32kb limit on regex matches, which affects
177 AnyEvent::Handle).
178 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
179 - new experimental AE::Handle::resettls method.
180
1815.3 Fri Dec 31 05:48:13 CET 2010
182 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
183 issues with IO::Async have been solved in that version, including
184 the availabilty of a default loop!
185 - implement new wbuf_max parameter for AnyEvent::Handle.
186 - added Cocoa::EventLoop backend by Daisuke Murase.
187 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
188 - clarify handle on_prepare documentation.
189 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
190 to avoid leaking them to any child processes.
191 - try to force files into the arch-dependend lib directory, for the
192 half-"turly obsessive compulsive person"(s) that depend on it.
193
1945.29 Sun Dec 5 10:49:21 CET 2010
195 - convert EV backend to EV 4.00 API (so better upgrade EV too).
196 - AE::Handle: implement dynamic read_size adjustment, add
197 max_read_size parameter, reduce default read_size to 2048.
198 - add some FAQ entries for servers and/or on_eof vs. on_error.
199 - work around OS bugs (cygwin again) when lingering in AE::Handle.
200 - reduce memory usage slightly when connect was used in AE::Handle.
201 - wrok around more segfaults in Tk.
202 - document tls_ctx => undef as valid.
203 - detect WNOHANG value at compiletime.
204 - include some probably linux-only support for building AnyEvent
205 as part of the perl core.
206 - improve compatibility of t/08_idna.t to perl 5.8.
207 - make AnyEvent::Strict truly optional (in case somebody builds a
208 minimal perl...).
209
2105.28 Wed Oct 13 04:14:23 CEST 2010
211 - due to a glitch, AnyEvent's internal getprotobyname wasn't
212 actually used in tcp_server.
213 - implement AnyEvent::CondVar->new method, which was documented but
214 missing.
215 - support autoloading of read types in unshift_read.
216 - AnyEvent::Strict: do the test for invalid fh arguments differently,
217 resulting in more informative error messages.
218 - new AnyEvent::FAQ manpage.
219 - clarify that you can actually call push_read etc. in on_read.
220 - put keys and certs in /tmp, not into the current directory,
221 and document this in the SECURITY CONSIDERATIONS sections
222 of AnyEvent::TLS.
223 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
224 requested by Ron Isaacson.
225 - document $AnyEvent::DNS::RESOLVER variable.
226 - incorporated major typo patches by Abhijit Menon-Sen.
227 - AnyEvent::Handle now croaks when negative timeouts are passed.
228 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
229 undocumented, but who knows when they might come in handy.
230
2315.271 Tue Jun 8 12:05:46 CEST 2010
232 - backport to perl 5.8.x.
233
2345.27 Sun Jun 6 12:12:05 CEST 2010
235 - postpone differently in AnyEvent::Socket now, as
236 when not, canceling the connection attempt might fail
237 (found by Felix Antonius Wilhelm Ostmann).
238 - explicitly check for non-stream sockets in AE::Handle, too many
239 clueless people fell into the trap of this somehow working.
240 - simplified and reworked the "OTHER MODULES" section.
241 - better/more condvar examples.
242
2435.261 Wed Apr 28 16:13:36 CEST 2010
244 - AF_INET6 was not properly used from Socket6 during configuration
245 time (found by Andy Grundman).
246
2475.26 Mon Apr 12 04:49:35 CEST 2010
248 - don't generate spurious readyness notifications when select
249 returns EINTR in the pure perl backend (analysed and testcase
250 by Bas Denissen).
251 - give same examples in SYNOPSIS sections of AnyEvent and AE.
252 - provider faster implementations for AE::time/now/now_update for
253 EV and Perl backends.
254 - provide faster AE::cv and AE::time implementations for all
255 backends.
256 - no longer support lower/mixed-case signal names (this was
257 never documented nor universally supported).
258 - some more memory ยต-optimisations, and somewhat less messy
259 code to cope with both AnyEvent and AE APIs.
260
2615.251 Sat Mar 13 00:58:21 CET 2010
262 - make test failed if it was run before make install on perl <=
263 5.8.8, and older versions of perl make our live very difficult,
264 so write constants.pl during Makefile.PL time.
265
2665.25 Sat Mar 13 00:23:14 CET 2010
267 - fix a race condition in AnyEvent::Handle that would cause
268 a "bio_read: unsupported method" error (in _another_
269 ssl connection) after user code threw an exception.
270 - added AnyEvent::Handle->destroyed method.
271 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
272 - the AnyEvent::Util::fh_nonblocking function worked only
273 by lucky accident on win32.
274 - smaller and faster AnyEvent::Util::fh_nonblocking.
275 - when the (required!) Time::HiRes module is missing, AnyEvent
276 did not fall back to built-in time properly.
277 - do not load Fcntl at runtime, saving memory and loading time.
278 - precompile a number of constants and use them instead of runtime
279 detection and eval.
280 - free detection code after detection and similar memory optimisations.
281 - Perl backend timer interval best effort drift has been improved
282 (same algorithm as EV).
283 - update unicode idna mapping table.
284
2855.24 Tue Jan 5 11:39:43 CET 2010
286 - cygwin never reports errors from failed connects. 1.5 just gives
287 you continous readyness and EAGAIN, 1.7 is even more broken and
288 just hangs. work around both issues in a cygwin-specific hack.
289 - improve idle watcher documentation slightly.
290
2915.23 Sun Dec 20 23:48:00 CET 2009
292 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
293 - implement punycode_encode/decode, idn_nameprep,
294 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
5 - provide $AE::VERSION. 295 - provide $AE::VERSION.
6 - removed traces of "no strict 'refs'". 296 - removed traces of "no strict 'refs'".
7 - implement punycode_encode/decode, idn_nameprep,
8 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
9 297
105.22 Sat Dec 5 03:51:13 CET 2009 2985.22 Sat Dec 5 03:51:13 CET 2009
11 - downgrade-or-fail in AnyEvent::Handle::push_write, to 299 - downgrade-or-fail in AnyEvent::Handle::push_write, to
12 diagnose encoding failures earlier and more succinctly. 300 diagnose encoding failures earlier and more succinctly.
13 (this works around bugs in perl, throwing away encoding info 301 (this works around bugs in perl, throwing away encoding info
3764.3 Fri Oct 3 09:18:43 CEST 2008 6644.3 Fri Oct 3 09:18:43 CEST 2008
377 - AnyEvent will now install a no-op signal handler for SIGPIPE, 665 - AnyEvent will now install a no-op signal handler for SIGPIPE,
378 unless one has been installed already. 666 unless one has been installed already.
379 - warn about not loaidng AnyEvent::Impl::POE early enough 667 - warn about not loaidng AnyEvent::Impl::POE early enough
380 (patch by Adam Rosenstein). 668 (patch by Adam Rosenstein).
381 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 669 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
382 - fix a bug in where in SSL connect mode, the 670 - fix a bug in where in SSL connect mode, the
383 client would first wait for some data by the server and 671 client would first wait for some data by the server and
384 otherwise hang. (reported and analysed in an absolutely 672 otherwise hang. (reported and analysed in an absolutely
385 exemplary manner by Adam Rosenstein). 673 exemplary manner by Adam Rosenstein).
386 - fix a bug in where SSL EOF would not be treated 674 - fix a bug in where SSL EOF would not be treated

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines