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

Comparing Coro/Changes (file contents):
Revision 1.119 by root, Mon Dec 12 20:31:23 2005 UTC vs.
Revision 1.252 by root, Wed Oct 3 16:03:17 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
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 are named _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.
2 224
31.6 Mon Dec 12 21:30:05 CET 2005 2251.6 Mon Dec 12 21:30:05 CET 2005
4 - additionally save PM_curpm might fix as-of-yet 226 - additionally save PM_curpm might fix as-of-yet
5 unseen problems with regex matches being attributes to the 227 unseen problems with regex matches being attributed to the
6 wrong package. 228 wrong package.
7 - add t/10_bugs.t, which currently checks against imho broken 229 - add t/10_bugs.t, which currently checks against imho broken
8 perls that use 0.26MB of stack space per Perl_magic_get 230 perls that use 0.26MB of stack space per Perl_magic_get
9 invocation (debian) as opposed ot the 0.0002MB normal 231 invocation (newer linuxes) as opposed to the 0.0002MB perl
10 perls use. 232 normally uses.
11 - make stacksize configurable for ultimate debian experience. 233 - make stacksize configurable for the ultimate debian experience.
12 234
131.51 Mon Dec 12 18:48:36 CET 2005 2351.51 Mon Dec 12 18:48:36 CET 2005
14 - remove debugging warn() accidentally left in Coro::Select. 236 - remove debugging warn() accidentally left in Coro::Select.
15 237
161.5 Tue Nov 29 13:32:44 CET 2005 2381.5 Tue Nov 29 13:32:44 CET 2005

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines