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

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

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