1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
2 | |
2 | |
3 | TODO: possibly convert some of the Event modules into AnyEvent users. |
3 | TODO: better (earlier) error messages on broken transfer's |
4 | |
4 | |
|
|
5 | - improve portability to slightly older perls. |
|
|
6 | |
|
|
7 | 3.11 Tue Dec 5 13:11:24 CET 2006 |
|
|
8 | - fixed some bogus assert's, but as perl.h disables assert even |
|
|
9 | without NDEBUG (thank you very much), not too many people should |
|
|
10 | notice (that did include myself). Andreas König noticed, though :) |
|
|
11 | - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have |
|
|
12 | it. Also noticed by Andreas König :) |
|
|
13 | - save/restore tainted status. |
|
|
14 | - verified to pass the testsuite on my 5.9.5. |
|
|
15 | |
|
|
16 | 3.1 Mon Dec 4 23:03:40 CET 2006 |
|
|
17 | - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow). |
|
|
18 | - incompatible change: transfer flags are now per-state. |
|
|
19 | - give a better error message on deadlock. |
|
|
20 | - document Coro::nready. |
|
|
21 | - enhanced testsuite. |
|
|
22 | |
|
|
23 | 3.01 Sun Dec 3 23:47:42 CET 2006 |
|
|
24 | - forgot to include Coro::Timer. |
|
|
25 | |
|
|
26 | 3.0 Sun Dec 3 22:57:25 CET 2006 |
|
|
27 | - the "FINALLY COMPLETELY STABLE" release (coming soon: |
|
|
28 | the "FAMOUS LAST WORDS" release). |
|
|
29 | - implement a new stack sharing algorithm, which uses a stack |
|
|
30 | pool (size currently hardcoded). |
|
|
31 | - make stack sharing mandatory (it no longer uses a heuristic). |
|
|
32 | - eval/die no longer cause weird problems under heavy use. |
|
|
33 | - Coro::Event could cause livelocks if it was used but |
|
|
34 | no Coro::Event watchers were used. |
|
|
35 | - Coro::Event now uses asynccheck as prepare does not |
|
|
36 | check for changed watchers. |
|
|
37 | - Coro::Event allows multiple waiting coros and will wake up one |
|
|
38 | per event. |
|
|
39 | - Coro::Event should be cleaner and more efficient now. |
|
|
40 | - new utility function Coro::unblock_sub. |
|
|
41 | - document the sad fact that Event is no longer reentrant. |
|
|
42 | - putting a coroutine into the ready queue twice could under |
|
|
43 | some circumstances lead to stack corruption. |
|
|
44 | - minor incompatibility: subclassing Coro::State is supported |
|
|
45 | directly now without going through a _coro_state member. |
|
|
46 | - state/coro switching is much faster now. |
|
|
47 | - very minor optimisations and code/documentation cleanup. |
|
|
48 | - avoid problems due to compiler inlining. |
|
|
49 | - removed timers from Coro::Timer -> use AnyEvent instead. |
|
|
50 | - replaced Coro::idle coroutine by (cleaner) idle handler. |
|
|
51 | - updated to newest libcoro. |
|
|
52 | - implement enhanced support for valgrind. |
|
|
53 | - implement is_ready and return value for ready. |
|
|
54 | - removed Coro::Cont, it was a misnomer (it's generators), |
|
|
55 | and it was somewhat annoying to get it right. Will come back |
|
|
56 | if somebody asks for it :) |
|
|
57 | - many ->wait methods and Coro::Event could return |
|
|
58 | spuriously without the event having happened. |
|
|
59 | |
|
|
60 | 2.5 Tue Nov 7 12:22:33 CET 2006 |
|
|
61 | - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket |
|
|
62 | use AnyEvent, moved them to Coro/. |
5 | - added Coro::LWP which contains all the uglyness of making LWP |
63 | - added Coro::LWP which contains all the uglyness required to |
6 | non-blocking. |
64 | make LWP non-blocking. |
7 | - should compile with perl 5.9.x now. |
65 | - should work with perl 5.9.x now (Andreas König made me do it). |
|
|
66 | - fixed another bug in Coro::Select when the timeout was undef. |
8 | - reuse PL_start_env for all coros, saves some memory per coroutine. |
67 | - reuse PL_start_env for all coros, saves some memory per coroutine. |
9 | - manage PL_top_env differently, hopefully to avoid panic: top_env. |
68 | - manage PL_top_env differently, hopefully to avoid panic: top_env. |
10 | - timeout argument was not properly used in Coro::Socket. |
69 | - timeout argument was not properly used in Coro::Socket. |
11 | - allow limited forms of subclassing in Coro::Handle/Coro::Socket. |
70 | - allow limited forms of subclassing in Coro::Handle/Coro::Socket. |
12 | - emulate undocumented(!) functionality of IO::Socket required |
71 | - emulate undocumented(!) functionality of IO::Socket required |
13 | by LWP(!!). |
72 | by LWP(!!). |
14 | - updated eg/lwp to work with newer lwp's. |
73 | - updated eg/lwp to work with newer lwp's. |
15 | - made Coro::Util an AnyEvent user, moved it to Coro/. |
|
|
16 | - remove "FATAL: uncaught exception" prefix. coroutines that die |
74 | - remove "FATAL: uncaught exception" prefix. Coroutines that die |
17 | kill the whole process, just as exceptions in the main coroutine |
75 | kill the whole process, just as exceptions in the main "coroutine" |
18 | do. |
76 | did already. |
19 | |
77 | |
20 | 2.1 Wed Nov 1 23:01:13 CET 2006 |
78 | 2.1 Wed Nov 1 23:01:13 CET 2006 |
21 | - fix a long-standing bug in Coro::Select where select with |
79 | - fix a long-standing bug in Coro::Select where select with |
22 | zero timeout would instead change the current default filehandle. |
80 | zero timeout would instead change the current default filehandle. |
23 | - use a simpler and hopefully more robust way to clone padlists |
81 | - use a simpler and hopefully more robust way to clone padlists |