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

Comparing Coro/Changes (file contents):
Revision 1.202 by root, Sat Jan 20 19:52:15 2007 UTC vs.
Revision 1.363 by root, Mon Jul 21 02:39:15 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: destroy gets only called on cancel: fix(?) 4TODO: maybe implement a default message channel, very much like Erlang's
5TODO: fast reloads in cf cause segfaults (coro_state_free->destroy->crash) 5 actor model (which is cool in a lot of important aspects (failures!),
6 but very lacking in others (higher level ipc)).
6 7
73.41 8 - remove debugging code related to MgPV_nolen_const.
9
104.744 Tue Jul 8 22:06:35 CEST 2008
11 - correctly provide default DIE/WARN handlers as documented.
12 - also overwrite PL_vtbl_sigelem.svt_clear, even though current
13 implementations inside perl work fine for us.
14
154.743 Mon Jun 16 00:21:57 CEST 2008
16 - when using Coro::EV without running EV::loop it could
17 result in busy-waiting for events, this has been fixed.
18 - reduce codesize and improve performance by using EV_DEFAULT_UC.
19
204.742 Sat May 31 14:10:21 CEST 2008
21 - implement a workaround for (some) perl <5.8.8 versions.
22 - require EV 3.3+.
23
244.741 Fri May 30 23:33:09 CEST 2008
25 - tell netbsd how utterly broken their imitation of an OS is
26 and refuse to build by default if pthreads are in use.
27 - switch to "s" method on all bsd's by default, as their ucontext
28 stuff seems just too broken.
29 - fix a bug in Coro::Select.
30
314.74 Thu May 29 20:05:31 CEST 2008
32 - do not test Coro::LWP for lack of dependencies.
33 - do not test Coro::Select for lack of working perls.
34
354.73 Thu May 29 2008
36 - fix a bug in Coro::EV which would cause it to block despite
37 there being runnable coroutines.
38 - sprinkle "no warnings" freely over everything, also suppress
39 warnings for some other modules.
40 - fix typo in WSAEWOULDBLOCK.
41
424.72 Sun May 25 05:14:36 CEST 2008
43 - tweak META.yaml a bit, unfortunately, there is no documented way
44 to have optional dependencies with CPAN. doh :(
45 - avoid running some tests on windows because they would fail due to
46 perl bug (broken fork, broken pipes...).
47 - work around perl on windows bugs where perl returns undocumented
48 error codes for sysread, syswrite etc. by taking advantage
49 of AnyEvent's workaround for that problem.
50 - use AnyEvent::Util::fh_nonblocking in Coro::Handle to work around
51 a common perl implementation bug on windows.
52 - use unix domain sockets in testsuite to work around
53 common perl implementation bugs on widows (they are emulated by
54 tcp sockets on windows. ugh.)
55
564.71 Sat May 24 20:01:27 CEST 2008
57 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
58 - take advantage of async name resolution of AnyEvent::Util.
59 - work around brutal inet_aton override in Coro::LWP.
60 - take advantage of the readyhook in Coro::EV, for smoother
61 scheduling.
62
634.7 Sun May 11 00:32:19 CEST 2008
64 - completely reworked the Coro manpage.
65 - added Coro::AnyEvent, generic event loop integration.
66 - implement cancel, ready and kill commands in Coro::Debug.
67 - document find_coro in Coro::Debug.
68 - incompatible change: rename has_stack to has_cctx.
69 - Coro::AIO and Coro::BDB no longer force event model detection,
70 use AnyEvent::AIO and AnyEvent::BDB.
71
724.6 Sat Apr 26 10:05:14 CEST 2008
73 - INCOMPATIBLE CHANGE: sub/code attributes are no longer supported
74 by the Coro module. It was a mistake to have it in the first place.
75 - (experimental) support for activestate perl 5.10 (method "w").
76 - (experimental) support for strawberry perl (method "a").
77 - coro_sigelem_set did not return a value although it had to,
78 actual impact unknown.
79
804.51 Mon Apr 14 13:28:27 CEST 2008
81 - make it compile again on 5.8.
82
834.50 Thu Apr 10 09:43:17 CEST 2008
84 - I did it twice! (see 4.49).
85
864.49 Sun Apr 6 21:23:31 CEST 2008
87 - grr, instead of compiling the recent changes on 5.10 only they
88 were compiled on 5.8 only.
89
904.48 Sun Apr 6 20:36:46 CEST 2008
91 - allow coroutine switches during eval's under 5.10.x, as it seems
92 the parser is a per-interpreter option now, so this is safe
93 (this might fix the odd crashing bug).
94 - drop support for 5.9.x versions: they are dead, jim.
95
964.47 Sun Apr 6 00:37:52 CEST 2008
97 - force cctx allocation on API calls: we know we need to force one
98 and gcc actually manages to confuse our heuristic nowadays,
99 leading to crashes and worse.
100 - document force_cctx.
101
1024.46 Fri Apr 4 22:05:43 CEST 2008
103 - upgrade libcoro, resulting in pthread-backend (which was only created
104 to fulfill the rules of the programming languages shootout).
105
1064.45 Thu Mar 13 11:55:36 CET 2008
107 - fix a file leaking bug in eg/mhyttpd that would allow
108 downloading of any file (reported by oesi).
109 - fix deadlock bug in Coro::Channel (reported by Richard Hundt)
110 (also add testcase).
111 - support Broadcast option in Coro::Socket (patch by Richard Hundt,
112 apparently having loads of fun with that).
113 - implement $state->swap_defsv, ->swap_defav and document ->throw.
114
1154.4 Wed Feb 13 16:44:29 CET 2008
116 - only assume .cfi pseudo isns exist on GNU/Linux.
117 - add get_timed method to Coro::Channels.
118 - fixed Coro::Debug manpage.
119 - perl 5.11 compatbility improvement based on patch by
120 Andreas König.
121
1224.37 Sun Jan 20 11:25:23 CET 2008
123 - soften the check for an active parser for perl 5.10 (avoiding
124 "Coro::State::transfer called while parsing" in many cases).
125
1264.36 Sun Jan 13 10:53:56 CET 2008
127 - reset diehook when terminating from an async_pool as to not
128 trigger any __DIE__ handlers.
129
1304.35 Sun Jan 13 04:14:13 CET 2008
131 - "bt" debug command now displays any exceptions
132 from longmess and also skips the innermost
133 stackframes, giving more useufl output.
134 - allow backtraces in coroutines blocked in Coro::EV,
135 at a <1% speed hit.
136 - handle localising of $SIG{__WARN__} and __DIE__
137 properly (with a proper amount of dirty hacking).
138
1394.34 Sat Dec 22 17:49:53 CET 2007
140 - upgrade to EV version 2.0 API.
141
1424.33 Mon Dec 17 08:36:12 CET 2007
143 - make Coro::AIO etc. loadable in the absence of EV.
144
1454.32 Mon Dec 17 07:46:02 CET 2007
146 - majorly improved Coro::Handle's performance with Coro::EV.
147 - implemented the until now mythical Coro::BDB module.
148 - specialcase EV in Coro::AIO and Coro::BDB for extra speed.
149
1504.31 Wed Dec 5 12:32:39 CET 2007
151 - remove warn statement form Coro::Util.
152
1534.3 Tue Dec 4 20:33:14 CET 2007
154 - calls to the idle function could cause stack corruption
155 when the stack changed.
156 - do no longer rely on the presence of EV::DNS if EV is used
157 (because it is gone), but instead take avdantage of EV::ADNS
158 if available.
159 - add ($) prototypes to all functions in Coro::Storable.
160 - use a conventional (safer) idle callback in Coro::EV.
161 - do accept quickly in Coro::Debug to avoid endless loops.
162
1634.22 Fri Nov 30 16:04:04 CET 2007
164 - really use optimised versions for Event and EV in Coro::Util
165 and Coro::Handle.
166
1674.21 Sun Nov 25 10:48:59 CET 2007
168 - fix a spurious memory read.
169 - Coro::EV no longer keeps the eventloop "alive".
170
1714.2 Fri Nov 9 20:47:05 CET 2007
172 - enable/disable tracing from a new coroutine, not a pooled one.
173 - fix a memleak in Coro::Event.
174 - removed killall call from fork_eval.
175 - made sure store_fd is already loaded so that fork_eval
176 does not have to parse autoload in each subprocess.
177 - only use assembly method if -O switch is in $Config{optimize}.
178 - add (optional) Coro::EV module, so far the best event loop module
179 directly supported by Coro.
180 - if the event model is EV, use EV::DNS to resolve
181 stuff in Coro::Util.
182 - don't get confused by multiple event notifications in Coro::Handle.
183 - initial support for EV (libevent interface).
184 - require Event and EV using configure_requires, to force their existance.
185
1864.13 Wed Oct 24 07:26:45 CEST 2007
187 - add Coro::Storable::blocking_thaw.
188 - use a vastly more complicated technique to localise
189 $SIG{__WARN/DIE__} that also works on perls <= 5.8.8.
190 - use a coroutine for the idle callback Coro::Event,
191 instead of running Event in the current coroutine context.
192 This also catches recursive invocations.
193 - actually report fork errors in gethostbyname and inet_aton.
194
1954.11 Thu Oct 11 02:40:24 CEST 2007
196 - port to threaded perls.
197
1984.1 Thu Oct 11 02:38:16 CEST 2007
199 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
200 be local to each coro (see Coro::State).
201 - incompatible change: for very deep reasons, cede and cede_notself
202 cannot return anything, so nothing will be returned.
203 - possibly bring back 5.10 compatibility (untested).
204 - work around stupid (and wrong) warning on 5.10 :(.
205 - overlay the saved state over the context stack. This saves
206 a few hundred bytes per coroutine on average and also
207 speeds up context switching a bit.
208 - further tune default stack sizes.
209 - (more) correctly calculate stack usage in coro_rss.
210 - Coro::Storable::blocking_* did not properly lock
211 resulting in races between coroutines.
212 - added Coro::Storable::guard.
213 - stopping to trace a coroutine could destroy the cctx of
214 an unrelated coroutine.
215 - explain the relationship between Perl and C coroutines in
216 more detail in Coro::State.
217 - Coro::Util::inet_aton did not short-circuit dotted quad forms,
218 causing a fork per resolve. This also affected Coro::Socket.
219 - switch to a separate stack in $coro->call/eval to avoid
220 invalidating pointers.
221
2224.03 Sat Oct 6 21:24:00 CEST 2007
223 - added Coro::throw method.
224 - minor code cleanups.
225
2264.02 Sat Oct 6 02:36:47 CEST 2007
227 - fix a very minor per-coroutine memleak (a single codereference).
228 - fixed a bug where the currently in-use c context would be freed
229 prematurely (can happen only when programs change the stacksize
230 or use tracing).
231 - tracing can no longer keep a coro alive after it terminated.
232 - do static branch prediction in the common path for gcc. gives
233 about 2-5% speed improvement here.
234
2354.01 Fri Oct 5 22:10:49 CEST 2007
236 - instead of recreating *a* standard output handle we simply
237 use STDOUT, which is faster and hopefully more robust.
238
2394.0 Fri Oct 5 12:56:00 CEST 2007
240 - incompatibly changed Coro::Storable::freeze.
241 - major new feature: added Coro::Debug, for interactive coroutine
242 debugging, tracing and much more.
243 - major bug fix: unbelievable, but true: $_, $/ and many other
244 "saved" variables actually weren't being saved. This has been fixed,
245 of course, while increasing performance while losing all the save
246 flags.
247 - save flags are gone, and all the api functions dealing with them.
248 - added Coro::Semaphore::adjust.
249 - added Coro::Util::fork_eval.
250 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
251 - added Coro::killall.
252 - reduce initial stack sizes to allow for "micro-coroutines".
253 - better async_pool resource management, moved parts of async_pool
254 handling to XS (major speed improvement).
255 - actually croak before modifying important data structures.
256 - refuse to transfer while compiling.
257 - possibly support eval EXPR better now.
258 - enable assembly per default on linux+bsd x86+amd64.
259 - all internal members were renamed _something for easier subclassing.
260 - many minor tweaks.
261
2623.63 Wed May 16 14:10:06 CEST 2007
263 - implement handcoded assembly for x86/amd64 SVR ABI.
264
2653.62 Fri Apr 27 21:36:06 CEST 2007
266 - upgrade libcoro (which might set unwind info correctly).
267 - change default on linux to setjmp/longjmp.
268
2693.61 Thu Apr 19 12:36:18 CEST 2007
270 - Coro::Storable caused an endless loop when thawing invalid
271 pst's sometimes.
272 - use a Semaphore in Coro::Storable, as Storable doesn't
273 seem to be reentrant (although it is documented to
274 be threadsafe...).
275 - fix Coro::Signal to bring back the original unreliable
276 but stateful semantics.
277 - fixed a lot of typos in Coro.pm (patch submitted by David
278 Steinbrunner, which applied flawlessly).
279
2803.6 Sat Apr 14 17:13:31 CEST 2007
281 - added some bugfixes to get eg/myhttpd working again.
282 - added Coro::Storable for often-cede'ing freeze/thaw.
283 - try to do a clean exit when a coroutine calls exit
284 (EXPERIMENTAL).
285 - got rid of indirect call through _coro_init.
286 - updated the partly antique examples in eg/ to
287 work again and be a bit less magic, too.
288 - fixed Coro::Signal semantics to work as documented again.
289
2903.55 Sun Mar 25 01:20:47 CET 2007
291 - add SAVE_DEFFH to save the default filehandle and enable
292 it by default.
293 - finally move socket-operations from Coro::Socket to Coro::Handle
294 to be able to unblock foreign sockets.
295 - add Coro::State::save_also and guarded_save.
296 - add count accessor to Coro::Semaphore.
297 - add Coro::State::cctx_stacksize.
298 - just for the fun of it, do not rely on implicit context,
299 which can dramatically improve performance, but people
300 using windows-process-emulation perls do not care much about
301 performance.
302
3033.51 Sun Mar 4 14:18:04 CET 2007
304 - fixed a problem when you weakened references to Coro::State's
305 (patch by Yuval Kogman).
306
3073.501 Wed Feb 28 12:44:07 CET 2007
308 - rename some global symbols as macosx from hell redefines
309 them without asking.
310
3113.5 Tue Feb 13 20:22:53 CET 2007
312 - do AnyEvent model detection earlier, avoiding problems
313 caused by first using AnyEvent and later Coro::Event.
314 - implement and document Coro::Event event objects.
315 - fix a potential problem in Coro::Event causing crashes.
316 - initialise PL_comppad when creating a new coroutine,
317 avoids crashes on early coro destruction.
318
3193.41 Mon Jan 22 19:19:49 CET 2007
8 - readline on Coro::Handle did not support undefined $/, 320 - readline on Coro::Handle did not support undefined $/,
9 nor did it deliver partial lines on EOF or error. 321 nor did it deliver partial lines on EOF or error.
322 - implement malloc fallback for stack allocation because
323 stupid broken idiotic OSX has a stupid broken
324 idiotic fits-the-whole-os mmap "implementation" and
325 my dick feels longer if Coro is portable even to
326 obsolete platforms.
10 327
113.4 Fri Jan 19 21:52:54 CET 2007 3283.4 Fri Jan 19 21:52:54 CET 2007
12 - remove t/09_timer.t, as it isn't really testing much 329 - remove t/09_timer.t, as it isn't really testing much
13 but was rather flaky in practise. 330 but was rather flaky in practise.
14 - async_pool coro would keep arguments and callback alive until 331 - async_pool coro would keep arguments and callback alive until

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines