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

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