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 /cml/trunk/CHANGES
ViewVC logotype

Annotation of /cml/trunk/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1717 - (view) (download)
Original Path: sml/trunk/src/cml/CHANGES

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

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