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

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

Legend:
Removed from v.651  
changed lines
  Added in v.1323

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