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 1638, Wed Sep 29 19:07:58 2004 UTC sml/trunk/NOTES/HISTORY revision 3402, Fri Jun 12 16:03:17 2009 UTC
# Line 1  Line 1 
1  This is the HISTORY file for the Yale SML/NJ CVS repository.  B
2    This is the HISTORY file for the SML/NJ repository.
3    
4  An entry should be made for _every_ commit to the repository.  An entry should be made for _every_ commit to the repository.
5  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 8 
8    
9  The form of an entry should be:  The form of an entry should be:
10    
11  Name:  
12    Name: Your Name (web page or e-mail)
13    Date: yyyy/mm/dd hh:mm:ss
14    Tag: cvs-tag-for-this-change
15    Description:
16    
17    ----------------------------------------------------------------------
18    Name: Matthias Blume (http://www.tti-c.org/blume/)
19    Date: 2009/06/12 11:02:00 CDT
20    Description:
21    
22    1. Corrected problem in config/actions that led to the so-called
23       "unpickling bug" which appeared in version 110.68.
24    
25    2. Provided fix for the 64-bit pattern match bug.
26    
27    ----------------------------------------------------------------------
28    Name John Reppy (http://cs.uchicago.edu/~jhr)
29    Date 2009/03/21
30    Description:
31    
32    Fixed bug in Int32.fmt when the argument was the minimum int and the
33    radix was something other than DEC.
34    
35    ----------------------------------------------------------------------
36    Name Aaron Turon (turon@ccs.neu.edu)
37    Date 2009/02/21
38    Description:
39    
40    Fixed bugs in how ml-antlr parsed ML types in %tokens specifications.
41    
42    ----------------------------------------------------------------------
43    Name: Jon Riehl (http://www.jonriehl.com/)
44    Date: 2009/01/13
45    Description:
46    
47    Picking up some additional fixes for 110.69, including a fix for
48    spaces in CM file paths.
49    
50    ----------------------------------------------------------------------
51    Name: Jon Riehl (http://www.jonriehl.com/)
52    Date: 2008/12/22
53    Description:
54    
55    Version bumped to 110.69.  New bootfiles.
56    
57    ----------------------------------------------------------------------
58    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
59    Date: 2008/12/06
60    Description:
61    
62    Re-enabled some CPS optimizations (first_contract and eta).  The most
63    important effect of this change is to make uses of SMLofNJ.Cont.capture
64    be properly tail recursive.
65    
66    ----------------------------------------------------------------------
67    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
68    Date: 2008/12/03
69    Description:
70    
71    New concurrency-related instructions for x86 and amd64 code
72    generators.
73      - PAUSE: Notify the CPU that the program is spin waiting.
74      - MFENCE: memory fence for reads and writes.
75      - SFENCE: memory fence for writes.
76      - LFENCE: memory fence for reads.
77    
78    ----------------------------------------------------------------------
79    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
80    Date: 2008/12/02
81    Description:
82    
83    Added makefile and other support for building runtime on OpenBSD.
84    
85    ----------------------------------------------------------------------
86    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
87    Date: 2008/08/13
88    Description:
89    
90    Version bumped to 110.68.  New bootfiles.
91    
92    ----------------------------------------------------------------------
93    Name Aaron Turon (turon@ccs.neu.edu)
94    Date 2008/08/11
95    Description:
96    
97    Minor fix to ml-ulex backend for regexps that match any character
98    and perform a single action.  Previously the emitted code would
99    not allow the regexps to match any character at all.
100    
101    ----------------------------------------------------------------------
102    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
103    Date: 2008/08/05
104    Description:
105    
106    Added build support for OpenBSD (thanks to Brian O'Hanlon).
107    
108    ----------------------------------------------------------------------
109    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
110    Date: 2008/07/12
111    Description:
112    
113    Fixed Int64.fromString to use base-10.
114    
115    ----------------------------------------------------------------------
116    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
117    Date: 2008/04/12
118    Description:
119    
120    Various updates to the ml-lpt tree.  The documentation has been updated;
121    bugs in the parsing of negation and character classes in ml-ulex have
122    been fixed; and changes have been made to make the ml-lpt tools more
123    compatible with MLton (and other SML implementations).  Thanks to
124    Matthew Fluet and Aaron Turon for their patches.
125    
126    ----------------------------------------------------------------------
127    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
128    Date: 2008/20/04
129    Description:
130    
131    Implemented timer-based profiling on Windows, with behavior as close
132    to the *nix ITIMER-based profiling as possible.
133    ----------------------------------------------------------------------
134    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
135    Date: 2008/07/04
136    Description:
137    
138    Finished off the Windows subset of the basis library. Added process
139    support and various configuration and system identification utils.
140    ----------------------------------------------------------------------
141    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
142    Date: 2008/03/18
143    Description:
144    
145    Major changes to the RegExp library: see smlnj-lib/CHANGES for details.
146    ----------------------------------------------------------------------
147    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
148    Date: 2008/02/14
149    Description:
150    
151    Added the Windows Status structure
152    ----------------------------------------------------------------------
153    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
154    Date: 2008/02/14
155    Description:
156    
157    Added the Windows DDE structure
158    ----------------------------------------------------------------------
159    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
160    Date: 2008/02/05
161    Description:
162    
163    Added the Windows Config structure
164    ----------------------------------------------------------------------
165    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
166    Date: 2008/01/31
167    Description:
168    
169    Added outline of the Windows basis library and the basic registry
170    functionality.
171    ----------------------------------------------------------------------
172    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
173    Date: 2008/01/23
174    Description:
175    
176    Fixed the amd64 code generator to compile with the current MLRISC.
177    ----------------------------------------------------------------------
178    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
179    Date: 2007/11/26
180    Description:
181    
182    nlffi was updated to work on Windows. It needed to pass in the correct
183    value for the name of the kernel32 DLL to obtain 'base' bindings.
184    Additionally updated the README for the most basic nlffi sample with
185    what you need to do on MacOSX and on Windows to make it work.
186    ----------------------------------------------------------------------
187    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
188    Date: 2007/11/21
189    Description:
190    
191    Overwrite the SMLNJ_HOME environment variable on installation
192    Properly change the package code so that subsequent version
193    installations prompt for uninstall (instead of 'repair/remove')
194    ----------------------------------------------------------------------
195    Name: Lars Bergstrom (larsberg@cs.uchicago.edu)
196    Date: 2007/11/14
197    Description:
198    
199    Cleaned up WININSTALL file for new MSI-based setup.
200    ----------------------------------------------------------------------
201    Name: Matthias Blume (http://www.tti-c.org/blume/)
202    Date: 2007/11/13 14:05:00 CST
203    Description:
204    
205    Version bumped to 110.67.  New bootfiles.
206    
207    ----------------------------------------------------------------------
208    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
209    Date: 2007/11/12
210    Description:
211    
212    Ensure that the size of the allocation space is at least 128K.
213    ----------------------------------------------------------------------
214    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
215    Date: 2007/11/05
216    Description:
217    
218    Fixed type error in ml-lpt library that occurs when compiling
219    against a basis that was compiled with the USE_64_BIT_POSITIONS
220    symbol set.
221    (Thanks to Johannes Joemann)
222    ----------------------------------------------------------------------
223    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
224    Date: 2007/11/03
225    Description:
226    
227    Fixed the amd64 code generator to compile with the current MLRISC.
228    ----------------------------------------------------------------------
229    Name: Lars Bergstrom (web page or e-mail)
230    Date: 2007/11/02
231    Description:
232    
233    Made sml.bat more resilient to either not having run the installer
234    and having no SMLNJ_HOME set or having just shuffled the directory
235    around.
236    ----------------------------------------------------------------------
237    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
238    Date: 2007/11/01
239    Description:
240    
241    A collection of bug fixes for machine.sml in the Reactive library.
242    (Thanks to Timothy Bourke)
243    ----------------------------------------------------------------------
244    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
245    Date: 2007/10/28
246    Description:
247    
248    Patches for Mac OS X 10.5 (Leopard).
249    ----------------------------------------------------------------------
250    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
251    Date: 2007/10/28
252    Description:
253    
254    Fixed some bugs in the AMD64 floating-point spilling code.
255    ----------------------------------------------------------------------
256    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
257    Date: 2007/10/25
258    Description:
259    
260    Added support for the atomic XCHG instruction.
261    ----------------------------------------------------------------------
262    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
263    Date: 2007/10/22
264    Description:
265    
266    Added AMD64 support for floating-point negation.
267    ----------------------------------------------------------------------
268    Name: Lars Bergstrom (web page or e-mail)
269    Date: 2007/10/22
270    Description:
271    
272    Fixed ^C handling in Windows
273    Added a Windows installer
274    Made it possible to build for Windows on a mapped drive from Parallels
275    ----------------------------------------------------------------------
276    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
277    Date: 2007/10/22
278    Description:
279    
280    Added AMD64 support for the atomic fetch and add instruction.
281    ----------------------------------------------------------------------
282    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
283    Date: 2007/10/18
284    Description:
285    
286    The GAS output now favors p2align over align, since the
287    former is guaranteed to be consistent over multiple architectures
288    and the latter is not.
289    ----------------------------------------------------------------------
290    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
291    Date: 2007/10/18
292    Description:
293    
294    Fixed a bug in register spilling.
295    ----------------------------------------------------------------------
296    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
297    Date: 2007/10/2
298    Description:
299    
300    Added demo support for AMD64 for quick testing and fixed support for
301    64-bit label constants.
302    ----------------------------------------------------------------------
303    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
304    Date: 2007/09/20
305    Description:
306    
307    Added support for the MLRISC COND instruction and the x86-64 CMOVCC
308    instruction.
309    ----------------------------------------------------------------------
310    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
311    Date: 2007/09/17
312    Description:
313    
314    Fixed an instruction-selection bug when loading 64-bit labels.
315    
316    ----------------------------------------------------------------------
317    Name: George Kuan (http://www.cs.uchicago.edu/~gkuan)
318    Date: 2007/09/14
319    Description:
320    
321    Fixed Elaborator and Translate performance bugs
322    
323    ----------------------------------------------------------------------
324    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
325    Date: 2007/09/12
326    Description:
327    
328    Fixed xorl memory argument bug.
329    
330    ----------------------------------------------------------------------
331    Name: George Kuan (http://www.cs.uchicago.edu/~gkuan)
332    Date: 2007/07/27
333    Description:
334    
335    Added f64sgn (for Real64.signBit) as a primop defined
336    in MLRiscGen. signBit(~0.0) not handled correctly.
337    
338    ----------------------------------------------------------------------
339    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
340    Date: 2007/06/21
341    Description:
342    
343    Fixed bug in {TextIO,BinIO}.StreamIO.endOfStream that would incorrectly
344    signal end of stream.
345    
346    ----------------------------------------------------------------------
347    Name: Matthias Blume (http://www.tti-c.org/blume/)
348    Date: 2007/06/12 11:22:00 CDT
349    Description:
350    
351    Eliminated config/allsources.  The information is now drawn directly
352    from config/actions.
353    
354    ----------------------------------------------------------------------
355    Name: Matthias Blume (http://www.tti-c.org/blume/)
356    Date: 2007/06/07 23:30:00 CDT
357    Tag: release-110.65
358    Description:
359    
360    Version 110.65. NEW BOOTFILES!
361    
362    ----------------------------------------------------------------------
363    Name: Matthias Blume (http://www.tti-c.org/blume/)
364    Date: 2007/06/06 21:45:00 CDT
365    Description:
366    
367    - Aaron: fixed a number of bugs in ml-ulex.
368    - Matthias:
369       - added CM control "cm.force-tools"; this is false by default;
370         when set to true, then tools like ml-yacc, ml-lex, ml-ulex, etc.
371         will be forced to run regardless of whether or not their targets
372         are up-to-date
373       - changed installer code so that config/install.sh will re-build
374         heap images for all tools even if those heap images already existed
375    
376    ----------------------------------------------------------------------
377    Name: Matthias Blume (http://www.tti-c.org/blume/)
378    Date: 2007/06/04 21:21:00 CDT
379    Description:
380    
381    After Aaron Turon's bug fix for ml-ulex (handling the ^ character
382    in legacy mode), re-ran the lexer generator on all lex input files
383    and committed the results.
384    
385    This should fix the problem with ckit and nlffi that was reported
386    by Vesa A. Norrman.
387    
388    ----------------------------------------------------------------------
389    Name: Matthias Blume (http://www.tti-c.org/blume/)
390    Date: 2007/05/31 11:40:00 CDT
391    Tag: release-110.64
392    Description:
393    
394    Version 110.64. NEW BOOTFILES!
395    
396    ----------------------------------------------------------------------
397    Name: Dave MacQueen (dbm@cs.uchicago.edu)
398    Date: 2007/05/31 14:55:00 CDT
399    Revision: 2650
400    Description:
401    
402    3rd merge of base from primop-branch-3 into the trunk.
403    Additional bug fixes included:
404    
405     * Timer.cpu_timer, etc. type printing corrected (by making
406         Timer have opaque sig constraint in basis/Implementation/timer.sml)
407     * Infinite loop in FLINT (tests/typing/tests/25.sml) (fix by
408         Stefan Monnier)
409    
410    ----------------------------------------------------------------------
411    Name: Matthias Blume (http://www.tti-c.org/blume/)
412    Date: 2007/05/31 11:40:00 CDT
413    Description:
414    
415    Fixed some bugs in new Div code in FLINT/trans/translate.sml.
416    
417    Also, changed the handling of "no core access":  When translate.sml
418    needs access to a core exception at a time when the core has not
419    been set up yet (this only happens when compiling system/smlnj/init/*),
420    then don't bother generating the corresponding tests.
421    
422    The old scheme was to generate a bogus value to be used in place of
423    the exception.  Unfortunately, that confuses the plambda type checker.
424    Moreover, it does not do any good, because at runtime we don't expect
425    such an exception to be ever raised.  (The code in system/smlnj/init/*
426    has to be written very carefully with this in mind!)
427    
428    ----------------------------------------------------------------------
429    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
430    Date: 2007/05/29
431    Description:
432    
433    Added FSQRT instructions for the AMD64 code generator.
434    
435    ----------------------------------------------------------------------
436    Name: Matthias Blume (http://www.tti-c.org/blume/)
437    Date: 2007/05/29 19:00:00 CDT
438    Description:
439    
440    FLINT/trans/translate.sml now wraps all DIV/MOD/QUOT/REM operations
441    with an explicit test for zero division.  This should fixes several
442    regressions and makes it possible for downstream optimization phases
443    to treat these operations as "pure" when they are applied to unsigned
444    operands.
445    
446    ----------------------------------------------------------------------
447    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
448    Date: 2007/05/29
449    Description:
450    
451    Added the new MLRISC code generator for the AMD64.  This version,
452    in contrast to the previous one, uses SSE registers and instructions
453    for all floating-point computations.
454    
455    ----------------------------------------------------------------------
456    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
457    Date: 2007/05/29
458    Description:
459    
460    A number of fixes related to the formatting of dates.  These include fixes
461    for bugs #1415 and #1416.  We also now correctly handle format characters that
462    lie outside the specified set.
463    
464    ----------------------------------------------------------------------
465    Name: Matthias Blume (http://www.tti-c.org/blume/)
466    Date: 2007/05/23 22:30:00 CDT
467    Description:
468    
469    CMB (and CM) now automatically defines the CM "preprocessor" symbol
470    NO_PLUGINS during "makeml -rebuild" or when CM operates in "slave" mode.
471    
472      (In addition, CMB_REBUILD_MODE is defined for makeml -rebuild,
473       CM_SLAVE_MODE is defined in attached slaves while running CM.make
474       or CM.rebuild, and CMB_SLAVE_MODE is defined in attached slaves
475       while running CMB.make.  The point is that the single symbol
476       NO_PLUGINS is definde in all three cases.)
477    
478    I changed the three locations within the sources that get compiled
479    during CMB.make where ml-yacc or ml-lex input is processed: When
480    NO_PLUGINS defined, then the use of the mlyacc and mllex tools
481    is bypassed.
482    
483    When bootstrapping new versions of the compiler, there can be
484    situations where the plugin tools for ml-yacc and ml-lex (or ml-ulex)
485    are not available or otherwise not operational.  In this case one can
486    manually define the NO_PLUGINS symbol prior to running CMB.make().  To
487    do so, the following command should be issued at the interactive
488    prompt:
489    
490       #set (CMB.symval "NO_PLUGINS") (SOME 1);
491    
492    A CMB.make with NO_PLUGINS defined relies on the existence of the
493    files that normally would be generated by ml-yacc and ml-lex.
494    (Copies of these files are in the repository.)
495    
496    ----------------------------------------------------------------------
497    Name: David MacQueen (dbm@cs.uchicago.edu)
498    Date: 2007/5/23 17:23:00 CDT
499    Revision: 2603
500    Description:
501    
502    2nd merge of base from primop-branch-3 into the trunk.
503    Additional bug fixes included:
504     Date.scan and Date.fromString fixed;
505     Overloading resolution fixed and some type printing problems corrected.
506    
507    ----------------------------------------------------------------------
508    Name: Matthias Blume (http://www.tti-c.org/blume/)
509    Date: 2007/05/23 09:50:00 CDT
510    Description:
511    
512    Changed the installation mechanism for CM tool plugins.  These are
513    just libaries and now get installed like ordinary libaries.
514    
515    There are now a number of new installation targets that give some
516    fine-grain control over what classes and suffixes are known, and what
517    they will map to.
518    See config/targets for details.
519    
520    The code that caused plugin installation as part of running a
521    tool's "build" script has been removed.  (The build script is for
522    building, not for installing.)
523    
524    ----------------------------------------------------------------------
525    Name: Matthias Blume (http://www.tti-c.org/blume/)
526    Date: 2007/05/22 11:50:00 CDT
527    Description:
528    
529    Added a boolean control named cm.tolerate-tool-failures (env. variable
530    name: CM_TOLERATE_TOOL_FAILURES).  The default is false and makes
531    CM fail if a shell tool reports a non-success exit status.  If
532    the control is set to true, then CM will press on after tool failures
533    in the event that the target files exist (even though they are
534    considered outdated).  Turning the control to true can be useful for
535    bootstrapping.
536    
537    ----------------------------------------------------------------------
538    Name: Aaron Turon (http://www.cs.uchicago.edu/~adrassi)
539    Date: 2007/05/19
540    Description:
541    
542    Merge of ml-lpt revisions for 110.64.
543    
544    The name of several ml-lpt-lib modules has changed:
545      Repair        => AntlrRepair
546      StreamPos     => AntlrStreamPos
547      ErrHandlerFn  => AntlrErrHandler
548      EBNF          => AntlrEBNF
549    
550    The ml-antlr specification format has changed: declarations such as
551    %tokens and nonterminal definitions can occur *multiple* times in the
552    same specification.  The semantics are such that each new declaration
553    extends the previous ones.  This does not apply to %start or %name,
554    of course.
555    
556    Importing a grammar via %import now includes *all* declarations in from
557    the imported grammar, except for %name, %entry, and %start.  Tokens
558    and nonterminals can be dropped using the new %dropping clause of the
559    %import directive; the separate %drop and %extend have been removed.
560    
561    We now allow optional type annotations on nonterminals, using the %nonterms
562    directive as in ml-yacc.
563    
564    The refcell construct is now implemented using SML's regular reference
565    cells, so the :== and !! notation has been deprecated.
566    
567    The ml-antlr tool now does much more checking of specifications, and
568    its error messages have been greatly improved.  Error repair for
569    generated parsers has been completely rewritten, and is now both
570    much faster and more accurate.
571    
572    ml-ulex is now more lenient with escape codes (non-SML-standard
573    escape codes are now interpreted literally, so e.g. \| denotes "|").
574    Also, character classes may now include a "-" character at the beginning
575    as is standard in most other regexp tools.
576    
577    All of these changes are documented in the user guide, which has
578    been updated and improved with this merge.
579    
580    ----------------------------------------------------------------------
581    Name: David MacQueen (http://www.cs.uchicago.edu/~jhr)
582    Date: 2007/05/03
583    Revision: r2492
584    Description:
585    
586    Merge of the primop3 branch (base) into the trunk to create 110.63.1.
587    Significant changes in FLINT and the front end, mostly having to do
588    with a reorganized system for handling primops.  Various bug fixes
589    and improvements in printing signatures.
590    
591    ----------------------------------------------------------------------
592    Name: Aaron Turon (http://www.cs.uchicago.edu/~adrassi)
593    Date: 2007/05/02
594    Description:
595    
596    Preliminary commit of large ml-lpt revisions (more to come for 110.64).
597    The ml-antlr specification format has changed: declarations such as
598    %tokens and nonterminal definitions can occur *multiple* times in the
599    same specification.  The semantics are such that each new declaration
600    extends the previous ones.  Grammar extension constructs have also
601    changed.  We now allow type annotations on nonterminals.  Finally,
602    the refcell construct is now implemented using SML's regular reference
603    cells, so the :== and !! notation has been deprecated.  All of these
604    changes will appear in the 110.64 user guide for ml-lpt.
605    
606    The ml-antlr tool now does much more checking of specifications, and
607    its error messages have been greatly improved.  There has also been
608    some work on the error repair process for generated parsers, but this
609    will be further improved in 110.64.
610    
611    ----------------------------------------------------------------------
612    Name: David MacQueen (http://www.cs.uchicago.edu/~jhr)
613    Date: 2007/05/03
614    Revision: r2492
615    Description:
616    
617    Merge of the primop3 branch (base) into the trunk to create 110.63.1.
618    Significant changes in FLINT and the front end, mostly having to do
619    with a reorganized system for handling primops.  Various bug fixes
620    and improvements in printing signatures.
621    
622    ----------------------------------------------------------------------
623    Name: Aaron Turon (http://www.cs.uchicago.edu/~adrassi)
624    Date: 2007/05/02
625    Description:
626    
627    Preliminary commit of large ml-lpt revisions (more to come for 110.64).
628    The ml-antlr specification format has changed: declarations such as
629    %tokens and nonterminal definitions can occur *multiple* times in the
630    same specification.  The semantics are such that each new declaration
631    extends the previous ones.  Grammar extension constructs have also
632    changed.  We now allow type annotations on nonterminals.  Finally,
633    the refcell construct is now implemented using SML's regular reference
634    cells, so the :== and !! notation has been deprecated.  All of these
635    changes will appear in the 110.64 user guide for ml-lpt.
636    
637    The ml-antlr tool now does much more checking of specifications, and
638    its error messages have been greatly improved.  There has also been
639    some work on the error repair process for generated parsers, but this
640    will be further improved in 110.64.
641    
642    ----------------------------------------------------------------------
643    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
644    Date: 2007/04/24
645    Description:
646    
647    More Basis fixes: The Char.fromString (etc.) functions did not handle
648    the "\uxxxx" escape sequence.  There is still an outstanding bug with
649    String.fromString the tail is a format escape.  I added a comment to
650    this effect in Basis/Implementation/string.sml.
651    Thanks to Andreas Rossberg.
652    
653    ----------------------------------------------------------------------
654    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
655    Date: 2007/04/24
656    Description:
657    
658    Added next function to Fifo and Queue modules in the SML/NJ Library.
659    
660    ----------------------------------------------------------------------
661    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
662    Date: 2007/04/23
663    Description:
664    
665    More Basis fixes: Time.fmt dropped the leading "~" for negative time
666    values that had no whole part.
667    
668    ----------------------------------------------------------------------
669    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
670    Date: 2007/04/23
671    Description:
672    
673    More Basis fixes: the OS.Path module did not include the InvalidArc
674    exception and did not do sufficient argument checking.
675    Thanks to Stephen Weeks and Adam Chilpala.
676    
677    ----------------------------------------------------------------------
678    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
679    Date: 2007/04/16
680    Description:
681    
682    Fixed an unbound functor bug in the AMD64 CM file.
683    
684    ----------------------------------------------------------------------
685    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
686    Date: 2007/04/12
687    Description:
688    
689    Substantially changed the signature and implementation of AMD64
690    SVID.  It now looks similar to the ia32 SVID, yet uses staged
691    allocation.
692    
693    ----------------------------------------------------------------------
694    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
695    Date: 2007/04/07
696    Description:
697    
698    More Basis fixes: the WORD signature was missing {to,from}Large.
699    Thanks to Andreas Rossberg.
700    
701    ----------------------------------------------------------------------
702    Name: Matthias Blume (http://www.tti-c.org/blume/)
703    Date: 2007/03/22 16:07:00 CDT
704    Tag: release-110.63
705    Description:
706    
707    Bumped version number to 110.63.
708    
709       !!!NEW BOOTFILES!!!
710    
711    ----------------------------------------------------------------------
712    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
713    Date: 2007/03/19
714    Description:
715    
716    Fixed bogus operand sizes in AMD64 instruction spilling.
717    
718    ----------------------------------------------------------------------
719    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
720    Date: 2007/03/19
721    Description:
722    
723    Fixed a number of inconsistencies between the Posix.TTY structure
724    and the Basis specification.  Thanks to Adam Chilpala.
725    
726    ----------------------------------------------------------------------
727    Name: Mike Rainey (http://www.cs.uchicago.edu/~mrainey)
728    Date: 2007/02/26
729    Description:
730    
731    Added preliminary support in MLRISC for Staged Allocation, a technique
732    for specifying calling conventions (see
733    http://www.eecs.harvard.edu/~nr/pubs/staged-abstract.html).
734    Initially, we plan to use this code to generate C calls for the AMD64.
735    
736    The staged allocation code base resides in MLRISC/staged-allocation,
737    and specialized calling conventions go in MLRISC/ARCH/staged-allocation.
738    
739    ----------------------------------------------------------------------
740    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
741    Date: 2007/02/20
742    Description:
743    
744      Bug fix: when SaveCState was called with two values to save, a subsequent
745      GC could cause the RestoreCState to fail because the saved state had been
746      promoted to tagless pair.
747    
748    ----------------------------------------------------------------------
749    Name: Allen Leung (leunga (at) reservoir (dot) com)
750    Date: 2007/02/20 19:08:00 EST
751    Description:
752    
753        Bug triggered by:
754    
755        val a1 = Word8Array.array(a1, 0w0);
756        val _  = Word8Array.update(a1, 0, 0w128);
757    
758        x86MCEmitter crashed when the immediate operand to MOVB was outside
759    of the range -128 ... 127.  I've changed the code so that the range
760    check is disabled.   Only the low order 8 bits of the immediate operand
761    are now significant.
762    
763    
764    ----------------------------------------------------------------------
765    Name: Matthias Blume (http://www.tti-c.org/blume/)
766    Date: 2007/02/15 09:20:00 CST
767    Description:
768    
769    Eliminated any mention of lexgen.  (Lexgen was an early precursor
770    to ml-ulex.)
771    
772    You should update your admin directory, so the shell scripts for
773    maintaining your local copy of the repository reflect this change.
774    
775    ----------------------------------------------------------------------
776    Name: Matthias Blume (http://www.tti-c.org/blume/)
777    Date: 2007/02/14 15:45:00 CST
778    Description:
779    
780    Fixed bug in CM's parallel make facility that failed to have
781    the master re-link modules after letting slaves compile them.
782    
783    ----------------------------------------------------------------------
784    Name: Matthias Blume (http://www.tti-c.org/blume/)
785    Date: 2007/02/12 15:10:00 CST
786    Description:
787    
788    Fixed typo in ml-build script that prevented library anchors
789    from being registered.
790    
791    ----------------------------------------------------------------------
792    Name: Matthias Blume (http://www.tti-c.org/blume/)
793    Date: 2007/02/02 15:20:00 CST
794    Tag: release-110.62
795    Description:
796    
797    New working release (110.62).  NEW BOOTFILES!
798    
799    ----------------------------------------------------------------------
800    Name: Aaron Turon (http://www.cs.uchicago.edu/~adrassi)
801    Date: 2007/01/31
802    Description:
803    
804    Brought ml-lpt manual up-to-date with the code.  Many minor
805    improvements to the tools, and a few minor bugfixes.  Prepared
806    ml-lpt-lib for integration with new UTF8 structure.  Changed
807    the interface for creating streams in ml-ulex (we now support
808    stream creation from several kinds of sources).  Overall, the
809    tools are now quite stable, and their interfaces are unlikely to
810    change in a way that would break compatibility.  More work,
811    however, is needed in the documentation.
812    
813    ----------------------------------------------------------------------
814    Name: Matthias Blume (http://www.tti-c.org/blume/)
815    Date: 2007/02/01 10:05:00 CST
816    Description:
817    
818    Implemented library installer.  Moved CM plugin code for
819    ml-burg, ml-lex, and ml-yacc out of CM source tree and into
820    their respective trees.  Implemented CM plugin for ml-ulex
821    and ml-antlr.  Used library installer for ml-burg, ml-ulex,
822    and ml-antlr.
823    
824    For ml-yacc and ml-lex we continue to have permanently "plugged-in"
825    CM tools.  (It turns out to be too messy to do otherwise because
826    there is too much code that during installation relies on the presence
827    of these tools -- resulting in a tricky ordering problem.)
828    
829    ----------------------------------------------------------------------
830    Name: Matthias Blume (http://www.tti-c.org/blume/)
831    Date: 2007/01/30 11:05:00 CST
832    Description:
833    
834    Added SMLofNJ.shiftArgs which is like a shell's "shift" command.
835    Modified CM's startup code to use shiftArgs as it processes
836    command line arguments.  This way, the init code in each .sml-file
837    or library that is mentioned at the top level will see only
838    those arguments that have not yet been processed at this point.
839    In other words, the init code can "seize control" and process the
840    remaining command line.
841    
842    ----------------------------------------------------------------------
843    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
844    Date: 2007/01/30
845    Description:
846    
847    Added fromList function to the ORD_SET interface and lookup to the
848    ORD_MAP interface.  See the SML/NJ Library CHANGES file for details.
849    
850    ----------------------------------------------------------------------
851    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
852    Date: 2007/01/28
853    Description:
854    
855    Added the UTF8 structure and signature from the Moby compiler to
856    the SML/NJ library (and the CML library).  These modules will replace
857    the version in the ml-lpt-lib.
858    
859    ----------------------------------------------------------------------
860    Name: Matthias Blume (http://www.tti-c.org/blume/)
861    Date: 2007/01/26 15:10:00 CST
862    Description:
863    
864    Added entries to handle ml-lpt-lib.cm in installer.
865    
866    ----------------------------------------------------------------------
867    Name: Matthias Blume (http://www.tti-c.org/blume/)
868    Date: 2006/12/15 11:10:00 CST
869    Tag: release-110.61
870    Description:
871    
872    New working release (110.61).  NEW BOOTFILES!
873    
874    This supersedes the pre-brown-paper-bug release (see below).
875    
876    ----------------------------------------------------------------------
877    Name: Matthias Blume (http://www.tti-c.org/blume/)
878    Date: 2006/12/15 11:00:00 CST
879    Description:
880    
881    Fixed brown-paper-bag bug with CM's pathname handling, which made
882    installation fail under Win32.
883    
884    ----------------------------------------------------------------------
885    Name: Matthias Blume (http://www.tti-c.org/blume/)
886    Date: 2006/12/14 12:00:00 CST
887    Description:
888    
889    Obsolete!
890    
891    [New working release (110.61).  NEW BOOTFILES!]
892    
893    ----------------------------------------------------------------------
894    Name: John Reppy (http://cs.uchicago.edu/~jhr)
895    Date: 2006/14/06 09:50:00 CST
896    Description:
897    
898    Fixed the code in runtime/c-libs/posix-tty/{tcgetattr,tcsetattr}.c to
899    get the c_cc termios data copied correctly.  Also moved the allocation
900    of the string to avoid problems if it caused a GC.
901    
902    Thanks to Timothy Bourke for the bug report and fix.
903    
904    ----------------------------------------------------------------------
905    Name: Matthias Blume (http://www.tti-c.org/blume)
906    Date: 2006/12/08 09:50:00 CST
907    Description:
908    
909    Added code to CM's "standard shell tool" implementation which
910    causes it to tolerate (with a warning) the situation where the shell
911    command fails (e.g., due to the shell command's non-existence)
912    as long as all target files exist.
913    
914    This makes it possible to, e.g., build ml-yacc from sources even if
915    svn checkout messed up the time stamps on files in such a way that
916    yacc.grm is younger than yacc.grm.sml or yacc.grm.sig.  (Ml-yacc would
917    be needed to re-process yacc.grm, but obviously it might not yet be
918    available at that time.)
919    
920    ----------------------------------------------------------------------
921    Name: John Reppy (http://cs.uchicago.edu/~jhr)
922    Date: 2006/12/06 12:06:00 CST
923    Description:
924    
925    Fixed the types of recvVecFrom, recvVecFrom', recvVecFromNB, and
926    recvVecFromNB' in the SOCKET signature.  This error is actually
927    in the SML Basis specification too.
928    
929    ----------------------------------------------------------------------
930    Name: Matthias Blume (http://www.tti-c.org/blume/)
931    Date: 2006/12/05 22:40:00 CST
932    Description:
933    
934    CM now reports undefined anchors as errors and aborts execution
935    rather than silently pressing on using bogus values.
936    
937    ----------------------------------------------------------------------
938    Name: Matthias Blume (http://www.tti-c.org/blume/)
939    Date: 2006/11/29 10:00:00 CST
940    Description:
941    
942    Use Say.vsay for printing the "[autoloading]" message, so
943    #set CM.Control.verbose false (or -Ccm.verbose=false) can be used
944    to suppress them.
945    
946    ----------------------------------------------------------------------
947    Name: Matthias Blume (http://www.tti-c.org/blume/)
948    Date: 2006/11/10 11:00:00 CST
949    Description:
950    
951    Fixed bug in CM where "with:" specifications that affect compilation
952    (as opposed to parsing) were ignored.
953    
954    ----------------------------------------------------------------------
955    Name: Matthias Blume (http://www.tti-c.org/blume/)
956    Date: 2006/11/09 14:30:00 CST
957    Tag: release-110.60
958    Description:
959    
960    New working release (110.60).  NEW BOOTFILES!
961    
962    This is the first subversion-hosted release.  There are also changes
963    to the directory layout.  Here is a table:
964    
965    (All pathnames are relative to the SML/NJ "root" directory.)
966    
967      config -> config
968    
969      src/cm -> base/cm
970      src/compiler -> base/compiler
971      src/runtime -> base/runtime
972      src/system -> base/system
973    
974      src/cm/pgraph -> pgraph
975    
976      src/READMES -> base/READMES
977      src/$notefile -> base/NOTES/$notefile
978         for <notefile> in BOOT CVSNOTES CYGWININSTALL HISTORY INSTALL
979                           MACOSXINSTALL WININSTALL
980    
981      src/smlnj-lib -> smlnj-lib
982      src/MLRISC -> MLRISC
983      ckit -> ckit
984      src/cml -> cml
985      src/eXene -> eXene
986      src/heap2asm -> heap2asm
987      src/lexgen -> lexgen
988      src/ml-burg -> ml-burg
989      src/ml-lex -> ml-lex
990      src/ml-yacc -> ml-yacc
991      src/ml-nlffi-lib -> nlffi/lib
992      src/ml-nlffigen -> nlffi/gen
993      src/smlnj-c -> smlnj-c
994      src/tools/TraceDebugProf -> trace-debug-profile
995    
996    In addition, there is also a new
997    
998      ml-lpt
999    
1000    directory containing two new program generator tools: ml-ulex and
1001    ml-antlr (a lexer generator that handles unicode and an ANTRL-inspired
1002    LL(k) parser generator). These tools are currently "beta-quality"
1003    
1004    The latest versios of the sources can now be obtained anonymously
1005    via subversion.  For this, it is useful to first check out
1006    
1007       svn://smlnj-gforge.cs.uchicago.edu/smlnj/admin
1008    
1009    and put the resulting directory on your shell's PATH.  This provides
1010    access to three shell scripts: checkout-all.sh, stat-all.sh,
1011    and refresh-all.sh.
1012    
1013    To create a freshly checked-out copy of the sources, do
1014    
1015       checkout-all.sh [dir]
1016    
1017    where dir is the optional SML/NJ root directory (default is ".").
1018    
1019    This creates the above directory layout.  Each subdirectory of
1020    the root is under individual subversion control.  The stat-all.sh
1021    and refresh-al.sh scripts apply "svn stat" or "svn update" to
1022    each of these subtrees.
1023    
1024    ----------------------------------------------------------------------
1025    Name: Matthias Blume (http://www.tti-c.org/blume/)
1026    Date: 2006/11/02 12:20:00 CST
1027    Description:
1028    
1029    Reorganized directory layout.
1030    
1031    This is a temporary solution, more reorganization is to come.
1032    
1033    The basic idea is to have a number of toplevel trees, each corresponding
1034    to a well-defined part of the overall system.  Each part can be
1035    maintained individually, even in separate source repositories,
1036    although currently we still serve everything out of the main
1037    smlnj-gforge tree.
1038    
1039    Installer and and scripts have been updated to reflect the new
1040    layout.  The installer (base/src/system/smlnj/installer) is now
1041    "scriptable" to avoid burning too much knowledge about the
1042    layout into SML source code.  The main script used by the installer
1043    is in config/actions.
1044    
1045    The main change is that many of the subdirectories of what used to
1046    be known as "src" have moved to the toplevel.  The "src" directory
1047    itself has moved down into a subtree called "base".  (We may eventually
1048    get rid of the extra level of indirection represented by "src".)
1049    
1050    The layout is now as follows:
1051    
1052      toplevel tree name | default repository
1053                         | (using gf=svn://smlnj-gforge.cs.uchicago.edu/smlnj)
1054      -------------------+----------------------------------------------------
1055      config             | $gf/config/trunk
1056                         |
1057      base               | $gf/sml/trunk
1058                         |
1059      smlnj-lib          | $gf/smlnj-lib/trunk
1060      MLRISC             | $gf/MLRISC/trunk
1061                         |
1062      ml-yacc            | $gf/ml-yacc/trunk
1063      ml-lex             | $gf/ml-lex/trunk
1064      ml-burg            | $gf/ml-burg/trunk
1065      lexgen             | $gf/lexgen/trunk
1066      heap2asm           | $gf/heap2asm/trunk
1067                         |
1068      cml                | $gf/cml/trunk
1069      eXene              | $gf/eXene/trunk
1070      ckit               | $gf/ckit/trunk
1071      nlffi              | $gf/nlffi/trunk
1072                         |
1073      smlnj-c            | $gf/smlnj-c/trunk
1074    
1075    In $gf/admin there are a few useful shell scripts for checking out
1076    and maintaining the entire collection of trees:
1077    
1078       admin/checkout-all.sh [dir]
1079          -- optionally creates dir and checks out all trees from their
1080             default repositories; if dir is missing, checkout into .
1081       admin/refresh-all.sh [dir]
1082          -- looks at all trees (from the above list) in dir (default: .)
1083             and runs "svn update" if the tree exists and is under
1084             subversion control;
1085             non-existing or non-subversion trees are skipped
1086       admin/stat-all.sh [dir]
1087          -- like refresh-all.sh, but runs "svn stat" instead
1088    
1089    ----------------------------------------------------------------------
1090    Name: Matthias Blume (http://www.tti-c.org/blume/)
1091    Date: 2006/10/05 11:30:00 CDT
1092    Tag: blume-20061005-merge-amd64
1093    Description:
1094    
1095    Merged code for AMD64 backend (Mike Rainey's work).
1096    Everything is hooked up but untested.
1097    
1098    ----------------------------------------------------------------------
1099    Name: Matthias Blume (http://www.tti-c.org/blume/)
1100    Date: 2006/05/17 14:00:00 CST
1101    Tag: Release_110_59
1102    Description:
1103    
1104    New working version (110.59).  NEW BOOTFILES!
1105    
1106    I am freezing 110.59.  Changes other than the version-number increase:
1107    
1108      eXene:
1109    
1110         * committed changes to eXene from Alley Stoughton:
1111             "fixed bugs in X authorization and resource handling, as well
1112              as in the pile and viewport widgets"
1113    
1114      Runtime:
1115        * fixed linking problem with NetBSD 3.x.
1116    
1117      Lexgen:
1118        * lexgen tool handles non-ascii characters in 7-bit mode the same
1119          way that ml-lex does
1120    
1121        * lexgen propagates exceptions the same way that ml-lex does
1122    
1123      CML:
1124        * Fixed a bug in the SyncVar polling functions (iGetPoll,
1125          mTakePoll, and mGetPoll) that could lead to livelock.
1126    
1127    ----------------------------------------------------------------------
1128    Name: Matthias Blume (http://www.tti-c.org/blume/)
1129    Date: 2006/05/12 15:20:00 CST
1130    Tag: blume-20060515-makedepend
1131    Description:
1132    
1133    Implemented ml-makedepend (i.e., CM.sources) in a better (more robust)
1134    way.  This should hopefully fix the ml-makedepend problem permanently.
1135    
1136    ----------------------------------------------------------------------
1137    Name: Matthias Blume (http://www.tti-c.org/blume/)
1138    Date: 2006/05/12 15:15:00 CST
1139    Tag: blume-20060512-makedepend
1140    Description:
1141    
1142    Fixed long-standing bug with ml-makedepend where it would output a
1143    spurious dependency to a non-existing file.  (This is a simple fix.
1144    It might need further looking into.)
1145    
1146    ----------------------------------------------------------------------
1147    Name: Matthias Blume (http://www.tti-c.org/blume/)
1148    Date: 2006/04/20 10:30:00 CDT
1149    Tag: blume-20060420-heap2exec
1150    Description:
1151    
1152    Committed patches received from Johannes 5 Joemann (joemann@befree.free.de)
1153    that enable heap2exec under Linux and FreeBSD.
1154    
1155    ----------------------------------------------------------------------
1156    Name: John Reppy
1157    Date: 2006/04/14
1158    Tag:
1159    Description:
1160    
1161    MLRISC changes:
1162      1) renamed GAS_PSEUDO_OPS to AS_PSEUDO_OPS and put it in its own file.
1163      2) added support for NOTB and XORB operators in pseudo-op expressions
1164      3) added DarwinPseudoOp functor that supports Darwin's assembler syntax.
1165      4) added support for 64-bit integer literals
1166    
1167    ----------------------------------------------------------------------
1168    Name: Matthias Blume (http://www.tti-c.org/blume/)
1169  Date: yyyy/mm/dd  Date: yyyy/mm/dd
1170  Tag: <post-commit CVS tag>  Tag: Release_110_58
1171    Description:
1172    
1173    New working version (110.58).  NEW BOOTFILES!
1174    
1175    ----------------------------------------------------------------------
1176    Name: Matthias Blume (http://www.tti-c.org/blume/)
1177    Date: 2006/03/01 22:15:00 CST
1178    Tag: blume-20060301-lexgen
1179    Description:
1180    
1181    Incorporated several bugfixes to lexgen.  Compiler now compiles to
1182    fixpoint when using lexgen instead of ml-lex.
1183    
1184    ----------------------------------------------------------------------
1185    Name: Matthias Blume (http://www.tti-c.org/blume/)
1186    Date: 2006/02/28 22:45:00 CST
1187    Tag: blume-20060228-lexgen
1188    Description:
1189    
1190    Removed ml-flex and added lexgen instead, using Aaron Turon's newly
1191    provided tarball.  The generated lexers still have problems.
1192    
1193    ----------------------------------------------------------------------
1194    Name: Matthias Blume (http://www.tti-c.org/blume/)
1195    Date: 2006/02/26 23:30:00 CST
1196    Tag: blume-20060226-ml-flex
1197    Description:
1198    
1199    Removed ml-flex' dependency on regexp-lib.cm.  Turned installation
1200    of ml-flex on by default.
1201    
1202    ----------------------------------------------------------------------
1203    Name: Matthias Blume (http://www.tti-c.org/blume/)
1204    Date: 2006/02/24 16:30:00 CST
1205    Tag: blume-20060224-ml-flex
1206    Description:
1207    
1208    Added ml-flex sources.  Partially integrated, but should not be
1209    turned on yet!  (Read: leave it commented-out in config/targets!)
1210    
1211    ----------------------------------------------------------------------
1212    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1213    Date: 2006/02/23
1214    Tag: jhr-20060223-x86-64
1215    Description:
1216    Changes to support building on x86-64 systems (using the 32-bit mode).
1217    Also cleaned up signal handling on Linux.  Support for pre-2.2 Linux
1218    kernels dropped.
1219    
1220    ----------------------------------------------------------------------
1221    Name: Allen Leung (leunga (at) reservoir (dot) com)
1222    Date: 2006/02/22 15:07:00 EST
1223    Tag: leunga-20060222-mdl-gen
1224    Description:
1225    
1226      CM has changed.  Updated the script for rebuilding the MLRISC generated
1227    files.
1228    
1229    ----------------------------------------------------------------------
1230    Name: Matthias Blume (http://www.tti-c.org/blume/)
1231    Date: 2006/02/14 17:30:00 CST
1232    Tag: blume-20060214-intel-mac
1233    Description:
1234    
1235    Hooked code for Darwin-specific Intel ABI into main compiler.
1236    (This is a temporary solution which relies on the fact that the
1237    compiler itself does not use NLFFI.  Eventually we need to divorce
1238    intel mac from generic x86 unix code and make separate sets of binaries.)
1239    
1240    ----------------------------------------------------------------------
1241    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1242    Date: 2006/02/13
1243    Tag: jhr-20060213-intel-mac
1244    Description:
1245    Changed MLRISC x86 CCalls for partial support of MacOS X ABI.
1246    
1247    ----------------------------------------------------------------------
1248    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1249    Date: 2006/02/06
1250    Tag: jhr-20060206-intel-mac
1251    Description:
1252    Changes to support MacOS X on Intel hardware.  The C-calls support in
1253    MLRISC must also be updated to support the MacOS X ABI.
1254    
1255    ----------------------------------------------------------------------
1256    Name: Matthias Blume (http://www.tti-c.org/blume/)
1257    Date: 2005/12/16 00:15:00 CST
1258    Tag: blume-20051216-cm
1259    Description:
1260    
1261    Improved error reporting and handling in CM.
1262    
1263    ----------------------------------------------------------------------
1264    Name: Matthias Blume (http://www.tti-c.org/blume/)
1265    Date: 2005/11/21 14:00:00 CST
1266    Tag: blume-20051121-html-lib
1267    Description:
1268    
1269    Enabling $/html-lib.cm in config/preloads did not work.  This is fixed
1270    now.  (Since the anchor mapping for html-lib.cm is not yet in effect
1271    at the time when config/preloads is processed, the library has to
1272    be referred to by another name.  In 110.57 this would be
1273    $SMLNJ-LIB/HTML/html-lib.cm.  I arranged for $smlnj/smlnj-lib/html-lib.cm
1274    to be valid as well.)
1275    
1276    Thanks to Todd Wilson (Fresno) for alerting me to this issue.
1277    
1278    ----------------------------------------------------------------------
1279    Name: Matthias Blume (http://www.tti-c.org/blume/)
1280    Date: 2005/11/19 13:45:00 CST
1281    Tag: Release_110_57
1282    Description:
1283    
1284    Moved release tag for 110.57.
1285    
1286    ----------------------------------------------------------------------
1287    Name: Matthias Blume (http://www.tti-c.org/blume/)
1288    Date: 2005/11/19 23:35:00 CST
1289    Tag: blume-20051119-fish
1290    Description:
1291    
1292    Fixed a problem in config/install.sh where it tries to "fish" the
1293    name of the CM metadata directory from the wrong place (because
1294    the physical location of basis.cm has changed).  Also, corrected the
1295    path anchor for $/html-lib.cm.  (Thanks to M. Fluet for pointing out
1296    these problems.)
1297    
1298    ----------------------------------------------------------------------
1299    Name: Matthias Blume (http://www.tti-c.org/blume/)
1300    Date: 2005/11/16 14:30:00 CST
1301    Tag: blume-orig-110_57
1302    Description:
1303    
1304    New working version (110.57).  NEW BOOTFILES!
1305    
1306    UPDATE: The release tag has been moved to include a fix for a brown-paper-
1307            bag glitch (see above).
1308    
1309    ----------------------------------------------------------------------
1310    Name: Matthias Blume (http://www.tti-c.org/blume/)
1311    Date: 2005/11/16 10:25:00 CST
1312    Tag: blume-22051116-btrace
1313    Description:
1314    
1315    Fixed problem with bogus exception message when using back-trace
1316    facility.
1317    
1318    ----------------------------------------------------------------------
1319    Name: Matthias Blume (http://www.tti-c.org/blume/)
1320    Date: 2005/11/15 22:35:00 CST
1321    Tag: blume-22051115-array2copy
1322    Description:
1323    
1324    Added simple implementation of Array2.copy.  (Warning: mostly untested.)
1325    
1326    ----------------------------------------------------------------------
1327    Name: Matthias Blume (http://www.tti-c.org/blume/)
1328    Date: 2005/11/15 21:35:00 CST
1329    Tag: blume-22051115-versiontool
1330    Description:
1331    
1332    Reversed change to src/system/smlnj/internals/versiontool.cm.  This
1333    file gets loaded as a tool -- by the equivalent of CM.make during the
1334    run of CMB.make.  Thus, CMB's path configuration is meaningless for
1335    it.  Instead, it has the status of "user code", so it should use
1336    $/basis.cm to refer to the Basis library.  (At least that's true for
1337    the purpose of bootstrapping the previous change.  In the future it
1338    might make sense to have versiontool.cm refer to
1339    $smlnj/basis/basis.cm, i.e., the version of the Basis that the
1340    compiler itself uses.)
1341    
1342    Also patched src/system/testml to have it activate those extra anchor
1343    bindings in config/extrapathconfig.
1344    
1345    ----------------------------------------------------------------------
1346    Name: Matthias Blume (http://www.tti-c.org/blume/)
1347    Date: 2005/11/15 16:35:00 CST
1348    Tag: blume-22051115-libraries
1349    Description:
1350    
1351    This change affects the way the following libraries are tied into
1352    the system:
1353    
1354       $/basis.cm
1355       $/smlnj-lib.cm
1356       $/pp-lib.cm
1357       $/controls-lib.cm
1358       $/html-lib.cm
1359       $/ml-yacc-lib.cm
1360    
1361    These libraries are now internally (as seen from the source code
1362    of the implementation itself) known by the following names:
1363    
1364       $smlnj/basis/basis.cm
1365       $smlnj/smlnj-lib/smlnj-lib.cm
1366       $smlnj/smlnj-lib/pp-lib.cm
1367       $smlnj/smlnj-lib/controls-lib.cm
1368       $smlnj/smlnj-lib/html-lib.cm
1369       $smlnj/ml-yacc/ml-yacc-lib.cm
1370    
1371    This makes it possible to work with code that requires different
1372    versions of these libraries, and which refers to these libraries using
1373    their "default" names (i.e., the first set of names above).  In other
1374    words, one can un-define or re-define those default names without
1375    compromising the proper functioning of the compiler itself.
1376    
1377    A similar procedure had already been performed for several of the
1378    MLRISC libraries that are linked into the compiler.  I did some
1379    cleanup on this code.
1380    
1381    A new file in the config directory (named extrapathconfig) is
1382    responsible for setting up path anchors that the compiler itself does
1383    not need, but that are typically required by user code.
1384    
1385    ----------------------------------------------------------------------
1386    Name: Matthias Blume
1387    Date: 2005/11/07 17:05:00 CST
1388    Tag: blume-20051107-slice
1389    Description:
1390    
1391    Fixed erroneous out-of-bounds test in the "update" function of
1392    various *ArraySlice modules.  (Thanks to Vesa A. Norrman for pointing
1393    out the problem.)
1394    
1395    Pushed some Basis changes through ML-Lex, CML, and eXene.
1396    
1397    ----------------------------------------------------------------------
1398    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1399    Date: 2005/11/07
1400    Description:
1401    Fixed a Basis incompatibility: The depreciated function Substring.all
1402    was removed (use Substring.full instead).
1403    
1404    ----------------------------------------------------------------------
1405    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1406    Date: 2005/11/05
1407    Description:
1408    Tweaked interval set API in SML/NJ library; see the CHANGES file for details.
1409    
1410    ----------------------------------------------------------------------
1411    Name: Matthias Blume (http://www.tti-c.org/blume/)
1412    Date: 2005/11/02 16:25:00 CST
1413    Tag: blume-20051102-hex
1414    Description:
1415    
1416    * Runtime system bootstrap code now accepts hex digits in BOOTLIST
1417      in either upper case or lower case format.
1418    * Pushed changes to names of Pack<N>{Big,Little} structures through
1419      CML and eXene.
1420    
1421    ----------------------------------------------------------------------
1422    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1423    Date: 2005/11/02
1424    Description:
1425    Fixed a Basis incompatibility: Pack<N>{Big,Little} structures should
1426    be called PackWord<N>{Big,Little}.
1427    
1428    ----------------------------------------------------------------------
1429    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1430    Date: 2005/10/28
1431    Description:
1432    Fixed a minor Basis incompatibility: hex digits should be upper case.
1433    
1434    ----------------------------------------------------------------------
1435    Name: Matthias Blume (blume (at) tti - c (dot) org)
1436    Date: 2005/10/25 16:00:00 CDT
1437    Tag: Release_110_56
1438    Description:
1439    
1440    New working version (110.56).  NEW BOOTFILES!
1441    
1442    ----------------------------------------------------------------------
1443    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1444    Date: 2005/10/25
1445    Description:
1446    Added interval sets to utility library (signatures INTERVAL_DOMAIN
1447    and INTERVAL_SET, and functor IntervalSetFn).
1448    
1449    ----------------------------------------------------------------------
1450    Name: John Reppy (http://www.cs.uchicago.edu/~jhr)
1451    Date: 2005/10/14
1452    Description:
1453    Add Zhong Shao's fix for datatype equality functions.
1454    
1455    ----------------------------------------------------------------------
1456    Name: Allen Leung (leunga (at) reservoir (dot) com)
1457    Date: 2005/10/14 12:30:00 EST
1458    Tag: leunga-20051014-x86-spill
1459    Description:
1460    
1461    Bug fix a bug found by Carl Hauser.
1462    There was a typo in the reload code for FCMP in x86SpillInstr.sml.
1463    
1464    ----------------------------------------------------------------------
1465    Name: Allen Leung (leunga (at) reservoir (dot) com)
1466    Date: 2005/10/14 11:15:00 EST
1467    Tag: leunga-20051014-x86-asm
1468    Description:
1469    
1470    Removed some debugging code in file x86Asm.sml.
1471    The function emit_operand was printing out debugging output.
1472    
1473    ----------------------------------------------------------------------
1474    Name: John Reppy
1475    Date: 2005/07/27
1476    Tag:
1477    Description:
1478    
1479    Fixed ml-lex to recognize "\r" as representing carriage return.
1480    
1481    ----------------------------------------------------------------------
1482    Name: John Reppy
1483    Date: 2005/07/27
1484    Tag:
1485    Description:
1486    
1487    Fixed ml-yacc to work on files with non-native end-of-line
1488    encodings (e.g., Windows text file on a Unix system).
1489    
1490    ----------------------------------------------------------------------
1491    Name: John Reppy
1492    Date: 2005/07/20
1493    Tag:
1494    Description:
1495    
1496    Added changes from Dominic Evans (oldmanuk (at) gmail (dot) com)
1497    to support HPUX 11.
1498    
1499    ----------------------------------------------------------------------
1500    Name: John Reppy
1501    Date: 2005/07/06
1502    Tag:
1503    Description:
1504    
1505    Changes to the SML/NJ library.  See smlnj-lib/CHANGES for details.
1506    
1507    ----------------------------------------------------------------------
1508    Name: Matthias Blume (blume (at) tti - c (dot) org)
1509    Date: 2005/07/06 00:45:00 CDT
1510    Tag: blume-20050706-slice-copy
1511    Description:
1512    
1513    Fixed reversed logic for deciding whether to "copy up" or "copy down"
1514    in *-array-slice.sml.
1515    
1516    ----------------------------------------------------------------------
1517    Name: Allen Leung (leunga (at) reservoir (dot) com)
1518    Date: 2005/05/31 17:00:00 EST
1519    Tag: leunga-20050531-cygwin-fault-2
1520    Description:
1521    
1522    A typo in the cygwin code fixed.
1523    
1524    ----------------------------------------------------------------------
1525    Name: Allen Leung (leunga (at) reservoir (dot) com)
1526    Date: 2005/05/31 16:47:00 EST
1527    Tag: leunga-20050531-cygwin-fault
1528    Description:
1529    
1530    Updated Cygwin's fault/signal handling to match the Windows version.
1531    Updated the export list.
1532    
1533    ----------------------------------------------------------------------
1534    Name: Matthias Blume (blume (at) tti - c (dot) org)
1535    Date: 2005/05/18 13:35:00 CDT
1536    Tag: Release_110_54
1537    Description:
1538    
1539    New working version (110.54).  NEW BOOTFILES!
1540    
1541    ----------------------------------------------------------------------
1542    Name: Matthias Blume (blume (at) tti - c (dot) org)
1543    Date: 2005/05/18 11:58:00 CDT
1544    Tag: blume-20050518-installer
1545    Description:
1546    
1547    Added support scripts for Mac OS X PackageMaker and modified
1548    config/install.sh so that it supports re-dumping a heap image
1549    after customization.
1550    
1551    ----------------------------------------------------------------------
1552    Name: Matthias Blume (blume (at) tti - c (dot) org)
1553    Date: 2005/05/18 10:55:00 CDT
1554    Tag: blume-20050518-realdiv-noovld
1555    Description:
1556    
1557    Un-overloaded / to work around bug in overloading resolution code.
1558    
1559    ----------------------------------------------------------------------
1560    Name: Matthias Blume (blume (at) tti - c (dot) org)
1561    Date: 2005/05/16 23:50:00 CDT
1562    Tag: blume-20050516-redump-heap
1563    Description:
1564    
1565    Added mechanism for re-creating a heap file for the interactive system
1566    after configuration variables have been changed.
1567    
1568       CM.redump_heap : string -> unit
1569    
1570    This is much like SMLofNJ.exportML, but starting from the resulting
1571    heap does not return to the caller of CM.redump_heap but
1572    restarts the interactive system from scratch.  The original call of
1573    CM.redump_heap does not return but ends the interactive session.
1574    Thus, CM.redump_heap is a lot like SMLofNJ.exportFn.
1575    
1576    Internally, redump_heap winds the dynamic execution context back to
1577    the point where the original heap image was created and re-executes
1578    the heap image generation code in the boot code.
1579    
1580    ----------------------------------------------------------------------
1581    Name: Matthias Blume (blume (at) tti - c (dot) org)
1582    Date: 2005/05/09 21:55:00 CDT
1583    Tag: blume-20050509-word64
1584    Description:
1585    
1586    Added a hack to the existing hack known as Word64 to make fromString
1587    behave correctly.  I am still not sure whether Word64.scan will work
1588    as specified with respect to the interaction of radix and prefix.
1589    
1590    ----------------------------------------------------------------------
1591    Name: Allen Leung (leunga (at) reservoir (dot) com)
1592    Date: 2005/05/04 11:50:00 EST
1593    Tag: leunga-20050504-checkgc
1594    Description:
1595    
1596    Added a gc protocol checking phase.  This phase is enabled with
1597    the flag "check-gc".  "debug-check-gc" turns on the verbose mode.
1598    
1599    ----------------------------------------------------------------------
1600    Name: Matthias Blume (blume (at) tti - c (dot) org)
1601    Date: 2005/05/04 10:45:00 CDT
1602    Tag: blume-20050504-intinf
1603    Description:
1604    
1605    Fixed a bug in the implementation of div and mod for IntInf.
1606    Thanks to Neophytos Michael for reporting the problem.
1607    
1608    ----------------------------------------------------------------------
1609    Name: Matthias Blume (blume (at) tti - c (dot) org)
1610    Date: 2005/05/04 10:35:00 CDT
1611    Tag: blume-20050504-join
1612    Description:
1613    
1614    Added a "join" combinator to the ParserComb module in smlnj-lib.cm.
1615    
1616    ----------------------------------------------------------------------
1617    Name: Matthias Blume (blume (at) tti - c (dot) org)
1618    Date: 2005/02/28 23:40:00 CST
1619    Tag: blume-20050228-mVar
1620    Description:
1621    
1622    Fixed serious bug (brown paper bag variety) in new implementation of
1623    structure Atom in CML.  (I had accidentally used a mailbox instead of
1624    an mvar, leaving the door open for races.)
1625    
1626    ----------------------------------------------------------------------
1627    Name: Matthias Blume (blume (at) tti - c (dot) org)
1628    Date: 2005/02/25 15:00:00 CST
1629    Tag: Release_110_53
1630    Description:
1631    
1632    New working version (110.53).  NEW BOOTFILES!
1633    
1634    ----------------------------------------------------------------------
1635    Name: Matthias Blume (blume (at) tti - c (dot) org)
1636    Date: 2005/02/25 14:50:00 CST
1637    Tag: blume-20050225-susp
1638    Description:
1639    
1640    Brought back SMLofNJ.Susp.  The underlying suspension type is the one
1641    implemented in Core -- which means that it is the same as the one used
1642    by the lazy extension.
1643    
1644    ----------------------------------------------------------------------
1645    Name: Matthias Blume (blume (at) tti - c (dot) org)
1646    Date: 2005/02/24 16:50:00 CST
1647    Tag: blume-20050224-cml-atom
1648    Description:
1649    
1650    Simpler and at the same time more general implementation of structure
1651    Atom in CML.
1652    
1653    ----------------------------------------------------------------------
1654    Name: Matthias Blume (blume (at) tti - c (dot) org)
1655    Date: 2005/02/15 17:35:00 CST
1656    Tag: blume-20050215-tools
1657    Description:
1658    
1659    Created new "tools" directory under "src" and moved "TraceDebugProf"
1660    there.
1661    
1662    ----------------------------------------------------------------------
1663    Name: Matthias Blume (blume (at) tti - c (dot) org)
1664    Date: 2005/02/10 17:55:00 CST
1665    Tag: blume-20050210-longlong
1666    Description:
1667    
1668    Implemented "long long" arguments and results for NLFFI.  (Only the
1669    PPC/MacOS implementation is complete, the other backends still need to
1670    be updated.)
1671    
1672    ----------------------------------------------------------------------
1673    Name: Matthias Blume (blume (at) tti - c (dot) org)
1674    Date: 2005/01/24 17:40:00 CST
1675    Tag: blume-20050124-mlyacc
1676    Description:
1677    
1678    Minor cleanup in ML-Yacc rule printing mechanism.  This should fix a
1679    problem with certain "as" patterns which previously got rendered
1680    using incorrect syntax.
1681    
1682    ----------------------------------------------------------------------
1683    Name: Matthias Blume (blume (at) tti - c (dot) org)
1684    Date: 2005/01/18 12:00:00 CST
1685    Tag: blume-20050118-profile
1686    Description:
1687    
1688    Made time profiling code (interrupt handler) in runtime system aware
1689    of new array representation.
1690    
1691    ----------------------------------------------------------------------
1692    Name: Matthias Blume (blume (at) tti - c (dot) org)
1693    Date: 2005/01/14 18:00:00 CST
1694    Tag: blume-20050114-heap2exec
1695    Description:
1696    
1697    Implemented new (but still experimental) heap2exec facility.  This is
1698    tested under Mac OS X and should work under Linux (will test shortly).
1699    It will probably also work on the Sparc (will test some time later).
1700    
1701      - removed old "HACKED_STANDALONE" hack from runtime
1702    
1703    To be able to test this, uncomment the request for "heap2asm" in
1704    config/targets prior to installation.  (Notice that this is different
1705    from "heap2exec" mentioned below.  Not a typo.)
1706    
1707    To perform an actual test, run the command
1708    
1709       $ bin/heap2exec heapfile execfile
1710    
1711    (You can put heap2exec on your shell's path.)
1712    
1713    For example, run
1714    
1715      $ bin/heap2exec bin/.heap/ml-yacc.ppc-darwin mly
1716    
1717    This will create a standalone executable called "mly" which you can
1718    then invoke directly as a command.
1719    
1720    ----------------------------------------------------------------------
1721    Name: Matthias Blume (blume (at) tti - c (dot) org)
1722    Date: 2005/01/07 11:44:00 CST
1723    Tag: blume-20050107-mlstring
1724    Description:
1725    
1726    fixed off-by-one error in ML_STRING macro (globals.c)
1727    
1728    ----------------------------------------------------------------------
1729    Name: Matthias Blume (blume (at) tti - c (dot) org)
1730    Date: 2004/12/23 18:00:00 CST
1731    Tag: blume-20041223-santa
1732    Description:
1733    
1734    Made ml-build script "smarter" (but only very little).
1735    
1736    ----------------------------------------------------------------------
1737    Name: Matthias Blume (blume (at) tti - c (dot) org)
1738    Date: 2004/12/21 15:05:00 CST
1739    Tag: blume-20041221-longlong
1740    Description:
1741    
1742    * Implemented access to signed and unsigned long long data in NLFFI.
1743    (The parameter-passing part of the picture has not complete. But
1744    data structure access seems to work.)
1745    
1746    * Fixed CM's incorrect assumption that the PPC is little-endian.
1747      (On the Mac, it is big-endian.  And that's currently our only
1748      PPC platform.)
1749    
1750    ----------------------------------------------------------------------
1751    Name: Matthias Blume (blume (at) tti - c (dot) org)
1752    Date: 2004/12/21 12:50:00 CST
1753    Tag: blume-20041221-memory
1754    Description:
1755    
1756    Some cleanup in the $c/memory.cm library: separated some concerns by
1757    moving allocation code and memory access code each into their own
1758    files.
1759    
1760    ----------------------------------------------------------------------
1761    Name: Allen Leung (leunga (at) reservoir (dot) com)
1762    Date: 2004/12/17 16:12:00 EST
1763    Tag: leunga-20041217-cygwin-smlnj-home
1764    Description:
1765    
1766        The Unix I/O library of SML/NJ on cygwin does not understand
1767    Windows style pathname, so problems arise when SMLNJ_HOME is set
1768    to a Windows style pathname.  _run-sml now converts SMLNJ_HOME
1769    to a POSIX pathname on cygwin.
1770    
1771    ----------------------------------------------------------------------
1772    Name: Matthias Blume (blume (at) tti - c (dot) org)
1773    Date: 2004/12/16 13:35:00 CST
1774    Tag: Release_110_52
1775    Description:
1776    
1777    Last-minute changes incorporated into 110.52.  Release tag moved.
1778    
1779    The changes:
1780       - HashString.hashString' -> HashString.hashSubstring
1781       - bug fix in UnivariateStats
1782    
1783    ----------------------------------------------------------------------
1784    Name: Matthias Blume (blume (at) tti - c (dot) org)
1785    Date: 2004/12/15 23:40:00 CST
1786    Tag: blume-20041215-hashSubstring
1787    Description:
1788    
1789    - HashString.hashString' -> HashString.hashSubstring
1790    - corresponding changes in atom.sml
1791    - "de-compressed" (aka. un-obfuscated) code for UnivariateStats and
1792      added some comments
1793    
1794    ----------------------------------------------------------------------
1795    Name: Matthias Blume (blume (at) tti - c (dot) org)
1796    Date: 2004/12/15 15:30:00 CST
1797    Tag: (Release_110_52)
1798    Description:
1799    
1800    New working version (110.52).  NEW BOOTFILES!
1801    
1802    ----------------------------------------------------------------------
1803    Name: Matthias Blume (blume (at) tti - c (dot) org)
1804    Date: 2004/12/15 12:45:00 CST
1805    Tag: blume-20041215-spaces
1806    Description:
1807    
1808    More on the space problem (this time for Win32).
1809    
1810    ----------------------------------------------------------------------
1811    Name: Matthias Blume (blume (at) tti - c (dot) org)
1812    Date: 2004/12/14 17:30:00 CST
1813    Tag: blume-20041214-spaces
1814    Description:
1815    
1816    Hacked some of the scripts (in particular: the installer) to cope with
1817    spaces in filenames a bit better.  But beware: the current "solution"
1818    is likely still full of bugs and inherently incomplete.  (We need to
1819    do away with those shell scripts for a comprehensive solution.)
1820    
1821    ----------------------------------------------------------------------
1822    Name: Matthias Blume (blume (at) tti - c (dot) org)
1823    Date: 2004/12/13 14:45:00 CST
1824    Tag: blume-20041213-ml-makedepend
1825    Description:
1826    
1827    Fixed bug in code for ml-makedepend.
1828    
1829    ----------------------------------------------------------------------
1830    Name: Matthias Blume (blume (at) tti - c (dot) org)
1831    Date: 2004/12/09 16:30:00 CST
1832    Tag: blume-20041209-statistics
1833    Description:
1834    
1835    Added two simple but potentially useful statistics modules to SML/NJ Library.
1836    (See CHANGES file there.)
1837    
1838    ----------------------------------------------------------------------
1839    Name: Matthias Blume (blume (at) tti - c (dot) org)
1840    Date: 2004/12/01 16:50:00 CST
1841    Tag: blume-20041201-atom
1842    Description:
1843    
1844    smlnj-lib:
1845    
1846      Added function HashString.hashString' for substrings.
1847      Hand-inlined CharVector.foldl into HashString (for speed).
1848      Modified implementation of structure Atom to avoid extracting
1849      strings from substrings unless necessary.
1850      (Also see CHANGES file for smlnj-lib.)
1851    
1852    ----------------------------------------------------------------------
1853    Name: Matthias Blume (blume (at) tti - c (dot) org)
1854    Date: 2004/11/24 22:15:00 CST
1855    Tag: blume-20041124-cml
1856    Description:
1857    
1858    Made sure CML compiles when Position = Int64.
1859    
1860    ----------------------------------------------------------------------
1861    Name: Matthias Blume (blume (at) tti - c (dot) org)
1862    Date: 2004/11/24 14:30:00 CST
1863    Tag: blume-20041124-position
1864    Description:
1865    
1866    The compiler can now be compiled in a mode that makes structure Position
1867    equal to Int64.  The default, however, is unchanged (Position = Int31)
1868    for the time being.
1869    
1870    To enable 64-bit positions, use the following procedure:
1871    
1872    1. Start sml
1873    2. Autoload $smlnj/cmb.cm (if not already autoloaded)
1874    3. Type
1875          #set (CMB.symval "USE_64_BIT_POSITIONS") (SOME 1);
1876    4. Run CMB.make() as usual.
1877    
1878    This is barely tested.  The only test so far was a little SML program
1879    counting the number of characters in an 8-gigabyte file by
1880    reading it character-by-character.  That test was successful.
1881    
1882    In support of 64-bit positions, a number of new functions have been
1883    added to the runtime system.
1884    
1885    ----------------------------------------------------------------------
1886    Name: Matthias Blume (blume (at) tti - c (dot) org)
1887    Date: 2004/11/23 14:45:00 CST
1888    Tag: blume-20041123-useFile
1889    Description:
1890    
1891    Fixed a problem with unhelpful error messages related to problems with
1892    .cm- or .sml files that appear as part of the sml command line.
1893    
1894    ----------------------------------------------------------------------
1895    Name: Matthias Blume (blume (at) tti - c (dot) org)
1896    Date: 2004/11/18 15:40:00 CST
1897    Tag: Release_110_51
1898    Description:
1899    
1900    New working version (110.51).  NEW BOOTFILES!
1901    
1902    ----------------------------------------------------------------------
1903    Name: Matthias Blume (blume (at) tti - c (dot) org)
1904    Date: 2004/11/18 15:35:00 CST
1905    Tag: <none>
1906    Description:
1907    
1908    Enabled dlopen and friends for FreeBSD (as recommended by Johannes 5
1909    Joemann).
1910    
1911    ----------------------------------------------------------------------
1912    Name: Allen Leung (leunga (at) reservoir (dot) com)
1913    Date: 2004/11/17 16:05:21 EST 2004
1914    Tag: leunga-20041117-mlrisc-live-kill
1915    Description:
1916    
1917       Added support for MLTree constructs LIVE and KILL
1918    to all the architectures.
1919    
1920    ----------------------------------------------------------------------
1921    Name: Matthias Blume (blume (at) tti - c (dot) org)
1922    Date: 2004/11/13 00:20:00 CST
1923    Tag: blume-20041113-versiontool
1924    Description:
1925    
1926    - Stripped down the versiontool: It now only handles the version number.
1927      The date string is generated at bootstrap time (during makeml).
1928    
1929    - In a previous commit, fixed a minor issue with how polyequal is being
1930      translated.  In particular, the code now "looks through" abstractions.
1931      This results in slightly fewer polyEqual warnings and hopefully slightly
1932      more efficient code.  Important examples for where this matters are
1933      the new int64 and word64 types.
1934    
1935    ----------------------------------------------------------------------
1936    Name: Matthias Blume (blume (at) tti - c (dot) org)
1937    Date: 2004/11/12 00:30:00 CST
1938    Tag: blume-20041112-int64
1939    Description:
1940    
1941    Structure Int64 fully hooked in.  (The implementation is not very
1942    efficient, though.)
1943    
1944    ----------------------------------------------------------------------
1945    Name: Matthias Blume (blume (at) tti - c (dot) org)
1946    Date: 2004/11/11 17:30:00 CST
1947    Tag: blume-20041111-more64
1948    Description:
1949    
1950    All the pieces of Word64 are now there, with the exception of the
1951    conversions from and to LargeWord. (Eventually these need to be identities,
1952    but for the time being they don't even make sense because LargeWord is
1953    32-bit wide.)
1954    
1955    Also started to add similar support for Int64, but major pieces of that
1956    are still missing.
1957    
1958    ----------------------------------------------------------------------
1959    Name: Matthias Blume (blume (at) tti - c (dot) org)
1960    Date: 2004/11/11 00:15:00 CST
1961    Tag: blume-20041111-word64
1962  Description:  Description:
1963    
1964    Structure Word64 is now (almost) complete, word literals and patterns
1965    seem to work.  There are a few odd pieces missing.  In particular,
1966    I didn't do the {from,to}LargeWord parts because LargeWord is still Word32
1967    at the moment.
1968    
1969    Making Word64 official would mean that LargeWord becomes Word64.  But
1970    this requires extreme care because most word-word conversions have to
1971    go through LargeWord, so making a mistake means loss of efficiency or
1972    worse.  Eventually there will be a solution similar to (but actually
1973    simpler than) what I did with IntInf.
1974    
1975    ----------------------------------------------------------------------
1976    Name: Matthias Blume (blume (at) tti - c (dot) org)
1977    Date: 2004/11/10 18:12:00 CST
1978    Tag: blume-20041110-64bit
1979    Description:
1980    
1981    More 64-bit hacking (but still not even half-way there yet).
1982    Also, some assorted improvements to the handling of 8-bit words.
1983    
1984    ----------------------------------------------------------------------
1985    Name: Matthias Blume (blume (at) tti - c (dot) org)
1986    Date: 2004/11/09 17:50:00 CST
1987    Tag: <none>
1988    Description:
1989    
1990    Started adding some infrastructure for supporting 64-bit int- and
1991    word-types.  (Still in its very early stages.)
1992    
1993    ----------------------------------------------------------------------
1994    Name: Matthias Blume (blume (at) tti - c (dot) org)
1995    Date: 2004/10/28 10:45:00 CDT
1996    Tag: Release_110_50
1997    Description:
1998    
1999    New working version (110.50).  NEW BOOTFILES!
2000    
2001                 =====================
2002    
2003    Also:
2004    
2005      - Changend config/srcarchiveurl from a file just
2006        containing the URL string into a file containing
2007        shell script code.  The code has access to the $VERSION variable.
2008      - Made corresponding changes to config/install.sh and config/unpack.
2009      - Default contents of config/srcarchiveurl uses $VERSION and
2010        normally does not have to be edited to reflect a version change.
2011    
2012      (As a result, a version change can be done by just editing
2013       config/version, the rest is now automatic.)
2014    
2015    ----------------------------------------------------------------------
2016    Name: Matthias Blume (blume (at) tti - c (dot) org)
2017    Date: 2004/10/27 17:50:00 CDT
2018    Tag: blume-20041027-btrace-msg
2019    Description:
2020    
2021    BackTrace.monitor now also reports the source of the exception that
2022    triggered the trace.
2023    
2024    ----------------------------------------------------------------------
2025    Name: Matthias Blume (blume (at) tti - c (dot) org)
2026    Date: 2004/10/27 17:20:00 CDT
2027    Tag: blume-20041027-x86-c-calls
2028    Description:
2029    
2030    This is the HISTORY entry for two earlier commits, both concerning
2031    the x86 c-calls code in MLRISC:
2032    
2033      - added a missing LOAD in the code that deals with struct arguments
2034      - made sure the caller does not add the wrong number of bytes to the
2035        stack pointer after a call of a function returning a struct
2036        (the callee already pops the implicit argument which points to
2037         the space reserved for the result)
2038    
2039    ----------------------------------------------------------------------
2040    Name: Allen Leung (leunga (at) reservoir (dot) com)
2041    Date: 2004/10/24 14:00:00 EST
2042    Tag: leunga-20041024-x86-gas-fucomip
2043    Description:
2044    
2045       John discovered a bug in the syntax of fucomip.
2046       The opcodes FU?COMIP? have been changed to
2047    
2048           fu?comip? %st(i), %st
2049    
2050    ----------------------------------------------------------------------
2051    Name: Matthias Blume (blume (at) tti - c (dot) org)
2052    Date: 2004/10/20 15:06:00 CDT
2053    Tag: blume-20041020-standalone-backtrace
2054    Description:
2055    
2056    Added a mechanism for getting back-trace information from standalone
2057    programs.  Here is how it works:
2058    
2059       1. The part of the program from which you want to get backtrace
2060          information (usually the whole program) should be wrapped with
2061          BackTrace.monitor.  This is a (unit->'a)->'a function, and your
2062          main program could be modified from something like
2063    
2064             fun main (pgm, args) = ...
2065    
2066         to
2067    
2068            fun main (pgm, args) = BackTrace.monitor (fn () => ...)
2069    
2070       2. To be able to access BackTrace.monitor, you have to add
2071          library $smlnj-tdp/plugins.cm to the .cm file that contains your
2072          main function.
2073    
2074       3. Remove all compiled code (i.e., all the .cm/ subdirectories that
2075          CM might have created in the past for your project).
2076    
2077       4. Build the system using this command line:
2078    
2079             ml-build -Ctdp.instrument=true \$smlnj-tdp/back-trace.cm \
2080                      myprog.cm MyProg.main myprog
2081    
2082          instead of the usual
2083    
2084             ml-build myprog.cm MyProg.main myprog
2085    
2086    I changed a library name:
2087    
2088       $/trace-debug-profile.cm --> $smlnj-tdp/plugins.cm
2089    
2090    New libraries:
2091    
2092       $smlnj-tdp/back-trace.cm
2093          -- when loaded causes the back-trace plugin to be installed
2094       $smlnj-tdp/coverage.cm
2095          -- when loaded causes the coverage plugin to be installed
2096    
2097    ----------------------------------------------------------------------
2098    Name: Matthias Blume (blume (at) tti - c (dot) org)
2099    Date: 2004/10/18 16:45:00 CDT
2100    Tag: blume-20041018-groupowner
2101    Description:
2102    
2103    Added an "obsolete" warning for the "group owner" syntax to CM's parser.
2104    
2105    Eliminated group owner specs from .cm files throughout the source tree.
2106    
2107    ----------------------------------------------------------------------
2108    Name: Matthias Blume (blume (at) tti - c (dot) org)
2109    Date: 2004/10/15 15:45:00 CDT
2110    Tag: blume-20041015-coverage
2111    Description:
2112    
2113    * Test coverage tool added!
2114    * Further reorganization of tracing-, debugging-, and profiling support:
2115    
2116        - moved original BTImp -- now called BackTrace -- into a separate
2117          library called $/trace-debug-profile.cm
2118        - eliminated all mentions of BTrace from SMLofNJ.Internals
2119        - only the instrumentation mechanism is now left in the compiler proper
2120        - BackTrace module is a plugin which is NOT plugged in by default
2121        - Coverage module is another such plugin
2122    
2123    To get the benefits of any of these plugin modules, the code in
2124    question must be compiled with tdp instrumentation turned on.  This
2125    can be done by setting SMLofNJ.Internals.TDP.mode to true.
2126    (The ref cell is also controlled via the -Ctdp.instrument=... switch.)
2127    
2128    Plugins are selected at link time.  (Pre-compiled instrumented code
2129    can be re-loaded with different plugins in effect.)  When an
2130    instrumented module is linked, whatever plugins are at that time
2131    enabled will come into effect for that module.
2132    
2133    To enable the back-trace plugin, load library $/trace-debug-profile.cm
2134    and invoke BackTrace.install() (e.g., from the interactive prompt).
2135    To enable the coverage plugin, load the same library and invoke
2136    Coverage.install().
2137    
2138    Back-traces are generated automatically on uncaught exceptions and
2139    when the code in question explicitly invokes BackTrace.trigger().
2140    
2141    Coverage (and execution frequency-) information must be queried
2142    explicitly by calling Coverage.not_covered and Coverage.hot_spots.
2143    
2144    ----------------------------------------------------------------------
2145    Name: Matthias Blume (blume (at) tti - c (dot) org)
2146    Date: 2004/10/14 17:40:00 CDT
2147    Tag: blume-20041014-tdp-core
2148    Description:
2149    
2150    Snapshot of a significant overhaul of how the trace/debug/profile support
2151    is hooked into the system (specifically: Core and SMLofNJ.Internals).
2152    
2153    ----------------------------------------------------------------------
2154    Name: Matthias Blume (blume (at) tti - c (dot) org)
2155    Date: 2004/10/13 16:34:00 CDT
2156    Tag: blume-20041013-tdp
2157    Description:
2158    
2159    Some rationalization of names:
2160    
2161       structure BTrace -> structure TDPInstrument
2162       etc.
2163    
2164    This is is preparation of using the original back-trace
2165    instrumentation for other purposes.  "TDP" stands for
2166    Trace/Debug/Profile.
2167    
2168    The control flag controlling whether instrumentation is on or off is now
2169    registered under a different name, so instead of running sml as
2170    
2171     sml -Cinstrument.btrace-mode=true
2172    
2173    one has to say
2174    
2175     sml -Ctdp.instrument=true
2176    
2177    ----------------------------------------------------------------------
2178    Name: Matthias Blume (blume (at) tti - c (dot) org)
2179    Date: 2004/10/11 16:37:00 CDT
2180    Tag: blume-20041011-regions
2181    Description:
2182    
2183    Made some minor modifications to elabcore.sml to have source regions
2184    be propagated more tightly -- resulting in better (i.e., smaller)
2185    regions being reported in error- and debug messages.
2186    
2187    ----------------------------------------------------------------------
2188    Name: Matthias Blume (blume (at) tti - c (dot) org)
2189    Date: 2004/10/08 22:50:00 CDT
2190    Tag: blume-20041008-cmkw
2191    Description:
2192    
2193    Fixed handling of keywords in .cm files: After seeing "is" the lexer
2194    treats subsequent occurrences of "group", "library", "source", "is",
2195    "*", and "-" as ordinary identifiers rather than keywords.
2196    
2197    Most seriously, this fixes a problem with CM's "shell" tool.  The tool
2198    is supposed to accept a tool argument called "source", but this did
2199    not work because of the clash with the keyword.
2200    
2201    ----------------------------------------------------------------------
2202    Name: Matthias Blume (blume (at) tti - c (dot) org)
2203    Date: 2004/10/07 16:00:00 CDT
2204    Tag: blume-20041007-cleanup
2205    Description:
2206    
2207    Assorted cleanup work:
2208    
2209      - got rid of intstrmap in favor of using the library's
2210        hash table implementation
2211      - threw out most of the pathnames stuff, as it was not used anyway
2212      - simplified tokentable implementation
2213      - fixed some minor spelling errors
2214    
2215    ----------------------------------------------------------------------
2216    Name: Matthias Blume (blume (at) tti - c (dot) org)
2217    Date: 2004/10/06 15:15:15 CDT
2218    Tag: blume-20041006-handler
2219    Description:
2220    
2221    Cleaned up the absyn to reflect the invariant that HANDLE always
2222    carries a FNexp as part of the type definition.  This eliminates some
2223    superfluous sanity checks at runtime down the road.
2224    
2225    Some minor cleanup of the btrace code.
2226    
2227    ----------------------------------------------------------------------
2228    Name: Matthias Blume (blume (at) tti - c (dot) org)
2229    Date: 2004/10/01 10:20:30 CDT
2230    Tag: blume-20041001-slave
2231    Description:
2232    
2233    Added hack to make slave mode work in the presence of the version
2234    tool.  (Still, since the master does two passes over the code for
2235    CMB.make, the release number gets bumped twice when slaves are
2236    attached.  I don't know if this is worth fixing...)
2237    
2238    ----------------------------------------------------------------------
2239    Name: Matthias Blume (blume (at) tti - c (dot) org)
2240    Date: 2004/09/30 10:55:00 CDT
2241    Tag: blume-20040930-version
2242    Description:
2243    
2244    * Moved the "version" magic into its own little library under
2245      src/system/smlnj/internal.  This avoids expensive reconstruction of
2246      a stable src/compiler/core.cm.
2247    
2248    * At the same time, structure CompilerVersion is now known as
2249      structure SMLNJVersion.
2250    
2251    * Arranged for the version tool to NOT kick in when rebuilding the system
2252      (makeml -rebuild, fixpt).  Otherwise one would never reach a fixpoint.
2253      Also, loading the versiontool does not work when rebuilding the system
2254      because CM is not properly initialized at that time.
2255    
2256  ----------------------------------------------------------------------  ----------------------------------------------------------------------
2257  Name: Matthias Blume (blume (at) tti - c (dot) org)  Name: Matthias Blume (blume (at) tti - c (dot) org)
2258  Date: 2004/09/29 14:00:00 CDT  Date: 2004/09/29 14:00:00 CDT

Legend:
Removed from v.1638  
changed lines
  Added in v.3402

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