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

Comparing Coro/Changes (file contents):
Revision 1.55 by root, Wed Oct 3 01:33:44 2001 UTC vs.
Revision 1.226 by root, Thu Apr 19 10:37:26 2007 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
30.51 3TODO: better (earlier) error messages on broken transfer's
4TODO: destroy gets only called on cancel: fix(?)
5TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
6TODO: maybe implement a default message channel, very much like Erlang
7 (which is cool in a lot of important aspects (failures!),
8 but very lacking in others).
9
103.61 Thu Apr 19 12:36:18 CEST 2007
11 - Coro::Storable caused an endless loop when thawing invalid
12 pst's sometimes.
13 - use a Semaphore in Coro::Storable, as Storable doesn't
14 seem to be reentrant (although it is documented to
15 be threadsafe...).
16 - fix Coro::Signal to bring back the original unreliable
17 but stateful semantics.
18 - fixed a lot of typos in Coro.pm (patch submitted by David
19 Steinbrunner, which applied flawlessly).
20
213.6 Sat Apr 14 17:13:31 CEST 2007
22 - added some bugfixes to get eg/myhttpd working again.
23 - added Coro::Storable for often-cede'ing freeze/thaw.
24 - try to do a clean exit when a coroutine calls exit
25 (EXPERIMENTAL).
26 - got rid of indirect call through _coro_init.
27 - updated the partly antique examples in eg/ to
28 work again and be a bit less magic, too.
29 - fixed Coro::Signal semantics to work as documented again.
30
313.55 Sun Mar 25 01:20:47 CET 2007
32 - add SAVE_DEFFH to save the default filehandle and enable
33 it by default.
34 - finally move socket-operations from Coro::Socket to Coro::Handle
35 to be able to unblock foreign sockets.
36 - add Coro::State::save_also and guarded_save.
37 - add count accessor to Coro::Semaphore.
38 - add Coro::State::cctx_stacksize.
39 - just for the fun of it, do not rely on implicit context,
40 which can dramatically improve performance, but people
41 using windows-process-emulation perls do not care much about
42 performance.
43
443.51 Sun Mar 4 14:18:04 CET 2007
45 - fixed a problem when you weakened references to Coro::State's
46 (patch by Yuval Kogman).
47
483.501 Wed Feb 28 12:44:07 CET 2007
49 - rename some global symbols as macosx from hell redefines
50 them without asking.
51
523.5 Tue Feb 13 20:22:53 CET 2007
53 - do AnyEvent model detection earlier, avoiding problems
54 caused by first using AnyEvent and later Coro::Event.
55 - implement and document Coro::Event event objects.
56 - fix a potential problem in Coro::Event causing crashes.
57 - initialise PL_comppad when creating a new coroutine,
58 avoids crashes on early coro destruction.
59
603.41 Mon Jan 22 19:19:49 CET 2007
61 - readline on Coro::Handle did not support undefined $/,
62 nor did it deliver partial lines on EOF or error.
63 - implement malloc fallback for stack allocation because
64 stupid broken idiotic OSX has a stupid broken
65 idiotic fits-the-whole-os mmap "implementation" and
66 my dick feels longer if Coro is portable even to
67 obsolete platforms.
68
693.4 Fri Jan 19 21:52:54 CET 2007
70 - remove t/09_timer.t, as it isn't really testing much
71 but was rather flaky in practise.
72 - async_pool coro would keep arguments and callback alive until
73 it was reused.
74 - cancellation of a coroutine could cause spurious idle calls
75 in cede_notself.
76
773.3 Sat Jan 6 03:45:00 CET 2007
78 - implement $coro->on_destroy.
79 - Coro::Event blocking semantics have been changed,
80 documented and - hopefully - improved.
81 - fix nice adding, not subtracting, from priority.
82 - fix ->prio and api_is_ready (patch by Mark Hinds).
83 - fixed an assert ("... == prev__cctx->idle_te")
84 that could errronously trigger.
85 - fix various large and small memleaks.
86 - use a (hopefully) more stable cancel implementation
87 that immediately frees the coroutine data.
88 - cede/cede_notself return a status now.
89 - added Coro::guard function.
90 - added a global coroutine pool for jobs (on my machine,
91 I can create and execute 48k simple coros/s with async,
92 and 128k coros with async_pool).
93 - Coro::AIO now uses the coroutine priority as io priority.
94
953.2 Fri Dec 22 05:07:09 CET 2006
96 - improve portability to slightly older perls.
97 - use cleaner coroutine destruction.
98 - simplify configuration for users.
99 - optionally (unrecommended) prefer perl functions over
100 their coro replacements.
101
1023.11 Tue Dec 5 13:11:24 CET 2006
103 - fixed some bogus assert's, but as perl.h disables assert even
104 without NDEBUG (thank you very much), not too many people should
105 notice (that did include myself). Andreas König noticed, though :)
106 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
107 it. Also noticed by Andreas König :)
108 - save/restore tainted status.
109 - verified to pass the testsuite on my 5.9.5.
110
1113.1 Mon Dec 4 23:03:40 CET 2006
112 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
113 - incompatible change: transfer flags are now per-state.
114 - give a better error message on deadlock.
115 - document Coro::nready.
116 - enhanced testsuite.
117
1183.01 Sun Dec 3 23:47:42 CET 2006
119 - forgot to include Coro::Timer.
120
1213.0 Sun Dec 3 22:57:25 CET 2006
122 - the "FINALLY COMPLETELY STABLE" release (coming soon:
123 the "FAMOUS LAST WORDS" release).
124 - implement a new stack sharing algorithm, which uses a stack
125 pool (size currently hardcoded).
126 - make stack sharing mandatory (it no longer uses a heuristic).
127 - eval/die no longer cause weird problems under heavy use.
128 - Coro::Event could cause livelocks if it was used but
129 no Coro::Event watchers were used.
130 - Coro::Event now uses asynccheck as prepare does not
131 check for changed watchers.
132 - Coro::Event allows multiple waiting coros and will wake up one
133 per event.
134 - Coro::Event should be cleaner and more efficient now.
135 - new utility function Coro::unblock_sub.
136 - document the sad fact that Event is no longer reentrant.
137 - putting a coroutine into the ready queue twice could under
138 some circumstances lead to stack corruption.
139 - minor incompatibility: subclassing Coro::State is supported
140 directly now without going through a _coro_state member.
141 - state/coro switching is much faster now.
142 - very minor optimisations and code/documentation cleanup.
143 - avoid problems due to compiler inlining.
144 - removed timers from Coro::Timer -> use AnyEvent instead.
145 - replaced Coro::idle coroutine by (cleaner) idle handler.
146 - updated to newest libcoro.
147 - implement enhanced support for valgrind.
148 - implement is_ready and return value for ready.
149 - removed Coro::Cont, it was a misnomer (it's generators),
150 and it was somewhat annoying to get it right. Will come back
151 if somebody asks for it :)
152 - many ->wait methods and Coro::Event could return
153 spuriously without the event having happened.
154
1552.5 Tue Nov 7 12:22:33 CET 2006
156 - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket
157 use AnyEvent, moved them to Coro/.
158 - added Coro::LWP which contains all the uglyness required to
159 make LWP non-blocking.
160 - should work with perl 5.9.x now (Andreas König made me do it).
161 - fixed another bug in Coro::Select when the timeout was undef.
162 - reuse PL_start_env for all coros, saves some memory per coroutine.
163 - manage PL_top_env differently, hopefully to avoid panic: top_env.
164 - timeout argument was not properly used in Coro::Socket.
165 - allow limited forms of subclassing in Coro::Handle/Coro::Socket.
166 - emulate undocumented(!) functionality of IO::Socket required
167 by LWP(!!).
168 - updated eg/lwp to work with newer lwp's.
169 - remove "FATAL: uncaught exception" prefix. Coroutines that die
170 kill the whole process, just as exceptions in the main "coroutine"
171 did already.
172
1732.1 Wed Nov 1 23:01:13 CET 2006
174 - fix a long-standing bug in Coro::Select where select with
175 zero timeout would instead change the current default filehandle.
176 - use a simpler and hopefully more robust way to clone padlists
177 (uses less memory and a perl function instead of our own).
178 - coro can now create a stack guard area on many architectures.
179 - Coro::AIO properly reexports additional functions from IO::AIO.
180 - updated libcoro with a workaround for OS X,
181 pach and testing by Michael Schwern.
182
1832.0 Tue Oct 24 05:47:17 CEST 2006
184 - support additional aio requests in Coro::AIO.
185
1861.9 (never properly released due to a glitch)
187
1881.8 Thu Feb 2 00:59:06 CET 2006
189 - applied suggested patch by SAMV to avoid problems during stupid
190 mark & sweep gc run.
191 - applied patch by Scott Walters for 5.9.3 compatibility.
192
1931.7 Tue Dec 27 01:41:58 CET 2005
194 - added Coro::AIO, a thin wrapper around IO::AIO.
195 - improved Makefile.PL explanations.
196
1971.6 Mon Dec 12 21:30:05 CET 2005
198 - additionally save PM_curpm might fix as-of-yet
199 unseen problems with regex matches being attributed to the
200 wrong package.
201 - add t/10_bugs.t, which currently checks against imho broken
202 perls that use 0.26MB of stack space per Perl_magic_get
203 invocation (newer linuxes) as opposed to the 0.0002MB perl
204 normally uses.
205 - make stacksize configurable for the ultimate debian experience.
206
2071.51 Mon Dec 12 18:48:36 CET 2005
208 - remove debugging warn() accidentally left in Coro::Select.
209
2101.5 Tue Nov 29 13:32:44 CET 2005
211 - use Coro::Event inside Coro::Select to avoid spurious deadlocks.
212 - fix Coro::Select 'select'.
213 - strict'ify some modules.
214 - libcoro errornously restored the SIGUSR2 handler to SIGUSR1.
215 - use XSLoader in selected modules.
216 - remove some 5.6 compatibility cruft.
217
2181.4 Tue Sep 6 00:11:05 CEST 2005
219 - libcoro did not take into account the trampoline on amd64,
220 when 'l'inux method was used.
221
2221.31 Tue Aug 30 23:31:33 CEST 2005
223 - some portability fixes/workarounds.
224
2251.3 Sat Aug 20 03:08:56 CEST 2005
226 - no code changes. module seems to work fine.
227 - improve Coro::State docs, remove reference to nonexisting
228 Coro::State::flush method.
229 - no longer autodetect windows, present it as an option instead.
230
2311.2 Mon May 16 02:00:55 CEST 2005
232 - included libcoro.c earlier in State.xs, might improve portability.
233 - use a faster and possibly more stable Coro::Cont implementation.
234 - accept x86_64 in addition to amd64 for optimized linux-amd64 support.
235 - fix bugs Coro::SemaphoreSet that could cause locks never to be freed.
236 - fix bugs in CoroAPI.h and document it in Coro::MakeMaker.
237
2381.11 Thu Mar 3 18:00:52 CET 2005
239 - change of contact address.
240
2411.1 Tue Feb 22 20:51:16 CET 2005
242 - support [l]inux method on amd64.
243 - allow some context switches while compiling/eval'ing.
244
2451.0 Tue Aug 10 03:47:27 CEST 2004
246 - Event 0.89 fixes the bug again.
247 - fix the remaining(??) memleak. I didn't free the cache-AV for
248 padlists, so one AV per created anon-sub leaked.
249
2500.97 Fri May 14 15:23:32 CEST 2004
251 - remove stupid gcc extension that was an experiment only anyway.
252
2530.96 Thu May 13 18:09:29 CEST 2004
254 - tell people if they have yet another broken Event variant.
255 - made Coro to work _better_ with threads (it seems that, as long
256 as you use Coros in one thread only everything will work fine.
257 Looking at the perl source the problem might be missing locking
258 between Coro and some perl internal routines. That's not easily
259 fixable).
260 - (hopefully) got rid of the static xnext inside transfer.
261
2620.95 Sun Feb 15 03:20:28 CET 2004
263 - removed Coro::State::flush, implemented a new and much
264 faster caching mechanism by attaching magic to the CV.
265 - a memleak with (real) closures remains.
266 - dramatically reduced size of stacks to 65536 (linux/x86), after
267 observing that even myhttpd never had more than a kilobyte
268 of stack in use (stack is still only physically allocated in
269 pagesize increments for systems suporting mmap).
270 - fix for a "cygwin-64" architecture added, proposed by Stefan Traby.
271 - fix for threaded perl.
272
2730.9 Sun Nov 23 04:32:39 CET 2003
274 - fix a few very hard to track down but (of course) stupid
275 memory leaks.
276 - stringify version number to avoid locale problems :(.
277 - perl 5.9.0 does not have SvPADBUSY, reported by Scott Walters,
278 hopefully ignoring it "just works".
279
2800.8 Wed Nov 5 19:38:40 CET 2003
281 - port to perl5.005_03, but only 5.8.x+ is supported!
282 - honor LocalAddr even without LocalPort in Coro::Socket.
283
2840.7 Tue May 27 03:12:38 CEST 2003
285 - the version jump indicates some level of testing, not gobs
286 of new features.
287 - uh... I found the prompt function in ExtUtils::MakeMaker.
288 Highly correct stuff, that is...
289 - fixed(?) a bug with die's in coroutines causing "panic: top_env".
290 the fix is not well understood by the author, so beware :(.
291
2920.652 Thu May 8 02:54:46 CEST 2003
293 - Applied patch by Slaven Rezic to set default to "s" on FreeBSD,
294 cause version 4 doesn't have ucontext.
295 - Benjamin Reed reported that setjmp works fine on darwin,
296 so preselect it.
297
2980.651 Sat Mar 29 15:00:23 CET 2003
299 - fix a bug in Coro::Handle where some bytes could get lost
300 on reading, reported by jason@nichego.net.
301
3020.65 Sun Mar 23 00:08:26 CET 2003
303 - added a README.linux-glibc.
304 - new module Coro::Select.
305 - also save/restore PL_comppad, fixes segfaults with 5.8.1.
306 (I never claimed that I know what I am doing ;).
307 - set default to setjmp/longjmp on non-x86-linux.
308
3090.6 Thu Nov 21 11:09:06 CET 2002
310 - made lazy context switching the default.
311 - fixed the bug where SemaphoreSet::guard
312 was the same as timed_guard and timed_guard was missing.
313 - fix a memleak in Coro::Timer.
314 - reclassified context sharing as not experimental.
315
3160.534 Sun Apr 14 03:05:12 CEST 2002
317 - fixed backspace => tab in header parsing (myhttpd).
318 - added eg/readline, for elmex.
319 - Coro::Event now calls ->start on first call instead of
320 ->again, which created wrong timeouts for the first ->next.
321 - fixed a bug where Coro::Socket returned a closed socket instead
322 of nothing on ECONNREFUSED and similar error conditions.
323
3240.533 Mon Feb 18 18:49:40 CET 2002
325 - adapt to finally working Event-0.85.
326 - fixed buggy event initialization (trapped under windows, but how
327 could it possibly have worked anywhere?)
328
3290.532 Wed Jan 16 02:45:32 CET 2002
330 - removed the reference to pp_entersub, might work on
331 (some) win32 perls now (testsuite works under cygwin,
332 without Event, which freezes).
333
3340.531 Mon Dec 10 22:18:44 CET 2001
335 - Fixed a bug in SemaphoreSet::timed_down.
336
3370.53 Tue Nov 27 21:11:13 CET 2001
338 - some tests for Event.
339 - slightly different internal architecture to get refcnt into the object
340 and not the reference. might fix a few bugs, certainly did introduce
341 new ones.
342 - Coro::Timer (independent of Event).
343 - new timed_wait functions for Coro::Signal, Semaphore, SemaphoreSet.
344
3450.52 Tue Nov 6 21:36:18 CET 2001
346 - ported to cygwin (trivial).
347 patch by Gerrit P. Haase <gp@familiehaase.de>.
348 - small setjmp code fix by Sullivan.DanielJ@epamail.epa.gov.
349
3500.51 Thu Nov 1 20:39:01 CET 2001
4 - terminate/cancel now work properly (otherwise termination 351 - terminate/cancel now work properly (otherwise termination
5 could cause a "next coroutine is not and contains not..." 352 could cause a "next coroutine is not and contains not..."
6 error. 353 error.
7 - added Coro::Socket::shutdown. 354 - added Coro::Socket::shutdown.
355 - Coro::Event::loop no is the same as Event::loop.
356 - implemented terminate with args + join.
8 357
90.5 Fri Sep 28 16:15:35 CEST 2001 3580.5 Fri Sep 28 16:15:35 CEST 2001
10 - fixed "print" on a Coro::Handle. The print method worked. 359 - fixed "print" on a Coro::Handle. The print method worked.
11 - small tweaks (seem to reduce memory consumption a lot) 360 - small tweaks (seem to reduce memory consumption a lot)
12 in various modules. 361 in various modules.
13 - splendid use of "no warnings" scattered throughout. 362 - splendid use of "no warnings" scattered throughout.
14 - added Coro::Handle::rbuf, fixed Coro::Handle::fh. 363 - added Coro::Handle::rbuf, fixed Coro::Handle::fh.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines