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