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