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