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

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