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

Comparing Coro/Changes (file contents):
Revision 1.243 by root, Tue Sep 25 02:24:14 2007 UTC vs.
Revision 1.355 by root, Tue May 27 06:41:42 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
4TODO: destroy gets only called on cancel: fix(?)
5TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO. 3TODO: should explore PerlIO::via::CoroCede and PerlIO::via::CoroAIO.
6TODO: maybe implement a default message channel, very much like Erlang 4TODO: maybe implement a default message channel, very much like Erlang's
7 (which is cool in a lot of important aspects (failures!), 5 actor model (which is cool in a lot of important aspects (failures!),
8 but very lacking in others). 6 but very lacking in others (higher level ipc)).
9 7
103.7 8 - sprinkle "no warnings" freely over everything, also suppress
9 warnings for some other modules.
10 - fix typo in WSAEWOULDBLOCK.
11
124.72 Sun May 25 05:14:36 CEST 2008
13 - tweak META.yaml a bit, unfortunately, there is no documented way
14 to have optional dependencies with CPAN. doh :(
15 - avoid running some tests on windows because they would fail due to
16 perl bug (broken fork, broken pipes...).
17 - work around perl on windows bugs where perl returns undocumented
18 error codes for sysread, syswrite etc. by taking advantage
19 of AnyEvent's workaround for that problem.
20 - use AnyEvent::Util::fh_nonblocking in Coro::Handle to work around
21 a common perl implementation bug on windows.
22 - use unix domain sockets in testsuite to work around
23 common perl implementation bugs on widows (they are emulated by
24 tcp sockets on windows. ugh.)
25
264.71 Sat May 24 20:01:27 CEST 2008
27 - fix a bug in Coro::AnyEvent ("Usage: Coro::AnyEvent::_schedule()").
28 - take advantage of async name resolution of AnyEvent::Util.
29 - work around brutal inet_aton override in Coro::LWP.
30 - take advantage of the readyhook in Coro::EV, for smoother
31 scheduling.
32
334.7 Sun May 11 00:32:19 CEST 2008
34 - completely reworked the Coro manpage.
35 - added Coro::AnyEvent, generic event loop integration.
36 - implement cancel, ready and kill commands in Coro::Debug.
37 - document find_coro in Coro::Debug.
38 - incompatible change: rename has_stack to has_cctx.
39 - Coro::AIO and Coro::BDB no longer force event model detection,
40 use AnyEvent::AIO and AnyEvent::BDB.
41
424.6 Sat Apr 26 10:05:14 CEST 2008
43 - INCOMPATIBLE CHANGE: sub/code attributes are no longer supported
44 by the Coro module. It was a mistake to have it in the first place.
45 - (experimental) support for activestate perl 5.10 (method "w").
46 - (experimental) support for strawberry perl (method "a").
47 - coro_sigelem_set did not return a value although it had to,
48 actual impact unknown.
49
504.51 Mon Apr 14 13:28:27 CEST 2008
51 - make it compile again on 5.8.
52
534.50 Thu Apr 10 09:43:17 CEST 2008
54 - I did it twice! (see 4.49).
55
564.49 Sun Apr 6 21:23:31 CEST 2008
57 - grr, instead of compiling the recent changes on 5.10 only they
58 were compiled on 5.8 only.
59
604.48 Sun Apr 6 20:36:46 CEST 2008
61 - allow coroutine switches during eval's under 5.10.x, as it seems
62 the parser is a per-interpreter option now, so this is safe
63 (this might fix the odd crashing bug).
64 - drop support for 5.9.x versions: they are dead, jim.
65
664.47 Sun Apr 6 00:37:52 CEST 2008
67 - force cctx allocation on API calls: we know we need to force one
68 and gcc actually manages to confuse our heuristic nowadays,
69 leading to crashes and worse.
70 - document force_cctx.
71
724.46 Fri Apr 4 22:05:43 CEST 2008
73 - upgrade libcoro, resulting in pthread-backend (which was only created
74 to fulfill the rules of the programming languages shootout).
75
764.45 Thu Mar 13 11:55:36 CET 2008
77 - fix a file leaking bug in eg/mhyttpd that would allow
78 downloading of any file (reported by oesi).
79 - fix deadlock bug in Coro::Channel (reported by Richard Hundt)
80 (also add testcase).
81 - support Broadcast option in Coro::Socket (patch by Richard Hundt,
82 apparently having loads of fun with that).
83 - implement $state->swap_defsv, ->swap_defav and document ->throw.
84
854.4 Wed Feb 13 16:44:29 CET 2008
86 - only assume .cfi pseudo isns exist on GNU/Linux.
87 - add get_timed method to Coro::Channels.
88 - fixed Coro::Debug manpage.
89 - perl 5.11 compatbility improvement based on patch by
90 Andreas König.
91
924.37 Sun Jan 20 11:25:23 CET 2008
93 - soften the check for an active parser for perl 5.10 (avoiding
94 "Coro::State::transfer called while parsing" in many cases).
95
964.36 Sun Jan 13 10:53:56 CET 2008
97 - reset diehook when terminating from an async_pool as to not
98 trigger any __DIE__ handlers.
99
1004.35 Sun Jan 13 04:14:13 CET 2008
101 - "bt" debug command now displays any exceptions
102 from longmess and also skips the innermost
103 stackframes, giving more useufl output.
104 - allow backtraces in coroutines blocked in Coro::EV,
105 at a <1% speed hit.
106 - handle localising of $SIG{__WARN__} and __DIE__
107 properly (with a proper amount of dirty hacking).
108
1094.34 Sat Dec 22 17:49:53 CET 2007
110 - upgrade to EV version 2.0 API.
111
1124.33 Mon Dec 17 08:36:12 CET 2007
113 - make Coro::AIO etc. loadable in the absence of EV.
114
1154.32 Mon Dec 17 07:46:02 CET 2007
116 - majorly improved Coro::Handle's performance with Coro::EV.
117 - implemented the until now mythical Coro::BDB module.
118 - specialcase EV in Coro::AIO and Coro::BDB for extra speed.
119
1204.31 Wed Dec 5 12:32:39 CET 2007
121 - remove warn statement form Coro::Util.
122
1234.3 Tue Dec 4 20:33:14 CET 2007
124 - calls to the idle function could cause stack corruption
125 when the stack changed.
126 - do no longer rely on the presence of EV::DNS if EV is used
127 (because it is gone), but instead take avdantage of EV::ADNS
128 if available.
129 - add ($) prototypes to all functions in Coro::Storable.
130 - use a conventional (safer) idle callback in Coro::EV.
131 - do accept quickly in Coro::Debug to avoid endless loops.
132
1334.22 Fri Nov 30 16:04:04 CET 2007
134 - really use optimised versions for Event and EV in Coro::Util
135 and Coro::Handle.
136
1374.21 Sun Nov 25 10:48:59 CET 2007
138 - fix a spurious memory read.
139 - Coro::EV no longer keeps the eventloop "alive".
140
1414.2 Fri Nov 9 20:47:05 CET 2007
142 - enable/disable tracing from a new coroutine, not a pooled one.
143 - fix a memleak in Coro::Event.
144 - removed killall call from fork_eval.
145 - made sure store_fd is already loaded so that fork_eval
146 does not have to parse autoload in each subprocess.
147 - only use assembly method if -O switch is in $Config{optimize}.
148 - add (optional) Coro::EV module, so far the best event loop module
149 directly supported by Coro.
150 - if the event model is EV, use EV::DNS to resolve
151 stuff in Coro::Util.
152 - don't get confused by multiple event notifications in Coro::Handle.
153 - initial support for EV (libevent interface).
154 - require Event and EV using configure_requires, to force their existance.
155
1564.13 Wed Oct 24 07:26:45 CEST 2007
157 - add Coro::Storable::blocking_thaw.
158 - use a vastly more complicated technique to localise
159 $SIG{__WARN/DIE__} that also works on perls <= 5.8.8.
160 - use a coroutine for the idle callback Coro::Event,
161 instead of running Event in the current coroutine context.
162 This also catches recursive invocations.
163 - actually report fork errors in gethostbyname and inet_aton.
164
1654.11 Thu Oct 11 02:40:24 CEST 2007
166 - port to threaded perls.
167
1684.1 Thu Oct 11 02:38:16 CEST 2007
169 - incompatible change: $SIG{__DIE__} and $SIG{__WARN__} will now
170 be local to each coro (see Coro::State).
171 - incompatible change: for very deep reasons, cede and cede_notself
172 cannot return anything, so nothing will be returned.
173 - possibly bring back 5.10 compatibility (untested).
174 - work around stupid (and wrong) warning on 5.10 :(.
175 - overlay the saved state over the context stack. This saves
176 a few hundred bytes per coroutine on average and also
177 speeds up context switching a bit.
178 - further tune default stack sizes.
179 - (more) correctly calculate stack usage in coro_rss.
180 - Coro::Storable::blocking_* did not properly lock
181 resulting in races between coroutines.
182 - added Coro::Storable::guard.
183 - stopping to trace a coroutine could destroy the cctx of
184 an unrelated coroutine.
185 - explain the relationship between Perl and C coroutines in
186 more detail in Coro::State.
187 - Coro::Util::inet_aton did not short-circuit dotted quad forms,
188 causing a fork per resolve. This also affected Coro::Socket.
189 - switch to a separate stack in $coro->call/eval to avoid
190 invalidating pointers.
191
1924.03 Sat Oct 6 21:24:00 CEST 2007
193 - added Coro::throw method.
194 - minor code cleanups.
195
1964.02 Sat Oct 6 02:36:47 CEST 2007
197 - fix a very minor per-coroutine memleak (a single codereference).
198 - fixed a bug where the currently in-use c context would be freed
199 prematurely (can happen only when programs change the stacksize
200 or use tracing).
201 - tracing can no longer keep a coro alive after it terminated.
202 - do static branch prediction in the common path for gcc. gives
203 about 2-5% speed improvement here.
204
2054.01 Fri Oct 5 22:10:49 CEST 2007
206 - instead of recreating *a* standard output handle we simply
207 use STDOUT, which is faster and hopefully more robust.
208
2094.0 Fri Oct 5 12:56:00 CEST 2007
11 - incompatibly changed Coro::Storable::freeze. 210 - incompatibly changed Coro::Storable::freeze.
12 - added Coro::Debug, interactive coroutine debugging and much 211 - major new feature: added Coro::Debug, for interactive coroutine
13 more. 212 debugging, tracing and much more.
213 - major bug fix: unbelievable, but true: $_, $/ and many other
214 "saved" variables actually weren't being saved. This has been fixed,
215 of course, while increasing performance while losing all the save
216 flags.
217 - save flags are gone, and all the api functions dealing with them.
14 - added Coro::Semaphore::adjust. 218 - added Coro::Semaphore::adjust.
15 - added Coro::Util::fork_eval. 219 - added Coro::Util::fork_eval.
16 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}. 220 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
221 - added Coro::killall.
17 - reduce initial stack sizes to allow for "micro-coroutines". 222 - reduce initial stack sizes to allow for "micro-coroutines".
18 - better async_pool resource management, moved parts of async_pool 223 - better async_pool resource management, moved parts of async_pool
19 handling to XS (major speed improvement). 224 handling to XS (major speed improvement).
225 - actually croak before modifying important data structures.
226 - refuse to transfer while compiling.
227 - possibly support eval EXPR better now.
228 - enable assembly per default on linux+bsd x86+amd64.
229 - all internal members were renamed _something for easier subclassing.
20 - many minor tweaks. 230 - many minor tweaks.
21 231
223.63 Wed May 16 14:10:06 CEST 2007 2323.63 Wed May 16 14:10:06 CEST 2007
23 - implement handcoded assembly for x86/amd64 SVR ABI. 233 - implement handcoded assembly for x86/amd64 SVR ABI.
24 234

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines