--- Coro/Changes 2006/11/01 21:39:03 1.133 +++ Coro/Changes 2007/01/08 01:21:23 1.197 @@ -1,14 +1,116 @@ Revision history for Perl extension Coro. -2.1 -TODO: aioreq_pri etc. +TODO: better (earlier) error messages on broken transfer's +TODO: destroy gets only called on cancel: fix(?) + + - remove t/09_timer.t, as it isn't really testing much + but was rather flaky in practise. + +3.3 Sat Jan 6 03:45:00 CET 2007 + - implement $coro->on_destroy. + - Coro::Event blocking semantics have been changed, + documented and - hopefully - improved. + - fix nice adding, not subtracting, from priority. + - fix ->prio and api_is_ready (patch by Mark Hinds). + - fixed an assert ("... == prev__cctx->idle_te") + that could errronously trigger. + - fix various large and small memleaks. + - use a (hopefully) more stable cancel implementation + that immediately frees the coroutine data. + - cede/cede_notself return a status now. + - added Coro::guard function. + - added a global coroutine pool for jobs (on my machine, + I can create and execute 48k simple coros/s with async, + and 128k coros with async_pool). + - Coro::AIO now uses the coroutine priority as io priority. + +3.2 Fri Dec 22 05:07:09 CET 2006 + - improve portability to slightly older perls. + - use cleaner coroutine destruction. + - simplify configuration for users. + - optionally (unrecommended) prefer perl functions over + their coro replacements. + +3.11 Tue Dec 5 13:11:24 CET 2006 + - fixed some bogus assert's, but as perl.h disables assert even + without NDEBUG (thank you very much), not too many people should + notice (that did include myself). Andreas König noticed, though :) + - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have + it. Also noticed by Andreas König :) + - save/restore tainted status. + - verified to pass the testsuite on my 5.9.5. + +3.1 Mon Dec 4 23:03:40 CET 2006 + - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow). + - incompatible change: transfer flags are now per-state. + - give a better error message on deadlock. + - document Coro::nready. + - enhanced testsuite. + +3.01 Sun Dec 3 23:47:42 CET 2006 + - forgot to include Coro::Timer. + +3.0 Sun Dec 3 22:57:25 CET 2006 + - the "FINALLY COMPLETELY STABLE" release (coming soon: + the "FAMOUS LAST WORDS" release). + - implement a new stack sharing algorithm, which uses a stack + pool (size currently hardcoded). + - make stack sharing mandatory (it no longer uses a heuristic). + - eval/die no longer cause weird problems under heavy use. + - Coro::Event could cause livelocks if it was used but + no Coro::Event watchers were used. + - Coro::Event now uses asynccheck as prepare does not + check for changed watchers. + - Coro::Event allows multiple waiting coros and will wake up one + per event. + - Coro::Event should be cleaner and more efficient now. + - new utility function Coro::unblock_sub. + - document the sad fact that Event is no longer reentrant. + - putting a coroutine into the ready queue twice could under + some circumstances lead to stack corruption. + - minor incompatibility: subclassing Coro::State is supported + directly now without going through a _coro_state member. + - state/coro switching is much faster now. + - very minor optimisations and code/documentation cleanup. + - avoid problems due to compiler inlining. + - removed timers from Coro::Timer -> use AnyEvent instead. + - replaced Coro::idle coroutine by (cleaner) idle handler. + - updated to newest libcoro. + - implement enhanced support for valgrind. + - implement is_ready and return value for ready. + - removed Coro::Cont, it was a misnomer (it's generators), + and it was somewhat annoying to get it right. Will come back + if somebody asks for it :) + - many ->wait methods and Coro::Event could return + spuriously without the event having happened. + +2.5 Tue Nov 7 12:22:33 CET 2006 + - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket + use AnyEvent, moved them to Coro/. + - added Coro::LWP which contains all the uglyness required to + make LWP non-blocking. + - should work with perl 5.9.x now (Andreas König made me do it). + - fixed another bug in Coro::Select when the timeout was undef. + - reuse PL_start_env for all coros, saves some memory per coroutine. + - manage PL_top_env differently, hopefully to avoid panic: top_env. + - timeout argument was not properly used in Coro::Socket. + - allow limited forms of subclassing in Coro::Handle/Coro::Socket. + - emulate undocumented(!) functionality of IO::Socket required + by LWP(!!). + - updated eg/lwp to work with newer lwp's. + - remove "FATAL: uncaught exception" prefix. Coroutines that die + kill the whole process, just as exceptions in the main "coroutine" + did already. + +2.1 Wed Nov 1 23:01:13 CET 2006 + - fix a long-standing bug in Coro::Select where select with + zero timeout would instead change the current default filehandle. - use a simpler and hopefully more robust way to clone padlists (uses less memory and a perl function instead of our own). - coro can now create a stack guard area on many architectures. + - Coro::AIO properly reexports additional functions from IO::AIO. - updated libcoro with a workaround for OS X, - pach by Michael Schwern. - - fix a long-standing bug in Coro::Select where select with - zero timeout would instead change the current default filehandle. + pach and testing by Michael Schwern. 2.0 Tue Oct 24 05:47:17 CEST 2006 - support additional aio requests in Coro::AIO.