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

Comparing Coro/Changes (file contents):
Revision 1.593 by root, Mon Jul 2 23:16:48 2012 UTC vs.
Revision 1.640 by root, Sun Jun 7 02:01:04 2015 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
6TODO: __GCC_HAVE_DWARF2_CFI_ASM 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
8TODO: croak when async_pool tries to run canceled thread?
7 9
106.43 Thu Jun 4 15:38:14 CEST 2015
11 - use stability canary.
12 - port to stableperl-5.22.0-1.001.
13 - update libecb.
14
156.42 Wed Feb 11 20:29:52 CET 2015
16 - Coro::SemaphoreSet->try did not actually work (analyzed by
17 SATO Kentaro).
18 - upgrade libecb to be C11 compliant.
19
206.41 Sat Sep 6 22:08:46 CEST 2014
21 - restore portability to perl 5.8.x.
22 - give new Coro's a valid GvHV(PL_hintgv) - this is slow and takes
23 up some memory, but fixes "use feature" and similar modules
24 when used inside a Coro.
25 - allow zero as argument to Coro::Channel to mean the same thing
26 as no argument. this works with older versions as well,
27 but wasn't legal until now.
28 - slightly better c header file detection.
29
306.39 Mon Jun 2 00:00:08 CEST 2014
31 - work around more incompatible changes in 5.20.
32
336.38 Sun Jun 1 21:54:23 CEST 2014
34 - check that perl slots actually have enough space to hold
35 interpreter variables.
36 - untested port to perl 5.19 (64 bit tmps indices) (reported
37 by Andreas König).
38 - croak when cancel is called without a thread context.
39
406.37 Tue Mar 4 13:27:33 CET 2014
41 - *sigh*, removed leftover debugging code from debugging a
42 perl bug, of all things.
43
446.36 Tue Mar 4 07:11:59 CET 2014
45 - semaphores would not clear the destroy hook when interrupted
46 by ->throw, causing segfaults or worse.
47 - ->throw on a thread waiting for a semaphore did not acquire
48 the semaphore, but also didn't wake up other waiters,
49 possibly causing a deadlock.
50 - "FATAL: $Coro::IDLE blocked itself" will now use Carp::confess
51 to report a full stacktrace, which should help find out
52 where the actual call is.
53 - "atomically" destroy data in slf_destroy, because it is
54 the right thing to do, just in case.
55 - disable ecb.h libm dependency, to compile on ancient systems
56 or under adverse conditions.
57
586.33 Mon Nov 18 11:26:27 CET 2013
59 - do not crash when freeing padlists with holes (in 5.18).
60 - tentative SVt_BIND 5.19 port/fix.
61
626.32 Tue Nov 5 15:35:35 CET 2013
63 - use a new algorithm to derive padlists for perl 5.18. The old
64 one could lead to 0-pointer accesses inside perl (reported
65 by Darin McBride).
66
676.31 Thu May 9 07:39:48 CEST 2013
68 - Coro::AIO requests would crash if the thread was ready'd
69 while the request was ongoing.
70
716.29 Wed May 8 02:55:18 CEST 2013
72 - when an on_destroy handler destructs the coro currently being
73 destructed a perl scalar could be accessed after being freed,
74 likely causing a crash.
75
766.28 Wed Mar 6 06:58:02 CET 2013
77 - clean remnants of existing __DIE__ and __WARN__ handlers so
78 they lose their magic and will not cause segfaults later
79 (testcase by Andrey Sagulin).
80 - improved Coro::State documentation a bit.
81 - Coro::Debug::command now flushes the output.
82 - add hack detection code for x32 abi, because the braindead slugs
83 who designed that made it look exactly like x86_64 without
84 providing proper compile time symbols to test for it. as a result,
85 this detection cannot work reliably.
86 - valgrind stack registering was broken.
87 - do not rely on Time::HiRes anymore in Coro::Debug.
88
896.23 Fri Dec 7 23:36:37 CET 2012
90 - use experimental fiber implementation on native windows
91 perls.
92 - use sizeof (void *) as multiplication factor for stack sizes,
93 to accomodate the totally braindamaged microsoft 64 bit "os".
94 - changed verifier host from win2k-ap510-32 to win7-sp516-32/64.
95 activeperl 5.16 crashes when PerlIO_define_layer is called due
96 to some bug in the perl dll, strawberry perl at least passes
97 the testsuite.
98 - implement Coro::Handle->peeraddr/host/port, for slightly
99 improved compatibility with LWP.
100 - implement 5.17 compatibility by almost blindly applying a
101 good-looking patch by Father Chrysostomos.
102 - move stack management functions into libcoro 3.
103 - libcoro version 3 "released".
104 - support magic values as timed_io_once args.
105 - recommend AnyEvent 7+ or EV 4+, also require EV
106 version 4 or newer for Coro::EV.
107
1086.10 Tue Oct 9 01:14:27 CEST 2012
109 - updated ecb.h, it had a typo that caused it to not compile on many
110 big endian systems (reported by many people).
111 - disable memory fences in ecb.h to improve portability.
112
1136.09 Sat Oct 6 23:25:02 CEST 2012
114 - Coro::EV I/O watchers were not interruptible by exceptions
115 (Coro::State::throw) (testcase by sten).
116 - ->throw now puts threads into the ready queue, as this seems to
117 be expected by existing code, and code that doesn't cope with spurious
118 wakeups needs fixing anyway.
8 - use fd -1 in mmap. 119 - use fd -1 in mmap.
9 - cast I32 to int in error message printf. 120 - cast I32 to int in error message printf.
10 - warn about broken so-called "hardened" kernels. 121 - warn about broken so-called "hardened" kernels.
11 122
126.08 Fri Apr 13 12:05:47 CEST 2012 1236.08 Fri Apr 13 12:05:47 CEST 2012
50 handle and barfed. now it's just a bit slower on gentoo and similar 161 handle and barfed. now it's just a bit slower on gentoo and similar
51 systems. 162 systems.
52 163
536.01 Sun Jul 3 12:31:14 CEST 2011 1646.01 Sun Jul 3 12:31:14 CEST 2011
54 - workarounds are good, but the test for whether pthreads are used 165 - workarounds are good, but the test for whether pthreads are used
55 was not good. thisone should be better. 166 was not good. this one should be better.
56 - check differently whether gcc generates cfi instructions itself. 167 - check differently whether gcc generates cfi instructions itself.
57 168
586.0 Wed Jun 29 19:43:35 CEST 2011 1696.0 Wed Jun 29 19:43:35 CEST 2011
59 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be 170 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be
60 destroyed and cleaned up automatically (e.g. async { schedule }). 171 destroyed and cleaned up automatically (e.g. async { schedule }).
61 - implement a JIT compiler for part of the thread switch code, 172 - implement a JIT compiler for part of the thread switch code,
62 which gives a 50% speed improvement on threaded perls, and 173 which gives a 50% speed improvement on threaded perls, and
63 about 4% on non-thraeded perls (so threaded perls now finally 174 about 4% on non-threaded perls (so threaded perls now finally
64 reach about half the speed of non-threaded perls). 175 reach about half the speed of non-threaded perls).
65 - slightly modernise Coro::Intro, add section about rouse functions. 176 - slightly modernise Coro::Intro, add section about rouse functions.
66 - avoid DEFSV and ERRSV, giving another 10% improvement 177 - avoid DEFSV and ERRSV, giving another 10% improvement
67 in thread switching. 178 in thread switching.
68 - Coro::State->is_destroyed is now called is_zombie. 179 - Coro::State->is_destroyed is now called is_zombie.
422 - ->throw is now supported on Coro::State objects. 533 - ->throw is now supported on Coro::State objects.
423 - clean up cctx creation code a bit. 534 - clean up cctx creation code a bit.
424 - entersub is actually a UNOP, not a LOGOP (not a bugfix). 535 - entersub is actually a UNOP, not a LOGOP (not a bugfix).
425 536
4264.9 Sat Nov 8 17:45:27 CET 2008 5374.9 Sat Nov 8 17:45:27 CET 2008
427 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there). 538 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there).
428 - (libcoro) no longer leak threads in the experimental pthread backend, 539 - (libcoro) no longer leak threads in the experimental pthread backend,
429 also speed it up considerably. 540 also speed it up considerably.
430 - (libcoro) do not rely on makecontext passing void *'s unscathed. 541 - (libcoro) do not rely on makecontext passing void *'s unscathed.
431 - fix compiletime dependencies on libcoro in the Makefile. 542 - fix compiletime dependencies on libcoro in the Makefile.
432 - cctx_count wasn't always updated properly. 543 - cctx_count wasn't always updated properly.
494 - remove debugging code related to MgPV_nolen_const, also try to 605 - remove debugging code related to MgPV_nolen_const, also try to
495 make it compile with perl 5.8.6 (yes, apple apparently loves 606 make it compile with perl 5.8.6 (yes, apple apparently loves
496 outdated software). Reported by John S. 607 outdated software). Reported by John S.
497 608
4984.744 Tue Jul 8 22:06:35 CEST 2008 6094.744 Tue Jul 8 22:06:35 CEST 2008
499 - correctly provide default DIE/WARN handlers as documented. 610 - correctly provide default DIE/WARN handlers as documented.
500 - also overwrite PL_vtbl_sigelem.svt_clear, even though current 611 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
501 implementations inside perl work fine for us. 612 implementations inside perl work fine for us.
502 613
5034.743 Mon Jun 16 00:21:57 CEST 2008 6144.743 Mon Jun 16 00:21:57 CEST 2008
504 - when using Coro::EV without running EV::loop it could 615 - when using Coro::EV without running EV::loop it could
526 - sprinkle "no warnings" freely over everything, also suppress 637 - sprinkle "no warnings" freely over everything, also suppress
527 warnings for some other modules. 638 warnings for some other modules.
528 - fix typo in WSAEWOULDBLOCK. 639 - fix typo in WSAEWOULDBLOCK.
529 640
5304.72 Sun May 25 05:14:36 CEST 2008 6414.72 Sun May 25 05:14:36 CEST 2008
531 - tweak META.yaml a bit, unfortunately, there is no documented way 642 - tweak META.yaml a bit, unfortunately, there is no documented way
532 to have optional dependencies with CPAN. doh :( 643 to have optional dependencies with CPAN. doh :(
533 - avoid running some tests on windows because they would fail due to 644 - avoid running some tests on windows because they would fail due to
534 perl bug (broken fork, broken pipes...). 645 perl bug (broken fork, broken pipes...).
535 - work around perl on windows bugs where perl returns undocumented 646 - work around perl on windows bugs where perl returns undocumented
536 error codes for sysread, syswrite etc. by taking advantage 647 error codes for sysread, syswrite etc. by taking advantage
540 - use unix domain sockets in testsuite to work around 651 - use unix domain sockets in testsuite to work around
541 common perl implementation bugs on widows (they are emulated by 652 common perl implementation bugs on widows (they are emulated by
542 tcp sockets on windows. ugh.) 653 tcp sockets on windows. ugh.)
543 654
5444.71 Sat May 24 20:01:27 CEST 2008 6554.71 Sat May 24 20:01:27 CEST 2008
545 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()"). 656 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
546 - take advantage of async name resolution of AnyEvent::Util. 657 - take advantage of async name resolution of AnyEvent::Util.
547 - work around brutal inet_aton override in Coro::LWP. 658 - work around brutal inet_aton override in Coro::LWP.
548 - take advantage of the readyhook in Coro::EV, for smoother 659 - take advantage of the readyhook in Coro::EV, for smoother
549 scheduling. 660 scheduling.
550 661
5514.7 Sun May 11 00:32:19 CEST 2008 6624.7 Sun May 11 00:32:19 CEST 2008
552 - completely reworked the Coro manpage. 663 - completely reworked the Coro manpage.
553 - added Coro::AnyEvent, generic event loop integration. 664 - added Coro::AnyEvent, generic event loop integration.
554 - implement cancel, ready and kill commands in Coro::Debug. 665 - implement cancel, ready and kill commands in Coro::Debug.
555 - document find_coro in Coro::Debug. 666 - document find_coro in Coro::Debug.
556 - incompatible change: rename has_stack to has_cctx. 667 - incompatible change: rename has_stack to has_cctx.
557 - Coro::AIO and Coro::BDB no longer force event model detection, 668 - Coro::AIO and Coro::BDB no longer force event model detection,
558 use AnyEvent::AIO and AnyEvent::BDB. 669 use AnyEvent::AIO and AnyEvent::BDB.
682 793
6834.11 Thu Oct 11 02:40:24 CEST 2007 7944.11 Thu Oct 11 02:40:24 CEST 2007
684 - port to threaded perls. 795 - port to threaded perls.
685 796
6864.1 Thu Oct 11 02:38:16 CEST 2007 7974.1 Thu Oct 11 02:38:16 CEST 2007
687 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now 798 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
688 be local to each coro (see Coro::State). 799 be local to each coro (see Coro::State).
689 - incompatible change: for very deep reasons, cede and cede_notself 800 - incompatible change: for very deep reasons, cede and cede_notself
690 cannot return anything, so nothing will be returned. 801 cannot return anything, so nothing will be returned.
691 - possibly bring back 5.10 compatibility (untested). 802 - possibly bring back 5.10 compatibility (untested).
692 - work around stupid (and wrong) warning on 5.10 :(. 803 - work around stupid (and wrong) warning on 5.10 :(.
764 but stateful semantics. 875 but stateful semantics.
765 - fixed a lot of typos in Coro.pm (patch submitted by David 876 - fixed a lot of typos in Coro.pm (patch submitted by David
766 Steinbrunner, which applied flawlessly). 877 Steinbrunner, which applied flawlessly).
767 878
7683.6 Sat Apr 14 17:13:31 CEST 2007 8793.6 Sat Apr 14 17:13:31 CEST 2007
769 - added some bugfixes to get eg/myhttpd working again. 880 - added some bugfixes to get eg/myhttpd working again.
770 - added Coro::Storable for often-cede'ing freeze/thaw. 881 - added Coro::Storable for often-cede'ing freeze/thaw.
771 - try to do a clean exit when a coroutine calls exit 882 - try to do a clean exit when a coroutine calls exit
772 (EXPERIMENTAL). 883 (EXPERIMENTAL).
773 - got rid of indirect call through _coro_init. 884 - got rid of indirect call through _coro_init.
774 - updated the partly antique examples in eg/ to 885 - updated the partly antique examples in eg/ to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines