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

Comparing Coro/Changes (file contents):
Revision 1.234 by root, Wed Sep 19 21:39:15 2007 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
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
7 (which is cool in a lot of important aspects (failures!), 5 (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 - 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.
11 - added Coro::Semaphore::adjust. 146 - added Coro::Semaphore::adjust.
12 - added Coro::Util::fork_eval. 147 - added Coro::Util::fork_eval.
13 - incompatibly changed Coro::Storable::freeze.
14 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}. 148 - added Coro::Storable::{nfreeze,blocking_{freeze,nfreeze}}.
15 - added Coro::Debug, interactive coroutine debugging. 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.
16 159
173.63 Wed May 16 14:10:06 CEST 2007 1603.63 Wed May 16 14:10:06 CEST 2007
18 - implement handcoded assembly for x86/amd64 SVR ABI. 161 - implement handcoded assembly for x86/amd64 SVR ABI.
19 162
203.62 Fri Apr 27 21:36:06 CEST 2007 1633.62 Fri Apr 27 21:36:06 CEST 2007

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines