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

Comparing Coro/Changes (file contents):
Revision 1.187 by root, Fri Dec 29 08:36:34 2006 UTC vs.
Revision 1.323 by root, Mon Feb 25 03:00:50 2008 UTC

1Revision history for Perl extension Coro. 1Revision history for Perl extension Coro.
2 2
3TODO: better (earlier) error messages on broken transfer's 3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
4TODO: give some sensible deifnition to running an event loop 4TODO: maybe implement a default message channel, very much like Erlang
5as coroutine with higher priority. 5 (which is cool in a lot of important aspects (failures!),
6 but very lacking in others (higher level ipc)).
6 7
8 - fix a file leaking bug in eg/mhyttpd that would allow
9 downloading of any file (reported by oesi).
10 - support Broadcast option in Coro::Socket (patch by Richard Hundt,
11 apparently having loads of fun with that).
12
134.4 Wed Feb 13 16:44:29 CET 2008
14 - only assume .cfi pseudo isns exist on GNU/Linux.
15 - add get_timed method to Coro::Channels.
16 - fixed Coro::Debug manpage.
17 - perl 5.11 compatbility improvement based on patch by
18 Andreas König.
19
204.37 Sun Jan 20 11:25:23 CET 2008
21 - soften the check for an active parser for perl 5.10 (avoiding
22 "Coro::State::transfer called while parsing" in many cases).
23
244.36 Sun Jan 13 10:53:56 CET 2008
25 - reset diehook when terminating from an async_pool as to not
26 trigger any __DIE__ handlers.
27
284.35 Sun Jan 13 04:14:13 CET 2008
29 - "bt" debug command now displays any exceptions
30 from longmess and also skips the innermost
31 stackframes, giving more useufl output.
32 - allow backtraces in coroutines blocked in Coro::EV,
33 at a <1% speed hit.
34 - handle localising of $SIG{__WARN__} and __DIE__
35 properly (with a proper amount of dirty hacking).
36
374.34 Sat Dec 22 17:49:53 CET 2007
38 - upgrade to EV version 2.0 API.
39
404.33 Mon Dec 17 08:36:12 CET 2007
41 - make Coro::AIO etc. loadable in the absence of EV.
42
434.32 Mon Dec 17 07:46:02 CET 2007
44 - majorly improved Coro::Handle's performance with Coro::EV.
45 - implemented the until now mythical Coro::BDB module.
46 - specialcase EV in Coro::AIO and Coro::BDB for extra speed.
47
484.31 Wed Dec 5 12:32:39 CET 2007
49 - remove warn statement form Coro::Util.
50
514.3 Tue Dec 4 20:33:14 CET 2007
52 - calls to the idle function could cause stack corruption
53 when the stack changed.
54 - do no longer rely on the presence of EV::DNS if EV is used
55 (because it is gone), but instead take avdantage of EV::ADNS
56 if available.
57 - add ($) prototypes to all functions in Coro::Storable.
58 - use a conventional (safer) idle callback in Coro::EV.
59 - do accept quickly in Coro::Debug to avoid endless loops.
60
614.22 Fri Nov 30 16:04:04 CET 2007
62 - really use optimised versions for Event and EV in Coro::Util
63 and Coro::Handle.
64
654.21 Sun Nov 25 10:48:59 CET 2007
66 - fix a spurious memory read.
67 - Coro::EV no longer keeps the eventloop "alive".
68
694.2 Fri Nov 9 20:47:05 CET 2007
70 - enable/disable tracing from a new coroutine, not a pooled one.
71 - fix a memleak in Coro::Event.
72 - removed killall call from fork_eval.
73 - made sure store_fd is already loaded so that fork_eval
74 does not have to parse autoload in each subprocess.
75 - only use assembly method if -O switch is in $Config{optimize}.
76 - add (optional) Coro::EV module, so far the best event loop module
77 directly supported by Coro.
78 - if the event model is EV, use EV::DNS to resolve
79 stuff in Coro::Util.
80 - don't get confused by multiple event notifications in Coro::Handle.
81 - initial support for EV (libevent interface).
82 - require Event and EV using configure_requires, to force their existance.
83
844.13 Wed Oct 24 07:26:45 CEST 2007
85 - add Coro::Storable::blocking_thaw.
86 - use a vastly more complicated technique to localise
87 $SIG{__WARN/DIE__} that also works on perls <= 5.8.8.
88 - use a coroutine for the idle callback Coro::Event,
89 instead of running Event in the current coroutine context.
90 This also catches recursive invocations.
91 - actually report fork errors in gethostbyname and inet_aton.
92
934.11 Thu Oct 11 02:40:24 CEST 2007
94 - port to threaded perls.
95
964.1 Thu Oct 11 02:38:16 CEST 2007
97 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
98 be local to each coro (see Coro::State).
99 - incompatible change: for very deep reasons, cede and cede_notself
100 cannot return anything, so nothing will be returned.
101 - possibly bring back 5.10 compatibility (untested).
102 - work around stupid (and wrong) warning on 5.10 :(.
103 - overlay the saved state over the context stack. This saves
104 a few hundred bytes per coroutine on average and also
105 speeds up context switching a bit.
106 - further tune default stack sizes.
107 - (more) correctly calculate stack usage in coro_rss.
108 - Coro::Storable::blocking_* did not properly lock
109 resulting in races between coroutines.
110 - added Coro::Storable::guard.
111 - stopping to trace a coroutine could destroy the cctx of
112 an unrelated coroutine.
113 - explain the relationship between Perl and C coroutines in
114 more detail in Coro::State.
115 - Coro::Util::inet_aton did not short-circuit dotted quad forms,
116 causing a fork per resolve. This also affected Coro::Socket.
117 - switch to a separate stack in $coro->call/eval to avoid
118 invalidating pointers.
119
1204.03 Sat Oct 6 21:24:00 CEST 2007
121 - added Coro::throw method.
122 - minor code cleanups.
123
1244.02 Sat Oct 6 02:36:47 CEST 2007
125 - fix a very minor per-coroutine memleak (a single codereference).
126 - fixed a bug where the currently in-use c context would be freed
127 prematurely (can happen only when programs change the stacksize
128 or use tracing).
129 - tracing can no longer keep a coro alive after it terminated.
130 - do static branch prediction in the common path for gcc. gives
131 about 2-5% speed improvement here.
132
1334.01 Fri Oct 5 22:10:49 CEST 2007
134 - instead of recreating *a* standard output handle we simply
135 use STDOUT, which is faster and hopefully more robust.
136
1374.0 Fri Oct 5 12:56:00 CEST 2007
138 - incompatibly changed Coro::Storable::freeze.
139 - major new feature: added Coro::Debug, for interactive coroutine
140 debugging, tracing and much more.
141 - major bug fix: unbelievable, but true: $_, $/ and many other
142 "saved" variables actually weren't being saved. This has been fixed,
143 of course, while increasing performance while losing all the save
144 flags.
145 - save flags are gone, and all the api functions dealing with them.
146 - added Coro::Semaphore::adjust.
147 - added Coro::Util::fork_eval.
148 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
149 - added Coro::killall.
150 - reduce initial stack sizes to allow for "micro-coroutines".
151 - better async_pool resource management, moved parts of async_pool
152 handling to XS (major speed improvement).
153 - actually croak before modifying important data structures.
154 - refuse to transfer while compiling.
155 - possibly support eval EXPR better now.
156 - enable assembly per default on linux+bsd x86+amd64.
157 - all internal members were renamed _something for easier subclassing.
158 - many minor tweaks.
159
1603.63 Wed May 16 14:10:06 CEST 2007
161 - implement handcoded assembly for x86/amd64 SVR ABI.
162
1633.62 Fri Apr 27 21:36:06 CEST 2007
164 - upgrade libcoro (which might set unwind info correctly).
165 - change default on linux to setjmp/longjmp.
166
1673.61 Thu Apr 19 12:36:18 CEST 2007
168 - Coro::Storable caused an endless loop when thawing invalid
169 pst's sometimes.
170 - use a Semaphore in Coro::Storable, as Storable doesn't
171 seem to be reentrant (although it is documented to
172 be threadsafe...).
173 - fix Coro::Signal to bring back the original unreliable
174 but stateful semantics.
175 - fixed a lot of typos in Coro.pm (patch submitted by David
176 Steinbrunner, which applied flawlessly).
177
1783.6 Sat Apr 14 17:13:31 CEST 2007
179 - added some bugfixes to get eg/myhttpd working again.
180 - added Coro::Storable for often-cede'ing freeze/thaw.
181 - try to do a clean exit when a coroutine calls exit
182 (EXPERIMENTAL).
183 - got rid of indirect call through _coro_init.
184 - updated the partly antique examples in eg/ to
185 work again and be a bit less magic, too.
186 - fixed Coro::Signal semantics to work as documented again.
187
1883.55 Sun Mar 25 01:20:47 CET 2007
189 - add SAVE_DEFFH to save the default filehandle and enable
190 it by default.
191 - finally move socket-operations from Coro::Socket to Coro::Handle
192 to be able to unblock foreign sockets.
193 - add Coro::State::save_also and guarded_save.
194 - add count accessor to Coro::Semaphore.
195 - add Coro::State::cctx_stacksize.
196 - just for the fun of it, do not rely on implicit context,
197 which can dramatically improve performance, but people
198 using windows-process-emulation perls do not care much about
199 performance.
200
2013.51 Sun Mar 4 14:18:04 CET 2007
202 - fixed a problem when you weakened references to Coro::State's
203 (patch by Yuval Kogman).
204
2053.501 Wed Feb 28 12:44:07 CET 2007
206 - rename some global symbols as macosx from hell redefines
207 them without asking.
208
2093.5 Tue Feb 13 20:22:53 CET 2007
210 - do AnyEvent model detection earlier, avoiding problems
211 caused by first using AnyEvent and later Coro::Event.
212 - implement and document Coro::Event event objects.
213 - fix a potential problem in Coro::Event causing crashes.
214 - initialise PL_comppad when creating a new coroutine,
215 avoids crashes on early coro destruction.
216
2173.41 Mon Jan 22 19:19:49 CET 2007
218 - readline on Coro::Handle did not support undefined $/,
219 nor did it deliver partial lines on EOF or error.
220 - implement malloc fallback for stack allocation because
221 stupid broken idiotic OSX has a stupid broken
222 idiotic fits-the-whole-os mmap "implementation" and
223 my dick feels longer if Coro is portable even to
224 obsolete platforms.
225
2263.4 Fri Jan 19 21:52:54 CET 2007
227 - remove t/09_timer.t, as it isn't really testing much
228 but was rather flaky in practise.
229 - async_pool coro would keep arguments and callback alive until
230 it was reused.
231 - cancellation of a coroutine could cause spurious idle calls
232 in cede_notself.
233
2343.3 Sat Jan 6 03:45:00 CET 2007
7 - implement $coro->on_destroy. 235 - implement $coro->on_destroy.
236 - Coro::Event blocking semantics have been changed,
237 documented and - hopefully - improved.
8 - fix nice adding, not subtracting, from priority. 238 - fix nice adding, not subtracting, from priority.
9 - fix ->prio and api_is_ready (patch by Mark Hinds). 239 - fix ->prio and api_is_ready (patch by Mark Hinds).
240 - fixed an assert ("... == prev__cctx->idle_te")
241 that could errronously trigger.
242 - fix various large and small memleaks.
243 - use a (hopefully) more stable cancel implementation
244 that immediately frees the coroutine data.
245 - cede/cede_notself return a status now.
246 - added Coro::guard function.
247 - added a global coroutine pool for jobs (on my machine,
248 I can create and execute 48k simple coros/s with async,
249 and 128k coros with async_pool).
250 - Coro::AIO now uses the coroutine priority as io priority.
10 251
113.2 Fri Dec 22 05:07:09 CET 2006 2523.2 Fri Dec 22 05:07:09 CET 2006
12 - improve portability to slightly older perls. 253 - improve portability to slightly older perls.
13 - use cleaner coroutine destruction. 254 - use cleaner coroutine destruction.
14 - simplify configuration for users. 255 - simplify configuration for users.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines