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

Comparing AnyEvent/Changes (file contents):
Revision 1.225 by root, Wed Apr 1 14:02:27 2009 UTC vs.
Revision 1.411 by root, Tue Oct 12 06:51:40 2010 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3 - set the cloexec flag on the signal pipe. 3TODO: check for -w? somehow?
4TODO: _start might call on_error with ETIMEDOUT??
5TODO: document TCP_*** constants
6AnyEvent::Handle uncaught error: Connection timed out at
7 /usr/local/lib/perl5/site_perl/5.8.8/AnyEvent/HTTP.pm line 473
8 - due to a glitch, AnyEvent's internal getprotobyname wasn't
9 actually used in tcp_server.
10 - implement AnyEvent::CondVar->new method, which was documented but
11 missing.
12 - support autoloading of read types in unshift_read.
13 - AnyEvent::Strict: do the test for invalid fh arguments differently,
14 resulting in more informative error messages.
15 - new AnyEvent::FAQ manpage.
16 - clarify that you can actually call push_read etc. in on_read.
17 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
18 requested by Ron Isaacson.
19 - document $AnyEvent::DNS::RESOLVER variable.
20 - incorporated major typo patches by Abhijit Menon-Sen.
21 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
22 undocumented, but who knows when they might come in handy.
23
245.271 Tue Jun 8 12:05:46 CEST 2010
25 - backport to perl 5.8.x.
26
275.27 Sun Jun 6 12:12:05 CEST 2010
28 - postpone differently in AnyEvent::Socket now, as
29 when not, canceling the connection attempt might fail
30 (found by Felix Antonius Wilhelm Ostmann).
31 - explicitly check for non-stream sockets in AE::Handle, too many
32 clueless people fell into the trap of this somehow working.
33 - simplified and reworked the "OTHER MODULES" section.
34 - better/more condvar examples.
35
365.261 Wed Apr 28 16:13:36 CEST 2010
37 - AF_INET6 was not properly used from Socket6 during configuration
38 time (found by Andy Grundman).
39
405.26 Mon Apr 12 04:49:35 CEST 2010
41 - don't generate spurious readyness notifications when select
42 returns EINTR in the pure perl backend (analysed and testcase
43 by Bas Denissen).
44 - give same examples in SYNOPSIS sections of AnyEvent and AE.
45 - provider faster implementations for AE::time/now/now_update for
46 EV and Perl backends.
47 - provide faster AE::cv and AE::time implementations for all
48 backends.
49 - no longer support lower/mixed-case signal names (this was
50 never documented nor universally supported).
51 - some more memory ยต-optimisations, and somewhat less messy
52 code to cope with both AnyEvent and AE APIs.
53
545.251 Sat Mar 13 00:58:21 CET 2010
55 - make test failed if it was run before make install on perl <=
56 5.8.8, and older versions of perl make our live very difficult,
57 so write constants.pl during Makefile.PL time.
58
595.25 Sat Mar 13 00:23:14 CET 2010
60 - fix a race condition in AnyEvent::Handle that would cause
61 a "bio_read: unsupported method" error (in _another_
62 ssl connection) after user code threw an exception.
63 - added AnyEvent::Handle->destroyed method.
64 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
65 - the AnyEvent::Util::fh_nonblocking function worked only
66 by lucky accident on win32.
67 - smaller and faster AnyEvent::Util::fh_nonblocking.
68 - when the (required!) Time::HiRes module is missing, AnyEvent
69 did not fall back to built-in time properly.
70 - do not load Fcntl at runtime, saving memory and loading time.
71 - precompile a number of constants and use them instead of runtime
72 detection and eval.
73 - free detection code after detection and similar memory optimisations.
74 - Perl backend timer interval best effort drift has been improved
75 (same algorithm as EV).
76 - update unicode idna mapping table.
77
785.24 Tue Jan 5 11:39:43 CET 2010
79 - cygwin never reports errors from failed connects. 1.5 just gives
80 you continous readyness and EAGAIN, 1.7 is even more broken and
81 just hangs. work around both issues in a cygwin-specific hack.
82 - improve idle watcher documentation slightly.
83
845.23 Sun Dec 20 23:48:00 CET 2009
85 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
86 - implement punycode_encode/decode, idn_nameprep,
87 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
88 - provide $AE::VERSION.
89 - removed traces of "no strict 'refs'".
90
915.22 Sat Dec 5 03:51:13 CET 2009
92 - downgrade-or-fail in AnyEvent::Handle::push_write, to
93 diagnose encoding failures earlier and more succinctly.
94 (this works around bugs in perl, throwing away encoding info
95 when passing scalar data to extensions).
96 - add more examples to AnyEvent::Socket manpage.
97 - upgrade internal warning set to the same as common::sense 2.03.
98 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
99 (John Beppu).
100 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
101 - add google public dns servers to fallback server set and make sure
102 we load-balance properly between the three sets. also add all
103 fallback dns servers, not just a random one, to each dns config.
104
1055.21 Thu Nov 19 02:48:47 CET 2009
106 - fix a problem where socket constants were called with parameters
107 (spotted by David Friedland).
108 - fork_call never use'd POSIX (reported by Daisuke Maki).
109 - improve perl 5.6 compatibility further (but it still won't work
110 unless you rip out everything but the core).
111 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
112 uses 10MB of RAM, but doesn't open a console window. *sigh*.
113
1145.202 Wed Oct 14 22:35:44 CEST 2009
115 - AnyEvent::DNS would unexpectedly clobber $_ under windows
116 (analysed by Matthias Waldorf).
117 - AnyEvent::Handle::run_cmd can now pass the PID of the
118 newly-created process, which is much less useful than it might
119 sound (based on patch by Yann Kerherve).
120
1215.201 Tue Sep 29 12:09:25 CEST 2009
122 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
123 (reported by Torsten Foertsch).
124 - common::sense 2.0 could cause tcp_server to throw an exception
125 (analysed by elmex).
126
1275.2 Mon Sep 14 07:04:49 CEST 2009
128 - INCOMPATIBLE CHANGE: do no longer support register_read_type
129 and register_write_type in AnyEvent::Handle, instead support
130 package names (the facility was mostly abused).
131 - implement "packagename-as-read/write type" support in
132 AnyEvent::Handle.
133 - AnyEvent::Handle: new options "keepalive" and "oobinline".
134 - oobinline set by default to avoid security issues.
135 - the pure-perl event loop backend wrongly detected times() fallback
136 support (spotted by Pavel Boldin).
137
1385.12 Tue Sep 1 20:26:50 CEST 2009
139 - be more lenient when parsing resolv.conf files, as some people
140 use hashmarks as comment indicator inside directives (reported
141 by Michael S. Fischer).
142 - use same set of warnings as common::sense 2.0.
143 - fix a potential 32 bit overflow issue due to perl having problems
144 with large hex constants in the Perl backend.
145 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
146 by default.
147 - fix some prototypes.
148 - (optionally) require Async::Interrupt 1.02.
149 - replace opendns fallbacks by verizon/level3 public dns servers.
150
1515.112 Fri Aug 21 13:59:04 CEST 2009
152 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
153 using starttls with an illegal/uncreatable tls context.
154 - port to broken win32 perls.
155
1565.111 Sun Aug 16 18:44:36 CEST 2009
157 - perl errornously requires sockaddr_un structures returned by the
158 kernel to have a specific length. work around this bug by padding
159 sockaddr_un structures (found to fail on OS X, as perl only uses
160 the correct code for GNU/Linux, but likely to fail on other
161 OSes as well).
162
1635.11 Wed Aug 12 17:49:37 CEST 2009
164 - fixed a bug in run_cmd with input from filename.
165 - create a json coder object when none is given in write direction
166 to reduce dependency on JSON.
167
1685.1 Tue Aug 11 03:17:32 CEST 2009
169 - tcp_connect now reports the correct error in $!, not an unrelated
170 one (was broken since 4.91).
171 - AE::Handle did not properly clear rtimeout/wtimeout watchers
172 when retrying a tcp_connect.
173 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
174 - fixed wrong documentation in AE::Socket.
175
1765.01 Mon Aug 10 03:16:32 CEST 2009
177 - last release broke EV child watchers :/.
178
1795.0 Sun Aug 9 17:32:09 CEST 2009
180 - officially introduce and document the AE API.
181 - lowering the timeout at runtime did not have immediate effect
182 in AnyEvent::Handle.
183 - AE::Handle now has separate and independent read and write timeout
184 settings.
185 - probe for Guard module when AnyEvent::Util is loaded, not at
186 runtime (Event doesn't like eval "use" from callbacks, and it avoids
187 exporting the probe function).
188 - Impl::IOAsync's io watchers did not use the filehandle emulation
189 code to work around it's watcher limits.
190 - work around IO::Async's problems with overloaded objects.
191 - try to disable wearnings inside IO::Async, it's just too buggy.
192 - do no longer use Event by default, only EV or Perl, Event is too buggy.
193 - hackishly provide fast AE:: interface when EV or Perl is the backend.
194 - inherit VERSION from AnyEvent::VERSION in most modules.
195
1964.91 Thu Aug 6 15:42:45 CEST 2009
197 - AE::Handle::starttls could get out of sync when the read buffer
198 already contains some TLS handshake.
199 - AE::Handle did not properly free the TLS session, causing bigger
200 memory leaks in Net::SSLeay than expected (reported by toaster).
201 - AE::Socket::tcp_connect will now artificially delay invoking
202 the callback to avoid returning after invoking the callback.
203 - convert many internal watcher uses to AE API.
204
2054.9 Sat Aug 1 11:07:01 CEST 2009
206 - Glib silently fails when registering a timeout with
207 a negative value, so avoid that.
208 - call condvar callback immediately when it is set
209 after the condition is already signalled.
210 - check rbuf_max condition only after trying to consume
211 data.
212 - normalise signal numbers to names when using the ae's
213 signal handling, but do not document this (yet).
214 - pure perl signal emulation did not properly set nonblocking
215 mode on the signal pipe on win32 (this is unlikely to have caused
216 any issues).
217 - new module: AnyEvent::Debug.
218 - AnyEvent::Strict now checks that a signal was specified
219 by name (not name or number).
220 - reduce memory footprint in typical cases by ~50kb by
221 only compiling signal code when necessary.
222 - add AnyEvent::Handle->rbuf_max.
223 - grab the AE namespace for future new API, implement stubs for
224 said future/alternative API.
225 - new function: AnyEvent::Socket::format_hostport.
226
2274.881 Tue Jul 28 12:51:53 CEST 2009
228 - work around a bug in local in pre-5.10 perls, causing
229 AnyEvent::Handle to recurse when it should not
230 (analysed by elmex).
231
2324.88 Tue Jul 28 04:04:37 CEST 2009
233 - re-bless the handle into a dummy package after calling
234 AnyEvent::Handle::destroy, so the user does not need to check
235 for errors after every push_write etc.
236 - do not attempt to run t/02_signals.t on obviously broken
237 platforms.
238
2394.87 Sun Jul 26 02:06:16 CEST 2009
240 - do not attempt to linger when there is no longer a valid fh.
241 - enforce tls mode to be either accept or connect, do not simply
242 segfault in Net::SSLeay.
243 - AnyEvent::Handle can now call tcp_connect itself (new parameters
244 connect, on_prepare, on_connect and on_connect_error). Updated
245 tutorial accordingly.
246 - add AnyEvent::Impl::Irssi backend.
247
2484.86 Mon Jul 20 23:52:29 CEST 2009
249 - since the verbose warning is not enough, explicitly document
250 that versions before 1.33 of Net::SSLeay are not secure.
251 - work around signal handling races in Event and (...) Event::Lib.
252 - try to align signal-race timer to full-second boundaries.
253 - work around Tk not liking negative timeouts.
254 - don't complain of different grades of environmental unfriendlyness
255 in IO::Async.
256
2574.85 Sat Jul 18 06:16:14 CEST 2009
258 - nail the signal race problem in perl once and for all
259 (see $AnyEvent::MAX_SIGNAL_LATENCY).
260 - take advantage of Async::Interrupt if it is available.
261 - load Time::HiRes and Guard modules on demand only.
262 - add optional/recommended modules section to AnyEvent
263 documentation.
264 - reduce memory usage considerably (and reduce startup penalty)
265 by not using "strict", "warnings" and "overload" modules.
266 - work around buggy windows/openbsd perls and provide EBADMSG
267 and EPROTO ourselves when missing.
268 - improve perl 5.6 compatibility of the core event loop.
269 - made Net::SSLeay version 1.33 a soft requirement.
270
2714.83 Fri Jul 17 16:56:26 CEST 2009
272 - implement AnyEvent::Socket::getprotobyname.
273 - AnyEvent::CondVar's will now detect recursive blocking
274 waits and will croak, as too many people fall into
275 this trap.
276 - AnyEvent::Handle will now call ->destroy on itself after
277 executing the on_error callback, instead of doing some
278 half-baked internal shutdown, for fatal errors.
279 - clarify on_eof behaviour w.r.t. the read queue and
280 on_read callbacks.
281 - ignore some possible spurious wake-ups in tcp_connect.
282
2834.82 Sat Jul 11 00:34:55 CEST 2009
284 - POE and Event backends didn't accept some callable objects as
285 callbacks.
286 - use Config module instead of POSIX module to detect signal names
287 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
288 module doesn't even have all POSIX signals :/.
289 - use more workarounds around the many refcnt/corruption bugs in
290 Event::Lib.
291 - work around a race condition in perl's select, causing t/03_child.t
292 to rarely fail.
293
2944.81 Thu Jul 9 10:30:30 CEST 2009
295 - AnyEvent::Handle didn't properly diagnose write errors
296 (it expected -1 from syswrite, how lame... :).
297 - support file descriptors in addition to file handles
298 in AnyEvent->io.
299 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
300 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
301 and PERL_ANYEVENT_CA_PATH.
302 - provide a sensible synopsis section for AnyEvent::TLS.
303 - add a "supported backends" section to the manpage.
304 - added simple io watcher test to testsuite, using a
305 portable_socketpair.
306 - tried to improve the stability of the Event::Lib backend,
307 YMMV.
308
3094.8 Mon Jul 6 23:45:16 CEST 2009
310 - AnyEvent::DNS did not properly follow CNAME records with
311 uppercase targets.
312 - AnyEvent::DNS would errornously return AAAA records
313 with v4 mapped addresses (a faulty record) as ipv4 addresses,
314 causing AnyEvent::Socket to throw an exception.
315 - added new module AnyEvent::TLS for easier SSL/TLS context
316 creation, with many options including hostname verification,
317 secure default configuration, lots of documentation and,
318 predefined diffie-hellman keys for perfect forward security
319 and much more. get it while it's still fresh!
320 - use AnyEvent::TLS in AnyEvent::Handle for context management.
321 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
322 so AnyEvent::Socket users have smaller memory footprint
323 in the common case.
324 - add AnyEvent::Handle->push_shutdown method.
325 - add an additional error message parameter to AnyEvent::Handle's
326 on_error callback (for TLS, $! is still available).
327 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
328 - make AnyEvent::Handle more robust against early conenction
329 failures (during new), and return C<undef> in that case
330 from the constructor.
331 - AnyEvent::Handle will now try to load only JSON::XS first,
332 then fall back to JSON.
333 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
334 and because it was documented that way.
335
3364.451 Fri Jul 3 00:28:58 CEST 2009
337 - do not clear rbuf when shutting down an AnyEvent::Handle
338 object - doing so breaks AnyEvent::HTTP.
339
3404.45 Mon Jun 29 22:59:26 CEST 2009
341 - a write error could cause AnyEvent::Handle to create
342 an I/O watcher with an undefined $fh.
343 - special-case mapped ipv4 addresses in both
344 AnyEvent::Socket::format_address and parse_address,
345 to treat them just like ipv4 addresses.
346 - updated and overhauled the AnyEvent::Intro doc.
347 - implement AnyEvent::Socket::format_ipv4/ipv6.
348 - slightly speed up portable_pipe/socketpair.
349 - expand condvar begin/end documentation.
350
3514.42 Fri Jun 26 08:32:18 CEST 2009
352 - preliminary and neccesarily incomplete support for IO::Async.
353 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
354 case it was set to IGNORE, to ensure we can catch child statuses
355 even when the calling env acts stupidly.
356 - updated benchmarks with IO::Async, which performs very well.
357
3584.412 Wed Jun 24 01:35:57 CEST 2009
359 - support an "untaint" attribute for AnyEvent::DNS
360 and set it on the default resolver.
361 - implement and document AnyEvent::Impl::Perl::loop.
362 - remove all anyevent-env variables from %ENV
363 when running in tainted mode.
364 - mention and extend the IO::Lambda benchmark.
365
3664.411 Sun Jun 7 18:48:02 CEST 2009
367 - do not try to use F_SETFD on windows.
368
3694.41 Thu May 14 06:40:11 CEST 2009
370 - work around issues in older perls (5.8.0?) when
371 a signal handler is deleted from the %SIG hash.
372 - use POSIX::_exit in child test, to avoid running
373 destructors.
374 - speed up CHLD handling by relying on SIGCHLD being
375 synchronously delivered, even when we roll our own
376 implementation.
377 - AnyEvent::DNS: add the "dname" resource record name
378 for cosmetic reasons.
379
3804.4 Sun Apr 26 20:12:33 CEST 2009
381 - implemented idle watchers, where applicable.
382 - AnyEvent->time died when Event backend was in use.
383 - fix a memleak in the Tk backend.
384 - sped up Tk timer handling.
385 - clip negative "after" values to 0 in AnyEvent::Impl::Event
386 to avoid spamming out warning messages.
387 - fix Qt timers without interval.
388 - avoid Qt zero-timeout special case, in old libqt's.
389
3904.352 Mon Apr 20 16:31:11 CEST 2009
391 - fix AnyEvent::Strict error messages for child watchers.
392 - fix/update Makefile.PL "recommends" versions.
393 - add AnyEvent->now_update.
394
3954.351 Sat Apr 11 07:56:14 CEST 2009
4 - actually make the signal pipe work under win32. 396 - actually make the signal pipe work under win32.
397 - localise $! in signal handler to avoid changing $!, although
398 perl itself does not seem to save/restore errno either.
399 - set the cloexec flag on the signal pipe (normally set by perl too).
5 400
64.35 Fri Mar 27 11:48:20 CET 2009 4014.35 Fri Mar 27 11:48:20 CET 2009
7 - event models relying on AnyEvent's signal watcher emulation did 402 - event models relying on AnyEvent's signal watcher emulation did
8 invoke the callback asynchronously, contradicting documentation 403 invoke the callback asynchronously, contradicting documentation
9 and causing signals to get lost (this includes AnyEvent's own 404 and causing signals to get lost (this includes AnyEvent's own
624.3 Fri Oct 3 09:18:43 CEST 2008 4574.3 Fri Oct 3 09:18:43 CEST 2008
63 - AnyEvent will now install a no-op signal handler for SIGPIPE, 458 - AnyEvent will now install a no-op signal handler for SIGPIPE,
64 unless one has been installed already. 459 unless one has been installed already.
65 - warn about not loaidng AnyEvent::Impl::POE early enough 460 - warn about not loaidng AnyEvent::Impl::POE early enough
66 (patch by Adam Rosenstein). 461 (patch by Adam Rosenstein).
67 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 462 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
68 - fix a bug in where in SSL connect mode, the 463 - fix a bug in where in SSL connect mode, the
69 client would first wait for some data by the server and 464 client would first wait for some data by the server and
70 otherwise hang. (reported and analyzed in an absolutely 465 otherwise hang. (reported and analysed in an absolutely
71 exemplary manner by Adam Rosenstein). 466 exemplary manner by Adam Rosenstein).
72 - fix a bug in where SSL EOF would not be treated 467 - fix a bug in where SSL EOF would not be treated
73 as stream EOF, putting the connection into a hung state. 468 as stream EOF, putting the connection into a hung state.
74 (reported and analyzed in an absolutely exemplary manner by Adam 469 (reported and analysed in an absolutely exemplary manner by Adam
75 Rosenstein). 470 Rosenstein).
76 - fix a potential segfault when the TLS context 471 - fix a potential segfault when the TLS context
77 would go missing in a read callback (e.g. due to stoptls) - 472 would go missing in a read callback (e.g. due to stoptls) -
78 Net::SSLeay of course makes no type checking whatsoever. 473 Net::SSLeay of course makes no type checking whatsoever.
79 - AnyEvent::Handle will not stop the read watcher in TLS mode. 474 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines