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

Comparing Coro/Changes (file contents):
Revision 1.486 by root, Sat Feb 7 22:24:51 2009 UTC vs.
Revision 1.534 by root, Sun Apr 11 19:23:18 2010 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: maybe implement a default message channel, very much like Erlang's 4TODO: unready_all
5 actor model (which is cool in a lot of important aspects (failures!), 5TODO: myhttpd header parsing
6 but very lacking in others (higher level ipc)). 6TODO: channel->maxsize(newsize)?
7 7
8TODO: suspend/resume, unready_all etc. 8TODO: http://www.microsoft.com/msj/archive/s2ce.aspx
9
10 - convert Coro::Util into a "perl compatibility wrapper" - the functions
11 are less useful now, but are drop-in replacements for existing
12 functions, listing better alternatives in the documentation. This also
13 fixes a bug in Coro::LWP which naively substituted Socket::inet_aton
14 with Coro::Util::inet_aton.
15 - do not override $Coro::idle unconditionally in Coro.pm, as other
16 modules could have provided their own idle coro already
17 (for exmaple, Coro::AnyEvent).
18 - fix Coro::Util::gethost* functions.
19 - Coro::Timer corretcly exports it's symbols (reported by Hideki Yamamura).
20
215.21 Wed Dec 16 07:19:51 CET 2009
22 - automatically load Coro::AnyEvent when AnyEvent and Coro are used
23 together.
24 - add some examples on how to combine other event loops with Coro in
25 Coro::AnyEvent, and how to run it (and not to block). Seems to be
26 the most common source of confusion.
27 - try to catch people naively blocking in an event callback.
28 - work around the perl filehandle bug issue in conjunction with
29 older common::sense (as indirectly pointed out by ZSystem).
30 - clarify the "not from signal handlers" section.
31
325.2 Sun Oct 4 14:54:24 CEST 2009
33 - Coro::Storable destroyed the prototypes of the functions it wrapped.
34 - export rouse_cb and rouse_wait by default now.
35 - fix various prototype mismatches in Coro::AnyEvent and Coro::Handle.
36 - new method $state->swap_sv.
37 - added section on "windows process emulation" to the manpage,
38 after a not-so-fruitful (nor-friendly) "discussion" with chip
39 salzenberg (discussion implies arguments, but his only arguments
40 were ad-hominems, one wonders why he started it in the first
41 place). I hope this explains it well enough for him to understand,
42 and maybe well enough for others to understand.
43 - use common::sense everywhere now.
44 - idle callbacks are no longer supported, use idle coros instead.
45 - print a thread listing when a deadlock is detected.
46
475.17 Sat Aug 22 23:09:31 CEST 2009
48 - work around a bug in the perl debugger causing crashes
49 when running under the debugger by marking _pool_handler as nodebug.
50 - speed up Coro::async considerably.
51 - try some hacks to get netbsd to work "more often" - their broken
52 setjmp/longjmp, ucontext *and* phtreads are really hard on Coro.
53 - convert Coro to AE 5.0 API.
54
555.162 Tue Jul 28 04:04:03 CEST 2009
56 - perl 5.8.2 is now minimum requirement.
57 - skip t/19_handle.t on broken windows perls.
58
595.161 Wed Jul 22 04:47:38 CEST 2009
60 - Coro::AnyEvent::poll could have a different prototype when EV was
61 used as backend (analyzed by Tatsuhiko Miyagawa).
62 - Coro::AnyEvent errornously initialised the event loop when loaded,
63 not on demand.
64 - try to workaround rare */t/01_unblock.t failures.
65
665.16 Tue Jul 21 01:44:37 CEST 2009
67 - Coro::AnyEvent failed to hook into the event loop
68 when no threads had been readied between detecting
69 the event loop and actually running it.
70 - considerably speed up Coro::Select by taking avdantage
71 of AnyEvent > 4.8 and some other optimisations.
72 - implement paragraph readline mode in Coro::Handle
73 (based on patches by Zsbán Ambrus).
74 - replace WSAEINPROGRESS by WSAEWOULDBLOCK (reported
75 and analyzed by Yasuhiro MATSUMOTO).
76 - clarified libcoro license and copyright.
77 - someone stole my EXTRA_META!!!
78 - implement Coro::Select::patch_pp_sselect and it's brother,
79 for hardcode select overriding.
80
815.151 Mon Jul 6 05:41:57 CEST 2009
82 - backport to windows process emulation code again (patch by
83 Yasuhiro MATSUMOTO).
84 - slightly update Coro::MakeMaker.
85
865.15 Tue Jun 30 10:28:06 CEST 2009
87 - deprecate Coro::Socket, document how to get ipv6 support via
88 AnyEvent::Socket instead.
89 - implement signal->wait ($cb) interface, similar to semaphores.
90 - work around SvOK not supporting getmagic, so we have to getmagic
91 to test for undef :/ (reported by Matthias Waldorf).
92 - load Coro::AnyEvent in all modules using AnyEvent.
93 - work around perl corrupting our internal data structures,
94 reported by Tokuhiro Matsuno.
95 - enable per-coroutine real and cpu time gathering
96 (Coro::State::enable_times).
97
985.14 Wed Jun 24 01:37:48 CEST 2009
99 - provide explicit functions to "cede" to the event loop in Coro::AnyEvent,
100 as this seems to have been a difficult concept (poll, sleep, idle,
101 idle_upto).
102 - add Coro::AnyEvent::readable/writable functions.
103 - clarify Coro::EV/Event/AnyEvent manpages.
104 - free per-thread global scalars in the thread calling ->cancel, to
105 avoid crashes when $_, $@ etc., are magical but some of those
106 had already been freed.
107 - "unexperimentalise" the callback interface for Coro::Semaphore.
108 - speed up ready queue management/context switching by using a linked
109 list instead of an array (~5-10%).
110 - implement "watch" command in Coro::Debug shells.
111 - for fun, implement time-slicing as an example in the manpage.
112 - if AnyEvent detects EV or Event, but we don't have Coro::EV or
113 Coro::Event, use the normal AnyEvent handling instead of dieing
114 (the same is true for Coro::Handle).
115 - properly document Coro::EV::timed_io_once.
116 - avoid unneccessary ->cancel calls in Coro::Handle.
117 - maybe make it work on mingw32 with win32 backend
118 (based on patch by Yasuhiro Matsumoto).
119
1205.132 Fri May 29 09:00:39 CEST 2009
121 - do not keep a reference to the argument itself in
122 Coro::Semaphore::guard, as it could change later.
123 - support SO_RCVBUF/SO_SNDBUF nonstandard Coro::Socket options,
124 should support a prepare callback.
125
1265.131 Mon Mar 16 23:20:37 CET 2009
9 - implement and document Coro->suspend, Coro->resume. 127 - implement and document Coro->suspend, Coro->resume.
10 - fix Coro::Select implementation to not (often) close 128 - fix Coro::Select implementation to not (often) close
11 the passed file descriptors (testcase provided by pippijn). 129 the passed file descriptors (testcase provided by pippijn).
12 130
135.13 Mon Dec 15 21:51:42 CET 2008 1315.13 Mon Dec 15 21:51:42 CET 2008

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines