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