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