1 | Revision history for Perl extension Coro. |
1 | Revision history for Perl extension Coro. |
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 |
|
|
5 | actor model (which is cool in a lot of important aspects (failures!), |
|
|
6 | but very lacking in others (higher level ipc)). |
|
|
7 | TODO: unready_all |
4 | TODO: unready_all |
8 | TODO: myhttpd header parsing |
5 | TODO: myhttpd header parsing |
9 | TODO: channel->maxsize(newsize)? |
6 | TODO: channel->maxsize(newsize)? |
10 | |
7 | |
|
|
8 | - convert Coro::Util into a "perl compatibility wrapper" - the functions |
|
|
9 | are less useful now, but are drop-in replacements for existing |
|
|
10 | functions, listing better alternatives in the documentation. This also |
|
|
11 | fixes a bug in Coro::LWP which naively substituted Socket::inet_aton |
|
|
12 | with Coro::Util::inet_aton. |
|
|
13 | - do not override $Coro::idle unconditionally in Coro.pm, as other |
|
|
14 | modules could have provided their own idle coro already |
|
|
15 | (for exmaple, Coro::AnyEvent). |
|
|
16 | - fix Coro::Util::gethost* functions. |
|
|
17 | |
|
|
18 | 5.21 Wed Dec 16 07:19:51 CET 2009 |
|
|
19 | - automatically load Coro::AnyEvent when AnyEvent and Coro are used |
|
|
20 | together. |
|
|
21 | - add some examples on how to combine other event loops with Coro in |
|
|
22 | Coro::AnyEvent, and how to run it (and not to block). Seems to be |
|
|
23 | the most common source of confusion. |
|
|
24 | - try to catch people naively blocking in an event callback. |
|
|
25 | - work around the perl filehandle bug issue in conjunction with |
|
|
26 | older common::sense (as indirectly pointed out by ZSystem). |
|
|
27 | - clarify the "not from signal handlers" section. |
|
|
28 | |
|
|
29 | 5.2 Sun Oct 4 14:54:24 CEST 2009 |
|
|
30 | - Coro::Storable destroyed the prototypes of the functions it wrapped. |
|
|
31 | - export rouse_cb and rouse_wait by default now. |
|
|
32 | - fix various prototype mismatches in Coro::AnyEvent and Coro::Handle. |
|
|
33 | - new method $state->swap_sv. |
|
|
34 | - added section on "windows process emulation" to the manpage, |
|
|
35 | after a not-so-fruitful (nor-friendly) "discussion" with chip |
|
|
36 | salzenberg (discussion implies arguments, but his only arguments |
|
|
37 | were ad-hominems, one wonders why he started it in the first |
|
|
38 | place). I hope this explains it well enough for him to understand, |
|
|
39 | and maybe well enough for others to understand. |
|
|
40 | - use common::sense everywhere now. |
|
|
41 | - idle callbacks are no longer supported, use idle coros instead. |
|
|
42 | - print a thread listing when a deadlock is detected. |
|
|
43 | |
|
|
44 | 5.17 Sat Aug 22 23:09:31 CEST 2009 |
|
|
45 | - work around a bug in the perl debugger causing crashes |
|
|
46 | when running under the debugger by marking _pool_handler as nodebug. |
|
|
47 | - speed up Coro::async considerably. |
|
|
48 | - try some hacks to get netbsd to work "more often" - their broken |
|
|
49 | setjmp/longjmp, ucontext *and* phtreads are really hard on Coro. |
|
|
50 | - convert Coro to AE 5.0 API. |
|
|
51 | |
|
|
52 | 5.162 Tue Jul 28 04:04:03 CEST 2009 |
|
|
53 | - perl 5.8.2 is now minimum requirement. |
|
|
54 | - skip t/19_handle.t on broken windows perls. |
|
|
55 | |
|
|
56 | 5.161 Wed Jul 22 04:47:38 CEST 2009 |
|
|
57 | - Coro::AnyEvent::poll could have a different prototype when EV was |
|
|
58 | used as backend (analyzed by Tatsuhiko Miyagawa). |
|
|
59 | - Coro::AnyEvent errornously initialised the event loop when loaded, |
|
|
60 | not on demand. |
|
|
61 | - try to workaround rare */t/01_unblock.t failures. |
|
|
62 | |
|
|
63 | 5.16 Tue Jul 21 01:44:37 CEST 2009 |
11 | - Coro::AnyEvent failed to hook into the event loop |
64 | - Coro::AnyEvent failed to hook into the event loop |
12 | when no threads had been readied between detecting |
65 | when no threads had been readied between detecting |
13 | the event loop and actually running it. |
66 | the event loop and actually running it. |
14 | - considerably speed up Coro::Select by taking avdantage |
67 | - considerably speed up Coro::Select by taking avdantage |
15 | of AnyEvent > 4.8 and some other optimisations. |
68 | of AnyEvent > 4.8 and some other optimisations. |
|
|
69 | - implement paragraph readline mode in Coro::Handle |
|
|
70 | (based on patches by Zsbán Ambrus). |
|
|
71 | - replace WSAEINPROGRESS by WSAEWOULDBLOCK (reported |
|
|
72 | and analyzed by Yasuhiro MATSUMOTO). |
16 | - clarified libcoro license and copyright. |
73 | - clarified libcoro license and copyright. |
17 | - someone stole my EXTRA_META!!! |
74 | - someone stole my EXTRA_META!!! |
18 | - implement Coro::Select::patch_pp_sselect and it's brother, |
75 | - implement Coro::Select::patch_pp_sselect and it's brother, |
19 | for hardcode select overriding. |
76 | for hardcode select overriding. |
20 | |
77 | |