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

Legend:
Removed from v.106  
changed lines
  Added in v.1927

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