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 2338 - (view) (download)

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

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