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 1494, Thu May 20 03:09:17 2004 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    Name: Your Name (web page or e-mail)
12    Date: yyyy/mm/dd hh:mm:ss
13    Tag: cvs-tag-for-this-change
14    Description:
15    
16    ----------------------------------------------------------------------
17    Name: Matthias Blume (http://www.tti-c.org/blume/)
18    Date: 2007/05/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  Date: yyyy/mm/dd
722  Tag: <post-commit CVS tag>  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:  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)  Name: Matthias Blume (blume (at) tti - c (dot) org)
2342  Date: 2004/05/19 22:10:00 CDT  Date: 2004/05/19 22:10:00 CDT

Legend:
Removed from v.1494  
changed lines
  Added in v.2610

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