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