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

Comparing AnyEvent/Changes (file contents):
Revision 1.198 by root, Thu Oct 23 02:41:00 2008 UTC vs.
Revision 1.395 by root, Thu May 20 21:22:20 2010 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
3TODO: docs signal for condvar
4
5 - simplified and reworked the "OTHER MODULES" section.
6 - explicitly check for non-stream sockets in AE::Handle, too many
7 clueless people fell into the trap of this somehow working
8 (see the horrible AE::Handle::UDP for a good example...).
9
105.261 Wed Apr 28 16:13:36 CEST 2010
11 - AF_INET6 was not properly used from Socket6 during configuration
12 time (found by Andy Grundman).
13
145.26 Mon Apr 12 04:49:35 CEST 2010
15 - don't generate spurious readyness notifications when select
16 returns EINTR in the pure perl backend (analysed and testcase
17 by Bas Denissen).
18 - give same examples in SYNOPSIS sections of AnyEvent and AE.
19 - provider faster implementations for AE::time/now/now_update for
20 EV and Perl backends.
21 - provide faster AE::cv and AE::time implementations for all
22 backends.
23 - no longer support lower/mixed-case signal names (this was
24 never documented nor universally supported).
25 - some more memory µ-optimisations, and somewhat less messy
26 code to cope with both AnyEvent and AE APIs.
27
285.251 Sat Mar 13 00:58:21 CET 2010
29 - make test failed if it was run before make install on perl <=
30 5.8.8, and older versions of perl make our live very difficult,
31 so write constants.pl during Makefile.PL time.
32
335.25 Sat Mar 13 00:23:14 CET 2010
34 - fix a race condition in AnyEvent::Handle that would cause
35 a "bio_read: unsupported method" error (in _another_
36 ssl connection) after user code threw an exception.
37 - added AnyEvent::Handle->destroyed method.
38 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
39 - the AnyEvent::Util::fh_nonblocking function worked only
40 by lucky accident on win32.
41 - smaller and faster AnyEvent::Util::fh_nonblocking.
42 - when the (required!) Time::HiRes module is missing, AnyEvent
43 did not fall back to built-in time properly.
44 - do not load Fcntl at runtime, saving memory and loading time.
45 - precompile a number of constants and use them instead of runtime
46 detection and eval.
47 - free detection code after detection and similar memory optimisations.
48 - Perl backend timer interval best effort drift has been improved
49 (same algorithm as EV).
50 - update unicode idna mapping table.
51
525.24 Tue Jan 5 11:39:43 CET 2010
53 - cygwin never reports errors from failed connects. 1.5 just gives
54 you continous readyness and EAGAIN, 1.7 is even more broken and
55 just hangs. work around both issues in a cygwin-specific hack.
56 - improve idle watcher documentation slightly.
57
585.23 Sun Dec 20 23:48:00 CET 2009
59 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
60 - implement punycode_encode/decode, idn_nameprep,
61 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
62 - provide $AE::VERSION.
63 - removed traces of "no strict 'refs'".
64
655.22 Sat Dec 5 03:51:13 CET 2009
66 - downgrade-or-fail in AnyEvent::Handle::push_write, to
67 diagnose encoding failures earlier and more succinctly.
68 (this works around bugs in perl, throwing away encoding info
69 when passing scalar data to extensions).
70 - add more examples to AnyEvent::Socket manpage.
71 - upgrade internal warning set to the same as common::sense 2.03.
72 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
73 (John Beppu).
74 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
75 - add google public dns servers to fallback server set and make sure
76 we load-balance properly between the three sets. also add all
77 fallback dns servers, not just a random one, to each dns config.
78
795.21 Thu Nov 19 02:48:47 CET 2009
80 - fix a problem where socket constants were called with parameters
81 (spotted by David Friedland).
82 - fork_call never use'd POSIX (reported by Daisuke Maki).
83 - improve perl 5.6 compatibility further (but it still won't work
84 unless you rip out everything but the core).
85 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
86 uses 10MB of RAM, but doesn't open a console window. *sigh*.
87
885.202 Wed Oct 14 22:35:44 CEST 2009
89 - AnyEvent::DNS would unexpectedly clobber $_ under windows
90 (analysed by Matthias Waldorf).
91 - AnyEvent::Handle::run_cmd can now pass the PID of the
92 newly-created process, which is much less useful than it might
93 sound (based on patch by Yann Kerherve).
94
955.201 Tue Sep 29 12:09:25 CEST 2009
96 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
97 (reported by Torsten Foertsch).
98 - common::sense 2.0 could cause tcp_server to throw an exception
99 (analysed by elmex).
100
1015.2 Mon Sep 14 07:04:49 CEST 2009
102 - INCOMPATIBLE CHANGE: do no longer support register_read_type
103 and register_write_type in AnyEvent::Handle, instead support
104 package names (the facility was mostly abused).
105 - implement "packagename-as-read/write type" support in
106 AnyEvent::Handle.
107 - AnyEvent::Handle: new options "keepalive" and "oobinline".
108 - oobinline set by default to avoid security issues.
109 - the pure-perl event loop backend wrongly detected times() fallback
110 support (spotted by Pavel Boldin).
111
1125.12 Tue Sep 1 20:26:50 CEST 2009
113 - be more lenient when parsing resolv.conf files, as some people
114 use hashmarks as comment indicator inside directives (reported
115 by Michael S. Fischer).
116 - use same set of warnings as common::sense 2.0.
117 - fix a potential 32 bit overflow issue due to perl having problems
118 with large hex constants in the Perl backend.
119 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
120 by default.
121 - fix some prototypes.
122 - (optionally) require Async::Interrupt 1.02.
123 - replace opendns fallbacks by verizon/level3 public dns servers.
124
1255.112 Fri Aug 21 13:59:04 CEST 2009
126 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
127 using starttls with an illegal/uncreatable tls context.
128 - port to broken win32 perls.
129
1305.111 Sun Aug 16 18:44:36 CEST 2009
131 - perl errornously requires sockaddr_un structures returned by the
132 kernel to have a specific length. work around this bug by padding
133 sockaddr_un structures (found to fail on OS X, as perl only uses
134 the correct code for GNU/Linux, but likely to fail on other
135 OSes as well).
136
1375.11 Wed Aug 12 17:49:37 CEST 2009
138 - fixed a bug in run_cmd with input from filename.
139 - create a json coder object when none is given in write direction
140 to reduce dependency on JSON.
141
1425.1 Tue Aug 11 03:17:32 CEST 2009
143 - tcp_connect now reports the correct error in $!, not an unrelated
144 one (was broken since 4.91).
145 - AE::Handle did not properly clear rtimeout/wtimeout watchers
146 when retrying a tcp_connect.
147 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
148 - fixed wrong documentation in AE::Socket.
149
1505.01 Mon Aug 10 03:16:32 CEST 2009
151 - last release broke EV child watchers :/.
152
1535.0 Sun Aug 9 17:32:09 CEST 2009
154 - officially introduce and document the AE API.
155 - lowering the timeout at runtime did not have immediate effect
156 in AnyEvent::Handle.
157 - AE::Handle now has separate and independent read and write timeout
158 settings.
159 - probe for Guard module when AnyEvent::Util is loaded, not at
160 runtime (Event doesn't like eval "use" from callbacks, and it avoids
161 exporting the probe function).
162 - Impl::IOAsync's io watchers did not use the filehandle emulation
163 code to work around it's watcher limits.
164 - work around IO::Async's problems with overloaded objects.
165 - try to disable wearnings inside IO::Async, it's just too buggy.
166 - do no longer use Event by default, only EV or Perl, Event is too buggy.
167 - hackishly provide fast AE:: interface when EV or Perl is the backend.
168 - inherit VERSION from AnyEvent::VERSION in most modules.
169
1704.91 Thu Aug 6 15:42:45 CEST 2009
171 - AE::Handle::starttls could get out of sync when the read buffer
172 already contains some TLS handshake.
173 - AE::Handle did not properly free the TLS session, causing bigger
174 memory leaks in Net::SSLeay than expected (reported by toaster).
175 - AE::Socket::tcp_connect will now artificially delay invoking
176 the callback to avoid returning after invoking the callback.
177 - convert many internal watcher uses to AE API.
178
1794.9 Sat Aug 1 11:07:01 CEST 2009
180 - Glib silently fails when registering a timeout with
181 a negative value, so avoid that.
182 - call condvar callback immediately when it is set
183 after the condition is already signalled.
184 - check rbuf_max condition only after trying to consume
185 data.
186 - normalise signal numbers to names when using the ae's
187 signal handling, but do not document this (yet).
188 - pure perl signal emulation did not properly set nonblocking
189 mode on the signal pipe on win32 (this is unlikely to have caused
190 any issues).
191 - new module: AnyEvent::Debug.
192 - AnyEvent::Strict now checks that a signal was specified
193 by name (not name or number).
194 - reduce memory footprint in typical cases by ~50kb by
195 only compiling signal code when necessary.
196 - add AnyEvent::Handle->rbuf_max.
197 - grab the AE namespace for future new API, implement stubs for
198 said future/alternative API.
199 - new function: AnyEvent::Socket::format_hostport.
200
2014.881 Tue Jul 28 12:51:53 CEST 2009
202 - work around a bug in local in pre-5.10 perls, causing
203 AnyEvent::Handle to recurse when it should not
204 (analysed by elmex).
205
2064.88 Tue Jul 28 04:04:37 CEST 2009
207 - re-bless the handle into a dummy package after calling
208 AnyEvent::Handle::destroy, so the user does not need to check
209 for errors after every push_write etc.
210 - do not attempt to run t/02_signals.t on obviously broken
211 platforms.
212
2134.87 Sun Jul 26 02:06:16 CEST 2009
214 - do not attempt to linger when there is no longer a valid fh.
215 - enforce tls mode to be either accept or connect, do not simply
216 segfault in Net::SSLeay.
217 - AnyEvent::Handle can now call tcp_connect itself (new parameters
218 connect, on_prepare, on_connect and on_connect_error). Updated
219 tutorial accordingly.
220 - add AnyEvent::Impl::Irssi backend.
221
2224.86 Mon Jul 20 23:52:29 CEST 2009
223 - since the verbose warning is not enough, explicitly document
224 that versions before 1.33 of Net::SSLeay are not secure.
225 - work around signal handling races in Event and (...) Event::Lib.
226 - try to align signal-race timer to full-second boundaries.
227 - work around Tk not liking negative timeouts.
228 - don't complain of different grades of environmental unfriendlyness
229 in IO::Async.
230
2314.85 Sat Jul 18 06:16:14 CEST 2009
232 - nail the signal race problem in perl once and for all
233 (see $AnyEvent::MAX_SIGNAL_LATENCY).
234 - take advantage of Async::Interrupt if it is available.
235 - load Time::HiRes and Guard modules on demand only.
236 - add optional/recommended modules section to AnyEvent
237 documentation.
238 - reduce memory usage considerably (and reduce startup penalty)
239 by not using "strict", "warnings" and "overload" modules.
240 - work around buggy windows/openbsd perls and provide EBADMSG
241 and EPROTO ourselves when missing.
242 - improve perl 5.6 compatibility of the core event loop.
243 - made Net::SSLeay version 1.33 a soft requirement.
244
2454.83 Fri Jul 17 16:56:26 CEST 2009
246 - implement AnyEvent::Socket::getprotobyname.
247 - AnyEvent::CondVar's will now detect recursive blocking
248 waits and will croak, as too many people fall into
249 this trap.
250 - AnyEvent::Handle will now call ->destroy on itself after
251 executing the on_error callback, instead of doing some
252 half-baked internal shutdown, for fatal errors.
253 - clarify on_eof behaviour w.r.t. the read queue and
254 on_read callbacks.
255 - ignore some possible spurious wake-ups in tcp_connect.
256
2574.82 Sat Jul 11 00:34:55 CEST 2009
258 - POE and Event backends didn't accept some callable objects as
259 callbacks.
260 - use Config module instead of POSIX module to detect signal names
261 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
262 module doesn't even have all POSIX signals :/.
263 - use more workarounds around the many refcnt/corruption bugs in
264 Event::Lib.
265 - work around a race condition in perl's select, causing t/03_child.t
266 to rarely fail.
267
2684.81 Thu Jul 9 10:30:30 CEST 2009
269 - AnyEvent::Handle didn't properly diagnose write errors
270 (it expected -1 from syswrite, how lame... :).
271 - support file descriptors in addition to file handles
272 in AnyEvent->io.
273 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
274 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
275 and PERL_ANYEVENT_CA_PATH.
276 - provide a sensible synopsis section for AnyEvent::TLS.
277 - add a "supported backends" section to the manpage.
278 - added simple io watcher test to testsuite, using a
279 portable_socketpair.
280 - tried to improve the stability of the Event::Lib backend,
281 YMMV.
282
2834.8 Mon Jul 6 23:45:16 CEST 2009
284 - AnyEvent::DNS did not properly follow CNAME records with
285 uppercase targets.
286 - AnyEvent::DNS would errornously return AAAA records
287 with v4 mapped addresses (a faulty record) as ipv4 addresses,
288 causing AnyEvent::Socket to throw an exception.
289 - added new module AnyEvent::TLS for easier SSL/TLS context
290 creation, with many options including hostname verification,
291 secure default configuration, lots of documentation and,
292 predefined diffie-hellman keys for perfect forward security
293 and much more. get it while it's still fresh!
294 - use AnyEvent::TLS in AnyEvent::Handle for context management.
295 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
296 so AnyEvent::Socket users have smaller memory footprint
297 in the common case.
298 - add AnyEvent::Handle->push_shutdown method.
299 - add an additional error message parameter to AnyEvent::Handle's
300 on_error callback (for TLS, $! is still available).
301 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
302 - make AnyEvent::Handle more robust against early conenction
303 failures (during new), and return C<undef> in that case
304 from the constructor.
305 - AnyEvent::Handle will now try to load only JSON::XS first,
306 then fall back to JSON.
307 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
308 and because it was documented that way.
309
3104.451 Fri Jul 3 00:28:58 CEST 2009
311 - do not clear rbuf when shutting down an AnyEvent::Handle
312 object - doing so breaks AnyEvent::HTTP.
313
3144.45 Mon Jun 29 22:59:26 CEST 2009
315 - a write error could cause AnyEvent::Handle to create
316 an I/O watcher with an undefined $fh.
317 - special-case mapped ipv4 addresses in both
318 AnyEvent::Socket::format_address and parse_address,
319 to treat them just like ipv4 addresses.
320 - updated and overhauled the AnyEvent::Intro doc.
321 - implement AnyEvent::Socket::format_ipv4/ipv6.
322 - slightly speed up portable_pipe/socketpair.
323 - expand condvar begin/end documentation.
324
3254.42 Fri Jun 26 08:32:18 CEST 2009
326 - preliminary and neccesarily incomplete support for IO::Async.
327 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
328 case it was set to IGNORE, to ensure we can catch child statuses
329 even when the calling env acts stupidly.
330 - updated benchmarks with IO::Async, which performs very well.
331
3324.412 Wed Jun 24 01:35:57 CEST 2009
333 - support an "untaint" attribute for AnyEvent::DNS
334 and set it on the default resolver.
335 - implement and document AnyEvent::Impl::Perl::loop.
336 - remove all anyevent-env variables from %ENV
337 when running in tainted mode.
338 - mention and extend the IO::Lambda benchmark.
339
3404.411 Sun Jun 7 18:48:02 CEST 2009
341 - do not try to use F_SETFD on windows.
342
3434.41 Thu May 14 06:40:11 CEST 2009
344 - work around issues in older perls (5.8.0?) when
345 a signal handler is deleted from the %SIG hash.
346 - use POSIX::_exit in child test, to avoid running
347 destructors.
348 - speed up CHLD handling by relying on SIGCHLD being
349 synchronously delivered, even when we roll our own
350 implementation.
351 - AnyEvent::DNS: add the "dname" resource record name
352 for cosmetic reasons.
353
3544.4 Sun Apr 26 20:12:33 CEST 2009
355 - implemented idle watchers, where applicable.
356 - AnyEvent->time died when Event backend was in use.
357 - fix a memleak in the Tk backend.
358 - sped up Tk timer handling.
359 - clip negative "after" values to 0 in AnyEvent::Impl::Event
360 to avoid spamming out warning messages.
361 - fix Qt timers without interval.
362 - avoid Qt zero-timeout special case, in old libqt's.
363
3644.352 Mon Apr 20 16:31:11 CEST 2009
365 - fix AnyEvent::Strict error messages for child watchers.
366 - fix/update Makefile.PL "recommends" versions.
367 - add AnyEvent->now_update.
368
3694.351 Sat Apr 11 07:56:14 CEST 2009
370 - actually make the signal pipe work under win32.
371 - localise $! in signal handler to avoid changing $!, although
372 perl itself does not seem to save/restore errno either.
373 - set the cloexec flag on the signal pipe (normally set by perl too).
374
3754.35 Fri Mar 27 11:48:20 CET 2009
376 - event models relying on AnyEvent's signal watcher emulation did
377 invoke the callback asynchronously, contradicting documentation
378 and causing signals to get lost (this includes AnyEvent's own
379 event loop). AnyEvent now uses the standard pipe trick to make
380 callback execution synchronous to the event loop.
381 - AnyEvent::Handle didn't free TLS context data on DESTROY
382 (patch by Pavel Shaydo).
383 - work around the ever-incompatibly-changing API of MakeMaker.
384 - document that changing global variables without restoring them
385 is a bad idea in Perl (noted by Adam Rosenstein).
386 - AnyEvent::Strict now barfs if ->io is passed a file.
387
3884.34 Thu Feb 12 18:32:45 CET 2009
389 - separately buffer TLS read data, as otherwise the read queue could
390 deadlock as receiving data is not expected while draining the
391 read queue (which cna only happen with TLS).
392 - raise EBADMSG error on JSON decoding errors.
393 - fix some minor manpage bugs (reported by Maximilian Gaß).
394 - speed up select bitmask parsing quite a bit in the pure perl
395 backend.
396 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
397
3984.331 Tue Jan 6 21:07:25 CET 2009
399 - socketpair fails on many vista machines because vista has
400 completely broken accept/getpeername and getsockname functions,
401 so we provide our own socketpair emulation that kind of works
402 (AnyEvent::Util::portable_pipe).
403 - new function: AnyEvent::Util::portable_socketpair.
404 - take advantage of the Guard module if it exists.
405
4064.33 Fri Nov 21 02:35:40 CET 2008
407 - AnyEvent::Strict did errornously flag a fileno of 0 as
408 illegal.
409 - reduce memory usage and slightly speed up the pure perl backend
410 by only storing the file descriptor, not the file handle.
411 - add missing autocork method to AnyEvent::Handle (reported
412 by Adam Rosenstein).
413 - AnyEvent::DNS->resolve errornously documented an $rcode result
414 argument, but there isn't (spotted by Henrik Krohns).
415 - the naked truth about Tk - it's basically unmaintained.
416
4174.32 Mon Nov 3 22:46:32 CET 2008
418 - fix AnyEvent::Socket::resolve_sockaddr to properly support
419 unix sockets again and choose a proper default for
420 the socket type.
421 - fix call to resolve_sockaddr in tcp_connect.
422
4234.31 Thu Oct 30 04:41:48 CET 2008
3 - implement AnyEvent::Handle->destroy method. 424 - implemented AnyEvent::Handle->destroy method.
4 - hint about unexpected effects in tls mode. 425 - hint about unexpected effects in TLS mode.
426 - speed up AnyEvent::Impl::Perl by using more arrays
427 instead of hashes without the slightest loss of readability :)
428 - work around a perl argument refcounting bug.
429 - with some perl patches applied, AnyEvent now seems leak-free.
5 430
64.3 Fri Oct 3 09:18:43 CEST 2008 4314.3 Fri Oct 3 09:18:43 CEST 2008
7 - AnyEvent will now install a no-op signal handler for SIGPIPE, 432 - AnyEvent will now install a no-op signal handler for SIGPIPE,
8 unless one has been installed already. 433 unless one has been installed already.
9 - warn about not loaidng AnyEvent::Impl::POE early enough 434 - warn about not loaidng AnyEvent::Impl::POE early enough
10 (patch by Adam Rosenstein). 435 (patch by Adam Rosenstein).
11 - fixed a great number of bugs and corner cases in AnyEvent::Handle: 436 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
12 - fix a bug in where in SSL connect mode, the 437 - fix a bug in where in SSL connect mode, the
13 client would first wait for some data by the server and 438 client would first wait for some data by the server and
14 otherwise hang. (reported and analyzed in an absolutely 439 otherwise hang. (reported and analysed in an absolutely
15 exemplary manner by Adam Rosenstein). 440 exemplary manner by Adam Rosenstein).
16 - fix a bug in where SSL EOF would not be treated 441 - fix a bug in where SSL EOF would not be treated
17 as stream EOF, putting the connection into a hung state. 442 as stream EOF, putting the connection into a hung state.
18 (reported and analyzed in an absolutely exemplary manner by Adam 443 (reported and analysed in an absolutely exemplary manner by Adam
19 Rosenstein). 444 Rosenstein).
20 - fix a potential segfault when the TLS context 445 - fix a potential segfault when the TLS context
21 would go missing in a read callback (e.g. due to stoptls) - 446 would go missing in a read callback (e.g. due to stoptls) -
22 Net::SSLeay of course makes no type checking whatsoever. 447 Net::SSLeay of course makes no type checking whatsoever.
23 - AnyEvent::Handle will not stop the read watcher in TLS mode. 448 - AnyEvent::Handle will not stop the read watcher in TLS mode.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines