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