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

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

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