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

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

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