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

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

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