Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/cml/CHANGES
ViewVC logotype

Annotation of /sml/trunk/src/cml/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1323 - (view) (download)

1 : monnier 2 This is a record of changes made to CML and the CML Library.
2 :     ------------------------------------------------------------
3 : jhr 1267
4 : jhr 1323 [2003-05-09]
5 :     Added the missing implementation of StreamIO event constructors
6 :     (e.g., TextIO.StreamIO.inputEvt). Note that if you use these
7 :     operations, then the system may not shutdown when all user threads
8 :     are blocked.
9 :    
10 : jhr 1322 [2003-04-21]
11 :     The CleanUp.logMailbox function was not protected against
12 :     interrupts (thanks to David Benson for catching this bug).
13 :    
14 : mblume 1320 [2003-04-09]
15 :     Changed the name of the directory cml-lib/cm to cml-lib/cm-descr
16 :     in order to avoid a name conflict with cml-lib/CM which gets
17 :     created by the compilation manager. (On case-insensitive
18 :     filesystems such as the one used by MacOS X the two names clash.)
19 :    
20 : jhr 1321 [2003-03-10]
21 :     Documentation cleanup.
22 :    
23 : jhr 1267 [2002-10-01]
24 :     Fixed a bad space leak in the stream I/O implementations. The
25 :     cleanup hooks were holding onto the initial buffer, which
26 :     meant that the entire buffer chain would remain live as long
27 :     as the stream was live.
28 :    
29 : blume 844 [2001-06-20]
30 :     Ported to SML/NJ 110.33 (in particular, the new CM).
31 :     Under the new CM, the CML library is known as $cml/cml.cm
32 :     and there is a CML-specific replacement for $/basis.cm
33 :     known as $cml/basis.cm. Two additional libraries
34 :     ($cml/cml-internal.cm and $cml/core-cml.cm) are used
35 :     internally but should not be referred to directly by client code.
36 :     A CML-specific replacement for $/smlnj-lib.cm is
37 :     known as $cml-lib/smlnj-lib.cm. The trace module is
38 :     $cml-lib/trace-cml.cm. (The aforementioned $cml/core-cml.cm
39 :     exists mainly to make it possible for $cml-lib/trace-cml.cm
40 :     to refer to it.)
41 : monnier 2
42 : blume 844 [2001-03-8]
43 :     Fixed a problem in the ordering of clean-up actions. IO streams
44 :     were being cleaned before servers, which meant that servers could
45 :     not use I/O in initialization or shutdown.
46 : monnier 167
47 : blume 844 [2001-01-14]
48 :     Fixed a bug in the timeout manager. Cleanup actions were being
49 :     executed twice, which breaks withNack.
50 : monnier 167
51 : blume 844 [2000-12-12]
52 :     Fixed a bug in the I/O manager (core-cml/io-manager.sml), where
53 :     if there were two threads blocked on the same descriptor (one
54 :     reading and one writing), the result might be matched to the
55 :     wrong thread.
56 :    
57 :     [2000-09-28]
58 :     Version 1.0.13 (SML/NJ Version 110.0.7)
59 :    
60 :     [2000-09-27]
61 :     Updated the CML Library to track additions to the SML/NJ Library.
62 :    
63 :     [1999-12-08]
64 :     Fixed a collection of bugs in event.sml related to the handling of
65 :     negative acknowledgements.
66 :    
67 :     [1999-12-01]
68 :     Modified RunCML.doit to install a dummy print hook. This prevents
69 :     the bug of SML/NJ's print function being called during CML execution
70 :     (the CML print function is installed by code in TextIO, but that
71 :     code isn't loaded by CML when the application does not specifically
72 :     mention TextIO).
73 :    
74 :     Version 1.0.12 (SML/NJ 110.0.6 and 110.8)
75 : monnier 139 -----------------------------------------
76 : monnier 106
77 : blume 844 [1999-09-29]
78 :     Updated the CML Library to track additions to the SML/NJ Library.
79 : monnier 139
80 : blume 844 [1999-07-05]
81 :     Added support for Win32 sockets (thanks to Riccardo Pucella).
82 : monnier 139
83 : blume 844 [1998-08-04]
84 :     Added preliminary Win32 implementation (thanks to Riccardo Pucella).
85 : monnier 106
86 : blume 844 [1998-06-01]
87 :     Fixed type of inputLineEvt in CML_TEXT_STREAM_IO (thanks to A. Appel).
88 : monnier 106
89 : blume 844 [1998-03-12]
90 :     Fixed bug in ChanIOFn (failure to spawn threads).
91 :    
92 :    
93 : monnier 8 Version 1.0.11 (SML/NJ 109.33 and 110)
94 :     --------------------------------------
95 :    
96 : blume 844 [1997-11-21]
97 :     Added TextIO.scanStream function.
98 : monnier 8
99 : blume 844 [1997-11-21]
100 :     Added import of PathUtil:PATH_UTIL to CML library.
101 : monnier 8
102 :    
103 :     Version 1.0.10 (SML/NJ 109.32)
104 :     ------------------------------
105 :    
106 : blume 844 [1997-09-18]
107 :     Fixed a scheduler bug that occured when the atomicState was SignalPending
108 :     and atomicSwitchTo was used to exit the atomic region.
109 : monnier 8
110 : blume 844 [1997-09-15]
111 :     Fixed a bug in the RunCML.doit code that prevented multiple runs (this bug
112 :     was exposed by the previous bug fix).
113 : monnier 8
114 : blume 844 [1997-09-15]
115 :     Fixed a serious bug with the internal condition variables (Event.atomicCVarSet
116 :     was not changing the state of the variable).
117 : monnier 8
118 : blume 844 [1997-09-15]
119 :     Introduced datatype rebinding to eliminate some structure opening.
120 : monnier 8
121 : blume 844 [1997-09-14]
122 :     Moved definition of tidToString to RepTypes, so that it can be used in
123 :     debugging the CML internals.
124 : monnier 8
125 : blume 844 [1997-09-12]
126 :     Server initialization/shutdown is now handled by a dedicated cleanup
127 :     routine. Eventually, each server should define its own cleanup routine,
128 :     and we'll get rid of logServer.
129 : monnier 8
130 : blume 844 [1997-09-12]
131 :     Fixed bugs in the initialization and shutdown protocols for the standard
132 :     text streams.
133 : monnier 8
134 :    
135 : monnier 2 Version 1.0.9 (SML/NJ 109.31)
136 :     -----------------------------
137 :    
138 : blume 844 [1997-09-02]
139 :     Added cleanup code for the I/O stacks (including the standard I/O streams).
140 : monnier 2
141 : blume 844 [1997-08-29]
142 :     Implemented a clean-up mechansim that is similar to that provided by
143 :     SML/NJ. The logging of global servers for initialization/shutdown
144 :     is now done using cleaners, which provide somewhat finer control.
145 :     Channel and mailbox logging is still supported, but the initialization
146 :     is done by a dedicated cleaner. This change is part of the overhaul
147 :     of RunCML.
148 : monnier 2
149 : blume 844 [1997-08-28]
150 :     Qualified the use of the "cont" type constructor, which is no longer
151 :     available at top level.
152 : monnier 2
153 : blume 844 [1997-08-28]
154 :     Replaced a few holdover uses of "abstraction" with opaque signature matching.
155 : monnier 2
156 : blume 844 [1997-08-15]
157 :     RunCML.doit now returns an OS.Process.status value. If a CML program
158 :     uses OS.Process.{exit,terminate} to shutdown, then the status argument
159 :     is returned as the result. If the system shuts down because of deadlock,
160 :     the OS.Process.failure is returned.
161 : monnier 2
162 : blume 844 [1997-08-15]
163 :     Many changes to ensure that exportFn images do not include the entire
164 :     top-level environment. These include: using SMLofNJ.isolate to create
165 :     top-level continuations, and reimplementing RunCML.exportFn to do better
166 :     housekeeping. To get this to work also required a number of changes
167 :     to the SML/NJ sources.
168 : monnier 2
169 : blume 844 [1997-08-15]
170 :     Fixed bug in scheduler, where a timer interrupt in an atomic region
171 :     was not getting marked by SignalPending.
172 : monnier 2
173 : blume 844 [1997-07-24]
174 :     The TextIO.output* functions did not implement line buffering; this
175 :     has now been added.
176 : monnier 2
177 :    
178 :     Version 1.0.8 (SML/NJ 109.30)
179 :     -----------------------------
180 :    
181 : blume 844 [1997-07-11]
182 :     Changed uses of System.Unsafe to Unsafe.
183 : monnier 2
184 : blume 844 [1997-07-11]
185 :     Eliminated redefinition of Scheduler structure to avoid loss of inlining,
186 :     since the compiler handles this properly now.
187 : monnier 2
188 : blume 844 [1997-07-11]
189 :     Added Atom.atom' (tracking SML/NJ library changes)
190 : monnier 2
191 : blume 844 [1997-06-30]
192 :     Removed Array2:ARRAY2 from library, as this is now gone from the
193 :     SML/NJ library.
194 : monnier 2
195 :    
196 :     Version 1.0.7 (SML/NJ 109.29)
197 :     -----------------------------
198 :    
199 : blume 844 [1997-06-11]
200 :     Changed OS.IO.{pollErr,isErr} to OS.IO.{pollPri,isPri} (this tracks fixes
201 :     in the SML/NJ implementation of the SML Basis Library.
202 : monnier 2
203 : blume 844 [1997-06-11]
204 :     Changes to src/Unix/posix-bin-prim-io.sml to track basis fixes.
205 : monnier 2
206 :    
207 :     Version 1.0.6 (SML/NJ 109.28)
208 :     -----------------------------
209 :    
210 : blume 844 [1997-05-21]
211 :     Added a temporary fix so that input operations do not cause the whole
212 :     CML system to block waiting for input. Eventually, there should be a
213 :     CML version of the complete Posix API, which is the right way to avoid
214 :     this problem.
215 : monnier 2
216 : blume 844 [1997-05-21]
217 :     Added RunCML.exportFn.
218 :     NOTE: there are some problems with the size of exported images that
219 :     need to be tracked down and fixed.
220 : monnier 2
221 :    
222 :     Version 1.0.5 (SML/NJ 109.26)
223 :     -----------------------------
224 :    
225 : blume 844 [1997-03-18]
226 :     Added SyncVar.{mSwap,mSwapEvt} operations, and changed the implementation
227 :     of multicast channels to use it.
228 : monnier 2
229 : blume 844 [1997-03-17]
230 :     Modified SyncVar.{mGet,mGetEvt} to resume other blocked threads (just
231 :     as iGet does).
232 : monnier 2
233 : blume 844 [1997-03-16]
234 :     Fixed a bug in SyncVar.{mTake,mTakeEvt}, where the cell was not getting
235 :     emptied in some execution paths.
236 : monnier 2
237 : blume 844 [1997-03-15]
238 :     Added an "error thread," which is enqueued when CML is not running.
239 :     This thread will get dispatched if someone tries to execute a CML
240 :     operation without using RunCML.doit (not including channel allocation,
241 :     etc.). I also added a top-level call to Scheduler.reset, which will
242 :     ensure that the current thread ID is initialized.
243 : monnier 2
244 : blume 844 [1997-03-13]
245 :     Fixed a serious bug in SyncVar.{iPut,mPut}, where the cell was not
246 :     getting filled in some cases.
247 : monnier 2
248 :    
249 :     Version 1.0.4 (SML/NJ 109.25.2)
250 :     -------------------------------
251 :    
252 : blume 844 [1997-02-28]
253 :     Added some additional modules to the CML Library: IOUtil:IO_UTIL and
254 :     KeywordsFn. These were recent additions to the SML/NJ Library. I also
255 :     reorganized the directory structure of the CML library to make it easier
256 :     to track changes in the SML/NJ Library.
257 : monnier 2
258 : blume 844 [1997-02-28]
259 :     Tracked changes in location of continuation operations changed in SML/NJ.
260 : monnier 2
261 :    
262 :     Version 1.0.3 (SML/NJ 109.25.1)
263 :     -------------------------------
264 :    
265 : blume 844 [1997-02-25]
266 :     Fixed bugs in the implementation of the pauseHook and schedulerHook in
267 :     RunCMLFn (missing atomicBegin).
268 : monnier 2
269 : blume 844 [1997-02-25]
270 :     Fixed bug in implementation of TraceCML when TraceToFile was set as the
271 :     destination.
272 : monnier 2
273 : blume 844 [1997-02-18]
274 :     Fixed bug in random access support in BinIOFn and TextIOFn (bug also in
275 :     SML/NJ implementation).
276 : monnier 2
277 : blume 844 [1997-02-17]
278 :     Added logging/unlogging for global mailboxes.
279 : monnier 2
280 : blume 844 [1997-02-17]
281 :     Fixed bug in the TraceCML.unwatchThread. Also changed the implementation
282 :     to avoid potential races between unwatching a thread and its termination.
283 : monnier 2
284 : blume 844 [1997-02-15]
285 :     Various changes to the Scheduler module to improve robustness. Added
286 :     an exception handler around the function in enqueueTmpThread. Replaced
287 :     enqueueCurThread with enqueueAndSwitchCurThread, which keeps the thread
288 :     ID bookkeeping in the same place. And fixed a bug(?) where atomicSwitchTo
289 :     was failing to set the current thread ID properly.
290 : monnier 2
291 : blume 844 [1997-02-04]
292 :     Added sendPoll operation on channels to CML structure.
293 : monnier 2
294 :    
295 :     Version 1.0.2 (SML/NJ 109.25)
296 :     -----------------------------
297 :    
298 : blume 844 [1997-01-30]
299 :     Added documentation for the Multicast and TraceCML library modules.
300 : monnier 2
301 : blume 844 [1997-01-30]
302 :     Made minor improvements to the implementation of TraceCML.
303 : monnier 2
304 : blume 844 [1997-01-29]
305 :     Changes to the SML/NJ system (available in 109.25) now make it possible
306 :     to use the top-level print function in CML programs (it gets dynamically
307 :     rebound to CML's version of TextIO.print when a CML program starts running).
308 : monnier 2
309 : blume 844 [1997-01-27]
310 :     Renamed CML.atEvt to CML.atTimeEvt.
311 : monnier 2
312 : blume 844 [1997-01-26]
313 :     Added SimpleRPC:SIMPLE_RPC to the CML library.
314 : monnier 2
315 : blume 844 [1997-01-26]
316 :     Fixed a bug in the I/O manager for the case when two I/O events became
317 :     enabled for the same thread at the same time.
318 : monnier 2
319 :    
320 :     Version 1.0.1 (SML/NJ 109.22)
321 :     -----------------------------
322 :    
323 : blume 844 [1996-11-09]
324 :     Added UnixEnv:UNIX_ENV to the structures reexported from the CML library.
325 : monnier 2
326 : blume 844 [1996-11-07]
327 :     Fixed bug in {TextIO,BinIO}.StreamIO.endOfStream, where more m-variable
328 :     was getting multiple puts.
329 : monnier 2
330 :    
331 :     Version 1.0 (SML/NJ 109.21.1)
332 :     -----------------------------
333 :    
334 : blume 844 [1996-11-01]
335 :     Added version and banner to CML structure.
336 : monnier 2
337 : blume 844 [1996-11-01]
338 :     Added CML version of Unix structure.
339 : monnier 2
340 : blume 844 [1996-11-01]
341 :     Changed the implementation of the internal condition variables to make
342 :     them work correctly.
343 : monnier 2
344 : blume 844 [1996-11-01]
345 :     Added implementation of OS.IO.poll and OS.IO.pollEvt.
346 : monnier 2
347 : blume 844 [1996-11-01]
348 :     Fixed implementation of Socket.connect.
349 : monnier 2

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0