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