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

Comparing Coro/Changes (file contents):
Revision 1.576 by root, Sun Jul 3 10:51:40 2011 UTC vs.
Revision 1.647 by root, Sat Jul 11 01:59:05 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 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.47 Sat Jul 11 03:58:20 CEST 2015
11 - swap_svs - NVs can be in the SV head beginning with 5.20.
12
136.46 Tue Jun 30 14:36:30 CEST 2015
14 - restore portability to perls with windows fork emulation
15 (patch by Petr Písař).
16
176.45 Tue Jun 30 01:40:08 CEST 2015
18 - restore portability to perl 5.16 and below.
19
206.44 Tue Jun 30 00:41:54 CEST 2015
21 - avoid segfaulting (or worse) when tracing a canceled thread.
22 - the Event module silently broke it's public hook API, causing
23 failures on perls compiled with -Duselongdouble. Requiring
24 the latest version of Event because I don't know which release
25 changed this (it's not mentioned in the ChangeLog).
26 - allow xs level enterleave hooks via CoroAPI.
27
286.43 Thu Jun 4 15:38:14 CEST 2015
29 - use stability canary.
30 - port to stableperl-5.22.0-1.001.
31 - update libecb.
32
336.42 Wed Feb 11 20:29:52 CET 2015
34 - Coro::SemaphoreSet->try did not actually work (analyzed by
35 SATO Kentaro).
36 - upgrade libecb to be C11 compliant.
37
386.41 Sat Sep 6 22:08:46 CEST 2014
39 - restore portability to perl 5.8.x.
40 - give new Coro's a valid GvHV(PL_hintgv) - this is slow and takes
41 up some memory, but fixes "use feature" and similar modules
42 when used inside a Coro.
43 - allow zero as argument to Coro::Channel to mean the same thing
44 as no argument. this works with older versions as well,
45 but wasn't legal until now.
46 - slightly better c header file detection.
47
486.39 Mon Jun 2 00:00:08 CEST 2014
49 - work around more incompatible changes in 5.20.
50
516.38 Sun Jun 1 21:54:23 CEST 2014
52 - check that perl slots actually have enough space to hold
53 interpreter variables.
54 - untested port to perl 5.19 (64 bit tmps indices) (reported
55 by Andreas König).
56 - croak when cancel is called without a thread context.
57
586.37 Tue Mar 4 13:27:33 CET 2014
59 - *sigh*, removed leftover debugging code from debugging a
60 perl bug, of all things.
61
626.36 Tue Mar 4 07:11:59 CET 2014
63 - semaphores would not clear the destroy hook when interrupted
64 by ->throw, causing segfaults or worse.
65 - ->throw on a thread waiting for a semaphore did not acquire
66 the semaphore, but also didn't wake up other waiters,
67 possibly causing a deadlock.
68 - "FATAL: $Coro::IDLE blocked itself" will now use Carp::confess
69 to report a full stacktrace, which should help find out
70 where the actual call is.
71 - "atomically" destroy data in slf_destroy, because it is
72 the right thing to do, just in case.
73 - disable ecb.h libm dependency, to compile on ancient systems
74 or under adverse conditions.
75
766.33 Mon Nov 18 11:26:27 CET 2013
77 - do not crash when freeing padlists with holes (in 5.18).
78 - tentative SVt_BIND 5.19 port/fix.
79
806.32 Tue Nov 5 15:35:35 CET 2013
81 - use a new algorithm to derive padlists for perl 5.18. The old
82 one could lead to 0-pointer accesses inside perl (reported
83 by Darin McBride).
84
856.31 Thu May 9 07:39:48 CEST 2013
86 - Coro::AIO requests would crash if the thread was ready'd
87 while the request was ongoing.
88
896.29 Wed May 8 02:55:18 CEST 2013
90 - when an on_destroy handler destructs the coro currently being
91 destructed a perl scalar could be accessed after being freed,
92 likely causing a crash.
93
946.28 Wed Mar 6 06:58:02 CET 2013
95 - clean remnants of existing __DIE__ and __WARN__ handlers so
96 they lose their magic and will not cause segfaults later
97 (testcase by Andrey Sagulin).
98 - improved Coro::State documentation a bit.
99 - Coro::Debug::command now flushes the output.
100 - add hack detection code for x32 abi, because the braindead slugs
101 who designed that made it look exactly like x86_64 without
102 providing proper compile time symbols to test for it. as a result,
103 this detection cannot work reliably.
104 - valgrind stack registering was broken.
105 - do not rely on Time::HiRes anymore in Coro::Debug.
106
1076.23 Fri Dec 7 23:36:37 CET 2012
108 - use experimental fiber implementation on native windows
109 perls.
110 - use sizeof (void *) as multiplication factor for stack sizes,
111 to accomodate the totally braindamaged microsoft 64 bit "os".
112 - changed verifier host from win2k-ap510-32 to win7-sp516-32/64.
113 activeperl 5.16 crashes when PerlIO_define_layer is called due
114 to some bug in the perl dll, strawberry perl at least passes
115 the testsuite.
116 - implement Coro::Handle->peeraddr/host/port, for slightly
117 improved compatibility with LWP.
118 - implement 5.17 compatibility by almost blindly applying a
119 good-looking patch by Father Chrysostomos.
120 - move stack management functions into libcoro 3.
121 - libcoro version 3 "released".
122 - support magic values as timed_io_once args.
123 - recommend AnyEvent 7+ or EV 4+, also require EV
124 version 4 or newer for Coro::EV.
125
1266.10 Tue Oct 9 01:14:27 CEST 2012
127 - updated ecb.h, it had a typo that caused it to not compile on many
128 big endian systems (reported by many people).
129 - disable memory fences in ecb.h to improve portability.
130
1316.09 Sat Oct 6 23:25:02 CEST 2012
132 - Coro::EV I/O watchers were not interruptible by exceptions
133 (Coro::State::throw) (testcase by sten).
134 - ->throw now puts threads into the ready queue, as this seems to
135 be expected by existing code, and code that doesn't cope with spurious
136 wakeups needs fixing anyway.
137 - use fd -1 in mmap.
138 - cast I32 to int in error message printf.
139 - warn about broken so-called "hardened" kernels.
140
1416.08 Fri Apr 13 12:05:47 CEST 2012
142 - be more aggressive about exiting like perl does - formerly,
143 exiting from the non-main thread would not execute END blocks.
144
1456.07 Fri Nov 11 21:21:48 CET 2011
146 - work around a bug in PerlIO (setting $SIG{__WARN__} to a PVCV).
147 - update ecb.h.
148
1496.06 Mon Aug 8 23:59:48 CEST 2011
150 - cygwin unfortunately patches the stack at runtime, so we use the pthreads
151 backend, which is an order of magnitude slower. unfortunately, cygwins
152 pthread implementation isn't very complete either, so allocate the stack
153 twice just to be sure.
154 (note: cygwin also enables mymalloc, which is NOT THREADSAFE ON WINDOWS,
155 in its ithreaded perl - best recompile cygwin and use the 'w'indows
156 backend for much better performance. also disable ithreads for
157 even better performance...).
158
1596.05 Thu Aug 4 21:36:36 CEST 2011
160 - blush, condvar values would not be propagated from send to recv anymore
161 (reported by Chip Salzenberg).
162 - use exponential increase for the readline buffer length in
163 Coro::Handle. also reduce initial allocation to 1020 from 4096 bytes.
164
1656.04 Wed Aug 3 17:15:45 CEST 2011
166 - use even more efficient and more compatible condvars for
167 compatibility to AnyEvent 6.x :)
168 - more inconsequential ecb.h updates.
169
1706.03 Wed Aug 3 11:41:30 CEST 2011
171 - change how Coro patches AnyEvent condvars for compatibility to
172 AnyEvent 6.x.
173 - update ecb.h, to no longer include <pthread.h> in case WinNT.h
174 hasn't been included.
175
1766.02 Wed Jul 13 04:35:19 CEST 2011
177 - "improve portability to Gentoo" - gentoo manages to put perl variables
178 in memory areas that are farther than 2gb apart, which the jit couldn't
179 handle and barfed. now it's just a bit slower on gentoo and similar
180 systems.
6 181
76.01 Sun Jul 3 12:31:14 CEST 2011 1826.01 Sun Jul 3 12:31:14 CEST 2011
8 - workarounds are good, but the test for whether pthreads are used 183 - workarounds are good, but the test for whether pthreads are used
9 was not good. thisone should be better. 184 was not good. this one should be better.
10 - check differently whether gcc generates cfi instructions itself. 185 - check differently whether gcc generates cfi instructions itself.
11 186
126.0 Wed Jun 29 19:43:35 CEST 2011 1876.0 Wed Jun 29 19:43:35 CEST 2011
13 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be 188 - INCOMPATIBLE CHANGE: unreferenced coro objects will now be
14 destroyed and cleaned up automatically (e.g. async { schedule }). 189 destroyed and cleaned up automatically (e.g. async { schedule }).
15 - implement a JIT compiler for part of the thread switch code, 190 - implement a JIT compiler for part of the thread switch code,
16 which gives a 50% speed improvement on threaded perls, and 191 which gives a 50% speed improvement on threaded perls, and
17 about 4% on non-thraeded perls (so threaded perls now finally 192 about 4% on non-threaded perls (so threaded perls now finally
18 reach about half the speed of non-threaded perls). 193 reach about half the speed of non-threaded perls).
19 - slightly modernise Coro::Intro, add section about rouse functions. 194 - slightly modernise Coro::Intro, add section about rouse functions.
20 - avoid DEFSV and ERRSV, giving another 10% improvement 195 - avoid DEFSV and ERRSV, giving another 10% improvement
21 in thread switching. 196 in thread switching.
22 - Coro::State->is_destroyed is now called is_zombie. 197 - Coro::State->is_destroyed is now called is_zombie.
376 - ->throw is now supported on Coro::State objects. 551 - ->throw is now supported on Coro::State objects.
377 - clean up cctx creation code a bit. 552 - clean up cctx creation code a bit.
378 - entersub is actually a UNOP, not a LOGOP (not a bugfix). 553 - entersub is actually a UNOP, not a LOGOP (not a bugfix).
379 554
3804.9 Sat Nov 8 17:45:27 CET 2008 5554.9 Sat Nov 8 17:45:27 CET 2008
381 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there). 556 - (libcoro) did not preserve rbp with CORO_ASM (we are getting there).
382 - (libcoro) no longer leak threads in the experimental pthread backend, 557 - (libcoro) no longer leak threads in the experimental pthread backend,
383 also speed it up considerably. 558 also speed it up considerably.
384 - (libcoro) do not rely on makecontext passing void *'s unscathed. 559 - (libcoro) do not rely on makecontext passing void *'s unscathed.
385 - fix compiletime dependencies on libcoro in the Makefile. 560 - fix compiletime dependencies on libcoro in the Makefile.
386 - cctx_count wasn't always updated properly. 561 - cctx_count wasn't always updated properly.
448 - remove debugging code related to MgPV_nolen_const, also try to 623 - remove debugging code related to MgPV_nolen_const, also try to
449 make it compile with perl 5.8.6 (yes, apple apparently loves 624 make it compile with perl 5.8.6 (yes, apple apparently loves
450 outdated software). Reported by John S. 625 outdated software). Reported by John S.
451 626
4524.744 Tue Jul 8 22:06:35 CEST 2008 6274.744 Tue Jul 8 22:06:35 CEST 2008
453 - correctly provide default DIE/WARN handlers as documented. 628 - correctly provide default DIE/WARN handlers as documented.
454 - also overwrite PL_vtbl_sigelem.svt_clear, even though current 629 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
455 implementations inside perl work fine for us. 630 implementations inside perl work fine for us.
456 631
4574.743 Mon Jun 16 00:21:57 CEST 2008 6324.743 Mon Jun 16 00:21:57 CEST 2008
458 - when using Coro::EV without running EV::loop it could 633 - when using Coro::EV without running EV::loop it could
480 - sprinkle "no warnings" freely over everything, also suppress 655 - sprinkle "no warnings" freely over everything, also suppress
481 warnings for some other modules. 656 warnings for some other modules.
482 - fix typo in WSAEWOULDBLOCK. 657 - fix typo in WSAEWOULDBLOCK.
483 658
4844.72 Sun May 25 05:14:36 CEST 2008 6594.72 Sun May 25 05:14:36 CEST 2008
485 - tweak META.yaml a bit, unfortunately, there is no documented way 660 - tweak META.yaml a bit, unfortunately, there is no documented way
486 to have optional dependencies with CPAN. doh :( 661 to have optional dependencies with CPAN. doh :(
487 - avoid running some tests on windows because they would fail due to 662 - avoid running some tests on windows because they would fail due to
488 perl bug (broken fork, broken pipes...). 663 perl bug (broken fork, broken pipes...).
489 - work around perl on windows bugs where perl returns undocumented 664 - work around perl on windows bugs where perl returns undocumented
490 error codes for sysread, syswrite etc. by taking advantage 665 error codes for sysread, syswrite etc. by taking advantage
494 - use unix domain sockets in testsuite to work around 669 - use unix domain sockets in testsuite to work around
495 common perl implementation bugs on widows (they are emulated by 670 common perl implementation bugs on widows (they are emulated by
496 tcp sockets on windows. ugh.) 671 tcp sockets on windows. ugh.)
497 672
4984.71 Sat May 24 20:01:27 CEST 2008 6734.71 Sat May 24 20:01:27 CEST 2008
499 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()"). 674 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
500 - take advantage of async name resolution of AnyEvent::Util. 675 - take advantage of async name resolution of AnyEvent::Util.
501 - work around brutal inet_aton override in Coro::LWP. 676 - work around brutal inet_aton override in Coro::LWP.
502 - take advantage of the readyhook in Coro::EV, for smoother 677 - take advantage of the readyhook in Coro::EV, for smoother
503 scheduling. 678 scheduling.
504 679
5054.7 Sun May 11 00:32:19 CEST 2008 6804.7 Sun May 11 00:32:19 CEST 2008
506 - completely reworked the Coro manpage. 681 - completely reworked the Coro manpage.
507 - added Coro::AnyEvent, generic event loop integration. 682 - added Coro::AnyEvent, generic event loop integration.
508 - implement cancel, ready and kill commands in Coro::Debug. 683 - implement cancel, ready and kill commands in Coro::Debug.
509 - document find_coro in Coro::Debug. 684 - document find_coro in Coro::Debug.
510 - incompatible change: rename has_stack to has_cctx. 685 - incompatible change: rename has_stack to has_cctx.
511 - Coro::AIO and Coro::BDB no longer force event model detection, 686 - Coro::AIO and Coro::BDB no longer force event model detection,
512 use AnyEvent::AIO and AnyEvent::BDB. 687 use AnyEvent::AIO and AnyEvent::BDB.
636 811
6374.11 Thu Oct 11 02:40:24 CEST 2007 8124.11 Thu Oct 11 02:40:24 CEST 2007
638 - port to threaded perls. 813 - port to threaded perls.
639 814
6404.1 Thu Oct 11 02:38:16 CEST 2007 8154.1 Thu Oct 11 02:38:16 CEST 2007
641 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now 816 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
642 be local to each coro (see Coro::State). 817 be local to each coro (see Coro::State).
643 - incompatible change: for very deep reasons, cede and cede_notself 818 - incompatible change: for very deep reasons, cede and cede_notself
644 cannot return anything, so nothing will be returned. 819 cannot return anything, so nothing will be returned.
645 - possibly bring back 5.10 compatibility (untested). 820 - possibly bring back 5.10 compatibility (untested).
646 - work around stupid (and wrong) warning on 5.10 :(. 821 - work around stupid (and wrong) warning on 5.10 :(.
718 but stateful semantics. 893 but stateful semantics.
719 - fixed a lot of typos in Coro.pm (patch submitted by David 894 - fixed a lot of typos in Coro.pm (patch submitted by David
720 Steinbrunner, which applied flawlessly). 895 Steinbrunner, which applied flawlessly).
721 896
7223.6 Sat Apr 14 17:13:31 CEST 2007 8973.6 Sat Apr 14 17:13:31 CEST 2007
723 - added some bugfixes to get eg/myhttpd working again. 898 - added some bugfixes to get eg/myhttpd working again.
724 - added Coro::Storable for often-cede'ing freeze/thaw. 899 - added Coro::Storable for often-cede'ing freeze/thaw.
725 - try to do a clean exit when a coroutine calls exit 900 - try to do a clean exit when a coroutine calls exit
726 (EXPERIMENTAL). 901 (EXPERIMENTAL).
727 - got rid of indirect call through _coro_init. 902 - got rid of indirect call through _coro_init.
728 - updated the partly antique examples in eg/ to 903 - updated the partly antique examples in eg/ to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines