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