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

Comparing Coro/Changes (file contents):
Revision 1.457 by root, Sat Nov 22 02:09:54 2008 UTC vs.
Revision 1.524 by root, Thu Oct 1 23:16:27 2009 UTC

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: 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)).
7TODO: unready_all
8TODO: myhttpd header parsing
9TODO: channel->maxsize(newsize)?
7 10
11 - Coro::Storable destroyed the prototypes of the functions it wrapped.
12 - fix various prototype mismatches in Coro::AnyEvent and Coro::Handle.
13 - added section on "windows process emulation" to the manpage,
14 after a not-so-fruitful (nor-friendly) "discussion" with chip
15 salzenberg (discussion implies arguments, but his only arguments
16 were ad-hominems, one wonders why he started it in the first
17 place). I hope this explains it well enough for him to understand,
18 and maybe well enough for others to understand.
19 - use common::sense everywhere now.
20
215.17 Sat Aug 22 23:09:31 CEST 2009
22 - work around a bug in the perl debugger causing crashes
23 when running under the debugger by marking _pool_handler as nodebug.
24 - speed up Coro::async considerably.
25 - try some hacks to get netbsd to work "more often" - their broken
26 setjmp/longjmp, ucontext *and* phtreads are really hard on Coro.
27 - convert Coro to AE 5.0 API.
28
295.162 Tue Jul 28 04:04:03 CEST 2009
30 - perl 5.8.2 is now minimum requirement.
31 - skip t/19_handle.t on broken windows perls.
32
335.161 Wed Jul 22 04:47:38 CEST 2009
34 - Coro::AnyEvent::poll could have a different prototype when EV was
35 used as backend (analyzed by Tatsuhiko Miyagawa).
36 - Coro::AnyEvent errornously initialised the event loop when loaded,
37 not on demand.
38 - try to workaround rare */t/01_unblock.t failures.
39
405.16 Tue Jul 21 01:44:37 CEST 2009
41 - Coro::AnyEvent failed to hook into the event loop
42 when no threads had been readied between detecting
43 the event loop and actually running it.
44 - considerably speed up Coro::Select by taking avdantage
45 of AnyEvent > 4.8 and some other optimisations.
46 - implement paragraph readline mode in Coro::Handle
47 (based on patches by Zsbán Ambrus).
48 - replace WSAEINPROGRESS by WSAEWOULDBLOCK (reported
49 and analyzed by Yasuhiro MATSUMOTO).
50 - clarified libcoro license and copyright.
51 - someone stole my EXTRA_META!!!
52 - implement Coro::Select::patch_pp_sselect and it's brother,
53 for hardcode select overriding.
54
555.151 Mon Jul 6 05:41:57 CEST 2009
56 - backport to windows process emulation code again (patch by
57 Yasuhiro MATSUMOTO).
58 - slightly update Coro::MakeMaker.
59
605.15 Tue Jun 30 10:28:06 CEST 2009
61 - deprecate Coro::Socket, document how to get ipv6 support via
62 AnyEvent::Socket instead.
63 - implement signal->wait ($cb) interface, similar to semaphores.
64 - work around SvOK not supporting getmagic, so we have to getmagic
65 to test for undef :/ (reported by Matthias Waldorf).
66 - load Coro::AnyEvent in all modules using AnyEvent.
67 - work around perl corrupting our internal data structures,
68 reported by Tokuhiro Matsuno.
69 - enable per-coroutine real and cpu time gathering
70 (Coro::State::enable_times).
71
725.14 Wed Jun 24 01:37:48 CEST 2009
73 - provide explicit functions to "cede" to the event loop in Coro::AnyEvent,
74 as this seems to have been a difficult concept (poll, sleep, idle,
75 idle_upto).
76 - add Coro::AnyEvent::readable/writable functions.
77 - clarify Coro::EV/Event/AnyEvent manpages.
78 - free per-thread global scalars in the thread calling ->cancel, to
79 avoid crashes when $_, $@ etc., are magical but some of those
80 had already been freed.
81 - "unexperimentalise" the callback interface for Coro::Semaphore.
82 - speed up ready queue management/context switching by using a linked
83 list instead of an array (~5-10%).
84 - implement "watch" command in Coro::Debug shells.
85 - for fun, implement time-slicing as an example in the manpage.
86 - if AnyEvent detects EV or Event, but we don't have Coro::EV or
87 Coro::Event, use the normal AnyEvent handling instead of dieing
88 (the same is true for Coro::Handle).
89 - properly document Coro::EV::timed_io_once.
90 - avoid unneccessary ->cancel calls in Coro::Handle.
91 - maybe make it work on mingw32 with win32 backend
92 (based on patch by Yasuhiro Matsumoto).
93
945.132 Fri May 29 09:00:39 CEST 2009
95 - do not keep a reference to the argument itself in
96 Coro::Semaphore::guard, as it could change later.
97 - support SO_RCVBUF/SO_SNDBUF nonstandard Coro::Socket options,
98 should support a prepare callback.
99
1005.131 Mon Mar 16 23:20:37 CET 2009
101 - implement and document Coro->suspend, Coro->resume.
102 - fix Coro::Select implementation to not (often) close
103 the passed file descriptors (testcase provided by pippijn).
104
1055.13 Mon Dec 15 21:51:42 CET 2008
106 - EXPERIMENTAL: implement dynamic winds (on_enter/on_leave).
107 - don't set diehook to C<undef> but instead to NULL, to avoid
108 spurious warnings.
109 - fix a lot of bugs in Coro::SemaphoreSet.
110 - Coro::SemaphoreSet will less often create a semaphore needlessly.
111 - add Coro::SemaphoreSet::count and wait methods.
112 - take advantage of the new Guard module.
113 - deprecate Coro::guard.
114 - try to fix the dreaded 01_unblock tests once more. I hate it when
115 testsuites need more fixing than the code they are supposed to test.
116 - croak in more cases when a required callback isn't resolvable.
117 - fix some minor issues in Coro::State->call/eval.
118 - use current coroutine context instead of a temporary one
119 when temporarily switching to another coroutine.
120 - do not call C-level on_destroy handlers during global destruction,
121 to avoid needless segfaults.
122
1235.12 Sun Dec 7 13:30:38 CET 2008
124 - add default config for MirOS, which seems to be a bug-to-bug
125 compatible fork of openbsd ("world domination by releasing
126 openbsd cvs before the openbsd folks do it" or so :).
127 - free_padlist did destroy the names pad, not good, but didn't
128 seem to bother perl - this could fix issues such as eval ""
129 inside a function called from multiple coroutines.
130 - use a different method to detect destruction time.
131 - be more careful when freeing padlists just before global
132 destruction.
133 - fixed and expanded the call/cc example.
134 - renamed _terminate to _coro_run.
135 - new method Coro::Channel->shutdown.
136 - try pthreads on openbsd <4.4 (broken sigaltstack, will
137 pthreads fare better?).
138 - be less picky about destroying "a" running coroutine.
139
1405.11 Tue Nov 25 21:49:05 CET 2008
141 - DEBUGGING in 5.10.0 is a mess: it constantly flags perfectly
142 working code with failed assertions, introducing more bugs than
143 it fixes, requiring elaborate workarounds :(
144
1455.1 Mon Nov 24 08:54:59 CET 2008
146 - wrote a small introductory tutorial - Coro::Intro.
8 - convert Coro::Timer, Coro::Select and Coro::Util to rouse API. 147 - convert Coro::Timer, Coro::Select and Coro::Util to rouse API.
9 - Coro::Select did errornously dup the file descriptors 148 - Coro::Select did errornously dup the file descriptors
10 and didn't work with all AnyEvent backends. 149 and didn't work with all AnyEvent backends.
150 - Coro::Select wasn't imported correctly form Coro::LWP, causing blocking
151 LWP data transfers.
152 - disassociate c contexts from coro objects - this is agruably more
153 correct, but mostly allows sharing of cctxs between coro and state
154 objects, for added memory savings and speed increases.
11 - bumped $Coro::POOL_RSS up to 32kb by default. 155 - bumped $Coro::POOL_RSS up to 32kb by default.
12 - no longer set the optype to OP_CUSTOM, as B::* understandably 156 - no longer set the optype to OP_CUSTOM, as B::* understandably
13 doesn't like this very much (and we *are* a type of entersub). 157 doesn't like this very much (and we *are* a type of entersub).
158 - implement state cloning, just to prove that call/cc can be done.
159 - automatically load Coro::AnyEvent in Coro::Handle.
160 - wrap ->cancel calls in eval inside Coro::Handle as EV watchers
161 do not have this method (and don't need it either).
162 - speed up generic anyevent methods in Coro::Handle by using rouse
163 callbacks.
164 - allow coroutines in $Coro::IDLE, speeding up Coro::AnyEvent and
165 others. It also makes the debugger happier, as you can trace
166 through the idle threads now.
167 - add comppad_name* and hints ($^H, %^H) to per-thread variables.
168 - eg/event was pretty broken.
14 - better 5.8.6 compatibility. 169 - better 5.8.6 compatibility.
15 170
165.0 Thu Nov 20 10:35:05 CET 2008 1715.0 Thu Nov 20 10:35:05 CET 2008
17 - NEW ARCHITECTURE: use the latest 4.x version if you experience 172 - NEW ARCHITECTURE: use the latest 4.x version if you experience
18 stability issues. 173 stability issues.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines