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

Comparing AnyEvent/Changes (file contents):
Revision 1.282 by root, Thu Jul 16 04:16:25 2009 UTC vs.
Revision 1.446 by root, Mon Jul 4 21:14:42 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: implement getprotobyname 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: break the API and put the rr ttl where it belongs.
9TODO: Kevin Ryde (3.8K) 1 inbox Glib child processes
10 - add support for (currently third-party) AnyEvent::Impl::FLTK.
11
125.34 Thu May 12 09:59:41 CEST 2011
13 - AE::TLS didn't support both cert_file and key at the same time,
14 due to some copy&paste bug (reported and analyzed by vti).
15 - improve AE::Handle timeout documentation slightly.
16
175.33 Mon Feb 7 21:51:41 CET 2011
18 - never appeared on CPAN, for unknown reasons.
19 - AnyEvent::Handle on_connect_error - do not try to destroy a handle
20 object when it's already gone (analyzed by Ryan Bullock).
21 - update idna algorithm(s) to UTS#46 version 6.0.0.
22 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
23 uts46 says it's an error, and testsuite makes more sense.
24 - remove leading dots in idn_to_ascii - testsuite says to remove,
25 uts46 says it's an error, and testsuite makes more sense.
26 - fixed a bug in idn ignored character processing.
27 - passes the uts46 6.0.0 testsuite except for three cases which
28 apparently are bugs in the testsuite itself.
29 - passes the uts46 6.0.1 testsuite except for eleven cases which
30 apparently are bugs in the testsuite itself.
31
325.31 Sun Jan 23 11:49:19 CET 2011
33 - work around a POE bug where POE would first poll for new events and
34 invoke handlers BEFORE handling the message queue.
35 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
36 - stop_read now does just that in TLS mode. see its
37 documentation for caveats.
38 - update to common::sense 3.4 warning set (some warnings in perl impose
39 an arbitrary 32kb limit on regex matches, which affects
40 AnyEvent::Handle).
41 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
42 - new experimental AE::Handle::resettls method.
43
445.3 Fri Dec 31 05:48:13 CET 2010
45 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
46 issues with IO::Async have been solved in that version, including
47 the availabilty of a default loop!
48 - implement new wbuf_max parameter for AnyEvent::Handle.
49 - added Cocoa::EventLoop backend by Daisuke Murase.
50 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
51 - clarify handle on_prepare documentation.
52 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
53 to avoid leaking them to any child processes.
54 - try to force files into the arch-dependend lib directory, for the
55 half-"turly obsessive compulsive person"(s) that depend on it.
56
575.29 Sun Dec 5 10:49:21 CET 2010
58 - convert EV backend to EV 4.00 API (so better upgrade EV too).
59 - AE::Handle: implement dynamic read_size adjustment, add
60 max_read_size parameter, reduce default read_size to 2048.
61 - add some FAQ entries for servers and/or on_eof vs. on_error.
62 - work around OS bugs (cygwin again) when lingering in AE::Handle.
63 - reduce memory usage slightly when connect was used in AE::Handle.
64 - wrok around more segfaults in Tk.
65 - document tls_ctx => undef as valid.
66 - detect WNOHANG value at compiletime.
67 - include some probably linux-only support for building AnyEvent
68 as part of the perl core.
69 - improve compatibility of t/08_idna.t to perl 5.8.
70 - make AnyEvent::Strict truly optional (in case somebody builds a
71 minimal perl...).
72
735.28 Wed Oct 13 04:14:23 CEST 2010
74 - due to a glitch, AnyEvent's internal getprotobyname wasn't
75 actually used in tcp_server.
76 - implement AnyEvent::CondVar->new method, which was documented but
77 missing.
78 - support autoloading of read types in unshift_read.
79 - AnyEvent::Strict: do the test for invalid fh arguments differently,
80 resulting in more informative error messages.
81 - new AnyEvent::FAQ manpage.
82 - clarify that you can actually call push_read etc. in on_read.
83 - put keys and certs in /tmp, not into the current directory,
84 and document this in the SECURITY CONSIDERATIONS sections
85 of AnyEvent::TLS.
86 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
87 requested by Ron Isaacson.
88 - document $AnyEvent::DNS::RESOLVER variable.
89 - incorporated major typo patches by Abhijit Menon-Sen.
90 - AnyEvent::Handle now croaks when negative timeouts are passed.
91 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
92 undocumented, but who knows when they might come in handy.
93
945.271 Tue Jun 8 12:05:46 CEST 2010
95 - backport to perl 5.8.x.
96
975.27 Sun Jun 6 12:12:05 CEST 2010
98 - postpone differently in AnyEvent::Socket now, as
99 when not, canceling the connection attempt might fail
100 (found by Felix Antonius Wilhelm Ostmann).
101 - explicitly check for non-stream sockets in AE::Handle, too many
102 clueless people fell into the trap of this somehow working.
103 - simplified and reworked the "OTHER MODULES" section.
104 - better/more condvar examples.
105
1065.261 Wed Apr 28 16:13:36 CEST 2010
107 - AF_INET6 was not properly used from Socket6 during configuration
108 time (found by Andy Grundman).
109
1105.26 Mon Apr 12 04:49:35 CEST 2010
111 - don't generate spurious readyness notifications when select
112 returns EINTR in the pure perl backend (analysed and testcase
113 by Bas Denissen).
114 - give same examples in SYNOPSIS sections of AnyEvent and AE.
115 - provider faster implementations for AE::time/now/now_update for
116 EV and Perl backends.
117 - provide faster AE::cv and AE::time implementations for all
118 backends.
119 - no longer support lower/mixed-case signal names (this was
120 never documented nor universally supported).
121 - some more memory ยต-optimisations, and somewhat less messy
122 code to cope with both AnyEvent and AE APIs.
123
1245.251 Sat Mar 13 00:58:21 CET 2010
125 - make test failed if it was run before make install on perl <=
126 5.8.8, and older versions of perl make our live very difficult,
127 so write constants.pl during Makefile.PL time.
128
1295.25 Sat Mar 13 00:23:14 CET 2010
130 - fix a race condition in AnyEvent::Handle that would cause
131 a "bio_read: unsupported method" error (in _another_
132 ssl connection) after user code threw an exception.
133 - added AnyEvent::Handle->destroyed method.
134 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
135 - the AnyEvent::Util::fh_nonblocking function worked only
136 by lucky accident on win32.
137 - smaller and faster AnyEvent::Util::fh_nonblocking.
138 - when the (required!) Time::HiRes module is missing, AnyEvent
139 did not fall back to built-in time properly.
140 - do not load Fcntl at runtime, saving memory and loading time.
141 - precompile a number of constants and use them instead of runtime
142 detection and eval.
143 - free detection code after detection and similar memory optimisations.
144 - Perl backend timer interval best effort drift has been improved
145 (same algorithm as EV).
146 - update unicode idna mapping table.
147
1485.24 Tue Jan 5 11:39:43 CET 2010
149 - cygwin never reports errors from failed connects. 1.5 just gives
150 you continous readyness and EAGAIN, 1.7 is even more broken and
151 just hangs. work around both issues in a cygwin-specific hack.
152 - improve idle watcher documentation slightly.
153
1545.23 Sun Dec 20 23:48:00 CET 2009
155 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
156 - implement punycode_encode/decode, idn_nameprep,
157 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
158 - provide $AE::VERSION.
159 - removed traces of "no strict 'refs'".
160
1615.22 Sat Dec 5 03:51:13 CET 2009
162 - downgrade-or-fail in AnyEvent::Handle::push_write, to
163 diagnose encoding failures earlier and more succinctly.
164 (this works around bugs in perl, throwing away encoding info
165 when passing scalar data to extensions).
166 - add more examples to AnyEvent::Socket manpage.
167 - upgrade internal warning set to the same as common::sense 2.03.
168 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
169 (John Beppu).
170 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
171 - add google public dns servers to fallback server set and make sure
172 we load-balance properly between the three sets. also add all
173 fallback dns servers, not just a random one, to each dns config.
174
1755.21 Thu Nov 19 02:48:47 CET 2009
176 - fix a problem where socket constants were called with parameters
177 (spotted by David Friedland).
178 - fork_call never use'd POSIX (reported by Daisuke Maki).
179 - improve perl 5.6 compatibility further (but it still won't work
180 unless you rip out everything but the core).
181 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
182 uses 10MB of RAM, but doesn't open a console window. *sigh*.
183
1845.202 Wed Oct 14 22:35:44 CEST 2009
185 - AnyEvent::DNS would unexpectedly clobber $_ under windows
186 (analysed by Matthias Waldorf).
187 - AnyEvent::Handle::run_cmd can now pass the PID of the
188 newly-created process, which is much less useful than it might
189 sound (based on patch by Yann Kerherve).
190
1915.201 Tue Sep 29 12:09:25 CEST 2009
192 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
193 (reported by Torsten Foertsch).
194 - common::sense 2.0 could cause tcp_server to throw an exception
195 (analysed by elmex).
196
1975.2 Mon Sep 14 07:04:49 CEST 2009
198 - INCOMPATIBLE CHANGE: do no longer support register_read_type
199 and register_write_type in AnyEvent::Handle, instead support
200 package names (the facility was mostly abused).
201 - implement "packagename-as-read/write type" support in
202 AnyEvent::Handle.
203 - AnyEvent::Handle: new options "keepalive" and "oobinline".
204 - oobinline set by default to avoid security issues.
205 - the pure-perl event loop backend wrongly detected times() fallback
206 support (spotted by Pavel Boldin).
207
2085.12 Tue Sep 1 20:26:50 CEST 2009
209 - be more lenient when parsing resolv.conf files, as some people
210 use hashmarks as comment indicator inside directives (reported
211 by Michael S. Fischer).
212 - use same set of warnings as common::sense 2.0.
213 - fix a potential 32 bit overflow issue due to perl having problems
214 with large hex constants in the Perl backend.
215 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
216 by default.
217 - fix some prototypes.
218 - (optionally) require Async::Interrupt 1.02.
219 - replace opendns fallbacks by verizon/level3 public dns servers.
220
2215.112 Fri Aug 21 13:59:04 CEST 2009
222 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
223 using starttls with an illegal/uncreatable tls context.
224 - port to broken win32 perls.
225
2265.111 Sun Aug 16 18:44:36 CEST 2009
227 - perl errornously requires sockaddr_un structures returned by the
228 kernel to have a specific length. work around this bug by padding
229 sockaddr_un structures (found to fail on OS X, as perl only uses
230 the correct code for GNU/Linux, but likely to fail on other
231 OSes as well).
232
2335.11 Wed Aug 12 17:49:37 CEST 2009
234 - fixed a bug in run_cmd with input from filename.
235 - create a json coder object when none is given in write direction
236 to reduce dependency on JSON.
237
2385.1 Tue Aug 11 03:17:32 CEST 2009
239 - tcp_connect now reports the correct error in $!, not an unrelated
240 one (was broken since 4.91).
241 - AE::Handle did not properly clear rtimeout/wtimeout watchers
242 when retrying a tcp_connect.
243 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
244 - fixed wrong documentation in AE::Socket.
245
2465.01 Mon Aug 10 03:16:32 CEST 2009
247 - last release broke EV child watchers :/.
248
2495.0 Sun Aug 9 17:32:09 CEST 2009
250 - officially introduce and document the AE API.
251 - lowering the timeout at runtime did not have immediate effect
252 in AnyEvent::Handle.
253 - AE::Handle now has separate and independent read and write timeout
254 settings.
255 - probe for Guard module when AnyEvent::Util is loaded, not at
256 runtime (Event doesn't like eval "use" from callbacks, and it avoids
257 exporting the probe function).
258 - Impl::IOAsync's io watchers did not use the filehandle emulation
259 code to work around it's watcher limits.
260 - work around IO::Async's problems with overloaded objects.
261 - try to disable wearnings inside IO::Async, it's just too buggy.
262 - do no longer use Event by default, only EV or Perl, Event is too buggy.
263 - hackishly provide fast AE:: interface when EV or Perl is the backend.
264 - inherit VERSION from AnyEvent::VERSION in most modules.
265
2664.91 Thu Aug 6 15:42:45 CEST 2009
267 - AE::Handle::starttls could get out of sync when the read buffer
268 already contains some TLS handshake.
269 - AE::Handle did not properly free the TLS session, causing bigger
270 memory leaks in Net::SSLeay than expected (reported by toaster).
271 - AE::Socket::tcp_connect will now artificially delay invoking
272 the callback to avoid returning after invoking the callback.
273 - convert many internal watcher uses to AE API.
274
2754.9 Sat Aug 1 11:07:01 CEST 2009
276 - Glib silently fails when registering a timeout with
277 a negative value, so avoid that.
278 - call condvar callback immediately when it is set
279 after the condition is already signalled.
280 - check rbuf_max condition only after trying to consume
281 data.
282 - normalise signal numbers to names when using the ae's
283 signal handling, but do not document this (yet).
284 - pure perl signal emulation did not properly set nonblocking
285 mode on the signal pipe on win32 (this is unlikely to have caused
286 any issues).
287 - new module: AnyEvent::Debug.
288 - AnyEvent::Strict now checks that a signal was specified
289 by name (not name or number).
290 - reduce memory footprint in typical cases by ~50kb by
291 only compiling signal code when necessary.
292 - add AnyEvent::Handle->rbuf_max.
293 - grab the AE namespace for future new API, implement stubs for
294 said future/alternative API.
295 - new function: AnyEvent::Socket::format_hostport.
296
2974.881 Tue Jul 28 12:51:53 CEST 2009
298 - work around a bug in local in pre-5.10 perls, causing
299 AnyEvent::Handle to recurse when it should not
300 (analysed by elmex).
301
3024.88 Tue Jul 28 04:04:37 CEST 2009
303 - re-bless the handle into a dummy package after calling
304 AnyEvent::Handle::destroy, so the user does not need to check
305 for errors after every push_write etc.
306 - do not attempt to run t/02_signals.t on obviously broken
307 platforms.
308
3094.87 Sun Jul 26 02:06:16 CEST 2009
310 - do not attempt to linger when there is no longer a valid fh.
311 - enforce tls mode to be either accept or connect, do not simply
312 segfault in Net::SSLeay.
313 - AnyEvent::Handle can now call tcp_connect itself (new parameters
314 connect, on_prepare, on_connect and on_connect_error). Updated
315 tutorial accordingly.
316 - add AnyEvent::Impl::Irssi backend.
317
3184.86 Mon Jul 20 23:52:29 CEST 2009
319 - since the verbose warning is not enough, explicitly document
320 that versions before 1.33 of Net::SSLeay are not secure.
321 - work around signal handling races in Event and (...) Event::Lib.
322 - try to align signal-race timer to full-second boundaries.
323 - work around Tk not liking negative timeouts.
324 - don't complain of different grades of environmental unfriendlyness
325 in IO::Async.
326
3274.85 Sat Jul 18 06:16:14 CEST 2009
328 - nail the signal race problem in perl once and for all
329 (see $AnyEvent::MAX_SIGNAL_LATENCY).
330 - take advantage of Async::Interrupt if it is available.
331 - load Time::HiRes and Guard modules on demand only.
332 - add optional/recommended modules section to AnyEvent
333 documentation.
334 - reduce memory usage considerably (and reduce startup penalty)
335 by not using "strict", "warnings" and "overload" modules.
336 - work around buggy windows/openbsd perls and provide EBADMSG
337 and EPROTO ourselves when missing.
338 - improve perl 5.6 compatibility of the core event loop.
339 - made Net::SSLeay version 1.33 a soft requirement.
340
3414.83 Fri Jul 17 16:56:26 CEST 2009
342 - implement AnyEvent::Socket::getprotobyname.
343 - AnyEvent::CondVar's will now detect recursive blocking
344 waits and will croak, as too many people fall into
345 this trap.
4 - AnyEvent::Handle will now call ->destroy on itself after 346 - AnyEvent::Handle will now call ->destroy on itself after
5 executing the on_error callback, instead of doing some 347 executing the on_error callback, instead of doing some
6 half-baked internal shutdown, for fatal errors. 348 half-baked internal shutdown, for fatal errors.
7 - clarify on_eof behaviour w.r.t. the read queue and 349 - clarify on_eof behaviour w.r.t. the read queue and
8 on_read callbacks. 350 on_read callbacks.
1854.3 Fri Oct 3 09:18:43 CEST 2008 5274.3 Fri Oct 3 09:18:43 CEST 2008
186 - AnyEvent will now install a no-op signal handler for SIGPIPE, 528 - AnyEvent will now install a no-op signal handler for SIGPIPE,
187 unless one has been installed already. 529 unless one has been installed already.
188 - warn about not loaidng AnyEvent::Impl::POE early enough 530 - warn about not loaidng AnyEvent::Impl::POE early enough
189 (patch by Adam Rosenstein). 531 (patch by Adam Rosenstein).
190 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 532 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
191 - fix a bug in where in SSL connect mode, the 533 - fix a bug in where in SSL connect mode, the
192 client would first wait for some data by the server and 534 client would first wait for some data by the server and
193 otherwise hang. (reported and analyzed in an absolutely 535 otherwise hang. (reported and analysed in an absolutely
194 exemplary manner by Adam Rosenstein). 536 exemplary manner by Adam Rosenstein).
195 - fix a bug in where SSL EOF would not be treated 537 - fix a bug in where SSL EOF would not be treated
196 as stream EOF, putting the connection into a hung state. 538 as stream EOF, putting the connection into a hung state.
197 (reported and analyzed in an absolutely exemplary manner by Adam 539 (reported and analysed in an absolutely exemplary manner by Adam
198 Rosenstein). 540 Rosenstein).
199 - fix a potential segfault when the TLS context 541 - fix a potential segfault when the TLS context
200 would go missing in a read callback (e.g. due to stoptls) - 542 would go missing in a read callback (e.g. due to stoptls) -
201 Net::SSLeay of course makes no type checking whatsoever. 543 Net::SSLeay of course makes no type checking whatsoever.
202 - AnyEvent::Handle will not stop the read watcher in TLS mode. 544 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines