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

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

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