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

Comparing Coro/Changes (file contents):
Revision 1.598 by root, Mon Oct 8 23:16:15 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?
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.
7 107
86.10 Tue Oct 9 01:14:27 CEST 2012 1086.10 Tue Oct 9 01:14:27 CEST 2012
9 - updated ecb.h, it had a typo that caused it to not compile on many 109 - updated ecb.h, it had a typo that caused it to not compile on many
10 big endian systems (reported by many people). 110 big endian systems (reported by many people).
11 - disable memory fences in ecb.h to improve portability. 111 - disable memory fences in ecb.h to improve portability.
61 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
62 systems. 162 systems.
63 163
646.01 Sun Jul 3 12:31:14 CEST 2011 1646.01 Sun Jul 3 12:31:14 CEST 2011
65 - workarounds are good, but the test for whether pthreads are used 165 - workarounds are good, but the test for whether pthreads are used
66 was not good. thisone should be better. 166 was not good. this one should be better.
67 - check differently whether gcc generates cfi instructions itself. 167 - check differently whether gcc generates cfi instructions itself.
68 168
696.0 Wed Jun 29 19:43:35 CEST 2011 1696.0 Wed Jun 29 19:43:35 CEST 2011
70 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be 170 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be
71 destroyed and cleaned up automatically (e.g. async { schedule }). 171 destroyed and cleaned up automatically (e.g. async { schedule }).
72 - implement a JIT compiler for part of the thread switch code, 172 - implement a JIT compiler for part of the thread switch code,
73 which gives a 50% speed improvement on threaded perls, and 173 which gives a 50% speed improvement on threaded perls, and
74 about 4% on non-thraeded perls (so threaded perls now finally 174 about 4% on non-threaded perls (so threaded perls now finally
75 reach about half the speed of non-threaded perls). 175 reach about half the speed of non-threaded perls).
76 - slightly modernise Coro::Intro, add section about rouse functions. 176 - slightly modernise Coro::Intro, add section about rouse functions.
77 - avoid DEFSV and ERRSV, giving another 10% improvement 177 - avoid DEFSV and ERRSV, giving another 10% improvement
78 in thread switching. 178 in thread switching.
79 - Coro::State->is_destroyed is now called is_zombie. 179 - Coro::State->is_destroyed is now called is_zombie.
433 - ->throw is now supported on Coro::State objects. 533 - ->throw is now supported on Coro::State objects.
434 - clean up cctx creation code a bit. 534 - clean up cctx creation code a bit.
435 - entersub is actually a UNOP, not a LOGOP (not a bugfix). 535 - entersub is actually a UNOP, not a LOGOP (not a bugfix).
436 536
4374.9 Sat Nov 8 17:45:27 CET 2008 5374.9 Sat Nov 8 17:45:27 CET 2008
438 - (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).
439 - (libcoro) no longer leak threads in the experimental pthread backend, 539 - (libcoro) no longer leak threads in the experimental pthread backend,
440 also speed it up considerably. 540 also speed it up considerably.
441 - (libcoro) do not rely on makecontext passing void *'s unscathed. 541 - (libcoro) do not rely on makecontext passing void *'s unscathed.
442 - fix compiletime dependencies on libcoro in the Makefile. 542 - fix compiletime dependencies on libcoro in the Makefile.
443 - cctx_count wasn't always updated properly. 543 - cctx_count wasn't always updated properly.
505 - remove debugging code related to MgPV_nolen_const, also try to 605 - remove debugging code related to MgPV_nolen_const, also try to
506 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
507 outdated software). Reported by John S. 607 outdated software). Reported by John S.
508 608
5094.744 Tue Jul 8 22:06:35 CEST 2008 6094.744 Tue Jul 8 22:06:35 CEST 2008
510 - correctly provide default DIE/WARN handlers as documented. 610 - correctly provide default DIE/WARN handlers as documented.
511 - also overwrite PL_vtbl_sigelem.svt_clear, even though current 611 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
512 implementations inside perl work fine for us. 612 implementations inside perl work fine for us.
513 613
5144.743 Mon Jun 16 00:21:57 CEST 2008 6144.743 Mon Jun 16 00:21:57 CEST 2008
515 - when using Coro::EV without running EV::loop it could 615 - when using Coro::EV without running EV::loop it could
537 - sprinkle "no warnings" freely over everything, also suppress 637 - sprinkle "no warnings" freely over everything, also suppress
538 warnings for some other modules. 638 warnings for some other modules.
539 - fix typo in WSAEWOULDBLOCK. 639 - fix typo in WSAEWOULDBLOCK.
540 640
5414.72 Sun May 25 05:14:36 CEST 2008 6414.72 Sun May 25 05:14:36 CEST 2008
542 - tweak META.yaml a bit, unfortunately, there is no documented way 642 - tweak META.yaml a bit, unfortunately, there is no documented way
543 to have optional dependencies with CPAN. doh :( 643 to have optional dependencies with CPAN. doh :(
544 - 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
545 perl bug (broken fork, broken pipes...). 645 perl bug (broken fork, broken pipes...).
546 - work around perl on windows bugs where perl returns undocumented 646 - work around perl on windows bugs where perl returns undocumented
547 error codes for sysread, syswrite etc. by taking advantage 647 error codes for sysread, syswrite etc. by taking advantage
551 - use unix domain sockets in testsuite to work around 651 - use unix domain sockets in testsuite to work around
552 common perl implementation bugs on widows (they are emulated by 652 common perl implementation bugs on widows (they are emulated by
553 tcp sockets on windows. ugh.) 653 tcp sockets on windows. ugh.)
554 654
5554.71 Sat May 24 20:01:27 CEST 2008 6554.71 Sat May 24 20:01:27 CEST 2008
556 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()"). 656 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
557 - take advantage of async name resolution of AnyEvent::Util. 657 - take advantage of async name resolution of AnyEvent::Util.
558 - work around brutal inet_aton override in Coro::LWP. 658 - work around brutal inet_aton override in Coro::LWP.
559 - take advantage of the readyhook in Coro::EV, for smoother 659 - take advantage of the readyhook in Coro::EV, for smoother
560 scheduling. 660 scheduling.
561 661
5624.7 Sun May 11 00:32:19 CEST 2008 6624.7 Sun May 11 00:32:19 CEST 2008
563 - completely reworked the Coro manpage. 663 - completely reworked the Coro manpage.
564 - added Coro::AnyEvent, generic event loop integration. 664 - added Coro::AnyEvent, generic event loop integration.
565 - implement cancel, ready and kill commands in Coro::Debug. 665 - implement cancel, ready and kill commands in Coro::Debug.
566 - document find_coro in Coro::Debug. 666 - document find_coro in Coro::Debug.
567 - incompatible change: rename has_stack to has_cctx. 667 - incompatible change: rename has_stack to has_cctx.
568 - Coro::AIO and Coro::BDB no longer force event model detection, 668 - Coro::AIO and Coro::BDB no longer force event model detection,
569 use AnyEvent::AIO and AnyEvent::BDB. 669 use AnyEvent::AIO and AnyEvent::BDB.
693 793
6944.11 Thu Oct 11 02:40:24 CEST 2007 7944.11 Thu Oct 11 02:40:24 CEST 2007
695 - port to threaded perls. 795 - port to threaded perls.
696 796
6974.1 Thu Oct 11 02:38:16 CEST 2007 7974.1 Thu Oct 11 02:38:16 CEST 2007
698 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now 798 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
699 be local to each coro (see Coro::State). 799 be local to each coro (see Coro::State).
700 - incompatible change: for very deep reasons, cede and cede_notself 800 - incompatible change: for very deep reasons, cede and cede_notself
701 cannot return anything, so nothing will be returned. 801 cannot return anything, so nothing will be returned.
702 - possibly bring back 5.10 compatibility (untested). 802 - possibly bring back 5.10 compatibility (untested).
703 - work around stupid (and wrong) warning on 5.10 :(. 803 - work around stupid (and wrong) warning on 5.10 :(.
775 but stateful semantics. 875 but stateful semantics.
776 - 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
777 Steinbrunner, which applied flawlessly). 877 Steinbrunner, which applied flawlessly).
778 878
7793.6 Sat Apr 14 17:13:31 CEST 2007 8793.6 Sat Apr 14 17:13:31 CEST 2007
780 - added some bugfixes to get eg/myhttpd working again. 880 - added some bugfixes to get eg/myhttpd working again.
781 - added Coro::Storable for often-cede'ing freeze/thaw. 881 - added Coro::Storable for often-cede'ing freeze/thaw.
782 - try to do a clean exit when a coroutine calls exit 882 - try to do a clean exit when a coroutine calls exit
783 (EXPERIMENTAL). 883 (EXPERIMENTAL).
784 - got rid of indirect call through _coro_init. 884 - got rid of indirect call through _coro_init.
785 - 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