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