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

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

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