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