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 /doc/trunk/src/changelog/HISTORY.txt
ViewVC logotype

Annotation of /doc/trunk/src/changelog/HISTORY.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4368 - (view) (download)

1 : jhr 3992 Standard ML of New Jersey Change Log
2 :     ====================================
3 :     The Fellowship of SML/NJ
4 : jhr 3998 {version}, {releasedate}:
5 : jhr 3992
6 : jhr 4002 This file documents changes to the Standard ML of New Jersey system since
7 :     March of 2000 (around Version 110.26). The change log primarily covers
8 :     the compiler, the compilation manager (*CM*), the *MLRISC* library, and
9 :     the runtime system. There are occasional entries about other components
10 :     (_e.g._, the *SML/NJ Library* and *ML-LPT*), but these components have
11 :     their own change logs that should be consulted.
12 :    
13 : jhr 3992 //////////////////////////////////////////////////////////////////////
14 :     This change log is in ASCII doc format. An HTML version of the
15 :     change log can be generated using the command
16 :    
17 : jhr 4049 make html
18 : jhr 3992
19 :     An entry should be made for _every_ commit to the repository.
20 :     The entries in this file will be used when creating the README
21 :     for new versions, so keep that in mind when writing the
22 :     description.
23 :    
24 :     The structure of the HISTORY is that there is a section for
25 :     each release, which starts with a section header of the form
26 :    
27 :     == Version xxx.yy; yyyy/mm/dd
28 :    
29 :     The content of a section is a list of entries. The form of an
30 :     entry should be:
31 :    
32 :     [yyy/mm/dd]::
33 :     +
34 : jhr 3995 Description ...
35 : jhr 3992 +
36 :     owner:[Your Name,URL]
37 :    
38 : jhr 3995 Note that we put "+" at the beginning of blank lines. Entries are items
39 :     in a labeled list and the "+" character keeps eveything in the same list
40 :     element.
41 :    
42 : jhr 3992 Here is a quick asciidoc cheat sheet:
43 :    
44 :     + new paragraph
45 :     *foo* bold "foo"
46 :     _foo_ italic "foo"
47 :     +foo+ teletype "foo"
48 :     http:/some.website.org/path[] URL
49 :     bugref:[123] displays as "#123" with
50 :     a link to the bug report.
51 : jhr 4134 reqref:[123] displays as "#123" with a
52 :     link to the feature request.
53 : jhr 3992 owner:[name,url] displays name with URL link.
54 :    
55 : jhr 3995 Sub lists should be bracketed with lines containing just "--".
56 : jhr 3992 Bulleted list items start with a single dash or one to five
57 : dbm 4298 asterisks followed by some white space then some text. Numbered
58 : jhr 3992 list items begin one to five period characters, followed by
59 :     some white space then the item text.
60 :    
61 : jhr 3995 Literal (verbatim) blocks are delimited by
62 :     .....................
63 :     stuff
64 :     .....................
65 :    
66 : jhr 3992 Superscripts and subscripts are denoted by putting ^ (or ~)
67 :     around the text to superscripted (superscripted). For example,
68 :     the number 256 can be written as 2^8^.
69 :    
70 :     SML source code displays can be included as source blocks:
71 :    
72 :     [source,sml]
73 :     ------------
74 :     structure Foo = struct val x = 1 end
75 :     ------------
76 :    
77 :     Source code will be stylized using the pygmentize (http://pygments.org)
78 :     tool.
79 :    
80 :     More information about asciidoc can be found at http://asciidoc.org.
81 :    
82 : jhr 4002 NOTE: the original HISTORY file was converted to ASCIIDOC using a Perl
83 :     script. This script gets the basic structure for entries correct,
84 :     but there still needs to be a fair bit of editing to add ASCIIDOC
85 :     markup, fix indentation issues, nested lists, etc. Working from most
86 :     recent to oldest, I've edited back to release 110.46 (2004/06/17).
87 :    
88 : jhr 3992 //////////////////////////////////////////////////////////////////////
89 :    
90 : jhr 4157 //====================================================================
91 : jhr 4340 //== Recent updates
92 : jhr 4220
93 : jhr 4366 //--------------------------------------------------------------------
94 : jhr 4368 [2017/06/07]::
95 :     +
96 :     Updated _arch-n-os script to recognize macOS 10.13 (High Sierra)
97 :     as a valid target.
98 :     +
99 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
100 :    
101 :     //--------------------------------------------------------------------
102 : jhr 4366 [2017/05/17]::
103 :     +
104 :     Fixed a bug in the way that JSON string values were being printed.
105 :     The code previously assumed that C-style esaping will work, but
106 :     that is not true for "\'" (as well as for control and non-ASCII
107 :     characters). The new implementation assumes that the string value
108 :     is UTF-8 and uses the "\\u" escape sequences for characters outside
109 :     the JSON escapes and printable ASCII characters.
110 :     +
111 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
112 :    
113 : jhr 4340 //====================================================================
114 :     == Version 110.81; 2017/05/01
115 :    
116 : jhr 4317 //--------------------------------------------------------------------
117 : jhr 4331 [2017/04/28]::
118 : jhr 4322 +
119 : jhr 4331 Fixed bug bugref:[129] (Symbolic identifiers are allowed as strids).
120 :     +
121 :     owner:[Dave MacQueen,http://cs.uchicago.edu/~dbm]
122 :    
123 :     //--------------------------------------------------------------------
124 :     [2017/04/07]::
125 :     +
126 :     Fixed bug bugref:[179] (ml-ulex writing debug messages to stdOut).
127 :     Both **ml-ulex** and **ml-antlr** now direct their debug and status messages
128 :     to ++stdErr++ (instead of ++stdOut++).
129 :     +
130 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
131 :    
132 :     //--------------------------------------------------------------------
133 :     [2017/02/09]::
134 :     +
135 : jhr 4322 Linux distributions are starting to require that the stack be marked
136 :     as non-executable in applications. Because the runtime system includes
137 :     assembly code, this marking was not happening. We've added ++.section++
138 :     directives to the ++PPC.prim.asm++ and ++X86.prim.asm++ files as
139 :     per https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart#Patching[].
140 :     Thanks to Daniel Moerner for reporting this issue and for providing
141 :     a pointer the to fix.
142 : jhr 4324 +
143 : jhr 4331 owner:[John Reppy,http://cs.uchicago.edu/~jhr]
144 : jhr 4324
145 :     //--------------------------------------------------------------------
146 : jhr 4320 [2016/10/15]::
147 :     +
148 :     Added ++--debug++ command-line option to *ml-antlr*.
149 :     This flag causes <b>ml-antlr</b> to generate debug actions that print
150 :     the left-hand-side non-terminal of the production.
151 :     +
152 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
153 :    
154 :     //--------------------------------------------------------------------
155 : dbm 4315 [2016/09/15]::
156 :     +
157 : jhr 4317 Working on 64-bit support. Changes include making code generation
158 :     dependent on the target word size and abstracting over the BIBOP
159 :     representation in the runtime system.
160 :     +
161 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
162 :    
163 :     //--------------------------------------------------------------------
164 :     [2016/09/15]::
165 :     +
166 : dbm 4315 Further cleanup of the separation of FLINT from the front-end.
167 : jhr 4317 Eliminated all references to +ModulePropLists+ (+module-plists.sml+) in
168 : jhr 4334 the front end and in pickling, and moved ++module-plists++ from
169 :     ++Semant/modules++ to ++FLINT/trans++. +ModulePropLists+ is now only used
170 : jhr 4317 in +FLINT/trans/translate.sml+.
171 : dbm 4315 +
172 :     Revision: 4314
173 :     +
174 :     Files changed:
175 :     +
176 :     --
177 : jhr 4319 - +compiler/ElabData/modules/modules.sml+ (cleaned up)
178 :     - +compiler/Elaborator/print/ppmod.sml+ (cleaned up)
179 :     - +compiler/FLINT/trans/module-plists.sml+ (moved from +Semant/modules+)
180 :     - +compiler/Semant/modules/instantiate-param.sml+ (deleted)
181 :     - +compiler/Semant/pickle/pickmod.sml+ (no longer mentions property lists)
182 :     - +compiler/Semant/pickle/unpickmod.sml+ (ditto)
183 :     - +compiler/Semant/statenv/prim.sml+
184 :     - +compiler/Semant/types/tp-var-info.sml+ (deleted)
185 :     - +compiler/core.cm+ (modified for move of +module-plists.sml+)
186 : dbm 4315 --
187 :     +
188 :     owner:[Dave MacQueen,http://cs.uchicago.edu/~dbm]
189 :    
190 : jhr 4317 //--------------------------------------------------------------------
191 : jhr 4310 [2016/09/14]::
192 :     +
193 : jhr 4334 Eliminated dependency of ++PlambdaType++ from the front end by adding a
194 :     type ++TKind.tkind++ which is a simplified standin for ++PlambdaType.tkind++
195 :     for use during elaboration. ++TKind.tkind++ values are translated on
196 :     demand to ++PlambdaType.tkind++ in ++trans/transtypes.sml++. Types still has
197 :     a ++tycpath++ type but it is defined using ++TKind.tkind++ now. The new structure
198 :     ++SigPropList++ replaces ++ModulePropLists++
199 :     (++Semant/modules/module-plists.sml++) for use in ++instantiate.sml++.
200 :     ++Instantiate++ is now defined directly as a structure so the functor
201 :     application in ++Semant/modules/instantiate.sml++ no longer exists.
202 : dbm 4311 +
203 :     Files changed:
204 :     +
205 :     --
206 : jhr 4319 - +ElabData/basics/debindex.sig+ (moved here from +Elaborator/basics+)
207 :     - +ElabData/basics/debindex.sml+ (ditto)
208 :     - +ElabData/basics/sig-plist.sml+ (new)
209 :     - +ElabData/basics/tkind.sml+ (new)
210 :     - +ElabData/types/types.sig+
211 :     - +ElabData/types/types.sml+
212 :     - +Elaborator/modules/instantiate.sml+
213 :     - +Elaborator/print/ppmod.sml+
214 :     - +FLINT/trans/transtkind.sml+ (new)
215 :     - +FLINT/trans/transtypes.sml+
216 :     - +TopLevel/interact/evalloop.sml+
217 :     - +ElabData/elabdata.cm+
218 :     - +Elaborator/elaborate.cm+
219 :     - +core.cm+
220 : dbm 4311 --
221 :     +
222 :     owner:[Dave MacQueen,http://cs.uchicago.edu/~dbm]
223 :    
224 : jhr 4317 //--------------------------------------------------------------------
225 : dbm 4311 [2016/09/14]::
226 :     +
227 : jhr 4310 Added support for Successor ML record-expression-punning syntax. For
228 : jhr 4334 example, one can now define a function ++f++ as
229 :     +
230 :     [source,sml]
231 :     ----------------
232 : jhr 4310 fun f x = {x}
233 : jhr 4334 ----------------
234 : jhr 4310 +
235 : jhr 4334 which is equivalent to the definition
236 :     +
237 :     [source,sml]
238 :     ----------------
239 :     fun f x = {x = x}
240 :     ----------------
241 :     +
242 : jhr 4310 owner:[John Reppy,http://cs.uchicago.edu/~jhr]
243 :    
244 : jhr 4317 //--------------------------------------------------------------------
245 : jhr 4310 [2016/09/14]::
246 :     +
247 :     Fixed a bug in the parser. Asterix (`*`) was not allowed as a record label
248 :     when using the record-pattern-punning syntax.
249 :     +
250 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
251 :    
252 : jhr 4317 //--------------------------------------------------------------------
253 : jhr 4310 [2016/09/14]::
254 :     +
255 :     Added support for `do exp` *Successor ML* syntax.
256 :     +
257 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
258 :    
259 : jhr 4317 //--------------------------------------------------------------------
260 : jhr 4300 [2016/09/12]::
261 :     +
262 :     Fixed bug bugref:[153] (Enabling Successor ML features is delayed).
263 :     We now use a function ++Control.setSuccML++ to switch to/from *Successor ML*
264 :     mode in the REPL. The function resets the parser, so the next input will
265 :     be correctly parsed. The ++Control.succML++ flag is no longer visibile
266 :     in the REPL.
267 :     +
268 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
269 :    
270 : dbm 4298 //--------------------------------------------------------------------
271 :     [2016/09/12]::
272 :     +
273 :     Fixed bug bugref:[149] (Datatype replication exposes hidden constructors).
274 :     Added boolean field +stripped+ to DATATYPE variant of tyckind in
275 :     +compiler/ElabData/types/types.sml+ with default value +false+.
276 :     +stripped+ is set to true when a datatype is matched with a simple
277 :     +type+ spec in signature matching, and datatypes with +stripped+ set
278 :     to true are disallowed in datatype replications.
279 :     +
280 :     Files changed:
281 : dbm 4311 +
282 : dbm 4298 --
283 : jhr 4319 - +compiler/ElabData/types/types.sig+
284 :     - +compiler/ElabData/types/types.sml+
285 :     - +compiler/ElabData/types/typesutil.sml+
286 :     - +compiler/ElabData/types/core-basictypes.sml+
287 :     - +compiler/Elaborator/types/basictypes.sml+
288 :     - +compiler/Elaborator/types/eqtypes.sml+
289 :     - +compiler/Elaborator/modules/evalent.sml+
290 :     - +compiler/Elaborator/modules/sigmatch.sml+
291 :     - +compiler/Elaborator/modules/instantiate.sml+
292 :     - +compiler/Elaborator/print/ppabsyn.sml+
293 :     - +compiler/Elaborator/print/pptype.sml+
294 :     - +compiler/Elaborator/elaborate/elabcore.sml+
295 :     - +compiler/Elaborator/elaborate/elabmod.sml+
296 :     - +compiler/Elaborator/elaborate/elabtype.sml+
297 :     - +compiler/Elaborator/elaborate/elabsig.sml+
298 :     - +compiler/Semant/pickle/pickmod.sml+
299 :     - +compiler/Semant/pickle/unpickmod.sml+
300 :     - +compiler/MiscUtil/print/ppobj.sml+
301 :     - +compiler/FLINT/trans/transtypes.sml+
302 :     - +compiler/FLINT/trans/pequal.sml+
303 : dbm 4298 --
304 :     +
305 :     owner:[Dave MacQueen,http://cs.uchicago.edu/~dbm]
306 :    
307 : jhr 4319 //--------------------------------------------------------------------
308 : jhr 4320 [2016/08/31]::
309 :     +
310 :     Added +%tokentype+ directive to *ml-antlr*; this directive allows users
311 :     to specify the token datatype externally, which is necessary in order
312 :     to share a lexer with two different *ml-antlr* parsers.
313 :     +
314 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
315 :    
316 :     //--------------------------------------------------------------------
317 : jhr 4319 [2016/08/20]::
318 :     +
319 :     Change the interface to +AMD64Gen+ in *MLRISC*; the +signBit+ and
320 :     ++negateSignBit++ callbacks now return an +MLTree.rexp+ (instead of a
321 :     label).
322 :     +
323 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
324 :    
325 : jhr 4260 //====================================================================
326 :     == Version 110.80; 2016/08/19
327 :    
328 : jhr 4216 //--------------------------------------------------------------------
329 : jhr 4256 [2016/08/16]::
330 :     +
331 :     Fixed bugref:[151] (Error installing from source on Mac OS X). The fix
332 :     involves both changes to the +config/install.sh+ script and the
333 :     +mk.x86-darwin+ makefile. With this fix, we include the +SDK+ argument
334 : jhr 4262 to the +/usr/bin/as+ only when the OS version is 10.10 (Yosemite) or
335 : jhr 4256 later.
336 :     +
337 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
338 :    
339 :     //--------------------------------------------------------------------
340 : jhr 4255 [2016/08/10]::
341 :     +
342 : jhr 4260 Added the proposed +unzipMap+, +unzipMapi+, +find+, and +findi+ functions
343 : jhr 4255 to the +ListPair+ module.
344 :     +
345 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
346 :    
347 :     //--------------------------------------------------------------------
348 :     [2016/08/10]::
349 :     +
350 : jhr 4260 Added the proposed +mapLeft+, +mapRight+, +appLeft+, and +appRight+
351 :     functions to the +Either+ module.
352 : jhr 4255 +
353 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
354 :    
355 :     //--------------------------------------------------------------------
356 : dbm 4250 [2016/08/09]::
357 :     +
358 : jhr 4252 Fixed bug bugref:[145] (Internal exception occurs on bogus annotation
359 :     instead of typechecking diagnostic). Added missing +OVLD_UB+ case in
360 :     function +failMessage+ in +compiler/Elaborator/types/unify.sml+.
361 : dbm 4250 +
362 :     owner:[Dave MacQueen,http://cs.uchicago.edu/~dbm]
363 :    
364 :     //--------------------------------------------------------------------
365 : jhr 4248 [2016/08/04]::
366 :     +
367 :     Fixed bug bugref:[166] (Can't install SML/NJ in directories containing
368 :     spaces). Thanks to Eugene Sharygin for the patch.
369 :     +
370 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
371 :    
372 :     //--------------------------------------------------------------------
373 : mrainey 4240 [2016/06/21]::
374 :     +
375 :     Fixed incorrect dividend sign extension before 32-bit divide in amd64
376 :     code generator in MLRISC
377 :     +
378 :     owner:[Mike Rainey,http://gallium.inria.fr/~rainey/]
379 :    
380 :     //--------------------------------------------------------------------
381 : jhr 4235 [2016/06/16]::
382 :     +
383 :     Fixed bug bugref:[150] (Add title to batch script).
384 :     +
385 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
386 :    
387 :     //--------------------------------------------------------------------
388 : jhr 4230 [2016/05/11]::
389 :     +
390 :     Implemented the changes for
391 :     https://github.com/SMLFamily/BasisLibrary/wiki/2016-001-Add-popCount-to-WORD-signature[
392 :     Basis Library Proposal 2016-001]. This proposal added the +popCount+
393 :     function to the +WORD+ signature.
394 :     +
395 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
396 :    
397 :     //--------------------------------------------------------------------
398 : jhr 4226 [2016/05/03]::
399 :     +
400 :     Fixed bug bugref:[156] (sml resumes after SIGSTOP with bogus exception
401 :     report). The fix is a bit of a hack: I modified the +non_bt_hdl+
402 :     function in +evalloop.sml+ to match an +IO.Io+ exception with
403 :     the appropriate shape for this situation.
404 :     +
405 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
406 :    
407 :     //--------------------------------------------------------------------
408 : jhr 4220 [2016/04/07]::
409 :     +
410 : jhr 4221 Fixed bug bugref:[154] (Return code for ml-ulex when there is an error).
411 :     +
412 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
413 :    
414 :     //--------------------------------------------------------------------
415 :     [2016/04/07]::
416 :     +
417 : jhr 4220 Fixed bug bugref:[155] (Misleading printing of word literals in
418 :     error messages).
419 :     +
420 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
421 :    
422 :     //--------------------------------------------------------------------
423 : jhr 4216 [2016/04/02]::
424 :     +
425 :     Fixed a bug in the implementation of the ++--ml-lex-mode++ flag for
426 :     *ml-ulex*. The ++\h++ escape sequence is supposed to map to the
427 :     character range ++[\128-\255]++, but did not.
428 :     +
429 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
430 : jhr 3992
431 : jhr 4204 //--------------------------------------------------------------------
432 :     [2015/11/09]::
433 :     +
434 : jhr 4216 Fixed bug bugref:[147] (Hexadecimal escapes in strings are not supported).
435 : jhr 4204 We previously did not support Unicode escapes in string literals. We now
436 : jhr 4253 do so, [line-through]#with non-ascii codepoints being mapped to the
437 :     UTF-8 encoding# with escape values in the range 0..255 being mapped to the
438 :     corresponding 8-bit character. Values outside that range are flagged
439 :     as an error.
440 : jhr 4204 +
441 : jhr 4253 _Revised August 4, 2016_
442 :     +
443 : jhr 4204 owner:[John Reppy,http://cs.uchicago.edu/~jhr]
444 :    
445 :     //--------------------------------------------------------------------
446 :     [2015/10/28]::
447 :     +
448 :     Partial fix for the noisy exception-stack traces on the +Error+ exception.
449 :     The cases that are handled by this change are applying +use+ to a non-existent
450 :     file and when there are compilation errors in a program being built by
451 :     +CM.make+. What remains to be handled is the situation where +CM.make+ is
452 :     applied to a non-existent file.
453 :     +
454 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
455 :    
456 : jhr 4126 //====================================================================
457 : jhr 4157 == Version 110.79; 2015/10/04
458 : jhr 4126
459 : jhr 4060 //--------------------------------------------------------------------
460 : jhr 4157 [2015/10/04]::
461 :     +
462 :     Patched +base/compiler/FLINT/clos/closure.sml+ so that *Twelf* will
463 : jhr 4204 build again. Fixes bug bugref:[140] (Lookup failure in +closure.sml+
464 :     when compiling *Twelf*).
465 : jhr 4157 +
466 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
467 :    
468 :     //--------------------------------------------------------------------
469 : jhr 4141 [2015/09/28]::
470 :     +
471 : jhr 4151 Added support for a *Successor ML* tool to CM. This tool allows one
472 :     to specify that a source file +fool.sml+ is *Successor ML* source code in the
473 :     following ways:
474 :     +
475 :     --------
476 :     foo.sml : succ-ml
477 :     foo.sml : sml (succ-ml)
478 :     foo.sml (succ-ml)
479 :     --------
480 :     +
481 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
482 :    
483 :     //--------------------------------------------------------------------
484 :     [2015/09/28]::
485 :     +
486 : jhr 4147 Added the directory +base/old-basis+ to support backward-compatible
487 :     views of the *Basis Library*. You can use these by replacing the
488 :     line
489 :     +
490 :     --------
491 :     $/basis.cm
492 :     --------
493 :     +
494 :     with
495 :     +
496 :     --------
497 :     $/basis-2004.cm
498 :     --------
499 :     +
500 :     in your CM files.
501 :    
502 :     //--------------------------------------------------------------------
503 :     [2015/09/28]::
504 :     +
505 : jhr 4141 New implementation of +Date+ structure in the Basis, which fixes bugs
506 : jhr 4204 bugref:[138] (Incorrect behavior for +Date.fromTimeLocal+) and
507 :     bugref:[139] (+Date.date+ is broken). Note that some more thought should
508 : jhr 4141 be given to the correct semantics of +Date.date+ when dealing with
509 :     offsets. For example, should an offset of +23 hours produce the same
510 :     date as an offset of -1 hours? Currently our implementation produces
511 :     different results (by a day) for these two situations.
512 :     +
513 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
514 :    
515 :     //--------------------------------------------------------------------
516 : jhr 4126 [2015/09/25]::
517 :     +
518 : jhr 4134 Implemented the changes for
519 :     https://github.com/SMLFamily/BasisLibrary/wiki/2015-003-Additional-operations-on-sequences[
520 : jhr 4147 Basis Library Proposal 2015-003]. This proposal added operations to
521 : jhr 4134 the following signatures:
522 :     +
523 :     [source,sml]
524 :     ------------
525 :     signature ARRAY
526 :     signature LIST
527 :     signature LIST_PAIR
528 :     signature MONO_ARRAY
529 :     signature MONO_VECTOR
530 :     signature OPTION
531 :     signature STRING
532 :     signature TEXT
533 :     signature VECTOR
534 :     ------------
535 :     +
536 :     and the following structures:
537 :     +
538 :     [source,sml]
539 :     ------------
540 :     structure Array : ARRAY
541 :     structure CharArray : MONO_ARRAY
542 :     structure CharVector : MONO_VECTOR
543 :     structure List : LIST
544 :     structure ListPair : LIST_PAIR
545 :     structure Option : OPTION
546 :     structure Real64Array : MONO_ARRAY
547 :     structure Real64Vector : MONO_VECTOR
548 :     structure String : STRING
549 :     structure Text : TEXT
550 :     structure Vector : VECTOR
551 :     structure Word8Array : MONO_ARRAY
552 :     structure Word8Vector : MONO_VECTOR
553 :     ------------
554 :     +
555 :     While it is very unlikely that these changes will break existing code, there are
556 : jhr 4139 a a couple scenarios in which the code might break. Namely, when use of +open+
557 :     introduces conflicts and when user code implements one of the affected Basis Library
558 :     signatures. Both of these examples occurred in the *SML/NJ* source code; the former
559 :     in the *ml-yacc* sources and the latter in the *MLRISC* sources.
560 : jhr 4134 +
561 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
562 :    
563 :     //--------------------------------------------------------------------
564 :     [2015/09/25]::
565 :     +
566 :     Added the optional implementations of +PackReal64Big+ and +PackReal64Little+.
567 : jhr 4126 This addition addresses feature request reqref:[82]
568 :     (Implementations of +PACK_REAL+ missing). The implementation
569 :     uses the approach suggested by
570 :     https://github.com/msullivan/sml-util/blob/master/libs/pack-real.sml[Michael Sullivan].
571 :     +
572 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
573 :    
574 :     //--------------------------------------------------------------------
575 : jhr 4122 [2015/09/24]::
576 :     +
577 :     Fixed bug bugref:[45] (Compiler bug in specialize phase). This bug
578 :     was in +compiler/FLINT/opt/fcontract.sml+ and was the result of a bad
579 :     interaction between eta contraction and inlining. As part of the fix,
580 :     I cleaned up the code in this part of FLINT a bit.
581 :     +
582 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
583 :    
584 :     //--------------------------------------------------------------------
585 : jhr 4105 [2015/09/21]::
586 : jhr 4107 Improvements to the error messages produced by the *ml-ulex* lexer generator.
587 :     +
588 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
589 :    
590 :     //--------------------------------------------------------------------
591 :     [2015/09/21]::
592 : jhr 4105 Added +Ref+ structure and +REF+ signature to Basis implementation
593 :     (https://github.com/SMLFamily/BasisLibrary/wiki/2015-007-Addition-of-Ref-module[
594 :     Basis Library Proposal 2015-007]).
595 :     +
596 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
597 :    
598 :     //--------------------------------------------------------------------
599 :     [2015/09/21]::
600 :     Added +Fn+ structure and +FN+ signature to Basis implementation
601 :     (https://github.com/SMLFamily/BasisLibrary/wiki/2015-005-Addition-of-Fn-module[
602 :     Basis Library Proposal 2015-005]).
603 :     +
604 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
605 :    
606 :     //--------------------------------------------------------------------
607 : jhr 4097 [2015/08/22]::
608 :     +
609 : jhr 4105 Fixed bug bugref:[136] (Incorrect raising of exceptions in +Real.fmt+
610 :     and +Time.fmt+).
611 : jhr 4097 +
612 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
613 :    
614 :     //--------------------------------------------------------------------
615 : jhr 4105 [2015/08/14]::
616 :     +
617 :     Added +Either+ structure and +EITHER+ signature to Basis implementation
618 :     (https://github.com/SMLFamily/BasisLibrary/wiki/2015-002-Addition-of-Either-module[
619 :     Basis Library Proposal 2015-002]).
620 :     +
621 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
622 :    
623 :     //--------------------------------------------------------------------
624 : jhr 4086 [2015/07/23]::
625 :     +
626 : jhr 4098 Fixed bug bugref:[135] (Fails to build on Linux PowerPC).
627 : jhr 4086 +
628 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
629 :    
630 :     //--------------------------------------------------------------------
631 : jhr 4076 [2015/07/08]::
632 :     +
633 : jhr 4077 Added Linux 4.* kernels to the list of operating systems recognized
634 :     by the ++.arch-n-opsys++ script (fixes bug bugref:[134]).
635 : jhr 4076 +
636 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
637 :    
638 :     //--------------------------------------------------------------------
639 : jhr 4074 [2015/06/11]::
640 :     +
641 :     Added Mac OS X 10.11 (El Capitan) to the list of operating systems
642 :     recognized by the ++.arch-n-opsys++ script.
643 :     +
644 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
645 :    
646 :     //--------------------------------------------------------------------
647 : jhr 4060 [2015/05/27]::
648 :     +
649 : jhr 4105 Added support for *Successor ML* lexical extensions. These can be enabled
650 : jhr 4107 using the command-line option ++-Cparser.succ-ml=true++ or by the assignment
651 : jhr 4062 +
652 :     [source,sml]
653 :     ------------
654 :     Control.succML := true;
655 :     ------------
656 :     +
657 :     at the REPL. The extensions are as follows:
658 : jhr 4105 +
659 : jhr 4060 --
660 : jhr 4105 - Underscore ("++_++") as a separator in numeric literals; __e.g.__, ++123_456++,
661 :     ++0wxff_ff_ff_f3++, ++123_456.1++, ...
662 : jhr 4060
663 :     - end-of-line comments, which are denoted using ++(*)++. End-of-line comments
664 :     properly nest into conventional block comments. For example, the following
665 : jhr 4216 block comment is well formed:
666 : jhr 4060 +
667 :     [source,sml]
668 :     ------------
669 :     (*
670 :     fun f x = x (*) my identity function *)
671 :     *)
672 :     ------------
673 :     +
674 : jhr 4062 - binary literals for both integers and words; __e.g.__, ++0b0101_1110++, or
675 : jhr 4060 ++0wb1101++.
676 :     --
677 : jhr 4105 +
678 :     This change is the beginning of a program to add *Successor ML* feature to *SML/NJ*;
679 :     See https://github.com/SMLFamily/Proposed-Definition-of-Successor-ML[] for more
680 :     details.
681 :     +
682 : jhr 4060 owner:[John Reppy,http://cs.uchicago.edu/~jhr]
683 :    
684 : jhr 4002 //====================================================================
685 : jhr 4037 == Version 110.78; 2014/12/24
686 : jhr 4002
687 : jhr 3992 //--------------------------------------------------------------------
688 : dbm 4001 [2014/12/19]::
689 :     +
690 :     Major revision of the machinery for overloading resolution for both
691 : jhr 4216 operators (vars) and literals, now using a common mechanism. This fixes
692 : dbm 4001 bug bugref:[52] by improving the error message when an overloaded
693 : jhr 4049 operator is inconsistent with its context. Updated 23 files, including
694 : dbm 4001 major changes in +overload.sml+, +types.sml+, +unify.sml+, +elabcore.sml+,
695 :     +typesutil.sml+. The overload declaration is still used in
696 :     +pervasives.sml+, where the order of the specified instances of an
697 : jhr 4002 ordering determines the default interpretation (_i.e._, the first one).
698 : dbm 4001 +
699 :     The +SCHEME+ and +LITERAL+ forms of tyvars are replaced by a new
700 :     +OVLD+ form that tracks potential instantiations of the type of the
701 :     overloaded vars or literals.
702 :     +
703 :     owner:[David MacQueen,http://cs.uchicago.edu/~dbm]
704 :    
705 :     //--------------------------------------------------------------------
706 : jhr 4002 [2014/12/18]::
707 :     +
708 :     Moved +base/NOTES/HISTORY+ file to +doc/src/changelog/HISTORY.txt+
709 :     and converted it to http://asciidoc.org[ASCIIDOC] format. Have also
710 :     moved the +README+ files from +base/READMES+ to +doc/src/release-notes+.
711 :     These changes are part of a general effort to rationalize and improve
712 :     the documentation of the *SML/NJ* system.
713 :     +
714 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
715 :    
716 :     //--------------------------------------------------------------------
717 : jhr 3994 [2014/12/13]::
718 :     +
719 : jhr 4002 Preliminary cleanups before changes to overloading
720 :     +
721 : jhr 3994 Minor cleanup in +Elaborator/elaborate/elabcore+ (function +elabOVERLOADdec+)
722 :     and in +ElabData/types/typesutil.sml+ (function +matchScheme+). Preparing for
723 :     a new method of handling type checking of overloaded operators. [Note
724 :     that there is no reason for the options field of +OVLDvar+ to be a
725 :     reference -- it is never updated. Changing this requires corresponding
726 :     change in pickling.]
727 :     +
728 :     Also added an +etopdebugging+ flag (+ElabControl+) for debugging in
729 :     +elabtop.sml+. Modified ++elabcontrol.++{++sml++,++sig++} and
730 :     +elabtop.sml+. Also rearranged ast and absyn printing in +evalloop.sml+.
731 :     +
732 :     owner:[David MacQueen,http://cs.uchicago.edu/~dbm]
733 :    
734 :     //--------------------------------------------------------------------
735 : jhr 3992 [2014/10/23]::
736 :     +
737 :     Improved error messages in *ml-ulex* for unclosed strings. Also made
738 :     documentation improvements.
739 :     +
740 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
741 :    
742 :     //--------------------------------------------------------------------
743 :     [2014/10/11]::
744 :     +
745 :     Added +-D_FILE_OFFSET_BITS=64+ flag to +x86-linux+ makefile. This flag
746 :     is necessary to avoid spurious +EOVERFLOW+ errors on some versions of
747 :     Linux. The problem appears to be limited to large file systems that
748 :     have more than 2^32^ inodes.
749 :     +
750 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
751 :    
752 :     //--------------------------------------------------------------------
753 :     [2014/09/13]::
754 :     +
755 :     Added +%value+ directive to *ml-antlr*; this addition improves the
756 :     error repair choices by allowing non-nullary tokens to be inserted
757 :     when making repairs.
758 :     +
759 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
760 :    
761 :     //====================================================================
762 :     == Version 110.77; 2014/08/22
763 :    
764 :    
765 :     //--------------------------------------------------------------------
766 : jhr 4002 [2014/08/21]::
767 :     +
768 :     Created new +doc+ tree in *SML/NJ* repository. Currently this
769 :     tree just holds the sources for UNIX-style manual pages for
770 :     the command-line tools (fixing bug bugref:[35]). The documentation
771 :     is written using the http://asciidoc.org[ASCIIDOC] format. Use
772 :     the following *svn* command to checkout a copy of the documentation tree:
773 :     +
774 :     [source,sh]
775 :     -----------
776 :     svn co https://smlnj-gforge.cs.uchicago.edu/svn/smlnj/doc/trunk doc
777 :     -----------
778 :     +
779 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
780 :    
781 :     //--------------------------------------------------------------------
782 : jhr 3992 [2014/08/19]::
783 :     +
784 :     Compiling the runtime system on *cygwin* was failing because the file
785 :     +exceptions.h+ was missing. It appears to have been part of previous
786 :     versions, so a version has been incorporated verbatim in the
787 :     file +runtime/mach-base/cygwin-fault.c+ file (fixes bug bugref:[125]).
788 :     +
789 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
790 :    
791 :     //--------------------------------------------------------------------
792 :     [2014/08/19]::
793 :     +
794 : jhr 4002 Added the +actionToString'+ and +repairToString'+ functions
795 :     to the +AntlrRepair+ structure. These functions allow one to
796 : jhr 3992 specialize the printing of tokens based on whether they are
797 :     being added or deleted.
798 :     +
799 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
800 :    
801 :     //--------------------------------------------------------------------
802 :     [2014/08/17]::
803 :     +
804 :     Added patches to support +OpenBSD+ on +PowerPC+. The patches were
805 :     contributed by Jasper Lievisse Adriaanse (fixes bug bugref:[124]).
806 :     +
807 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
808 :    
809 :     //--------------------------------------------------------------------
810 :     [2014/08/17]::
811 :     +
812 :     Use +mkstemp+ to implement +OS.FileSys.tmpName()+ on systems that support
813 :     it (should be all modern versions of *Unix*). This change fixes bug bugref:[128].
814 :     (Thanks to Johannes 5 Joemann).
815 :     +
816 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
817 :    
818 :     //--------------------------------------------------------------------
819 :     [2014/08/17]::
820 :     +
821 :     Fixed a bug in +IntInf.~>>+, which did not handle negative arguments
822 :     correctly (bug bugref:[110]).
823 :     +
824 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
825 :    
826 :     //--------------------------------------------------------------------
827 :     [2014/08/14]::
828 :     +
829 :     Fixed a problem in the CPS contraction phase. An optimization that
830 :     eliminates construction of a record that already exists was not
831 :     checking that the existing record was the same record kind (bug bugref:[119]).
832 :     +
833 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
834 :    
835 :     //--------------------------------------------------------------------
836 :     [2014/07/28]::
837 :     +
838 :     Switch to using +MAP_ANONYMOUS+ to allocate memory on Linux systems.
839 :     This change avoids problems when +"/dev"+ does not support execute
840 :     permission (as seems to be the case with some versions of *Linux*
841 :     running on ChromeBooks; bug bugref:[120]).
842 :     +
843 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
844 :    
845 :     //--------------------------------------------------------------------
846 :     [2014/06/28]::
847 :     +
848 :     Fix for bug bugref:[127] (Crash on *Windows* with +OS.Process.system+).
849 :     +
850 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
851 :    
852 :     //--------------------------------------------------------------------
853 :     [2014/06/07]::
854 :     +
855 :     Fixed a long-standing bug in +Socket.recvVec+, which prevented the result
856 :     from being used in a string pattern match (thanks to Vesa Norrman
857 :     for the fix).
858 :     +
859 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
860 :    
861 :     //--------------------------------------------------------------------
862 :     [2014/05/01]::
863 :     +
864 :     Fixed minor issue in an error message; type variable name should be
865 :     printed with leading +'+.
866 :     +
867 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
868 :    
869 :     //--------------------------------------------------------------------
870 :     [2013/11/25]::
871 :     +
872 :     Added ++PackWord++{++16++,++32++}{++Big++,++Little++} structures
873 :     to the +Unsafe+ module. This change makes the +UNSAFE+ signature
874 :     closer to the http://mlton.org[*MLton*] version, although we
875 :     still need to add the +PackReal+ structures.
876 :     +
877 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
878 :    
879 :     //====================================================================
880 :     == Version 110.76; 2013/07/01
881 :    
882 :    
883 :     //--------------------------------------------------------------------
884 :     [2013/06/04]::
885 :     +
886 :     Fix bug bugref:[115] (+BinPrimIO+ writer method +getPos+ does not
887 :     work under CML). Just needed to port the position update from +mkReader+
888 : jhr 4216 code to the +mkWriter+ code.
889 : jhr 3992 +
890 :     owner:[Lars Bergstrom]
891 :    
892 :     //--------------------------------------------------------------------
893 :     [2013/06/04]::
894 :     +
895 :     Fix bug bugref:[111] (+Socket.acceptNB+ returns somewhat broken sockets).
896 :     The problem was that under Win32, sockets returned from +accept+ inherit
897 :     their parents' non-blocking status, whereas on *UNIX* they are always
898 :     blocking.
899 :     +
900 :     owner:[Lars Bergstrom]
901 :    
902 :     //--------------------------------------------------------------------
903 :     [2013/05/20]::
904 :     +
905 :     Fix bug bugref:[117] (+BinIO.openAppend+ raises +IO+ on non-existent file).
906 :     We were opening the file for append if it existed but not creating it
907 :     if it did not exist.
908 :     +
909 :     owner:[Lars Bergstrom]
910 :    
911 :     //--------------------------------------------------------------------
912 :     [2013/05/02]::
913 :     +
914 :     Fix bug bugref:[116] (+Socket.sameDesc+ raises +Match+ exception).
915 :     The problem is that on Windows the +iodesc+ datatype (defined in
916 :     +Basis/Implementation/Win32/pre-os.sml+) has both an +IODesc+ constructor
917 :     and a +SockDesc+ constructor. Updated the code in +Win32/os-io.sml+ to
918 :     handle the +SockDesc+ constructor.
919 :     +
920 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
921 :    
922 :     //--------------------------------------------------------------------
923 :     [2013/04/19]::
924 :     +
925 :     Fix bug bugref:[113] (Socket.select waits exactly twice the indicated timeout)
926 :     +
927 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
928 :    
929 :     //--------------------------------------------------------------------
930 :     [2013/01/19]::
931 :     +
932 :     Fix AMD64 code generator to properly sign-extend arguments to +IDIVQ+.
933 :     +
934 :     owner:[Lars Bergstrom]
935 :    
936 :     //--------------------------------------------------------------------
937 :     [2012/10/20]::
938 :     +
939 :     Fix bug bugref:[108] (off-by-one error in +Util/dynamic-array.sml+;
940 :     iterators crash)
941 :     +
942 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
943 :    
944 :     //--------------------------------------------------------------------
945 :     [2012/10/20]::
946 :     +
947 :     Fix bug bugref:[107] (Bogus +Int64+ comparison operators)
948 :     +
949 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
950 :    
951 :     //====================================================================
952 :     == Version 110.75; 2012/10/01
953 :    
954 :    
955 :     //--------------------------------------------------------------------
956 :     [2012/09/28]::
957 :     +
958 :     Fixed bug bugref:[92]. +IntInf.scan+ now handles the "++0x++" prefix
959 :     correctly. Also made minor improvements to the +NumScan+ module.
960 :     +
961 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
962 :    
963 :     //--------------------------------------------------------------------
964 :     [2012/09/24]::
965 :     +
966 :     Added +Base64+ module to *SML/NJ Library* to support encoding and decoding
967 :     +Word8+ vectors as *base64* strings.
968 :     +
969 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
970 :    
971 :     //--------------------------------------------------------------------
972 :     [2012/09/23]::
973 :     +
974 :     Additions to the *SML/NJ Library*. Added +exists+, +existsi+, +all+,
975 :     and +alli+ functions to +ORD_MAP+ signature and implementations,
976 :     and added +all+ function to +ORD_SET+ signature and implementations.
977 :     +
978 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
979 :    
980 :     //--------------------------------------------------------------------
981 :     [2012/09/21]::
982 :     +
983 :     Bug fix in *ml-antlr* to ensure that the generated +toString+ function
984 :     for tokens is strictly legal *SML* code (_i.e._, non-printing characters
985 :     and *UTF8* multibyte sequences are properly escaped).
986 :     +
987 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
988 :    
989 :     //--------------------------------------------------------------------
990 :     [2012/09/11]::
991 :     +
992 :     Added +getu+ function to +ULexBuffer+ as a way to improve *ml-ulex*
993 :     performance. This addition allows a fastpath for processing ASCII
994 :     characters, which improved lexer performance by 3-4%.
995 :     +
996 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
997 :    
998 :     //--------------------------------------------------------------------
999 :     [2012/08/02]::
1000 :     +
1001 :     Fixed bugs bugref:[89] and bugref:[96]: Build Failure with *Xcode 4.3*
1002 :     Also removed build support for *MacOS X* pre-10.5 (Leopard) on *PPC* and
1003 :     pre-10.6 (Snow Leopard) on Intel.
1004 :     +
1005 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1006 :    
1007 :     //--------------------------------------------------------------------
1008 :     [2012/02/05]::
1009 :     +
1010 :     Fixed bug bugref:[88]. The check for valid arcs on *Unix* systems now allows
1011 :     any character other than slash or nul.
1012 :     +
1013 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1014 :    
1015 :     //====================================================================
1016 :     == Version 110.74; 2012/01/20
1017 :    
1018 :    
1019 :     //--------------------------------------------------------------------
1020 :     [2012/01/20]::
1021 :     +
1022 :     Fixed implementation of +Real.signBit+ on little-endian machines.
1023 :     +
1024 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1025 :    
1026 :     //--------------------------------------------------------------------
1027 :     [2012/01/19]::
1028 :     +
1029 :     1) Fix for bug bugref:[60]
1030 :     recalculate strictness for ++DEFtyc++s in functor bodies when functor
1031 :     is applied (+Elaborator/modules/evalent.sml+)
1032 :     +
1033 :     2) Fix for bug bugref:[77]
1034 :     separate ast representations for datatypes and datatype replications
1035 :     in decs and specs (multiple files)
1036 :     +
1037 :     3) set version to 110.74
1038 :     +
1039 :     Details in +NOTES/changes/dbm_2012_1+.
1040 :     +
1041 :     owner:[David MacQueen]
1042 :    
1043 :     //--------------------------------------------------------------------
1044 :     [2012/01/12]::
1045 :     +
1046 :     1. Change of +SourceMap+ interface.
1047 :     related to fix of off-by-one error in lexer (committed earlier?),
1048 :     and cleanup of *noweb* code added by Norman Ramsey many years
1049 :     ago (but little used today).
1050 :     +
1051 :     2. Slight cleanup of match compiler, eliminating +compiler/FLINT/tempexpn.sml+
1052 :     file that was part of unused implementation of pattern templates (pattern macros).
1053 :     +
1054 :     3. Modification of type checker to add "culprit tracking" for
1055 :     improved type error messages (printing of additional culprit
1056 :     information is controlled by +ElabControl.showTypeErrorCulprits+
1057 :     flag, default false, added in revision 3652). The culprit tracking needs to be debugged
1058 :     and improved, and the presentation of the culprits needs to be done better.
1059 :     +
1060 :     Details in +NOTES/changes/dbm_2012_1+.
1061 :     +
1062 :     owner:[David MacQueen]
1063 :    
1064 :     //--------------------------------------------------------------------
1065 :     [2011/11/25]::
1066 :     +
1067 :     Bug fixes for +Unsafe.blastRead+ (bug bugref:[76]):
1068 :     . proper error handling when reading from memory and there are
1069 :     not enough bytes.
1070 :     . pass correct data pointer and length to BlastIn (code was using
1071 :     old macros).
1072 :     +
1073 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1074 :    
1075 :     //--------------------------------------------------------------------
1076 :     [2011/11/25]::
1077 :     +
1078 :     Added hash-table-based implementation of sets to SML/NJ Library.
1079 :     +
1080 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1081 :    
1082 :     //--------------------------------------------------------------------
1083 :     [2011/10/25]::
1084 :     +
1085 : jhr 4216 Better error reporting under 32-bit linux for the missing dpkg
1086 : jhr 3992 support (bug bugref:[70]).
1087 :     Enable 3.x kernels to build (bugs bugref:[80], bugref:[81], bugref:[83]).
1088 :     +
1089 :     owner:[Lars Bergstrom]
1090 :    
1091 :     //--------------------------------------------------------------------
1092 :     [2011/05/23]::
1093 :     +
1094 :     Added new S-expression library to SML/NJ Library
1095 :     (contributed by Damon Wang)
1096 :     +
1097 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1098 :    
1099 :     //--------------------------------------------------------------------
1100 :     [2011/05/17]::
1101 :     +
1102 :     Fixed bug in JSON scanner (SML/NJ Library). It didn't handle escaped
1103 :     backslash or double quote correctly.
1104 :     +
1105 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1106 :    
1107 :     //====================================================================
1108 :     == Version 110.73; 2011/05/13
1109 :    
1110 :    
1111 :     //--------------------------------------------------------------------
1112 :     [2011/05/10]::
1113 :     +
1114 :     Added boolean literals (true and false) to the conditional-expression
1115 :     syntax in CM. Thus, you can write
1116 :     +
1117 :     ....................
1118 :     #if true
1119 :     structure Foo
1120 :     #endif
1121 :     ....................
1122 :     +
1123 :     in a CM file. This change is meant to make it easier to use *autoconf*
1124 :     to configure the build process of an SML application.
1125 :     +
1126 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1127 :    
1128 :     //--------------------------------------------------------------------
1129 :     [2011/05/09]::
1130 :     +
1131 :     Added missing +String.scan+ function (bug bugref:[69]). This also
1132 :     fixes the handling of certain corner cases by +String.fromString+.
1133 :     +
1134 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1135 :    
1136 :     //--------------------------------------------------------------------
1137 :     [2011/05/03]::
1138 :     +
1139 :     Added the +RTDSC+ and +RTDSCP+ instructions to the amd64 code generator.
1140 :     +
1141 :     owner:[Mike Rainey,http://www.mpi-sws.org/~mrainey]
1142 :    
1143 :     //--------------------------------------------------------------------
1144 :     [2011/04/08]::
1145 :     +
1146 : jhr 4216 Added fix for comments in code bug (bug bugref:[63]).
1147 : jhr 3992 Thanks to Michael Norrish.
1148 :     +
1149 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1150 :    
1151 :     //--------------------------------------------------------------------
1152 :     [2011/04/08]::
1153 :     +
1154 :     Fixed bug in +Socket.acceptNB+ (bug bugref:[59])
1155 :     +
1156 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1157 :    
1158 :     //--------------------------------------------------------------------
1159 :     [2011/03/31]::
1160 :     +
1161 :     Fixed syntax error in *ml-lex* compatibility mode (bug bugref:[49])
1162 :     +
1163 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1164 :    
1165 :     //--------------------------------------------------------------------
1166 :     [2011/03/22]::
1167 :     +
1168 :     Update +_arch-n-opsys+ script for Mac OS X Lion (10.7).
1169 :     +
1170 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1171 :    
1172 :     //--------------------------------------------------------------------
1173 :     [2011/02/18]::
1174 :     +
1175 :     Added +Barriers+ module to CML.
1176 :     +
1177 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1178 :    
1179 :     //--------------------------------------------------------------------
1180 :     [2011/02/10]::
1181 :     +
1182 :     Fixed *ml-yacc* examples to respect the changed signatures with respect
1183 :     to +TextIO.inputLine+.
1184 :     +
1185 :     owner:[Lars Bergstrom]
1186 :    
1187 :     //--------------------------------------------------------------------
1188 :     [2010/09/16]::
1189 :     +
1190 :     Changed the *Win32* implementation of +validArc+ to support directories
1191 :     with extended characters (umlauts, etc.).
1192 :     +
1193 :     owner:[Lars Bergstrom]
1194 :    
1195 :     //--------------------------------------------------------------------
1196 :     [2010/09/16]::
1197 :     +
1198 :     Fixed the *Win32* socket and polling implementation to work correctly
1199 :     with CML. Signature of +poll+ was wrong and didn't handle sockets at all.
1200 :     +
1201 :     owner:[Lars Bergstrom]
1202 :    
1203 :     //--------------------------------------------------------------------
1204 :     [2010/06/16]::
1205 :     +
1206 :     Fixed +Real.toString+ and +Real.fmt+ to include sign for negative zero.
1207 :     +
1208 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1209 :    
1210 :     //--------------------------------------------------------------------
1211 :     [2010/03/23]::
1212 :     +
1213 :     Fixed the bug with *Win32* calls to +OS.Process.system+ not quoting
1214 : jhr 4216 the string.
1215 : jhr 3992 +
1216 :     owner:[Lars Bergstrom]
1217 :    
1218 :     //--------------------------------------------------------------------
1219 :     [2010/02/11]::
1220 :     +
1221 :     Applied patch for building on more recent versions of *NetBSD*
1222 :     (bug bugref:[39]).
1223 :     +
1224 :     owner:[Jon Riehl,http://jonriehl.com/]
1225 :    
1226 :     //====================================================================
1227 :     == Version 110.72; 2010/02/02
1228 :    
1229 :    
1230 :     //--------------------------------------------------------------------
1231 :     [2009/12/20]::
1232 :     +
1233 :     Fixed performance bugs in +List+ module by making +@+ and +foldr+ be
1234 :     tail recursive (bug bugref:[51]).
1235 :     +
1236 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1237 :    
1238 :     //--------------------------------------------------------------------
1239 :     [2009/12/11]::
1240 :     +
1241 :     Fixed the *Win32* unable to print long strings bug (bug bugref:[37]).
1242 :     +
1243 :     owner:[Lars Bergstrom]
1244 :    
1245 :     //--------------------------------------------------------------------
1246 :     [2009/12/10]::
1247 :     +
1248 :     Fixed an overrun during major GC. If the string arena was nearly
1249 :     full, it was possible for alignment padding added during copy to
1250 :     the to-space to overrun the allocated size.
1251 :     +
1252 :     owner:[Lars Bergstrom]
1253 :    
1254 :     //--------------------------------------------------------------------
1255 :     [2009/11/18]::
1256 :     +
1257 :     The *ml-antlr* and *ml-ulex* programs have been ported to build under
1258 :     mlton.
1259 :     +
1260 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1261 :    
1262 :     //--------------------------------------------------------------------
1263 :     [2009/11/17]::
1264 :     +
1265 :     Added +%header+ directive to the *ml-ulex* scanner generator. Also
1266 :     updated the documentation.
1267 :     +
1268 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1269 :    
1270 :     //--------------------------------------------------------------------
1271 :     [2009/11/17]::
1272 :     +
1273 :     Added +@SMLsuffix+ flag to *sml* command. This flag can be used to get
1274 :     the suffix for heap files.
1275 :     +
1276 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1277 :    
1278 :     //--------------------------------------------------------------------
1279 :     [2009/11/17]::
1280 :     +
1281 :     Added +--strict-sml+ flag to *ml-ulex* for *MLton* compatibility.
1282 :     +
1283 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1284 :    
1285 :     //--------------------------------------------------------------------
1286 :     [2009/11/10]::
1287 :     +
1288 :     Added +%header+ directive to the *ml-antlr* parser generator. Also
1289 :     updated the documentation.
1290 :     +
1291 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1292 :    
1293 :     //====================================================================
1294 :     == Version 110.71; 2009/09/16
1295 :    
1296 :    
1297 :     //--------------------------------------------------------------------
1298 :     [2009/09/13]::
1299 :     +
1300 :     Changes to support compiling the runtime system on Mac OS X 10.6
1301 :     (aka Snow Leopard).
1302 :     +
1303 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1304 :    
1305 :     //--------------------------------------------------------------------
1306 :     [2009/08/19]::
1307 :     +
1308 :     Fixed a bug in the register-spill generator that is part of the MLRISC
1309 :     register allocator. The problem was that the code in +RASpillWithRenaming+
1310 : jhr 4216 functor assumed incorrectly that dedicated registers would appear in
1311 : jhr 3992 def/use information generated by +ClusterRA+. Thanks to Allen Leung for
1312 :     helping with this bug.
1313 :     +
1314 :     owner:[Mike Rainey,http://cs.uchicago.edu/~mrainey]
1315 :    
1316 :     //--------------------------------------------------------------------
1317 :     [2009/07/09]::
1318 :     +
1319 :     Removed redundant implementations of various top-level operations by
1320 :     consolidating them in +base/system/smlnj/init/pervasive.sml+. This
1321 :     change also fixes a bug in that the top-level version of +round+ was
1322 :     incorrect.
1323 :     +
1324 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1325 :    
1326 :     //====================================================================
1327 :     == Version 110.70; 2009/06/15
1328 :    
1329 :    
1330 :     //--------------------------------------------------------------------
1331 :     [2009/06/12]::
1332 :     +
1333 :     --
1334 :     1. Corrected problem in config/actions that led to the so-called
1335 :     "unpickling bug" which appeared in version 110.68.
1336 :     +
1337 :     2. Provided fix for the 64-bit pattern match bug.
1338 :     --
1339 :     +
1340 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1341 :    
1342 :     //--------------------------------------------------------------------
1343 :     [2009/03/21]::
1344 :     +
1345 :     Fixed bug in +Int32.fmt+ when the argument was the minimum int and the
1346 :     radix was something other than +DEC+.
1347 :     +
1348 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
1349 :    
1350 :     //--------------------------------------------------------------------
1351 :     [2009/02/21]::
1352 :     +
1353 :     Fixed bugs in how *ml-antlr* parsed ML types in +%tokens+ specifications.
1354 :     +
1355 :     owner:[Aaron Turon]
1356 :    
1357 :     //--------------------------------------------------------------------
1358 :     [2009/01/13]::
1359 :     +
1360 :     Picking up some additional fixes for 110.69, including a fix for
1361 :     spaces in CM file paths.
1362 :     +
1363 :     owner:[Jon Riehl,http://www.jonriehl.com/]
1364 :    
1365 :     //====================================================================
1366 :     == Version 110.69; 2008/12/22
1367 :    
1368 :    
1369 :     //--------------------------------------------------------------------
1370 :     [2008/12/06]::
1371 :     +
1372 :     Re-enabled some CPS optimizations (first_contract and eta). The most
1373 :     important effect of this change is to make uses of +SMLofNJ.Cont.capture+
1374 :     be properly tail recursive.
1375 :     +
1376 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1377 :    
1378 :     //--------------------------------------------------------------------
1379 :     [2008/12/03]::
1380 :     +
1381 : jhr 4216 New concurrency-related instructions for x86 and amd64 code
1382 : jhr 3992 generators.
1383 :     --
1384 :     - +PAUSE+: Notify the CPU that the program is spin waiting.
1385 :     - +MFENCE+: memory fence for reads and writes.
1386 :     - +SFENCE+: memory fence for writes.
1387 :     - +LFENCE+: memory fence for reads.
1388 :     --
1389 :     +
1390 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1391 :    
1392 :     //--------------------------------------------------------------------
1393 :     [2008/12/02]::
1394 :     +
1395 :     Added makefile and other support for building runtime on *OpenBSD*.
1396 :     +
1397 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1398 :    
1399 :     //====================================================================
1400 :     == Version 110.68; 2008/08/13
1401 :    
1402 :    
1403 :     //--------------------------------------------------------------------
1404 :     [2008/08/11]::
1405 :     +
1406 :     Minor fix to *ml-ulex* backend for regexps that match any character
1407 : jhr 4216 and perform a single action. Previously the emitted code would
1408 : jhr 3992 not allow the regexps to match any character at all.
1409 :     +
1410 :     owner:[Aaron Turon]
1411 :    
1412 :     //--------------------------------------------------------------------
1413 :     [2008/08/05]::
1414 :     +
1415 :     Added build support for *OpenBSD* (thanks to Brian O'Hanlon).
1416 :     +
1417 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1418 :    
1419 :     //--------------------------------------------------------------------
1420 :     [2008/07/12]::
1421 :     +
1422 :     Fixed +Int64.fromString+ to use base-10.
1423 :     +
1424 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1425 :    
1426 :     //--------------------------------------------------------------------
1427 :     [2008/04/12]::
1428 :     +
1429 :     Various updates to the ml-lpt tree. The documentation has been updated;
1430 :     bugs in the parsing of negation and character classes in *ml-ulex* have
1431 :     been fixed; and changes have been made to make the *ml-lpt* tools more
1432 :     compatible with *MLton* (and other SML implementations). Thanks to
1433 :     Matthew Fluet and Aaron Turon for their patches.
1434 :     +
1435 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1436 :    
1437 :     //--------------------------------------------------------------------
1438 :     [2008/20/04]::
1439 :     +
1440 :     Implemented timer-based profiling on Windows, with behavior as close
1441 :     to the *nix ITIMER-based profiling as possible.
1442 :     +
1443 :     owner:[Lars Bergstrom]
1444 :    
1445 :     //--------------------------------------------------------------------
1446 :     [2008/07/04]::
1447 :     +
1448 :     Finished off the Windows subset of the basis library. Added process
1449 :     support and various configuration and system identification utils.
1450 :     +
1451 :     owner:[Lars Bergstrom]
1452 :    
1453 :     //--------------------------------------------------------------------
1454 :     [2008/03/18]::
1455 :     +
1456 :     Major changes to the RegExp library: see smlnj-lib/CHANGES for details.
1457 :     +
1458 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1459 :    
1460 :     //--------------------------------------------------------------------
1461 :     [2008/02/14]::
1462 :     +
1463 :     Added the Windows Status structure
1464 :     +
1465 :     owner:[Lars Bergstrom]
1466 :    
1467 :     //--------------------------------------------------------------------
1468 :     [2008/02/14]::
1469 :     +
1470 :     Added the Windows DDE structure
1471 :     +
1472 :     owner:[Lars Bergstrom]
1473 :    
1474 :     //--------------------------------------------------------------------
1475 :     [2008/02/05]::
1476 :     +
1477 :     Added the Windows Config structure
1478 :     +
1479 :     owner:[Lars Bergstrom]
1480 :    
1481 :     //--------------------------------------------------------------------
1482 :     [2008/01/31]::
1483 :     +
1484 :     Added outline of the Windows basis library and the basic registry
1485 :     functionality.
1486 :     +
1487 :     owner:[Lars Bergstrom]
1488 :    
1489 :     //--------------------------------------------------------------------
1490 :     [2008/01/23]::
1491 :     +
1492 :     Fixed the amd64 code generator to compile with the current MLRISC.
1493 :     +
1494 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1495 :    
1496 :     //--------------------------------------------------------------------
1497 :     [2007/11/26]::
1498 :     +
1499 :     *nlffi* was updated to work on Windows. It needed to pass in the correct
1500 :     value for the name of the kernel32 DLL to obtain 'base' bindings.
1501 :     Additionally updated the README for the most basic *nlffi* sample with
1502 :     what you need to do on MacOSX and on Windows to make it work.
1503 :     +
1504 :     owner:[Lars Bergstrom]
1505 :    
1506 :     //--------------------------------------------------------------------
1507 :     [2007/11/21]::
1508 :     +
1509 :     Overwrite the +SMLNJ_HOME+ environment variable on installation
1510 :     Properly change the package code so that subsequent version
1511 :     installations prompt for uninstall (instead of 'repair/remove')
1512 :     +
1513 :     owner:[Lars Bergstrom]
1514 :    
1515 :     //--------------------------------------------------------------------
1516 :     [2007/11/14]::
1517 :     +
1518 :     Cleaned up +WININSTALL+ file for new MSI-based setup.
1519 :     +
1520 :     owner:[Lars Bergstrom]
1521 :    
1522 :     //====================================================================
1523 :     == Version 110.67; 2007/11/13
1524 :    
1525 :    
1526 :     //--------------------------------------------------------------------
1527 :     [2007/11/12]::
1528 :     +
1529 :     Ensure that the size of the allocation space is at least 128K.
1530 :     +
1531 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1532 :    
1533 :     //--------------------------------------------------------------------
1534 :     [2007/11/05]::
1535 :     +
1536 :     Fixed type error in *ml-lpt* library that occurs when compiling
1537 :     against a basis that was compiled with the +USE_64_BIT_POSITIONS+
1538 :     symbol set.
1539 :     (Thanks to Johannes Joemann)
1540 :     +
1541 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1542 :    
1543 :     //--------------------------------------------------------------------
1544 :     [2007/11/03]::
1545 :     +
1546 :     Fixed the amd64 code generator to compile with the current MLRISC.
1547 :     +
1548 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1549 :    
1550 :     //--------------------------------------------------------------------
1551 :     [2007/11/02]::
1552 :     +
1553 :     Made +sml.bat+ more resilient to either not having run the installer
1554 :     and having no +SMLNJ_HOME+ set or having just shuffled the directory
1555 :     around.
1556 :     +
1557 :     owner:[Lars Bergstrom]
1558 :    
1559 :     //--------------------------------------------------------------------
1560 :     [2007/11/01]::
1561 :     +
1562 :     A collection of bug fixes for +machine.sml+ in the Reactive library.
1563 :     (Thanks to Timothy Bourke)
1564 :     +
1565 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1566 :    
1567 :     //--------------------------------------------------------------------
1568 :     [2007/10/28]::
1569 :     +
1570 :     Patches for Mac OS X 10.5 (Leopard).
1571 :     +
1572 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1573 :    
1574 :     //--------------------------------------------------------------------
1575 :     [2007/10/28]::
1576 :     +
1577 :     Fixed some bugs in the AMD64 floating-point spilling code.
1578 :     +
1579 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1580 :    
1581 :     //--------------------------------------------------------------------
1582 :     [2007/10/25]::
1583 :     +
1584 :     Added support for the atomic +XCHG+ instruction.
1585 :     +
1586 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1587 :    
1588 :     //--------------------------------------------------------------------
1589 :     [2007/10/22]::
1590 :     +
1591 :     Added AMD64 support for floating-point negation.
1592 :     +
1593 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1594 :    
1595 :     //--------------------------------------------------------------------
1596 :     [2007/10/22]::
1597 :     +
1598 :     Fixed ^C handling in Windows
1599 :     Added a Windows installer
1600 :     Made it possible to build for *Windows* on a mapped drive from Parallels
1601 :     +
1602 :     owner:[Lars Bergstrom]
1603 :    
1604 :     //--------------------------------------------------------------------
1605 :     [2007/10/22]::
1606 :     +
1607 :     Added AMD64 support for the atomic fetch and add instruction.
1608 :     +
1609 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1610 :    
1611 :     //--------------------------------------------------------------------
1612 :     [2007/10/18]::
1613 :     +
1614 :     The GAS output now favors +p2align+ over +align+, since the
1615 :     former is guaranteed to be consistent over multiple architectures
1616 :     and the latter is not.
1617 :     +
1618 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1619 :    
1620 :     //--------------------------------------------------------------------
1621 :     [2007/10/18]::
1622 :     +
1623 :     Fixed a bug in register spilling.
1624 :     +
1625 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1626 :    
1627 :     //--------------------------------------------------------------------
1628 :     [2007/10/2]::
1629 :     +
1630 :     Added demo support for AMD64 for quick testing and fixed support for
1631 :     64-bit label constants.
1632 :     +
1633 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1634 :    
1635 :     //--------------------------------------------------------------------
1636 :     [2007/09/20]::
1637 :     +
1638 :     Added support for the MLRISC +COND+ instruction and the x86-64 +CMOVCC+
1639 :     instruction.
1640 :     +
1641 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1642 :    
1643 :     //--------------------------------------------------------------------
1644 :     [2007/09/17]::
1645 :     +
1646 :     Fixed an instruction-selection bug when loading 64-bit labels.
1647 :     +
1648 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1649 :    
1650 :     //--------------------------------------------------------------------
1651 :     [2007/09/14]::
1652 :     +
1653 :     Fixed +Elaborator+ and +Translate+ performance bugs
1654 :     +
1655 :     owner:[George Kuan,http://www.cs.uchicago.edu/~gkuan]
1656 :    
1657 :     //--------------------------------------------------------------------
1658 :     [2007/09/12]::
1659 :     +
1660 :     Fixed +xorl+ memory argument bug.
1661 :     +
1662 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1663 :    
1664 :     //--------------------------------------------------------------------
1665 :     [2007/07/27]::
1666 :     +
1667 :     Added +f64sgn+ (for +Real64.signBit+) as a primop defined
1668 : jhr 4216 in +MLRiscGen+. +signBit+(~0.0) not handled correctly.
1669 : jhr 3992 +
1670 :     owner:[George Kuan,http://www.cs.uchicago.edu/~gkuan]
1671 :    
1672 :     //--------------------------------------------------------------------
1673 :     [2007/06/21]::
1674 :     +
1675 :     Fixed bug in {++TextIO++,++BinIO++}++.StreamIO.endOfStream++ that
1676 :     would incorrectly signal end of stream.
1677 :     +
1678 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1679 :    
1680 :     //--------------------------------------------------------------------
1681 :     [2007/06/12]::
1682 :     +
1683 :     Eliminated +config/allsources+. The information is now drawn directly
1684 :     from +config/actions+.
1685 :     +
1686 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1687 :    
1688 :     //====================================================================
1689 :     == Version 110.65; 2007/06/07
1690 :    
1691 :    
1692 :     //--------------------------------------------------------------------
1693 :     [2007/06/06]::
1694 :     +
1695 :     --
1696 :     * Aaron: fixed a number of bugs in *ml-ulex*.
1697 :     * Matthias:
1698 :     ** added CM control +cm.force-tools+; this is false by default;
1699 :     when set to true, then tools like *ml-yacc*, *ml-lex*, *ml-ulex*, etc.
1700 :     will be forced to run regardless of whether or not their targets
1701 :     are up-to-date
1702 :     ** changed installer code so that +config/install.sh+ will re-build
1703 :     heap images for all tools even if those heap images already existed
1704 :     --
1705 :     +
1706 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1707 :    
1708 :     //--------------------------------------------------------------------
1709 :     [2007/06/04]::
1710 :     +
1711 :     After Aaron Turon's bug fix for *ml-ulex* (handling the +^+ character
1712 :     in legacy mode), re-ran the lexer generator on all lex input files
1713 :     and committed the results.
1714 :     +
1715 :     This should fix the problem with *ckit* and *nlffi* that was reported
1716 :     by Vesa A. Norrman.
1717 :     +
1718 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1719 :    
1720 :     //====================================================================
1721 :     == Version 110.64; 2007/05/31
1722 :    
1723 :    
1724 :     //--------------------------------------------------------------------
1725 :     [2007/05/31]::
1726 :     +
1727 :     3rd merge of base from primop-branch-3 into the trunk.
1728 :     Additional bug fixes included:
1729 :     +
1730 :     * +Timer.cpu_timer+, etc. type printing corrected (by making
1731 :     +Timer+ have opaque sig constraint in +basis/Implementation/timer.sml+)
1732 :     * Infinite loop in FLINT (+tests/typing/tests/25.sml+) (fix by
1733 :     Stefan Monnier)
1734 :     +
1735 :     owner:[Dave MacQueen]
1736 :    
1737 :     //--------------------------------------------------------------------
1738 :     [2007/05/31]::
1739 :     +
1740 :     Fixed some bugs in new Div code in +FLINT/trans/translate.sml+.
1741 :     +
1742 :     Also, changed the handling of "no core access": When +translate.sml+
1743 :     needs access to a core exception at a time when the core has not
1744 :     been set up yet (this only happens when compiling +system/smlnj/init/+*),
1745 :     then don't bother generating the corresponding tests.
1746 :     +
1747 :     The old scheme was to generate a bogus value to be used in place of
1748 :     the exception. Unfortunately, that confuses the plambda type checker.
1749 :     Moreover, it does not do any good, because at runtime we don't expect
1750 :     such an exception to be ever raised. (The code in +system/smlnj/init/+*
1751 :     has to be written very carefully with this in mind!)
1752 :     +
1753 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1754 :    
1755 :     //--------------------------------------------------------------------
1756 :     [2007/05/29]::
1757 :     +
1758 :     Added +FSQRT+ instructions for the AMD64 code generator.
1759 :     +
1760 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1761 :    
1762 :     //--------------------------------------------------------------------
1763 :     [2007/05/29]::
1764 :     +
1765 :     +FLINT/trans/translate.sml+ now wraps all +DIV+/+MOD+/+QUOT+/+REM+
1766 :     operations with an explicit test for zero division. This should
1767 :     fixe several regressions and makes it possible for downstream optimization
1768 :     phases to treat these operations as "pure" when they are applied to unsigned
1769 :     operands.
1770 :     +
1771 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1772 :    
1773 :     //--------------------------------------------------------------------
1774 :     [2007/05/29]::
1775 :     +
1776 :     Added the new MLRISC code generator for the AMD64. This version,
1777 :     in contrast to the previous one, uses SSE registers and instructions
1778 :     for all floating-point computations.
1779 :     +
1780 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1781 :    
1782 :     //--------------------------------------------------------------------
1783 :     [2007/05/29]::
1784 :     +
1785 :     A number of fixes related to the formatting of dates. These include fixes
1786 :     for bugs #1415 and #1416. We also now correctly handle format characters that
1787 :     lie outside the specified set.
1788 :     +
1789 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1790 :    
1791 :     //--------------------------------------------------------------------
1792 :     [2007/05/23]::
1793 :     +
1794 :     CMB (and CM) now automatically defines the CM "preprocessor" symbol
1795 :     NO_PLUGINS during "makeml -rebuild" or when CM operates in "slave" mode.
1796 :     +
1797 :     (In addition, CMB_REBUILD_MODE is defined for +makeml -rebuild+,
1798 :     CM_SLAVE_MODE is defined in attached slaves while running CM.make
1799 :     or CM.rebuild, and CMB_SLAVE_MODE is defined in attached slaves
1800 :     while running +CMB.make+. The point is that the single symbol
1801 :     NO_PLUGINS is definde in all three cases.)
1802 :     +
1803 :     I changed the three locations within the sources that get compiled
1804 :     during +CMB.make+ where *ml-yacc* or *ml-lex* input is processed: When
1805 :     NO_PLUGINS defined, then the use of the mlyacc and mllex tools
1806 :     is bypassed.
1807 :     +
1808 :     When bootstrapping new versions of the compiler, there can be
1809 :     situations where the plugin tools for *ml-yacc* and *ml-lex* (or *ml-ulex*)
1810 :     are not available or otherwise not operational. In this case one can
1811 :     manually define the NO_PLUGINS symbol prior to running +CMB.make()+. To
1812 :     do so, the following command should be issued at the interactive
1813 :     prompt:
1814 :     +
1815 :     [source,sml]
1816 :     ------------
1817 :     #set (CMB.symval "NO_PLUGINS") (SOME 1);
1818 :     ------------
1819 :     +
1820 :     A +CMB.make+ with NO_PLUGINS defined relies on the existence of the
1821 :     files that normally would be generated by *ml-yacc* and *ml-lex*.
1822 :     (Copies of these files are in the repository.)
1823 :     +
1824 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1825 :    
1826 :     //--------------------------------------------------------------------
1827 :     [2007/5/23]::
1828 :     +
1829 :     Second merge of base from +primop-branch-3+ into the trunk.
1830 :     Additional bug fixes included:
1831 :     --
1832 :     * +Date.scan+ and +Date.fromString+ fixed;
1833 :     * Overloading resolution fixed and some type printing problems corrected.
1834 :     --
1835 :     +
1836 :     owner:[David MacQueen]
1837 :    
1838 :     //--------------------------------------------------------------------
1839 :     [2007/05/23]::
1840 :     +
1841 :     Changed the installation mechanism for CM tool plugins. These are
1842 :     just libaries and now get installed like ordinary libaries.
1843 :     +
1844 :     There are now a number of new installation targets that give some
1845 :     fine-grain control over what classes and suffixes are known, and what
1846 :     they will map to.
1847 :     See +config/targets+ for details.
1848 :     +
1849 :     The code that caused plugin installation as part of running a
1850 :     tool's "build" script has been removed. (The build script is for
1851 :     building, not for installing.)
1852 :     +
1853 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1854 :    
1855 :     //--------------------------------------------------------------------
1856 :     [2007/05/22]::
1857 :     +
1858 :     Added a boolean control named cm.tolerate-tool-failures (env. variable
1859 :     name: CM_TOLERATE_TOOL_FAILURES). The default is false and makes
1860 :     CM fail if a shell tool reports a non-success exit status. If
1861 :     the control is set to true, then CM will press on after tool failures
1862 :     in the event that the target files exist (even though they are
1863 :     considered outdated). Turning the control to true can be useful for
1864 :     bootstrapping.
1865 :     +
1866 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
1867 :    
1868 :     //--------------------------------------------------------------------
1869 :     [2007/05/19]::
1870 :     +
1871 :     Merge of ml-lpt revisions for 110.64.
1872 :     +
1873 :     The name of several ml-lpt-lib modules has changed:
1874 :     +
1875 :     [grid="none",frame="none",width="50%",cols=">2,^1,<2"]
1876 :     |===============================================
1877 :     | +Repair+ | => | +AntlrRepair+
1878 :     | +StreamPos+ | => | +AntlrStreamPos+
1879 :     | +ErrHandlerFn+ | => | +AntlrErrHandler+
1880 :     | +EBNF+ | => | +AntlrEBNF+
1881 :     |===============================================
1882 :     +
1883 :     The *ml-antlr* specification format has changed: declarations such as
1884 :     +%tokens+ and nonterminal definitions can occur *multiple* times in the
1885 :     same specification. The semantics are such that each new declaration
1886 :     extends the previous ones. This does not apply to +%start+ or +%name+,
1887 :     of course.
1888 :     +
1889 :     Importing a grammar via +%import+ now includes *all* declarations in from
1890 :     the imported grammar, except for +%name+, +%entry+, and +%start+. Tokens
1891 :     and nonterminals can be dropped using the new +%dropping+ clause of the
1892 :     +%import+ directive; the separate +%drop+ and +%extend+ have been removed.
1893 :     +
1894 :     We now allow optional type annotations on nonterminals, using the +%nonterms+
1895 :     directive as in *ml-yacc*.
1896 :     +
1897 :     The +refcell+ construct is now implemented using SML's regular reference
1898 :     cells, so the +:==+ and +!!+ notation has been deprecated.
1899 :     +
1900 : jhr 4216 The *ml-antlr* tool now does much more checking of specifications, and
1901 : jhr 3992 its error messages have been greatly improved. Error repair for
1902 :     generated parsers has been completely rewritten, and is now both
1903 :     much faster and more accurate.
1904 :     +
1905 :     *ml-ulex* is now more lenient with escape codes (non-SML-standard
1906 :     escape codes are now interpreted literally, so _e.g._, +\|+ denotes "+|+").
1907 :     Also, character classes may now include a "+-+" character at the beginning
1908 :     as is standard in most other regexp tools.
1909 :     +
1910 : jhr 4216 All of these changes are documented in the user guide, which has
1911 : jhr 3992 been updated and improved with this merge.
1912 :     +
1913 :     owner:[Aaron Turon,http://www.cs.uchicago.edu/~adrassi]
1914 :    
1915 :     //--------------------------------------------------------------------
1916 :     [2007/05/03]::
1917 :     +
1918 :     Merge of the primop3 branch (base) into the trunk to create 110.63.1.
1919 :     Significant changes in FLINT and the front end, mostly having to do
1920 :     with a reorganized system for handling primops. Various bug fixes
1921 :     and improvements in printing signatures.
1922 :     +
1923 :     owner:[David MacQueen,http://www.cs.uchicago.edu/~jhr]
1924 :    
1925 :     //--------------------------------------------------------------------
1926 :     [2007/05/02]::
1927 :     +
1928 :     Preliminary commit of large *ml-lpt* revisions (more to come for 110.64).
1929 :     The *ml-antlr* specification format has changed: declarations such as
1930 :     +%tokens+ and nonterminal definitions can occur *multiple* times in the
1931 :     same specification. The semantics are such that each new declaration
1932 :     extends the previous ones. Grammar extension constructs have also
1933 :     changed. We now allow type annotations on nonterminals. Finally,
1934 :     the refcell construct is now implemented using SML's regular reference
1935 :     cells, so the +:==+ and +!!+ notation has been deprecated. All of these
1936 :     changes will appear in the 110.64 user guide for *ml-lpt*.
1937 :     +
1938 : jhr 4216 The *ml-antlr* tool now does much more checking of specifications, and
1939 : jhr 3992 its error messages have been greatly improved. There has also been
1940 :     some work on the error repair process for generated parsers, but this
1941 :     will be further improved in 110.64.
1942 :     +
1943 :     owner:[Aaron Turon,http://www.cs.uchicago.edu/~adrassi]
1944 :    
1945 :     //--------------------------------------------------------------------
1946 :     [2007/04/24]::
1947 :     +
1948 :     More Basis fixes: The +Char.fromString+ (_etc._) functions did not handle
1949 :     the "+\uxxxx+" escape sequence. There is still an outstanding bug with
1950 :     +String.fromString+ the tail is a format escape. I added a comment to
1951 :     this effect in +Basis/Implementation/string.sml+.
1952 :     Thanks to Andreas Rossberg.
1953 :     +
1954 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1955 :    
1956 :     //--------------------------------------------------------------------
1957 :     [2007/04/24]::
1958 :     +
1959 :     Added +next+ function to +Fifo+ and +Queue+ modules in the SML/NJ Library.
1960 :     +
1961 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1962 :    
1963 :     //--------------------------------------------------------------------
1964 :     [2007/04/23]::
1965 :     +
1966 :     More Basis fixes: +Time.fmt+ dropped the leading "+~+" for negative time
1967 :     values that had no whole part.
1968 :     +
1969 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1970 :    
1971 :     //--------------------------------------------------------------------
1972 :     [2007/04/23]::
1973 :     +
1974 :     More Basis fixes: the +OS.Path+ module did not include the +InvalidArc+
1975 :     exception and did not do sufficient argument checking.
1976 :     Thanks to Stephen Weeks and Adam Chilpala.
1977 :     +
1978 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
1979 :    
1980 :     //--------------------------------------------------------------------
1981 :     [2007/04/16]::
1982 :     +
1983 :     Fixed an unbound functor bug in the AMD64 CM file.
1984 :     +
1985 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1986 :    
1987 :     //--------------------------------------------------------------------
1988 :     [2007/04/12]::
1989 :     +
1990 :     Substantially changed the signature and implementation of AMD64
1991 :     SVID. It now looks similar to the ia32 SVID, yet uses staged
1992 :     allocation.
1993 :     +
1994 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
1995 :    
1996 :     //--------------------------------------------------------------------
1997 :     [2007/04/07]::
1998 :     +
1999 :     More Basis fixes: the +WORD+ signature was missing {++to++,++from++}++Large.++
2000 :     Thanks to Andreas Rossberg.
2001 :     +
2002 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2003 :    
2004 :     //====================================================================
2005 :     == Version 110.63; 2007/03/22
2006 :    
2007 :    
2008 :     //--------------------------------------------------------------------
2009 :     [2007/03/19]::
2010 :     +
2011 :     Fixed bogus operand sizes in AMD64 instruction spilling.
2012 :     +
2013 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
2014 :    
2015 :     //--------------------------------------------------------------------
2016 :     [2007/03/19]::
2017 :     +
2018 :     Fixed a number of inconsistencies between the +Posix.TTY+ structure
2019 :     and the Basis specification. Thanks to Adam Chilpala.
2020 :     +
2021 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2022 :    
2023 :     //--------------------------------------------------------------------
2024 :     [2007/02/26]::
2025 :     +
2026 :     Added preliminary support in MLRISC for Staged Allocation, a technique
2027 : jhr 4216 for specifying calling conventions (see
2028 :     +http://www.eecs.harvard.edu/~nr/pubs/staged-abstract.html+).
2029 : jhr 3992 Initially, we plan to use this code to generate C calls for the AMD64.
2030 :     +
2031 : jhr 4216 The staged allocation code base resides in +MLRISC/staged-allocation+,
2032 : jhr 3992 and specialized calling conventions go in +MLRISC/ARCH/staged-allocation+.
2033 :     +
2034 :     owner:[Mike Rainey,http://www.cs.uchicago.edu/~mrainey]
2035 :    
2036 :     //--------------------------------------------------------------------
2037 :     [2007/02/20]::
2038 :     +
2039 :     Bug fix: when +SaveCState+ was called with two values to save, a subsequent
2040 :     GC could cause the +RestoreCState+ to fail because the saved state had been
2041 :     promoted to tagless pair.
2042 :     +
2043 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2044 :    
2045 :     //--------------------------------------------------------------------
2046 :     [2007/02/20]::
2047 :     +
2048 :     Fixed bug triggered by:
2049 :     +
2050 :     [source,sml]
2051 :     ------------
2052 : jhr 4216 val a1 = Word8Array.array(a1, 0w0);
2053 : jhr 3992 val _ = Word8Array.update(a1, 0, 0w128);
2054 :     ------------
2055 :     +
2056 :     The +x86MCEmitter+ crashed when the immediate operand to +MOVB+ was outside
2057 :     of the range +-128+ ... +127+. I've changed the code so that the range
2058 :     check is disabled. Only the low order 8 bits of the immediate operand
2059 :     are now significant.
2060 :     +
2061 :     owner:[Allen Leung]
2062 :    
2063 :     //--------------------------------------------------------------------
2064 :     [2007/02/15]::
2065 :     +
2066 :     Eliminated any mention of *lexgen*, which was an early precursor
2067 :     to *ml-ulex*.
2068 :     +
2069 :     You should update your admin directory, so the shell scripts for
2070 :     maintaining your local copy of the repository reflect this change.
2071 :     +
2072 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2073 :    
2074 :     //--------------------------------------------------------------------
2075 :     [2007/02/14]::
2076 :     +
2077 :     Fixed bug in CM's parallel make facility that failed to have
2078 :     the master re-link modules after letting slaves compile them.
2079 :     +
2080 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2081 :    
2082 :     //--------------------------------------------------------------------
2083 :     [2007/02/12]::
2084 :     +
2085 :     Fixed typo in *ml-build* script that prevented library anchors
2086 :     from being registered.
2087 :     +
2088 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2089 :    
2090 :     //====================================================================
2091 :     == Version 110.62; 2007/02/02
2092 :    
2093 :    
2094 :     //--------------------------------------------------------------------
2095 :     [2007/01/31]::
2096 :     +
2097 : jhr 4216 Brought ml-lpt manual up-to-date with the code. Many minor
2098 : jhr 3992 improvements to the tools, and a few minor bugfixes. Prepared
2099 :     ml-lpt-lib for integration with new +UTF8+ structure. Changed
2100 :     the interface for creating streams in *ml-ulex* (we now support
2101 : jhr 4216 stream creation from several kinds of sources). Overall, the
2102 :     tools are now quite stable, and their interfaces are unlikely to
2103 : jhr 3992 change in a way that would break compatibility. More work,
2104 :     however, is needed in the documentation.
2105 :     +
2106 :     owner:[Aaron Turon,http://www.cs.uchicago.edu/~adrassi]
2107 :    
2108 :     //--------------------------------------------------------------------
2109 :     [2007/02/01]::
2110 :     +
2111 :     Implemented library installer. Moved CM plugin code for
2112 :     *ml-burg*, *ml-lex*, and *ml-yacc* out of CM source tree and into
2113 :     their respective trees. Implemented CM plugin for *ml-ulex*
2114 :     and *ml-antlr*. Used library installer for *ml-burg*, *ml-ulex*,
2115 :     and *ml-antlr*.
2116 :     +
2117 :     For *ml-yacc* and *ml-lex* we continue to have permanently "plugged-in"
2118 :     CM tools. (It turns out to be too messy to do otherwise because
2119 :     there is too much code that during installation relies on the presence
2120 :     of these tools -- resulting in a tricky ordering problem.)
2121 :     +
2122 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2123 :    
2124 :     //--------------------------------------------------------------------
2125 :     [2007/01/30]::
2126 :     +
2127 :     Added +SMLofNJ.shiftArgs+ which is like a shell's "shift" command.
2128 :     Modified CM's startup code to use +shiftArgs+ as it processes
2129 :     command line arguments. This way, the init code in each .sml-file
2130 :     or library that is mentioned at the top level will see only
2131 :     those arguments that have not yet been processed at this point.
2132 :     In other words, the init code can "seize control" and process the
2133 :     remaining command line.
2134 :     +
2135 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2136 :    
2137 :     //--------------------------------------------------------------------
2138 :     [2007/01/30]::
2139 :     +
2140 :     Added fromList function to the +ORD_SET+ interface and lookup to the
2141 :     +ORD_MAP+ interface. See the SML/NJ Library CHANGES file for details.
2142 :     +
2143 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2144 :    
2145 :     //--------------------------------------------------------------------
2146 :     [2007/01/28]::
2147 :     +
2148 :     Added the +UTF8+ structure and signature from the Moby compiler to
2149 :     the SML/NJ library (and the CML library). These modules will replace
2150 :     the version in the ml-lpt-lib.
2151 :     +
2152 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2153 :    
2154 :     //--------------------------------------------------------------------
2155 :     [2007/01/26]::
2156 :     +
2157 :     Added entries to handle ml-lpt-lib.cm in installer.
2158 :     +
2159 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2160 :    
2161 :     //====================================================================
2162 :     == Version 110.61.1; 2006/12/15
2163 :    
2164 :    
2165 :     //--------------------------------------------------------------------
2166 :     [2006/12/15]::
2167 :     +
2168 :     Fixed brown-paper-bag bug with CM's pathname handling, which made
2169 :     installation fail under *Win32*.
2170 :     +
2171 :     This supersedes the pre-brown-paper-bug release (see below).
2172 :     +
2173 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2174 :    
2175 :     //====================================================================
2176 :     == Version 110.61; 2006/12/14
2177 :    
2178 :    
2179 :     //--------------------------------------------------------------------
2180 :     [2006/14/06]::
2181 :     +
2182 :     Fixed the code in ++runtime/c-libs/posix-tty/++{++tcgetattr++,++tcsetattr++}++.c++ to
2183 :     get the c_cc termios data copied correctly. Also moved the allocation
2184 :     of the string to avoid problems if it caused a GC.
2185 :     +
2186 :     Thanks to Timothy Bourke for the bug report and fix.
2187 :     +
2188 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
2189 :    
2190 :     //--------------------------------------------------------------------
2191 :     [2006/12/08]::
2192 :     +
2193 :     Added code to CM's "standard shell tool" implementation which
2194 :     causes it to tolerate (with a warning) the situation where the shell
2195 :     command fails (_e.g._, due to the shell command's non-existence)
2196 :     as long as all target files exist.
2197 :     +
2198 :     This makes it possible to, _e.g._, build *ml-yacc* from sources even if
2199 :     svn checkout messed up the time stamps on files in such a way that
2200 :     +yacc.grm+ is younger than yacc.grm.sml or +yacc.grm.sig+. (*Ml-yacc*
2201 :     would be needed to re-process +yacc.grm+, but obviously it might not yet be
2202 :     available at that time.)
2203 :     +
2204 :     owner:[Matthias Blume,http://www.tti-c.org/blume]
2205 :    
2206 :     //--------------------------------------------------------------------
2207 :     [2006/12/06]::
2208 :     +
2209 :     Fixed the types of +recvVecFrom+, +recvVecFrom'+, +recvVecFromNB+, and
2210 :     +recvVecFromNB'+ in the +SOCKET+ signature. This error is actually
2211 :     in the _SML Basis_ specification too.
2212 :     +
2213 :     owner:[John Reppy,http://cs.uchicago.edu/~jhr]
2214 :    
2215 :     //--------------------------------------------------------------------
2216 :     [2006/12/05]::
2217 :     +
2218 :     CM now reports undefined anchors as errors and aborts execution
2219 :     rather than silently pressing on using bogus values.
2220 :     +
2221 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2222 :    
2223 :     //--------------------------------------------------------------------
2224 :     [2006/11/29]::
2225 :     +
2226 :     Use +Say.vsay+ for printing the "+[autoloading]+" message, so
2227 :     +#set CM.Control.verbose false+ (or +-Ccm.verbose=false+) can be used
2228 :     to suppress them.
2229 :     +
2230 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2231 :    
2232 :     //--------------------------------------------------------------------
2233 :     [2006/11/10]::
2234 :     +
2235 :     Fixed bug in CM where "+with:+" specifications that affect compilation
2236 :     (as opposed to parsing) were ignored.
2237 :     +
2238 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2239 :    
2240 :     //====================================================================
2241 :     == Version 110.60; 2006/11/09
2242 :    
2243 :    
2244 :     //--------------------------------------------------------------------
2245 :     [2006/11/09]::
2246 :     +
2247 :     This is the first subversion-hosted release. There are also changes
2248 :     to the directory layout. Here is a table:
2249 :     +
2250 :     [grid="none",frame="none",width="80%",cols=">3,^1,<3,<6"]
2251 :     |===========================================================
2252 :     | +config+ | => | +config+ |
2253 :     | | | |
2254 :     | +src/cm+ | => | +base/cm+ |
2255 :     | +src/compiler+ | => | +base/compiler+ |
2256 :     | +src/runtime+ | => | +base/runtime+ |
2257 :     | +src/system+ | => | +base/system+ |
2258 :     | | | |
2259 :     | +src/cm/pgraph+ | => | +pgraph+ |
2260 :     | | | |
2261 :     | +src/READMES+ | => | +base/READMES+ |
2262 : jhr 3995 | ++src/$++__note__ | => | ++base/NOTES/$++__note__
2263 :     | for _note_ in +BOOT+ +CVSNOTES+ +CYGWININSTALL+
2264 : jhr 3992 +HISTORY+ +INSTALL+ +MACOSXINSTALL+ +WININSTALL+
2265 :     | | | |
2266 :     | +src/smlnj-lib+ | => | +smlnj-lib+ |
2267 :     | +src/MLRISC+ | => | +MLRISC+ |
2268 :     | +ckit+ | => | +ckit+ |
2269 :     | +src/cml+ | => | +cml+ |
2270 :     | +src/eXene+ | => | +eXene+ |
2271 :     | +src/heap2asm+ | => | +heap2asm+ |
2272 :     | +src/lexgen+ | => | +lexgen+ |
2273 :     | +src/ml-burg+ | => | +ml-burg+ |
2274 :     | +src/ml-lex+ | => | +ml-lex+ |
2275 :     | +src/ml-yacc+ | => | +ml-yacc+ |
2276 :     | +src/ml-nlffi-lib+ | => | +nlffi/lib+ |
2277 :     | +src/ml-nlffigen+ | => | +nlffi/gen+ |
2278 :     | +src/smlnj-c+ | => | +smlnj-c+ |
2279 :     | +src/tools/TraceDebugProf+ | => | +trace-debug-profile+ |
2280 :     |===========================================================
2281 :     +
2282 :     (All pathnames are relative to the SML/NJ "root" directory.)
2283 :     +
2284 :     In addition, there is also a new
2285 :     +
2286 :     ...........
2287 :     ml-lpt
2288 :     ...........
2289 :     +
2290 :     directory containing two new program generator tools: *ml-ulex* and
2291 :     *ml-antlr* (a lexer generator that handles unicode and an ANTRL-inspired
2292 :     LL(k) parser generator). These tools are currently "beta-quality"
2293 :     +
2294 :     The latest versios of the sources can now be obtained anonymously
2295 :     via subversion. For this, it is useful to first check out
2296 :     +
2297 :     ...........
2298 :     svn://smlnj-gforge.cs.uchicago.edu/smlnj/admin
2299 :     ...........
2300 :     +
2301 :     and put the resulting directory on your shell's PATH. This provides
2302 :     access to three shell scripts: checkout-all.sh, stat-all.sh,
2303 :     and refresh-all.sh.
2304 :     +
2305 :     To create a freshly checked-out copy of the sources, do
2306 :     +
2307 :     ...........
2308 :     checkout-all.sh [dir]
2309 :     ...........
2310 :     +
2311 :     where dir is the optional SML/NJ root directory (default is ".").
2312 :     +
2313 :     This creates the above directory layout. Each subdirectory of
2314 :     the root is under individual subversion control. The stat-all.sh
2315 :     and refresh-al.sh scripts apply "svn stat" or "svn update" to
2316 :     each of these subtrees.
2317 :     +
2318 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2319 :    
2320 :     //--------------------------------------------------------------------
2321 :     [2006/11/02]::
2322 :     +
2323 :     Reorganized directory layout.
2324 :     +
2325 :     This is a temporary solution, more reorganization is to come.
2326 :     +
2327 :     The basic idea is to have a number of toplevel trees, each corresponding
2328 :     to a well-defined part of the overall system. Each part can be
2329 :     maintained individually, even in separate source repositories,
2330 :     although currently we still serve everything out of the main
2331 :     smlnj-gforge tree.
2332 :     +
2333 :     Installer and and scripts have been updated to reflect the new
2334 :     layout. The installer (base/src/system/smlnj/installer) is now
2335 :     "scriptable" to avoid burning too much knowledge about the
2336 :     layout into SML source code. The main script used by the installer
2337 :     is in config/actions.
2338 :     +
2339 :     The main change is that many of the subdirectories of what used to
2340 :     be known as "src" have moved to the toplevel. The "src" directory
2341 :     itself has moved down into a subtree called "base". (We may eventually
2342 :     get rid of the extra level of indirection represented by "src".)
2343 :     +
2344 :     The layout is now as follows:
2345 :     +
2346 : jhr 4002 [frame="none",width="90%",cols="<2,<3",options="header"]
2347 :     |===========================================================
2348 :     | toplevel tree name | default repository
2349 :     (using +svn://smlnj-gforge.cs.uchicago.edu/smlnj+ for +$gf+)
2350 : jhr 3992 +
2351 : jhr 4002 | +config+ | +$gf/config/trunk+
2352 :     +
2353 :     | +base+ | +$gf/sml/trunk+
2354 :     +
2355 :     | +smlnj-lib+ | +$gf/smlnj-lib/trunk+
2356 :     | +MLRISC+ | +$gf/MLRISC/trunk+
2357 :     +
2358 :     | +ml-yacc+ | +$gf/ml-yacc/trunk+
2359 :     | +ml-lex+ | +$gf/ml-lex/trunk+
2360 :     | +ml-burg+ | +$gf/ml-burg/trunk+
2361 :     | +lexgen+ | +$gf/lexgen/trunk+
2362 :     | +heap2asm+ | +$gf/heap2asm/trunk+
2363 :     +
2364 :     | +cml+ | +$gf/cml/trunk+
2365 :     | +eXene+ | +$gf/eXene/trunk+
2366 :     | +ckit+ | +$gf/ckit/trunk+
2367 :     | +nlffi+ | +$gf/nlffi/trunk+
2368 :     +
2369 :     | +smlnj-c+ | +$gf/smlnj-c/trunk+
2370 :     |===========================================================
2371 :     +
2372 :     In +$gf/admin+ there are a few useful shell scripts for checking out
2373 : jhr 3992 and maintaining the entire collection of trees:
2374 :     +
2375 : jhr 4002 --
2376 :     +admin/checkout-all.sh+ [__dir__]::
2377 : jhr 3992 +
2378 : jhr 4002 optionally creates _dir_ and checks out all trees from their
2379 :     default repositories; if _dir_ is missing, checkout into the
2380 :     current working directory.
2381 :     +
2382 :     +admin/refresh-all.sh+ [__dir__]::
2383 :     looks at all trees (from the above list) in _dir_ (default: .)
2384 :     and runs "+svn update+" if the tree exists and is under
2385 :     subversion control;
2386 :     non-existing or non-subversion trees are skipped
2387 :     +
2388 :     +admin/stat-all.sh+ [__dir__]::
2389 :     like +refresh-all.sh+, but runs "+svn stat+" instead
2390 :     --
2391 :     +
2392 : jhr 3992 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2393 :    
2394 :     //--------------------------------------------------------------------
2395 :     [2006/10/05]::
2396 :     +
2397 :     Merged code for AMD64 backend (Mike Rainey's work).
2398 :     Everything is hooked up but untested.
2399 :     +
2400 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2401 :    
2402 :     //====================================================================
2403 :     == Version 110.59; 2006/05/17
2404 :    
2405 :    
2406 :     //--------------------------------------------------------------------
2407 :     [2006/05/17]::
2408 :     +
2409 :     I am freezing 110.59. Changes other than the version-number increase:
2410 :     +
2411 : jhr 4002 --
2412 :     eXene::
2413 : jhr 3992 +
2414 : jhr 4002 committed changes to eXene from Alley Stoughton:
2415 :     "fixed bugs in X authorization and resource handling, as well
2416 :     as in the pile and viewport widgets"
2417 : jhr 3992 +
2418 : jhr 4002 Runtime::
2419 : jhr 3992 +
2420 : jhr 4002 fixed linking problem with *NetBSD 3.x*.
2421 :     +
2422 :     Lexgen::
2423 :     +
2424 :     --
2425 :     * *lexgen* tool handles non-ascii characters in 7-bit mode the same
2426 : jhr 3992 way that *ml-lex* does
2427 :     +
2428 :     * lexgen propagates exceptions the same way that *ml-lex* does
2429 : jhr 4002 --
2430 : jhr 3992 +
2431 : jhr 4002 CML::
2432 : jhr 3992 +
2433 : jhr 4002 Fixed a bug in the +SyncVar+ polling functions (+iGetPoll+,
2434 :     +mTakePoll+, and +mGetPoll+) that could lead to livelock.
2435 :     --
2436 :     +
2437 : jhr 3992 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2438 :    
2439 :     //--------------------------------------------------------------------
2440 :     [2006/05/12]::
2441 :     +
2442 :     Implemented *ml-makedepend* (_i.e._, CM.sources) in a better (more robust)
2443 :     way. This should hopefully fix the *ml-makedepend* problem permanently.
2444 :     +
2445 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2446 :    
2447 :     //--------------------------------------------------------------------
2448 :     [2006/05/12]::
2449 :     +
2450 :     Fixed long-standing bug with *ml-makedepend* where it would output a
2451 :     spurious dependency to a non-existing file. (This is a simple fix.
2452 :     It might need further looking into.)
2453 :     +
2454 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2455 :    
2456 :     //--------------------------------------------------------------------
2457 :     [2006/04/20]::
2458 :     +
2459 :     Committed patches received from Johannes 5 Joemann (joemann@befree.free.de)
2460 : jhr 4002 that enable *heap2exec* under +Linux+ and +FreeBSD+.
2461 : jhr 3992 +
2462 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2463 :    
2464 :     //--------------------------------------------------------------------
2465 :     [2006/04/14]::
2466 :     +
2467 :     MLRISC changes:
2468 :     +
2469 : jhr 4002 --
2470 :     . renamed +GAS_PSEUDO_OPS+ to +AS_PSEUDO_OPS+ and put it in its own file.
2471 :     . added support for +NOTB+ and +XORB+ operators in pseudo-op expressions
2472 :     . added +DarwinPseudoOp+ functor that supports Darwin's assembler syntax.
2473 :     . added support for 64-bit integer literals
2474 :     --
2475 :     +
2476 : jhr 3995 owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2477 : jhr 3992
2478 :     //====================================================================
2479 :     == Version 110.58; 2006/03/03
2480 :    
2481 :    
2482 :     //--------------------------------------------------------------------
2483 :     [2006/03/01]::
2484 :     +
2485 : jhr 4002 Incorporated several bugfixes to *lexgen*. Compiler now compiles to
2486 : jhr 3992 fixpoint when using lexgen instead of *ml-lex*.
2487 :     +
2488 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2489 :    
2490 :     //--------------------------------------------------------------------
2491 :     [2006/02/28]::
2492 :     +
2493 : jhr 4002 Removed *ml-flex* and added *lexgen* instead, using Aaron Turon's newly
2494 : jhr 3992 provided tarball. The generated lexers still have problems.
2495 :     +
2496 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2497 :    
2498 :     //--------------------------------------------------------------------
2499 :     [2006/02/26]::
2500 :     +
2501 : jhr 4002 Removed *ml-flex*'s dependency on *regexp-lib.cm*. Turned installation
2502 :     of *ml-flex* on by default.
2503 : jhr 3992 +
2504 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2505 :    
2506 :     //--------------------------------------------------------------------
2507 :     [2006/02/24]::
2508 :     +
2509 : jhr 4002 Added *ml-flex* sources. Partially integrated, but should not be
2510 :     turned on yet! (Read: leave it commented-out in ++config/targets++!)
2511 : jhr 3992 +
2512 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2513 :    
2514 :     //--------------------------------------------------------------------
2515 :     [2006/02/23]::
2516 :     +
2517 : jhr 4002 Changes to support building on *x86-64* systems (using the 32-bit mode).
2518 :     Also cleaned up signal handling on *Linux*. Support for pre-2.2 *Linux*
2519 : jhr 3992 kernels dropped.
2520 :     +
2521 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2522 :    
2523 :     //--------------------------------------------------------------------
2524 :     [2006/02/22]::
2525 :     +
2526 : jhr 4002 *CM* has changed. Updated the script for rebuilding the *MLRISC* generated
2527 : jhr 3992 files.
2528 :     +
2529 :     owner:[Allen Leung]
2530 :    
2531 :     //--------------------------------------------------------------------
2532 :     [2006/02/14]::
2533 :     +
2534 :     Hooked code for Darwin-specific Intel ABI into main compiler.
2535 :     (This is a temporary solution which relies on the fact that the
2536 :     compiler itself does not use NLFFI. Eventually we need to divorce
2537 :     intel mac from generic x86 unix code and make separate sets of binaries.)
2538 :     +
2539 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2540 :    
2541 :     //--------------------------------------------------------------------
2542 :     [2006/02/13]::
2543 :     +
2544 : jhr 4002 Changed *MLRISC* x86 +CCalls+ for partial support of *Mac OS X* ABI.
2545 : jhr 3992 +
2546 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2547 :    
2548 :     //--------------------------------------------------------------------
2549 :     [2006/02/06]::
2550 :     +
2551 : jhr 4002 Changes to support *Mac OS X* on Intel hardware. The C-calls support in
2552 :     MLRISC must also be updated to support the *Mac OS X* ABI.
2553 : jhr 3992 +
2554 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2555 :    
2556 :     //--------------------------------------------------------------------
2557 :     [2005/12/16]::
2558 :     +
2559 : jhr 4002 Improved error reporting and handling in *CM*.
2560 : jhr 3992 +
2561 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2562 :    
2563 :     //--------------------------------------------------------------------
2564 :     [2005/11/21]::
2565 :     +
2566 : jhr 4002 Enabling +$/html-lib.cm+ in +config/preloads+ did not work. This is fixed
2567 :     now. (Since the anchor mapping for +html-lib.cm+ is not yet in effect
2568 :     at the time when +config/preloads+ is processed, the library has to
2569 : jhr 3992 be referred to by another name. In 110.57 this would be
2570 : jhr 4002 +$SMLNJ-LIB/HTML/html-lib.cm+. I arranged for +$smlnj/smlnj-lib/html-lib.cm+
2571 : jhr 3992 to be valid as well.)
2572 :     +
2573 :     Thanks to Todd Wilson (Fresno) for alerting me to this issue.
2574 :     +
2575 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2576 :    
2577 :     //====================================================================
2578 :     == Version 110.57; 2005/11/19
2579 :    
2580 :    
2581 :     //--------------------------------------------------------------------
2582 :     [2005/11/19]::
2583 :     +
2584 : jhr 4002 Fixed a problem in +config/install.sh+ where it tries to "fish" the
2585 :     name of the *CM* metadata directory from the wrong place (because
2586 :     the physical location of +basis.cm+ has changed). Also, corrected the
2587 :     path anchor for +$/html-lib.cm+. (Thanks to M. Fluet for pointing out
2588 : jhr 3992 these problems.)
2589 :     +
2590 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2591 :    
2592 :     //====================================================================
2593 :     == Version 110.57; 2005/11/16
2594 :    
2595 :    
2596 :     //--------------------------------------------------------------------
2597 :     [2005/11/16]::
2598 :     +
2599 :     Fixed problem with bogus exception message when using back-trace
2600 :     facility.
2601 :     +
2602 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2603 :    
2604 :     //--------------------------------------------------------------------
2605 :     [2005/11/15]::
2606 :     +
2607 : jhr 4002 Added simple implementation of +Array2.copy+. (Warning: mostly untested.)
2608 : jhr 3992 +
2609 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2610 :    
2611 :     //--------------------------------------------------------------------
2612 :     [2005/11/15]::
2613 :     +
2614 : jhr 4002 Reversed change to +src/system/smlnj/internals/versiontool.cm+. This
2615 : jhr 3992 file gets loaded as a tool -- by the equivalent of CM.make during the
2616 : jhr 4002 run of +CMB.make+. Thus, CMB's path configuration is meaningless for
2617 : jhr 3992 it. Instead, it has the status of "user code", so it should use
2618 : jhr 4002 +$/basis.cm+ to refer to the Basis library. (At least that's true for
2619 : jhr 3992 the purpose of bootstrapping the previous change. In the future it
2620 : jhr 4002 might make sense to have +versiontool.cm+ refer to
2621 :     +$smlnj/basis/basis.cm+, _i.e._, the version of the Basis that the
2622 : jhr 3992 compiler itself uses.)
2623 :     +
2624 : jhr 4002 Also patched +src/system/testml+ to have it activate those extra anchor
2625 :     bindings in +config/extrapathconfig+.
2626 : jhr 3992 +
2627 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2628 :    
2629 :     //--------------------------------------------------------------------
2630 :     [2005/11/15]::
2631 :     +
2632 :     This change affects the way the following libraries are tied into
2633 :     the system:
2634 :     +
2635 : jhr 4002 ....................
2636 : jhr 3992 $/basis.cm
2637 :     $/smlnj-lib.cm
2638 :     $/pp-lib.cm
2639 :     $/controls-lib.cm
2640 :     $/html-lib.cm
2641 :     $/ml-yacc-lib.cm
2642 : jhr 4002 ....................
2643 : jhr 3992 +
2644 :     These libraries are now internally (as seen from the source code
2645 :     of the implementation itself) known by the following names:
2646 :     +
2647 : jhr 4002 ....................
2648 : jhr 3992 $smlnj/basis/basis.cm
2649 :     $smlnj/smlnj-lib/smlnj-lib.cm
2650 :     $smlnj/smlnj-lib/pp-lib.cm
2651 :     $smlnj/smlnj-lib/controls-lib.cm
2652 :     $smlnj/smlnj-lib/html-lib.cm
2653 :     $smlnj/ml-yacc/ml-yacc-lib.cm
2654 : jhr 4002 ....................
2655 : jhr 3992 +
2656 :     This makes it possible to work with code that requires different
2657 :     versions of these libraries, and which refers to these libraries using
2658 :     their "default" names (_i.e._, the first set of names above). In other
2659 :     words, one can un-define or re-define those default names without
2660 :     compromising the proper functioning of the compiler itself.
2661 :     +
2662 :     A similar procedure had already been performed for several of the
2663 : jhr 4002 *MLRISC* libraries that are linked into the compiler. I did some
2664 : jhr 3992 cleanup on this code.
2665 :     +
2666 :     A new file in the config directory (named extrapathconfig) is
2667 :     responsible for setting up path anchors that the compiler itself does
2668 :     not need, but that are typically required by user code.
2669 :     +
2670 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2671 :    
2672 :     //--------------------------------------------------------------------
2673 :     [2005/11/07]::
2674 :     +
2675 : jhr 4002 Fixed erroneous out-of-bounds test in the "+update+" function of
2676 :     various *++ArraySlice++ modules. (Thanks to Vesa A. Norrman for pointing
2677 : jhr 3992 out the problem.)
2678 :     +
2679 :     Pushed some Basis changes through ML-Lex, CML, and eXene.
2680 :     +
2681 :     owner:[Matthias Blume]
2682 :    
2683 :     //--------------------------------------------------------------------
2684 :     [2005/11/07]::
2685 :     +
2686 : jhr 4002 Fixed a Basis incompatibility: The depreciated function +Substring.all+
2687 :     was removed (use +Substring.full+ instead).
2688 : jhr 3992 +
2689 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2690 :    
2691 :     //--------------------------------------------------------------------
2692 :     [2005/11/05]::
2693 :     +
2694 :     Tweaked interval set API in SML/NJ library; see the CHANGES file for details.
2695 :     +
2696 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2697 :    
2698 :     //--------------------------------------------------------------------
2699 :     [2005/11/02]::
2700 :     +
2701 : jhr 4002 --
2702 : jhr 3992 * Runtime system bootstrap code now accepts hex digits in BOOTLIST
2703 :     in either upper case or lower case format.
2704 : jhr 4002 * Pushed changes to names of ++Pack++<__N__>{++Big++,++Little++}
2705 :     structures through
2706 : jhr 3992 CML and eXene.
2707 : jhr 4002 --
2708 : jhr 3992 +
2709 :     owner:[Matthias Blume,http://www.tti-c.org/blume/]
2710 :    
2711 :     //--------------------------------------------------------------------
2712 :     [2005/11/02]::
2713 :     +
2714 : jhr 4002 Fixed a Basis incompatibility: ++Pack++<__N__>{++Big++,++Little++}
2715 :     structures should be named ++PackWord++<__N__>{++Big++,++Little++}.
2716 : jhr 3992 +
2717 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2718 :    
2719 :     //--------------------------------------------------------------------
2720 :     [2005/10/28]::
2721 :     +
2722 :     Fixed a minor Basis incompatibility: hex digits should be upper case.
2723 :     +
2724 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2725 :    
2726 :     //====================================================================
2727 :     == Version 110.56; 2005/10/25
2728 :    
2729 :    
2730 :     //--------------------------------------------------------------------
2731 :     [2005/10/25]::
2732 :     +
2733 : jhr 4002 Added interval sets to utility library (signatures +INTERVAL_DOMAIN+
2734 :     and +INTERVAL_SET+, and functor +IntervalSetFn+).
2735 : jhr 3992 +
2736 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2737 :    
2738 :     //--------------------------------------------------------------------
2739 :     [2005/10/14]::
2740 :     +
2741 :     Add Zhong Shao's fix for datatype equality functions.
2742 :     +
2743 :     owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2744 :    
2745 :     //--------------------------------------------------------------------
2746 :     [2005/10/14]::
2747 :     +
2748 :     Bug fix a bug found by Carl Hauser.
2749 : jhr 4002 There was a typo in the reload code for +FCMP+ in +x86SpillInstr.sml+.
2750 : jhr 3992 +
2751 :     owner:[Allen Leung]
2752 :    
2753 :     //--------------------------------------------------------------------
2754 :     [2005/10/14]::
2755 :     +
2756 : jhr 4002 Removed some debugging code in file +x86Asm.sml+.
2757 : jhr 3992 The function emit_operand was printing out debugging output.
2758 :     +
2759 :     owner:[Allen Leung]
2760 :    
2761 :     //--------------------------------------------------------------------
2762 :     [2005/07/27]::
2763 :     +
2764 : jhr 4002 Fixed *ml-lex* to recognize "+\r+" as representing carriage return.
2765 : jhr 3992 +
2766 : jhr 3995 owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2767 : jhr 3992
2768 :     //--------------------------------------------------------------------
2769 :     [2005/07/27]::
2770 :     +
2771 :     Fixed *ml-yacc* to work on files with non-native end-of-line
2772 :     encodings (_e.g._, Windows text file on a Unix system).
2773 :     +
2774 : jhr 3995 owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2775 : jhr 3992
2776 :     //--------------------------------------------------------------------
2777 :     [2005/07/20]::
2778 :     +
2779 :     Added changes from Dominic Evans (oldmanuk (at) gmail (dot) com)
2780 : jhr 4002 to support *HPUX 11*.
2781 : jhr 3992 +
2782 : jhr 3995 owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2783 : jhr 3992
2784 :     //--------------------------------------------------------------------
2785 :     [2005/07/06]::
2786 :     +
2787 : jhr 4002 Changes to the *SML/NJ Library*. See smlnj-lib/CHANGES for details.
2788 : jhr 3992 +
2789 : jhr 3995 owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
2790 : jhr 3992
2791 :     //--------------------------------------------------------------------
2792 :     [2005/07/06]::
2793 :     +
2794 :     Fixed reversed logic for deciding whether to "copy up" or "copy down"
2795 : jhr 4002 in *++-array-slice.sml++.
2796 : jhr 3992 +
2797 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2798 : jhr 3992
2799 :     //--------------------------------------------------------------------
2800 :     [2005/05/31]::
2801 :     +
2802 : jhr 4002 A typo in the Cygwin code fixed.
2803 : jhr 3992 +
2804 :     owner:[Allen Leung]
2805 :    
2806 :     //--------------------------------------------------------------------
2807 :     [2005/05/31]::
2808 :     +
2809 :     Updated Cygwin's fault/signal handling to match the Windows version.
2810 :     Updated the export list.
2811 :     +
2812 :     owner:[Allen Leung]
2813 :    
2814 :     //====================================================================
2815 :     == Version 110.54; 2005/05/18
2816 :    
2817 :    
2818 :     //--------------------------------------------------------------------
2819 :     [2005/05/18]::
2820 :     +
2821 : jhr 4002 Added support scripts for *Mac OS X PackageMaker* and modified
2822 :     +config/install.sh+ so that it supports re-dumping a heap image
2823 : jhr 3992 after customization.
2824 :     +
2825 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2826 : jhr 3992
2827 :     //--------------------------------------------------------------------
2828 :     [2005/05/18]::
2829 :     +
2830 :     Un-overloaded / to work around bug in overloading resolution code.
2831 :     +
2832 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2833 : jhr 3992
2834 :     //--------------------------------------------------------------------
2835 :     [2005/05/16]::
2836 :     +
2837 :     Added mechanism for re-creating a heap file for the interactive system
2838 :     after configuration variables have been changed.
2839 :     +
2840 : jhr 4002 [source,sml]
2841 :     ------------
2842 : jhr 3992 CM.redump_heap : string -> unit
2843 : jhr 4002 ------------
2844 : jhr 3992 +
2845 : jhr 4002 This is much like +SMLofNJ.exportML+, but starting from the resulting
2846 :     heap does not return to the caller of +CM.redump_heap+ but
2847 : jhr 3992 restarts the interactive system from scratch. The original call of
2848 : jhr 4002 +CM.redump_heap+ does not return but ends the interactive session.
2849 :     Thus, +CM.redump_heap+ is a lot like +SMLofNJ.exportFn+.
2850 : jhr 3992 +
2851 : jhr 4002 Internally, +redump_heap+ winds the dynamic execution context back to
2852 : jhr 3992 the point where the original heap image was created and re-executes
2853 :     the heap image generation code in the boot code.
2854 :     +
2855 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2856 : jhr 3992
2857 :     //--------------------------------------------------------------------
2858 :     [2005/05/09]::
2859 :     +
2860 : jhr 4002 Added a hack to the existing hack known as +Word64+ to make +fromString+
2861 :     behave correctly. I am still not sure whether +Word64.scan+ will work
2862 : jhr 3992 as specified with respect to the interaction of radix and prefix.
2863 :     +
2864 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2865 : jhr 3992
2866 :     //--------------------------------------------------------------------
2867 :     [2005/05/04]::
2868 :     +
2869 :     Added a gc protocol checking phase. This phase is enabled with
2870 :     the flag "check-gc". "debug-check-gc" turns on the verbose mode.
2871 :     +
2872 :     owner:[Allen Leung]
2873 :    
2874 :     //--------------------------------------------------------------------
2875 :     [2005/05/04]::
2876 :     +
2877 : jhr 4002 Fixed a bug in the implementation of +div+ and +mod+ for +IntInf+.
2878 : jhr 3992 Thanks to Neophytos Michael for reporting the problem.
2879 :     +
2880 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2881 : jhr 3992
2882 :     //--------------------------------------------------------------------
2883 :     [2005/05/04]::
2884 :     +
2885 : jhr 4002 Added the +join+ combinator to the +ParserComb+ module in the
2886 :     *SML/NJ Library*.
2887 : jhr 3992 +
2888 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2889 : jhr 3992
2890 :     //--------------------------------------------------------------------
2891 :     [2005/02/28]::
2892 :     +
2893 :     Fixed serious bug (brown paper bag variety) in new implementation of
2894 : jhr 4002 structure +Atom+ in *CML*. (I had accidentally used a +mailbox+ instead of
2895 :     an +mvar+, leaving the door open for races.)
2896 : jhr 3992 +
2897 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2898 : jhr 3992
2899 :     //====================================================================
2900 :     == Version 110.53; 2005/02/25
2901 :    
2902 :    
2903 :     //--------------------------------------------------------------------
2904 :     [2005/02/25]::
2905 :     +
2906 : jhr 4002 Brought back +SMLofNJ.Susp+. The underlying suspension type is the one
2907 :     implemented in Core, which means that it is the same as the one used
2908 : jhr 3992 by the lazy extension.
2909 :     +
2910 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2911 : jhr 3992
2912 :     //--------------------------------------------------------------------
2913 :     [2005/02/24]::
2914 :     +
2915 :     Simpler and at the same time more general implementation of structure
2916 : jhr 4002 +Atom+ in *CML*.
2917 : jhr 3992 +
2918 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2919 : jhr 3992
2920 :     //--------------------------------------------------------------------
2921 :     [2005/02/15]::
2922 :     +
2923 : jhr 4002 Created new "+tools+" directory under "+src+" and moved "+TraceDebugProf+"
2924 : jhr 3992 there.
2925 :     +
2926 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2927 : jhr 3992
2928 :     //--------------------------------------------------------------------
2929 :     [2005/02/10]::
2930 :     +
2931 : jhr 4002 Implemented "+long long+" arguments and results for NLFFI. (Only the
2932 : jhr 3992 PPC/MacOS implementation is complete, the other backends still need to
2933 :     be updated.)
2934 :     +
2935 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2936 : jhr 3992
2937 :     //--------------------------------------------------------------------
2938 :     [2005/01/24]::
2939 :     +
2940 :     Minor cleanup in ML-Yacc rule printing mechanism. This should fix a
2941 :     problem with certain "as" patterns which previously got rendered
2942 :     using incorrect syntax.
2943 :     +
2944 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2945 : jhr 3992
2946 :     //--------------------------------------------------------------------
2947 :     [2005/01/18]::
2948 :     +
2949 :     Made time profiling code (interrupt handler) in runtime system aware
2950 :     of new array representation.
2951 :     +
2952 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2953 : jhr 3992
2954 :     //--------------------------------------------------------------------
2955 :     [2005/01/14]::
2956 :     +
2957 : jhr 4002 Implemented new (but still experimental) *heap2exec* facility. This is
2958 : jhr 3992 tested under Mac OS X and should work under Linux (will test shortly).
2959 :     It will probably also work on the Sparc (will test some time later).
2960 : jhr 4002 Also removed old "+HACKED_STANDALONE+" hack from runtime
2961 : jhr 3992 +
2962 : jhr 4002 To be able to test *heap2exec*, uncomment the request for "+heap2asm+" in
2963 : jhr 3992 config/targets prior to installation. (Notice that this is different
2964 :     from "heap2exec" mentioned below. Not a typo.)
2965 :     +
2966 :     To perform an actual test, run the command
2967 :     +
2968 :     $ bin/heap2exec heapfile execfile
2969 :     +
2970 : jhr 4002 (You can put *heap2exec* on your shell's path.)
2971 : jhr 3992 +
2972 :     For example, run
2973 :     +
2974 :     $ bin/heap2exec bin/.heap/ml-yacc.ppc-darwin mly
2975 :     +
2976 : jhr 4002 This will create a standalone executable called "+mly+" that you can
2977 : jhr 3992 then invoke directly as a command.
2978 :     +
2979 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2980 : jhr 3992
2981 :     //--------------------------------------------------------------------
2982 :     [2005/01/07]::
2983 :     +
2984 : jhr 4002 fixed off-by-one error in +ML_STRING+ macro (+globals.c+)
2985 : jhr 3992 +
2986 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2987 : jhr 3992
2988 :     //--------------------------------------------------------------------
2989 :     [2004/12/23]::
2990 :     +
2991 :     Made *ml-build* script "smarter" (but only very little).
2992 :     +
2993 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
2994 : jhr 3992
2995 :     //--------------------------------------------------------------------
2996 :     [2004/12/21]::
2997 :     +
2998 : jhr 4002 * Implemented access to signed and unsigned long long data in *NLFFI*.
2999 : jhr 3992 (The parameter-passing part of the picture has not complete. But
3000 :     data structure access seems to work.)
3001 :     +
3002 : jhr 4002 * Fixed *CM*'s incorrect assumption that the PPC is little-endian.
3003 : jhr 3992 (On the Mac, it is big-endian. And that's currently our only
3004 : jhr 4002 *PPC* platform.)
3005 : jhr 3992 +
3006 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3007 : jhr 3992
3008 :     //--------------------------------------------------------------------
3009 :     [2004/12/21]::
3010 :     +
3011 : jhr 4002 Some cleanup in the +$c/memory.cm+ library: separated some concerns by
3012 : jhr 3992 moving allocation code and memory access code each into their own
3013 :     files.
3014 :     +
3015 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3016 : jhr 3992
3017 :     //--------------------------------------------------------------------
3018 :     [2004/12/17]::
3019 :     +
3020 : jhr 4002 The Unix I/O library of SML/NJ on Cygwin does not understand
3021 : jhr 3992 Windows style pathname, so problems arise when +SMLNJ_HOME+ is set
3022 : jhr 4002 to a Windows style pathname. The _run-sml script now
3023 :     converts +SMLNJ_HOME+ to a POSIX pathname on Cygwin.
3024 : jhr 3992 +
3025 :     owner:[Allen Leung]
3026 :    
3027 :     //--------------------------------------------------------------------
3028 :     [2004/12/16]::
3029 :     +
3030 :     Last-minute changes incorporated into 110.52. Release tag moved.
3031 :     +
3032 :     The changes:
3033 : jhr 4002 - +HashString.hashString'+ -> +HashString.hashSubstring+
3034 :     - bug fix in +UnivariateStats+
3035 : jhr 3992 +
3036 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3037 : jhr 3992
3038 :     //--------------------------------------------------------------------
3039 :     [2004/12/15]::
3040 :     +
3041 : jhr 4002 - +HashString.hashString' -> HashString.hashSubstring
3042 :     - corresponding changes in +atom.sml+
3043 :     - "de-compressed" (aka. un-obfuscated) code for +UnivariateStats+ and
3044 : jhr 3992 added some comments
3045 :     +
3046 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3047 : jhr 3992
3048 :     //====================================================================
3049 :     == Version 110.52; 2004/12/15
3050 :    
3051 :    
3052 :     //--------------------------------------------------------------------
3053 :     [2004/12/15]::
3054 :     +
3055 :     More on the space problem (this time for *Win32*).
3056 :     +
3057 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3058 : jhr 3992
3059 :     //--------------------------------------------------------------------
3060 :     [2004/12/14]::
3061 :     +
3062 :     Hacked some of the scripts (in particular: the installer) to cope with
3063 :     spaces in filenames a bit better. But beware: the current "solution"
3064 :     is likely still full of bugs and inherently incomplete. (We need to
3065 :     do away with those shell scripts for a comprehensive solution.)
3066 :     +
3067 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3068 : jhr 3992
3069 :     //--------------------------------------------------------------------
3070 :     [2004/12/13]::
3071 :     +
3072 :     Fixed bug in code for *ml-makedepend*.
3073 :     +
3074 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3075 : jhr 3992
3076 :     //--------------------------------------------------------------------
3077 :     [2004/12/09]::
3078 :     +
3079 :     Added two simple but potentially useful statistics modules to SML/NJ Library.
3080 :     (See CHANGES file there.)
3081 :     +
3082 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3083 : jhr 3992
3084 :     //--------------------------------------------------------------------
3085 :     [2004/12/01]::
3086 :     +
3087 : jhr 4002 Updates to *SML/NJ Library*
3088 : jhr 3992 +
3089 : jhr 4002 --
3090 :     * Added function +HashString.hashString'+ for substrings.
3091 :     * Hand-inlined +CharVector.foldl+ into +HashString+ (for speed).
3092 :     * Modified implementation of structure +Atom+ to avoid extracting
3093 :     strings from substrings unless necessary.
3094 :     --
3095 : jhr 3992 +
3096 : jhr 4002 (Also see CHANGES file for smlnj-lib.)
3097 :     +
3098 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3099 : jhr 3992
3100 :     //--------------------------------------------------------------------
3101 :     [2004/11/24]::
3102 :     +
3103 : jhr 4002 Made sure *CML* compiles when the +Position+ structure is +Int64+.
3104 : jhr 3992 +
3105 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3106 : jhr 3992
3107 :     //--------------------------------------------------------------------
3108 :     [2004/11/24]::
3109 :     +
3110 : jhr 4002 The compiler can now be compiled in a mode that makes structure +Position+
3111 :     equal to +Int64+. The default, however, is unchanged (+Position+ is +Int31+)
3112 : jhr 3992 for the time being.
3113 :     +
3114 :     To enable 64-bit positions, use the following procedure:
3115 :     +
3116 : jhr 4002 --
3117 :     . Start sml
3118 :     . Autoload $smlnj/cmb.cm (if not already autoloaded)
3119 :     . Type
3120 : jhr 3992 +
3121 : jhr 4002 [source,sml]
3122 :     ------------
3123 :     #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
3124 :     ------------
3125 :     +
3126 :     . Run +CMB.make()+ as usual.
3127 :     --
3128 :     +
3129 : jhr 3992 This is barely tested. The only test so far was a little SML program
3130 :     counting the number of characters in an 8-gigabyte file by
3131 :     reading it character-by-character. That test was successful.
3132 :     +
3133 :     In support of 64-bit positions, a number of new functions have been
3134 :     added to the runtime system.
3135 :     +
3136 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3137 : jhr 3992
3138 :     //--------------------------------------------------------------------
3139 :     [2004/11/23]::
3140 :     +
3141 :     Fixed a problem with unhelpful error messages related to problems with
3142 : jhr 4002 +.cm+ or +.sml+ files that appear as part of the *sml* command line.
3143 : jhr 3992 +
3144 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3145 : jhr 3992
3146 :     //====================================================================
3147 :     == Version 110.51; 2004/11/18
3148 :    
3149 :    
3150 :     //--------------------------------------------------------------------
3151 :     [2004/11/18]::
3152 :     +
3153 : jhr 3995 Enabled +dlopen+ and friends for *FreeBSD* (as recommended by Johannes 5
3154 : jhr 3992 Joemann).
3155 :     +
3156 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3157 : jhr 3992
3158 :     //--------------------------------------------------------------------
3159 :     [2004/11/17]::
3160 :     +
3161 : jhr 3995 Added support for +MLTree+ constructs +LIVE+ and +KILL+
3162 : jhr 3992 to all the architectures.
3163 :     +
3164 :     owner:[Allen Leung]
3165 :    
3166 :     //--------------------------------------------------------------------
3167 :     [2004/11/13]::
3168 :     +
3169 : jhr 3995 - Stripped down the +versiontool:+ It now only handles the version number.
3170 : jhr 3992 The date string is generated at bootstrap time (during makeml).
3171 :     +
3172 :     - In a previous commit, fixed a minor issue with how polyequal is being
3173 :     translated. In particular, the code now "looks through" abstractions.
3174 :     This results in slightly fewer polyEqual warnings and hopefully slightly
3175 :     more efficient code. Important examples for where this matters are
3176 : jhr 3995 the new +int64+ and +word64+ types.
3177 : jhr 3992 +
3178 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3179 : jhr 3992
3180 :     //--------------------------------------------------------------------
3181 :     [2004/11/12]::
3182 :     +
3183 : jhr 3995 Structure +Int64+ fully hooked in. (The implementation is not very
3184 : jhr 3992 efficient, though.)
3185 :     +
3186 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3187 : jhr 3992
3188 :     //--------------------------------------------------------------------
3189 :     [2004/11/11]::
3190 :     +
3191 : jhr 3995 All the pieces of +Word64+ are now there, with the exception of the
3192 :     conversions from and to +LargeWord+. (Eventually these need to be identities,
3193 :     but for the time being they don't even make sense because +LargeWord+ is
3194 : jhr 3992 32-bit wide.)
3195 :     +
3196 : jhr 3995 Also started to add similar support for +Int64+, but major pieces of that
3197 : jhr 3992 are still missing.
3198 :     +
3199 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3200 : jhr 3992
3201 :     //--------------------------------------------------------------------
3202 :     [2004/11/11]::
3203 :     +
3204 : jhr 3995 Structure +Word64+ is now (almost) complete, word literals and patterns
3205 : jhr 3992 seem to work. There are a few odd pieces missing. In particular,
3206 : jhr 3995 I didn't do the {++from++,++to++}++LargeWord++ parts because +LargeWord+
3207 :     is still +Word32+ at the moment.
3208 : jhr 3992 +
3209 : jhr 3995 Making +Word64+ official would mean that +LargeWord+ becomes +Word64+. But
3210 : jhr 3992 this requires extreme care because most word-word conversions have to
3211 : jhr 3995 go through +LargeWord+, so making a mistake means loss of efficiency or
3212 : jhr 3992 worse. Eventually there will be a solution similar to (but actually
3213 : jhr 3995 simpler than) what I did with +IntInf+.
3214 : jhr 3992 +
3215 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3216 : jhr 3992
3217 :     //--------------------------------------------------------------------
3218 :     [2004/11/10]::
3219 :     +
3220 :     More 64-bit hacking (but still not even half-way there yet).
3221 :     Also, some assorted improvements to the handling of 8-bit words.
3222 :     +
3223 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3224 : jhr 3992
3225 :     //--------------------------------------------------------------------
3226 :     [2004/11/09]::
3227 :     +
3228 :     Started adding some infrastructure for supporting 64-bit int- and
3229 :     word-types. (Still in its very early stages.)
3230 :     +
3231 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3232 : jhr 3992
3233 :     //====================================================================
3234 :     == Version 110.50; 2004/10/28
3235 :    
3236 :    
3237 :     //--------------------------------------------------------------------
3238 :     [2004/10/28]::
3239 :     +
3240 :     - Changend config/srcarchiveurl from a file just
3241 :     containing the URL string into a file containing
3242 :     shell script code. The code has access to the $VERSION variable.
3243 :     - Made corresponding changes to config/install.sh and config/unpack.
3244 :     - Default contents of config/srcarchiveurl uses $VERSION and
3245 :     normally does not have to be edited to reflect a version change.
3246 :     +
3247 : jhr 4002 (As a result, a version change can be done by just editing
3248 :     +config/version+, the rest is now automatic.)
3249 : jhr 3992 +
3250 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3251 : jhr 3992
3252 :     //--------------------------------------------------------------------
3253 :     [2004/10/27]::
3254 :     +
3255 :     BackTrace.monitor now also reports the source of the exception that
3256 :     triggered the trace.
3257 :     +
3258 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3259 : jhr 3992
3260 :     //--------------------------------------------------------------------
3261 :     [2004/10/27]::
3262 :     +
3263 :     This is the HISTORY entry for two earlier commits, both concerning
3264 : jhr 4002 the *x86* c-calls code in *MLRISC*:
3265 : jhr 3992 +
3266 :     - added a missing LOAD in the code that deals with struct arguments
3267 :     - made sure the caller does not add the wrong number of bytes to the
3268 :     stack pointer after a call of a function returning a struct
3269 :     (the callee already pops the implicit argument which points to
3270 :     the space reserved for the result)
3271 :     +
3272 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3273 : jhr 3992
3274 :     //--------------------------------------------------------------------
3275 :     [2004/10/24]::
3276 :     +
3277 : jhr 4002 John discovered a bug in the syntax of +fucomip+.
3278 :     The opcodes ++FU++?++COMIP++? have been changed to
3279 : jhr 3992 +
3280 :     fu?comip? %st(i), %st
3281 :     +
3282 :     owner:[Allen Leung]
3283 :    
3284 :     //--------------------------------------------------------------------
3285 :     [2004/10/20]::
3286 :     +
3287 :     Added a mechanism for getting back-trace information from standalone
3288 :     programs. Here is how it works:
3289 :     +
3290 : jhr 4002 --
3291 :     . The part of the program from which you want to get backtrace
3292 :     information (usually the whole program) should be wrapped with
3293 :     BackTrace.monitor. This is a +(unit->'a)->'a+ function, and your
3294 :     main program could be modified from something like
3295 : jhr 3992 +
3296 : jhr 4002 [source,sml]
3297 :     ------------
3298 :     fun main (pgm, args) = ...
3299 :     ------------
3300 : jhr 3992 +
3301 : jhr 4002 to
3302 : jhr 3992 +
3303 : jhr 4002 [source,sml]
3304 :     ------------
3305 :     fun main (pgm, args) = BackTrace.monitor (fn () => ...)
3306 :     ------------
3307 : jhr 3992 +
3308 : jhr 4002 . To be able to access +BackTrace.monitor+, you have to add the
3309 :     library +$smlnj-tdp/plugins.cm+ to the +.cm+ file that contains your
3310 :     main function.
3311 : jhr 3992 +
3312 : jhr 4002 . Remove all compiled code (_i.e._, all the .cm/ subdirectories that
3313 :     *CM* might have created in the past for your project).
3314 : jhr 3992 +
3315 : jhr 4002 . Build the system using this command line:
3316 : jhr 3992 +
3317 : jhr 4002 [source,sh]
3318 :     ------------
3319 :     ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm myprog.cm MyProg.main myprog
3320 :     ------------
3321 : jhr 3992 +
3322 : jhr 4002 instead of the usual
3323 : jhr 3992 +
3324 : jhr 4002 [source,sh]
3325 :     ------------
3326 :     ml-build myprog.cm MyProg.main myprog
3327 :     ------------
3328 :     --
3329 : jhr 3992 +
3330 : jhr 4002 I changed the library name +$/trace-debug-profile.cm+ to +$smlnj-tdp/plugins.cm+,
3331 :     and added the following new libraries:
3332 : jhr 3992 +
3333 : jhr 4002 --
3334 :     +$smlnj-tdp/back-trace.cm+::
3335 : jhr 3992 +
3336 : jhr 4002 when loaded causes the back-trace plugin to be installed
3337 : jhr 3992 +
3338 : jhr 4002 +$smlnj-tdp/coverage.cm+::
3339 : jhr 3992 +
3340 : jhr 4002 when loaded causes the coverage plugin to be installed
3341 :     --
3342 :     +
3343 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3344 : jhr 3992
3345 :     //--------------------------------------------------------------------
3346 :     [2004/10/18]::
3347 :     +
3348 : jhr 4002 Added an "obsolete" warning for the "group owner" syntax to *CM*'s parser.
3349 : jhr 3992 +
3350 : jhr 4002 Eliminated group owner specs from +.cm+ files throughout the source tree.
3351 : jhr 3992 +
3352 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3353 : jhr 3992
3354 :     //--------------------------------------------------------------------
3355 :     [2004/10/15]::
3356 :     +
3357 : jhr 4002 --
3358 : jhr 3992 * Test coverage tool added!
3359 :     * Further reorganization of tracing-, debugging-, and profiling support:
3360 :     +
3361 :     - moved original BTImp -- now called BackTrace -- into a separate
3362 :     library called $/trace-debug-profile.cm
3363 :     - eliminated all mentions of BTrace from SMLofNJ.Internals
3364 :     - only the instrumentation mechanism is now left in the compiler proper
3365 :     - BackTrace module is a plugin which is NOT plugged in by default
3366 :     - Coverage module is another such plugin
3367 : jhr 4002 --
3368 : jhr 3992 +
3369 :     To get the benefits of any of these plugin modules, the code in
3370 : jhr 4002 question must be compiled with TDP instrumentation turned on. This
3371 :     can be done by setting +SMLofNJ.Internals.TDP.mode+ to +true+.
3372 :     (The ref cell is also controlled via the +-Ctdp.instrument=...+ switch.)
3373 : jhr 3992 +
3374 :     Plugins are selected at link time. (Pre-compiled instrumented code
3375 :     can be re-loaded with different plugins in effect.) When an
3376 :     instrumented module is linked, whatever plugins are at that time
3377 :     enabled will come into effect for that module.
3378 :     +
3379 : jhr 4002 To enable the back-trace plugin, load library +$/trace-debug-profile.cm+
3380 :     and invoke +BackTrace.install()+ (_e.g._, from the interactive prompt).
3381 : jhr 3992 To enable the coverage plugin, load the same library and invoke
3382 : jhr 4002 +Coverage.install()+.
3383 : jhr 3992 +
3384 :     Back-traces are generated automatically on uncaught exceptions and
3385 : jhr 4002 when the code in question explicitly invokes +BackTrace.trigger()+.
3386 : jhr 3992 +
3387 :     Coverage (and execution frequency-) information must be queried
3388 : jhr 4002 explicitly by calling +Coverage.not_covered+ and +Coverage.hot_spots+.
3389 : jhr 3992 +
3390 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3391 : jhr 3992
3392 :     //--------------------------------------------------------------------
3393 :     [2004/10/14]::
3394 :     +
3395 : jhr 4002 Snapshot of a significant overhaul of how the +trace/debug/profile+ support
3396 :     is hooked into the system (specifically: +Core+ and +SMLofNJ.Internals+).
3397 : jhr 3992 +
3398 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3399 : jhr 3992
3400 :     //--------------------------------------------------------------------
3401 :     [2004/10/13]::
3402 :     +
3403 :     Some rationalization of names:
3404 :     +
3405 :     structure BTrace -> structure TDPInstrument
3406 :     etc.
3407 :     +
3408 :     This is is preparation of using the original back-trace
3409 :     instrumentation for other purposes. "TDP" stands for
3410 :     Trace/Debug/Profile.
3411 :     +
3412 :     The control flag controlling whether instrumentation is on or off is now
3413 :     registered under a different name, so instead of running sml as
3414 :     +
3415 :     sml -Cinstrument.btrace-mode=true
3416 :     +
3417 :     one has to say
3418 :     +
3419 :     sml -Ctdp.instrument=true
3420 :     +
3421 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3422 : jhr 3992
3423 :     //--------------------------------------------------------------------
3424 :     [2004/10/11]::
3425 :     +
3426 :     Made some minor modifications to elabcore.sml to have source regions
3427 :     be propagated more tightly -- resulting in better (_i.e._, smaller)
3428 :     regions being reported in error- and debug messages.
3429 :     +
3430 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3431 : jhr 3992
3432 :     //--------------------------------------------------------------------
3433 :     [2004/10/08]::
3434 :     +
3435 :     Fixed handling of keywords in .cm files: After seeing "is" the lexer
3436 :     treats subsequent occurrences of "group", "library", "source", "is",
3437 :     "*", and "-" as ordinary identifiers rather than keywords.
3438 :     +
3439 :     Most seriously, this fixes a problem with CM's "shell" tool. The tool
3440 :     is supposed to accept a tool argument called "source", but this did
3441 :     not work because of the clash with the keyword.
3442 :     +
3443 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3444 : jhr 3992
3445 :     //--------------------------------------------------------------------
3446 :     [2004/10/07]::
3447 :     +
3448 :     Assorted cleanup work:
3449 :     +
3450 :     - got rid of intstrmap in favor of using the library's
3451 :     hash table implementation
3452 :     - threw out most of the pathnames stuff, as it was not used anyway
3453 :     - simplified tokentable implementation
3454 :     - fixed some minor spelling errors
3455 :     +
3456 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3457 : jhr 3992
3458 :     //--------------------------------------------------------------------
3459 :     [2004/10/06]::
3460 :     +
3461 :     Cleaned up the absyn to reflect the invariant that HANDLE always
3462 :     carries a FNexp as part of the type definition. This eliminates some
3463 :     superfluous sanity checks at runtime down the road.
3464 :     +
3465 :     Some minor cleanup of the btrace code.
3466 :     +
3467 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3468 : jhr 3992
3469 :     //--------------------------------------------------------------------
3470 :     [2004/10/01]::
3471 :     +
3472 :     Added hack to make slave mode work in the presence of the version
3473 :     tool. (Still, since the master does two passes over the code for
3474 :     CMB.make, the release number gets bumped twice when slaves are
3475 :     attached. I don't know if this is worth fixing...)
3476 :     +
3477 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3478 : jhr 3992
3479 :     //--------------------------------------------------------------------
3480 :     [2004/09/30]::
3481 :     +
3482 :     * Moved the "version" magic into its own little library under
3483 :     src/system/smlnj/internal. This avoids expensive reconstruction of
3484 :     a stable src/compiler/core.cm.
3485 :     +
3486 :     * At the same time, structure CompilerVersion is now known as
3487 :     structure SMLNJVersion.
3488 :     +
3489 :     * Arranged for the version tool to NOT kick in when rebuilding the system
3490 :     (makeml -rebuild, fixpt). Otherwise one would never reach a fixpoint.
3491 :     Also, loading the versiontool does not work when rebuilding the system
3492 :     because CM is not properly initialized at that time.
3493 :     +
3494 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3495 : jhr 3992
3496 :     //--------------------------------------------------------------------
3497 :     [2004/09/29]::
3498 :     +
3499 :     Implemented some CM magic to have
3500 :     file src/compiler/TopLevel/main/version.sml
3501 :     generated automagically.
3502 :     The version is taken from two files: config/version and config/release.
3503 :     The first is expected to contain a two-part version number such as 110.49.
3504 :     The second should contain a single number, but it may be missing.
3505 :     +
3506 :     If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
3507 :     time the version tool is loaded (which is the first time you say CMB.make),
3508 :     then the tool will increment the value stored in config/release every
3509 :     time CMB.make is invoked.
3510 :     +
3511 :     The binfile format is now insensitive to anything beyond the first
3512 :     two components of a version number, so bumping the release does not render
3513 :     binfiles incompatible. Auto-bumping can be used to keep track of versions
3514 :     during development without invalidating existing binfiles.
3515 :     +
3516 :     In any case, every CMB.make updates the date information in version.sml.
3517 :     (This is the date that is printed in the banner.)
3518 :     +
3519 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3520 : jhr 3992
3521 :     //--------------------------------------------------------------------
3522 :     [2004/09/28]::
3523 :     +
3524 :     Some cleanup of the controls code.
3525 :     +
3526 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3527 : jhr 3992
3528 :     //--------------------------------------------------------------------
3529 :     [2004/09/27]::
3530 :     +
3531 :     Added two pieces of functionality to the Controls interface:
3532 :     +
3533 : jhr 3995 [source,sml]
3534 :     ------------
3535 :     val save'restore: 'a control -> unit -> unit
3536 :     ------------
3537 : jhr 3992 +
3538 : jhr 3995 grabs the current value of the control in stage 1 and restores it
3539 :     in stage 2.
3540 : jhr 3992 +
3541 : jhr 3995 [source,sml]
3542 :     ------------
3543 :     val set' : 'a control * 'a -> unit -> unit
3544 :     ------------
3545 : jhr 3992 +
3546 : jhr 3995 stores the given value into the control in stage 2 (_i.e._, delayed)
3547 :     but does all error checking in stage 1.
3548 :     (This is for string controls that need to do parse their argument --
3549 :     something that might fail. In some cases, notably in CM, one
3550 :     already knows the intended argument but wants to delay the actual
3551 :     assignment until a time when error recovery would be more difficult.)
3552 : jhr 3992 +
3553 : jhr 3995 Also changed the handling of controls in tool arguments to classes "+sml+" and
3554 :     "+lazysml+":
3555 : jhr 4002 +
3556 : jhr 3995 --
3557 :     - use +Controls.save'restore+ as a more robust way of restoring the
3558 : jhr 3992 old value (in particular: without having to re-parse the string)
3559 : jhr 3995 - use controls to handle the "+overload+" keyword in the init group
3560 : jhr 3992 (I believe this change actually fixes a long-standing obscure bug.)
3561 : jhr 3995 --
3562 : jhr 3992 +
3563 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3564 : jhr 3992
3565 :     //--------------------------------------------------------------------
3566 :     [2004/09/27]::
3567 :     +
3568 : jhr 3995 Added a new tool class called "+lazysml+" to CM's tool chest. The only
3569 :     difference to "+sml+" is that compilation is done with +Control.lazysml+
3570 :     set to true. A source of class "+lazysml+" is automatically recognized
3571 :     by a file name suffix of "+.lml+".
3572 : jhr 3992 +
3573 : jhr 3995 In addition to the above feature, the original class "+sml+" now also
3574 :     supports a tool argument "+lazy+" which has the same effect. As a
3575 : jhr 3992 result, the following three lines are equivalent:
3576 :     +
3577 : jhr 3995 ....................
3578 : jhr 3992 foo.sml : lazysml
3579 :     foo.sml : sml (lazy)
3580 :     foo.sml (lazy)
3581 : jhr 3995 ....................
3582 : jhr 3992 +
3583 :     The setting goes into effect both during parsing and during
3584 :     compilation. The original setting is restored right after parsing and
3585 :     after compilation, respectively.
3586 :     +
3587 :     In addition to all the above, there is also a general mechanism to set
3588 :     ANY of the "controls" that are available at the command line via
3589 : jhr 3995 "+-C...+" on a per-sml-file basis. The same rules that apply for "+lazy+"
3590 :     apply as well. (In fact, "+lazy+" is implemented as a special case of
3591 : jhr 3992 the general mechanism.)
3592 :     +
3593 : jhr 3995 The +.cm+ file syntax uses a new keyword tool argument called "+with+".
3594 : jhr 3992 There are several ways of indicating the desired settings:
3595 :     +
3596 : jhr 3995 ....................
3597 : jhr 3992 foo.sml (with:parser.quotations=true)
3598 :     foo.sml (with:(name:parser.quotations value:true))
3599 :     foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
3600 :     foo.sml (with:(name1=value1 name2=value2 ...))
3601 :     foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
3602 : jhr 3995 ....................
3603 : jhr 3992 +
3604 : jhr 3995 Another possible abbreviation is to leave out the +=v+ or +value:v+ part
3605 : jhr 3992 if the name refers to a boolean control (in which case the value is
3606 :     taken to be true). Thus, one could get lazy sml also by saying:
3607 :     +
3608 : jhr 3995 ....................
3609 : jhr 3992 foo.sml (with:parser.lazy-keyword=true)
3610 :     foo.sml (with:parser.lazy-keyword)
3611 :     foo.sml (with:(name:parser.lazy-keyword value:true))
3612 :     foo.sml (with:(name:parser.lazy-keyword))
3613 : jhr 3995 ....................
3614 : jhr 3992 +
3615 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3616 : jhr 3992
3617 :     //--------------------------------------------------------------------
3618 :     [2004/09/24]::
3619 :     +
3620 :     Turned message about "emiting long form of branch" off by default.
3621 :     Added a control flag to turn it back on when desired.
3622 :     +
3623 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3624 : jhr 3992
3625 :     //--------------------------------------------------------------------
3626 :     [2004/09/24]::
3627 :     +
3628 : jhr 4002 Applied patch for setting rounding modes under *Mac OS X*. Thanks to
3629 : jhr 3992 Melissa O'Neill for providing the code!
3630 :     +
3631 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3632 : jhr 3992
3633 :     //--------------------------------------------------------------------
3634 :     [2004/09/23]::
3635 :     +
3636 : jhr 4002 --
3637 :     . Changed definition of type +ControlRegistry.registry_tree+ to
3638 :     include control_info (_i.e._, the name of the controlling environment
3639 :     variable).
3640 : jhr 3992 +
3641 : jhr 4002 . Added command-line flags ++-e++ and ++-E++ to print the names of
3642 :     environment variables that can be used to control internal settings.
3643 :     (This uses the new API mentioned in 1.)
3644 :     --
3645 : jhr 3992 +
3646 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3647 : jhr 3992
3648 :     //====================================================================
3649 :     == Version 110.49; 2004/09/13
3650 :    
3651 :    
3652 :     //--------------------------------------------------------------------
3653 :     [2004/09/13]::
3654 :     +
3655 : jhr 4002 Put target "+mlrisc+" back into the default list.
3656 : jhr 3992 (There is no harm in having it, and some users have expressed their
3657 : jhr 4002 wish to have "+mlrisc+" included by default.)
3658 : jhr 3992 +
3659 : jhr 4002 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3660 : jhr 3992
3661 :     //--------------------------------------------------------------------
3662 :     [2004/09/13]::
3663 :     +
3664 :     Fixed the signal masking code to properly nest mask/unmask operations
3665 :     on a per-signal basis.
3666 :     +
3667 : jhr 3995 owner:[John Reppy,http://www.cs.uchicago.edu/~jhr]
3668 : jhr 3992
3669 :     //--------------------------------------------------------------------
3670 :     [2004/09/08]::
3671 :     +
3672 : jhr 4002 Bumped the heap magic number to +0x09082004+ to account for the changed
3673 :     layout of the ML frame under *Mac OS X*.
3674 : jhr 3992 +
3675 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3676 : jhr 3992
3677 :     //--------------------------------------------------------------------
3678 :     [2004/09/03]::
3679 :     +
3680 : jhr 4002 Added a patch to _arch-n-opsys to enable the Cygwin runtime.
3681 : jhr 3992 The Cygwin runtime is turned on by setting the environment
3682 :     variable SMLNJ_CYGWIN_RUNTIME to 1.
3683 :     +
3684 :     owner:[Allen Leung]
3685 :    
3686 :     //--------------------------------------------------------------------
3687 :     [2004/08/31]::
3688 :     +
3689 :     Added some exports to src/compiler/core.cm upon request by J. Joemann.
3690 :     +
3691 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3692 : jhr 3992
3693 :     //--------------------------------------------------------------------
3694 :     [2004/08/30]::
3695 :     +
3696 :     Upon request by Johannes Joemann:
3697 :     +
3698 : jhr 4002 --
3699 : jhr 3992 - improved ML code of installer to fall back to coping when renaming
3700 :     fails (_i.e._, when source and target are on different file systems);
3701 :     the code compiles but has yet to be tested in anger
3702 : jhr 4002 - removed +mlrisc+ from list of default targets (+config/targets+)
3703 :     --
3704 : jhr 3992 +
3705 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3706 : jhr 3992
3707 :     //--------------------------------------------------------------------
3708 :     [2004/08/27]::
3709 :     +
3710 : jhr 4002 Added +ptreql+ primop to structure +InlineT+ (upon request from Larry
3711 : jhr 3992 Paulson).
3712 :     +
3713 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3714 : jhr 3992
3715 :     //--------------------------------------------------------------------
3716 :     [2004/08/15]::
3717 :     +
3718 :     Another bug fix from Carl Hauser:
3719 :     +
3720 : jhr 4002 ....................
3721 : jhr 3992 diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
3722 :     > 48c48
3723 :     > < | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
3724 :     > e::L)
3725 :     > ---
3726 :     > > | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
3727 : jhr 4002 ....................
3728 : jhr 3992 +
3729 : jhr 4002 Without this, any deletion of an edge in an undirected graph does severe
3730 :     violence to the graph.
3731 :     +
3732 : jhr 3992 owner:[Allen Leung]
3733 :    
3734 :     //--------------------------------------------------------------------
3735 :     [2004/08/10]::
3736 :     +
3737 : jhr 4002 The IBM/MacOS syntax switch on *PPC* was incorrectly swapped.
3738 : jhr 3992 +
3739 :     owner:[Allen Leung]
3740 :    
3741 :     //====================================================================
3742 :     == Version 110.48; 2004/08/10
3743 :    
3744 :    
3745 :     //--------------------------------------------------------------------
3746 :     [2004/08/09]::
3747 :     +
3748 :     Bug fix from Carl Hauser:
3749 :     +
3750 : jhr 4002 +single_source_shortest_paths+ in +dijkstra.sml+ was observed to get wrong
3751 :     answers (by comparing to +single_source_shortest_paths+ in +bellman-ford.sml+).
3752 : jhr 3992 +
3753 : jhr 4002 The problem is that following the expression +A.update(dist,s,Num.zero)+
3754 :     it is necessary to update the priority queue using +Q.decreaseWeight(Q,s)+.
3755 : jhr 3992 +
3756 :     owner:[Allen Leung]
3757 :    
3758 :     //--------------------------------------------------------------------
3759 :     [2004/08/06]::
3760 :     +
3761 :     Fiddled with handling of command-line options:
3762 :     +
3763 : jhr 4002 --
3764 :     * *sml* now quits after processing the command line
3765 :     if ++-H++, ++-S++, ++-h++<__n__>, or ++-s++<__n__> appears as the last
3766 : jhr 3992 command-line argument
3767 : jhr 4002 * a new option +-q+ terminates the session when encountered on
3768 : jhr 3992 the command line; subsequent arguments will be ignored
3769 :     * bug fixes: short (erroneous) arguments are no longer ignored
3770 :     completely
3771 : jhr 4002 --
3772 : jhr 3992 +
3773 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3774 : jhr 3992
3775 :     //--------------------------------------------------------------------
3776 :     [2004/08/04]::
3777 :     +
3778 : jhr 4002 --
3779 : jhr 3992 - Added minimal IBM assembly syntax support for PowerPC.
3780 :     +
3781 : jhr 4002 - Cygwin: manually changed the file +cygwin.def+. Some exported symbols have
3782 : jhr 3992 been altered in the runtime. We need an automatic way to keep the file
3783 :     in sync.
3784 : jhr 4002 --
3785 : jhr 3992 +
3786 :     owner:[Allen Leung]
3787 :    
3788 :     //====================================================================
3789 :     == Version 110.47; 2004/08/04
3790 :    
3791 :    
3792 :     //--------------------------------------------------------------------
3793 :     [2004/08/03]::
3794 :     +
3795 :     Added low-level support for choosing C calling conventions by
3796 :     twiddling the type of rawccall. (See
3797 : jhr 4002 +src/compiler/Semant/types/cproto.sml+ for details.)
3798 : jhr 3992 +
3799 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3800 : jhr 3992
3801 :     //--------------------------------------------------------------------
3802 :     [2004/08/02]::
3803 :     +
3804 : jhr 4002 Backed out of change to +win32-filesys.c+. The earlier patch to
3805 :     +get_file_time+ caused *CM* to produce files with the wrong time stamp.
3806 : jhr 3992 +
3807 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3808 : jhr 3992
3809 :     //--------------------------------------------------------------------
3810 :     [2004/08/02]::
3811 :     +
3812 : jhr 4002 Added *NLFFI* support for *Win32*, adapted from a patch provided by David
3813 : jhr 3992 Hansel. This is currently completely untested. Also, the issue
3814 :     concerning stdcall vs. ccall is still unresolved.
3815 :     +
3816 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3817 : jhr 3992
3818 :     //--------------------------------------------------------------------
3819 :     [2004/07/30]::
3820 :     +
3821 :     Gearing up towards 110.47...
3822 :     +
3823 : jhr 4002 --
3824 :     * various minor bugfixes to ml-nlffigen
3825 : jhr 3992 +
3826 : jhr 4002 * a beginning of a manual for nlffi
3827 :     +
3828 :     * eliminated 'export name=value' in config/install.sh as this does
3829 : jhr 3992 not work with certain versions of /bin/sh
3830 :     (Thanks to David King at Motorola for catching this.)
3831 :     +
3832 : jhr 4002 * several bugfixes provided or suggested by David Hansel at Reactive Systems:
3833 :     - added a test for +tm==NULL+ to +gmtime.c+ and +localtime.c+
3834 :     - applied patch for incorrect +GetFileTime+ under +win32+
3835 :     - +toSeconds+ -> +toMilliseconds+ in +Win32/win32-process.sml+
3836 :     --
3837 : jhr 3992 +
3838 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3839 : jhr 3992
3840 :     //--------------------------------------------------------------------
3841 :     [2004/07/21]::
3842 :     +
3843 : jhr 4002 --
3844 :     - Fixed minor issue in *ml-nlffigen*: Now generate structure +T_foo+
3845 :     for a typedef to an incomplete type, but leave out the "+typ+" member.
3846 : jhr 3992 (This is just for consistency.)
3847 :     - Started to produce what is supposed to become better (_i.e._, comprehensive)
3848 : jhr 4002 documentation of what *ml-nlffigen* does and produces.
3849 :     --
3850 : jhr 3992 +
3851 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3852 : jhr 3992
3853 :     //--------------------------------------------------------------------
3854 :     [2004/07/14]::
3855 :     +
3856 : jhr 4002 Added +C_UNION+ to +c-calls/c-types.sml+ and updated the machinery
3857 :     (*ml-nlffigen*, +cproto.sml+) that conveys *C* function interface
3858 : jhr 3992 information to the code generator.
3859 :     +
3860 :     However, the actual architecture-specific implementation of function
3861 : jhr 4002 arguments and results that are *C* unions is still not implemented.
3862 : jhr 3992 +
3863 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3864 : jhr 3992
3865 :     //--------------------------------------------------------------------
3866 :     [2004/07/14]::
3867 :     +
3868 : jhr 4002 Added these instructions to the PowerPC architecture:
3869 :     +LBZU+(+X+), +LHZU+(+X+), +LWZU+(+X+),
3870 :     +STWU+(+X+), +STFDU+, +STFSU+,
3871 :     etc...
3872 : jhr 3992 +
3873 : jhr 4002 Note: I haven't added their instruction encoding into the description.
3874 : jhr 3992 +
3875 :     owner:[Allen Leung]
3876 :    
3877 :     //--------------------------------------------------------------------
3878 :     [2004/07/13]::
3879 :     +
3880 : jhr 4002 Added the two instructions +LWARX+ and +STWCX+ to the PowerPC
3881 : jhr 3992 instruction set.
3882 :     +
3883 : jhr 4002 A (untested) rewrite of +loop-structure.sml+. The old version
3884 : jhr 3992 is completely broken.
3885 :     +
3886 :     owner:[Allen Leung]
3887 :    
3888 :     //--------------------------------------------------------------------
3889 :     [2004/07/13]::
3890 :     +
3891 : jhr 4002 --
3892 :     - use +paramAlloc+ to report c-calls with too many arguments
3893 : jhr 3992 (for PPC version where parameter area is pre-allocated)
3894 : jhr 4002 - added +ccall_maxargspace+ to machspec (to implement the above)
3895 : jhr 3992 - made "make" commend in CM's "make" tool configurable
3896 :     - added option (default: on) for passing the name of the SML/NJ's "bin"
3897 :     directory to "make"; the call looks like this:
3898 :     +
3899 : jhr 4002 [source,sh]
3900 :     -----------
3901 :     make <options> SMLNJ_BINDIR=<dir> <target>
3902 :     -----------
3903 : jhr 3992 +
3904 : jhr 4002 This can be used by the Makefile to, _e.g._, pick the "right" version
3905 :     of *ml-nlffigen*.
3906 : jhr 3992 - minor code tweaks
3907 : jhr 4002 --
3908 : jhr 3992 +
3909 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3910 : jhr 3992
3911 :     //====================================================================
3912 :     == Version 110.46.1; 2004/07/12
3913 :    
3914 :    
3915 :     //--------------------------------------------------------------------
3916 :     [2004/07/12]::
3917 :     +
3918 :     NLFFI under Mac OS X now working (sort of). This is largely untested,
3919 :     though.
3920 :     +
3921 : jhr 4002 .Note:
3922 :     --
3923 :     . You have to make a new, clean build of the runtime system.
3924 :     . There are new BOOTFILES, you have to use them!
3925 :     (Doing the bootstrap process yourself would be *very* painful!
3926 :     If you absolutely have to do it, build the system under
3927 :     a different architecture and then cross-compile.)
3928 :     --
3929 : jhr 3992 +
3930 :     Version bumped to 110.46.1 to account for runtime data format changes.
3931 :     +
3932 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3933 : jhr 3992
3934 :     //--------------------------------------------------------------------
3935 :     [2004/06/18]::
3936 :     +
3937 : jhr 4002 Changed the implementation of structure +Unix+ so that the same stream
3938 :     is returned every time one of the {++text++,++bin++}{++In++,++Out++}++streamOf++
3939 :     functions is invoked on the same proc. This is not what the spec currently
3940 : jhr 3992 says -- although IMO it arguably should. (See discussion below.)
3941 :     +
3942 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3943 : jhr 3992
3944 :     //====================================================================
3945 :     == Version 110.46; 2004/06/17
3946 :    
3947 :    
3948 :     //--------------------------------------------------------------------
3949 :     [2004/06/17]::
3950 :     +
3951 :     Changed the interface of structures Timer and Unix to match the most
3952 :     recent Basis spec.
3953 :     +
3954 :     In the case of Unix there still seems to be an open/weird issue:
3955 :     +
3956 :     The {text,bin}{In,Out}streamOf functions are supposed to create
3957 :     fresh streams whenever they are called -- as opposed to have them
3958 :     return the same stream every time. This design is supposed to
3959 :     prevent space leaks caused by proc values hanging on to streams.
3960 :     +
3961 :     The reap function, on the other hand, is supposed to close the
3962 :     streams. This cannot be done without having a handle on the
3963 :     stream in proc after all...
3964 :     +
3965 :     I took the liberty to implement the following stopgap solution:
3966 :     +
3967 :     The proc value hangs on to the most recently created stream(s).
3968 :     Reap closes those. If either or both of the two streams hadn't
3969 :     been created at all yet, then reap will close the corresponding
3970 :     file descriptors directly.
3971 :     +
3972 :     PS: I don't understand the original space leak argument anymore. If
3973 :     a proc hangs on to the imperative stream, then I/O operations on those
3974 :     will advance the state of the cached stream and avoid the space leak.
3975 :     +
3976 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3977 : jhr 3992
3978 :     //--------------------------------------------------------------------
3979 :     [2004/05/28]::
3980 :     +
3981 : jhr 4002 Added signature +PACK_REAL+ and exported functor +PrimIO+.
3982 : jhr 3992 +
3983 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
3984 : jhr 3992
3985 :     //--------------------------------------------------------------------
3986 :     [2004/05/25]::
3987 :     +
3988 :     CM now ignores (but still accepts) the "owner" information in group
3989 :     descriptions. The owner of a group is its next enclosing
3990 :     library. Each group must have a unique owner. (There is a virtual
3991 :     "toplevel" library that owns groups which are not nested within a real
3992 :     library.) Previously, each group had to explicitly declare its owner,
3993 :     and CM would check that such a declaration is correct. The new scheme
3994 :     is to have CM check that for each group there is precisely one owning
3995 :     library.
3996 :     +
3997 :     The advantage of the new scheme is that the programmer no longer needs
3998 :     to maintain the somewhat annoying owner information. The downside is
3999 :     that CM cannot enforce the ownership rule across multiple runs of
4000 :     CM.make. Fortunately, enclosing the same group in two different
4001 :     libraries A and B which are not part of the same program does not
4002 :     cause real problems.
4003 :     +
4004 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4005 : jhr 3992
4006 :     //--------------------------------------------------------------------
4007 :     [2004/05/20]::
4008 :     +
4009 :     Made the win32 version work again. (Strangely, a misplaced comma had
4010 :     slipped into win32-process.c which prevented the runtime from being
4011 :     compiled correctly.)
4012 :     +
4013 :     Also, included a minor addition to ml-build.bat analogous to what was
4014 :     done in blume-20040519-ml-build.
4015 :     +
4016 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4017 : jhr 3992
4018 :     //--------------------------------------------------------------------
4019 :     [2004/05/19]::
4020 :     +
4021 :     Arranged for *ml-build* to clean up after itself a little bit better.
4022 :     The script generates a temporary SML source file and compiles it using
4023 :     CM, so CM generates metadata (GUID, SKEL, objectfile) for it. It now
4024 :     gets rid of those at the end, so they don't accumulate under .cm.
4025 :     +
4026 :     This required a minor change to install.sh because the name of the
4027 :     metadata directory (default: .cm) is actually configurable at
4028 :     installation time.
4029 :     +
4030 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4031 : jhr 3992
4032 :     //--------------------------------------------------------------------
4033 :     [2004/05/18]::
4034 :     +
4035 :     Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
4036 :     implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
4037 :     +
4038 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4039 : jhr 3992
4040 :     //--------------------------------------------------------------------
4041 :     [2004/05/11]::
4042 :     +
4043 :     Added previously missing support for many socket-related functions
4044 :     under win32. Thanks to David Hansel <hansel@reactive-systems.com>
4045 :     for the voluminous patch!
4046 :     +
4047 :     (I have not tested this patch under win32 yet.)
4048 :     +
4049 :     Here is David's e-mail:
4050 :     +
4051 :     Hi,
4052 :     +
4053 :     Attached to this email you find a diff against sml/nj 110.45
4054 :     that will enable socket support under Windows.
4055 :     +
4056 :     To apply the patch (using unix or cygwin)
4057 :     1) gunzip runtime.diff.gz
4058 :     2) "cd" into "src/runtime" in the source tree of a fresh
4059 :     110.45 installation.
4060 :     3) patch -p 1 < [your/path/to]runtime.diff
4061 :     +
4062 :     The code compiles fine but has NOT yet been extensively tested.
4063 :     I only ran a few tests for basic socket client functionality
4064 :     (which worked fine). Especially the functions that use ioctl
4065 :     are not tested at all and might not work (see below).
4066 :     +
4067 :     I implemented this since we want to move to a newer version of sml/nj
4068 :     but need socket support in order to use it. This is the first time I
4069 :     even had a look at the sml/nj source, so please review my changes
4070 :     before making this part of the distribution! Here are a few issues
4071 :     that I think might be better for someone to solve who is more
4072 :     familiar with the sml/nj source (and socket programming):
4073 :     +
4074 :     - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
4075 :     exception since I could not figure out what the windows equivalent
4076 :     of these functions is
4077 :     +
4078 :     - In sockets-osdep.h there are a some #include statements that are
4079 :     only used in a few files that include sockets-osdep.h
4080 :     +
4081 :     - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
4082 :     does not process its return value since I don't know how to
4083 :     report an error upwards.
4084 :     +
4085 :     - It would probably be good to have a call to WSACleanup() when
4086 :     the library is unloaded (if there is such a possibility).
4087 :     Otherwise I think Windows will take care of this automatically
4088 :     when the process finishes.
4089 :     +
4090 :     - I used ioctlsocket() as a replacement for ioctl() but I have
4091 :     no idea if that is actually the proper replacement on Windows.
4092 :     +
4093 :     - All these issues are marked in the code by "FIXME" comments.
4094 :     +
4095 :     We use sml/nj extensively in our products and are quite happy
4096 :     with it. I hope this contribution will help you.
4097 :     +
4098 :     Keep up the good work!
4099 :     +
4100 :     David
4101 :     +
4102 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4103 : jhr 3992
4104 :     //--------------------------------------------------------------------
4105 :     [2004/05/11]::
4106 :     +
4107 :     Fixed two bugs in installml script. (Thanks to Vesa A. Norrman for
4108 :     the patch.)
4109 :     +
4110 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4111 : jhr 3992
4112 :     //--------------------------------------------------------------------
4113 :     [2004/05/11]::
4114 :     +
4115 :     Added support for *nlffi* under netbsd. (Thanks to Vesa A. Norrman for
4116 :     the patch.)
4117 :     +
4118 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4119 : jhr 3992
4120 :     //--------------------------------------------------------------------
4121 :     [2004/05/11]::
4122 :     +
4123 :     As per request by Adam Chlipala <adam@hcoop.net>, extended various
4124 :     export lists in compiler-related .cm-files.
4125 :     +
4126 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4127 : jhr 3992
4128 :     //--------------------------------------------------------------------
4129 :     [2004/05/11]::
4130 :     +
4131 :     The installer now honors the "src-smlnj" target again, although its meaning
4132 :     has changed from "all sources required for the compiler" to "all sources
4133 :     the installer knows about". In other words, if you enable "src-smlnj"
4134 :     in the "targets" file, then the installer will pull in sources for
4135 :     everything. (Notice that this refers to source code only. Compiled
4136 :     code is still only installed for modules that were requested explicitly
4137 :     or which are required for other modules that were requested explicitly.)
4138 :     +
4139 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4140 : jhr 3992
4141 :     //--------------------------------------------------------------------
4142 :     [2004/04/23]::
4143 :     +
4144 :     Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
4145 :     in the exponent calculation we get INF or ZERO (depending on the mantissa
4146 :     and the sign of the exponent).
4147 :     +
4148 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4149 : jhr 3992
4150 :     //--------------------------------------------------------------------
4151 :     [2004/04/23]::
4152 :     +
4153 :     The *ml-build* script now terminates with a non-0 status when something
4154 :     goes wrong.
4155 :     +
4156 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4157 : jhr 3992
4158 :     //--------------------------------------------------------------------
4159 :     [2004/04/22]::
4160 :     +
4161 :     Made exception Option to be the same as exception Option.Option
4162 :     (as it should be).
4163 :     +
4164 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4165 : jhr 3992
4166 :     //--------------------------------------------------------------------
4167 :     [2004/03/19]::
4168 :     +
4169 :     Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
4170 :     of SML/NJ. The problem is that
4171 :     +
4172 :     lib = dlopen(NULL, ...)
4173 :     f = dlsym(lib, "malloc");
4174 :     +
4175 :     does not work on Windows unless we explicitly export symbols
4176 :     such as 'malloc' during linking. We fixed this by explicitly
4177 :     exporting the required symbols with the magic gcc incantation:
4178 :     +
4179 :     -Wl,--export-all cygwin.def
4180 :     +
4181 :     where cygwin.def is a file containing all the symbols that
4182 :     we wish to export.
4183 :     +
4184 :     I suspect this is a Windows problem and we'll have to
4185 :     do the same (somehow with windows compilers) when
4186 :     we build the native win32 version with the system
4187 :     calls LoadLibrary/GetProcAddress.
4188 :     +
4189 :     owner:[Allen Leung]
4190 :    
4191 :     //--------------------------------------------------------------------
4192 :     [2004/03/04]::
4193 :     +
4194 :     Fixed problem with IntInf.fmt (sign would show up on the right instead
4195 :     of on the left for BIN, OCT, and HEX).
4196 :     +
4197 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4198 : jhr 3992
4199 :     //--------------------------------------------------------------------
4200 :     [2004/03/04]::
4201 :     +
4202 :     Fixed problem with installer script (unix only) where bin/ml-yacc and
4203 :     friends pointed (via symlinks) to absolute locations instead of just
4204 :     .run-sml. This was reported by Vesa A Norrman.
4205 :     +
4206 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4207 : jhr 3992
4208 :     //====================================================================
4209 :     == Version 110.45; 2004/02/13
4210 :    
4211 :    
4212 :     //--------------------------------------------------------------------
4213 :     [2004/01/26]::
4214 :     +
4215 :     Improved handling of exceptions at the interactive toplevel.
4216 :     +
4217 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4218 : jhr 3992
4219 :     //--------------------------------------------------------------------
4220 :     [2004/01/26]::
4221 :     +
4222 :     Type of top-level "app" corrected.
4223 :     Added code for setting vp_limitPtrMask to *Win32*-specific runtime.
4224 :     +
4225 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4226 : jhr 3992
4227 :     //--------------------------------------------------------------------
4228 :     [2003/11/18]::
4229 :     +
4230 :     - changed Timer interface to what might become the spec
4231 :     - POSIX_FLAGS -> BIT_FLAGS according to spec
4232 :     - some other minor discrepancies wrt. spec eliminated
4233 :     +
4234 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4235 : jhr 3992
4236 :     //====================================================================
4237 :     == Version 110.44; 2003/11/06
4238 :    
4239 :    
4240 :     //--------------------------------------------------------------------
4241 :     [2003/11/04]::
4242 :     +
4243 :     Eliminated the "dont_move_libraries" directive in config/targets.
4244 :     (The mechanism was broken and could not be fixed easily. Moreover,
4245 :     there does not seem to be any reason not to move all libraries into
4246 :     lib during installation. I originally implemented this directive as a
4247 :     backward-compatibility feature when I first introduced the new CM.
4248 :     Now that things have been stable for a long time and going back to the
4249 :     old CM is not an option, there is no reason to keep it around.)
4250 :     +
4251 : jhr 3995 owner:[Matthias Blume,http://www.tti-c.org/blume/]
4252 : jhr 3992
4253 :     //--------------------------------------------------------------------
4254 :     [2003/11/03]::
4255 :     +
4256 :     Made installer honor INSTALLDIR variable again. (Thanks to Chris