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

Diff of /cml/trunk/CHANGES

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

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

Legend:
Removed from v.139  
changed lines
  Added in v.1350

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