1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
2 | |
2 | |
3 | 3.0 |
3 | TODO: better (earlier) error messages on broken transfer's |
|
|
4 | TODO: destroy gets only called on cancel: fix(?) |
|
|
5 | |
|
|
6 | 3.501 Wed Feb 28 12:44:07 CET 2007 |
|
|
7 | - rename some global symbols as macosx from hell redefines |
|
|
8 | them without asking. |
|
|
9 | |
|
|
10 | 3.5 Tue Feb 13 20:22:53 CET 2007 |
|
|
11 | - do AnyEvent model detection earlier, avoiding problems |
|
|
12 | caused by first using AnyEvent and later Coro::Event. |
|
|
13 | - implement and document Coro::Event event objects. |
|
|
14 | - fix a potential problem in Coro::Event causing crashes. |
|
|
15 | - initialise PL_comppad when creating a new coroutine, |
|
|
16 | avoids crashes on early coro destruction. |
|
|
17 | |
|
|
18 | 3.41 Mon Jan 22 19:19:49 CET 2007 |
|
|
19 | - readline on Coro::Handle did not support undefined $/, |
|
|
20 | nor did it deliver partial lines on EOF or error. |
|
|
21 | - implement malloc fallback for stack allocation because |
|
|
22 | stupid broken idiotic OSX has a stupid broken |
|
|
23 | idiotic fits-the-whole-os mmap "implementation" and |
|
|
24 | my dick feels longer if Coro is portable even to |
|
|
25 | obsolete platforms. |
|
|
26 | |
|
|
27 | 3.4 Fri Jan 19 21:52:54 CET 2007 |
|
|
28 | - remove t/09_timer.t, as it isn't really testing much |
|
|
29 | but was rather flaky in practise. |
|
|
30 | - async_pool coro would keep arguments and callback alive until |
|
|
31 | it was reused. |
|
|
32 | - cancellation of a coroutine could cause spurious idle calls |
|
|
33 | in cede_notself. |
|
|
34 | |
|
|
35 | 3.3 Sat Jan 6 03:45:00 CET 2007 |
|
|
36 | - implement $coro->on_destroy. |
|
|
37 | - Coro::Event blocking semantics have been changed, |
|
|
38 | documented and - hopefully - improved. |
|
|
39 | - fix nice adding, not subtracting, from priority. |
|
|
40 | - fix ->prio and api_is_ready (patch by Mark Hinds). |
|
|
41 | - fixed an assert ("... == prev__cctx->idle_te") |
|
|
42 | that could errronously trigger. |
|
|
43 | - fix various large and small memleaks. |
|
|
44 | - use a (hopefully) more stable cancel implementation |
|
|
45 | that immediately frees the coroutine data. |
|
|
46 | - cede/cede_notself return a status now. |
|
|
47 | - added Coro::guard function. |
|
|
48 | - added a global coroutine pool for jobs (on my machine, |
|
|
49 | I can create and execute 48k simple coros/s with async, |
|
|
50 | and 128k coros with async_pool). |
|
|
51 | - Coro::AIO now uses the coroutine priority as io priority. |
|
|
52 | |
|
|
53 | 3.2 Fri Dec 22 05:07:09 CET 2006 |
|
|
54 | - improve portability to slightly older perls. |
|
|
55 | - use cleaner coroutine destruction. |
|
|
56 | - simplify configuration for users. |
|
|
57 | - optionally (unrecommended) prefer perl functions over |
|
|
58 | their coro replacements. |
|
|
59 | |
|
|
60 | 3.11 Tue Dec 5 13:11:24 CET 2006 |
|
|
61 | - fixed some bogus assert's, but as perl.h disables assert even |
|
|
62 | without NDEBUG (thank you very much), not too many people should |
|
|
63 | notice (that did include myself). Andreas König noticed, though :) |
|
|
64 | - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have |
|
|
65 | it. Also noticed by Andreas König :) |
|
|
66 | - save/restore tainted status. |
|
|
67 | - verified to pass the testsuite on my 5.9.5. |
|
|
68 | |
|
|
69 | 3.1 Mon Dec 4 23:03:40 CET 2006 |
|
|
70 | - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow). |
|
|
71 | - incompatible change: transfer flags are now per-state. |
|
|
72 | - give a better error message on deadlock. |
|
|
73 | - document Coro::nready. |
|
|
74 | - enhanced testsuite. |
|
|
75 | |
|
|
76 | 3.01 Sun Dec 3 23:47:42 CET 2006 |
|
|
77 | - forgot to include Coro::Timer. |
|
|
78 | |
|
|
79 | 3.0 Sun Dec 3 22:57:25 CET 2006 |
4 | - the "FINALLY COMPLETELY STABLE" release (coming soon: |
80 | - the "FINALLY COMPLETELY STABLE" release (coming soon: |
5 | the "FAMOUS LAST WORDS" release). |
81 | the "FAMOUS LAST WORDS" release). |
6 | - implement a new stack sharing algorithm. |
82 | - implement a new stack sharing algorithm, which uses a stack |
|
|
83 | pool (size currently hardcoded). |
7 | - make stack sharing mandatory (it no longer uses a heuristic). |
84 | - make stack sharing mandatory (it no longer uses a heuristic). |
8 | - eval/die no longer cause weird problems under heavy use. |
85 | - eval/die no longer cause weird problems under heavy use. |
9 | - Coro::Event could cause livelocks if it was used but |
86 | - Coro::Event could cause livelocks if it was used but |
10 | no Coro::Event watchers were used. |
87 | no Coro::Event watchers were used. |
|
|
88 | - Coro::Event now uses asynccheck as prepare does not |
|
|
89 | check for changed watchers. |
|
|
90 | - Coro::Event allows multiple waiting coros and will wake up one |
|
|
91 | per event. |
11 | - Coro::Event should be cleaner and more efficient now. |
92 | - Coro::Event should be cleaner and more efficient now. |
|
|
93 | - new utility function Coro::unblock_sub. |
12 | - document the sad fact that Event is no longer reentrant. |
94 | - document the sad fact that Event is no longer reentrant. |
13 | - putting a coroutine into the ready queue twice could under |
95 | - putting a coroutine into the ready queue twice could under |
14 | some circumstances lead to stack corruption. |
96 | some circumstances lead to stack corruption. |
15 | - minor incompatibility: subclassing Coro::State is supported |
97 | - minor incompatibility: subclassing Coro::State is supported |
16 | directly now without going through a _coro_state member. |
98 | directly now without going through a _coro_state member. |
… | |
… | |
20 | - removed timers from Coro::Timer -> use AnyEvent instead. |
102 | - removed timers from Coro::Timer -> use AnyEvent instead. |
21 | - replaced Coro::idle coroutine by (cleaner) idle handler. |
103 | - replaced Coro::idle coroutine by (cleaner) idle handler. |
22 | - updated to newest libcoro. |
104 | - updated to newest libcoro. |
23 | - implement enhanced support for valgrind. |
105 | - implement enhanced support for valgrind. |
24 | - implement is_ready and return value for ready. |
106 | - implement is_ready and return value for ready. |
|
|
107 | - removed Coro::Cont, it was a misnomer (it's generators), |
|
|
108 | and it was somewhat annoying to get it right. Will come back |
|
|
109 | if somebody asks for it :) |
25 | - many ->wait methods and Coro::Event could return |
110 | - many ->wait methods and Coro::Event could return |
26 | spuriously without the event having happened. |
111 | spuriously without the event having happened. |
27 | |
112 | |
28 | 2.5 Tue Nov 7 12:22:33 CET 2006 |
113 | 2.5 Tue Nov 7 12:22:33 CET 2006 |
29 | - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket |
114 | - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket |