Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /cml/trunk/CHANGES
ViewVC logotype

Annotation of /cml/trunk/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1770 - (view) (download)
Original Path: sml/trunk/src/cml/CHANGES

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

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