ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Coro/Changes
Revision: 1.91
Committed: Thu Apr 1 02:29:05 2004 UTC (20 years, 1 month ago) by pcg
Branch: MAIN
Changes since 1.90: +6 -0 lines
Log Message:
*** empty log message ***

File Contents

# Content
1 Revision history for Perl extension Coro.
2
3 - made Coro to work _better_ with threads (it seems that, as long
4 as you use Coros in one thread only everything will work fine.
5 Looking at the perl source the problem might be missing locking
6 between Coro and some perl internal routines. That's not easily
7 fixable).
8
9 0.95 Sun Feb 15 03:20:28 CET 2004
10 - removed Coro::State::flush, implemented a new and much
11 faster caching mechanism by attaching magic to the CV.
12 - a memleak with (real) closures remains.
13 - dramatically reduced size of stacks to 65536 (linux/x86), after
14 observing that even myhttpd never had more than a kilobyte
15 of stack in use (stack is still only physically allocated in
16 pagesize increments for systems suporting mmap).
17 - fix for a "cygwin-64" architecture added, proposed by Stefan Traby.
18 - fix for threaded perl.
19
20 0.9 Sun Nov 23 04:32:39 CET 2003
21 - fix a few very hard to track down but (of course) stupid
22 memory leaks.
23 - stringify version number to avoid locale problems :(.
24 - perl 5.9.0 does not have SvPADBUSY, reported by Scott Walters,
25 hopefully ignoring it "just works".
26
27 0.8 Wed Nov 5 19:38:40 CET 2003
28 - port to perl5.005_03, but only 5.8.x+ is supported!
29 - honor LocalAddr even without LocalPort in Coro::Socket.
30
31 0.7 Tue May 27 03:12:38 CEST 2003
32 - the version jump indicates some level of testing, not gobs
33 of new features.
34 - uh... I found the prompt function in ExtUtils::MakeMaker.
35 Highly correct stuff, that is...
36 - fixed(?) a bug with die's in coroutines causing "panic: top_env".
37 the fix is not well understood by the author, so beware :(.
38
39 0.652 Thu May 8 02:54:46 CEST 2003
40 - Applied patch by Slaven Rezic to set default to "s" on FreeBSD,
41 cause version 4 doesn't have ucontext.
42 - Benjamin Reed reported that setjmp works fine on darwin,
43 so preselect it.
44
45 0.651 Sat Mar 29 15:00:23 CET 2003
46 - fix a bug in Coro::Handle where some bytes could get lost
47 on reading, reported by jason@nichego.net.
48
49 0.65 Sun Mar 23 00:08:26 CET 2003
50 - added a README.linux-glibc.
51 - new module Coro::Select.
52 - also save/restore PL_comppad, fixes segfaults with 5.8.1.
53 (I never claimed that I know what I am doing ;).
54 - set default to setjmp/longjmp on non-x86-linux.
55
56 0.6 Thu Nov 21 11:09:06 CET 2002
57 - made lazy context switching the default.
58 - fixed the bug where SemaphoreSet::guard
59 was the same as timed_guard and timed_guard was missing.
60 - fix a memleak in Coro::Timer.
61 - reclassified context sharing as not experimental.
62
63 0.534 Sun Apr 14 03:05:12 CEST 2002
64 - fixed backspace => tab in header parsing (myhttpd).
65 - added eg/readline, for elmex.
66 - Coro::Event now calls ->start on first call instead of
67 ->again, which created wrong timeouts for the first ->next.
68 - fixed a bug where Coro::Socket returned a closed socket instead
69 of nothing on ECONNREFUSED and similar error conditions.
70
71 0.533 Mon Feb 18 18:49:40 CET 2002
72 - adapt to finally working Event-0.85.
73 - fixed buggy event initialization (trapped under windows, but how
74 could it possibly have worked anywhere?)
75
76 0.532 Wed Jan 16 02:45:32 CET 2002
77 - removed the reference to pp_entersub, might work on
78 (some) win32 perls now (testsuite works under cygwin,
79 without Event, which freezes).
80
81 0.531 Mon Dec 10 22:18:44 CET 2001
82 - Fixed a bug in SemaphoreSet::timed_down.
83
84 0.53 Tue Nov 27 21:11:13 CET 2001
85 - some tests for Event.
86 - slightly different internal architecture to get refcnt into the object
87 and not the reference. might fix a few bugs, certainly did introduce
88 new ones.
89 - Coro::Timer (independent of Event).
90 - new timed_wait functions for Coro::Signal, Semaphore, SemaphoreSet.
91
92 0.52 Tue Nov 6 21:36:18 CET 2001
93 - ported to cygwin (trivial).
94 patch by Gerrit P. Haase <gp@familiehaase.de>.
95 - small setjmp code fix by Sullivan.DanielJ@epamail.epa.gov.
96
97 0.51 Thu Nov 1 20:39:01 CET 2001
98 - terminate/cancel now work properly (otherwise termination
99 could cause a "next coroutine is not and contains not..."
100 error.
101 - added Coro::Socket::shutdown.
102 - Coro::Event::loop no is the same as Event::loop.
103 - implemented terminate with args + join.
104
105 0.5 Fri Sep 28 16:15:35 CEST 2001
106 - fixed "print" on a Coro::Handle. The print method worked.
107 - small tweaks (seem to reduce memory consumption a lot)
108 in various modules.
109 - splendid use of "no warnings" scattered throughout.
110 - added Coro::Handle::rbuf, fixed Coro::Handle::fh.
111
112 0.49 Sun Sep 16 02:42:45 CEST 2001
113 - changed some method calls to function calls for speed
114 inside Coro::Handle.
115 - make Coro::Handle use an array instead of a hash for
116 speed reasons.
117 - IRIX mystery solved: it's SGI's NT, after all: "standard, huh?".
118 sjlj and ucontext should now work.
119 - IRIX-specific port for libcoro.
120 - swapped order of accept results to match IO::Socket.
121 - changed getsock/peername to sock/peername to match IO::Socket.
122 - fixed a bug that caused segfault when returning to main task
123 under some circumstances.
124 - other bugfixes.
125
126 0.45 Sun Sep 2 02:54:01 CEST 2001
127 - new method Coro::Handle::timeout.
128 - corrected speling of set...name to get...name in Coro::Socket.
129 - Coro::Socket::accept now returns a Coro::Socket, not a Coro::Handle.
130 - Coro::Handle now supports fileno and FILENO.
131 - added eg/myhttpd, a web server.
132 - Coro::Socket now accepts numeric ports as well as "port(number)"
133 syntax.
134 - moved some scheduling primitives into xs code. more to come.
135 - new simple priority system.
136 - implemented Coro::Event using XS, almost four times faster!
137 - small memory corruption problem fixed (boy that was difficult).
138
139 0.13 Wed Aug 8 16:53:07 CEST 2001
140 - new method Coro::Handle::readline.
141 - added eg/lwp and Coro::Handle::autoflush, to make LWP work.
142 (see eg/lwp on how to make LWP non-blocking).
143 - renamed Coro::Socket::new_inet to new.
144 - added Coro::Util, some utility functions.
145 - die/eval now works better (still get annoying (but true ;)
146 "Callback called exit" messages).
147 - Coro::Handle now supports timeout, and Coro::Socket Timeout.
148 - much better Coro::Socket support.
149
150 0.12 Fri Jul 27 04:19:01 CEST 2001
151 - do not use mmap if neither MAP_ANON nor MAP_ANONYMOUS is defined.
152 - very experimental stack sharing algorithm. not 100% safe but
153 should work well in practise ;)
154 - added Coro::RWLock.
155 - Coro::Specific now works.
156
157 0.11 Tue Jul 24 22:49:21 CEST 2001
158 - added specialized hack for newer and older linux versions (fast).
159 - renamed Coro::Event::IO to Coro::Handle.
160 - new module Coro::Socket.
161
162 0.1 Tue Jul 24 01:47:53 CEST 2001
163 - release candidate 3. A rather new internal structure :(
164 - the great renaming: Damian Conway gave me a suitable replacement
165 for yield.
166 - added Coro/libcoro, a portable coroutine implementation for C
167 (not even perl-dependent!!!), which can be used by Coro::State.
168 - renamed SAVE_DEFSV (on xs-level only) to avoid symbol clash in
169 perl-5.6.
170 - new function Coro::Event::idle.
171 - the idle process is now overriden
172 by default in Coro::Event.
173 - Coro::Channel now enforces the size.
174 - canceling events now works in all cases.
175 - Coro state now include $_ and $@.
176 - yet another bug workaround that I do not really understand :(
177 - new module Coro::Event::IO (very undocumented) to do
178 non-blocking i/o.
179 - performance tuning.
180
181 0.08 Thu Jul 19 06:13:25 CEST 2001
182 - release candidate 2 (new functionality).
183 - add Coro::State::flush function.
184 - transfer now supports a flags value (mostly for speed ATM).
185 - might compile and work in the presence of threads now.
186 - continuations have a saner syntax.
187 - no more memleaks.
188
189 0.07 Tue Jul 17 17:40:18 CEST 2001
190 - release candidate 1 ;)
191 - slightly nicer code.
192 - fixed a scheduling bug in Coro::Event.
193
194 0.06 Tue Jul 17 04:23:24 CEST 2001
195 - ok, I found the showstopper - the same sub must not be
196 re-entered in two different coroutines, otherwise => crash. I
197 see no easy solution to this problem, except by walking the call
198 chaing and saving/restoring the cv's, which is what I do now.
199 - memory leaks still latent, especially at thread termination.
200 - Coro::Event now works (haha).
201
202 0.05 Sun Jul 15 17:32:20 CEST 2001
203 - fixed a few issues in Coro::Event.
204 - I forgot to include Coro::Event in 0.04 :(:(:(
205
206 0.04 Sun Jul 15 05:24:59 CEST 2001
207 - @_ is now properly localized.
208 - Coro::State is now easier subclassable.
209 - Coro::Cont now coroutine-aware.
210 - Coro::Specific is a low-overhead module to create
211 coroutine-specific vars.
212 - Coro::Event provides a simple interface to Event.
213
214 0.03 Fri Jul 13 14:51:52 CEST 2001
215 - transfer() now implemented in XS (beware).
216 - new module Coro::Cont for really faked continuations.
217 - big internal architecture changes: Coro::State is now
218 really low-level and can thus be used to implement other
219 interesting things, While "Coro::" implements a process-like
220 model. Still crude and subject to change.
221 - $_ and $@ are no longer being localized.
222
223 0.02 Tue Jul 10 01:38:17 CEST 2001
224 - implemented "async" attribute.
225 - $_ and $@ are now localized.
226 - added Coro::Channel.
227 - more testcases, still no docs.
228
229 0.01 Tue Jul 3 02:18:41 CEST 2001
230 - original version; copied from Convert::Scalar.
231