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

Comparing Coro/Changes (file contents):
Revision 1.115 by root, Tue Nov 29 12:36:17 2005 UTC vs.
Revision 1.224 by root, Tue Apr 17 21:02:23 2007 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2
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.
6
73.61
8 - use a Semaphore in Coro::Storable, as Storable doesn't
9 seem to be reentrant (although it is documented to
10 be threadsafe...).
11 - fix Coro::Signal to bring back the original unreliable
12 but stateful semantics.
13
143.6 Sat Apr 14 17:13:31 CEST 2007
15 - added some bugfixes to get eg/myhttpd working again.
16 - added Coro::Storable for often-cede'ing freeze/thaw.
17 - try to do a clean exit when a coroutine calls exit
18 (EXPERIMENTAL).
19 - got rid of indirect call through _coro_init.
20 - updated the partly antique examples in eg/ to
21 work again and be a bit less magic, too.
22 - fixed Coro::Signal semantics to work as documented again.
23
243.55 Sun Mar 25 01:20:47 CET 2007
25 - add SAVE_DEFFH to save the default filehandle and enable
26 it by default.
27 - finally move socket-operations from Coro::Socket to Coro::Handle
28 to be able to unblock foreign sockets.
29 - add Coro::State::save_also and guarded_save.
30 - add count accessor to Coro::Semaphore.
31 - add Coro::State::cctx_stacksize.
32 - just for the fun of it, do not rely on implicit context,
33 which can dramatically improve performance, but people
34 using windows-process-emulation perls do not care much about
35 performance.
36
373.51 Sun Mar 4 14:18:04 CET 2007
38 - fixed a problem when you weakened references to Coro::State's
39 (patch by Yuval Kogman).
40
413.501 Wed Feb 28 12:44:07 CET 2007
42 - rename some global symbols as macosx from hell redefines
43 them without asking.
44
453.5 Tue Feb 13 20:22:53 CET 2007
46 - do AnyEvent model detection earlier, avoiding problems
47 caused by first using AnyEvent and later Coro::Event.
48 - implement and document Coro::Event event objects.
49 - fix a potential problem in Coro::Event causing crashes.
50 - initialise PL_comppad when creating a new coroutine,
51 avoids crashes on early coro destruction.
52
533.41 Mon Jan 22 19:19:49 CET 2007
54 - readline on Coro::Handle did not support undefined $/,
55 nor did it deliver partial lines on EOF or error.
56 - implement malloc fallback for stack allocation because
57 stupid broken idiotic OSX has a stupid broken
58 idiotic fits-the-whole-os mmap "implementation" and
59 my dick feels longer if Coro is portable even to
60 obsolete platforms.
61
623.4 Fri Jan 19 21:52:54 CET 2007
63 - remove t/09_timer.t, as it isn't really testing much
64 but was rather flaky in practise.
65 - async_pool coro would keep arguments and callback alive until
66 it was reused.
67 - cancellation of a coroutine could cause spurious idle calls
68 in cede_notself.
69
703.3 Sat Jan 6 03:45:00 CET 2007
71 - implement $coro->on_destroy.
72 - Coro::Event blocking semantics have been changed,
73 documented and - hopefully - improved.
74 - fix nice adding, not subtracting, from priority.
75 - fix ->prio and api_is_ready (patch by Mark Hinds).
76 - fixed an assert ("... == prev__cctx->idle_te")
77 that could errronously trigger.
78 - fix various large and small memleaks.
79 - use a (hopefully) more stable cancel implementation
80 that immediately frees the coroutine data.
81 - cede/cede_notself return a status now.
82 - added Coro::guard function.
83 - added a global coroutine pool for jobs (on my machine,
84 I can create and execute 48k simple coros/s with async,
85 and 128k coros with async_pool).
86 - Coro::AIO now uses the coroutine priority as io priority.
87
883.2 Fri Dec 22 05:07:09 CET 2006
89 - improve portability to slightly older perls.
90 - use cleaner coroutine destruction.
91 - simplify configuration for users.
92 - optionally (unrecommended) prefer perl functions over
93 their coro replacements.
94
953.11 Tue Dec 5 13:11:24 CET 2006
96 - fixed some bogus assert's, but as perl.h disables assert even
97 without NDEBUG (thank you very much), not too many people should
98 notice (that did include myself). Andreas König noticed, though :)
99 - do not save/restore PL_sortcxix on >= 5.9.x, it doesn't seem to have
100 it. Also noticed by Andreas König :)
101 - save/restore tainted status.
102 - verified to pass the testsuite on my 5.9.5.
103
1043.1 Mon Dec 4 23:03:40 CET 2006
105 - INCOMPATIBLE CHANGE: $/ is now per-coroutine (but slow).
106 - incompatible change: transfer flags are now per-state.
107 - give a better error message on deadlock.
108 - document Coro::nready.
109 - enhanced testsuite.
110
1113.01 Sun Dec 3 23:47:42 CET 2006
112 - forgot to include Coro::Timer.
113
1143.0 Sun Dec 3 22:57:25 CET 2006
115 - the "FINALLY COMPLETELY STABLE" release (coming soon:
116 the "FAMOUS LAST WORDS" release).
117 - implement a new stack sharing algorithm, which uses a stack
118 pool (size currently hardcoded).
119 - make stack sharing mandatory (it no longer uses a heuristic).
120 - eval/die no longer cause weird problems under heavy use.
121 - Coro::Event could cause livelocks if it was used but
122 no Coro::Event watchers were used.
123 - Coro::Event now uses asynccheck as prepare does not
124 check for changed watchers.
125 - Coro::Event allows multiple waiting coros and will wake up one
126 per event.
127 - Coro::Event should be cleaner and more efficient now.
128 - new utility function Coro::unblock_sub.
129 - document the sad fact that Event is no longer reentrant.
130 - putting a coroutine into the ready queue twice could under
131 some circumstances lead to stack corruption.
132 - minor incompatibility: subclassing Coro::State is supported
133 directly now without going through a _coro_state member.
134 - state/coro switching is much faster now.
135 - very minor optimisations and code/documentation cleanup.
136 - avoid problems due to compiler inlining.
137 - removed timers from Coro::Timer -> use AnyEvent instead.
138 - replaced Coro::idle coroutine by (cleaner) idle handler.
139 - updated to newest libcoro.
140 - implement enhanced support for valgrind.
141 - implement is_ready and return value for ready.
142 - removed Coro::Cont, it was a misnomer (it's generators),
143 and it was somewhat annoying to get it right. Will come back
144 if somebody asks for it :)
145 - many ->wait methods and Coro::Event could return
146 spuriously without the event having happened.
147
1482.5 Tue Nov 7 12:22:33 CET 2006
149 - made Coro::Util, Coro::Select, Coro::Handle and Coro::Socket
150 use AnyEvent, moved them to Coro/.
151 - added Coro::LWP which contains all the uglyness required to
152 make LWP non-blocking.
153 - should work with perl 5.9.x now (Andreas König made me do it).
154 - fixed another bug in Coro::Select when the timeout was undef.
155 - reuse PL_start_env for all coros, saves some memory per coroutine.
156 - manage PL_top_env differently, hopefully to avoid panic: top_env.
157 - timeout argument was not properly used in Coro::Socket.
158 - allow limited forms of subclassing in Coro::Handle/Coro::Socket.
159 - emulate undocumented(!) functionality of IO::Socket required
160 by LWP(!!).
161 - updated eg/lwp to work with newer lwp's.
162 - remove "FATAL: uncaught exception" prefix. Coroutines that die
163 kill the whole process, just as exceptions in the main "coroutine"
164 did already.
165
1662.1 Wed Nov 1 23:01:13 CET 2006
167 - fix a long-standing bug in Coro::Select where select with
168 zero timeout would instead change the current default filehandle.
169 - use a simpler and hopefully more robust way to clone padlists
170 (uses less memory and a perl function instead of our own).
171 - coro can now create a stack guard area on many architectures.
172 - Coro::AIO properly reexports additional functions from IO::AIO.
173 - updated libcoro with a workaround for OS X,
174 pach and testing by Michael Schwern.
175
1762.0 Tue Oct 24 05:47:17 CEST 2006
177 - support additional aio requests in Coro::AIO.
178
1791.9 (never properly released due to a glitch)
180
1811.8 Thu Feb 2 00:59:06 CET 2006
182 - applied suggested patch by SAMV to avoid problems during stupid
183 mark & sweep gc run.
184 - applied patch by Scott Walters for 5.9.3 compatibility.
185
1861.7 Tue Dec 27 01:41:58 CET 2005
187 - added Coro::AIO, a thin wrapper around IO::AIO.
188 - improved Makefile.PL explanations.
189
1901.6 Mon Dec 12 21:30:05 CET 2005
191 - additionally save PM_curpm might fix as-of-yet
192 unseen problems with regex matches being attributed to the
193 wrong package.
194 - add t/10_bugs.t, which currently checks against imho broken
195 perls that use 0.26MB of stack space per Perl_magic_get
196 invocation (newer linuxes) as opposed to the 0.0002MB perl
197 normally uses.
198 - make stacksize configurable for the ultimate debian experience.
199
2001.51 Mon Dec 12 18:48:36 CET 2005
201 - remove debugging warn() accidentally left in Coro::Select.
2 202
31.5 Tue Nov 29 13:32:44 CET 2005 2031.5 Tue Nov 29 13:32:44 CET 2005
4 - use Coro::Event inside Coro::Select to avoid spurious deadlocks. 204 - use Coro::Event inside Coro::Select to avoid spurious deadlocks.
5 - fix Coro::Select 'select'. 205 - fix Coro::Select 'select'.
6 - strict'ify some modules. 206 - strict'ify some modules.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines