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

Comparing Coro/Changes (file contents):
Revision 1.75 by root, Sat Mar 29 14:09:14 2003 UTC vs.
Revision 1.254 by root, Fri Oct 5 10:57:40 2007 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2
3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
4TODO: maybe implement a default message channel, very much like Erlang
5 (which is cool in a lot of important aspects (failures!),
6 but very lacking in others (higher level ipc)).
7
84.0 Fri Oct 5 12:56:00 CEST 2007
9 - incompatibly changed Coro::Storable::freeze.
10 - major new feature: added Coro::Debug, for interactive coroutine
11 debugging, tracing and much more.
12 - major bug fix: unbelievable, but true: $_, $/ and many other
13 "saved" variables actually weren't being saved. This has been fixed,
14 of course, while increasing performance while losing all the save
15 flags.
16 - save flags are gone, and all the api functions dealing with them.
17 - added Coro::Semaphore::adjust.
18 - added Coro::Util::fork_eval.
19 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
20 - added Coro::killall.
21 - reduce initial stack sizes to allow for "micro-coroutines".
22 - better async_pool resource management, moved parts of async_pool
23 handling to XS (major speed improvement).
24 - actually croak before modifying important data structures.
25 - refuse to transfer while compiling.
26 - possibly support eval EXPR better now.
27 - enable assembly per default on linux+bsd x86+amd64.
28 - all internal members were renamed _something for easier subclassing.
29 - many minor tweaks.
30
313.63 Wed May 16 14:10:06 CEST 2007
32 - implement handcoded assembly for x86/amd64 SVR ABI.
33
343.62 Fri Apr 27 21:36:06 CEST 2007
35 - upgrade libcoro (which might set unwind info correctly).
36 - change default on linux to setjmp/longjmp.
37
383.61 Thu Apr 19 12:36:18 CEST 2007
39 - Coro::Storable caused an endless loop when thawing invalid
40 pst's sometimes.
41 - use a Semaphore in Coro::Storable, as Storable doesn't
42 seem to be reentrant (although it is documented to
43 be threadsafe...).
44 - fix Coro::Signal to bring back the original unreliable
45 but stateful semantics.
46 - fixed a lot of typos in Coro.pm (patch submitted by David
47 Steinbrunner, which applied flawlessly).
48
493.6 Sat Apr 14 17:13:31 CEST 2007
50 - added some bugfixes to get eg/myhttpd working again.
51 - added Coro::Storable for often-cede'ing freeze/thaw.
52 - try to do a clean exit when a coroutine calls exit
53 (EXPERIMENTAL).
54 - got rid of indirect call through _coro_init.
55 - updated the partly antique examples in eg/ to
56 work again and be a bit less magic, too.
57 - fixed Coro::Signal semantics to work as documented again.
58
593.55 Sun Mar 25 01:20:47 CET 2007
60 - add SAVE_DEFFH to save the default filehandle and enable
61 it by default.
62 - finally move socket-operations from Coro::Socket to Coro::Handle
63 to be able to unblock foreign sockets.
64 - add Coro::State::save_also and guarded_save.
65 - add count accessor to Coro::Semaphore.
66 - add Coro::State::cctx_stacksize.
67 - just for the fun of it, do not rely on implicit context,
68 which can dramatically improve performance, but people
69 using windows-process-emulation perls do not care much about
70 performance.
71
723.51 Sun Mar 4 14:18:04 CET 2007
73 - fixed a problem when you weakened references to Coro::State's
74 (patch by Yuval Kogman).
75
763.501 Wed Feb 28 12:44:07 CET 2007
77 - rename some global symbols as macosx from hell redefines
78 them without asking.
79
803.5 Tue Feb 13 20:22:53 CET 2007
81 - do AnyEvent model detection earlier, avoiding problems
82 caused by first using AnyEvent and later Coro::Event.
83 - implement and document Coro::Event event objects.
84 - fix a potential problem in Coro::Event causing crashes.
85 - initialise PL_comppad when creating a new coroutine,
86 avoids crashes on early coro destruction.
87
883.41 Mon Jan 22 19:19:49 CET 2007
89 - readline on Coro::Handle did not support undefined $/,
90 nor did it deliver partial lines on EOF or error.
91 - implement malloc fallback for stack allocation because
92 stupid broken idiotic OSX has a stupid broken
93 idiotic fits-the-whole-os mmap "implementation" and
94 my dick feels longer if Coro is portable even to
95 obsolete platforms.
96
973.4 Fri Jan 19 21:52:54 CET 2007
98 - remove t/09_timer.t, as it isn't really testing much
99 but was rather flaky in practise.
100 - async_pool coro would keep arguments and callback alive until
101 it was reused.
102 - cancellation of a coroutine could cause spurious idle calls
103 in cede_notself.
104
1053.3 Sat Jan 6 03:45:00 CET 2007
106 - implement $coro->on_destroy.
107 - Coro::Event blocking semantics have been changed,
108 documented and - hopefully - improved.
109 - fix nice adding, not subtracting, from priority.
110 - fix ->prio and api_is_ready (patch by Mark Hinds).
111 - fixed an assert ("... == prev__cctx->idle_te")
112 that could errronously trigger.
113 - fix various large and small memleaks.
114 - use a (hopefully) more stable cancel implementation
115 that immediately frees the coroutine data.
116 - cede/cede_notself return a status now.
117 - added Coro::guard function.
118 - added a global coroutine pool for jobs (on my machine,
119 I can create and execute 48k simple coros/s with async,
120 and 128k coros with async_pool).
121 - Coro::AIO now uses the coroutine priority as io priority.
122
1233.2 Fri Dec 22 05:07:09 CET 2006
124 - improve portability to slightly older perls.
125 - use cleaner coroutine destruction.
126 - simplify configuration for users.
127 - optionally (unrecommended) prefer perl functions over
128 their coro replacements.
129
1303.11 Tue Dec 5 13:11:24 CET 2006
131 - fixed some bogus assert's, but as perl.h disables assert even
132 without NDEBUG (thank you very much), not too many people should
133 notice (that did include myself). Andreas König noticed, though :)
134 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
135 it. Also noticed by Andreas König :)
136 - save/restore tainted status.
137 - verified to pass the testsuite on my 5.9.5.
138
1393.1 Mon Dec 4 23:03:40 CET 2006
140 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
141 - incompatible change: transfer flags are now per-state.
142 - give a better error message on deadlock.
143 - document Coro::nready.
144 - enhanced testsuite.
145
1463.01 Sun Dec 3 23:47:42 CET 2006
147 - forgot to include Coro::Timer.
148
1493.0 Sun Dec 3 22:57:25 CET 2006
150 - the "FINALLY COMPLETELY STABLE" release (coming soon:
151 the "FAMOUS LAST WORDS" release).
152 - implement a new stack sharing algorithm, which uses a stack
153 pool (size currently hardcoded).
154 - make stack sharing mandatory (it no longer uses a heuristic).
155 - eval/die no longer cause weird problems under heavy use.
156 - Coro::Event could cause livelocks if it was used but
157 no Coro::Event watchers were used.
158 - Coro::Event now uses asynccheck as prepare does not
159 check for changed watchers.
160 - Coro::Event allows multiple waiting coros and will wake up one
161 per event.
162 - Coro::Event should be cleaner and more efficient now.
163 - new utility function Coro::unblock_sub.
164 - document the sad fact that Event is no longer reentrant.
165 - putting a coroutine into the ready queue twice could under
166 some circumstances lead to stack corruption.
167 - minor incompatibility: subclassing Coro::State is supported
168 directly now without going through a _coro_state member.
169 - state/coro switching is much faster now.
170 - very minor optimisations and code/documentation cleanup.
171 - avoid problems due to compiler inlining.
172 - removed timers from Coro::Timer -> use AnyEvent instead.
173 - replaced Coro::idle coroutine by (cleaner) idle handler.
174 - updated to newest libcoro.
175 - implement enhanced support for valgrind.
176 - implement is_ready and return value for ready.
177 - removed Coro::Cont, it was a misnomer (it's generators),
178 and it was somewhat annoying to get it right. Will come back
179 if somebody asks for it :)
180 - many ->wait methods and Coro::Event could return
181 spuriously without the event having happened.
182
1832.5 Tue Nov 7 12:22:33 CET 2006
184 - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket
185 use AnyEvent, moved them to Coro/.
186 - added Coro::LWP which contains all the uglyness required to
187 make LWP non-blocking.
188 - should work with perl 5.9.x now (Andreas König made me do it).
189 - fixed another bug in Coro::Select when the timeout was undef.
190 - reuse PL_start_env for all coros, saves some memory per coroutine.
191 - manage PL_top_env differently, hopefully to avoid panic: top_env.
192 - timeout argument was not properly used in Coro::Socket.
193 - allow limited forms of subclassing in Coro::Handle/Coro::Socket.
194 - emulate undocumented(!) functionality of IO::Socket required
195 by LWP(!!).
196 - updated eg/lwp to work with newer lwp's.
197 - remove "FATAL: uncaught exception" prefix. Coroutines that die
198 kill the whole process, just as exceptions in the main "coroutine"
199 did already.
200
2012.1 Wed Nov 1 23:01:13 CET 2006
202 - fix a long-standing bug in Coro::Select where select with
203 zero timeout would instead change the current default filehandle.
204 - use a simpler and hopefully more robust way to clone padlists
205 (uses less memory and a perl function instead of our own).
206 - coro can now create a stack guard area on many architectures.
207 - Coro::AIO properly reexports additional functions from IO::AIO.
208 - updated libcoro with a workaround for OS X,
209 pach and testing by Michael Schwern.
210
2112.0 Tue Oct 24 05:47:17 CEST 2006
212 - support additional aio requests in Coro::AIO.
213
2141.9 (never properly released due to a glitch)
215
2161.8 Thu Feb 2 00:59:06 CET 2006
217 - applied suggested patch by SAMV to avoid problems during stupid
218 mark & sweep gc run.
219 - applied patch by Scott Walters for 5.9.3 compatibility.
220
2211.7 Tue Dec 27 01:41:58 CET 2005
222 - added Coro::AIO, a thin wrapper around IO::AIO.
223 - improved Makefile.PL explanations.
224
2251.6 Mon Dec 12 21:30:05 CET 2005
226 - additionally save PM_curpm might fix as-of-yet
227 unseen problems with regex matches being attributed to the
228 wrong package.
229 - add t/10_bugs.t, which currently checks against imho broken
230 perls that use 0.26MB of stack space per Perl_magic_get
231 invocation (newer linuxes) as opposed to the 0.0002MB perl
232 normally uses.
233 - make stacksize configurable for the ultimate debian experience.
234
2351.51 Mon Dec 12 18:48:36 CET 2005
236 - remove debugging warn() accidentally left in Coro::Select.
237
2381.5 Tue Nov 29 13:32:44 CET 2005
239 - use Coro::Event inside Coro::Select to avoid spurious deadlocks.
240 - fix Coro::Select 'select'.
241 - strict'ify some modules.
242 - libcoro errornously restored the SIGUSR2 handler to SIGUSR1.
243 - use XSLoader in selected modules.
244 - remove some 5.6 compatibility cruft.
245
2461.4 Tue Sep 6 00:11:05 CEST 2005
247 - libcoro did not take into account the trampoline on amd64,
248 when 'l'inux method was used.
249
2501.31 Tue Aug 30 23:31:33 CEST 2005
251 - some portability fixes/workarounds.
252
2531.3 Sat Aug 20 03:08:56 CEST 2005
254 - no code changes. module seems to work fine.
255 - improve Coro::State docs, remove reference to nonexisting
256 Coro::State::flush method.
257 - no longer autodetect windows, present it as an option instead.
258
2591.2 Mon May 16 02:00:55 CEST 2005
260 - included libcoro.c earlier in State.xs, might improve portability.
261 - use a faster and possibly more stable Coro::Cont implementation.
262 - accept x86_64 in addition to amd64 for optimized linux-amd64 support.
263 - fix bugs Coro::SemaphoreSet that could cause locks never to be freed.
264 - fix bugs in CoroAPI.h and document it in Coro::MakeMaker.
265
2661.11 Thu Mar 3 18:00:52 CET 2005
267 - change of contact address.
268
2691.1 Tue Feb 22 20:51:16 CET 2005
270 - support [l]inux method on amd64.
271 - allow some context switches while compiling/eval'ing.
272
2731.0 Tue Aug 10 03:47:27 CEST 2004
274 - Event 0.89 fixes the bug again.
275 - fix the remaining(??) memleak. I didn't free the cache-AV for
276 padlists, so one AV per created anon-sub leaked.
277
2780.97 Fri May 14 15:23:32 CEST 2004
279 - remove stupid gcc extension that was an experiment only anyway.
280
2810.96 Thu May 13 18:09:29 CEST 2004
282 - tell people if they have yet another broken Event variant.
283 - made Coro to work _better_ with threads (it seems that, as long
284 as you use Coros in one thread only everything will work fine.
285 Looking at the perl source the problem might be missing locking
286 between Coro and some perl internal routines. That's not easily
287 fixable).
288 - (hopefully) got rid of the static xnext inside transfer.
289
2900.95 Sun Feb 15 03:20:28 CET 2004
291 - removed Coro::State::flush, implemented a new and much
292 faster caching mechanism by attaching magic to the CV.
293 - a memleak with (real) closures remains.
294 - dramatically reduced size of stacks to 65536 (linux/x86), after
295 observing that even myhttpd never had more than a kilobyte
296 of stack in use (stack is still only physically allocated in
297 pagesize increments for systems suporting mmap).
298 - fix for a "cygwin-64" architecture added, proposed by Stefan Traby.
299 - fix for threaded perl.
300
3010.9 Sun Nov 23 04:32:39 CET 2003
302 - fix a few very hard to track down but (of course) stupid
303 memory leaks.
304 - stringify version number to avoid locale problems :(.
305 - perl 5.9.0 does not have SvPADBUSY, reported by Scott Walters,
306 hopefully ignoring it "just works".
307
3080.8 Wed Nov 5 19:38:40 CET 2003
309 - port to perl5.005_03, but only 5.8.x+ is supported!
310 - honor LocalAddr even without LocalPort in Coro::Socket.
311
3120.7 Tue May 27 03:12:38 CEST 2003
313 - the version jump indicates some level of testing, not gobs
314 of new features.
315 - uh... I found the prompt function in ExtUtils::MakeMaker.
316 Highly correct stuff, that is...
317 - fixed(?) a bug with die's in coroutines causing "panic: top_env".
318 the fix is not well understood by the author, so beware :(.
319
3200.652 Thu May 8 02:54:46 CEST 2003
321 - Applied patch by Slaven Rezic to set default to "s" on FreeBSD,
322 cause version 4 doesn't have ucontext.
323 - Benjamin Reed reported that setjmp works fine on darwin,
324 so preselect it.
2 325
30.651 Sat Mar 29 15:00:23 CET 2003 3260.651 Sat Mar 29 15:00:23 CET 2003
4 - fix a bug in Coro::Handle where some bytes could get lost 327 - fix a bug in Coro::Handle where some bytes could get lost
5 on reading, reported by jason@nichego.net. 328 on reading, reported by jason@nichego.net.
6 329

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines