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

Comparing AnyEvent/Changes (file contents):
Revision 1.349 by root, Mon Sep 14 05:05:09 2009 UTC vs.
Revision 1.458 by root, Thu Aug 11 21:26:39 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2
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: redesign Impl
9TODO: make ae::run mroe robust against eintr, find out which env still causes these issues Andrew Suffield
10 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
11 the TTL as fourth element - this affects ->resolve directly,
12 and ->request and ->dns_unpack indirectly. Convenience functions
13 such as AnyEvent::DNS::{a,txt,mx,srv} are not affected.
14 - INCOMPATIBLE CHANGE: backend authors now should not implement
15 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll
16 methods.
17 - DEPRECIATION: please change
18 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and
19 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run"
20 in your programs, for future compatibility.
21 - querying too long domain names would barf deep inside AnyEvent::DNS - since
22 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for
23 for too long domain names explicitly and passes an undef to the callback
24 instead (reported by James Bromberger).
25 - new function: AnyEvent::postpone.
26 - split the pure perl backend into a loop module and an impl
27 module (AnyEvent::Loop and AnyEvent::Impl::Perl).
28 - some read types (regex, netstring, json, storable) could
29 errornously keep an AE::Handle object alive on their own
30 (reported by Mohammad Toossi).
31 - add more workarounds around child watcher bugs in IO::Async
32 and (newly introduced) in POE.
33 - use glib child watchers and try to work around its limitations,
34 if possible (based on a patch by Kevin Ryde).
35 - add support for (currently third-party) AnyEvent::Impl::FLTK.
36 - many read types in AnyEvent::Handle would malfunction during
37 transitions to TLS because of a "delete $self->{rbuf}".
38 (reported by Gerald Galster).
39 - resolve AnyEvent::Util::guard at first-use-time, not at load time,
40 for further speed and memory savings when not used.
41 - improve condvar blocking wait performance (probably only noticable
42 with faster backends), also make it easier for event loops that
43 do not support blocking waits.
44
455.34 Thu May 12 09:59:41 CEST 2011
46 - AE::TLS didn't support both cert_file and key at the same time,
47 due to some copy&paste bug (reported and analyzed by vti).
48 - improve AE::Handle timeout documentation slightly.
49
505.33 Mon Feb 7 21:51:41 CET 2011
51 - never appeared on CPAN, for unknown reasons.
52 - AnyEvent::Handle on_connect_error - do not try to destroy a handle
53 object when it's already gone (analyzed by Ryan Bullock).
54 - update idna algorithm(s) to UTS#46 version 6.0.0.
55 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
56 uts46 says it's an error, and testsuite makes more sense.
57 - remove leading dots in idn_to_ascii - testsuite says to remove,
58 uts46 says it's an error, and testsuite makes more sense.
59 - fixed a bug in idn ignored character processing.
60 - passes the uts46 6.0.0 testsuite except for three cases which
61 apparently are bugs in the testsuite itself.
62 - passes the uts46 6.0.1 testsuite except for eleven cases which
63 apparently are bugs in the testsuite itself.
64
655.31 Sun Jan 23 11:49:19 CET 2011
66 - work around a POE bug where POE would first poll for new events and
67 invoke handlers BEFORE handling the message queue.
68 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
69 - stop_read now does just that in TLS mode. see its
70 documentation for caveats.
71 - update to common::sense 3.4 warning set (some warnings in perl impose
72 an arbitrary 32kb limit on regex matches, which affects
73 AnyEvent::Handle).
74 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
75 - new experimental AE::Handle::resettls method.
76
775.3 Fri Dec 31 05:48:13 CET 2010
78 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
79 issues with IO::Async have been solved in that version, including
80 the availabilty of a default loop!
81 - implement new wbuf_max parameter for AnyEvent::Handle.
82 - added Cocoa::EventLoop backend by Daisuke Murase.
83 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
84 - clarify handle on_prepare documentation.
85 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
86 to avoid leaking them to any child processes.
87 - try to force files into the arch-dependend lib directory, for the
88 half-"turly obsessive compulsive person"(s) that depend on it.
89
905.29 Sun Dec 5 10:49:21 CET 2010
91 - convert EV backend to EV 4.00 API (so better upgrade EV too).
92 - AE::Handle: implement dynamic read_size adjustment, add
93 max_read_size parameter, reduce default read_size to 2048.
94 - add some FAQ entries for servers and/or on_eof vs. on_error.
95 - work around OS bugs (cygwin again) when lingering in AE::Handle.
96 - reduce memory usage slightly when connect was used in AE::Handle.
97 - wrok around more segfaults in Tk.
98 - document tls_ctx => undef as valid.
99 - detect WNOHANG value at compiletime.
100 - include some probably linux-only support for building AnyEvent
101 as part of the perl core.
102 - improve compatibility of t/08_idna.t to perl 5.8.
103 - make AnyEvent::Strict truly optional (in case somebody builds a
104 minimal perl...).
105
1065.28 Wed Oct 13 04:14:23 CEST 2010
107 - due to a glitch, AnyEvent's internal getprotobyname wasn't
108 actually used in tcp_server.
109 - implement AnyEvent::CondVar->new method, which was documented but
110 missing.
111 - support autoloading of read types in unshift_read.
112 - AnyEvent::Strict: do the test for invalid fh arguments differently,
113 resulting in more informative error messages.
114 - new AnyEvent::FAQ manpage.
115 - clarify that you can actually call push_read etc. in on_read.
116 - put keys and certs in /tmp, not into the current directory,
117 and document this in the SECURITY CONSIDERATIONS sections
118 of AnyEvent::TLS.
119 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
120 requested by Ron Isaacson.
121 - document $AnyEvent::DNS::RESOLVER variable.
122 - incorporated major typo patches by Abhijit Menon-Sen.
123 - AnyEvent::Handle now croaks when negative timeouts are passed.
124 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
125 undocumented, but who knows when they might come in handy.
126
1275.271 Tue Jun 8 12:05:46 CEST 2010
128 - backport to perl 5.8.x.
129
1305.27 Sun Jun 6 12:12:05 CEST 2010
131 - postpone differently in AnyEvent::Socket now, as
132 when not, canceling the connection attempt might fail
133 (found by Felix Antonius Wilhelm Ostmann).
134 - explicitly check for non-stream sockets in AE::Handle, too many
135 clueless people fell into the trap of this somehow working.
136 - simplified and reworked the "OTHER MODULES" section.
137 - better/more condvar examples.
138
1395.261 Wed Apr 28 16:13:36 CEST 2010
140 - AF_INET6 was not properly used from Socket6 during configuration
141 time (found by Andy Grundman).
142
1435.26 Mon Apr 12 04:49:35 CEST 2010
144 - don't generate spurious readyness notifications when select
145 returns EINTR in the pure perl backend (analysed and testcase
146 by Bas Denissen).
147 - give same examples in SYNOPSIS sections of AnyEvent and AE.
148 - provider faster implementations for AE::time/now/now_update for
149 EV and Perl backends.
150 - provide faster AE::cv and AE::time implementations for all
151 backends.
152 - no longer support lower/mixed-case signal names (this was
153 never documented nor universally supported).
154 - some more memory ยต-optimisations, and somewhat less messy
155 code to cope with both AnyEvent and AE APIs.
156
1575.251 Sat Mar 13 00:58:21 CET 2010
158 - make test failed if it was run before make install on perl <=
159 5.8.8, and older versions of perl make our live very difficult,
160 so write constants.pl during Makefile.PL time.
161
1625.25 Sat Mar 13 00:23:14 CET 2010
163 - fix a race condition in AnyEvent::Handle that would cause
164 a "bio_read: unsupported method" error (in _another_
165 ssl connection) after user code threw an exception.
166 - added AnyEvent::Handle->destroyed method.
167 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
168 - the AnyEvent::Util::fh_nonblocking function worked only
169 by lucky accident on win32.
170 - smaller and faster AnyEvent::Util::fh_nonblocking.
171 - when the (required!) Time::HiRes module is missing, AnyEvent
172 did not fall back to built-in time properly.
173 - do not load Fcntl at runtime, saving memory and loading time.
174 - precompile a number of constants and use them instead of runtime
175 detection and eval.
176 - free detection code after detection and similar memory optimisations.
177 - Perl backend timer interval best effort drift has been improved
178 (same algorithm as EV).
179 - update unicode idna mapping table.
180
1815.24 Tue Jan 5 11:39:43 CET 2010
182 - cygwin never reports errors from failed connects. 1.5 just gives
183 you continous readyness and EAGAIN, 1.7 is even more broken and
184 just hangs. work around both issues in a cygwin-specific hack.
185 - improve idle watcher documentation slightly.
186
1875.23 Sun Dec 20 23:48:00 CET 2009
188 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
189 - implement punycode_encode/decode, idn_nameprep,
190 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
191 - provide $AE::VERSION.
192 - removed traces of "no strict 'refs'".
193
1945.22 Sat Dec 5 03:51:13 CET 2009
195 - downgrade-or-fail in AnyEvent::Handle::push_write, to
196 diagnose encoding failures earlier and more succinctly.
197 (this works around bugs in perl, throwing away encoding info
198 when passing scalar data to extensions).
199 - add more examples to AnyEvent::Socket manpage.
200 - upgrade internal warning set to the same as common::sense 2.03.
201 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
202 (John Beppu).
203 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
204 - add google public dns servers to fallback server set and make sure
205 we load-balance properly between the three sets. also add all
206 fallback dns servers, not just a random one, to each dns config.
207
2085.21 Thu Nov 19 02:48:47 CET 2009
209 - fix a problem where socket constants were called with parameters
210 (spotted by David Friedland).
211 - fork_call never use'd POSIX (reported by Daisuke Maki).
212 - improve perl 5.6 compatibility further (but it still won't work
213 unless you rip out everything but the core).
214 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
215 uses 10MB of RAM, but doesn't open a console window. *sigh*.
216
2175.202 Wed Oct 14 22:35:44 CEST 2009
218 - AnyEvent::DNS would unexpectedly clobber $_ under windows
219 (analysed by Matthias Waldorf).
220 - AnyEvent::Handle::run_cmd can now pass the PID of the
221 newly-created process, which is much less useful than it might
222 sound (based on patch by Yann Kerherve).
223
2245.201 Tue Sep 29 12:09:25 CEST 2009
225 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
226 (reported by Torsten Foertsch).
227 - common::sense 2.0 could cause tcp_server to throw an exception
228 (analysed by elmex).
2 229
35.2 Mon Sep 14 07:04:49 CEST 2009 2305.2 Mon Sep 14 07:04:49 CEST 2009
4 - INCOMPATIBLE CHANGE: do no longer support register_read_type 231 - INCOMPATIBLE CHANGE: do no longer support register_read_type
5 and register_write_type in AnyEvent::Handle, instead support 232 and register_write_type in AnyEvent::Handle, instead support
6 package names (the facility was mostly abused). 233 package names (the facility was mostly abused).
101 - new function: AnyEvent::Socket::format_hostport. 328 - new function: AnyEvent::Socket::format_hostport.
102 329
1034.881 Tue Jul 28 12:51:53 CEST 2009 3304.881 Tue Jul 28 12:51:53 CEST 2009
104 - work around a bug in local in pre-5.10 perls, causing 331 - work around a bug in local in pre-5.10 perls, causing
105 AnyEvent::Handle to recurse when it should not 332 AnyEvent::Handle to recurse when it should not
106 (analyzed by elmex). 333 (analysed by elmex).
107 334
1084.88 Tue Jul 28 04:04:37 CEST 2009 3354.88 Tue Jul 28 04:04:37 CEST 2009
109 - re-bless the handle into a dummy package after calling 336 - re-bless the handle into a dummy package after calling
110 AnyEvent::Handle::destroy, so the user does not need to check 337 AnyEvent::Handle::destroy, so the user does not need to check
111 for errors after every push_write etc. 338 for errors after every push_write etc.
3334.3 Fri Oct 3 09:18:43 CEST 2008 5604.3 Fri Oct 3 09:18:43 CEST 2008
334 - AnyEvent will now install a no-op signal handler for SIGPIPE, 561 - AnyEvent will now install a no-op signal handler for SIGPIPE,
335 unless one has been installed already. 562 unless one has been installed already.
336 - warn about not loaidng AnyEvent::Impl::POE early enough 563 - warn about not loaidng AnyEvent::Impl::POE early enough
337 (patch by Adam Rosenstein). 564 (patch by Adam Rosenstein).
338 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 565 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
339 - fix a bug in where in SSL connect mode, the 566 - fix a bug in where in SSL connect mode, the
340 client would first wait for some data by the server and 567 client would first wait for some data by the server and
341 otherwise hang. (reported and analyzed in an absolutely 568 otherwise hang. (reported and analysed in an absolutely
342 exemplary manner by Adam Rosenstein). 569 exemplary manner by Adam Rosenstein).
343 - fix a bug in where SSL EOF would not be treated 570 - fix a bug in where SSL EOF would not be treated
344 as stream EOF, putting the connection into a hung state. 571 as stream EOF, putting the connection into a hung state.
345 (reported and analyzed in an absolutely exemplary manner by Adam 572 (reported and analysed in an absolutely exemplary manner by Adam
346 Rosenstein). 573 Rosenstein).
347 - fix a potential segfault when the TLS context 574 - fix a potential segfault when the TLS context
348 would go missing in a read callback (e.g. due to stoptls) - 575 would go missing in a read callback (e.g. due to stoptls) -
349 Net::SSLeay of course makes no type checking whatsoever. 576 Net::SSLeay of course makes no type checking whatsoever.
350 - AnyEvent::Handle will not stop the read watcher in TLS mode. 577 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines