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

Comparing Coro/Changes (file contents):
Revision 1.583 by root, Wed Aug 3 15:16:34 2011 UTC vs.
Revision 1.623 by root, Sat Jan 25 16:25:27 2014 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: should explore PerlIO::coroaio (perl leaks like hell). 3TODO: should explore PerlIO::coroaio (perl leaks like hell).
4TODO: channel->maxsize(newsize)? 4TODO: channel->maxsize(newsize)?
5TODO: http://www.microsoft.com/msj/archive/s2ce.aspx 5TODO: __GCC_HAVE_DWARF2_CFI_ASM
6TODO: swap_sv, maybe add scope_swap_sv, andallow to unswap by repeat?
7TODO: swap_sv not undone in pool
8
9TODO: warnhook reports from wrong line number now, when arg is Math::GMP number.
10 - FATAL: $Coro::IDLE blocked itself will now use Carp::confess
11 to report a full stacktrace, which should help find out
12 where the actual call is.
13
146.33 Mon Nov 18 11:26:27 CET 2013
15 - do not crash when freeing padlists with holes (in 5.18).
16 - tentative SVt_BIND 5.19 port/fix.
17
186.32 Tue Nov 5 15:35:35 CET 2013
19 - use a new algorithm to derive padlists for perl 5.18. The old
20 one could lead to 0-pointer accesses inside perl (reported
21 by Darin McBride).
22
236.31 Thu May 9 07:39:48 CEST 2013
24 - Coro::AIO requests would crash if the thread was ready'd
25 while the request was ongoing.
26
276.29 Wed May 8 02:55:18 CEST 2013
28 - when an on_destroy handler destructs the coro currently being
29 destructed a perl scalar could be accessed after being freed,
30 likely causing a crash.
31
326.28 Wed Mar 6 06:58:02 CET 2013
33 - clean remnants of existing __DIE__ and __WARN__ handlers so
34 they lose their magic and will not cause segfaults later
35 (testcase by Andrey Sagulin).
36 - improved Coro::State documentation a bit.
37 - Coro::Debug::command now flushes the output.
38 - add hack detection code for x32 abi, because the braindead slugs
39 who designed that made it look exactly like x86_64 without
40 providing proper compile time symbols to test for it. as a result,
41 this detection cannot work reliably.
42 - valgrind stack registering was broken.
43 - do not rely on Time::HiRes anymore in Coro::Debug.
44
456.23 Fri Dec 7 23:36:37 CET 2012
46 - use experimental fiber implementation on native windows
47 perls.
48 - use sizeof (void *) as multiplication factor for stack sizes,
49 to accomodate the totally braindamaged microsoft 64 bit "os".
50 - changed verifier host from win2k-ap510-32 to win7-sp516-32/64.
51 activeperl 5.16 crashes when PerlIO_define_layer is called due
52 to some bug in the perl dll, strawberry perl at least passes
53 the testsuite.
54 - implement Coro::Handle->peeraddr/host/port, for slightly
55 improved compatibility with LWP.
56 - implement 5.17 compatibility by almost blindly applying a
57 good-looking patch by Father Chrysostomos.
58 - move stack management functions into libcoro 3.
59 - libcoro version 3 "released".
60 - support magic values as timed_io_once args.
61 - recommend AnyEvent 7+ or EV 4+, also require EV
62 version 4 or newer for Coro::EV.
63
646.10 Tue Oct 9 01:14:27 CEST 2012
65 - updated ecb.h, it had a typo that caused it to not compile on many
66 big endian systems (reported by many people).
67 - disable memory fences in ecb.h to improve portability.
68
696.09 Sat Oct 6 23:25:02 CEST 2012
70 - Coro::EV I/O watchers were not interruptible by exceptions
71 (Coro::State::throw) (testcase by sten).
72 - ->throw now puts threads into the ready queue, as this seems to
73 be expected by existing code, and code that doesn't cope with spurious
74 wakeups needs fixing anyway.
75 - use fd -1 in mmap.
76 - cast I32 to int in error message printf.
77 - warn about broken so-called "hardened" kernels.
78
796.08 Fri Apr 13 12:05:47 CEST 2012
80 - be more aggressive about exiting like perl does - formerly,
81 exiting from the non-main thread would not execute END blocks.
82
836.07 Fri Nov 11 21:21:48 CET 2011
84 - work around a bug in PerlIO (setting $SIG{__WARN__} to a PVCV).
85 - update ecb.h.
86
876.06 Mon Aug 8 23:59:48 CEST 2011
88 - cygwin unfortunately patches the stack at runtime, so we use the pthreads
89 backend, which is an order of magnitude slower. unfortunately, cygwins
90 pthread implementation isn't very complete either, so allocate the stack
91 twice just to be sure.
92 (note: cygwin also enables mymalloc, which is NOT THREADSAFE ON WINDOWS,
93 in its ithreaded perl - best recompile cygwin and use the 'w'indows
94 backend for much better performance. also disable ithreads for
95 even better performance...).
96
976.05 Thu Aug 4 21:36:36 CEST 2011
98 - blush, condvar values would not be propagated from send to recv anymore
99 (reported by Chip Salzenberg).
100 - use exponential increase for the readline buffer length in
101 Coro::Handle. also reduce initial allocation to 1020 from 4096 bytes.
6 102
76.04 Wed Aug 3 17:15:45 CEST 2011 1036.04 Wed Aug 3 17:15:45 CEST 2011
8 - use even more efficient and more compatible condvars for 104 - use even more efficient and more compatible condvars for
9 compatibility to AnyEvent 6.x :) 105 compatibility to AnyEvent 6.x :)
10 - more inconsequential ecb.h updates. 106 - more inconsequential ecb.h updates.
393 - ->throw is now supported on Coro::State objects. 489 - ->throw is now supported on Coro::State objects.
394 - clean up cctx creation code a bit. 490 - clean up cctx creation code a bit.
395 - entersub is actually a UNOP, not a LOGOP (not a bugfix). 491 - entersub is actually a UNOP, not a LOGOP (not a bugfix).
396 492
3974.9 Sat Nov 8 17:45:27 CET 2008 4934.9 Sat Nov 8 17:45:27 CET 2008
398 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there). 494 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there).
399 - (libcoro) no longer leak threads in the experimental pthread backend, 495 - (libcoro) no longer leak threads in the experimental pthread backend,
400 also speed it up considerably. 496 also speed it up considerably.
401 - (libcoro) do not rely on makecontext passing void *'s unscathed. 497 - (libcoro) do not rely on makecontext passing void *'s unscathed.
402 - fix compiletime dependencies on libcoro in the Makefile. 498 - fix compiletime dependencies on libcoro in the Makefile.
403 - cctx_count wasn't always updated properly. 499 - cctx_count wasn't always updated properly.
465 - remove debugging code related to MgPV_nolen_const, also try to 561 - remove debugging code related to MgPV_nolen_const, also try to
466 make it compile with perl 5.8.6 (yes, apple apparently loves 562 make it compile with perl 5.8.6 (yes, apple apparently loves
467 outdated software). Reported by John S. 563 outdated software). Reported by John S.
468 564
4694.744 Tue Jul 8 22:06:35 CEST 2008 5654.744 Tue Jul 8 22:06:35 CEST 2008
470 - correctly provide default DIE/WARN handlers as documented. 566 - correctly provide default DIE/WARN handlers as documented.
471 - also overwrite PL_vtbl_sigelem.svt_clear, even though current 567 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
472 implementations inside perl work fine for us. 568 implementations inside perl work fine for us.
473 569
4744.743 Mon Jun 16 00:21:57 CEST 2008 5704.743 Mon Jun 16 00:21:57 CEST 2008
475 - when using Coro::EV without running EV::loop it could 571 - when using Coro::EV without running EV::loop it could
497 - sprinkle "no warnings" freely over everything, also suppress 593 - sprinkle "no warnings" freely over everything, also suppress
498 warnings for some other modules. 594 warnings for some other modules.
499 - fix typo in WSAEWOULDBLOCK. 595 - fix typo in WSAEWOULDBLOCK.
500 596
5014.72 Sun May 25 05:14:36 CEST 2008 5974.72 Sun May 25 05:14:36 CEST 2008
502 - tweak META.yaml a bit, unfortunately, there is no documented way 598 - tweak META.yaml a bit, unfortunately, there is no documented way
503 to have optional dependencies with CPAN. doh :( 599 to have optional dependencies with CPAN. doh :(
504 - avoid running some tests on windows because they would fail due to 600 - avoid running some tests on windows because they would fail due to
505 perl bug (broken fork, broken pipes...). 601 perl bug (broken fork, broken pipes...).
506 - work around perl on windows bugs where perl returns undocumented 602 - work around perl on windows bugs where perl returns undocumented
507 error codes for sysread, syswrite etc. by taking advantage 603 error codes for sysread, syswrite etc. by taking advantage
511 - use unix domain sockets in testsuite to work around 607 - use unix domain sockets in testsuite to work around
512 common perl implementation bugs on widows (they are emulated by 608 common perl implementation bugs on widows (they are emulated by
513 tcp sockets on windows. ugh.) 609 tcp sockets on windows. ugh.)
514 610
5154.71 Sat May 24 20:01:27 CEST 2008 6114.71 Sat May 24 20:01:27 CEST 2008
516 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()"). 612 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
517 - take advantage of async name resolution of AnyEvent::Util. 613 - take advantage of async name resolution of AnyEvent::Util.
518 - work around brutal inet_aton override in Coro::LWP. 614 - work around brutal inet_aton override in Coro::LWP.
519 - take advantage of the readyhook in Coro::EV, for smoother 615 - take advantage of the readyhook in Coro::EV, for smoother
520 scheduling. 616 scheduling.
521 617
5224.7 Sun May 11 00:32:19 CEST 2008 6184.7 Sun May 11 00:32:19 CEST 2008
523 - completely reworked the Coro manpage. 619 - completely reworked the Coro manpage.
524 - added Coro::AnyEvent, generic event loop integration. 620 - added Coro::AnyEvent, generic event loop integration.
525 - implement cancel, ready and kill commands in Coro::Debug. 621 - implement cancel, ready and kill commands in Coro::Debug.
526 - document find_coro in Coro::Debug. 622 - document find_coro in Coro::Debug.
527 - incompatible change: rename has_stack to has_cctx. 623 - incompatible change: rename has_stack to has_cctx.
528 - Coro::AIO and Coro::BDB no longer force event model detection, 624 - Coro::AIO and Coro::BDB no longer force event model detection,
529 use AnyEvent::AIO and AnyEvent::BDB. 625 use AnyEvent::AIO and AnyEvent::BDB.
653 749
6544.11 Thu Oct 11 02:40:24 CEST 2007 7504.11 Thu Oct 11 02:40:24 CEST 2007
655 - port to threaded perls. 751 - port to threaded perls.
656 752
6574.1 Thu Oct 11 02:38:16 CEST 2007 7534.1 Thu Oct 11 02:38:16 CEST 2007
658 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now 754 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
659 be local to each coro (see Coro::State). 755 be local to each coro (see Coro::State).
660 - incompatible change: for very deep reasons, cede and cede_notself 756 - incompatible change: for very deep reasons, cede and cede_notself
661 cannot return anything, so nothing will be returned. 757 cannot return anything, so nothing will be returned.
662 - possibly bring back 5.10 compatibility (untested). 758 - possibly bring back 5.10 compatibility (untested).
663 - work around stupid (and wrong) warning on 5.10 :(. 759 - work around stupid (and wrong) warning on 5.10 :(.
735 but stateful semantics. 831 but stateful semantics.
736 - fixed a lot of typos in Coro.pm (patch submitted by David 832 - fixed a lot of typos in Coro.pm (patch submitted by David
737 Steinbrunner, which applied flawlessly). 833 Steinbrunner, which applied flawlessly).
738 834
7393.6 Sat Apr 14 17:13:31 CEST 2007 8353.6 Sat Apr 14 17:13:31 CEST 2007
740 - added some bugfixes to get eg/myhttpd working again. 836 - added some bugfixes to get eg/myhttpd working again.
741 - added Coro::Storable for often-cede'ing freeze/thaw. 837 - added Coro::Storable for often-cede'ing freeze/thaw.
742 - try to do a clean exit when a coroutine calls exit 838 - try to do a clean exit when a coroutine calls exit
743 (EXPERIMENTAL). 839 (EXPERIMENTAL).
744 - got rid of indirect call through _coro_init. 840 - got rid of indirect call through _coro_init.
745 - updated the partly antique examples in eg/ to 841 - updated the partly antique examples in eg/ to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines