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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines