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

Comparing Coro/Changes (file contents):
Revision 1.76 by root, Fri Apr 18 18:59:11 2003 UTC vs.
Revision 1.199 by root, Sun Jan 14 20:47:53 2007 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
30.652 3TODO: better (earlier) error messages on broken transfer's
4TODO: destroy gets only called on cancel: fix(?)
5
6 - remove t/09_timer.t, as it isn't really testing much
7 but was rather flaky in practise.
8 - async_pool coro would keep arguments and callback alive until
9 it was reused.
10 - cancellation of a coroutine could cause spurious idle calls
11 in cede_notself.
12
133.3 Sat Jan 6 03:45:00 CET 2007
14 - implement $coro->on_destroy.
15 - Coro::Event blocking semantics have been changed,
16 documented and - hopefully - improved.
17 - fix nice adding, not subtracting, from priority.
18 - fix ->prio and api_is_ready (patch by Mark Hinds).
19 - fixed an assert ("... == prev__cctx->idle_te")
20 that could errronously trigger.
21 - fix various large and small memleaks.
22 - use a (hopefully) more stable cancel implementation
23 that immediately frees the coroutine data.
24 - cede/cede_notself return a status now.
25 - added Coro::guard function.
26 - added a global coroutine pool for jobs (on my machine,
27 I can create and execute 48k simple coros/s with async,
28 and 128k coros with async_pool).
29 - Coro::AIO now uses the coroutine priority as io priority.
30
313.2 Fri Dec 22 05:07:09 CET 2006
32 - improve portability to slightly older perls.
33 - use cleaner coroutine destruction.
34 - simplify configuration for users.
35 - optionally (unrecommended) prefer perl functions over
36 their coro replacements.
37
383.11 Tue Dec 5 13:11:24 CET 2006
39 - fixed some bogus assert's, but as perl.h disables assert even
40 without NDEBUG (thank you very much), not too many people should
41 notice (that did include myself). Andreas König noticed, though :)
42 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
43 it. Also noticed by Andreas König :)
44 - save/restore tainted status.
45 - verified to pass the testsuite on my 5.9.5.
46
473.1 Mon Dec 4 23:03:40 CET 2006
48 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
49 - incompatible change: transfer flags are now per-state.
50 - give a better error message on deadlock.
51 - document Coro::nready.
52 - enhanced testsuite.
53
543.01 Sun Dec 3 23:47:42 CET 2006
55 - forgot to include Coro::Timer.
56
573.0 Sun Dec 3 22:57:25 CET 2006
58 - the "FINALLY COMPLETELY STABLE" release (coming soon:
59 the "FAMOUS LAST WORDS" release).
60 - implement a new stack sharing algorithm, which uses a stack
61 pool (size currently hardcoded).
62 - make stack sharing mandatory (it no longer uses a heuristic).
63 - eval/die no longer cause weird problems under heavy use.
64 - Coro::Event could cause livelocks if it was used but
65 no Coro::Event watchers were used.
66 - Coro::Event now uses asynccheck as prepare does not
67 check for changed watchers.
68 - Coro::Event allows multiple waiting coros and will wake up one
69 per event.
70 - Coro::Event should be cleaner and more efficient now.
71 - new utility function Coro::unblock_sub.
72 - document the sad fact that Event is no longer reentrant.
73 - putting a coroutine into the ready queue twice could under
74 some circumstances lead to stack corruption.
75 - minor incompatibility: subclassing Coro::State is supported
76 directly now without going through a _coro_state member.
77 - state/coro switching is much faster now.
78 - very minor optimisations and code/documentation cleanup.
79 - avoid problems due to compiler inlining.
80 - removed timers from Coro::Timer -> use AnyEvent instead.
81 - replaced Coro::idle coroutine by (cleaner) idle handler.
82 - updated to newest libcoro.
83 - implement enhanced support for valgrind.
84 - implement is_ready and return value for ready.
85 - removed Coro::Cont, it was a misnomer (it's generators),
86 and it was somewhat annoying to get it right. Will come back
87 if somebody asks for it :)
88 - many ->wait methods and Coro::Event could return
89 spuriously without the event having happened.
90
912.5 Tue Nov 7 12:22:33 CET 2006
92 - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket
93 use AnyEvent, moved them to Coro/.
94 - added Coro::LWP which contains all the uglyness required to
95 make LWP non-blocking.
96 - should work with perl 5.9.x now (Andreas König made me do it).
97 - fixed another bug in Coro::Select when the timeout was undef.
98 - reuse PL_start_env for all coros, saves some memory per coroutine.
99 - manage PL_top_env differently, hopefully to avoid panic: top_env.
100 - timeout argument was not properly used in Coro::Socket.
101 - allow limited forms of subclassing in Coro::Handle/Coro::Socket.
102 - emulate undocumented(!) functionality of IO::Socket required
103 by LWP(!!).
104 - updated eg/lwp to work with newer lwp's.
105 - remove "FATAL: uncaught exception" prefix. Coroutines that die
106 kill the whole process, just as exceptions in the main "coroutine"
107 did already.
108
1092.1 Wed Nov 1 23:01:13 CET 2006
110 - fix a long-standing bug in Coro::Select where select with
111 zero timeout would instead change the current default filehandle.
112 - use a simpler and hopefully more robust way to clone padlists
113 (uses less memory and a perl function instead of our own).
114 - coro can now create a stack guard area on many architectures.
115 - Coro::AIO properly reexports additional functions from IO::AIO.
116 - updated libcoro with a workaround for OS X,
117 pach and testing by Michael Schwern.
118
1192.0 Tue Oct 24 05:47:17 CEST 2006
120 - support additional aio requests in Coro::AIO.
121
1221.9 (never properly released due to a glitch)
123
1241.8 Thu Feb 2 00:59:06 CET 2006
125 - applied suggested patch by SAMV to avoid problems during stupid
126 mark & sweep gc run.
127 - applied patch by Scott Walters for 5.9.3 compatibility.
128
1291.7 Tue Dec 27 01:41:58 CET 2005
130 - added Coro::AIO, a thin wrapper around IO::AIO.
131 - improved Makefile.PL explanations.
132
1331.6 Mon Dec 12 21:30:05 CET 2005
134 - additionally save PM_curpm might fix as-of-yet
135 unseen problems with regex matches being attributed to the
136 wrong package.
137 - add t/10_bugs.t, which currently checks against imho broken
138 perls that use 0.26MB of stack space per Perl_magic_get
139 invocation (newer linuxes) as opposed to the 0.0002MB perl
140 normally uses.
141 - make stacksize configurable for the ultimate debian experience.
142
1431.51 Mon Dec 12 18:48:36 CET 2005
144 - remove debugging warn() accidentally left in Coro::Select.
145
1461.5 Tue Nov 29 13:32:44 CET 2005
147 - use Coro::Event inside Coro::Select to avoid spurious deadlocks.
148 - fix Coro::Select 'select'.
149 - strict'ify some modules.
150 - libcoro errornously restored the SIGUSR2 handler to SIGUSR1.
151 - use XSLoader in selected modules.
152 - remove some 5.6 compatibility cruft.
153
1541.4 Tue Sep 6 00:11:05 CEST 2005
155 - libcoro did not take into account the trampoline on amd64,
156 when 'l'inux method was used.
157
1581.31 Tue Aug 30 23:31:33 CEST 2005
159 - some portability fixes/workarounds.
160
1611.3 Sat Aug 20 03:08:56 CEST 2005
162 - no code changes. module seems to work fine.
163 - improve Coro::State docs, remove reference to nonexisting
164 Coro::State::flush method.
165 - no longer autodetect windows, present it as an option instead.
166
1671.2 Mon May 16 02:00:55 CEST 2005
168 - included libcoro.c earlier in State.xs, might improve portability.
169 - use a faster and possibly more stable Coro::Cont implementation.
170 - accept x86_64 in addition to amd64 for optimized linux-amd64 support.
171 - fix bugs Coro::SemaphoreSet that could cause locks never to be freed.
172 - fix bugs in CoroAPI.h and document it in Coro::MakeMaker.
173
1741.11 Thu Mar 3 18:00:52 CET 2005
175 - change of contact address.
176
1771.1 Tue Feb 22 20:51:16 CET 2005
178 - support [l]inux method on amd64.
179 - allow some context switches while compiling/eval'ing.
180
1811.0 Tue Aug 10 03:47:27 CEST 2004
182 - Event 0.89 fixes the bug again.
183 - fix the remaining(??) memleak. I didn't free the cache-AV for
184 padlists, so one AV per created anon-sub leaked.
185
1860.97 Fri May 14 15:23:32 CEST 2004
187 - remove stupid gcc extension that was an experiment only anyway.
188
1890.96 Thu May 13 18:09:29 CEST 2004
190 - tell people if they have yet another broken Event variant.
191 - made Coro to work _better_ with threads (it seems that, as long
192 as you use Coros in one thread only everything will work fine.
193 Looking at the perl source the problem might be missing locking
194 between Coro and some perl internal routines. That's not easily
195 fixable).
196 - (hopefully) got rid of the static xnext inside transfer.
197
1980.95 Sun Feb 15 03:20:28 CET 2004
199 - removed Coro::State::flush, implemented a new and much
200 faster caching mechanism by attaching magic to the CV.
201 - a memleak with (real) closures remains.
202 - dramatically reduced size of stacks to 65536 (linux/x86), after
203 observing that even myhttpd never had more than a kilobyte
204 of stack in use (stack is still only physically allocated in
205 pagesize increments for systems suporting mmap).
206 - fix for a "cygwin-64" architecture added, proposed by Stefan Traby.
207 - fix for threaded perl.
208
2090.9 Sun Nov 23 04:32:39 CET 2003
210 - fix a few very hard to track down but (of course) stupid
211 memory leaks.
212 - stringify version number to avoid locale problems :(.
213 - perl 5.9.0 does not have SvPADBUSY, reported by Scott Walters,
214 hopefully ignoring it "just works".
215
2160.8 Wed Nov 5 19:38:40 CET 2003
217 - port to perl5.005_03, but only 5.8.x+ is supported!
218 - honor LocalAddr even without LocalPort in Coro::Socket.
219
2200.7 Tue May 27 03:12:38 CEST 2003
221 - the version jump indicates some level of testing, not gobs
222 of new features.
223 - uh... I found the prompt function in ExtUtils::MakeMaker.
224 Highly correct stuff, that is...
225 - fixed(?) a bug with die's in coroutines causing "panic: top_env".
226 the fix is not well understood by the author, so beware :(.
227
2280.652 Thu May 8 02:54:46 CEST 2003
4 - Applied patch by Slaven Rezic to set default to "s" on FreeBSD, 229 - Applied patch by Slaven Rezic to set default to "s" on FreeBSD,
5 'cause they forgot to implement some standard unix functions... 230 cause version 4 doesn't have ucontext.
231 - Benjamin Reed reported that setjmp works fine on darwin,
232 so preselect it.
6 233
70.651 Sat Mar 29 15:00:23 CET 2003 2340.651 Sat Mar 29 15:00:23 CET 2003
8 - fix a bug in Coro::Handle where some bytes could get lost 235 - fix a bug in Coro::Handle where some bytes could get lost
9 on reading, reported by jason@nichego.net. 236 on reading, reported by jason@nichego.net.
10 237

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines