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

Legend:
Removed from v.8  
changed lines
  Added in v.1389

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