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

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

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