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

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

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