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

Comparing Coro/Changes (file contents):
Revision 1.253 by root, Wed Oct 3 18:37:48 2007 UTC vs.
Revision 1.356 by root, Thu May 29 03:31:52 2008 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines