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