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

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

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