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 1759 - (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 1759 [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 : mblume 1717 [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 : mblume 1389 [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 : mblume 1368 [2003-09-12]
24 :     Accounted for changed type of inputLine.
25 :    
26 : mblume 1354 [2003-09-09]
27 :     Made CML compile under Win32 again.
28 :    
29 : mblume 1350 [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 : jhr 1323 [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 : jhr 1322 [2003-04-21]
41 :     The CleanUp.logMailbox function was not protected against
42 :     interrupts (thanks to David Benson for catching this bug).
43 :    
44 : mblume 1320 [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 : jhr 1321 [2003-03-10]
51 :     Documentation cleanup.
52 :    
53 : jhr 1267 [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 : blume 844 [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 : monnier 2
72 : blume 844 [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 : monnier 167
77 : blume 844 [2001-01-14]
78 :     Fixed a bug in the timeout manager. Cleanup actions were being
79 :     executed twice, which breaks withNack.
80 : monnier 167
81 : blume 844 [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 : monnier 139 -----------------------------------------
106 : monnier 106
107 : blume 844 [1999-09-29]
108 :     Updated the CML Library to track additions to the SML/NJ Library.
109 : monnier 139
110 : blume 844 [1999-07-05]
111 :     Added support for Win32 sockets (thanks to Riccardo Pucella).
112 : monnier 139
113 : blume 844 [1998-08-04]
114 :     Added preliminary Win32 implementation (thanks to Riccardo Pucella).
115 : monnier 106
116 : blume 844 [1998-06-01]
117 :     Fixed type of inputLineEvt in CML_TEXT_STREAM_IO (thanks to A. Appel).
118 : monnier 106
119 : blume 844 [1998-03-12]
120 :     Fixed bug in ChanIOFn (failure to spawn threads).
121 :    
122 :    
123 : monnier 8 Version 1.0.11 (SML/NJ 109.33 and 110)
124 :     --------------------------------------
125 :    
126 : blume 844 [1997-11-21]
127 :     Added TextIO.scanStream function.
128 : monnier 8
129 : blume 844 [1997-11-21]
130 :     Added import of PathUtil:PATH_UTIL to CML library.
131 : monnier 8
132 :    
133 :     Version 1.0.10 (SML/NJ 109.32)
134 :     ------------------------------
135 :    
136 : blume 844 [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 : monnier 8
140 : blume 844 [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 : monnier 8
144 : blume 844 [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 : monnier 8
148 : blume 844 [1997-09-15]
149 :     Introduced datatype rebinding to eliminate some structure opening.
150 : monnier 8
151 : blume 844 [1997-09-14]
152 :     Moved definition of tidToString to RepTypes, so that it can be used in
153 :     debugging the CML internals.
154 : monnier 8
155 : blume 844 [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,
158 :     and we'll get rid of logServer.
159 : monnier 8
160 : blume 844 [1997-09-12]
161 :     Fixed bugs in the initialization and shutdown protocols for the standard
162 :     text streams.
163 : monnier 8
164 :    
165 : monnier 2 Version 1.0.9 (SML/NJ 109.31)
166 :     -----------------------------
167 :    
168 : blume 844 [1997-09-02]
169 :     Added cleanup code for the I/O stacks (including the standard I/O streams).
170 : monnier 2
171 : blume 844 [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
174 :     is now done using cleaners, which provide somewhat finer control.
175 :     Channel and mailbox logging is still supported, but the initialization
176 :     is done by a dedicated cleaner. This change is part of the overhaul
177 :     of RunCML.
178 : monnier 2
179 : blume 844 [1997-08-28]
180 :     Qualified the use of the "cont" type constructor, which is no longer
181 :     available at top level.
182 : monnier 2
183 : blume 844 [1997-08-28]
184 :     Replaced a few holdover uses of "abstraction" with opaque signature matching.
185 : monnier 2
186 : blume 844 [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
189 :     is returned as the result. If the system shuts down because of deadlock,
190 :     the OS.Process.failure is returned.
191 : monnier 2
192 : blume 844 [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
195 :     top-level continuations, and reimplementing RunCML.exportFn to do better
196 :     housekeeping. To get this to work also required a number of changes
197 :     to the SML/NJ sources.
198 : monnier 2
199 : blume 844 [1997-08-15]
200 :     Fixed bug in scheduler, where a timer interrupt in an atomic region
201 :     was not getting marked by SignalPending.
202 : monnier 2
203 : blume 844 [1997-07-24]
204 :     The TextIO.output* functions did not implement line buffering; this
205 :     has now been added.
206 : monnier 2
207 :    
208 :     Version 1.0.8 (SML/NJ 109.30)
209 :     -----------------------------
210 :    
211 : blume 844 [1997-07-11]
212 :     Changed uses of System.Unsafe to Unsafe.
213 : monnier 2
214 : blume 844 [1997-07-11]
215 :     Eliminated redefinition of Scheduler structure to avoid loss of inlining,
216 :     since the compiler handles this properly now.
217 : monnier 2
218 : blume 844 [1997-07-11]
219 :     Added Atom.atom' (tracking SML/NJ library changes)
220 : monnier 2
221 : blume 844 [1997-06-30]
222 :     Removed Array2:ARRAY2 from library, as this is now gone from the
223 :     SML/NJ library.
224 : monnier 2
225 :    
226 :     Version 1.0.7 (SML/NJ 109.29)
227 :     -----------------------------
228 :    
229 : blume 844 [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 : monnier 2
233 : blume 844 [1997-06-11]
234 :     Changes to src/Unix/posix-bin-prim-io.sml to track basis fixes.
235 : monnier 2
236 :    
237 :     Version 1.0.6 (SML/NJ 109.28)
238 :     -----------------------------
239 :    
240 : blume 844 [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
243 :     CML version of the complete Posix API, which is the right way to avoid
244 :     this problem.
245 : monnier 2
246 : blume 844 [1997-05-21]
247 :     Added RunCML.exportFn.
248 :     NOTE: there are some problems with the size of exported images that
249 :     need to be tracked down and fixed.
250 : monnier 2
251 :    
252 :     Version 1.0.5 (SML/NJ 109.26)
253 :     -----------------------------
254 :    
255 : blume 844 [1997-03-18]
256 :     Added SyncVar.{mSwap,mSwapEvt} operations, and changed the implementation
257 :     of multicast channels to use it.
258 : monnier 2
259 : blume 844 [1997-03-17]
260 :     Modified SyncVar.{mGet,mGetEvt} to resume other blocked threads (just
261 :     as iGet does).
262 : monnier 2
263 : blume 844 [1997-03-16]
264 :     Fixed a bug in SyncVar.{mTake,mTakeEvt}, where the cell was not getting
265 :     emptied in some execution paths.
266 : monnier 2
267 : blume 844 [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
270 :     operation without using RunCML.doit (not including channel allocation,
271 :     etc.). I also added a top-level call to Scheduler.reset, which will
272 :     ensure that the current thread ID is initialized.
273 : monnier 2
274 : blume 844 [1997-03-13]
275 :     Fixed a serious bug in SyncVar.{iPut,mPut}, where the cell was not
276 :     getting filled in some cases.
277 : monnier 2
278 :    
279 :     Version 1.0.4 (SML/NJ 109.25.2)
280 :     -------------------------------
281 :    
282 : blume 844 [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
285 :     reorganized the directory structure of the CML library to make it easier
286 :     to track changes in the SML/NJ Library.
287 : monnier 2
288 : blume 844 [1997-02-28]
289 :     Tracked changes in location of continuation operations changed in SML/NJ.
290 : monnier 2
291 :    
292 :     Version 1.0.3 (SML/NJ 109.25.1)
293 :     -------------------------------
294 :    
295 : blume 844 [1997-02-25]
296 :     Fixed bugs in the implementation of the pauseHook and schedulerHook in
297 :     RunCMLFn (missing atomicBegin).
298 : monnier 2
299 : blume 844 [1997-02-25]
300 :     Fixed bug in implementation of TraceCML when TraceToFile was set as the
301 :     destination.
302 : monnier 2
303 : blume 844 [1997-02-18]
304 :     Fixed bug in random access support in BinIOFn and TextIOFn (bug also in
305 :     SML/NJ implementation).
306 : monnier 2
307 : blume 844 [1997-02-17]
308 :     Added logging/unlogging for global mailboxes.
309 : monnier 2
310 : blume 844 [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 : monnier 2
314 : blume 844 [1997-02-15]
315 :     Various changes to the Scheduler module to improve robustness. Added
316 :     an exception handler around the function in enqueueTmpThread. Replaced
317 :     enqueueCurThread with enqueueAndSwitchCurThread, which keeps the thread
318 :     ID bookkeeping in the same place. And fixed a bug(?) where atomicSwitchTo
319 :     was failing to set the current thread ID properly.
320 : monnier 2
321 : blume 844 [1997-02-04]
322 :     Added sendPoll operation on channels to CML structure.
323 : monnier 2
324 :    
325 :     Version 1.0.2 (SML/NJ 109.25)
326 :     -----------------------------
327 :    
328 : blume 844 [1997-01-30]
329 :     Added documentation for the Multicast and TraceCML library modules.
330 : monnier 2
331 : blume 844 [1997-01-30]
332 :     Made minor improvements to the implementation of TraceCML.
333 : monnier 2
334 : blume 844 [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
337 :     rebound to CML's version of TextIO.print when a CML program starts running).
338 : monnier 2
339 : blume 844 [1997-01-27]
340 :     Renamed CML.atEvt to CML.atTimeEvt.
341 : monnier 2
342 : blume 844 [1997-01-26]
343 :     Added SimpleRPC:SIMPLE_RPC to the CML library.
344 : monnier 2
345 : blume 844 [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 : monnier 2
349 :    
350 :     Version 1.0.1 (SML/NJ 109.22)
351 :     -----------------------------
352 :    
353 : blume 844 [1996-11-09]
354 :     Added UnixEnv:UNIX_ENV to the structures reexported from the CML library.
355 : monnier 2
356 : blume 844 [1996-11-07]
357 :     Fixed bug in {TextIO,BinIO}.StreamIO.endOfStream, where more m-variable
358 :     was getting multiple puts.
359 : monnier 2
360 :    
361 :     Version 1.0 (SML/NJ 109.21.1)
362 :     -----------------------------
363 :    
364 : blume 844 [1996-11-01]
365 :     Added version and banner to CML structure.
366 : monnier 2
367 : blume 844 [1996-11-01]
368 :     Added CML version of Unix structure.
369 : monnier 2
370 : blume 844 [1996-11-01]
371 :     Changed the implementation of the internal condition variables to make
372 :     them work correctly.
373 : monnier 2
374 : blume 844 [1996-11-01]
375 :     Added implementation of OS.IO.poll and OS.IO.pollEvt.
376 : monnier 2
377 : blume 844 [1996-11-01]
378 :     Fixed implementation of Socket.connect.
379 : monnier 2

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