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 1717, Thu Nov 25 04:11:57 2004 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    [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    [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    [2003-09-12]
18            Accounted for changed type of inputLine.
19    
20    [2003-09-09]
21            Made CML compile under Win32 again.
22    
23    [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    [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    [2003-04-21]
35            The CleanUp.logMailbox function was not protected against
36            interrupts (thanks to David Benson for catching this bug).
37    
38    [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    [2003-03-10]
45            Documentation cleanup.
46    
47    [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    [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    
66    [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    
71    [2001-01-14]
72            Fixed a bug in the timeout manager.  Cleanup actions were being
73            executed twice, which breaks withNack.
74    
75    [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    -----------------------------------------
100    
101    [1999-09-29]
102            Updated the CML Library to track additions to the SML/NJ Library.
103    
104    [1999-07-05]
105            Added support for Win32 sockets (thanks to Riccardo Pucella).
106    
107    [1998-08-04]
108            Added preliminary Win32 implementation (thanks to Riccardo Pucella).
109    
110    [1998-06-01]
111            Fixed type of inputLineEvt in CML_TEXT_STREAM_IO (thanks to A. Appel).
112    
113    [1998-03-12]
114            Fixed bug in ChanIOFn (failure to spawn threads).
115    
116    
117  Version 1.0.11 (SML/NJ 109.33 and 110)  Version 1.0.11 (SML/NJ 109.33 and 110)
118  --------------------------------------  --------------------------------------
119    
   - Added TextIO.scanStream function.  
120      [1997-11-21]      [1997-11-21]
121            Added TextIO.scanStream function.
122    
   - Added import of PathUtil:PATH_UTIL to CML library.  
123      [1997-11-21]      [1997-11-21]
124            Added import of PathUtil:PATH_UTIL to CML library.
125    
126    
127  Version 1.0.10 (SML/NJ 109.32)  Version 1.0.10 (SML/NJ 109.32)
128  ------------------------------  ------------------------------
129    
   - Fixed a scheduler bug that occured when the atomicState was SignalPending  
     and atomicSwitchTo was used to exit the atomic region.  
130      [1997-09-18]      [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    
   - Fixed a bug in the RunCML.doit code that prevented multiple runs (this bug  
     was exposed by the previous bug fix).  
134      [1997-09-15]      [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    
   - Fixed a serious bug with the internal condition variables (Event.atomicCVarSet  
     was not changing the state of the variable).  
138      [1997-09-15]      [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    
   - Introduced datatype rebinding to eliminate some structure opening.  
142      [1997-09-15]      [1997-09-15]
143            Introduced datatype rebinding to eliminate some structure opening.
144    
   - Moved definition of tidToString to RepTypes, so that it can be used in  
     debugging the CML internals.  
145      [1997-09-14]      [1997-09-14]
146            Moved definition of tidToString to RepTypes, so that it can be used in
147            debugging the CML internals.
148    
149    - Server initialization/shutdown is now handled by a dedicated cleanup  [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,      routine.  Eventually, each server should define its own cleanup routine,
152      and we'll get rid of logServer.      and we'll get rid of logServer.
     [1997-09-12]  
153    
   - Fixed bugs in the initialization and shutdown protocols for the standard  
     text streams.  
154      [1997-09-12]      [1997-09-12]
155            Fixed bugs in the initialization and shutdown protocols for the standard
156            text streams.
157    
158    
159  Version 1.0.9 (SML/NJ 109.31)  Version 1.0.9 (SML/NJ 109.31)
160  -----------------------------  -----------------------------
161    
   - Added cleanup code for the I/O stacks (including the standard I/O streams).  
162      [1997-09-02]      [1997-09-02]
163            Added cleanup code for the I/O stacks (including the standard I/O streams).
164    
165    - Implemented a clean-up mechansim that is similar to that provided by  [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      SML/NJ.  The logging of global servers for initialization/shutdown
168      is now done using cleaners, which provide somewhat finer control.      is now done using cleaners, which provide somewhat finer control.
169      Channel and mailbox logging is still supported, but the initialization      Channel and mailbox logging is still supported, but the initialization
170      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
171      of RunCML.      of RunCML.
     [1997-08-29]  
172    
   - Qualified the use of the "cont" type constructor, which is no longer  
     available at top level.  
173      [1997-08-28]      [1997-08-28]
174            Qualified the use of the "cont" type constructor, which is no longer
175            available at top level.
176    
   - Replaced a few holdover uses of "abstraction" with opaque signature matching.  
177      [1997-08-28]      [1997-08-28]
178            Replaced a few holdover uses of "abstraction" with opaque signature matching.
179    
180    - RunCML.doit now returns an OS.Process.status value.  If a CML program  [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      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,      is returned as the result.  If the system shuts down because of deadlock,
184      the OS.Process.failure is returned.      the OS.Process.failure is returned.
     [1997-08-15]  
185    
186    - Many changes to ensure that exportFn images do not include the entire  [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      top-level environment.  These include: using SMLofNJ.isolate to create
189      top-level continuations, and reimplementing RunCML.exportFn to do better      top-level continuations, and reimplementing RunCML.exportFn to do better
190      housekeeping.  To get this to work also required a number of changes      housekeeping.  To get this to work also required a number of changes
191      to the SML/NJ sources.      to the SML/NJ sources.
     [1997-08-15]  
192    
   - Fixed bug in scheduler, where a timer interrupt in an atomic region  
     was not getting marked by SignalPending.  
193      [1997-08-15]      [1997-08-15]
194            Fixed bug in scheduler, where a timer interrupt in an atomic region
195            was not getting marked by SignalPending.
196    
   - The TextIO.output* functions did not implement line buffering; this  
     has now been added.  
197      [1997-07-24]      [1997-07-24]
198            The TextIO.output* functions did not implement line buffering; this
199            has now been added.
200    
201    
202  Version 1.0.8 (SML/NJ 109.30)  Version 1.0.8 (SML/NJ 109.30)
203  -----------------------------  -----------------------------
204    
   - Changed uses of System.Unsafe to Unsafe.  
205      [1997-07-11]      [1997-07-11]
206            Changed uses of System.Unsafe to Unsafe.
207    
   - Eliminated redefinition of Scheduler structure to avoid loss of inlining,  
     since the compiler handles this properly now.  
208      [1997-07-11]      [1997-07-11]
209            Eliminated redefinition of Scheduler structure to avoid loss of inlining,
210            since the compiler handles this properly now.
211    
   - Added Atom.atom' (tracking SML/NJ library changes)  
212      [1997-07-11]      [1997-07-11]
213            Added Atom.atom' (tracking SML/NJ library changes)
214    
   - Removed Array2:ARRAY2 from library, as this is now gone from the  
     SML/NJ library.  
215      [1997-06-30]      [1997-06-30]
216            Removed Array2:ARRAY2 from library, as this is now gone from the
217            SML/NJ library.
218    
219    
220  Version 1.0.7 (SML/NJ 109.29)  Version 1.0.7 (SML/NJ 109.29)
221  -----------------------------  -----------------------------
222    
   - Changed OS.IO.{pollErr,isErr} to OS.IO.{pollPri,isPri} (this tracks fixes  
     in the SML/NJ implementation of the SML Basis Library.  
223      [1997-06-11]      [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    
   - Changes to src/Unix/posix-bin-prim-io.sml to track basis fixes.  
227      [1997-06-11]      [1997-06-11]
228            Changes to src/Unix/posix-bin-prim-io.sml to track basis fixes.
229    
230    
231  Version 1.0.6 (SML/NJ 109.28)  Version 1.0.6 (SML/NJ 109.28)
232  -----------------------------  -----------------------------
233    
234    - Added a temporary fix so that input operations do not cause the whole  [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      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      CML version of the complete Posix API, which is the right way to avoid
238      this problem.      this problem.
     [1997-05-21]  
239    
240    - Added RunCML.exportFn.  [1997-05-21]
241            Added RunCML.exportFn.
242      NOTE: there are some problems with the size of exported images that      NOTE: there are some problems with the size of exported images that
243      need to be tracked down and fixed.      need to be tracked down and fixed.
     [1997-05-21]  
244    
245    
246  Version 1.0.5 (SML/NJ 109.26)  Version 1.0.5 (SML/NJ 109.26)
247  -----------------------------  -----------------------------
248    
   - Added SyncVar.{mSwap,mSwapEvt} operations, and changed the implementation  
     of multicast channels to use it.  
249      [1997-03-18]      [1997-03-18]
250            Added SyncVar.{mSwap,mSwapEvt} operations, and changed the implementation
251            of multicast channels to use it.
252    
   - Modified SyncVar.{mGet,mGetEvt} to resume other blocked threads (just  
     as iGet does).  
253      [1997-03-17]      [1997-03-17]
254            Modified SyncVar.{mGet,mGetEvt} to resume other blocked threads (just
255            as iGet does).
256    
   - Fixed a bug in SyncVar.{mTake,mTakeEvt}, where the cell was not getting  
     emptied in some execution paths.  
257      [1997-03-16]      [1997-03-16]
258            Fixed a bug in SyncVar.{mTake,mTakeEvt}, where the cell was not getting
259            emptied in some execution paths.
260    
261    - Added an "error thread," which is enqueued when CML is not running.  [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      This thread will get dispatched if someone tries to execute a CML
264      operation without using RunCML.doit (not including channel allocation,      operation without using RunCML.doit (not including channel allocation,
265      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
266      ensure that the current thread ID is initialized.      ensure that the current thread ID is initialized.
     [1997-03-15]  
267    
   - Fixed a serious bug in SyncVar.{iPut,mPut}, where the cell was not  
     getting filled in some cases.  
268      [1997-03-13]      [1997-03-13]
269            Fixed a serious bug in SyncVar.{iPut,mPut}, where the cell was not
270            getting filled in some cases.
271    
272    
273  Version 1.0.4 (SML/NJ 109.25.2)  Version 1.0.4 (SML/NJ 109.25.2)
274  -------------------------------  -------------------------------
275    
276    - Added some additional modules to the CML Library: IOUtil:IO_UTIL and  [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      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      reorganized the directory structure of the CML library to make it easier
280      to track changes in the SML/NJ Library.      to track changes in the SML/NJ Library.
     [1997-02-28]  
281    
   - Tracked changes in location of continuation operations changed in SML/NJ.  
282      [1997-02-28]      [1997-02-28]
283            Tracked changes in location of continuation operations changed in SML/NJ.
284    
285    
286  Version 1.0.3 (SML/NJ 109.25.1)  Version 1.0.3 (SML/NJ 109.25.1)
287  -------------------------------  -------------------------------
288    
   - Fixed bugs in the implementation of the pauseHook and schedulerHook in  
     RunCMLFn (missing atomicBegin).  
289      [1997-02-25]      [1997-02-25]
290            Fixed bugs in the implementation of the pauseHook and schedulerHook in
291            RunCMLFn (missing atomicBegin).
292    
   - Fixed bug in implementation of TraceCML when TraceToFile was set as the  
     destination.  
293      [1997-02-25]      [1997-02-25]
294            Fixed bug in implementation of TraceCML when TraceToFile was set as the
295            destination.
296    
   - Fixed bug in random access support in BinIOFn and TextIOFn (bug also in  
     SML/NJ implementation).  
297      [1997-02-18]      [1997-02-18]
298            Fixed bug in random access support in BinIOFn and TextIOFn (bug also in
299            SML/NJ implementation).
300    
   - Added logging/unlogging for global mailboxes.  
301      [1997-02-17]      [1997-02-17]
302            Added logging/unlogging for global mailboxes.
303    
   - Fixed bug in the TraceCML.unwatchThread.  Also changed the implementation  
     to avoid potential races between unwatching a thread and its termination.  
304      [1997-02-17]      [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    
308    - Various changes to the Scheduler module to improve robustness.  Added  [1997-02-15]
309            Various changes to the Scheduler module to improve robustness.  Added
310      an exception handler around the function in enqueueTmpThread.  Replaced      an exception handler around the function in enqueueTmpThread.  Replaced
311      enqueueCurThread with enqueueAndSwitchCurThread, which keeps the thread      enqueueCurThread with enqueueAndSwitchCurThread, which keeps the thread
312      ID bookkeeping in the same place.  And fixed a bug(?) where atomicSwitchTo      ID bookkeeping in the same place.  And fixed a bug(?) where atomicSwitchTo
313      was failing to set the current thread ID properly.      was failing to set the current thread ID properly.
     [1997-02-15]  
314    
   - Added sendPoll operation on channels to CML structure.  
315      [1997-02-04]      [1997-02-04]
316            Added sendPoll operation on channels to CML structure.
317    
318    
319  Version 1.0.2 (SML/NJ 109.25)  Version 1.0.2 (SML/NJ 109.25)
320  -----------------------------  -----------------------------
321    
   - Added documentation for the Multicast and TraceCML library modules.  
322      [1997-01-30]      [1997-01-30]
323            Added documentation for the Multicast and TraceCML library modules.
324    
   - Made minor improvements to the implementation of TraceCML.  
325      [1997-01-30]      [1997-01-30]
326            Made minor improvements to the implementation of TraceCML.
327    
328    - Changes to the SML/NJ system (available in 109.25) now make it possible  [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      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).      rebound to CML's version of TextIO.print when a CML program starts running).
     [1997-01-29]  
332    
   - Renamed CML.atEvt to CML.atTimeEvt.  
333      [1997-01-27]      [1997-01-27]
334            Renamed CML.atEvt to CML.atTimeEvt.
335    
   - Added SimpleRPC:SIMPLE_RPC to the CML library.  
336      [1997-01-26]      [1997-01-26]
337            Added SimpleRPC:SIMPLE_RPC to the CML library.
338    
   - 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.  
339      [1997-01-26]      [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    
343    
344  Version 1.0.1 (SML/NJ 109.22)  Version 1.0.1 (SML/NJ 109.22)
345  -----------------------------  -----------------------------
346    
   - Added UnixEnv:UNIX_ENV to the structures reexported from the CML library.  
347      [1996-11-09]      [1996-11-09]
348            Added UnixEnv:UNIX_ENV to the structures reexported from the CML library.
349    
   - Fixed bug in {TextIO,BinIO}.StreamIO.endOfStream, where more m-variable  
     was getting multiple puts.  
350      [1996-11-07]      [1996-11-07]
351            Fixed bug in {TextIO,BinIO}.StreamIO.endOfStream, where more m-variable
352            was getting multiple puts.
353    
354    
355  Version 1.0 (SML/NJ 109.21.1)  Version 1.0 (SML/NJ 109.21.1)
356  -----------------------------  -----------------------------
357    
   - Added version and banner to CML structure.  
358      [1996-11-01]      [1996-11-01]
359            Added version and banner to CML structure.
360    
   - Added CML version of Unix structure.  
361      [1996-11-01]      [1996-11-01]
362            Added CML version of Unix structure.
363    
   - Changed the implementation of the internal condition variables to make  
     them work correctly.  
364      [1996-11-01]      [1996-11-01]
365            Changed the implementation of the internal condition variables to make
366            them work correctly.
367    
   - Added implementation of OS.IO.poll and OS.IO.pollEvt.  
368      [1996-11-01]      [1996-11-01]
369            Added implementation of OS.IO.poll and OS.IO.pollEvt.
370    
   - Fixed implementation of Socket.connect.  
371      [1996-11-01]      [1996-11-01]
372            Fixed implementation of Socket.connect.
373    

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

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