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

Comparing AnyEvent/Changes (file contents):
Revision 1.150 by root, Thu Jun 5 16:28:48 2008 UTC vs.
Revision 1.413 by root, Wed Oct 13 19:08:40 2010 UTC

1Revision history for Perl extension AnyEvent. 1Revision history for Perl extension AnyEvent.
2 2
34.14 3TODO: document TCP_*** constants
4TODO: catch AE::xxx for anyevent struct and anyevent debug
5TODO: anyevent::trace? or debug tracing all watchers?
6
75.28 Wed Oct 13 04:14:23 CEST 2010
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 - put keys and certs in /tmp, not into the current directory,
18 and document this in the SECURITY CONSIDERATIONS sections
19 of AnyEvent::TLS.
20 - support ";" as resolv.conf comment character in AnyEvent::DNS, as
21 requested by Ron Isaacson.
22 - document $AnyEvent::DNS::RESOLVER variable.
23 - incorporated major typo patches by Abhijit Menon-Sen.
24 - AnyEvent::Handle now croaks when negative timeouts are passed.
25 - add a shitload of TCP_xxx sockopt name constants to AnyEvent::Util,
26 undocumented, but who knows when they might come in handy.
27
285.271 Tue Jun 8 12:05:46 CEST 2010
29 - backport to perl 5.8.x.
30
315.27 Sun Jun 6 12:12:05 CEST 2010
32 - postpone differently in AnyEvent::Socket now, as
33 when not, canceling the connection attempt might fail
34 (found by Felix Antonius Wilhelm Ostmann).
35 - explicitly check for non-stream sockets in AE::Handle, too many
36 clueless people fell into the trap of this somehow working.
37 - simplified and reworked the "OTHER MODULES" section.
38 - better/more condvar examples.
39
405.261 Wed Apr 28 16:13:36 CEST 2010
41 - AF_INET6 was not properly used from Socket6 during configuration
42 time (found by Andy Grundman).
43
445.26 Mon Apr 12 04:49:35 CEST 2010
45 - don't generate spurious readyness notifications when select
46 returns EINTR in the pure perl backend (analysed and testcase
47 by Bas Denissen).
48 - give same examples in SYNOPSIS sections of AnyEvent and AE.
49 - provider faster implementations for AE::time/now/now_update for
50 EV and Perl backends.
51 - provide faster AE::cv and AE::time implementations for all
52 backends.
53 - no longer support lower/mixed-case signal names (this was
54 never documented nor universally supported).
55 - some more memory µ-optimisations, and somewhat less messy
56 code to cope with both AnyEvent and AE APIs.
57
585.251 Sat Mar 13 00:58:21 CET 2010
59 - make test failed if it was run before make install on perl <=
60 5.8.8, and older versions of perl make our live very difficult,
61 so write constants.pl during Makefile.PL time.
62
635.25 Sat Mar 13 00:23:14 CET 2010
64 - fix a race condition in AnyEvent::Handle that would cause
65 a "bio_read: unsupported method" error (in _another_
66 ssl connection) after user code threw an exception.
67 - added AnyEvent::Handle->destroyed method.
68 - speed up AnyEvent::Socket::format_address and ::format_ipv6.
69 - the AnyEvent::Util::fh_nonblocking function worked only
70 by lucky accident on win32.
71 - smaller and faster AnyEvent::Util::fh_nonblocking.
72 - when the (required!) Time::HiRes module is missing, AnyEvent
73 did not fall back to built-in time properly.
74 - do not load Fcntl at runtime, saving memory and loading time.
75 - precompile a number of constants and use them instead of runtime
76 detection and eval.
77 - free detection code after detection and similar memory optimisations.
78 - Perl backend timer interval best effort drift has been improved
79 (same algorithm as EV).
80 - update unicode idna mapping table.
81
825.24 Tue Jan 5 11:39:43 CET 2010
83 - cygwin never reports errors from failed connects. 1.5 just gives
84 you continous readyness and EAGAIN, 1.7 is even more broken and
85 just hangs. work around both issues in a cygwin-specific hack.
86 - improve idle watcher documentation slightly.
87
885.23 Sun Dec 20 23:48:00 CET 2009
89 - support IDNs in resolve_sockaddr, and therefore in tcp_connect.
90 - implement punycode_encode/decode, idn_nameprep,
91 idn_to_ascii and idn_to_unicode operations in AnyEvent::Util.
92 - provide $AE::VERSION.
93 - removed traces of "no strict 'refs'".
94
955.22 Sat Dec 5 03:51:13 CET 2009
96 - downgrade-or-fail in AnyEvent::Handle::push_write, to
97 diagnose encoding failures earlier and more succinctly.
98 (this works around bugs in perl, throwing away encoding info
99 when passing scalar data to extensions).
100 - add more examples to AnyEvent::Socket manpage.
101 - upgrade internal warning set to the same as common::sense 2.03.
102 - use pack "n/a*" for pre-5.8.9 perl compatibility in AnyEvent::DNS
103 (John Beppu).
104 - AnyEvent::Socket::inet_aton now properly supports ipv6, as documented.
105 - add google public dns servers to fallback server set and make sure
106 we load-balance properly between the three sets. also add all
107 fallback dns servers, not just a random one, to each dns config.
108
1095.21 Thu Nov 19 02:48:47 CET 2009
110 - fix a problem where socket constants were called with parameters
111 (spotted by David Friedland).
112 - fork_call never use'd POSIX (reported by Daisuke Maki).
113 - improve perl 5.6 compatibility further (but it still won't work
114 unless you rip out everything but the core).
115 - prefer Net::DNS::Resolver over ipconfig, if installed, on win32.
116 uses 10MB of RAM, but doesn't open a console window. *sigh*.
117
1185.202 Wed Oct 14 22:35:44 CEST 2009
119 - AnyEvent::DNS would unexpectedly clobber $_ under windows
120 (analysed by Matthias Waldorf).
121 - AnyEvent::Handle::run_cmd can now pass the PID of the
122 newly-created process, which is much less useful than it might
123 sound (based on patch by Yann Kerherve).
124
1255.201 Tue Sep 29 12:09:25 CEST 2009
126 - AnyEvent:Handle::on_starttls/on_stoptls methods were broken
127 (reported by Torsten Foertsch).
128 - common::sense 2.0 could cause tcp_server to throw an exception
129 (analysed by elmex).
130
1315.2 Mon Sep 14 07:04:49 CEST 2009
132 - INCOMPATIBLE CHANGE: do no longer support register_read_type
133 and register_write_type in AnyEvent::Handle, instead support
134 package names (the facility was mostly abused).
135 - implement "packagename-as-read/write type" support in
136 AnyEvent::Handle.
137 - AnyEvent::Handle: new options "keepalive" and "oobinline".
138 - oobinline set by default to avoid security issues.
139 - the pure-perl event loop backend wrongly detected times() fallback
140 support (spotted by Pavel Boldin).
141
1425.12 Tue Sep 1 20:26:50 CEST 2009
143 - be more lenient when parsing resolv.conf files, as some people
144 use hashmarks as comment indicator inside directives (reported
145 by Michael S. Fischer).
146 - use same set of warnings as common::sense 2.0.
147 - fix a potential 32 bit overflow issue due to perl having problems
148 with large hex constants in the Perl backend.
149 - do not use the slower 5.6 version fo the enc_name code in AnyEvent::DNS
150 by default.
151 - fix some prototypes.
152 - (optionally) require Async::Interrupt 1.02.
153 - replace opendns fallbacks by verizon/level3 public dns servers.
154
1555.112 Fri Aug 21 13:59:04 CEST 2009
156 - AnyEvent::Handle could cause hard crashes in Net::SSLeay when
157 using starttls with an illegal/uncreatable tls context.
158 - port to broken win32 perls.
159
1605.111 Sun Aug 16 18:44:36 CEST 2009
161 - perl errornously requires sockaddr_un structures returned by the
162 kernel to have a specific length. work around this bug by padding
163 sockaddr_un structures (found to fail on OS X, as perl only uses
164 the correct code for GNU/Linux, but likely to fail on other
165 OSes as well).
166
1675.11 Wed Aug 12 17:49:37 CEST 2009
168 - fixed a bug in run_cmd with input from filename.
169 - create a json coder object when none is given in write direction
170 to reduce dependency on JSON.
171
1725.1 Tue Aug 11 03:17:32 CEST 2009
173 - tcp_connect now reports the correct error in $!, not an unrelated
174 one (was broken since 4.91).
175 - AE::Handle did not properly clear rtimeout/wtimeout watchers
176 when retrying a tcp_connect.
177 - new functions: AnyEvent::Util::run_cmd and close_all_fds_except.
178 - fixed wrong documentation in AE::Socket.
179
1805.01 Mon Aug 10 03:16:32 CEST 2009
181 - last release broke EV child watchers :/.
182
1835.0 Sun Aug 9 17:32:09 CEST 2009
184 - officially introduce and document the AE API.
185 - lowering the timeout at runtime did not have immediate effect
186 in AnyEvent::Handle.
187 - AE::Handle now has separate and independent read and write timeout
188 settings.
189 - probe for Guard module when AnyEvent::Util is loaded, not at
190 runtime (Event doesn't like eval "use" from callbacks, and it avoids
191 exporting the probe function).
192 - Impl::IOAsync's io watchers did not use the filehandle emulation
193 code to work around it's watcher limits.
194 - work around IO::Async's problems with overloaded objects.
195 - try to disable wearnings inside IO::Async, it's just too buggy.
196 - do no longer use Event by default, only EV or Perl, Event is too buggy.
197 - hackishly provide fast AE:: interface when EV or Perl is the backend.
198 - inherit VERSION from AnyEvent::VERSION in most modules.
199
2004.91 Thu Aug 6 15:42:45 CEST 2009
201 - AE::Handle::starttls could get out of sync when the read buffer
202 already contains some TLS handshake.
203 - AE::Handle did not properly free the TLS session, causing bigger
204 memory leaks in Net::SSLeay than expected (reported by toaster).
205 - AE::Socket::tcp_connect will now artificially delay invoking
206 the callback to avoid returning after invoking the callback.
207 - convert many internal watcher uses to AE API.
208
2094.9 Sat Aug 1 11:07:01 CEST 2009
210 - Glib silently fails when registering a timeout with
211 a negative value, so avoid that.
212 - call condvar callback immediately when it is set
213 after the condition is already signalled.
214 - check rbuf_max condition only after trying to consume
215 data.
216 - normalise signal numbers to names when using the ae's
217 signal handling, but do not document this (yet).
218 - pure perl signal emulation did not properly set nonblocking
219 mode on the signal pipe on win32 (this is unlikely to have caused
220 any issues).
221 - new module: AnyEvent::Debug.
222 - AnyEvent::Strict now checks that a signal was specified
223 by name (not name or number).
224 - reduce memory footprint in typical cases by ~50kb by
225 only compiling signal code when necessary.
226 - add AnyEvent::Handle->rbuf_max.
227 - grab the AE namespace for future new API, implement stubs for
228 said future/alternative API.
229 - new function: AnyEvent::Socket::format_hostport.
230
2314.881 Tue Jul 28 12:51:53 CEST 2009
232 - work around a bug in local in pre-5.10 perls, causing
233 AnyEvent::Handle to recurse when it should not
234 (analysed by elmex).
235
2364.88 Tue Jul 28 04:04:37 CEST 2009
237 - re-bless the handle into a dummy package after calling
238 AnyEvent::Handle::destroy, so the user does not need to check
239 for errors after every push_write etc.
240 - do not attempt to run t/02_signals.t on obviously broken
241 platforms.
242
2434.87 Sun Jul 26 02:06:16 CEST 2009
244 - do not attempt to linger when there is no longer a valid fh.
245 - enforce tls mode to be either accept or connect, do not simply
246 segfault in Net::SSLeay.
247 - AnyEvent::Handle can now call tcp_connect itself (new parameters
248 connect, on_prepare, on_connect and on_connect_error). Updated
249 tutorial accordingly.
250 - add AnyEvent::Impl::Irssi backend.
251
2524.86 Mon Jul 20 23:52:29 CEST 2009
253 - since the verbose warning is not enough, explicitly document
254 that versions before 1.33 of Net::SSLeay are not secure.
255 - work around signal handling races in Event and (...) Event::Lib.
256 - try to align signal-race timer to full-second boundaries.
257 - work around Tk not liking negative timeouts.
258 - don't complain of different grades of environmental unfriendlyness
259 in IO::Async.
260
2614.85 Sat Jul 18 06:16:14 CEST 2009
262 - nail the signal race problem in perl once and for all
263 (see $AnyEvent::MAX_SIGNAL_LATENCY).
264 - take advantage of Async::Interrupt if it is available.
265 - load Time::HiRes and Guard modules on demand only.
266 - add optional/recommended modules section to AnyEvent
267 documentation.
268 - reduce memory usage considerably (and reduce startup penalty)
269 by not using "strict", "warnings" and "overload" modules.
270 - work around buggy windows/openbsd perls and provide EBADMSG
271 and EPROTO ourselves when missing.
272 - improve perl 5.6 compatibility of the core event loop.
273 - made Net::SSLeay version 1.33 a soft requirement.
274
2754.83 Fri Jul 17 16:56:26 CEST 2009
276 - implement AnyEvent::Socket::getprotobyname.
277 - AnyEvent::CondVar's will now detect recursive blocking
278 waits and will croak, as too many people fall into
279 this trap.
280 - AnyEvent::Handle will now call ->destroy on itself after
281 executing the on_error callback, instead of doing some
282 half-baked internal shutdown, for fatal errors.
283 - clarify on_eof behaviour w.r.t. the read queue and
284 on_read callbacks.
285 - ignore some possible spurious wake-ups in tcp_connect.
286
2874.82 Sat Jul 11 00:34:55 CEST 2009
288 - POE and Event backends didn't accept some callable objects as
289 callbacks.
290 - use Config module instead of POSIX module to detect signal names
291 in AnyEvent::Strict and AnyEvent::Impl::EventLib, as the POSIX
292 module doesn't even have all POSIX signals :/.
293 - use more workarounds around the many refcnt/corruption bugs in
294 Event::Lib.
295 - work around a race condition in perl's select, causing t/03_child.t
296 to rarely fail.
297
2984.81 Thu Jul 9 10:30:30 CEST 2009
299 - AnyEvent::Handle didn't properly diagnose write errors
300 (it expected -1 from syswrite, how lame... :).
301 - support file descriptors in addition to file handles
302 in AnyEvent->io.
303 - new env variables: PERL_ANYEVENT_RESOLV_CONF,
304 PERL_ANYEVENT_MAX_OUTSTANDING_DNS, PERL_ANYEVENT_CA_FILE
305 and PERL_ANYEVENT_CA_PATH.
306 - provide a sensible synopsis section for AnyEvent::TLS.
307 - add a "supported backends" section to the manpage.
308 - added simple io watcher test to testsuite, using a
309 portable_socketpair.
310 - tried to improve the stability of the Event::Lib backend,
311 YMMV.
312
3134.8 Mon Jul 6 23:45:16 CEST 2009
314 - AnyEvent::DNS did not properly follow CNAME records with
315 uppercase targets.
316 - AnyEvent::DNS would errornously return AAAA records
317 with v4 mapped addresses (a faulty record) as ipv4 addresses,
318 causing AnyEvent::Socket to throw an exception.
319 - added new module AnyEvent::TLS for easier SSL/TLS context
320 creation, with many options including hostname verification,
321 secure default configuration, lots of documentation and,
322 predefined diffie-hellman keys for perfect forward security
323 and much more. get it while it's still fresh!
324 - use AnyEvent::TLS in AnyEvent::Handle for context management.
325 - load AnyEvent::Handle only on demand in AnyEvent::DNS,
326 so AnyEvent::Socket users have smaller memory footprint
327 in the common case.
328 - add AnyEvent::Handle->push_shutdown method.
329 - add an additional error message parameter to AnyEvent::Handle's
330 on_error callback (for TLS, $! is still available).
331 - add AnyEvent::Handle on_starttls/on_stoptls callbacks.
332 - make AnyEvent::Handle more robust against early conenction
333 failures (during new), and return C<undef> in that case
334 from the constructor.
335 - AnyEvent::Handle will now try to load only JSON::XS first,
336 then fall back to JSON.
337 - format_ipv4/format_ipv6 are now exported by default, for symmetry,
338 and because it was documented that way.
339
3404.451 Fri Jul 3 00:28:58 CEST 2009
341 - do not clear rbuf when shutting down an AnyEvent::Handle
342 object - doing so breaks AnyEvent::HTTP.
343
3444.45 Mon Jun 29 22:59:26 CEST 2009
345 - a write error could cause AnyEvent::Handle to create
346 an I/O watcher with an undefined $fh.
347 - special-case mapped ipv4 addresses in both
348 AnyEvent::Socket::format_address and parse_address,
349 to treat them just like ipv4 addresses.
350 - updated and overhauled the AnyEvent::Intro doc.
351 - implement AnyEvent::Socket::format_ipv4/ipv6.
352 - slightly speed up portable_pipe/socketpair.
353 - expand condvar begin/end documentation.
354
3554.42 Fri Jun 26 08:32:18 CEST 2009
356 - preliminary and neccesarily incomplete support for IO::Async.
357 - reset SIGCHLD to DEFAULT when AnyEvent is loaded, in
358 case it was set to IGNORE, to ensure we can catch child statuses
359 even when the calling env acts stupidly.
360 - updated benchmarks with IO::Async, which performs very well.
361
3624.412 Wed Jun 24 01:35:57 CEST 2009
363 - support an "untaint" attribute for AnyEvent::DNS
364 and set it on the default resolver.
365 - implement and document AnyEvent::Impl::Perl::loop.
366 - remove all anyevent-env variables from %ENV
367 when running in tainted mode.
368 - mention and extend the IO::Lambda benchmark.
369
3704.411 Sun Jun 7 18:48:02 CEST 2009
371 - do not try to use F_SETFD on windows.
372
3734.41 Thu May 14 06:40:11 CEST 2009
374 - work around issues in older perls (5.8.0?) when
375 a signal handler is deleted from the %SIG hash.
376 - use POSIX::_exit in child test, to avoid running
377 destructors.
378 - speed up CHLD handling by relying on SIGCHLD being
379 synchronously delivered, even when we roll our own
380 implementation.
381 - AnyEvent::DNS: add the "dname" resource record name
382 for cosmetic reasons.
383
3844.4 Sun Apr 26 20:12:33 CEST 2009
385 - implemented idle watchers, where applicable.
386 - AnyEvent->time died when Event backend was in use.
387 - fix a memleak in the Tk backend.
388 - sped up Tk timer handling.
389 - clip negative "after" values to 0 in AnyEvent::Impl::Event
390 to avoid spamming out warning messages.
391 - fix Qt timers without interval.
392 - avoid Qt zero-timeout special case, in old libqt's.
393
3944.352 Mon Apr 20 16:31:11 CEST 2009
395 - fix AnyEvent::Strict error messages for child watchers.
396 - fix/update Makefile.PL "recommends" versions.
397 - add AnyEvent->now_update.
398
3994.351 Sat Apr 11 07:56:14 CEST 2009
400 - actually make the signal pipe work under win32.
401 - localise $! in signal handler to avoid changing $!, although
402 perl itself does not seem to save/restore errno either.
403 - set the cloexec flag on the signal pipe (normally set by perl too).
404
4054.35 Fri Mar 27 11:48:20 CET 2009
406 - event models relying on AnyEvent's signal watcher emulation did
407 invoke the callback asynchronously, contradicting documentation
408 and causing signals to get lost (this includes AnyEvent's own
409 event loop). AnyEvent now uses the standard pipe trick to make
410 callback execution synchronous to the event loop.
411 - AnyEvent::Handle didn't free TLS context data on DESTROY
412 (patch by Pavel Shaydo).
413 - work around the ever-incompatibly-changing API of MakeMaker.
414 - document that changing global variables without restoring them
415 is a bad idea in Perl (noted by Adam Rosenstein).
416 - AnyEvent::Strict now barfs if ->io is passed a file.
417
4184.34 Thu Feb 12 18:32:45 CET 2009
419 - separately buffer TLS read data, as otherwise the read queue could
420 deadlock as receiving data is not expected while draining the
421 read queue (which cna only happen with TLS).
422 - raise EBADMSG error on JSON decoding errors.
423 - fix some minor manpage bugs (reported by Maximilian Gaß).
424 - speed up select bitmask parsing quite a bit in the pure perl
425 backend.
426 - use CORE::select instead of just select in AnyEvent::Impl::Perl.
427
4284.331 Tue Jan 6 21:07:25 CET 2009
429 - socketpair fails on many vista machines because vista has
430 completely broken accept/getpeername and getsockname functions,
431 so we provide our own socketpair emulation that kind of works
432 (AnyEvent::Util::portable_pipe).
433 - new function: AnyEvent::Util::portable_socketpair.
434 - take advantage of the Guard module if it exists.
435
4364.33 Fri Nov 21 02:35:40 CET 2008
437 - AnyEvent::Strict did errornously flag a fileno of 0 as
438 illegal.
439 - reduce memory usage and slightly speed up the pure perl backend
440 by only storing the file descriptor, not the file handle.
441 - add missing autocork method to AnyEvent::Handle (reported
442 by Adam Rosenstein).
443 - AnyEvent::DNS->resolve errornously documented an $rcode result
444 argument, but there isn't (spotted by Henrik Krohns).
445 - the naked truth about Tk - it's basically unmaintained.
446
4474.32 Mon Nov 3 22:46:32 CET 2008
448 - fix AnyEvent::Socket::resolve_sockaddr to properly support
449 unix sockets again and choose a proper default for
450 the socket type.
451 - fix call to resolve_sockaddr in tcp_connect.
452
4534.31 Thu Oct 30 04:41:48 CET 2008
454 - implemented AnyEvent::Handle->destroy method.
455 - hint about unexpected effects in TLS mode.
456 - speed up AnyEvent::Impl::Perl by using more arrays
457 instead of hashes without the slightest loss of readability :)
458 - work around a perl argument refcounting bug.
459 - with some perl patches applied, AnyEvent now seems leak-free.
460
4614.3 Fri Oct 3 09:18:43 CEST 2008
462 - AnyEvent will now install a no-op signal handler for SIGPIPE,
463 unless one has been installed already.
464 - warn about not loaidng AnyEvent::Impl::POE early enough
465 (patch by Adam Rosenstein).
466 - fixed a great number of bugs and corner cases in AnyEvent::Handle.
467 - fix a bug in where in SSL connect mode, the
468 client would first wait for some data by the server and
469 otherwise hang. (reported and analysed in an absolutely
470 exemplary manner by Adam Rosenstein).
471 - fix a bug in where SSL EOF would not be treated
472 as stream EOF, putting the connection into a hung state.
473 (reported and analysed in an absolutely exemplary manner by Adam
474 Rosenstein).
475 - fix a potential segfault when the TLS context
476 would go missing in a read callback (e.g. due to stoptls) -
477 Net::SSLeay of course makes no type checking whatsoever.
478 - AnyEvent::Handle will not stop the read watcher in TLS mode.
479 - AnyEvent::Handle->stoptls will send a TLS close notify
480 instead of simply destroying the stream now.
481 - fix a bug where large blocks of data written in TLS mode
482 would not be sent unless triggered by receives.
483 - on_drain will now take the tls write buffer into account.
484 - SSL operations have been streamlined a bit and should be faster
485 now, more to come, though.
486 - added a FAQ section, will document nontrivial issues in there.
487
4884.234 Mon Sep 29 04:08:13 CEST 2008
489 - fix child watcher documentation: only child exits will be reported,
490 no trace events.
491 - mention SIGPIPE in AnyEvent::Handle.
492 - perl backend will now use POSIX::times as monotonic clock
493 when available and the monotonic clock option is not.
494 - run even without Time::HiRes in some cases now, but do not
495 provide sub-second accuracy (all *supported* perl versions have
496 Time::HiRes).
497
4984.233 Fri Aug 22 01:48:05 CEST 2008
499 - fix a bug in the testsuite, causing a hang.
500 - clarified lots of AnyEvent::Handle constructor arguments.
501
5024.232 Thu Aug 21 20:44:25 CEST 2008
503 - fix a bug in AnyEvent::Handle that could cause two fatal error
504 callbacks on EOF, which caused AnyEvent::HTTP to signal success twice
505 (testcase by Leon Brocard).
506 - clarified on_eof/on_error documentation a bit.
507
5084.231 Tue Jul 29 13:12:15 CEST 2008
509 - remove some debugging code left in AnyEvent::Util::fork_call
510 (and no, it's impossible to implement with the broken windows
511 perls without resource leaks or worse).
512
5134.23 Tue Jul 29 12:19:59 CEST 2008
514 - document the first parameter passed to condvar callbacks to be
515 the callback.
516 - add AnyEvent::Socket::{ntoa,aton} aliases.
517 - optimize the AE::Handle->push_read (line) for the default
518 eol marker.
519 - optimize push_read (packstring|storable) for small packets.
520 - invoke on_error callback when no on_eof callback is set.
521 - fix a bug in push_read (storable) of unknown impact.
522
5234.22 Sun Jul 20 16:34:13 CEST 2008
524 - new function AnyEvent::Socket::parse_hostport.
525 - as the bulkheads at microsoft can't even get getprotobyname reliably
526 working on their shitty fucking broken os we need to hardcode
527 some common protocol numbers in AnyEvent::Socket. How can
528 people even bother with such a pile of shit as windows.
529
5304.21 Thu Jul 17 14:40:05 CEST 2008
531 - INCOMPATIBLE CHANGE: AnyEvent::Util::fork_call now has a prototype
532 which is incompatible to previous invocation syntax.
533 - work around more windows perl bugs in fork_call. I cannot imagine
534 why anybody would bother implementing fork in such an obviously
535 unusable way.
536 - avoid calling $do_retry if the request has already finished in
537 AnyEvent::DNS, thus avoiding an exception (reported by Anatoly
538 K. Sharifulin).
539
5404.2 Sat Jul 12 22:42:11 CEST 2008
541 - support an "interval" argument for repeating timers.
542 - fix a bug in the pure perl event loop that caused timers to
543 be delayed under some circumstances.
544 - implement optional argument checking via PERL_ANYEVENT_STRICT.
545 - not importing anything from Event causes it to malfunction
546 and not use Time::HiRes, work around this bug.
547 - more bug workarounds against the endlessly broken Tk module,
548 seems to work now on 32 bit machines, but less so on 64 bit.
549 - minor optimisations applied to most backends.
550
5514.161 Fri Jul 4 14:24:48 CEST 2008
552 - fixed the t/handle/02_write.t, it read after write, with the
553 assumption that all data could be written before read
554 (reported by Jim Razmus).
555
5564.160 Thu Jul 3 04:02:21 CEST 2008
557 - re-registering signal watchers after unregistering one did
558 not work if a backend falls back on AnyEvent's default
559 implementation (also affected child watchers).
560 - new AnyEvent::Handle options: autocork and no_delay.
561
5624.152 Sun Jun 22 14:15:44 CEST 2008
563 - allow for 32-bit perls that implement shifts differently
564 on different architectures in parse_ipv4 (reported and
565 analysed by Keiichi DAIBA).
566
5674.151 Fri Jun 6 17:34:24 CEST 2008
568 - make sure specifying _only_ on_read and never pushing reads
569 works.
570
5714.15 Fri Jun 6 13:00:46 CEST 2008
572 - the pure perl backend would keep some watchers alive when more than
573 one watcher was registered for the same fd.
574 - new "packstring" and "storable" read and write types
575 for AnyEvent::Handle.
576 - allow on_eof handler to be called after on_error with EPIPE returns.
577 - do not immediately call on_read callback in handle constructor.
578
5794.14 Thu Jun 5 20:29:31 CEST 2008
4 - Fixed a bug in DNS SRV priority sorting. 580 - Fixed a bug in DNS SRV priority sorting.
5 - AnyEvent::Util::guard now reports runtime errors while 581 - AnyEvent::Util::guard now reports runtime errors while
6 executing the guard block as warnings. 582 executing the guard block as warnings.
583 - handle 0-byte-reads just before EOF correctly in AnyEvent::Handle.
7 584
84.13 Thu Jun 5 00:47:59 CEST 2008 5854.13 Thu Jun 5 00:47:59 CEST 2008
9 - AnyEvent::DNS only followed cname chains with length 2, 586 - AnyEvent::DNS only followed cname chains with length 2,
10 contrary to documentation. bumped it up to 10, thanks to 587 contrary to documentation. bumped it up to 10, thanks to
11 microsoft, the current broken-dns-config-king. 588 microsoft, the current broken-dns-config-king.
130 - support service names in tcp_connect and tcp_server. 707 - support service names in tcp_connect and tcp_server.
131 - work around netbsd/openbsd bug causing unix sockets not to 708 - work around netbsd/openbsd bug causing unix sockets not to
132 become writable until empty. 709 become writable until empty.
133 - only make a dummy read for error detection when getpeername 710 - only make a dummy read for error detection when getpeername
134 returns ENOTCONN. 711 returns ENOTCONN.
135 - defend AnyEvent::Util::inet_aton against Coro::LWP brutal 712 - defend AnyEvent::Util::inet_aton against Coro::LWP's brutal
136 override. 713 override.
137 - new AnyEvent::Guard::cancel. 714 - new AnyEvent::Guard::cancel.
138 715
1393.5 Sat May 17 23:17:14 CEST 2008 7163.5 Sat May 17 23:17:14 CEST 2008
140 - gracefully deal with systems not defining CLOCK_MONOTONIC 717 - gracefully deal with systems not defining CLOCK_MONOTONIC
154 731
1553.41 Sun May 11 19:53:13 CEST 2008 7323.41 Sun May 11 19:53:13 CEST 2008
156 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao. 733 - work around a bug in perl 5.8.8's local. Reported by Yi Ma Mao.
157 734
1583.4 Sun May 11 00:29:25 CEST 2008 7353.4 Sun May 11 00:29:25 CEST 2008
159 - complete re-implementation of condvars with a hopefully much mroe useful 736 - complete re-implementation of condvars with a hopefully much more useful
160 API (backward compatible functions exist but are undocumented). 737 API (backward compatible functions exist but are undocumented).
161 - AnyEvent::Handle fully rewritten with a hopefully more powerful API 738 - AnyEvent::Handle fully rewritten with a hopefully more powerful API
162 (still subject to change). 739 (still subject to change).
163 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl. 740 - take advantage of CLOCK_MONOTONIC, if available, in AnyEvent::Impl::Perl.
164 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which 741 - provide AnyEvent::post_detect and @AnyEvent::post_detect, which

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines