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 4700 - (view) (download)

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