Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

sml/trunk/HISTORY revision 1175, Mon Mar 25 03:38:44 2002 UTC sml/trunk/NOTES/HISTORY revision 2410, Mon Apr 16 15:37:56 2007 UTC
# Line 1  Line 1 
1  This is the HISTORY file for the Yale SML/NJ CVS repository.  This is the HISTORY file for the SML/NJ repository.
2    
3  An entry should be made for _every_ commit to the repository.  An entry should be made for _every_ commit to the repository.
4  The entries in this file will be used when creating the README  The entries in this file will be used when creating the README
# Line 7  Line 7 
7    
8  The form of an entry should be:  The form of an entry should be:
9    
10  Name:  
11    Name: Your Name (web page or e-mail)
12    Date: yyyy/mm/dd hh:mm:ss
13    Tag: cvs-tag-for-this-change
14    Description:
15    
16    ----------------------------------------------------------------------
17    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
18    Date: 2007/04/16
19    Description:
20    
21    Fixed an unbound functor bug in the AMD64 CM file.
22    
23    ----------------------------------------------------------------------
24    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
25    Date: 2007/04/12
26    Description:
27    
28    Substantially changed the signature and implementation of AMD64
29    SVID.  It now looks similar to the ia32 SVID, yet uses staged
30    allocation.
31    
32    ----------------------------------------------------------------------
33    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
34    Date: 2007/04/07
35    Description:
36    
37    More Basis fixes: the WORD signature was missing {to,from}Large.
38    Thanks to Andreas Rossberg.
39    
40    ----------------------------------------------------------------------
41    Name: Matthias Blume (http://www.tti-c.org/blume/)
42    Date: 2007/03/22 16:07:00 CDT
43    Tag: release-110.63
44    Description:
45    
46    Bumped version number to 110.63.
47    
48       !!!NEW BOOTFILES!!!
49    
50    ----------------------------------------------------------------------
51    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
52    Date: 2007/03/19
53    Description:
54    
55    Fixed bogus operand sizes in AMD64 instruction spilling.
56    
57    ----------------------------------------------------------------------
58    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
59    Date: 2007/03/19
60    Description:
61    
62    Fixed a number of inconsistencies between the Posix.TTY structure
63    and the Basis specification.  Thanks to Adam Chilpala.
64    
65    ----------------------------------------------------------------------
66    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
67    Date: 2007/02/26
68    Description:
69    
70    Added preliminary support in MLRISC for Staged Allocation, a technique
71    for specifying calling conventions (see
72    http://www.eecs.harvard.edu/~nr/pubs/staged-abstract.html).
73    Initially, we plan to use this code to generate C calls for the AMD64.
74    
75    The staged allocation code base resides in MLRISC/staged-allocation,
76    and specialized calling conventions go in MLRISC/ARCH/staged-allocation.
77    
78    ----------------------------------------------------------------------
79    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
80    Date: 2007/02/20
81    Description:
82    
83      Bug fix: when SaveCState was called with two values to save, a subsequent
84      GC could cause the RestoreCState to fail because the saved state had been
85      promoted to tagless pair.
86    
87    ----------------------------------------------------------------------
88    Name: Allen Leung (leunga (at) reservoir (dot) com)
89    Date: 2007/02/20 19:08:00 EST
90    Description:
91    
92        Bug triggered by:
93    
94        val a1 = Word8Array.array(a1, 0w0);
95        val _  = Word8Array.update(a1, 0, 0w128);
96    
97        x86MCEmitter crashed when the immediate operand to MOVB was outside
98    of the range -128 ... 127.  I've changed the code so that the range
99    check is disabled.   Only the low order 8 bits of the immediate operand
100    are now significant.
101    
102    
103    ----------------------------------------------------------------------
104    Name: Matthias Blume (http://www.tti-c.org/blume/)
105    Date: 2007/02/15 09:20:00 CST
106    Description:
107    
108    Eliminated any mention of lexgen.  (Lexgen was an early precursor
109    to ml-ulex.)
110    
111    You should update your admin directory, so the shell scripts for
112    maintaining your local copy of the repository reflect this change.
113    
114    ----------------------------------------------------------------------
115    Name: Matthias Blume (http://www.tti-c.org/blume/)
116    Date: 2007/02/14 15:45:00 CST
117    Description:
118    
119    Fixed bug in CM's parallel make facility that failed to have
120    the master re-link modules after letting slaves compile them.
121    
122    ----------------------------------------------------------------------
123    Name: Matthias Blume (http://www.tti-c.org/blume/)
124    Date: 2007/02/12 15:10:00 CST
125    Description:
126    
127    Fixed typo in ml-build script that prevented library anchors
128    from being registered.
129    
130    ----------------------------------------------------------------------
131    Name: Matthias Blume (http://www.tti-c.org/blume/)
132    Date: 2007/02/02 15:20:00 CST
133    Tag: release-110.62
134    Description:
135    
136    New working release (110.62).  NEW BOOTFILES!
137    
138    ----------------------------------------------------------------------
139    Name: Aaron Turon (http://www.cs.uchicago.edu/~adrassi)
140    Date: 2007/01/31
141    Description:
142    
143    Brought ml-lpt manual up-to-date with the code.  Many minor
144    improvements to the tools, and a few minor bugfixes.  Prepared
145    ml-lpt-lib for integration with new UTF8 structure.  Changed
146    the interface for creating streams in ml-ulex (we now support
147    stream creation from several kinds of sources).  Overall, the
148    tools are now quite stable, and their interfaces are unlikely to
149    change in a way that would break compatibility.  More work,
150    however, is needed in the documentation.
151    
152    ----------------------------------------------------------------------
153    Name: Matthias Blume (http://www.tti-c.org/blume/)
154    Date: 2007/02/01 10:05:00 CST
155    Description:
156    
157    Implemented library installer.  Moved CM plugin code for
158    ml-burg, ml-lex, and ml-yacc out of CM source tree and into
159    their respective trees.  Implemented CM plugin for ml-ulex
160    and ml-antlr.  Used library installer for ml-burg, ml-ulex,
161    and ml-antlr.
162    
163    For ml-yacc and ml-lex we continue to have permanently "plugged-in"
164    CM tools.  (It turns out to be too messy to do otherwise because
165    there is too much code that during installation relies on the presence
166    of these tools -- resulting in a tricky ordering problem.)
167    
168    ----------------------------------------------------------------------
169    Name: Matthias Blume (http://www.tti-c.org/blume/)
170    Date: 2007/01/30 11:05:00 CST
171    Description:
172    
173    Added SMLofNJ.shiftArgs which is like a shell's "shift" command.
174    Modified CM's startup code to use shiftArgs as it processes
175    command line arguments.  This way, the init code in each .sml-file
176    or library that is mentioned at the top level will see only
177    those arguments that have not yet been processed at this point.
178    In other words, the init code can "seize control" and process the
179    remaining command line.
180    
181    ----------------------------------------------------------------------
182    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
183    Date: 2007/01/30
184    Description:
185    
186    Added fromList function to the ORD_SET interface and lookup to the
187    ORD_MAP interface.  See the SML/NJ Library CHANGES file for details.
188    
189    ----------------------------------------------------------------------
190    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
191    Date: 2007/01/28
192    Description:
193    
194    Added the UTF8 structure and signature from the Moby compiler to
195    the SML/NJ library (and the CML library).  These modules will replace
196    the version in the ml-lpt-lib.
197    
198    ----------------------------------------------------------------------
199    Name: Matthias Blume (http://www.tti-c.org/blume/)
200    Date: 2007/01/26 15:10:00 CST
201    Description:
202    
203    Added entries to handle ml-lpt-lib.cm in installer.
204    
205    ----------------------------------------------------------------------
206    Name: Matthias Blume (http://www.tti-c.org/blume/)
207    Date: 2006/12/15 11:10:00 CST
208    Tag: release-110.61
209    Description:
210    
211    New working release (110.61).  NEW BOOTFILES!
212    
213    This supersedes the pre-brown-paper-bug release (see below).
214    
215    ----------------------------------------------------------------------
216    Name: Matthias Blume (http://www.tti-c.org/blume/)
217    Date: 2006/12/15 11:00:00 CST
218    Description:
219    
220    Fixed brown-paper-bag bug with CM's pathname handling, which made
221    installation fail under Win32.
222    
223    ----------------------------------------------------------------------
224    Name: Matthias Blume (http://www.tti-c.org/blume/)
225    Date: 2006/12/14 12:00:00 CST
226    Description:
227    
228    Obsolete!
229    
230    [New working release (110.61).  NEW BOOTFILES!]
231    
232    ----------------------------------------------------------------------
233    Name: John Reppy (http://cs.uchicago.edu/~jhr)
234    Date: 2006/14/06 09:50:00 CST
235    Description:
236    
237    Fixed the code in runtime/c-libs/posix-tty/{tcgetattr,tcsetattr}.c to
238    get the c_cc termios data copied correctly.  Also moved the allocation
239    of the string to avoid problems if it caused a GC.
240    
241    Thanks to Timothy Bourke for the bug report and fix.
242    
243    ----------------------------------------------------------------------
244    Name: Matthias Blume (http://www.tti-c.org/blume)
245    Date: 2006/12/08 09:50:00 CST
246    Description:
247    
248    Added code to CM's "standard shell tool" implementation which
249    causes it to tolerate (with a warning) the situation where the shell
250    command fails (e.g., due to the shell command's non-existence)
251    as long as all target files exist.
252    
253    This makes it possible to, e.g., build ml-yacc from sources even if
254    svn checkout messed up the time stamps on files in such a way that
255    yacc.grm is younger than yacc.grm.sml or yacc.grm.sig.  (Ml-yacc would
256    be needed to re-process yacc.grm, but obviously it might not yet be
257    available at that time.)
258    
259    ----------------------------------------------------------------------
260    Name: John Reppy (http://cs.uchicago.edu/~jhr)
261    Date: 2006/12/06 12:06:00 CST
262    Description:
263    
264    Fixed the types of recvVecFrom, recvVecFrom', recvVecFromNB, and
265    recvVecFromNB' in the SOCKET signature.  This error is actually
266    in the SML Basis specification too.
267    
268    ----------------------------------------------------------------------
269    Name: Matthias Blume (http://www.tti-c.org/blume/)
270    Date: 2006/12/05 22:40:00 CST
271    Description:
272    
273    CM now reports undefined anchors as errors and aborts execution
274    rather than silently pressing on using bogus values.
275    
276    ----------------------------------------------------------------------
277    Name: Matthias Blume (http://www.tti-c.org/blume/)
278    Date: 2006/11/29 10:00:00 CST
279    Description:
280    
281    Use Say.vsay for printing the "[autoloading]" message, so
282    #set CM.Control.verbose false (or -Ccm.verbose=false) can be used
283    to suppress them.
284    
285    ----------------------------------------------------------------------
286    Name: Matthias Blume (http://www.tti-c.org/blume/)
287    Date: 2006/11/10 11:00:00 CST
288    Description:
289    
290    Fixed bug in CM where "with:" specifications that affect compilation
291    (as opposed to parsing) were ignored.
292    
293    ----------------------------------------------------------------------
294    Name: Matthias Blume (http://www.tti-c.org/blume/)
295    Date: 2006/11/09 14:30:00 CST
296    Tag: release-110.60
297    Description:
298    
299    New working release (110.60).  NEW BOOTFILES!
300    
301    This is the first subversion-hosted release.  There are also changes
302    to the directory layout.  Here is a table:
303    
304    (All pathnames are relative to the SML/NJ "root" directory.)
305    
306      config -> config
307    
308      src/cm -> base/cm
309      src/compiler -> base/compiler
310      src/runtime -> base/runtime
311      src/system -> base/system
312    
313      src/cm/pgraph -> pgraph
314    
315      src/READMES -> base/READMES
316      src/$notefile -> base/NOTES/$notefile
317         for <notefile> in BOOT CVSNOTES CYGWININSTALL HISTORY INSTALL
318                           MACOSXINSTALL WININSTALL
319    
320      src/smlnj-lib -> smlnj-lib
321      src/MLRISC -> MLRISC
322      ckit -> ckit
323      src/cml -> cml
324      src/eXene -> eXene
325      src/heap2asm -> heap2asm
326      src/lexgen -> lexgen
327      src/ml-burg -> ml-burg
328      src/ml-lex -> ml-lex
329      src/ml-yacc -> ml-yacc
330      src/ml-nlffi-lib -> nlffi/lib
331      src/ml-nlffigen -> nlffi/gen
332      src/smlnj-c -> smlnj-c
333      src/tools/TraceDebugProf -> trace-debug-profile
334    
335    In addition, there is also a new
336    
337      ml-lpt
338    
339    directory containing two new program generator tools: ml-ulex and
340    ml-antlr (a lexer generator that handles unicode and an ANTRL-inspired
341    LL(k) parser generator). These tools are currently "beta-quality"
342    
343    The latest versios of the sources can now be obtained anonymously
344    via subversion.  For this, it is useful to first check out
345    
346       svn://smlnj-gforge.cs.uchicago.edu/smlnj/admin
347    
348    and put the resulting directory on your shell's PATH.  This provides
349    access to three shell scripts: checkout-all.sh, stat-all.sh,
350    and refresh-all.sh.
351    
352    To create a freshly checked-out copy of the sources, do
353    
354       checkout-all.sh [dir]
355    
356    where dir is the optional SML/NJ root directory (default is ".").
357    
358    This creates the above directory layout.  Each subdirectory of
359    the root is under individual subversion control.  The stat-all.sh
360    and refresh-al.sh scripts apply "svn stat" or "svn update" to
361    each of these subtrees.
362    
363    ----------------------------------------------------------------------
364    Name: Matthias Blume (http://www.tti-c.org/blume/)
365    Date: 2006/11/02 12:20:00 CST
366    Description:
367    
368    Reorganized directory layout.
369    
370    This is a temporary solution, more reorganization is to come.
371    
372    The basic idea is to have a number of toplevel trees, each corresponding
373    to a well-defined part of the overall system.  Each part can be
374    maintained individually, even in separate source repositories,
375    although currently we still serve everything out of the main
376    smlnj-gforge tree.
377    
378    Installer and and scripts have been updated to reflect the new
379    layout.  The installer (base/src/system/smlnj/installer) is now
380    "scriptable" to avoid burning too much knowledge about the
381    layout into SML source code.  The main script used by the installer
382    is in config/actions.
383    
384    The main change is that many of the subdirectories of what used to
385    be known as "src" have moved to the toplevel.  The "src" directory
386    itself has moved down into a subtree called "base".  (We may eventually
387    get rid of the extra level of indirection represented by "src".)
388    
389    The layout is now as follows:
390    
391      toplevel tree name | default repository
392                         | (using gf=svn://smlnj-gforge.cs.uchicago.edu/smlnj)
393      -------------------+----------------------------------------------------
394      config             | $gf/config/trunk
395                         |
396      base               | $gf/sml/trunk
397                         |
398      smlnj-lib          | $gf/smlnj-lib/trunk
399      MLRISC             | $gf/MLRISC/trunk
400                         |
401      ml-yacc            | $gf/ml-yacc/trunk
402      ml-lex             | $gf/ml-lex/trunk
403      ml-burg            | $gf/ml-burg/trunk
404      lexgen             | $gf/lexgen/trunk
405      heap2asm           | $gf/heap2asm/trunk
406                         |
407      cml                | $gf/cml/trunk
408      eXene              | $gf/eXene/trunk
409      ckit               | $gf/ckit/trunk
410      nlffi              | $gf/nlffi/trunk
411                         |
412      smlnj-c            | $gf/smlnj-c/trunk
413    
414    In $gf/admin there are a few useful shell scripts for checking out
415    and maintaining the entire collection of trees:
416    
417       admin/checkout-all.sh [dir]
418          -- optionally creates dir and checks out all trees from their
419             default repositories; if dir is missing, checkout into .
420       admin/refresh-all.sh [dir]
421          -- looks at all trees (from the above list) in dir (default: .)
422             and runs "svn update" if the tree exists and is under
423             subversion control;
424             non-existing or non-subversion trees are skipped
425       admin/stat-all.sh [dir]
426          -- like refresh-all.sh, but runs "svn stat" instead
427    
428    ----------------------------------------------------------------------
429    Name: Matthias Blume (http://www.tti-c.org/blume/)
430    Date: 2006/10/05 11:30:00 CDT
431    Tag: blume-20061005-merge-amd64
432    Description:
433    
434    Merged code for AMD64 backend (Mike Rainey's work).
435    Everything is hooked up but untested.
436    
437    ----------------------------------------------------------------------
438    Name: Matthias Blume (http://www.tti-c.org/blume/)
439    Date: 2006/05/17 14:00:00 CST
440    Tag: Release_110_59
441    Description:
442    
443    New working version (110.59).  NEW BOOTFILES!
444    
445    I am freezing 110.59.  Changes other than the version-number increase:
446    
447      eXene:
448    
449         * committed changes to eXene from Alley Stoughton:
450             "fixed bugs in X authorization and resource handling, as well
451              as in the pile and viewport widgets"
452    
453      Runtime:
454        * fixed linking problem with NetBSD 3.x.
455    
456      Lexgen:
457        * lexgen tool handles non-ascii characters in 7-bit mode the same
458          way that ml-lex does
459    
460        * lexgen propagates exceptions the same way that ml-lex does
461    
462      CML:
463        * Fixed a bug in the SyncVar polling functions (iGetPoll,
464          mTakePoll, and mGetPoll) that could lead to livelock.
465    
466    ----------------------------------------------------------------------
467    Name: Matthias Blume (http://www.tti-c.org/blume/)
468    Date: 2006/05/12 15:20:00 CST
469    Tag: blume-20060515-makedepend
470    Description:
471    
472    Implemented ml-makedepend (i.e., CM.sources) in a better (more robust)
473    way.  This should hopefully fix the ml-makedepend problem permanently.
474    
475    ----------------------------------------------------------------------
476    Name: Matthias Blume (http://www.tti-c.org/blume/)
477    Date: 2006/05/12 15:15:00 CST
478    Tag: blume-20060512-makedepend
479    Description:
480    
481    Fixed long-standing bug with ml-makedepend where it would output a
482    spurious dependency to a non-existing file.  (This is a simple fix.
483    It might need further looking into.)
484    
485    ----------------------------------------------------------------------
486    Name: Matthias Blume (http://www.tti-c.org/blume/)
487    Date: 2006/04/20 10:30:00 CDT
488    Tag: blume-20060420-heap2exec
489    Description:
490    
491    Committed patches received from Johannes 5 Joemann (joemann@befree.free.de)
492    that enable heap2exec under Linux and FreeBSD.
493    
494    ----------------------------------------------------------------------
495    Name: John Reppy
496    Date: 2006/04/14
497    Tag:
498    Description:
499    
500    MLRISC changes:
501      1) renamed GAS_PSEUDO_OPS to AS_PSEUDO_OPS and put it in its own file.
502      2) added support for NOTB and XORB operators in pseudo-op expressions
503      3) added DarwinPseudoOp functor that supports Darwin's assembler syntax.
504      4) added support for 64-bit integer literals
505    
506    ----------------------------------------------------------------------
507    Name: Matthias Blume (http://www.tti-c.org/blume/)
508  Date: yyyy/mm/dd  Date: yyyy/mm/dd
509  Tag: <post-commit CVS tag>  Tag: Release_110_58
510    Description:
511    
512    New working version (110.58).  NEW BOOTFILES!
513    
514    ----------------------------------------------------------------------
515    Name: Matthias Blume (http://www.tti-c.org/blume/)
516    Date: 2006/03/01 22:15:00 CST
517    Tag: blume-20060301-lexgen
518    Description:
519    
520    Incorporated several bugfixes to lexgen.  Compiler now compiles to
521    fixpoint when using lexgen instead of ml-lex.
522    
523    ----------------------------------------------------------------------
524    Name: Matthias Blume (http://www.tti-c.org/blume/)
525    Date: 2006/02/28 22:45:00 CST
526    Tag: blume-20060228-lexgen
527    Description:
528    
529    Removed ml-flex and added lexgen instead, using Aaron Turon's newly
530    provided tarball.  The generated lexers still have problems.
531    
532    ----------------------------------------------------------------------
533    Name: Matthias Blume (http://www.tti-c.org/blume/)
534    Date: 2006/02/26 23:30:00 CST
535    Tag: blume-20060226-ml-flex
536    Description:
537    
538    Removed ml-flex' dependency on regexp-lib.cm.  Turned installation
539    of ml-flex on by default.
540    
541    ----------------------------------------------------------------------
542    Name: Matthias Blume (http://www.tti-c.org/blume/)
543    Date: 2006/02/24 16:30:00 CST
544    Tag: blume-20060224-ml-flex
545    Description:
546    
547    Added ml-flex sources.  Partially integrated, but should not be
548    turned on yet!  (Read: leave it commented-out in config/targets!)
549    
550    ----------------------------------------------------------------------
551    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
552    Date: 2006/02/23
553    Tag: jhr-20060223-x86-64
554    Description:
555    Changes to support building on x86-64 systems (using the 32-bit mode).
556    Also cleaned up signal handling on Linux.  Support for pre-2.2 Linux
557    kernels dropped.
558    
559    ----------------------------------------------------------------------
560    Name: Allen Leung (leunga (at) reservoir (dot) com)
561    Date: 2006/02/22 15:07:00 EST
562    Tag: leunga-20060222-mdl-gen
563    Description:
564    
565      CM has changed.  Updated the script for rebuilding the MLRISC generated
566    files.
567    
568    ----------------------------------------------------------------------
569    Name: Matthias Blume (http://www.tti-c.org/blume/)
570    Date: 2006/02/14 17:30:00 CST
571    Tag: blume-20060214-intel-mac
572    Description:
573    
574    Hooked code for Darwin-specific Intel ABI into main compiler.
575    (This is a temporary solution which relies on the fact that the
576    compiler itself does not use NLFFI.  Eventually we need to divorce
577    intel mac from generic x86 unix code and make separate sets of binaries.)
578    
579    ----------------------------------------------------------------------
580    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
581    Date: 2006/02/13
582    Tag: jhr-20060213-intel-mac
583    Description:
584    Changed MLRISC x86 CCalls for partial support of MacOS X ABI.
585    
586    ----------------------------------------------------------------------
587    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
588    Date: 2006/02/06
589    Tag: jhr-20060206-intel-mac
590    Description:
591    Changes to support MacOS X on Intel hardware.  The C-calls support in
592    MLRISC must also be updated to support the MacOS X ABI.
593    
594    ----------------------------------------------------------------------
595    Name: Matthias Blume (http://www.tti-c.org/blume/)
596    Date: 2005/12/16 00:15:00 CST
597    Tag: blume-20051216-cm
598    Description:
599    
600    Improved error reporting and handling in CM.
601    
602    ----------------------------------------------------------------------
603    Name: Matthias Blume (http://www.tti-c.org/blume/)
604    Date: 2005/11/21 14:00:00 CST
605    Tag: blume-20051121-html-lib
606    Description:
607    
608    Enabling $/html-lib.cm in config/preloads did not work.  This is fixed
609    now.  (Since the anchor mapping for html-lib.cm is not yet in effect
610    at the time when config/preloads is processed, the library has to
611    be referred to by another name.  In 110.57 this would be
612    $SMLNJ-LIB/HTML/html-lib.cm.  I arranged for $smlnj/smlnj-lib/html-lib.cm
613    to be valid as well.)
614    
615    Thanks to Todd Wilson (Fresno) for alerting me to this issue.
616    
617    ----------------------------------------------------------------------
618    Name: Matthias Blume (http://www.tti-c.org/blume/)
619    Date: 2005/11/19 13:45:00 CST
620    Tag: Release_110_57
621    Description:
622    
623    Moved release tag for 110.57.
624    
625    ----------------------------------------------------------------------
626    Name: Matthias Blume (http://www.tti-c.org/blume/)
627    Date: 2005/11/19 23:35:00 CST
628    Tag: blume-20051119-fish
629    Description:
630    
631    Fixed a problem in config/install.sh where it tries to "fish" the
632    name of the CM metadata directory from the wrong place (because
633    the physical location of basis.cm has changed).  Also, corrected the
634    path anchor for $/html-lib.cm.  (Thanks to M. Fluet for pointing out
635    these problems.)
636    
637    ----------------------------------------------------------------------
638    Name: Matthias Blume (http://www.tti-c.org/blume/)
639    Date: 2005/11/16 14:30:00 CST
640    Tag: blume-orig-110_57
641    Description:
642    
643    New working version (110.57).  NEW BOOTFILES!
644    
645    UPDATE: The release tag has been moved to include a fix for a brown-paper-
646            bag glitch (see above).
647    
648    ----------------------------------------------------------------------
649    Name: Matthias Blume (http://www.tti-c.org/blume/)
650    Date: 2005/11/16 10:25:00 CST
651    Tag: blume-22051116-btrace
652    Description:
653    
654    Fixed problem with bogus exception message when using back-trace
655    facility.
656    
657    ----------------------------------------------------------------------
658    Name: Matthias Blume (http://www.tti-c.org/blume/)
659    Date: 2005/11/15 22:35:00 CST
660    Tag: blume-22051115-array2copy
661  Description:  Description:
662    
663    Added simple implementation of Array2.copy.  (Warning: mostly untested.)
664    
665    ----------------------------------------------------------------------
666    Name: Matthias Blume (http://www.tti-c.org/blume/)
667    Date: 2005/11/15 21:35:00 CST
668    Tag: blume-22051115-versiontool
669    Description:
670    
671    Reversed change to src/system/smlnj/internals/versiontool.cm.  This
672    file gets loaded as a tool -- by the equivalent of CM.make during the
673    run of CMB.make.  Thus, CMB's path configuration is meaningless for
674    it.  Instead, it has the status of "user code", so it should use
675    $/basis.cm to refer to the Basis library.  (At least that's true for
676    the purpose of bootstrapping the previous change.  In the future it
677    might make sense to have versiontool.cm refer to
678    $smlnj/basis/basis.cm, i.e., the version of the Basis that the
679    compiler itself uses.)
680    
681    Also patched src/system/testml to have it activate those extra anchor
682    bindings in config/extrapathconfig.
683    
684    ----------------------------------------------------------------------
685    Name: Matthias Blume (http://www.tti-c.org/blume/)
686    Date: 2005/11/15 16:35:00 CST
687    Tag: blume-22051115-libraries
688    Description:
689    
690    This change affects the way the following libraries are tied into
691    the system:
692    
693       $/basis.cm
694       $/smlnj-lib.cm
695       $/pp-lib.cm
696       $/controls-lib.cm
697       $/html-lib.cm
698       $/ml-yacc-lib.cm
699    
700    These libraries are now internally (as seen from the source code
701    of the implementation itself) known by the following names:
702    
703       $smlnj/basis/basis.cm
704       $smlnj/smlnj-lib/smlnj-lib.cm
705       $smlnj/smlnj-lib/pp-lib.cm
706       $smlnj/smlnj-lib/controls-lib.cm
707       $smlnj/smlnj-lib/html-lib.cm
708       $smlnj/ml-yacc/ml-yacc-lib.cm
709    
710    This makes it possible to work with code that requires different
711    versions of these libraries, and which refers to these libraries using
712    their "default" names (i.e., the first set of names above).  In other
713    words, one can un-define or re-define those default names without
714    compromising the proper functioning of the compiler itself.
715    
716    A similar procedure had already been performed for several of the
717    MLRISC libraries that are linked into the compiler.  I did some
718    cleanup on this code.
719    
720    A new file in the config directory (named extrapathconfig) is
721    responsible for setting up path anchors that the compiler itself does
722    not need, but that are typically required by user code.
723    
724    ----------------------------------------------------------------------
725    Name: Matthias Blume
726    Date: 2005/11/07 17:05:00 CST
727    Tag: blume-20051107-slice
728    Description:
729    
730    Fixed erroneous out-of-bounds test in the "update" function of
731    various *ArraySlice modules.  (Thanks to Vesa A. Norrman for pointing
732    out the problem.)
733    
734    Pushed some Basis changes through ML-Lex, CML, and eXene.
735    
736    ----------------------------------------------------------------------
737    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
738    Date: 2005/11/07
739    Description:
740    Fixed a Basis incompatibility: The depreciated function Substring.all
741    was removed (use Substring.full instead).
742    
743    ----------------------------------------------------------------------
744    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
745    Date: 2005/11/05
746    Description:
747    Tweaked interval set API in SML/NJ library; see the CHANGES file for details.
748    
749    ----------------------------------------------------------------------
750    Name: Matthias Blume (http://www.tti-c.org/blume/)
751    Date: 2005/11/02 16:25:00 CST
752    Tag: blume-20051102-hex
753    Description:
754    
755    * Runtime system bootstrap code now accepts hex digits in BOOTLIST
756      in either upper case or lower case format.
757    * Pushed changes to names of Pack<N>{Big,Little} structures through
758      CML and eXene.
759    
760    ----------------------------------------------------------------------
761    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
762    Date: 2005/11/02
763    Description:
764    Fixed a Basis incompatibility: Pack<N>{Big,Little} structures should
765    be called PackWord<N>{Big,Little}.
766    
767    ----------------------------------------------------------------------
768    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
769    Date: 2005/10/28
770    Description:
771    Fixed a minor Basis incompatibility: hex digits should be upper case.
772    
773    ----------------------------------------------------------------------
774    Name: Matthias Blume (blume (at) tti - c (dot) org)
775    Date: 2005/10/25 16:00:00 CDT
776    Tag: Release_110_56
777    Description:
778    
779    New working version (110.56).  NEW BOOTFILES!
780    
781    ----------------------------------------------------------------------
782    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
783    Date: 2005/10/25
784    Description:
785    Added interval sets to utility library (signatures INTERVAL_DOMAIN
786    and INTERVAL_SET, and functor IntervalSetFn).
787    
788    ----------------------------------------------------------------------
789    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
790    Date: 2005/10/14
791    Description:
792    Add Zhong Shao's fix for datatype equality functions.
793    
794    ----------------------------------------------------------------------
795    Name: Allen Leung (leunga (at) reservoir (dot) com)
796    Date: 2005/10/14 12:30:00 EST
797    Tag: leunga-20051014-x86-spill
798    Description:
799    
800    Bug fix a bug found by Carl Hauser.
801    There was a typo in the reload code for FCMP in x86SpillInstr.sml.
802    
803    ----------------------------------------------------------------------
804    Name: Allen Leung (leunga (at) reservoir (dot) com)
805    Date: 2005/10/14 11:15:00 EST
806    Tag: leunga-20051014-x86-asm
807    Description:
808    
809    Removed some debugging code in file x86Asm.sml.
810    The function emit_operand was printing out debugging output.
811    
812    ----------------------------------------------------------------------
813    Name: John Reppy
814    Date: 2005/07/27
815    Tag:
816    Description:
817    
818    Fixed ml-lex to recognize "\r" as representing carriage return.
819    
820    ----------------------------------------------------------------------
821    Name: John Reppy
822    Date: 2005/07/27
823    Tag:
824    Description:
825    
826    Fixed ml-yacc to work on files with non-native end-of-line
827    encodings (e.g., Windows text file on a Unix system).
828    
829    ----------------------------------------------------------------------
830    Name: John Reppy
831    Date: 2005/07/20
832    Tag:
833    Description:
834    
835    Added changes from Dominic Evans (oldmanuk (at) gmail (dot) com)
836    to support HPUX 11.
837    
838    ----------------------------------------------------------------------
839    Name: John Reppy
840    Date: 2005/07/06
841    Tag:
842    Description:
843    
844    Changes to the SML/NJ library.  See smlnj-lib/CHANGES for details.
845    
846    ----------------------------------------------------------------------
847    Name: Matthias Blume (blume (at) tti - c (dot) org)
848    Date: 2005/07/06 00:45:00 CDT
849    Tag: blume-20050706-slice-copy
850    Description:
851    
852    Fixed reversed logic for deciding whether to "copy up" or "copy down"
853    in *-array-slice.sml.
854    
855    ----------------------------------------------------------------------
856    Name: Allen Leung (leunga (at) reservoir (dot) com)
857    Date: 2005/05/31 17:00:00 EST
858    Tag: leunga-20050531-cygwin-fault-2
859    Description:
860    
861    A typo in the cygwin code fixed.
862    
863    ----------------------------------------------------------------------
864    Name: Allen Leung (leunga (at) reservoir (dot) com)
865    Date: 2005/05/31 16:47:00 EST
866    Tag: leunga-20050531-cygwin-fault
867    Description:
868    
869    Updated Cygwin's fault/signal handling to match the Windows version.
870    Updated the export list.
871    
872    ----------------------------------------------------------------------
873    Name: Matthias Blume (blume (at) tti - c (dot) org)
874    Date: 2005/05/18 13:35:00 CDT
875    Tag: Release_110_54
876    Description:
877    
878    New working version (110.54).  NEW BOOTFILES!
879    
880    ----------------------------------------------------------------------
881    Name: Matthias Blume (blume (at) tti - c (dot) org)
882    Date: 2005/05/18 11:58:00 CDT
883    Tag: blume-20050518-installer
884    Description:
885    
886    Added support scripts for Mac OS X PackageMaker and modified
887    config/install.sh so that it supports re-dumping a heap image
888    after customization.
889    
890    ----------------------------------------------------------------------
891    Name: Matthias Blume (blume (at) tti - c (dot) org)
892    Date: 2005/05/18 10:55:00 CDT
893    Tag: blume-20050518-realdiv-noovld
894    Description:
895    
896    Un-overloaded / to work around bug in overloading resolution code.
897    
898    ----------------------------------------------------------------------
899    Name: Matthias Blume (blume (at) tti - c (dot) org)
900    Date: 2005/05/16 23:50:00 CDT
901    Tag: blume-20050516-redump-heap
902    Description:
903    
904    Added mechanism for re-creating a heap file for the interactive system
905    after configuration variables have been changed.
906    
907       CM.redump_heap : string -> unit
908    
909    This is much like SMLofNJ.exportML, but starting from the resulting
910    heap does not return to the caller of CM.redump_heap but
911    restarts the interactive system from scratch.  The original call of
912    CM.redump_heap does not return but ends the interactive session.
913    Thus, CM.redump_heap is a lot like SMLofNJ.exportFn.
914    
915    Internally, redump_heap winds the dynamic execution context back to
916    the point where the original heap image was created and re-executes
917    the heap image generation code in the boot code.
918    
919    ----------------------------------------------------------------------
920    Name: Matthias Blume (blume (at) tti - c (dot) org)
921    Date: 2005/05/09 21:55:00 CDT
922    Tag: blume-20050509-word64
923    Description:
924    
925    Added a hack to the existing hack known as Word64 to make fromString
926    behave correctly.  I am still not sure whether Word64.scan will work
927    as specified with respect to the interaction of radix and prefix.
928    
929    ----------------------------------------------------------------------
930    Name: Allen Leung (leunga (at) reservoir (dot) com)
931    Date: 2005/05/04 11:50:00 EST
932    Tag: leunga-20050504-checkgc
933    Description:
934    
935    Added a gc protocol checking phase.  This phase is enabled with
936    the flag "check-gc".  "debug-check-gc" turns on the verbose mode.
937    
938    ----------------------------------------------------------------------
939    Name: Matthias Blume (blume (at) tti - c (dot) org)
940    Date: 2005/05/04 10:45:00 CDT
941    Tag: blume-20050504-intinf
942    Description:
943    
944    Fixed a bug in the implementation of div and mod for IntInf.
945    Thanks to Neophytos Michael for reporting the problem.
946    
947    ----------------------------------------------------------------------
948    Name: Matthias Blume (blume (at) tti - c (dot) org)
949    Date: 2005/05/04 10:35:00 CDT
950    Tag: blume-20050504-join
951    Description:
952    
953    Added a "join" combinator to the ParserComb module in smlnj-lib.cm.
954    
955    ----------------------------------------------------------------------
956    Name: Matthias Blume (blume (at) tti - c (dot) org)
957    Date: 2005/02/28 23:40:00 CST
958    Tag: blume-20050228-mVar
959    Description:
960    
961    Fixed serious bug (brown paper bag variety) in new implementation of
962    structure Atom in CML.  (I had accidentally used a mailbox instead of
963    an mvar, leaving the door open for races.)
964    
965    ----------------------------------------------------------------------
966    Name: Matthias Blume (blume (at) tti - c (dot) org)
967    Date: 2005/02/25 15:00:00 CST
968    Tag: Release_110_53
969    Description:
970    
971    New working version (110.53).  NEW BOOTFILES!
972    
973    ----------------------------------------------------------------------
974    Name: Matthias Blume (blume (at) tti - c (dot) org)
975    Date: 2005/02/25 14:50:00 CST
976    Tag: blume-20050225-susp
977    Description:
978    
979    Brought back SMLofNJ.Susp.  The underlying suspension type is the one
980    implemented in Core -- which means that it is the same as the one used
981    by the lazy extension.
982    
983    ----------------------------------------------------------------------
984    Name: Matthias Blume (blume (at) tti - c (dot) org)
985    Date: 2005/02/24 16:50:00 CST
986    Tag: blume-20050224-cml-atom
987    Description:
988    
989    Simpler and at the same time more general implementation of structure
990    Atom in CML.
991    
992    ----------------------------------------------------------------------
993    Name: Matthias Blume (blume (at) tti - c (dot) org)
994    Date: 2005/02/15 17:35:00 CST
995    Tag: blume-20050215-tools
996    Description:
997    
998    Created new "tools" directory under "src" and moved "TraceDebugProf"
999    there.
1000    
1001    ----------------------------------------------------------------------
1002    Name: Matthias Blume (blume (at) tti - c (dot) org)
1003    Date: 2005/02/10 17:55:00 CST
1004    Tag: blume-20050210-longlong
1005    Description:
1006    
1007    Implemented "long long" arguments and results for NLFFI.  (Only the
1008    PPC/MacOS implementation is complete, the other backends still need to
1009    be updated.)
1010    
1011    ----------------------------------------------------------------------
1012    Name: Matthias Blume (blume (at) tti - c (dot) org)
1013    Date: 2005/01/24 17:40:00 CST
1014    Tag: blume-20050124-mlyacc
1015    Description:
1016    
1017    Minor cleanup in ML-Yacc rule printing mechanism.  This should fix a
1018    problem with certain "as" patterns which previously got rendered
1019    using incorrect syntax.
1020    
1021    ----------------------------------------------------------------------
1022    Name: Matthias Blume (blume (at) tti - c (dot) org)
1023    Date: 2005/01/18 12:00:00 CST
1024    Tag: blume-20050118-profile
1025    Description:
1026    
1027    Made time profiling code (interrupt handler) in runtime system aware
1028    of new array representation.
1029    
1030    ----------------------------------------------------------------------
1031    Name: Matthias Blume (blume (at) tti - c (dot) org)
1032    Date: 2005/01/14 18:00:00 CST
1033    Tag: blume-20050114-heap2exec
1034    Description:
1035    
1036    Implemented new (but still experimental) heap2exec facility.  This is
1037    tested under Mac OS X and should work under Linux (will test shortly).
1038    It will probably also work on the Sparc (will test some time later).
1039    
1040      - removed old "HACKED_STANDALONE" hack from runtime
1041    
1042    To be able to test this, uncomment the request for "heap2asm" in
1043    config/targets prior to installation.  (Notice that this is different
1044    from "heap2exec" mentioned below.  Not a typo.)
1045    
1046    To perform an actual test, run the command
1047    
1048       $ bin/heap2exec heapfile execfile
1049    
1050    (You can put heap2exec on your shell's path.)
1051    
1052    For example, run
1053    
1054      $ bin/heap2exec bin/.heap/ml-yacc.ppc-darwin mly
1055    
1056    This will create a standalone executable called "mly" which you can
1057    then invoke directly as a command.
1058    
1059    ----------------------------------------------------------------------
1060    Name: Matthias Blume (blume (at) tti - c (dot) org)
1061    Date: 2005/01/07 11:44:00 CST
1062    Tag: blume-20050107-mlstring
1063    Description:
1064    
1065    fixed off-by-one error in ML_STRING macro (globals.c)
1066    
1067    ----------------------------------------------------------------------
1068    Name: Matthias Blume (blume (at) tti - c (dot) org)
1069    Date: 2004/12/23 18:00:00 CST
1070    Tag: blume-20041223-santa
1071    Description:
1072    
1073    Made ml-build script "smarter" (but only very little).
1074    
1075    ----------------------------------------------------------------------
1076    Name: Matthias Blume (blume (at) tti - c (dot) org)
1077    Date: 2004/12/21 15:05:00 CST
1078    Tag: blume-20041221-longlong
1079    Description:
1080    
1081    * Implemented access to signed and unsigned long long data in NLFFI.
1082    (The parameter-passing part of the picture has not complete. But
1083    data structure access seems to work.)
1084    
1085    * Fixed CM's incorrect assumption that the PPC is little-endian.
1086      (On the Mac, it is big-endian.  And that's currently our only
1087      PPC platform.)
1088    
1089    ----------------------------------------------------------------------
1090    Name: Matthias Blume (blume (at) tti - c (dot) org)
1091    Date: 2004/12/21 12:50:00 CST
1092    Tag: blume-20041221-memory
1093    Description:
1094    
1095    Some cleanup in the $c/memory.cm library: separated some concerns by
1096    moving allocation code and memory access code each into their own
1097    files.
1098    
1099    ----------------------------------------------------------------------
1100    Name: Allen Leung (leunga (at) reservoir (dot) com)
1101    Date: 2004/12/17 16:12:00 EST
1102    Tag: leunga-20041217-cygwin-smlnj-home
1103    Description:
1104    
1105        The Unix I/O library of SML/NJ on cygwin does not understand
1106    Windows style pathname, so problems arise when SMLNJ_HOME is set
1107    to a Windows style pathname.  _run-sml now converts SMLNJ_HOME
1108    to a POSIX pathname on cygwin.
1109    
1110    ----------------------------------------------------------------------
1111    Name: Matthias Blume (blume (at) tti - c (dot) org)
1112    Date: 2004/12/16 13:35:00 CST
1113    Tag: Release_110_52
1114    Description:
1115    
1116    Last-minute changes incorporated into 110.52.  Release tag moved.
1117    
1118    The changes:
1119       - HashString.hashString' -> HashString.hashSubstring
1120       - bug fix in UnivariateStats
1121    
1122    ----------------------------------------------------------------------
1123    Name: Matthias Blume (blume (at) tti - c (dot) org)
1124    Date: 2004/12/15 23:40:00 CST
1125    Tag: blume-20041215-hashSubstring
1126    Description:
1127    
1128    - HashString.hashString' -> HashString.hashSubstring
1129    - corresponding changes in atom.sml
1130    - "de-compressed" (aka. un-obfuscated) code for UnivariateStats and
1131      added some comments
1132    
1133    ----------------------------------------------------------------------
1134    Name: Matthias Blume (blume (at) tti - c (dot) org)
1135    Date: 2004/12/15 15:30:00 CST
1136    Tag: (Release_110_52)
1137    Description:
1138    
1139    New working version (110.52).  NEW BOOTFILES!
1140    
1141    ----------------------------------------------------------------------
1142    Name: Matthias Blume (blume (at) tti - c (dot) org)
1143    Date: 2004/12/15 12:45:00 CST
1144    Tag: blume-20041215-spaces
1145    Description:
1146    
1147    More on the space problem (this time for Win32).
1148    
1149    ----------------------------------------------------------------------
1150    Name: Matthias Blume (blume (at) tti - c (dot) org)
1151    Date: 2004/12/14 17:30:00 CST
1152    Tag: blume-20041214-spaces
1153    Description:
1154    
1155    Hacked some of the scripts (in particular: the installer) to cope with
1156    spaces in filenames a bit better.  But beware: the current "solution"
1157    is likely still full of bugs and inherently incomplete.  (We need to
1158    do away with those shell scripts for a comprehensive solution.)
1159    
1160    ----------------------------------------------------------------------
1161    Name: Matthias Blume (blume (at) tti - c (dot) org)
1162    Date: 2004/12/13 14:45:00 CST
1163    Tag: blume-20041213-ml-makedepend
1164    Description:
1165    
1166    Fixed bug in code for ml-makedepend.
1167    
1168    ----------------------------------------------------------------------
1169    Name: Matthias Blume (blume (at) tti - c (dot) org)
1170    Date: 2004/12/09 16:30:00 CST
1171    Tag: blume-20041209-statistics
1172    Description:
1173    
1174    Added two simple but potentially useful statistics modules to SML/NJ Library.
1175    (See CHANGES file there.)
1176    
1177    ----------------------------------------------------------------------
1178    Name: Matthias Blume (blume (at) tti - c (dot) org)
1179    Date: 2004/12/01 16:50:00 CST
1180    Tag: blume-20041201-atom
1181    Description:
1182    
1183    smlnj-lib:
1184    
1185      Added function HashString.hashString' for substrings.
1186      Hand-inlined CharVector.foldl into HashString (for speed).
1187      Modified implementation of structure Atom to avoid extracting
1188      strings from substrings unless necessary.
1189      (Also see CHANGES file for smlnj-lib.)
1190    
1191    ----------------------------------------------------------------------
1192    Name: Matthias Blume (blume (at) tti - c (dot) org)
1193    Date: 2004/11/24 22:15:00 CST
1194    Tag: blume-20041124-cml
1195    Description:
1196    
1197    Made sure CML compiles when Position = Int64.
1198    
1199    ----------------------------------------------------------------------
1200    Name: Matthias Blume (blume (at) tti - c (dot) org)
1201    Date: 2004/11/24 14:30:00 CST
1202    Tag: blume-20041124-position
1203    Description:
1204    
1205    The compiler can now be compiled in a mode that makes structure Position
1206    equal to Int64.  The default, however, is unchanged (Position = Int31)
1207    for the time being.
1208    
1209    To enable 64-bit positions, use the following procedure:
1210    
1211    1. Start sml
1212    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
1213    3. Type
1214          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
1215    4. Run CMB.make() as usual.
1216    
1217    This is barely tested.  The only test so far was a little SML program
1218    counting the number of characters in an 8-gigabyte file by
1219    reading it character-by-character.  That test was successful.
1220    
1221    In support of 64-bit positions, a number of new functions have been
1222    added to the runtime system.
1223    
1224    ----------------------------------------------------------------------
1225    Name: Matthias Blume (blume (at) tti - c (dot) org)
1226    Date: 2004/11/23 14:45:00 CST
1227    Tag: blume-20041123-useFile
1228    Description:
1229    
1230    Fixed a problem with unhelpful error messages related to problems with
1231    .cm- or .sml files that appear as part of the sml command line.
1232    
1233    ----------------------------------------------------------------------
1234    Name: Matthias Blume (blume (at) tti - c (dot) org)
1235    Date: 2004/11/18 15:40:00 CST
1236    Tag: Release_110_51
1237    Description:
1238    
1239    New working version (110.51).  NEW BOOTFILES!
1240    
1241    ----------------------------------------------------------------------
1242    Name: Matthias Blume (blume (at) tti - c (dot) org)
1243    Date: 2004/11/18 15:35:00 CST
1244    Tag: <none>
1245    Description:
1246    
1247    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
1248    Joemann).
1249    
1250    ----------------------------------------------------------------------
1251    Name: Allen Leung (leunga (at) reservoir (dot) com)
1252    Date: 2004/11/17 16:05:21 EST 2004
1253    Tag: leunga-20041117-mlrisc-live-kill
1254    Description:
1255    
1256       Added support for MLTree constructs LIVE and KILL
1257    to all the architectures.
1258    
1259    ----------------------------------------------------------------------
1260    Name: Matthias Blume (blume (at) tti - c (dot) org)
1261    Date: 2004/11/13 00:20:00 CST
1262    Tag: blume-20041113-versiontool
1263    Description:
1264    
1265    - Stripped down the versiontool: It now only handles the version number.
1266      The date string is generated at bootstrap time (during makeml).
1267    
1268    - In a previous commit, fixed a minor issue with how polyequal is being
1269      translated.  In particular, the code now "looks through" abstractions.
1270      This results in slightly fewer polyEqual warnings and hopefully slightly
1271      more efficient code.  Important examples for where this matters are
1272      the new int64 and word64 types.
1273    
1274    ----------------------------------------------------------------------
1275    Name: Matthias Blume (blume (at) tti - c (dot) org)
1276    Date: 2004/11/12 00:30:00 CST
1277    Tag: blume-20041112-int64
1278    Description:
1279    
1280    Structure Int64 fully hooked in.  (The implementation is not very
1281    efficient, though.)
1282    
1283    ----------------------------------------------------------------------
1284    Name: Matthias Blume (blume (at) tti - c (dot) org)
1285    Date: 2004/11/11 17:30:00 CST
1286    Tag: blume-20041111-more64
1287    Description:
1288    
1289    All the pieces of Word64 are now there, with the exception of the
1290    conversions from and to LargeWord. (Eventually these need to be identities,
1291    but for the time being they don't even make sense because LargeWord is
1292    32-bit wide.)
1293    
1294    Also started to add similar support for Int64, but major pieces of that
1295    are still missing.
1296    
1297    ----------------------------------------------------------------------
1298    Name: Matthias Blume (blume (at) tti - c (dot) org)
1299    Date: 2004/11/11 00:15:00 CST
1300    Tag: blume-20041111-word64
1301    Description:
1302    
1303    Structure Word64 is now (almost) complete, word literals and patterns
1304    seem to work.  There are a few odd pieces missing.  In particular,
1305    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
1306    at the moment.
1307    
1308    Making Word64 official would mean that LargeWord becomes Word64.  But
1309    this requires extreme care because most word-word conversions have to
1310    go through LargeWord, so making a mistake means loss of efficiency or
1311    worse.  Eventually there will be a solution similar to (but actually
1312    simpler than) what I did with IntInf.
1313    
1314    ----------------------------------------------------------------------
1315    Name: Matthias Blume (blume (at) tti - c (dot) org)
1316    Date: 2004/11/10 18:12:00 CST
1317    Tag: blume-20041110-64bit
1318    Description:
1319    
1320    More 64-bit hacking (but still not even half-way there yet).
1321    Also, some assorted improvements to the handling of 8-bit words.
1322    
1323    ----------------------------------------------------------------------
1324    Name: Matthias Blume (blume (at) tti - c (dot) org)
1325    Date: 2004/11/09 17:50:00 CST
1326    Tag: <none>
1327    Description:
1328    
1329    Started adding some infrastructure for supporting 64-bit int- and
1330    word-types.  (Still in its very early stages.)
1331    
1332    ----------------------------------------------------------------------
1333    Name: Matthias Blume (blume (at) tti - c (dot) org)
1334    Date: 2004/10/28 10:45:00 CDT
1335    Tag: Release_110_50
1336    Description:
1337    
1338    New working version (110.50).  NEW BOOTFILES!
1339    
1340                 =====================
1341    
1342    Also:
1343    
1344      - Changend config/srcarchiveurl from a file just
1345        containing the URL string into a file containing
1346        shell script code.  The code has access to the $VERSION variable.
1347      - Made corresponding changes to config/install.sh and config/unpack.
1348      - Default contents of config/srcarchiveurl uses $VERSION and
1349        normally does not have to be edited to reflect a version change.
1350    
1351      (As a result, a version change can be done by just editing
1352       config/version, the rest is now automatic.)
1353    
1354    ----------------------------------------------------------------------
1355    Name: Matthias Blume (blume (at) tti - c (dot) org)
1356    Date: 2004/10/27 17:50:00 CDT
1357    Tag: blume-20041027-btrace-msg
1358    Description:
1359    
1360    BackTrace.monitor now also reports the source of the exception that
1361    triggered the trace.
1362    
1363    ----------------------------------------------------------------------
1364    Name: Matthias Blume (blume (at) tti - c (dot) org)
1365    Date: 2004/10/27 17:20:00 CDT
1366    Tag: blume-20041027-x86-c-calls
1367    Description:
1368    
1369    This is the HISTORY entry for two earlier commits, both concerning
1370    the x86 c-calls code in MLRISC:
1371    
1372      - added a missing LOAD in the code that deals with struct arguments
1373      - made sure the caller does not add the wrong number of bytes to the
1374        stack pointer after a call of a function returning a struct
1375        (the callee already pops the implicit argument which points to
1376         the space reserved for the result)
1377    
1378    ----------------------------------------------------------------------
1379    Name: Allen Leung (leunga (at) reservoir (dot) com)
1380    Date: 2004/10/24 14:00:00 EST
1381    Tag: leunga-20041024-x86-gas-fucomip
1382    Description:
1383    
1384       John discovered a bug in the syntax of fucomip.
1385       The opcodes FU?COMIP? have been changed to
1386    
1387           fu?comip? %st(i), %st
1388    
1389    ----------------------------------------------------------------------
1390    Name: Matthias Blume (blume (at) tti - c (dot) org)
1391    Date: 2004/10/20 15:06:00 CDT
1392    Tag: blume-20041020-standalone-backtrace
1393    Description:
1394    
1395    Added a mechanism for getting back-trace information from standalone
1396    programs.  Here is how it works:
1397    
1398       1. The part of the program from which you want to get backtrace
1399          information (usually the whole program) should be wrapped with
1400          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
1401          main program could be modified from something like
1402    
1403             fun main (pgm, args) = ...
1404    
1405         to
1406    
1407            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
1408    
1409       2. To be able to access BackTrace.monitor, you have to add
1410          library $smlnj-tdp/plugins.cm to the .cm file that contains your
1411          main function.
1412    
1413       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
1414          CM might have created in the past for your project).
1415    
1416       4. Build the system using this command line:
1417    
1418             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
1419                      myprog.cm MyProg.main myprog
1420    
1421          instead of the usual
1422    
1423             ml-build myprog.cm MyProg.main myprog
1424    
1425    I changed a library name:
1426    
1427       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
1428    
1429    New libraries:
1430    
1431       $smlnj-tdp/back-trace.cm
1432          -- when loaded causes the back-trace plugin to be installed
1433       $smlnj-tdp/coverage.cm
1434          -- when loaded causes the coverage plugin to be installed
1435    
1436    ----------------------------------------------------------------------
1437    Name: Matthias Blume (blume (at) tti - c (dot) org)
1438    Date: 2004/10/18 16:45:00 CDT
1439    Tag: blume-20041018-groupowner
1440    Description:
1441    
1442    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
1443    
1444    Eliminated group owner specs from .cm files throughout the source tree.
1445    
1446    ----------------------------------------------------------------------
1447    Name: Matthias Blume (blume (at) tti - c (dot) org)
1448    Date: 2004/10/15 15:45:00 CDT
1449    Tag: blume-20041015-coverage
1450    Description:
1451    
1452    * Test coverage tool added!
1453    * Further reorganization of tracing-, debugging-, and profiling support:
1454    
1455        - moved original BTImp -- now called BackTrace -- into a separate
1456          library called $/trace-debug-profile.cm
1457        - eliminated all mentions of BTrace from SMLofNJ.Internals
1458        - only the instrumentation mechanism is now left in the compiler proper
1459        - BackTrace module is a plugin which is NOT plugged in by default
1460        - Coverage module is another such plugin
1461    
1462    To get the benefits of any of these plugin modules, the code in
1463    question must be compiled with tdp instrumentation turned on.  This
1464    can be done by setting SMLofNJ.Internals.TDP.mode to true.
1465    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
1466    
1467    Plugins are selected at link time.  (Pre-compiled instrumented code
1468    can be re-loaded with different plugins in effect.)  When an
1469    instrumented module is linked, whatever plugins are at that time
1470    enabled will come into effect for that module.
1471    
1472    To enable the back-trace plugin, load library $/trace-debug-profile.cm
1473    and invoke BackTrace.install() (e.g., from the interactive prompt).
1474    To enable the coverage plugin, load the same library and invoke
1475    Coverage.install().
1476    
1477    Back-traces are generated automatically on uncaught exceptions and
1478    when the code in question explicitly invokes BackTrace.trigger().
1479    
1480    Coverage (and execution frequency-) information must be queried
1481    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
1482    
1483    ----------------------------------------------------------------------
1484    Name: Matthias Blume (blume (at) tti - c (dot) org)
1485    Date: 2004/10/14 17:40:00 CDT
1486    Tag: blume-20041014-tdp-core
1487    Description:
1488    
1489    Snapshot of a significant overhaul of how the trace/debug/profile support
1490    is hooked into the system (specifically: Core and SMLofNJ.Internals).
1491    
1492    ----------------------------------------------------------------------
1493    Name: Matthias Blume (blume (at) tti - c (dot) org)
1494    Date: 2004/10/13 16:34:00 CDT
1495    Tag: blume-20041013-tdp
1496    Description:
1497    
1498    Some rationalization of names:
1499    
1500       structure BTrace -> structure TDPInstrument
1501       etc.
1502    
1503    This is is preparation of using the original back-trace
1504    instrumentation for other purposes.  "TDP" stands for
1505    Trace/Debug/Profile.
1506    
1507    The control flag controlling whether instrumentation is on or off is now
1508    registered under a different name, so instead of running sml as
1509    
1510     sml -Cinstrument.btrace-mode=true
1511    
1512    one has to say
1513    
1514     sml -Ctdp.instrument=true
1515    
1516    ----------------------------------------------------------------------
1517    Name: Matthias Blume (blume (at) tti - c (dot) org)
1518    Date: 2004/10/11 16:37:00 CDT
1519    Tag: blume-20041011-regions
1520    Description:
1521    
1522    Made some minor modifications to elabcore.sml to have source regions
1523    be propagated more tightly -- resulting in better (i.e., smaller)
1524    regions being reported in error- and debug messages.
1525    
1526    ----------------------------------------------------------------------
1527    Name: Matthias Blume (blume (at) tti - c (dot) org)
1528    Date: 2004/10/08 22:50:00 CDT
1529    Tag: blume-20041008-cmkw
1530    Description:
1531    
1532    Fixed handling of keywords in .cm files: After seeing "is" the lexer
1533    treats subsequent occurrences of "group", "library", "source", "is",
1534    "*", and "-" as ordinary identifiers rather than keywords.
1535    
1536    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
1537    is supposed to accept a tool argument called "source", but this did
1538    not work because of the clash with the keyword.
1539    
1540    ----------------------------------------------------------------------
1541    Name: Matthias Blume (blume (at) tti - c (dot) org)
1542    Date: 2004/10/07 16:00:00 CDT
1543    Tag: blume-20041007-cleanup
1544    Description:
1545    
1546    Assorted cleanup work:
1547    
1548      - got rid of intstrmap in favor of using the library's
1549        hash table implementation
1550      - threw out most of the pathnames stuff, as it was not used anyway
1551      - simplified tokentable implementation
1552      - fixed some minor spelling errors
1553    
1554    ----------------------------------------------------------------------
1555    Name: Matthias Blume (blume (at) tti - c (dot) org)
1556    Date: 2004/10/06 15:15:15 CDT
1557    Tag: blume-20041006-handler
1558    Description:
1559    
1560    Cleaned up the absyn to reflect the invariant that HANDLE always
1561    carries a FNexp as part of the type definition.  This eliminates some
1562    superfluous sanity checks at runtime down the road.
1563    
1564    Some minor cleanup of the btrace code.
1565    
1566    ----------------------------------------------------------------------
1567    Name: Matthias Blume (blume (at) tti - c (dot) org)
1568    Date: 2004/10/01 10:20:30 CDT
1569    Tag: blume-20041001-slave
1570    Description:
1571    
1572    Added hack to make slave mode work in the presence of the version
1573    tool.  (Still, since the master does two passes over the code for
1574    CMB.make, the release number gets bumped twice when slaves are
1575    attached.  I don't know if this is worth fixing...)
1576    
1577    ----------------------------------------------------------------------
1578    Name: Matthias Blume (blume (at) tti - c (dot) org)
1579    Date: 2004/09/30 10:55:00 CDT
1580    Tag: blume-20040930-version
1581    Description:
1582    
1583    * Moved the "version" magic into its own little library under
1584      src/system/smlnj/internal.  This avoids expensive reconstruction of
1585      a stable src/compiler/core.cm.
1586    
1587    * At the same time, structure CompilerVersion is now known as
1588      structure SMLNJVersion.
1589    
1590    * Arranged for the version tool to NOT kick in when rebuilding the system
1591      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
1592      Also, loading the versiontool does not work when rebuilding the system
1593      because CM is not properly initialized at that time.
1594    
1595    ----------------------------------------------------------------------
1596    Name: Matthias Blume (blume (at) tti - c (dot) org)
1597    Date: 2004/09/29 14:00:00 CDT
1598    Tag: blume-20040929-autoversion
1599    Description:
1600    
1601    Implemented some CM magic to have
1602        file src/compiler/TopLevel/main/version.sml
1603    generated automagically.
1604    The version is taken from two files: config/version and config/release.
1605    The first is expected to contain a two-part version number such as 110.49.
1606    The second should contain a single number, but it may be missing.
1607    
1608    If the environment variable VERSIONTOOL_BUMP_RELEASE is defined at the
1609    time the version tool is loaded (which is the first time you say CMB.make),
1610    then the tool will increment the value stored in config/release every
1611    time CMB.make is invoked.
1612    
1613    The binfile format is now insensitive to anything beyond the first
1614    two components of a version number, so bumping the release does not render
1615    binfiles incompatible.  Auto-bumping can be used to keep track of versions
1616    during development without invalidating existing binfiles.
1617    
1618    In any case, every CMB.make updates the date information in version.sml.
1619    (This is the date that is printed in the banner.)
1620    
1621    ----------------------------------------------------------------------
1622    Name: Matthias Blume (blume (at) tti - c (dot) org)
1623    Date: 2004/09/28 10:53:00 CDT
1624    Tag: blume-20040928-controls
1625    Description:
1626    
1627    Some cleanup of the controls code.
1628    
1629    ----------------------------------------------------------------------
1630    Name: Matthias Blume (blume (at) tti - c (dot) org)
1631    Date: 2004/09/27 22:08:00 CDT
1632    Tag: blume-20040927-controls
1633    Description:
1634    
1635    Added two pieces of functionality to the Controls interface:
1636    
1637    1.   val save'restore: 'a control -> unit -> unit
1638    
1639       grabs the current value of the control in stage 1 and restores it
1640       in stage 2.
1641    
1642    2.   val set' : 'a control * 'a -> unit -> unit
1643    
1644       stores the given value into the control in stage 2 (i.e., delayed)
1645       but does all error checking in stage 1.
1646       (This is for string controls that need to do parse their argument --
1647        something that might fail.  In some cases, notably in CM, one
1648        already knows the intended argument but wants to delay the actual
1649        assignment until a time when error recovery would be more difficult.)
1650    
1651    Changed the handling of controls in tool arguments to classes "sml" and
1652    "lazysml":
1653       - use Controls.save'restore as a more robust way of restoring the
1654         old value (in particular: without having to re-parse the string)
1655       - use controls to handle the "overload" keyword in the init group
1656         (I believe this change actually fixes a long-standing obscure bug.)
1657    
1658    ----------------------------------------------------------------------
1659    Name: Matthias Blume (blume (at) tti - c (dot) org)
1660    Date: 2004/09/27 17:00:00 CDT
1661    Tag: blume-20040927-lazysml
1662    Description:
1663    
1664    Added a new tool class called "lazysml" to CM's tool chest.  The only
1665    difference to "sml" is that compilation is done with Control.lazysml
1666    set to true.  A source of class "lazysml" is automatically recognized
1667    by a file name suffix of ".lml".
1668    
1669    In addition to the above feature, the original class "sml" now also
1670    supports a tool argument "lazy" which has the same effect.  As a
1671    result, the following three lines are equivalent:
1672    
1673        foo.sml : lazysml
1674        foo.sml : sml (lazy)
1675        foo.sml (lazy)
1676    
1677    The setting goes into effect both during parsing and during
1678    compilation.  The original setting is restored right after parsing and
1679    after compilation, respectively.
1680    
1681    In addition to all the above, there is also a general mechanism to set
1682    ANY of the "controls" that are available at the command line via
1683    "-C..." on a per-sml-file basis.  The same rules that apply for "lazy"
1684    apply as well. (In fact, "lazy" is implemented as a special case of
1685    the general mechanism.)
1686    
1687    The .cm file syntax uses a new keyword tool argument called "with".
1688    There are several ways of indicating the desired settings:
1689    
1690        foo.sml (with:parser.quotations=true)
1691        foo.sml (with:(name:parser.quotations value:true))
1692        foo.sml (with:(name:name1 value:value1 name:name2 value:value2 ...))
1693        foo.sml (with:(name1=value1 name2=value2 ...))
1694        foo.sml (with:(name1=value1 name:name2 value:value2 name3=value3 ...))
1695    
1696        etc.
1697    
1698    Another possible abbreviation is to leave out the =v or value:v part
1699    if the name refers to a boolean control (in which case the value is
1700    taken to be true).  Thus, one could get lazy sml also by saying:
1701    
1702        foo.sml (with:parser.lazy-keyword=true)
1703        foo.sml (with:parser.lazy-keyword)
1704        foo.sml (with:(name:parser.lazy-keyword value:true))
1705        foo.sml (with:(name:parser.lazy-keyword))
1706    
1707    ----------------------------------------------------------------------
1708    Name: Matthias Blume (blume (at) tti - c (dot) org)
1709    Date: 2004/09/24 16:22:00 CDT
1710    Tag: blume-20040924-ppc-long-branch
1711    Description:
1712    
1713    Turned message about "emiting long form of branch" off by default.
1714    Added a control flag to turn it back on when desired.
1715    
1716    ----------------------------------------------------------------------
1717    Name: Matthias Blume (blume (at) tti - c (dot) org)
1718    Date: 2004/09/24 16:05:00 CDT
1719    Tag: blume-20040924-rounding
1720    Description:
1721    
1722    Applied patch for setting rounding modes under Mac OS X.  Thanks to
1723    Melissa O'Neill for providing the code!
1724    
1725    ----------------------------------------------------------------------
1726    Name: Matthias Blume (blume (at) tti - c (dot) org)
1727    Date: 2004/09/23 17:30:00 CDT
1728    Tag: blume-20040923-envvars
1729    Description:
1730    
1731    1. Changed definition of type ControlRegistry.registry_tree to
1732       include control_info (i.e., the name of the controlling environment
1733       variable).
1734    
1735    2. Added command-line flags -e and -E to print the names of environment
1736       variables that can be used to control internal settings.
1737       (This uses the new API mentioned in 1.)
1738    
1739    ----------------------------------------------------------------------
1740    Name: Matthias Blume (blume (at) tti - c (dot) org)
1741    Date: 2004/09/13 16:50:00 CDT
1742    Tag: Release_110_49
1743    Description:
1744    
1745    New working version (110.49).  NEW BOOTFILES!
1746    
1747    ----------------------------------------------------------------------
1748    Name: Matthias Blume
1749    Date: 2004/09/13 16:20:00 CDT
1750    Tag: blume-20040913-config-mlrisc
1751    Description:
1752    
1753    Put target "mlrisc" back into the default list.
1754    (There is no harm in having it, and some users have expressed their
1755    wish to have "mlrisc" included by default.)
1756    
1757    ----------------------------------------------------------------------
1758    Name: John Reppy
1759    Date: 2004/09/13
1760    Tag: jhr-20040913-signals
1761    Description:
1762    
1763    Fixed the signal masking code to properly nest mask/unmask operations
1764    on a per-signal basis.
1765    
1766    ----------------------------------------------------------------------
1767    Name: Matthias Blume (blume (at) tti - c (dot) org)
1768    Date: 2004/09/08 13:20:00 CDT
1769    Tag: blume-20040908-heap-magic
1770    Description:
1771    
1772    Bumped the heap macig number to 0x09082004 to account for the changed
1773    layout of the ML frame under MacOS X.
1774    
1775    ----------------------------------------------------------------------
1776    Name: Allen Leung (leunga (at) reservoir (dot) com)
1777    Date: 2004/09/03 11:26:00 EST
1778    Tag: leunga-20040903-cygwin-install
1779    Description:
1780    
1781       Added a patch to _arch-n-opsys to enable the Cygwin runtime.
1782    The Cygwin runtime is turned on by setting the environment
1783    variable SMLNJ_CYGWIN_RUNTIME to 1.
1784    
1785    ----------------------------------------------------------------------
1786    Name: Matthias Blume (blume (at) tti - c (dot) org)
1787    Date: 2004/08/31 17:15:00 CDT
1788    Tag: blume-20040831-core
1789    Description:
1790    
1791    Added some exports to src/compiler/core.cm upon request by J. Joemann.
1792    
1793    ----------------------------------------------------------------------
1794    Name: Matthias Blume (blume (at) tti - c (dot) org)
1795    Date: 2004/08/30 17:55:00 CDT
1796    Tag: blume-20040830-installer
1797    Description:
1798    
1799    Upon request by Johannes Joemann:
1800    
1801    - improved ML code of installer to fall back to coping when renaming
1802      fails (i.e., when source and target are on different file systems);
1803      the code compiles but has yet to be tested in anger
1804    - removed mlrisc from list of default targets (config/targets)
1805    
1806    ----------------------------------------------------------------------
1807    Name: Matthias Blume (blume (at) tti - c (dot) org)
1808    Date: 2004/08/27 17:20:00 CDT
1809    Tag: blume-20040827-ptreql
1810    Description:
1811    
1812    Added ptreql primop to structure InlineT (upon request from Larry
1813    Paulson).
1814    
1815    ----------------------------------------------------------------------
1816    Name: Allen Leung (leunga (at) reservoir (dot) com)
1817    Date: 2004/08/15 21:21:00 EST
1818    Tag: leunga-110_48-udgraph
1819    Description:
1820    
1821    Another bug fix from Carl Hauser:
1822    
1823    diff /net/niflab/smlnj48/src/MLRISC/graphs/udgraph.sml udgraph.sml
1824    > 48c48
1825    > <              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then es else
1826    > e::L)
1827    > ---
1828    > >              | rmv((e as (k,_))::es,L) = rmv(es,if k = i then L else e::L)
1829    > Without this, any deletion of an edge in an undirected graph does severe
1830    > violence to the graph.
1831    
1832    ----------------------------------------------------------------------
1833    Name: Allen Leung (leunga (at) reservoir (dot) com)
1834    Date: 2004/08/10 23:35:00 EST
1835    Tag: leunga-110_48-ppc
1836    Description:
1837    
1838       The IBM/MacOS syntax switch on PPC was incorrectly swapped.
1839    
1840    ----------------------------------------------------------------------
1841    Name: Matthias Blume (blume (at) tti - c (dot) org)
1842    Date: 2004/08/10 12:00:00 CDT
1843    Tag: Release_110_48
1844    Description:
1845    
1846    New working version (110.48).  NEW BOOTFILES!
1847    
1848    ----------------------------------------------------------------------
1849    Name: Allen Leung (leunga (at) reservoir (dot) com)
1850    Date: 2004/08/09 12:21:00 EST
1851    Tag: leunga-110_47-dijsktra
1852    Description:
1853    
1854    Bug fix from Carl Hauser:
1855    
1856    single_source_shortest_paths in dijkstra.sml was observed to get wrong
1857    answers (by comparing to single_source_shortest_paths in bellman-ford.sml).
1858    
1859    The problem is that following the expression A.update(dist,s,Num.zero)
1860    it is necessary to update the priority queue using Q.decreaseWeight(Q,s).
1861    
1862    ----------------------------------------------------------------------
1863    Name: Matthias Blume (blume (at) tti - c (dot) org)
1864    Date: 2004/08/06 18:10:00 CDT
1865    Tag: blume-20040806-cmdline
1866    Description:
1867    
1868    Fiddled with handling of command-line options:
1869    
1870      * sml now quits after processing the command line
1871        if -H, -S, -h<n>, or -s<n> appears as the last
1872        command-line argument
1873      * a new option -q terminates the session when encountered on
1874        the command line; subsequent arguments will be ignored
1875      * bug fixes: short (erroneous) arguments are no longer ignored
1876        completely
1877    
1878    ----------------------------------------------------------------------
1879    Name: Allen Leung (leunga (at) reservoir (dot) com)
1880    Date: 2004/08/04 18:17:00 EST
1881    Tag: leunga-110_47-ppc-ibm-asm
1882    Description:
1883    
1884      - Added minimal IBM assembly syntax support for PowerPC.
1885    
1886      - Cygwin: manually changed the file cygwin.def.  Some exported symbols have
1887        been altered in the runtime.  We need an automatic way to keep the file
1888        in sync.
1889    
1890    ----------------------------------------------------------------------
1891    Name: Matthias Blume (blume (at) tti - c (dot) org)
1892    Date: 2004/08/04 14:00:00 CDT
1893    Tag: Release_110_47
1894    Description:
1895    
1896    New working version (110.47).  NEW BOOTFILES!
1897    
1898    ----------------------------------------------------------------------
1899    Name: Matthias Blume (blume (at) tti - c (dot) org)
1900    Date: 2004/08/03 14:25:00 CDT
1901    Tag: blume-20040803-callingconv
1902    Description:
1903    
1904    Added low-level support for choosing C calling conventions by
1905    twiddling the type of rawccall.  (See
1906    src/compiler/Semant/types/cproto.sml for details.)
1907    
1908    ----------------------------------------------------------------------
1909    Name: Matthias Blume (blume (at) tti - c (dot) org)
1910    Date: 2004/08/02 15:55:00 CDT
1911    Tag: blume-20040802-backout
1912    Description:
1913    
1914    Backed out of change to win32-filesys.c.  The earlier patch to
1915    get_file_time caused CM to produce files with the wrong time stamp.
1916    
1917    ----------------------------------------------------------------------
1918    Name: Matthias Blume (blume (at) tti - c (dot) org)
1919    Date: 2004/08/02 14:45:00 CDT
1920    Tag: blume-20040802-nlffi-win32
1921    Description:
1922    
1923    Added NLFFI support for Win32, adapted from a patch provided by David
1924    Hansel.  This is currently completely untested.  Also, the issue
1925    concerning stdcall vs. ccall is still unresolved.
1926    
1927    ----------------------------------------------------------------------
1928    Name: Matthias Blume (blume (at) tti - c (dot) org)
1929    Date: 2004/07/30 17:55:00 CDT
1930    Tag: blume-20040730-various
1931    Description:
1932    
1933    Gearing up towards 110.47...
1934    
1935    - various minor bugfixes to ml-nlffigen
1936    - a beginning of a manual for nlffi
1937    
1938    - eliminated 'export name=value' in config/install.sh as this does
1939      not work with certain versions of /bin/sh
1940      (Thanks to David King at Motorola for catching this.)
1941    
1942    - several bugfixes provided or suggested by David Hansel at Reactive Systems:
1943      - added a test for tm==NULL to gmtime.c and localtime.c
1944      - applied patch for incorrect GetFileTime under win32
1945      - toSeconds -> toMilliseconds in Win32/win32-process.sml
1946    
1947    ----------------------------------------------------------------------
1948    Name: Matthias Blume (blume (at) tti - c (dot) org)
1949    Date: 2004/07/21 18:20:00 CDT
1950    Tag: blume-20040721-nlffigen
1951    Description:
1952    
1953    - Fixed minor issue in ml-nlffigen: Now generate structure T_foo
1954      for a typedef to an incomplete type, but leave out the "typ" member.
1955      (This is just for consistency.)
1956    - Started to produce what is supposed to become better (i.e., comprehensive)
1957      documentation of what ml-nlffigen does and produces.
1958    
1959    ----------------------------------------------------------------------
1960    Name: Matthias Blume (blume (at) tti - c (dot) org)
1961    Date: 2004/07/14 16:25:00 CDT
1962    Tag: blume-20040714-union
1963    Description:
1964    
1965    Added C_UNION to c-calls/c-types.sml and updated the machinery
1966    (ml-nlffigen, cproto.sml) that conveys C function interface
1967    information to the code generator.
1968    
1969    However, the actual architecture-specific implementation of function
1970    arguments and results that are C unions is still not implemented.
1971    
1972    ----------------------------------------------------------------------
1973    Name: Allen Leung (leunga (at) reservoir (dot) com)
1974    Date: 2004/07/14 14:38:00 EST
1975    Tag: leunga-110_46_1-ppc-lwzu
1976    Description:
1977    
1978        Added these instructions to the PowerPC architecture:
1979        LBZU(X), LHZU(X), LWZU(X),
1980        STWU(X), STFDU, STFSU
1981    
1982        etc...
1983    
1984        Note: I haven't added their instruction encoding into the description.
1985    
1986    ----------------------------------------------------------------------
1987    Name: Allen Leung (leunga (at) reservoir (dot) com)
1988    Date: 2004/07/13 15:04:00 EST
1989    Tag: leunga-110_46_1-ppc-lwarx
1990    Description:
1991    
1992       Added the two instructions LWARX and STWCX to the PowerPC
1993    instruction set.
1994    
1995       A (untested) rewrite of loop-structure.sml.  The old version
1996    is completely broken.
1997    
1998    ----------------------------------------------------------------------
1999    Name: Matthias Blume (blume (at) tti - c (dot) org)
2000    Date: 2004/07/13 13:50:00 CDT
2001    Tag: blume-20040713-nlffi
2002    Description:
2003    
2004    - use paramAlloc to report c-calls with too many arguments
2005      (for PPC version where parameter area is pre-allocated)
2006    - added ccall_maxargspace to machspec (to implement the above)
2007    - made "make" commend in CM's "make" tool configurable
2008    - added option (default: on) for passing the name of the SML/NJ's "bin"
2009      directory to "make"; the call looks like this:
2010    
2011         make <options> SMLNJ_BINDIR=<dir> <target>
2012    
2013      This can be used by the Makefile to, e.g., pick the "right" version
2014      of ml-nlffigen.
2015    - minor code tweaks
2016    
2017    ----------------------------------------------------------------------
2018    Name: Matthias Blume (blume (at) tti - c (dot) org)
2019    Date: 2004/07/12 22:50:00 CDT
2020    Tag: blume-110_46_1-macosx-nlffi
2021    Description:
2022    
2023    NLFFI under Mac OS X now working (sort of).  This is largely untested,
2024    though.
2025    
2026    Note:  1. You have to make a new, clean build of the runtime system.
2027           2. There are new BOOTFILES, you have to use them!
2028              (Doing the bootstrap process yourself would be *very* painful!
2029               If you absolutely have to do it, build the system under
2030               a different architecture and then cross-compile.)
2031    
2032    Version bumped to 110.46.1 to account for runtime data format changes.
2033    
2034    ----------------------------------------------------------------------
2035    Name: Matthias Blume (blume (at) tti - c (dot) org)
2036    Date: 2004/06/18 14:30:00 CDT
2037    Tag: blume-20040618-unix
2038    Description:
2039    
2040    Changed the implementation of structure Unix so that the same stream
2041    is returned every time one of the {text,bin}{In,Out}streamOf functions
2042    is invoked on the same proc.  This is not what the spec currently
2043    says -- although IMO it arguably should.  (See discussion below.)
2044    
2045    ----------------------------------------------------------------------
2046    Name: Matthias Blume (blume (at) tti - c (dot) org)
2047    Date: 2004/06/17 18:15:00 CDT
2048    Tag: Release_110_46
2049    Description:
2050    
2051    New working version (110.46).  NEW BOOTFILES!
2052    
2053    ----------------------------------------------------------------------
2054    Name: Matthias Blume (blume (at) tti - c (dot) org)
2055    Date: 2004/06/17 17:20:00 CDT
2056    Tag: blume-20040617-timer-unix
2057    Description:
2058    
2059    Changed the interface of structures Timer and Unix to match the most
2060    recent Basis spec.
2061    
2062    In the case of Unix there still seems to be an open/weird issue:
2063    
2064       The {text,bin}{In,Out}streamOf functions are supposed to create
2065       fresh streams whenever they are called -- as opposed to have them
2066       return the same stream every time.  This design is supposed to
2067       prevent space leaks caused by proc values hanging on to streams.
2068    
2069       The reap function, on the other hand, is supposed to close the
2070       streams.  This cannot be done without having a handle on the
2071       stream in proc after all...
2072    
2073    I took the liberty to implement the following stopgap solution:
2074    
2075      The proc value hangs on to the most recently created stream(s).
2076      Reap closes those.  If either or both of the two streams hadn't
2077      been created at all yet, then reap will close the corresponding
2078      file descriptors directly.
2079    
2080    PS: I don't understand the original space leak argument anymore.  If
2081    a proc hangs on to the imperative stream, then I/O operations on those
2082    will advance the state of the cached stream and avoid the space leak.
2083    
2084    ----------------------------------------------------------------------
2085    Name: Matthias Blume (blume (at) tti - c (dot) org)
2086    Date: 2004/05/28 16:45:00 CDT
2087    Tag: blume-20040528-basis
2088    Description:
2089    
2090    Added signature PACK_REAL and exported functor PrimIO.
2091    
2092    ----------------------------------------------------------------------
2093    Name: Matthias Blume (blume (at) tti - c (dot) org)
2094    Date: 2004/05/25 16:00:00 CDT
2095    Tag: blume-20040525-group-owner
2096    Description:
2097    
2098    CM now ignores (but still accepts) the "owner" information in group
2099    descriptions.  The owner of a group is its next enclosing
2100    library. Each group must have a unique owner.  (There is a virtual
2101    "toplevel" library that owns groups which are not nested within a real
2102    library.)  Previously, each group had to explicitly declare its owner,
2103    and CM would check that such a declaration is correct.  The new scheme
2104    is to have CM check that for each group there is precisely one owning
2105    library.
2106    
2107    The advantage of the new scheme is that the programmer no longer needs
2108    to maintain the somewhat annoying owner information.  The downside is
2109    that CM cannot enforce the ownership rule across multiple runs of
2110    CM.make.  Fortunately, enclosing the same group in two different
2111    libraries A and B which are not part of the same program does not
2112    cause real problems.
2113    
2114    ----------------------------------------------------------------------
2115    Name: Matthias Blume (blume (at) tti - c (dot) org)
2116    Date: 2004/05/20 16:00:00 CDT
2117    Tag: blume-20040520-win32
2118    Description:
2119    
2120    Made the win32 version work again.  (Strangely, a misplaced comma had
2121    slipped into win32-process.c which prevented the runtime from being
2122    compiled correctly.)
2123    
2124    Also, included a minor addition to ml-build.bat analogous to what was
2125    done in blume-20040519-ml-build.
2126    
2127    ----------------------------------------------------------------------
2128    Name: Matthias Blume (blume (at) tti - c (dot) org)
2129    Date: 2004/05/19 22:10:00 CDT
2130    Tag: blume-20040519-ml-build
2131    Description:
2132    
2133    Arranged for ml-build to clean up after itself a little bit better.
2134    The script generates a temporary SML source file and compiles it using
2135    CM, so CM generates metadata (GUID, SKEL, objectfile) for it.  It now
2136    gets rid of those at the end, so they don't accumulate under .cm.
2137    
2138    This required a minor change to install.sh because the name of the
2139    metadata directory (default: .cm) is actually configurable at
2140    installation time.
2141    
2142    ----------------------------------------------------------------------
2143    Name: Matthias Blume (blume (at) tti - c (dot) org)
2144    Date: 2004/05/18 15:50:00 CDT
2145    Tag: blume-20040518-mkreader
2146    Description:
2147    
2148    Added Posix.IO.mk{Bin,Text}{Reader,Writer} by lifting their respective
2149    implementations from internal modules PosixBinPrimIO and PosixTextPrimIO.
2150    
2151    ----------------------------------------------------------------------
2152    Name: Matthias Blume (blume (at) tti - c (dot) org)
2153    Date: 2004/05/11 14:35:00 CDT
2154    Tag: blume-20040511-win32sock
2155    Description:
2156    
2157    Added previously missing support for many socket-related functions
2158    under win32.  Thanks to David Hansel <hansel@reactive-systems.com>
2159    for the voluminous patch!
2160    
2161    (I have not tested this patch under win32 yet.)
2162    
2163    Here is David's e-mail:
2164    
2165    Hi,
2166    
2167    Attached to this email you find a diff against sml/nj 110.45
2168    that will enable socket support under Windows.
2169    
2170    To apply the patch (using unix or cygwin)
2171    1) gunzip runtime.diff.gz
2172    2) "cd" into "src/runtime" in the source tree of a fresh
2173       110.45 installation.
2174    3) patch -p 1 < [your/path/to]runtime.diff
2175    
2176    The code compiles fine but has NOT yet been extensively tested.
2177    I only ran a few tests for basic socket client functionality
2178    (which worked fine).  Especially the functions that use ioctl
2179    are not tested at all and might not work (see below).
2180    
2181    I implemented this since we want to move to a newer version of sml/nj
2182    but need socket support in order to use it.  This is the first time I
2183    even had a look at the sml/nj source,  so please review my changes
2184    before making this part of the distribution!  Here are a few issues
2185    that I think might be better for someone to solve who is more
2186    familiar with the sml/nj source (and socket programming):
2187    
2188    - getnetbyaddr.c and getnetbyname.c will raise a "not implemented"
2189      exception since I could not figure out what the windows equivalent
2190      of these functions is
2191    
2192    - In sockets-osdep.h there are a some #include statements that are
2193      only used in a few files that include sockets-osdep.h
2194    
2195    - In smlnj-sock-lib.c, function init_fn() calls WSAStartup() but
2196      does not process its return value since I don't know how to
2197      report an error upwards.
2198    
2199    - It would probably be good to have a call to WSACleanup() when
2200      the library is unloaded (if there is such a possibility).
2201      Otherwise I think Windows will take care of this automatically
2202      when the process finishes.
2203    
2204    - I used ioctlsocket() as a replacement for ioctl() but I have
2205      no idea if that is actually the proper replacement on Windows.
2206    
2207    - All these issues are marked in the code by "FIXME" comments.
2208    
2209    We use sml/nj extensively in our products and are quite happy
2210    with it.  I hope this contribution will help you.
2211    
2212    Keep up the good work!
2213    
2214    David
2215    
2216    ----------------------------------------------------------------------
2217    Name: Matthias Blume (blume (at) tti - c (dot) org)
2218    Date: 2004/05/11 14:20:00 CDT
2219    Tag: blume-20040511-installml
2220    Description:
2221    
2222    Fixed two bugs in installml script.  (Thanks to Vesa A. Norrman for
2223    the patch.)
2224    
2225    ----------------------------------------------------------------------
2226    Name: Matthias Blume (blume (at) tti - c (dot) org)
2227    Date: 2004/05/11 14:05:00 CDT
2228    Tag: blume-20040511-nlffi-netbsd
2229    Description:
2230    
2231    Added support for nlffi under netbsd.  (Thanks to Vesa A. Norrman for
2232    the patch.)
2233    
2234    ----------------------------------------------------------------------
2235    Name: Matthias Blume (blume (at) tti - c (dot) org)
2236    Date: 2004/05/11 12:05:00 CDT
2237    Tag: blume-20040511-exports
2238    Description:
2239    
2240    As per request by Adam Chlipala <adam@hcoop.net>, extended various
2241    export lists in compiler-related .cm-files.
2242    
2243    ----------------------------------------------------------------------
2244    Name: Matthias Blume (blume (at) tti - c (dot) org)
2245    Date: 2004/05/11 11:35:00 CDT
2246    Tag: blume-20040511-allsource
2247    Description:
2248    
2249    The installer now honors the "src-smlnj" target again, although its meaning
2250    has changed from "all sources required for the compiler" to "all sources
2251    the installer knows about".  In other words, if you enable "src-smlnj"
2252    in the "targets" file, then the installer will pull in sources for
2253    everything.  (Notice that this refers to source code only.  Compiled
2254    code is still only installed for modules that were requested explicitly
2255    or which are required for other modules that were requested explicitly.)
2256    
2257    ----------------------------------------------------------------------
2258    Name: Matthias Blume (blume (at) tti - c (dot) org)
2259    Date: 2004/04/23 17:40:00 CDT
2260    Tag: blume-20040423-ieee-scan
2261    Description:
2262    
2263    Fixed IEEEReal.scan (and .fromString) so that if there is an overflow
2264    in the exponent calculation we get INF or ZERO (depending on the mantissa
2265    and the sign of the exponent).
2266    
2267    ----------------------------------------------------------------------
2268    Name: Matthias Blume (blume (at) tti - c (dot) org)
2269    Date: 2004/04/23 10:40:00 CDT
2270    Tag: blume-20040423-ml-build
2271    Description:
2272    
2273    The ml-build script now terminates with a non-0 status when something
2274    goes wrong.
2275    
2276    ----------------------------------------------------------------------
2277    Name: Matthias Blume (blume (at) tti - c (dot) org)
2278    Date: 2004/04/22 16:35:00 CDT
2279    Tag: blume-20040422-Option
2280    Description:
2281    
2282    Made exception Option to be the same as exception Option.Option
2283    (as it should be).
2284    
2285    ----------------------------------------------------------------------
2286    Name: Allen Leung (leunga (at) reservoir (dot) com)
2287    Date: 2004/03/19 14:40:00 EST
2288    Tag: leunga-20040319-cygwin-nlffi
2289    Description:
2290    
2291    Fixed the runtime so that ml-nlffi-lib runs on the cygwin version
2292    of SML/NJ.  The problem is that
2293    
2294       lib = dlopen(NULL, ...)
2295       f   = dlsym(lib, "malloc");
2296    
2297    does not work on Windows unless we explicitly export symbols
2298    such as 'malloc' during linking.  We fixed this by explicitly
2299    exporting the required symbols with the magic gcc incantation:
2300    
2301        -Wl,--export-all cygwin.def
2302    
2303    where cygwin.def is a file containing all the symbols that
2304    we wish to export.
2305    
2306    I suspect this is a Windows problem and we'll have to
2307    do the same (somehow with windows compilers) when
2308    we build the native win32 version with the system
2309    calls LoadLibrary/GetProcAddress.
2310    
2311    ----------------------------------------------------------------------
2312    Name: Matthias Blume (blume (at) tti - c (dot) org)
2313    Date: 2004/03/04 16:35:00 CST
2314    Tag: blume-20040304-intinf-fmt
2315    Description:
2316    
2317    Fixed problem with IntInf.fmt (sign would show up on the right instead
2318    of on the left for BIN, OCT, and HEX).
2319    
2320    ----------------------------------------------------------------------
2321    Name: Matthias Blume (blume (at) tti - c (dot) org)
2322    Date: 2004/03/04 11:25:00 CST
2323    Tag: blume-20040304-symlinks
2324    Description:
2325    
2326    Fixed problem with installer script (unix only) where bin/ml-yacc and
2327    friends pointed (via symlinks) to absolute locations instead of just
2328    .run-sml.  This was reported by Vesa A Norrman.
2329    
2330    ----------------------------------------------------------------------
2331    Name: Matthias Blume (blume (at) tti - c (dot) org)
2332    Date: 2004/02/13 14:50:00 CST
2333    Tag: Release_110_45
2334    Description:
2335    
2336    New working version (110.45). New bootfiles.
2337    
2338    ----------------------------------------------------------------------
2339    Name: Matthias Blume (blume (at) tti - c (dot) org)
2340    Date: 2004/01/26 15:15:15 CST
2341    Tag: blume-20040126-toplevel
2342    Description:
2343    
2344    Improved handling of exceptions at the interactive toplevel.
2345    
2346    ----------------------------------------------------------------------
2347    Name: Matthias Blume (blume (at) tti - c (dot) org)
2348    Date: 2004/01/26 11:25:00
2349    Tag: blume-20040126-app
2350    Description:
2351    
2352    Type of top-level "app" corrected.
2353    Added code for setting vp_limitPtrMask to Win32-specific runtime.
2354    
2355    ----------------------------------------------------------------------
2356    Name: Matthias Blume (blume (at) tti - c (dot) org)
2357    Date: 2003/11/18 17:10 CST
2358    Tag: blume-20031118-basis-fiddle
2359    Description:
2360    
2361    - changed Timer interface to what might become the spec
2362    - POSIX_FLAGS -> BIT_FLAGS according to spec
2363    - some other minor discrepancies wrt. spec eliminated
2364    
2365    ----------------------------------------------------------------------
2366    Name: Matthias Blume (blume (at) tti - c (dot) org)
2367    Date: 2003/11/06 12:00:00 CST
2368    Tag: Release_110_44
2369    Description:
2370    
2371    New working version (110.44). New bootfiles.
2372    
2373    ----------------------------------------------------------------------
2374    Name: Matthias Blume (blume (at) tti - c (dot) org)
2375    Date: 2003/11/04 11:50:00 CST
2376    Tag: blume-20031104-move-libraries
2377    Description:
2378    
2379    Eliminated the "dont_move_libraries" directive in config/targets.
2380    (The mechanism was broken and could not be fixed easily.  Moreover,
2381    there does not seem to be any reason not to move all libraries into
2382    lib during installation.  I originally implemented this directive as a
2383    backward-compatibility feature when I first introduced the new CM.
2384    Now that things have been stable for a long time and going back to the
2385    old CM is not an option, there is no reason to keep it around.)
2386    
2387    ----------------------------------------------------------------------
2388    Name: Matthias Blume (blume (at) tti - c (dot) org)
2389    Date: 2003/11/03 16:00:00 CST
2390    Tag: blume-20031103-installdir
2391    Description:
2392    
2393    Made installer honor INSTALLDIR variable again.  (Thanks to Chris
2394    Richards for pointing out the problem and providing the solution.)
2395    
2396    ----------------------------------------------------------------------
2397    Name: Matthias Blume (blume (at) tti - c (dot) org)
2398    Date: 2003/10/01 17:05:00 CDT
2399    Tag: blume-20031001-lal-mlrisc
2400    Description:
2401    
2402    MLRISC bug fix from Lal.
2403    
2404    ----------------------------------------------------------------------
2405    Name: Matthias Blume (blume (at) tti - c (dot) org)
2406    Date: 2003/09/30 16:10:00 CDT
2407    Tag: blume-20030930-primio-bat
2408    Description:
2409    
2410    1. Added openVector, nullRd, and nullWr to PRIM_IO.
2411    2. Improved .bat files (for Win32 port) to make things work under Win95.
2412       (thanks to Aaron S. Hawley for this one)
2413    
2414    ----------------------------------------------------------------------
2415    Name: Matthias Blume (blume (at) tti - c (dot) org)
2416    Date: 2003/09/26 16:05:00 CDT
2417    Tag: blume-20030926-wrappriv
2418    Description:
2419    
2420    Added missing wrapper for privilege "primitive" in $smlnj/viscomp/core.cm.
2421    
2422    ----------------------------------------------------------------------
2423    Name: Matthias Blume (blume (at) tti - c (dot) org)
2424    Date: 2003/09/26 15:00:00 CDT
2425    Tag: blume-20030926-110_43_3
2426    Description:
2427    
2428    - additional cleanup
2429    - version number bump, NEW BOOTFILES
2430    
2431    ----------------------------------------------------------------------
2432    Name: Matthias Blume (blume (at) tti - c (dot) org)
2433    Date: 2003/09/26 12:00:00 CDT
2434    Tag: blume-20030926-ppautoload
2435    Description:
2436    
2437    I modified the read-eval-print loop so that the autoloader gets
2438    invoked whenever the prettyprinter tries to look up a symbol that
2439    is not currently defined in the toplevel environment but which
2440    appears in CM's autoload registry.  As a result, we see far fewer of
2441    those ?.Foo.Bar.xxx names in the prettyprinter's output.
2442    
2443    In addition to this I tried to clean up some pieces of the Basis
2444    implementation (e.g., Socket, Word8Array) in order to prevent other
2445    instances of these ?.Foo.Bar.xxx names from being printed.
2446    
2447    The mechanism that picks names for types still needs some work, though.
2448    (Right now it seems that if there is a type A.t which is defined to
2449    be B.u, but B is unavailable at toplevel, then A.t gets printed as
2450    "?.B.u" although the perhaps more sensible solution would be to use
2451    "A.t" in this case.  In other words, the prettyprinter should follow
2452    a chain of DEFtycs not farther than there are corresponding toplevel
2453    names in the current environment.)
2454    
2455    ----------------------------------------------------------------------
2456    Name: Matthias Blume (blume (at) tti - c (dot) org)
2457    Date: 2003/09/24 16:31:00 CDT
2458    Tag: blume-20030924-installer
2459    Description:
2460    
2461    Another installer tweak:  All the ML code for the installer is now
2462    compiled during CMB.make and put into a little library called
2463    $smlnj/installer.cm.  The installation then simply invokes
2464    
2465       sml -m $smlnj/installer.cm
2466    
2467    and everything happens automagically.
2468    
2469    Win32:  ML code senses value of environment variable SMLNJ_HOME.
2470    Unix:   ML code senses values of environment variables ROOT, CONFIGDIR,
2471            and BINDIR.
2472    
2473    The new scheme guarantees that the ML code responsible for the installation
2474    is in sync with the APIs of the main system.  Also, the installer is
2475    somewhat faster because the installer script is precompiled.
2476    
2477    ----------------------------------------------------------------------
2478    Name: Matthias Blume (blume (at) tti - c (dot) org)
2479    Date: 2003/09/24 15:35:00 CDT
2480    Tag: blume-20030924-synsock
2481    Description:
2482    
2483    Added a signature SYNCHRONOUS_SOCKET to basis.cm.  This is like SOCKET
2484    but excludes all non-blocking operations.  Defined SOCKET (in Basis)
2485    and CML_SOCKET in terms of SYNCHRONOUS_SOCKET.  Removed superfluous
2486    implementations of non-blocking operations from CML's Socket
2487    structure.
2488    
2489    ----------------------------------------------------------------------
2490    Name: Matthias Blume (blume (at) tti - c (dot) org)
2491    Date: 2003/09/24 15:10:05 CDT
2492    Tag: blume-20030924-sockets
2493    Description:
2494    
2495    1. Fixed SOCKET API and implementation to match Basis spec.
2496       This required changing the internal representation of sockets to one
2497       that remembers (for each socket file descriptor) whether it is currently
2498       blocking or non-blocking.  This state is maintained lazily (i.e., a system
2499       call is made only if the state actually needs to change).
2500    
2501    2. OS-specific details of sockets were moved into separate files, thus
2502       making it possible to unify the bulk of the socket implementations
2503       between Unix and Win32.
2504    
2505    3. CML's socket API changed accordingly.
2506       (Note that we need to remove non-blocking functions from this API
2507       since they are redundant in the case of CML!)
2508    
2509    4. CML's socket implementation now makes use of non-blocking functions
2510       provided by Basis, thus removing all OS-dependent code from this part
2511       of CML.
2512    
2513    5. Changed Real64.precision from 52 to 53.  Minor cleanup in Real64 code.
2514    
2515    ----------------------------------------------------------------------
2516    Name: Matthias Blume (blume (at) tti - c (dot) org)
2517    Date: 2003/09/22 12:10:00 CDT
2518    Tag: blume-20030922-110_43_2
2519    Description:
2520    
2521    Made a new interim version and bootfiles for developer's bootstrapping
2522    convenience.
2523    
2524       110.43.2 -- NEW BOOTFILES
2525    
2526    ----------------------------------------------------------------------
2527    Name: Matthias Blume (blume (at) tti - c (dot) org)
2528    Date: 2003/09/19 15:55:00 CDT
2529    Tag: blume-20030919-cmdir
2530    Description:
2531    
2532    1. new-install.sh -> install.sh
2533    2. changed default CM "metadata" directory name to ".cm" (instead of "CM")
2534    3. tweaked installer so that another name instead of .cm can be chosen
2535       at install time (by setting the CM_DIR_ARC environment variable
2536       during installation); once installation is complete, the name is
2537       fixed
2538    
2539    ----------------------------------------------------------------------
2540    Name: Matthias Blume (blume (at) tti - c (dot) org)
2541    Date: 2003/09/18 16:00:00 CDT
2542    Tag: blume-20030918-110_43_1
2543    Description:
2544    
2545    Made a new interim version and bootfiles for developer's bootstrapping
2546    convenience.
2547    
2548       110.43.1 -- NEW BOOTFILES
2549    
2550    ----------------------------------------------------------------------
2551    Name: Matthias Blume (blume (at) tti - c (dot) org)
2552    Date: 2003/09/18 15:20:00 CDT
2553    Tag: blume-20030918-misc
2554    Description:
2555    
2556    1. Exported fractionsPerSecond etc. from TimeImp (but not from Time as
2557       this seems to be controversial at the moment) and used those in
2558       Posix.ProcEnv.times.
2559    
2560    2. Added Time.{from,to}Nanoseconds to Time.
2561    
2562    3. Improved Real.{from,to}LargeInt by avoiding needless calculations.
2563       For example, fromLargeInt never needs to look at more than 3 "big
2564       digits" to get its 53 bits of precision.
2565    
2566    ----------------------------------------------------------------------
2567    Name: Matthias Blume (blume (at) tti - c (dot) org)
2568    Date: 2003/09/17 16:30:00 CDT
2569    Tag: blume-20030917-real32-slices
2570    Description:
2571    
2572    Added an entry to the primitive environment
2573    (compiler/Semant/statenv/prim.sml) for int32->real64 conversion and
2574    added code to compiler/CodeGen/main/mlriscGen.sml to implement it.
2575    
2576    Removed some of the "magic" constants in real64.sml and replaced them
2577    with code that generates these values from their corresponding
2578    integer counterparts.
2579    
2580    Made all(?) the slice-related changes to the Basis and made everything
2581    compile again...
2582    
2583    ----------------------------------------------------------------------
2584    Name: Matthias Blume (blume (at) tti - c (dot) org)
2585    Date: 2003/09/15 17:45:00 CDT
2586    Tag: blume-20030915-rbase
2587    Description:
2588    
2589    Fixed bug in Real.fromLargeInt.
2590    
2591    ----------------------------------------------------------------------
2592    Name: Matthias Blume (blume (at) tti - c (dot) org)
2593    Date: 2003/09/13 18:11:00 CDT
2594    Tag: blume-20030913-libinstall
2595    Description:
2596    
2597    Minor bugfix in config/libinstall (set anchor with path to
2598    standalone tool after installing it, otherwise libraries that
2599    need ml-lex or ml-yacc won't compile the first time the installer
2600    runs).
2601    
2602    ----------------------------------------------------------------------
2603    Name: Matthias Blume (blume (at) tti - c (dot) org)
2604    Date: 2003/09/12 11:45:00 CDT
2605    Tag: blume-20030912-various
2606    Description:
2607    
2608     - fixed bug in Real.toLargeInt
2609     - fixed bug in Posix.ProcEnv.times
2610     - changed inputLine functions to return an option
2611     - minor installer improvements / bugfixes
2612     - changed default @SMLalloc parameter for x86/celeron to 64k
2613    
2614    ----------------------------------------------------------------------
2615    Name: Matthias Blume (blume (at) tti - c (dot) org)
2616    Date: 2003/09/09 22:00:00 CDT
2617    Tag: Release_110_43
2618    Description:
2619    
2620        New working release 110.43.  New bootfiles.
2621    
2622    ----------------------------------------------------------------------
2623    Name: Matthias Blume (blume (at) tti - c (dot) org)
2624    Date: 2003/09/09 19:20:00 CDT
2625    Tag: blume-20030909-installer
2626    Description:
2627    
2628    Rewrote large parts of config/install.sh in SML (config/libinstall.sml).
2629    Modified config/install.bat to take advantage of it.  Also modified
2630    config/install.sh (and called it config/new-install.sh) to take advantage
2631    of it on Unix systems.  (The SML code is (supposed to be) platform-
2632    independent.)
2633    
2634    The installer can now install everything under Win32
2635    as well as under *nix as long as it compiles.
2636    
2637    Other changes:
2638    
2639      - made CML compile again under Win32
2640      - made eXene compile under Win32 (by providing a fake structure UnixSock
2641        and by using OS.Process.getEnv instead of Posix.ProcEnv.getenv)
2642      - fixed a bug in nowhere: it assumed that type OS.Process.status is the
2643        same as type int;  under Win32 it isn't
2644      - fixed some slice-related problems in the win32-specific parts of CML
2645      - added a functor argument "sameVol" to os-path-fn.sml in the Basis
2646        (under Win32, the volume name is case-insensitive, and the
2647        OS.Path code compares volume names for equality)
2648    
2649    ----------------------------------------------------------------------
2650    Name: Matthias Blume (blume (at) tti - c (dot) org)
2651    Date: 2003/09/08 11:55:00 CDT
2652    Tag: blume-20030908-fullpath
2653    Description:
2654    
2655    Made Win32 version of OS.FileSys.fullPath return current directory
2656    when given an empty string.  This is what the spec says, and incidentally,
2657    CM depends on it.  (CM otherwise goes into an infinite loop in certain
2658    cases when presented with the name of a non-existing .cm file.)
2659    
2660    ----------------------------------------------------------------------
2661    Name: Matthias Blume (blume (at) tti - c (dot) org)
2662    Date: 2003/09/04 16:30:00 CDT
2663    Tag: blume-20030905-slices-etc
2664    Description:
2665    
2666      1. Changed interface to vectors and arrays in Basis to match
2667         (draft) Basis spec.
2668      2. Added signatures and implementations of slices according to
2669         Basis spec.
2670      3. Edited source code throughout the system to make it compile again
2671         under 1. and 2.  (In some cases code had to be added to have it
2672         match the new signatures.)
2673      4. MLRISC should be backward-compatible: the copies of the originals
2674         of files that needed to change under 3. were retained, the .cm files
2675         check the compiler version number and use old versions when
2676         appropriate.
2677      5. Changed type of OS.FileSys.readDir and Posix.FileSys.readdir to
2678         dirstream -> string option (in accordance with Basis spec).
2679      6. When generating code that counts lines, ml-lex used function
2680         CharVector.foldli, taking advantage of its old interface.
2681         This has been replaced with the corresponding code from
2682         CharVectorSlice.  (html-lex must be re-lexed!)
2683      7. BitArray in smlnj-lib/Util has been extended/modified to match the
2684         new MONO_ARRAY signature.  (Do we need BitArraySlice?)
2685      8. Removed temporary additions (fromInternal, toInternal) from the
2686         (now obsolete) IntInf in smlnj-lib/Util.
2687      9. Cleaned up structure Byte.
2688     10. Added localOffset, scan, and fromString to Date (according to spec).
2689         Cleaned/corrected implementation of Date.
2690         (Still need to check for correctness; implement better canonicalizeDate.)
2691     11. Added "scan" to signature IEEE_REAL.
2692     12. Some improvements to IntInf [in particular: efficiency-hack for
2693         mod and rem when second operand is 2 (for parity checks).]
2694     13. Changed representation of type Time.time, using a single IntInf.int
2695         value counting microseconds.  This considerably simplified the
2696         implementation of structure Time.  We now support negative time
2697         values; scan and fromString handle signs.
2698     14. Functor PrimIO now takes two additional arguments (VectorSlice and
2699         ArraySlice).
2700    
2701    ----------------------------------------------------------------------
2702    Name: Matthias Blume (blume (at) tti - c (dot) org)
2703    Date: 2003/08/28 17:00:00 CDT
2704    Tag: blume-20030828-intinf
2705    Description:
2706    
2707    This is a major update which comes with a version number bump
2708    (110.42.99 -- yes, we are really close to 110.43 :-), NEW BOOTFILES,
2709    and an implementation of IntInf in the Basis.
2710    
2711    There are a fairly large number of related changes and updates throughout
2712    the system:
2713    
2714    Basis:
2715            - Implemented IntInf.
2716            - Made LargeInt a projection of IntInf (by filtering through INTEGER).
2717            - Added some missing Real64 operations, most notably Real.toLargeInt.
2718            - Added FixedInt as a synonym for Int32.
2719    
2720    compiler:
2721            * Added support for a built-in intinf type.
2722              - literals
2723              - pattern matching
2724              - conversion shortcuts (Int32.fromLarge o Int.toLarge etc.)
2725              - overloading on literals and operations
2726    
2727            This required adding a primitive type intinf, some additional
2728            primops, and implementations for several non-trivial intinf
2729            operations in Core.  (The intinf type is completely abstract
2730            to the compiler; all operations get delegated back to the Core.)
2731    
2732            * Intinf equality is handled by polyequal.  However, the compiler
2733            does not print its usual warning in this case (since polyequal
2734            is the right thing to do there).
2735    
2736            * Improved the organization of structure InlineT.
2737    
2738            * A word about conversion primops:
2739            If conversions involving intinf do not cancel out during
2740            CPS contract, then the compiler must insert calls to Core functions.
2741            Since all core access must be resolved already during the FLINT
2742            translate phase, it would be too late a the time of CPS contract
2743            to add new Core calls.  For this reason, conversion primops
2744            for intinf carry two arguments:  1. the numeric argument that
2745            they are supposed to convert, and 2. the Core function that
2746            can help with this conversion if necessary.  If CPS contract
2747            eliminates a primop, then the associated Core function becomes
2748            dead and goes away.  Intinf conversion primops that do not get
2749            eliminated by CPS contract get rewritten into calls of their
2750            core functions by a separate, new phase.
2751    
2752    interactive system:
2753            - Control.Print.intinfDepth controls max length of intinf constants
2754            being printed. (Analogous to Control.Print.stringDepth.)
2755            - Cleanup in printutil and pputil: got rid of unused stuff and
2756            duplicates; replaced some of the code with code that makes better
2757            use of library functionality.
2758    
2759    CM:
2760            Bugfix: parse-errors in init group (system/smlnj/init/init.cmi)
2761            are no longer silent.
2762    
2763    CKIT:
2764            Fixed mismatched uses of Int32 and LargeInt.  I always decided
2765            in favor of LargeInt -- which is now the same as IntInf.
2766            CKIT-knowledgable people should check whether this is what's
2767            intended and otherwise change things back to using Int32 or
2768            FixedInt.
2769    
2770    Throughout the code:
2771            Started using IntInf.int literals and built-in operations
2772            (e.g., comparison with 0) where this seems appropriate.
2773    
2774    
2775    ----------------------------------------------------------------------
2776    Name: Dave MacQueen (dbm@cs.uchicago.edu)
2777    Date: 2003/08/13 11:36:00 CDT
2778    Tag: dbm-20030813-mcz-merge1
2779    Description:
2780    
2781    Merging changes from the mcz-branch development branch into trunk.
2782    These changes involve replacement of the emulated old prettyprinter
2783    interface with direct use of the SML/NJ Lib PP library, and fixing
2784    of a couple of bugs (895, 1186) relating to error messages.  A new
2785    prettyprinter for ast datatypes (Elaborator/print/ppast.{sig,sml})
2786    has been added.
2787    
2788    ----------------------------------------------------------------------
2789    Name: Matthias Blume (blume (at) tti - c (dot) org)
2790    Date: 2003/08/11 15:45:00 CDT
2791    Tag: blume-20030811-windows
2792    Description:
2793    
2794    Version number bumped to 110.42.9.  NEW BOOTFILES!!!
2795    
2796        http://smlnj.cs.uchicago.edu/dist/working/110.42.9/
2797    
2798    This patch restores SML/NJ's ability to run under win32.  There are a
2799    number of changes, including fixes for several bugs that had gone
2800    unnoticed until now:
2801    
2802      - uname "CYGWIN_NT*" is recognized as win32 (This is relevant only when
2803        trying to run the win32 version from within cygwin.)
2804    
2805      - There are a number of simple .bat scripts that substitute for their
2806        corresponding Unix shell-scripts.  (See below.)
2807    
2808      - The internals of ml-build have been modified slightly.  The main
2809        difference is that instead of calling ".link-sml" (or link-sml.bat)
2810        using OS.Process.system, the ML process delegates this task back
2811        to the script.  Otherwise problems arise in mixed environments such
2812        as Cygwin where scripts look and work like Unix scripts, but
2813        where OS.Process.system cannot run them.
2814    
2815      - In CM, the srcpath pickler used native pathname syntax -- which
2816        is incorrect in the case of cross-compilation.  The new pickle format
2817        is independent of platform-specific naming conventions.
2818    
2819      - Path configuration files (such as lib/pathconfig) can now choose
2820        between native and standard syntax.  Placing a line of the form
2821    
2822            standard!
2823    
2824        into the file causes all subsequent paths to be interpreted using
2825        CM standard pathname syntax (= Unix conventions); a line
2826    
2827            native!
2828    
2829        switches back to native style.  This was needed so that
2830        path config files can be written portably, see src/system/pathconfig.
2831    
2832      - Runtime system:
2833    
2834          - win32-filesys.c:  get_file_time and set_file_time now
2835            access modification time, not creation time.
2836    
2837          - I/O code made aware of new array representation.
2838    
2839          - Bug fixes in X86.prim.masm.
2840    
2841       - src/system/makeml made aware of win32. (For use under cygwin
2842            and other Unix-environments for windows.)
2843    
2844       - In Basis, fixed off-by-one error in win32-io.sml (function vecF)
2845         which caused BinIO.inputAll to fail consistently.
2846    
2847    .bat scripts:
2848    
2849       Windows .bat scripts assume that SMLNJ_HOME is defined.
2850    
2851       - sml.bat, ml-yacc.bat, ml-lex.bat:  Driver scripts for standalone
2852         applications (sml, ml-yacc, ml-lex).
2853       - ml-build.bat: analogous to ml-build.
2854       - config\install.bat:  Analogous to config/install.sh.  This requires
2855         that SMLNJ_HOME is set and that Microsoft Visual C is ready to use.
2856         (nmake etc. must be on the path, and vcvars32 must have been run.)
2857         Moreover, sources for ml-lex and ml-yacc need to exist under src,
2858         and the bootfile hierarchy must have been unpacked under
2859         sml.boot.x86-win32.
2860         The script is very primitive and does a poor job at error checking.
2861         It only installs the base system, ml-lex, and ml-yacc.  No other
2862         libraries are being installed (i.e., you get only those that
2863         are part of the compiler.)
2864       - link-sml.bat:  analogous to .link-sml, but not currently used
2865    
2866    Unrelated bug fixes:
2867    
2868      - ml-nlffigen now exports structures ST_* corresponding to incomplete
2869        types.
2870      - Added getDevice to PP/src/pp-debug-fn.sml.  (Would not compile
2871        otherwise.)
2872    
2873    ----------------------------------------------------------------------
2874    Name: Dave MacQueen (macqueen@cs.uchicago.edu)
2875    Date: 2003/06/17
2876    Tag: macqueen-20030617-bug895
2877    Description:
2878    
2879    Modified compiler/Elaborator/print/pptype.sml to fix bug 895.
2880    Tag will be used for new development branch (mcz-branch) for
2881    use by MacQueen, (Lucasz) Zairek, and (George) Cao at uchicago.
2882    
2883    ----------------------------------------------------------------------
2884    Name: Matthias Blume (blume (at) tti - c (dot) org)
2885    Date: 2003/05/27 16:55:00 CDT
2886    Tag: blume-20030527-polyeq
2887    Description:
2888    
2889    Tried to eliminated most cases of polymorphic equality.
2890    
2891    ----------------------------------------------------------------------
2892    Name: Matthias Blume (blume (at) tti - c (dot) org)
2893    Date: 2003/05/21 17:45:00 CDT
2894    Tag: blume-20030517-complete
2895    Description:
2896    
2897    Two changes:
2898    
2899      1. Added a flag for controlling whether non-exhaustive bindings will
2900         be treated as errors (default is false).
2901      2. Cleaned up the *entire* source tree so that CMB.make goes through
2902         without a single non-exhaustive match- or bind warning.
2903    
2904    ----------------------------------------------------------------------
2905    Name: Matthias Blume (blume (at) tti - c (dot) org)
2906    Date: 2003/05/17 10:20:00 CDT
2907    Tag: blume-20030517-absyn
2908    Description:
2909    
2910    1. Added cases for IF, WHILE, ANDALSO, and ORELSE to Absyn.
2911    
2912       This mainly affects the quality of error messages.  However, some
2913       of the code is now more straightforward than before. (Treatment of
2914       the above four constructs in translate.sml is much simpler than
2915       the "macro-expansion" that was going on before.  Plus, the mach-
2916       compiler no longer gets invoked just to be able to compile an
2917       if-expression.)
2918    
2919    2. The ErrorMsg.Error exception is now caught and absorbed by the
2920       interactive loop.
2921    
2922    ----------------------------------------------------------------------
2923    Name: Allen Leung
2924    Date: 2003/05/16 13:05:00 CDT
2925    Tag: leunga-20030516-cygwin-runtime
2926    Description:
2927    
2928        Ported the runtime system to cygwin, which uses the unix
2929    x86-unix bin files.  Missing/buggy features:
2930    
2931       o getnetbyname, getnetbyaddr: these functions seem to be missing in
2932         the Cygwin library.
2933       o Ctrl-C handling may be flaky.
2934       o Windows system calls and Windows I/O are not supported.
2935    
2936       A new set of binfiles is located at:
2937    
2938         http://www.dorsai.org/~leunga/boot.x86-unix.tgz
2939    
2940       This is only needed for bootstrapping the cygwin version of smlnj.
2941       Other x86 versions can use the existing binfiles.
2942    
2943    ----------------------------------------------------------------------
2944    Name: Matthias Blume
2945    Date: 2003/04/08 15:42:00 CDT
2946    Tag: blume-20030408-listpair
2947    Description:
2948    
2949    1. Added a target 'mlrisc' to installer.
2950    
2951    2. Added missing elements to structure ListPair.
2952    
2953    ----------------------------------------------------------------------
2954    Name: Allen Leung
2955    Date: 2003/01/07 10:40:00 EST
2956    Tag: leunga-20030107-int-rem
2957    Description:
2958    
2959    Fixed a bug in Int.rem(x,y) where y is a power of 2 on x86.
2960    The arguments to the SUBL instruction were swapped.
2961    
2962    ----------------------------------------------------------------------
2963    Name: Matthias Blume
2964    Date: 2002/12/12 16:25:00 EST
2965    Tag: blume-20021212-risc-ra
2966    Description:
2967    
2968    Fixed a serious bug in the rewrite code for FP spilling/reloading that
2969    sent the RA into an infinite loop when floating point registers get
2970    spilled.  (Because of this bug, e.g., nucleic stopped compiling between
2971    110.37 and 110.38.)
2972    There was another set of potential problems related to the handling of
2973    MLRISC annotations (but those did not yet cause real problems, apparently).
2974    
2975    ----------------------------------------------------------------------
2976    Name: Matthias Blume
2977    Date: 2002/12/06 22:40:00 EST
2978    Tag: blume-20021206-cm-fileid
2979    Description:
2980    
2981    Added a call of SrcPath.sync at the beginning of Parse.parse (in CM).
2982    This fixes the problem of CM getting confused by files that suddenly
2983    change their identity (e.g., by getting unlinked and recreated by some
2984    text editor such as vi).  There might be a better/cheaper/cleaner way
2985    of doing this, but for now this will have to do.
2986    
2987    ----------------------------------------------------------------------
2988    Name: Matthias Blume
2989    Date: 2002/10/28 09:50:00 EST
2990    Tag: blume-20021028-typecheck
2991    Description:
2992    
2993    Exported structure Typecheck from $smlnj/viscomp/core.cm.
2994    
2995    ----------------------------------------------------------------------
2996    Name: Matthias Blume
2997    Date: 2002/10/17 09:10:00 EDT
2998    Tag: Release_110_42
2999    Description:
3000    
3001    In good old tradition, there has been a slight hiccup so that we have
3002    to patch 110.42 after the fact.   The old release tag has been replaced
3003    (see below).
3004    
3005    The change solves a problem with two competing approaches the
3006    configuration problem regarding MacOS 10.1 vs. MacOS 10.2 which got in
3007    each other's way.
3008    
3009    This change only affects the runtime system code and the installer script.
3010    (No new bootfiles.)
3011    
3012    ----------------------------------------------------------------------
3013    Name: Matthias Blume
3014    Date: 2002/10/16 12:00:00 EDT
3015    Tag: Release_110_42_removed
3016    Description:
3017    
3018    New working release.  New bootfiles.
3019    
3020    ----------------------------------------------------------------------
3021    Name: Matthias Blume
3022    Date: 2002/10/10 13:10:00 EDT
3023    Tag: blume-20021010-ppc-divs
3024    Description:
3025    
3026    The mltree operator DIVS must be implemented with an overflow check on
3027    the PPC because the hardware indicates divide-by-zero using "overflow" as
3028    well.
3029    
3030    ----------------------------------------------------------------------
3031    Name: Matthias Blume
3032    Date: 2002/07/23 11:45:00
3033    Tag: blume-20020723-smlnj-home
3034    Description:
3035    
3036    Sml now senses the SMLNJ_HOME environment variable.  If this is set,
3037    then the bin dir is assumed to be in $SMLNJ_HOME/bin and (unless
3038    CM_PATHCONFIG is also set), the path configuration file is assumed
3039    to be in $SMLNJ_HOME/lib/pathconfig.  This way one can easily move
3040    the entire tree to some other place and everything will "just work".
3041    
3042    (Companion commands such as ml-build and ml-makedepend also sense this
3043    variable.)
3044    
3045    ----------------------------------------------------------------------
3046    Name: Matthias Blume
3047    Date: 2002/07/12 21:19:00 EDT
3048    Tag: blume-20020712-liveness
3049    Description:
3050    
3051    Exported two useful "step" functions from liveness module (MLRISC).
3052    
3053    ----------------------------------------------------------------------
3054    Name: Matthias Blume
3055    Date: 2002/07/05 16:00 EDT
3056    Tag: Release_110_41
3057    Description:
3058    
3059    New working release.  New bootfiles.
3060    
3061    ----------------------------------------------------------------------
3062    Name: Matthias Blume
3063    Date: 2002/07/05 10:25:00 EDT
3064    Tag: blume-20020705-btimp
3065    Description:
3066    
3067    Exported structure BTImp from $smlnj/viscomp/debugprof.cm so that
3068    other clients can set up backtracing support.
3069    
3070    ----------------------------------------------------------------------
3071    Name: Matthias Blume
3072    Date: 2002/06/25 17:23:00 EDT
3073    Tag: blume-20020625-fpmax
3074    Description:
3075    
3076    Fixed a bug in translation of INLMAX (and INLMIN) for the floating-point
3077    case.  (The sense of the isNaN test was reversed -- which made min and
3078    max always return their first argument.)
3079    
3080    ----------------------------------------------------------------------
3081    Name: Matthias Blume
3082    Date: 2002/06/11
3083    Tag: blume-20020611-unixpath
3084    Description:
3085    
3086    Back-ported OS.Path.{from,to}UnixPath from idlbasis-devel branch.
3087    
3088    ----------------------------------------------------------------------
3089    Name: Matthias Blume
3090    Date: 2002/06/10 16:35:00 EDT
3091    Tag: blume-20020610-ieeereal
3092    Description:
3093    
3094    I back-ported my implementation of IEEEReal.fromString from the
3095    idlbasis-devel branch so that we can test it.
3096    
3097    Another small change is that ppDec tries to give more information
3098    than just "<sig>" in the case of functors.  However, this code is
3099    broken in some mysterious way if the functor's body's signature
3100    has not been declared by ascription but gets inferred from the
3101    implementation.  This needs fixing...
3102    
3103    ----------------------------------------------------------------------
3104    Name: Matthias Blume
3105    Date: 2002/05/31
3106    Tag: blume-20020531-btrace-mode
3107    Description:
3108    
3109    Resurrected SMLofNJ.Internals.BTrace.mode.  (It accidentally fell by
3110    the wayside when I switched over to using Controls everywhere.)
3111    
3112    ----------------------------------------------------------------------
3113    Name: Lal George
3114    Date: 2002/05/23 12:21:40 EDT
3115    Tag: george-20020523-visual-labels
3116    Description:
3117    
3118    Labels are now displayed in the graphical output to make
3119    the fall-through and target blocks obvious.
3120    
3121    ----------------------------------------------------------------------
3122    Name: Matthias Blume
3123    Date: 2002/05/22 11:03:00 EDT
3124    Tag: blume-20020522-shrink
3125    Description:
3126    
3127    John tweaked yesterday's fix for 1131 to handle an out-of-memory
3128    situation that comes up when allocating huge arrays.
3129    
3130    ----------------------------------------------------------------------
3131    Name: Matthias Blume
3132    Date: 2002/05/21 16:00:00 EDT
3133    Tag: Release_110_40
3134    Description:
3135    
3136    New working release (110.40).  New bootfiles.
3137    
3138    [Also: John Reppy fixed GC bug 1131.]
3139    
3140    ----------------------------------------------------------------------
3141    Name: Matthias Blume
3142    Date: 2002/05/21 12:35:00 EDT
3143    Tag: blume-20020521-cmdoc
3144    Description:
3145    
3146    CM documentation update.
3147    
3148    ----------------------------------------------------------------------
3149    Name: Matthias Blume
3150    Date: 2002/05/21 10:55:00 EDT
3151    Tag: blume-20020521-misc
3152    Description:
3153    
3154    - John tweaked runtime to be silent on heap export (except when
3155      GC messages are on).
3156    - I added a few more things (cross-compiling versions of CMB) to
3157      config/preloads (as suggestions).
3158    
3159    ----------------------------------------------------------------------
3160    Name: Matthias Blume
3161    Date: 2002/05/20 22:25:00 EDT
3162    Tag: blume-20020520-controls
3163    Description:
3164    
3165    - Added ControlUtil structure to control-lib.cm.
3166    - Use it throughout.
3167    - Used Controls facility to define MLRISC controls (as opposed to
3168      registering MLRISC control ref cells with Controls after the fact)
3169    - Fixed messed-up controls priorities.
3170    
3171    * Removed again all the stuff from config/preloads that one wouldn't
3172      be able to preload at the time the initial heap image is built.
3173      (Many libraries, e.g., CML, do not exist yet at this time.  The
3174       only libraries that can be preloaded via config/preloads are those
3175       that come bundled with the bootfiles.)
3176    
3177    ----------------------------------------------------------------------
3178    Name: Matthias Blume
3179    Date: 2002/05/20 10:59:00 EDT
3180    Tag: blume-20020520-preloads
3181    Description:
3182    
3183    Added a lot of commented-out suggestions for things to be included
3184    in config/preloads.
3185    
3186    ----------------------------------------------------------------------
3187    Name: Allen Leung
3188    Date: 2002/05/18 14:20:00 EDT
3189    Tag: leunga-20020518-mdl
3190    Description:
3191    
3192    o Made the mdl tool stuff compile and run again.
3193    o I've disabled all the stuff that depends on RTL specifications; they
3194      are all badly broken anyway.
3195    
3196    ----------------------------------------------------------------------
3197    Name: Matthias Blume
3198    Date: 2002/05/17 16:49:00 EDT
3199    Tag: blume-20020517-controls
3200    Description:
3201    
3202    0. John Reppy made several modifications to the SML/NJ library.
3203       In particular, there is a shiny new controls-lib.cm.
3204    
3205    1. Pushed new controls interface through compiler so that everything
3206       compiles again.
3207    
3208    2. Added FormatComb and FORMAT_COMB to the CML version of the
3209       SML/NJ library (so that CML compiles again).
3210    
3211    3. Modified init scripts because XXX_DEFAULT environment variables
3212       are no longer with us.  (Boot-time initialization is now done
3213       using the same environment variables that are also used for
3214       startup-time initialization of controls.)
3215    
3216    ----------------------------------------------------------------------
3217    Name: Lal George
3218    Date: 2002/05/15 09:20:10 EDT
3219    Tag: george-20020515-pseudo-op-decls
3220    Description:
3221    
3222            All pseudo-ops emitted before the first segment declaration
3223    such as TEXT, DATA, and BSS directives are assumed to be global
3224    declarations and are emitted first in the assembly file. This is
3225    useful in a number of situations where one has pseudo-ops that are not
3226    specific to any segment, and also works around the constraint that one
3227    cannot have client pseudo-ops in the TEXT segment.
3228    
3229            Because no segment is associated with these declarations it is
3230    an error to allocate any space or objects before the first segment
3231    directive and an exception will be raised. However, we cannot make
3232    this check for client pseudo-ops.
3233    
3234            These top level declarations are a field in the CFG graph_info.
3235    In theory you can continue to add to this field after the CFG has been
3236    built -- provided you know what you are doing;-)
3237    
3238    ----------------------------------------------------------------------
3239    Name: Matthias Blume
3240    Date: 2002/05/13 16:40:00 EDT
3241    Tag: blume-20020513-pp-etc
3242    Description:
3243    
3244    A few minor bugfixes:
3245    
3246      - Stopgap measure for bug recently reported by Elsa Gunter (ppDec).
3247        (Bogus printouts for redefined bindings still occur.  Compiler
3248        bug should no longer occur now.  We need to redo the prettyprinter
3249        from scratch.)
3250    
3251      - CM pathname printer now also adds escape sequences for ( and )
3252    
3253      - commend and docu fixes for ml-nlffi
3254    
3255    ----------------------------------------------------------------------
3256    Name: Matthias Blume
3257    Date: 2002/05/10 16:40:00 EDT
3258    Tag: blume-20020510-erg-textio
3259    Description:
3260    
3261    Applied the following bugfix provided by Emden Gansner:
3262    
3263        Output is corrupted when outputSubstr is used rather than output.
3264    
3265        The problem occurs when a substring
3266    
3267            ss = (s, dataStart, dataLen)
3268    
3269        where dataStart > 0, fills a stream buffer with avail bytes left.
3270        avail bytes of s, starting at index dataStart, are copied into the
3271        buffer, the buffer is flushed, and then the remaining dataLen-avail
3272        bytes of ss are copied into the beginning of the buffer. Instead of
3273        starting this copy at index dataStart+avail in s, the current code
3274        starts the copy at index avail.
3275    
3276        Fix:
3277        In text-io-fn.sml, change line 695 from
3278             val needsFlush = copyVec(v, avail, dataLen-avail, buf, 0)
3279        to
3280             val needsFlush = copyVec(v, dataStart+avail, dataLen-avail, buf, 0)
3281    
3282    ----------------------------------------------------------------------
3283    Name: Matthias Blume
3284    Date: 2002/04/12 13:55:00 EDT
3285    Tag: blume-20020412-assyntax
3286    Description:
3287    
3288    1. Grabbed newer assyntax.h from the XFree86 project.
3289    2. Fiddled with how to compile X86.prim.asm without warnings.
3290    3. (Very) Minor cleanup in CM.
3291    
3292    ----------------------------------------------------------------------
3293    Name: Matthias Blume
3294    Date: 2002/04/01 (no joke!) 17:07:00 EST
3295    Tag: blume-20020401-x86div
3296    Description:
3297    
3298    Added full support for div/mod/rem/quot on the x86, using the machine
3299    instruction's two results (without clumsily recomputing the remainder)
3300    directly where appropriate.
3301    
3302    Some more extensive power-of-two support was added to the x86 instruction
3303    selector (avoiding expensive divs, mods, and muls where they can be
3304    replaced with cheaper shifts and masks).  However, this sort of thing
3305    ought to be done earlier, e.g., within the CPS optimizer so that
3306    all architectures benefit from it.
3307    
3308    The compiler compiles to a fixed point, but changes might be somewhat
3309    fragile nevertheless.  Please, report any strange things that you might
3310    see wrt. div/mod/quot/rem...
3311    
3312    ----------------------------------------------------------------------
3313    Name: Matthias Blume
3314    Date: 2002/03/29 17:22:00
3315    Tag: blume-20020329-div
3316    Description:
3317    
3318    Fixed my broken div/mod logic.  Unfortunately, this means that the
3319    inline code for div/mod now has one more comparison than before.
3320    Fast paths (quotient > 0 or remainder = 0) are not affected, though.
3321    The problem was with quotient = 0, because that alone does not tell
3322    us which way the rounding went.  One then has to look at whether
3323    remainder and divisor have the same sign...  :(
3324    
3325    Anyway, I replaced the bootfiles with fresh ones...
3326    
3327    ----------------------------------------------------------------------
3328    Name: Matthias Blume
3329    Date: 2002/03/29 14:10:00 EST
3330    Tag: blume-20020329-inlprims
3331    Description:
3332    
3333    NEW BOOTFILES!!!    Version number bumped to 110.39.3.
3334    
3335    Primops have changed. This means that the bin/boot-file formats have
3336    changed as well.
3337    
3338    To make sure that there is no confusion, I made a new version.
3339    
3340    
3341    CHANGES:
3342    
3343    * removed REMT from mltree (remainder should never overflow).
3344    
3345    * added primops to deal with divisions of all flavors to the frontend
3346    
3347    * handled these primops all the way through so they map to their respective
3348      MLRISC support
3349    
3350    * used these primops in the implementation of Int, Int32, Word, Word32
3351    
3352    * removed INLDIV, INLMOD, and INLREM as they are no longer necessary
3353    
3354    * parameterized INLMIN, INLMAX, and INLABS by a numkind
3355    
3356    * translate.sml now deals with all flavors of INL{MIN,MAX,ABS}, including
3357      floating point
3358    
3359    * used INL{MIN,MAX,ABS} in the implementation of Int, Int32, Word, Word32,
3360      and Real (but Real.abs maps to a separate floating-point-only primop)
3361    
3362    
3363    TODO items:
3364    
3365    * Hacked Alpha32 instruction selection, disabling the selection of REMx
3366      instructions because the machine instruction encoder cannot handle
3367      them.  (Hppa, PPC, and Sparc instruction selection did not handle
3368      REM in the first place, and REM is supported by the x86 machine coder.)
3369    
3370    * Handle DIV and MOD with DIV_TO_NEGINF directly in the x86 instruction
3371      selection phase.  (The two can be streamlined because the hardware
3372      delivers both quotient and remainder at the same time anyway.)
3373    
3374    * Think about what to do with "valOf(Int32.minInt) div ~1" and friends.
3375      (Currently the behavior is inconsistent both across architectures and
3376      wrt. the draft Basis spec.)
3377    
3378    * Word8 should eventually be handled natively, too.
3379    
3380    * There seems to be one serious bug in mltree-gen.sml.  It appears, though,
3381      as if there currently is no execution path that could trigger it in
3382      SML/NJ.  (The assumptions underlying functions arith and promotable do not
3383      hold for things like multiplication and division.)
3384    
3385    ----------------------------------------------------------------------
3386    Name: Matthias Blume
3387    Date: 2002/03/27 16:27:00 EST
3388    Tag: blume-20020327-mlrisc-divisions
3389    Description:
3390    
3391    Added support for all four division operations (ML's div, mod, quot,
3392    and rem) to MLRISC.  In the course of doing so, I also rationalized
3393    the naming (no more annoying switch-around of DIV and QUOT), by
3394    parameterizing the operation by div_rounding_mode (which can be either
3395    DIV_TO_ZERO or DIV_TO_NEGINF).
3396    
3397    The generic MLTreeGen functor takes care of compiling all four
3398    operations down to only round-to-zero div.
3399    
3400    Missing pieces:
3401    
3402      * Doing something smarter than relying on MLTreeGen on architectures
3403        like, e.g., the x86 where hardware division delivers both quotient and
3404        remainder at the same time.  With this, the implementation of the
3405        round-to-neginf operations could be further streamlined.
3406    
3407      * Remove inlining support for div/mod/rem from the frontend and replace it
3408        with primops that get carried through to the backend.  Do this for all
3409        int and word types.
3410    
3411    ----------------------------------------------------------------------
3412    Name: Matthias Blume
3413    Date: 2002/03/25 17:25:00 EST
3414    Tag: blume-20020325-divmod
3415    Description:
3416    
3417    I improved (hopefully without breaking them) the implementation of Int.div,
3418    Int.mod, and Int.rem.   For this, the code in translate.sml now takes
3419    advantage of the following observations:
3420    
3421      Let  q = x quot y      r = x rem y
3422           d = x div  y      m = x mod y
3423    
3424    where "quot" is the round-to-zero version of integer division that
3425    hardware usually provides.  Then we have:
3426    
3427         r = x - q * y        where neither the * nor the - will overflow
3428         d = if q >= 0 orelse x = q * y then q else q - 1
3429                              where neither the * nor the - will overflow
3430         m = if q >= 0 orelse r = 0 then r else r + y
3431                              where the + will not overflow
3432    
3433    This results in substantial simplification of the generated code.
3434    The following table shows the number of CFG nodes and edges generated
3435    for
3436            fun f (x, y) = x OPER y
3437            (* with OPER \in div, mod, quot, rem *)
3438    
3439    
3440        OPER | nodes(old) | edges(old) | nodes(new) | edges(new)
3441        --------------------------------------------------------
3442         div |         24 |         39 |         12 |         16
3443         mod |         41 |         71 |         12 |         16
3444        quot |          8 |         10 |          8 |         10
3445         rem |         10 |         14 |          8 |         10
3446    
3447    
3448    ----------------------------------------------------------------------
3449    Name: Matthias Blume
3450    Date: 2002/03/25 22:06:00 EST
3451    Tag: blume-20020325-cprotobug
3452    Description:
3453    
3454    Fixed a bug in cproto (c prototype decoder).
3455    
3456    ----------------------------------------------------------------------
3457    Name: Matthias Blume
3458    Date: 2002/03/25 16:00:00 EST
3459    Tag: blume-20020325-raw-primops
3460    Description:
3461    
3462    I did some cleanup to Allen's new primop code and
3463    replaced yesterday's bootfiles with new ones.
3464    (But they are stored in the same place.)
3465    
3466  ----------------------------------------------------------------------  ----------------------------------------------------------------------
3467  Name: Matthias Blume  Name: Matthias Blume
3468  Date: 2002/03/24 22:40:00 EST  Date: 2002/03/24 22:40:00 EST

Legend:
Removed from v.1175  
changed lines
  Added in v.2410

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0