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

Comparing AnyEvent/Changes (file contents):
Revision 1.309 by root, Wed Jul 29 13:15:55 2009 UTC vs.
Revision 1.502 by root, Thu Sep 1 22:09:25 2011 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: release a:i 1.0 3TODO: document TCP_*** constants
4
5TODO: ae::stritc, regulalry check for invalid fds?
6TODO: critical messages log by default?
7TODO: document- boosted default logging level to critical.
8TOOD: stop internals abusing
9TODO: set loglevel to warn, even, as thats recommended?
10TODO: document default loglevel in table
11TODO: AE_LOG in tutorial?
12TODO: add google ipv6 public dns
13TODO: #TODO in Intro
14 - increase signal latency test timer considerably for poor little osx.
15
166.02 Fri Aug 26 20:08:31 CEST 2011
17 - log_to_syslog now accepts facility strings.
18 - log_to_syslog would not allow facilities - "$facility|$level"
19 *literally* means that string. sheesh.
20 - the CPAN parser got confused and thought we provide Sys::Syslog, try
21 to work around.
22 - renamed AnyEvent::Impl::FLTK2 to FLTK.
23
246.01 Fri Aug 26 07:04:11 CEST 2011
25 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
26 the TTL as fourth element - this affects ->resolve, ->request
27 and ->dns_unpack indirectly. Convenience functions such as
28 AnyEvent::DNS::{a,txt,mx,srv} are not affected, neither is
29 AnyEvent::Socket.
30 - INCOMPATIBLE CHANGE: backend authors now should not implement
31 one_event or loop, but instead the AnyEvent::CondVar::_wait and _poll
32 methods.
33 - INCOMPATIBLE CHANGE: verbosity levels have been redefined, see
34 AnyEvent (PERL_ANYEVENT_VERBOSE) and AnyEvent::Log for details.
35 - DEPRECIATION: please change
36 "use AnyEvent::Impl::Perl" to "use AnyEvent::Loop" and
37 "AnyEvent::Impl::Perl::loop" to "AnyEvent::Loop::run"
38 in your programs, for future compatibility.
39 - *blush* idle watcher emulation was borked.
40 - AnyEvent::Strict now checks the AE::xxx functions as well.
41 - querying too long domain names would barf deep inside AnyEvent::DNS - since
42 this is hard to avoid for applications, AnyEvent:.DNS::request now checks for
43 for too long domain names explicitly and passes an undef to the callback
44 instead (reported by James Bromberger).
45 - make AnyEvent::Util more robust against EINTR (analyzed by Andrew Suffield).
46 - new functions: AnyEvent::postpone, AnyEvent::log.
47 - new module: AnyEvent::Log, for simple logging needs.
48 - new env variable, PERL_ANYEVENT_LOG, for fine-grained logging config.
49 - new env variable, PERL_ANYEVENT_DEBUG_SHELL, to automatically start
50 a debug shell.
51 - new env variable, PERL_ANYEVENT_DEBUG_WRAP, to automatically enable
52 watcher instrumentation/wrapping (see AnyEvent::Debug::wrap).
53 - new env variable, PERL_ANYEVENT_HOSTS, to override the place where
54 F</etc/hosts> can be found.
55 - an empty PERL_ANYEVENT_RESOLV_CONF now selects the default
56 configuration.
57 - env variables can now be specified using AE_xyz instead of
58 PERL_ANYEVENT_xyz, subject to some rules.
59 - lots of new AnyEvent::Debug functionality.
60 - AnyEvent::Strict now checks for modifications $_ by the callback
61 (by setting it to readonly while executing the callback, if possible).
62 - IO::Async sometimes cancels the wrong timer when you call cancel_timer.
63 Invest extra overhead to work around this peculiar behaviour.
64 - split the pure perl backend into a loop module and an impl
65 module (AnyEvent::Loop and AnyEvent::Impl::Perl).
66 - some read types (regex, netstring, json, storable) could
67 errornously keep an AE::Handle object alive on their own
68 (reported by Mohammad Toossi).
69 - AnyEvent::Socket::resolve_sockaddr and all functions using it now
70 supports /etc/hosts overrides.
71 - add more workarounds around child watcher bugs in IO::Async
72 and (newly introduced) in POE.
73 - use glib child watchers and try to work around its limitations,
74 if possible (based on a patch by Kevin Ryde).
75 - add support for FLTK (fltk2), via AnyEvent::Impl::FLTK2.
76 - many read types in AnyEvent::Handle would malfunction during
77 transitions to TLS because of a "delete $self->{rbuf}".
78 (reported by Gerald Galster).
79 - improve condvar blocking wait performance (probably only noticable
80 with faster backends), also make it easier for event loops that
81 do not support blocking waits.
82 - PERL_ANYEVENT_MODEL now also allows full module names, although
83 the usefulness of this feature is not yet clear.
84 - add tests for all supported event loops, conditional on PERL_ANYEVENT_LOOP_TESTS.
85 - add t/80_ssltext.t.
86 - no longer use AUTOLOAD for the initial loading (for no very good reason).
87 - tcp_server now tries to unlink unix domain sockets when it gets destroyed.
88 - do not run event loop detection multiple times when programs call their cached
89 copies of AnyEvent::detect.
90 - parse_hostport now accepts absolute paths als unix domain sockets.
91 - suppress the idiotic warning inside POE by patching the POE::Kernel
92 run flags instead of asking the user to jump through contortions.
93 - add Task::Weaken as dependency (as recommends only at this time).
94 - replace PF_UNSPEC by 0, for good old minix.
95
966.0 (not officially released, but was on CPAN for about 15 minutes :/)
97
985.34 Thu May 12 09:59:41 CEST 2011
99 - AE::TLS didn't support both cert_file and key at the same time,
100 due to some copy&paste bug (reported and analyzed by vti).
101 - improve AE::Handle timeout documentation slightly.
102
1035.33 Mon Feb 7 21:51:41 CET 2011
104 - never appeared on CPAN, for unknown reasons.
105 - AnyEvent::Handle on_connect_error - do not try to destroy a handle
106 object when it's already gone (analyzed by Ryan Bullock).
107 - update idna algorithm(s) to UTS#46 version 6.0.0.
108 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
109 uts46 says it's an error, and testsuite makes more sense.
110 - remove leading dots in idn_to_ascii - testsuite says to remove,
111 uts46 says it's an error, and testsuite makes more sense.
112 - fixed a bug in idn ignored character processing.
113 - passes the uts46 6.0.0 testsuite except for three cases which
114 apparently are bugs in the testsuite itself.
115 - passes the uts46 6.0.1 testsuite except for eleven cases which
116 apparently are bugs in the testsuite itself.
117
1185.31 Sun Jan 23 11:49:19 CET 2011
119 - work around a POE bug where POE would first poll for new events and
120 invoke handlers BEFORE handling the message queue.
121 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
122 - stop_read now does just that in TLS mode. see its
123 documentation for caveats.
124 - update to common::sense 3.4 warning set (some warnings in perl impose
125 an arbitrary 32kb limit on regex matches, which affects
126 AnyEvent::Handle).
127 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
128 - new experimental AE::Handle::resettls method.
129
1305.3 Fri Dec 31 05:48:13 CET 2010
131 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
132 issues with IO::Async have been solved in that version, including
133 the availabilty of a default loop!
134 - implement new wbuf_max parameter for AnyEvent::Handle.
135 - added Cocoa::EventLoop backend by Daisuke Murase.
136 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
137 - clarify handle on_prepare documentation.
138 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
139 to avoid leaking them to any child processes.
140 - try to force files into the arch-dependend lib directory, for the
141 half-"turly obsessive compulsive person"(s) that depend on it.
142
1435.29 Sun Dec 5 10:49:21 CET 2010
144 - convert EV backend to EV 4.00 API (so better upgrade EV too).
145 - AE::Handle: implement dynamic read_size adjustment, add
146 max_read_size parameter, reduce default read_size to 2048.
147 - add some FAQ entries for servers and/or on_eof vs. on_error.
148 - work around OS bugs (cygwin again) when lingering in AE::Handle.
149 - reduce memory usage slightly when connect was used in AE::Handle.
150 - wrok around more segfaults in Tk.
151 - document tls_ctx => undef as valid.
152 - detect WNOHANG value at compiletime.
153 - include some probably linux-only support for building AnyEvent
154 as part of the perl core.
155 - improve compatibility of t/08_idna.t to perl 5.8.
156 - make AnyEvent::Strict truly optional (in case somebody builds a
157 minimal perl...).
158
1595.28 Wed Oct 13 04:14:23 CEST 2010
160 - due to a glitch, AnyEvent's internal getprotobyname wasn't
161 actually used in tcp_server.
162 - implement AnyEvent::CondVar->new method, which was documented but
163 missing.
164 - support autoloading of read types in unshift_read.
165 - AnyEvent::Strict: do the test for invalid fh arguments differently,
166 resulting in more informative error messages.
167 - new AnyEvent::FAQ manpage.
168 - clarify that you can actually call push_read etc. in on_read.
169 - put keys and certs in /tmp, not into the current directory,
170 and document this in the SECURITY CONSIDERATIONS sections
171 of AnyEvent::TLS.
172 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
173 requested by Ron Isaacson.
174 - document $AnyEvent::DNS::RESOLVER variable.
175 - incorporated major typo patches by Abhijit Menon-Sen.
176 - AnyEvent::Handle now croaks when negative timeouts are passed.
177 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
178 undocumented, but who knows when they might come in handy.
179
1805.271 Tue Jun 8 12:05:46 CEST 2010
181 - backport to perl 5.8.x.
182
1835.27 Sun Jun 6 12:12:05 CEST 2010
184 - postpone differently in AnyEvent::Socket now, as
185 when not, canceling the connection attempt might fail
186 (found by Felix Antonius Wilhelm Ostmann).
187 - explicitly check for non-stream sockets in AE::Handle, too many
188 clueless people fell into the trap of this somehow working.
189 - simplified and reworked the "OTHER MODULES" section.
190 - better/more condvar examples.
191
1925.261 Wed Apr 28 16:13:36 CEST 2010
193 - AF_INET6 was not properly used from Socket6 during configuration
194 time (found by Andy Grundman).
195
1965.26 Mon Apr 12 04:49:35 CEST 2010
197 - don't generate spurious readyness notifications when select
198 returns EINTR in the pure perl backend (analysed and testcase
199 by Bas Denissen).
200 - give same examples in SYNOPSIS sections of AnyEvent and AE.
201 - provider faster implementations for AE::time/now/now_update for
202 EV and Perl backends.
203 - provide faster AE::cv and AE::time implementations for all
204 backends.
205 - no longer support lower/mixed-case signal names (this was
206 never documented nor universally supported).
207 - some more memory ยต-optimisations, and somewhat less messy
208 code to cope with both AnyEvent and AE APIs.
209
2105.251 Sat Mar 13 00:58:21 CET 2010
211 - make test failed if it was run before make install on perl <=
212 5.8.8, and older versions of perl make our live very difficult,
213 so write constants.pl during Makefile.PL time.
214
2155.25 Sat Mar 13 00:23:14 CET 2010
216 - fix a race condition in AnyEvent::Handle that would cause
217 a "bio_read: unsupported method" error (in _another_
218 ssl connection) after user code threw an exception.
219 - added AnyEvent::Handle->destroyed method.
220 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
221 - the AnyEvent::Util::fh_nonblocking function worked only
222 by lucky accident on win32.
223 - smaller and faster AnyEvent::Util::fh_nonblocking.
224 - when the (required!) Time::HiRes module is missing, AnyEvent
225 did not fall back to built-in time properly.
226 - do not load Fcntl at runtime, saving memory and loading time.
227 - precompile a number of constants and use them instead of runtime
228 detection and eval.
229 - free detection code after detection and similar memory optimisations.
230 - Perl backend timer interval best effort drift has been improved
231 (same algorithm as EV).
232 - update unicode idna mapping table.
233
2345.24 Tue Jan 5 11:39:43 CET 2010
235 - cygwin never reports errors from failed connects. 1.5 just gives
236 you continous readyness and EAGAIN, 1.7 is even more broken and
237 just hangs. work around both issues in a cygwin-specific hack.
238 - improve idle watcher documentation slightly.
239
2405.23 Sun Dec 20 23:48:00 CET 2009
241 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
242 - implement punycode_encode/decode, idn_nameprep,
243 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
244 - provide $AE::VERSION.
245 - removed traces of "no strict 'refs'".
246
2475.22 Sat Dec 5 03:51:13 CET 2009
248 - downgrade-or-fail in AnyEvent::Handle::push_write, to
249 diagnose encoding failures earlier and more succinctly.
250 (this works around bugs in perl, throwing away encoding info
251 when passing scalar data to extensions).
252 - add more examples to AnyEvent::Socket manpage.
253 - upgrade internal warning set to the same as common::sense 2.03.
254 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
255 (John Beppu).
256 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
257 - add google public dns servers to fallback server set and make sure
258 we load-balance properly between the three sets. also add all
259 fallback dns servers, not just a random one, to each dns config.
260
2615.21 Thu Nov 19 02:48:47 CET 2009
262 - fix a problem where socket constants were called with parameters
263 (spotted by David Friedland).
264 - fork_call never use'd POSIX (reported by Daisuke Maki).
265 - improve perl 5.6 compatibility further (but it still won't work
266 unless you rip out everything but the core).
267 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
268 uses 10MB of RAM, but doesn't open a console window. *sigh*.
269
2705.202 Wed Oct 14 22:35:44 CEST 2009
271 - AnyEvent::DNS would unexpectedly clobber $_ under windows
272 (analysed by Matthias Waldorf).
273 - AnyEvent::Handle::run_cmd can now pass the PID of the
274 newly-created process, which is much less useful than it might
275 sound (based on patch by Yann Kerherve).
276
2775.201 Tue Sep 29 12:09:25 CEST 2009
278 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
279 (reported by Torsten Foertsch).
280 - common::sense 2.0 could cause tcp_server to throw an exception
281 (analysed by elmex).
282
2835.2 Mon Sep 14 07:04:49 CEST 2009
284 - INCOMPATIBLE CHANGE: do no longer support register_read_type
285 and register_write_type in AnyEvent::Handle, instead support
286 package names (the facility was mostly abused).
287 - implement "packagename-as-read/write type" support in
288 AnyEvent::Handle.
289 - AnyEvent::Handle: new options "keepalive" and "oobinline".
290 - oobinline set by default to avoid security issues.
291 - the pure-perl event loop backend wrongly detected times() fallback
292 support (spotted by Pavel Boldin).
293
2945.12 Tue Sep 1 20:26:50 CEST 2009
295 - be more lenient when parsing resolv.conf files, as some people
296 use hashmarks as comment indicator inside directives (reported
297 by Michael S. Fischer).
298 - use same set of warnings as common::sense 2.0.
299 - fix a potential 32 bit overflow issue due to perl having problems
300 with large hex constants in the Perl backend.
301 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
302 by default.
303 - fix some prototypes.
304 - (optionally) require Async::Interrupt 1.02.
305 - replace opendns fallbacks by verizon/level3 public dns servers.
306
3075.112 Fri Aug 21 13:59:04 CEST 2009
308 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
309 using starttls with an illegal/uncreatable tls context.
310 - port to broken win32 perls.
311
3125.111 Sun Aug 16 18:44:36 CEST 2009
313 - perl errornously requires sockaddr_un structures returned by the
314 kernel to have a specific length. work around this bug by padding
315 sockaddr_un structures (found to fail on OS X, as perl only uses
316 the correct code for GNU/Linux, but likely to fail on other
317 OSes as well).
318
3195.11 Wed Aug 12 17:49:37 CEST 2009
320 - fixed a bug in run_cmd with input from filename.
321 - create a json coder object when none is given in write direction
322 to reduce dependency on JSON.
323
3245.1 Tue Aug 11 03:17:32 CEST 2009
325 - tcp_connect now reports the correct error in $!, not an unrelated
326 one (was broken since 4.91).
327 - AE::Handle did not properly clear rtimeout/wtimeout watchers
328 when retrying a tcp_connect.
329 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
330 - fixed wrong documentation in AE::Socket.
331
3325.01 Mon Aug 10 03:16:32 CEST 2009
333 - last release broke EV child watchers :/.
334
3355.0 Sun Aug 9 17:32:09 CEST 2009
336 - officially introduce and document the AE API.
337 - lowering the timeout at runtime did not have immediate effect
338 in AnyEvent::Handle.
339 - AE::Handle now has separate and independent read and write timeout
340 settings.
341 - probe for Guard module when AnyEvent::Util is loaded, not at
342 runtime (Event doesn't like eval "use" from callbacks, and it avoids
343 exporting the probe function).
344 - Impl::IOAsync's io watchers did not use the filehandle emulation
345 code to work around it's watcher limits.
346 - work around IO::Async's problems with overloaded objects.
347 - try to disable wearnings inside IO::Async, it's just too buggy.
348 - do no longer use Event by default, only EV or Perl, Event is too buggy.
349 - hackishly provide fast AE:: interface when EV or Perl is the backend.
350 - inherit VERSION from AnyEvent::VERSION in most modules.
351
3524.91 Thu Aug 6 15:42:45 CEST 2009
353 - AE::Handle::starttls could get out of sync when the read buffer
354 already contains some TLS handshake.
355 - AE::Handle did not properly free the TLS session, causing bigger
356 memory leaks in Net::SSLeay than expected (reported by toaster).
357 - AE::Socket::tcp_connect will now artificially delay invoking
358 the callback to avoid returning after invoking the callback.
359 - convert many internal watcher uses to AE API.
360
3614.9 Sat Aug 1 11:07:01 CEST 2009
4 - Glib silently fails when registering a timeout with 362 - Glib silently fails when registering a timeout with
5 a negative value, so avoid that. 363 a negative value, so avoid that.
364 - call condvar callback immediately when it is set
365 after the condition is already signalled.
366 - check rbuf_max condition only after trying to consume
367 data.
6 - normalise signal numbers to names when using the ae's 368 - normalise signal numbers to names when using the ae's
7 signal handling, but do not document this (yet). 369 signal handling, but do not document this (yet).
8 - pure perl signal emulation did not properly set nonblocking 370 - pure perl signal emulation did not properly set nonblocking
9 mode on the signal pipe on win32 (this is unlikely to have caused 371 mode on the signal pipe on win32 (this is unlikely to have caused
10 any issues). 372 any issues).
373 - new module: AnyEvent::Debug.
11 - AnyEvent::Strict now checks that a signal was specified 374 - AnyEvent::Strict now checks that a signal was specified
12 by name (not name or number). 375 by name (not name or number).
13 - reduce memory footprint in typical cases by ~50kb by 376 - reduce memory footprint in typical cases by ~50kb by
14 only compiling signal code when necessary. 377 only compiling signal code when necessary.
378 - add AnyEvent::Handle->rbuf_max.
379 - grab the AE namespace for future new API, implement stubs for
380 said future/alternative API.
381 - new function: AnyEvent::Socket::format_hostport.
15 382
164.881 Tue Jul 28 12:51:53 CEST 2009 3834.881 Tue Jul 28 12:51:53 CEST 2009
17 - work around a bug in local in pre-5.10 perls, causing 384 - work around a bug in local in pre-5.10 perls, causing
18 AnyEvent::Handle to recurse when it should not 385 AnyEvent::Handle to recurse when it should not
19 (analyzed by elmex). 386 (analysed by elmex).
20 387
214.88 Tue Jul 28 04:04:37 CEST 2009 3884.88 Tue Jul 28 04:04:37 CEST 2009
22 - re-bless the handle into a dummy package after calling 389 - re-bless the handle into a dummy package after calling
23 AnyEvent::Handle::destroy, so the user does not need to check 390 AnyEvent::Handle::destroy, so the user does not need to check
24 for errors after every push_write etc. 391 for errors after every push_write etc.
2464.3 Fri Oct 3 09:18:43 CEST 2008 6134.3 Fri Oct 3 09:18:43 CEST 2008
247 - AnyEvent will now install a no-op signal handler for SIGPIPE, 614 - AnyEvent will now install a no-op signal handler for SIGPIPE,
248 unless one has been installed already. 615 unless one has been installed already.
249 - warn about not loaidng AnyEvent::Impl::POE early enough 616 - warn about not loaidng AnyEvent::Impl::POE early enough
250 (patch by Adam Rosenstein). 617 (patch by Adam Rosenstein).
251 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 618 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
252 - fix a bug in where in SSL connect mode, the 619 - fix a bug in where in SSL connect mode, the
253 client would first wait for some data by the server and 620 client would first wait for some data by the server and
254 otherwise hang. (reported and analyzed in an absolutely 621 otherwise hang. (reported and analysed in an absolutely
255 exemplary manner by Adam Rosenstein). 622 exemplary manner by Adam Rosenstein).
256 - fix a bug in where SSL EOF would not be treated 623 - fix a bug in where SSL EOF would not be treated
257 as stream EOF, putting the connection into a hung state. 624 as stream EOF, putting the connection into a hung state.
258 (reported and analyzed in an absolutely exemplary manner by Adam 625 (reported and analysed in an absolutely exemplary manner by Adam
259 Rosenstein). 626 Rosenstein).
260 - fix a potential segfault when the TLS context 627 - fix a potential segfault when the TLS context
261 would go missing in a read callback (e.g. due to stoptls) - 628 would go missing in a read callback (e.g. due to stoptls) -
262 Net::SSLeay of course makes no type checking whatsoever. 629 Net::SSLeay of course makes no type checking whatsoever.
263 - AnyEvent::Handle will not stop the read watcher in TLS mode. 630 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines