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

Comparing AnyEvent/Changes (file contents):
Revision 1.155 by root, Fri Jun 6 11:01:17 2008 UTC vs.
Revision 1.451 by root, Sun Jul 24 14:24:03 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
8TODO: Kevin Ryde (3.8K) 1 inbox Glib child processes
9 - INCOMPATIBLE CHANGE: AnyEvent::DNS resource records now include
10 the TTL as fourth element - this affects ->resolve directly,
11 and ->request and ->dns_unpack indirectly. Convenience functions
12 such as AnyEvent::DNS::{a,txt,mx,srv} are not affected.
13 - some read types (regex, netstring, json, storable) could
14 errornously keep an AE::Handle object alive on their own
15 (reported by Mohammad Toossi).
16 - add support for (currently third-party) AnyEvent::Impl::FLTK.
17 - many read types in AnyEvent::Handle would malfunction during
18 transitions to TLS because of a "delete $self->{rbuf}".
19 (reported by Gerald Galster).
20 - resolve AnyEvent::Util::guard at first-use-time, not at load time,
21 for further speed and memory savings when not used.
22
235.34 Thu May 12 09:59:41 CEST 2011
24 - AE::TLS didn't support both cert_file and key at the same time,
25 due to some copy&paste bug (reported and analyzed by vti).
26 - improve AE::Handle timeout documentation slightly.
27
285.33 Mon Feb 7 21:51:41 CET 2011
29 - never appeared on CPAN, for unknown reasons.
30 - AnyEvent::Handle on_connect_error - do not try to destroy a handle
31 object when it's already gone (analyzed by Ryan Bullock).
32 - update idna algorithm(s) to UTS#46 version 6.0.0.
33 - preserve trailing dot in idn_to_ascii - testsuite says to preserve,
34 uts46 says it's an error, and testsuite makes more sense.
35 - remove leading dots in idn_to_ascii - testsuite says to remove,
36 uts46 says it's an error, and testsuite makes more sense.
37 - fixed a bug in idn ignored character processing.
38 - passes the uts46 6.0.0 testsuite except for three cases which
39 apparently are bugs in the testsuite itself.
40 - passes the uts46 6.0.1 testsuite except for eleven cases which
41 apparently are bugs in the testsuite itself.
42
435.31 Sun Jan 23 11:49:19 CET 2011
44 - work around a POE bug where POE would first poll for new events and
45 invoke handlers BEFORE handling the message queue.
46 - fix parsing of "domain" statement in resolv.conf (Johannes Plunien).
47 - stop_read now does just that in TLS mode. see its
48 documentation for caveats.
49 - update to common::sense 3.4 warning set (some warnings in perl impose
50 an arbitrary 32kb limit on regex matches, which affects
51 AnyEvent::Handle).
52 - AE::Handle had a broken rbuf_max method and missing wbuf_max method.
53 - new experimental AE::Handle::resettls method.
54
555.3 Fri Dec 31 05:48:13 CET 2010
56 - major IOAsync patch by Paul Evans - 0.33 is required, as the major
57 issues with IO::Async have been solved in that version, including
58 the availabilty of a default loop!
59 - implement new wbuf_max parameter for AnyEvent::Handle.
60 - added Cocoa::EventLoop backend by Daisuke Murase.
61 - the default testsuite now honors PERL_ANYEVENT_MODEL (Paul Evans).
62 - clarify handle on_prepare documentation.
63 - set CLOEXEC flag on parent-side fd's in AnyEvent::Util::run_cmd,
64 to avoid leaking them to any child processes.
65 - try to force files into the arch-dependend lib directory, for the
66 half-"turly obsessive compulsive person"(s) that depend on it.
67
685.29 Sun Dec 5 10:49:21 CET 2010
69 - convert EV backend to EV 4.00 API (so better upgrade EV too).
70 - AE::Handle: implement dynamic read_size adjustment, add
71 max_read_size parameter, reduce default read_size to 2048.
72 - add some FAQ entries for servers and/or on_eof vs. on_error.
73 - work around OS bugs (cygwin again) when lingering in AE::Handle.
74 - reduce memory usage slightly when connect was used in AE::Handle.
75 - wrok around more segfaults in Tk.
76 - document tls_ctx => undef as valid.
77 - detect WNOHANG value at compiletime.
78 - include some probably linux-only support for building AnyEvent
79 as part of the perl core.
80 - improve compatibility of t/08_idna.t to perl 5.8.
81 - make AnyEvent::Strict truly optional (in case somebody builds a
82 minimal perl...).
83
845.28 Wed Oct 13 04:14:23 CEST 2010
85 - due to a glitch, AnyEvent's internal getprotobyname wasn't
86 actually used in tcp_server.
87 - implement AnyEvent::CondVar->new method, which was documented but
88 missing.
89 - support autoloading of read types in unshift_read.
90 - AnyEvent::Strict: do the test for invalid fh arguments differently,
91 resulting in more informative error messages.
92 - new AnyEvent::FAQ manpage.
93 - clarify that you can actually call push_read etc. in on_read.
94 - put keys and certs in /tmp, not into the current directory,
95 and document this in the SECURITY CONSIDERATIONS sections
96 of AnyEvent::TLS.
97 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
98 requested by Ron Isaacson.
99 - document $AnyEvent::DNS::RESOLVER variable.
100 - incorporated major typo patches by Abhijit Menon-Sen.
101 - AnyEvent::Handle now croaks when negative timeouts are passed.
102 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
103 undocumented, but who knows when they might come in handy.
104
1055.271 Tue Jun 8 12:05:46 CEST 2010
106 - backport to perl 5.8.x.
107
1085.27 Sun Jun 6 12:12:05 CEST 2010
109 - postpone differently in AnyEvent::Socket now, as
110 when not, canceling the connection attempt might fail
111 (found by Felix Antonius Wilhelm Ostmann).
112 - explicitly check for non-stream sockets in AE::Handle, too many
113 clueless people fell into the trap of this somehow working.
114 - simplified and reworked the "OTHER MODULES" section.
115 - better/more condvar examples.
116
1175.261 Wed Apr 28 16:13:36 CEST 2010
118 - AF_INET6 was not properly used from Socket6 during configuration
119 time (found by Andy Grundman).
120
1215.26 Mon Apr 12 04:49:35 CEST 2010
122 - don't generate spurious readyness notifications when select
123 returns EINTR in the pure perl backend (analysed and testcase
124 by Bas Denissen).
125 - give same examples in SYNOPSIS sections of AnyEvent and AE.
126 - provider faster implementations for AE::time/now/now_update for
127 EV and Perl backends.
128 - provide faster AE::cv and AE::time implementations for all
129 backends.
130 - no longer support lower/mixed-case signal names (this was
131 never documented nor universally supported).
132 - some more memory µ-optimisations, and somewhat less messy
133 code to cope with both AnyEvent and AE APIs.
134
1355.251 Sat Mar 13 00:58:21 CET 2010
136 - make test failed if it was run before make install on perl <=
137 5.8.8, and older versions of perl make our live very difficult,
138 so write constants.pl during Makefile.PL time.
139
1405.25 Sat Mar 13 00:23:14 CET 2010
141 - fix a race condition in AnyEvent::Handle that would cause
142 a "bio_read: unsupported method" error (in _another_
143 ssl connection) after user code threw an exception.
144 - added AnyEvent::Handle->destroyed method.
145 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
146 - the AnyEvent::Util::fh_nonblocking function worked only
147 by lucky accident on win32.
148 - smaller and faster AnyEvent::Util::fh_nonblocking.
149 - when the (required!) Time::HiRes module is missing, AnyEvent
150 did not fall back to built-in time properly.
151 - do not load Fcntl at runtime, saving memory and loading time.
152 - precompile a number of constants and use them instead of runtime
153 detection and eval.
154 - free detection code after detection and similar memory optimisations.
155 - Perl backend timer interval best effort drift has been improved
156 (same algorithm as EV).
157 - update unicode idna mapping table.
158
1595.24 Tue Jan 5 11:39:43 CET 2010
160 - cygwin never reports errors from failed connects. 1.5 just gives
161 you continous readyness and EAGAIN, 1.7 is even more broken and
162 just hangs. work around both issues in a cygwin-specific hack.
163 - improve idle watcher documentation slightly.
164
1655.23 Sun Dec 20 23:48:00 CET 2009
166 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
167 - implement punycode_encode/decode, idn_nameprep,
168 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
169 - provide $AE::VERSION.
170 - removed traces of "no strict 'refs'".
171
1725.22 Sat Dec 5 03:51:13 CET 2009
173 - downgrade-or-fail in AnyEvent::Handle::push_write, to
174 diagnose encoding failures earlier and more succinctly.
175 (this works around bugs in perl, throwing away encoding info
176 when passing scalar data to extensions).
177 - add more examples to AnyEvent::Socket manpage.
178 - upgrade internal warning set to the same as common::sense 2.03.
179 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
180 (John Beppu).
181 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
182 - add google public dns servers to fallback server set and make sure
183 we load-balance properly between the three sets. also add all
184 fallback dns servers, not just a random one, to each dns config.
185
1865.21 Thu Nov 19 02:48:47 CET 2009
187 - fix a problem where socket constants were called with parameters
188 (spotted by David Friedland).
189 - fork_call never use'd POSIX (reported by Daisuke Maki).
190 - improve perl 5.6 compatibility further (but it still won't work
191 unless you rip out everything but the core).
192 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
193 uses 10MB of RAM, but doesn't open a console window. *sigh*.
194
1955.202 Wed Oct 14 22:35:44 CEST 2009
196 - AnyEvent::DNS would unexpectedly clobber $_ under windows
197 (analysed by Matthias Waldorf).
198 - AnyEvent::Handle::run_cmd can now pass the PID of the
199 newly-created process, which is much less useful than it might
200 sound (based on patch by Yann Kerherve).
201
2025.201 Tue Sep 29 12:09:25 CEST 2009
203 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
204 (reported by Torsten Foertsch).
205 - common::sense 2.0 could cause tcp_server to throw an exception
206 (analysed by elmex).
207
2085.2 Mon Sep 14 07:04:49 CEST 2009
209 - INCOMPATIBLE CHANGE: do no longer support register_read_type
210 and register_write_type in AnyEvent::Handle, instead support
211 package names (the facility was mostly abused).
212 - implement "packagename-as-read/write type" support in
213 AnyEvent::Handle.
214 - AnyEvent::Handle: new options "keepalive" and "oobinline".
215 - oobinline set by default to avoid security issues.
216 - the pure-perl event loop backend wrongly detected times() fallback
217 support (spotted by Pavel Boldin).
218
2195.12 Tue Sep 1 20:26:50 CEST 2009
220 - be more lenient when parsing resolv.conf files, as some people
221 use hashmarks as comment indicator inside directives (reported
222 by Michael S. Fischer).
223 - use same set of warnings as common::sense 2.0.
224 - fix a potential 32 bit overflow issue due to perl having problems
225 with large hex constants in the Perl backend.
226 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
227 by default.
228 - fix some prototypes.
229 - (optionally) require Async::Interrupt 1.02.
230 - replace opendns fallbacks by verizon/level3 public dns servers.
231
2325.112 Fri Aug 21 13:59:04 CEST 2009
233 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
234 using starttls with an illegal/uncreatable tls context.
235 - port to broken win32 perls.
236
2375.111 Sun Aug 16 18:44:36 CEST 2009
238 - perl errornously requires sockaddr_un structures returned by the
239 kernel to have a specific length. work around this bug by padding
240 sockaddr_un structures (found to fail on OS X, as perl only uses
241 the correct code for GNU/Linux, but likely to fail on other
242 OSes as well).
243
2445.11 Wed Aug 12 17:49:37 CEST 2009
245 - fixed a bug in run_cmd with input from filename.
246 - create a json coder object when none is given in write direction
247 to reduce dependency on JSON.
248
2495.1 Tue Aug 11 03:17:32 CEST 2009
250 - tcp_connect now reports the correct error in $!, not an unrelated
251 one (was broken since 4.91).
252 - AE::Handle did not properly clear rtimeout/wtimeout watchers
253 when retrying a tcp_connect.
254 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
255 - fixed wrong documentation in AE::Socket.
256
2575.01 Mon Aug 10 03:16:32 CEST 2009
258 - last release broke EV child watchers :/.
259
2605.0 Sun Aug 9 17:32:09 CEST 2009
261 - officially introduce and document the AE API.
262 - lowering the timeout at runtime did not have immediate effect
263 in AnyEvent::Handle.
264 - AE::Handle now has separate and independent read and write timeout
265 settings.
266 - probe for Guard module when AnyEvent::Util is loaded, not at
267 runtime (Event doesn't like eval "use" from callbacks, and it avoids
268 exporting the probe function).
269 - Impl::IOAsync's io watchers did not use the filehandle emulation
270 code to work around it's watcher limits.
271 - work around IO::Async's problems with overloaded objects.
272 - try to disable wearnings inside IO::Async, it's just too buggy.
273 - do no longer use Event by default, only EV or Perl, Event is too buggy.
274 - hackishly provide fast AE:: interface when EV or Perl is the backend.
275 - inherit VERSION from AnyEvent::VERSION in most modules.
276
2774.91 Thu Aug 6 15:42:45 CEST 2009
278 - AE::Handle::starttls could get out of sync when the read buffer
279 already contains some TLS handshake.
280 - AE::Handle did not properly free the TLS session, causing bigger
281 memory leaks in Net::SSLeay than expected (reported by toaster).
282 - AE::Socket::tcp_connect will now artificially delay invoking
283 the callback to avoid returning after invoking the callback.
284 - convert many internal watcher uses to AE API.
285
2864.9 Sat Aug 1 11:07:01 CEST 2009
287 - Glib silently fails when registering a timeout with
288 a negative value, so avoid that.
289 - call condvar callback immediately when it is set
290 after the condition is already signalled.
291 - check rbuf_max condition only after trying to consume
292 data.
293 - normalise signal numbers to names when using the ae's
294 signal handling, but do not document this (yet).
295 - pure perl signal emulation did not properly set nonblocking
296 mode on the signal pipe on win32 (this is unlikely to have caused
297 any issues).
298 - new module: AnyEvent::Debug.
299 - AnyEvent::Strict now checks that a signal was specified
300 by name (not name or number).
301 - reduce memory footprint in typical cases by ~50kb by
302 only compiling signal code when necessary.
303 - add AnyEvent::Handle->rbuf_max.
304 - grab the AE namespace for future new API, implement stubs for
305 said future/alternative API.
306 - new function: AnyEvent::Socket::format_hostport.
307
3084.881 Tue Jul 28 12:51:53 CEST 2009
309 - work around a bug in local in pre-5.10 perls, causing
310 AnyEvent::Handle to recurse when it should not
311 (analysed by elmex).
312
3134.88 Tue Jul 28 04:04:37 CEST 2009
314 - re-bless the handle into a dummy package after calling
315 AnyEvent::Handle::destroy, so the user does not need to check
316 for errors after every push_write etc.
317 - do not attempt to run t/02_signals.t on obviously broken
318 platforms.
319
3204.87 Sun Jul 26 02:06:16 CEST 2009
321 - do not attempt to linger when there is no longer a valid fh.
322 - enforce tls mode to be either accept or connect, do not simply
323 segfault in Net::SSLeay.
324 - AnyEvent::Handle can now call tcp_connect itself (new parameters
325 connect, on_prepare, on_connect and on_connect_error). Updated
326 tutorial accordingly.
327 - add AnyEvent::Impl::Irssi backend.
328
3294.86 Mon Jul 20 23:52:29 CEST 2009
330 - since the verbose warning is not enough, explicitly document
331 that versions before 1.33 of Net::SSLeay are not secure.
332 - work around signal handling races in Event and (...) Event::Lib.
333 - try to align signal-race timer to full-second boundaries.
334 - work around Tk not liking negative timeouts.
335 - don't complain of different grades of environmental unfriendlyness
336 in IO::Async.
337
3384.85 Sat Jul 18 06:16:14 CEST 2009
339 - nail the signal race problem in perl once and for all
340 (see $AnyEvent::MAX_SIGNAL_LATENCY).
341 - take advantage of Async::Interrupt if it is available.
342 - load Time::HiRes and Guard modules on demand only.
343 - add optional/recommended modules section to AnyEvent
344 documentation.
345 - reduce memory usage considerably (and reduce startup penalty)
346 by not using "strict", "warnings" and "overload" modules.
347 - work around buggy windows/openbsd perls and provide EBADMSG
348 and EPROTO ourselves when missing.
349 - improve perl 5.6 compatibility of the core event loop.
350 - made Net::SSLeay version 1.33 a soft requirement.
351
3524.83 Fri Jul 17 16:56:26 CEST 2009
353 - implement AnyEvent::Socket::getprotobyname.
354 - AnyEvent::CondVar's will now detect recursive blocking
355 waits and will croak, as too many people fall into
356 this trap.
357 - AnyEvent::Handle will now call ->destroy on itself after
358 executing the on_error callback, instead of doing some
359 half-baked internal shutdown, for fatal errors.
360 - clarify on_eof behaviour w.r.t. the read queue and
361 on_read callbacks.
362 - ignore some possible spurious wake-ups in tcp_connect.
363
3644.82 Sat Jul 11 00:34:55 CEST 2009
365 - POE and Event backends didn't accept some callable objects as
366 callbacks.
367 - use Config module instead of POSIX module to detect signal names
368 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
369 module doesn't even have all POSIX signals :/.
370 - use more workarounds around the many refcnt/corruption bugs in
371 Event::Lib.
372 - work around a race condition in perl's select, causing t/03_child.t
373 to rarely fail.
374
3754.81 Thu Jul 9 10:30:30 CEST 2009
376 - AnyEvent::Handle didn't properly diagnose write errors
377 (it expected -1 from syswrite, how lame... :).
378 - support file descriptors in addition to file handles
379 in AnyEvent->io.
380 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
381 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
382 and PERL_ANYEVENT_CA_PATH.
383 - provide a sensible synopsis section for AnyEvent::TLS.
384 - add a "supported backends" section to the manpage.
385 - added simple io watcher test to testsuite, using a
386 portable_socketpair.
387 - tried to improve the stability of the Event::Lib backend,
388 YMMV.
389
3904.8 Mon Jul 6 23:45:16 CEST 2009
391 - AnyEvent::DNS did not properly follow CNAME records with
392 uppercase targets.
393 - AnyEvent::DNS would errornously return AAAA records
394 with v4 mapped addresses (a faulty record) as ipv4 addresses,
395 causing AnyEvent::Socket to throw an exception.
396 - added new module AnyEvent::TLS for easier SSL/TLS context
397 creation, with many options including hostname verification,
398 secure default configuration, lots of documentation and,
399 predefined diffie-hellman keys for perfect forward security
400 and much more. get it while it's still fresh!
401 - use AnyEvent::TLS in AnyEvent::Handle for context management.
402 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
403 so AnyEvent::Socket users have smaller memory footprint
404 in the common case.
405 - add AnyEvent::Handle->push_shutdown method.
406 - add an additional error message parameter to AnyEvent::Handle's
407 on_error callback (for TLS, $! is still available).
408 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
409 - make AnyEvent::Handle more robust against early conenction
410 failures (during new), and return C<undef> in that case
411 from the constructor.
412 - AnyEvent::Handle will now try to load only JSON::XS first,
413 then fall back to JSON.
414 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
415 and because it was documented that way.
416
4174.451 Fri Jul 3 00:28:58 CEST 2009
418 - do not clear rbuf when shutting down an AnyEvent::Handle
419 object - doing so breaks AnyEvent::HTTP.
420
4214.45 Mon Jun 29 22:59:26 CEST 2009
422 - a write error could cause AnyEvent::Handle to create
423 an I/O watcher with an undefined $fh.
424 - special-case mapped ipv4 addresses in both
425 AnyEvent::Socket::format_address and parse_address,
426 to treat them just like ipv4 addresses.
427 - updated and overhauled the AnyEvent::Intro doc.
428 - implement AnyEvent::Socket::format_ipv4/ipv6.
429 - slightly speed up portable_pipe/socketpair.
430 - expand condvar begin/end documentation.
431
4324.42 Fri Jun 26 08:32:18 CEST 2009
433 - preliminary and neccesarily incomplete support for IO::Async.
434 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
435 case it was set to IGNORE, to ensure we can catch child statuses
436 even when the calling env acts stupidly.
437 - updated benchmarks with IO::Async, which performs very well.
438
4394.412 Wed Jun 24 01:35:57 CEST 2009
440 - support an "untaint" attribute for AnyEvent::DNS
441 and set it on the default resolver.
442 - implement and document AnyEvent::Impl::Perl::loop.
443 - remove all anyevent-env variables from %ENV
444 when running in tainted mode.
445 - mention and extend the IO::Lambda benchmark.
446
4474.411 Sun Jun 7 18:48:02 CEST 2009
448 - do not try to use F_SETFD on windows.
449
4504.41 Thu May 14 06:40:11 CEST 2009
451 - work around issues in older perls (5.8.0?) when
452 a signal handler is deleted from the %SIG hash.
453 - use POSIX::_exit in child test, to avoid running
454 destructors.
455 - speed up CHLD handling by relying on SIGCHLD being
456 synchronously delivered, even when we roll our own
457 implementation.
458 - AnyEvent::DNS: add the "dname" resource record name
459 for cosmetic reasons.
460
4614.4 Sun Apr 26 20:12:33 CEST 2009
462 - implemented idle watchers, where applicable.
463 - AnyEvent->time died when Event backend was in use.
464 - fix a memleak in the Tk backend.
465 - sped up Tk timer handling.
466 - clip negative "after" values to 0 in AnyEvent::Impl::Event
467 to avoid spamming out warning messages.
468 - fix Qt timers without interval.
469 - avoid Qt zero-timeout special case, in old libqt's.
470
4714.352 Mon Apr 20 16:31:11 CEST 2009
472 - fix AnyEvent::Strict error messages for child watchers.
473 - fix/update Makefile.PL "recommends" versions.
474 - add AnyEvent->now_update.
475
4764.351 Sat Apr 11 07:56:14 CEST 2009
477 - actually make the signal pipe work under win32.
478 - localise $! in signal handler to avoid changing $!, although
479 perl itself does not seem to save/restore errno either.
480 - set the cloexec flag on the signal pipe (normally set by perl too).
481
4824.35 Fri Mar 27 11:48:20 CET 2009
483 - event models relying on AnyEvent's signal watcher emulation did
484 invoke the callback asynchronously, contradicting documentation
485 and causing signals to get lost (this includes AnyEvent's own
486 event loop). AnyEvent now uses the standard pipe trick to make
487 callback execution synchronous to the event loop.
488 - AnyEvent::Handle didn't free TLS context data on DESTROY
489 (patch by Pavel Shaydo).
490 - work around the ever-incompatibly-changing API of MakeMaker.
491 - document that changing global variables without restoring them
492 is a bad idea in Perl (noted by Adam Rosenstein).
493 - AnyEvent::Strict now barfs if ->io is passed a file.
494
4954.34 Thu Feb 12 18:32:45 CET 2009
496 - separately buffer TLS read data, as otherwise the read queue could
497 deadlock as receiving data is not expected while draining the
498 read queue (which cna only happen with TLS).
499 - raise EBADMSG error on JSON decoding errors.
500 - fix some minor manpage bugs (reported by Maximilian Gaß).
501 - speed up select bitmask parsing quite a bit in the pure perl
502 backend.
503 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
504
5054.331 Tue Jan 6 21:07:25 CET 2009
506 - socketpair fails on many vista machines because vista has
507 completely broken accept/getpeername and getsockname functions,
508 so we provide our own socketpair emulation that kind of works
509 (AnyEvent::Util::portable_pipe).
510 - new function: AnyEvent::Util::portable_socketpair.
511 - take advantage of the Guard module if it exists.
512
5134.33 Fri Nov 21 02:35:40 CET 2008
514 - AnyEvent::Strict did errornously flag a fileno of 0 as
515 illegal.
516 - reduce memory usage and slightly speed up the pure perl backend
517 by only storing the file descriptor, not the file handle.
518 - add missing autocork method to AnyEvent::Handle (reported
519 by Adam Rosenstein).
520 - AnyEvent::DNS->resolve errornously documented an $rcode result
521 argument, but there isn't (spotted by Henrik Krohns).
522 - the naked truth about Tk - it's basically unmaintained.
523
5244.32 Mon Nov 3 22:46:32 CET 2008
525 - fix AnyEvent::Socket::resolve_sockaddr to properly support
526 unix sockets again and choose a proper default for
527 the socket type.
528 - fix call to resolve_sockaddr in tcp_connect.
529
5304.31 Thu Oct 30 04:41:48 CET 2008
531 - implemented AnyEvent::Handle->destroy method.
532 - hint about unexpected effects in TLS mode.
533 - speed up AnyEvent::Impl::Perl by using more arrays
534 instead of hashes without the slightest loss of readability :)
535 - work around a perl argument refcounting bug.
536 - with some perl patches applied, AnyEvent now seems leak-free.
537
5384.3 Fri Oct 3 09:18:43 CEST 2008
539 - AnyEvent will now install a no-op signal handler for SIGPIPE,
540 unless one has been installed already.
541 - warn about not loaidng AnyEvent::Impl::POE early enough
542 (patch by Adam Rosenstein).
543 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
544 - fix a bug in where in SSL connect mode, the
545 client would first wait for some data by the server and
546 otherwise hang. (reported and analysed in an absolutely
547 exemplary manner by Adam Rosenstein).
548 - fix a bug in where SSL EOF would not be treated
549 as stream EOF, putting the connection into a hung state.
550 (reported and analysed in an absolutely exemplary manner by Adam
551 Rosenstein).
552 - fix a potential segfault when the TLS context
553 would go missing in a read callback (e.g. due to stoptls) -
554 Net::SSLeay of course makes no type checking whatsoever.
555 - AnyEvent::Handle will not stop the read watcher in TLS mode.
556 - AnyEvent::Handle->stoptls will send a TLS close notify
557 instead of simply destroying the stream now.
558 - fix a bug where large blocks of data written in TLS mode
559 would not be sent unless triggered by receives.
560 - on_drain will now take the tls write buffer into account.
561 - SSL operations have been streamlined a bit and should be faster
562 now, more to come, though.
563 - added a FAQ section, will document nontrivial issues in there.
564
5654.234 Mon Sep 29 04:08:13 CEST 2008
566 - fix child watcher documentation: only child exits will be reported,
567 no trace events.
568 - mention SIGPIPE in AnyEvent::Handle.
569 - perl backend will now use POSIX::times as monotonic clock
570 when available and the monotonic clock option is not.
571 - run even without Time::HiRes in some cases now, but do not
572 provide sub-second accuracy (all *supported* perl versions have
573 Time::HiRes).
574
5754.233 Fri Aug 22 01:48:05 CEST 2008
576 - fix a bug in the testsuite, causing a hang.
577 - clarified lots of AnyEvent::Handle constructor arguments.
578
5794.232 Thu Aug 21 20:44:25 CEST 2008
580 - fix a bug in AnyEvent::Handle that could cause two fatal error
581 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
582 (testcase by Leon Brocard).
583 - clarified on_eof/on_error documentation a bit.
584
5854.231 Tue Jul 29 13:12:15 CEST 2008
586 - remove some debugging code left in AnyEvent::Util::fork_call
587 (and no, it's impossible to implement with the broken windows
588 perls without resource leaks or worse).
589
5904.23 Tue Jul 29 12:19:59 CEST 2008
591 - document the first parameter passed to condvar callbacks to be
592 the callback.
593 - add AnyEvent::Socket::{ntoa,aton} aliases.
594 - optimize the AE::Handle->push_read (line) for the default
595 eol marker.
596 - optimize push_read (packstring|storable) for small packets.
597 - invoke on_error callback when no on_eof callback is set.
598 - fix a bug in push_read (storable) of unknown impact.
599
6004.22 Sun Jul 20 16:34:13 CEST 2008
601 - new function AnyEvent::Socket::parse_hostport.
602 - as the bulkheads at microsoft can't even get getprotobyname reliably
603 working on their shitty fucking broken os we need to hardcode
604 some common protocol numbers in AnyEvent::Socket. How can
605 people even bother with such a pile of shit as windows.
606
6074.21 Thu Jul 17 14:40:05 CEST 2008
608 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
609 which is incompatible to previous invocation syntax.
610 - work around more windows perl bugs in fork_call. I cannot imagine
611 why anybody would bother implementing fork in such an obviously
612 unusable way.
613 - avoid calling $do_retry if the request has already finished in
614 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
615 K. Sharifulin).
616
6174.2 Sat Jul 12 22:42:11 CEST 2008
618 - support an "interval" argument for repeating timers.
619 - fix a bug in the pure perl event loop that caused timers to
620 be delayed under some circumstances.
621 - implement optional argument checking via PERL_ANYEVENT_STRICT.
622 - not importing anything from Event causes it to malfunction
623 and not use Time::HiRes, work around this bug.
624 - more bug workarounds against the endlessly broken Tk module,
625 seems to work now on 32 bit machines, but less so on 64 bit.
626 - minor optimisations applied to most backends.
627
6284.161 Fri Jul 4 14:24:48 CEST 2008
629 - fixed the t/handle/02_write.t, it read after write, with the
630 assumption that all data could be written before read
631 (reported by Jim Razmus).
632
6334.160 Thu Jul 3 04:02:21 CEST 2008
634 - re-registering signal watchers after unregistering one did
635 not work if a backend falls back on AnyEvent's default
636 implementation (also affected child watchers).
637 - new AnyEvent::Handle options: autocork and no_delay.
638
6394.152 Sun Jun 22 14:15:44 CEST 2008
640 - allow for 32-bit perls that implement shifts differently
641 on different architectures in parse_ipv4 (reported and
642 analysed by Keiichi DAIBA).
643
6444.151 Fri Jun 6 17:34:24 CEST 2008
645 - make sure specifying _only_ on_read and never pushing reads
646 works.
2 647
34.15 Fri Jun 6 13:00:46 CEST 2008 6484.15 Fri Jun 6 13:00:46 CEST 2008
4 - the pure perl backend would keep some watchers alive when more than 649 - the pure perl backend would keep some watchers alive when more than
5 one watcher was registered for the same fd. 650 one watcher was registered for the same fd.
6 - new "packstring" and "storable" read and write types 651 - new "packstring" and "storable" read and write types
7 for AnyEvent::Handle. 652 for AnyEvent::Handle.
8 - allow on_eof handler to be called after on_errro with EPIPE returns. 653 - allow on_eof handler to be called after on_error with EPIPE returns.
9 - do not immediately call on_read callback in handle constructor. 654 - do not immediately call on_read callback in handle constructor.
10 655
114.14 Thu Jun 5 20:29:31 CEST 2008 6564.14 Thu Jun 5 20:29:31 CEST 2008
12 - Fixed a bug in DNS SRV priority sorting. 657 - Fixed a bug in DNS SRV priority sorting.
13 - AnyEvent::Util::guard now reports runtime errors while 658 - AnyEvent::Util::guard now reports runtime errors while
139 - support service names in tcp_connect and tcp_server. 784 - support service names in tcp_connect and tcp_server.
140 - work around netbsd/openbsd bug causing unix sockets not to 785 - work around netbsd/openbsd bug causing unix sockets not to
141 become writable until empty. 786 become writable until empty.
142 - only make a dummy read for error detection when getpeername 787 - only make a dummy read for error detection when getpeername
143 returns ENOTCONN. 788 returns ENOTCONN.
144 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 789 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
145 override. 790 override.
146 - new AnyEvent::Guard::cancel. 791 - new AnyEvent::Guard::cancel.
147 792
1483.5 Sat May 17 23:17:14 CEST 2008 7933.5 Sat May 17 23:17:14 CEST 2008
149 - gracefully deal with systems not defining CLOCK_MONOTONIC 794 - gracefully deal with systems not defining CLOCK_MONOTONIC
163 808
1643.41 Sun May 11 19:53:13 CEST 2008 8093.41 Sun May 11 19:53:13 CEST 2008
165 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 810 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
166 811
1673.4 Sun May 11 00:29:25 CEST 2008 8123.4 Sun May 11 00:29:25 CEST 2008
168 - complete re-implementation of condvars with a hopefully much mroe useful 813 - complete re-implementation of condvars with a hopefully much more useful
169 API (backward compatible functions exist but are undocumented). 814 API (backward compatible functions exist but are undocumented).
170 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 815 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
171 (still subject to change). 816 (still subject to change).
172 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 817 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
173 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 818 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines