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

SCM Repository

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

Diff of /sml/trunk/src/cml/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.843  
changed lines
  Added in v.844

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