Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Diff of /sml/trunk/NOTES/HISTORY
ViewVC logotype

Diff of /sml/trunk/NOTES/HISTORY

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

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

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