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

Legend:
Removed from v.1389  
changed lines
  Added in v.2794

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