… | |
… | |
2 | |
2 | |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
3 | TODO: should explore PerlIO::coroaio (perl leaks like hell). |
4 | TODO: maybe implement a default message channel, very much like Erlang's |
4 | TODO: maybe implement a default message channel, very much like Erlang's |
5 | actor model (which is cool in a lot of important aspects (failures!), |
5 | actor model (which is cool in a lot of important aspects (failures!), |
6 | but very lacking in others (higher level ipc)). |
6 | but very lacking in others (higher level ipc)). |
|
|
7 | TODO: unready_all |
|
|
8 | TODO: myhttpd header parsing |
|
|
9 | TODO: channel->maxsize(newsize)? |
7 | |
10 | |
8 | TODO: CF_RUNNING makes sense only for Coros, not States |
11 | - perl 5.8.2 is now minimum requirement. |
|
|
12 | |
|
|
13 | 5.161 Wed Jul 22 04:47:38 CEST 2009 |
|
|
14 | - Coro::AnyEvent::poll could have a different prototype when EV was |
|
|
15 | used as backend (analyzed by Tatsuhiko Miyagawa). |
|
|
16 | - Coro::AnyEvent errornously initialised the event loop when loaded, |
|
|
17 | not on demand. |
|
|
18 | - try to workaround rare */t/01_unblock.t failures. |
|
|
19 | |
|
|
20 | 5.16 Tue Jul 21 01:44:37 CEST 2009 |
|
|
21 | - Coro::AnyEvent failed to hook into the event loop |
|
|
22 | when no threads had been readied between detecting |
|
|
23 | the event loop and actually running it. |
|
|
24 | - considerably speed up Coro::Select by taking avdantage |
|
|
25 | of AnyEvent > 4.8 and some other optimisations. |
|
|
26 | - implement paragraph readline mode in Coro::Handle |
|
|
27 | (based on patches by Zsbán Ambrus). |
|
|
28 | - replace WSAEINPROGRESS by WSAEWOULDBLOCK (reported |
|
|
29 | and analyzed by Yasuhiro MATSUMOTO). |
|
|
30 | - clarified libcoro license and copyright. |
|
|
31 | - someone stole my EXTRA_META!!! |
|
|
32 | - implement Coro::Select::patch_pp_sselect and it's brother, |
|
|
33 | for hardcode select overriding. |
|
|
34 | |
|
|
35 | 5.151 Mon Jul 6 05:41:57 CEST 2009 |
|
|
36 | - backport to windows process emulation code again (patch by |
|
|
37 | Yasuhiro MATSUMOTO). |
|
|
38 | - slightly update Coro::MakeMaker. |
|
|
39 | |
|
|
40 | 5.15 Tue Jun 30 10:28:06 CEST 2009 |
|
|
41 | - deprecate Coro::Socket, document how to get ipv6 support via |
|
|
42 | AnyEvent::Socket instead. |
|
|
43 | - implement signal->wait ($cb) interface, similar to semaphores. |
|
|
44 | - work around SvOK not supporting getmagic, so we have to getmagic |
|
|
45 | to test for undef :/ (reported by Matthias Waldorf). |
|
|
46 | - load Coro::AnyEvent in all modules using AnyEvent. |
|
|
47 | - work around perl corrupting our internal data structures, |
|
|
48 | reported by Tokuhiro Matsuno. |
|
|
49 | - enable per-coroutine real and cpu time gathering |
|
|
50 | (Coro::State::enable_times). |
|
|
51 | |
|
|
52 | 5.14 Wed Jun 24 01:37:48 CEST 2009 |
|
|
53 | - provide explicit functions to "cede" to the event loop in Coro::AnyEvent, |
|
|
54 | as this seems to have been a difficult concept (poll, sleep, idle, |
|
|
55 | idle_upto). |
|
|
56 | - add Coro::AnyEvent::readable/writable functions. |
|
|
57 | - clarify Coro::EV/Event/AnyEvent manpages. |
|
|
58 | - free per-thread global scalars in the thread calling ->cancel, to |
|
|
59 | avoid crashes when $_, $@ etc., are magical but some of those |
|
|
60 | had already been freed. |
|
|
61 | - "unexperimentalise" the callback interface for Coro::Semaphore. |
|
|
62 | - speed up ready queue management/context switching by using a linked |
|
|
63 | list instead of an array (~5-10%). |
|
|
64 | - implement "watch" command in Coro::Debug shells. |
|
|
65 | - for fun, implement time-slicing as an example in the manpage. |
|
|
66 | - if AnyEvent detects EV or Event, but we don't have Coro::EV or |
|
|
67 | Coro::Event, use the normal AnyEvent handling instead of dieing |
|
|
68 | (the same is true for Coro::Handle). |
|
|
69 | - properly document Coro::EV::timed_io_once. |
|
|
70 | - avoid unneccessary ->cancel calls in Coro::Handle. |
|
|
71 | - maybe make it work on mingw32 with win32 backend |
|
|
72 | (based on patch by Yasuhiro Matsumoto). |
|
|
73 | |
|
|
74 | 5.132 Fri May 29 09:00:39 CEST 2009 |
|
|
75 | - do not keep a reference to the argument itself in |
|
|
76 | Coro::Semaphore::guard, as it could change later. |
|
|
77 | - support SO_RCVBUF/SO_SNDBUF nonstandard Coro::Socket options, |
|
|
78 | should support a prepare callback. |
|
|
79 | |
|
|
80 | 5.131 Mon Mar 16 23:20:37 CET 2009 |
|
|
81 | - implement and document Coro->suspend, Coro->resume. |
|
|
82 | - fix Coro::Select implementation to not (often) close |
|
|
83 | the passed file descriptors (testcase provided by pippijn). |
|
|
84 | |
|
|
85 | 5.13 Mon Dec 15 21:51:42 CET 2008 |
|
|
86 | - EXPERIMENTAL: implement dynamic winds (on_enter/on_leave). |
|
|
87 | - don't set diehook to C<undef> but instead to NULL, to avoid |
|
|
88 | spurious warnings. |
|
|
89 | - fix a lot of bugs in Coro::SemaphoreSet. |
|
|
90 | - Coro::SemaphoreSet will less often create a semaphore needlessly. |
|
|
91 | - add Coro::SemaphoreSet::count and wait methods. |
|
|
92 | - take advantage of the new Guard module. |
|
|
93 | - deprecate Coro::guard. |
|
|
94 | - try to fix the dreaded 01_unblock tests once more. I hate it when |
|
|
95 | testsuites need more fixing than the code they are supposed to test. |
|
|
96 | - croak in more cases when a required callback isn't resolvable. |
|
|
97 | - fix some minor issues in Coro::State->call/eval. |
|
|
98 | - use current coroutine context instead of a temporary one |
|
|
99 | when temporarily switching to another coroutine. |
|
|
100 | - do not call C-level on_destroy handlers during global destruction, |
|
|
101 | to avoid needless segfaults. |
|
|
102 | |
|
|
103 | 5.12 Sun Dec 7 13:30:38 CET 2008 |
9 | - add default config for MirOS, which seems to be a bug-to-bug |
104 | - add default config for MirOS, which seems to be a bug-to-bug |
10 | compatible fork of openbsd ("world domination by releasing |
105 | compatible fork of openbsd ("world domination by releasing |
11 | openbsd cvs before the openbsd folks do it" or so :). |
106 | openbsd cvs before the openbsd folks do it" or so :). |
12 | - free_padlist did destroy the names pad, not good, but didn't |
107 | - free_padlist did destroy the names pad, not good, but didn't |
13 | seem to bother perl - this could fix issues such as eval "" |
108 | seem to bother perl - this could fix issues such as eval "" |
14 | inside a function called form multiple coroutines. |
109 | inside a function called from multiple coroutines. |
15 | - use a different method to detect destruction time. |
110 | - use a different method to detect destruction time. |
16 | - be more careful when freeing padlists just before global |
111 | - be more careful when freeing padlists just before global |
17 | destruction. |
112 | destruction. |
18 | - fixed and expanded the call/cc example. |
113 | - fixed and expanded the call/cc example. |
19 | - renamed _terminate to _coro_run. |
114 | - renamed _terminate to _coro_run. |
|
|
115 | - new method Coro::Channel->shutdown. |
|
|
116 | - try pthreads on openbsd <4.4 (broken sigaltstack, will |
|
|
117 | pthreads fare better?). |
|
|
118 | - be less picky about destroying "a" running coroutine. |
20 | |
119 | |
21 | 5.11 Tue Nov 25 21:49:05 CET 2008 |
120 | 5.11 Tue Nov 25 21:49:05 CET 2008 |
22 | - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly |
121 | - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly |
23 | working code with failed assertions, introducing more bugs than |
122 | working code with failed assertions, introducing more bugs than |
24 | it fixes, requiring elaborate workarounds :( |
123 | it fixes, requiring elaborate workarounds :( |