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